2026-12-03 16:52:52,300 - INFO - Domain Default found not creating 2026-12-03 16:52:52,577 - INFO - Project ctest-TestPorts-04066464 not found, creating it 2026-12-03 16:52:53,156 - INFO - Created Project:ctest-TestPorts-04066464, ID : 1e016433-9214-4e98-b21e-690c4619a6a4 2026-12-03 16:52:55,174 - INFO - ================================================================================ 2026-12-03 16:52:55,174 - INFO - STARTING TEST : test_ports_bindings 2026-12-03 16:52:55,174 - 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 2026-12-03 16:52:55,453 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-12-03 16:52:55,454 - INFO - Initial checks done. Running the testcase now 2026-12-03 16:52:55,454 - INFO - 2026-12-03 16:52:56,197 - DEBUG - Response for create_network : {'network': {'id': '9eae3db6-e5cc-448f-a251-047fba51b850', 'name': 'ctest-vn-73412267', 'tenant_id': '1e01643392144e98b21e690c4619a6a4', 'project_id': '1e01643392144e98b21e690c4619a6a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04066464', 'ctest-vn-73412267'], 'port_security_enabled': True, 'description': ''}} 2026-12-03 16:52:56,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6eb8408-4cfa-4af7-b894-0f54535f8708', 'name': '', 'tenant_id': '1e01643392144e98b21e690c4619a6a4', 'network_id': '9eae3db6-e5cc-448f-a251-047fba51b850', 'ip_version': 4, 'cidr': '84.153.139.64/26', 'allocation_pools': [{'start': '84.153.139.66', 'end': '84.153.139.126'}], 'gateway_ip': '84.153.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.153.139.66', 'tags': [], 'project_id': '1e01643392144e98b21e690c4619a6a4'}} 2026-12-03 16:52:56,515 - INFO - Created VN ctest-vn-73412267 2026-12-03 16:52:56,572 - DEBUG - VN ctest-vn-73412267 UUID is 9eae3db6-e5cc-448f-a251-047fba51b850 2026-12-03 16:52:56,688 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04066464', 'ctest-vmi-59555866']} 2026-12-03 16:52:57,006 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59555866', 'id': '15b2b21f-d71b-4ef0-a35f-12c7ae9f4886', 'tenant_id': '1e01643392144e98b21e690c4619a6a4', 'network_id': '9eae3db6-e5cc-448f-a251-047fba51b850', 'mac_address': '02:15:b2:b2:1f:d7', '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': '84.153.139.67', 'subnet_id': 'f6eb8408-4cfa-4af7-b894-0f54535f8708'}], 'security_groups': ['dccc2031-c4a9-49f4-a8b9-d69609550a85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '1e01643392144e98b21e690c4619a6a4'}} 2026-12-03 16:52:57,006 - DEBUG - Created port 15b2b21f-d71b-4ef0-a35f-12c7ae9f4886 2026-12-03 16:52:57,116 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/15b2b21f-d71b-4ef0-a35f-12c7ae9f4886 2026-12-03 16:52:57,514 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/15b2b21f-d71b-4ef0-a35f-12c7ae9f4886 2026-12-03 16:52:57,575 - INFO - VMI 15b2b21f-d71b-4ef0-a35f-12c7ae9f4886 verification in API Server passed 2026-12-03 16:52:57,989 - DEBUG - Response for delete_port : () 2026-12-03 16:52:57,989 - INFO - Deleted port 15b2b21f-d71b-4ef0-a35f-12c7ae9f4886 2026-12-03 16:52:57,989 - INFO - Deleting VN ctest-vn-73412267 2026-12-03 16:52:58,137 - DEBUG - Response for deleting network () 2026-12-03 16:52:58,399 - DEBUG - No XMPP flaps were noticed during the test
2026-12-03 16:52:58,399 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-12-03 16:52:58,399 - INFO - -------------------------------------------------------------------------------- 2026-12-03 16:52:58,402 - INFO - ================================================================================ 2026-12-03 16:52:58,402 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-12-03 16:52:58,402 - 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 2026-12-03 16:52:58,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-12-03 16:52:58,705 - INFO - Initial checks done. Running the testcase now 2026-12-03 16:52:58,705 - INFO - 2026-12-03 16:52:58,926 - DEBUG - Response for create_network : {'network': {'id': '91783d57-fa5a-4151-aa43-e84ccc27af6c', 'name': 'ctest-vn1-61475414', 'tenant_id': '1e01643392144e98b21e690c4619a6a4', 'project_id': '1e01643392144e98b21e690c4619a6a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04066464', 'ctest-vn1-61475414'], 'port_security_enabled': True, 'description': ''}} 2026-12-03 16:52:59,118 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ab804d1-bb1c-42d3-bddd-4ab39ce58b9d', 'name': '', 'tenant_id': '1e01643392144e98b21e690c4619a6a4', 'network_id': '91783d57-fa5a-4151-aa43-e84ccc27af6c', 'ip_version': 4, 'cidr': '120.243.184.128/26', 'allocation_pools': [{'start': '120.243.184.130', 'end': '120.243.184.190'}], 'gateway_ip': '120.243.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.243.184.130', 'tags': [], 'project_id': '1e01643392144e98b21e690c4619a6a4'}} 2026-12-03 16:52:59,316 - DEBUG - Response for create_subnet : {'subnet': {'id': '88043813-d541-4782-bce7-3acad594b14d', 'name': '', 'tenant_id': '1e01643392144e98b21e690c4619a6a4', 'network_id': '91783d57-fa5a-4151-aa43-e84ccc27af6c', 'ip_version': 4, 'cidr': '35.227.109.0/26', 'allocation_pools': [{'start': '35.227.109.2', 'end': '35.227.109.62'}], 'gateway_ip': '35.227.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.227.109.2', 'tags': [], 'project_id': '1e01643392144e98b21e690c4619a6a4'}} 2026-12-03 16:52:59,340 - INFO - Created VN ctest-vn1-61475414 2026-12-03 16:52:59,400 - DEBUG - VN ctest-vn1-61475414 UUID is 91783d57-fa5a-4151-aa43-e84ccc27af6c 2026-12-03 16:52:59,780 - DEBUG - Response for create_port : {'port': {'name': 'a78238d0-6418-41a5-81e1-fad52ba51e19', 'id': 'a78238d0-6418-41a5-81e1-fad52ba51e19', 'tenant_id': '1e01643392144e98b21e690c4619a6a4', 'network_id': '91783d57-fa5a-4151-aa43-e84ccc27af6c', 'mac_address': '02:a7:82:38:d0:64', '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': '120.243.184.133', 'subnet_id': '6ab804d1-bb1c-42d3-bddd-4ab39ce58b9d'}], 'security_groups': ['dccc2031-c4a9-49f4-a8b9-d69609550a85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '1e01643392144e98b21e690c4619a6a4'}} 2026-12-03 16:53:00,014 - DEBUG - Response for create_port : {'port': {'name': '9fea51a3-a1bb-4cc3-a600-494b174ccc4e', 'id': '9fea51a3-a1bb-4cc3-a600-494b174ccc4e', 'tenant_id': '1e01643392144e98b21e690c4619a6a4', 'network_id': '91783d57-fa5a-4151-aa43-e84ccc27af6c', 'mac_address': '02:9f:ea:51:a3:a1', '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': '35.227.109.5', 'subnet_id': '88043813-d541-4782-bce7-3acad594b14d'}], 'security_groups': ['dccc2031-c4a9-49f4-a8b9-d69609550a85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '1e01643392144e98b21e690c4619a6a4'}} 2026-12-03 16:53:00,099 - DEBUG - Services list from nova: [, , ] 2026-12-03 16:53:00,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6529-1) 2026-12-03 16:53:01,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6529-1) 2026-12-03 16:53:01,195 - INFO - Waiting for VM ctest-vn1-vm1-84608242 to be up.. 2026-12-03 16:53:01,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:53:06,346 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:53:11,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:53:16,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:53:21,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:53:26,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:53:31,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:53:36,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 16:53:42,120 - DEBUG - VM is in ACTIVE state now 2026-12-03 16:53:42,120 - INFO - VM name : ctest-vn1-vm1-84608242 2026-12-03 16:53:42,207 - DEBUG - VM ctest-vn1-vm1-84608242 ID is a4a5df19-760e-49df-9080-de830cf5bb7e 2026-12-03 16:53:42,229 - DEBUG - VM ctest-vn1-vm1-84608242 launched on Node cn-jenkins-deploy-platform-ansible-os-6529-1 2026-12-03 16:53:42,308 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/a4a5df19-760e-49df-9080-de830cf5bb7e 2026-12-03 16:53:42,318 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/a78238d0-6418-41a5-81e1-fad52ba51e19 2026-12-03 16:53:45,582 - 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 1021ms') 2026-12-03 16:53:45,582 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84608242 failed! 2026-12-03 16:53:45,639 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04066464:ctest-vn1-61475414 is 120.243.184.129 and allocation pool is NOT set 2026-12-03 16:53:45,640 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04066464:ctest-vn1-61475414 is 35.227.109.1 and allocation pool is NOT set 2026-12-03 16:53:47,709 - 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=1 ttl=63 time=7.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.352/4.796/7.241/2.444 ms') 2026-12-03 16:53:47,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84608242 passed 2026-12-03 16:53:47,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:53:47,864 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84608242, IP 120.243.184.133, Port 22 2026-12-03 16:53:47,930 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-12-03 16:53:48,024 - DEBUG - VM ctest-vn1-vm1-84608242 is NOT ready for SSH connections, VM status: ACTIVE 2026-12-03 16:53:53,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:53:53,025 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84608242, IP 120.243.184.133, Port 22 2026-12-03 16:53:53,198 - DEBUG - VM ctest-vn1-vm1-84608242 is ready for SSH connections 2026-12-03 16:53:53,198 - INFO - Waiting for VM ctest-vn1-vm2-24256132 to be up.. 2026-12-03 16:53:53,288 - DEBUG - VM is in ACTIVE state now 2026-12-03 16:53:53,288 - INFO - VM name : ctest-vn1-vm2-24256132 2026-12-03 16:53:53,396 - DEBUG - VM ctest-vn1-vm2-24256132 ID is 6b27cdd5-5e6a-46be-9982-91799627501d 2026-12-03 16:53:53,397 - DEBUG - VM ctest-vn1-vm2-24256132 launched on Node cn-jenkins-deploy-platform-ansible-os-6529-1 2026-12-03 16:53:53,530 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/6b27cdd5-5e6a-46be-9982-91799627501d 2026-12-03 16:53:53,545 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/9fea51a3-a1bb-4cc3-a600-494b174ccc4e 2026-12-03 16:53:54,806 - 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=11.8 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.59 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.588/6.669/11.750/5.081 ms') 2026-12-03 16:53:54,806 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24256132 passed 2026-12-03 16:53:54,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:53:54,960 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24256132, IP 35.227.109.5, Port 22 2026-12-03 16:53:55,026 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-12-03 16:53:55,124 - DEBUG - VM ctest-vn1-vm2-24256132 is NOT ready for SSH connections, VM status: ACTIVE 2026-12-03 16:54:00,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:54:00,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24256132, IP 35.227.109.5, Port 22 2026-12-03 16:54:00,297 - DEBUG - VM ctest-vn1-vm2-24256132 is ready for SSH connections 2026-12-03 16:54:00,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:54:00,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:54:00,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 16:54:00,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.243.184.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-12-03 16:54:00,298 - DEBUG - ping -s 56 -c 3 -W 1 120.243.184.133 2026-12-03 16:54:03,486 - DEBUG - PING 120.243.184.133 (120.243.184.133): 56 data bytes 64 bytes from 120.243.184.133: seq=0 ttl=63 time=5.429 ms 64 bytes from 120.243.184.133: seq=1 ttl=63 time=1.448 ms 64 bytes from 120.243.184.133: seq=2 ttl=63 time=1.284 ms --- 120.243.184.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.284/2.720/5.429 ms 2026-12-03 16:54:03,486 - INFO - Ping to IP 120.243.184.133 from VM ctest-vn1-vm2-24256132 passed 2026-12-03 16:54:03,486 - INFO - Detaching port 9fea51a3-a1bb-4cc3-a600-494b174ccc4e from VM ctest-vn1-vm2-24256132 2026-12-03 16:54:03,576 - INFO - Deleting VM ctest-vn1-vm2-24256132 2026-12-03 16:54:03,690 - INFO - Detaching port a78238d0-6418-41a5-81e1-fad52ba51e19 from VM ctest-vn1-vm1-84608242 2026-12-03 16:54:03,778 - INFO - Deleting VM ctest-vn1-vm1-84608242 2026-12-03 16:54:04,251 - DEBUG - Response for delete_port : () 2026-12-03 16:54:04,643 - DEBUG - Response for delete_port : () 2026-12-03 16:54:04,644 - INFO - Deleting VN ctest-vn1-61475414 2026-12-03 16:54:04,894 - DEBUG - Response for deleting network () 2026-12-03 16:54:05,174 - DEBUG - No XMPP flaps were noticed during the test
2026-12-03 16:54:05,175 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:07]
2026-12-03 16:54:05,175 - INFO - -------------------------------------------------------------------------------- 2026-12-03 16:54:06,080 - INFO - Deleted project: ctest-TestPorts-04066464, ID : 1e016433-9214-4e98-b21e-690c4619a6a4