2026-02-19 18:18:43,805 - INFO - Domain Default found not creating
2026-02-19 18:18:43,968 - INFO - Project ctest-TestPorts-32275035 not found, creating it
2026-02-19 18:18:44,436 - INFO - Created Project:ctest-TestPorts-32275035, ID : 65de1868-9c30-4508-a12d-d959763d4882
2026-02-19 18:18:45,950 - INFO - ================================================================================
2026-02-19 18:18:45,950 - INFO - STARTING TEST : test_ports_bindings
2026-02-19 18:18:45,950 - 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-02-19 18:18:46,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2026-02-19 18:18:46,207 - INFO - Initial checks done. Running the testcase now
2026-02-19 18:18:46,207 - INFO -
2026-02-19 18:18:46,748 - DEBUG - Response for create_network : {'network': {'id': '83a5f8c4-5e22-41f9-bcb3-78fbe35e710f', 'name': 'ctest-vn-73259344', 'tenant_id': '65de18689c304508a12dd959763d4882', 'project_id': '65de18689c304508a12dd959763d4882', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32275035', 'ctest-vn-73259344'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 18:18:46,921 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf593de7-be8a-497b-8999-2ae4ab2ef072', 'name': '', 'tenant_id': '65de18689c304508a12dd959763d4882', 'network_id': '83a5f8c4-5e22-41f9-bcb3-78fbe35e710f', 'ip_version': 4, 'cidr': '85.193.246.0/26', 'allocation_pools': [{'start': '85.193.246.2', 'end': '85.193.246.62'}], 'gateway_ip': '85.193.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.193.246.2', 'tags': [], 'project_id': '65de18689c304508a12dd959763d4882'}}
2026-02-19 18:18:46,942 - INFO - Created VN ctest-vn-73259344
2026-02-19 18:18:46,993 - DEBUG - VN ctest-vn-73259344 UUID is 83a5f8c4-5e22-41f9-bcb3-78fbe35e710f
2026-02-19 18:18:47,108 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-32275035', 'ctest-vmi-39397788']}
2026-02-19 18:18:47,341 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39397788', 'id': '04bd6af0-dcde-49a9-a52f-40ed46b4f1c7', 'tenant_id': '65de18689c304508a12dd959763d4882', 'network_id': '83a5f8c4-5e22-41f9-bcb3-78fbe35e710f', 'mac_address': '02:04:bd:6a:f0:dc', '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': '85.193.246.3', 'subnet_id': 'cf593de7-be8a-497b-8999-2ae4ab2ef072'}], 'security_groups': ['d9bc8dbc-a286-4807-aa90-7994dc2b095c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '65de18689c304508a12dd959763d4882'}}
2026-02-19 18:18:47,341 - DEBUG - Created port 04bd6af0-dcde-49a9-a52f-40ed46b4f1c7
2026-02-19 18:18:47,445 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/04bd6af0-dcde-49a9-a52f-40ed46b4f1c7
2026-02-19 18:18:47,739 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/04bd6af0-dcde-49a9-a52f-40ed46b4f1c7
2026-02-19 18:18:47,777 - INFO - VMI 04bd6af0-dcde-49a9-a52f-40ed46b4f1c7 verification in API Server passed
2026-02-19 18:18:47,867 - DEBUG - Response for delete_port : ()
2026-02-19 18:18:47,867 - INFO - Deleted port 04bd6af0-dcde-49a9-a52f-40ed46b4f1c7
2026-02-19 18:18:47,867 - INFO - Deleting VN ctest-vn-73259344
2026-02-19 18:18:47,960 - DEBUG - Response for deleting network ()
2026-02-19 18:18:48,213 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 18:18:48,213 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-19 18:18:48,214 - INFO - --------------------------------------------------------------------------------
2026-02-19 18:18:48,216 - INFO - ================================================================================
2026-02-19 18:18:48,216 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-19 18:18:48,216 - 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-02-19 18:18:48,502 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2026-02-19 18:18:48,502 - INFO - Initial checks done. Running the testcase now
2026-02-19 18:18:48,502 - INFO -
2026-02-19 18:18:48,675 - DEBUG - Response for create_network : {'network': {'id': 'd0ed537e-63b3-4656-a903-4b44bc3c289d', 'name': 'ctest-vn1-39209058', 'tenant_id': '65de18689c304508a12dd959763d4882', 'project_id': '65de18689c304508a12dd959763d4882', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32275035', 'ctest-vn1-39209058'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 18:18:48,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '79c0402e-7569-47b4-9fa3-090a2a6843f1', 'name': '', 'tenant_id': '65de18689c304508a12dd959763d4882', 'network_id': 'd0ed537e-63b3-4656-a903-4b44bc3c289d', 'ip_version': 4, 'cidr': '210.64.86.64/26', 'allocation_pools': [{'start': '210.64.86.66', 'end': '210.64.86.126'}], 'gateway_ip': '210.64.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.64.86.66', 'tags': [], 'project_id': '65de18689c304508a12dd959763d4882'}}
2026-02-19 18:18:49,015 - DEBUG - Response for create_subnet : {'subnet': {'id': '040b0b20-7a22-4592-bfa8-c3570e75b7ca', 'name': '', 'tenant_id': '65de18689c304508a12dd959763d4882', 'network_id': 'd0ed537e-63b3-4656-a903-4b44bc3c289d', 'ip_version': 4, 'cidr': '137.186.103.192/26', 'allocation_pools': [{'start': '137.186.103.194', 'end': '137.186.103.254'}], 'gateway_ip': '137.186.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.186.103.194', 'tags': [], 'project_id': '65de18689c304508a12dd959763d4882'}}
2026-02-19 18:18:49,033 - INFO - Created VN ctest-vn1-39209058
2026-02-19 18:18:49,085 - DEBUG - VN ctest-vn1-39209058 UUID is d0ed537e-63b3-4656-a903-4b44bc3c289d
2026-02-19 18:18:49,381 - DEBUG - Response for create_port : {'port': {'name': 'c749f680-6a3f-49ce-958d-1b492aa54d2a', 'id': 'c749f680-6a3f-49ce-958d-1b492aa54d2a', 'tenant_id': '65de18689c304508a12dd959763d4882', 'network_id': 'd0ed537e-63b3-4656-a903-4b44bc3c289d', 'mac_address': '02:c7:49:f6:80:6a', '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': '210.64.86.69', 'subnet_id': '79c0402e-7569-47b4-9fa3-090a2a6843f1'}], 'security_groups': ['d9bc8dbc-a286-4807-aa90-7994dc2b095c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '65de18689c304508a12dd959763d4882'}}
2026-02-19 18:18:49,541 - DEBUG - Response for create_port : {'port': {'name': '9ca0eb6a-c0aa-41a8-917a-d4ff957861ec', 'id': '9ca0eb6a-c0aa-41a8-917a-d4ff957861ec', 'tenant_id': '65de18689c304508a12dd959763d4882', 'network_id': 'd0ed537e-63b3-4656-a903-4b44bc3c289d', 'mac_address': '02:9c:a0:eb:6a:c0', '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': '137.186.103.197', 'subnet_id': '040b0b20-7a22-4592-bfa8-c3570e75b7ca'}], 'security_groups': ['d9bc8dbc-a286-4807-aa90-7994dc2b095c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '65de18689c304508a12dd959763d4882'}}
2026-02-19 18:18:49,601 - DEBUG - Services list from nova: [, , ]
2026-02-19 18:18:49,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5361-1)
2026-02-19 18:18:50,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5361-1)
2026-02-19 18:18:50,323 - INFO - Waiting for VM ctest-vn1-vm1-66325120 to be up..
2026-02-19 18:18:50,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-19 18:18:55,437 - DEBUG - VM is in ACTIVE state now
2026-02-19 18:18:55,437 - INFO - VM name : ctest-vn1-vm1-66325120
2026-02-19 18:18:55,513 - DEBUG - VM ctest-vn1-vm1-66325120 ID is 5387281f-a513-4025-9e90-49fc236f340e
2026-02-19 18:18:55,531 - DEBUG - VM ctest-vn1-vm1-66325120 launched on Node cn-jenkins-deploy-platform-ansible-os-5361-1
2026-02-19 18:18:55,607 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/5387281f-a513-4025-9e90-49fc236f340e
2026-02-19 18:18:55,616 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c749f680-6a3f-49ce-958d-1b492aa54d2a
2026-02-19 18:18:58,884 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2026-02-19 18:18:58,884 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-66325120 failed!
2026-02-19 18:18:58,937 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32275035:ctest-vn1-39209058 is 210.64.86.65 and allocation pool is NOT set
2026-02-19 18:18:58,937 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32275035:ctest-vn1-39209058 is 137.186.103.193 and allocation pool is NOT set
2026-02-19 18:19:01,002 - 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=2.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.35 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 = 2.350/2.489/2.629/0.139 ms')
2026-02-19 18:19:01,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-66325120 passed
2026-02-19 18:19:01,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 18:19:01,149 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66325120, IP 210.64.86.69, Port 22
2026-02-19 18:19:01,205 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-02-19 18:19:01,274 - DEBUG - VM ctest-vn1-vm1-66325120 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-19 18:19:06,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 18:19:06,275 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66325120, IP 210.64.86.69, Port 22
2026-02-19 18:19:06,433 - DEBUG - VM ctest-vn1-vm1-66325120 is ready for SSH connections
2026-02-19 18:19:06,433 - INFO - Waiting for VM ctest-vn1-vm2-81322388 to be up..
2026-02-19 18:19:06,514 - DEBUG - VM is in ACTIVE state now
2026-02-19 18:19:06,514 - INFO - VM name : ctest-vn1-vm2-81322388
2026-02-19 18:19:06,596 - DEBUG - VM ctest-vn1-vm2-81322388 ID is 478329ff-b990-4e91-909c-456e64c6f1d7
2026-02-19 18:19:06,596 - DEBUG - VM ctest-vn1-vm2-81322388 launched on Node cn-jenkins-deploy-platform-ansible-os-5361-1
2026-02-19 18:19:06,669 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/478329ff-b990-4e91-909c-456e64c6f1d7
2026-02-19 18:19:06,676 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/9ca0eb6a-c0aa-41a8-917a-d4ff957861ec
2026-02-19 18:19:07,912 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.594 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.594/1.724/2.855/1.130 ms')
2026-02-19 18:19:07,912 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-81322388 passed
2026-02-19 18:19:08,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 18:19:08,061 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-81322388, IP 137.186.103.197, Port 22
2026-02-19 18:19:08,231 - DEBUG - VM ctest-vn1-vm2-81322388 is ready for SSH connections
2026-02-19 18:19:08,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 18:19:08,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 18:19:08,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 18:19:08,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.64.86.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2026-02-19 18:19:08,231 - DEBUG - ping -s 56 -c 3 -W 1 210.64.86.69
2026-02-19 18:19:11,908 - DEBUG - PING 210.64.86.69 (210.64.86.69): 56 data bytes
64 bytes from 210.64.86.69: seq=0 ttl=63 time=3.889 ms
64 bytes from 210.64.86.69: seq=1 ttl=63 time=0.993 ms
64 bytes from 210.64.86.69: seq=2 ttl=63 time=0.778 ms
--- 210.64.86.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.778/1.886/3.889 ms
2026-02-19 18:19:11,908 - INFO - Ping to IP 210.64.86.69 from VM ctest-vn1-vm2-81322388 passed
2026-02-19 18:19:11,908 - INFO - Detaching port 9ca0eb6a-c0aa-41a8-917a-d4ff957861ec from VM ctest-vn1-vm2-81322388
2026-02-19 18:19:11,961 - INFO - Deleting VM ctest-vn1-vm2-81322388
2026-02-19 18:19:12,030 - INFO - Detaching port c749f680-6a3f-49ce-958d-1b492aa54d2a from VM ctest-vn1-vm1-66325120
2026-02-19 18:19:12,067 - INFO - Deleting VM ctest-vn1-vm1-66325120
2026-02-19 18:19:12,362 - DEBUG - Response for delete_port : ()
2026-02-19 18:19:12,524 - DEBUG - Response for delete_port : ()
2026-02-19 18:19:12,524 - INFO - Deleting VN ctest-vn1-39209058
2026-02-19 18:19:12,672 - DEBUG - Response for deleting network ()
2026-02-19 18:19:12,929 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 18:19:12,929 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-19 18:19:12,930 - INFO - --------------------------------------------------------------------------------
2026-02-19 18:19:13,593 - INFO - Deleted project: ctest-TestPorts-32275035, ID : 65de1868-9c30-4508-a12d-d959763d4882