2025-10-06 16:09:54,139 - INFO - Domain Default found not creating 2025-10-06 16:09:54,296 - INFO - Project ctest-TestPorts-10457788 not found, creating it 2025-10-06 16:09:54,758 - INFO - Created Project:ctest-TestPorts-10457788, ID : ffa9845d-29d5-4bc8-8c51-542c9fd1d66e 2025-10-06 16:09:56,177 - INFO - ================================================================================ 2025-10-06 16:09:56,177 - INFO - STARTING TEST : test_ports_bindings 2025-10-06 16:09:56,177 - 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-10-06 16:09:56,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-06 16:09:56,432 - INFO - Initial checks done. Running the testcase now 2025-10-06 16:09:56,432 - INFO - 2025-10-06 16:09:57,029 - DEBUG - Response for create_network : {'network': {'id': '7d6957bf-eaa6-4633-a730-60053c710eea', 'name': 'ctest-vn-00670382', 'tenant_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'project_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10457788', 'ctest-vn-00670382'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:09:57,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '12b165ba-4d51-4252-bff2-0b6924b86708', 'name': '', 'tenant_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'network_id': '7d6957bf-eaa6-4633-a730-60053c710eea', 'ip_version': 4, 'cidr': '84.38.33.64/26', 'allocation_pools': [{'start': '84.38.33.66', 'end': '84.38.33.126'}], 'gateway_ip': '84.38.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.38.33.66', 'tags': [], 'project_id': 'ffa9845d29d54bc88c51542c9fd1d66e'}} 2025-10-06 16:09:57,225 - INFO - Created VN ctest-vn-00670382 2025-10-06 16:09:57,279 - DEBUG - VN ctest-vn-00670382 UUID is 7d6957bf-eaa6-4633-a730-60053c710eea 2025-10-06 16:09:57,389 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10457788', 'ctest-vmi-24376398']} 2025-10-06 16:09:57,629 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24376398', 'id': 'f737be66-72a9-46dc-8644-5fe2548fdecf', 'tenant_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'network_id': '7d6957bf-eaa6-4633-a730-60053c710eea', 'mac_address': '02:f7:37:be:66:72', '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': '84.38.33.67', 'subnet_id': '12b165ba-4d51-4252-bff2-0b6924b86708'}], 'security_groups': ['6a829ffa-8abe-4fa8-94e7-19a622800ce5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ffa9845d29d54bc88c51542c9fd1d66e'}} 2025-10-06 16:09:57,629 - DEBUG - Created port f737be66-72a9-46dc-8644-5fe2548fdecf 2025-10-06 16:09:57,735 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f737be66-72a9-46dc-8644-5fe2548fdecf 2025-10-06 16:09:58,037 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f737be66-72a9-46dc-8644-5fe2548fdecf 2025-10-06 16:09:58,080 - INFO - VMI f737be66-72a9-46dc-8644-5fe2548fdecf verification in API Server passed 2025-10-06 16:09:58,202 - DEBUG - Response for delete_port : () 2025-10-06 16:09:58,202 - INFO - Deleted port f737be66-72a9-46dc-8644-5fe2548fdecf 2025-10-06 16:09:58,202 - INFO - Deleting VN ctest-vn-00670382 2025-10-06 16:09:58,333 - DEBUG - Response for deleting network () 2025-10-06 16:09:58,596 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 16:09:58,597 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-06 16:09:58,597 - INFO - -------------------------------------------------------------------------------- 2025-10-06 16:09:58,603 - INFO - ================================================================================ 2025-10-06 16:09:58,603 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-06 16:09:58,603 - 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-10-06 16:09:58,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-06 16:09:58,890 - INFO - Initial checks done. Running the testcase now 2025-10-06 16:09:58,890 - INFO - 2025-10-06 16:09:59,095 - DEBUG - Response for create_network : {'network': {'id': 'ab2ef589-3e9b-4732-8870-6e17fe0155ca', 'name': 'ctest-vn1-39106216', 'tenant_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'project_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10457788', 'ctest-vn1-39106216'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:09:59,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd82cfa2-e63c-49f3-b945-93c3b1e3708c', 'name': '', 'tenant_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'network_id': 'ab2ef589-3e9b-4732-8870-6e17fe0155ca', 'ip_version': 4, 'cidr': '140.1.149.64/26', 'allocation_pools': [{'start': '140.1.149.66', 'end': '140.1.149.126'}], 'gateway_ip': '140.1.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.1.149.66', 'tags': [], 'project_id': 'ffa9845d29d54bc88c51542c9fd1d66e'}} 2025-10-06 16:09:59,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eddf15b5-1287-4d2d-af73-23e507eb8124', 'name': '', 'tenant_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'network_id': 'ab2ef589-3e9b-4732-8870-6e17fe0155ca', 'ip_version': 4, 'cidr': '109.226.193.128/26', 'allocation_pools': [{'start': '109.226.193.130', 'end': '109.226.193.190'}], 'gateway_ip': '109.226.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.226.193.130', 'tags': [], 'project_id': 'ffa9845d29d54bc88c51542c9fd1d66e'}} 2025-10-06 16:09:59,511 - INFO - Created VN ctest-vn1-39106216 2025-10-06 16:09:59,567 - DEBUG - VN ctest-vn1-39106216 UUID is ab2ef589-3e9b-4732-8870-6e17fe0155ca 2025-10-06 16:09:59,869 - DEBUG - Response for create_port : {'port': {'name': '7e47b94a-aca5-4ff3-be22-7941311b0e4a', 'id': '7e47b94a-aca5-4ff3-be22-7941311b0e4a', 'tenant_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'network_id': 'ab2ef589-3e9b-4732-8870-6e17fe0155ca', 'mac_address': '02:7e:47:b9:4a:ac', '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': '140.1.149.69', 'subnet_id': 'cd82cfa2-e63c-49f3-b945-93c3b1e3708c'}], 'security_groups': ['6a829ffa-8abe-4fa8-94e7-19a622800ce5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ffa9845d29d54bc88c51542c9fd1d66e'}} 2025-10-06 16:10:00,077 - DEBUG - Response for create_port : {'port': {'name': '632b4336-46a8-4273-ad7d-14453cdeeb2e', 'id': '632b4336-46a8-4273-ad7d-14453cdeeb2e', 'tenant_id': 'ffa9845d29d54bc88c51542c9fd1d66e', 'network_id': 'ab2ef589-3e9b-4732-8870-6e17fe0155ca', 'mac_address': '02:63:2b:43:36: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': '109.226.193.133', 'subnet_id': 'eddf15b5-1287-4d2d-af73-23e507eb8124'}], 'security_groups': ['6a829ffa-8abe-4fa8-94e7-19a622800ce5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ffa9845d29d54bc88c51542c9fd1d66e'}} 2025-10-06 16:10:00,136 - DEBUG - Services list from nova: [, , ] 2025-10-06 16:10:00,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4225-1) 2025-10-06 16:10:00,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4225-1) 2025-10-06 16:10:00,919 - INFO - Waiting for VM ctest-vn1-vm1-90826880 to be up.. 2025-10-06 16:10:00,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 16:10:06,051 - DEBUG - VM is in ACTIVE state now 2025-10-06 16:10:06,052 - INFO - VM name : ctest-vn1-vm1-90826880 2025-10-06 16:10:06,130 - DEBUG - VM ctest-vn1-vm1-90826880 ID is e64ae242-fe08-4660-9a4a-78d609c73800 2025-10-06 16:10:06,152 - DEBUG - VM ctest-vn1-vm1-90826880 launched on Node cn-jenkins-deploy-platform-ansible-os-4225-1 2025-10-06 16:10:06,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e64ae242-fe08-4660-9a4a-78d609c73800 2025-10-06 16:10:06,252 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7e47b94a-aca5-4ff3-be22-7941311b0e4a 2025-10-06 16:10:09,521 - 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 1026ms') 2025-10-06 16:10:09,521 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90826880 failed! 2025-10-06 16:10:09,575 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10457788:ctest-vn1-39106216 is 140.1.149.65 and allocation pool is NOT set 2025-10-06 16:10:09,575 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10457788:ctest-vn1-39106216 is 109.226.193.129 and allocation pool is NOT set 2025-10-06 16:10:13,648 - 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=6.76 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 6.759/6.759/6.759/0.000 ms') 2025-10-06 16:10:13,648 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90826880 passed 2025-10-06 16:10:13,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:10:13,803 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90826880, IP 140.1.149.69, Port 22 2025-10-06 16:10:13,869 - 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-10-06 16:10:13,956 - DEBUG - VM ctest-vn1-vm1-90826880 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 16:10:18,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:10:18,957 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90826880, IP 140.1.149.69, Port 22 2025-10-06 16:10:19,119 - DEBUG - VM ctest-vn1-vm1-90826880 is ready for SSH connections 2025-10-06 16:10:19,119 - INFO - Waiting for VM ctest-vn1-vm2-71367661 to be up.. 2025-10-06 16:10:19,200 - DEBUG - VM is in ACTIVE state now 2025-10-06 16:10:19,201 - INFO - VM name : ctest-vn1-vm2-71367661 2025-10-06 16:10:19,280 - DEBUG - VM ctest-vn1-vm2-71367661 ID is 9460435c-b9ba-45b7-95d0-ce001c6e8776 2025-10-06 16:10:19,281 - DEBUG - VM ctest-vn1-vm2-71367661 launched on Node cn-jenkins-deploy-platform-ansible-os-4225-1 2025-10-06 16:10:19,361 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9460435c-b9ba-45b7-95d0-ce001c6e8776 2025-10-06 16:10:19,369 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/632b4336-46a8-4273-ad7d-14453cdeeb2e 2025-10-06 16:10:20,613 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.422/1.708/2.995/1.286 ms') 2025-10-06 16:10:20,613 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-71367661 passed 2025-10-06 16:10:20,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:10:20,783 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71367661, IP 109.226.193.133, Port 22 2025-10-06 16:10:20,966 - DEBUG - VM ctest-vn1-vm2-71367661 is ready for SSH connections 2025-10-06 16:10:20,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:10:20,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:10:20,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:10:20,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.1.149.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-06 16:10:20,967 - DEBUG - ping -s 56 -c 3 -W 1 140.1.149.69 2025-10-06 16:10:23,670 - DEBUG - PING 140.1.149.69 (140.1.149.69): 56 data bytes 64 bytes from 140.1.149.69: seq=0 ttl=63 time=3.485 ms 64 bytes from 140.1.149.69: seq=1 ttl=63 time=0.891 ms 64 bytes from 140.1.149.69: seq=2 ttl=63 time=1.039 ms --- 140.1.149.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/1.805/3.485 ms 2025-10-06 16:10:23,670 - INFO - Ping to IP 140.1.149.69 from VM ctest-vn1-vm2-71367661 passed 2025-10-06 16:10:23,670 - INFO - Detaching port 632b4336-46a8-4273-ad7d-14453cdeeb2e from VM ctest-vn1-vm2-71367661 2025-10-06 16:10:23,726 - INFO - Deleting VM ctest-vn1-vm2-71367661 2025-10-06 16:10:23,810 - INFO - Detaching port 7e47b94a-aca5-4ff3-be22-7941311b0e4a from VM ctest-vn1-vm1-90826880 2025-10-06 16:10:23,850 - INFO - Deleting VM ctest-vn1-vm1-90826880 2025-10-06 16:10:24,160 - DEBUG - Response for delete_port : () 2025-10-06 16:10:24,342 - DEBUG - Response for delete_port : () 2025-10-06 16:10:24,342 - INFO - Deleting VN ctest-vn1-39106216 2025-10-06 16:10:24,496 - DEBUG - Response for deleting network () 2025-10-06 16:10:24,752 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 16:10:24,752 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-10-06 16:10:24,752 - INFO - -------------------------------------------------------------------------------- 2025-10-06 16:10:25,804 - INFO - Deleted project: ctest-TestPorts-10457788, ID : ffa9845d-29d5-4bc8-8c51-542c9fd1d66e