2025-10-22 06:07:38,733 - INFO - Domain Default found not creating 2025-10-22 06:07:38,868 - INFO - Project ctest-TestRoutersBasic-85740713 not found, creating it 2025-10-22 06:07:39,291 - INFO - Created Project:ctest-TestRoutersBasic-85740713, ID : 1ca81a90-926a-40d9-bad2-beff7c432b6d 2025-10-22 06:07:40,650 - INFO - ================================================================================ 2025-10-22 06:07:40,650 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 06:07:40,650 - 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-10-22 06:07:40,903 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 06:07:40,903 - INFO - Initial checks done. Running the testcase now 2025-10-22 06:07:40,903 - INFO - 2025-10-22 06:07:41,590 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85740713 2025-10-22 06:07:41,685 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85740713 2025-10-22 06:07:42,005 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85740713', 'default']} 2025-10-22 06:07:42,518 - DEBUG - Response for create_network : {'network': {'id': 'b6c28a42-adeb-47c2-bb31-8da9caba4de0', 'name': 'ctest-vn-12188107', 'tenant_id': '1ca81a90926a40d9bad2beff7c432b6d', 'project_id': '1ca81a90926a40d9bad2beff7c432b6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85740713', 'ctest-vn-12188107'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:07:42,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b82a789-f657-45fb-8d88-4bb79c96608a', 'name': '', 'tenant_id': '1ca81a90926a40d9bad2beff7c432b6d', 'network_id': 'b6c28a42-adeb-47c2-bb31-8da9caba4de0', 'ip_version': 4, 'cidr': '14.8.184.0/26', 'allocation_pools': [{'start': '14.8.184.2', 'end': '14.8.184.62'}], 'gateway_ip': '14.8.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.8.184.2', 'tags': [], 'project_id': '1ca81a90926a40d9bad2beff7c432b6d'}} 2025-10-22 06:07:42,688 - INFO - Created VN ctest-vn-12188107 2025-10-22 06:07:42,741 - DEBUG - VN ctest-vn-12188107 UUID is b6c28a42-adeb-47c2-bb31-8da9caba4de0 2025-10-22 06:07:43,086 - DEBUG - Response for create_network : {'network': {'id': 'e7108228-6fa2-4ef4-97f4-85e9f86c6175', 'name': 'ctest-ext_vn-84431128', 'tenant_id': '1ca81a90926a40d9bad2beff7c432b6d', 'project_id': '1ca81a90926a40d9bad2beff7c432b6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85740713', 'ctest-ext_vn-84431128'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:07:43,290 - DEBUG - Response for create_subnet : {'subnet': {'id': '78348877-cb57-41d2-89d2-2aeb2935ebd1', 'name': '', 'tenant_id': '1ca81a90926a40d9bad2beff7c432b6d', 'network_id': 'e7108228-6fa2-4ef4-97f4-85e9f86c6175', 'ip_version': 4, 'cidr': '31.228.244.192/26', 'allocation_pools': [{'start': '31.228.244.194', 'end': '31.228.244.254'}], 'gateway_ip': '31.228.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.228.244.194', 'tags': [], 'project_id': '1ca81a90926a40d9bad2beff7c432b6d'}} 2025-10-22 06:07:43,305 - INFO - Created VN ctest-ext_vn-84431128 2025-10-22 06:07:43,357 - DEBUG - VN ctest-ext_vn-84431128 UUID is e7108228-6fa2-4ef4-97f4-85e9f86c6175 2025-10-22 06:07:43,561 - DEBUG - Services list from nova: [, , ] 2025-10-22 06:07:44,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4411-1) 2025-10-22 06:07:45,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4411-1) 2025-10-22 06:07:45,717 - INFO - Setting gateway for router 19540920-d3ad-4135-a9ee-fe891916926e to network e7108228-6fa2-4ef4-97f4-85e9f86c6175 2025-10-22 06:07:45,782 - INFO - Adding interface with subnet_id 7b82a789-f657-45fb-8d88-4bb79c96608a, port_id None to router 19540920-d3ad-4135-a9ee-fe891916926e 2025-10-22 06:07:46,095 - INFO - Waiting for VM ctest-TestRoutersBasic-85740713-67159848 to be up.. 2025-10-22 06:07:46,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 06:07:51,305 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:07:51,305 - INFO - VM name : ctest-TestRoutersBasic-85740713-67159848 2025-10-22 06:07:51,371 - DEBUG - VM ctest-TestRoutersBasic-85740713-67159848 ID is 89a888ca-fb85-4bc1-8dc0-d152172b5ff2 2025-10-22 06:07:51,390 - DEBUG - VM ctest-TestRoutersBasic-85740713-67159848 launched on Node cn-jenkins-deploy-platform-ansible-os-4411-1 2025-10-22 06:07:51,473 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/89a888ca-fb85-4bc1-8dc0-d152172b5ff2 2025-10-22 06:07:51,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/89a888ca-fb85-4bc1-8dc0-d152172b5ff2 2025-10-22 06:07:51,802 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/776328bd-9b13-4183-9e4a-9fdf3ba444fe 2025-10-22 06:07:55,046 - 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 1012ms') 2025-10-22 06:07:55,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85740713-67159848 failed! 2025-10-22 06:07:55,101 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85740713:ctest-vn-12188107 is 14.8.184.1 and allocation pool is NOT set 2025-10-22 06:07:57,164 - 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=2.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/1.547/2.612/1.064 ms') 2025-10-22 06:07:57,164 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85740713-67159848 passed 2025-10-22 06:07:57,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:57,322 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85740713-67159848, IP 14.8.184.3, Port 22 2025-10-22 06:07:57,473 - DEBUG - VM ctest-TestRoutersBasic-85740713-67159848 is ready for SSH connections 2025-10-22 06:07:57,473 - INFO - Waiting for VM ctest-TestRoutersBasic-85740713-55335109 to be up.. 2025-10-22 06:07:57,537 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:07:57,538 - INFO - VM name : ctest-TestRoutersBasic-85740713-55335109 2025-10-22 06:07:57,602 - DEBUG - VM ctest-TestRoutersBasic-85740713-55335109 ID is 086bf915-19f7-449e-a3b8-ce2f42cfae09 2025-10-22 06:07:57,602 - DEBUG - VM ctest-TestRoutersBasic-85740713-55335109 launched on Node cn-jenkins-deploy-platform-ansible-os-4411-1 2025-10-22 06:07:57,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/086bf915-19f7-449e-a3b8-ce2f42cfae09 2025-10-22 06:07:57,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/18ec9d4a-f59c-4cfa-a6ef-7b2fd052b1e2 2025-10-22 06:07:58,909 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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.463/1.668/2.874/1.205 ms') 2025-10-22 06:07:58,910 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85740713-55335109 passed 2025-10-22 06:07:59,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:59,058 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85740713-55335109, IP 31.228.244.195, Port 22 2025-10-22 06:07:59,217 - DEBUG - VM ctest-TestRoutersBasic-85740713-55335109 is ready for SSH connections 2025-10-22 06:07:59,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:07:59,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.228.244.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:07:59,218 - DEBUG - ping -s 56 -c 3 -W 1 31.228.244.195 2025-10-22 06:08:03,215 - DEBUG - PING 31.228.244.195 (31.228.244.195): 56 data bytes 64 bytes from 31.228.244.195: seq=0 ttl=62 time=5.340 ms 64 bytes from 31.228.244.195: seq=1 ttl=62 time=0.946 ms 64 bytes from 31.228.244.195: seq=2 ttl=62 time=0.996 ms --- 31.228.244.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.946/2.427/5.340 ms 2025-10-22 06:08:03,215 - INFO - Ping to IP 31.228.244.195 from VM ctest-TestRoutersBasic-85740713-67159848 passed 2025-10-22 06:08:03,215 - INFO - Deleting interface with subnet_id 7b82a789-f657-45fb-8d88-4bb79c96608a, port_id None from router 19540920-d3ad-4135-a9ee-fe891916926e 2025-10-22 06:08:03,378 - INFO - Deleting VM ctest-TestRoutersBasic-85740713-55335109 2025-10-22 06:08:03,465 - INFO - Deleting VM ctest-TestRoutersBasic-85740713-67159848 2025-10-22 06:08:03,560 - INFO - Deleting VN ctest-ext_vn-84431128 2025-10-22 06:08:03,628 - DEBUG - VN e7108228-6fa2-4ef4-97f4-85e9f86c6175 still in use: Unable to complete operation on network e7108228-6fa2-4ef4-97f4-85e9f86c6175. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2fe67fb-67fd-4d91-9070-ad4d1a6540a2'] 2025-10-22 06:08:03,628 - WARNING - Deleting VN ctest-ext_vn-84431128 failed..Will retry 2025-10-22 06:08:05,727 - DEBUG - Response for deleting network () 2025-10-22 06:08:05,728 - INFO - Deleting VN ctest-vn-12188107 2025-10-22 06:08:05,820 - DEBUG - Response for deleting network () 2025-10-22 06:08:06,074 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 06:08:06,074 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-22 06:08:06,074 - INFO - -------------------------------------------------------------------------------- 2025-10-22 06:08:06,715 - INFO - Deleted project: ctest-TestRoutersBasic-85740713, ID : 1ca81a90-926a-40d9-bad2-beff7c432b6d