2026-09-18 04:16:11,003 - INFO - Domain Default found not creating
2026-09-18 04:16:11,201 - INFO - Project ctest-TestPorts-43522665 not found, creating it
2026-09-18 04:16:11,713 - INFO - Created Project:ctest-TestPorts-43522665, ID : fae5a524-a39b-42be-ae80-db79e56ac58c
2026-09-18 04:16:13,346 - INFO - ================================================================================
2026-09-18 04:16:13,346 - INFO - STARTING TEST : test_ports_bindings
2026-09-18 04:16:13,346 - 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-09-18 04:16:13,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-09-18 04:16:13,603 - INFO - Initial checks done. Running the testcase now
2026-09-18 04:16:13,604 - INFO -
2026-09-18 04:16:14,196 - DEBUG - Response for create_network : {'network': {'id': '69dbf88d-cafd-4f4e-8128-489295acfe67', 'name': 'ctest-vn-04417463', 'tenant_id': 'fae5a524a39b42beae80db79e56ac58c', 'project_id': 'fae5a524a39b42beae80db79e56ac58c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43522665', 'ctest-vn-04417463'], 'port_security_enabled': True, 'description': ''}}
2026-09-18 04:16:14,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b8eb9ff-b352-4602-a90b-e852f39e38a0', 'name': '', 'tenant_id': 'fae5a524a39b42beae80db79e56ac58c', 'network_id': '69dbf88d-cafd-4f4e-8128-489295acfe67', 'ip_version': 4, 'cidr': '177.211.102.192/26', 'allocation_pools': [{'start': '177.211.102.194', 'end': '177.211.102.254'}], 'gateway_ip': '177.211.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.211.102.194', 'tags': [], 'project_id': 'fae5a524a39b42beae80db79e56ac58c'}}
2026-09-18 04:16:14,407 - INFO - Created VN ctest-vn-04417463
2026-09-18 04:16:14,460 - DEBUG - VN ctest-vn-04417463 UUID is 69dbf88d-cafd-4f4e-8128-489295acfe67
2026-09-18 04:16:14,564 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43522665', 'ctest-vmi-88381717']}
2026-09-18 04:16:14,878 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88381717', 'id': '2b5430d9-ca75-4f98-8648-79abb5871c2f', 'tenant_id': 'fae5a524a39b42beae80db79e56ac58c', 'network_id': '69dbf88d-cafd-4f4e-8128-489295acfe67', 'mac_address': '02:2b:54:30:d9:ca', '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': '177.211.102.195', 'subnet_id': '8b8eb9ff-b352-4602-a90b-e852f39e38a0'}], 'security_groups': ['52cc0ac7-5096-4bdf-9424-a131fb2ebee0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'fae5a524a39b42beae80db79e56ac58c'}}
2026-09-18 04:16:14,878 - DEBUG - Created port 2b5430d9-ca75-4f98-8648-79abb5871c2f
2026-09-18 04:16:14,984 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2b5430d9-ca75-4f98-8648-79abb5871c2f
2026-09-18 04:16:15,317 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2b5430d9-ca75-4f98-8648-79abb5871c2f
2026-09-18 04:16:15,351 - INFO - VMI 2b5430d9-ca75-4f98-8648-79abb5871c2f verification in API Server passed
2026-09-18 04:16:15,443 - DEBUG - Response for delete_port : ()
2026-09-18 04:16:15,443 - INFO - Deleted port 2b5430d9-ca75-4f98-8648-79abb5871c2f
2026-09-18 04:16:15,443 - INFO - Deleting VN ctest-vn-04417463
2026-09-18 04:16:15,558 - DEBUG - Response for deleting network ()
2026-09-18 04:16:15,828 - DEBUG - No XMPP flaps were noticed during the test
2026-09-18 04:16:15,828 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-09-18 04:16:15,828 - INFO - --------------------------------------------------------------------------------
2026-09-18 04:16:15,831 - INFO - ================================================================================
2026-09-18 04:16:15,831 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-18 04:16:15,831 - 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-09-18 04:16:16,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-09-18 04:16:16,111 - INFO - Initial checks done. Running the testcase now
2026-09-18 04:16:16,111 - INFO -
2026-09-18 04:16:16,320 - DEBUG - Response for create_network : {'network': {'id': 'acf888a2-6e96-4f7a-ba84-5f04c24cdb79', 'name': 'ctest-vn1-89431906', 'tenant_id': 'fae5a524a39b42beae80db79e56ac58c', 'project_id': 'fae5a524a39b42beae80db79e56ac58c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43522665', 'ctest-vn1-89431906'], 'port_security_enabled': True, 'description': ''}}
2026-09-18 04:16:16,504 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f34b234b-33c9-466d-afc5-dd4c9dbb99db', 'name': '', 'tenant_id': 'fae5a524a39b42beae80db79e56ac58c', 'network_id': 'acf888a2-6e96-4f7a-ba84-5f04c24cdb79', 'ip_version': 4, 'cidr': '161.231.93.0/26', 'allocation_pools': [{'start': '161.231.93.2', 'end': '161.231.93.62'}], 'gateway_ip': '161.231.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.231.93.2', 'tags': [], 'project_id': 'fae5a524a39b42beae80db79e56ac58c'}}
2026-09-18 04:16:16,690 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6a4b338-7e72-4907-8ba9-c278a6272bbc', 'name': '', 'tenant_id': 'fae5a524a39b42beae80db79e56ac58c', 'network_id': 'acf888a2-6e96-4f7a-ba84-5f04c24cdb79', 'ip_version': 4, 'cidr': '36.26.84.128/26', 'allocation_pools': [{'start': '36.26.84.130', 'end': '36.26.84.190'}], 'gateway_ip': '36.26.84.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.26.84.130', 'tags': [], 'project_id': 'fae5a524a39b42beae80db79e56ac58c'}}
2026-09-18 04:16:16,712 - INFO - Created VN ctest-vn1-89431906
2026-09-18 04:16:16,768 - DEBUG - VN ctest-vn1-89431906 UUID is acf888a2-6e96-4f7a-ba84-5f04c24cdb79
2026-09-18 04:16:17,106 - DEBUG - Response for create_port : {'port': {'name': '0837f401-1120-4640-9e86-db4aab743f3e', 'id': '0837f401-1120-4640-9e86-db4aab743f3e', 'tenant_id': 'fae5a524a39b42beae80db79e56ac58c', 'network_id': 'acf888a2-6e96-4f7a-ba84-5f04c24cdb79', 'mac_address': '02:08:37:f4:01:11', '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': '161.231.93.5', 'subnet_id': 'f34b234b-33c9-466d-afc5-dd4c9dbb99db'}], 'security_groups': ['52cc0ac7-5096-4bdf-9424-a131fb2ebee0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'fae5a524a39b42beae80db79e56ac58c'}}
2026-09-18 04:16:17,304 - DEBUG - Response for create_port : {'port': {'name': '88a43793-8ccc-45b6-9e26-5c1ecd82298e', 'id': '88a43793-8ccc-45b6-9e26-5c1ecd82298e', 'tenant_id': 'fae5a524a39b42beae80db79e56ac58c', 'network_id': 'acf888a2-6e96-4f7a-ba84-5f04c24cdb79', 'mac_address': '02:88:a4:37:93:8c', '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': '36.26.84.133', 'subnet_id': 'b6a4b338-7e72-4907-8ba9-c278a6272bbc'}], 'security_groups': ['52cc0ac7-5096-4bdf-9424-a131fb2ebee0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'fae5a524a39b42beae80db79e56ac58c'}}
2026-09-18 04:16:17,363 - DEBUG - Services list from nova: [, , ]
2026-09-18 04:16:17,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6309-1)
2026-09-18 04:16:18,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6309-1)
2026-09-18 04:16:18,111 - INFO - Waiting for VM ctest-vn1-vm1-37813652 to be up..
2026-09-18 04:16:18,153 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-18 04:16:23,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-18 04:16:28,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-18 04:16:33,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-18 04:16:38,462 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-18 04:16:43,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-18 04:16:48,625 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-18 04:16:53,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-18 04:16:58,811 - DEBUG - VM is in ACTIVE state now
2026-09-18 04:16:58,811 - INFO - VM name : ctest-vn1-vm1-37813652
2026-09-18 04:16:58,902 - DEBUG - VM ctest-vn1-vm1-37813652 ID is a6cb3c07-130d-4f3a-8fe1-fe7b921f8b81
2026-09-18 04:16:58,924 - DEBUG - VM ctest-vn1-vm1-37813652 launched on Node cn-jenkins-deploy-platform-ansible-os-6309-1
2026-09-18 04:16:59,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a6cb3c07-130d-4f3a-8fe1-fe7b921f8b81
2026-09-18 04:16:59,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0837f401-1120-4640-9e86-db4aab743f3e
2026-09-18 04:17:02,303 - 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-09-18 04:17:02,303 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-37813652 failed!
2026-09-18 04:17:02,360 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43522665:ctest-vn1-89431906 is 161.231.93.1 and allocation pool is NOT set
2026-09-18 04:17:02,360 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43522665:ctest-vn1-89431906 is 36.26.84.129 and allocation pool is NOT set
2026-09-18 04:17:06,426 - 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=2 ttl=63 time=11.6 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 11.629/11.629/11.629/0.000 ms')
2026-09-18 04:17:06,427 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-37813652 passed
2026-09-18 04:17:06,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-18 04:17:06,576 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37813652, IP 161.231.93.5, Port 22
2026-09-18 04:17:06,643 - 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-09-18 04:17:06,729 - DEBUG - VM ctest-vn1-vm1-37813652 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-18 04:17:11,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-18 04:17:11,730 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37813652, IP 161.231.93.5, Port 22
2026-09-18 04:17:11,898 - DEBUG - VM ctest-vn1-vm1-37813652 is ready for SSH connections
2026-09-18 04:17:11,898 - INFO - Waiting for VM ctest-vn1-vm2-39253030 to be up..
2026-09-18 04:17:11,980 - DEBUG - VM is in ACTIVE state now
2026-09-18 04:17:11,980 - INFO - VM name : ctest-vn1-vm2-39253030
2026-09-18 04:17:12,060 - DEBUG - VM ctest-vn1-vm2-39253030 ID is 5debd186-d6e9-4d87-8c64-20fd9870a780
2026-09-18 04:17:12,061 - DEBUG - VM ctest-vn1-vm2-39253030 launched on Node cn-jenkins-deploy-platform-ansible-os-6309-1
2026-09-18 04:17:12,141 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5debd186-d6e9-4d87-8c64-20fd9870a780
2026-09-18 04:17:12,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/88a43793-8ccc-45b6-9e26-5c1ecd82298e
2026-09-18 04:17:13,390 - 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=3.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.947/3.418/1.471 ms')
2026-09-18 04:17:13,390 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-39253030 passed
2026-09-18 04:17:13,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-18 04:17:13,545 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-39253030, IP 36.26.84.133, Port 22
2026-09-18 04:17:13,712 - DEBUG - VM ctest-vn1-vm2-39253030 is ready for SSH connections
2026-09-18 04:17:13,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-18 04:17:13,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-18 04:17:13,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-18 04:17:13,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.231.93.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-09-18 04:17:13,713 - DEBUG - ping -s 56 -c 3 -W 1 161.231.93.5
2026-09-18 04:17:17,736 - DEBUG - PING 161.231.93.5 (161.231.93.5): 56 data bytes
64 bytes from 161.231.93.5: seq=0 ttl=63 time=4.421 ms
64 bytes from 161.231.93.5: seq=1 ttl=63 time=1.283 ms
64 bytes from 161.231.93.5: seq=2 ttl=63 time=1.084 ms
--- 161.231.93.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.084/2.262/4.421 ms
2026-09-18 04:17:17,736 - INFO - Ping to IP 161.231.93.5 from VM ctest-vn1-vm2-39253030 passed
2026-09-18 04:17:17,736 - INFO - Detaching port 88a43793-8ccc-45b6-9e26-5c1ecd82298e from VM ctest-vn1-vm2-39253030
2026-09-18 04:17:17,799 - INFO - Deleting VM ctest-vn1-vm2-39253030
2026-09-18 04:17:17,882 - INFO - Detaching port 0837f401-1120-4640-9e86-db4aab743f3e from VM ctest-vn1-vm1-37813652
2026-09-18 04:17:17,924 - INFO - Deleting VM ctest-vn1-vm1-37813652
2026-09-18 04:17:18,187 - DEBUG - Response for delete_port : ()
2026-09-18 04:17:18,359 - DEBUG - Response for delete_port : ()
2026-09-18 04:17:18,359 - INFO - Deleting VN ctest-vn1-89431906
2026-09-18 04:17:18,498 - DEBUG - Response for deleting network ()
2026-09-18 04:17:18,773 - DEBUG - No XMPP flaps were noticed during the test
2026-09-18 04:17:18,773 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:03]
2026-09-18 04:17:18,773 - INFO - --------------------------------------------------------------------------------
2026-09-18 04:17:19,534 - INFO - Deleted project: ctest-TestPorts-43522665, ID : fae5a524-a39b-42be-ae80-db79e56ac58c