2026-05-18 02:28:57,745 - INFO - Domain Default found not creating 2026-05-18 02:28:57,924 - INFO - Project ctest-TestPorts-43658907 not found, creating it 2026-05-18 02:28:58,520 - INFO - Created Project:ctest-TestPorts-43658907, ID : 2ee86307-32b4-4103-847a-80e60c3f8e07 2026-05-18 02:29:00,139 - INFO - ================================================================================ 2026-05-18 02:29:00,140 - INFO - STARTING TEST : test_ports_bindings 2026-05-18 02:29:00,140 - 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-18 02:29:01,467 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '2'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '3'}} with 2026-05-18 02:29:01,467 - INFO - Initial checks done. Running the testcase now 2026-05-18 02:29:01,467 - INFO - 2026-05-18 02:29:02,217 - DEBUG - Response for create_network : {'network': {'id': '8b3c3ff3-8324-4bea-85dc-24f4f8d63a3c', 'name': 'ctest-vn-97954680', 'tenant_id': '2ee8630732b44103847a80e60c3f8e07', 'project_id': '2ee8630732b44103847a80e60c3f8e07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43658907', 'ctest-vn-97954680'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:29:02,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '8408a135-b138-4bbf-bb0a-19dfcc5b0bd8', 'name': '', 'tenant_id': '2ee8630732b44103847a80e60c3f8e07', 'network_id': '8b3c3ff3-8324-4bea-85dc-24f4f8d63a3c', 'ip_version': 4, 'cidr': '187.2.3.192/26', 'allocation_pools': [{'start': '187.2.3.194', 'end': '187.2.3.254'}], 'gateway_ip': '187.2.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.2.3.194', 'tags': [], 'project_id': '2ee8630732b44103847a80e60c3f8e07'}} 2026-05-18 02:29:02,545 - INFO - Created VN ctest-vn-97954680 2026-05-18 02:29:02,563 - DEBUG - VN ctest-vn-97954680 UUID is 8b3c3ff3-8324-4bea-85dc-24f4f8d63a3c 2026-05-18 02:29:02,650 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43658907', 'ctest-vmi-11770079']} 2026-05-18 02:29:02,974 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11770079', 'id': 'a6d1823c-3ec2-4b4d-aeb5-779341732c0d', 'tenant_id': '2ee8630732b44103847a80e60c3f8e07', 'network_id': '8b3c3ff3-8324-4bea-85dc-24f4f8d63a3c', 'mac_address': '02:a6:d1:82:3c:3e', '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': '187.2.3.195', 'subnet_id': '8408a135-b138-4bbf-bb0a-19dfcc5b0bd8'}], 'security_groups': ['10e4f6a0-ad13-4e54-83f1-7667a56e275d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ee8630732b44103847a80e60c3f8e07'}} 2026-05-18 02:29:02,974 - DEBUG - Created port a6d1823c-3ec2-4b4d-aeb5-779341732c0d 2026-05-18 02:29:03,048 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a6d1823c-3ec2-4b4d-aeb5-779341732c0d 2026-05-18 02:29:03,375 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a6d1823c-3ec2-4b4d-aeb5-779341732c0d 2026-05-18 02:29:03,432 - INFO - VMI a6d1823c-3ec2-4b4d-aeb5-779341732c0d verification in API Server passed 2026-05-18 02:29:03,626 - DEBUG - Response for delete_port : () 2026-05-18 02:29:03,626 - INFO - Deleted port a6d1823c-3ec2-4b4d-aeb5-779341732c0d 2026-05-18 02:29:03,626 - INFO - Deleting VN ctest-vn-97954680 2026-05-18 02:29:03,842 - DEBUG - Response for deleting network () 2026-05-18 02:29:05,127 - DEBUG - No XMPP flaps were noticed during the test
2026-05-18 02:29:05,127 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-05-18 02:29:05,127 - INFO - -------------------------------------------------------------------------------- 2026-05-18 02:29:05,130 - INFO - ================================================================================ 2026-05-18 02:29:05,130 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-05-18 02:29:05,130 - 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-18 02:29:06,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '2'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '3'}} with 2026-05-18 02:29:06,407 - INFO - Initial checks done. Running the testcase now 2026-05-18 02:29:06,407 - INFO - 2026-05-18 02:29:06,718 - DEBUG - Response for create_network : {'network': {'id': 'ae140495-0fbb-4202-a29c-fb0ceae21a1f', 'name': 'ctest-vn1-19372963', 'tenant_id': '2ee8630732b44103847a80e60c3f8e07', 'project_id': '2ee8630732b44103847a80e60c3f8e07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43658907', 'ctest-vn1-19372963'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:29:07,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '78140a1e-7514-4c43-b94f-ba5e640c18c8', 'name': '', 'tenant_id': '2ee8630732b44103847a80e60c3f8e07', 'network_id': 'ae140495-0fbb-4202-a29c-fb0ceae21a1f', 'ip_version': 4, 'cidr': '26.118.126.64/26', 'allocation_pools': [{'start': '26.118.126.66', 'end': '26.118.126.126'}], 'gateway_ip': '26.118.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.118.126.66', 'tags': [], 'project_id': '2ee8630732b44103847a80e60c3f8e07'}} 2026-05-18 02:29:07,241 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0bee57e-3223-40da-8997-99ed65bde662', 'name': '', 'tenant_id': '2ee8630732b44103847a80e60c3f8e07', 'network_id': 'ae140495-0fbb-4202-a29c-fb0ceae21a1f', 'ip_version': 4, 'cidr': '15.20.57.64/26', 'allocation_pools': [{'start': '15.20.57.66', 'end': '15.20.57.126'}], 'gateway_ip': '15.20.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.20.57.66', 'tags': [], 'project_id': '2ee8630732b44103847a80e60c3f8e07'}} 2026-05-18 02:29:07,266 - INFO - Created VN ctest-vn1-19372963 2026-05-18 02:29:07,279 - DEBUG - VN ctest-vn1-19372963 UUID is ae140495-0fbb-4202-a29c-fb0ceae21a1f 2026-05-18 02:29:07,660 - DEBUG - Response for create_port : {'port': {'name': '50587ecb-b446-4e7f-be0e-6d5e2ae63bb5', 'id': '50587ecb-b446-4e7f-be0e-6d5e2ae63bb5', 'tenant_id': '2ee8630732b44103847a80e60c3f8e07', 'network_id': 'ae140495-0fbb-4202-a29c-fb0ceae21a1f', 'mac_address': '02:50:58:7e:cb:b4', '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': '26.118.126.69', 'subnet_id': '78140a1e-7514-4c43-b94f-ba5e640c18c8'}], 'security_groups': ['10e4f6a0-ad13-4e54-83f1-7667a56e275d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ee8630732b44103847a80e60c3f8e07'}} 2026-05-18 02:29:07,939 - DEBUG - Response for create_port : {'port': {'name': '5e1e7a89-4ced-45be-ac4f-418b81176b10', 'id': '5e1e7a89-4ced-45be-ac4f-418b81176b10', 'tenant_id': '2ee8630732b44103847a80e60c3f8e07', 'network_id': 'ae140495-0fbb-4202-a29c-fb0ceae21a1f', 'mac_address': '02:5e:1e:7a:89:4c', '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': '15.20.57.69', 'subnet_id': 'd0bee57e-3223-40da-8997-99ed65bde662'}], 'security_groups': ['10e4f6a0-ad13-4e54-83f1-7667a56e275d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ee8630732b44103847a80e60c3f8e07'}} 2026-05-18 02:29:08,002 - DEBUG - Services list from nova: [, , , ] 2026-05-18 02:29:08,622 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5792-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5792-2) 2026-05-18 02:29:09,151 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5792-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5792-1) 2026-05-18 02:29:09,151 - INFO - Waiting for VM ctest-vn1-vm1-52070718 to be up.. 2026-05-18 02:29:09,217 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 02:29:14,311 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:29:14,311 - INFO - VM name : ctest-vn1-vm1-52070718 2026-05-18 02:29:14,396 - DEBUG - VM ctest-vn1-vm1-52070718 ID is fbb9da38-0e3f-4c04-93a5-fe5a526f6a71 2026-05-18 02:29:14,425 - DEBUG - VM ctest-vn1-vm1-52070718 launched on Node an-jenkins-deploy-platform-ansible-os-5792-2 2026-05-18 02:29:14,514 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/fbb9da38-0e3f-4c04-93a5-fe5a526f6a71 2026-05-18 02:29:14,824 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/fbb9da38-0e3f-4c04-93a5-fe5a526f6a71 2026-05-18 02:29:14,861 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/50587ecb-b446-4e7f-be0e-6d5e2ae63bb5 2026-05-18 02:29:18,044 - 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 1021ms') 2026-05-18 02:29:18,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52070718 failed! 2026-05-18 02:29:18,060 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43658907:ctest-vn1-19372963 is 26.118.126.65 and allocation pool is NOT set 2026-05-18 02:29:18,060 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43658907:ctest-vn1-19372963 is 15.20.57.65 and allocation pool is NOT set 2026-05-18 02:29:20,130 - 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=4.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/2.600/4.671/2.070 ms') 2026-05-18 02:29:20,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52070718 passed 2026-05-18 02:29:20,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:29:20,203 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52070718, IP 26.118.126.69, Port 22 2026-05-18 02:29:20,271 - 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-18 02:29:20,366 - DEBUG - VM ctest-vn1-vm1-52070718 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:29:25,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:29:25,368 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52070718, IP 26.118.126.69, Port 22 2026-05-18 02:29:25,525 - DEBUG - VM ctest-vn1-vm1-52070718 is ready for SSH connections 2026-05-18 02:29:25,525 - INFO - Waiting for VM ctest-vn1-vm2-86692591 to be up.. 2026-05-18 02:29:25,629 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:29:25,629 - INFO - VM name : ctest-vn1-vm2-86692591 2026-05-18 02:29:25,710 - DEBUG - VM ctest-vn1-vm2-86692591 ID is 7dfb1175-2a0b-482f-a132-064f95f3a4ca 2026-05-18 02:29:25,710 - DEBUG - VM ctest-vn1-vm2-86692591 launched on Node an-jenkins-deploy-platform-ansible-os-5792-1 2026-05-18 02:29:25,795 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/7dfb1175-2a0b-482f-a132-064f95f3a4ca 2026-05-18 02:29:25,805 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/5e1e7a89-4ced-45be-ac4f-418b81176b10 2026-05-18 02:29:26,973 - 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=4.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.525 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 = 0.525/2.665/4.806/2.140 ms') 2026-05-18 02:29:26,973 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-86692591 passed 2026-05-18 02:29:27,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:29:27,041 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86692591, IP 15.20.57.69, Port 22 2026-05-18 02:29:27,196 - DEBUG - VM ctest-vn1-vm2-86692591 is ready for SSH connections 2026-05-18 02:29:27,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:29:27,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:29:27,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:29:27,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.118.126.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-05-18 02:29:27,197 - DEBUG - ping -s 56 -c 3 -W 1 26.118.126.69 2026-05-18 02:29:30,283 - DEBUG - PING 26.118.126.69 (26.118.126.69): 56 data bytes 64 bytes from 26.118.126.69: seq=0 ttl=63 time=5.903 ms 64 bytes from 26.118.126.69: seq=1 ttl=63 time=1.916 ms 64 bytes from 26.118.126.69: seq=2 ttl=63 time=1.274 ms --- 26.118.126.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.274/3.031/5.903 ms 2026-05-18 02:29:30,283 - INFO - Ping to IP 26.118.126.69 from VM ctest-vn1-vm2-86692591 passed 2026-05-18 02:29:30,283 - INFO - Detaching port 5e1e7a89-4ced-45be-ac4f-418b81176b10 from VM ctest-vn1-vm2-86692591 2026-05-18 02:29:30,341 - INFO - Deleting VM ctest-vn1-vm2-86692591 2026-05-18 02:29:30,436 - INFO - Detaching port 50587ecb-b446-4e7f-be0e-6d5e2ae63bb5 from VM ctest-vn1-vm1-52070718 2026-05-18 02:29:30,496 - INFO - Deleting VM ctest-vn1-vm1-52070718 2026-05-18 02:29:30,843 - DEBUG - Response for delete_port : () 2026-05-18 02:29:31,105 - DEBUG - Response for delete_port : () 2026-05-18 02:29:31,105 - INFO - Deleting VN ctest-vn1-19372963 2026-05-18 02:29:31,374 - DEBUG - Response for deleting network () 2026-05-18 02:29:32,657 - DEBUG - No XMPP flaps were noticed during the test
2026-05-18 02:29:32,657 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-05-18 02:29:32,657 - INFO - -------------------------------------------------------------------------------- 2026-05-18 02:29:33,438 - INFO - Deleted project: ctest-TestPorts-43658907, ID : 2ee86307-32b4-4103-847a-80e60c3f8e07