2025-07-31 12:07:30,980 - INFO - Domain Default found not creating 2025-07-31 12:07:31,128 - INFO - Project ctest-TestPorts-76413774 not found, creating it 2025-07-31 12:07:31,586 - INFO - Created Project:ctest-TestPorts-76413774, ID : e5db83a0-e2e8-4993-99ff-bbd125b5bca0 2025-07-31 12:07:33,056 - INFO - ================================================================================ 2025-07-31 12:07:33,056 - INFO - STARTING TEST : test_ports_bindings 2025-07-31 12:07:33,056 - 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-31 12:07:33,321 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-07-31 12:07:33,321 - INFO - Initial checks done. Running the testcase now 2025-07-31 12:07:33,322 - INFO - 2025-07-31 12:07:33,871 - DEBUG - Response for create_network : {'network': {'id': '9ae842c3-6113-46c4-8b27-0cb5f5c34359', 'name': 'ctest-vn-48863579', 'tenant_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'project_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76413774', 'ctest-vn-48863579'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:07:34,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9381801-791b-485e-afb8-b06a665c2ef6', 'name': '', 'tenant_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'network_id': '9ae842c3-6113-46c4-8b27-0cb5f5c34359', 'ip_version': 4, 'cidr': '84.198.128.128/26', 'allocation_pools': [{'start': '84.198.128.130', 'end': '84.198.128.190'}], 'gateway_ip': '84.198.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.198.128.130', 'tags': [], 'project_id': 'e5db83a0e2e8499399ffbbd125b5bca0'}} 2025-07-31 12:07:34,102 - INFO - Created VN ctest-vn-48863579 2025-07-31 12:07:34,155 - DEBUG - VN ctest-vn-48863579 UUID is 9ae842c3-6113-46c4-8b27-0cb5f5c34359 2025-07-31 12:07:34,269 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76413774', 'ctest-vmi-05364968']} 2025-07-31 12:07:34,528 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05364968', 'id': '774ad49c-2c5c-400b-8bd4-ab08f1825e7f', 'tenant_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'network_id': '9ae842c3-6113-46c4-8b27-0cb5f5c34359', 'mac_address': '02:77:4a:d4:9c:2c', '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.198.128.131', 'subnet_id': 'a9381801-791b-485e-afb8-b06a665c2ef6'}], 'security_groups': ['cdf98000-c174-4373-80c5-281924f4d8c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5db83a0e2e8499399ffbbd125b5bca0'}} 2025-07-31 12:07:34,528 - DEBUG - Created port 774ad49c-2c5c-400b-8bd4-ab08f1825e7f 2025-07-31 12:07:34,643 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/774ad49c-2c5c-400b-8bd4-ab08f1825e7f 2025-07-31 12:07:34,943 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/774ad49c-2c5c-400b-8bd4-ab08f1825e7f 2025-07-31 12:07:34,978 - INFO - VMI 774ad49c-2c5c-400b-8bd4-ab08f1825e7f verification in API Server passed 2025-07-31 12:07:35,087 - DEBUG - Response for delete_port : () 2025-07-31 12:07:35,087 - INFO - Deleted port 774ad49c-2c5c-400b-8bd4-ab08f1825e7f 2025-07-31 12:07:35,087 - INFO - Deleting VN ctest-vn-48863579 2025-07-31 12:07:35,221 - DEBUG - Response for deleting network () 2025-07-31 12:07:35,482 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 12:07:35,482 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-31 12:07:35,482 - INFO - -------------------------------------------------------------------------------- 2025-07-31 12:07:35,484 - INFO - ================================================================================ 2025-07-31 12:07:35,485 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-31 12:07:35,485 - 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-31 12:07:35,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-07-31 12:07:35,777 - INFO - Initial checks done. Running the testcase now 2025-07-31 12:07:35,777 - INFO - 2025-07-31 12:07:35,987 - DEBUG - Response for create_network : {'network': {'id': '3b50ab2e-6293-4d96-beed-4d81dec950ba', 'name': 'ctest-vn1-24489316', 'tenant_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'project_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76413774', 'ctest-vn1-24489316'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:07:36,172 - DEBUG - Response for create_subnet : {'subnet': {'id': '56f87b72-bbe8-499d-a0c5-123d5ddee619', 'name': '', 'tenant_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'network_id': '3b50ab2e-6293-4d96-beed-4d81dec950ba', 'ip_version': 4, 'cidr': '131.153.180.0/26', 'allocation_pools': [{'start': '131.153.180.2', 'end': '131.153.180.62'}], 'gateway_ip': '131.153.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.153.180.2', 'tags': [], 'project_id': 'e5db83a0e2e8499399ffbbd125b5bca0'}} 2025-07-31 12:07:36,329 - DEBUG - Response for create_subnet : {'subnet': {'id': '835bf454-e27f-4e8a-8d66-c51fd136fcbe', 'name': '', 'tenant_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'network_id': '3b50ab2e-6293-4d96-beed-4d81dec950ba', 'ip_version': 4, 'cidr': '207.156.195.192/26', 'allocation_pools': [{'start': '207.156.195.194', 'end': '207.156.195.254'}], 'gateway_ip': '207.156.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.156.195.194', 'tags': [], 'project_id': 'e5db83a0e2e8499399ffbbd125b5bca0'}} 2025-07-31 12:07:36,350 - INFO - Created VN ctest-vn1-24489316 2025-07-31 12:07:36,403 - DEBUG - VN ctest-vn1-24489316 UUID is 3b50ab2e-6293-4d96-beed-4d81dec950ba 2025-07-31 12:07:36,721 - DEBUG - Response for create_port : {'port': {'name': '775b1008-e1ba-4eb2-b6bb-f4811f4f82e1', 'id': '775b1008-e1ba-4eb2-b6bb-f4811f4f82e1', 'tenant_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'network_id': '3b50ab2e-6293-4d96-beed-4d81dec950ba', 'mac_address': '02:77:5b:10:08:e1', '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': '131.153.180.5', 'subnet_id': '56f87b72-bbe8-499d-a0c5-123d5ddee619'}], 'security_groups': ['cdf98000-c174-4373-80c5-281924f4d8c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5db83a0e2e8499399ffbbd125b5bca0'}} 2025-07-31 12:07:36,903 - DEBUG - Response for create_port : {'port': {'name': '97dd7bae-3d8d-486d-9de6-c28c28aa58b6', 'id': '97dd7bae-3d8d-486d-9de6-c28c28aa58b6', 'tenant_id': 'e5db83a0e2e8499399ffbbd125b5bca0', 'network_id': '3b50ab2e-6293-4d96-beed-4d81dec950ba', 'mac_address': '02:97:dd:7b:ae:3d', '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': '207.156.195.197', 'subnet_id': '835bf454-e27f-4e8a-8d66-c51fd136fcbe'}], 'security_groups': ['cdf98000-c174-4373-80c5-281924f4d8c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5db83a0e2e8499399ffbbd125b5bca0'}} 2025-07-31 12:07:36,966 - DEBUG - Services list from nova: [, , ] 2025-07-31 12:07:37,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3734-1) 2025-07-31 12:07:37,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3734-1) 2025-07-31 12:07:37,680 - INFO - Waiting for VM ctest-vn1-vm1-31143841 to be up.. 2025-07-31 12:07:37,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 12:07:42,798 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:07:42,798 - INFO - VM name : ctest-vn1-vm1-31143841 2025-07-31 12:07:42,870 - DEBUG - VM ctest-vn1-vm1-31143841 ID is 628d5613-49cb-4665-8646-89a53d33269d 2025-07-31 12:07:42,889 - DEBUG - VM ctest-vn1-vm1-31143841 launched on Node cn-jenkins-deploy-platform-ansible-os-3734-1 2025-07-31 12:07:42,965 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/628d5613-49cb-4665-8646-89a53d33269d 2025-07-31 12:07:42,976 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/775b1008-e1ba-4eb2-b6bb-f4811f4f82e1 2025-07-31 12:07:46,228 - 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 1002ms') 2025-07-31 12:07:46,228 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31143841 failed! 2025-07-31 12:07:46,287 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76413774:ctest-vn1-24489316 is 131.153.180.1 and allocation pool is NOT set 2025-07-31 12:07:46,287 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76413774:ctest-vn1-24489316 is 207.156.195.193 and allocation pool is NOT set 2025-07-31 12:07:48,353 - 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=7.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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.001/4.208/7.415/3.207 ms') 2025-07-31 12:07:48,353 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31143841 passed 2025-07-31 12:07:48,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:07:48,511 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31143841, IP 131.153.180.5, Port 22 2025-07-31 12:07:48,577 - 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-07-31 12:07:48,662 - DEBUG - VM ctest-vn1-vm1-31143841 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-31 12:07:53,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:07:53,664 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31143841, IP 131.153.180.5, Port 22 2025-07-31 12:07:53,819 - DEBUG - VM ctest-vn1-vm1-31143841 is ready for SSH connections 2025-07-31 12:07:53,819 - INFO - Waiting for VM ctest-vn1-vm2-81706166 to be up.. 2025-07-31 12:07:53,892 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:07:53,892 - INFO - VM name : ctest-vn1-vm2-81706166 2025-07-31 12:07:53,964 - DEBUG - VM ctest-vn1-vm2-81706166 ID is 99fe7a91-0e21-475e-b4f5-01ab840f2c22 2025-07-31 12:07:53,964 - DEBUG - VM ctest-vn1-vm2-81706166 launched on Node cn-jenkins-deploy-platform-ansible-os-3734-1 2025-07-31 12:07:54,039 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/99fe7a91-0e21-475e-b4f5-01ab840f2c22 2025-07-31 12:07:54,050 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/97dd7bae-3d8d-486d-9de6-c28c28aa58b6 2025-07-31 12:07:55,295 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/1.759/3.030/1.271 ms') 2025-07-31 12:07:55,295 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-81706166 passed 2025-07-31 12:07:55,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:07:55,451 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-81706166, IP 207.156.195.197, Port 22 2025-07-31 12:07:55,614 - DEBUG - VM ctest-vn1-vm2-81706166 is ready for SSH connections 2025-07-31 12:07:55,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:07:55,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:07:55,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:07:55,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.153.180.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 12:07:55,615 - DEBUG - ping -s 56 -c 3 -W 1 131.153.180.5 2025-07-31 12:07:58,273 - DEBUG - PING 131.153.180.5 (131.153.180.5): 56 data bytes 64 bytes from 131.153.180.5: seq=0 ttl=63 time=3.636 ms 64 bytes from 131.153.180.5: seq=1 ttl=63 time=0.923 ms 64 bytes from 131.153.180.5: seq=2 ttl=63 time=0.901 ms --- 131.153.180.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/1.820/3.636 ms 2025-07-31 12:07:58,274 - INFO - Ping to IP 131.153.180.5 from VM ctest-vn1-vm2-81706166 passed 2025-07-31 12:07:58,274 - INFO - Detaching port 97dd7bae-3d8d-486d-9de6-c28c28aa58b6 from VM ctest-vn1-vm2-81706166 2025-07-31 12:07:58,324 - INFO - Deleting VM ctest-vn1-vm2-81706166 2025-07-31 12:07:58,401 - INFO - Detaching port 775b1008-e1ba-4eb2-b6bb-f4811f4f82e1 from VM ctest-vn1-vm1-31143841 2025-07-31 12:07:58,443 - INFO - Deleting VM ctest-vn1-vm1-31143841 2025-07-31 12:07:58,713 - DEBUG - Response for delete_port : () 2025-07-31 12:07:58,910 - DEBUG - Response for delete_port : () 2025-07-31 12:07:58,910 - INFO - Deleting VN ctest-vn1-24489316 2025-07-31 12:07:59,094 - DEBUG - Response for deleting network () 2025-07-31 12:07:59,353 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 12:07:59,353 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-07-31 12:07:59,353 - INFO - -------------------------------------------------------------------------------- 2025-07-31 12:08:00,092 - INFO - Deleted project: ctest-TestPorts-76413774, ID : e5db83a0-e2e8-4993-99ff-bbd125b5bca0