2026-04-23 02:02:42,764 - INFO - Domain Default found not creating 2026-04-23 02:02:42,953 - INFO - Project ctest-TestPorts-01803537 not found, creating it 2026-04-23 02:02:43,451 - INFO - Created Project:ctest-TestPorts-01803537, ID : 5d64f81d-c423-4dc7-8710-861559778379 2026-04-23 02:02:45,851 - INFO - ================================================================================ 2026-04-23 02:02:45,851 - INFO - STARTING TEST : test_ports_bindings 2026-04-23 02:02:45,851 - 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-04-23 02:02:46,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2026-04-23 02:02:46,109 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:02:46,109 - INFO - 2026-04-23 02:02:46,728 - DEBUG - Response for create_network : {'network': {'id': 'd61c86d1-730b-43ea-81e9-50e333d0e879', 'name': 'ctest-vn-08073599', 'tenant_id': '5d64f81dc4234dc78710861559778379', 'project_id': '5d64f81dc4234dc78710861559778379', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01803537', 'ctest-vn-08073599'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:02:46,941 - DEBUG - Response for create_subnet : {'subnet': {'id': '465e1de1-7284-42e9-aad7-f7331107872f', 'name': '', 'tenant_id': '5d64f81dc4234dc78710861559778379', 'network_id': 'd61c86d1-730b-43ea-81e9-50e333d0e879', 'ip_version': 4, 'cidr': '34.169.176.64/26', 'allocation_pools': [{'start': '34.169.176.66', 'end': '34.169.176.126'}], 'gateway_ip': '34.169.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.169.176.66', 'tags': [], 'project_id': '5d64f81dc4234dc78710861559778379'}} 2026-04-23 02:02:46,965 - INFO - Created VN ctest-vn-08073599 2026-04-23 02:02:47,019 - DEBUG - VN ctest-vn-08073599 UUID is d61c86d1-730b-43ea-81e9-50e333d0e879 2026-04-23 02:02:47,156 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01803537', 'ctest-vmi-68161640']} 2026-04-23 02:02:47,449 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68161640', 'id': '2f7fde66-ed3c-4edc-a344-c3226b524d02', 'tenant_id': '5d64f81dc4234dc78710861559778379', 'network_id': 'd61c86d1-730b-43ea-81e9-50e333d0e879', 'mac_address': '02:2f:7f:de:66: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': '34.169.176.67', 'subnet_id': '465e1de1-7284-42e9-aad7-f7331107872f'}], 'security_groups': ['eb8588c0-1862-4903-852e-69430437a265'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d64f81dc4234dc78710861559778379'}} 2026-04-23 02:02:47,450 - DEBUG - Created port 2f7fde66-ed3c-4edc-a344-c3226b524d02 2026-04-23 02:02:47,555 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2f7fde66-ed3c-4edc-a344-c3226b524d02 2026-04-23 02:02:47,858 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2f7fde66-ed3c-4edc-a344-c3226b524d02 2026-04-23 02:02:47,909 - INFO - VMI 2f7fde66-ed3c-4edc-a344-c3226b524d02 verification in API Server passed 2026-04-23 02:02:48,025 - DEBUG - Response for delete_port : () 2026-04-23 02:02:48,025 - INFO - Deleted port 2f7fde66-ed3c-4edc-a344-c3226b524d02 2026-04-23 02:02:48,025 - INFO - Deleting VN ctest-vn-08073599 2026-04-23 02:02:48,150 - DEBUG - Response for deleting network () 2026-04-23 02:02:48,413 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 02:02:48,413 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-23 02:02:48,413 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:02:48,417 - INFO - ================================================================================ 2026-04-23 02:02:48,417 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-23 02:02:48,417 - 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-04-23 02:02:48,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2026-04-23 02:02:48,707 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:02:48,707 - INFO - 2026-04-23 02:02:48,901 - DEBUG - Response for create_network : {'network': {'id': 'fd5e29d1-63e9-4a40-a8de-fc6bb288da20', 'name': 'ctest-vn1-99324937', 'tenant_id': '5d64f81dc4234dc78710861559778379', 'project_id': '5d64f81dc4234dc78710861559778379', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01803537', 'ctest-vn1-99324937'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:02:49,065 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca76f1b2-0036-4b29-bfaf-da299f384718', 'name': '', 'tenant_id': '5d64f81dc4234dc78710861559778379', 'network_id': 'fd5e29d1-63e9-4a40-a8de-fc6bb288da20', 'ip_version': 4, 'cidr': '73.241.160.192/26', 'allocation_pools': [{'start': '73.241.160.194', 'end': '73.241.160.254'}], 'gateway_ip': '73.241.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.241.160.194', 'tags': [], 'project_id': '5d64f81dc4234dc78710861559778379'}} 2026-04-23 02:02:49,271 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4be1269-ae03-4fb3-a0e4-da7c1cdef385', 'name': '', 'tenant_id': '5d64f81dc4234dc78710861559778379', 'network_id': 'fd5e29d1-63e9-4a40-a8de-fc6bb288da20', 'ip_version': 4, 'cidr': '40.131.143.128/26', 'allocation_pools': [{'start': '40.131.143.130', 'end': '40.131.143.190'}], 'gateway_ip': '40.131.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.131.143.130', 'tags': [], 'project_id': '5d64f81dc4234dc78710861559778379'}} 2026-04-23 02:02:49,297 - INFO - Created VN ctest-vn1-99324937 2026-04-23 02:02:49,351 - DEBUG - VN ctest-vn1-99324937 UUID is fd5e29d1-63e9-4a40-a8de-fc6bb288da20 2026-04-23 02:02:49,689 - DEBUG - Response for create_port : {'port': {'name': '64289f06-2ac0-48fb-a727-4f170d5d2f9b', 'id': '64289f06-2ac0-48fb-a727-4f170d5d2f9b', 'tenant_id': '5d64f81dc4234dc78710861559778379', 'network_id': 'fd5e29d1-63e9-4a40-a8de-fc6bb288da20', 'mac_address': '02:64:28:9f:06:2a', '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': '73.241.160.197', 'subnet_id': 'ca76f1b2-0036-4b29-bfaf-da299f384718'}], 'security_groups': ['eb8588c0-1862-4903-852e-69430437a265'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d64f81dc4234dc78710861559778379'}} 2026-04-23 02:02:49,877 - DEBUG - Response for create_port : {'port': {'name': '0e6ed9b9-e35c-4f36-9432-063544e210fc', 'id': '0e6ed9b9-e35c-4f36-9432-063544e210fc', 'tenant_id': '5d64f81dc4234dc78710861559778379', 'network_id': 'fd5e29d1-63e9-4a40-a8de-fc6bb288da20', 'mac_address': '02:0e:6e:d9:b9:e3', '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': '40.131.143.133', 'subnet_id': 'f4be1269-ae03-4fb3-a0e4-da7c1cdef385'}], 'security_groups': ['eb8588c0-1862-4903-852e-69430437a265'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d64f81dc4234dc78710861559778379'}} 2026-04-23 02:02:49,942 - DEBUG - Services list from nova: [, , ] 2026-04-23 02:02:50,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5673-1) 2026-04-23 02:02:50,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5673-1) 2026-04-23 02:02:50,740 - INFO - Waiting for VM ctest-vn1-vm1-43932459 to be up.. 2026-04-23 02:02:50,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:02:55,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:03:00,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:03:06,055 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:03:11,153 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:03:16,247 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:03:16,247 - INFO - VM name : ctest-vn1-vm1-43932459 2026-04-23 02:03:16,329 - DEBUG - VM ctest-vn1-vm1-43932459 ID is ebbddea3-0da4-480a-998f-8b1a330ea5e5 2026-04-23 02:03:16,349 - DEBUG - VM ctest-vn1-vm1-43932459 launched on Node cn-jenkins-deploy-platform-ansible-os-5673-1 2026-04-23 02:03:16,427 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ebbddea3-0da4-480a-998f-8b1a330ea5e5 2026-04-23 02:03:16,438 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/64289f06-2ac0-48fb-a727-4f170d5d2f9b 2026-04-23 02:03:19,688 - 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 1006ms') 2026-04-23 02:03:19,688 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43932459 failed! 2026-04-23 02:03:19,747 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01803537:ctest-vn1-99324937 is 73.241.160.193 and allocation pool is NOT set 2026-04-23 02:03:19,747 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01803537:ctest-vn1-99324937 is 40.131.143.129 and allocation pool is NOT set 2026-04-23 02:03:21,811 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.065/4.859/8.653/3.794 ms') 2026-04-23 02:03:21,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43932459 passed 2026-04-23 02:03:21,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:03:21,967 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43932459, IP 73.241.160.197, Port 22 2026-04-23 02:03:22,032 - 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-04-23 02:03:22,125 - DEBUG - VM ctest-vn1-vm1-43932459 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-23 02:03:27,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:03:27,126 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43932459, IP 73.241.160.197, Port 22 2026-04-23 02:03:27,292 - DEBUG - VM ctest-vn1-vm1-43932459 is ready for SSH connections 2026-04-23 02:03:27,292 - INFO - Waiting for VM ctest-vn1-vm2-67953188 to be up.. 2026-04-23 02:03:27,398 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:03:27,398 - INFO - VM name : ctest-vn1-vm2-67953188 2026-04-23 02:03:27,482 - DEBUG - VM ctest-vn1-vm2-67953188 ID is 36fb7636-8644-4d6f-81f9-fe432d351fbe 2026-04-23 02:03:27,483 - DEBUG - VM ctest-vn1-vm2-67953188 launched on Node cn-jenkins-deploy-platform-ansible-os-5673-1 2026-04-23 02:03:27,566 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/36fb7636-8644-4d6f-81f9-fe432d351fbe 2026-04-23 02:03:27,575 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0e6ed9b9-e35c-4f36-9432-063544e210fc 2026-04-23 02:03:28,825 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.930/3.360/1.429 ms') 2026-04-23 02:03:28,825 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67953188 passed 2026-04-23 02:03:28,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:03:28,979 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67953188, IP 40.131.143.133, Port 22 2026-04-23 02:03:29,134 - DEBUG - VM ctest-vn1-vm2-67953188 is ready for SSH connections 2026-04-23 02:03:29,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:03:29,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:03:29,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:03:29,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.241.160.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-04-23 02:03:29,135 - DEBUG - ping -s 56 -c 3 -W 1 73.241.160.197 2026-04-23 02:03:32,212 - DEBUG - PING 73.241.160.197 (73.241.160.197): 56 data bytes 64 bytes from 73.241.160.197: seq=0 ttl=63 time=4.781 ms 64 bytes from 73.241.160.197: seq=1 ttl=63 time=1.326 ms 64 bytes from 73.241.160.197: seq=2 ttl=63 time=1.073 ms --- 73.241.160.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.073/2.393/4.781 ms 2026-04-23 02:03:32,212 - INFO - Ping to IP 73.241.160.197 from VM ctest-vn1-vm2-67953188 passed 2026-04-23 02:03:32,212 - INFO - Detaching port 0e6ed9b9-e35c-4f36-9432-063544e210fc from VM ctest-vn1-vm2-67953188 2026-04-23 02:03:32,264 - INFO - Deleting VM ctest-vn1-vm2-67953188 2026-04-23 02:03:32,345 - INFO - Detaching port 64289f06-2ac0-48fb-a727-4f170d5d2f9b from VM ctest-vn1-vm1-43932459 2026-04-23 02:03:32,387 - INFO - Deleting VM ctest-vn1-vm1-43932459 2026-04-23 02:03:32,654 - DEBUG - Response for delete_port : () 2026-04-23 02:03:32,817 - DEBUG - Response for delete_port : () 2026-04-23 02:03:32,817 - INFO - Deleting VN ctest-vn1-99324937 2026-04-23 02:03:32,956 - DEBUG - Response for deleting network () 2026-04-23 02:03:33,227 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 02:03:33,227 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:45]
2026-04-23 02:03:33,227 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:03:33,944 - INFO - Deleted project: ctest-TestPorts-01803537, ID : 5d64f81d-c423-4dc7-8710-861559778379