2025-08-26 00:17:41,114 - INFO - Domain Default found not creating 2025-08-26 00:17:41,296 - INFO - Project ctest-TestPorts-78251895 not found, creating it 2025-08-26 00:17:41,813 - INFO - Created Project:ctest-TestPorts-78251895, ID : 4dfd1a59-a461-4dc6-a5e8-710e14bf83a3 2025-08-26 00:17:43,292 - INFO - ================================================================================ 2025-08-26 00:17:43,292 - INFO - STARTING TEST : test_ports_bindings 2025-08-26 00:17:43,292 - 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-26 00:17:43,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2025-08-26 00:17:43,559 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:17:43,559 - INFO - 2025-08-26 00:17:44,131 - DEBUG - Response for create_network : {'network': {'id': '2b723a09-81e9-4876-95d4-2c67463401a1', 'name': 'ctest-vn-50845508', 'tenant_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'project_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78251895', 'ctest-vn-50845508'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:17:44,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f2dbcfd-88e0-4e7e-b8cb-82645097ae3f', 'name': '', 'tenant_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'network_id': '2b723a09-81e9-4876-95d4-2c67463401a1', 'ip_version': 4, 'cidr': '168.162.60.64/26', 'allocation_pools': [{'start': '168.162.60.66', 'end': '168.162.60.126'}], 'gateway_ip': '168.162.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.162.60.66', 'tags': [], 'project_id': '4dfd1a59a4614dc6a5e8710e14bf83a3'}} 2025-08-26 00:17:44,418 - INFO - Created VN ctest-vn-50845508 2025-08-26 00:17:44,471 - DEBUG - VN ctest-vn-50845508 UUID is 2b723a09-81e9-4876-95d4-2c67463401a1 2025-08-26 00:17:44,589 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78251895', 'ctest-vmi-69882937']} 2025-08-26 00:17:44,911 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69882937', 'id': '1d7fc140-e7b9-451e-8872-4b416c54d94f', 'tenant_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'network_id': '2b723a09-81e9-4876-95d4-2c67463401a1', 'mac_address': '02:1d:7f:c1:40:e7', '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': '168.162.60.67', 'subnet_id': '3f2dbcfd-88e0-4e7e-b8cb-82645097ae3f'}], 'security_groups': ['9d1e77bd-6e28-40e6-83f5-1ce8b8cbb331'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4dfd1a59a4614dc6a5e8710e14bf83a3'}} 2025-08-26 00:17:44,911 - DEBUG - Created port 1d7fc140-e7b9-451e-8872-4b416c54d94f 2025-08-26 00:17:45,023 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1d7fc140-e7b9-451e-8872-4b416c54d94f 2025-08-26 00:17:45,318 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1d7fc140-e7b9-451e-8872-4b416c54d94f 2025-08-26 00:17:45,352 - INFO - VMI 1d7fc140-e7b9-451e-8872-4b416c54d94f verification in API Server passed 2025-08-26 00:17:45,469 - DEBUG - Response for delete_port : () 2025-08-26 00:17:45,470 - INFO - Deleted port 1d7fc140-e7b9-451e-8872-4b416c54d94f 2025-08-26 00:17:45,470 - INFO - Deleting VN ctest-vn-50845508 2025-08-26 00:17:45,591 - DEBUG - Response for deleting network () 2025-08-26 00:17:45,850 - DEBUG - No XMPP flaps were noticed during the test 2025-08-26 00:17:45,850 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-26 00:17:45,850 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:17:45,853 - INFO - ================================================================================ 2025-08-26 00:17:45,853 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-26 00:17:45,853 - 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-26 00:17:46,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2025-08-26 00:17:46,143 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:17:46,143 - INFO - 2025-08-26 00:17:46,379 - DEBUG - Response for create_network : {'network': {'id': '0ae8bef5-90da-4774-ad5a-fac32ad7a3ea', 'name': 'ctest-vn1-45717986', 'tenant_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'project_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78251895', 'ctest-vn1-45717986'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:17:46,558 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aeb3559d-b90b-4fb6-983e-0cbd3227113e', 'name': '', 'tenant_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'network_id': '0ae8bef5-90da-4774-ad5a-fac32ad7a3ea', 'ip_version': 4, 'cidr': '89.228.112.64/26', 'allocation_pools': [{'start': '89.228.112.66', 'end': '89.228.112.126'}], 'gateway_ip': '89.228.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.228.112.66', 'tags': [], 'project_id': '4dfd1a59a4614dc6a5e8710e14bf83a3'}} 2025-08-26 00:17:46,779 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc53ea2a-909d-412a-8be4-6cb47b6e5510', 'name': '', 'tenant_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'network_id': '0ae8bef5-90da-4774-ad5a-fac32ad7a3ea', 'ip_version': 4, 'cidr': '9.157.185.64/26', 'allocation_pools': [{'start': '9.157.185.66', 'end': '9.157.185.126'}], 'gateway_ip': '9.157.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.157.185.66', 'tags': [], 'project_id': '4dfd1a59a4614dc6a5e8710e14bf83a3'}} 2025-08-26 00:17:46,805 - INFO - Created VN ctest-vn1-45717986 2025-08-26 00:17:46,864 - DEBUG - VN ctest-vn1-45717986 UUID is 0ae8bef5-90da-4774-ad5a-fac32ad7a3ea 2025-08-26 00:17:47,227 - DEBUG - Response for create_port : {'port': {'name': 'af79b309-6f48-486a-b37e-6f119307b1a2', 'id': 'af79b309-6f48-486a-b37e-6f119307b1a2', 'tenant_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'network_id': '0ae8bef5-90da-4774-ad5a-fac32ad7a3ea', 'mac_address': '02:af:79:b3:09:6f', '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': '89.228.112.69', 'subnet_id': 'aeb3559d-b90b-4fb6-983e-0cbd3227113e'}], 'security_groups': ['9d1e77bd-6e28-40e6-83f5-1ce8b8cbb331'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4dfd1a59a4614dc6a5e8710e14bf83a3'}} 2025-08-26 00:17:47,429 - DEBUG - Response for create_port : {'port': {'name': '4d461486-434e-4b4f-a68d-fd5182370042', 'id': '4d461486-434e-4b4f-a68d-fd5182370042', 'tenant_id': '4dfd1a59a4614dc6a5e8710e14bf83a3', 'network_id': '0ae8bef5-90da-4774-ad5a-fac32ad7a3ea', 'mac_address': '02:4d:46:14:86:43', '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': '9.157.185.69', 'subnet_id': 'cc53ea2a-909d-412a-8be4-6cb47b6e5510'}], 'security_groups': ['9d1e77bd-6e28-40e6-83f5-1ce8b8cbb331'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4dfd1a59a4614dc6a5e8710e14bf83a3'}} 2025-08-26 00:17:47,494 - DEBUG - Services list from nova: [, , ] 2025-08-26 00:17:47,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3934-1) 2025-08-26 00:17:48,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3934-1) 2025-08-26 00:17:48,338 - INFO - Waiting for VM ctest-vn1-vm1-38093369 to be up.. 2025-08-26 00:17:48,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 00:17:53,498 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:17:53,499 - INFO - VM name : ctest-vn1-vm1-38093369 2025-08-26 00:17:53,598 - DEBUG - VM ctest-vn1-vm1-38093369 ID is bd5ebcb8-9aed-4b47-8728-9d1eeb6364cb 2025-08-26 00:17:53,624 - DEBUG - VM ctest-vn1-vm1-38093369 launched on Node cn-jenkins-deploy-platform-ansible-os-3934-1 2025-08-26 00:17:53,720 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bd5ebcb8-9aed-4b47-8728-9d1eeb6364cb 2025-08-26 00:17:53,732 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/af79b309-6f48-486a-b37e-6f119307b1a2 2025-08-26 00:17:57,012 - 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 1027ms') 2025-08-26 00:17:57,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38093369 failed! 2025-08-26 00:17:57,071 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78251895:ctest-vn1-45717986 is 89.228.112.65 and allocation pool is NOT set 2025-08-26 00:17:57,072 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78251895:ctest-vn1-45717986 is 9.157.185.65 and allocation pool is NOT set 2025-08-26 00:17:59,130 - 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=13.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.856 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.856/7.235/13.615/6.379 ms') 2025-08-26 00:17:59,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38093369 passed 2025-08-26 00:17:59,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:17:59,289 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38093369, IP 89.228.112.69, Port 22 2025-08-26 00:17:59,354 - 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-26 00:17:59,451 - DEBUG - VM ctest-vn1-vm1-38093369 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-26 00:18:04,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:18:04,452 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38093369, IP 89.228.112.69, Port 22 2025-08-26 00:18:04,607 - DEBUG - VM ctest-vn1-vm1-38093369 is ready for SSH connections 2025-08-26 00:18:04,607 - INFO - Waiting for VM ctest-vn1-vm2-59709144 to be up.. 2025-08-26 00:18:04,689 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:18:04,689 - INFO - VM name : ctest-vn1-vm2-59709144 2025-08-26 00:18:04,766 - DEBUG - VM ctest-vn1-vm2-59709144 ID is 72f02bd5-cfc5-462a-bc38-9ff34b3d8c3d 2025-08-26 00:18:04,766 - DEBUG - VM ctest-vn1-vm2-59709144 launched on Node cn-jenkins-deploy-platform-ansible-os-3934-1 2025-08-26 00:18:04,844 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/72f02bd5-cfc5-462a-bc38-9ff34b3d8c3d 2025-08-26 00:18:04,855 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4d461486-434e-4b4f-a68d-fd5182370042 2025-08-26 00:18:06,103 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.503 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.503/1.686/2.869/1.183 ms') 2025-08-26 00:18:06,103 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-59709144 passed 2025-08-26 00:18:06,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:18:06,268 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-59709144, IP 9.157.185.69, Port 22 2025-08-26 00:18:06,427 - DEBUG - VM ctest-vn1-vm2-59709144 is ready for SSH connections 2025-08-26 00:18:06,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:18:06,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:18:06,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:18:06,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.228.112.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-26 00:18:06,428 - DEBUG - ping -s 56 -c 3 -W 1 89.228.112.69 2025-08-26 00:18:09,131 - DEBUG - PING 89.228.112.69 (89.228.112.69): 56 data bytes 64 bytes from 89.228.112.69: seq=0 ttl=63 time=4.030 ms 64 bytes from 89.228.112.69: seq=1 ttl=63 time=1.078 ms 64 bytes from 89.228.112.69: seq=2 ttl=63 time=1.261 ms --- 89.228.112.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.078/2.123/4.030 ms 2025-08-26 00:18:09,131 - INFO - Ping to IP 89.228.112.69 from VM ctest-vn1-vm2-59709144 passed 2025-08-26 00:18:09,131 - INFO - Detaching port 4d461486-434e-4b4f-a68d-fd5182370042 from VM ctest-vn1-vm2-59709144 2025-08-26 00:18:09,186 - INFO - Deleting VM ctest-vn1-vm2-59709144 2025-08-26 00:18:09,258 - INFO - Detaching port af79b309-6f48-486a-b37e-6f119307b1a2 from VM ctest-vn1-vm1-38093369 2025-08-26 00:18:09,296 - INFO - Deleting VM ctest-vn1-vm1-38093369 2025-08-26 00:18:09,584 - DEBUG - Response for delete_port : () 2025-08-26 00:18:09,781 - DEBUG - Response for delete_port : () 2025-08-26 00:18:09,781 - INFO - Deleting VN ctest-vn1-45717986 2025-08-26 00:18:09,990 - DEBUG - Response for deleting network () 2025-08-26 00:18:10,254 - DEBUG - No XMPP flaps were noticed during the test 2025-08-26 00:18:10,254 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-08-26 00:18:10,255 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:18:10,947 - INFO - Deleted project: ctest-TestPorts-78251895, ID : 4dfd1a59-a461-4dc6-a5e8-710e14bf83a3