2025-09-22 02:09:22,881 - INFO - Domain Default found not creating 2025-09-22 02:09:23,018 - INFO - Project ctest-TestPorts-96822500 not found, creating it 2025-09-22 02:09:23,449 - INFO - Created Project:ctest-TestPorts-96822500, ID : b398c1a3-ca83-4e74-ae4b-7b8ed0abc19a 2025-09-22 02:09:24,786 - INFO - ================================================================================ 2025-09-22 02:09:24,786 - INFO - STARTING TEST : test_ports_bindings 2025-09-22 02:09:24,786 - 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-09-22 02:09:25,040 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.209': '0'}} with 2025-09-22 02:09:25,040 - INFO - Initial checks done. Running the testcase now 2025-09-22 02:09:25,040 - INFO - 2025-09-22 02:09:25,637 - DEBUG - Response for create_network : {'network': {'id': '496bf253-d915-42ad-80f0-98727104c821', 'name': 'ctest-vn-93744466', 'tenant_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'project_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96822500', 'ctest-vn-93744466'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:09:25,788 - DEBUG - Response for create_subnet : {'subnet': {'id': '4759b5b7-9c30-42d5-8a59-17b0414da609', 'name': '', 'tenant_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'network_id': '496bf253-d915-42ad-80f0-98727104c821', 'ip_version': 4, 'cidr': '212.102.193.192/26', 'allocation_pools': [{'start': '212.102.193.194', 'end': '212.102.193.254'}], 'gateway_ip': '212.102.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.102.193.194', 'tags': [], 'project_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a'}} 2025-09-22 02:09:25,803 - INFO - Created VN ctest-vn-93744466 2025-09-22 02:09:25,855 - DEBUG - VN ctest-vn-93744466 UUID is 496bf253-d915-42ad-80f0-98727104c821 2025-09-22 02:09:25,950 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96822500', 'ctest-vmi-89474212']} 2025-09-22 02:09:26,203 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89474212', 'id': 'fa3e383b-c5dd-42a6-a3c8-fecf077a9e25', 'tenant_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'network_id': '496bf253-d915-42ad-80f0-98727104c821', 'mac_address': '02:fa:3e:38:3b:c5', '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': '212.102.193.195', 'subnet_id': '4759b5b7-9c30-42d5-8a59-17b0414da609'}], 'security_groups': ['428a5011-72de-4e9b-a6af-5064d8a83472'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a'}} 2025-09-22 02:09:26,203 - DEBUG - Created port fa3e383b-c5dd-42a6-a3c8-fecf077a9e25 2025-09-22 02:09:26,307 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fa3e383b-c5dd-42a6-a3c8-fecf077a9e25 2025-09-22 02:09:26,596 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fa3e383b-c5dd-42a6-a3c8-fecf077a9e25 2025-09-22 02:09:26,906 - INFO - VMI fa3e383b-c5dd-42a6-a3c8-fecf077a9e25 verification in API Server passed 2025-09-22 02:09:26,988 - DEBUG - Response for delete_port : () 2025-09-22 02:09:26,988 - INFO - Deleted port fa3e383b-c5dd-42a6-a3c8-fecf077a9e25 2025-09-22 02:09:26,988 - INFO - Deleting VN ctest-vn-93744466 2025-09-22 02:09:27,077 - DEBUG - Response for deleting network () 2025-09-22 02:09:27,343 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:09:27,343 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-22 02:09:27,343 - INFO - -------------------------------------------------------------------------------- 2025-09-22 02:09:27,345 - INFO - ================================================================================ 2025-09-22 02:09:27,345 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-22 02:09:27,345 - 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-09-22 02:09:27,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.209': '0'}} with 2025-09-22 02:09:27,631 - INFO - Initial checks done. Running the testcase now 2025-09-22 02:09:27,631 - INFO - 2025-09-22 02:09:27,791 - DEBUG - Response for create_network : {'network': {'id': 'd94cdb0e-98b2-46d6-a25a-0a4dd48f15f1', 'name': 'ctest-vn1-57046905', 'tenant_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'project_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96822500', 'ctest-vn1-57046905'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:09:27,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '53752fed-b7fd-4553-a16f-28a7bde2f200', 'name': '', 'tenant_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'network_id': 'd94cdb0e-98b2-46d6-a25a-0a4dd48f15f1', 'ip_version': 4, 'cidr': '78.255.28.64/26', 'allocation_pools': [{'start': '78.255.28.66', 'end': '78.255.28.126'}], 'gateway_ip': '78.255.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.255.28.66', 'tags': [], 'project_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a'}} 2025-09-22 02:09:28,181 - DEBUG - Response for create_subnet : {'subnet': {'id': 'debcfe76-b9b9-4873-8fd8-f305b1f61f97', 'name': '', 'tenant_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'network_id': 'd94cdb0e-98b2-46d6-a25a-0a4dd48f15f1', 'ip_version': 4, 'cidr': '200.230.77.128/26', 'allocation_pools': [{'start': '200.230.77.130', 'end': '200.230.77.190'}], 'gateway_ip': '200.230.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.230.77.130', 'tags': [], 'project_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a'}} 2025-09-22 02:09:28,199 - INFO - Created VN ctest-vn1-57046905 2025-09-22 02:09:28,251 - DEBUG - VN ctest-vn1-57046905 UUID is d94cdb0e-98b2-46d6-a25a-0a4dd48f15f1 2025-09-22 02:09:28,520 - DEBUG - Response for create_port : {'port': {'name': '80d5f32f-4698-4733-8f14-49ea4a038d19', 'id': '80d5f32f-4698-4733-8f14-49ea4a038d19', 'tenant_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'network_id': 'd94cdb0e-98b2-46d6-a25a-0a4dd48f15f1', 'mac_address': '02:80:d5:f3:2f:46', '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': '78.255.28.69', 'subnet_id': '53752fed-b7fd-4553-a16f-28a7bde2f200'}], 'security_groups': ['428a5011-72de-4e9b-a6af-5064d8a83472'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a'}} 2025-09-22 02:09:28,668 - DEBUG - Response for create_port : {'port': {'name': 'c281e2e9-427f-4a0c-9b51-6fa9cba32911', 'id': 'c281e2e9-427f-4a0c-9b51-6fa9cba32911', 'tenant_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a', 'network_id': 'd94cdb0e-98b2-46d6-a25a-0a4dd48f15f1', 'mac_address': '02:c2:81:e2:e9:42', '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': '200.230.77.133', 'subnet_id': 'debcfe76-b9b9-4873-8fd8-f305b1f61f97'}], 'security_groups': ['428a5011-72de-4e9b-a6af-5064d8a83472'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b398c1a3ca834e74ae4b7b8ed0abc19a'}} 2025-09-22 02:09:28,718 - DEBUG - Services list from nova: [, , ] 2025-09-22 02:09:29,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4162-1) 2025-09-22 02:09:29,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4162-1) 2025-09-22 02:09:29,347 - INFO - Waiting for VM ctest-vn1-vm1-77204600 to be up.. 2025-09-22 02:09:29,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 02:09:34,458 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:09:34,458 - INFO - VM name : ctest-vn1-vm1-77204600 2025-09-22 02:09:34,525 - DEBUG - VM ctest-vn1-vm1-77204600 ID is a4a36930-f864-4dff-a99b-2557dd6383aa 2025-09-22 02:09:34,543 - DEBUG - VM ctest-vn1-vm1-77204600 launched on Node cn-jenkins-deploy-platform-ansible-os-4162-1 2025-09-22 02:09:34,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a4a36930-f864-4dff-a99b-2557dd6383aa 2025-09-22 02:09:34,614 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/80d5f32f-4698-4733-8f14-49ea4a038d19 2025-09-22 02:09:37,866 - 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 1023ms') 2025-09-22 02:09:37,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77204600 failed! 2025-09-22 02:09:37,919 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96822500:ctest-vn1-57046905 is 78.255.28.65 and allocation pool is NOT set 2025-09-22 02:09:37,919 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96822500:ctest-vn1-57046905 is 200.230.77.129 and allocation pool is NOT set 2025-09-22 02:09:39,984 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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 = 2.611/3.075/3.540/0.464 ms') 2025-09-22 02:09:39,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77204600 passed 2025-09-22 02:09:40,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:09:40,131 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77204600, IP 78.255.28.69, Port 22 2025-09-22 02:09:40,197 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-22 02:09:40,264 - DEBUG - VM ctest-vn1-vm1-77204600 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 02:09:45,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:09:45,265 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77204600, IP 78.255.28.69, Port 22 2025-09-22 02:09:45,423 - DEBUG - VM ctest-vn1-vm1-77204600 is ready for SSH connections 2025-09-22 02:09:45,423 - INFO - Waiting for VM ctest-vn1-vm2-04106989 to be up.. 2025-09-22 02:09:45,489 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:09:45,489 - INFO - VM name : ctest-vn1-vm2-04106989 2025-09-22 02:09:45,562 - DEBUG - VM ctest-vn1-vm2-04106989 ID is 2b08e588-227a-47d6-8fc7-44f29b23f746 2025-09-22 02:09:45,562 - DEBUG - VM ctest-vn1-vm2-04106989 launched on Node cn-jenkins-deploy-platform-ansible-os-4162-1 2025-09-22 02:09:45,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2b08e588-227a-47d6-8fc7-44f29b23f746 2025-09-22 02:09:45,632 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c281e2e9-427f-4a0c-9b51-6fa9cba32911 2025-09-22 02:09:46,870 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.574/2.719/1.144 ms') 2025-09-22 02:09:46,870 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-04106989 passed 2025-09-22 02:09:47,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:09:47,019 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04106989, IP 200.230.77.133, Port 22 2025-09-22 02:09:47,174 - DEBUG - VM ctest-vn1-vm2-04106989 is ready for SSH connections 2025-09-22 02:09:47,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:09:47,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:09:47,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:09:47,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.255.28.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 02:09:47,175 - DEBUG - ping -s 56 -c 3 -W 1 78.255.28.69 2025-09-22 02:09:49,800 - DEBUG - PING 78.255.28.69 (78.255.28.69): 56 data bytes 64 bytes from 78.255.28.69: seq=0 ttl=63 time=3.487 ms 64 bytes from 78.255.28.69: seq=1 ttl=63 time=0.910 ms 64 bytes from 78.255.28.69: seq=2 ttl=63 time=0.891 ms --- 78.255.28.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/1.762/3.487 ms 2025-09-22 02:09:49,800 - INFO - Ping to IP 78.255.28.69 from VM ctest-vn1-vm2-04106989 passed 2025-09-22 02:09:49,801 - INFO - Detaching port c281e2e9-427f-4a0c-9b51-6fa9cba32911 from VM ctest-vn1-vm2-04106989 2025-09-22 02:09:49,848 - INFO - Deleting VM ctest-vn1-vm2-04106989 2025-09-22 02:09:49,910 - INFO - Detaching port 80d5f32f-4698-4733-8f14-49ea4a038d19 from VM ctest-vn1-vm1-77204600 2025-09-22 02:09:49,941 - INFO - Deleting VM ctest-vn1-vm1-77204600 2025-09-22 02:09:50,158 - DEBUG - Response for delete_port : () 2025-09-22 02:09:50,360 - DEBUG - Response for delete_port : () 2025-09-22 02:09:50,360 - INFO - Deleting VN ctest-vn1-57046905 2025-09-22 02:09:50,487 - DEBUG - Response for deleting network () 2025-09-22 02:09:50,747 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:09:50,747 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-22 02:09:50,747 - INFO - -------------------------------------------------------------------------------- 2025-09-22 02:09:51,430 - INFO - Deleted project: ctest-TestPorts-96822500, ID : b398c1a3-ca83-4e74-ae4b-7b8ed0abc19a