2026-01-15 12:07:44,222 - INFO - Domain Default found not creating 2026-01-15 12:07:44,395 - INFO - Project ctest-TestPorts-04798835 not found, creating it 2026-01-15 12:07:44,881 - INFO - Created Project:ctest-TestPorts-04798835, ID : d8f1e4b5-0008-4561-a7f7-c9073a8bf494 2026-01-15 12:07:46,431 - INFO - ================================================================================ 2026-01-15 12:07:46,432 - INFO - STARTING TEST : test_ports_bindings 2026-01-15 12:07:46,432 - 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-15 12:07:46,697 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-15 12:07:46,697 - INFO - Initial checks done. Running the testcase now 2026-01-15 12:07:46,698 - INFO - 2026-01-15 12:07:47,296 - DEBUG - Response for create_network : {'network': {'id': 'c09fc97d-3832-4c79-bf69-dcb2f87a6277', 'name': 'ctest-vn-93882278', 'tenant_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'project_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04798835', 'ctest-vn-93882278'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 12:07:47,464 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a96dd1d-62a5-4b1e-8323-4d47fea6e4ff', 'name': '', 'tenant_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'network_id': 'c09fc97d-3832-4c79-bf69-dcb2f87a6277', 'ip_version': 4, 'cidr': '68.96.212.64/26', 'allocation_pools': [{'start': '68.96.212.66', 'end': '68.96.212.126'}], 'gateway_ip': '68.96.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.96.212.66', 'tags': [], 'project_id': 'd8f1e4b500084561a7f7c9073a8bf494'}} 2026-01-15 12:07:47,484 - INFO - Created VN ctest-vn-93882278 2026-01-15 12:07:47,538 - DEBUG - VN ctest-vn-93882278 UUID is c09fc97d-3832-4c79-bf69-dcb2f87a6277 2026-01-15 12:07:47,664 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04798835', 'ctest-vmi-89950052']} 2026-01-15 12:07:47,926 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89950052', 'id': '19f30fe3-4881-4298-96d2-0b51c5d6201b', 'tenant_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'network_id': 'c09fc97d-3832-4c79-bf69-dcb2f87a6277', 'mac_address': '02:19:f3:0f:e3:48', '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': '68.96.212.67', 'subnet_id': '4a96dd1d-62a5-4b1e-8323-4d47fea6e4ff'}], 'security_groups': ['0e7ebc09-7767-46a2-b470-15068fdd0dfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd8f1e4b500084561a7f7c9073a8bf494'}} 2026-01-15 12:07:47,926 - DEBUG - Created port 19f30fe3-4881-4298-96d2-0b51c5d6201b 2026-01-15 12:07:48,030 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/19f30fe3-4881-4298-96d2-0b51c5d6201b 2026-01-15 12:07:48,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/19f30fe3-4881-4298-96d2-0b51c5d6201b 2026-01-15 12:07:48,368 - INFO - VMI 19f30fe3-4881-4298-96d2-0b51c5d6201b verification in API Server passed 2026-01-15 12:07:48,458 - DEBUG - Response for delete_port : () 2026-01-15 12:07:48,458 - INFO - Deleted port 19f30fe3-4881-4298-96d2-0b51c5d6201b 2026-01-15 12:07:48,458 - INFO - Deleting VN ctest-vn-93882278 2026-01-15 12:07:48,555 - DEBUG - Response for deleting network () 2026-01-15 12:07:48,819 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 12:07:48,819 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-15 12:07:48,819 - INFO - -------------------------------------------------------------------------------- 2026-01-15 12:07:48,822 - INFO - ================================================================================ 2026-01-15 12:07:48,822 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-15 12:07:48,822 - 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-15 12:07:49,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-15 12:07:49,115 - INFO - Initial checks done. Running the testcase now 2026-01-15 12:07:49,115 - INFO - 2026-01-15 12:07:49,294 - DEBUG - Response for create_network : {'network': {'id': '40fbe2ab-fff1-41fa-900e-27b8412574ea', 'name': 'ctest-vn1-85864158', 'tenant_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'project_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04798835', 'ctest-vn1-85864158'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 12:07:49,436 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e545a2d-9764-4101-ba73-b3b61f74f0c8', 'name': '', 'tenant_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'network_id': '40fbe2ab-fff1-41fa-900e-27b8412574ea', 'ip_version': 4, 'cidr': '212.155.172.128/26', 'allocation_pools': [{'start': '212.155.172.130', 'end': '212.155.172.190'}], 'gateway_ip': '212.155.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.155.172.130', 'tags': [], 'project_id': 'd8f1e4b500084561a7f7c9073a8bf494'}} 2026-01-15 12:07:49,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c7c096b-ad87-4036-a7ac-872789cff8ba', 'name': '', 'tenant_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'network_id': '40fbe2ab-fff1-41fa-900e-27b8412574ea', 'ip_version': 4, 'cidr': '122.159.26.64/26', 'allocation_pools': [{'start': '122.159.26.66', 'end': '122.159.26.126'}], 'gateway_ip': '122.159.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.159.26.66', 'tags': [], 'project_id': 'd8f1e4b500084561a7f7c9073a8bf494'}} 2026-01-15 12:07:49,627 - INFO - Created VN ctest-vn1-85864158 2026-01-15 12:07:49,678 - DEBUG - VN ctest-vn1-85864158 UUID is 40fbe2ab-fff1-41fa-900e-27b8412574ea 2026-01-15 12:07:49,988 - DEBUG - Response for create_port : {'port': {'name': 'cb87c21f-5f59-4918-bb89-30fc461df38c', 'id': 'cb87c21f-5f59-4918-bb89-30fc461df38c', 'tenant_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'network_id': '40fbe2ab-fff1-41fa-900e-27b8412574ea', 'mac_address': '02:cb:87:c2:1f:5f', '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': '212.155.172.133', 'subnet_id': '8e545a2d-9764-4101-ba73-b3b61f74f0c8'}], 'security_groups': ['0e7ebc09-7767-46a2-b470-15068fdd0dfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd8f1e4b500084561a7f7c9073a8bf494'}} 2026-01-15 12:07:50,168 - DEBUG - Response for create_port : {'port': {'name': '2ae39112-0cf3-4e6a-ad61-1c96b3c4ccc8', 'id': '2ae39112-0cf3-4e6a-ad61-1c96b3c4ccc8', 'tenant_id': 'd8f1e4b500084561a7f7c9073a8bf494', 'network_id': '40fbe2ab-fff1-41fa-900e-27b8412574ea', 'mac_address': '02:2a:e3:91:12:0c', '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': '122.159.26.69', 'subnet_id': '6c7c096b-ad87-4036-a7ac-872789cff8ba'}], 'security_groups': ['0e7ebc09-7767-46a2-b470-15068fdd0dfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd8f1e4b500084561a7f7c9073a8bf494'}} 2026-01-15 12:07:50,227 - DEBUG - Services list from nova: [, , ] 2026-01-15 12:07:50,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5019-1) 2026-01-15 12:07:51,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5019-1) 2026-01-15 12:07:51,158 - INFO - Waiting for VM ctest-vn1-vm1-42325473 to be up.. 2026-01-15 12:07:51,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 12:07:56,274 - DEBUG - VM is in ACTIVE state now 2026-01-15 12:07:56,274 - INFO - VM name : ctest-vn1-vm1-42325473 2026-01-15 12:07:56,356 - DEBUG - VM ctest-vn1-vm1-42325473 ID is 6f75664e-ca23-43f1-b855-5d289f235220 2026-01-15 12:07:56,376 - DEBUG - VM ctest-vn1-vm1-42325473 launched on Node cn-jenkins-deploy-platform-ansible-os-5019-1 2026-01-15 12:07:56,476 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6f75664e-ca23-43f1-b855-5d289f235220 2026-01-15 12:07:56,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cb87c21f-5f59-4918-bb89-30fc461df38c 2026-01-15 12:07:59,753 - 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 1034ms') 2026-01-15 12:07:59,753 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42325473 failed! 2026-01-15 12:07:59,810 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04798835:ctest-vn1-85864158 is 212.155.172.129 and allocation pool is NOT set 2026-01-15 12:07:59,811 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04798835:ctest-vn1-85864158 is 122.159.26.65 and allocation pool is NOT set 2026-01-15 12:08:01,886 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.88 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 = 3.013/4.446/5.880/1.433 ms') 2026-01-15 12:08:01,886 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42325473 passed 2026-01-15 12:08:02,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:08:02,043 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42325473, IP 212.155.172.133, Port 22 2026-01-15 12:08:02,109 - 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-15 12:08:02,187 - DEBUG - VM ctest-vn1-vm1-42325473 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-15 12:08:07,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:08:07,188 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42325473, IP 212.155.172.133, Port 22 2026-01-15 12:08:07,358 - DEBUG - VM ctest-vn1-vm1-42325473 is ready for SSH connections 2026-01-15 12:08:07,358 - INFO - Waiting for VM ctest-vn1-vm2-89052843 to be up.. 2026-01-15 12:08:07,432 - DEBUG - VM is in ACTIVE state now 2026-01-15 12:08:07,432 - INFO - VM name : ctest-vn1-vm2-89052843 2026-01-15 12:08:07,509 - DEBUG - VM ctest-vn1-vm2-89052843 ID is c294f94c-4a23-4ece-9e27-e15fab392523 2026-01-15 12:08:07,509 - DEBUG - VM ctest-vn1-vm2-89052843 launched on Node cn-jenkins-deploy-platform-ansible-os-5019-1 2026-01-15 12:08:07,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c294f94c-4a23-4ece-9e27-e15fab392523 2026-01-15 12:08:07,587 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2ae39112-0cf3-4e6a-ad61-1c96b3c4ccc8 2026-01-15 12:08:08,814 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.395/1.691/2.988/1.296 ms') 2026-01-15 12:08:08,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89052843 passed 2026-01-15 12:08:08,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:08:08,963 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89052843, IP 122.159.26.69, Port 22 2026-01-15 12:08:09,118 - DEBUG - VM ctest-vn1-vm2-89052843 is ready for SSH connections 2026-01-15 12:08:09,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:08:09,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:08:09,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 12:08:09,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.155.172.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-15 12:08:09,119 - DEBUG - ping -s 56 -c 3 -W 1 212.155.172.133 2026-01-15 12:08:12,114 - DEBUG - PING 212.155.172.133 (212.155.172.133): 56 data bytes 64 bytes from 212.155.172.133: seq=0 ttl=63 time=3.553 ms 64 bytes from 212.155.172.133: seq=1 ttl=63 time=0.897 ms 64 bytes from 212.155.172.133: seq=2 ttl=63 time=1.096 ms --- 212.155.172.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/1.848/3.553 ms 2026-01-15 12:08:12,114 - INFO - Ping to IP 212.155.172.133 from VM ctest-vn1-vm2-89052843 passed 2026-01-15 12:08:12,114 - INFO - Detaching port 2ae39112-0cf3-4e6a-ad61-1c96b3c4ccc8 from VM ctest-vn1-vm2-89052843 2026-01-15 12:08:12,165 - INFO - Deleting VM ctest-vn1-vm2-89052843 2026-01-15 12:08:12,244 - INFO - Detaching port cb87c21f-5f59-4918-bb89-30fc461df38c from VM ctest-vn1-vm1-42325473 2026-01-15 12:08:12,289 - INFO - Deleting VM ctest-vn1-vm1-42325473 2026-01-15 12:08:12,542 - DEBUG - Response for delete_port : () 2026-01-15 12:08:12,698 - DEBUG - Response for delete_port : () 2026-01-15 12:08:12,698 - INFO - Deleting VN ctest-vn1-85864158 2026-01-15 12:08:12,819 - DEBUG - Response for deleting network () 2026-01-15 12:08:13,078 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 12:08:13,078 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-01-15 12:08:13,078 - INFO - -------------------------------------------------------------------------------- 2026-01-15 12:08:13,779 - INFO - Deleted project: ctest-TestPorts-04798835, ID : d8f1e4b5-0008-4561-a7f7-c9073a8bf494