2025-08-18 02:08:31,114 - INFO - Domain Default found not creating 2025-08-18 02:08:31,248 - INFO - Project ctest-TestPorts-36516062 not found, creating it 2025-08-18 02:08:31,683 - INFO - Created Project:ctest-TestPorts-36516062, ID : 89818f96-99be-4c2c-b2b0-c7c090d97db8 2025-08-18 02:08:33,118 - INFO - ================================================================================ 2025-08-18 02:08:33,118 - INFO - STARTING TEST : test_ports_bindings 2025-08-18 02:08:33,118 - 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-18 02:08:33,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-08-18 02:08:33,376 - INFO - Initial checks done. Running the testcase now 2025-08-18 02:08:33,376 - INFO - 2025-08-18 02:08:33,902 - DEBUG - Response for create_network : {'network': {'id': 'a554d6d0-57fa-4309-bc26-29a60cc124ff', 'name': 'ctest-vn-95787081', 'tenant_id': '89818f9699be4c2cb2b0c7c090d97db8', 'project_id': '89818f9699be4c2cb2b0c7c090d97db8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36516062', 'ctest-vn-95787081'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:08:34,111 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2e8ef51-dc43-4772-a140-d2b8bd373e1d', 'name': '', 'tenant_id': '89818f9699be4c2cb2b0c7c090d97db8', 'network_id': 'a554d6d0-57fa-4309-bc26-29a60cc124ff', 'ip_version': 4, 'cidr': '45.143.208.128/26', 'allocation_pools': [{'start': '45.143.208.130', 'end': '45.143.208.190'}], 'gateway_ip': '45.143.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.143.208.130', 'tags': [], 'project_id': '89818f9699be4c2cb2b0c7c090d97db8'}} 2025-08-18 02:08:34,128 - INFO - Created VN ctest-vn-95787081 2025-08-18 02:08:34,179 - DEBUG - VN ctest-vn-95787081 UUID is a554d6d0-57fa-4309-bc26-29a60cc124ff 2025-08-18 02:08:34,283 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36516062', 'ctest-vmi-27049355']} 2025-08-18 02:08:34,549 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27049355', 'id': '1c61df69-d530-4ccc-88b8-798433adf8db', 'tenant_id': '89818f9699be4c2cb2b0c7c090d97db8', 'network_id': 'a554d6d0-57fa-4309-bc26-29a60cc124ff', 'mac_address': '02:1c:61:df:69:d5', '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': '45.143.208.131', 'subnet_id': 'd2e8ef51-dc43-4772-a140-d2b8bd373e1d'}], 'security_groups': ['b3cfb3b6-5aa4-4207-bd28-030817248038'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '89818f9699be4c2cb2b0c7c090d97db8'}} 2025-08-18 02:08:34,549 - DEBUG - Created port 1c61df69-d530-4ccc-88b8-798433adf8db 2025-08-18 02:08:34,659 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/1c61df69-d530-4ccc-88b8-798433adf8db 2025-08-18 02:08:34,949 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/1c61df69-d530-4ccc-88b8-798433adf8db 2025-08-18 02:08:34,978 - INFO - VMI 1c61df69-d530-4ccc-88b8-798433adf8db verification in API Server passed 2025-08-18 02:08:35,060 - DEBUG - Response for delete_port : () 2025-08-18 02:08:35,060 - INFO - Deleted port 1c61df69-d530-4ccc-88b8-798433adf8db 2025-08-18 02:08:35,060 - INFO - Deleting VN ctest-vn-95787081 2025-08-18 02:08:35,157 - DEBUG - Response for deleting network () 2025-08-18 02:08:35,416 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:08:35,416 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-18 02:08:35,416 - INFO - -------------------------------------------------------------------------------- 2025-08-18 02:08:35,418 - INFO - ================================================================================ 2025-08-18 02:08:35,419 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-18 02:08:35,419 - 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-18 02:08:35,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-08-18 02:08:35,707 - INFO - Initial checks done. Running the testcase now 2025-08-18 02:08:35,707 - INFO - 2025-08-18 02:08:35,898 - DEBUG - Response for create_network : {'network': {'id': 'f4bfeb42-e509-4c2d-99b0-77d88ff39e5e', 'name': 'ctest-vn1-15688208', 'tenant_id': '89818f9699be4c2cb2b0c7c090d97db8', 'project_id': '89818f9699be4c2cb2b0c7c090d97db8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36516062', 'ctest-vn1-15688208'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 02:08:36,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '26908a63-c487-4e55-9925-0d279ff28f4f', 'name': '', 'tenant_id': '89818f9699be4c2cb2b0c7c090d97db8', 'network_id': 'f4bfeb42-e509-4c2d-99b0-77d88ff39e5e', 'ip_version': 4, 'cidr': '189.212.4.128/26', 'allocation_pools': [{'start': '189.212.4.130', 'end': '189.212.4.190'}], 'gateway_ip': '189.212.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.212.4.130', 'tags': [], 'project_id': '89818f9699be4c2cb2b0c7c090d97db8'}} 2025-08-18 02:08:36,195 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eff627fa-fde8-49b0-8b3c-e323c4cc11ce', 'name': '', 'tenant_id': '89818f9699be4c2cb2b0c7c090d97db8', 'network_id': 'f4bfeb42-e509-4c2d-99b0-77d88ff39e5e', 'ip_version': 4, 'cidr': '79.182.79.192/26', 'allocation_pools': [{'start': '79.182.79.194', 'end': '79.182.79.254'}], 'gateway_ip': '79.182.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.182.79.194', 'tags': [], 'project_id': '89818f9699be4c2cb2b0c7c090d97db8'}} 2025-08-18 02:08:36,215 - INFO - Created VN ctest-vn1-15688208 2025-08-18 02:08:36,271 - DEBUG - VN ctest-vn1-15688208 UUID is f4bfeb42-e509-4c2d-99b0-77d88ff39e5e 2025-08-18 02:08:36,558 - DEBUG - Response for create_port : {'port': {'name': '284e9b42-38f7-43b6-9807-af60c050e709', 'id': '284e9b42-38f7-43b6-9807-af60c050e709', 'tenant_id': '89818f9699be4c2cb2b0c7c090d97db8', 'network_id': 'f4bfeb42-e509-4c2d-99b0-77d88ff39e5e', 'mac_address': '02:28:4e:9b:42:38', '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.4.133', 'subnet_id': '26908a63-c487-4e55-9925-0d279ff28f4f'}], 'security_groups': ['b3cfb3b6-5aa4-4207-bd28-030817248038'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '89818f9699be4c2cb2b0c7c090d97db8'}} 2025-08-18 02:08:36,718 - DEBUG - Response for create_port : {'port': {'name': '410e35de-c31a-4ab0-b93e-6ac744c261e5', 'id': '410e35de-c31a-4ab0-b93e-6ac744c261e5', 'tenant_id': '89818f9699be4c2cb2b0c7c090d97db8', 'network_id': 'f4bfeb42-e509-4c2d-99b0-77d88ff39e5e', 'mac_address': '02:41:0e:35:de:c3', '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': '79.182.79.197', 'subnet_id': 'eff627fa-fde8-49b0-8b3c-e323c4cc11ce'}], 'security_groups': ['b3cfb3b6-5aa4-4207-bd28-030817248038'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '89818f9699be4c2cb2b0c7c090d97db8'}} 2025-08-18 02:08:36,770 - DEBUG - Services list from nova: [, , ] 2025-08-18 02:08:37,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3871-1) 2025-08-18 02:08:37,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3871-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3871-1) 2025-08-18 02:08:37,397 - INFO - Waiting for VM ctest-vn1-vm1-46888403 to be up.. 2025-08-18 02:08:37,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 02:08:42,502 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:08:42,502 - INFO - VM name : ctest-vn1-vm1-46888403 2025-08-18 02:08:42,721 - DEBUG - VM ctest-vn1-vm1-46888403 ID is d6494f6f-07a5-4c4d-b9a8-257afaa79290 2025-08-18 02:08:42,740 - DEBUG - VM ctest-vn1-vm1-46888403 launched on Node cn-jenkins-deploy-platform-ansible-os-3871-1 2025-08-18 02:08:42,809 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/d6494f6f-07a5-4c4d-b9a8-257afaa79290 2025-08-18 02:08:42,817 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/284e9b42-38f7-43b6-9807-af60c050e709 2025-08-18 02:08:46,066 - 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 1008ms') 2025-08-18 02:08:46,066 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46888403 failed! 2025-08-18 02:08:46,119 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36516062:ctest-vn1-15688208 is 189.212.4.129 and allocation pool is NOT set 2025-08-18 02:08:46,119 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36516062:ctest-vn1-15688208 is 79.182.79.193 and allocation pool is NOT set 2025-08-18 02:08:48,180 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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 = 0.383/1.608/2.833/1.225 ms') 2025-08-18 02:08:48,180 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46888403 passed 2025-08-18 02:08:48,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:08:48,331 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46888403, IP 189.212.4.133, Port 22 2025-08-18 02:08:48,486 - DEBUG - VM ctest-vn1-vm1-46888403 is ready for SSH connections 2025-08-18 02:08:48,486 - INFO - Waiting for VM ctest-vn1-vm2-49622135 to be up.. 2025-08-18 02:08:48,549 - DEBUG - VM is in ACTIVE state now 2025-08-18 02:08:48,550 - INFO - VM name : ctest-vn1-vm2-49622135 2025-08-18 02:08:48,610 - DEBUG - VM ctest-vn1-vm2-49622135 ID is 9e5c572e-c696-4292-b82c-d457b623d7a2 2025-08-18 02:08:48,610 - DEBUG - VM ctest-vn1-vm2-49622135 launched on Node cn-jenkins-deploy-platform-ansible-os-3871-1 2025-08-18 02:08:48,671 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/9e5c572e-c696-4292-b82c-d457b623d7a2 2025-08-18 02:08:48,679 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/410e35de-c31a-4ab0-b93e-6ac744c261e5 2025-08-18 02:08:49,915 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.757 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.757/1.959/3.162/1.202 ms') 2025-08-18 02:08:49,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49622135 passed 2025-08-18 02:08:50,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:08:50,067 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49622135, IP 79.182.79.197, Port 22 2025-08-18 02:08:50,223 - DEBUG - VM ctest-vn1-vm2-49622135 is ready for SSH connections 2025-08-18 02:08:50,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:08:50,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:08:50,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 02:08:50,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.212.4.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-18 02:08:50,223 - DEBUG - ping -s 56 -c 3 -W 1 189.212.4.133 2025-08-18 02:08:52,858 - DEBUG - PING 189.212.4.133 (189.212.4.133): 56 data bytes 64 bytes from 189.212.4.133: seq=0 ttl=63 time=3.189 ms 64 bytes from 189.212.4.133: seq=1 ttl=63 time=0.824 ms 64 bytes from 189.212.4.133: seq=2 ttl=63 time=0.702 ms --- 189.212.4.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.702/1.571/3.189 ms 2025-08-18 02:08:52,858 - INFO - Ping to IP 189.212.4.133 from VM ctest-vn1-vm2-49622135 passed 2025-08-18 02:08:52,858 - INFO - Detaching port 410e35de-c31a-4ab0-b93e-6ac744c261e5 from VM ctest-vn1-vm2-49622135 2025-08-18 02:08:52,904 - INFO - Deleting VM ctest-vn1-vm2-49622135 2025-08-18 02:08:52,971 - INFO - Detaching port 284e9b42-38f7-43b6-9807-af60c050e709 from VM ctest-vn1-vm1-46888403 2025-08-18 02:08:53,007 - INFO - Deleting VM ctest-vn1-vm1-46888403 2025-08-18 02:08:53,256 - DEBUG - Response for delete_port : () 2025-08-18 02:08:53,435 - DEBUG - Response for delete_port : () 2025-08-18 02:08:53,435 - INFO - Deleting VN ctest-vn1-15688208 2025-08-18 02:08:53,614 - DEBUG - Response for deleting network () 2025-08-18 02:08:53,889 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:08:53,889 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-18 02:08:53,889 - INFO - -------------------------------------------------------------------------------- 2025-08-18 02:08:54,577 - INFO - Deleted project: ctest-TestPorts-36516062, ID : 89818f96-99be-4c2c-b2b0-c7c090d97db8