2025-08-25 23:33:50,937 - INFO - Domain Default found not creating 2025-08-25 23:33:51,095 - INFO - Project ctest-TestPorts-16036184 not found, creating it 2025-08-25 23:33:51,609 - INFO - Created Project:ctest-TestPorts-16036184, ID : 1b6ae6e9-7523-4608-85de-d848ef110dbb 2025-08-25 23:33:53,065 - INFO - ================================================================================ 2025-08-25 23:33:53,065 - INFO - STARTING TEST : test_ports_bindings 2025-08-25 23:33:53,065 - 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-25 23:33:53,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-08-25 23:33:53,321 - INFO - Initial checks done. Running the testcase now 2025-08-25 23:33:53,321 - INFO - 2025-08-25 23:33:53,870 - DEBUG - Response for create_network : {'network': {'id': '873069ae-552a-44b6-aa2e-8fe1bbed1d9d', 'name': 'ctest-vn-46641190', 'tenant_id': '1b6ae6e97523460885ded848ef110dbb', 'project_id': '1b6ae6e97523460885ded848ef110dbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16036184', 'ctest-vn-46641190'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 23:33:54,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '39512be5-5728-45c5-a4a6-cd11e0d6ee2a', 'name': '', 'tenant_id': '1b6ae6e97523460885ded848ef110dbb', 'network_id': '873069ae-552a-44b6-aa2e-8fe1bbed1d9d', 'ip_version': 4, 'cidr': '140.13.250.0/26', 'allocation_pools': [{'start': '140.13.250.2', 'end': '140.13.250.62'}], 'gateway_ip': '140.13.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.13.250.2', 'tags': [], 'project_id': '1b6ae6e97523460885ded848ef110dbb'}} 2025-08-25 23:33:54,092 - INFO - Created VN ctest-vn-46641190 2025-08-25 23:33:54,148 - DEBUG - VN ctest-vn-46641190 UUID is 873069ae-552a-44b6-aa2e-8fe1bbed1d9d 2025-08-25 23:33:54,257 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16036184', 'ctest-vmi-35810357']} 2025-08-25 23:33:54,524 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35810357', 'id': 'abe3730c-aafe-43a7-828b-a6ce1a95ed2d', 'tenant_id': '1b6ae6e97523460885ded848ef110dbb', 'network_id': '873069ae-552a-44b6-aa2e-8fe1bbed1d9d', 'mac_address': '02:ab:e3:73:0c:aa', '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': '140.13.250.3', 'subnet_id': '39512be5-5728-45c5-a4a6-cd11e0d6ee2a'}], 'security_groups': ['5b8628ae-92d5-482d-a689-82a4e145ac30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b6ae6e97523460885ded848ef110dbb'}} 2025-08-25 23:33:54,524 - DEBUG - Created port abe3730c-aafe-43a7-828b-a6ce1a95ed2d 2025-08-25 23:33:54,628 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/abe3730c-aafe-43a7-828b-a6ce1a95ed2d 2025-08-25 23:33:54,924 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/abe3730c-aafe-43a7-828b-a6ce1a95ed2d 2025-08-25 23:33:54,960 - INFO - VMI abe3730c-aafe-43a7-828b-a6ce1a95ed2d verification in API Server passed 2025-08-25 23:33:55,065 - DEBUG - Response for delete_port : () 2025-08-25 23:33:55,065 - INFO - Deleted port abe3730c-aafe-43a7-828b-a6ce1a95ed2d 2025-08-25 23:33:55,065 - INFO - Deleting VN ctest-vn-46641190 2025-08-25 23:33:55,185 - DEBUG - Response for deleting network () 2025-08-25 23:33:55,437 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 23:33:55,437 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-25 23:33:55,437 - INFO - -------------------------------------------------------------------------------- 2025-08-25 23:33:55,440 - INFO - ================================================================================ 2025-08-25 23:33:55,440 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-25 23:33:55,440 - 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-25 23:33:55,731 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-08-25 23:33:55,731 - INFO - Initial checks done. Running the testcase now 2025-08-25 23:33:55,731 - INFO - 2025-08-25 23:33:55,990 - DEBUG - Response for create_network : {'network': {'id': 'e4b4333a-55b9-480d-9e19-8b53f5a97a5c', 'name': 'ctest-vn1-60582607', 'tenant_id': '1b6ae6e97523460885ded848ef110dbb', 'project_id': '1b6ae6e97523460885ded848ef110dbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16036184', 'ctest-vn1-60582607'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 23:33:56,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '754a74f5-eb52-41ad-8f74-5dda682c37ae', 'name': '', 'tenant_id': '1b6ae6e97523460885ded848ef110dbb', 'network_id': 'e4b4333a-55b9-480d-9e19-8b53f5a97a5c', 'ip_version': 4, 'cidr': '54.39.175.64/26', 'allocation_pools': [{'start': '54.39.175.66', 'end': '54.39.175.126'}], 'gateway_ip': '54.39.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.39.175.66', 'tags': [], 'project_id': '1b6ae6e97523460885ded848ef110dbb'}} 2025-08-25 23:33:56,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '37273248-f3a9-4ce3-9ca3-d16449cb3448', 'name': '', 'tenant_id': '1b6ae6e97523460885ded848ef110dbb', 'network_id': 'e4b4333a-55b9-480d-9e19-8b53f5a97a5c', 'ip_version': 4, 'cidr': '200.78.130.64/26', 'allocation_pools': [{'start': '200.78.130.66', 'end': '200.78.130.126'}], 'gateway_ip': '200.78.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.78.130.66', 'tags': [], 'project_id': '1b6ae6e97523460885ded848ef110dbb'}} 2025-08-25 23:33:56,405 - INFO - Created VN ctest-vn1-60582607 2025-08-25 23:33:56,460 - DEBUG - VN ctest-vn1-60582607 UUID is e4b4333a-55b9-480d-9e19-8b53f5a97a5c 2025-08-25 23:33:56,785 - DEBUG - Response for create_port : {'port': {'name': '3dc4cc5f-0bb0-4139-88c0-651406e3d7ff', 'id': '3dc4cc5f-0bb0-4139-88c0-651406e3d7ff', 'tenant_id': '1b6ae6e97523460885ded848ef110dbb', 'network_id': 'e4b4333a-55b9-480d-9e19-8b53f5a97a5c', 'mac_address': '02:3d:c4:cc:5f:0b', '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': '54.39.175.69', 'subnet_id': '754a74f5-eb52-41ad-8f74-5dda682c37ae'}], 'security_groups': ['5b8628ae-92d5-482d-a689-82a4e145ac30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b6ae6e97523460885ded848ef110dbb'}} 2025-08-25 23:33:56,971 - DEBUG - Response for create_port : {'port': {'name': '4a8640cf-7e59-485c-a7b2-e5c36fc20c85', 'id': '4a8640cf-7e59-485c-a7b2-e5c36fc20c85', 'tenant_id': '1b6ae6e97523460885ded848ef110dbb', 'network_id': 'e4b4333a-55b9-480d-9e19-8b53f5a97a5c', 'mac_address': '02:4a:86:40:cf:7e', '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.78.130.69', 'subnet_id': '37273248-f3a9-4ce3-9ca3-d16449cb3448'}], 'security_groups': ['5b8628ae-92d5-482d-a689-82a4e145ac30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b6ae6e97523460885ded848ef110dbb'}} 2025-08-25 23:33:57,027 - DEBUG - Services list from nova: [, , ] 2025-08-25 23:33:57,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3930-1) 2025-08-25 23:33:57,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3930-1) 2025-08-25 23:33:57,756 - INFO - Waiting for VM ctest-vn1-vm1-70399323 to be up.. 2025-08-25 23:33:57,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 23:34:02,887 - DEBUG - VM is in ACTIVE state now 2025-08-25 23:34:02,887 - INFO - VM name : ctest-vn1-vm1-70399323 2025-08-25 23:34:02,971 - DEBUG - VM ctest-vn1-vm1-70399323 ID is 4244c35b-9117-4794-990f-1bcfde7b02de 2025-08-25 23:34:02,991 - DEBUG - VM ctest-vn1-vm1-70399323 launched on Node cn-jenkins-deploy-platform-ansible-os-3930-1 2025-08-25 23:34:03,071 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4244c35b-9117-4794-990f-1bcfde7b02de 2025-08-25 23:34:03,082 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3dc4cc5f-0bb0-4139-88c0-651406e3d7ff 2025-08-25 23:34:06,359 - 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 1025ms') 2025-08-25 23:34:06,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70399323 failed! 2025-08-25 23:34:06,416 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16036184:ctest-vn1-60582607 is 54.39.175.65 and allocation pool is NOT set 2025-08-25 23:34:06,416 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16036184:ctest-vn1-60582607 is 200.78.130.65 and allocation pool is NOT set 2025-08-25 23:34:10,484 - 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=9.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 9.532/9.532/9.532/0.000 ms') 2025-08-25 23:34:10,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70399323 passed 2025-08-25 23:34:10,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:10,640 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70399323, IP 54.39.175.69, Port 22 2025-08-25 23:34:10,799 - DEBUG - VM ctest-vn1-vm1-70399323 is ready for SSH connections 2025-08-25 23:34:10,799 - INFO - Waiting for VM ctest-vn1-vm2-58521861 to be up.. 2025-08-25 23:34:10,880 - DEBUG - VM is in ACTIVE state now 2025-08-25 23:34:10,880 - INFO - VM name : ctest-vn1-vm2-58521861 2025-08-25 23:34:10,962 - DEBUG - VM ctest-vn1-vm2-58521861 ID is 9ce72b69-07e9-4c28-af12-a62c8fc04da4 2025-08-25 23:34:10,963 - DEBUG - VM ctest-vn1-vm2-58521861 launched on Node cn-jenkins-deploy-platform-ansible-os-3930-1 2025-08-25 23:34:11,060 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9ce72b69-07e9-4c28-af12-a62c8fc04da4 2025-08-25 23:34:11,070 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4a8640cf-7e59-485c-a7b2-e5c36fc20c85 2025-08-25 23:34:12,305 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/1.615/2.798/1.182 ms') 2025-08-25 23:34:12,305 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58521861 passed 2025-08-25 23:34:12,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:12,460 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58521861, IP 200.78.130.69, Port 22 2025-08-25 23:34:12,615 - DEBUG - VM ctest-vn1-vm2-58521861 is ready for SSH connections 2025-08-25 23:34:12,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:12,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:12,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 23:34:12,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.39.175.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-25 23:34:12,616 - DEBUG - ping -s 56 -c 3 -W 1 54.39.175.69 2025-08-25 23:34:15,575 - DEBUG - PING 54.39.175.69 (54.39.175.69): 56 data bytes 64 bytes from 54.39.175.69: seq=0 ttl=63 time=3.403 ms 64 bytes from 54.39.175.69: seq=1 ttl=63 time=0.808 ms 64 bytes from 54.39.175.69: seq=2 ttl=63 time=0.908 ms --- 54.39.175.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.706/3.403 ms 2025-08-25 23:34:15,575 - INFO - Ping to IP 54.39.175.69 from VM ctest-vn1-vm2-58521861 passed 2025-08-25 23:34:15,575 - INFO - Detaching port 4a8640cf-7e59-485c-a7b2-e5c36fc20c85 from VM ctest-vn1-vm2-58521861 2025-08-25 23:34:15,627 - INFO - Deleting VM ctest-vn1-vm2-58521861 2025-08-25 23:34:15,709 - INFO - Detaching port 3dc4cc5f-0bb0-4139-88c0-651406e3d7ff from VM ctest-vn1-vm1-70399323 2025-08-25 23:34:15,742 - INFO - Deleting VM ctest-vn1-vm1-70399323 2025-08-25 23:34:16,018 - DEBUG - Response for delete_port : () 2025-08-25 23:34:16,218 - DEBUG - Response for delete_port : () 2025-08-25 23:34:16,219 - INFO - Deleting VN ctest-vn1-60582607 2025-08-25 23:34:16,386 - DEBUG - Response for deleting network () 2025-08-25 23:34:16,652 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 23:34:16,653 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-25 23:34:16,653 - INFO - -------------------------------------------------------------------------------- 2025-08-25 23:34:17,381 - INFO - Deleted project: ctest-TestPorts-16036184, ID : 1b6ae6e9-7523-4608-85de-d848ef110dbb