2025-11-05 18:43:39,623 - INFO - Domain Default found not creating 2025-11-05 18:43:39,751 - INFO - Project ctest-TestPorts-14568178 not found, creating it 2025-11-05 18:43:40,164 - INFO - Created Project:ctest-TestPorts-14568178, ID : 19ad871e-8132-4105-965d-a155e62b6ef0 2025-11-05 18:43:41,490 - INFO - ================================================================================ 2025-11-05 18:43:41,491 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 18:43:41,491 - 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-11-05 18:43:41,753 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 18:43:41,753 - INFO - Initial checks done. Running the testcase now 2025-11-05 18:43:41,753 - INFO - 2025-11-05 18:43:42,264 - DEBUG - Response for create_network : {'network': {'id': '77ca95de-2f5a-47b5-9ba6-ed993c1d630c', 'name': 'ctest-vn-18796157', 'tenant_id': '19ad871e81324105965da155e62b6ef0', 'project_id': '19ad871e81324105965da155e62b6ef0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14568178', 'ctest-vn-18796157'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 18:43:42,439 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fabd1428-97e7-4fb6-95cf-a583cfda40b7', 'name': '', 'tenant_id': '19ad871e81324105965da155e62b6ef0', 'network_id': '77ca95de-2f5a-47b5-9ba6-ed993c1d630c', 'ip_version': 4, 'cidr': '90.73.161.192/26', 'allocation_pools': [{'start': '90.73.161.194', 'end': '90.73.161.254'}], 'gateway_ip': '90.73.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.73.161.194', 'tags': [], 'project_id': '19ad871e81324105965da155e62b6ef0'}} 2025-11-05 18:43:42,454 - INFO - Created VN ctest-vn-18796157 2025-11-05 18:43:42,506 - DEBUG - VN ctest-vn-18796157 UUID is 77ca95de-2f5a-47b5-9ba6-ed993c1d630c 2025-11-05 18:43:42,604 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-14568178', 'ctest-vmi-08586100']} 2025-11-05 18:43:42,876 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08586100', 'id': '370f4263-4260-410f-8f0e-8cf886a4428d', 'tenant_id': '19ad871e81324105965da155e62b6ef0', 'network_id': '77ca95de-2f5a-47b5-9ba6-ed993c1d630c', 'mac_address': '02:37:0f:42:63:42', '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': '90.73.161.195', 'subnet_id': 'fabd1428-97e7-4fb6-95cf-a583cfda40b7'}], 'security_groups': ['27b49a90-2d97-461e-9d1b-fb8bd266c1f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19ad871e81324105965da155e62b6ef0'}} 2025-11-05 18:43:42,876 - DEBUG - Created port 370f4263-4260-410f-8f0e-8cf886a4428d 2025-11-05 18:43:42,978 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/370f4263-4260-410f-8f0e-8cf886a4428d 2025-11-05 18:43:43,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/370f4263-4260-410f-8f0e-8cf886a4428d 2025-11-05 18:43:43,477 - INFO - VMI 370f4263-4260-410f-8f0e-8cf886a4428d verification in API Server passed 2025-11-05 18:43:43,551 - DEBUG - Response for delete_port : () 2025-11-05 18:43:43,551 - INFO - Deleted port 370f4263-4260-410f-8f0e-8cf886a4428d 2025-11-05 18:43:43,551 - INFO - Deleting VN ctest-vn-18796157 2025-11-05 18:43:43,646 - DEBUG - Response for deleting network () 2025-11-05 18:43:43,894 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 18:43:43,894 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-05 18:43:43,894 - INFO - -------------------------------------------------------------------------------- 2025-11-05 18:43:43,896 - INFO - ================================================================================ 2025-11-05 18:43:43,897 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 18:43:43,897 - 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-11-05 18:43:44,182 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 18:43:44,182 - INFO - Initial checks done. Running the testcase now 2025-11-05 18:43:44,182 - INFO - 2025-11-05 18:43:44,335 - DEBUG - Response for create_network : {'network': {'id': 'd2154153-33ed-424f-aa81-1c48c2afcbcc', 'name': 'ctest-vn1-48063848', 'tenant_id': '19ad871e81324105965da155e62b6ef0', 'project_id': '19ad871e81324105965da155e62b6ef0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14568178', 'ctest-vn1-48063848'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 18:43:44,491 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bfc665d-d5c0-42e7-af0b-33eef3c9bc4a', 'name': '', 'tenant_id': '19ad871e81324105965da155e62b6ef0', 'network_id': 'd2154153-33ed-424f-aa81-1c48c2afcbcc', 'ip_version': 4, 'cidr': '153.250.222.0/26', 'allocation_pools': [{'start': '153.250.222.2', 'end': '153.250.222.62'}], 'gateway_ip': '153.250.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.250.222.2', 'tags': [], 'project_id': '19ad871e81324105965da155e62b6ef0'}} 2025-11-05 18:43:44,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '24baf2be-93f7-48bb-8a6a-b651b11ce9ef', 'name': '', 'tenant_id': '19ad871e81324105965da155e62b6ef0', 'network_id': 'd2154153-33ed-424f-aa81-1c48c2afcbcc', 'ip_version': 4, 'cidr': '192.211.213.128/26', 'allocation_pools': [{'start': '192.211.213.130', 'end': '192.211.213.190'}], 'gateway_ip': '192.211.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.211.213.130', 'tags': [], 'project_id': '19ad871e81324105965da155e62b6ef0'}} 2025-11-05 18:43:44,708 - INFO - Created VN ctest-vn1-48063848 2025-11-05 18:43:44,758 - DEBUG - VN ctest-vn1-48063848 UUID is d2154153-33ed-424f-aa81-1c48c2afcbcc 2025-11-05 18:43:45,020 - DEBUG - Response for create_port : {'port': {'name': 'edbc5ac6-22f4-47be-88ad-d8e94acbd9f8', 'id': 'edbc5ac6-22f4-47be-88ad-d8e94acbd9f8', 'tenant_id': '19ad871e81324105965da155e62b6ef0', 'network_id': 'd2154153-33ed-424f-aa81-1c48c2afcbcc', 'mac_address': '02:ed:bc:5a:c6: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': '153.250.222.5', 'subnet_id': '7bfc665d-d5c0-42e7-af0b-33eef3c9bc4a'}], 'security_groups': ['27b49a90-2d97-461e-9d1b-fb8bd266c1f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19ad871e81324105965da155e62b6ef0'}} 2025-11-05 18:43:45,175 - DEBUG - Response for create_port : {'port': {'name': '1449396f-7053-433c-b3b6-c281e5e2ab53', 'id': '1449396f-7053-433c-b3b6-c281e5e2ab53', 'tenant_id': '19ad871e81324105965da155e62b6ef0', 'network_id': 'd2154153-33ed-424f-aa81-1c48c2afcbcc', 'mac_address': '02:14:49:39:6f:70', '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': '192.211.213.133', 'subnet_id': '24baf2be-93f7-48bb-8a6a-b651b11ce9ef'}], 'security_groups': ['27b49a90-2d97-461e-9d1b-fb8bd266c1f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19ad871e81324105965da155e62b6ef0'}} 2025-11-05 18:43:45,225 - DEBUG - Services list from nova: [, , ] 2025-11-05 18:43:45,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4653-1) 2025-11-05 18:43:45,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4653-1) 2025-11-05 18:43:45,891 - INFO - Waiting for VM ctest-vn1-vm1-98962750 to be up.. 2025-11-05 18:43:45,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 18:43:50,994 - DEBUG - VM is in ACTIVE state now 2025-11-05 18:43:50,994 - INFO - VM name : ctest-vn1-vm1-98962750 2025-11-05 18:43:51,062 - DEBUG - VM ctest-vn1-vm1-98962750 ID is dd9ad615-8469-4517-b23a-2873a83e40db 2025-11-05 18:43:51,079 - DEBUG - VM ctest-vn1-vm1-98962750 launched on Node cn-jenkins-deploy-platform-ansible-os-4653-1 2025-11-05 18:43:51,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dd9ad615-8469-4517-b23a-2873a83e40db 2025-11-05 18:43:51,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/edbc5ac6-22f4-47be-88ad-d8e94acbd9f8 2025-11-05 18:43:54,403 - 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 1016ms') 2025-11-05 18:43:54,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98962750 failed! 2025-11-05 18:43:54,458 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14568178:ctest-vn1-48063848 is 153.250.222.1 and allocation pool is NOT set 2025-11-05 18:43:54,458 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14568178:ctest-vn1-48063848 is 192.211.213.129 and allocation pool is NOT set 2025-11-05 18:43:56,524 - 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=4.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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 = 1.496/3.088/4.680/1.592 ms') 2025-11-05 18:43:56,524 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98962750 passed 2025-11-05 18:43:56,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:43:56,674 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98962750, IP 153.250.222.5, Port 22 2025-11-05 18:43:56,729 - 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-11-05 18:43:56,801 - DEBUG - VM ctest-vn1-vm1-98962750 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 18:44:01,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:01,802 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98962750, IP 153.250.222.5, Port 22 2025-11-05 18:44:01,958 - DEBUG - VM ctest-vn1-vm1-98962750 is ready for SSH connections 2025-11-05 18:44:01,958 - INFO - Waiting for VM ctest-vn1-vm2-02718338 to be up.. 2025-11-05 18:44:02,022 - DEBUG - VM is in ACTIVE state now 2025-11-05 18:44:02,022 - INFO - VM name : ctest-vn1-vm2-02718338 2025-11-05 18:44:02,087 - DEBUG - VM ctest-vn1-vm2-02718338 ID is 856ce8e1-5612-451d-bfce-22cfe882b471 2025-11-05 18:44:02,087 - DEBUG - VM ctest-vn1-vm2-02718338 launched on Node cn-jenkins-deploy-platform-ansible-os-4653-1 2025-11-05 18:44:02,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/856ce8e1-5612-451d-bfce-22cfe882b471 2025-11-05 18:44:02,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1449396f-7053-433c-b3b6-c281e5e2ab53 2025-11-05 18:44:03,388 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.555/2.727/1.172 ms') 2025-11-05 18:44:03,388 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02718338 passed 2025-11-05 18:44:03,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:03,542 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02718338, IP 192.211.213.133, Port 22 2025-11-05 18:44:03,694 - DEBUG - VM ctest-vn1-vm2-02718338 is ready for SSH connections 2025-11-05 18:44:03,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:03,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:03,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:03,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.250.222.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 18:44:03,694 - DEBUG - ping -s 56 -c 3 -W 1 153.250.222.5 2025-11-05 18:44:06,653 - DEBUG - PING 153.250.222.5 (153.250.222.5): 56 data bytes 64 bytes from 153.250.222.5: seq=0 ttl=63 time=3.634 ms 64 bytes from 153.250.222.5: seq=1 ttl=63 time=0.767 ms 64 bytes from 153.250.222.5: seq=2 ttl=63 time=0.841 ms --- 153.250.222.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.747/3.634 ms 2025-11-05 18:44:06,653 - INFO - Ping to IP 153.250.222.5 from VM ctest-vn1-vm2-02718338 passed 2025-11-05 18:44:06,653 - INFO - Detaching port 1449396f-7053-433c-b3b6-c281e5e2ab53 from VM ctest-vn1-vm2-02718338 2025-11-05 18:44:06,700 - INFO - Deleting VM ctest-vn1-vm2-02718338 2025-11-05 18:44:06,774 - INFO - Detaching port edbc5ac6-22f4-47be-88ad-d8e94acbd9f8 from VM ctest-vn1-vm1-98962750 2025-11-05 18:44:06,811 - INFO - Deleting VM ctest-vn1-vm1-98962750 2025-11-05 18:44:07,020 - DEBUG - Response for delete_port : () 2025-11-05 18:44:07,162 - DEBUG - Response for delete_port : () 2025-11-05 18:44:07,162 - INFO - Deleting VN ctest-vn1-48063848 2025-11-05 18:44:07,276 - DEBUG - Response for deleting network () 2025-11-05 18:44:07,538 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 18:44:07,538 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-05 18:44:07,539 - INFO - -------------------------------------------------------------------------------- 2025-11-05 18:44:08,201 - INFO - Deleted project: ctest-TestPorts-14568178, ID : 19ad871e-8132-4105-965d-a155e62b6ef0