2025-03-27 13:37:34,026 - INFO - Domain Default found not creating 2025-03-27 13:37:34,194 - INFO - Project ctest-TestRoutersBasic-34650371 not found, creating it 2025-03-27 13:37:34,696 - INFO - Created Project:ctest-TestRoutersBasic-34650371, ID : a04a09d5-5cbb-4529-b6d4-aa8ce3e40f39 2025-03-27 13:37:36,283 - INFO - ================================================================================ 2025-03-27 13:37:36,283 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-27 13:37:36,284 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-03-27 13:37:36,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.5': '0'}} with 2025-03-27 13:37:36,544 - INFO - Initial checks done. Running the testcase now 2025-03-27 13:37:36,544 - INFO - 2025-03-27 13:37:37,335 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34650371 2025-03-27 13:37:37,433 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34650371 2025-03-27 13:37:37,757 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34650371', 'default']} 2025-03-27 13:37:38,382 - DEBUG - Response for create_network : {'network': {'id': '27495954-4738-498b-aa70-7a7040a6a830', 'name': 'ctest-vn-39932423', 'tenant_id': 'a04a09d55cbb4529b6d4aa8ce3e40f39', 'project_id': 'a04a09d55cbb4529b6d4aa8ce3e40f39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34650371', 'ctest-vn-39932423'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:37:38,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '047cbc8e-5eca-4e4d-8faf-ef95c0243c88', 'name': '', 'tenant_id': 'a04a09d55cbb4529b6d4aa8ce3e40f39', 'network_id': '27495954-4738-498b-aa70-7a7040a6a830', 'ip_version': 4, 'cidr': '98.225.87.64/26', 'allocation_pools': [{'start': '98.225.87.66', 'end': '98.225.87.126'}], 'gateway_ip': '98.225.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.225.87.66', 'tags': [], 'project_id': 'a04a09d55cbb4529b6d4aa8ce3e40f39'}} 2025-03-27 13:37:38,568 - INFO - Created VN ctest-vn-39932423 2025-03-27 13:37:38,621 - DEBUG - VN ctest-vn-39932423 UUID is 27495954-4738-498b-aa70-7a7040a6a830 2025-03-27 13:37:38,991 - DEBUG - Response for create_network : {'network': {'id': 'b69e4a08-f4e8-45db-853c-85ee9efe7f7a', 'name': 'ctest-ext_vn-33704728', 'tenant_id': 'a04a09d55cbb4529b6d4aa8ce3e40f39', 'project_id': 'a04a09d55cbb4529b6d4aa8ce3e40f39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34650371', 'ctest-ext_vn-33704728'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:37:39,239 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c36db200-34a8-4521-a6d5-81f65781ae56', 'name': '', 'tenant_id': 'a04a09d55cbb4529b6d4aa8ce3e40f39', 'network_id': 'b69e4a08-f4e8-45db-853c-85ee9efe7f7a', 'ip_version': 4, 'cidr': '184.138.82.192/26', 'allocation_pools': [{'start': '184.138.82.194', 'end': '184.138.82.254'}], 'gateway_ip': '184.138.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.138.82.194', 'tags': [], 'project_id': 'a04a09d55cbb4529b6d4aa8ce3e40f39'}} 2025-03-27 13:37:39,259 - INFO - Created VN ctest-ext_vn-33704728 2025-03-27 13:37:39,313 - DEBUG - VN ctest-ext_vn-33704728 UUID is b69e4a08-f4e8-45db-853c-85ee9efe7f7a 2025-03-27 13:37:39,492 - DEBUG - Services list from nova: [, , ] 2025-03-27 13:37:40,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2971-1) 2025-03-27 13:37:41,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2971-1) 2025-03-27 13:37:42,041 - INFO - Setting gateway for router 7859b43b-7431-4d5e-8983-968f26bc6407 to network b69e4a08-f4e8-45db-853c-85ee9efe7f7a 2025-03-27 13:37:42,109 - INFO - Adding interface with subnet_id 047cbc8e-5eca-4e4d-8faf-ef95c0243c88, port_id None to router 7859b43b-7431-4d5e-8983-968f26bc6407 2025-03-27 13:37:42,766 - INFO - Waiting for VM ctest-TestRoutersBasic-34650371-11713806 to be up.. 2025-03-27 13:37:42,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 13:37:48,031 - DEBUG - VM is in ACTIVE state now 2025-03-27 13:37:48,031 - INFO - VM name : ctest-TestRoutersBasic-34650371-11713806 2025-03-27 13:37:48,116 - DEBUG - VM ctest-TestRoutersBasic-34650371-11713806 ID is dff28f7f-142a-433f-9fd1-567387c0ca08 2025-03-27 13:37:48,139 - DEBUG - VM ctest-TestRoutersBasic-34650371-11713806 launched on Node cn-jenkins-deploy-platform-ansible-os-2971-1 2025-03-27 13:37:48,229 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/dff28f7f-142a-433f-9fd1-567387c0ca08 2025-03-27 13:37:48,567 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/dff28f7f-142a-433f-9fd1-567387c0ca08 2025-03-27 13:37:48,606 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/7557667f-974a-4b5a-aa62-b89e12156027 2025-03-27 13:37:51,871 - 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 1014ms') 2025-03-27 13:37:51,872 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34650371-11713806 failed! 2025-03-27 13:37:51,933 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34650371:ctest-vn-39932423 is 98.225.87.65 and allocation pool is NOT set 2025-03-27 13:37:54,000 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.831 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.831/2.284/3.737/1.453 ms') 2025-03-27 13:37:54,000 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34650371-11713806 passed 2025-03-27 13:37:54,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:37:54,161 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34650371-11713806, IP 98.225.87.67, Port 22 2025-03-27 13:37:54,328 - DEBUG - VM ctest-TestRoutersBasic-34650371-11713806 is ready for SSH connections 2025-03-27 13:37:54,328 - INFO - Waiting for VM ctest-TestRoutersBasic-34650371-56255273 to be up.. 2025-03-27 13:37:54,433 - DEBUG - VM is in ACTIVE state now 2025-03-27 13:37:54,433 - INFO - VM name : ctest-TestRoutersBasic-34650371-56255273 2025-03-27 13:37:54,523 - DEBUG - VM ctest-TestRoutersBasic-34650371-56255273 ID is a9446ef0-cb07-434d-9b8c-8100c08a1bf1 2025-03-27 13:37:54,523 - DEBUG - VM ctest-TestRoutersBasic-34650371-56255273 launched on Node cn-jenkins-deploy-platform-ansible-os-2971-1 2025-03-27 13:37:54,605 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/a9446ef0-cb07-434d-9b8c-8100c08a1bf1 2025-03-27 13:37:54,616 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/2dd57b24-3dff-47de-9da5-ba4a95dfb01a 2025-03-27 13:37:55,871 - 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=5.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.95 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 = 1.951/3.900/5.850/1.949 ms') 2025-03-27 13:37:55,871 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34650371-56255273 passed 2025-03-27 13:37:56,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:37:56,025 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34650371-56255273, IP 184.138.82.195, Port 22 2025-03-27 13:37:56,196 - DEBUG - VM ctest-TestRoutersBasic-34650371-56255273 is ready for SSH connections 2025-03-27 13:37:56,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:37:56,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.138.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2025-03-27 13:37:56,196 - DEBUG - ping -s 56 -c 3 -W 1 184.138.82.195 2025-03-27 13:38:00,296 - DEBUG - PING 184.138.82.195 (184.138.82.195): 56 data bytes 64 bytes from 184.138.82.195: seq=0 ttl=62 time=7.332 ms 64 bytes from 184.138.82.195: seq=1 ttl=62 time=1.168 ms 64 bytes from 184.138.82.195: seq=2 ttl=62 time=1.032 ms --- 184.138.82.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/3.177/7.332 ms 2025-03-27 13:38:00,297 - INFO - Ping to IP 184.138.82.195 from VM ctest-TestRoutersBasic-34650371-11713806 passed 2025-03-27 13:38:00,297 - INFO - Deleting interface with subnet_id 047cbc8e-5eca-4e4d-8faf-ef95c0243c88, port_id None from router 7859b43b-7431-4d5e-8983-968f26bc6407 2025-03-27 13:38:00,542 - INFO - Deleting VM ctest-TestRoutersBasic-34650371-56255273 2025-03-27 13:38:00,619 - INFO - Deleting VM ctest-TestRoutersBasic-34650371-11713806 2025-03-27 13:38:00,727 - INFO - Deleting VN ctest-ext_vn-33704728 2025-03-27 13:38:00,831 - DEBUG - VN b69e4a08-f4e8-45db-853c-85ee9efe7f7a still in use: Unable to complete operation on network b69e4a08-f4e8-45db-853c-85ee9efe7f7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-233c5582-3b64-4db6-bb30-f1c4d9d5e2d4'] 2025-03-27 13:38:00,831 - WARNING - Deleting VN ctest-ext_vn-33704728 failed..Will retry 2025-03-27 13:38:02,994 - DEBUG - Response for deleting network () 2025-03-27 13:38:02,994 - INFO - Deleting VN ctest-vn-39932423 2025-03-27 13:38:03,125 - DEBUG - Response for deleting network () 2025-03-27 13:38:03,387 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 13:38:03,387 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-03-27 13:38:03,387 - INFO - -------------------------------------------------------------------------------- 2025-03-27 13:38:04,226 - INFO - Deleted project: ctest-TestRoutersBasic-34650371, ID : a04a09d5-5cbb-4529-b6d4-aa8ce3e40f39