2025-07-30 19:54:45,555 - INFO - Domain Default found not creating 2025-07-30 19:54:45,701 - INFO - Project ctest-TestPorts-79323846 not found, creating it 2025-07-30 19:54:46,134 - INFO - Created Project:ctest-TestPorts-79323846, ID : c54ecd5b-66f9-4b23-8567-6c6947e0f62a 2025-07-30 19:54:47,655 - INFO - ================================================================================ 2025-07-30 19:54:47,655 - INFO - STARTING TEST : test_ports_bindings 2025-07-30 19:54:47,655 - 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-07-30 19:54:47,911 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-07-30 19:54:47,911 - INFO - Initial checks done. Running the testcase now 2025-07-30 19:54:47,911 - INFO - 2025-07-30 19:54:48,440 - DEBUG - Response for create_network : {'network': {'id': 'ad360b1b-79a8-4bb7-8b63-3eb09ffc9521', 'name': 'ctest-vn-72855056', 'tenant_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'project_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79323846', 'ctest-vn-72855056'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 19:54:48,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '47a0d51b-edfb-4921-83c5-b91891f50246', 'name': '', 'tenant_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'network_id': 'ad360b1b-79a8-4bb7-8b63-3eb09ffc9521', 'ip_version': 4, 'cidr': '140.16.129.64/26', 'allocation_pools': [{'start': '140.16.129.66', 'end': '140.16.129.126'}], 'gateway_ip': '140.16.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.16.129.66', 'tags': [], 'project_id': 'c54ecd5b66f94b2385676c6947e0f62a'}} 2025-07-30 19:54:48,612 - INFO - Created VN ctest-vn-72855056 2025-07-30 19:54:48,666 - DEBUG - VN ctest-vn-72855056 UUID is ad360b1b-79a8-4bb7-8b63-3eb09ffc9521 2025-07-30 19:54:48,768 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79323846', 'ctest-vmi-79598299']} 2025-07-30 19:54:49,030 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79598299', 'id': 'ec46bee1-25cd-47ac-acd1-452b0c69efcc', 'tenant_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'network_id': 'ad360b1b-79a8-4bb7-8b63-3eb09ffc9521', 'mac_address': '02:ec:46:be:e1:25', '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.16.129.67', 'subnet_id': '47a0d51b-edfb-4921-83c5-b91891f50246'}], 'security_groups': ['522634bd-abdd-4f95-97a5-0ecae412151b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c54ecd5b66f94b2385676c6947e0f62a'}} 2025-07-30 19:54:49,030 - DEBUG - Created port ec46bee1-25cd-47ac-acd1-452b0c69efcc 2025-07-30 19:54:49,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ec46bee1-25cd-47ac-acd1-452b0c69efcc 2025-07-30 19:54:49,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ec46bee1-25cd-47ac-acd1-452b0c69efcc 2025-07-30 19:54:49,455 - INFO - VMI ec46bee1-25cd-47ac-acd1-452b0c69efcc verification in API Server passed 2025-07-30 19:54:49,547 - DEBUG - Response for delete_port : () 2025-07-30 19:54:49,547 - INFO - Deleted port ec46bee1-25cd-47ac-acd1-452b0c69efcc 2025-07-30 19:54:49,547 - INFO - Deleting VN ctest-vn-72855056 2025-07-30 19:54:49,645 - DEBUG - Response for deleting network () 2025-07-30 19:54:49,906 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 19:54:49,906 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-30 19:54:49,906 - INFO - -------------------------------------------------------------------------------- 2025-07-30 19:54:49,909 - INFO - ================================================================================ 2025-07-30 19:54:49,909 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-30 19:54:49,909 - 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-07-30 19:54:50,203 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-07-30 19:54:50,203 - INFO - Initial checks done. Running the testcase now 2025-07-30 19:54:50,203 - INFO - 2025-07-30 19:54:50,379 - DEBUG - Response for create_network : {'network': {'id': '36399265-410c-441a-abae-b0b0b723dfe5', 'name': 'ctest-vn1-31728496', 'tenant_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'project_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79323846', 'ctest-vn1-31728496'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 19:54:50,533 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c78a0f44-796f-4a9b-97b4-2abe3f3e0d1c', 'name': '', 'tenant_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'network_id': '36399265-410c-441a-abae-b0b0b723dfe5', 'ip_version': 4, 'cidr': '18.184.86.192/26', 'allocation_pools': [{'start': '18.184.86.194', 'end': '18.184.86.254'}], 'gateway_ip': '18.184.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.184.86.194', 'tags': [], 'project_id': 'c54ecd5b66f94b2385676c6947e0f62a'}} 2025-07-30 19:54:50,686 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3bc43c2-ea46-48a5-a9fd-6c332ae05771', 'name': '', 'tenant_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'network_id': '36399265-410c-441a-abae-b0b0b723dfe5', 'ip_version': 4, 'cidr': '66.2.44.192/26', 'allocation_pools': [{'start': '66.2.44.194', 'end': '66.2.44.254'}], 'gateway_ip': '66.2.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.2.44.194', 'tags': [], 'project_id': 'c54ecd5b66f94b2385676c6947e0f62a'}} 2025-07-30 19:54:50,706 - INFO - Created VN ctest-vn1-31728496 2025-07-30 19:54:50,758 - DEBUG - VN ctest-vn1-31728496 UUID is 36399265-410c-441a-abae-b0b0b723dfe5 2025-07-30 19:54:51,056 - DEBUG - Response for create_port : {'port': {'name': 'cc22ed54-7ca4-4711-85ad-dcaa3c8f02d6', 'id': 'cc22ed54-7ca4-4711-85ad-dcaa3c8f02d6', 'tenant_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'network_id': '36399265-410c-441a-abae-b0b0b723dfe5', 'mac_address': '02:cc:22:ed:54:7c', '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': '18.184.86.197', 'subnet_id': 'c78a0f44-796f-4a9b-97b4-2abe3f3e0d1c'}], 'security_groups': ['522634bd-abdd-4f95-97a5-0ecae412151b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c54ecd5b66f94b2385676c6947e0f62a'}} 2025-07-30 19:54:51,227 - DEBUG - Response for create_port : {'port': {'name': '93461206-db2b-444a-9410-01b0dddfc96f', 'id': '93461206-db2b-444a-9410-01b0dddfc96f', 'tenant_id': 'c54ecd5b66f94b2385676c6947e0f62a', 'network_id': '36399265-410c-441a-abae-b0b0b723dfe5', 'mac_address': '02:93:46:12:06:db', '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': '66.2.44.197', 'subnet_id': 'b3bc43c2-ea46-48a5-a9fd-6c332ae05771'}], 'security_groups': ['522634bd-abdd-4f95-97a5-0ecae412151b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c54ecd5b66f94b2385676c6947e0f62a'}} 2025-07-30 19:54:51,282 - DEBUG - Services list from nova: [, , ] 2025-07-30 19:54:51,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3725-1) 2025-07-30 19:54:52,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3725-1) 2025-07-30 19:54:52,045 - INFO - Waiting for VM ctest-vn1-vm1-03303928 to be up.. 2025-07-30 19:54:52,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 19:54:57,161 - DEBUG - VM is in ACTIVE state now 2025-07-30 19:54:57,161 - INFO - VM name : ctest-vn1-vm1-03303928 2025-07-30 19:54:57,240 - DEBUG - VM ctest-vn1-vm1-03303928 ID is cbfa910d-05c1-44ed-b754-2c0f413a2b53 2025-07-30 19:54:57,263 - DEBUG - VM ctest-vn1-vm1-03303928 launched on Node cn-jenkins-deploy-platform-ansible-os-3725-1. 2025-07-30 19:54:57,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cbfa910d-05c1-44ed-b754-2c0f413a2b53 2025-07-30 19:54:57,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cc22ed54-7ca4-4711-85ad-dcaa3c8f02d6 2025-07-30 19:55:00,589 - 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 1015ms') 2025-07-30 19:55:00,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03303928 failed! 2025-07-30 19:55:00,650 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79323846:ctest-vn1-31728496 is 18.184.86.193 and allocation pool is NOT set 2025-07-30 19:55:00,650 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79323846:ctest-vn1-31728496 is 66.2.44.193 and allocation pool is NOT set 2025-07-30 19:55:02,714 - 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=0.727 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.727/2.131/3.535/1.404 ms') 2025-07-30 19:55:02,714 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03303928 passed 2025-07-30 19:55:02,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:55:02,866 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03303928, IP 18.184.86.197, Port 22 2025-07-30 19:55:02,921 - 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-07-30 19:55:02,995 - DEBUG - VM ctest-vn1-vm1-03303928 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-30 19:55:07,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:55:07,996 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03303928, IP 18.184.86.197, Port 22 2025-07-30 19:55:08,153 - DEBUG - VM ctest-vn1-vm1-03303928 is ready for SSH connections 2025-07-30 19:55:08,153 - INFO - Waiting for VM ctest-vn1-vm2-16323667 to be up.. 2025-07-30 19:55:08,225 - DEBUG - VM is in ACTIVE state now 2025-07-30 19:55:08,225 - INFO - VM name : ctest-vn1-vm2-16323667 2025-07-30 19:55:08,293 - DEBUG - VM ctest-vn1-vm2-16323667 ID is cd51e22a-3454-4f4e-8a35-c4471606f929 2025-07-30 19:55:08,294 - DEBUG - VM ctest-vn1-vm2-16323667 launched on Node cn-jenkins-deploy-platform-ansible-os-3725-1. 2025-07-30 19:55:08,364 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cd51e22a-3454-4f4e-8a35-c4471606f929 2025-07-30 19:55:08,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/93461206-db2b-444a-9410-01b0dddfc96f 2025-07-30 19:55:09,606 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/1.796/3.098/1.302 ms') 2025-07-30 19:55:09,606 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-16323667 passed 2025-07-30 19:55:09,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:55:09,758 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-16323667, IP 66.2.44.197, Port 22 2025-07-30 19:55:09,913 - DEBUG - VM ctest-vn1-vm2-16323667 is ready for SSH connections 2025-07-30 19:55:09,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:55:09,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:55:09,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:55:09,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.184.86.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-30 19:55:09,914 - DEBUG - ping -s 56 -c 3 -W 1 18.184.86.197 2025-07-30 19:55:12,580 - DEBUG - PING 18.184.86.197 (18.184.86.197): 56 data bytes 64 bytes from 18.184.86.197: seq=0 ttl=63 time=16.555 ms 64 bytes from 18.184.86.197: seq=1 ttl=63 time=0.875 ms 64 bytes from 18.184.86.197: seq=2 ttl=63 time=1.012 ms --- 18.184.86.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/6.147/16.555 ms 2025-07-30 19:55:12,580 - INFO - Ping to IP 18.184.86.197 from VM ctest-vn1-vm2-16323667 passed 2025-07-30 19:55:12,580 - INFO - Detaching port 93461206-db2b-444a-9410-01b0dddfc96f from VM ctest-vn1-vm2-16323667 2025-07-30 19:55:12,627 - INFO - Deleting VM ctest-vn1-vm2-16323667 2025-07-30 19:55:12,691 - INFO - Detaching port cc22ed54-7ca4-4711-85ad-dcaa3c8f02d6 from VM ctest-vn1-vm1-03303928 2025-07-30 19:55:12,722 - INFO - Deleting VM ctest-vn1-vm1-03303928 2025-07-30 19:55:12,956 - DEBUG - Response for delete_port : () 2025-07-30 19:55:13,144 - DEBUG - Response for delete_port : () 2025-07-30 19:55:13,145 - INFO - Deleting VN ctest-vn1-31728496 2025-07-30 19:55:13,316 - DEBUG - Response for deleting network () 2025-07-30 19:55:13,584 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 19:55:13,584 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-07-30 19:55:13,584 - INFO - -------------------------------------------------------------------------------- 2025-07-30 19:55:14,259 - INFO - Deleted project: ctest-TestPorts-79323846, ID : c54ecd5b-66f9-4b23-8567-6c6947e0f62a