2025-10-16 02:10:06,643 - INFO - Domain Default found not creating 2025-10-16 02:10:06,814 - INFO - Project ctest-TestPorts-89675518 not found, creating it 2025-10-16 02:10:07,393 - INFO - Created Project:ctest-TestPorts-89675518, ID : 50e3ad00-b28e-4ffa-a925-a7f5d6446ffb 2025-10-16 02:10:08,785 - INFO - ================================================================================ 2025-10-16 02:10:08,785 - INFO - STARTING TEST : test_ports_bindings 2025-10-16 02:10:08,785 - 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-16 02:10:09,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.249': '0'}} with 2025-10-16 02:10:09,039 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:10:09,039 - INFO - 2025-10-16 02:10:09,643 - DEBUG - Response for create_network : {'network': {'id': 'aff1ec0e-70ec-42c8-9031-e9f65e802a0d', 'name': 'ctest-vn-91771532', 'tenant_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'project_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89675518', 'ctest-vn-91771532'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:10:09,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fbdffc5-f22f-47e5-b076-e4a01ddc3ff2', 'name': '', 'tenant_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'network_id': 'aff1ec0e-70ec-42c8-9031-e9f65e802a0d', 'ip_version': 4, 'cidr': '80.67.181.64/26', 'allocation_pools': [{'start': '80.67.181.66', 'end': '80.67.181.126'}], 'gateway_ip': '80.67.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.67.181.66', 'tags': [], 'project_id': '50e3ad00b28e4ffaa925a7f5d6446ffb'}} 2025-10-16 02:10:09,855 - INFO - Created VN ctest-vn-91771532 2025-10-16 02:10:09,906 - DEBUG - VN ctest-vn-91771532 UUID is aff1ec0e-70ec-42c8-9031-e9f65e802a0d 2025-10-16 02:10:10,012 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89675518', 'ctest-vmi-85096785']} 2025-10-16 02:10:10,259 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85096785', 'id': '05c844d3-a45b-4dab-96ad-e0720c0dfd4b', 'tenant_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'network_id': 'aff1ec0e-70ec-42c8-9031-e9f65e802a0d', 'mac_address': '02:05:c8:44:d3:a4', '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.67.181.67', 'subnet_id': '3fbdffc5-f22f-47e5-b076-e4a01ddc3ff2'}], 'security_groups': ['f1f2170c-54c9-41e6-a6fa-f0a7fe906ac5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50e3ad00b28e4ffaa925a7f5d6446ffb'}} 2025-10-16 02:10:10,259 - DEBUG - Created port 05c844d3-a45b-4dab-96ad-e0720c0dfd4b 2025-10-16 02:10:10,366 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/05c844d3-a45b-4dab-96ad-e0720c0dfd4b 2025-10-16 02:10:10,658 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/05c844d3-a45b-4dab-96ad-e0720c0dfd4b 2025-10-16 02:10:10,692 - INFO - VMI 05c844d3-a45b-4dab-96ad-e0720c0dfd4b verification in API Server passed 2025-10-16 02:10:10,779 - DEBUG - Response for delete_port : () 2025-10-16 02:10:10,779 - INFO - Deleted port 05c844d3-a45b-4dab-96ad-e0720c0dfd4b 2025-10-16 02:10:10,779 - INFO - Deleting VN ctest-vn-91771532 2025-10-16 02:10:10,886 - DEBUG - Response for deleting network () 2025-10-16 02:10:11,143 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 02:10:11,143 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-16 02:10:11,143 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:10:11,145 - INFO - ================================================================================ 2025-10-16 02:10:11,145 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-16 02:10:11,146 - 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-16 02:10:11,435 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.249': '0'}} with 2025-10-16 02:10:11,435 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:10:11,435 - INFO - 2025-10-16 02:10:11,599 - DEBUG - Response for create_network : {'network': {'id': 'b328bcee-fd56-449c-b735-f50a2e13d4e5', 'name': 'ctest-vn1-08394310', 'tenant_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'project_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89675518', 'ctest-vn1-08394310'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:10:11,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f247799-7657-4287-8099-f062615c6816', 'name': '', 'tenant_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'network_id': 'b328bcee-fd56-449c-b735-f50a2e13d4e5', 'ip_version': 4, 'cidr': '65.105.198.192/26', 'allocation_pools': [{'start': '65.105.198.194', 'end': '65.105.198.254'}], 'gateway_ip': '65.105.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.105.198.194', 'tags': [], 'project_id': '50e3ad00b28e4ffaa925a7f5d6446ffb'}} 2025-10-16 02:10:12,022 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e16def4b-df52-40d0-9c3b-faac6231ce5d', 'name': '', 'tenant_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'network_id': 'b328bcee-fd56-449c-b735-f50a2e13d4e5', 'ip_version': 4, 'cidr': '81.50.67.64/26', 'allocation_pools': [{'start': '81.50.67.66', 'end': '81.50.67.126'}], 'gateway_ip': '81.50.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.50.67.66', 'tags': [], 'project_id': '50e3ad00b28e4ffaa925a7f5d6446ffb'}} 2025-10-16 02:10:12,043 - INFO - Created VN ctest-vn1-08394310 2025-10-16 02:10:12,094 - DEBUG - VN ctest-vn1-08394310 UUID is b328bcee-fd56-449c-b735-f50a2e13d4e5 2025-10-16 02:10:12,397 - DEBUG - Response for create_port : {'port': {'name': '463bbe03-7c30-4c4e-9fb1-1de7bc0c9f76', 'id': '463bbe03-7c30-4c4e-9fb1-1de7bc0c9f76', 'tenant_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'network_id': 'b328bcee-fd56-449c-b735-f50a2e13d4e5', 'mac_address': '02:46:3b:be:03:7c', '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': '65.105.198.197', 'subnet_id': '6f247799-7657-4287-8099-f062615c6816'}], 'security_groups': ['f1f2170c-54c9-41e6-a6fa-f0a7fe906ac5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50e3ad00b28e4ffaa925a7f5d6446ffb'}} 2025-10-16 02:10:12,580 - DEBUG - Response for create_port : {'port': {'name': 'e0953f5f-e15e-45d1-9fd5-8870a2d572af', 'id': 'e0953f5f-e15e-45d1-9fd5-8870a2d572af', 'tenant_id': '50e3ad00b28e4ffaa925a7f5d6446ffb', 'network_id': 'b328bcee-fd56-449c-b735-f50a2e13d4e5', 'mac_address': '02:e0:95:3f:5f: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': '81.50.67.69', 'subnet_id': 'e16def4b-df52-40d0-9c3b-faac6231ce5d'}], 'security_groups': ['f1f2170c-54c9-41e6-a6fa-f0a7fe906ac5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50e3ad00b28e4ffaa925a7f5d6446ffb'}} 2025-10-16 02:10:12,651 - DEBUG - Services list from nova: [, , ] 2025-10-16 02:10:12,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4336-1) 2025-10-16 02:10:13,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4336-1) 2025-10-16 02:10:13,380 - INFO - Waiting for VM ctest-vn1-vm1-86723175 to be up.. 2025-10-16 02:10:13,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 02:10:18,501 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:10:18,501 - INFO - VM name : ctest-vn1-vm1-86723175 2025-10-16 02:10:18,572 - DEBUG - VM ctest-vn1-vm1-86723175 ID is 19b11e6d-e91c-4836-b2c2-2db3fc795cca 2025-10-16 02:10:18,596 - DEBUG - VM ctest-vn1-vm1-86723175 launched on Node cn-jenkins-deploy-platform-ansible-os-4336-1 2025-10-16 02:10:18,669 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/19b11e6d-e91c-4836-b2c2-2db3fc795cca 2025-10-16 02:10:18,676 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/463bbe03-7c30-4c4e-9fb1-1de7bc0c9f76 2025-10-16 02:10:21,931 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-10-16 02:10:21,931 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-86723175 failed! 2025-10-16 02:10:21,986 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89675518:ctest-vn1-08394310 is 65.105.198.193 and allocation pool is NOT set 2025-10-16 02:10:21,986 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89675518:ctest-vn1-08394310 is 81.50.67.65 and allocation pool is NOT set 2025-10-16 02:10:24,051 - 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=6.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.48 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 = 2.480/4.602/6.725/2.122 ms') 2025-10-16 02:10:24,051 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-86723175 passed 2025-10-16 02:10:24,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:24,198 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86723175, IP 65.105.198.197, Port 22 2025-10-16 02:10:24,264 - 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-10-16 02:10:24,351 - DEBUG - VM ctest-vn1-vm1-86723175 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 02:10:29,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:29,353 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86723175, IP 65.105.198.197, Port 22 2025-10-16 02:10:29,509 - DEBUG - VM ctest-vn1-vm1-86723175 is ready for SSH connections 2025-10-16 02:10:29,510 - INFO - Waiting for VM ctest-vn1-vm2-77147795 to be up.. 2025-10-16 02:10:29,591 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:10:29,591 - INFO - VM name : ctest-vn1-vm2-77147795 2025-10-16 02:10:29,665 - DEBUG - VM ctest-vn1-vm2-77147795 ID is 80f0f379-a9f5-43ef-ba43-adf26eb51d6a 2025-10-16 02:10:29,666 - DEBUG - VM ctest-vn1-vm2-77147795 launched on Node cn-jenkins-deploy-platform-ansible-os-4336-1 2025-10-16 02:10:29,879 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/80f0f379-a9f5-43ef-ba43-adf26eb51d6a 2025-10-16 02:10:29,887 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e0953f5f-e15e-45d1-9fd5-8870a2d572af 2025-10-16 02:10:31,145 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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 = 0.431/1.779/3.127/1.348 ms') 2025-10-16 02:10:31,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-77147795 passed 2025-10-16 02:10:31,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:31,294 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77147795, IP 81.50.67.69, Port 22 2025-10-16 02:10:31,458 - DEBUG - VM ctest-vn1-vm2-77147795 is ready for SSH connections 2025-10-16 02:10:31,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:31,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:31,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:10:31,458 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.105.198.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-16 02:10:31,458 - DEBUG - ping -s 56 -c 3 -W 1 65.105.198.197 2025-10-16 02:10:35,160 - DEBUG - PING 65.105.198.197 (65.105.198.197): 56 data bytes 64 bytes from 65.105.198.197: seq=0 ttl=63 time=4.253 ms 64 bytes from 65.105.198.197: seq=1 ttl=63 time=1.191 ms 64 bytes from 65.105.198.197: seq=2 ttl=63 time=1.194 ms --- 65.105.198.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.191/2.212/4.253 ms 2025-10-16 02:10:35,160 - INFO - Ping to IP 65.105.198.197 from VM ctest-vn1-vm2-77147795 passed 2025-10-16 02:10:35,160 - INFO - Detaching port e0953f5f-e15e-45d1-9fd5-8870a2d572af from VM ctest-vn1-vm2-77147795 2025-10-16 02:10:35,213 - INFO - Deleting VM ctest-vn1-vm2-77147795 2025-10-16 02:10:35,275 - INFO - Detaching port 463bbe03-7c30-4c4e-9fb1-1de7bc0c9f76 from VM ctest-vn1-vm1-86723175 2025-10-16 02:10:35,311 - INFO - Deleting VM ctest-vn1-vm1-86723175 2025-10-16 02:10:35,547 - DEBUG - Response for delete_port : () 2025-10-16 02:10:35,715 - DEBUG - Response for delete_port : () 2025-10-16 02:10:35,715 - INFO - Deleting VN ctest-vn1-08394310 2025-10-16 02:10:35,866 - DEBUG - Response for deleting network () 2025-10-16 02:10:36,124 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 02:10:36,124 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-16 02:10:36,125 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:10:36,802 - INFO - Deleted project: ctest-TestPorts-89675518, ID : 50e3ad00-b28e-4ffa-a925-a7f5d6446ffb