2026-04-21 12:12:22,262 - INFO - Domain Default found not creating
2026-04-21 12:12:22,432 - INFO - Project ctest-TestPorts-08514048 not found, creating it
2026-04-21 12:12:22,903 - INFO - Created Project:ctest-TestPorts-08514048, ID : 44bd1142-e85f-432a-94b6-9e8d68b4df73
2026-04-21 12:12:24,404 - INFO - ================================================================================
2026-04-21 12:12:24,404 - INFO - STARTING TEST : test_ports_bindings
2026-04-21 12:12:24,404 - 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-21 12:12:24,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-21 12:12:24,668 - INFO - Initial checks done. Running the testcase now
2026-04-21 12:12:24,668 - INFO -
2026-04-21 12:12:25,231 - DEBUG - Response for create_network : {'network': {'id': 'ab5fa101-a92e-474e-94b9-4c69836d82b0', 'name': 'ctest-vn-87043133', 'tenant_id': '44bd1142e85f432a94b69e8d68b4df73', 'project_id': '44bd1142e85f432a94b69e8d68b4df73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08514048', 'ctest-vn-87043133'], 'port_security_enabled': True, 'description': ''}}
2026-04-21 12:12:25,435 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd1a916a-4d43-4de5-82e7-4b5f63c0d867', 'name': '', 'tenant_id': '44bd1142e85f432a94b69e8d68b4df73', 'network_id': 'ab5fa101-a92e-474e-94b9-4c69836d82b0', 'ip_version': 4, 'cidr': '83.131.70.0/26', 'allocation_pools': [{'start': '83.131.70.2', 'end': '83.131.70.62'}], 'gateway_ip': '83.131.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.131.70.2', 'tags': [], 'project_id': '44bd1142e85f432a94b69e8d68b4df73'}}
2026-04-21 12:12:25,455 - INFO - Created VN ctest-vn-87043133
2026-04-21 12:12:25,507 - DEBUG - VN ctest-vn-87043133 UUID is ab5fa101-a92e-474e-94b9-4c69836d82b0
2026-04-21 12:12:25,620 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08514048', 'ctest-vmi-08786131']}
2026-04-21 12:12:25,865 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08786131', 'id': 'd6b8a02c-c57c-4741-b27f-5e5287181ea4', 'tenant_id': '44bd1142e85f432a94b69e8d68b4df73', 'network_id': 'ab5fa101-a92e-474e-94b9-4c69836d82b0', 'mac_address': '02:d6:b8:a0:2c:c5', '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': '83.131.70.3', 'subnet_id': 'dd1a916a-4d43-4de5-82e7-4b5f63c0d867'}], 'security_groups': ['eefaf25f-0260-4a94-9ceb-bb0d8ac5a15d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '44bd1142e85f432a94b69e8d68b4df73'}}
2026-04-21 12:12:25,865 - DEBUG - Created port d6b8a02c-c57c-4741-b27f-5e5287181ea4
2026-04-21 12:12:25,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d6b8a02c-c57c-4741-b27f-5e5287181ea4
2026-04-21 12:12:26,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d6b8a02c-c57c-4741-b27f-5e5287181ea4
2026-04-21 12:12:26,299 - INFO - VMI d6b8a02c-c57c-4741-b27f-5e5287181ea4 verification in API Server passed
2026-04-21 12:12:26,392 - DEBUG - Response for delete_port : ()
2026-04-21 12:12:26,392 - INFO - Deleted port d6b8a02c-c57c-4741-b27f-5e5287181ea4
2026-04-21 12:12:26,392 - INFO - Deleting VN ctest-vn-87043133
2026-04-21 12:12:26,489 - DEBUG - Response for deleting network ()
2026-04-21 12:12:26,744 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 12:12:26,745 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-21 12:12:26,745 - INFO - --------------------------------------------------------------------------------
2026-04-21 12:12:26,747 - INFO - ================================================================================
2026-04-21 12:12:26,748 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-21 12:12:26,748 - 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-21 12:12:27,033 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-21 12:12:27,034 - INFO - Initial checks done. Running the testcase now
2026-04-21 12:12:27,034 - INFO -
2026-04-21 12:12:27,212 - DEBUG - Response for create_network : {'network': {'id': 'f176638b-9627-4409-a337-e256a8c08f42', 'name': 'ctest-vn1-85902461', 'tenant_id': '44bd1142e85f432a94b69e8d68b4df73', 'project_id': '44bd1142e85f432a94b69e8d68b4df73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08514048', 'ctest-vn1-85902461'], 'port_security_enabled': True, 'description': ''}}
2026-04-21 12:12:27,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '47b1c738-f665-4b13-a863-306e5a02efab', 'name': '', 'tenant_id': '44bd1142e85f432a94b69e8d68b4df73', 'network_id': 'f176638b-9627-4409-a337-e256a8c08f42', 'ip_version': 4, 'cidr': '5.193.195.64/26', 'allocation_pools': [{'start': '5.193.195.66', 'end': '5.193.195.126'}], 'gateway_ip': '5.193.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.193.195.66', 'tags': [], 'project_id': '44bd1142e85f432a94b69e8d68b4df73'}}
2026-04-21 12:12:27,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2b08393-493d-49fb-bd04-8a63cbb1be0e', 'name': '', 'tenant_id': '44bd1142e85f432a94b69e8d68b4df73', 'network_id': 'f176638b-9627-4409-a337-e256a8c08f42', 'ip_version': 4, 'cidr': '135.230.182.0/26', 'allocation_pools': [{'start': '135.230.182.2', 'end': '135.230.182.62'}], 'gateway_ip': '135.230.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.230.182.2', 'tags': [], 'project_id': '44bd1142e85f432a94b69e8d68b4df73'}}
2026-04-21 12:12:27,529 - INFO - Created VN ctest-vn1-85902461
2026-04-21 12:12:27,587 - DEBUG - VN ctest-vn1-85902461 UUID is f176638b-9627-4409-a337-e256a8c08f42
2026-04-21 12:12:27,893 - DEBUG - Response for create_port : {'port': {'name': 'f2d91be3-d9e0-44af-a831-79dde7e46cad', 'id': 'f2d91be3-d9e0-44af-a831-79dde7e46cad', 'tenant_id': '44bd1142e85f432a94b69e8d68b4df73', 'network_id': 'f176638b-9627-4409-a337-e256a8c08f42', 'mac_address': '02:f2:d9:1b:e3:d9', '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': '5.193.195.69', 'subnet_id': '47b1c738-f665-4b13-a863-306e5a02efab'}], 'security_groups': ['eefaf25f-0260-4a94-9ceb-bb0d8ac5a15d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '44bd1142e85f432a94b69e8d68b4df73'}}
2026-04-21 12:12:28,056 - DEBUG - Response for create_port : {'port': {'name': '6594b776-3bf6-4b19-96da-262abfd3d841', 'id': '6594b776-3bf6-4b19-96da-262abfd3d841', 'tenant_id': '44bd1142e85f432a94b69e8d68b4df73', 'network_id': 'f176638b-9627-4409-a337-e256a8c08f42', 'mac_address': '02:65:94:b7:76:3b', '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': '135.230.182.5', 'subnet_id': 'a2b08393-493d-49fb-bd04-8a63cbb1be0e'}], 'security_groups': ['eefaf25f-0260-4a94-9ceb-bb0d8ac5a15d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '44bd1142e85f432a94b69e8d68b4df73'}}
2026-04-21 12:12:28,118 - DEBUG - Services list from nova: [, , ]
2026-04-21 12:12:28,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5659-1)
2026-04-21 12:12:28,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5659-1)
2026-04-21 12:12:28,847 - INFO - Waiting for VM ctest-vn1-vm1-31915186 to be up..
2026-04-21 12:12:28,886 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-21 12:12:33,961 - DEBUG - VM is in ACTIVE state now
2026-04-21 12:12:33,961 - INFO - VM name : ctest-vn1-vm1-31915186
2026-04-21 12:12:34,031 - DEBUG - VM ctest-vn1-vm1-31915186 ID is 5d7bca3c-6ca3-4884-bc13-e8ffb8e9d2ec
2026-04-21 12:12:34,051 - DEBUG - VM ctest-vn1-vm1-31915186 launched on Node cn-jenkins-deploy-platform-ansible-os-5659-1
2026-04-21 12:12:34,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5d7bca3c-6ca3-4884-bc13-e8ffb8e9d2ec
2026-04-21 12:12:34,131 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f2d91be3-d9e0-44af-a831-79dde7e46cad
2026-04-21 12:12:37,401 - 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 1030ms')
2026-04-21 12:12:37,401 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31915186 failed!
2026-04-21 12:12:37,455 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08514048:ctest-vn1-85902461 is 5.193.195.65 and allocation pool is NOT set
2026-04-21 12:12:37,455 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08514048:ctest-vn1-85902461 is 135.230.182.1 and allocation pool is NOT set
2026-04-21 12:12:39,515 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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.987/5.526/9.066/3.539 ms')
2026-04-21 12:12:39,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31915186 passed
2026-04-21 12:12:39,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 12:12:39,667 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31915186, IP 5.193.195.69, Port 22
2026-04-21 12:12:39,732 - 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-21 12:12:39,830 - DEBUG - VM ctest-vn1-vm1-31915186 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-21 12:12:44,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 12:12:44,831 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31915186, IP 5.193.195.69, Port 22
2026-04-21 12:12:44,994 - DEBUG - VM ctest-vn1-vm1-31915186 is ready for SSH connections
2026-04-21 12:12:44,995 - INFO - Waiting for VM ctest-vn1-vm2-80023403 to be up..
2026-04-21 12:12:45,073 - DEBUG - VM is in ACTIVE state now
2026-04-21 12:12:45,074 - INFO - VM name : ctest-vn1-vm2-80023403
2026-04-21 12:12:45,145 - DEBUG - VM ctest-vn1-vm2-80023403 ID is a80f3c61-1ead-4be7-83e0-73e8783dee37
2026-04-21 12:12:45,145 - DEBUG - VM ctest-vn1-vm2-80023403 launched on Node cn-jenkins-deploy-platform-ansible-os-5659-1
2026-04-21 12:12:45,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a80f3c61-1ead-4be7-83e0-73e8783dee37
2026-04-21 12:12:45,231 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6594b776-3bf6-4b19-96da-262abfd3d841
2026-04-21 12:12:46,465 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.313 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.313/1.631/2.950/1.318 ms')
2026-04-21 12:12:46,465 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80023403 passed
2026-04-21 12:12:46,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 12:12:46,619 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80023403, IP 135.230.182.5, Port 22
2026-04-21 12:12:46,774 - DEBUG - VM ctest-vn1-vm2-80023403 is ready for SSH connections
2026-04-21 12:12:46,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 12:12:46,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 12:12:46,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 12:12:46,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.193.195.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-21 12:12:46,775 - DEBUG - ping -s 56 -c 3 -W 1 5.193.195.69
2026-04-21 12:12:49,413 - DEBUG - PING 5.193.195.69 (5.193.195.69): 56 data bytes
64 bytes from 5.193.195.69: seq=0 ttl=63 time=3.382 ms
64 bytes from 5.193.195.69: seq=1 ttl=63 time=1.107 ms
64 bytes from 5.193.195.69: seq=2 ttl=63 time=0.993 ms
--- 5.193.195.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.993/1.827/3.382 ms
2026-04-21 12:12:49,413 - INFO - Ping to IP 5.193.195.69 from VM ctest-vn1-vm2-80023403 passed
2026-04-21 12:12:49,414 - INFO - Detaching port 6594b776-3bf6-4b19-96da-262abfd3d841 from VM ctest-vn1-vm2-80023403
2026-04-21 12:12:49,459 - INFO - Deleting VM ctest-vn1-vm2-80023403
2026-04-21 12:12:49,526 - INFO - Detaching port f2d91be3-d9e0-44af-a831-79dde7e46cad from VM ctest-vn1-vm1-31915186
2026-04-21 12:12:49,562 - INFO - Deleting VM ctest-vn1-vm1-31915186
2026-04-21 12:12:49,808 - DEBUG - Response for delete_port : ()
2026-04-21 12:12:49,956 - DEBUG - Response for delete_port : ()
2026-04-21 12:12:49,956 - INFO - Deleting VN ctest-vn1-85902461
2026-04-21 12:12:50,084 - DEBUG - Response for deleting network ()
2026-04-21 12:12:50,339 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 12:12:50,339 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-21 12:12:50,340 - INFO - --------------------------------------------------------------------------------
2026-04-21 12:12:51,045 - INFO - Deleted project: ctest-TestPorts-08514048, ID : 44bd1142-e85f-432a-94b6-9e8d68b4df73