2025-08-11 16:02:14,355 - INFO - Domain Default found not creating 2025-08-11 16:02:14,492 - INFO - Project ctest-TestPorts-90763507 not found, creating it 2025-08-11 16:02:14,969 - INFO - Created Project:ctest-TestPorts-90763507, ID : 2413dacb-09e3-4599-a120-7c4003f8cd29 2025-08-11 16:02:16,465 - INFO - ================================================================================ 2025-08-11 16:02:16,465 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 16:02:16,465 - 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-08-11 16:02:16,734 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-08-11 16:02:16,734 - INFO - Initial checks done. Running the testcase now 2025-08-11 16:02:16,734 - INFO - 2025-08-11 16:02:17,312 - DEBUG - Response for create_network : {'network': {'id': 'c8d2cc05-d322-42ab-a978-96735f69be9c', 'name': 'ctest-vn-31005798', 'tenant_id': '2413dacb09e34599a1207c4003f8cd29', 'project_id': '2413dacb09e34599a1207c4003f8cd29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90763507', 'ctest-vn-31005798'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:02:17,490 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fd426eb-1ec9-4e1b-a30f-797252050cd5', 'name': '', 'tenant_id': '2413dacb09e34599a1207c4003f8cd29', 'network_id': 'c8d2cc05-d322-42ab-a978-96735f69be9c', 'ip_version': 4, 'cidr': '141.25.184.192/26', 'allocation_pools': [{'start': '141.25.184.194', 'end': '141.25.184.254'}], 'gateway_ip': '141.25.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.25.184.194', 'tags': [], 'project_id': '2413dacb09e34599a1207c4003f8cd29'}} 2025-08-11 16:02:17,508 - INFO - Created VN ctest-vn-31005798 2025-08-11 16:02:17,559 - DEBUG - VN ctest-vn-31005798 UUID is c8d2cc05-d322-42ab-a978-96735f69be9c 2025-08-11 16:02:17,660 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90763507', 'ctest-vmi-64850139']} 2025-08-11 16:02:17,945 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64850139', 'id': 'cf7e826f-a563-4e40-aa96-f6b28b7de791', 'tenant_id': '2413dacb09e34599a1207c4003f8cd29', 'network_id': 'c8d2cc05-d322-42ab-a978-96735f69be9c', 'mac_address': '02:cf:7e:82:6f:a5', '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': '141.25.184.195', 'subnet_id': '6fd426eb-1ec9-4e1b-a30f-797252050cd5'}], 'security_groups': ['e40c22d5-e76c-43ad-a1c9-56831e9f2d3c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2413dacb09e34599a1207c4003f8cd29'}} 2025-08-11 16:02:17,945 - DEBUG - Created port cf7e826f-a563-4e40-aa96-f6b28b7de791 2025-08-11 16:02:18,051 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cf7e826f-a563-4e40-aa96-f6b28b7de791 2025-08-11 16:02:18,383 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cf7e826f-a563-4e40-aa96-f6b28b7de791 2025-08-11 16:02:18,418 - INFO - VMI cf7e826f-a563-4e40-aa96-f6b28b7de791 verification in API Server passed 2025-08-11 16:02:18,502 - DEBUG - Response for delete_port : () 2025-08-11 16:02:18,503 - INFO - Deleted port cf7e826f-a563-4e40-aa96-f6b28b7de791 2025-08-11 16:02:18,503 - INFO - Deleting VN ctest-vn-31005798 2025-08-11 16:02:18,612 - DEBUG - Response for deleting network () 2025-08-11 16:02:18,869 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 16:02:18,869 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-11 16:02:18,869 - INFO - -------------------------------------------------------------------------------- 2025-08-11 16:02:18,872 - INFO - ================================================================================ 2025-08-11 16:02:18,872 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 16:02:18,872 - 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-08-11 16:02:19,163 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-08-11 16:02:19,163 - INFO - Initial checks done. Running the testcase now 2025-08-11 16:02:19,163 - INFO - 2025-08-11 16:02:19,362 - DEBUG - Response for create_network : {'network': {'id': 'a5711886-171d-41a2-b1ee-9b556ca3dd32', 'name': 'ctest-vn1-33078146', 'tenant_id': '2413dacb09e34599a1207c4003f8cd29', 'project_id': '2413dacb09e34599a1207c4003f8cd29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90763507', 'ctest-vn1-33078146'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:02:19,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '07dc4b69-844a-4449-8df9-0804c09992c6', 'name': '', 'tenant_id': '2413dacb09e34599a1207c4003f8cd29', 'network_id': 'a5711886-171d-41a2-b1ee-9b556ca3dd32', 'ip_version': 4, 'cidr': '84.249.152.192/26', 'allocation_pools': [{'start': '84.249.152.194', 'end': '84.249.152.254'}], 'gateway_ip': '84.249.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.249.152.194', 'tags': [], 'project_id': '2413dacb09e34599a1207c4003f8cd29'}} 2025-08-11 16:02:19,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '70fbb743-471e-448e-9aa4-67697cd814c0', 'name': '', 'tenant_id': '2413dacb09e34599a1207c4003f8cd29', 'network_id': 'a5711886-171d-41a2-b1ee-9b556ca3dd32', 'ip_version': 4, 'cidr': '40.70.164.128/26', 'allocation_pools': [{'start': '40.70.164.130', 'end': '40.70.164.190'}], 'gateway_ip': '40.70.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.70.164.130', 'tags': [], 'project_id': '2413dacb09e34599a1207c4003f8cd29'}} 2025-08-11 16:02:19,809 - INFO - Created VN ctest-vn1-33078146 2025-08-11 16:02:19,864 - DEBUG - VN ctest-vn1-33078146 UUID is a5711886-171d-41a2-b1ee-9b556ca3dd32 2025-08-11 16:02:20,176 - DEBUG - Response for create_port : {'port': {'name': '9901ca46-eb86-424d-8414-91878ac6db89', 'id': '9901ca46-eb86-424d-8414-91878ac6db89', 'tenant_id': '2413dacb09e34599a1207c4003f8cd29', 'network_id': 'a5711886-171d-41a2-b1ee-9b556ca3dd32', 'mac_address': '02:99:01:ca:46:eb', '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.249.152.197', 'subnet_id': '07dc4b69-844a-4449-8df9-0804c09992c6'}], 'security_groups': ['e40c22d5-e76c-43ad-a1c9-56831e9f2d3c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2413dacb09e34599a1207c4003f8cd29'}} 2025-08-11 16:02:20,352 - DEBUG - Response for create_port : {'port': {'name': '5ddfb50e-ec38-428f-9d9d-0a84e643e839', 'id': '5ddfb50e-ec38-428f-9d9d-0a84e643e839', 'tenant_id': '2413dacb09e34599a1207c4003f8cd29', 'network_id': 'a5711886-171d-41a2-b1ee-9b556ca3dd32', 'mac_address': '02:5d:df:b5:0e:ec', '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': '40.70.164.133', 'subnet_id': '70fbb743-471e-448e-9aa4-67697cd814c0'}], 'security_groups': ['e40c22d5-e76c-43ad-a1c9-56831e9f2d3c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2413dacb09e34599a1207c4003f8cd29'}} 2025-08-11 16:02:20,409 - DEBUG - Services list from nova: [, , ] 2025-08-11 16:02:20,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3815-1) 2025-08-11 16:02:21,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3815-1) 2025-08-11 16:02:21,252 - INFO - Waiting for VM ctest-vn1-vm1-27897631 to be up.. 2025-08-11 16:02:21,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 16:02:26,378 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:02:26,378 - INFO - VM name : ctest-vn1-vm1-27897631 2025-08-11 16:02:26,458 - DEBUG - VM ctest-vn1-vm1-27897631 ID is b6b10e31-94e1-4d99-9a98-ccf96d3b00ae 2025-08-11 16:02:26,478 - DEBUG - VM ctest-vn1-vm1-27897631 launched on Node cn-jenkins-deploy-platform-ansible-os-3815-1 2025-08-11 16:02:26,554 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b6b10e31-94e1-4d99-9a98-ccf96d3b00ae 2025-08-11 16:02:26,564 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9901ca46-eb86-424d-8414-91878ac6db89 2025-08-11 16:02:29,824 - 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 1007ms') 2025-08-11 16:02:29,825 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27897631 failed! 2025-08-11 16:02:29,879 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90763507:ctest-vn1-33078146 is 84.249.152.193 and allocation pool is NOT set 2025-08-11 16:02:29,879 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90763507:ctest-vn1-33078146 is 40.70.164.129 and allocation pool is NOT set 2025-08-11 16:02:31,944 - 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=15.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.30 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 = 3.302/9.143/14.984/5.841 ms') 2025-08-11 16:02:31,944 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27897631 passed 2025-08-11 16:02:32,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:02:32,099 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27897631, IP 84.249.152.197, Port 22 2025-08-11 16:02:32,158 - 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-08-11 16:02:32,229 - DEBUG - VM ctest-vn1-vm1-27897631 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 16:02:37,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:02:37,230 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27897631, IP 84.249.152.197, Port 22 2025-08-11 16:02:37,390 - DEBUG - VM ctest-vn1-vm1-27897631 is ready for SSH connections 2025-08-11 16:02:37,390 - INFO - Waiting for VM ctest-vn1-vm2-77528013 to be up.. 2025-08-11 16:02:37,466 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:02:37,466 - INFO - VM name : ctest-vn1-vm2-77528013 2025-08-11 16:02:37,532 - DEBUG - VM ctest-vn1-vm2-77528013 ID is d5252534-0cf5-4fec-82b9-cc8dfa05fc7b 2025-08-11 16:02:37,532 - DEBUG - VM ctest-vn1-vm2-77528013 launched on Node cn-jenkins-deploy-platform-ansible-os-3815-1 2025-08-11 16:02:37,612 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d5252534-0cf5-4fec-82b9-cc8dfa05fc7b 2025-08-11 16:02:37,621 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5ddfb50e-ec38-428f-9d9d-0a84e643e839 2025-08-11 16:02:38,861 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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 = 0.450/1.813/3.176/1.363 ms') 2025-08-11 16:02:38,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77528013 passed 2025-08-11 16:02:39,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:02:39,015 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77528013, IP 40.70.164.133, Port 22 2025-08-11 16:02:39,179 - DEBUG - VM ctest-vn1-vm2-77528013 is ready for SSH connections 2025-08-11 16:02:39,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:02:39,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:02:39,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:02:39,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.249.152.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:02:39,179 - DEBUG - ping -s 56 -c 3 -W 1 84.249.152.197 2025-08-11 16:02:41,845 - DEBUG - PING 84.249.152.197 (84.249.152.197): 56 data bytes 64 bytes from 84.249.152.197: seq=0 ttl=63 time=4.703 ms 64 bytes from 84.249.152.197: seq=1 ttl=63 time=0.887 ms 64 bytes from 84.249.152.197: seq=2 ttl=63 time=1.515 ms --- 84.249.152.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/2.368/4.703 ms 2025-08-11 16:02:41,845 - INFO - Ping to IP 84.249.152.197 from VM ctest-vn1-vm2-77528013 passed 2025-08-11 16:02:41,845 - INFO - Detaching port 5ddfb50e-ec38-428f-9d9d-0a84e643e839 from VM ctest-vn1-vm2-77528013 2025-08-11 16:02:41,899 - INFO - Deleting VM ctest-vn1-vm2-77528013 2025-08-11 16:02:41,959 - INFO - Detaching port 9901ca46-eb86-424d-8414-91878ac6db89 from VM ctest-vn1-vm1-27897631 2025-08-11 16:02:41,990 - INFO - Deleting VM ctest-vn1-vm1-27897631 2025-08-11 16:02:42,213 - DEBUG - Response for delete_port : () 2025-08-11 16:02:42,424 - DEBUG - Response for delete_port : () 2025-08-11 16:02:42,424 - INFO - Deleting VN ctest-vn1-33078146 2025-08-11 16:02:42,572 - DEBUG - Response for deleting network () 2025-08-11 16:02:42,829 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 16:02:42,829 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-11 16:02:42,829 - INFO - -------------------------------------------------------------------------------- 2025-08-11 16:02:43,554 - INFO - Deleted project: ctest-TestPorts-90763507, ID : 2413dacb-09e3-4599-a120-7c4003f8cd29