2026-04-20 16:28:12,307 - INFO - Domain Default found not creating
2026-04-20 16:28:12,498 - INFO - Project ctest-TestPorts-82944028 not found, creating it
2026-04-20 16:28:12,963 - INFO - Created Project:ctest-TestPorts-82944028, ID : 261006ea-d18b-4ee0-812a-c1ee4ee73a81
2026-04-20 16:28:14,466 - INFO - ================================================================================
2026-04-20 16:28:14,466 - INFO - STARTING TEST : test_ports_bindings
2026-04-20 16:28:14,466 - 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 16:28:14,722 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-04-20 16:28:14,722 - INFO - Initial checks done. Running the testcase now
2026-04-20 16:28:14,722 - INFO -
2026-04-20 16:28:15,252 - DEBUG - Response for create_network : {'network': {'id': '5a403884-9f93-4293-ac6e-dfeae7cb54e4', 'name': 'ctest-vn-21844987', 'tenant_id': '261006ead18b4ee0812ac1ee4ee73a81', 'project_id': '261006ead18b4ee0812ac1ee4ee73a81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82944028', 'ctest-vn-21844987'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 16:28:15,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fce1984-f75f-499c-bc77-b0e20ebc6c39', 'name': '', 'tenant_id': '261006ead18b4ee0812ac1ee4ee73a81', 'network_id': '5a403884-9f93-4293-ac6e-dfeae7cb54e4', 'ip_version': 4, 'cidr': '65.9.69.192/26', 'allocation_pools': [{'start': '65.9.69.194', 'end': '65.9.69.254'}], 'gateway_ip': '65.9.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.9.69.194', 'tags': [], 'project_id': '261006ead18b4ee0812ac1ee4ee73a81'}}
2026-04-20 16:28:15,430 - INFO - Created VN ctest-vn-21844987
2026-04-20 16:28:15,482 - DEBUG - VN ctest-vn-21844987 UUID is 5a403884-9f93-4293-ac6e-dfeae7cb54e4
2026-04-20 16:28:15,594 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82944028', 'ctest-vmi-89807751']}
2026-04-20 16:28:15,854 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89807751', 'id': '38f73f9b-b089-420a-832b-f432c547a8e3', 'tenant_id': '261006ead18b4ee0812ac1ee4ee73a81', 'network_id': '5a403884-9f93-4293-ac6e-dfeae7cb54e4', 'mac_address': '02:38:f7:3f:9b: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': '65.9.69.195', 'subnet_id': '0fce1984-f75f-499c-bc77-b0e20ebc6c39'}], 'security_groups': ['4298e366-c2bc-46b2-a996-9ef5db545f30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '261006ead18b4ee0812ac1ee4ee73a81'}}
2026-04-20 16:28:15,854 - DEBUG - Created port 38f73f9b-b089-420a-832b-f432c547a8e3
2026-04-20 16:28:15,958 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/38f73f9b-b089-420a-832b-f432c547a8e3
2026-04-20 16:28:16,271 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/38f73f9b-b089-420a-832b-f432c547a8e3
2026-04-20 16:28:16,303 - INFO - VMI 38f73f9b-b089-420a-832b-f432c547a8e3 verification in API Server passed
2026-04-20 16:28:16,387 - DEBUG - Response for delete_port : ()
2026-04-20 16:28:16,387 - INFO - Deleted port 38f73f9b-b089-420a-832b-f432c547a8e3
2026-04-20 16:28:16,387 - INFO - Deleting VN ctest-vn-21844987
2026-04-20 16:28:16,488 - DEBUG - Response for deleting network ()
2026-04-20 16:28:16,744 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 16:28:16,744 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-20 16:28:16,744 - INFO - --------------------------------------------------------------------------------
2026-04-20 16:28:16,748 - INFO - ================================================================================
2026-04-20 16:28:16,749 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-20 16:28:16,749 - 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 16:28:17,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-04-20 16:28:17,030 - INFO - Initial checks done. Running the testcase now
2026-04-20 16:28:17,030 - INFO -
2026-04-20 16:28:17,212 - DEBUG - Response for create_network : {'network': {'id': 'a10b4dc2-4138-4e8f-a1f6-e43e36cd62c2', 'name': 'ctest-vn1-25632476', 'tenant_id': '261006ead18b4ee0812ac1ee4ee73a81', 'project_id': '261006ead18b4ee0812ac1ee4ee73a81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82944028', 'ctest-vn1-25632476'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 16:28:17,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '70eeb8eb-be85-430c-b0f5-8029ac35f00f', 'name': '', 'tenant_id': '261006ead18b4ee0812ac1ee4ee73a81', 'network_id': 'a10b4dc2-4138-4e8f-a1f6-e43e36cd62c2', 'ip_version': 4, 'cidr': '25.139.82.128/26', 'allocation_pools': [{'start': '25.139.82.130', 'end': '25.139.82.190'}], 'gateway_ip': '25.139.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.139.82.130', 'tags': [], 'project_id': '261006ead18b4ee0812ac1ee4ee73a81'}}
2026-04-20 16:28:17,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '728d541a-14ac-46db-a252-de70280e3187', 'name': '', 'tenant_id': '261006ead18b4ee0812ac1ee4ee73a81', 'network_id': 'a10b4dc2-4138-4e8f-a1f6-e43e36cd62c2', 'ip_version': 4, 'cidr': '52.54.249.0/26', 'allocation_pools': [{'start': '52.54.249.2', 'end': '52.54.249.62'}], 'gateway_ip': '52.54.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.54.249.2', 'tags': [], 'project_id': '261006ead18b4ee0812ac1ee4ee73a81'}}
2026-04-20 16:28:17,637 - INFO - Created VN ctest-vn1-25632476
2026-04-20 16:28:17,694 - DEBUG - VN ctest-vn1-25632476 UUID is a10b4dc2-4138-4e8f-a1f6-e43e36cd62c2
2026-04-20 16:28:18,002 - DEBUG - Response for create_port : {'port': {'name': '9b4eeb8c-b5ef-4554-b8ec-a01d08b9d868', 'id': '9b4eeb8c-b5ef-4554-b8ec-a01d08b9d868', 'tenant_id': '261006ead18b4ee0812ac1ee4ee73a81', 'network_id': 'a10b4dc2-4138-4e8f-a1f6-e43e36cd62c2', 'mac_address': '02:9b:4e:eb:8c:b5', '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': '25.139.82.133', 'subnet_id': '70eeb8eb-be85-430c-b0f5-8029ac35f00f'}], 'security_groups': ['4298e366-c2bc-46b2-a996-9ef5db545f30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '261006ead18b4ee0812ac1ee4ee73a81'}}
2026-04-20 16:28:18,181 - DEBUG - Response for create_port : {'port': {'name': '7f399a09-6a79-4d7e-8441-3c487eb5bd10', 'id': '7f399a09-6a79-4d7e-8441-3c487eb5bd10', 'tenant_id': '261006ead18b4ee0812ac1ee4ee73a81', 'network_id': 'a10b4dc2-4138-4e8f-a1f6-e43e36cd62c2', 'mac_address': '02:7f:39:9a:09:6a', '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': '52.54.249.5', 'subnet_id': '728d541a-14ac-46db-a252-de70280e3187'}], 'security_groups': ['4298e366-c2bc-46b2-a996-9ef5db545f30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '261006ead18b4ee0812ac1ee4ee73a81'}}
2026-04-20 16:28:18,245 - DEBUG - Services list from nova: [, , ]
2026-04-20 16:28:18,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5651-1)
2026-04-20 16:28:18,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5651-1)
2026-04-20 16:28:18,986 - INFO - Waiting for VM ctest-vn1-vm1-82270754 to be up..
2026-04-20 16:28:19,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-20 16:28:24,090 - DEBUG - VM is in ACTIVE state now
2026-04-20 16:28:24,090 - INFO - VM name : ctest-vn1-vm1-82270754
2026-04-20 16:28:24,157 - DEBUG - VM ctest-vn1-vm1-82270754 ID is 3c0c1cce-7982-42e2-aba2-7f8e93b094f3
2026-04-20 16:28:24,175 - DEBUG - VM ctest-vn1-vm1-82270754 launched on Node cn-jenkins-deploy-platform-ansible-os-5651-1
2026-04-20 16:28:24,249 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3c0c1cce-7982-42e2-aba2-7f8e93b094f3
2026-04-20 16:28:24,257 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9b4eeb8c-b5ef-4554-b8ec-a01d08b9d868
2026-04-20 16:28:27,519 - 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 1021ms')
2026-04-20 16:28:27,519 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-82270754 failed!
2026-04-20 16:28:27,574 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82944028:ctest-vn1-25632476 is 25.139.82.129 and allocation pool is NOT set
2026-04-20 16:28:27,574 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82944028:ctest-vn1-25632476 is 52.54.249.1 and allocation pool is NOT set
2026-04-20 16:28:29,642 - 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=6.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.51 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 = 3.507/4.909/6.311/1.402 ms')
2026-04-20 16:28:29,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-82270754 passed
2026-04-20 16:28:29,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:28:29,790 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82270754, IP 25.139.82.133, Port 22
2026-04-20 16:28:29,845 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-20 16:28:30,046 - DEBUG - VM ctest-vn1-vm1-82270754 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 16:28:35,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:28:35,047 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82270754, IP 25.139.82.133, Port 22
2026-04-20 16:28:35,197 - DEBUG - VM ctest-vn1-vm1-82270754 is ready for SSH connections
2026-04-20 16:28:35,197 - INFO - Waiting for VM ctest-vn1-vm2-09647175 to be up..
2026-04-20 16:28:35,268 - DEBUG - VM is in ACTIVE state now
2026-04-20 16:28:35,268 - INFO - VM name : ctest-vn1-vm2-09647175
2026-04-20 16:28:35,341 - DEBUG - VM ctest-vn1-vm2-09647175 ID is d6444f6f-1716-4134-b551-8dc4328edc53
2026-04-20 16:28:35,342 - DEBUG - VM ctest-vn1-vm2-09647175 launched on Node cn-jenkins-deploy-platform-ansible-os-5651-1
2026-04-20 16:28:35,409 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d6444f6f-1716-4134-b551-8dc4328edc53
2026-04-20 16:28:35,417 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7f399a09-6a79-4d7e-8441-3c487eb5bd10
2026-04-20 16:28:36,649 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.412/1.621/2.831/1.209 ms')
2026-04-20 16:28:36,649 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-09647175 passed
2026-04-20 16:28:36,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:28:36,794 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09647175, IP 52.54.249.5, Port 22
2026-04-20 16:28:36,949 - DEBUG - VM ctest-vn1-vm2-09647175 is ready for SSH connections
2026-04-20 16:28:36,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:28:36,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:28:36,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:28:36,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.139.82.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-20 16:28:36,950 - DEBUG - ping -s 56 -c 3 -W 1 25.139.82.133
2026-04-20 16:28:40,679 - DEBUG - PING 25.139.82.133 (25.139.82.133): 56 data bytes
64 bytes from 25.139.82.133: seq=0 ttl=63 time=5.351 ms
64 bytes from 25.139.82.133: seq=1 ttl=63 time=1.140 ms
64 bytes from 25.139.82.133: seq=2 ttl=63 time=0.830 ms
--- 25.139.82.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.830/2.440/5.351 ms
2026-04-20 16:28:40,679 - INFO - Ping to IP 25.139.82.133 from VM ctest-vn1-vm2-09647175 passed
2026-04-20 16:28:40,679 - INFO - Detaching port 7f399a09-6a79-4d7e-8441-3c487eb5bd10 from VM ctest-vn1-vm2-09647175
2026-04-20 16:28:40,730 - INFO - Deleting VM ctest-vn1-vm2-09647175
2026-04-20 16:28:40,795 - INFO - Detaching port 9b4eeb8c-b5ef-4554-b8ec-a01d08b9d868 from VM ctest-vn1-vm1-82270754
2026-04-20 16:28:40,830 - INFO - Deleting VM ctest-vn1-vm1-82270754
2026-04-20 16:28:41,085 - DEBUG - Response for delete_port : ()
2026-04-20 16:28:41,256 - DEBUG - Response for delete_port : ()
2026-04-20 16:28:41,256 - INFO - Deleting VN ctest-vn1-25632476
2026-04-20 16:28:41,416 - DEBUG - Response for deleting network ()
2026-04-20 16:28:41,675 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 16:28:41,676 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-04-20 16:28:41,677 - INFO - --------------------------------------------------------------------------------
2026-04-20 16:28:42,358 - INFO - Deleted project: ctest-TestPorts-82944028, ID : 261006ea-d18b-4ee0-812a-c1ee4ee73a81