2026-01-08 02:07:41,219 - INFO - Domain Default found not creating 2026-01-08 02:07:41,376 - INFO - Project ctest-TestPorts-88605268 not found, creating it 2026-01-08 02:07:41,828 - INFO - Created Project:ctest-TestPorts-88605268, ID : a817d891-6e6f-402f-94a6-2813550c697c 2026-01-08 02:07:43,339 - INFO - ================================================================================ 2026-01-08 02:07:43,339 - INFO - STARTING TEST : test_ports_bindings 2026-01-08 02:07:43,339 - 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-01-08 02:07:43,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2026-01-08 02:07:43,594 - INFO - Initial checks done. Running the testcase now 2026-01-08 02:07:43,594 - INFO - 2026-01-08 02:07:44,170 - DEBUG - Response for create_network : {'network': {'id': 'ed64049f-3813-4a50-81b9-5eded8e05a37', 'name': 'ctest-vn-08508172', 'tenant_id': 'a817d8916e6f402f94a62813550c697c', 'project_id': 'a817d8916e6f402f94a62813550c697c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88605268', 'ctest-vn-08508172'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:07:44,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '1afe9c3a-8081-41b3-a587-a86c860abcb5', 'name': '', 'tenant_id': 'a817d8916e6f402f94a62813550c697c', 'network_id': 'ed64049f-3813-4a50-81b9-5eded8e05a37', 'ip_version': 4, 'cidr': '162.218.185.192/26', 'allocation_pools': [{'start': '162.218.185.194', 'end': '162.218.185.254'}], 'gateway_ip': '162.218.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.218.185.194', 'tags': [], 'project_id': 'a817d8916e6f402f94a62813550c697c'}} 2026-01-08 02:07:44,363 - INFO - Created VN ctest-vn-08508172 2026-01-08 02:07:44,412 - DEBUG - VN ctest-vn-08508172 UUID is ed64049f-3813-4a50-81b9-5eded8e05a37 2026-01-08 02:07:44,514 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88605268', 'ctest-vmi-62718073']} 2026-01-08 02:07:44,776 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62718073', 'id': '9986bfae-0865-41f7-9ac0-d37a194dc21f', 'tenant_id': 'a817d8916e6f402f94a62813550c697c', 'network_id': 'ed64049f-3813-4a50-81b9-5eded8e05a37', 'mac_address': '02:99:86:bf:ae:08', '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': '162.218.185.195', 'subnet_id': '1afe9c3a-8081-41b3-a587-a86c860abcb5'}], 'security_groups': ['56c67fa7-537e-44f2-b7b6-121444f9cb49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a817d8916e6f402f94a62813550c697c'}} 2026-01-08 02:07:44,776 - DEBUG - Created port 9986bfae-0865-41f7-9ac0-d37a194dc21f 2026-01-08 02:07:44,880 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9986bfae-0865-41f7-9ac0-d37a194dc21f 2026-01-08 02:07:45,183 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9986bfae-0865-41f7-9ac0-d37a194dc21f 2026-01-08 02:07:45,220 - INFO - VMI 9986bfae-0865-41f7-9ac0-d37a194dc21f verification in API Server passed 2026-01-08 02:07:45,305 - DEBUG - Response for delete_port : () 2026-01-08 02:07:45,305 - INFO - Deleted port 9986bfae-0865-41f7-9ac0-d37a194dc21f 2026-01-08 02:07:45,305 - INFO - Deleting VN ctest-vn-08508172 2026-01-08 02:07:45,406 - DEBUG - Response for deleting network () 2026-01-08 02:07:45,670 - DEBUG - No XMPP flaps were noticed during the test 2026-01-08 02:07:45,670 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-01-08 02:07:45,670 - INFO - -------------------------------------------------------------------------------- 2026-01-08 02:07:45,672 - INFO - ================================================================================ 2026-01-08 02:07:45,672 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-08 02:07:45,672 - 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-01-08 02:07:45,961 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2026-01-08 02:07:45,961 - INFO - Initial checks done. Running the testcase now 2026-01-08 02:07:45,961 - INFO - 2026-01-08 02:07:46,140 - DEBUG - Response for create_network : {'network': {'id': 'f1d59959-1afb-4a15-b76e-6e5bd88c5c61', 'name': 'ctest-vn1-13580252', 'tenant_id': 'a817d8916e6f402f94a62813550c697c', 'project_id': 'a817d8916e6f402f94a62813550c697c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88605268', 'ctest-vn1-13580252'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:07:46,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '32b4227a-ee22-4913-8bcc-865a96840ab8', 'name': '', 'tenant_id': 'a817d8916e6f402f94a62813550c697c', 'network_id': 'f1d59959-1afb-4a15-b76e-6e5bd88c5c61', 'ip_version': 4, 'cidr': '109.17.221.128/26', 'allocation_pools': [{'start': '109.17.221.130', 'end': '109.17.221.190'}], 'gateway_ip': '109.17.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.17.221.130', 'tags': [], 'project_id': 'a817d8916e6f402f94a62813550c697c'}} 2026-01-08 02:07:46,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b669f033-691e-4207-8b25-8687ff042270', 'name': '', 'tenant_id': 'a817d8916e6f402f94a62813550c697c', 'network_id': 'f1d59959-1afb-4a15-b76e-6e5bd88c5c61', 'ip_version': 4, 'cidr': '25.226.72.128/26', 'allocation_pools': [{'start': '25.226.72.130', 'end': '25.226.72.190'}], 'gateway_ip': '25.226.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.226.72.130', 'tags': [], 'project_id': 'a817d8916e6f402f94a62813550c697c'}} 2026-01-08 02:07:46,543 - INFO - Created VN ctest-vn1-13580252 2026-01-08 02:07:46,592 - DEBUG - VN ctest-vn1-13580252 UUID is f1d59959-1afb-4a15-b76e-6e5bd88c5c61 2026-01-08 02:07:46,890 - DEBUG - Response for create_port : {'port': {'name': 'e5f837e4-bc5d-40f1-9ffe-4c34d430a057', 'id': 'e5f837e4-bc5d-40f1-9ffe-4c34d430a057', 'tenant_id': 'a817d8916e6f402f94a62813550c697c', 'network_id': 'f1d59959-1afb-4a15-b76e-6e5bd88c5c61', 'mac_address': '02:e5:f8:37:e4:bc', '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': '109.17.221.133', 'subnet_id': '32b4227a-ee22-4913-8bcc-865a96840ab8'}], 'security_groups': ['56c67fa7-537e-44f2-b7b6-121444f9cb49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a817d8916e6f402f94a62813550c697c'}} 2026-01-08 02:07:47,049 - DEBUG - Response for create_port : {'port': {'name': '9459344f-32e2-4c99-94dd-1d475b8de4f8', 'id': '9459344f-32e2-4c99-94dd-1d475b8de4f8', 'tenant_id': 'a817d8916e6f402f94a62813550c697c', 'network_id': 'f1d59959-1afb-4a15-b76e-6e5bd88c5c61', 'mac_address': '02:94:59:34:4f:32', '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': '25.226.72.133', 'subnet_id': 'b669f033-691e-4207-8b25-8687ff042270'}], 'security_groups': ['56c67fa7-537e-44f2-b7b6-121444f9cb49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a817d8916e6f402f94a62813550c697c'}} 2026-01-08 02:07:47,101 - DEBUG - Services list from nova: [, , ] 2026-01-08 02:07:47,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4977-1) 2026-01-08 02:07:47,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4977-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4977-1) 2026-01-08 02:07:47,938 - INFO - Waiting for VM ctest-vn1-vm1-77643275 to be up.. 2026-01-08 02:07:47,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 02:07:53,053 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:07:53,053 - INFO - VM name : ctest-vn1-vm1-77643275 2026-01-08 02:07:53,135 - DEBUG - VM ctest-vn1-vm1-77643275 ID is 3e23e81d-bd36-46fb-bf1d-6ae761484f02 2026-01-08 02:07:53,159 - DEBUG - VM ctest-vn1-vm1-77643275 launched on Node cn-jenkins-deploy-platform-ansible-os-4977-1 2026-01-08 02:07:53,230 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3e23e81d-bd36-46fb-bf1d-6ae761484f02 2026-01-08 02:07:53,238 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e5f837e4-bc5d-40f1-9ffe-4c34d430a057 2026-01-08 02:07:56,475 - 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 1011ms') 2026-01-08 02:07:56,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77643275 failed! 2026-01-08 02:07:56,532 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88605268:ctest-vn1-13580252 is 109.17.221.129 and allocation pool is NOT set 2026-01-08 02:07:56,532 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88605268:ctest-vn1-13580252 is 25.226.72.129 and allocation pool is NOT set 2026-01-08 02:07:58,593 - 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=19.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.337 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.337/10.074/19.812/9.737 ms') 2026-01-08 02:07:58,593 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77643275 passed 2026-01-08 02:07:58,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:07:58,741 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77643275, IP 109.17.221.133, Port 22 2026-01-08 02:07:58,807 - 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-01-08 02:07:58,880 - DEBUG - VM ctest-vn1-vm1-77643275 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-08 02:08:03,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:08:03,881 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77643275, IP 109.17.221.133, Port 22 2026-01-08 02:08:04,047 - DEBUG - VM ctest-vn1-vm1-77643275 is ready for SSH connections 2026-01-08 02:08:04,048 - INFO - Waiting for VM ctest-vn1-vm2-25607416 to be up.. 2026-01-08 02:08:04,123 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:08:04,123 - INFO - VM name : ctest-vn1-vm2-25607416 2026-01-08 02:08:04,193 - DEBUG - VM ctest-vn1-vm2-25607416 ID is 8c09ac98-6eba-41a0-b15f-af8c6438224b 2026-01-08 02:08:04,194 - DEBUG - VM ctest-vn1-vm2-25607416 launched on Node cn-jenkins-deploy-platform-ansible-os-4977-1 2026-01-08 02:08:04,261 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8c09ac98-6eba-41a0-b15f-af8c6438224b 2026-01-08 02:08:04,269 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9459344f-32e2-4c99-94dd-1d475b8de4f8 2026-01-08 02:08:05,505 - 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=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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 = 0.442/1.673/2.905/1.231 ms') 2026-01-08 02:08:05,505 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25607416 passed 2026-01-08 02:08:05,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:08:05,652 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25607416, IP 25.226.72.133, Port 22 2026-01-08 02:08:05,812 - DEBUG - VM ctest-vn1-vm2-25607416 is ready for SSH connections 2026-01-08 02:08:05,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:08:05,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:08:05,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:08:05,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.17.221.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-08 02:08:05,812 - DEBUG - ping -s 56 -c 3 -W 1 109.17.221.133 2026-01-08 02:08:08,497 - DEBUG - PING 109.17.221.133 (109.17.221.133): 56 data bytes 64 bytes from 109.17.221.133: seq=0 ttl=63 time=4.437 ms 64 bytes from 109.17.221.133: seq=1 ttl=63 time=1.179 ms 64 bytes from 109.17.221.133: seq=2 ttl=63 time=0.780 ms --- 109.17.221.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/2.132/4.437 ms 2026-01-08 02:08:08,497 - INFO - Ping to IP 109.17.221.133 from VM ctest-vn1-vm2-25607416 passed 2026-01-08 02:08:08,497 - INFO - Detaching port 9459344f-32e2-4c99-94dd-1d475b8de4f8 from VM ctest-vn1-vm2-25607416 2026-01-08 02:08:08,545 - INFO - Deleting VM ctest-vn1-vm2-25607416 2026-01-08 02:08:08,609 - INFO - Detaching port e5f837e4-bc5d-40f1-9ffe-4c34d430a057 from VM ctest-vn1-vm1-77643275 2026-01-08 02:08:08,641 - INFO - Deleting VM ctest-vn1-vm1-77643275 2026-01-08 02:08:08,851 - DEBUG - Response for delete_port : () 2026-01-08 02:08:09,007 - DEBUG - Response for delete_port : () 2026-01-08 02:08:09,007 - INFO - Deleting VN ctest-vn1-13580252 2026-01-08 02:08:09,151 - DEBUG - Response for deleting network () 2026-01-08 02:08:09,417 - DEBUG - No XMPP flaps were noticed during the test 2026-01-08 02:08:09,417 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-01-08 02:08:09,417 - INFO - -------------------------------------------------------------------------------- 2026-01-08 02:08:10,093 - INFO - Deleted project: ctest-TestPorts-88605268, ID : a817d891-6e6f-402f-94a6-2813550c697c