2025-07-09 14:16:02,847 - INFO - Domain Default found not creating 2025-07-09 14:16:03,084 - INFO - Project ctest-TestRoutersBasic-34778768 not found, creating it 2025-07-09 14:16:03,693 - INFO - Created Project:ctest-TestRoutersBasic-34778768, ID : 778e7512-3d56-47b6-89b6-f5a3652932a2 2025-07-09 14:16:05,420 - INFO - ================================================================================ 2025-07-09 14:16:05,421 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-09 14:16:05,421 - 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-07-09 14:16:05,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2025-07-09 14:16:05,705 - INFO - Initial checks done. Running the testcase now 2025-07-09 14:16:05,705 - INFO - 2025-07-09 14:16:06,551 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34778768 2025-07-09 14:16:06,652 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34778768 2025-07-09 14:16:07,000 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34778768', 'default']} 2025-07-09 14:16:07,356 - DEBUG - Response for create_network : {'network': {'id': '73f1a846-1baf-4cc8-bf88-71ab3b70e754', 'name': 'ctest-vn-78705551', 'tenant_id': '778e75123d5647b689b6f5a3652932a2', 'project_id': '778e75123d5647b689b6f5a3652932a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34778768', 'ctest-vn-78705551'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 14:16:07,538 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fee59d97-8138-4298-a87f-6ac479abcdf9', 'name': '', 'tenant_id': '778e75123d5647b689b6f5a3652932a2', 'network_id': '73f1a846-1baf-4cc8-bf88-71ab3b70e754', 'ip_version': 4, 'cidr': '146.35.36.0/26', 'allocation_pools': [{'start': '146.35.36.2', 'end': '146.35.36.62'}], 'gateway_ip': '146.35.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.35.36.2', 'tags': [], 'project_id': '778e75123d5647b689b6f5a3652932a2'}} 2025-07-09 14:16:07,560 - INFO - Created VN ctest-vn-78705551 2025-07-09 14:16:07,617 - DEBUG - VN ctest-vn-78705551 UUID is 73f1a846-1baf-4cc8-bf88-71ab3b70e754 2025-07-09 14:16:08,081 - DEBUG - Response for create_network : {'network': {'id': '7582cfc3-8ab9-415b-9f5a-60cb129ae81b', 'name': 'ctest-ext_vn-19100800', 'tenant_id': '778e75123d5647b689b6f5a3652932a2', 'project_id': '778e75123d5647b689b6f5a3652932a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34778768', 'ctest-ext_vn-19100800'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 14:16:08,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '6597ae94-a259-4ca0-9c58-237cf6f11960', 'name': '', 'tenant_id': '778e75123d5647b689b6f5a3652932a2', 'network_id': '7582cfc3-8ab9-415b-9f5a-60cb129ae81b', 'ip_version': 4, 'cidr': '172.76.80.0/26', 'allocation_pools': [{'start': '172.76.80.2', 'end': '172.76.80.62'}], 'gateway_ip': '172.76.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.76.80.2', 'tags': [], 'project_id': '778e75123d5647b689b6f5a3652932a2'}} 2025-07-09 14:16:08,364 - INFO - Created VN ctest-ext_vn-19100800 2025-07-09 14:16:08,424 - DEBUG - VN ctest-ext_vn-19100800 UUID is 7582cfc3-8ab9-415b-9f5a-60cb129ae81b 2025-07-09 14:16:08,648 - DEBUG - Services list from nova: [, , ] 2025-07-09 14:16:09,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3619-1) 2025-07-09 14:16:11,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3619-1) 2025-07-09 14:16:11,408 - INFO - Setting gateway for router 279ff91e-1715-4e02-875e-f9d65e25bdf9 to network 7582cfc3-8ab9-415b-9f5a-60cb129ae81b 2025-07-09 14:16:11,484 - INFO - Adding interface with subnet_id fee59d97-8138-4298-a87f-6ac479abcdf9, port_id None to router 279ff91e-1715-4e02-875e-f9d65e25bdf9 2025-07-09 14:16:11,807 - INFO - Waiting for VM ctest-TestRoutersBasic-34778768-50923193 to be up.. 2025-07-09 14:16:11,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 14:16:17,084 - DEBUG - VM is in ACTIVE state now 2025-07-09 14:16:17,084 - INFO - VM name : ctest-TestRoutersBasic-34778768-50923193 2025-07-09 14:16:17,183 - DEBUG - VM ctest-TestRoutersBasic-34778768-50923193 ID is e74729b0-7988-4642-8821-db70ceff84a2 2025-07-09 14:16:17,207 - DEBUG - VM ctest-TestRoutersBasic-34778768-50923193 launched on Node cn-jenkins-deploy-platform-ansible-os-3619-1 2025-07-09 14:16:17,321 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e74729b0-7988-4642-8821-db70ceff84a2 2025-07-09 14:16:17,737 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e74729b0-7988-4642-8821-db70ceff84a2 2025-07-09 14:16:17,780 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/10f1665e-3eea-4ba6-800d-9ba7fda30992 2025-07-09 14:16:21,089 - 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 1026ms') 2025-07-09 14:16:21,090 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34778768-50923193 failed! 2025-07-09 14:16:21,160 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34778768:ctest-vn-78705551 is 146.35.36.1 and allocation pool is NOT set 2025-07-09 14:16:23,237 - 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=5.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.100/3.385/5.671/2.285 ms') 2025-07-09 14:16:23,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34778768-50923193 passed 2025-07-09 14:16:23,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:16:23,425 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34778768-50923193, IP 146.35.36.3, Port 22 2025-07-09 14:16:23,615 - DEBUG - VM ctest-TestRoutersBasic-34778768-50923193 is ready for SSH connections 2025-07-09 14:16:23,616 - INFO - Waiting for VM ctest-TestRoutersBasic-34778768-52132527 to be up.. 2025-07-09 14:16:23,749 - DEBUG - VM is in ACTIVE state now 2025-07-09 14:16:23,750 - INFO - VM name : ctest-TestRoutersBasic-34778768-52132527 2025-07-09 14:16:23,895 - DEBUG - VM ctest-TestRoutersBasic-34778768-52132527 ID is b117cb8d-5ba1-4104-9a93-99b7ed782863 2025-07-09 14:16:23,895 - DEBUG - VM ctest-TestRoutersBasic-34778768-52132527 launched on Node cn-jenkins-deploy-platform-ansible-os-3619-1 2025-07-09 14:16:24,017 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b117cb8d-5ba1-4104-9a93-99b7ed782863 2025-07-09 14:16:24,032 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f37e4225-4f1d-4d74-a88d-7cfb6d1773f5 2025-07-09 14:16:25,338 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.65 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 = 2.647/3.180/3.714/0.533 ms') 2025-07-09 14:16:25,339 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34778768-52132527 passed 2025-07-09 14:16:25,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:16:25,513 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34778768-52132527, IP 172.76.80.3, Port 22 2025-07-09 14:16:25,692 - DEBUG - VM ctest-TestRoutersBasic-34778768-52132527 is ready for SSH connections 2025-07-09 14:16:25,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:16:25,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.76.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-09 14:16:25,693 - DEBUG - ping -s 56 -c 3 -W 1 172.76.80.3 2025-07-09 14:16:29,589 - DEBUG - PING 172.76.80.3 (172.76.80.3): 56 data bytes 64 bytes from 172.76.80.3: seq=0 ttl=62 time=5.842 ms 64 bytes from 172.76.80.3: seq=1 ttl=62 time=1.514 ms 64 bytes from 172.76.80.3: seq=2 ttl=62 time=2.786 ms --- 172.76.80.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.514/3.380/5.842 ms 2025-07-09 14:16:29,589 - INFO - Ping to IP 172.76.80.3 from VM ctest-TestRoutersBasic-34778768-50923193 passed 2025-07-09 14:16:29,589 - INFO - Deleting interface with subnet_id fee59d97-8138-4298-a87f-6ac479abcdf9, port_id None from router 279ff91e-1715-4e02-875e-f9d65e25bdf9 2025-07-09 14:16:29,858 - INFO - Deleting VM ctest-TestRoutersBasic-34778768-52132527 2025-07-09 14:16:29,925 - INFO - Deleting VM ctest-TestRoutersBasic-34778768-50923193 2025-07-09 14:16:30,014 - INFO - Deleting VN ctest-ext_vn-19100800 2025-07-09 14:16:30,093 - DEBUG - VN 7582cfc3-8ab9-415b-9f5a-60cb129ae81b still in use: Unable to complete operation on network 7582cfc3-8ab9-415b-9f5a-60cb129ae81b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0afe874f-9d61-4c3f-997d-bd434c681a8c'] 2025-07-09 14:16:30,093 - WARNING - Deleting VN ctest-ext_vn-19100800 failed..Will retry 2025-07-09 14:16:32,268 - DEBUG - Response for deleting network () 2025-07-09 14:16:32,268 - INFO - Deleting VN ctest-vn-78705551 2025-07-09 14:16:32,403 - DEBUG - Response for deleting network () 2025-07-09 14:16:32,701 - DEBUG - No XMPP flaps were noticed during the test
2025-07-09 14:16:32,701 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-07-09 14:16:32,701 - INFO - -------------------------------------------------------------------------------- 2025-07-09 14:16:33,943 - INFO - Deleted project: ctest-TestRoutersBasic-34778768, ID : 778e7512-3d56-47b6-89b6-f5a3652932a2