2025-05-08 02:18:12,853 - INFO - Domain Default found not creating 2025-05-08 02:18:13,008 - INFO - Project ctest-TestRoutersBasic-96978172 not found, creating it 2025-05-08 02:18:13,447 - INFO - Created Project:ctest-TestRoutersBasic-96978172, ID : 3088fd68-2c62-4e09-92f8-6f0881eb553c 2025-05-08 02:18:14,706 - INFO - ================================================================================ 2025-05-08 02:18:14,706 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-08 02:18:14,706 - 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-08 02:18:14,962 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.18': '0'}} with 2025-05-08 02:18:14,962 - INFO - Initial checks done. Running the testcase now 2025-05-08 02:18:14,962 - INFO - 2025-05-08 02:18:15,583 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96978172 2025-05-08 02:18:15,677 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96978172 2025-05-08 02:18:16,000 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96978172', 'default']} 2025-05-08 02:18:16,293 - DEBUG - Response for create_network : {'network': {'id': 'bc56fd7a-c605-4421-877f-23da8ea168dd', 'name': 'ctest-vn-08806688', 'tenant_id': '3088fd682c624e0992f86f0881eb553c', 'project_id': '3088fd682c624e0992f86f0881eb553c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96978172', 'ctest-vn-08806688'], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:18:16,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c2c3fbc-1dea-40aa-8978-404cf6bf3ca2', 'name': '', 'tenant_id': '3088fd682c624e0992f86f0881eb553c', 'network_id': 'bc56fd7a-c605-4421-877f-23da8ea168dd', 'ip_version': 4, 'cidr': '71.67.158.64/26', 'allocation_pools': [{'start': '71.67.158.66', 'end': '71.67.158.126'}], 'gateway_ip': '71.67.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.67.158.66', 'tags': [], 'project_id': '3088fd682c624e0992f86f0881eb553c'}} 2025-05-08 02:18:16,469 - INFO - Created VN ctest-vn-08806688 2025-05-08 02:18:16,521 - DEBUG - VN ctest-vn-08806688 UUID is bc56fd7a-c605-4421-877f-23da8ea168dd 2025-05-08 02:18:16,848 - DEBUG - Response for create_network : {'network': {'id': '69639276-c4fb-4b43-b635-059bb5d9f399', 'name': 'ctest-ext_vn-01542372', 'tenant_id': '3088fd682c624e0992f86f0881eb553c', 'project_id': '3088fd682c624e0992f86f0881eb553c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96978172', 'ctest-ext_vn-01542372'], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:18:17,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0c82967-b5c0-408a-9081-6c844c2ed05e', 'name': '', 'tenant_id': '3088fd682c624e0992f86f0881eb553c', 'network_id': '69639276-c4fb-4b43-b635-059bb5d9f399', 'ip_version': 4, 'cidr': '146.215.175.0/26', 'allocation_pools': [{'start': '146.215.175.2', 'end': '146.215.175.62'}], 'gateway_ip': '146.215.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.215.175.2', 'tags': [], 'project_id': '3088fd682c624e0992f86f0881eb553c'}} 2025-05-08 02:18:17,029 - INFO - Created VN ctest-ext_vn-01542372 2025-05-08 02:18:17,081 - DEBUG - VN ctest-ext_vn-01542372 UUID is 69639276-c4fb-4b43-b635-059bb5d9f399 2025-05-08 02:18:17,286 - DEBUG - Services list from nova: [, , ] 2025-05-08 02:18:18,198 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3285-1) 2025-05-08 02:18:19,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3285-1) 2025-05-08 02:18:19,323 - INFO - Setting gateway for router eebef158-4123-4d5b-8a6c-982cc7c701c7 to network 69639276-c4fb-4b43-b635-059bb5d9f399 2025-05-08 02:18:19,403 - INFO - Adding interface with subnet_id 7c2c3fbc-1dea-40aa-8978-404cf6bf3ca2, port_id None to router eebef158-4123-4d5b-8a6c-982cc7c701c7 2025-05-08 02:18:19,730 - INFO - Waiting for VM ctest-TestRoutersBasic-96978172-81120641 to be up.. 2025-05-08 02:18:19,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-08 02:18:25,013 - DEBUG - VM is in ACTIVE state now 2025-05-08 02:18:25,013 - INFO - VM name : ctest-TestRoutersBasic-96978172-81120641 2025-05-08 02:18:25,095 - DEBUG - VM ctest-TestRoutersBasic-96978172-81120641 ID is ea7a1d1c-1685-463e-b438-52f2f7993f60 2025-05-08 02:18:25,114 - DEBUG - VM ctest-TestRoutersBasic-96978172-81120641 launched on Node cn-jenkins-deploy-platform-ansible-os-3285-1 2025-05-08 02:18:25,189 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ea7a1d1c-1685-463e-b438-52f2f7993f60 2025-05-08 02:18:25,452 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ea7a1d1c-1685-463e-b438-52f2f7993f60 2025-05-08 02:18:25,482 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bf912f04-13c0-48f5-bc49-f339bfd7ab31 2025-05-08 02:18:28,744 - 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 1008ms') 2025-05-08 02:18:28,744 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96978172-81120641 failed! 2025-05-08 02:18:28,800 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96978172:ctest-vn-08806688 is 71.67.158.65 and allocation pool is NOT set 2025-05-08 02:18:30,855 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.453/1.697/2.941/1.244 ms') 2025-05-08 02:18:30,855 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96978172-81120641 passed 2025-05-08 02:18:31,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:18:31,005 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96978172-81120641, IP 71.67.158.67, Port 22 2025-05-08 02:18:31,156 - DEBUG - VM ctest-TestRoutersBasic-96978172-81120641 is ready for SSH connections 2025-05-08 02:18:31,156 - INFO - Waiting for VM ctest-TestRoutersBasic-96978172-34013782 to be up.. 2025-05-08 02:18:31,229 - DEBUG - VM is in ACTIVE state now 2025-05-08 02:18:31,229 - INFO - VM name : ctest-TestRoutersBasic-96978172-34013782 2025-05-08 02:18:31,303 - DEBUG - VM ctest-TestRoutersBasic-96978172-34013782 ID is d2a7c7e5-8109-49ce-8b66-12458a382859 2025-05-08 02:18:31,304 - DEBUG - VM ctest-TestRoutersBasic-96978172-34013782 launched on Node cn-jenkins-deploy-platform-ansible-os-3285-1 2025-05-08 02:18:31,371 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d2a7c7e5-8109-49ce-8b66-12458a382859 2025-05-08 02:18:31,378 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/40a8bcba-cfec-4a97-9a0a-6600c8f381aa 2025-05-08 02:18:32,621 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.539/2.700/1.161 ms') 2025-05-08 02:18:32,621 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96978172-34013782 passed 2025-05-08 02:18:32,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:18:32,769 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96978172-34013782, IP 146.215.175.3, Port 22 2025-05-08 02:18:32,920 - DEBUG - VM ctest-TestRoutersBasic-96978172-34013782 is ready for SSH connections 2025-05-08 02:18:32,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:18:32,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.215.175.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-05-08 02:18:32,920 - DEBUG - ping -s 56 -c 3 -W 1 146.215.175.3 2025-05-08 02:18:36,580 - DEBUG - PING 146.215.175.3 (146.215.175.3): 56 data bytes 64 bytes from 146.215.175.3: seq=0 ttl=62 time=4.289 ms 64 bytes from 146.215.175.3: seq=1 ttl=62 time=0.923 ms 64 bytes from 146.215.175.3: seq=2 ttl=62 time=1.445 ms --- 146.215.175.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/2.219/4.289 ms 2025-05-08 02:18:36,581 - INFO - Ping to IP 146.215.175.3 from VM ctest-TestRoutersBasic-96978172-81120641 passed 2025-05-08 02:18:36,581 - INFO - Deleting interface with subnet_id 7c2c3fbc-1dea-40aa-8978-404cf6bf3ca2, port_id None from router eebef158-4123-4d5b-8a6c-982cc7c701c7 2025-05-08 02:18:36,775 - INFO - Deleting VM ctest-TestRoutersBasic-96978172-34013782 2025-05-08 02:18:36,838 - INFO - Deleting VM ctest-TestRoutersBasic-96978172-81120641 2025-05-08 02:18:36,936 - INFO - Deleting VN ctest-ext_vn-01542372 2025-05-08 02:18:37,002 - DEBUG - VN 69639276-c4fb-4b43-b635-059bb5d9f399 still in use: Unable to complete operation on network 69639276-c4fb-4b43-b635-059bb5d9f399. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e214b193-5e13-48f7-99ec-b8982e6b7145'] 2025-05-08 02:18:37,002 - WARNING - Deleting VN ctest-ext_vn-01542372 failed..Will retry 2025-05-08 02:18:39,118 - DEBUG - Response for deleting network () 2025-05-08 02:18:39,118 - INFO - Deleting VN ctest-vn-08806688 2025-05-08 02:18:39,232 - DEBUG - Response for deleting network () 2025-05-08 02:18:39,490 - DEBUG - No XMPP flaps were noticed during the test 2025-05-08 02:18:39,490 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-05-08 02:18:39,490 - INFO - -------------------------------------------------------------------------------- 2025-05-08 02:18:40,123 - INFO - Deleted project: ctest-TestRoutersBasic-96978172, ID : 3088fd68-2c62-4e09-92f8-6f0881eb553c