2025-10-08 16:42:34,134 - INFO - Domain Default found not creating 2025-10-08 16:42:34,288 - INFO - Project ctest-TestRoutersBasic-10521337 not found, creating it 2025-10-08 16:42:34,857 - INFO - Created Project:ctest-TestRoutersBasic-10521337, ID : f23f7e84-45ab-4377-889f-9ed1eb659173 2025-10-08 16:42:36,223 - INFO - ================================================================================ 2025-10-08 16:42:36,223 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-08 16:42:36,223 - 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-08 16:42:37,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.192': '0', '10.20.0.19': '0'}, '10.0.0.19': {'10.20.0.192': '0', '10.20.0.19': '0'}} with 2025-10-08 16:42:37,495 - INFO - Initial checks done. Running the testcase now 2025-10-08 16:42:37,495 - INFO - 2025-10-08 16:42:38,198 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10521337 2025-10-08 16:42:38,257 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10521337 2025-10-08 16:42:38,596 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10521337', 'default']} 2025-10-08 16:42:39,038 - DEBUG - Response for create_network : {'network': {'id': 'b8e9e9d7-7687-4499-b462-56fc8f9dd455', 'name': 'ctest-vn-61333659', 'tenant_id': 'f23f7e8445ab4377889f9ed1eb659173', 'project_id': 'f23f7e8445ab4377889f9ed1eb659173', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10521337', 'ctest-vn-61333659'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:42:39,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '380c462f-582d-4f5d-8c82-3138d7f7253d', 'name': '', 'tenant_id': 'f23f7e8445ab4377889f9ed1eb659173', 'network_id': 'b8e9e9d7-7687-4499-b462-56fc8f9dd455', 'ip_version': 4, 'cidr': '61.44.192.64/26', 'allocation_pools': [{'start': '61.44.192.66', 'end': '61.44.192.126'}], 'gateway_ip': '61.44.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.44.192.66', 'tags': [], 'project_id': 'f23f7e8445ab4377889f9ed1eb659173'}} 2025-10-08 16:42:39,622 - INFO - Created VN ctest-vn-61333659 2025-10-08 16:42:39,638 - DEBUG - VN ctest-vn-61333659 UUID is b8e9e9d7-7687-4499-b462-56fc8f9dd455 2025-10-08 16:42:40,173 - DEBUG - Response for create_network : {'network': {'id': 'c8fb0c39-7168-4088-995b-4c8c3cecf447', 'name': 'ctest-ext_vn-05518398', 'tenant_id': 'f23f7e8445ab4377889f9ed1eb659173', 'project_id': 'f23f7e8445ab4377889f9ed1eb659173', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10521337', 'ctest-ext_vn-05518398'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:42:40,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '82896c5e-80d8-4610-8977-3452c65f0e10', 'name': '', 'tenant_id': 'f23f7e8445ab4377889f9ed1eb659173', 'network_id': 'c8fb0c39-7168-4088-995b-4c8c3cecf447', 'ip_version': 4, 'cidr': '207.16.98.128/26', 'allocation_pools': [{'start': '207.16.98.130', 'end': '207.16.98.190'}], 'gateway_ip': '207.16.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.16.98.130', 'tags': [], 'project_id': 'f23f7e8445ab4377889f9ed1eb659173'}} 2025-10-08 16:42:40,488 - INFO - Created VN ctest-ext_vn-05518398 2025-10-08 16:42:40,503 - DEBUG - VN ctest-ext_vn-05518398 UUID is c8fb0c39-7168-4088-995b-4c8c3cecf447 2025-10-08 16:42:40,658 - DEBUG - Services list from nova: [, , , ] 2025-10-08 16:42:41,697 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-1) 2025-10-08 16:42:43,145 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-2) 2025-10-08 16:42:43,256 - INFO - Setting gateway for router 07e080c6-9499-4ac0-9730-2bca346d39c2 to network c8fb0c39-7168-4088-995b-4c8c3cecf447 2025-10-08 16:42:43,345 - INFO - Adding interface with subnet_id 380c462f-582d-4f5d-8c82-3138d7f7253d, port_id None to router 07e080c6-9499-4ac0-9730-2bca346d39c2 2025-10-08 16:42:44,035 - INFO - Waiting for VM ctest-TestRoutersBasic-10521337-07426417 to be up.. 2025-10-08 16:42:44,208 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:42:44,208 - INFO - VM name : ctest-TestRoutersBasic-10521337-07426417 2025-10-08 16:42:44,364 - DEBUG - VM ctest-TestRoutersBasic-10521337-07426417 ID is 27732c60-66c3-4851-b171-cc7b1abca33e 2025-10-08 16:42:44,399 - DEBUG - VM ctest-TestRoutersBasic-10521337-07426417 launched on Node an-jenkins-deploy-platform-ansible-os-4239-1 2025-10-08 16:42:44,569 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/27732c60-66c3-4851-b171-cc7b1abca33e 2025-10-08 16:42:45,315 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/27732c60-66c3-4851-b171-cc7b1abca33e 2025-10-08 16:42:45,367 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/83a33fbf-4f03-41d1-90cb-9989db21fb16 2025-10-08 16:42:48,566 - 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 1005ms') 2025-10-08 16:42:48,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10521337-07426417 failed! 2025-10-08 16:42:48,582 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10521337:ctest-vn-61333659 is 61.44.192.65 and allocation pool is NOT set 2025-10-08 16:42:52,664 - 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 1009ms') 2025-10-08 16:42:52,664 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10521337-07426417 failed! 2025-10-08 16:42:52,682 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10521337:ctest-vn-61333659 is 61.44.192.65 and allocation pool is NOT set 2025-10-08 16:42:54,748 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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 = 1.690/3.523/5.357/1.833 ms') 2025-10-08 16:42:54,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10521337-07426417 passed 2025-10-08 16:42:54,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:42:54,818 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10521337-07426417, IP 61.44.192.67, Port 22 2025-10-08 16:42:54,885 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-08 16:42:54,968 - DEBUG - VM ctest-TestRoutersBasic-10521337-07426417 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 16:42:59,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:42:59,969 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10521337-07426417, IP 61.44.192.67, Port 22 2025-10-08 16:43:00,137 - DEBUG - VM ctest-TestRoutersBasic-10521337-07426417 is ready for SSH connections 2025-10-08 16:43:00,138 - INFO - Waiting for VM ctest-TestRoutersBasic-10521337-94999753 to be up.. 2025-10-08 16:43:00,253 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:43:00,253 - INFO - VM name : ctest-TestRoutersBasic-10521337-94999753 2025-10-08 16:43:00,348 - DEBUG - VM ctest-TestRoutersBasic-10521337-94999753 ID is ed1dd622-ca6e-4082-881b-3864d35f1739 2025-10-08 16:43:00,348 - DEBUG - VM ctest-TestRoutersBasic-10521337-94999753 launched on Node an-jenkins-deploy-platform-ansible-os-4239-2 2025-10-08 16:43:00,424 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ed1dd622-ca6e-4082-881b-3864d35f1739 2025-10-08 16:43:00,435 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d3f145df-50f6-4ebc-bdea-86e14b25b640 2025-10-08 16:43:01,616 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/1.664/2.826/1.162 ms') 2025-10-08 16:43:01,616 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10521337-94999753 passed 2025-10-08 16:43:01,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:43:01,696 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10521337-94999753, IP 207.16.98.131, Port 22 2025-10-08 16:43:01,868 - DEBUG - VM ctest-TestRoutersBasic-10521337-94999753 is ready for SSH connections 2025-10-08 16:43:01,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:43:01,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.16.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 16:43:01,868 - DEBUG - ping -s 56 -c 3 -W 1 207.16.98.131 2025-10-08 16:43:05,573 - DEBUG - PING 207.16.98.131 (207.16.98.131): 56 data bytes 64 bytes from 207.16.98.131: seq=0 ttl=62 time=9.140 ms 64 bytes from 207.16.98.131: seq=1 ttl=62 time=1.373 ms 64 bytes from 207.16.98.131: seq=2 ttl=62 time=1.634 ms --- 207.16.98.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.373/4.049/9.140 ms 2025-10-08 16:43:05,574 - INFO - Ping to IP 207.16.98.131 from VM ctest-TestRoutersBasic-10521337-07426417 passed 2025-10-08 16:43:05,574 - INFO - Deleting interface with subnet_id 380c462f-582d-4f5d-8c82-3138d7f7253d, port_id None from router 07e080c6-9499-4ac0-9730-2bca346d39c2 2025-10-08 16:43:06,083 - INFO - Deleting VM ctest-TestRoutersBasic-10521337-94999753 2025-10-08 16:43:06,176 - INFO - Deleting VM ctest-TestRoutersBasic-10521337-07426417 2025-10-08 16:43:06,289 - INFO - Deleting VN ctest-ext_vn-05518398 2025-10-08 16:43:06,504 - DEBUG - VN c8fb0c39-7168-4088-995b-4c8c3cecf447 still in use: Unable to complete operation on network c8fb0c39-7168-4088-995b-4c8c3cecf447. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8fbaea3b-095f-4506-8d9a-3a4665a02804'] 2025-10-08 16:43:06,505 - WARNING - Deleting VN ctest-ext_vn-05518398 failed..Will retry 2025-10-08 16:43:08,711 - DEBUG - Response for deleting network () 2025-10-08 16:43:08,711 - INFO - Deleting VN ctest-vn-61333659 2025-10-08 16:43:08,901 - DEBUG - Response for deleting network () 2025-10-08 16:43:10,197 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 16:43:10,197 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2025-10-08 16:43:10,197 - INFO - -------------------------------------------------------------------------------- 2025-10-08 16:43:10,975 - INFO - Deleted project: ctest-TestRoutersBasic-10521337, ID : f23f7e84-45ab-4377-889f-9ed1eb659173