2026-02-16 16:21:08,684 - INFO - Domain Default found not creating 2026-02-16 16:21:08,839 - INFO - Project ctest-TestPorts-89238101 not found, creating it 2026-02-16 16:21:09,294 - INFO - Created Project:ctest-TestPorts-89238101, ID : 06e43ff6-073c-4000-b09f-7a147a201691 2026-02-16 16:21:10,743 - INFO - ================================================================================ 2026-02-16 16:21:10,743 - INFO - STARTING TEST : test_ports_bindings 2026-02-16 16:21:10,743 - 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-02-16 16:21:11,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-16 16:21:11,004 - INFO - Initial checks done. Running the testcase now 2026-02-16 16:21:11,004 - INFO - 2026-02-16 16:21:11,553 - DEBUG - Response for create_network : {'network': {'id': 'fbf59f32-5259-4752-bcd1-8196b7fa3313', 'name': 'ctest-vn-19438278', 'tenant_id': '06e43ff6073c4000b09f7a147a201691', 'project_id': '06e43ff6073c4000b09f7a147a201691', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89238101', 'ctest-vn-19438278'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 16:21:11,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '60037c28-be19-4929-9555-675df1713e84', 'name': '', 'tenant_id': '06e43ff6073c4000b09f7a147a201691', 'network_id': 'fbf59f32-5259-4752-bcd1-8196b7fa3313', 'ip_version': 4, 'cidr': '160.248.152.128/26', 'allocation_pools': [{'start': '160.248.152.130', 'end': '160.248.152.190'}], 'gateway_ip': '160.248.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.248.152.130', 'tags': [], 'project_id': '06e43ff6073c4000b09f7a147a201691'}} 2026-02-16 16:21:11,728 - INFO - Created VN ctest-vn-19438278 2026-02-16 16:21:11,778 - DEBUG - VN ctest-vn-19438278 UUID is fbf59f32-5259-4752-bcd1-8196b7fa3313 2026-02-16 16:21:11,888 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89238101', 'ctest-vmi-60327064']} 2026-02-16 16:21:12,160 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-60327064', 'id': '5034b1c9-a05a-4d18-84d1-1411966013b6', 'tenant_id': '06e43ff6073c4000b09f7a147a201691', 'network_id': 'fbf59f32-5259-4752-bcd1-8196b7fa3313', 'mac_address': '02:50:34:b1:c9:a0', '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': '160.248.152.131', 'subnet_id': '60037c28-be19-4929-9555-675df1713e84'}], 'security_groups': ['b49602a7-fa39-4f02-89e2-abd3fa76d5ce'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06e43ff6073c4000b09f7a147a201691'}} 2026-02-16 16:21:12,160 - DEBUG - Created port 5034b1c9-a05a-4d18-84d1-1411966013b6 2026-02-16 16:21:12,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5034b1c9-a05a-4d18-84d1-1411966013b6 2026-02-16 16:21:12,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5034b1c9-a05a-4d18-84d1-1411966013b6 2026-02-16 16:21:12,596 - INFO - VMI 5034b1c9-a05a-4d18-84d1-1411966013b6 verification in API Server passed 2026-02-16 16:21:12,691 - DEBUG - Response for delete_port : () 2026-02-16 16:21:12,692 - INFO - Deleted port 5034b1c9-a05a-4d18-84d1-1411966013b6 2026-02-16 16:21:12,692 - INFO - Deleting VN ctest-vn-19438278 2026-02-16 16:21:12,799 - DEBUG - Response for deleting network () 2026-02-16 16:21:13,064 - DEBUG - No XMPP flaps were noticed during the test 2026-02-16 16:21:13,064 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2026-02-16 16:21:13,064 - INFO - -------------------------------------------------------------------------------- 2026-02-16 16:21:13,068 - INFO - ================================================================================ 2026-02-16 16:21:13,068 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-16 16:21:13,068 - 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-02-16 16:21:13,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-16 16:21:13,343 - INFO - Initial checks done. Running the testcase now 2026-02-16 16:21:13,343 - INFO - 2026-02-16 16:21:13,526 - DEBUG - Response for create_network : {'network': {'id': '467f808e-ddae-4222-a4b3-f5da86edb2c9', 'name': 'ctest-vn1-91739186', 'tenant_id': '06e43ff6073c4000b09f7a147a201691', 'project_id': '06e43ff6073c4000b09f7a147a201691', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89238101', 'ctest-vn1-91739186'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 16:21:13,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6a61a2a-50a4-4469-bed7-6955160eccd5', 'name': '', 'tenant_id': '06e43ff6073c4000b09f7a147a201691', 'network_id': '467f808e-ddae-4222-a4b3-f5da86edb2c9', 'ip_version': 4, 'cidr': '165.84.204.192/26', 'allocation_pools': [{'start': '165.84.204.194', 'end': '165.84.204.254'}], 'gateway_ip': '165.84.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.84.204.194', 'tags': [], 'project_id': '06e43ff6073c4000b09f7a147a201691'}} 2026-02-16 16:21:13,906 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de9974ab-fdfd-43dc-a15e-2e7f442fed65', 'name': '', 'tenant_id': '06e43ff6073c4000b09f7a147a201691', 'network_id': '467f808e-ddae-4222-a4b3-f5da86edb2c9', 'ip_version': 4, 'cidr': '129.93.25.0/26', 'allocation_pools': [{'start': '129.93.25.2', 'end': '129.93.25.62'}], 'gateway_ip': '129.93.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.93.25.2', 'tags': [], 'project_id': '06e43ff6073c4000b09f7a147a201691'}} 2026-02-16 16:21:13,924 - INFO - Created VN ctest-vn1-91739186 2026-02-16 16:21:13,975 - DEBUG - VN ctest-vn1-91739186 UUID is 467f808e-ddae-4222-a4b3-f5da86edb2c9 2026-02-16 16:21:14,264 - DEBUG - Response for create_port : {'port': {'name': '0d921fa5-6fae-497a-98b1-d5e5c5620cd9', 'id': '0d921fa5-6fae-497a-98b1-d5e5c5620cd9', 'tenant_id': '06e43ff6073c4000b09f7a147a201691', 'network_id': '467f808e-ddae-4222-a4b3-f5da86edb2c9', 'mac_address': '02:0d:92:1f:a5:6f', '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': '165.84.204.197', 'subnet_id': 'f6a61a2a-50a4-4469-bed7-6955160eccd5'}], 'security_groups': ['b49602a7-fa39-4f02-89e2-abd3fa76d5ce'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06e43ff6073c4000b09f7a147a201691'}} 2026-02-16 16:21:14,443 - DEBUG - Response for create_port : {'port': {'name': '2bb8a489-8b7d-4d45-abe7-ea1ce0e09552', 'id': '2bb8a489-8b7d-4d45-abe7-ea1ce0e09552', 'tenant_id': '06e43ff6073c4000b09f7a147a201691', 'network_id': '467f808e-ddae-4222-a4b3-f5da86edb2c9', 'mac_address': '02:2b:b8:a4:89:8b', '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': '129.93.25.5', 'subnet_id': 'de9974ab-fdfd-43dc-a15e-2e7f442fed65'}], 'security_groups': ['b49602a7-fa39-4f02-89e2-abd3fa76d5ce'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06e43ff6073c4000b09f7a147a201691'}} 2026-02-16 16:21:14,500 - DEBUG - Services list from nova: [, , ] 2026-02-16 16:21:14,834 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5337-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5337-30) 2026-02-16 16:21:15,341 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5337-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5337-30) 2026-02-16 16:21:15,341 - INFO - Waiting for VM ctest-vn1-vm1-49938110 to be up.. 2026-02-16 16:21:15,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-16 16:21:20,463 - DEBUG - VM is in ACTIVE state now 2026-02-16 16:21:20,463 - INFO - VM name : ctest-vn1-vm1-49938110 2026-02-16 16:21:20,531 - DEBUG - VM ctest-vn1-vm1-49938110 ID is 2184fbe9-776b-443b-a4af-03c4cc47328f 2026-02-16 16:21:20,550 - DEBUG - VM ctest-vn1-vm1-49938110 launched on Node cn-jenkins-deploy-platform-ansible-os-5337-30 2026-02-16 16:21:20,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2184fbe9-776b-443b-a4af-03c4cc47328f 2026-02-16 16:21:20,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0d921fa5-6fae-497a-98b1-d5e5c5620cd9 2026-02-16 16:21:23,899 - 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 1029ms') 2026-02-16 16:21:23,899 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49938110 failed! 2026-02-16 16:21:23,955 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89238101:ctest-vn1-91739186 is 165.84.204.193 and allocation pool is NOT set 2026-02-16 16:21:23,955 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89238101:ctest-vn1-91739186 is 129.93.25.1 and allocation pool is NOT set 2026-02-16 16:21:26,014 - 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=13.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.798/8.022/13.247/5.224 ms') 2026-02-16 16:21:26,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49938110 passed 2026-02-16 16:21:26,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:21:26,167 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49938110, IP 165.84.204.197, Port 22 2026-02-16 16:21:26,222 - 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-02-16 16:21:26,296 - DEBUG - VM ctest-vn1-vm1-49938110 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-16 16:21:31,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:21:31,297 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49938110, IP 165.84.204.197, Port 22 2026-02-16 16:21:31,458 - DEBUG - VM ctest-vn1-vm1-49938110 is ready for SSH connections 2026-02-16 16:21:31,458 - INFO - Waiting for VM ctest-vn1-vm2-11285818 to be up.. 2026-02-16 16:21:31,540 - DEBUG - VM is in ACTIVE state now 2026-02-16 16:21:31,540 - INFO - VM name : ctest-vn1-vm2-11285818 2026-02-16 16:21:31,617 - DEBUG - VM ctest-vn1-vm2-11285818 ID is f7304fc7-2b0c-40cd-955d-a710728cf690 2026-02-16 16:21:31,617 - DEBUG - VM ctest-vn1-vm2-11285818 launched on Node cn-jenkins-deploy-platform-ansible-os-5337-30 2026-02-16 16:21:31,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f7304fc7-2b0c-40cd-955d-a710728cf690 2026-02-16 16:21:31,698 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2bb8a489-8b7d-4d45-abe7-ea1ce0e09552 2026-02-16 16:21:32,935 - 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=3.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 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.540/1.776/3.013/1.236 ms') 2026-02-16 16:21:32,936 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11285818 passed 2026-02-16 16:21:33,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:21:33,083 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11285818, IP 129.93.25.5, Port 22 2026-02-16 16:21:33,238 - DEBUG - VM ctest-vn1-vm2-11285818 is ready for SSH connections 2026-02-16 16:21:33,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:21:33,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:21:33,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 16:21:33,239 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.84.204.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-16 16:21:33,239 - DEBUG - ping -s 56 -c 3 -W 1 165.84.204.197 2026-02-16 16:21:35,915 - DEBUG - PING 165.84.204.197 (165.84.204.197): 56 data bytes 64 bytes from 165.84.204.197: seq=0 ttl=63 time=3.635 ms 64 bytes from 165.84.204.197: seq=1 ttl=63 time=0.964 ms 64 bytes from 165.84.204.197: seq=2 ttl=63 time=0.977 ms --- 165.84.204.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/1.858/3.635 ms 2026-02-16 16:21:35,915 - INFO - Ping to IP 165.84.204.197 from VM ctest-vn1-vm2-11285818 passed 2026-02-16 16:21:35,915 - INFO - Detaching port 2bb8a489-8b7d-4d45-abe7-ea1ce0e09552 from VM ctest-vn1-vm2-11285818 2026-02-16 16:21:35,964 - INFO - Deleting VM ctest-vn1-vm2-11285818 2026-02-16 16:21:36,032 - INFO - Detaching port 0d921fa5-6fae-497a-98b1-d5e5c5620cd9 from VM ctest-vn1-vm1-49938110 2026-02-16 16:21:36,068 - INFO - Deleting VM ctest-vn1-vm1-49938110 2026-02-16 16:21:36,280 - DEBUG - Response for delete_port : () 2026-02-16 16:21:36,425 - DEBUG - Response for delete_port : () 2026-02-16 16:21:36,425 - INFO - Deleting VN ctest-vn1-91739186 2026-02-16 16:21:36,547 - DEBUG - Response for deleting network () 2026-02-16 16:21:36,818 - DEBUG - No XMPP flaps were noticed during the test 2026-02-16 16:21:36,819 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2026-02-16 16:21:36,819 - INFO - -------------------------------------------------------------------------------- 2026-02-16 16:21:37,470 - INFO - Deleted project: ctest-TestPorts-89238101, ID : 06e43ff6-073c-4000-b09f-7a147a201691