2025-07-30 20:22:53,282 - INFO - Domain Default found not creating 2025-07-30 20:22:53,415 - INFO - Project ctest-TestPorts-58698961 not found, creating it 2025-07-30 20:22:53,858 - INFO - Created Project:ctest-TestPorts-58698961, ID : e2edfccb-8208-47f6-b0d6-1585ddc10540 2025-07-30 20:22:55,209 - INFO - ================================================================================ 2025-07-30 20:22:55,209 - INFO - STARTING TEST : test_ports_bindings 2025-07-30 20:22:55,209 - 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-07-30 20:22:55,462 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-07-30 20:22:55,462 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:22:55,463 - INFO - 2025-07-30 20:22:56,001 - DEBUG - Response for create_network : {'network': {'id': 'a5598b6d-86f1-4cc3-91ec-a106bc4cc57f', 'name': 'ctest-vn-03696820', 'tenant_id': 'e2edfccb820847f6b0d61585ddc10540', 'project_id': 'e2edfccb820847f6b0d61585ddc10540', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58698961', 'ctest-vn-03696820'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:22:56,160 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b17efe09-56e9-4d9b-b4f1-1bc1d8328109', 'name': '', 'tenant_id': 'e2edfccb820847f6b0d61585ddc10540', 'network_id': 'a5598b6d-86f1-4cc3-91ec-a106bc4cc57f', 'ip_version': 4, 'cidr': '80.206.162.0/26', 'allocation_pools': [{'start': '80.206.162.2', 'end': '80.206.162.62'}], 'gateway_ip': '80.206.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.206.162.2', 'tags': [], 'project_id': 'e2edfccb820847f6b0d61585ddc10540'}} 2025-07-30 20:22:56,178 - INFO - Created VN ctest-vn-03696820 2025-07-30 20:22:56,229 - DEBUG - VN ctest-vn-03696820 UUID is a5598b6d-86f1-4cc3-91ec-a106bc4cc57f 2025-07-30 20:22:56,331 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58698961', 'ctest-vmi-42461665']} 2025-07-30 20:22:56,597 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42461665', 'id': '4f5b14de-201d-4ba0-94ab-7d9a8301e7f0', 'tenant_id': 'e2edfccb820847f6b0d61585ddc10540', 'network_id': 'a5598b6d-86f1-4cc3-91ec-a106bc4cc57f', 'mac_address': '02:4f:5b:14:de:20', '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': '80.206.162.3', 'subnet_id': 'b17efe09-56e9-4d9b-b4f1-1bc1d8328109'}], 'security_groups': ['261256d7-7bc0-49cb-b2e9-e49660fbd014'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e2edfccb820847f6b0d61585ddc10540'}} 2025-07-30 20:22:56,597 - DEBUG - Created port 4f5b14de-201d-4ba0-94ab-7d9a8301e7f0 2025-07-30 20:22:56,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4f5b14de-201d-4ba0-94ab-7d9a8301e7f0 2025-07-30 20:22:56,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4f5b14de-201d-4ba0-94ab-7d9a8301e7f0 2025-07-30 20:22:57,027 - INFO - VMI 4f5b14de-201d-4ba0-94ab-7d9a8301e7f0 verification in API Server passed 2025-07-30 20:22:57,117 - DEBUG - Response for delete_port : () 2025-07-30 20:22:57,117 - INFO - Deleted port 4f5b14de-201d-4ba0-94ab-7d9a8301e7f0 2025-07-30 20:22:57,117 - INFO - Deleting VN ctest-vn-03696820 2025-07-30 20:22:57,228 - DEBUG - Response for deleting network () 2025-07-30 20:22:57,487 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 20:22:57,487 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-30 20:22:57,487 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:22:57,492 - INFO - ================================================================================ 2025-07-30 20:22:57,493 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-30 20:22:57,493 - 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-07-30 20:22:57,792 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-07-30 20:22:57,792 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:22:57,793 - INFO - 2025-07-30 20:22:58,155 - DEBUG - Response for create_network : {'network': {'id': 'fe65cbf3-91d3-4f58-b45f-963e78449db8', 'name': 'ctest-vn1-65565861', 'tenant_id': 'e2edfccb820847f6b0d61585ddc10540', 'project_id': 'e2edfccb820847f6b0d61585ddc10540', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58698961', 'ctest-vn1-65565861'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:22:58,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '99cc9b42-441c-4b80-9a15-0817f2b59b4a', 'name': '', 'tenant_id': 'e2edfccb820847f6b0d61585ddc10540', 'network_id': 'fe65cbf3-91d3-4f58-b45f-963e78449db8', 'ip_version': 4, 'cidr': '169.155.71.0/26', 'allocation_pools': [{'start': '169.155.71.2', 'end': '169.155.71.62'}], 'gateway_ip': '169.155.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.155.71.2', 'tags': [], 'project_id': 'e2edfccb820847f6b0d61585ddc10540'}} 2025-07-30 20:22:58,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '6665e5ca-ee07-49bf-87d4-28358c599c32', 'name': '', 'tenant_id': 'e2edfccb820847f6b0d61585ddc10540', 'network_id': 'fe65cbf3-91d3-4f58-b45f-963e78449db8', 'ip_version': 4, 'cidr': '30.206.69.0/26', 'allocation_pools': [{'start': '30.206.69.2', 'end': '30.206.69.62'}], 'gateway_ip': '30.206.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.206.69.2', 'tags': [], 'project_id': 'e2edfccb820847f6b0d61585ddc10540'}} 2025-07-30 20:22:58,527 - INFO - Created VN ctest-vn1-65565861 2025-07-30 20:22:58,581 - DEBUG - VN ctest-vn1-65565861 UUID is fe65cbf3-91d3-4f58-b45f-963e78449db8 2025-07-30 20:22:58,874 - DEBUG - Response for create_port : {'port': {'name': 'd954c2c4-b6a5-4e72-866b-01f6bbf68409', 'id': 'd954c2c4-b6a5-4e72-866b-01f6bbf68409', 'tenant_id': 'e2edfccb820847f6b0d61585ddc10540', 'network_id': 'fe65cbf3-91d3-4f58-b45f-963e78449db8', 'mac_address': '02:d9:54:c2:c4: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': '169.155.71.5', 'subnet_id': '99cc9b42-441c-4b80-9a15-0817f2b59b4a'}], 'security_groups': ['261256d7-7bc0-49cb-b2e9-e49660fbd014'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e2edfccb820847f6b0d61585ddc10540'}} 2025-07-30 20:22:59,052 - DEBUG - Response for create_port : {'port': {'name': 'dfe39166-49da-43d9-ab0a-9acd84e2399c', 'id': 'dfe39166-49da-43d9-ab0a-9acd84e2399c', 'tenant_id': 'e2edfccb820847f6b0d61585ddc10540', 'network_id': 'fe65cbf3-91d3-4f58-b45f-963e78449db8', 'mac_address': '02:df:e3:91:66:49', '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': '30.206.69.5', 'subnet_id': '6665e5ca-ee07-49bf-87d4-28358c599c32'}], 'security_groups': ['261256d7-7bc0-49cb-b2e9-e49660fbd014'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e2edfccb820847f6b0d61585ddc10540'}} 2025-07-30 20:22:59,103 - DEBUG - Services list from nova: [, , ] 2025-07-30 20:22:59,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3727-1) 2025-07-30 20:22:59,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3727-1) 2025-07-30 20:22:59,768 - INFO - Waiting for VM ctest-vn1-vm1-92471073 to be up.. 2025-07-30 20:22:59,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 20:23:04,881 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:23:04,881 - INFO - VM name : ctest-vn1-vm1-92471073 2025-07-30 20:23:04,950 - DEBUG - VM ctest-vn1-vm1-92471073 ID is c9382d88-9629-4e07-9341-7d47936f2655 2025-07-30 20:23:04,967 - DEBUG - VM ctest-vn1-vm1-92471073 launched on Node cn-jenkins-deploy-platform-ansible-os-3727-1 2025-07-30 20:23:05,035 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c9382d88-9629-4e07-9341-7d47936f2655 2025-07-30 20:23:05,045 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d954c2c4-b6a5-4e72-866b-01f6bbf68409 2025-07-30 20:23:08,305 - 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 1015ms') 2025-07-30 20:23:08,305 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92471073 failed! 2025-07-30 20:23:08,361 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58698961:ctest-vn1-65565861 is 169.155.71.1 and allocation pool is NOT set 2025-07-30 20:23:08,361 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58698961:ctest-vn1-65565861 is 30.206.69.1 and allocation pool is NOT set 2025-07-30 20:23:10,425 - 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=9.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.79 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.788/5.497/9.207/3.709 ms') 2025-07-30 20:23:10,425 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92471073 passed 2025-07-30 20:23:10,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:10,573 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92471073, IP 169.155.71.5, Port 22 2025-07-30 20:23:10,724 - DEBUG - VM ctest-vn1-vm1-92471073 is ready for SSH connections 2025-07-30 20:23:10,724 - INFO - Waiting for VM ctest-vn1-vm2-71831678 to be up.. 2025-07-30 20:23:10,793 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:23:10,793 - INFO - VM name : ctest-vn1-vm2-71831678 2025-07-30 20:23:10,858 - DEBUG - VM ctest-vn1-vm2-71831678 ID is 1b6eed11-cde8-408d-a12c-d5b6d75eabd4 2025-07-30 20:23:10,858 - DEBUG - VM ctest-vn1-vm2-71831678 launched on Node cn-jenkins-deploy-platform-ansible-os-3727-1 2025-07-30 20:23:10,939 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1b6eed11-cde8-408d-a12c-d5b6d75eabd4 2025-07-30 20:23:10,947 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dfe39166-49da-43d9-ab0a-9acd84e2399c 2025-07-30 20:23:12,187 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/2.069/3.719/1.649 ms') 2025-07-30 20:23:12,187 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-71831678 passed 2025-07-30 20:23:12,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:12,337 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71831678, IP 30.206.69.5, Port 22 2025-07-30 20:23:12,392 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-30 20:23:12,467 - DEBUG - VM ctest-vn1-vm2-71831678 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-30 20:23:17,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:17,468 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71831678, IP 30.206.69.5, Port 22 2025-07-30 20:23:17,625 - DEBUG - VM ctest-vn1-vm2-71831678 is ready for SSH connections 2025-07-30 20:23:17,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:17,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:17,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:17,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.155.71.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 20:23:17,625 - DEBUG - ping -s 56 -c 3 -W 1 169.155.71.5 2025-07-30 20:23:20,302 - DEBUG - PING 169.155.71.5 (169.155.71.5): 56 data bytes 64 bytes from 169.155.71.5: seq=0 ttl=63 time=4.066 ms 64 bytes from 169.155.71.5: seq=1 ttl=63 time=0.678 ms 64 bytes from 169.155.71.5: seq=2 ttl=63 time=1.103 ms --- 169.155.71.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.678/1.949/4.066 ms 2025-07-30 20:23:20,302 - INFO - Ping to IP 169.155.71.5 from VM ctest-vn1-vm2-71831678 passed 2025-07-30 20:23:20,303 - INFO - Detaching port dfe39166-49da-43d9-ab0a-9acd84e2399c from VM ctest-vn1-vm2-71831678 2025-07-30 20:23:20,346 - INFO - Deleting VM ctest-vn1-vm2-71831678 2025-07-30 20:23:20,409 - INFO - Detaching port d954c2c4-b6a5-4e72-866b-01f6bbf68409 from VM ctest-vn1-vm1-92471073 2025-07-30 20:23:20,440 - INFO - Deleting VM ctest-vn1-vm1-92471073 2025-07-30 20:23:20,631 - DEBUG - Response for delete_port : () 2025-07-30 20:23:20,778 - DEBUG - Response for delete_port : () 2025-07-30 20:23:20,778 - INFO - Deleting VN ctest-vn1-65565861 2025-07-30 20:23:20,913 - DEBUG - Response for deleting network () 2025-07-30 20:23:21,193 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 20:23:21,193 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-07-30 20:23:21,193 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:23:21,838 - INFO - Deleted project: ctest-TestPorts-58698961, ID : e2edfccb-8208-47f6-b0d6-1585ddc10540