2026-01-29 17:44:22,221 - INFO - Domain Default found not creating
2026-01-29 17:44:22,374 - INFO - Project ctest-TestPorts-21336015 not found, creating it
2026-01-29 17:44:22,844 - INFO - Created Project:ctest-TestPorts-21336015, ID : bf4ea87d-1049-4f43-b7fe-f9927540e3c8
2026-01-29 17:44:24,400 - INFO - ================================================================================
2026-01-29 17:44:24,400 - INFO - STARTING TEST : test_ports_bindings
2026-01-29 17:44:24,400 - 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-29 17:44:24,662 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-01-29 17:44:24,662 - INFO - Initial checks done. Running the testcase now
2026-01-29 17:44:24,662 - INFO -
2026-01-29 17:44:25,215 - DEBUG - Response for create_network : {'network': {'id': 'c3dfbff2-207e-42ca-b15e-643a0fe0f72d', 'name': 'ctest-vn-63827887', 'tenant_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'project_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21336015', 'ctest-vn-63827887'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:44:25,392 - DEBUG - Response for create_subnet : {'subnet': {'id': '70ae90ce-0ad2-4cee-8cdd-764e12334a77', 'name': '', 'tenant_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'network_id': 'c3dfbff2-207e-42ca-b15e-643a0fe0f72d', 'ip_version': 4, 'cidr': '165.14.44.64/26', 'allocation_pools': [{'start': '165.14.44.66', 'end': '165.14.44.126'}], 'gateway_ip': '165.14.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.14.44.66', 'tags': [], 'project_id': 'bf4ea87d10494f43b7fef9927540e3c8'}}
2026-01-29 17:44:25,409 - INFO - Created VN ctest-vn-63827887
2026-01-29 17:44:25,461 - DEBUG - VN ctest-vn-63827887 UUID is c3dfbff2-207e-42ca-b15e-643a0fe0f72d
2026-01-29 17:44:25,565 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21336015', 'ctest-vmi-52552524']}
2026-01-29 17:44:25,859 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52552524', 'id': '4a947b4d-3468-4583-872d-b1291bcc28fd', 'tenant_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'network_id': 'c3dfbff2-207e-42ca-b15e-643a0fe0f72d', 'mac_address': '02:4a:94:7b:4d:34', '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': '165.14.44.67', 'subnet_id': '70ae90ce-0ad2-4cee-8cdd-764e12334a77'}], 'security_groups': ['67e17a68-3487-4966-ab1b-e51c2d9764c0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf4ea87d10494f43b7fef9927540e3c8'}}
2026-01-29 17:44:25,859 - DEBUG - Created port 4a947b4d-3468-4583-872d-b1291bcc28fd
2026-01-29 17:44:25,961 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4a947b4d-3468-4583-872d-b1291bcc28fd
2026-01-29 17:44:26,251 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4a947b4d-3468-4583-872d-b1291bcc28fd
2026-01-29 17:44:26,284 - INFO - VMI 4a947b4d-3468-4583-872d-b1291bcc28fd verification in API Server passed
2026-01-29 17:44:26,367 - DEBUG - Response for delete_port : ()
2026-01-29 17:44:26,367 - INFO - Deleted port 4a947b4d-3468-4583-872d-b1291bcc28fd
2026-01-29 17:44:26,367 - INFO - Deleting VN ctest-vn-63827887
2026-01-29 17:44:26,464 - DEBUG - Response for deleting network ()
2026-01-29 17:44:26,722 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 17:44:26,722 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-29 17:44:26,722 - INFO - --------------------------------------------------------------------------------
2026-01-29 17:44:26,724 - INFO - ================================================================================
2026-01-29 17:44:26,724 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-29 17:44:26,724 - 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-29 17:44:27,009 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-01-29 17:44:27,010 - INFO - Initial checks done. Running the testcase now
2026-01-29 17:44:27,010 - INFO -
2026-01-29 17:44:27,174 - DEBUG - Response for create_network : {'network': {'id': 'f8ef9dd6-62c1-4395-9cb2-30a7f5920417', 'name': 'ctest-vn1-68761140', 'tenant_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'project_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21336015', 'ctest-vn1-68761140'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:44:27,370 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c04b5b60-ff20-44e0-8752-80527e8b7308', 'name': '', 'tenant_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'network_id': 'f8ef9dd6-62c1-4395-9cb2-30a7f5920417', 'ip_version': 4, 'cidr': '133.30.89.0/26', 'allocation_pools': [{'start': '133.30.89.2', 'end': '133.30.89.62'}], 'gateway_ip': '133.30.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.30.89.2', 'tags': [], 'project_id': 'bf4ea87d10494f43b7fef9927540e3c8'}}
2026-01-29 17:44:27,539 - DEBUG - Response for create_subnet : {'subnet': {'id': '260fbe60-d67f-4de9-91c9-c1487da0f726', 'name': '', 'tenant_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'network_id': 'f8ef9dd6-62c1-4395-9cb2-30a7f5920417', 'ip_version': 4, 'cidr': '175.178.253.0/26', 'allocation_pools': [{'start': '175.178.253.2', 'end': '175.178.253.62'}], 'gateway_ip': '175.178.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.178.253.2', 'tags': [], 'project_id': 'bf4ea87d10494f43b7fef9927540e3c8'}}
2026-01-29 17:44:27,557 - INFO - Created VN ctest-vn1-68761140
2026-01-29 17:44:27,609 - DEBUG - VN ctest-vn1-68761140 UUID is f8ef9dd6-62c1-4395-9cb2-30a7f5920417
2026-01-29 17:44:27,912 - DEBUG - Response for create_port : {'port': {'name': 'cc86b9e5-1c43-485b-94e6-430d7dce54b7', 'id': 'cc86b9e5-1c43-485b-94e6-430d7dce54b7', 'tenant_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'network_id': 'f8ef9dd6-62c1-4395-9cb2-30a7f5920417', 'mac_address': '02:cc:86:b9:e5:1c', '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': '133.30.89.5', 'subnet_id': 'c04b5b60-ff20-44e0-8752-80527e8b7308'}], 'security_groups': ['67e17a68-3487-4966-ab1b-e51c2d9764c0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf4ea87d10494f43b7fef9927540e3c8'}}
2026-01-29 17:44:28,071 - DEBUG - Response for create_port : {'port': {'name': '7d440a68-0926-4c79-813f-3234bce7d914', 'id': '7d440a68-0926-4c79-813f-3234bce7d914', 'tenant_id': 'bf4ea87d10494f43b7fef9927540e3c8', 'network_id': 'f8ef9dd6-62c1-4395-9cb2-30a7f5920417', 'mac_address': '02:7d:44:0a:68:09', '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.178.253.5', 'subnet_id': '260fbe60-d67f-4de9-91c9-c1487da0f726'}], 'security_groups': ['67e17a68-3487-4966-ab1b-e51c2d9764c0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf4ea87d10494f43b7fef9927540e3c8'}}
2026-01-29 17:44:28,123 - DEBUG - Services list from nova: [, , ]
2026-01-29 17:44:28,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5134-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5134-1)
2026-01-29 17:44:28,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5134-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5134-1)
2026-01-29 17:44:28,807 - INFO - Waiting for VM ctest-vn1-vm1-41700622 to be up..
2026-01-29 17:44:28,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-29 17:44:33,919 - DEBUG - VM is in ACTIVE state now
2026-01-29 17:44:33,919 - INFO - VM name : ctest-vn1-vm1-41700622
2026-01-29 17:44:33,990 - DEBUG - VM ctest-vn1-vm1-41700622 ID is eda3ab11-617d-4501-a8d3-e5f4525acbd0
2026-01-29 17:44:34,008 - DEBUG - VM ctest-vn1-vm1-41700622 launched on Node cn-jenkins-deploy-platform-ansible-os-5134-1
2026-01-29 17:44:34,080 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eda3ab11-617d-4501-a8d3-e5f4525acbd0
2026-01-29 17:44:34,088 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cc86b9e5-1c43-485b-94e6-430d7dce54b7
2026-01-29 17:44:37,353 - 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-29 17:44:37,354 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41700622 failed!
2026-01-29 17:44:37,409 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21336015:ctest-vn1-68761140 is 133.30.89.1 and allocation pool is NOT set
2026-01-29 17:44:37,409 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21336015:ctest-vn1-68761140 is 175.178.253.1 and allocation pool is NOT set
2026-01-29 17:44:39,476 - 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=5.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.65 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.654/3.908/5.162/1.254 ms')
2026-01-29 17:44:39,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41700622 passed
2026-01-29 17:44:39,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 17:44:39,625 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41700622, IP 133.30.89.5, Port 22
2026-01-29 17:44:39,691 - 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-29 17:44:39,762 - DEBUG - VM ctest-vn1-vm1-41700622 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-29 17:44:44,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 17:44:44,763 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41700622, IP 133.30.89.5, Port 22
2026-01-29 17:44:44,921 - DEBUG - VM ctest-vn1-vm1-41700622 is ready for SSH connections
2026-01-29 17:44:44,921 - INFO - Waiting for VM ctest-vn1-vm2-81820293 to be up..
2026-01-29 17:44:44,988 - DEBUG - VM is in ACTIVE state now
2026-01-29 17:44:44,989 - INFO - VM name : ctest-vn1-vm2-81820293
2026-01-29 17:44:45,059 - DEBUG - VM ctest-vn1-vm2-81820293 ID is 857038ac-a634-48dd-b405-9fdacf232d79
2026-01-29 17:44:45,060 - DEBUG - VM ctest-vn1-vm2-81820293 launched on Node cn-jenkins-deploy-platform-ansible-os-5134-1
2026-01-29 17:44:45,129 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/857038ac-a634-48dd-b405-9fdacf232d79
2026-01-29 17:44:45,137 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7d440a68-0926-4c79-813f-3234bce7d914
2026-01-29 17:44:46,365 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.923/3.488/1.564 ms')
2026-01-29 17:44:46,365 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-81820293 passed
2026-01-29 17:44:46,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 17:44:46,513 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-81820293, IP 175.178.253.5, Port 22
2026-01-29 17:44:46,668 - DEBUG - VM ctest-vn1-vm2-81820293 is ready for SSH connections
2026-01-29 17:44:46,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 17:44:46,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 17:44:46,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 17:44:46,669 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.30.89.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-01-29 17:44:46,669 - DEBUG - ping -s 56 -c 3 -W 1 133.30.89.5
2026-01-29 17:44:49,335 - DEBUG - PING 133.30.89.5 (133.30.89.5): 56 data bytes
64 bytes from 133.30.89.5: seq=0 ttl=63 time=3.494 ms
64 bytes from 133.30.89.5: seq=1 ttl=63 time=0.816 ms
64 bytes from 133.30.89.5: seq=2 ttl=63 time=1.017 ms
--- 133.30.89.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.816/1.775/3.494 ms
2026-01-29 17:44:49,335 - INFO - Ping to IP 133.30.89.5 from VM ctest-vn1-vm2-81820293 passed
2026-01-29 17:44:49,335 - INFO - Detaching port 7d440a68-0926-4c79-813f-3234bce7d914 from VM ctest-vn1-vm2-81820293
2026-01-29 17:44:49,381 - INFO - Deleting VM ctest-vn1-vm2-81820293
2026-01-29 17:44:49,448 - INFO - Detaching port cc86b9e5-1c43-485b-94e6-430d7dce54b7 from VM ctest-vn1-vm1-41700622
2026-01-29 17:44:49,483 - INFO - Deleting VM ctest-vn1-vm1-41700622
2026-01-29 17:44:49,694 - DEBUG - Response for delete_port : ()
2026-01-29 17:44:49,867 - DEBUG - Response for delete_port : ()
2026-01-29 17:44:49,867 - INFO - Deleting VN ctest-vn1-68761140
2026-01-29 17:44:50,027 - DEBUG - Response for deleting network ()
2026-01-29 17:44:50,282 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 17:44:50,282 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-29 17:44:50,282 - INFO - --------------------------------------------------------------------------------
2026-01-29 17:44:50,990 - INFO - Deleted project: ctest-TestPorts-21336015, ID : bf4ea87d-1049-4f43-b7fe-f9927540e3c8