2026-01-06 09:13:39,571 - INFO - Domain Default found not creating
2026-01-06 09:13:39,728 - INFO - Project ctest-TestPorts-23102540 not found, creating it
2026-01-06 09:13:40,179 - INFO - Created Project:ctest-TestPorts-23102540, ID : 280e8a1d-849f-45de-994c-0aea8f25e64b
2026-01-06 09:13:41,584 - INFO - ================================================================================
2026-01-06 09:13:41,584 - INFO - STARTING TEST : test_ports_bindings
2026-01-06 09:13:41,584 - 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-06 09:13:41,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-06 09:13:41,837 - INFO - Initial checks done. Running the testcase now
2026-01-06 09:13:41,837 - INFO -
2026-01-06 09:13:42,876 - DEBUG - Response for create_network : {'network': {'id': '40280e68-9185-40d2-b7ce-0ea4957c2b45', 'name': 'ctest-vn-62975204', 'tenant_id': '280e8a1d849f45de994c0aea8f25e64b', 'project_id': '280e8a1d849f45de994c0aea8f25e64b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23102540', 'ctest-vn-62975204'], 'port_security_enabled': True, 'description': ''}}
2026-01-06 09:13:43,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '99619792-fdc8-4be7-85e5-094a469fb18d', 'name': '', 'tenant_id': '280e8a1d849f45de994c0aea8f25e64b', 'network_id': '40280e68-9185-40d2-b7ce-0ea4957c2b45', 'ip_version': 4, 'cidr': '188.232.183.192/26', 'allocation_pools': [{'start': '188.232.183.194', 'end': '188.232.183.254'}], 'gateway_ip': '188.232.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.232.183.194', 'tags': [], 'project_id': '280e8a1d849f45de994c0aea8f25e64b'}}
2026-01-06 09:13:43,053 - INFO - Created VN ctest-vn-62975204
2026-01-06 09:13:43,104 - DEBUG - VN ctest-vn-62975204 UUID is 40280e68-9185-40d2-b7ce-0ea4957c2b45
2026-01-06 09:13:43,208 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23102540', 'ctest-vmi-89365604']}
2026-01-06 09:13:43,482 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89365604', 'id': 'fc6e0072-45fe-4f6e-b5f0-56b285f44727', 'tenant_id': '280e8a1d849f45de994c0aea8f25e64b', 'network_id': '40280e68-9185-40d2-b7ce-0ea4957c2b45', 'mac_address': '02:fc:6e:00:72:45', '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': '188.232.183.195', 'subnet_id': '99619792-fdc8-4be7-85e5-094a469fb18d'}], 'security_groups': ['998b9a07-0eb6-456b-b770-dcafd9cb1ca3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '280e8a1d849f45de994c0aea8f25e64b'}}
2026-01-06 09:13:43,482 - DEBUG - Created port fc6e0072-45fe-4f6e-b5f0-56b285f44727
2026-01-06 09:13:43,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc6e0072-45fe-4f6e-b5f0-56b285f44727
2026-01-06 09:13:43,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc6e0072-45fe-4f6e-b5f0-56b285f44727
2026-01-06 09:13:43,907 - INFO - VMI fc6e0072-45fe-4f6e-b5f0-56b285f44727 verification in API Server passed
2026-01-06 09:13:43,984 - DEBUG - Response for delete_port : ()
2026-01-06 09:13:43,984 - INFO - Deleted port fc6e0072-45fe-4f6e-b5f0-56b285f44727
2026-01-06 09:13:43,984 - INFO - Deleting VN ctest-vn-62975204
2026-01-06 09:13:44,082 - DEBUG - Response for deleting network ()
2026-01-06 09:13:44,336 - DEBUG - No XMPP flaps were noticed during the test
2026-01-06 09:13:44,336 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-06 09:13:44,336 - INFO - --------------------------------------------------------------------------------
2026-01-06 09:13:44,338 - INFO - ================================================================================
2026-01-06 09:13:44,338 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-06 09:13:44,338 - 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-06 09:13:44,624 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-06 09:13:44,624 - INFO - Initial checks done. Running the testcase now
2026-01-06 09:13:44,624 - INFO -
2026-01-06 09:13:44,792 - DEBUG - Response for create_network : {'network': {'id': '5f0a36b9-7db8-40d1-96f6-c02a3d9f79b0', 'name': 'ctest-vn1-14822523', 'tenant_id': '280e8a1d849f45de994c0aea8f25e64b', 'project_id': '280e8a1d849f45de994c0aea8f25e64b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23102540', 'ctest-vn1-14822523'], 'port_security_enabled': True, 'description': ''}}
2026-01-06 09:13:44,995 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c43f89fb-be7e-4fc2-bf3f-ea545d26b25e', 'name': '', 'tenant_id': '280e8a1d849f45de994c0aea8f25e64b', 'network_id': '5f0a36b9-7db8-40d1-96f6-c02a3d9f79b0', 'ip_version': 4, 'cidr': '79.72.249.64/26', 'allocation_pools': [{'start': '79.72.249.66', 'end': '79.72.249.126'}], 'gateway_ip': '79.72.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.72.249.66', 'tags': [], 'project_id': '280e8a1d849f45de994c0aea8f25e64b'}}
2026-01-06 09:13:45,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f6b1dc9-5d7a-4d80-b661-160183e7facf', 'name': '', 'tenant_id': '280e8a1d849f45de994c0aea8f25e64b', 'network_id': '5f0a36b9-7db8-40d1-96f6-c02a3d9f79b0', 'ip_version': 4, 'cidr': '103.48.96.192/26', 'allocation_pools': [{'start': '103.48.96.194', 'end': '103.48.96.254'}], 'gateway_ip': '103.48.96.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.48.96.194', 'tags': [], 'project_id': '280e8a1d849f45de994c0aea8f25e64b'}}
2026-01-06 09:13:45,193 - INFO - Created VN ctest-vn1-14822523
2026-01-06 09:13:45,244 - DEBUG - VN ctest-vn1-14822523 UUID is 5f0a36b9-7db8-40d1-96f6-c02a3d9f79b0
2026-01-06 09:13:45,511 - DEBUG - Response for create_port : {'port': {'name': 'de67627b-0f9f-43ad-8949-75904f93223e', 'id': 'de67627b-0f9f-43ad-8949-75904f93223e', 'tenant_id': '280e8a1d849f45de994c0aea8f25e64b', 'network_id': '5f0a36b9-7db8-40d1-96f6-c02a3d9f79b0', 'mac_address': '02:de:67:62:7b:0f', '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': '79.72.249.69', 'subnet_id': 'c43f89fb-be7e-4fc2-bf3f-ea545d26b25e'}], 'security_groups': ['998b9a07-0eb6-456b-b770-dcafd9cb1ca3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '280e8a1d849f45de994c0aea8f25e64b'}}
2026-01-06 09:13:45,671 - DEBUG - Response for create_port : {'port': {'name': 'f7e762f1-2e62-46d5-8ee4-ec3b67f5d9d7', 'id': 'f7e762f1-2e62-46d5-8ee4-ec3b67f5d9d7', 'tenant_id': '280e8a1d849f45de994c0aea8f25e64b', 'network_id': '5f0a36b9-7db8-40d1-96f6-c02a3d9f79b0', 'mac_address': '02:f7:e7:62:f1:2e', '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': '103.48.96.197', 'subnet_id': '7f6b1dc9-5d7a-4d80-b661-160183e7facf'}], 'security_groups': ['998b9a07-0eb6-456b-b770-dcafd9cb1ca3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '280e8a1d849f45de994c0aea8f25e64b'}}
2026-01-06 09:13:45,734 - DEBUG - Services list from nova: [, , ]
2026-01-06 09:13:46,052 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4968-1)
2026-01-06 09:13:46,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4968-1)
2026-01-06 09:13:46,424 - INFO - Waiting for VM ctest-vn1-vm1-48237805 to be up..
2026-01-06 09:13:46,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-06 09:13:51,531 - DEBUG - VM is in ACTIVE state now
2026-01-06 09:13:51,531 - INFO - VM name : ctest-vn1-vm1-48237805
2026-01-06 09:13:51,602 - DEBUG - VM ctest-vn1-vm1-48237805 ID is 865ecf81-6307-4cd1-86fb-7b1b30c494a1
2026-01-06 09:13:51,621 - DEBUG - VM ctest-vn1-vm1-48237805 launched on Node cn-jenkins-deploy-platform-ansible-os-4968-1
2026-01-06 09:13:51,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/865ecf81-6307-4cd1-86fb-7b1b30c494a1
2026-01-06 09:13:51,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/de67627b-0f9f-43ad-8949-75904f93223e
2026-01-06 09:13:54,932 - 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 1007ms')
2026-01-06 09:13:54,932 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48237805 failed!
2026-01-06 09:13:54,984 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23102540:ctest-vn1-14822523 is 79.72.249.65 and allocation pool is NOT set
2026-01-06 09:13:54,984 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23102540:ctest-vn1-14822523 is 103.48.96.193 and allocation pool is NOT set
2026-01-06 09:13:57,052 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.82 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 = 2.726/2.774/2.823/0.048 ms')
2026-01-06 09:13:57,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48237805 passed
2026-01-06 09:13:57,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 09:13:57,208 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48237805, IP 79.72.249.69, Port 22
2026-01-06 09:13:57,278 - 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-06 09:13:57,360 - DEBUG - VM ctest-vn1-vm1-48237805 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-06 09:14:02,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 09:14:02,362 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48237805, IP 79.72.249.69, Port 22
2026-01-06 09:14:02,527 - DEBUG - VM ctest-vn1-vm1-48237805 is ready for SSH connections
2026-01-06 09:14:02,527 - INFO - Waiting for VM ctest-vn1-vm2-66774135 to be up..
2026-01-06 09:14:02,595 - DEBUG - VM is in ACTIVE state now
2026-01-06 09:14:02,596 - INFO - VM name : ctest-vn1-vm2-66774135
2026-01-06 09:14:02,664 - DEBUG - VM ctest-vn1-vm2-66774135 ID is 7e4ecb41-5c56-4055-bcb7-5813f55fb3b2
2026-01-06 09:14:02,664 - DEBUG - VM ctest-vn1-vm2-66774135 launched on Node cn-jenkins-deploy-platform-ansible-os-4968-1
2026-01-06 09:14:02,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7e4ecb41-5c56-4055-bcb7-5813f55fb3b2
2026-01-06 09:14:02,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f7e762f1-2e62-46d5-8ee4-ec3b67f5d9d7
2026-01-06 09:14:03,972 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.853/3.289/1.436 ms')
2026-01-06 09:14:03,972 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66774135 passed
2026-01-06 09:14:04,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 09:14:04,124 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66774135, IP 103.48.96.197, Port 22
2026-01-06 09:14:04,279 - DEBUG - VM ctest-vn1-vm2-66774135 is ready for SSH connections
2026-01-06 09:14:04,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 09:14:04,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 09:14:04,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 09:14:04,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.72.249.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-01-06 09:14:04,280 - DEBUG - ping -s 56 -c 3 -W 1 79.72.249.69
2026-01-06 09:14:07,253 - DEBUG - PING 79.72.249.69 (79.72.249.69): 56 data bytes
64 bytes from 79.72.249.69: seq=0 ttl=63 time=3.678 ms
64 bytes from 79.72.249.69: seq=1 ttl=63 time=0.905 ms
64 bytes from 79.72.249.69: seq=2 ttl=63 time=1.072 ms
--- 79.72.249.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.905/1.885/3.678 ms
2026-01-06 09:14:07,253 - INFO - Ping to IP 79.72.249.69 from VM ctest-vn1-vm2-66774135 passed
2026-01-06 09:14:07,253 - INFO - Detaching port f7e762f1-2e62-46d5-8ee4-ec3b67f5d9d7 from VM ctest-vn1-vm2-66774135
2026-01-06 09:14:07,299 - INFO - Deleting VM ctest-vn1-vm2-66774135
2026-01-06 09:14:07,360 - INFO - Detaching port de67627b-0f9f-43ad-8949-75904f93223e from VM ctest-vn1-vm1-48237805
2026-01-06 09:14:07,399 - INFO - Deleting VM ctest-vn1-vm1-48237805
2026-01-06 09:14:07,611 - DEBUG - Response for delete_port : ()
2026-01-06 09:14:07,741 - DEBUG - Response for delete_port : ()
2026-01-06 09:14:07,741 - INFO - Deleting VN ctest-vn1-14822523
2026-01-06 09:14:07,851 - DEBUG - Response for deleting network ()
2026-01-06 09:14:08,105 - DEBUG - No XMPP flaps were noticed during the test
2026-01-06 09:14:08,105 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-06 09:14:08,105 - INFO - --------------------------------------------------------------------------------
2026-01-06 09:14:08,780 - INFO - Deleted project: ctest-TestPorts-23102540, ID : 280e8a1d-849f-45de-994c-0aea8f25e64b