2025-09-11 14:13:31,456 - INFO - Domain Default found not creating 2025-09-11 14:13:31,633 - INFO - Project ctest-TestPorts-48368513 not found, creating it 2025-09-11 14:13:32,127 - INFO - Created Project:ctest-TestPorts-48368513, ID : a0c08cdd-8a4a-4567-8017-103df2e4d7c1 2025-09-11 14:13:33,861 - INFO - ================================================================================ 2025-09-11 14:13:33,862 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 14:13:33,862 - 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-11 14:13:34,133 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-09-11 14:13:34,133 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:13:34,133 - INFO - 2025-09-11 14:13:34,802 - DEBUG - Response for create_network : {'network': {'id': 'c6c3f524-0db8-4085-bf38-4b48499adb74', 'name': 'ctest-vn-60325493', 'tenant_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'project_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48368513', 'ctest-vn-60325493'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:13:35,028 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0626848-ab49-43d3-b342-e8f9be316344', 'name': '', 'tenant_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'network_id': 'c6c3f524-0db8-4085-bf38-4b48499adb74', 'ip_version': 4, 'cidr': '107.121.180.0/26', 'allocation_pools': [{'start': '107.121.180.2', 'end': '107.121.180.62'}], 'gateway_ip': '107.121.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.121.180.2', 'tags': [], 'project_id': 'a0c08cdd8a4a45678017103df2e4d7c1'}} 2025-09-11 14:13:35,054 - INFO - Created VN ctest-vn-60325493 2025-09-11 14:13:35,107 - DEBUG - VN ctest-vn-60325493 UUID is c6c3f524-0db8-4085-bf38-4b48499adb74 2025-09-11 14:13:35,237 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48368513', 'ctest-vmi-25288347']} 2025-09-11 14:13:35,505 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25288347', 'id': '7beb2146-f643-45de-9b04-6e33268539f7', 'tenant_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'network_id': 'c6c3f524-0db8-4085-bf38-4b48499adb74', 'mac_address': '02:7b:eb:21:46:f6', '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': '107.121.180.3', 'subnet_id': 'f0626848-ab49-43d3-b342-e8f9be316344'}], 'security_groups': ['b848fad4-c24c-4f6b-9d6c-d6eb011d85d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a0c08cdd8a4a45678017103df2e4d7c1'}} 2025-09-11 14:13:35,505 - DEBUG - Created port 7beb2146-f643-45de-9b04-6e33268539f7 2025-09-11 14:13:35,611 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7beb2146-f643-45de-9b04-6e33268539f7 2025-09-11 14:13:35,941 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7beb2146-f643-45de-9b04-6e33268539f7 2025-09-11 14:13:35,975 - INFO - VMI 7beb2146-f643-45de-9b04-6e33268539f7 verification in API Server passed 2025-09-11 14:13:36,094 - DEBUG - Response for delete_port : () 2025-09-11 14:13:36,095 - INFO - Deleted port 7beb2146-f643-45de-9b04-6e33268539f7 2025-09-11 14:13:36,095 - INFO - Deleting VN ctest-vn-60325493 2025-09-11 14:13:36,209 - DEBUG - Response for deleting network () 2025-09-11 14:13:36,469 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 14:13:36,469 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-11 14:13:36,469 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:13:36,471 - INFO - ================================================================================ 2025-09-11 14:13:36,471 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 14:13:36,472 - 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-11 14:13:36,762 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-09-11 14:13:36,762 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:13:36,762 - INFO - 2025-09-11 14:13:37,002 - DEBUG - Response for create_network : {'network': {'id': '8b63912a-e4f6-4193-95ef-0d277aab7ca4', 'name': 'ctest-vn1-98419109', 'tenant_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'project_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48368513', 'ctest-vn1-98419109'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:13:37,204 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b73c316-5a60-451f-876d-be7d6f69dfbf', 'name': '', 'tenant_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'network_id': '8b63912a-e4f6-4193-95ef-0d277aab7ca4', 'ip_version': 4, 'cidr': '106.26.184.192/26', 'allocation_pools': [{'start': '106.26.184.194', 'end': '106.26.184.254'}], 'gateway_ip': '106.26.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.26.184.194', 'tags': [], 'project_id': 'a0c08cdd8a4a45678017103df2e4d7c1'}} 2025-09-11 14:13:37,404 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a00e95c9-b59c-48ae-b73a-794a9c71319e', 'name': '', 'tenant_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'network_id': '8b63912a-e4f6-4193-95ef-0d277aab7ca4', 'ip_version': 4, 'cidr': '99.77.229.64/26', 'allocation_pools': [{'start': '99.77.229.66', 'end': '99.77.229.126'}], 'gateway_ip': '99.77.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.77.229.66', 'tags': [], 'project_id': 'a0c08cdd8a4a45678017103df2e4d7c1'}} 2025-09-11 14:13:37,432 - INFO - Created VN ctest-vn1-98419109 2025-09-11 14:13:37,487 - DEBUG - VN ctest-vn1-98419109 UUID is 8b63912a-e4f6-4193-95ef-0d277aab7ca4 2025-09-11 14:13:37,907 - DEBUG - Response for create_port : {'port': {'name': 'af73b53c-1b11-470f-9921-a3ee4cd1ab05', 'id': 'af73b53c-1b11-470f-9921-a3ee4cd1ab05', 'tenant_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'network_id': '8b63912a-e4f6-4193-95ef-0d277aab7ca4', 'mac_address': '02:af:73:b5:3c:1b', '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': '106.26.184.197', 'subnet_id': '1b73c316-5a60-451f-876d-be7d6f69dfbf'}], 'security_groups': ['b848fad4-c24c-4f6b-9d6c-d6eb011d85d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a0c08cdd8a4a45678017103df2e4d7c1'}} 2025-09-11 14:13:38,136 - DEBUG - Response for create_port : {'port': {'name': '7578b999-c1d9-4903-951d-5dc9a545b581', 'id': '7578b999-c1d9-4903-951d-5dc9a545b581', 'tenant_id': 'a0c08cdd8a4a45678017103df2e4d7c1', 'network_id': '8b63912a-e4f6-4193-95ef-0d277aab7ca4', 'mac_address': '02:75:78:b9:99:c1', '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': '99.77.229.69', 'subnet_id': 'a00e95c9-b59c-48ae-b73a-794a9c71319e'}], 'security_groups': ['b848fad4-c24c-4f6b-9d6c-d6eb011d85d6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a0c08cdd8a4a45678017103df2e4d7c1'}} 2025-09-11 14:13:38,203 - DEBUG - Services list from nova: [, , ] 2025-09-11 14:13:38,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4092-1) 2025-09-11 14:13:39,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4092-1) 2025-09-11 14:13:39,338 - INFO - Waiting for VM ctest-vn1-vm1-19250803 to be up.. 2025-09-11 14:13:39,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 14:13:44,477 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:13:44,477 - INFO - VM name : ctest-vn1-vm1-19250803 2025-09-11 14:13:44,564 - DEBUG - VM ctest-vn1-vm1-19250803 ID is 06f01944-1f90-4168-8170-aad39522dab9 2025-09-11 14:13:44,585 - DEBUG - VM ctest-vn1-vm1-19250803 launched on Node cn-jenkins-deploy-platform-ansible-os-4092-1 2025-09-11 14:13:44,673 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/06f01944-1f90-4168-8170-aad39522dab9 2025-09-11 14:13:44,684 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/af73b53c-1b11-470f-9921-a3ee4cd1ab05 2025-09-11 14:13:47,937 - 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-09-11 14:13:47,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19250803 failed! 2025-09-11 14:13:47,995 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48368513:ctest-vn1-98419109 is 106.26.184.193 and allocation pool is NOT set 2025-09-11 14:13:47,996 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48368513:ctest-vn1-98419109 is 99.77.229.65 and allocation pool is NOT set 2025-09-11 14:13:52,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=2 ttl=63 time=11.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 11.438/11.438/11.438/0.000 ms') 2025-09-11 14:13:52,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19250803 passed 2025-09-11 14:13:52,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:13:52,219 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19250803, IP 106.26.184.197, Port 22 2025-09-11 14:13:52,379 - DEBUG - VM ctest-vn1-vm1-19250803 is ready for SSH connections 2025-09-11 14:13:52,379 - INFO - Waiting for VM ctest-vn1-vm2-10522147 to be up.. 2025-09-11 14:13:52,455 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:13:52,455 - INFO - VM name : ctest-vn1-vm2-10522147 2025-09-11 14:13:52,535 - DEBUG - VM ctest-vn1-vm2-10522147 ID is 0d015546-27e8-436f-b51a-4a7f6ade2b2a 2025-09-11 14:13:52,535 - DEBUG - VM ctest-vn1-vm2-10522147 launched on Node cn-jenkins-deploy-platform-ansible-os-4092-1 2025-09-11 14:13:52,605 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0d015546-27e8-436f-b51a-4a7f6ade2b2a 2025-09-11 14:13:52,613 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7578b999-c1d9-4903-951d-5dc9a545b581 2025-09-11 14:13:53,862 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.610 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.610/2.197/3.784/1.587 ms') 2025-09-11 14:13:53,862 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-10522147 passed 2025-09-11 14:13:54,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:13:54,015 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10522147, IP 99.77.229.69, Port 22 2025-09-11 14:13:54,171 - DEBUG - VM ctest-vn1-vm2-10522147 is ready for SSH connections 2025-09-11 14:13:54,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:13:54,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:13:54,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:13:54,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.26.184.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-11 14:13:54,172 - DEBUG - ping -s 56 -c 3 -W 1 106.26.184.197 2025-09-11 14:13:56,857 - DEBUG - PING 106.26.184.197 (106.26.184.197): 56 data bytes 64 bytes from 106.26.184.197: seq=0 ttl=63 time=4.844 ms 64 bytes from 106.26.184.197: seq=1 ttl=63 time=1.232 ms 64 bytes from 106.26.184.197: seq=2 ttl=63 time=0.940 ms --- 106.26.184.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.940/2.338/4.844 ms 2025-09-11 14:13:56,857 - INFO - Ping to IP 106.26.184.197 from VM ctest-vn1-vm2-10522147 passed 2025-09-11 14:13:56,857 - INFO - Detaching port 7578b999-c1d9-4903-951d-5dc9a545b581 from VM ctest-vn1-vm2-10522147 2025-09-11 14:13:56,919 - INFO - Deleting VM ctest-vn1-vm2-10522147 2025-09-11 14:13:56,999 - INFO - Detaching port af73b53c-1b11-470f-9921-a3ee4cd1ab05 from VM ctest-vn1-vm1-19250803 2025-09-11 14:13:57,039 - INFO - Deleting VM ctest-vn1-vm1-19250803 2025-09-11 14:13:57,305 - DEBUG - Response for delete_port : () 2025-09-11 14:13:57,492 - DEBUG - Response for delete_port : () 2025-09-11 14:13:57,492 - INFO - Deleting VN ctest-vn1-98419109 2025-09-11 14:13:57,653 - DEBUG - Response for deleting network () 2025-09-11 14:13:57,932 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 14:13:57,932 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-11 14:13:57,932 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:13:58,769 - INFO - Deleted project: ctest-TestPorts-48368513, ID : a0c08cdd-8a4a-4567-8017-103df2e4d7c1