2025-11-20 16:56:54,655 - INFO - Domain Default found not creating 2025-11-20 16:56:54,802 - INFO - Project ctest-TestPorts-95212579 not found, creating it 2025-11-20 16:56:55,240 - INFO - Created Project:ctest-TestPorts-95212579, ID : e5f241f2-6d96-45bc-b890-3b3579b53660 2025-11-20 16:56:57,425 - INFO - ================================================================================ 2025-11-20 16:56:57,425 - INFO - STARTING TEST : test_ports_bindings 2025-11-20 16:56:57,426 - 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 2025-11-20 16:56:57,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.154': {'10.20.0.252': '0'}} with 2025-11-20 16:56:57,680 - INFO - Initial checks done. Running the testcase now 2025-11-20 16:56:57,680 - INFO - 2025-11-20 16:56:58,235 - DEBUG - Response for create_network : {'network': {'id': 'a16ed230-f9a1-4ed8-915d-2e8d9f1f7d2f', 'name': 'ctest-vn-54602731', 'tenant_id': 'e5f241f26d9645bcb8903b3579b53660', 'project_id': 'e5f241f26d9645bcb8903b3579b53660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95212579', 'ctest-vn-54602731'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 16:56:58,436 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f084c1f-9349-4445-bb25-b6ff4024a3c7', 'name': '', 'tenant_id': 'e5f241f26d9645bcb8903b3579b53660', 'network_id': 'a16ed230-f9a1-4ed8-915d-2e8d9f1f7d2f', 'ip_version': 4, 'cidr': '195.71.70.192/26', 'allocation_pools': [{'start': '195.71.70.194', 'end': '195.71.70.254'}], 'gateway_ip': '195.71.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.71.70.194', 'tags': [], 'project_id': 'e5f241f26d9645bcb8903b3579b53660'}} 2025-11-20 16:56:58,452 - INFO - Created VN ctest-vn-54602731 2025-11-20 16:56:58,501 - DEBUG - VN ctest-vn-54602731 UUID is a16ed230-f9a1-4ed8-915d-2e8d9f1f7d2f 2025-11-20 16:56:58,601 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95212579', 'ctest-vmi-57799038']} 2025-11-20 16:56:58,863 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-57799038', 'id': '932fb231-0ad8-45c2-af74-70cf5a40e16c', 'tenant_id': 'e5f241f26d9645bcb8903b3579b53660', 'network_id': 'a16ed230-f9a1-4ed8-915d-2e8d9f1f7d2f', 'mac_address': '02:93:2f:b2:31:0a', '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': '195.71.70.195', 'subnet_id': '9f084c1f-9349-4445-bb25-b6ff4024a3c7'}], 'security_groups': ['75299cb1-dc4c-498e-81c8-24a20ca0b93d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5f241f26d9645bcb8903b3579b53660'}} 2025-11-20 16:56:58,863 - DEBUG - Created port 932fb231-0ad8-45c2-af74-70cf5a40e16c 2025-11-20 16:56:58,969 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/932fb231-0ad8-45c2-af74-70cf5a40e16c 2025-11-20 16:56:59,265 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/932fb231-0ad8-45c2-af74-70cf5a40e16c 2025-11-20 16:56:59,297 - INFO - VMI 932fb231-0ad8-45c2-af74-70cf5a40e16c verification in API Server passed 2025-11-20 16:56:59,371 - DEBUG - Response for delete_port : () 2025-11-20 16:56:59,371 - INFO - Deleted port 932fb231-0ad8-45c2-af74-70cf5a40e16c 2025-11-20 16:56:59,371 - INFO - Deleting VN ctest-vn-54602731 2025-11-20 16:56:59,456 - DEBUG - Response for deleting network () 2025-11-20 16:56:59,709 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 16:56:59,709 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-20 16:56:59,709 - INFO - -------------------------------------------------------------------------------- 2025-11-20 16:56:59,713 - INFO - ================================================================================ 2025-11-20 16:56:59,713 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-20 16:56:59,713 - 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 2025-11-20 16:56:59,997 - DEBUG - Nothing to compare xmpp stats {'10.0.0.154': {'10.20.0.252': '0'}} with 2025-11-20 16:56:59,997 - INFO - Initial checks done. Running the testcase now 2025-11-20 16:56:59,997 - INFO - 2025-11-20 16:57:00,154 - DEBUG - Response for create_network : {'network': {'id': '7a80b86c-ae5c-437c-aba6-b744ab324441', 'name': 'ctest-vn1-62800681', 'tenant_id': 'e5f241f26d9645bcb8903b3579b53660', 'project_id': 'e5f241f26d9645bcb8903b3579b53660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95212579', 'ctest-vn1-62800681'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 16:57:00,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d8ff1d2-5497-4441-a8b5-136fa10b52fa', 'name': '', 'tenant_id': 'e5f241f26d9645bcb8903b3579b53660', 'network_id': '7a80b86c-ae5c-437c-aba6-b744ab324441', 'ip_version': 4, 'cidr': '11.47.133.64/26', 'allocation_pools': [{'start': '11.47.133.66', 'end': '11.47.133.126'}], 'gateway_ip': '11.47.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.47.133.66', 'tags': [], 'project_id': 'e5f241f26d9645bcb8903b3579b53660'}} 2025-11-20 16:57:00,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8647fde-8971-44bb-a6bc-ffebb493661a', 'name': '', 'tenant_id': 'e5f241f26d9645bcb8903b3579b53660', 'network_id': '7a80b86c-ae5c-437c-aba6-b744ab324441', 'ip_version': 4, 'cidr': '181.162.199.128/26', 'allocation_pools': [{'start': '181.162.199.130', 'end': '181.162.199.190'}], 'gateway_ip': '181.162.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.162.199.130', 'tags': [], 'project_id': 'e5f241f26d9645bcb8903b3579b53660'}} 2025-11-20 16:57:00,496 - INFO - Created VN ctest-vn1-62800681 2025-11-20 16:57:00,549 - DEBUG - VN ctest-vn1-62800681 UUID is 7a80b86c-ae5c-437c-aba6-b744ab324441 2025-11-20 16:57:00,831 - DEBUG - Response for create_port : {'port': {'name': '91ed46e7-4bde-4c93-b532-9c3d4567a72b', 'id': '91ed46e7-4bde-4c93-b532-9c3d4567a72b', 'tenant_id': 'e5f241f26d9645bcb8903b3579b53660', 'network_id': '7a80b86c-ae5c-437c-aba6-b744ab324441', 'mac_address': '02:91:ed:46:e7:4b', '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': '11.47.133.69', 'subnet_id': '1d8ff1d2-5497-4441-a8b5-136fa10b52fa'}], 'security_groups': ['75299cb1-dc4c-498e-81c8-24a20ca0b93d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5f241f26d9645bcb8903b3579b53660'}} 2025-11-20 16:57:00,985 - DEBUG - Response for create_port : {'port': {'name': '06c3715d-ba19-4825-9e86-87b67ac27879', 'id': '06c3715d-ba19-4825-9e86-87b67ac27879', 'tenant_id': 'e5f241f26d9645bcb8903b3579b53660', 'network_id': '7a80b86c-ae5c-437c-aba6-b744ab324441', 'mac_address': '02:06:c3:71:5d:ba', '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': '181.162.199.133', 'subnet_id': 'f8647fde-8971-44bb-a6bc-ffebb493661a'}], 'security_groups': ['75299cb1-dc4c-498e-81c8-24a20ca0b93d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5f241f26d9645bcb8903b3579b53660'}} 2025-11-20 16:57:01,037 - DEBUG - Services list from nova: [, , ] 2025-11-20 16:57:01,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4780-1) 2025-11-20 16:57:01,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4780-1) 2025-11-20 16:57:01,711 - INFO - Waiting for VM ctest-vn1-vm1-66503127 to be up.. 2025-11-20 16:57:01,747 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 16:57:06,812 - DEBUG - VM is in ACTIVE state now 2025-11-20 16:57:06,812 - INFO - VM name : ctest-vn1-vm1-66503127 2025-11-20 16:57:06,873 - DEBUG - VM ctest-vn1-vm1-66503127 ID is f10f8a22-a0d9-4688-8b0e-056c93c88557 2025-11-20 16:57:06,890 - DEBUG - VM ctest-vn1-vm1-66503127 launched on Node cn-jenkins-deploy-platform-ansible-os-4780-1 2025-11-20 16:57:06,953 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/f10f8a22-a0d9-4688-8b0e-056c93c88557 2025-11-20 16:57:06,960 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/91ed46e7-4bde-4c93-b532-9c3d4567a72b 2025-11-20 16:57:10,201 - 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 1011ms') 2025-11-20 16:57:10,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66503127 failed! 2025-11-20 16:57:10,253 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95212579:ctest-vn1-62800681 is 11.47.133.65 and allocation pool is NOT set 2025-11-20 16:57:10,253 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95212579:ctest-vn1-62800681 is 181.162.199.129 and allocation pool is NOT set 2025-11-20 16:57:12,320 - 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=4.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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 = 1.000/2.615/4.231/1.615 ms') 2025-11-20 16:57:12,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66503127 passed 2025-11-20 16:57:12,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:12,469 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66503127, IP 11.47.133.69, Port 22 2025-11-20 16:57:12,524 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-20 16:57:12,604 - DEBUG - VM ctest-vn1-vm1-66503127 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 16:57:17,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:17,605 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66503127, IP 11.47.133.69, Port 22 2025-11-20 16:57:17,760 - DEBUG - VM ctest-vn1-vm1-66503127 is ready for SSH connections 2025-11-20 16:57:17,760 - INFO - Waiting for VM ctest-vn1-vm2-48843719 to be up.. 2025-11-20 16:57:17,824 - DEBUG - VM is in ACTIVE state now 2025-11-20 16:57:17,824 - INFO - VM name : ctest-vn1-vm2-48843719 2025-11-20 16:57:17,885 - DEBUG - VM ctest-vn1-vm2-48843719 ID is d2173ee0-ae10-4bfa-94fc-a95a72cd319a 2025-11-20 16:57:17,886 - DEBUG - VM ctest-vn1-vm2-48843719 launched on Node cn-jenkins-deploy-platform-ansible-os-4780-1 2025-11-20 16:57:17,948 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/d2173ee0-ae10-4bfa-94fc-a95a72cd319a 2025-11-20 16:57:17,956 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/06c3715d-ba19-4825-9e86-87b67ac27879 2025-11-20 16:57:19,191 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.332 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.332/1.552/2.773/1.220 ms') 2025-11-20 16:57:19,191 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48843719 passed 2025-11-20 16:57:19,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:19,345 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48843719, IP 181.162.199.133, Port 22 2025-11-20 16:57:19,505 - DEBUG - VM ctest-vn1-vm2-48843719 is ready for SSH connections 2025-11-20 16:57:19,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:19,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:19,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:57:19,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.47.133.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2025-11-20 16:57:19,505 - DEBUG - ping -s 56 -c 3 -W 1 11.47.133.69 2025-11-20 16:57:22,499 - DEBUG - PING 11.47.133.69 (11.47.133.69): 56 data bytes 64 bytes from 11.47.133.69: seq=0 ttl=63 time=5.816 ms 64 bytes from 11.47.133.69: seq=1 ttl=63 time=0.868 ms 64 bytes from 11.47.133.69: seq=2 ttl=63 time=0.761 ms --- 11.47.133.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/2.481/5.816 ms 2025-11-20 16:57:22,499 - INFO - Ping to IP 11.47.133.69 from VM ctest-vn1-vm2-48843719 passed 2025-11-20 16:57:22,499 - INFO - Detaching port 06c3715d-ba19-4825-9e86-87b67ac27879 from VM ctest-vn1-vm2-48843719 2025-11-20 16:57:22,544 - INFO - Deleting VM ctest-vn1-vm2-48843719 2025-11-20 16:57:22,606 - INFO - Detaching port 91ed46e7-4bde-4c93-b532-9c3d4567a72b from VM ctest-vn1-vm1-66503127 2025-11-20 16:57:22,636 - INFO - Deleting VM ctest-vn1-vm1-66503127 2025-11-20 16:57:22,816 - DEBUG - Response for delete_port : () 2025-11-20 16:57:22,993 - DEBUG - Response for delete_port : () 2025-11-20 16:57:22,993 - INFO - Deleting VN ctest-vn1-62800681 2025-11-20 16:57:23,120 - DEBUG - Response for deleting network () 2025-11-20 16:57:23,382 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 16:57:23,382 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-20 16:57:23,382 - INFO - -------------------------------------------------------------------------------- 2025-11-20 16:57:24,029 - INFO - Deleted project: ctest-TestPorts-95212579, ID : e5f241f2-6d96-45bc-b890-3b3579b53660