2025-10-21 16:23:22,284 - INFO - Domain Default found not creating 2025-10-21 16:23:22,411 - INFO - Project ctest-TestPorts-41354606 not found, creating it 2025-10-21 16:23:22,852 - INFO - Created Project:ctest-TestPorts-41354606, ID : f348538a-9640-4916-b914-08bc2550d631 2025-10-21 16:23:24,162 - INFO - ================================================================================ 2025-10-21 16:23:24,163 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 16:23:24,163 - 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-21 16:23:24,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-21 16:23:24,423 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:23:24,423 - INFO - 2025-10-21 16:23:24,932 - DEBUG - Response for create_network : {'network': {'id': 'ce418f8f-d5d3-49f3-b5a1-2cdef94da8a8', 'name': 'ctest-vn-24520762', 'tenant_id': 'f348538a96404916b91408bc2550d631', 'project_id': 'f348538a96404916b91408bc2550d631', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41354606', 'ctest-vn-24520762'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:23:25,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e3b009c-9b4a-4e75-aaca-2b6f8729b052', 'name': '', 'tenant_id': 'f348538a96404916b91408bc2550d631', 'network_id': 'ce418f8f-d5d3-49f3-b5a1-2cdef94da8a8', 'ip_version': 4, 'cidr': '138.235.77.192/26', 'allocation_pools': [{'start': '138.235.77.194', 'end': '138.235.77.254'}], 'gateway_ip': '138.235.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.235.77.194', 'tags': [], 'project_id': 'f348538a96404916b91408bc2550d631'}} 2025-10-21 16:23:25,139 - INFO - Created VN ctest-vn-24520762 2025-10-21 16:23:25,191 - DEBUG - VN ctest-vn-24520762 UUID is ce418f8f-d5d3-49f3-b5a1-2cdef94da8a8 2025-10-21 16:23:25,288 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41354606', 'ctest-vmi-18137655']} 2025-10-21 16:23:25,562 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-18137655', 'id': 'a9e92caf-5ecc-4388-a558-763f921fec16', 'tenant_id': 'f348538a96404916b91408bc2550d631', 'network_id': 'ce418f8f-d5d3-49f3-b5a1-2cdef94da8a8', 'mac_address': '02:a9:e9:2c:af:5e', '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': '138.235.77.195', 'subnet_id': '5e3b009c-9b4a-4e75-aaca-2b6f8729b052'}], 'security_groups': ['c685b95f-2098-4113-bd40-adb7fd732646'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f348538a96404916b91408bc2550d631'}} 2025-10-21 16:23:25,562 - DEBUG - Created port a9e92caf-5ecc-4388-a558-763f921fec16 2025-10-21 16:23:25,663 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a9e92caf-5ecc-4388-a558-763f921fec16 2025-10-21 16:23:25,951 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a9e92caf-5ecc-4388-a558-763f921fec16 2025-10-21 16:23:25,979 - INFO - VMI a9e92caf-5ecc-4388-a558-763f921fec16 verification in API Server passed 2025-10-21 16:23:26,058 - DEBUG - Response for delete_port : () 2025-10-21 16:23:26,058 - INFO - Deleted port a9e92caf-5ecc-4388-a558-763f921fec16 2025-10-21 16:23:26,058 - INFO - Deleting VN ctest-vn-24520762 2025-10-21 16:23:26,161 - DEBUG - Response for deleting network () 2025-10-21 16:23:26,419 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 16:23:26,419 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 16:23:26,419 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:23:26,422 - INFO - ================================================================================ 2025-10-21 16:23:26,422 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 16:23:26,422 - 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-21 16:23:26,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-21 16:23:26,708 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:23:26,708 - INFO - 2025-10-21 16:23:26,878 - DEBUG - Response for create_network : {'network': {'id': '0f2849e8-c5ee-4a84-a71d-8464d4c0985f', 'name': 'ctest-vn1-43720881', 'tenant_id': 'f348538a96404916b91408bc2550d631', 'project_id': 'f348538a96404916b91408bc2550d631', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41354606', 'ctest-vn1-43720881'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:23:27,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b568051-b784-4520-86a4-fad5cab46228', 'name': '', 'tenant_id': 'f348538a96404916b91408bc2550d631', 'network_id': '0f2849e8-c5ee-4a84-a71d-8464d4c0985f', 'ip_version': 4, 'cidr': '25.130.233.0/26', 'allocation_pools': [{'start': '25.130.233.2', 'end': '25.130.233.62'}], 'gateway_ip': '25.130.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.130.233.2', 'tags': [], 'project_id': 'f348538a96404916b91408bc2550d631'}} 2025-10-21 16:23:27,218 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0913a17-29e5-4b51-938d-f5e2eb9070da', 'name': '', 'tenant_id': 'f348538a96404916b91408bc2550d631', 'network_id': '0f2849e8-c5ee-4a84-a71d-8464d4c0985f', 'ip_version': 4, 'cidr': '33.180.207.0/26', 'allocation_pools': [{'start': '33.180.207.2', 'end': '33.180.207.62'}], 'gateway_ip': '33.180.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.180.207.2', 'tags': [], 'project_id': 'f348538a96404916b91408bc2550d631'}} 2025-10-21 16:23:27,234 - INFO - Created VN ctest-vn1-43720881 2025-10-21 16:23:27,287 - DEBUG - VN ctest-vn1-43720881 UUID is 0f2849e8-c5ee-4a84-a71d-8464d4c0985f 2025-10-21 16:23:27,591 - DEBUG - Response for create_port : {'port': {'name': '0d1dcf51-9a75-4ea5-9dfe-47968301b5fa', 'id': '0d1dcf51-9a75-4ea5-9dfe-47968301b5fa', 'tenant_id': 'f348538a96404916b91408bc2550d631', 'network_id': '0f2849e8-c5ee-4a84-a71d-8464d4c0985f', 'mac_address': '02:0d:1d:cf:51:9a', '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': '25.130.233.5', 'subnet_id': '6b568051-b784-4520-86a4-fad5cab46228'}], 'security_groups': ['c685b95f-2098-4113-bd40-adb7fd732646'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f348538a96404916b91408bc2550d631'}} 2025-10-21 16:23:27,764 - DEBUG - Response for create_port : {'port': {'name': '45bd0a54-e656-40f9-a2e4-eb37a906ce94', 'id': '45bd0a54-e656-40f9-a2e4-eb37a906ce94', 'tenant_id': 'f348538a96404916b91408bc2550d631', 'network_id': '0f2849e8-c5ee-4a84-a71d-8464d4c0985f', 'mac_address': '02:45:bd:0a:54:e6', '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': '33.180.207.5', 'subnet_id': 'e0913a17-29e5-4b51-938d-f5e2eb9070da'}], 'security_groups': ['c685b95f-2098-4113-bd40-adb7fd732646'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f348538a96404916b91408bc2550d631'}} 2025-10-21 16:23:27,813 - DEBUG - Services list from nova: [, , ] 2025-10-21 16:23:28,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4398-1) 2025-10-21 16:23:28,457 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4398-1) 2025-10-21 16:23:28,458 - INFO - Waiting for VM ctest-vn1-vm1-47327372 to be up.. 2025-10-21 16:23:28,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 16:23:33,559 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:23:33,559 - INFO - VM name : ctest-vn1-vm1-47327372 2025-10-21 16:23:33,621 - DEBUG - VM ctest-vn1-vm1-47327372 ID is bb242803-df65-4a99-83da-0fd6943b0dd3 2025-10-21 16:23:33,638 - DEBUG - VM ctest-vn1-vm1-47327372 launched on Node cn-jenkins-deploy-platform-ansible-os-4398-1 2025-10-21 16:23:33,703 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/bb242803-df65-4a99-83da-0fd6943b0dd3 2025-10-21 16:23:33,709 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0d1dcf51-9a75-4ea5-9dfe-47968301b5fa 2025-10-21 16:23:36,949 - 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 1011ms') 2025-10-21 16:23:36,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47327372 failed! 2025-10-21 16:23:37,003 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41354606:ctest-vn1-43720881 is 25.130.233.1 and allocation pool is NOT set 2025-10-21 16:23:37,003 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41354606:ctest-vn1-43720881 is 33.180.207.1 and allocation pool is NOT set 2025-10-21 16:23:39,063 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.334 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.334/1.670/3.007/1.336 ms') 2025-10-21 16:23:39,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47327372 passed 2025-10-21 16:23:39,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:23:39,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47327372, IP 25.130.233.5, Port 22 2025-10-21 16:23:39,362 - DEBUG - VM ctest-vn1-vm1-47327372 is ready for SSH connections 2025-10-21 16:23:39,362 - INFO - Waiting for VM ctest-vn1-vm2-86589836 to be up.. 2025-10-21 16:23:39,429 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:23:39,429 - INFO - VM name : ctest-vn1-vm2-86589836 2025-10-21 16:23:39,492 - DEBUG - VM ctest-vn1-vm2-86589836 ID is 53c0772b-b63c-47a2-baed-4a397ccd6b20 2025-10-21 16:23:39,492 - DEBUG - VM ctest-vn1-vm2-86589836 launched on Node cn-jenkins-deploy-platform-ansible-os-4398-1 2025-10-21 16:23:39,553 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/53c0772b-b63c-47a2-baed-4a397ccd6b20 2025-10-21 16:23:39,559 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/45bd0a54-e656-40f9-a2e4-eb37a906ce94 2025-10-21 16:23:40,781 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.318 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.318/1.548/2.778/1.230 ms') 2025-10-21 16:23:40,781 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86589836 passed 2025-10-21 16:23:40,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:23:40,927 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86589836, IP 33.180.207.5, Port 22 2025-10-21 16:23:41,082 - DEBUG - VM ctest-vn1-vm2-86589836 is ready for SSH connections 2025-10-21 16:23:41,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:23:41,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:23:41,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:23:41,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.130.233.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 16:23:41,083 - DEBUG - ping -s 56 -c 3 -W 1 25.130.233.5 2025-10-21 16:23:44,020 - DEBUG - PING 25.130.233.5 (25.130.233.5): 56 data bytes 64 bytes from 25.130.233.5: seq=0 ttl=63 time=3.444 ms 64 bytes from 25.130.233.5: seq=1 ttl=63 time=0.709 ms 64 bytes from 25.130.233.5: seq=2 ttl=63 time=0.724 ms --- 25.130.233.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.709/1.625/3.444 ms 2025-10-21 16:23:44,020 - INFO - Ping to IP 25.130.233.5 from VM ctest-vn1-vm2-86589836 passed 2025-10-21 16:23:44,020 - INFO - Detaching port 45bd0a54-e656-40f9-a2e4-eb37a906ce94 from VM ctest-vn1-vm2-86589836 2025-10-21 16:23:44,062 - INFO - Deleting VM ctest-vn1-vm2-86589836 2025-10-21 16:23:44,132 - INFO - Detaching port 0d1dcf51-9a75-4ea5-9dfe-47968301b5fa from VM ctest-vn1-vm1-47327372 2025-10-21 16:23:44,161 - INFO - Deleting VM ctest-vn1-vm1-47327372 2025-10-21 16:23:44,358 - DEBUG - Response for delete_port : () 2025-10-21 16:23:44,493 - DEBUG - Response for delete_port : () 2025-10-21 16:23:44,493 - INFO - Deleting VN ctest-vn1-43720881 2025-10-21 16:23:44,613 - DEBUG - Response for deleting network () 2025-10-21 16:23:44,867 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 16:23:44,867 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-21 16:23:44,867 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:23:45,515 - INFO - Deleted project: ctest-TestPorts-41354606, ID : f348538a-9640-4916-b914-08bc2550d631