2025-09-15 16:13:32,463 - INFO - Domain Default found not creating 2025-09-15 16:13:32,651 - INFO - Project ctest-TestPorts-38482023 not found, creating it 2025-09-15 16:13:33,142 - INFO - Created Project:ctest-TestPorts-38482023, ID : ae445669-d5c0-46ef-ba36-b44be999c2f4 2025-09-15 16:13:34,828 - INFO - ================================================================================ 2025-09-15 16:13:34,829 - INFO - STARTING TEST : test_ports_bindings 2025-09-15 16:13:34,829 - 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-09-15 16:13:35,096 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-15 16:13:35,096 - INFO - Initial checks done. Running the testcase now 2025-09-15 16:13:35,097 - INFO - 2025-09-15 16:13:35,683 - DEBUG - Response for create_network : {'network': {'id': '28d0db69-7816-40b2-a75e-8ab758c05b21', 'name': 'ctest-vn-89492320', 'tenant_id': 'ae445669d5c046efba36b44be999c2f4', 'project_id': 'ae445669d5c046efba36b44be999c2f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38482023', 'ctest-vn-89492320'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 16:13:35,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '1601d48e-31a6-4500-bd4c-14d9fca5863a', 'name': '', 'tenant_id': 'ae445669d5c046efba36b44be999c2f4', 'network_id': '28d0db69-7816-40b2-a75e-8ab758c05b21', 'ip_version': 4, 'cidr': '153.85.180.0/26', 'allocation_pools': [{'start': '153.85.180.2', 'end': '153.85.180.62'}], 'gateway_ip': '153.85.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.85.180.2', 'tags': [], 'project_id': 'ae445669d5c046efba36b44be999c2f4'}} 2025-09-15 16:13:35,868 - INFO - Created VN ctest-vn-89492320 2025-09-15 16:13:35,920 - DEBUG - VN ctest-vn-89492320 UUID is 28d0db69-7816-40b2-a75e-8ab758c05b21 2025-09-15 16:13:36,042 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38482023', 'ctest-vmi-26697541']} 2025-09-15 16:13:36,306 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26697541', 'id': 'e9b59756-3dbd-4541-a0f4-919cb3129d25', 'tenant_id': 'ae445669d5c046efba36b44be999c2f4', 'network_id': '28d0db69-7816-40b2-a75e-8ab758c05b21', 'mac_address': '02:e9:b5:97:56:3d', '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': '153.85.180.3', 'subnet_id': '1601d48e-31a6-4500-bd4c-14d9fca5863a'}], 'security_groups': ['ec859a0a-e423-433b-bd42-36f518024158'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae445669d5c046efba36b44be999c2f4'}} 2025-09-15 16:13:36,306 - DEBUG - Created port e9b59756-3dbd-4541-a0f4-919cb3129d25 2025-09-15 16:13:36,416 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9b59756-3dbd-4541-a0f4-919cb3129d25 2025-09-15 16:13:36,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9b59756-3dbd-4541-a0f4-919cb3129d25 2025-09-15 16:13:36,753 - INFO - VMI e9b59756-3dbd-4541-a0f4-919cb3129d25 verification in API Server passed 2025-09-15 16:13:36,853 - DEBUG - Response for delete_port : () 2025-09-15 16:13:36,853 - INFO - Deleted port e9b59756-3dbd-4541-a0f4-919cb3129d25 2025-09-15 16:13:36,854 - INFO - Deleting VN ctest-vn-89492320 2025-09-15 16:13:36,969 - DEBUG - Response for deleting network () 2025-09-15 16:13:37,241 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 16:13:37,241 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-15 16:13:37,241 - INFO - -------------------------------------------------------------------------------- 2025-09-15 16:13:37,244 - INFO - ================================================================================ 2025-09-15 16:13:37,244 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-15 16:13:37,244 - 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-09-15 16:13:37,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-15 16:13:37,522 - INFO - Initial checks done. Running the testcase now 2025-09-15 16:13:37,522 - INFO - 2025-09-15 16:13:37,709 - DEBUG - Response for create_network : {'network': {'id': '4822f6d5-4838-4319-939a-918a8e3126ef', 'name': 'ctest-vn1-64306309', 'tenant_id': 'ae445669d5c046efba36b44be999c2f4', 'project_id': 'ae445669d5c046efba36b44be999c2f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38482023', 'ctest-vn1-64306309'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 16:13:37,911 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fece0b88-2815-475d-93ad-6953545174d2', 'name': '', 'tenant_id': 'ae445669d5c046efba36b44be999c2f4', 'network_id': '4822f6d5-4838-4319-939a-918a8e3126ef', 'ip_version': 4, 'cidr': '72.249.41.128/26', 'allocation_pools': [{'start': '72.249.41.130', 'end': '72.249.41.190'}], 'gateway_ip': '72.249.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.249.41.130', 'tags': [], 'project_id': 'ae445669d5c046efba36b44be999c2f4'}} 2025-09-15 16:13:38,068 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2621dd0-54d2-48c9-bf0e-9d4eb11a24d5', 'name': '', 'tenant_id': 'ae445669d5c046efba36b44be999c2f4', 'network_id': '4822f6d5-4838-4319-939a-918a8e3126ef', 'ip_version': 4, 'cidr': '8.182.100.64/26', 'allocation_pools': [{'start': '8.182.100.66', 'end': '8.182.100.126'}], 'gateway_ip': '8.182.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.182.100.66', 'tags': [], 'project_id': 'ae445669d5c046efba36b44be999c2f4'}} 2025-09-15 16:13:38,090 - INFO - Created VN ctest-vn1-64306309 2025-09-15 16:13:38,144 - DEBUG - VN ctest-vn1-64306309 UUID is 4822f6d5-4838-4319-939a-918a8e3126ef 2025-09-15 16:13:38,525 - DEBUG - Response for create_port : {'port': {'name': '059e4a36-5508-45d4-bbdd-7860555e2294', 'id': '059e4a36-5508-45d4-bbdd-7860555e2294', 'tenant_id': 'ae445669d5c046efba36b44be999c2f4', 'network_id': '4822f6d5-4838-4319-939a-918a8e3126ef', 'mac_address': '02:05:9e:4a:36:55', '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': '72.249.41.133', 'subnet_id': 'fece0b88-2815-475d-93ad-6953545174d2'}], 'security_groups': ['ec859a0a-e423-433b-bd42-36f518024158'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae445669d5c046efba36b44be999c2f4'}} 2025-09-15 16:13:38,716 - DEBUG - Response for create_port : {'port': {'name': '8dd8aab9-5631-479c-858f-a2d8ff3cb8e2', 'id': '8dd8aab9-5631-479c-858f-a2d8ff3cb8e2', 'tenant_id': 'ae445669d5c046efba36b44be999c2f4', 'network_id': '4822f6d5-4838-4319-939a-918a8e3126ef', 'mac_address': '02:8d:d8:aa:b9:56', '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': '8.182.100.69', 'subnet_id': 'e2621dd0-54d2-48c9-bf0e-9d4eb11a24d5'}], 'security_groups': ['ec859a0a-e423-433b-bd42-36f518024158'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae445669d5c046efba36b44be999c2f4'}} 2025-09-15 16:13:38,783 - DEBUG - Services list from nova: [, , ] 2025-09-15 16:13:39,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4118-1) 2025-09-15 16:13:39,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4118-1) 2025-09-15 16:13:39,687 - INFO - Waiting for VM ctest-vn1-vm1-54755915 to be up.. 2025-09-15 16:13:39,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 16:13:44,820 - DEBUG - VM is in ACTIVE state now 2025-09-15 16:13:44,820 - INFO - VM name : ctest-vn1-vm1-54755915 2025-09-15 16:13:44,905 - DEBUG - VM ctest-vn1-vm1-54755915 ID is 069e2d7c-066e-40cc-83ee-3119e3f8ee09 2025-09-15 16:13:44,926 - DEBUG - VM ctest-vn1-vm1-54755915 launched on Node cn-jenkins-deploy-platform-ansible-os-4118-1 2025-09-15 16:13:45,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/069e2d7c-066e-40cc-83ee-3119e3f8ee09 2025-09-15 16:13:45,021 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/059e4a36-5508-45d4-bbdd-7860555e2294 2025-09-15 16:13:48,289 - 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 1014ms') 2025-09-15 16:13:48,289 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54755915 failed! 2025-09-15 16:13:48,348 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38482023:ctest-vn1-64306309 is 72.249.41.129 and allocation pool is NOT set 2025-09-15 16:13:48,348 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38482023:ctest-vn1-64306309 is 8.182.100.65 and allocation pool is NOT set 2025-09-15 16:13:52,419 - 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=7.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 7.174/7.174/7.174/0.000 ms') 2025-09-15 16:13:52,419 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54755915 passed 2025-09-15 16:13:52,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:13:52,576 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54755915, IP 72.249.41.133, Port 22 2025-09-15 16:13:52,642 - 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-09-15 16:13:52,739 - DEBUG - VM ctest-vn1-vm1-54755915 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-15 16:13:57,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:13:57,741 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54755915, IP 72.249.41.133, Port 22 2025-09-15 16:13:57,914 - DEBUG - VM ctest-vn1-vm1-54755915 is ready for SSH connections 2025-09-15 16:13:57,914 - INFO - Waiting for VM ctest-vn1-vm2-25623349 to be up.. 2025-09-15 16:13:58,001 - DEBUG - VM is in ACTIVE state now 2025-09-15 16:13:58,001 - INFO - VM name : ctest-vn1-vm2-25623349 2025-09-15 16:13:58,091 - DEBUG - VM ctest-vn1-vm2-25623349 ID is a2ea68e0-7f66-4c04-a14b-56ca47a20e34 2025-09-15 16:13:58,091 - DEBUG - VM ctest-vn1-vm2-25623349 launched on Node cn-jenkins-deploy-platform-ansible-os-4118-1 2025-09-15 16:13:58,180 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2ea68e0-7f66-4c04-a14b-56ca47a20e34 2025-09-15 16:13:58,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8dd8aab9-5631-479c-858f-a2d8ff3cb8e2 2025-09-15 16:13:59,438 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/1.850/3.230/1.380 ms') 2025-09-15 16:13:59,438 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25623349 passed 2025-09-15 16:13:59,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:13:59,596 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25623349, IP 8.182.100.69, Port 22 2025-09-15 16:13:59,771 - DEBUG - VM ctest-vn1-vm2-25623349 is ready for SSH connections 2025-09-15 16:13:59,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:13:59,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:13:59,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:13:59,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.249.41.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 16:13:59,771 - DEBUG - ping -s 56 -c 3 -W 1 72.249.41.133 2025-09-15 16:14:02,460 - DEBUG - PING 72.249.41.133 (72.249.41.133): 56 data bytes 64 bytes from 72.249.41.133: seq=0 ttl=63 time=4.510 ms 64 bytes from 72.249.41.133: seq=1 ttl=63 time=0.920 ms 64 bytes from 72.249.41.133: seq=2 ttl=63 time=1.421 ms --- 72.249.41.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/2.283/4.510 ms 2025-09-15 16:14:02,461 - INFO - Ping to IP 72.249.41.133 from VM ctest-vn1-vm2-25623349 passed 2025-09-15 16:14:02,461 - INFO - Detaching port 8dd8aab9-5631-479c-858f-a2d8ff3cb8e2 from VM ctest-vn1-vm2-25623349 2025-09-15 16:14:02,536 - INFO - Deleting VM ctest-vn1-vm2-25623349 2025-09-15 16:14:02,630 - INFO - Detaching port 059e4a36-5508-45d4-bbdd-7860555e2294 from VM ctest-vn1-vm1-54755915 2025-09-15 16:14:02,677 - INFO - Deleting VM ctest-vn1-vm1-54755915 2025-09-15 16:14:02,977 - DEBUG - Response for delete_port : () 2025-09-15 16:14:03,196 - DEBUG - Response for delete_port : () 2025-09-15 16:14:03,196 - INFO - Deleting VN ctest-vn1-64306309 2025-09-15 16:14:03,359 - DEBUG - Response for deleting network () 2025-09-15 16:14:03,625 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 16:14:03,625 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-09-15 16:14:03,625 - INFO - -------------------------------------------------------------------------------- 2025-09-15 16:14:04,348 - INFO - Deleted project: ctest-TestPorts-38482023, ID : ae445669-d5c0-46ef-ba36-b44be999c2f4