2026-04-20 12:08:26,835 - INFO - Domain Default found not creating
2026-04-20 12:08:27,021 - INFO - Project ctest-TestPorts-10826963 not found, creating it
2026-04-20 12:08:27,614 - INFO - Created Project:ctest-TestPorts-10826963, ID : a759f1e4-99f3-4346-ac12-ac6dc7db4ec7
2026-04-20 12:08:29,173 - INFO - ================================================================================
2026-04-20 12:08:29,173 - INFO - STARTING TEST : test_ports_bindings
2026-04-20 12:08:29,174 - 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-04-20 12:08:29,429 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-20 12:08:29,429 - INFO - Initial checks done. Running the testcase now
2026-04-20 12:08:29,429 - INFO -
2026-04-20 12:08:29,997 - DEBUG - Response for create_network : {'network': {'id': 'c6a0a532-7d2a-4644-a221-8425e6ad5c4e', 'name': 'ctest-vn-87179856', 'tenant_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'project_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10826963', 'ctest-vn-87179856'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 12:08:30,217 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c146acf4-7803-49ed-8f6f-b3230093b4d8', 'name': '', 'tenant_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'network_id': 'c6a0a532-7d2a-4644-a221-8425e6ad5c4e', 'ip_version': 4, 'cidr': '63.62.17.192/26', 'allocation_pools': [{'start': '63.62.17.194', 'end': '63.62.17.254'}], 'gateway_ip': '63.62.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.62.17.194', 'tags': [], 'project_id': 'a759f1e499f34346ac12ac6dc7db4ec7'}}
2026-04-20 12:08:30,235 - INFO - Created VN ctest-vn-87179856
2026-04-20 12:08:30,290 - DEBUG - VN ctest-vn-87179856 UUID is c6a0a532-7d2a-4644-a221-8425e6ad5c4e
2026-04-20 12:08:30,408 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10826963', 'ctest-vmi-63638858']}
2026-04-20 12:08:30,665 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63638858', 'id': '6822bf88-388b-49ca-a889-59ebc68ce9f6', 'tenant_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'network_id': 'c6a0a532-7d2a-4644-a221-8425e6ad5c4e', 'mac_address': '02:68:22:bf:88:38', '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': '63.62.17.195', 'subnet_id': 'c146acf4-7803-49ed-8f6f-b3230093b4d8'}], 'security_groups': ['acdd403d-e389-4af7-b00e-9c01f4723b05'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a759f1e499f34346ac12ac6dc7db4ec7'}}
2026-04-20 12:08:30,666 - DEBUG - Created port 6822bf88-388b-49ca-a889-59ebc68ce9f6
2026-04-20 12:08:30,770 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6822bf88-388b-49ca-a889-59ebc68ce9f6
2026-04-20 12:08:31,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6822bf88-388b-49ca-a889-59ebc68ce9f6
2026-04-20 12:08:31,111 - INFO - VMI 6822bf88-388b-49ca-a889-59ebc68ce9f6 verification in API Server passed
2026-04-20 12:08:31,215 - DEBUG - Response for delete_port : ()
2026-04-20 12:08:31,215 - INFO - Deleted port 6822bf88-388b-49ca-a889-59ebc68ce9f6
2026-04-20 12:08:31,215 - INFO - Deleting VN ctest-vn-87179856
2026-04-20 12:08:31,323 - DEBUG - Response for deleting network ()
2026-04-20 12:08:31,580 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 12:08:31,580 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-20 12:08:31,580 - INFO - --------------------------------------------------------------------------------
2026-04-20 12:08:31,582 - INFO - ================================================================================
2026-04-20 12:08:31,582 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-20 12:08:31,582 - 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-04-20 12:08:31,868 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-20 12:08:31,868 - INFO - Initial checks done. Running the testcase now
2026-04-20 12:08:31,868 - INFO -
2026-04-20 12:08:32,053 - DEBUG - Response for create_network : {'network': {'id': '29603718-27ed-4bcd-b77f-59d9133c5d98', 'name': 'ctest-vn1-16044604', 'tenant_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'project_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10826963', 'ctest-vn1-16044604'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 12:08:32,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '2159b087-6033-4340-87ee-b42173d546b5', 'name': '', 'tenant_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'network_id': '29603718-27ed-4bcd-b77f-59d9133c5d98', 'ip_version': 4, 'cidr': '63.157.71.0/26', 'allocation_pools': [{'start': '63.157.71.2', 'end': '63.157.71.62'}], 'gateway_ip': '63.157.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.157.71.2', 'tags': [], 'project_id': 'a759f1e499f34346ac12ac6dc7db4ec7'}}
2026-04-20 12:08:32,424 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9c58b54-88de-43be-8b11-08c9527bb854', 'name': '', 'tenant_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'network_id': '29603718-27ed-4bcd-b77f-59d9133c5d98', 'ip_version': 4, 'cidr': '152.181.219.0/26', 'allocation_pools': [{'start': '152.181.219.2', 'end': '152.181.219.62'}], 'gateway_ip': '152.181.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.181.219.2', 'tags': [], 'project_id': 'a759f1e499f34346ac12ac6dc7db4ec7'}}
2026-04-20 12:08:32,446 - INFO - Created VN ctest-vn1-16044604
2026-04-20 12:08:32,498 - DEBUG - VN ctest-vn1-16044604 UUID is 29603718-27ed-4bcd-b77f-59d9133c5d98
2026-04-20 12:08:32,801 - DEBUG - Response for create_port : {'port': {'name': '4fd8e244-26d0-4bb0-9669-17de0074aedb', 'id': '4fd8e244-26d0-4bb0-9669-17de0074aedb', 'tenant_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'network_id': '29603718-27ed-4bcd-b77f-59d9133c5d98', 'mac_address': '02:4f:d8:e2:44:26', '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': '63.157.71.5', 'subnet_id': '2159b087-6033-4340-87ee-b42173d546b5'}], 'security_groups': ['acdd403d-e389-4af7-b00e-9c01f4723b05'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a759f1e499f34346ac12ac6dc7db4ec7'}}
2026-04-20 12:08:32,974 - DEBUG - Response for create_port : {'port': {'name': 'f14aba6f-78c5-49da-b2e1-80093c048a93', 'id': 'f14aba6f-78c5-49da-b2e1-80093c048a93', 'tenant_id': 'a759f1e499f34346ac12ac6dc7db4ec7', 'network_id': '29603718-27ed-4bcd-b77f-59d9133c5d98', 'mac_address': '02:f1:4a:ba:6f:78', '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': '152.181.219.5', 'subnet_id': 'f9c58b54-88de-43be-8b11-08c9527bb854'}], 'security_groups': ['acdd403d-e389-4af7-b00e-9c01f4723b05'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a759f1e499f34346ac12ac6dc7db4ec7'}}
2026-04-20 12:08:33,035 - DEBUG - Services list from nova: [, , ]
2026-04-20 12:08:33,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5650-1)
2026-04-20 12:08:33,840 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5650-1)
2026-04-20 12:08:33,840 - INFO - Waiting for VM ctest-vn1-vm1-57619793 to be up..
2026-04-20 12:08:33,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-20 12:08:38,985 - DEBUG - VM is in ACTIVE state now
2026-04-20 12:08:38,985 - INFO - VM name : ctest-vn1-vm1-57619793
2026-04-20 12:08:39,073 - DEBUG - VM ctest-vn1-vm1-57619793 ID is 67cefad8-88f9-4136-8ced-e6e1fac89397
2026-04-20 12:08:39,101 - DEBUG - VM ctest-vn1-vm1-57619793 launched on Node cn-jenkins-deploy-platform-ansible-os-5650-1
2026-04-20 12:08:39,202 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/67cefad8-88f9-4136-8ced-e6e1fac89397
2026-04-20 12:08:39,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4fd8e244-26d0-4bb0-9669-17de0074aedb
2026-04-20 12:08:42,467 - 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 1018ms')
2026-04-20 12:08:42,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57619793 failed!
2026-04-20 12:08:42,522 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10826963:ctest-vn1-16044604 is 63.157.71.1 and allocation pool is NOT set
2026-04-20 12:08:42,522 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10826963:ctest-vn1-16044604 is 152.181.219.1 and allocation pool is NOT set
2026-04-20 12:08:46,607 - 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=2 ttl=63 time=11.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 11.016/11.016/11.016/0.000 ms')
2026-04-20 12:08:46,607 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57619793 passed
2026-04-20 12:08:46,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:08:46,766 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57619793, IP 63.157.71.5, Port 22
2026-04-20 12:08:46,922 - DEBUG - VM ctest-vn1-vm1-57619793 is ready for SSH connections
2026-04-20 12:08:46,922 - INFO - Waiting for VM ctest-vn1-vm2-96687756 to be up..
2026-04-20 12:08:47,009 - DEBUG - VM is in ACTIVE state now
2026-04-20 12:08:47,010 - INFO - VM name : ctest-vn1-vm2-96687756
2026-04-20 12:08:47,111 - DEBUG - VM ctest-vn1-vm2-96687756 ID is aab7a3b5-7f81-4f82-846d-71ba4959c822
2026-04-20 12:08:47,112 - DEBUG - VM ctest-vn1-vm2-96687756 launched on Node cn-jenkins-deploy-platform-ansible-os-5650-1
2026-04-20 12:08:47,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aab7a3b5-7f81-4f82-846d-71ba4959c822
2026-04-20 12:08:47,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f14aba6f-78c5-49da-b2e1-80093c048a93
2026-04-20 12:08:48,463 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.433/2.143/3.854/1.710 ms')
2026-04-20 12:08:48,463 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96687756 passed
2026-04-20 12:08:48,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:08:48,618 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96687756, IP 152.181.219.5, Port 22
2026-04-20 12:08:48,774 - DEBUG - VM ctest-vn1-vm2-96687756 is ready for SSH connections
2026-04-20 12:08:48,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:08:48,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:08:48,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 12:08:48,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.157.71.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-04-20 12:08:48,774 - DEBUG - ping -s 56 -c 3 -W 1 63.157.71.5
2026-04-20 12:08:51,460 - DEBUG - PING 63.157.71.5 (63.157.71.5): 56 data bytes
64 bytes from 63.157.71.5: seq=0 ttl=63 time=3.824 ms
64 bytes from 63.157.71.5: seq=1 ttl=63 time=0.907 ms
64 bytes from 63.157.71.5: seq=2 ttl=63 time=1.128 ms
--- 63.157.71.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.907/1.953/3.824 ms
2026-04-20 12:08:51,460 - INFO - Ping to IP 63.157.71.5 from VM ctest-vn1-vm2-96687756 passed
2026-04-20 12:08:51,461 - INFO - Detaching port f14aba6f-78c5-49da-b2e1-80093c048a93 from VM ctest-vn1-vm2-96687756
2026-04-20 12:08:51,517 - INFO - Deleting VM ctest-vn1-vm2-96687756
2026-04-20 12:08:51,594 - INFO - Detaching port 4fd8e244-26d0-4bb0-9669-17de0074aedb from VM ctest-vn1-vm1-57619793
2026-04-20 12:08:51,630 - INFO - Deleting VM ctest-vn1-vm1-57619793
2026-04-20 12:08:51,933 - DEBUG - Response for delete_port : ()
2026-04-20 12:08:52,128 - DEBUG - Response for delete_port : ()
2026-04-20 12:08:52,128 - INFO - Deleting VN ctest-vn1-16044604
2026-04-20 12:08:52,277 - DEBUG - Response for deleting network ()
2026-04-20 12:08:52,543 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 12:08:52,543 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-04-20 12:08:52,543 - INFO - --------------------------------------------------------------------------------
2026-04-20 12:08:53,258 - INFO - Deleted project: ctest-TestPorts-10826963, ID : a759f1e4-99f3-4346-ac12-ac6dc7db4ec7