2026-01-14 15:07:55,161 - INFO - Domain Default found not creating 2026-01-14 15:07:55,356 - INFO - Project ctest-TestPorts-42262190 not found, creating it 2026-01-14 15:07:55,841 - INFO - Created Project:ctest-TestPorts-42262190, ID : 369c8e09-1388-4586-a2f0-ab01a145620c 2026-01-14 15:07:57,350 - INFO - ================================================================================ 2026-01-14 15:07:57,351 - INFO - STARTING TEST : test_ports_bindings 2026-01-14 15:07:57,351 - 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-14 15:07:57,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-01-14 15:07:57,607 - INFO - Initial checks done. Running the testcase now 2026-01-14 15:07:57,607 - INFO - 2026-01-14 15:07:58,161 - DEBUG - Response for create_network : {'network': {'id': 'a5d01bbb-c997-4877-b8ba-885d71c4e057', 'name': 'ctest-vn-03342775', 'tenant_id': '369c8e0913884586a2f0ab01a145620c', 'project_id': '369c8e0913884586a2f0ab01a145620c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42262190', 'ctest-vn-03342775'], 'port_security_enabled': True, 'description': ''}} 2026-01-14 15:07:58,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '42a16687-3a5d-412c-bd7e-340c61181a87', 'name': '', 'tenant_id': '369c8e0913884586a2f0ab01a145620c', 'network_id': 'a5d01bbb-c997-4877-b8ba-885d71c4e057', 'ip_version': 4, 'cidr': '170.137.252.192/26', 'allocation_pools': [{'start': '170.137.252.194', 'end': '170.137.252.254'}], 'gateway_ip': '170.137.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.137.252.194', 'tags': [], 'project_id': '369c8e0913884586a2f0ab01a145620c'}} 2026-01-14 15:07:58,372 - INFO - Created VN ctest-vn-03342775 2026-01-14 15:07:58,426 - DEBUG - VN ctest-vn-03342775 UUID is a5d01bbb-c997-4877-b8ba-885d71c4e057 2026-01-14 15:07:58,534 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42262190', 'ctest-vmi-31004541']} 2026-01-14 15:07:58,796 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31004541', 'id': '2b62fc4e-9711-47b4-9080-e93f18d7fafd', 'tenant_id': '369c8e0913884586a2f0ab01a145620c', 'network_id': 'a5d01bbb-c997-4877-b8ba-885d71c4e057', 'mac_address': '02:2b:62:fc:4e:97', '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': '170.137.252.195', 'subnet_id': '42a16687-3a5d-412c-bd7e-340c61181a87'}], 'security_groups': ['9073f510-8ac5-4cdd-b675-8fd07a5aeac8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '369c8e0913884586a2f0ab01a145620c'}} 2026-01-14 15:07:58,796 - DEBUG - Created port 2b62fc4e-9711-47b4-9080-e93f18d7fafd 2026-01-14 15:07:58,902 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2b62fc4e-9711-47b4-9080-e93f18d7fafd 2026-01-14 15:07:59,203 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2b62fc4e-9711-47b4-9080-e93f18d7fafd 2026-01-14 15:07:59,236 - INFO - VMI 2b62fc4e-9711-47b4-9080-e93f18d7fafd verification in API Server passed 2026-01-14 15:07:59,317 - DEBUG - Response for delete_port : () 2026-01-14 15:07:59,318 - INFO - Deleted port 2b62fc4e-9711-47b4-9080-e93f18d7fafd 2026-01-14 15:07:59,318 - INFO - Deleting VN ctest-vn-03342775 2026-01-14 15:07:59,412 - DEBUG - Response for deleting network () 2026-01-14 15:07:59,670 - DEBUG - No XMPP flaps were noticed during the test 2026-01-14 15:07:59,670 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-01-14 15:07:59,670 - INFO - -------------------------------------------------------------------------------- 2026-01-14 15:07:59,673 - INFO - ================================================================================ 2026-01-14 15:07:59,673 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-14 15:07:59,673 - 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-14 15:07:59,959 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-01-14 15:07:59,959 - INFO - Initial checks done. Running the testcase now 2026-01-14 15:07:59,959 - INFO - 2026-01-14 15:08:00,140 - DEBUG - Response for create_network : {'network': {'id': 'e8e76f47-20fb-4f43-97eb-80a0216cd772', 'name': 'ctest-vn1-87154374', 'tenant_id': '369c8e0913884586a2f0ab01a145620c', 'project_id': '369c8e0913884586a2f0ab01a145620c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42262190', 'ctest-vn1-87154374'], 'port_security_enabled': True, 'description': ''}} 2026-01-14 15:08:00,320 - DEBUG - Response for create_subnet : {'subnet': {'id': '22bf0b2f-d28a-40f3-9811-1e3383218294', 'name': '', 'tenant_id': '369c8e0913884586a2f0ab01a145620c', 'network_id': 'e8e76f47-20fb-4f43-97eb-80a0216cd772', 'ip_version': 4, 'cidr': '154.113.213.64/26', 'allocation_pools': [{'start': '154.113.213.66', 'end': '154.113.213.126'}], 'gateway_ip': '154.113.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.113.213.66', 'tags': [], 'project_id': '369c8e0913884586a2f0ab01a145620c'}} 2026-01-14 15:08:00,491 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a6fb68c-e96b-4904-9cc9-52fb70995815', 'name': '', 'tenant_id': '369c8e0913884586a2f0ab01a145620c', 'network_id': 'e8e76f47-20fb-4f43-97eb-80a0216cd772', 'ip_version': 4, 'cidr': '79.28.232.0/26', 'allocation_pools': [{'start': '79.28.232.2', 'end': '79.28.232.62'}], 'gateway_ip': '79.28.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.28.232.2', 'tags': [], 'project_id': '369c8e0913884586a2f0ab01a145620c'}} 2026-01-14 15:08:00,512 - INFO - Created VN ctest-vn1-87154374 2026-01-14 15:08:00,566 - DEBUG - VN ctest-vn1-87154374 UUID is e8e76f47-20fb-4f43-97eb-80a0216cd772 2026-01-14 15:08:00,879 - DEBUG - Response for create_port : {'port': {'name': '4e5d6881-7fff-41a1-93ed-a04010e2f841', 'id': '4e5d6881-7fff-41a1-93ed-a04010e2f841', 'tenant_id': '369c8e0913884586a2f0ab01a145620c', 'network_id': 'e8e76f47-20fb-4f43-97eb-80a0216cd772', 'mac_address': '02:4e:5d:68:81:7f', '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': '154.113.213.69', 'subnet_id': '22bf0b2f-d28a-40f3-9811-1e3383218294'}], 'security_groups': ['9073f510-8ac5-4cdd-b675-8fd07a5aeac8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '369c8e0913884586a2f0ab01a145620c'}} 2026-01-14 15:08:01,051 - DEBUG - Response for create_port : {'port': {'name': 'df4ed805-98a8-4abe-b696-954017ffc8ca', 'id': 'df4ed805-98a8-4abe-b696-954017ffc8ca', 'tenant_id': '369c8e0913884586a2f0ab01a145620c', 'network_id': 'e8e76f47-20fb-4f43-97eb-80a0216cd772', 'mac_address': '02:df:4e:d8:05:98', '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': '79.28.232.5', 'subnet_id': '7a6fb68c-e96b-4904-9cc9-52fb70995815'}], 'security_groups': ['9073f510-8ac5-4cdd-b675-8fd07a5aeac8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '369c8e0913884586a2f0ab01a145620c'}} 2026-01-14 15:08:01,108 - DEBUG - Services list from nova: [, , ] 2026-01-14 15:08:01,459 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5005-1) 2026-01-14 15:08:01,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5005-1) 2026-01-14 15:08:01,877 - INFO - Waiting for VM ctest-vn1-vm1-35846725 to be up.. 2026-01-14 15:08:01,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-14 15:08:07,003 - DEBUG - VM is in ACTIVE state now 2026-01-14 15:08:07,003 - INFO - VM name : ctest-vn1-vm1-35846725 2026-01-14 15:08:07,086 - DEBUG - VM ctest-vn1-vm1-35846725 ID is b80b93f7-9d69-4d1e-9451-34b1f14d9dcc 2026-01-14 15:08:07,106 - DEBUG - VM ctest-vn1-vm1-35846725 launched on Node cn-jenkins-deploy-platform-ansible-os-5005-1 2026-01-14 15:08:07,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b80b93f7-9d69-4d1e-9451-34b1f14d9dcc 2026-01-14 15:08:07,193 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4e5d6881-7fff-41a1-93ed-a04010e2f841 2026-01-14 15:08:10,458 - 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 1027ms') 2026-01-14 15:08:10,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35846725 failed! 2026-01-14 15:08:10,510 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42262190:ctest-vn1-87154374 is 154.113.213.65 and allocation pool is NOT set 2026-01-14 15:08:10,510 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42262190:ctest-vn1-87154374 is 79.28.232.1 and allocation pool is NOT set 2026-01-14 15:08:12,577 - 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=8.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.45 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.447/5.700/8.953/3.253 ms') 2026-01-14 15:08:12,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35846725 passed 2026-01-14 15:08:12,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-14 15:08:12,730 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35846725, IP 154.113.213.69, Port 22 2026-01-14 15:08:12,796 - 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-14 15:08:12,876 - DEBUG - VM ctest-vn1-vm1-35846725 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-14 15:08:17,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-14 15:08:17,878 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35846725, IP 154.113.213.69, Port 22 2026-01-14 15:08:18,034 - DEBUG - VM ctest-vn1-vm1-35846725 is ready for SSH connections 2026-01-14 15:08:18,034 - INFO - Waiting for VM ctest-vn1-vm2-94595930 to be up.. 2026-01-14 15:08:18,102 - DEBUG - VM is in ACTIVE state now 2026-01-14 15:08:18,102 - INFO - VM name : ctest-vn1-vm2-94595930 2026-01-14 15:08:18,171 - DEBUG - VM ctest-vn1-vm2-94595930 ID is 39d37076-4e20-4814-b6f4-3bed12a88815 2026-01-14 15:08:18,171 - DEBUG - VM ctest-vn1-vm2-94595930 launched on Node cn-jenkins-deploy-platform-ansible-os-5005-1 2026-01-14 15:08:18,241 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/39d37076-4e20-4814-b6f4-3bed12a88815 2026-01-14 15:08:18,249 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/df4ed805-98a8-4abe-b696-954017ffc8ca 2026-01-14 15:08:19,493 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.633/2.881/1.247 ms') 2026-01-14 15:08:19,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-94595930 passed 2026-01-14 15:08:19,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-14 15:08:19,642 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94595930, IP 79.28.232.5, Port 22 2026-01-14 15:08:19,798 - DEBUG - VM ctest-vn1-vm2-94595930 is ready for SSH connections 2026-01-14 15:08:19,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-14 15:08:19,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-14 15:08:19,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-14 15:08:19,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.113.213.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-14 15:08:19,798 - DEBUG - ping -s 56 -c 3 -W 1 154.113.213.69 2026-01-14 15:08:22,487 - DEBUG - PING 154.113.213.69 (154.113.213.69): 56 data bytes 64 bytes from 154.113.213.69: seq=0 ttl=63 time=4.216 ms 64 bytes from 154.113.213.69: seq=1 ttl=63 time=0.711 ms 64 bytes from 154.113.213.69: seq=2 ttl=63 time=2.818 ms --- 154.113.213.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.711/2.581/4.216 ms 2026-01-14 15:08:22,487 - INFO - Ping to IP 154.113.213.69 from VM ctest-vn1-vm2-94595930 passed 2026-01-14 15:08:22,487 - INFO - Detaching port df4ed805-98a8-4abe-b696-954017ffc8ca from VM ctest-vn1-vm2-94595930 2026-01-14 15:08:22,538 - INFO - Deleting VM ctest-vn1-vm2-94595930 2026-01-14 15:08:22,604 - INFO - Detaching port 4e5d6881-7fff-41a1-93ed-a04010e2f841 from VM ctest-vn1-vm1-35846725 2026-01-14 15:08:22,644 - INFO - Deleting VM ctest-vn1-vm1-35846725 2026-01-14 15:08:22,885 - DEBUG - Response for delete_port : () 2026-01-14 15:08:23,047 - DEBUG - Response for delete_port : () 2026-01-14 15:08:23,047 - INFO - Deleting VN ctest-vn1-87154374 2026-01-14 15:08:23,176 - DEBUG - Response for deleting network () 2026-01-14 15:08:23,436 - DEBUG - No XMPP flaps were noticed during the test 2026-01-14 15:08:23,436 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-01-14 15:08:23,436 - INFO - -------------------------------------------------------------------------------- 2026-01-14 15:08:24,150 - INFO - Deleted project: ctest-TestPorts-42262190, ID : 369c8e09-1388-4586-a2f0-ab01a145620c