2025-10-15 19:37:22,401 - INFO - Domain Default found not creating 2025-10-15 19:37:22,570 - INFO - Project ctest-TestPorts-35381079 not found, creating it 2025-10-15 19:37:23,018 - INFO - Created Project:ctest-TestPorts-35381079, ID : 83dc88bb-b93f-4637-bb2f-37f911ce47e5 2025-10-15 19:37:24,521 - INFO - ================================================================================ 2025-10-15 19:37:24,522 - INFO - STARTING TEST : test_ports_bindings 2025-10-15 19:37:24,522 - 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-15 19:37:24,780 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-10-15 19:37:24,780 - INFO - Initial checks done. Running the testcase now 2025-10-15 19:37:24,780 - INFO - 2025-10-15 19:37:25,465 - DEBUG - Response for create_network : {'network': {'id': '693837fe-eeb1-43a3-abb2-20a01eee201a', 'name': 'ctest-vn-06238867', 'tenant_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'project_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35381079', 'ctest-vn-06238867'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:37:25,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d4bd399-f639-489f-b411-87eed3f6ce3c', 'name': '', 'tenant_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'network_id': '693837fe-eeb1-43a3-abb2-20a01eee201a', 'ip_version': 4, 'cidr': '194.58.166.0/26', 'allocation_pools': [{'start': '194.58.166.2', 'end': '194.58.166.62'}], 'gateway_ip': '194.58.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.58.166.2', 'tags': [], 'project_id': '83dc88bbb93f4637bb2f37f911ce47e5'}} 2025-10-15 19:37:25,670 - INFO - Created VN ctest-vn-06238867 2025-10-15 19:37:25,722 - DEBUG - VN ctest-vn-06238867 UUID is 693837fe-eeb1-43a3-abb2-20a01eee201a 2025-10-15 19:37:25,832 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35381079', 'ctest-vmi-41595824']} 2025-10-15 19:37:26,095 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41595824', 'id': '52dca106-73bc-42ce-9e06-43937494730d', 'tenant_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'network_id': '693837fe-eeb1-43a3-abb2-20a01eee201a', 'mac_address': '02:52:dc:a1:06:73', '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': '194.58.166.3', 'subnet_id': '4d4bd399-f639-489f-b411-87eed3f6ce3c'}], 'security_groups': ['1c884af0-6656-4434-a64b-c6b33ef44bb3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '83dc88bbb93f4637bb2f37f911ce47e5'}} 2025-10-15 19:37:26,095 - DEBUG - Created port 52dca106-73bc-42ce-9e06-43937494730d 2025-10-15 19:37:26,206 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/52dca106-73bc-42ce-9e06-43937494730d 2025-10-15 19:37:26,506 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/52dca106-73bc-42ce-9e06-43937494730d 2025-10-15 19:37:26,538 - INFO - VMI 52dca106-73bc-42ce-9e06-43937494730d verification in API Server passed 2025-10-15 19:37:26,626 - DEBUG - Response for delete_port : () 2025-10-15 19:37:26,626 - INFO - Deleted port 52dca106-73bc-42ce-9e06-43937494730d 2025-10-15 19:37:26,627 - INFO - Deleting VN ctest-vn-06238867 2025-10-15 19:37:26,737 - DEBUG - Response for deleting network () 2025-10-15 19:37:26,991 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 19:37:26,991 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-15 19:37:26,991 - INFO - -------------------------------------------------------------------------------- 2025-10-15 19:37:26,994 - INFO - ================================================================================ 2025-10-15 19:37:26,994 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-15 19:37:26,994 - 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-15 19:37:27,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-10-15 19:37:27,285 - INFO - Initial checks done. Running the testcase now 2025-10-15 19:37:27,285 - INFO - 2025-10-15 19:37:27,469 - DEBUG - Response for create_network : {'network': {'id': '36ce295a-7c22-4c6c-9185-82b48904f37f', 'name': 'ctest-vn1-39014962', 'tenant_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'project_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35381079', 'ctest-vn1-39014962'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:37:27,616 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8762330-d85f-4163-991a-acde267294f2', 'name': '', 'tenant_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'network_id': '36ce295a-7c22-4c6c-9185-82b48904f37f', 'ip_version': 4, 'cidr': '217.78.51.128/26', 'allocation_pools': [{'start': '217.78.51.130', 'end': '217.78.51.190'}], 'gateway_ip': '217.78.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.78.51.130', 'tags': [], 'project_id': '83dc88bbb93f4637bb2f37f911ce47e5'}} 2025-10-15 19:37:27,832 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5600c47-1346-44ee-a152-435bc69f94ad', 'name': '', 'tenant_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'network_id': '36ce295a-7c22-4c6c-9185-82b48904f37f', 'ip_version': 4, 'cidr': '102.0.130.128/26', 'allocation_pools': [{'start': '102.0.130.130', 'end': '102.0.130.190'}], 'gateway_ip': '102.0.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.0.130.130', 'tags': [], 'project_id': '83dc88bbb93f4637bb2f37f911ce47e5'}} 2025-10-15 19:37:27,851 - INFO - Created VN ctest-vn1-39014962 2025-10-15 19:37:27,902 - DEBUG - VN ctest-vn1-39014962 UUID is 36ce295a-7c22-4c6c-9185-82b48904f37f 2025-10-15 19:37:28,210 - DEBUG - Response for create_port : {'port': {'name': '68e5ec07-8714-4ad1-8fd2-5db17b0e895f', 'id': '68e5ec07-8714-4ad1-8fd2-5db17b0e895f', 'tenant_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'network_id': '36ce295a-7c22-4c6c-9185-82b48904f37f', 'mac_address': '02:68:e5:ec:07:87', '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': '217.78.51.133', 'subnet_id': 'b8762330-d85f-4163-991a-acde267294f2'}], 'security_groups': ['1c884af0-6656-4434-a64b-c6b33ef44bb3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '83dc88bbb93f4637bb2f37f911ce47e5'}} 2025-10-15 19:37:28,395 - DEBUG - Response for create_port : {'port': {'name': 'c145aee0-22ec-4b48-8100-32857501eac8', 'id': 'c145aee0-22ec-4b48-8100-32857501eac8', 'tenant_id': '83dc88bbb93f4637bb2f37f911ce47e5', 'network_id': '36ce295a-7c22-4c6c-9185-82b48904f37f', 'mac_address': '02:c1:45:ae:e0:22', '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': '102.0.130.133', 'subnet_id': 'e5600c47-1346-44ee-a152-435bc69f94ad'}], 'security_groups': ['1c884af0-6656-4434-a64b-c6b33ef44bb3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '83dc88bbb93f4637bb2f37f911ce47e5'}} 2025-10-15 19:37:28,450 - DEBUG - Services list from nova: [, , ] 2025-10-15 19:37:28,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4335-1) 2025-10-15 19:37:29,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4335-1) 2025-10-15 19:37:29,245 - INFO - Waiting for VM ctest-vn1-vm1-14905810 to be up.. 2025-10-15 19:37:29,293 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 19:37:34,375 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:37:34,376 - INFO - VM name : ctest-vn1-vm1-14905810 2025-10-15 19:37:34,448 - DEBUG - VM ctest-vn1-vm1-14905810 ID is 7a069d93-f440-47a2-a0c0-a1d2cb69e5e0 2025-10-15 19:37:34,466 - DEBUG - VM ctest-vn1-vm1-14905810 launched on Node cn-jenkins-deploy-platform-ansible-os-4335-1 2025-10-15 19:37:34,539 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7a069d93-f440-47a2-a0c0-a1d2cb69e5e0 2025-10-15 19:37:34,548 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/68e5ec07-8714-4ad1-8fd2-5db17b0e895f 2025-10-15 19:37:37,821 - 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 1031ms') 2025-10-15 19:37:37,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14905810 failed! 2025-10-15 19:37:37,879 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35381079:ctest-vn1-39014962 is 217.78.51.129 and allocation pool is NOT set 2025-10-15 19:37:37,879 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35381079:ctest-vn1-39014962 is 102.0.130.129 and allocation pool is NOT set 2025-10-15 19:37:39,940 - 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=11.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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.401/6.410/11.419/5.009 ms') 2025-10-15 19:37:39,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14905810 passed 2025-10-15 19:37:40,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:37:40,090 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14905810, IP 217.78.51.133, Port 22 2025-10-15 19:37:40,156 - 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-10-15 19:37:40,242 - DEBUG - VM ctest-vn1-vm1-14905810 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 19:37:45,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:37:45,243 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14905810, IP 217.78.51.133, Port 22 2025-10-15 19:37:45,408 - DEBUG - VM ctest-vn1-vm1-14905810 is ready for SSH connections 2025-10-15 19:37:45,408 - INFO - Waiting for VM ctest-vn1-vm2-05974366 to be up.. 2025-10-15 19:37:45,490 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:37:45,491 - INFO - VM name : ctest-vn1-vm2-05974366 2025-10-15 19:37:45,572 - DEBUG - VM ctest-vn1-vm2-05974366 ID is 78193d4b-125a-443e-85ce-69bcf3083207 2025-10-15 19:37:45,572 - DEBUG - VM ctest-vn1-vm2-05974366 launched on Node cn-jenkins-deploy-platform-ansible-os-4335-1 2025-10-15 19:37:45,653 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/78193d4b-125a-443e-85ce-69bcf3083207 2025-10-15 19:37:45,662 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c145aee0-22ec-4b48-8100-32857501eac8 2025-10-15 19:37:46,905 - 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=4.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/2.597/4.813/2.216 ms') 2025-10-15 19:37:46,905 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05974366 passed 2025-10-15 19:37:47,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:37:47,062 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05974366, IP 102.0.130.133, Port 22 2025-10-15 19:37:47,218 - DEBUG - VM ctest-vn1-vm2-05974366 is ready for SSH connections 2025-10-15 19:37:47,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:37:47,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:37:47,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:37:47,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.78.51.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:37:47,218 - DEBUG - ping -s 56 -c 3 -W 1 217.78.51.133 2025-10-15 19:37:49,886 - DEBUG - PING 217.78.51.133 (217.78.51.133): 56 data bytes 64 bytes from 217.78.51.133: seq=0 ttl=63 time=3.748 ms 64 bytes from 217.78.51.133: seq=1 ttl=63 time=0.963 ms 64 bytes from 217.78.51.133: seq=2 ttl=63 time=1.164 ms --- 217.78.51.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/1.958/3.748 ms 2025-10-15 19:37:49,886 - INFO - Ping to IP 217.78.51.133 from VM ctest-vn1-vm2-05974366 passed 2025-10-15 19:37:49,886 - INFO - Detaching port c145aee0-22ec-4b48-8100-32857501eac8 from VM ctest-vn1-vm2-05974366 2025-10-15 19:37:49,939 - INFO - Deleting VM ctest-vn1-vm2-05974366 2025-10-15 19:37:50,017 - INFO - Detaching port 68e5ec07-8714-4ad1-8fd2-5db17b0e895f from VM ctest-vn1-vm1-14905810 2025-10-15 19:37:50,055 - INFO - Deleting VM ctest-vn1-vm1-14905810 2025-10-15 19:37:50,322 - DEBUG - Response for delete_port : () 2025-10-15 19:37:50,478 - DEBUG - Response for delete_port : () 2025-10-15 19:37:50,478 - INFO - Deleting VN ctest-vn1-39014962 2025-10-15 19:37:50,620 - DEBUG - Response for deleting network () 2025-10-15 19:37:50,887 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 19:37:50,887 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-15 19:37:50,888 - INFO - -------------------------------------------------------------------------------- 2025-10-15 19:37:51,598 - INFO - Deleted project: ctest-TestPorts-35381079, ID : 83dc88bb-b93f-4637-bb2f-37f911ce47e5