2026-04-17 15:48:47,017 - INFO - Domain Default found not creating
2026-04-17 15:48:47,205 - INFO - Project ctest-TestPorts-56254164 not found, creating it
2026-04-17 15:48:47,704 - INFO - Created Project:ctest-TestPorts-56254164, ID : 36fcfa62-4c18-4fef-89eb-6f14f9641e82
2026-04-17 15:48:49,398 - INFO - ================================================================================
2026-04-17 15:48:49,399 - INFO - STARTING TEST : test_ports_bindings
2026-04-17 15:48:49,399 - 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-17 15:48:49,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-17 15:48:49,655 - INFO - Initial checks done. Running the testcase now
2026-04-17 15:48:49,655 - INFO -
2026-04-17 15:48:50,239 - DEBUG - Response for create_network : {'network': {'id': '0639d46b-012c-49ee-8a4c-951d49a6da6d', 'name': 'ctest-vn-66952898', 'tenant_id': '36fcfa624c184fef89eb6f14f9641e82', 'project_id': '36fcfa624c184fef89eb6f14f9641e82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56254164', 'ctest-vn-66952898'], 'port_security_enabled': True, 'description': ''}}
2026-04-17 15:48:50,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc8675f2-bd91-421b-8614-89d6e1c8b4f5', 'name': '', 'tenant_id': '36fcfa624c184fef89eb6f14f9641e82', 'network_id': '0639d46b-012c-49ee-8a4c-951d49a6da6d', 'ip_version': 4, 'cidr': '89.227.192.192/26', 'allocation_pools': [{'start': '89.227.192.194', 'end': '89.227.192.254'}], 'gateway_ip': '89.227.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.227.192.194', 'tags': [], 'project_id': '36fcfa624c184fef89eb6f14f9641e82'}}
2026-04-17 15:48:50,434 - INFO - Created VN ctest-vn-66952898
2026-04-17 15:48:50,486 - DEBUG - VN ctest-vn-66952898 UUID is 0639d46b-012c-49ee-8a4c-951d49a6da6d
2026-04-17 15:48:50,605 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-56254164', 'ctest-vmi-31491143']}
2026-04-17 15:48:50,862 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31491143', 'id': '923dfe8f-b0f9-4586-8e5c-bf668abe9dc4', 'tenant_id': '36fcfa624c184fef89eb6f14f9641e82', 'network_id': '0639d46b-012c-49ee-8a4c-951d49a6da6d', 'mac_address': '02:92:3d:fe:8f:b0', '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': '89.227.192.195', 'subnet_id': 'bc8675f2-bd91-421b-8614-89d6e1c8b4f5'}], 'security_groups': ['892e777e-70e5-41e0-a7ee-093e48fa0099'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '36fcfa624c184fef89eb6f14f9641e82'}}
2026-04-17 15:48:50,863 - DEBUG - Created port 923dfe8f-b0f9-4586-8e5c-bf668abe9dc4
2026-04-17 15:48:50,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/923dfe8f-b0f9-4586-8e5c-bf668abe9dc4
2026-04-17 15:48:51,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/923dfe8f-b0f9-4586-8e5c-bf668abe9dc4
2026-04-17 15:48:51,321 - INFO - VMI 923dfe8f-b0f9-4586-8e5c-bf668abe9dc4 verification in API Server passed
2026-04-17 15:48:51,416 - DEBUG - Response for delete_port : ()
2026-04-17 15:48:51,416 - INFO - Deleted port 923dfe8f-b0f9-4586-8e5c-bf668abe9dc4
2026-04-17 15:48:51,416 - INFO - Deleting VN ctest-vn-66952898
2026-04-17 15:48:51,539 - DEBUG - Response for deleting network ()
2026-04-17 15:48:51,804 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 15:48:51,804 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-17 15:48:51,804 - INFO - --------------------------------------------------------------------------------
2026-04-17 15:48:51,808 - INFO - ================================================================================
2026-04-17 15:48:51,808 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-17 15:48:51,808 - 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-17 15:48:52,092 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-17 15:48:52,092 - INFO - Initial checks done. Running the testcase now
2026-04-17 15:48:52,092 - INFO -
2026-04-17 15:48:52,278 - DEBUG - Response for create_network : {'network': {'id': 'd69b5bde-ee04-4391-bf75-6b924a0937ec', 'name': 'ctest-vn1-40935116', 'tenant_id': '36fcfa624c184fef89eb6f14f9641e82', 'project_id': '36fcfa624c184fef89eb6f14f9641e82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56254164', 'ctest-vn1-40935116'], 'port_security_enabled': True, 'description': ''}}
2026-04-17 15:48:52,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '29219317-452c-482b-9943-b6fa9668956b', 'name': '', 'tenant_id': '36fcfa624c184fef89eb6f14f9641e82', 'network_id': 'd69b5bde-ee04-4391-bf75-6b924a0937ec', 'ip_version': 4, 'cidr': '60.215.77.192/26', 'allocation_pools': [{'start': '60.215.77.194', 'end': '60.215.77.254'}], 'gateway_ip': '60.215.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.215.77.194', 'tags': [], 'project_id': '36fcfa624c184fef89eb6f14f9641e82'}}
2026-04-17 15:48:52,598 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2932e9c-e03f-432c-b76a-7958d43aebfc', 'name': '', 'tenant_id': '36fcfa624c184fef89eb6f14f9641e82', 'network_id': 'd69b5bde-ee04-4391-bf75-6b924a0937ec', 'ip_version': 4, 'cidr': '130.166.171.64/26', 'allocation_pools': [{'start': '130.166.171.66', 'end': '130.166.171.126'}], 'gateway_ip': '130.166.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.166.171.66', 'tags': [], 'project_id': '36fcfa624c184fef89eb6f14f9641e82'}}
2026-04-17 15:48:52,617 - INFO - Created VN ctest-vn1-40935116
2026-04-17 15:48:52,670 - DEBUG - VN ctest-vn1-40935116 UUID is d69b5bde-ee04-4391-bf75-6b924a0937ec
2026-04-17 15:48:52,993 - DEBUG - Response for create_port : {'port': {'name': '21c91da3-fd5c-4f2e-963b-c961762c4a32', 'id': '21c91da3-fd5c-4f2e-963b-c961762c4a32', 'tenant_id': '36fcfa624c184fef89eb6f14f9641e82', 'network_id': 'd69b5bde-ee04-4391-bf75-6b924a0937ec', 'mac_address': '02:21:c9:1d:a3:fd', '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': '60.215.77.197', 'subnet_id': '29219317-452c-482b-9943-b6fa9668956b'}], 'security_groups': ['892e777e-70e5-41e0-a7ee-093e48fa0099'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '36fcfa624c184fef89eb6f14f9641e82'}}
2026-04-17 15:48:53,162 - DEBUG - Response for create_port : {'port': {'name': '1bc6725e-45b5-43ec-86a4-dc7d60c1f29f', 'id': '1bc6725e-45b5-43ec-86a4-dc7d60c1f29f', 'tenant_id': '36fcfa624c184fef89eb6f14f9641e82', 'network_id': 'd69b5bde-ee04-4391-bf75-6b924a0937ec', 'mac_address': '02:1b:c6:72:5e:45', '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': '130.166.171.69', 'subnet_id': 'b2932e9c-e03f-432c-b76a-7958d43aebfc'}], 'security_groups': ['892e777e-70e5-41e0-a7ee-093e48fa0099'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '36fcfa624c184fef89eb6f14f9641e82'}}
2026-04-17 15:48:53,221 - DEBUG - Services list from nova: [, , ]
2026-04-17 15:48:53,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5637-1)
2026-04-17 15:48:54,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5637-1)
2026-04-17 15:48:54,045 - INFO - Waiting for VM ctest-vn1-vm1-77756309 to be up..
2026-04-17 15:48:54,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-17 15:48:59,179 - DEBUG - VM is in ACTIVE state now
2026-04-17 15:48:59,179 - INFO - VM name : ctest-vn1-vm1-77756309
2026-04-17 15:48:59,278 - DEBUG - VM ctest-vn1-vm1-77756309 ID is ca50394a-6b6e-4d6a-a1ec-5bfed49a84d0
2026-04-17 15:48:59,301 - DEBUG - VM ctest-vn1-vm1-77756309 launched on Node cn-jenkins-deploy-platform-ansible-os-5637-1
2026-04-17 15:48:59,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ca50394a-6b6e-4d6a-a1ec-5bfed49a84d0
2026-04-17 15:48:59,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/21c91da3-fd5c-4f2e-963b-c961762c4a32
2026-04-17 15:49:02,655 - 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-04-17 15:49:02,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77756309 failed!
2026-04-17 15:49:02,710 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56254164:ctest-vn1-40935116 is 60.215.77.193 and allocation pool is NOT set
2026-04-17 15:49:02,710 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56254164:ctest-vn1-40935116 is 130.166.171.65 and allocation pool is NOT set
2026-04-17 15:49:06,779 - 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=4.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 4.441/4.441/4.441/0.000 ms')
2026-04-17 15:49:06,779 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77756309 passed
2026-04-17 15:49:06,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 15:49:06,938 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77756309, IP 60.215.77.197, Port 22
2026-04-17 15:49:07,101 - DEBUG - VM ctest-vn1-vm1-77756309 is ready for SSH connections
2026-04-17 15:49:07,101 - INFO - Waiting for VM ctest-vn1-vm2-41099138 to be up..
2026-04-17 15:49:07,184 - DEBUG - VM is in ACTIVE state now
2026-04-17 15:49:07,184 - INFO - VM name : ctest-vn1-vm2-41099138
2026-04-17 15:49:07,273 - DEBUG - VM ctest-vn1-vm2-41099138 ID is a12815e8-523a-4d33-9b29-194f2e68ec5e
2026-04-17 15:49:07,273 - DEBUG - VM ctest-vn1-vm2-41099138 launched on Node cn-jenkins-deploy-platform-ansible-os-5637-1
2026-04-17 15:49:07,367 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a12815e8-523a-4d33-9b29-194f2e68ec5e
2026-04-17 15:49:07,376 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1bc6725e-45b5-43ec-86a4-dc7d60c1f29f
2026-04-17 15:49:08,633 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.97 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 = 2.971/3.436/3.901/0.465 ms')
2026-04-17 15:49:08,633 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41099138 passed
2026-04-17 15:49:08,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 15:49:08,786 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41099138, IP 130.166.171.69, Port 22
2026-04-17 15:49:08,941 - DEBUG - VM ctest-vn1-vm2-41099138 is ready for SSH connections
2026-04-17 15:49:08,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 15:49:08,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 15:49:08,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 15:49:08,941 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.215.77.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-17 15:49:08,942 - DEBUG - ping -s 56 -c 3 -W 1 60.215.77.197
2026-04-17 15:49:11,818 - DEBUG - PING 60.215.77.197 (60.215.77.197): 56 data bytes
64 bytes from 60.215.77.197: seq=0 ttl=63 time=4.064 ms
64 bytes from 60.215.77.197: seq=1 ttl=63 time=0.909 ms
64 bytes from 60.215.77.197: seq=2 ttl=63 time=0.836 ms
--- 60.215.77.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.836/1.936/4.064 ms
2026-04-17 15:49:11,818 - INFO - Ping to IP 60.215.77.197 from VM ctest-vn1-vm2-41099138 passed
2026-04-17 15:49:11,818 - INFO - Detaching port 1bc6725e-45b5-43ec-86a4-dc7d60c1f29f from VM ctest-vn1-vm2-41099138
2026-04-17 15:49:11,875 - INFO - Deleting VM ctest-vn1-vm2-41099138
2026-04-17 15:49:11,959 - INFO - Detaching port 21c91da3-fd5c-4f2e-963b-c961762c4a32 from VM ctest-vn1-vm1-77756309
2026-04-17 15:49:11,992 - INFO - Deleting VM ctest-vn1-vm1-77756309
2026-04-17 15:49:12,241 - DEBUG - Response for delete_port : ()
2026-04-17 15:49:12,419 - DEBUG - Response for delete_port : ()
2026-04-17 15:49:12,419 - INFO - Deleting VN ctest-vn1-40935116
2026-04-17 15:49:12,562 - DEBUG - Response for deleting network ()
2026-04-17 15:49:12,825 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 15:49:12,825 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-04-17 15:49:12,825 - INFO - --------------------------------------------------------------------------------
2026-04-17 15:49:13,557 - INFO - Deleted project: ctest-TestPorts-56254164, ID : 36fcfa62-4c18-4fef-89eb-6f14f9641e82