2026-09-03 11:07:47,962 - INFO - Domain Default found not creating
2026-09-03 11:07:48,207 - INFO - Project ctest-TestPorts-84200745 not found, creating it
2026-09-03 11:07:48,811 - INFO - Created Project:ctest-TestPorts-84200745, ID : 2a2b3160-3f04-4182-a6c6-b0962e5ef14d
2026-09-03 11:07:50,794 - INFO - ================================================================================
2026-09-03 11:07:50,794 - INFO - STARTING TEST : test_ports_bindings
2026-09-03 11:07:50,794 - 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-03 11:07:51,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with
2026-09-03 11:07:51,079 - INFO - Initial checks done. Running the testcase now
2026-09-03 11:07:51,079 - INFO -
2026-09-03 11:07:51,803 - DEBUG - Response for create_network : {'network': {'id': '8cdad656-0c41-4097-a81c-8e2996000ab9', 'name': 'ctest-vn-18084194', 'tenant_id': '2a2b31603f044182a6c6b0962e5ef14d', 'project_id': '2a2b31603f044182a6c6b0962e5ef14d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84200745', 'ctest-vn-18084194'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:07:52,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d0e5a61-b7c3-4a59-a4bf-b95877e29897', 'name': '', 'tenant_id': '2a2b31603f044182a6c6b0962e5ef14d', 'network_id': '8cdad656-0c41-4097-a81c-8e2996000ab9', 'ip_version': 4, 'cidr': '47.53.91.64/26', 'allocation_pools': [{'start': '47.53.91.66', 'end': '47.53.91.126'}], 'gateway_ip': '47.53.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.53.91.66', 'tags': [], 'project_id': '2a2b31603f044182a6c6b0962e5ef14d'}}
2026-09-03 11:07:52,078 - INFO - Created VN ctest-vn-18084194
2026-09-03 11:07:52,139 - DEBUG - VN ctest-vn-18084194 UUID is 8cdad656-0c41-4097-a81c-8e2996000ab9
2026-09-03 11:07:52,266 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-84200745', 'ctest-vmi-40531766']}
2026-09-03 11:07:52,619 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40531766', 'id': '271d741e-a319-48f3-8698-8b921fdaf226', 'tenant_id': '2a2b31603f044182a6c6b0962e5ef14d', 'network_id': '8cdad656-0c41-4097-a81c-8e2996000ab9', 'mac_address': '02:27:1d:74:1e:a3', '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': '47.53.91.67', 'subnet_id': '2d0e5a61-b7c3-4a59-a4bf-b95877e29897'}], 'security_groups': ['f2e22ae9-71c5-4ee7-9fc4-c80543c35a3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '2a2b31603f044182a6c6b0962e5ef14d'}}
2026-09-03 11:07:52,619 - DEBUG - Created port 271d741e-a319-48f3-8698-8b921fdaf226
2026-09-03 11:07:52,743 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/271d741e-a319-48f3-8698-8b921fdaf226
2026-09-03 11:07:53,129 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/271d741e-a319-48f3-8698-8b921fdaf226
2026-09-03 11:07:53,183 - INFO - VMI 271d741e-a319-48f3-8698-8b921fdaf226 verification in API Server passed
2026-09-03 11:07:53,356 - DEBUG - Response for delete_port : ()
2026-09-03 11:07:53,356 - INFO - Deleted port 271d741e-a319-48f3-8698-8b921fdaf226
2026-09-03 11:07:53,357 - INFO - Deleting VN ctest-vn-18084194
2026-09-03 11:07:53,522 - DEBUG - Response for deleting network ()
2026-09-03 11:07:53,801 - DEBUG - No XMPP flaps were noticed during the test
2026-09-03 11:07:53,801 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-03 11:07:53,801 - INFO - --------------------------------------------------------------------------------
2026-09-03 11:07:53,805 - INFO - ================================================================================
2026-09-03 11:07:53,805 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-03 11:07:53,805 - 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-03 11:07:54,104 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with
2026-09-03 11:07:54,104 - INFO - Initial checks done. Running the testcase now
2026-09-03 11:07:54,104 - INFO -
2026-09-03 11:07:54,395 - DEBUG - Response for create_network : {'network': {'id': '56e4dc79-db73-4461-a7d0-a0654e7fbc77', 'name': 'ctest-vn1-82799098', 'tenant_id': '2a2b31603f044182a6c6b0962e5ef14d', 'project_id': '2a2b31603f044182a6c6b0962e5ef14d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84200745', 'ctest-vn1-82799098'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:07:54,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '3357c6ba-dfcd-417b-9897-c15b3401a7de', 'name': '', 'tenant_id': '2a2b31603f044182a6c6b0962e5ef14d', 'network_id': '56e4dc79-db73-4461-a7d0-a0654e7fbc77', 'ip_version': 4, 'cidr': '20.230.143.64/26', 'allocation_pools': [{'start': '20.230.143.66', 'end': '20.230.143.126'}], 'gateway_ip': '20.230.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.230.143.66', 'tags': [], 'project_id': '2a2b31603f044182a6c6b0962e5ef14d'}}
2026-09-03 11:07:54,796 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c653728-b29d-44f6-b46a-c82e1fb33a69', 'name': '', 'tenant_id': '2a2b31603f044182a6c6b0962e5ef14d', 'network_id': '56e4dc79-db73-4461-a7d0-a0654e7fbc77', 'ip_version': 4, 'cidr': '103.115.0.128/26', 'allocation_pools': [{'start': '103.115.0.130', 'end': '103.115.0.190'}], 'gateway_ip': '103.115.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.115.0.130', 'tags': [], 'project_id': '2a2b31603f044182a6c6b0962e5ef14d'}}
2026-09-03 11:07:54,817 - INFO - Created VN ctest-vn1-82799098
2026-09-03 11:07:54,871 - DEBUG - VN ctest-vn1-82799098 UUID is 56e4dc79-db73-4461-a7d0-a0654e7fbc77
2026-09-03 11:07:55,302 - DEBUG - Response for create_port : {'port': {'name': 'b38779f7-af88-4a5c-b910-98449496dc5d', 'id': 'b38779f7-af88-4a5c-b910-98449496dc5d', 'tenant_id': '2a2b31603f044182a6c6b0962e5ef14d', 'network_id': '56e4dc79-db73-4461-a7d0-a0654e7fbc77', 'mac_address': '02:b3:87:79:f7:af', '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': '20.230.143.69', 'subnet_id': '3357c6ba-dfcd-417b-9897-c15b3401a7de'}], 'security_groups': ['f2e22ae9-71c5-4ee7-9fc4-c80543c35a3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '2a2b31603f044182a6c6b0962e5ef14d'}}
2026-09-03 11:07:55,561 - DEBUG - Response for create_port : {'port': {'name': '4f66fe39-aca2-42a1-aa32-e4024ce93c2f', 'id': '4f66fe39-aca2-42a1-aa32-e4024ce93c2f', 'tenant_id': '2a2b31603f044182a6c6b0962e5ef14d', 'network_id': '56e4dc79-db73-4461-a7d0-a0654e7fbc77', 'mac_address': '02:4f:66:fe:39:ac', '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.115.0.133', 'subnet_id': '9c653728-b29d-44f6-b46a-c82e1fb33a69'}], 'security_groups': ['f2e22ae9-71c5-4ee7-9fc4-c80543c35a3e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '2a2b31603f044182a6c6b0962e5ef14d'}}
2026-09-03 11:07:55,636 - DEBUG - Services list from nova: [, , ]
2026-09-03 11:07:56,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6250-1)
2026-09-03 11:07:56,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6250-1)
2026-09-03 11:07:56,696 - INFO - Waiting for VM ctest-vn1-vm1-50154649 to be up..
2026-09-03 11:07:56,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:01,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:07,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:12,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:17,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:22,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:27,620 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:32,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:37,839 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-03 11:08:42,955 - DEBUG - VM is in ACTIVE state now
2026-09-03 11:08:42,955 - INFO - VM name : ctest-vn1-vm1-50154649
2026-09-03 11:08:43,067 - DEBUG - VM ctest-vn1-vm1-50154649 ID is f000973b-6b8b-4a70-9407-06fe3945c040
2026-09-03 11:08:43,108 - DEBUG - VM ctest-vn1-vm1-50154649 launched on Node cn-jenkins-deploy-platform-ansible-os-6250-1
2026-09-03 11:08:43,229 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/f000973b-6b8b-4a70-9407-06fe3945c040
2026-09-03 11:08:43,243 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/b38779f7-af88-4a5c-b910-98449496dc5d
2026-09-03 11:08:46,553 - 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 1013ms')
2026-09-03 11:08:46,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50154649 failed!
2026-09-03 11:08:46,611 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84200745:ctest-vn1-82799098 is 20.230.143.65 and allocation pool is NOT set
2026-09-03 11:08:46,612 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84200745:ctest-vn1-82799098 is 103.115.0.129 and allocation pool is NOT set
2026-09-03 11:08:48,681 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.542 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.542/6.339/12.137/5.797 ms')
2026-09-03 11:08:48,681 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50154649 passed
2026-09-03 11:08:48,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-03 11:08:48,840 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50154649, IP 20.230.143.69, Port 22
2026-09-03 11:08:48,909 - 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-09-03 11:08:49,014 - DEBUG - VM ctest-vn1-vm1-50154649 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-03 11:08:54,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-03 11:08:54,015 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50154649, IP 20.230.143.69, Port 22
2026-09-03 11:08:54,193 - DEBUG - VM ctest-vn1-vm1-50154649 is ready for SSH connections
2026-09-03 11:08:54,193 - INFO - Waiting for VM ctest-vn1-vm2-05098370 to be up..
2026-09-03 11:08:54,319 - DEBUG - VM is in ACTIVE state now
2026-09-03 11:08:54,320 - INFO - VM name : ctest-vn1-vm2-05098370
2026-09-03 11:08:54,443 - DEBUG - VM ctest-vn1-vm2-05098370 ID is a6bf18e6-2749-45a0-bf75-d7bd23c04f23
2026-09-03 11:08:54,443 - DEBUG - VM ctest-vn1-vm2-05098370 launched on Node cn-jenkins-deploy-platform-ansible-os-6250-1
2026-09-03 11:08:54,535 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/a6bf18e6-2749-45a0-bf75-d7bd23c04f23
2026-09-03 11:08:54,547 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/4f66fe39-aca2-42a1-aa32-e4024ce93c2f
2026-09-03 11:08:55,804 - 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=5.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/2.901/5.236/2.334 ms')
2026-09-03 11:08:55,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05098370 passed
2026-09-03 11:08:55,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-03 11:08:55,960 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05098370, IP 103.115.0.133, Port 22
2026-09-03 11:08:56,134 - DEBUG - VM ctest-vn1-vm2-05098370 is ready for SSH connections
2026-09-03 11:08:56,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-03 11:08:56,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-03 11:08:56,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-03 11:08:56,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.230.143.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123
2026-09-03 11:08:56,134 - DEBUG - ping -s 56 -c 3 -W 1 20.230.143.69
2026-09-03 11:08:59,451 - DEBUG - PING 20.230.143.69 (20.230.143.69): 56 data bytes
64 bytes from 20.230.143.69: seq=0 ttl=63 time=5.442 ms
64 bytes from 20.230.143.69: seq=1 ttl=63 time=1.569 ms
64 bytes from 20.230.143.69: seq=2 ttl=63 time=1.282 ms
--- 20.230.143.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.282/2.764/5.442 ms
2026-09-03 11:08:59,452 - INFO - Ping to IP 20.230.143.69 from VM ctest-vn1-vm2-05098370 passed
2026-09-03 11:08:59,452 - INFO - Detaching port 4f66fe39-aca2-42a1-aa32-e4024ce93c2f from VM ctest-vn1-vm2-05098370
2026-09-03 11:08:59,520 - INFO - Deleting VM ctest-vn1-vm2-05098370
2026-09-03 11:08:59,770 - INFO - Detaching port b38779f7-af88-4a5c-b910-98449496dc5d from VM ctest-vn1-vm1-50154649
2026-09-03 11:08:59,830 - INFO - Deleting VM ctest-vn1-vm1-50154649
2026-09-03 11:09:00,170 - DEBUG - Response for delete_port : ()
2026-09-03 11:09:00,444 - DEBUG - Response for delete_port : ()
2026-09-03 11:09:00,444 - INFO - Deleting VN ctest-vn1-82799098
2026-09-03 11:09:00,618 - DEBUG - Response for deleting network ()
2026-09-03 11:09:00,904 - DEBUG - No XMPP flaps were noticed during the test
2026-09-03 11:09:00,904 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:07]
2026-09-03 11:09:00,904 - INFO - --------------------------------------------------------------------------------
2026-09-03 11:09:01,812 - INFO - Deleted project: ctest-TestPorts-84200745, ID : 2a2b3160-3f04-4182-a6c6-b0962e5ef14d