2025-08-03 09:38:26,978 - INFO - Domain Default found not creating 2025-08-03 09:38:27,160 - INFO - Project ctest-TestPorts-84347667 not found, creating it 2025-08-03 09:38:27,650 - INFO - Created Project:ctest-TestPorts-84347667, ID : 9d5e2160-0ba4-4c11-a15c-d78cce1727b5 2025-08-03 09:38:29,287 - INFO - ================================================================================ 2025-08-03 09:38:29,287 - INFO - STARTING TEST : test_ports_bindings 2025-08-03 09:38:29,287 - 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-03 09:38:29,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-03 09:38:29,563 - INFO - Initial checks done. Running the testcase now 2025-08-03 09:38:29,563 - INFO - 2025-08-03 09:38:30,214 - DEBUG - Response for create_network : {'network': {'id': '3ca96faa-cbd8-430f-bf83-5283b632f599', 'name': 'ctest-vn-87485477', 'tenant_id': '9d5e21600ba44c11a15cd78cce1727b5', 'project_id': '9d5e21600ba44c11a15cd78cce1727b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84347667', 'ctest-vn-87485477'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:38:30,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b848bf4c-3c20-4512-99e3-9d10ef064a32', 'name': '', 'tenant_id': '9d5e21600ba44c11a15cd78cce1727b5', 'network_id': '3ca96faa-cbd8-430f-bf83-5283b632f599', 'ip_version': 4, 'cidr': '32.203.184.128/26', 'allocation_pools': [{'start': '32.203.184.130', 'end': '32.203.184.190'}], 'gateway_ip': '32.203.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.203.184.130', 'tags': [], 'project_id': '9d5e21600ba44c11a15cd78cce1727b5'}} 2025-08-03 09:38:30,443 - INFO - Created VN ctest-vn-87485477 2025-08-03 09:38:30,499 - DEBUG - VN ctest-vn-87485477 UUID is 3ca96faa-cbd8-430f-bf83-5283b632f599 2025-08-03 09:38:30,625 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-84347667', 'ctest-vmi-91426098']} 2025-08-03 09:38:30,953 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-91426098', 'id': '349efd73-7278-450e-9c0b-f776e5f6251a', 'tenant_id': '9d5e21600ba44c11a15cd78cce1727b5', 'network_id': '3ca96faa-cbd8-430f-bf83-5283b632f599', 'mac_address': '02:34:9e:fd:73:72', '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': '32.203.184.131', 'subnet_id': 'b848bf4c-3c20-4512-99e3-9d10ef064a32'}], 'security_groups': ['ab97137f-1e74-465a-87af-74b7e6434714'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d5e21600ba44c11a15cd78cce1727b5'}} 2025-08-03 09:38:30,953 - DEBUG - Created port 349efd73-7278-450e-9c0b-f776e5f6251a 2025-08-03 09:38:31,083 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/349efd73-7278-450e-9c0b-f776e5f6251a 2025-08-03 09:38:31,415 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/349efd73-7278-450e-9c0b-f776e5f6251a 2025-08-03 09:38:31,459 - INFO - VMI 349efd73-7278-450e-9c0b-f776e5f6251a verification in API Server passed 2025-08-03 09:38:31,570 - DEBUG - Response for delete_port : () 2025-08-03 09:38:31,570 - INFO - Deleted port 349efd73-7278-450e-9c0b-f776e5f6251a 2025-08-03 09:38:31,570 - INFO - Deleting VN ctest-vn-87485477 2025-08-03 09:38:31,686 - DEBUG - Response for deleting network () 2025-08-03 09:38:31,945 - DEBUG - No XMPP flaps were noticed during the test 2025-08-03 09:38:31,946 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-03 09:38:31,946 - INFO - -------------------------------------------------------------------------------- 2025-08-03 09:38:31,948 - INFO - ================================================================================ 2025-08-03 09:38:31,949 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-03 09:38:31,949 - 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-03 09:38:32,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-03 09:38:32,253 - INFO - Initial checks done. Running the testcase now 2025-08-03 09:38:32,253 - INFO - 2025-08-03 09:38:32,466 - DEBUG - Response for create_network : {'network': {'id': 'a70523bb-07a4-4432-93f2-90e2718dce41', 'name': 'ctest-vn1-13737025', 'tenant_id': '9d5e21600ba44c11a15cd78cce1727b5', 'project_id': '9d5e21600ba44c11a15cd78cce1727b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84347667', 'ctest-vn1-13737025'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:38:32,674 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a2ad872-f032-487d-8a25-c7fb509f57da', 'name': '', 'tenant_id': '9d5e21600ba44c11a15cd78cce1727b5', 'network_id': 'a70523bb-07a4-4432-93f2-90e2718dce41', 'ip_version': 4, 'cidr': '182.201.95.128/26', 'allocation_pools': [{'start': '182.201.95.130', 'end': '182.201.95.190'}], 'gateway_ip': '182.201.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.201.95.130', 'tags': [], 'project_id': '9d5e21600ba44c11a15cd78cce1727b5'}} 2025-08-03 09:38:32,901 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fdec059-7060-47dc-9fc4-040caa524dd7', 'name': '', 'tenant_id': '9d5e21600ba44c11a15cd78cce1727b5', 'network_id': 'a70523bb-07a4-4432-93f2-90e2718dce41', 'ip_version': 4, 'cidr': '9.64.67.128/26', 'allocation_pools': [{'start': '9.64.67.130', 'end': '9.64.67.190'}], 'gateway_ip': '9.64.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.64.67.130', 'tags': [], 'project_id': '9d5e21600ba44c11a15cd78cce1727b5'}} 2025-08-03 09:38:32,925 - INFO - Created VN ctest-vn1-13737025 2025-08-03 09:38:32,983 - DEBUG - VN ctest-vn1-13737025 UUID is a70523bb-07a4-4432-93f2-90e2718dce41 2025-08-03 09:38:33,342 - DEBUG - Response for create_port : {'port': {'name': '921e40dd-848a-44fa-8b86-1bbb906d23d8', 'id': '921e40dd-848a-44fa-8b86-1bbb906d23d8', 'tenant_id': '9d5e21600ba44c11a15cd78cce1727b5', 'network_id': 'a70523bb-07a4-4432-93f2-90e2718dce41', 'mac_address': '02:92:1e:40:dd:84', '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': '182.201.95.133', 'subnet_id': '5a2ad872-f032-487d-8a25-c7fb509f57da'}], 'security_groups': ['ab97137f-1e74-465a-87af-74b7e6434714'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d5e21600ba44c11a15cd78cce1727b5'}} 2025-08-03 09:38:33,558 - DEBUG - Response for create_port : {'port': {'name': 'bfdf4e5f-e423-42ce-81c0-a45cb04a2b72', 'id': 'bfdf4e5f-e423-42ce-81c0-a45cb04a2b72', 'tenant_id': '9d5e21600ba44c11a15cd78cce1727b5', 'network_id': 'a70523bb-07a4-4432-93f2-90e2718dce41', 'mac_address': '02:bf:df:4e:5f:e4', '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': '9.64.67.133', 'subnet_id': '5fdec059-7060-47dc-9fc4-040caa524dd7'}], 'security_groups': ['ab97137f-1e74-465a-87af-74b7e6434714'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d5e21600ba44c11a15cd78cce1727b5'}} 2025-08-03 09:38:33,631 - DEBUG - Services list from nova: [, , ] 2025-08-03 09:38:34,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3745-1) 2025-08-03 09:38:34,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3745-1) 2025-08-03 09:38:34,437 - INFO - Waiting for VM ctest-vn1-vm1-82638893 to be up.. 2025-08-03 09:38:34,481 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 09:38:39,570 - DEBUG - VM is in ACTIVE state now 2025-08-03 09:38:39,570 - INFO - VM name : ctest-vn1-vm1-82638893 2025-08-03 09:38:39,649 - DEBUG - VM ctest-vn1-vm1-82638893 ID is a79b0b94-167e-4cf8-ac52-5a1935d3d3db 2025-08-03 09:38:39,671 - DEBUG - VM ctest-vn1-vm1-82638893 launched on Node cn-jenkins-deploy-platform-ansible-os-3745-1 2025-08-03 09:38:39,754 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a79b0b94-167e-4cf8-ac52-5a1935d3d3db 2025-08-03 09:38:39,764 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/921e40dd-848a-44fa-8b86-1bbb906d23d8 2025-08-03 09:38:43,029 - 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-03 09:38:43,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82638893 failed! 2025-08-03 09:38:43,087 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84347667:ctest-vn1-13737025 is 182.201.95.129 and allocation pool is NOT set 2025-08-03 09:38:43,087 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84347667:ctest-vn1-13737025 is 9.64.67.129 and allocation pool is NOT set 2025-08-03 09:38:47,159 - 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=2 ttl=63 time=7.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 7.125/7.125/7.125/0.000 ms') 2025-08-03 09:38:47,159 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82638893 passed 2025-08-03 09:38:47,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:38:47,315 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82638893, IP 182.201.95.133, Port 22 2025-08-03 09:38:47,481 - DEBUG - VM ctest-vn1-vm1-82638893 is ready for SSH connections 2025-08-03 09:38:47,481 - INFO - Waiting for VM ctest-vn1-vm2-86321211 to be up.. 2025-08-03 09:38:47,577 - DEBUG - VM is in ACTIVE state now 2025-08-03 09:38:47,577 - INFO - VM name : ctest-vn1-vm2-86321211 2025-08-03 09:38:47,661 - DEBUG - VM ctest-vn1-vm2-86321211 ID is 26ab1ba5-2b2f-4cdc-b030-762628c9a664 2025-08-03 09:38:47,661 - DEBUG - VM ctest-vn1-vm2-86321211 launched on Node cn-jenkins-deploy-platform-ansible-os-3745-1 2025-08-03 09:38:47,741 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/26ab1ba5-2b2f-4cdc-b030-762628c9a664 2025-08-03 09:38:47,753 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/bfdf4e5f-e423-42ce-81c0-a45cb04a2b72 2025-08-03 09:38:49,007 - 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=3.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.435/2.070/3.706/1.635 ms') 2025-08-03 09:38:49,007 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86321211 passed 2025-08-03 09:38:49,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:38:49,163 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86321211, IP 9.64.67.133, Port 22 2025-08-03 09:38:49,322 - DEBUG - VM ctest-vn1-vm2-86321211 is ready for SSH connections 2025-08-03 09:38:49,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:38:49,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:38:49,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:38:49,323 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.201.95.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:38:49,323 - DEBUG - ping -s 56 -c 3 -W 1 182.201.95.133 2025-08-03 09:38:52,018 - DEBUG - PING 182.201.95.133 (182.201.95.133): 56 data bytes 64 bytes from 182.201.95.133: seq=0 ttl=63 time=3.870 ms 64 bytes from 182.201.95.133: seq=1 ttl=63 time=0.947 ms 64 bytes from 182.201.95.133: seq=2 ttl=63 time=0.740 ms --- 182.201.95.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/1.852/3.870 ms 2025-08-03 09:38:52,018 - INFO - Ping to IP 182.201.95.133 from VM ctest-vn1-vm2-86321211 passed 2025-08-03 09:38:52,018 - INFO - Detaching port bfdf4e5f-e423-42ce-81c0-a45cb04a2b72 from VM ctest-vn1-vm2-86321211 2025-08-03 09:38:52,075 - INFO - Deleting VM ctest-vn1-vm2-86321211 2025-08-03 09:38:52,143 - INFO - Detaching port 921e40dd-848a-44fa-8b86-1bbb906d23d8 from VM ctest-vn1-vm1-82638893 2025-08-03 09:38:52,177 - INFO - Deleting VM ctest-vn1-vm1-82638893 2025-08-03 09:38:52,420 - DEBUG - Response for delete_port : () 2025-08-03 09:38:52,617 - DEBUG - Response for delete_port : () 2025-08-03 09:38:52,617 - INFO - Deleting VN ctest-vn1-13737025 2025-08-03 09:38:52,799 - DEBUG - Response for deleting network () 2025-08-03 09:38:53,057 - DEBUG - No XMPP flaps were noticed during the test 2025-08-03 09:38:53,058 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-08-03 09:38:53,058 - INFO - -------------------------------------------------------------------------------- 2025-08-03 09:38:53,773 - INFO - Deleted project: ctest-TestPorts-84347667, ID : 9d5e2160-0ba4-4c11-a15c-d78cce1727b5