2026-09-21 19:01:43,027 - INFO - Domain Default found not creating
2026-09-21 19:01:43,196 - INFO - Project ctest-TestPorts-28296780 not found, creating it
2026-09-21 19:01:43,711 - INFO - Created Project:ctest-TestPorts-28296780, ID : e43f3437-900f-4bc9-aad9-3a0628414564
2026-09-21 19:01:45,591 - INFO - ================================================================================
2026-09-21 19:01:45,592 - INFO - STARTING TEST : test_ports_bindings
2026-09-21 19:01:45,592 - 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-21 19:01:45,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-09-21 19:01:45,865 - INFO - Initial checks done. Running the testcase now
2026-09-21 19:01:45,865 - INFO -
2026-09-21 19:01:46,542 - DEBUG - Response for create_network : {'network': {'id': 'bf6df211-f6fc-4c04-adcd-ac6cc73d2e86', 'name': 'ctest-vn-15739235', 'tenant_id': 'e43f3437900f4bc9aad93a0628414564', 'project_id': 'e43f3437900f4bc9aad93a0628414564', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28296780', 'ctest-vn-15739235'], 'port_security_enabled': True, 'description': ''}}
2026-09-21 19:01:46,751 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5fbfadd-0a93-432d-8d9b-45f6c144c902', 'name': '', 'tenant_id': 'e43f3437900f4bc9aad93a0628414564', 'network_id': 'bf6df211-f6fc-4c04-adcd-ac6cc73d2e86', 'ip_version': 4, 'cidr': '163.233.54.64/26', 'allocation_pools': [{'start': '163.233.54.66', 'end': '163.233.54.126'}], 'gateway_ip': '163.233.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.233.54.66', 'tags': [], 'project_id': 'e43f3437900f4bc9aad93a0628414564'}}
2026-09-21 19:01:46,772 - INFO - Created VN ctest-vn-15739235
2026-09-21 19:01:46,831 - DEBUG - VN ctest-vn-15739235 UUID is bf6df211-f6fc-4c04-adcd-ac6cc73d2e86
2026-09-21 19:01:46,949 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28296780', 'ctest-vmi-47423512']}
2026-09-21 19:01:47,244 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-47423512', 'id': '5f42d4f2-1306-4fce-a339-6fac4642faca', 'tenant_id': 'e43f3437900f4bc9aad93a0628414564', 'network_id': 'bf6df211-f6fc-4c04-adcd-ac6cc73d2e86', 'mac_address': '02:5f:42:d4:f2:13', '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': '163.233.54.67', 'subnet_id': 'b5fbfadd-0a93-432d-8d9b-45f6c144c902'}], 'security_groups': ['d99e59b9-a9fa-4a10-8a4f-9050a256e252'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'e43f3437900f4bc9aad93a0628414564'}}
2026-09-21 19:01:47,244 - DEBUG - Created port 5f42d4f2-1306-4fce-a339-6fac4642faca
2026-09-21 19:01:47,355 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/5f42d4f2-1306-4fce-a339-6fac4642faca
2026-09-21 19:01:47,724 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/5f42d4f2-1306-4fce-a339-6fac4642faca
2026-09-21 19:01:47,760 - INFO - VMI 5f42d4f2-1306-4fce-a339-6fac4642faca verification in API Server passed
2026-09-21 19:01:47,866 - DEBUG - Response for delete_port : ()
2026-09-21 19:01:47,866 - INFO - Deleted port 5f42d4f2-1306-4fce-a339-6fac4642faca
2026-09-21 19:01:47,867 - INFO - Deleting VN ctest-vn-15739235
2026-09-21 19:01:47,994 - DEBUG - Response for deleting network ()
2026-09-21 19:01:48,265 - DEBUG - No XMPP flaps were noticed during the test
2026-09-21 19:01:48,265 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-21 19:01:48,265 - INFO - --------------------------------------------------------------------------------
2026-09-21 19:01:48,269 - INFO - ================================================================================
2026-09-21 19:01:48,270 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-21 19:01:48,270 - 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-21 19:01:48,565 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-09-21 19:01:48,565 - INFO - Initial checks done. Running the testcase now
2026-09-21 19:01:48,565 - INFO -
2026-09-21 19:01:48,786 - DEBUG - Response for create_network : {'network': {'id': 'b972cc4d-afac-445c-9be1-e3dce631f495', 'name': 'ctest-vn1-01512984', 'tenant_id': 'e43f3437900f4bc9aad93a0628414564', 'project_id': 'e43f3437900f4bc9aad93a0628414564', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28296780', 'ctest-vn1-01512984'], 'port_security_enabled': True, 'description': ''}}
2026-09-21 19:01:48,973 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a89d89d3-325d-419e-b217-eff6ec7f4bbd', 'name': '', 'tenant_id': 'e43f3437900f4bc9aad93a0628414564', 'network_id': 'b972cc4d-afac-445c-9be1-e3dce631f495', 'ip_version': 4, 'cidr': '123.255.24.192/26', 'allocation_pools': [{'start': '123.255.24.194', 'end': '123.255.24.254'}], 'gateway_ip': '123.255.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.255.24.194', 'tags': [], 'project_id': 'e43f3437900f4bc9aad93a0628414564'}}
2026-09-21 19:01:49,201 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad47fdbd-d302-4944-8372-14a9139bd4cb', 'name': '', 'tenant_id': 'e43f3437900f4bc9aad93a0628414564', 'network_id': 'b972cc4d-afac-445c-9be1-e3dce631f495', 'ip_version': 4, 'cidr': '64.79.118.0/26', 'allocation_pools': [{'start': '64.79.118.2', 'end': '64.79.118.62'}], 'gateway_ip': '64.79.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.79.118.2', 'tags': [], 'project_id': 'e43f3437900f4bc9aad93a0628414564'}}
2026-09-21 19:01:49,222 - INFO - Created VN ctest-vn1-01512984
2026-09-21 19:01:49,275 - DEBUG - VN ctest-vn1-01512984 UUID is b972cc4d-afac-445c-9be1-e3dce631f495
2026-09-21 19:01:49,647 - DEBUG - Response for create_port : {'port': {'name': 'dd5817c7-dab0-448a-a57b-5a98dfcc4ddc', 'id': 'dd5817c7-dab0-448a-a57b-5a98dfcc4ddc', 'tenant_id': 'e43f3437900f4bc9aad93a0628414564', 'network_id': 'b972cc4d-afac-445c-9be1-e3dce631f495', 'mac_address': '02:dd:58:17:c7:da', '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': '123.255.24.197', 'subnet_id': 'a89d89d3-325d-419e-b217-eff6ec7f4bbd'}], 'security_groups': ['d99e59b9-a9fa-4a10-8a4f-9050a256e252'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'e43f3437900f4bc9aad93a0628414564'}}
2026-09-21 19:01:49,904 - DEBUG - Response for create_port : {'port': {'name': 'aa702c0c-e0c8-4811-b819-9732b6256694', 'id': 'aa702c0c-e0c8-4811-b819-9732b6256694', 'tenant_id': 'e43f3437900f4bc9aad93a0628414564', 'network_id': 'b972cc4d-afac-445c-9be1-e3dce631f495', 'mac_address': '02:aa:70:2c:0c:e0', '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': '64.79.118.5', 'subnet_id': 'ad47fdbd-d302-4944-8372-14a9139bd4cb'}], 'security_groups': ['d99e59b9-a9fa-4a10-8a4f-9050a256e252'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'e43f3437900f4bc9aad93a0628414564'}}
2026-09-21 19:01:49,976 - DEBUG - Services list from nova: [, , ]
2026-09-21 19:01:50,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6315-1)
2026-09-21 19:01:50,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6315-1)
2026-09-21 19:01:50,869 - INFO - Waiting for VM ctest-vn1-vm1-35102515 to be up..
2026-09-21 19:01:50,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:01:55,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:02:01,073 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:02:06,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:02:11,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:02:16,437 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:02:21,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:02:26,634 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:02:31,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-21 19:02:36,840 - DEBUG - VM is in ACTIVE state now
2026-09-21 19:02:36,840 - INFO - VM name : ctest-vn1-vm1-35102515
2026-09-21 19:02:36,931 - DEBUG - VM ctest-vn1-vm1-35102515 ID is 79002a13-bf5a-4a34-8f1d-4cc7379d081f
2026-09-21 19:02:36,956 - DEBUG - VM ctest-vn1-vm1-35102515 launched on Node cn-jenkins-deploy-platform-ansible-os-6315-1
2026-09-21 19:02:37,046 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/79002a13-bf5a-4a34-8f1d-4cc7379d081f
2026-09-21 19:02:37,056 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/dd5817c7-dab0-448a-a57b-5a98dfcc4ddc
2026-09-21 19:02:40,333 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms')
2026-09-21 19:02:40,333 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-35102515 failed!
2026-09-21 19:02:40,395 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28296780:ctest-vn1-01512984 is 123.255.24.193 and allocation pool is NOT set
2026-09-21 19:02:40,396 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28296780:ctest-vn1-01512984 is 64.79.118.1 and allocation pool is NOT set
2026-09-21 19:02:42,462 - 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=7.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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 = 1.116/4.292/7.468/3.176 ms')
2026-09-21 19:02:42,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-35102515 passed
2026-09-21 19:02:42,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 19:02:42,619 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35102515, IP 123.255.24.197, Port 22
2026-09-21 19:02:42,789 - DEBUG - VM ctest-vn1-vm1-35102515 is ready for SSH connections
2026-09-21 19:02:42,790 - INFO - Waiting for VM ctest-vn1-vm2-26619026 to be up..
2026-09-21 19:02:42,885 - DEBUG - VM is in ACTIVE state now
2026-09-21 19:02:42,885 - INFO - VM name : ctest-vn1-vm2-26619026
2026-09-21 19:02:42,973 - DEBUG - VM ctest-vn1-vm2-26619026 ID is a4ae4e85-d640-44c3-a36f-926e0e08b336
2026-09-21 19:02:42,974 - DEBUG - VM ctest-vn1-vm2-26619026 launched on Node cn-jenkins-deploy-platform-ansible-os-6315-1
2026-09-21 19:02:43,062 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a4ae4e85-d640-44c3-a36f-926e0e08b336
2026-09-21 19:02:43,072 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/aa702c0c-e0c8-4811-b819-9732b6256694
2026-09-21 19:02:44,318 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.597 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 = 0.597/2.261/3.925/1.664 ms')
2026-09-21 19:02:44,318 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-26619026 passed
2026-09-21 19:02:44,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 19:02:44,475 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26619026, IP 64.79.118.5, Port 22
2026-09-21 19:02:44,645 - DEBUG - VM ctest-vn1-vm2-26619026 is ready for SSH connections
2026-09-21 19:02:44,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 19:02:44,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 19:02:44,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-21 19:02:44,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.255.24.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123
2026-09-21 19:02:44,646 - DEBUG - ping -s 56 -c 3 -W 1 123.255.24.197
2026-09-21 19:02:48,717 - DEBUG - PING 123.255.24.197 (123.255.24.197): 56 data bytes
64 bytes from 123.255.24.197: seq=0 ttl=63 time=4.824 ms
64 bytes from 123.255.24.197: seq=1 ttl=63 time=1.062 ms
64 bytes from 123.255.24.197: seq=2 ttl=63 time=1.271 ms
--- 123.255.24.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.062/2.385/4.824 ms
2026-09-21 19:02:48,717 - INFO - Ping to IP 123.255.24.197 from VM ctest-vn1-vm2-26619026 passed
2026-09-21 19:02:48,717 - INFO - Detaching port aa702c0c-e0c8-4811-b819-9732b6256694 from VM ctest-vn1-vm2-26619026
2026-09-21 19:02:48,785 - INFO - Deleting VM ctest-vn1-vm2-26619026
2026-09-21 19:02:48,871 - INFO - Detaching port dd5817c7-dab0-448a-a57b-5a98dfcc4ddc from VM ctest-vn1-vm1-35102515
2026-09-21 19:02:48,916 - INFO - Deleting VM ctest-vn1-vm1-35102515
2026-09-21 19:02:49,228 - DEBUG - Response for delete_port : ()
2026-09-21 19:02:49,454 - DEBUG - Response for delete_port : ()
2026-09-21 19:02:49,454 - INFO - Deleting VN ctest-vn1-01512984
2026-09-21 19:02:49,629 - DEBUG - Response for deleting network ()
2026-09-21 19:02:49,904 - DEBUG - No XMPP flaps were noticed during the test
2026-09-21 19:02:49,904 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:01]
2026-09-21 19:02:49,904 - INFO - --------------------------------------------------------------------------------
2026-09-21 19:02:50,759 - INFO - Deleted project: ctest-TestPorts-28296780, ID : e43f3437-900f-4bc9-aad9-3a0628414564