2025-08-10 09:27:29,697 - INFO - Domain Default found not creating 2025-08-10 09:27:29,823 - INFO - Project ctest-TestPorts-58757192 not found, creating it 2025-08-10 09:27:30,277 - INFO - Created Project:ctest-TestPorts-58757192, ID : 9a61b43c-d558-4741-bc7d-6f4e84d29dc4 2025-08-10 09:27:31,673 - INFO - ================================================================================ 2025-08-10 09:27:31,673 - INFO - STARTING TEST : test_ports_bindings 2025-08-10 09:27:31,673 - 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-10 09:27:31,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-08-10 09:27:31,929 - INFO - Initial checks done. Running the testcase now 2025-08-10 09:27:31,929 - INFO - 2025-08-10 09:27:32,425 - DEBUG - Response for create_network : {'network': {'id': '5bae2006-f4c8-476c-aaf8-b2b215081361', 'name': 'ctest-vn-99802783', 'tenant_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'project_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58757192', 'ctest-vn-99802783'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 09:27:32,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '953cf275-3871-402f-83a3-0b1f4e606807', 'name': '', 'tenant_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'network_id': '5bae2006-f4c8-476c-aaf8-b2b215081361', 'ip_version': 4, 'cidr': '181.244.60.128/26', 'allocation_pools': [{'start': '181.244.60.130', 'end': '181.244.60.190'}], 'gateway_ip': '181.244.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.244.60.130', 'tags': [], 'project_id': '9a61b43cd5584741bc7d6f4e84d29dc4'}} 2025-08-10 09:27:32,644 - INFO - Created VN ctest-vn-99802783 2025-08-10 09:27:32,696 - DEBUG - VN ctest-vn-99802783 UUID is 5bae2006-f4c8-476c-aaf8-b2b215081361 2025-08-10 09:27:32,788 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58757192', 'ctest-vmi-44432682']} 2025-08-10 09:27:33,050 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-44432682', 'id': 'c5f8e716-5e6e-4324-ba4a-c444b60dede0', 'tenant_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'network_id': '5bae2006-f4c8-476c-aaf8-b2b215081361', 'mac_address': '02:c5:f8:e7:16:5e', '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': '181.244.60.131', 'subnet_id': '953cf275-3871-402f-83a3-0b1f4e606807'}], 'security_groups': ['909849c6-77a5-4179-ab03-a581df14b2cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a61b43cd5584741bc7d6f4e84d29dc4'}} 2025-08-10 09:27:33,050 - DEBUG - Created port c5f8e716-5e6e-4324-ba4a-c444b60dede0 2025-08-10 09:27:33,152 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c5f8e716-5e6e-4324-ba4a-c444b60dede0 2025-08-10 09:27:33,437 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c5f8e716-5e6e-4324-ba4a-c444b60dede0 2025-08-10 09:27:33,466 - INFO - VMI c5f8e716-5e6e-4324-ba4a-c444b60dede0 verification in API Server passed 2025-08-10 09:27:33,540 - DEBUG - Response for delete_port : () 2025-08-10 09:27:33,540 - INFO - Deleted port c5f8e716-5e6e-4324-ba4a-c444b60dede0 2025-08-10 09:27:33,540 - INFO - Deleting VN ctest-vn-99802783 2025-08-10 09:27:33,624 - DEBUG - Response for deleting network () 2025-08-10 09:27:33,884 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 09:27:33,884 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-10 09:27:33,884 - INFO - -------------------------------------------------------------------------------- 2025-08-10 09:27:33,887 - INFO - ================================================================================ 2025-08-10 09:27:33,887 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-10 09:27:33,887 - 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-10 09:27:34,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-08-10 09:27:34,185 - INFO - Initial checks done. Running the testcase now 2025-08-10 09:27:34,185 - INFO - 2025-08-10 09:27:34,345 - DEBUG - Response for create_network : {'network': {'id': 'fa7ca4e1-fed5-48ed-9b37-e7d356f0a88a', 'name': 'ctest-vn1-83667874', 'tenant_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'project_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58757192', 'ctest-vn1-83667874'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 09:27:34,481 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c8fe699-f1d6-4864-9528-60f702abe37c', 'name': '', 'tenant_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'network_id': 'fa7ca4e1-fed5-48ed-9b37-e7d356f0a88a', 'ip_version': 4, 'cidr': '87.52.30.192/26', 'allocation_pools': [{'start': '87.52.30.194', 'end': '87.52.30.254'}], 'gateway_ip': '87.52.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.52.30.194', 'tags': [], 'project_id': '9a61b43cd5584741bc7d6f4e84d29dc4'}} 2025-08-10 09:27:34,629 - DEBUG - Response for create_subnet : {'subnet': {'id': '840136ca-2f4b-4e5c-8078-46ed84aff0ac', 'name': '', 'tenant_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'network_id': 'fa7ca4e1-fed5-48ed-9b37-e7d356f0a88a', 'ip_version': 4, 'cidr': '135.159.11.0/26', 'allocation_pools': [{'start': '135.159.11.2', 'end': '135.159.11.62'}], 'gateway_ip': '135.159.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.159.11.2', 'tags': [], 'project_id': '9a61b43cd5584741bc7d6f4e84d29dc4'}} 2025-08-10 09:27:34,645 - INFO - Created VN ctest-vn1-83667874 2025-08-10 09:27:34,696 - DEBUG - VN ctest-vn1-83667874 UUID is fa7ca4e1-fed5-48ed-9b37-e7d356f0a88a 2025-08-10 09:27:34,981 - DEBUG - Response for create_port : {'port': {'name': 'fec1be29-e1c3-4afd-9511-d415480905e2', 'id': 'fec1be29-e1c3-4afd-9511-d415480905e2', 'tenant_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'network_id': 'fa7ca4e1-fed5-48ed-9b37-e7d356f0a88a', 'mac_address': '02:fe:c1:be:29: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': '87.52.30.197', 'subnet_id': '7c8fe699-f1d6-4864-9528-60f702abe37c'}], 'security_groups': ['909849c6-77a5-4179-ab03-a581df14b2cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a61b43cd5584741bc7d6f4e84d29dc4'}} 2025-08-10 09:27:35,142 - DEBUG - Response for create_port : {'port': {'name': '890ef688-9d91-4b8d-a5c4-99998fe0a035', 'id': '890ef688-9d91-4b8d-a5c4-99998fe0a035', 'tenant_id': '9a61b43cd5584741bc7d6f4e84d29dc4', 'network_id': 'fa7ca4e1-fed5-48ed-9b37-e7d356f0a88a', 'mac_address': '02:89:0e:f6:88:9d', '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': '135.159.11.5', 'subnet_id': '840136ca-2f4b-4e5c-8078-46ed84aff0ac'}], 'security_groups': ['909849c6-77a5-4179-ab03-a581df14b2cb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a61b43cd5584741bc7d6f4e84d29dc4'}} 2025-08-10 09:27:35,193 - DEBUG - Services list from nova: [, , ] 2025-08-10 09:27:35,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3785-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3785-1) 2025-08-10 09:27:35,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3785-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3785-1) 2025-08-10 09:27:35,856 - INFO - Waiting for VM ctest-vn1-vm1-79438237 to be up.. 2025-08-10 09:27:35,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 09:27:40,952 - DEBUG - VM is in ACTIVE state now 2025-08-10 09:27:40,952 - INFO - VM name : ctest-vn1-vm1-79438237 2025-08-10 09:27:41,009 - DEBUG - VM ctest-vn1-vm1-79438237 ID is ef1f1e21-ac6d-41df-a462-3e056a34ee2a 2025-08-10 09:27:41,024 - DEBUG - VM ctest-vn1-vm1-79438237 launched on Node cn-jenkins-deploy-platform-ansible-os-3785-1 2025-08-10 09:27:41,082 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ef1f1e21-ac6d-41df-a462-3e056a34ee2a 2025-08-10 09:27:41,090 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/fec1be29-e1c3-4afd-9511-d415480905e2 2025-08-10 09:27:44,335 - 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-08-10 09:27:44,335 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79438237 failed! 2025-08-10 09:27:44,392 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58757192:ctest-vn1-83667874 is 87.52.30.193 and allocation pool is NOT set 2025-08-10 09:27:44,392 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58757192:ctest-vn1-83667874 is 135.159.11.1 and allocation pool is NOT set 2025-08-10 09:27:46,459 - 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=3.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.561 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.561/2.220/3.880/1.659 ms') 2025-08-10 09:27:46,459 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79438237 passed 2025-08-10 09:27:46,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:27:46,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79438237, IP 87.52.30.197, Port 22 2025-08-10 09:27:46,681 - 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-10 09:27:46,753 - DEBUG - VM ctest-vn1-vm1-79438237 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 09:27:51,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:27:51,754 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79438237, IP 87.52.30.197, Port 22 2025-08-10 09:27:51,907 - DEBUG - VM ctest-vn1-vm1-79438237 is ready for SSH connections 2025-08-10 09:27:51,907 - INFO - Waiting for VM ctest-vn1-vm2-25605666 to be up.. 2025-08-10 09:27:51,968 - DEBUG - VM is in ACTIVE state now 2025-08-10 09:27:51,968 - INFO - VM name : ctest-vn1-vm2-25605666 2025-08-10 09:27:52,025 - DEBUG - VM ctest-vn1-vm2-25605666 ID is e9f04677-0f2d-4df9-a8f6-52901444c5a0 2025-08-10 09:27:52,025 - DEBUG - VM ctest-vn1-vm2-25605666 launched on Node cn-jenkins-deploy-platform-ansible-os-3785-1 2025-08-10 09:27:52,078 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e9f04677-0f2d-4df9-a8f6-52901444c5a0 2025-08-10 09:27:52,085 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/890ef688-9d91-4b8d-a5c4-99998fe0a035 2025-08-10 09:27:53,320 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.547/2.701/1.154 ms') 2025-08-10 09:27:53,320 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25605666 passed 2025-08-10 09:27:53,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:27:53,468 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25605666, IP 135.159.11.5, Port 22 2025-08-10 09:27:53,623 - DEBUG - VM ctest-vn1-vm2-25605666 is ready for SSH connections 2025-08-10 09:27:53,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:27:53,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:27:53,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:27:53,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.52.30.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-10 09:27:53,624 - DEBUG - ping -s 56 -c 3 -W 1 87.52.30.197 2025-08-10 09:27:56,236 - DEBUG - PING 87.52.30.197 (87.52.30.197): 56 data bytes 64 bytes from 87.52.30.197: seq=0 ttl=63 time=3.790 ms 64 bytes from 87.52.30.197: seq=1 ttl=63 time=0.822 ms 64 bytes from 87.52.30.197: seq=2 ttl=63 time=0.936 ms --- 87.52.30.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/1.849/3.790 ms 2025-08-10 09:27:56,236 - INFO - Ping to IP 87.52.30.197 from VM ctest-vn1-vm2-25605666 passed 2025-08-10 09:27:56,236 - INFO - Detaching port 890ef688-9d91-4b8d-a5c4-99998fe0a035 from VM ctest-vn1-vm2-25605666 2025-08-10 09:27:56,281 - INFO - Deleting VM ctest-vn1-vm2-25605666 2025-08-10 09:27:56,334 - INFO - Detaching port fec1be29-e1c3-4afd-9511-d415480905e2 from VM ctest-vn1-vm1-79438237 2025-08-10 09:27:56,361 - INFO - Deleting VM ctest-vn1-vm1-79438237 2025-08-10 09:27:56,552 - DEBUG - Response for delete_port : () 2025-08-10 09:27:56,690 - DEBUG - Response for delete_port : () 2025-08-10 09:27:56,691 - INFO - Deleting VN ctest-vn1-83667874 2025-08-10 09:27:56,812 - DEBUG - Response for deleting network () 2025-08-10 09:27:57,073 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 09:27:57,073 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-10 09:27:57,073 - INFO - -------------------------------------------------------------------------------- 2025-08-10 09:27:57,719 - INFO - Deleted project: ctest-TestPorts-58757192, ID : 9a61b43c-d558-4741-bc7d-6f4e84d29dc4