2026-11-04 10:41:17,739 - INFO - Domain Default found not creating 2026-11-04 10:41:17,924 - INFO - Project ctest-TestPorts-11017031 not found, creating it 2026-11-04 10:41:18,414 - INFO - Created Project:ctest-TestPorts-11017031, ID : 6019fa2f-c1b2-4768-8308-590c8a520045 2026-11-04 10:41:20,070 - INFO - ================================================================================ 2026-11-04 10:41:20,070 - INFO - STARTING TEST : test_ports_bindings 2026-11-04 10:41:20,070 - 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-11-04 10:41:20,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.29': '0'}} with 2026-11-04 10:41:20,325 - INFO - Initial checks done. Running the testcase now 2026-11-04 10:41:20,325 - INFO - 2026-11-04 10:41:20,898 - DEBUG - Response for create_network : {'network': {'id': 'b2a0f448-6d5a-4970-b167-27ad76b6e6b6', 'name': 'ctest-vn-84150200', 'tenant_id': '6019fa2fc1b247688308590c8a520045', 'project_id': '6019fa2fc1b247688308590c8a520045', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11017031', 'ctest-vn-84150200'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:41:21,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '298fb62a-139b-4148-8f8c-a98f195bc6e9', 'name': '', 'tenant_id': '6019fa2fc1b247688308590c8a520045', 'network_id': 'b2a0f448-6d5a-4970-b167-27ad76b6e6b6', 'ip_version': 4, 'cidr': '99.138.177.64/26', 'allocation_pools': [{'start': '99.138.177.66', 'end': '99.138.177.126'}], 'gateway_ip': '99.138.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.138.177.66', 'tags': [], 'project_id': '6019fa2fc1b247688308590c8a520045'}} 2026-11-04 10:41:21,082 - INFO - Created VN ctest-vn-84150200 2026-11-04 10:41:21,135 - DEBUG - VN ctest-vn-84150200 UUID is b2a0f448-6d5a-4970-b167-27ad76b6e6b6 2026-11-04 10:41:21,238 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11017031', 'ctest-vmi-49169896']} 2026-11-04 10:41:21,532 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49169896', 'id': '7702b6de-4139-45e6-a0d6-4d9f77fbc8c3', 'tenant_id': '6019fa2fc1b247688308590c8a520045', 'network_id': 'b2a0f448-6d5a-4970-b167-27ad76b6e6b6', 'mac_address': '02:77:02:b6:de:41', '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': '99.138.177.67', 'subnet_id': '298fb62a-139b-4148-8f8c-a98f195bc6e9'}], 'security_groups': ['9bd2b162-ad06-4f62-9097-ac5df837a561'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '6019fa2fc1b247688308590c8a520045'}} 2026-11-04 10:41:21,533 - DEBUG - Created port 7702b6de-4139-45e6-a0d6-4d9f77fbc8c3 2026-11-04 10:41:21,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7702b6de-4139-45e6-a0d6-4d9f77fbc8c3 2026-11-04 10:41:21,958 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7702b6de-4139-45e6-a0d6-4d9f77fbc8c3 2026-11-04 10:41:22,022 - INFO - VMI 7702b6de-4139-45e6-a0d6-4d9f77fbc8c3 verification in API Server passed 2026-11-04 10:41:22,137 - DEBUG - Response for delete_port : () 2026-11-04 10:41:22,137 - INFO - Deleted port 7702b6de-4139-45e6-a0d6-4d9f77fbc8c3 2026-11-04 10:41:22,137 - INFO - Deleting VN ctest-vn-84150200 2026-11-04 10:41:22,244 - DEBUG - Response for deleting network () 2026-11-04 10:41:22,501 - DEBUG - No XMPP flaps were noticed during the test
2026-11-04 10:41:22,501 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-11-04 10:41:22,501 - INFO - -------------------------------------------------------------------------------- 2026-11-04 10:41:22,504 - INFO - ================================================================================ 2026-11-04 10:41:22,504 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-11-04 10:41:22,504 - 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-11-04 10:41:22,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.29': '0'}} with 2026-11-04 10:41:22,793 - INFO - Initial checks done. Running the testcase now 2026-11-04 10:41:22,793 - INFO - 2026-11-04 10:41:22,980 - DEBUG - Response for create_network : {'network': {'id': 'edf7e741-73bf-4504-af79-d9d2a4afba97', 'name': 'ctest-vn1-66557955', 'tenant_id': '6019fa2fc1b247688308590c8a520045', 'project_id': '6019fa2fc1b247688308590c8a520045', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11017031', 'ctest-vn1-66557955'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:41:23,203 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcfa1627-a446-49d1-9121-470a5bfb8105', 'name': '', 'tenant_id': '6019fa2fc1b247688308590c8a520045', 'network_id': 'edf7e741-73bf-4504-af79-d9d2a4afba97', 'ip_version': 4, 'cidr': '135.197.69.0/26', 'allocation_pools': [{'start': '135.197.69.2', 'end': '135.197.69.62'}], 'gateway_ip': '135.197.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.197.69.2', 'tags': [], 'project_id': '6019fa2fc1b247688308590c8a520045'}} 2026-11-04 10:41:23,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '6eaeb55c-243a-451b-a334-061028f55c6a', 'name': '', 'tenant_id': '6019fa2fc1b247688308590c8a520045', 'network_id': 'edf7e741-73bf-4504-af79-d9d2a4afba97', 'ip_version': 4, 'cidr': '22.63.84.192/26', 'allocation_pools': [{'start': '22.63.84.194', 'end': '22.63.84.254'}], 'gateway_ip': '22.63.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.63.84.194', 'tags': [], 'project_id': '6019fa2fc1b247688308590c8a520045'}} 2026-11-04 10:41:23,374 - INFO - Created VN ctest-vn1-66557955 2026-11-04 10:41:23,427 - DEBUG - VN ctest-vn1-66557955 UUID is edf7e741-73bf-4504-af79-d9d2a4afba97 2026-11-04 10:41:23,733 - DEBUG - Response for create_port : {'port': {'name': '897c3015-463c-4504-ac15-eaa391f4e348', 'id': '897c3015-463c-4504-ac15-eaa391f4e348', 'tenant_id': '6019fa2fc1b247688308590c8a520045', 'network_id': 'edf7e741-73bf-4504-af79-d9d2a4afba97', 'mac_address': '02:89:7c:30:15:46', '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': '135.197.69.5', 'subnet_id': 'dcfa1627-a446-49d1-9121-470a5bfb8105'}], 'security_groups': ['9bd2b162-ad06-4f62-9097-ac5df837a561'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '6019fa2fc1b247688308590c8a520045'}} 2026-11-04 10:41:23,915 - DEBUG - Response for create_port : {'port': {'name': 'b7cd3815-bc96-4b31-8fd4-7b0f95720a3b', 'id': 'b7cd3815-bc96-4b31-8fd4-7b0f95720a3b', 'tenant_id': '6019fa2fc1b247688308590c8a520045', 'network_id': 'edf7e741-73bf-4504-af79-d9d2a4afba97', 'mac_address': '02:b7:cd:38:15:bc', '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': '22.63.84.197', 'subnet_id': '6eaeb55c-243a-451b-a334-061028f55c6a'}], 'security_groups': ['9bd2b162-ad06-4f62-9097-ac5df837a561'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '6019fa2fc1b247688308590c8a520045'}} 2026-11-04 10:41:23,971 - DEBUG - Services list from nova: [, , ] 2026-11-04 10:41:24,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6480-1) 2026-11-04 10:41:24,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6480-1) 2026-11-04 10:41:24,723 - INFO - Waiting for VM ctest-vn1-vm1-07557392 to be up.. 2026-11-04 10:41:24,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:41:29,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:41:34,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:41:39,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:41:45,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:41:50,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:41:55,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:42:00,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:42:05,342 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:42:05,342 - INFO - VM name : ctest-vn1-vm1-07557392 2026-11-04 10:42:05,417 - DEBUG - VM ctest-vn1-vm1-07557392 ID is cac70bd5-cc06-480a-ab99-b776c61fa5dd 2026-11-04 10:42:05,438 - DEBUG - VM ctest-vn1-vm1-07557392 launched on Node cn-jenkins-deploy-platform-ansible-os-6480-1 2026-11-04 10:42:05,508 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cac70bd5-cc06-480a-ab99-b776c61fa5dd 2026-11-04 10:42:05,517 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/897c3015-463c-4504-ac15-eaa391f4e348 2026-11-04 10:42:08,780 - 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 1018ms') 2026-11-04 10:42:08,780 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-07557392 failed! 2026-11-04 10:42:08,835 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11017031:ctest-vn1-66557955 is 135.197.69.1 and allocation pool is NOT set 2026-11-04 10:42:08,835 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11017031:ctest-vn1-66557955 is 22.63.84.193 and allocation pool is NOT set 2026-11-04 10:42:10,898 - 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=5.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.38 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 = 2.375/4.106/5.838/1.731 ms') 2026-11-04 10:42:10,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-07557392 passed 2026-11-04 10:42:11,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:42:11,047 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07557392, IP 135.197.69.5, Port 22 2026-11-04 10:42:11,113 - 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-11-04 10:42:11,204 - DEBUG - VM ctest-vn1-vm1-07557392 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-04 10:42:16,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:42:16,206 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07557392, IP 135.197.69.5, Port 22 2026-11-04 10:42:16,367 - DEBUG - VM ctest-vn1-vm1-07557392 is ready for SSH connections 2026-11-04 10:42:16,367 - INFO - Waiting for VM ctest-vn1-vm2-17826711 to be up.. 2026-11-04 10:42:16,443 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:42:16,443 - INFO - VM name : ctest-vn1-vm2-17826711 2026-11-04 10:42:16,512 - DEBUG - VM ctest-vn1-vm2-17826711 ID is c32d6247-10f9-4759-9206-7f08a34eb952 2026-11-04 10:42:16,512 - DEBUG - VM ctest-vn1-vm2-17826711 launched on Node cn-jenkins-deploy-platform-ansible-os-6480-1 2026-11-04 10:42:16,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c32d6247-10f9-4759-9206-7f08a34eb952 2026-11-04 10:42:16,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b7cd3815-bc96-4b31-8fd4-7b0f95720a3b 2026-11-04 10:42:17,834 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.443/1.815/3.188/1.372 ms') 2026-11-04 10:42:17,834 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-17826711 passed 2026-11-04 10:42:17,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:42:17,983 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17826711, IP 22.63.84.197, Port 22 2026-11-04 10:42:18,139 - DEBUG - VM ctest-vn1-vm2-17826711 is ready for SSH connections 2026-11-04 10:42:18,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:42:18,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:42:18,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:42:18,139 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.197.69.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-04 10:42:18,139 - DEBUG - ping -s 56 -c 3 -W 1 135.197.69.5 2026-11-04 10:42:22,124 - DEBUG - PING 135.197.69.5 (135.197.69.5): 56 data bytes 64 bytes from 135.197.69.5: seq=0 ttl=63 time=4.071 ms 64 bytes from 135.197.69.5: seq=1 ttl=63 time=1.443 ms 64 bytes from 135.197.69.5: seq=2 ttl=63 time=0.903 ms --- 135.197.69.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.903/2.139/4.071 ms 2026-11-04 10:42:22,124 - INFO - Ping to IP 135.197.69.5 from VM ctest-vn1-vm2-17826711 passed 2026-11-04 10:42:22,124 - INFO - Detaching port b7cd3815-bc96-4b31-8fd4-7b0f95720a3b from VM ctest-vn1-vm2-17826711 2026-11-04 10:42:22,180 - INFO - Deleting VM ctest-vn1-vm2-17826711 2026-11-04 10:42:22,251 - INFO - Detaching port 897c3015-463c-4504-ac15-eaa391f4e348 from VM ctest-vn1-vm1-07557392 2026-11-04 10:42:22,289 - INFO - Deleting VM ctest-vn1-vm1-07557392 2026-11-04 10:42:22,536 - DEBUG - Response for delete_port : () 2026-11-04 10:42:22,720 - DEBUG - Response for delete_port : () 2026-11-04 10:42:22,720 - INFO - Deleting VN ctest-vn1-66557955 2026-11-04 10:42:22,854 - DEBUG - Response for deleting network () 2026-11-04 10:42:23,113 - DEBUG - No XMPP flaps were noticed during the test
2026-11-04 10:42:23,113 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:01]
2026-11-04 10:42:23,113 - INFO - -------------------------------------------------------------------------------- 2026-11-04 10:42:23,888 - INFO - Deleted project: ctest-TestPorts-11017031, ID : 6019fa2f-c1b2-4768-8308-590c8a520045