2026-04-27 17:42:41,959 - INFO - Domain Default found not creating 2026-04-27 17:42:42,276 - INFO - Project ctest-TestPorts-16160966 not found, creating it 2026-04-27 17:42:42,823 - INFO - Created Project:ctest-TestPorts-16160966, ID : 708dbf7b-4d6e-46e9-b18c-07cdea8b4fd6 2026-04-27 17:42:44,502 - INFO - ================================================================================ 2026-04-27 17:42:44,502 - INFO - STARTING TEST : test_ports_bindings 2026-04-27 17:42:44,502 - 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-27 17:42:44,759 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-27 17:42:44,759 - INFO - Initial checks done. Running the testcase now 2026-04-27 17:42:44,759 - INFO - 2026-04-27 17:42:45,392 - DEBUG - Response for create_network : {'network': {'id': 'cc1f5013-f5b1-4adc-a065-4ffc7965f7de', 'name': 'ctest-vn-57615394', 'tenant_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'project_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16160966', 'ctest-vn-57615394'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:42:45,583 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af5afdf3-9962-4cd5-a9fc-66a6ed1bd2dc', 'name': '', 'tenant_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'network_id': 'cc1f5013-f5b1-4adc-a065-4ffc7965f7de', 'ip_version': 4, 'cidr': '175.197.68.0/26', 'allocation_pools': [{'start': '175.197.68.2', 'end': '175.197.68.62'}], 'gateway_ip': '175.197.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.197.68.2', 'tags': [], 'project_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6'}} 2026-04-27 17:42:45,606 - INFO - Created VN ctest-vn-57615394 2026-04-27 17:42:45,663 - DEBUG - VN ctest-vn-57615394 UUID is cc1f5013-f5b1-4adc-a065-4ffc7965f7de 2026-04-27 17:42:45,791 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16160966', 'ctest-vmi-86762968']} 2026-04-27 17:42:46,063 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-86762968', 'id': '69957670-6ead-4c19-9947-d810fc772a74', 'tenant_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'network_id': 'cc1f5013-f5b1-4adc-a065-4ffc7965f7de', 'mac_address': '02:69:95:76:70:6e', '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': '175.197.68.3', 'subnet_id': 'af5afdf3-9962-4cd5-a9fc-66a6ed1bd2dc'}], 'security_groups': ['2f3ade4a-7bfd-4ec1-a34c-ad2b1cf1b871'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6'}} 2026-04-27 17:42:46,063 - DEBUG - Created port 69957670-6ead-4c19-9947-d810fc772a74 2026-04-27 17:42:46,179 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/69957670-6ead-4c19-9947-d810fc772a74 2026-04-27 17:42:46,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/69957670-6ead-4c19-9947-d810fc772a74 2026-04-27 17:42:46,524 - INFO - VMI 69957670-6ead-4c19-9947-d810fc772a74 verification in API Server passed 2026-04-27 17:42:46,640 - DEBUG - Response for delete_port : () 2026-04-27 17:42:46,640 - INFO - Deleted port 69957670-6ead-4c19-9947-d810fc772a74 2026-04-27 17:42:46,641 - INFO - Deleting VN ctest-vn-57615394 2026-04-27 17:42:46,772 - DEBUG - Response for deleting network () 2026-04-27 17:42:47,041 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 17:42:47,041 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2026-04-27 17:42:47,041 - INFO - -------------------------------------------------------------------------------- 2026-04-27 17:42:47,045 - INFO - ================================================================================ 2026-04-27 17:42:47,045 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-27 17:42:47,045 - 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-27 17:42:47,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-27 17:42:47,342 - INFO - Initial checks done. Running the testcase now 2026-04-27 17:42:47,342 - INFO - 2026-04-27 17:42:47,616 - DEBUG - Response for create_network : {'network': {'id': '77f31610-9bf8-4ca0-9abf-e9597e26e9c3', 'name': 'ctest-vn1-09598365', 'tenant_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'project_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16160966', 'ctest-vn1-09598365'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:42:47,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '6eea5527-7a4c-4ecb-a580-260fc73b4c23', 'name': '', 'tenant_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'network_id': '77f31610-9bf8-4ca0-9abf-e9597e26e9c3', 'ip_version': 4, 'cidr': '183.237.23.64/26', 'allocation_pools': [{'start': '183.237.23.66', 'end': '183.237.23.126'}], 'gateway_ip': '183.237.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.237.23.66', 'tags': [], 'project_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6'}} 2026-04-27 17:42:48,021 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1c24020-cb05-4123-8995-84c847f6f222', 'name': '', 'tenant_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'network_id': '77f31610-9bf8-4ca0-9abf-e9597e26e9c3', 'ip_version': 4, 'cidr': '177.184.98.192/26', 'allocation_pools': [{'start': '177.184.98.194', 'end': '177.184.98.254'}], 'gateway_ip': '177.184.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.184.98.194', 'tags': [], 'project_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6'}} 2026-04-27 17:42:48,048 - INFO - Created VN ctest-vn1-09598365 2026-04-27 17:42:48,107 - DEBUG - VN ctest-vn1-09598365 UUID is 77f31610-9bf8-4ca0-9abf-e9597e26e9c3 2026-04-27 17:42:48,473 - DEBUG - Response for create_port : {'port': {'name': 'ce088f21-4f13-4647-a031-f2ecf08e2fc7', 'id': 'ce088f21-4f13-4647-a031-f2ecf08e2fc7', 'tenant_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'network_id': '77f31610-9bf8-4ca0-9abf-e9597e26e9c3', 'mac_address': '02:ce:08:8f:21:4f', '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': '183.237.23.69', 'subnet_id': '6eea5527-7a4c-4ecb-a580-260fc73b4c23'}], 'security_groups': ['2f3ade4a-7bfd-4ec1-a34c-ad2b1cf1b871'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6'}} 2026-04-27 17:42:48,720 - DEBUG - Response for create_port : {'port': {'name': 'c1e3100d-3ae4-4974-bfec-cb567ef2cb45', 'id': 'c1e3100d-3ae4-4974-bfec-cb567ef2cb45', 'tenant_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6', 'network_id': '77f31610-9bf8-4ca0-9abf-e9597e26e9c3', 'mac_address': '02:c1:e3:10:0d:3a', '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': '177.184.98.197', 'subnet_id': 'b1c24020-cb05-4123-8995-84c847f6f222'}], 'security_groups': ['2f3ade4a-7bfd-4ec1-a34c-ad2b1cf1b871'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '708dbf7b4d6e46e9b18c07cdea8b4fd6'}} 2026-04-27 17:42:48,808 - DEBUG - Services list from nova: [, , ] 2026-04-27 17:42:49,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5697-1) 2026-04-27 17:42:49,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5697-1) 2026-04-27 17:42:49,784 - INFO - Waiting for VM ctest-vn1-vm1-79050682 to be up.. 2026-04-27 17:42:49,836 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 17:42:54,934 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:42:54,935 - INFO - VM name : ctest-vn1-vm1-79050682 2026-04-27 17:42:55,031 - DEBUG - VM ctest-vn1-vm1-79050682 ID is 6ff8fd39-b3f9-4d20-9a97-492fdb96344c 2026-04-27 17:42:55,057 - DEBUG - VM ctest-vn1-vm1-79050682 launched on Node cn-jenkins-deploy-platform-ansible-os-5697-1 2026-04-27 17:42:55,148 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6ff8fd39-b3f9-4d20-9a97-492fdb96344c 2026-04-27 17:42:55,157 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ce088f21-4f13-4647-a031-f2ecf08e2fc7 2026-04-27 17:42:58,421 - 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 1016ms') 2026-04-27 17:42:58,422 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79050682 failed! 2026-04-27 17:42:58,479 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16160966:ctest-vn1-09598365 is 183.237.23.65 and allocation pool is NOT set 2026-04-27 17:42:58,479 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16160966:ctest-vn1-09598365 is 177.184.98.193 and allocation pool is NOT set 2026-04-27 17:43:02,554 - 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=2 ttl=63 time=12.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 12.076/12.076/12.076/0.000 ms') 2026-04-27 17:43:02,554 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79050682 passed 2026-04-27 17:43:02,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:43:02,707 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79050682, IP 183.237.23.69, Port 22 2026-04-27 17:43:02,773 - 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-27 17:43:02,881 - DEBUG - VM ctest-vn1-vm1-79050682 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-27 17:43:07,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:43:07,882 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79050682, IP 183.237.23.69, Port 22 2026-04-27 17:43:08,038 - DEBUG - VM ctest-vn1-vm1-79050682 is ready for SSH connections 2026-04-27 17:43:08,039 - INFO - Waiting for VM ctest-vn1-vm2-28770382 to be up.. 2026-04-27 17:43:08,132 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:43:08,132 - INFO - VM name : ctest-vn1-vm2-28770382 2026-04-27 17:43:08,219 - DEBUG - VM ctest-vn1-vm2-28770382 ID is b93a4902-f3a5-4b74-9bfd-c99e3e334987 2026-04-27 17:43:08,220 - DEBUG - VM ctest-vn1-vm2-28770382 launched on Node cn-jenkins-deploy-platform-ansible-os-5697-1 2026-04-27 17:43:08,316 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b93a4902-f3a5-4b74-9bfd-c99e3e334987 2026-04-27 17:43:08,327 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c1e3100d-3ae4-4974-bfec-cb567ef2cb45 2026-04-27 17:43:09,576 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.935/3.411/1.476 ms') 2026-04-27 17:43:09,576 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28770382 passed 2026-04-27 17:43:09,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:43:09,731 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28770382, IP 177.184.98.197, Port 22 2026-04-27 17:43:09,890 - DEBUG - VM ctest-vn1-vm2-28770382 is ready for SSH connections 2026-04-27 17:43:09,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:43:09,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:43:09,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:43:09,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.237.23.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-27 17:43:09,891 - DEBUG - ping -s 56 -c 3 -W 1 183.237.23.69 2026-04-27 17:43:12,590 - DEBUG - PING 183.237.23.69 (183.237.23.69): 56 data bytes 64 bytes from 183.237.23.69: seq=0 ttl=63 time=3.981 ms 64 bytes from 183.237.23.69: seq=1 ttl=63 time=1.241 ms 64 bytes from 183.237.23.69: seq=2 ttl=63 time=1.057 ms --- 183.237.23.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.057/2.093/3.981 ms 2026-04-27 17:43:12,590 - INFO - Ping to IP 183.237.23.69 from VM ctest-vn1-vm2-28770382 passed 2026-04-27 17:43:12,590 - INFO - Detaching port c1e3100d-3ae4-4974-bfec-cb567ef2cb45 from VM ctest-vn1-vm2-28770382 2026-04-27 17:43:12,645 - INFO - Deleting VM ctest-vn1-vm2-28770382 2026-04-27 17:43:12,740 - INFO - Detaching port ce088f21-4f13-4647-a031-f2ecf08e2fc7 from VM ctest-vn1-vm1-79050682 2026-04-27 17:43:12,787 - INFO - Deleting VM ctest-vn1-vm1-79050682 2026-04-27 17:43:13,083 - DEBUG - Response for delete_port : () 2026-04-27 17:43:13,295 - DEBUG - Response for delete_port : () 2026-04-27 17:43:13,295 - INFO - Deleting VN ctest-vn1-09598365 2026-04-27 17:43:13,466 - DEBUG - Response for deleting network () 2026-04-27 17:43:13,737 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 17:43:13,737 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2026-04-27 17:43:13,738 - INFO - -------------------------------------------------------------------------------- 2026-04-27 17:43:14,501 - INFO - Deleted project: ctest-TestPorts-16160966, ID : 708dbf7b-4d6e-46e9-b18c-07cdea8b4fd6