2025-10-23 11:50:01,237 - INFO - Domain Default found not creating 2025-10-23 11:50:01,396 - INFO - Project ctest-TestPorts-19015939 not found, creating it 2025-10-23 11:50:01,851 - INFO - Created Project:ctest-TestPorts-19015939, ID : 6be93c77-f825-484c-a7b7-0b2c9e92d08b 2025-10-23 11:50:03,376 - INFO - ================================================================================ 2025-10-23 11:50:03,377 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 11:50:03,377 - 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-23 11:50:03,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2025-10-23 11:50:03,633 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:50:03,633 - INFO - 2025-10-23 11:50:04,173 - DEBUG - Response for create_network : {'network': {'id': 'a441d6e4-743c-4b1f-baa0-69fc01351e95', 'name': 'ctest-vn-56715309', 'tenant_id': '6be93c77f825484ca7b70b2c9e92d08b', 'project_id': '6be93c77f825484ca7b70b2c9e92d08b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19015939', 'ctest-vn-56715309'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:50:04,328 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f76fae39-42e3-46ef-8298-5b1a23c7eb27', 'name': '', 'tenant_id': '6be93c77f825484ca7b70b2c9e92d08b', 'network_id': 'a441d6e4-743c-4b1f-baa0-69fc01351e95', 'ip_version': 4, 'cidr': '190.63.72.64/26', 'allocation_pools': [{'start': '190.63.72.66', 'end': '190.63.72.126'}], 'gateway_ip': '190.63.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.63.72.66', 'tags': [], 'project_id': '6be93c77f825484ca7b70b2c9e92d08b'}} 2025-10-23 11:50:04,346 - INFO - Created VN ctest-vn-56715309 2025-10-23 11:50:04,400 - DEBUG - VN ctest-vn-56715309 UUID is a441d6e4-743c-4b1f-baa0-69fc01351e95 2025-10-23 11:50:04,504 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19015939', 'ctest-vmi-99066241']} 2025-10-23 11:50:04,781 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99066241', 'id': '3ab5d46d-c8ab-4aa3-9afe-8acd7ec63d00', 'tenant_id': '6be93c77f825484ca7b70b2c9e92d08b', 'network_id': 'a441d6e4-743c-4b1f-baa0-69fc01351e95', 'mac_address': '02:3a:b5:d4:6d:c8', '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': '190.63.72.67', 'subnet_id': 'f76fae39-42e3-46ef-8298-5b1a23c7eb27'}], 'security_groups': ['728e85d7-665f-45c3-b399-0563749be3e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6be93c77f825484ca7b70b2c9e92d08b'}} 2025-10-23 11:50:04,781 - DEBUG - Created port 3ab5d46d-c8ab-4aa3-9afe-8acd7ec63d00 2025-10-23 11:50:04,888 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3ab5d46d-c8ab-4aa3-9afe-8acd7ec63d00 2025-10-23 11:50:05,182 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3ab5d46d-c8ab-4aa3-9afe-8acd7ec63d00 2025-10-23 11:50:05,215 - INFO - VMI 3ab5d46d-c8ab-4aa3-9afe-8acd7ec63d00 verification in API Server passed 2025-10-23 11:50:05,307 - DEBUG - Response for delete_port : () 2025-10-23 11:50:05,307 - INFO - Deleted port 3ab5d46d-c8ab-4aa3-9afe-8acd7ec63d00 2025-10-23 11:50:05,308 - INFO - Deleting VN ctest-vn-56715309 2025-10-23 11:50:05,416 - DEBUG - Response for deleting network () 2025-10-23 11:50:05,670 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:50:05,670 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 11:50:05,670 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:50:05,673 - INFO - ================================================================================ 2025-10-23 11:50:05,673 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 11:50:05,673 - 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-23 11:50:05,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2025-10-23 11:50:05,957 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:50:05,957 - INFO - 2025-10-23 11:50:06,160 - DEBUG - Response for create_network : {'network': {'id': '70c84350-5a89-407f-95eb-8adc3921cd4f', 'name': 'ctest-vn1-86891528', 'tenant_id': '6be93c77f825484ca7b70b2c9e92d08b', 'project_id': '6be93c77f825484ca7b70b2c9e92d08b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19015939', 'ctest-vn1-86891528'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:50:06,379 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a54fd379-8874-4d73-8f11-44359f7b65ce', 'name': '', 'tenant_id': '6be93c77f825484ca7b70b2c9e92d08b', 'network_id': '70c84350-5a89-407f-95eb-8adc3921cd4f', 'ip_version': 4, 'cidr': '45.139.189.0/26', 'allocation_pools': [{'start': '45.139.189.2', 'end': '45.139.189.62'}], 'gateway_ip': '45.139.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.139.189.2', 'tags': [], 'project_id': '6be93c77f825484ca7b70b2c9e92d08b'}} 2025-10-23 11:50:06,587 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b3212ea-03c5-479c-8520-5ec31b1a0e10', 'name': '', 'tenant_id': '6be93c77f825484ca7b70b2c9e92d08b', 'network_id': '70c84350-5a89-407f-95eb-8adc3921cd4f', 'ip_version': 4, 'cidr': '137.66.60.192/26', 'allocation_pools': [{'start': '137.66.60.194', 'end': '137.66.60.254'}], 'gateway_ip': '137.66.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.66.60.194', 'tags': [], 'project_id': '6be93c77f825484ca7b70b2c9e92d08b'}} 2025-10-23 11:50:06,606 - INFO - Created VN ctest-vn1-86891528 2025-10-23 11:50:06,656 - DEBUG - VN ctest-vn1-86891528 UUID is 70c84350-5a89-407f-95eb-8adc3921cd4f 2025-10-23 11:50:06,952 - DEBUG - Response for create_port : {'port': {'name': 'ea3fb576-b64f-4592-a275-014139173a96', 'id': 'ea3fb576-b64f-4592-a275-014139173a96', 'tenant_id': '6be93c77f825484ca7b70b2c9e92d08b', 'network_id': '70c84350-5a89-407f-95eb-8adc3921cd4f', 'mac_address': '02:ea:3f:b5:76:b6', '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': '45.139.189.5', 'subnet_id': 'a54fd379-8874-4d73-8f11-44359f7b65ce'}], 'security_groups': ['728e85d7-665f-45c3-b399-0563749be3e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6be93c77f825484ca7b70b2c9e92d08b'}} 2025-10-23 11:50:07,118 - DEBUG - Response for create_port : {'port': {'name': '2c7e0bec-a1a8-429f-9622-b4f5bc6db2c1', 'id': '2c7e0bec-a1a8-429f-9622-b4f5bc6db2c1', 'tenant_id': '6be93c77f825484ca7b70b2c9e92d08b', 'network_id': '70c84350-5a89-407f-95eb-8adc3921cd4f', 'mac_address': '02:2c:7e:0b:ec:a1', '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': '137.66.60.197', 'subnet_id': '2b3212ea-03c5-479c-8520-5ec31b1a0e10'}], 'security_groups': ['728e85d7-665f-45c3-b399-0563749be3e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6be93c77f825484ca7b70b2c9e92d08b'}} 2025-10-23 11:50:07,173 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:50:07,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4460-1) 2025-10-23 11:50:07,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4460-1) 2025-10-23 11:50:07,877 - INFO - Waiting for VM ctest-vn1-vm1-34653307 to be up.. 2025-10-23 11:50:07,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:50:12,991 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:50:12,991 - INFO - VM name : ctest-vn1-vm1-34653307 2025-10-23 11:50:13,060 - DEBUG - VM ctest-vn1-vm1-34653307 ID is 19001737-76c0-44c6-9613-c91ff4dfa5f0 2025-10-23 11:50:13,078 - DEBUG - VM ctest-vn1-vm1-34653307 launched on Node cn-jenkins-deploy-platform-ansible-os-4460-1 2025-10-23 11:50:13,152 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/19001737-76c0-44c6-9613-c91ff4dfa5f0 2025-10-23 11:50:13,161 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ea3fb576-b64f-4592-a275-014139173a96 2025-10-23 11:50:16,427 - 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-10-23 11:50:16,427 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34653307 failed! 2025-10-23 11:50:16,484 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19015939:ctest-vn1-86891528 is 45.139.189.1 and allocation pool is NOT set 2025-10-23 11:50:16,484 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19015939:ctest-vn1-86891528 is 137.66.60.193 and allocation pool is NOT set 2025-10-23 11:50:18,550 - 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=3.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.77 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.771/2.569/3.367/0.798 ms') 2025-10-23 11:50:18,550 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34653307 passed 2025-10-23 11:50:18,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:18,700 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34653307, IP 45.139.189.5, Port 22 2025-10-23 11:50:18,856 - DEBUG - VM ctest-vn1-vm1-34653307 is ready for SSH connections 2025-10-23 11:50:18,856 - INFO - Waiting for VM ctest-vn1-vm2-17144994 to be up.. 2025-10-23 11:50:18,926 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:50:18,926 - INFO - VM name : ctest-vn1-vm2-17144994 2025-10-23 11:50:18,998 - DEBUG - VM ctest-vn1-vm2-17144994 ID is 722ec189-a29d-4bd4-a1a8-96fda2530fea 2025-10-23 11:50:18,999 - DEBUG - VM ctest-vn1-vm2-17144994 launched on Node cn-jenkins-deploy-platform-ansible-os-4460-1 2025-10-23 11:50:19,072 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/722ec189-a29d-4bd4-a1a8-96fda2530fea 2025-10-23 11:50:19,080 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2c7e0bec-a1a8-429f-9622-b4f5bc6db2c1 2025-10-23 11:50:20,312 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.550/2.675/1.125 ms') 2025-10-23 11:50:20,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17144994 passed 2025-10-23 11:50:20,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:20,460 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17144994, IP 137.66.60.197, Port 22 2025-10-23 11:50:20,615 - DEBUG - VM ctest-vn1-vm2-17144994 is ready for SSH connections 2025-10-23 11:50:20,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:20,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:20,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:20,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.139.189.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 11:50:20,616 - DEBUG - ping -s 56 -c 3 -W 1 45.139.189.5 2025-10-23 11:50:23,346 - DEBUG - PING 45.139.189.5 (45.139.189.5): 56 data bytes 64 bytes from 45.139.189.5: seq=0 ttl=63 time=3.797 ms 64 bytes from 45.139.189.5: seq=1 ttl=63 time=1.042 ms 64 bytes from 45.139.189.5: seq=2 ttl=63 time=0.889 ms --- 45.139.189.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.909/3.797 ms 2025-10-23 11:50:23,346 - INFO - Ping to IP 45.139.189.5 from VM ctest-vn1-vm2-17144994 passed 2025-10-23 11:50:23,346 - INFO - Detaching port 2c7e0bec-a1a8-429f-9622-b4f5bc6db2c1 from VM ctest-vn1-vm2-17144994 2025-10-23 11:50:23,407 - INFO - Deleting VM ctest-vn1-vm2-17144994 2025-10-23 11:50:23,491 - INFO - Detaching port ea3fb576-b64f-4592-a275-014139173a96 from VM ctest-vn1-vm1-34653307 2025-10-23 11:50:23,526 - INFO - Deleting VM ctest-vn1-vm1-34653307 2025-10-23 11:50:23,742 - DEBUG - Response for delete_port : () 2025-10-23 11:50:23,919 - DEBUG - Response for delete_port : () 2025-10-23 11:50:23,920 - INFO - Deleting VN ctest-vn1-86891528 2025-10-23 11:50:24,037 - DEBUG - Response for deleting network () 2025-10-23 11:50:24,299 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:50:24,299 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-23 11:50:24,299 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:50:24,973 - INFO - Deleted project: ctest-TestPorts-19015939, ID : 6be93c77-f825-484c-a7b7-0b2c9e92d08b