2025-05-04 14:43:30,547 - INFO - Domain Default found not creating 2025-05-04 14:43:30,669 - INFO - Project ctest-TestRoutersBasic-06461636 not found, creating it 2025-05-04 14:43:31,108 - INFO - Created Project:ctest-TestRoutersBasic-06461636, ID : eac8471a-18b3-4568-9040-936270076f10 2025-05-04 14:43:32,429 - INFO - ================================================================================ 2025-05-04 14:43:32,429 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-04 14:43:32,429 - 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-05-04 14:43:32,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-05-04 14:43:32,682 - INFO - Initial checks done. Running the testcase now 2025-05-04 14:43:32,682 - INFO - 2025-05-04 14:43:33,363 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06461636 2025-05-04 14:43:33,457 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06461636 2025-05-04 14:43:33,773 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06461636', 'default']} 2025-05-04 14:43:34,055 - DEBUG - Response for create_network : {'network': {'id': 'af9479d5-12bc-4ce9-9ded-6b5066b60f3c', 'name': 'ctest-vn-24122179', 'tenant_id': 'eac8471a18b345689040936270076f10', 'project_id': 'eac8471a18b345689040936270076f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06461636', 'ctest-vn-24122179'], 'port_security_enabled': True, 'description': ''}} 2025-05-04 14:43:34,237 - DEBUG - Response for create_subnet : {'subnet': {'id': '41cd0a12-b8ee-47ec-9944-71a6ba48166a', 'name': '', 'tenant_id': 'eac8471a18b345689040936270076f10', 'network_id': 'af9479d5-12bc-4ce9-9ded-6b5066b60f3c', 'ip_version': 4, 'cidr': '65.209.250.64/26', 'allocation_pools': [{'start': '65.209.250.66', 'end': '65.209.250.126'}], 'gateway_ip': '65.209.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.209.250.66', 'tags': [], 'project_id': 'eac8471a18b345689040936270076f10'}} 2025-05-04 14:43:34,253 - INFO - Created VN ctest-vn-24122179 2025-05-04 14:43:34,305 - DEBUG - VN ctest-vn-24122179 UUID is af9479d5-12bc-4ce9-9ded-6b5066b60f3c 2025-05-04 14:43:34,634 - DEBUG - Response for create_network : {'network': {'id': 'cab3f733-2ee2-4c4c-a441-20eba56049e3', 'name': 'ctest-ext_vn-51190451', 'tenant_id': 'eac8471a18b345689040936270076f10', 'project_id': 'eac8471a18b345689040936270076f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06461636', 'ctest-ext_vn-51190451'], 'port_security_enabled': True, 'description': ''}} 2025-05-04 14:43:34,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f36fc51-7220-4d6a-9c2f-4f596b5f379a', 'name': '', 'tenant_id': 'eac8471a18b345689040936270076f10', 'network_id': 'cab3f733-2ee2-4c4c-a441-20eba56049e3', 'ip_version': 4, 'cidr': '183.70.249.192/26', 'allocation_pools': [{'start': '183.70.249.194', 'end': '183.70.249.254'}], 'gateway_ip': '183.70.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.70.249.194', 'tags': [], 'project_id': 'eac8471a18b345689040936270076f10'}} 2025-05-04 14:43:34,815 - INFO - Created VN ctest-ext_vn-51190451 2025-05-04 14:43:34,865 - DEBUG - VN ctest-ext_vn-51190451 UUID is cab3f733-2ee2-4c4c-a441-20eba56049e3 2025-05-04 14:43:35,063 - DEBUG - Services list from nova: [, , ] 2025-05-04 14:43:36,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3261-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3261-1) 2025-05-04 14:43:37,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3261-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3261-1) 2025-05-04 14:43:37,264 - INFO - Setting gateway for router 36147f7f-5114-4295-80bb-66e6c3a3f998 to network cab3f733-2ee2-4c4c-a441-20eba56049e3 2025-05-04 14:43:37,350 - INFO - Adding interface with subnet_id 41cd0a12-b8ee-47ec-9944-71a6ba48166a, port_id None to router 36147f7f-5114-4295-80bb-66e6c3a3f998 2025-05-04 14:43:37,686 - INFO - Waiting for VM ctest-TestRoutersBasic-06461636-07170386 to be up.. 2025-05-04 14:43:37,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-04 14:43:42,885 - DEBUG - VM is in ACTIVE state now 2025-05-04 14:43:42,885 - INFO - VM name : ctest-TestRoutersBasic-06461636-07170386 2025-05-04 14:43:42,964 - DEBUG - VM ctest-TestRoutersBasic-06461636-07170386 ID is b0a71eff-9b68-4384-ad55-c64335459a25 2025-05-04 14:43:42,983 - DEBUG - VM ctest-TestRoutersBasic-06461636-07170386 launched on Node cn-jenkins-deploy-platform-ansible-os-3261-1 2025-05-04 14:43:43,063 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b0a71eff-9b68-4384-ad55-c64335459a25 2025-05-04 14:43:43,352 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b0a71eff-9b68-4384-ad55-c64335459a25 2025-05-04 14:43:43,380 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/fba52f2e-79b8-4050-a6c7-a98ffe01823e 2025-05-04 14:43:46,645 - 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 1032ms') 2025-05-04 14:43:46,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06461636-07170386 failed! 2025-05-04 14:43:46,701 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06461636:ctest-vn-24122179 is 65.209.250.65 and allocation pool is NOT set 2025-05-04 14:43:48,763 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/1.990/3.545/1.555 ms') 2025-05-04 14:43:48,763 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06461636-07170386 passed 2025-05-04 14:43:48,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-04 14:43:48,913 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06461636-07170386, IP 65.209.250.67, Port 22 2025-05-04 14:43:49,065 - DEBUG - VM ctest-TestRoutersBasic-06461636-07170386 is ready for SSH connections 2025-05-04 14:43:49,065 - INFO - Waiting for VM ctest-TestRoutersBasic-06461636-38373910 to be up.. 2025-05-04 14:43:49,134 - DEBUG - VM is in ACTIVE state now 2025-05-04 14:43:49,134 - INFO - VM name : ctest-TestRoutersBasic-06461636-38373910 2025-05-04 14:43:49,200 - DEBUG - VM ctest-TestRoutersBasic-06461636-38373910 ID is b3e6a32a-b86d-4ea5-bd0b-94789ed4afb9 2025-05-04 14:43:49,200 - DEBUG - VM ctest-TestRoutersBasic-06461636-38373910 launched on Node cn-jenkins-deploy-platform-ansible-os-3261-1 2025-05-04 14:43:49,268 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b3e6a32a-b86d-4ea5-bd0b-94789ed4afb9 2025-05-04 14:43:49,275 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/eac98a98-8d21-4bfd-88a8-85d4dc5ef3b3 2025-05-04 14:43:50,501 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.336 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.336/1.506/2.676/1.170 ms') 2025-05-04 14:43:50,502 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06461636-38373910 passed 2025-05-04 14:43:50,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-04 14:43:50,649 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06461636-38373910, IP 183.70.249.195, Port 22 2025-05-04 14:43:50,800 - DEBUG - VM ctest-TestRoutersBasic-06461636-38373910 is ready for SSH connections 2025-05-04 14:43:50,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-04 14:43:50,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.70.249.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-05-04 14:43:50,800 - DEBUG - ping -s 56 -c 3 -W 1 183.70.249.195 2025-05-04 14:43:54,506 - DEBUG - PING 183.70.249.195 (183.70.249.195): 56 data bytes 64 bytes from 183.70.249.195: seq=0 ttl=62 time=3.940 ms 64 bytes from 183.70.249.195: seq=1 ttl=62 time=0.794 ms 64 bytes from 183.70.249.195: seq=2 ttl=62 time=0.799 ms --- 183.70.249.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/1.844/3.940 ms 2025-05-04 14:43:54,506 - INFO - Ping to IP 183.70.249.195 from VM ctest-TestRoutersBasic-06461636-07170386 passed 2025-05-04 14:43:54,506 - INFO - Deleting interface with subnet_id 41cd0a12-b8ee-47ec-9944-71a6ba48166a, port_id None from router 36147f7f-5114-4295-80bb-66e6c3a3f998 2025-05-04 14:43:54,677 - INFO - Deleting VM ctest-TestRoutersBasic-06461636-38373910 2025-05-04 14:43:54,737 - INFO - Deleting VM ctest-TestRoutersBasic-06461636-07170386 2025-05-04 14:43:54,804 - INFO - Deleting VN ctest-ext_vn-51190451 2025-05-04 14:43:54,862 - DEBUG - VN cab3f733-2ee2-4c4c-a441-20eba56049e3 still in use: Unable to complete operation on network cab3f733-2ee2-4c4c-a441-20eba56049e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-662be975-d7f3-48d5-93d1-b4b3490579de'] 2025-05-04 14:43:54,862 - WARNING - Deleting VN ctest-ext_vn-51190451 failed..Will retry 2025-05-04 14:43:56,952 - DEBUG - Response for deleting network () 2025-05-04 14:43:56,952 - INFO - Deleting VN ctest-vn-24122179 2025-05-04 14:43:57,039 - DEBUG - Response for deleting network () 2025-05-04 14:43:57,294 - DEBUG - No XMPP flaps were noticed during the test 2025-05-04 14:43:57,295 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-05-04 14:43:57,295 - INFO - -------------------------------------------------------------------------------- 2025-05-04 14:43:57,951 - INFO - Deleted project: ctest-TestRoutersBasic-06461636, ID : eac8471a-18b3-4568-9040-936270076f10