2025-11-19 16:11:45,103 - INFO - Domain Default found not creating 2025-11-19 16:11:45,406 - INFO - Project ctest-TestPorts-63697464 not found, creating it 2025-11-19 16:11:45,916 - INFO - Created Project:ctest-TestPorts-63697464, ID : 2f9644a2-874e-45dd-92bb-61619b3df826 2025-11-19 16:11:47,540 - INFO - ================================================================================ 2025-11-19 16:11:47,541 - INFO - STARTING TEST : test_ports_bindings 2025-11-19 16:11:47,541 - 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-11-19 16:11:47,796 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.25': '0'}} with 2025-11-19 16:11:47,796 - INFO - Initial checks done. Running the testcase now 2025-11-19 16:11:47,796 - INFO - 2025-11-19 16:11:48,392 - DEBUG - Response for create_network : {'network': {'id': '5772603c-1d1a-4ecd-aa7f-a5d50123bf28', 'name': 'ctest-vn-50432095', 'tenant_id': '2f9644a2874e45dd92bb61619b3df826', 'project_id': '2f9644a2874e45dd92bb61619b3df826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63697464', 'ctest-vn-50432095'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:11:48,596 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba56c61b-1608-4055-8844-d5c67c8cdcf3', 'name': '', 'tenant_id': '2f9644a2874e45dd92bb61619b3df826', 'network_id': '5772603c-1d1a-4ecd-aa7f-a5d50123bf28', 'ip_version': 4, 'cidr': '16.135.46.0/26', 'allocation_pools': [{'start': '16.135.46.2', 'end': '16.135.46.62'}], 'gateway_ip': '16.135.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.135.46.2', 'tags': [], 'project_id': '2f9644a2874e45dd92bb61619b3df826'}} 2025-11-19 16:11:48,616 - INFO - Created VN ctest-vn-50432095 2025-11-19 16:11:48,668 - DEBUG - VN ctest-vn-50432095 UUID is 5772603c-1d1a-4ecd-aa7f-a5d50123bf28 2025-11-19 16:11:48,789 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-63697464', 'ctest-vmi-64891329']} 2025-11-19 16:11:49,063 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64891329', 'id': 'a2b4fe66-55f8-4e77-8852-e87db529e343', 'tenant_id': '2f9644a2874e45dd92bb61619b3df826', 'network_id': '5772603c-1d1a-4ecd-aa7f-a5d50123bf28', 'mac_address': '02:a2:b4:fe:66:55', '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': '16.135.46.3', 'subnet_id': 'ba56c61b-1608-4055-8844-d5c67c8cdcf3'}], 'security_groups': ['24eade13-dacb-4f01-a30f-5401aa7f151c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2f9644a2874e45dd92bb61619b3df826'}} 2025-11-19 16:11:49,064 - DEBUG - Created port a2b4fe66-55f8-4e77-8852-e87db529e343 2025-11-19 16:11:49,168 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a2b4fe66-55f8-4e77-8852-e87db529e343 2025-11-19 16:11:49,476 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a2b4fe66-55f8-4e77-8852-e87db529e343 2025-11-19 16:11:49,516 - INFO - VMI a2b4fe66-55f8-4e77-8852-e87db529e343 verification in API Server passed 2025-11-19 16:11:49,624 - DEBUG - Response for delete_port : () 2025-11-19 16:11:49,624 - INFO - Deleted port a2b4fe66-55f8-4e77-8852-e87db529e343 2025-11-19 16:11:49,624 - INFO - Deleting VN ctest-vn-50432095 2025-11-19 16:11:49,737 - DEBUG - Response for deleting network () 2025-11-19 16:11:49,998 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 16:11:49,998 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-19 16:11:49,998 - INFO - -------------------------------------------------------------------------------- 2025-11-19 16:11:50,000 - INFO - ================================================================================ 2025-11-19 16:11:50,000 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-19 16:11:50,000 - 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-11-19 16:11:50,305 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.25': '0'}} with 2025-11-19 16:11:50,305 - INFO - Initial checks done. Running the testcase now 2025-11-19 16:11:50,305 - INFO - 2025-11-19 16:11:50,491 - DEBUG - Response for create_network : {'network': {'id': 'f77d6b11-7150-44f7-9e28-6e6190683318', 'name': 'ctest-vn1-09121544', 'tenant_id': '2f9644a2874e45dd92bb61619b3df826', 'project_id': '2f9644a2874e45dd92bb61619b3df826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63697464', 'ctest-vn1-09121544'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:11:50,668 - DEBUG - Response for create_subnet : {'subnet': {'id': '035ee71b-e191-473c-ac0d-62f5aee3fe16', 'name': '', 'tenant_id': '2f9644a2874e45dd92bb61619b3df826', 'network_id': 'f77d6b11-7150-44f7-9e28-6e6190683318', 'ip_version': 4, 'cidr': '47.111.240.128/26', 'allocation_pools': [{'start': '47.111.240.130', 'end': '47.111.240.190'}], 'gateway_ip': '47.111.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.111.240.130', 'tags': [], 'project_id': '2f9644a2874e45dd92bb61619b3df826'}} 2025-11-19 16:11:50,867 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a97e7b9e-8a73-4e3e-ae3f-e198335019ac', 'name': '', 'tenant_id': '2f9644a2874e45dd92bb61619b3df826', 'network_id': 'f77d6b11-7150-44f7-9e28-6e6190683318', 'ip_version': 4, 'cidr': '155.152.151.192/26', 'allocation_pools': [{'start': '155.152.151.194', 'end': '155.152.151.254'}], 'gateway_ip': '155.152.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.152.151.194', 'tags': [], 'project_id': '2f9644a2874e45dd92bb61619b3df826'}} 2025-11-19 16:11:50,888 - INFO - Created VN ctest-vn1-09121544 2025-11-19 16:11:50,940 - DEBUG - VN ctest-vn1-09121544 UUID is f77d6b11-7150-44f7-9e28-6e6190683318 2025-11-19 16:11:51,272 - DEBUG - Response for create_port : {'port': {'name': '1729f966-83dc-41b0-a9c5-94f4a844d6b7', 'id': '1729f966-83dc-41b0-a9c5-94f4a844d6b7', 'tenant_id': '2f9644a2874e45dd92bb61619b3df826', 'network_id': 'f77d6b11-7150-44f7-9e28-6e6190683318', 'mac_address': '02:17:29:f9:66:83', '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': '47.111.240.133', 'subnet_id': '035ee71b-e191-473c-ac0d-62f5aee3fe16'}], 'security_groups': ['24eade13-dacb-4f01-a30f-5401aa7f151c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2f9644a2874e45dd92bb61619b3df826'}} 2025-11-19 16:11:51,452 - DEBUG - Response for create_port : {'port': {'name': '9ad240f4-a9a0-4c24-8343-9c138e1c3a8d', 'id': '9ad240f4-a9a0-4c24-8343-9c138e1c3a8d', 'tenant_id': '2f9644a2874e45dd92bb61619b3df826', 'network_id': 'f77d6b11-7150-44f7-9e28-6e6190683318', 'mac_address': '02:9a:d2:40:f4:a9', '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': '155.152.151.197', 'subnet_id': 'a97e7b9e-8a73-4e3e-ae3f-e198335019ac'}], 'security_groups': ['24eade13-dacb-4f01-a30f-5401aa7f151c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2f9644a2874e45dd92bb61619b3df826'}} 2025-11-19 16:11:51,525 - DEBUG - Services list from nova: [, , ] 2025-11-19 16:11:51,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4762-1) 2025-11-19 16:11:52,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4762-1) 2025-11-19 16:11:52,342 - INFO - Waiting for VM ctest-vn1-vm1-40132744 to be up.. 2025-11-19 16:11:52,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 16:11:57,483 - DEBUG - VM is in ACTIVE state now 2025-11-19 16:11:57,483 - INFO - VM name : ctest-vn1-vm1-40132744 2025-11-19 16:11:57,585 - DEBUG - VM ctest-vn1-vm1-40132744 ID is 6d256cd0-5baa-4fa9-8295-7add0db1907f 2025-11-19 16:11:57,607 - DEBUG - VM ctest-vn1-vm1-40132744 launched on Node cn-jenkins-deploy-platform-ansible-os-4762-1 2025-11-19 16:11:57,710 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/6d256cd0-5baa-4fa9-8295-7add0db1907f 2025-11-19 16:11:57,723 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/1729f966-83dc-41b0-a9c5-94f4a844d6b7 2025-11-19 16:12:01,005 - 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-11-19 16:12:01,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40132744 failed! 2025-11-19 16:12:01,060 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63697464:ctest-vn1-09121544 is 47.111.240.129 and allocation pool is NOT set 2025-11-19 16:12:01,060 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63697464:ctest-vn1-09121544 is 155.152.151.193 and allocation pool is NOT set 2025-11-19 16:12:05,135 - 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 1012ms') 2025-11-19 16:12:05,136 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40132744 failed! 2025-11-19 16:12:05,192 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63697464:ctest-vn1-09121544 is 47.111.240.129 and allocation pool is NOT set 2025-11-19 16:12:05,193 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63697464:ctest-vn1-09121544 is 155.152.151.193 and allocation pool is NOT set 2025-11-19 16:12:07,251 - 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=5.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.680 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.680/3.081/5.483/2.401 ms') 2025-11-19 16:12:07,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40132744 passed 2025-11-19 16:12:07,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:07,400 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40132744, IP 47.111.240.133, Port 22 2025-11-19 16:12:07,570 - DEBUG - VM ctest-vn1-vm1-40132744 is ready for SSH connections 2025-11-19 16:12:07,570 - INFO - Waiting for VM ctest-vn1-vm2-98173306 to be up.. 2025-11-19 16:12:07,656 - DEBUG - VM is in ACTIVE state now 2025-11-19 16:12:07,656 - INFO - VM name : ctest-vn1-vm2-98173306 2025-11-19 16:12:07,739 - DEBUG - VM ctest-vn1-vm2-98173306 ID is 3c4b91c4-ed11-4fcc-a4fa-42a1789f4ac3 2025-11-19 16:12:07,739 - DEBUG - VM ctest-vn1-vm2-98173306 launched on Node cn-jenkins-deploy-platform-ansible-os-4762-1 2025-11-19 16:12:07,821 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/3c4b91c4-ed11-4fcc-a4fa-42a1789f4ac3 2025-11-19 16:12:07,832 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/9ad240f4-a9a0-4c24-8343-9c138e1c3a8d 2025-11-19 16:12:09,077 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.661 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.661/1.863/3.066/1.202 ms') 2025-11-19 16:12:09,077 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98173306 passed 2025-11-19 16:12:09,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:09,233 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98173306, IP 155.152.151.197, Port 22 2025-11-19 16:12:09,388 - DEBUG - VM ctest-vn1-vm2-98173306 is ready for SSH connections 2025-11-19 16:12:09,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:09,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:09,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:12:09,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.111.240.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:12:09,389 - DEBUG - ping -s 56 -c 3 -W 1 47.111.240.133 2025-11-19 16:12:12,072 - DEBUG - PING 47.111.240.133 (47.111.240.133): 56 data bytes 64 bytes from 47.111.240.133: seq=0 ttl=63 time=3.848 ms 64 bytes from 47.111.240.133: seq=1 ttl=63 time=1.802 ms 64 bytes from 47.111.240.133: seq=2 ttl=63 time=1.146 ms --- 47.111.240.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.146/2.265/3.848 ms 2025-11-19 16:12:12,072 - INFO - Ping to IP 47.111.240.133 from VM ctest-vn1-vm2-98173306 passed 2025-11-19 16:12:12,073 - INFO - Detaching port 9ad240f4-a9a0-4c24-8343-9c138e1c3a8d from VM ctest-vn1-vm2-98173306 2025-11-19 16:12:12,135 - INFO - Deleting VM ctest-vn1-vm2-98173306 2025-11-19 16:12:12,218 - INFO - Detaching port 1729f966-83dc-41b0-a9c5-94f4a844d6b7 from VM ctest-vn1-vm1-40132744 2025-11-19 16:12:12,266 - INFO - Deleting VM ctest-vn1-vm1-40132744 2025-11-19 16:12:12,570 - DEBUG - Response for delete_port : () 2025-11-19 16:12:12,763 - DEBUG - Response for delete_port : () 2025-11-19 16:12:12,763 - INFO - Deleting VN ctest-vn1-09121544 2025-11-19 16:12:12,941 - DEBUG - Response for deleting network () 2025-11-19 16:12:13,219 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 16:12:13,219 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-11-19 16:12:13,219 - INFO - -------------------------------------------------------------------------------- 2025-11-19 16:12:14,018 - INFO - Deleted project: ctest-TestPorts-63697464, ID : 2f9644a2-874e-45dd-92bb-61619b3df826