2025-08-11 02:03:33,929 - INFO - Domain Default found not creating 2025-08-11 02:03:34,054 - INFO - Project ctest-TestPorts-15587423 not found, creating it 2025-08-11 02:03:34,505 - INFO - Created Project:ctest-TestPorts-15587423, ID : 6a473994-3424-45c8-9031-ee74b65d9b6f 2025-08-11 02:03:35,848 - INFO - ================================================================================ 2025-08-11 02:03:35,848 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 02:03:35,848 - 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-11 02:03:36,106 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-08-11 02:03:36,106 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:03:36,106 - INFO - 2025-08-11 02:03:36,635 - DEBUG - Response for create_network : {'network': {'id': '7f00bc0a-4154-47ff-8ff6-5760ac45e851', 'name': 'ctest-vn-69951671', 'tenant_id': '6a473994342445c89031ee74b65d9b6f', 'project_id': '6a473994342445c89031ee74b65d9b6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15587423', 'ctest-vn-69951671'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:03:36,859 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc47d19c-410d-44b1-ac9b-2527db3faf94', 'name': '', 'tenant_id': '6a473994342445c89031ee74b65d9b6f', 'network_id': '7f00bc0a-4154-47ff-8ff6-5760ac45e851', 'ip_version': 4, 'cidr': '74.67.112.0/26', 'allocation_pools': [{'start': '74.67.112.2', 'end': '74.67.112.62'}], 'gateway_ip': '74.67.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.67.112.2', 'tags': [], 'project_id': '6a473994342445c89031ee74b65d9b6f'}} 2025-08-11 02:03:36,876 - INFO - Created VN ctest-vn-69951671 2025-08-11 02:03:36,928 - DEBUG - VN ctest-vn-69951671 UUID is 7f00bc0a-4154-47ff-8ff6-5760ac45e851 2025-08-11 02:03:37,035 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15587423', 'ctest-vmi-71490217']} 2025-08-11 02:03:37,271 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71490217', 'id': '71157447-aba5-4574-9110-858f8f298844', 'tenant_id': '6a473994342445c89031ee74b65d9b6f', 'network_id': '7f00bc0a-4154-47ff-8ff6-5760ac45e851', 'mac_address': '02:71:15:74:47:ab', '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': '74.67.112.3', 'subnet_id': 'bc47d19c-410d-44b1-ac9b-2527db3faf94'}], 'security_groups': ['222731d2-c1e8-4b65-84b0-68846e665ae2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a473994342445c89031ee74b65d9b6f'}} 2025-08-11 02:03:37,271 - DEBUG - Created port 71157447-aba5-4574-9110-858f8f298844 2025-08-11 02:03:37,380 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/71157447-aba5-4574-9110-858f8f298844 2025-08-11 02:03:37,672 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/71157447-aba5-4574-9110-858f8f298844 2025-08-11 02:03:37,701 - INFO - VMI 71157447-aba5-4574-9110-858f8f298844 verification in API Server passed 2025-08-11 02:03:37,782 - DEBUG - Response for delete_port : () 2025-08-11 02:03:37,782 - INFO - Deleted port 71157447-aba5-4574-9110-858f8f298844 2025-08-11 02:03:37,782 - INFO - Deleting VN ctest-vn-69951671 2025-08-11 02:03:37,893 - DEBUG - Response for deleting network () 2025-08-11 02:03:38,154 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:03:38,154 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-11 02:03:38,154 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:03:38,156 - INFO - ================================================================================ 2025-08-11 02:03:38,156 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 02:03:38,156 - 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-11 02:03:38,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-08-11 02:03:38,449 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:03:38,449 - INFO - 2025-08-11 02:03:38,648 - DEBUG - Response for create_network : {'network': {'id': 'c1a594b2-08dd-44db-b206-46969f644f7c', 'name': 'ctest-vn1-26837773', 'tenant_id': '6a473994342445c89031ee74b65d9b6f', 'project_id': '6a473994342445c89031ee74b65d9b6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15587423', 'ctest-vn1-26837773'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:03:38,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ddc9e2c-7e78-41d4-aa03-0bf882fc3d64', 'name': '', 'tenant_id': '6a473994342445c89031ee74b65d9b6f', 'network_id': 'c1a594b2-08dd-44db-b206-46969f644f7c', 'ip_version': 4, 'cidr': '178.136.0.64/26', 'allocation_pools': [{'start': '178.136.0.66', 'end': '178.136.0.126'}], 'gateway_ip': '178.136.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.136.0.66', 'tags': [], 'project_id': '6a473994342445c89031ee74b65d9b6f'}} 2025-08-11 02:03:39,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '84bd06c1-34a5-4257-bb8b-98adf7f87459', 'name': '', 'tenant_id': '6a473994342445c89031ee74b65d9b6f', 'network_id': 'c1a594b2-08dd-44db-b206-46969f644f7c', 'ip_version': 4, 'cidr': '164.193.124.192/26', 'allocation_pools': [{'start': '164.193.124.194', 'end': '164.193.124.254'}], 'gateway_ip': '164.193.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.193.124.194', 'tags': [], 'project_id': '6a473994342445c89031ee74b65d9b6f'}} 2025-08-11 02:03:39,063 - INFO - Created VN ctest-vn1-26837773 2025-08-11 02:03:39,116 - DEBUG - VN ctest-vn1-26837773 UUID is c1a594b2-08dd-44db-b206-46969f644f7c 2025-08-11 02:03:39,436 - DEBUG - Response for create_port : {'port': {'name': '8d3662f0-75d8-48d4-917b-162f0d5700f3', 'id': '8d3662f0-75d8-48d4-917b-162f0d5700f3', 'tenant_id': '6a473994342445c89031ee74b65d9b6f', 'network_id': 'c1a594b2-08dd-44db-b206-46969f644f7c', 'mac_address': '02:8d:36:62:f0:75', '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': '178.136.0.69', 'subnet_id': '6ddc9e2c-7e78-41d4-aa03-0bf882fc3d64'}], 'security_groups': ['222731d2-c1e8-4b65-84b0-68846e665ae2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a473994342445c89031ee74b65d9b6f'}} 2025-08-11 02:03:39,640 - DEBUG - Response for create_port : {'port': {'name': '32debf6f-436b-4570-ae21-685b9d9dc811', 'id': '32debf6f-436b-4570-ae21-685b9d9dc811', 'tenant_id': '6a473994342445c89031ee74b65d9b6f', 'network_id': 'c1a594b2-08dd-44db-b206-46969f644f7c', 'mac_address': '02:32:de:bf:6f: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': '164.193.124.197', 'subnet_id': '84bd06c1-34a5-4257-bb8b-98adf7f87459'}], 'security_groups': ['222731d2-c1e8-4b65-84b0-68846e665ae2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a473994342445c89031ee74b65d9b6f'}} 2025-08-11 02:03:39,699 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:03:40,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3793-1) 2025-08-11 02:03:40,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3793-1) 2025-08-11 02:03:40,443 - INFO - Waiting for VM ctest-vn1-vm1-16436523 to be up.. 2025-08-11 02:03:40,487 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:03:45,558 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:03:45,558 - INFO - VM name : ctest-vn1-vm1-16436523 2025-08-11 02:03:45,628 - DEBUG - VM ctest-vn1-vm1-16436523 ID is 647da5bb-51b8-4ba9-8fae-b3045137b5a2 2025-08-11 02:03:45,646 - DEBUG - VM ctest-vn1-vm1-16436523 launched on Node cn-jenkins-deploy-platform-ansible-os-3793-1 2025-08-11 02:03:45,712 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/647da5bb-51b8-4ba9-8fae-b3045137b5a2 2025-08-11 02:03:45,720 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8d3662f0-75d8-48d4-917b-162f0d5700f3 2025-08-11 02:03:48,968 - 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 1007ms') 2025-08-11 02:03:48,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16436523 failed! 2025-08-11 02:03:49,024 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15587423:ctest-vn1-26837773 is 178.136.0.65 and allocation pool is NOT set 2025-08-11 02:03:49,024 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15587423:ctest-vn1-26837773 is 164.193.124.193 and allocation pool is NOT set 2025-08-11 02:03:51,090 - 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=9.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.040/5.912/9.784/3.872 ms') 2025-08-11 02:03:51,090 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16436523 passed 2025-08-11 02:03:51,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:51,244 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16436523, IP 178.136.0.69, Port 22 2025-08-11 02:03:51,299 - 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-11 02:03:51,370 - DEBUG - VM ctest-vn1-vm1-16436523 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 02:03:56,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:56,371 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16436523, IP 178.136.0.69, Port 22 2025-08-11 02:03:56,527 - DEBUG - VM ctest-vn1-vm1-16436523 is ready for SSH connections 2025-08-11 02:03:56,528 - INFO - Waiting for VM ctest-vn1-vm2-96881589 to be up.. 2025-08-11 02:03:56,599 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:03:56,599 - INFO - VM name : ctest-vn1-vm2-96881589 2025-08-11 02:03:56,667 - DEBUG - VM ctest-vn1-vm2-96881589 ID is 13eda29b-83cd-44a8-9681-76a88176af66 2025-08-11 02:03:56,667 - DEBUG - VM ctest-vn1-vm2-96881589 launched on Node cn-jenkins-deploy-platform-ansible-os-3793-1 2025-08-11 02:03:56,729 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/13eda29b-83cd-44a8-9681-76a88176af66 2025-08-11 02:03:56,737 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/32debf6f-436b-4570-ae21-685b9d9dc811 2025-08-11 02:03:57,968 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.570/2.764/1.193 ms') 2025-08-11 02:03:57,968 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96881589 passed 2025-08-11 02:03:58,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:58,116 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96881589, IP 164.193.124.197, Port 22 2025-08-11 02:03:58,272 - DEBUG - VM ctest-vn1-vm2-96881589 is ready for SSH connections 2025-08-11 02:03:58,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:58,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:58,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:58,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.136.0.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-11 02:03:58,272 - DEBUG - ping -s 56 -c 3 -W 1 178.136.0.69 2025-08-11 02:04:00,915 - DEBUG - PING 178.136.0.69 (178.136.0.69): 56 data bytes 64 bytes from 178.136.0.69: seq=0 ttl=63 time=3.437 ms 64 bytes from 178.136.0.69: seq=1 ttl=63 time=0.732 ms 64 bytes from 178.136.0.69: seq=2 ttl=63 time=0.925 ms --- 178.136.0.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.732/1.698/3.437 ms 2025-08-11 02:04:00,915 - INFO - Ping to IP 178.136.0.69 from VM ctest-vn1-vm2-96881589 passed 2025-08-11 02:04:00,916 - INFO - Detaching port 32debf6f-436b-4570-ae21-685b9d9dc811 from VM ctest-vn1-vm2-96881589 2025-08-11 02:04:00,963 - INFO - Deleting VM ctest-vn1-vm2-96881589 2025-08-11 02:04:01,024 - INFO - Detaching port 8d3662f0-75d8-48d4-917b-162f0d5700f3 from VM ctest-vn1-vm1-16436523 2025-08-11 02:04:01,051 - INFO - Deleting VM ctest-vn1-vm1-16436523 2025-08-11 02:04:01,265 - DEBUG - Response for delete_port : () 2025-08-11 02:04:01,427 - DEBUG - Response for delete_port : () 2025-08-11 02:04:01,427 - INFO - Deleting VN ctest-vn1-26837773 2025-08-11 02:04:01,597 - DEBUG - Response for deleting network () 2025-08-11 02:04:01,862 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:04:01,862 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-08-11 02:04:01,863 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:04:02,551 - INFO - Deleted project: ctest-TestPorts-15587423, ID : 6a473994-3424-45c8-9031-ee74b65d9b6f