2025-12-06 02:03:32,158 - INFO - Domain Default found not creating
2025-12-06 02:03:32,402 - INFO - Project ctest-TestPorts-06049854 not found, creating it
2025-12-06 02:03:33,060 - INFO - Created Project:ctest-TestPorts-06049854, ID : 55abcd93-7a90-4f32-b309-b1a337fab0a4
2025-12-06 02:03:35,024 - INFO - ================================================================================
2025-12-06 02:03:35,024 - INFO - STARTING TEST : test_ports_bindings
2025-12-06 02:03:35,024 - INFO - TEST DESCRIPTION :
Verify that we are able to create a port with custom port bindings
Steps:
1) Create Port with Port bindings profile set to {'foo': 'bar'}
2) Retrieve and verify the same is set
2025-12-06 02:03:35,298 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-06 02:03:35,298 - INFO - Initial checks done. Running the testcase now
2025-12-06 02:03:35,299 - INFO -
2025-12-06 02:03:35,998 - DEBUG - Response for create_network : {'network': {'id': 'cb35966f-c66b-4846-bc5e-c80b91367430', 'name': 'ctest-vn-60313567', 'tenant_id': '55abcd937a904f32b309b1a337fab0a4', 'project_id': '55abcd937a904f32b309b1a337fab0a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06049854', 'ctest-vn-60313567'], 'port_security_enabled': True, 'description': ''}}
2025-12-06 02:03:36,192 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edd545b3-9a51-457b-b631-c992c6c08513', 'name': '', 'tenant_id': '55abcd937a904f32b309b1a337fab0a4', 'network_id': 'cb35966f-c66b-4846-bc5e-c80b91367430', 'ip_version': 4, 'cidr': '174.97.79.128/26', 'allocation_pools': [{'start': '174.97.79.130', 'end': '174.97.79.190'}], 'gateway_ip': '174.97.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.97.79.130', 'tags': [], 'project_id': '55abcd937a904f32b309b1a337fab0a4'}}
2025-12-06 02:03:36,213 - INFO - Created VN ctest-vn-60313567
2025-12-06 02:03:36,264 - DEBUG - VN ctest-vn-60313567 UUID is cb35966f-c66b-4846-bc5e-c80b91367430
2025-12-06 02:03:36,399 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-06049854', 'ctest-vmi-24707009']}
2025-12-06 02:03:36,766 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24707009', 'id': '80a1eaa2-8608-410e-9eef-07a8a900d30a', 'tenant_id': '55abcd937a904f32b309b1a337fab0a4', 'network_id': 'cb35966f-c66b-4846-bc5e-c80b91367430', 'mac_address': '02:80:a1:ea:a2:86', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '174.97.79.131', 'subnet_id': 'edd545b3-9a51-457b-b631-c992c6c08513'}], 'security_groups': ['904c67dd-8f7d-460e-8be9-a1b2bc880ee8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55abcd937a904f32b309b1a337fab0a4'}}
2025-12-06 02:03:36,766 - DEBUG - Created port 80a1eaa2-8608-410e-9eef-07a8a900d30a
2025-12-06 02:03:36,888 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80a1eaa2-8608-410e-9eef-07a8a900d30a
2025-12-06 02:03:37,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80a1eaa2-8608-410e-9eef-07a8a900d30a
2025-12-06 02:03:37,248 - INFO - VMI 80a1eaa2-8608-410e-9eef-07a8a900d30a verification in API Server passed
2025-12-06 02:03:37,378 - DEBUG - Response for delete_port : ()
2025-12-06 02:03:37,378 - INFO - Deleted port 80a1eaa2-8608-410e-9eef-07a8a900d30a
2025-12-06 02:03:37,378 - INFO - Deleting VN ctest-vn-60313567
2025-12-06 02:03:37,495 - DEBUG - Response for deleting network ()
2025-12-06 02:03:37,774 - DEBUG - No XMPP flaps were noticed during the test
2025-12-06 02:03:37,775 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-06 02:03:37,775 - INFO - --------------------------------------------------------------------------------
2025-12-06 02:03:37,777 - INFO - ================================================================================
2025-12-06 02:03:37,777 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-06 02:03:37,778 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP
Create two ports in a VN with 2 subnets and specific IPs
Attach to two VMs
Ping between them should pass
2025-12-06 02:03:38,097 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-06 02:03:38,097 - INFO - Initial checks done. Running the testcase now
2025-12-06 02:03:38,097 - INFO -
2025-12-06 02:03:38,416 - DEBUG - Response for create_network : {'network': {'id': '33d8758d-8fab-4a07-8f61-42483c9c2c5c', 'name': 'ctest-vn1-77247233', 'tenant_id': '55abcd937a904f32b309b1a337fab0a4', 'project_id': '55abcd937a904f32b309b1a337fab0a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06049854', 'ctest-vn1-77247233'], 'port_security_enabled': True, 'description': ''}}
2025-12-06 02:03:38,589 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf92f600-fc92-42a0-a770-aa5473a4533b', 'name': '', 'tenant_id': '55abcd937a904f32b309b1a337fab0a4', 'network_id': '33d8758d-8fab-4a07-8f61-42483c9c2c5c', 'ip_version': 4, 'cidr': '21.120.101.128/26', 'allocation_pools': [{'start': '21.120.101.130', 'end': '21.120.101.190'}], 'gateway_ip': '21.120.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.120.101.130', 'tags': [], 'project_id': '55abcd937a904f32b309b1a337fab0a4'}}
2025-12-06 02:03:38,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '9feaec72-b2e5-4a26-a50e-ae453cfc8354', 'name': '', 'tenant_id': '55abcd937a904f32b309b1a337fab0a4', 'network_id': '33d8758d-8fab-4a07-8f61-42483c9c2c5c', 'ip_version': 4, 'cidr': '60.121.81.0/26', 'allocation_pools': [{'start': '60.121.81.2', 'end': '60.121.81.62'}], 'gateway_ip': '60.121.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.121.81.2', 'tags': [], 'project_id': '55abcd937a904f32b309b1a337fab0a4'}}
2025-12-06 02:03:38,888 - INFO - Created VN ctest-vn1-77247233
2025-12-06 02:03:38,948 - DEBUG - VN ctest-vn1-77247233 UUID is 33d8758d-8fab-4a07-8f61-42483c9c2c5c
2025-12-06 02:03:39,320 - DEBUG - Response for create_port : {'port': {'name': 'cdbee0dd-8d52-41d8-bbc8-3ff7a99c4363', 'id': 'cdbee0dd-8d52-41d8-bbc8-3ff7a99c4363', 'tenant_id': '55abcd937a904f32b309b1a337fab0a4', 'network_id': '33d8758d-8fab-4a07-8f61-42483c9c2c5c', 'mac_address': '02:cd:be:e0:dd:8d', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '21.120.101.133', 'subnet_id': 'cf92f600-fc92-42a0-a770-aa5473a4533b'}], 'security_groups': ['904c67dd-8f7d-460e-8be9-a1b2bc880ee8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55abcd937a904f32b309b1a337fab0a4'}}
2025-12-06 02:03:39,504 - DEBUG - Response for create_port : {'port': {'name': 'e38fbb7b-7c47-4caf-91ff-ce5e36bd83a1', 'id': 'e38fbb7b-7c47-4caf-91ff-ce5e36bd83a1', 'tenant_id': '55abcd937a904f32b309b1a337fab0a4', 'network_id': '33d8758d-8fab-4a07-8f61-42483c9c2c5c', 'mac_address': '02:e3:8f:bb:7b:7c', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '60.121.81.5', 'subnet_id': '9feaec72-b2e5-4a26-a50e-ae453cfc8354'}], 'security_groups': ['904c67dd-8f7d-460e-8be9-a1b2bc880ee8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '55abcd937a904f32b309b1a337fab0a4'}}
2025-12-06 02:03:39,562 - DEBUG - Services list from nova: [, , ]
2025-12-06 02:03:40,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4849-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4849-1)
2025-12-06 02:03:40,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4849-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4849-1)
2025-12-06 02:03:40,574 - INFO - Waiting for VM ctest-vn1-vm1-94656926 to be up..
2025-12-06 02:03:40,620 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-06 02:03:45,728 - DEBUG - VM is in ACTIVE state now
2025-12-06 02:03:45,728 - INFO - VM name : ctest-vn1-vm1-94656926
2025-12-06 02:03:45,848 - DEBUG - VM ctest-vn1-vm1-94656926 ID is fc9bf851-7013-4ffc-bafb-8724df5c25d8
2025-12-06 02:03:45,871 - DEBUG - VM ctest-vn1-vm1-94656926 launched on Node cn-jenkins-deploy-platform-ansible-os-4849-1
2025-12-06 02:03:45,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fc9bf851-7013-4ffc-bafb-8724df5c25d8
2025-12-06 02:03:45,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cdbee0dd-8d52-41d8-bbc8-3ff7a99c4363
2025-12-06 02:03:49,287 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1001ms')
2025-12-06 02:03:49,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94656926 failed!
2025-12-06 02:03:49,352 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06049854:ctest-vn1-77247233 is 21.120.101.129 and allocation pool is NOT set
2025-12-06 02:03:49,353 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06049854:ctest-vn1-77247233 is 60.121.81.1 and allocation pool is NOT set
2025-12-06 02:03:53,447 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=11.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 11.807/11.807/11.807/0.000 ms')
2025-12-06 02:03:53,447 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94656926 passed
2025-12-06 02:03:53,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-06 02:03:53,612 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94656926, IP 21.120.101.133, Port 22
2025-12-06 02:03:53,790 - DEBUG - VM ctest-vn1-vm1-94656926 is ready for SSH connections
2025-12-06 02:03:53,790 - INFO - Waiting for VM ctest-vn1-vm2-71838946 to be up..
2025-12-06 02:03:53,923 - DEBUG - VM is in ACTIVE state now
2025-12-06 02:03:53,924 - INFO - VM name : ctest-vn1-vm2-71838946
2025-12-06 02:03:54,087 - DEBUG - VM ctest-vn1-vm2-71838946 ID is c9ceee99-e69a-487f-a565-282f4f797883
2025-12-06 02:03:54,088 - DEBUG - VM ctest-vn1-vm2-71838946 launched on Node cn-jenkins-deploy-platform-ansible-os-4849-1
2025-12-06 02:03:54,262 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c9ceee99-e69a-487f-a565-282f4f797883
2025-12-06 02:03:54,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e38fbb7b-7c47-4caf-91ff-ce5e36bd83a1
2025-12-06 02:03:55,598 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.654 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.654/2.371/4.088/1.717 ms')
2025-12-06 02:03:55,598 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-71838946 passed
2025-12-06 02:03:55,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-06 02:03:55,777 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71838946, IP 60.121.81.5, Port 22
2025-12-06 02:03:55,960 - DEBUG - VM ctest-vn1-vm2-71838946 is ready for SSH connections
2025-12-06 02:03:55,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-06 02:03:55,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-06 02:03:55,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-06 02:03:55,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.120.101.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-06 02:03:55,960 - DEBUG - ping -s 56 -c 3 -W 1 21.120.101.133
2025-12-06 02:03:58,843 - DEBUG - PING 21.120.101.133 (21.120.101.133): 56 data bytes
64 bytes from 21.120.101.133: seq=0 ttl=63 time=4.956 ms
64 bytes from 21.120.101.133: seq=1 ttl=63 time=1.121 ms
64 bytes from 21.120.101.133: seq=2 ttl=63 time=1.718 ms
--- 21.120.101.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.121/2.598/4.956 ms
2025-12-06 02:03:58,843 - INFO - Ping to IP 21.120.101.133 from VM ctest-vn1-vm2-71838946 passed
2025-12-06 02:03:58,844 - INFO - Detaching port e38fbb7b-7c47-4caf-91ff-ce5e36bd83a1 from VM ctest-vn1-vm2-71838946
2025-12-06 02:03:58,917 - INFO - Deleting VM ctest-vn1-vm2-71838946
2025-12-06 02:03:59,002 - INFO - Detaching port cdbee0dd-8d52-41d8-bbc8-3ff7a99c4363 from VM ctest-vn1-vm1-94656926
2025-12-06 02:03:59,058 - INFO - Deleting VM ctest-vn1-vm1-94656926
2025-12-06 02:03:59,340 - DEBUG - Response for delete_port : ()
2025-12-06 02:03:59,509 - DEBUG - Response for delete_port : ()
2025-12-06 02:03:59,510 - INFO - Deleting VN ctest-vn1-77247233
2025-12-06 02:03:59,635 - DEBUG - Response for deleting network ()
2025-12-06 02:03:59,904 - DEBUG - No XMPP flaps were noticed during the test
2025-12-06 02:03:59,904 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-12-06 02:03:59,905 - INFO - --------------------------------------------------------------------------------
2025-12-06 02:04:00,646 - INFO - Deleted project: ctest-TestPorts-06049854, ID : 55abcd93-7a90-4f32-b309-b1a337fab0a4