2026-01-12 21:46:14,526 - INFO - Domain Default found not creating
2026-01-12 21:46:14,692 - INFO - Project ctest-TestPorts-12633964 not found, creating it
2026-01-12 21:46:15,125 - INFO - Created Project:ctest-TestPorts-12633964, ID : 418c40f5-9a07-48af-be2b-5513907374f4
2026-01-12 21:46:17,057 - INFO - ================================================================================
2026-01-12 21:46:17,057 - INFO - STARTING TEST : test_ports_bindings
2026-01-12 21:46:17,057 - 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-12 21:46:17,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-01-12 21:46:17,314 - INFO - Initial checks done. Running the testcase now
2026-01-12 21:46:17,314 - INFO -
2026-01-12 21:46:17,839 - DEBUG - Response for create_network : {'network': {'id': '328bdd83-0aab-4376-8cb7-a8810dc276fd', 'name': 'ctest-vn-14845852', 'tenant_id': '418c40f59a0748afbe2b5513907374f4', 'project_id': '418c40f59a0748afbe2b5513907374f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12633964', 'ctest-vn-14845852'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 21:46:17,997 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdef6983-1021-438f-bf68-f1dac779d290', 'name': '', 'tenant_id': '418c40f59a0748afbe2b5513907374f4', 'network_id': '328bdd83-0aab-4376-8cb7-a8810dc276fd', 'ip_version': 4, 'cidr': '86.127.214.128/26', 'allocation_pools': [{'start': '86.127.214.130', 'end': '86.127.214.190'}], 'gateway_ip': '86.127.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.127.214.130', 'tags': [], 'project_id': '418c40f59a0748afbe2b5513907374f4'}}
2026-01-12 21:46:18,015 - INFO - Created VN ctest-vn-14845852
2026-01-12 21:46:18,068 - DEBUG - VN ctest-vn-14845852 UUID is 328bdd83-0aab-4376-8cb7-a8810dc276fd
2026-01-12 21:46:18,164 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12633964', 'ctest-vmi-33822780']}
2026-01-12 21:46:18,436 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33822780', 'id': '8cf75ff8-1c70-4a9a-9c4f-21c8816b89c8', 'tenant_id': '418c40f59a0748afbe2b5513907374f4', 'network_id': '328bdd83-0aab-4376-8cb7-a8810dc276fd', 'mac_address': '02:8c:f7:5f:f8:1c', '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': '86.127.214.131', 'subnet_id': 'cdef6983-1021-438f-bf68-f1dac779d290'}], 'security_groups': ['9b1392f6-f5ff-4c35-8068-e1ab9673bcbc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '418c40f59a0748afbe2b5513907374f4'}}
2026-01-12 21:46:18,436 - DEBUG - Created port 8cf75ff8-1c70-4a9a-9c4f-21c8816b89c8
2026-01-12 21:46:18,548 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8cf75ff8-1c70-4a9a-9c4f-21c8816b89c8
2026-01-12 21:46:18,843 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8cf75ff8-1c70-4a9a-9c4f-21c8816b89c8
2026-01-12 21:46:18,876 - INFO - VMI 8cf75ff8-1c70-4a9a-9c4f-21c8816b89c8 verification in API Server passed
2026-01-12 21:46:18,949 - DEBUG - Response for delete_port : ()
2026-01-12 21:46:18,950 - INFO - Deleted port 8cf75ff8-1c70-4a9a-9c4f-21c8816b89c8
2026-01-12 21:46:18,950 - INFO - Deleting VN ctest-vn-14845852
2026-01-12 21:46:19,038 - DEBUG - Response for deleting network ()
2026-01-12 21:46:19,302 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 21:46:19,302 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-12 21:46:19,302 - INFO - --------------------------------------------------------------------------------
2026-01-12 21:46:19,304 - INFO - ================================================================================
2026-01-12 21:46:19,305 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-12 21:46:19,305 - 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-12 21:46:19,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-01-12 21:46:19,585 - INFO - Initial checks done. Running the testcase now
2026-01-12 21:46:19,585 - INFO -
2026-01-12 21:46:19,739 - DEBUG - Response for create_network : {'network': {'id': '19c66231-2afd-4e37-97b7-3eb0a37c4e91', 'name': 'ctest-vn1-13506688', 'tenant_id': '418c40f59a0748afbe2b5513907374f4', 'project_id': '418c40f59a0748afbe2b5513907374f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12633964', 'ctest-vn1-13506688'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 21:46:19,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '230f53e1-772a-453c-9681-aa82f2f8b7c6', 'name': '', 'tenant_id': '418c40f59a0748afbe2b5513907374f4', 'network_id': '19c66231-2afd-4e37-97b7-3eb0a37c4e91', 'ip_version': 4, 'cidr': '207.28.99.64/26', 'allocation_pools': [{'start': '207.28.99.66', 'end': '207.28.99.126'}], 'gateway_ip': '207.28.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.28.99.66', 'tags': [], 'project_id': '418c40f59a0748afbe2b5513907374f4'}}
2026-01-12 21:46:20,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '92602671-79bf-44f5-af42-bcbd021c3366', 'name': '', 'tenant_id': '418c40f59a0748afbe2b5513907374f4', 'network_id': '19c66231-2afd-4e37-97b7-3eb0a37c4e91', 'ip_version': 4, 'cidr': '18.136.54.0/26', 'allocation_pools': [{'start': '18.136.54.2', 'end': '18.136.54.62'}], 'gateway_ip': '18.136.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.136.54.2', 'tags': [], 'project_id': '418c40f59a0748afbe2b5513907374f4'}}
2026-01-12 21:46:20,131 - INFO - Created VN ctest-vn1-13506688
2026-01-12 21:46:20,184 - DEBUG - VN ctest-vn1-13506688 UUID is 19c66231-2afd-4e37-97b7-3eb0a37c4e91
2026-01-12 21:46:20,458 - DEBUG - Response for create_port : {'port': {'name': '306c4671-c2d5-450a-a3a0-b0752e933c31', 'id': '306c4671-c2d5-450a-a3a0-b0752e933c31', 'tenant_id': '418c40f59a0748afbe2b5513907374f4', 'network_id': '19c66231-2afd-4e37-97b7-3eb0a37c4e91', 'mac_address': '02:30:6c:46:71:c2', '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': '207.28.99.69', 'subnet_id': '230f53e1-772a-453c-9681-aa82f2f8b7c6'}], 'security_groups': ['9b1392f6-f5ff-4c35-8068-e1ab9673bcbc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '418c40f59a0748afbe2b5513907374f4'}}
2026-01-12 21:46:20,639 - DEBUG - Response for create_port : {'port': {'name': '75b3d4c2-1707-41a6-a46c-710bab0c2fb2', 'id': '75b3d4c2-1707-41a6-a46c-710bab0c2fb2', 'tenant_id': '418c40f59a0748afbe2b5513907374f4', 'network_id': '19c66231-2afd-4e37-97b7-3eb0a37c4e91', 'mac_address': '02:75:b3:d4:c2:17', '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': '18.136.54.5', 'subnet_id': '92602671-79bf-44f5-af42-bcbd021c3366'}], 'security_groups': ['9b1392f6-f5ff-4c35-8068-e1ab9673bcbc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '418c40f59a0748afbe2b5513907374f4'}}
2026-01-12 21:46:20,690 - DEBUG - Services list from nova: [, , ]
2026-01-12 21:46:21,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4998-1)
2026-01-12 21:46:21,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4998-1)
2026-01-12 21:46:21,376 - INFO - Waiting for VM ctest-vn1-vm1-05521904 to be up..
2026-01-12 21:46:21,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-12 21:46:26,480 - DEBUG - VM is in ACTIVE state now
2026-01-12 21:46:26,480 - INFO - VM name : ctest-vn1-vm1-05521904
2026-01-12 21:46:26,543 - DEBUG - VM ctest-vn1-vm1-05521904 ID is f41e9ec8-cf5b-42fa-ac8d-971ef6678ff4
2026-01-12 21:46:26,560 - DEBUG - VM ctest-vn1-vm1-05521904 launched on Node cn-jenkins-deploy-platform-ansible-os-4998-1
2026-01-12 21:46:26,624 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f41e9ec8-cf5b-42fa-ac8d-971ef6678ff4
2026-01-12 21:46:26,631 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/306c4671-c2d5-450a-a3a0-b0752e933c31
2026-01-12 21:46:29,881 - 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 1019ms')
2026-01-12 21:46:29,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05521904 failed!
2026-01-12 21:46:29,936 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12633964:ctest-vn1-13506688 is 207.28.99.65 and allocation pool is NOT set
2026-01-12 21:46:29,936 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12633964:ctest-vn1-13506688 is 18.136.54.1 and allocation pool is NOT set
2026-01-12 21:46:31,997 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.38 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 = 2.383/2.762/3.141/0.379 ms')
2026-01-12 21:46:31,997 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05521904 passed
2026-01-12 21:46:32,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 21:46:32,148 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05521904, IP 207.28.99.69, Port 22
2026-01-12 21:46:32,303 - DEBUG - VM ctest-vn1-vm1-05521904 is ready for SSH connections
2026-01-12 21:46:32,303 - INFO - Waiting for VM ctest-vn1-vm2-17735311 to be up..
2026-01-12 21:46:32,371 - DEBUG - VM is in ACTIVE state now
2026-01-12 21:46:32,371 - INFO - VM name : ctest-vn1-vm2-17735311
2026-01-12 21:46:32,438 - DEBUG - VM ctest-vn1-vm2-17735311 ID is 01673e88-e3ff-4506-b6c7-a1e0a6e30064
2026-01-12 21:46:32,438 - DEBUG - VM ctest-vn1-vm2-17735311 launched on Node cn-jenkins-deploy-platform-ansible-os-4998-1
2026-01-12 21:46:32,500 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/01673e88-e3ff-4506-b6c7-a1e0a6e30064
2026-01-12 21:46:32,507 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/75b3d4c2-1707-41a6-a46c-710bab0c2fb2
2026-01-12 21:46:33,740 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.895 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.895/1.952/3.009/1.057 ms')
2026-01-12 21:46:33,740 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17735311 passed
2026-01-12 21:46:33,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 21:46:33,888 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17735311, IP 18.136.54.5, Port 22
2026-01-12 21:46:34,043 - DEBUG - VM ctest-vn1-vm2-17735311 is ready for SSH connections
2026-01-12 21:46:34,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 21:46:34,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 21:46:34,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 21:46:34,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.28.99.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-01-12 21:46:34,044 - DEBUG - ping -s 56 -c 3 -W 1 207.28.99.69
2026-01-12 21:46:37,017 - DEBUG - PING 207.28.99.69 (207.28.99.69): 56 data bytes
64 bytes from 207.28.99.69: seq=0 ttl=63 time=3.531 ms
64 bytes from 207.28.99.69: seq=1 ttl=63 time=0.756 ms
64 bytes from 207.28.99.69: seq=2 ttl=63 time=0.855 ms
--- 207.28.99.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.756/1.714/3.531 ms
2026-01-12 21:46:37,017 - INFO - Ping to IP 207.28.99.69 from VM ctest-vn1-vm2-17735311 passed
2026-01-12 21:46:37,017 - INFO - Detaching port 75b3d4c2-1707-41a6-a46c-710bab0c2fb2 from VM ctest-vn1-vm2-17735311
2026-01-12 21:46:37,065 - INFO - Deleting VM ctest-vn1-vm2-17735311
2026-01-12 21:46:37,138 - INFO - Detaching port 306c4671-c2d5-450a-a3a0-b0752e933c31 from VM ctest-vn1-vm1-05521904
2026-01-12 21:46:37,173 - INFO - Deleting VM ctest-vn1-vm1-05521904
2026-01-12 21:46:37,377 - DEBUG - Response for delete_port : ()
2026-01-12 21:46:37,529 - DEBUG - Response for delete_port : ()
2026-01-12 21:46:37,529 - INFO - Deleting VN ctest-vn1-13506688
2026-01-12 21:46:37,658 - DEBUG - Response for deleting network ()
2026-01-12 21:46:37,918 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 21:46:37,918 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2026-01-12 21:46:37,918 - INFO - --------------------------------------------------------------------------------
2026-01-12 21:46:38,594 - INFO - Deleted project: ctest-TestPorts-12633964, ID : 418c40f5-9a07-48af-be2b-5513907374f4