2026-05-08 19:31:08,360 - INFO - Domain Default found not creating 2026-05-08 19:31:08,518 - INFO - Project ctest-TestPorts-99260734 not found, creating it 2026-05-08 19:31:08,984 - INFO - Created Project:ctest-TestPorts-99260734, ID : d7375d2d-aebe-4bb2-9c7e-25b31fa4ad83 2026-05-08 19:31:10,488 - INFO - ================================================================================ 2026-05-08 19:31:10,488 - INFO - STARTING TEST : test_ports_bindings 2026-05-08 19:31:10,488 - 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-05-08 19:31:10,744 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-08 19:31:10,744 - INFO - Initial checks done. Running the testcase now 2026-05-08 19:31:10,745 - INFO - 2026-05-08 19:31:11,307 - DEBUG - Response for create_network : {'network': {'id': 'dbeac436-9b28-4b21-a0ff-99d7d42a8859', 'name': 'ctest-vn-60103315', 'tenant_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'project_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99260734', 'ctest-vn-60103315'], 'port_security_enabled': True, 'description': ''}} 2026-05-08 19:31:11,473 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fa472ef-5224-437a-80f8-134b940a69f0', 'name': '', 'tenant_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'network_id': 'dbeac436-9b28-4b21-a0ff-99d7d42a8859', 'ip_version': 4, 'cidr': '171.170.103.128/26', 'allocation_pools': [{'start': '171.170.103.130', 'end': '171.170.103.190'}], 'gateway_ip': '171.170.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.170.103.130', 'tags': [], 'project_id': 'd7375d2daebe4bb29c7e25b31fa4ad83'}} 2026-05-08 19:31:11,488 - INFO - Created VN ctest-vn-60103315 2026-05-08 19:31:11,539 - DEBUG - VN ctest-vn-60103315 UUID is dbeac436-9b28-4b21-a0ff-99d7d42a8859 2026-05-08 19:31:11,638 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99260734', 'ctest-vmi-27811000']} 2026-05-08 19:31:11,905 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27811000', 'id': '5a97092d-ede9-47f9-93a4-530ab8fcbae5', 'tenant_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'network_id': 'dbeac436-9b28-4b21-a0ff-99d7d42a8859', 'mac_address': '02:5a:97:09:2d:ed', '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': '171.170.103.131', 'subnet_id': '3fa472ef-5224-437a-80f8-134b940a69f0'}], 'security_groups': ['e7ebf3a4-713c-42ee-aaf9-35f96f55ac1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd7375d2daebe4bb29c7e25b31fa4ad83'}} 2026-05-08 19:31:11,905 - DEBUG - Created port 5a97092d-ede9-47f9-93a4-530ab8fcbae5 2026-05-08 19:31:12,007 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5a97092d-ede9-47f9-93a4-530ab8fcbae5 2026-05-08 19:31:12,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5a97092d-ede9-47f9-93a4-530ab8fcbae5 2026-05-08 19:31:12,350 - INFO - VMI 5a97092d-ede9-47f9-93a4-530ab8fcbae5 verification in API Server passed 2026-05-08 19:31:12,443 - DEBUG - Response for delete_port : () 2026-05-08 19:31:12,443 - INFO - Deleted port 5a97092d-ede9-47f9-93a4-530ab8fcbae5 2026-05-08 19:31:12,443 - INFO - Deleting VN ctest-vn-60103315 2026-05-08 19:31:12,558 - DEBUG - Response for deleting network () 2026-05-08 19:31:12,814 - DEBUG - No XMPP flaps were noticed during the test 2026-05-08 19:31:12,815 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-05-08 19:31:12,815 - INFO - -------------------------------------------------------------------------------- 2026-05-08 19:31:12,817 - INFO - ================================================================================ 2026-05-08 19:31:12,817 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-05-08 19:31:12,817 - 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-05-08 19:31:13,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-08 19:31:13,103 - INFO - Initial checks done. Running the testcase now 2026-05-08 19:31:13,103 - INFO - 2026-05-08 19:31:13,280 - DEBUG - Response for create_network : {'network': {'id': '2a48b16a-a42f-4c32-946c-8e5f49057b3d', 'name': 'ctest-vn1-64876312', 'tenant_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'project_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99260734', 'ctest-vn1-64876312'], 'port_security_enabled': True, 'description': ''}} 2026-05-08 19:31:13,497 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d48c520-a885-44d8-983b-103ae7536027', 'name': '', 'tenant_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'network_id': '2a48b16a-a42f-4c32-946c-8e5f49057b3d', 'ip_version': 4, 'cidr': '32.12.208.192/26', 'allocation_pools': [{'start': '32.12.208.194', 'end': '32.12.208.254'}], 'gateway_ip': '32.12.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.12.208.194', 'tags': [], 'project_id': 'd7375d2daebe4bb29c7e25b31fa4ad83'}} 2026-05-08 19:31:13,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7fe0c14-b43a-4935-b944-37534cc9a843', 'name': '', 'tenant_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'network_id': '2a48b16a-a42f-4c32-946c-8e5f49057b3d', 'ip_version': 4, 'cidr': '19.80.173.64/26', 'allocation_pools': [{'start': '19.80.173.66', 'end': '19.80.173.126'}], 'gateway_ip': '19.80.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.80.173.66', 'tags': [], 'project_id': 'd7375d2daebe4bb29c7e25b31fa4ad83'}} 2026-05-08 19:31:13,647 - INFO - Created VN ctest-vn1-64876312 2026-05-08 19:31:13,699 - DEBUG - VN ctest-vn1-64876312 UUID is 2a48b16a-a42f-4c32-946c-8e5f49057b3d 2026-05-08 19:31:13,971 - DEBUG - Response for create_port : {'port': {'name': '104f2958-30a0-4cfd-81c1-3d2382615882', 'id': '104f2958-30a0-4cfd-81c1-3d2382615882', 'tenant_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'network_id': '2a48b16a-a42f-4c32-946c-8e5f49057b3d', 'mac_address': '02:10:4f:29:58:30', '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': '32.12.208.197', 'subnet_id': '7d48c520-a885-44d8-983b-103ae7536027'}], 'security_groups': ['e7ebf3a4-713c-42ee-aaf9-35f96f55ac1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd7375d2daebe4bb29c7e25b31fa4ad83'}} 2026-05-08 19:31:14,137 - DEBUG - Response for create_port : {'port': {'name': 'ad5e9ac7-aa9c-4f4d-973e-94ca4fd978c8', 'id': 'ad5e9ac7-aa9c-4f4d-973e-94ca4fd978c8', 'tenant_id': 'd7375d2daebe4bb29c7e25b31fa4ad83', 'network_id': '2a48b16a-a42f-4c32-946c-8e5f49057b3d', 'mac_address': '02:ad:5e:9a:c7:aa', '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': '19.80.173.69', 'subnet_id': 'b7fe0c14-b43a-4935-b944-37534cc9a843'}], 'security_groups': ['e7ebf3a4-713c-42ee-aaf9-35f96f55ac1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd7375d2daebe4bb29c7e25b31fa4ad83'}} 2026-05-08 19:31:14,188 - DEBUG - Services list from nova: [, , ] 2026-05-08 19:31:14,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5759-1) 2026-05-08 19:31:14,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5759-1) 2026-05-08 19:31:14,856 - INFO - Waiting for VM ctest-vn1-vm1-88579736 to be up.. 2026-05-08 19:31:15,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-08 19:31:20,080 - DEBUG - VM is in ACTIVE state now 2026-05-08 19:31:20,080 - INFO - VM name : ctest-vn1-vm1-88579736 2026-05-08 19:31:20,146 - DEBUG - VM ctest-vn1-vm1-88579736 ID is 1d9a64ea-5999-4c05-81a4-2fd880761450 2026-05-08 19:31:20,163 - DEBUG - VM ctest-vn1-vm1-88579736 launched on Node cn-jenkins-deploy-platform-ansible-os-5759-1 2026-05-08 19:31:20,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1d9a64ea-5999-4c05-81a4-2fd880761450 2026-05-08 19:31:20,233 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/104f2958-30a0-4cfd-81c1-3d2382615882 2026-05-08 19:31:23,467 - 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-05-08 19:31:23,468 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88579736 failed! 2026-05-08 19:31:23,527 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99260734:ctest-vn1-64876312 is 32.12.208.193 and allocation pool is NOT set 2026-05-08 19:31:23,527 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99260734:ctest-vn1-64876312 is 19.80.173.65 and allocation pool is NOT set 2026-05-08 19:31:25,590 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.731 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 = 0.731/1.840/2.950/1.109 ms') 2026-05-08 19:31:25,590 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88579736 passed 2026-05-08 19:31:25,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:31:25,739 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88579736, IP 32.12.208.197, Port 22 2026-05-08 19:31:25,793 - 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-05-08 19:31:25,861 - DEBUG - VM ctest-vn1-vm1-88579736 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-08 19:31:30,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:31:30,862 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88579736, IP 32.12.208.197, Port 22 2026-05-08 19:31:31,026 - DEBUG - VM ctest-vn1-vm1-88579736 is ready for SSH connections 2026-05-08 19:31:31,026 - INFO - Waiting for VM ctest-vn1-vm2-99857682 to be up.. 2026-05-08 19:31:31,098 - DEBUG - VM is in ACTIVE state now 2026-05-08 19:31:31,099 - INFO - VM name : ctest-vn1-vm2-99857682 2026-05-08 19:31:31,169 - DEBUG - VM ctest-vn1-vm2-99857682 ID is 9f1def40-7d32-4616-bcc8-b4ccb6e581f8 2026-05-08 19:31:31,169 - DEBUG - VM ctest-vn1-vm2-99857682 launched on Node cn-jenkins-deploy-platform-ansible-os-5759-1 2026-05-08 19:31:31,235 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9f1def40-7d32-4616-bcc8-b4ccb6e581f8 2026-05-08 19:31:31,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ad5e9ac7-aa9c-4f4d-973e-94ca4fd978c8 2026-05-08 19:31:32,483 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.996/3.622/1.626 ms') 2026-05-08 19:31:32,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-99857682 passed 2026-05-08 19:31:32,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:31:32,631 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-99857682, IP 19.80.173.69, Port 22 2026-05-08 19:31:32,782 - DEBUG - VM ctest-vn1-vm2-99857682 is ready for SSH connections 2026-05-08 19:31:32,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:31:32,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:31:32,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 19:31:32,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.12.208.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-08 19:31:32,783 - DEBUG - ping -s 56 -c 3 -W 1 32.12.208.197 2026-05-08 19:31:35,451 - DEBUG - PING 32.12.208.197 (32.12.208.197): 56 data bytes 64 bytes from 32.12.208.197: seq=0 ttl=63 time=3.764 ms 64 bytes from 32.12.208.197: seq=1 ttl=63 time=0.850 ms 64 bytes from 32.12.208.197: seq=2 ttl=63 time=0.730 ms --- 32.12.208.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/1.781/3.764 ms 2026-05-08 19:31:35,451 - INFO - Ping to IP 32.12.208.197 from VM ctest-vn1-vm2-99857682 passed 2026-05-08 19:31:35,451 - INFO - Detaching port ad5e9ac7-aa9c-4f4d-973e-94ca4fd978c8 from VM ctest-vn1-vm2-99857682 2026-05-08 19:31:35,497 - INFO - Deleting VM ctest-vn1-vm2-99857682 2026-05-08 19:31:35,560 - INFO - Detaching port 104f2958-30a0-4cfd-81c1-3d2382615882 from VM ctest-vn1-vm1-88579736 2026-05-08 19:31:35,592 - INFO - Deleting VM ctest-vn1-vm1-88579736 2026-05-08 19:31:35,841 - DEBUG - Response for delete_port : () 2026-05-08 19:31:36,022 - DEBUG - Response for delete_port : () 2026-05-08 19:31:36,022 - INFO - Deleting VN ctest-vn1-64876312 2026-05-08 19:31:36,177 - DEBUG - Response for deleting network () 2026-05-08 19:31:36,431 - DEBUG - No XMPP flaps were noticed during the test 2026-05-08 19:31:36,431 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-05-08 19:31:36,431 - INFO - -------------------------------------------------------------------------------- 2026-05-08 19:31:37,146 - INFO - Deleted project: ctest-TestPorts-99260734, ID : d7375d2d-aebe-4bb2-9c7e-25b31fa4ad83