2025-10-15 14:29:28,255 - INFO - Domain Default found not creating 2025-10-15 14:29:28,387 - INFO - Project ctest-TestPorts-58239927 not found, creating it 2025-10-15 14:29:28,833 - INFO - Created Project:ctest-TestPorts-58239927, ID : bcbbe29f-048f-4bd9-8deb-339839019357 2025-10-15 14:29:30,155 - INFO - ================================================================================ 2025-10-15 14:29:30,155 - INFO - STARTING TEST : test_ports_bindings 2025-10-15 14:29:30,155 - 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-15 14:29:30,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.249': '0'}} with 2025-10-15 14:29:30,408 - INFO - Initial checks done. Running the testcase now 2025-10-15 14:29:30,408 - INFO - 2025-10-15 14:29:30,936 - DEBUG - Response for create_network : {'network': {'id': '5a409f42-8546-4a87-87a7-b69ede78fa44', 'name': 'ctest-vn-30171948', 'tenant_id': 'bcbbe29f048f4bd98deb339839019357', 'project_id': 'bcbbe29f048f4bd98deb339839019357', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58239927', 'ctest-vn-30171948'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 14:29:31,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2828d63-fd64-4ce3-9bb5-49de1b1b7ee1', 'name': '', 'tenant_id': 'bcbbe29f048f4bd98deb339839019357', 'network_id': '5a409f42-8546-4a87-87a7-b69ede78fa44', 'ip_version': 4, 'cidr': '128.197.54.0/26', 'allocation_pools': [{'start': '128.197.54.2', 'end': '128.197.54.62'}], 'gateway_ip': '128.197.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.197.54.2', 'tags': [], 'project_id': 'bcbbe29f048f4bd98deb339839019357'}} 2025-10-15 14:29:31,159 - INFO - Created VN ctest-vn-30171948 2025-10-15 14:29:31,211 - DEBUG - VN ctest-vn-30171948 UUID is 5a409f42-8546-4a87-87a7-b69ede78fa44 2025-10-15 14:29:31,309 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58239927', 'ctest-vmi-29586015']} 2025-10-15 14:29:31,564 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29586015', 'id': 'f2834224-7f3c-4154-94c2-e4e692633146', 'tenant_id': 'bcbbe29f048f4bd98deb339839019357', 'network_id': '5a409f42-8546-4a87-87a7-b69ede78fa44', 'mac_address': '02:f2:83:42:24:7f', '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': '128.197.54.3', 'subnet_id': 'c2828d63-fd64-4ce3-9bb5-49de1b1b7ee1'}], 'security_groups': ['b6824cf2-525e-4b42-924b-127e87fc4018'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bcbbe29f048f4bd98deb339839019357'}} 2025-10-15 14:29:31,564 - DEBUG - Created port f2834224-7f3c-4154-94c2-e4e692633146 2025-10-15 14:29:31,671 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f2834224-7f3c-4154-94c2-e4e692633146 2025-10-15 14:29:31,958 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f2834224-7f3c-4154-94c2-e4e692633146 2025-10-15 14:29:31,986 - INFO - VMI f2834224-7f3c-4154-94c2-e4e692633146 verification in API Server passed 2025-10-15 14:29:32,063 - DEBUG - Response for delete_port : () 2025-10-15 14:29:32,063 - INFO - Deleted port f2834224-7f3c-4154-94c2-e4e692633146 2025-10-15 14:29:32,063 - INFO - Deleting VN ctest-vn-30171948 2025-10-15 14:29:32,151 - DEBUG - Response for deleting network () 2025-10-15 14:29:32,408 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 14:29:32,408 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-15 14:29:32,408 - INFO - -------------------------------------------------------------------------------- 2025-10-15 14:29:32,410 - INFO - ================================================================================ 2025-10-15 14:29:32,410 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-15 14:29:32,410 - 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-15 14:29:32,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.249': '0'}} with 2025-10-15 14:29:32,692 - INFO - Initial checks done. Running the testcase now 2025-10-15 14:29:32,692 - INFO - 2025-10-15 14:29:32,863 - DEBUG - Response for create_network : {'network': {'id': 'a2a551e8-2763-49a7-9ba7-0fced9c084ff', 'name': 'ctest-vn1-71666547', 'tenant_id': 'bcbbe29f048f4bd98deb339839019357', 'project_id': 'bcbbe29f048f4bd98deb339839019357', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58239927', 'ctest-vn1-71666547'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 14:29:33,012 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee30f3e2-cb1b-4b29-833b-974ea3ed8a24', 'name': '', 'tenant_id': 'bcbbe29f048f4bd98deb339839019357', 'network_id': 'a2a551e8-2763-49a7-9ba7-0fced9c084ff', 'ip_version': 4, 'cidr': '70.82.102.64/26', 'allocation_pools': [{'start': '70.82.102.66', 'end': '70.82.102.126'}], 'gateway_ip': '70.82.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.82.102.66', 'tags': [], 'project_id': 'bcbbe29f048f4bd98deb339839019357'}} 2025-10-15 14:29:33,141 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1a87e70-f405-4a69-9d11-f3ee99c3a7a2', 'name': '', 'tenant_id': 'bcbbe29f048f4bd98deb339839019357', 'network_id': 'a2a551e8-2763-49a7-9ba7-0fced9c084ff', 'ip_version': 4, 'cidr': '40.179.96.128/26', 'allocation_pools': [{'start': '40.179.96.130', 'end': '40.179.96.190'}], 'gateway_ip': '40.179.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.179.96.130', 'tags': [], 'project_id': 'bcbbe29f048f4bd98deb339839019357'}} 2025-10-15 14:29:33,161 - INFO - Created VN ctest-vn1-71666547 2025-10-15 14:29:33,211 - DEBUG - VN ctest-vn1-71666547 UUID is a2a551e8-2763-49a7-9ba7-0fced9c084ff 2025-10-15 14:29:33,469 - DEBUG - Response for create_port : {'port': {'name': '941a9685-3f35-48a7-b0d7-c054b505b25f', 'id': '941a9685-3f35-48a7-b0d7-c054b505b25f', 'tenant_id': 'bcbbe29f048f4bd98deb339839019357', 'network_id': 'a2a551e8-2763-49a7-9ba7-0fced9c084ff', 'mac_address': '02:94:1a:96:85:3f', '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': '70.82.102.69', 'subnet_id': 'ee30f3e2-cb1b-4b29-833b-974ea3ed8a24'}], 'security_groups': ['b6824cf2-525e-4b42-924b-127e87fc4018'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bcbbe29f048f4bd98deb339839019357'}} 2025-10-15 14:29:33,628 - DEBUG - Response for create_port : {'port': {'name': 'e5d75346-b66f-4808-8a83-aff64e2c939b', 'id': 'e5d75346-b66f-4808-8a83-aff64e2c939b', 'tenant_id': 'bcbbe29f048f4bd98deb339839019357', 'network_id': 'a2a551e8-2763-49a7-9ba7-0fced9c084ff', 'mac_address': '02:e5:d7:53:46:b6', '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.179.96.133', 'subnet_id': 'f1a87e70-f405-4a69-9d11-f3ee99c3a7a2'}], 'security_groups': ['b6824cf2-525e-4b42-924b-127e87fc4018'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bcbbe29f048f4bd98deb339839019357'}} 2025-10-15 14:29:33,676 - DEBUG - Services list from nova: [, , ] 2025-10-15 14:29:33,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4328-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4328-1) 2025-10-15 14:29:34,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4328-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4328-1) 2025-10-15 14:29:34,302 - INFO - Waiting for VM ctest-vn1-vm1-18869401 to be up.. 2025-10-15 14:29:34,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 14:29:39,401 - DEBUG - VM is in ACTIVE state now 2025-10-15 14:29:39,401 - INFO - VM name : ctest-vn1-vm1-18869401 2025-10-15 14:29:39,467 - DEBUG - VM ctest-vn1-vm1-18869401 ID is 5636049d-f217-4107-92bb-8d6e7d8c5c50 2025-10-15 14:29:39,483 - DEBUG - VM ctest-vn1-vm1-18869401 launched on Node cn-jenkins-deploy-platform-ansible-os-4328-1 2025-10-15 14:29:39,561 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5636049d-f217-4107-92bb-8d6e7d8c5c50 2025-10-15 14:29:39,569 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/941a9685-3f35-48a7-b0d7-c054b505b25f 2025-10-15 14:29:42,864 - 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 1019ms') 2025-10-15 14:29:42,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18869401 failed! 2025-10-15 14:29:42,919 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58239927:ctest-vn1-71666547 is 70.82.102.65 and allocation pool is NOT set 2025-10-15 14:29:42,920 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58239927:ctest-vn1-71666547 is 40.179.96.129 and allocation pool is NOT set 2025-10-15 14:29:44,976 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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 = 2.115/3.394/4.673/1.279 ms') 2025-10-15 14:29:44,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18869401 passed 2025-10-15 14:29:45,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:29:45,124 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18869401, IP 70.82.102.69, Port 22 2025-10-15 14:29:45,182 - 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-15 14:29:45,249 - DEBUG - VM ctest-vn1-vm1-18869401 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 14:29:50,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:29:50,250 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18869401, IP 70.82.102.69, Port 22 2025-10-15 14:29:50,403 - DEBUG - VM ctest-vn1-vm1-18869401 is ready for SSH connections 2025-10-15 14:29:50,403 - INFO - Waiting for VM ctest-vn1-vm2-05293815 to be up.. 2025-10-15 14:29:50,467 - DEBUG - VM is in ACTIVE state now 2025-10-15 14:29:50,467 - INFO - VM name : ctest-vn1-vm2-05293815 2025-10-15 14:29:50,534 - DEBUG - VM ctest-vn1-vm2-05293815 ID is 35363427-e1ef-42be-a7bc-240850d89a0b 2025-10-15 14:29:50,534 - DEBUG - VM ctest-vn1-vm2-05293815 launched on Node cn-jenkins-deploy-platform-ansible-os-4328-1 2025-10-15 14:29:50,597 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/35363427-e1ef-42be-a7bc-240850d89a0b 2025-10-15 14:29:50,604 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e5d75346-b66f-4808-8a83-aff64e2c939b 2025-10-15 14:29:51,831 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.339 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.339/1.661/2.983/1.322 ms') 2025-10-15 14:29:51,831 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05293815 passed 2025-10-15 14:29:51,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:29:51,983 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05293815, IP 40.179.96.133, Port 22 2025-10-15 14:29:52,135 - DEBUG - VM ctest-vn1-vm2-05293815 is ready for SSH connections 2025-10-15 14:29:52,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:29:52,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:29:52,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:29:52,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.82.102.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-15 14:29:52,135 - DEBUG - ping -s 56 -c 3 -W 1 70.82.102.69 2025-10-15 14:29:54,783 - DEBUG - PING 70.82.102.69 (70.82.102.69): 56 data bytes 64 bytes from 70.82.102.69: seq=0 ttl=63 time=3.688 ms 64 bytes from 70.82.102.69: seq=1 ttl=63 time=0.978 ms 64 bytes from 70.82.102.69: seq=2 ttl=63 time=0.767 ms --- 70.82.102.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.811/3.688 ms 2025-10-15 14:29:54,783 - INFO - Ping to IP 70.82.102.69 from VM ctest-vn1-vm2-05293815 passed 2025-10-15 14:29:54,783 - INFO - Detaching port e5d75346-b66f-4808-8a83-aff64e2c939b from VM ctest-vn1-vm2-05293815 2025-10-15 14:29:54,831 - INFO - Deleting VM ctest-vn1-vm2-05293815 2025-10-15 14:29:54,904 - INFO - Detaching port 941a9685-3f35-48a7-b0d7-c054b505b25f from VM ctest-vn1-vm1-18869401 2025-10-15 14:29:54,941 - INFO - Deleting VM ctest-vn1-vm1-18869401 2025-10-15 14:29:55,196 - DEBUG - Response for delete_port : () 2025-10-15 14:29:55,364 - DEBUG - Response for delete_port : () 2025-10-15 14:29:55,364 - INFO - Deleting VN ctest-vn1-71666547 2025-10-15 14:29:55,491 - DEBUG - Response for deleting network () 2025-10-15 14:29:55,743 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 14:29:55,744 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-15 14:29:55,744 - INFO - -------------------------------------------------------------------------------- 2025-10-15 14:29:56,389 - INFO - Deleted project: ctest-TestPorts-58239927, ID : bcbbe29f-048f-4bd9-8deb-339839019357