2025-10-13 01:58:26,422 - INFO - Domain Default found not creating 2025-10-13 01:58:26,576 - INFO - Project ctest-TestPorts-40135456 not found, creating it 2025-10-13 01:58:27,038 - INFO - Created Project:ctest-TestPorts-40135456, ID : d2ad9024-8bd5-4451-8533-69a59ef2fb8f 2025-10-13 01:58:28,465 - INFO - ================================================================================ 2025-10-13 01:58:28,465 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 01:58:28,465 - 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-13 01:58:28,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-13 01:58:28,718 - INFO - Initial checks done. Running the testcase now 2025-10-13 01:58:28,718 - INFO - 2025-10-13 01:58:29,283 - DEBUG - Response for create_network : {'network': {'id': '46415bd0-fdf8-4bab-a9cb-0132331e9384', 'name': 'ctest-vn-76798872', 'tenant_id': 'd2ad90248bd54451853369a59ef2fb8f', 'project_id': 'd2ad90248bd54451853369a59ef2fb8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40135456', 'ctest-vn-76798872'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 01:58:29,501 - DEBUG - Response for create_subnet : {'subnet': {'id': '98cf39f3-79d9-4829-9cf6-af4d1e7043f5', 'name': '', 'tenant_id': 'd2ad90248bd54451853369a59ef2fb8f', 'network_id': '46415bd0-fdf8-4bab-a9cb-0132331e9384', 'ip_version': 4, 'cidr': '43.140.218.64/26', 'allocation_pools': [{'start': '43.140.218.66', 'end': '43.140.218.126'}], 'gateway_ip': '43.140.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.140.218.66', 'tags': [], 'project_id': 'd2ad90248bd54451853369a59ef2fb8f'}} 2025-10-13 01:58:29,519 - INFO - Created VN ctest-vn-76798872 2025-10-13 01:58:29,572 - DEBUG - VN ctest-vn-76798872 UUID is 46415bd0-fdf8-4bab-a9cb-0132331e9384 2025-10-13 01:58:29,679 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40135456', 'ctest-vmi-89533838']} 2025-10-13 01:58:29,971 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89533838', 'id': '0089fce9-c22d-465c-9947-648c4c5315f9', 'tenant_id': 'd2ad90248bd54451853369a59ef2fb8f', 'network_id': '46415bd0-fdf8-4bab-a9cb-0132331e9384', 'mac_address': '02:00:89:fc:e9:c2', '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': '43.140.218.67', 'subnet_id': '98cf39f3-79d9-4829-9cf6-af4d1e7043f5'}], 'security_groups': ['fd3dd35c-26d5-48a5-bc98-16cb7aa31a5e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd2ad90248bd54451853369a59ef2fb8f'}} 2025-10-13 01:58:29,971 - DEBUG - Created port 0089fce9-c22d-465c-9947-648c4c5315f9 2025-10-13 01:58:30,076 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0089fce9-c22d-465c-9947-648c4c5315f9 2025-10-13 01:58:30,372 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0089fce9-c22d-465c-9947-648c4c5315f9 2025-10-13 01:58:30,402 - INFO - VMI 0089fce9-c22d-465c-9947-648c4c5315f9 verification in API Server passed 2025-10-13 01:58:30,484 - DEBUG - Response for delete_port : () 2025-10-13 01:58:30,484 - INFO - Deleted port 0089fce9-c22d-465c-9947-648c4c5315f9 2025-10-13 01:58:30,484 - INFO - Deleting VN ctest-vn-76798872 2025-10-13 01:58:30,576 - DEBUG - Response for deleting network () 2025-10-13 01:58:30,834 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 01:58:30,834 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-13 01:58:30,834 - INFO - -------------------------------------------------------------------------------- 2025-10-13 01:58:30,837 - INFO - ================================================================================ 2025-10-13 01:58:30,837 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 01:58:30,837 - 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-13 01:58:31,125 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-13 01:58:31,125 - INFO - Initial checks done. Running the testcase now 2025-10-13 01:58:31,125 - INFO - 2025-10-13 01:58:31,288 - DEBUG - Response for create_network : {'network': {'id': '562da6a6-36bd-4266-8a16-14aacc783baa', 'name': 'ctest-vn1-36939022', 'tenant_id': 'd2ad90248bd54451853369a59ef2fb8f', 'project_id': 'd2ad90248bd54451853369a59ef2fb8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40135456', 'ctest-vn1-36939022'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 01:58:31,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdcf7494-4aa0-44a2-94ef-499b3dba140e', 'name': '', 'tenant_id': 'd2ad90248bd54451853369a59ef2fb8f', 'network_id': '562da6a6-36bd-4266-8a16-14aacc783baa', 'ip_version': 4, 'cidr': '171.82.127.64/26', 'allocation_pools': [{'start': '171.82.127.66', 'end': '171.82.127.126'}], 'gateway_ip': '171.82.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.82.127.66', 'tags': [], 'project_id': 'd2ad90248bd54451853369a59ef2fb8f'}} 2025-10-13 01:58:31,603 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed5383ea-4bda-4375-9043-8f4dfad5b967', 'name': '', 'tenant_id': 'd2ad90248bd54451853369a59ef2fb8f', 'network_id': '562da6a6-36bd-4266-8a16-14aacc783baa', 'ip_version': 4, 'cidr': '120.230.154.192/26', 'allocation_pools': [{'start': '120.230.154.194', 'end': '120.230.154.254'}], 'gateway_ip': '120.230.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.230.154.194', 'tags': [], 'project_id': 'd2ad90248bd54451853369a59ef2fb8f'}} 2025-10-13 01:58:31,622 - INFO - Created VN ctest-vn1-36939022 2025-10-13 01:58:31,672 - DEBUG - VN ctest-vn1-36939022 UUID is 562da6a6-36bd-4266-8a16-14aacc783baa 2025-10-13 01:58:31,956 - DEBUG - Response for create_port : {'port': {'name': 'cf881186-8a45-452b-9b8b-136e86934a39', 'id': 'cf881186-8a45-452b-9b8b-136e86934a39', 'tenant_id': 'd2ad90248bd54451853369a59ef2fb8f', 'network_id': '562da6a6-36bd-4266-8a16-14aacc783baa', 'mac_address': '02:cf:88:11:86:8a', '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': '171.82.127.69', 'subnet_id': 'cdcf7494-4aa0-44a2-94ef-499b3dba140e'}], 'security_groups': ['fd3dd35c-26d5-48a5-bc98-16cb7aa31a5e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd2ad90248bd54451853369a59ef2fb8f'}} 2025-10-13 01:58:32,112 - DEBUG - Response for create_port : {'port': {'name': '0ea349ff-c837-43e1-9a05-951085808a11', 'id': '0ea349ff-c837-43e1-9a05-951085808a11', 'tenant_id': 'd2ad90248bd54451853369a59ef2fb8f', 'network_id': '562da6a6-36bd-4266-8a16-14aacc783baa', 'mac_address': '02:0e:a3:49:ff:c8', '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': '120.230.154.197', 'subnet_id': 'ed5383ea-4bda-4375-9043-8f4dfad5b967'}], 'security_groups': ['fd3dd35c-26d5-48a5-bc98-16cb7aa31a5e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd2ad90248bd54451853369a59ef2fb8f'}} 2025-10-13 01:58:32,164 - DEBUG - Services list from nova: [, , ] 2025-10-13 01:58:32,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4293-1) 2025-10-13 01:58:32,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4293-1) 2025-10-13 01:58:32,900 - INFO - Waiting for VM ctest-vn1-vm1-73772263 to be up.. 2025-10-13 01:58:32,945 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 01:58:38,024 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:58:38,024 - INFO - VM name : ctest-vn1-vm1-73772263 2025-10-13 01:58:38,106 - DEBUG - VM ctest-vn1-vm1-73772263 ID is 11a66f48-cedd-4e7d-8479-9ddc1e97914c 2025-10-13 01:58:38,128 - DEBUG - VM ctest-vn1-vm1-73772263 launched on Node cn-jenkins-deploy-platform-ansible-os-4293-1 2025-10-13 01:58:38,201 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/11a66f48-cedd-4e7d-8479-9ddc1e97914c 2025-10-13 01:58:38,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cf881186-8a45-452b-9b8b-136e86934a39 2025-10-13 01:58:41,459 - 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 1011ms') 2025-10-13 01:58:41,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73772263 failed! 2025-10-13 01:58:41,516 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40135456:ctest-vn1-36939022 is 171.82.127.65 and allocation pool is NOT set 2025-10-13 01:58:41,516 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40135456:ctest-vn1-36939022 is 120.230.154.193 and allocation pool is NOT set 2025-10-13 01:58:43,587 - 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.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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 = 2.486/7.742/12.999/5.256 ms') 2025-10-13 01:58:43,587 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73772263 passed 2025-10-13 01:58:43,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:58:43,741 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73772263, IP 171.82.127.69, Port 22 2025-10-13 01:58:43,896 - DEBUG - VM ctest-vn1-vm1-73772263 is ready for SSH connections 2025-10-13 01:58:43,896 - INFO - Waiting for VM ctest-vn1-vm2-12156268 to be up.. 2025-10-13 01:58:43,975 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:58:43,975 - INFO - VM name : ctest-vn1-vm2-12156268 2025-10-13 01:58:44,057 - DEBUG - VM ctest-vn1-vm2-12156268 ID is 0939b96c-bef1-4676-93d1-2a2b5e335f33 2025-10-13 01:58:44,057 - DEBUG - VM ctest-vn1-vm2-12156268 launched on Node cn-jenkins-deploy-platform-ansible-os-4293-1 2025-10-13 01:58:44,143 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0939b96c-bef1-4676-93d1-2a2b5e335f33 2025-10-13 01:58:44,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0ea349ff-c837-43e1-9a05-951085808a11 2025-10-13 01:58:45,393 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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 = 1.247/2.645/4.043/1.398 ms') 2025-10-13 01:58:45,393 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-12156268 passed 2025-10-13 01:58:45,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:58:45,544 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12156268, IP 120.230.154.197, Port 22 2025-10-13 01:58:45,600 - 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-13 01:58:45,677 - DEBUG - VM ctest-vn1-vm2-12156268 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 01:58:50,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:58:50,678 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12156268, IP 120.230.154.197, Port 22 2025-10-13 01:58:50,836 - DEBUG - VM ctest-vn1-vm2-12156268 is ready for SSH connections 2025-10-13 01:58:50,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:58:50,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:58:50,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:58:50,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.82.127.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 01:58:50,836 - DEBUG - ping -s 56 -c 3 -W 1 171.82.127.69 2025-10-13 01:58:53,472 - DEBUG - PING 171.82.127.69 (171.82.127.69): 56 data bytes 64 bytes from 171.82.127.69: seq=0 ttl=63 time=4.536 ms 64 bytes from 171.82.127.69: seq=1 ttl=63 time=1.000 ms 64 bytes from 171.82.127.69: seq=2 ttl=63 time=1.000 ms --- 171.82.127.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.000/2.178/4.536 ms 2025-10-13 01:58:53,472 - INFO - Ping to IP 171.82.127.69 from VM ctest-vn1-vm2-12156268 passed 2025-10-13 01:58:53,472 - INFO - Detaching port 0ea349ff-c837-43e1-9a05-951085808a11 from VM ctest-vn1-vm2-12156268 2025-10-13 01:58:53,520 - INFO - Deleting VM ctest-vn1-vm2-12156268 2025-10-13 01:58:53,581 - INFO - Detaching port cf881186-8a45-452b-9b8b-136e86934a39 from VM ctest-vn1-vm1-73772263 2025-10-13 01:58:53,614 - INFO - Deleting VM ctest-vn1-vm1-73772263 2025-10-13 01:58:53,873 - DEBUG - Response for delete_port : () 2025-10-13 01:58:54,046 - DEBUG - Response for delete_port : () 2025-10-13 01:58:54,046 - INFO - Deleting VN ctest-vn1-36939022 2025-10-13 01:58:54,171 - DEBUG - Response for deleting network () 2025-10-13 01:58:54,434 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 01:58:54,434 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-13 01:58:54,434 - INFO - -------------------------------------------------------------------------------- 2025-10-13 01:58:55,122 - INFO - Deleted project: ctest-TestPorts-40135456, ID : d2ad9024-8bd5-4451-8533-69a59ef2fb8f