2025-10-20 11:43:56,283 - INFO - Domain Default found not creating 2025-10-20 11:43:56,440 - INFO - Project ctest-TestPorts-41788425 not found, creating it 2025-10-20 11:43:56,891 - INFO - Created Project:ctest-TestPorts-41788425, ID : 3cb2407d-7f89-4b37-a30c-788b3bb136d7 2025-10-20 11:43:58,256 - INFO - ================================================================================ 2025-10-20 11:43:58,256 - INFO - STARTING TEST : test_ports_bindings 2025-10-20 11:43:58,256 - 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-20 11:43:58,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.129': '0'}} with 2025-10-20 11:43:58,514 - INFO - Initial checks done. Running the testcase now 2025-10-20 11:43:58,514 - INFO - 2025-10-20 11:43:59,189 - DEBUG - Response for create_network : {'network': {'id': '53a92a96-d98e-41ff-a759-e232c83917cd', 'name': 'ctest-vn-04562701', 'tenant_id': '3cb2407d7f894b37a30c788b3bb136d7', 'project_id': '3cb2407d7f894b37a30c788b3bb136d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41788425', 'ctest-vn-04562701'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 11:43:59,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '13f51d09-eb61-45d3-b65a-38837ff0d715', 'name': '', 'tenant_id': '3cb2407d7f894b37a30c788b3bb136d7', 'network_id': '53a92a96-d98e-41ff-a759-e232c83917cd', 'ip_version': 4, 'cidr': '52.100.232.64/26', 'allocation_pools': [{'start': '52.100.232.66', 'end': '52.100.232.126'}], 'gateway_ip': '52.100.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.100.232.66', 'tags': [], 'project_id': '3cb2407d7f894b37a30c788b3bb136d7'}} 2025-10-20 11:43:59,375 - INFO - Created VN ctest-vn-04562701 2025-10-20 11:43:59,427 - DEBUG - VN ctest-vn-04562701 UUID is 53a92a96-d98e-41ff-a759-e232c83917cd 2025-10-20 11:43:59,533 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41788425', 'ctest-vmi-00787609']} 2025-10-20 11:43:59,868 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00787609', 'id': 'bf09daf9-60bc-4565-a42e-c4e8ed622930', 'tenant_id': '3cb2407d7f894b37a30c788b3bb136d7', 'network_id': '53a92a96-d98e-41ff-a759-e232c83917cd', 'mac_address': '02:bf:09:da:f9:60', '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': '52.100.232.67', 'subnet_id': '13f51d09-eb61-45d3-b65a-38837ff0d715'}], 'security_groups': ['b17c1d2d-b5e1-4e26-9eb0-1687d5416534'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3cb2407d7f894b37a30c788b3bb136d7'}} 2025-10-20 11:43:59,868 - DEBUG - Created port bf09daf9-60bc-4565-a42e-c4e8ed622930 2025-10-20 11:43:59,971 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/bf09daf9-60bc-4565-a42e-c4e8ed622930 2025-10-20 11:44:00,267 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/bf09daf9-60bc-4565-a42e-c4e8ed622930 2025-10-20 11:44:00,299 - INFO - VMI bf09daf9-60bc-4565-a42e-c4e8ed622930 verification in API Server passed 2025-10-20 11:44:00,416 - DEBUG - Response for delete_port : () 2025-10-20 11:44:00,416 - INFO - Deleted port bf09daf9-60bc-4565-a42e-c4e8ed622930 2025-10-20 11:44:00,416 - INFO - Deleting VN ctest-vn-04562701 2025-10-20 11:44:00,547 - DEBUG - Response for deleting network () 2025-10-20 11:44:00,800 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 11:44:00,800 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-20 11:44:00,800 - INFO - -------------------------------------------------------------------------------- 2025-10-20 11:44:00,802 - INFO - ================================================================================ 2025-10-20 11:44:00,802 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-20 11:44:00,802 - 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-20 11:44:01,092 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.129': '0'}} with 2025-10-20 11:44:01,093 - INFO - Initial checks done. Running the testcase now 2025-10-20 11:44:01,093 - INFO - 2025-10-20 11:44:01,267 - DEBUG - Response for create_network : {'network': {'id': '3b75f5a4-7c0e-400a-b083-a4aea6968ab4', 'name': 'ctest-vn1-30753522', 'tenant_id': '3cb2407d7f894b37a30c788b3bb136d7', 'project_id': '3cb2407d7f894b37a30c788b3bb136d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41788425', 'ctest-vn1-30753522'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 11:44:01,436 - DEBUG - Response for create_subnet : {'subnet': {'id': '82d50d2f-da84-4970-a51a-626f244f3f90', 'name': '', 'tenant_id': '3cb2407d7f894b37a30c788b3bb136d7', 'network_id': '3b75f5a4-7c0e-400a-b083-a4aea6968ab4', 'ip_version': 4, 'cidr': '189.212.136.0/26', 'allocation_pools': [{'start': '189.212.136.2', 'end': '189.212.136.62'}], 'gateway_ip': '189.212.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.212.136.2', 'tags': [], 'project_id': '3cb2407d7f894b37a30c788b3bb136d7'}} 2025-10-20 11:44:01,634 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e652dc1-693e-4cfe-8bfe-137e7c1ca91f', 'name': '', 'tenant_id': '3cb2407d7f894b37a30c788b3bb136d7', 'network_id': '3b75f5a4-7c0e-400a-b083-a4aea6968ab4', 'ip_version': 4, 'cidr': '29.180.189.128/26', 'allocation_pools': [{'start': '29.180.189.130', 'end': '29.180.189.190'}], 'gateway_ip': '29.180.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.180.189.130', 'tags': [], 'project_id': '3cb2407d7f894b37a30c788b3bb136d7'}} 2025-10-20 11:44:01,654 - INFO - Created VN ctest-vn1-30753522 2025-10-20 11:44:01,707 - DEBUG - VN ctest-vn1-30753522 UUID is 3b75f5a4-7c0e-400a-b083-a4aea6968ab4 2025-10-20 11:44:02,060 - DEBUG - Response for create_port : {'port': {'name': '026af322-979c-4363-af6f-df3ac68cf008', 'id': '026af322-979c-4363-af6f-df3ac68cf008', 'tenant_id': '3cb2407d7f894b37a30c788b3bb136d7', 'network_id': '3b75f5a4-7c0e-400a-b083-a4aea6968ab4', 'mac_address': '02:02:6a:f3:22:97', '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': '189.212.136.5', 'subnet_id': '82d50d2f-da84-4970-a51a-626f244f3f90'}], 'security_groups': ['b17c1d2d-b5e1-4e26-9eb0-1687d5416534'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3cb2407d7f894b37a30c788b3bb136d7'}} 2025-10-20 11:44:02,248 - DEBUG - Response for create_port : {'port': {'name': '531a5e67-d1f4-419b-8742-6ffee55c0168', 'id': '531a5e67-d1f4-419b-8742-6ffee55c0168', 'tenant_id': '3cb2407d7f894b37a30c788b3bb136d7', 'network_id': '3b75f5a4-7c0e-400a-b083-a4aea6968ab4', 'mac_address': '02:53:1a:5e:67:d1', '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': '29.180.189.133', 'subnet_id': '6e652dc1-693e-4cfe-8bfe-137e7c1ca91f'}], 'security_groups': ['b17c1d2d-b5e1-4e26-9eb0-1687d5416534'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3cb2407d7f894b37a30c788b3bb136d7'}} 2025-10-20 11:44:02,310 - DEBUG - Services list from nova: [, , ] 2025-10-20 11:44:02,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4374-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4374-1) 2025-10-20 11:44:03,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4374-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4374-1) 2025-10-20 11:44:03,016 - INFO - Waiting for VM ctest-vn1-vm1-56715502 to be up.. 2025-10-20 11:44:03,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 11:44:08,121 - DEBUG - VM is in ACTIVE state now 2025-10-20 11:44:08,121 - INFO - VM name : ctest-vn1-vm1-56715502 2025-10-20 11:44:08,190 - DEBUG - VM ctest-vn1-vm1-56715502 ID is a506ed61-b2ad-41de-8bd6-4527cd03ecc9 2025-10-20 11:44:08,208 - DEBUG - VM ctest-vn1-vm1-56715502 launched on Node cn-jenkins-deploy-platform-ansible-os-4374-1 2025-10-20 11:44:08,278 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a506ed61-b2ad-41de-8bd6-4527cd03ecc9 2025-10-20 11:44:08,287 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/026af322-979c-4363-af6f-df3ac68cf008 2025-10-20 11:44:11,540 - 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 1015ms') 2025-10-20 11:44:11,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56715502 failed! 2025-10-20 11:44:11,599 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41788425:ctest-vn1-30753522 is 189.212.136.1 and allocation pool is NOT set 2025-10-20 11:44:11,600 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41788425:ctest-vn1-30753522 is 29.180.189.129 and allocation pool is NOT set 2025-10-20 11:44:13,663 - 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=12.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.47 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 = 3.466/7.954/12.443/4.488 ms') 2025-10-20 11:44:13,663 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56715502 passed 2025-10-20 11:44:13,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:13,812 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56715502, IP 189.212.136.5, Port 22 2025-10-20 11:44:13,975 - DEBUG - VM ctest-vn1-vm1-56715502 is ready for SSH connections 2025-10-20 11:44:13,975 - INFO - Waiting for VM ctest-vn1-vm2-02397169 to be up.. 2025-10-20 11:44:14,060 - DEBUG - VM is in ACTIVE state now 2025-10-20 11:44:14,060 - INFO - VM name : ctest-vn1-vm2-02397169 2025-10-20 11:44:14,129 - DEBUG - VM ctest-vn1-vm2-02397169 ID is b4b0593a-420d-40e1-9e1d-b715d6086aaa 2025-10-20 11:44:14,129 - DEBUG - VM ctest-vn1-vm2-02397169 launched on Node cn-jenkins-deploy-platform-ansible-os-4374-1 2025-10-20 11:44:14,202 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b4b0593a-420d-40e1-9e1d-b715d6086aaa 2025-10-20 11:44:14,211 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/531a5e67-d1f4-419b-8742-6ffee55c0168 2025-10-20 11:44:15,453 - 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=5.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.888 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.888/3.211/5.535/2.323 ms') 2025-10-20 11:44:15,453 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02397169 passed 2025-10-20 11:44:15,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:15,612 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02397169, IP 29.180.189.133, Port 22 2025-10-20 11:44:15,771 - DEBUG - VM ctest-vn1-vm2-02397169 is ready for SSH connections 2025-10-20 11:44:15,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:15,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:15,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:15,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.212.136.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-20 11:44:15,771 - DEBUG - ping -s 56 -c 3 -W 1 189.212.136.5 2025-10-20 11:44:18,405 - DEBUG - PING 189.212.136.5 (189.212.136.5): 56 data bytes 64 bytes from 189.212.136.5: seq=0 ttl=63 time=3.600 ms 64 bytes from 189.212.136.5: seq=1 ttl=63 time=0.816 ms 64 bytes from 189.212.136.5: seq=2 ttl=63 time=0.835 ms --- 189.212.136.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.750/3.600 ms 2025-10-20 11:44:18,405 - INFO - Ping to IP 189.212.136.5 from VM ctest-vn1-vm2-02397169 passed 2025-10-20 11:44:18,405 - INFO - Detaching port 531a5e67-d1f4-419b-8742-6ffee55c0168 from VM ctest-vn1-vm2-02397169 2025-10-20 11:44:18,451 - INFO - Deleting VM ctest-vn1-vm2-02397169 2025-10-20 11:44:18,523 - INFO - Detaching port 026af322-979c-4363-af6f-df3ac68cf008 from VM ctest-vn1-vm1-56715502 2025-10-20 11:44:18,555 - INFO - Deleting VM ctest-vn1-vm1-56715502 2025-10-20 11:44:18,782 - DEBUG - Response for delete_port : () 2025-10-20 11:44:18,961 - DEBUG - Response for delete_port : () 2025-10-20 11:44:18,961 - INFO - Deleting VN ctest-vn1-30753522 2025-10-20 11:44:19,084 - DEBUG - Response for deleting network () 2025-10-20 11:44:19,340 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 11:44:19,340 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-20 11:44:19,340 - INFO - -------------------------------------------------------------------------------- 2025-10-20 11:44:20,016 - INFO - Deleted project: ctest-TestPorts-41788425, ID : 3cb2407d-7f89-4b37-a30c-788b3bb136d7