2026-03-05 02:15:56,570 - INFO - Domain Default found not creating 2026-03-05 02:15:56,773 - INFO - Project ctest-TestPorts-00993089 not found, creating it 2026-03-05 02:15:57,274 - INFO - Created Project:ctest-TestPorts-00993089, ID : 811e583f-65b1-4452-969e-a6cbe8ac053f 2026-03-05 02:15:58,893 - INFO - ================================================================================ 2026-03-05 02:15:58,894 - INFO - STARTING TEST : test_ports_bindings 2026-03-05 02:15:58,894 - 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-03-05 02:16:00,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.73': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-03-05 02:16:00,159 - INFO - Initial checks done. Running the testcase now 2026-03-05 02:16:00,159 - INFO - 2026-03-05 02:16:01,029 - DEBUG - Response for create_network : {'network': {'id': 'bfe2dc42-2ca8-4dbb-a81b-7771a6194a20', 'name': 'ctest-vn-27113883', 'tenant_id': '811e583f65b14452969ea6cbe8ac053f', 'project_id': '811e583f65b14452969ea6cbe8ac053f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00993089', 'ctest-vn-27113883'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:16:01,564 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aefeb39b-5df1-41cd-839f-7e81e5fd80e8', 'name': '', 'tenant_id': '811e583f65b14452969ea6cbe8ac053f', 'network_id': 'bfe2dc42-2ca8-4dbb-a81b-7771a6194a20', 'ip_version': 4, 'cidr': '171.122.149.128/26', 'allocation_pools': [{'start': '171.122.149.130', 'end': '171.122.149.190'}], 'gateway_ip': '171.122.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.122.149.130', 'tags': [], 'project_id': '811e583f65b14452969ea6cbe8ac053f'}} 2026-03-05 02:16:01,587 - INFO - Created VN ctest-vn-27113883 2026-03-05 02:16:01,600 - DEBUG - VN ctest-vn-27113883 UUID is bfe2dc42-2ca8-4dbb-a81b-7771a6194a20 2026-03-05 02:16:01,679 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00993089', 'ctest-vmi-90851131']} 2026-03-05 02:16:01,989 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90851131', 'id': '0cac39e4-b562-41ba-9a8c-1c85bb9c8966', 'tenant_id': '811e583f65b14452969ea6cbe8ac053f', 'network_id': 'bfe2dc42-2ca8-4dbb-a81b-7771a6194a20', 'mac_address': '02:0c:ac:39:e4:b5', '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.122.149.131', 'subnet_id': 'aefeb39b-5df1-41cd-839f-7e81e5fd80e8'}], 'security_groups': ['80402f17-cbb4-4a78-b0ff-9c623d7b07ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '811e583f65b14452969ea6cbe8ac053f'}} 2026-03-05 02:16:01,989 - DEBUG - Created port 0cac39e4-b562-41ba-9a8c-1c85bb9c8966 2026-03-05 02:16:02,052 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0cac39e4-b562-41ba-9a8c-1c85bb9c8966 2026-03-05 02:16:02,349 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0cac39e4-b562-41ba-9a8c-1c85bb9c8966 2026-03-05 02:16:02,389 - INFO - VMI 0cac39e4-b562-41ba-9a8c-1c85bb9c8966 verification in API Server passed 2026-03-05 02:16:02,525 - DEBUG - Response for delete_port : () 2026-03-05 02:16:02,525 - INFO - Deleted port 0cac39e4-b562-41ba-9a8c-1c85bb9c8966 2026-03-05 02:16:02,525 - INFO - Deleting VN ctest-vn-27113883 2026-03-05 02:16:02,671 - DEBUG - Response for deleting network () 2026-03-05 02:16:03,968 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 02:16:03,969 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-03-05 02:16:03,969 - INFO - -------------------------------------------------------------------------------- 2026-03-05 02:16:03,973 - INFO - ================================================================================ 2026-03-05 02:16:03,973 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-03-05 02:16:03,973 - 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-03-05 02:16:05,255 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.73': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-03-05 02:16:05,255 - INFO - Initial checks done. Running the testcase now 2026-03-05 02:16:05,255 - INFO - 2026-03-05 02:16:05,515 - DEBUG - Response for create_network : {'network': {'id': 'c2d1f17c-cdf7-480b-b4ed-eafeaa391466', 'name': 'ctest-vn1-56867517', 'tenant_id': '811e583f65b14452969ea6cbe8ac053f', 'project_id': '811e583f65b14452969ea6cbe8ac053f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00993089', 'ctest-vn1-56867517'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:16:05,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '4850fbc2-a51c-44fe-958e-0c16f95142b1', 'name': '', 'tenant_id': '811e583f65b14452969ea6cbe8ac053f', 'network_id': 'c2d1f17c-cdf7-480b-b4ed-eafeaa391466', 'ip_version': 4, 'cidr': '141.83.21.192/26', 'allocation_pools': [{'start': '141.83.21.194', 'end': '141.83.21.254'}], 'gateway_ip': '141.83.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.83.21.194', 'tags': [], 'project_id': '811e583f65b14452969ea6cbe8ac053f'}} 2026-03-05 02:16:05,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a76d748d-a105-4d69-b739-c569d8a28ddb', 'name': '', 'tenant_id': '811e583f65b14452969ea6cbe8ac053f', 'network_id': 'c2d1f17c-cdf7-480b-b4ed-eafeaa391466', 'ip_version': 4, 'cidr': '117.215.68.192/26', 'allocation_pools': [{'start': '117.215.68.194', 'end': '117.215.68.254'}], 'gateway_ip': '117.215.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.215.68.194', 'tags': [], 'project_id': '811e583f65b14452969ea6cbe8ac053f'}} 2026-03-05 02:16:06,020 - INFO - Created VN ctest-vn1-56867517 2026-03-05 02:16:06,033 - DEBUG - VN ctest-vn1-56867517 UUID is c2d1f17c-cdf7-480b-b4ed-eafeaa391466 2026-03-05 02:16:06,362 - DEBUG - Response for create_port : {'port': {'name': '7c1f3fc9-363f-4c58-aae7-fc91e02d6cf8', 'id': '7c1f3fc9-363f-4c58-aae7-fc91e02d6cf8', 'tenant_id': '811e583f65b14452969ea6cbe8ac053f', 'network_id': 'c2d1f17c-cdf7-480b-b4ed-eafeaa391466', 'mac_address': '02:7c:1f:3f:c9:36', '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': '141.83.21.197', 'subnet_id': '4850fbc2-a51c-44fe-958e-0c16f95142b1'}], 'security_groups': ['80402f17-cbb4-4a78-b0ff-9c623d7b07ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '811e583f65b14452969ea6cbe8ac053f'}} 2026-03-05 02:16:06,601 - DEBUG - Response for create_port : {'port': {'name': '211404b0-af69-4e91-8b90-2cc94b282a96', 'id': '211404b0-af69-4e91-8b90-2cc94b282a96', 'tenant_id': '811e583f65b14452969ea6cbe8ac053f', 'network_id': 'c2d1f17c-cdf7-480b-b4ed-eafeaa391466', 'mac_address': '02:21:14:04:b0:af', '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': '117.215.68.197', 'subnet_id': 'a76d748d-a105-4d69-b739-c569d8a28ddb'}], 'security_groups': ['80402f17-cbb4-4a78-b0ff-9c623d7b07ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '811e583f65b14452969ea6cbe8ac053f'}} 2026-03-05 02:16:06,660 - DEBUG - Services list from nova: [, , , ] 2026-03-05 02:16:07,082 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5433-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5433-2) 2026-03-05 02:16:07,635 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5433-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5433-1) 2026-03-05 02:16:07,637 - INFO - Waiting for VM ctest-vn1-vm1-16770403 to be up.. 2026-03-05 02:16:07,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 02:16:12,793 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:16:12,793 - INFO - VM name : ctest-vn1-vm1-16770403 2026-03-05 02:16:12,881 - DEBUG - VM ctest-vn1-vm1-16770403 ID is e9d3bd9b-1ae8-4fbe-8858-c353db18c00c 2026-03-05 02:16:12,910 - DEBUG - VM ctest-vn1-vm1-16770403 launched on Node an-jenkins-deploy-platform-ansible-os-5433-2 2026-03-05 02:16:12,990 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/e9d3bd9b-1ae8-4fbe-8858-c353db18c00c 2026-03-05 02:16:13,299 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/e9d3bd9b-1ae8-4fbe-8858-c353db18c00c 2026-03-05 02:16:13,334 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/7c1f3fc9-363f-4c58-aae7-fc91e02d6cf8 2026-03-05 02:16:16,503 - 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 1017ms') 2026-03-05 02:16:16,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16770403 failed! 2026-03-05 02:16:16,516 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00993089:ctest-vn1-56867517 is 141.83.21.193 and allocation pool is NOT set 2026-03-05 02:16:16,516 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00993089:ctest-vn1-56867517 is 117.215.68.193 and allocation pool is NOT set 2026-03-05 02:16:18,578 - 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=9.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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 = 1.556/5.367/9.179/3.811 ms') 2026-03-05 02:16:18,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16770403 passed 2026-03-05 02:16:18,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:16:18,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16770403, IP 141.83.21.197, Port 22 2026-03-05 02:16:18,713 - 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-03-05 02:16:18,820 - DEBUG - VM ctest-vn1-vm1-16770403 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 02:16:23,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:16:23,821 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16770403, IP 141.83.21.197, Port 22 2026-03-05 02:16:23,989 - DEBUG - VM ctest-vn1-vm1-16770403 is ready for SSH connections 2026-03-05 02:16:23,989 - INFO - Waiting for VM ctest-vn1-vm2-70185589 to be up.. 2026-03-05 02:16:24,080 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:16:24,080 - INFO - VM name : ctest-vn1-vm2-70185589 2026-03-05 02:16:24,173 - DEBUG - VM ctest-vn1-vm2-70185589 ID is bd0f3012-1d7e-4293-805f-cb46d957fdd5 2026-03-05 02:16:24,173 - DEBUG - VM ctest-vn1-vm2-70185589 launched on Node an-jenkins-deploy-platform-ansible-os-5433-1 2026-03-05 02:16:24,273 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/bd0f3012-1d7e-4293-805f-cb46d957fdd5 2026-03-05 02:16:24,282 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/211404b0-af69-4e91-8b90-2cc94b282a96 2026-03-05 02:16:25,450 - 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=3.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.463 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.463/2.060/3.658/1.597 ms') 2026-03-05 02:16:25,450 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-70185589 passed 2026-03-05 02:16:25,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:16:25,518 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70185589, IP 117.215.68.197, Port 22 2026-03-05 02:16:25,674 - DEBUG - VM ctest-vn1-vm2-70185589 is ready for SSH connections 2026-03-05 02:16:25,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:16:25,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:16:25,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:16:25,674 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.83.21.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-05 02:16:25,674 - DEBUG - ping -s 56 -c 3 -W 1 141.83.21.197 2026-03-05 02:16:28,816 - DEBUG - PING 141.83.21.197 (141.83.21.197): 56 data bytes 64 bytes from 141.83.21.197: seq=0 ttl=63 time=6.214 ms 64 bytes from 141.83.21.197: seq=1 ttl=63 time=1.470 ms 64 bytes from 141.83.21.197: seq=2 ttl=63 time=1.259 ms --- 141.83.21.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.259/2.981/6.214 ms 2026-03-05 02:16:28,816 - INFO - Ping to IP 141.83.21.197 from VM ctest-vn1-vm2-70185589 passed 2026-03-05 02:16:28,816 - INFO - Detaching port 211404b0-af69-4e91-8b90-2cc94b282a96 from VM ctest-vn1-vm2-70185589 2026-03-05 02:16:28,873 - INFO - Deleting VM ctest-vn1-vm2-70185589 2026-03-05 02:16:28,943 - INFO - Detaching port 7c1f3fc9-363f-4c58-aae7-fc91e02d6cf8 from VM ctest-vn1-vm1-16770403 2026-03-05 02:16:28,975 - INFO - Deleting VM ctest-vn1-vm1-16770403 2026-03-05 02:16:29,338 - DEBUG - Response for delete_port : () 2026-03-05 02:16:29,584 - DEBUG - Response for delete_port : () 2026-03-05 02:16:29,584 - INFO - Deleting VN ctest-vn1-56867517 2026-03-05 02:16:29,775 - DEBUG - Response for deleting network () 2026-03-05 02:16:31,071 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 02:16:31,071 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-03-05 02:16:31,071 - INFO - -------------------------------------------------------------------------------- 2026-03-05 02:16:31,809 - INFO - Deleted project: ctest-TestPorts-00993089, ID : 811e583f-65b1-4452-969e-a6cbe8ac053f