2026-09-07 02:41:48,858 - INFO - Domain Default found not creating 2026-09-07 02:41:49,036 - INFO - Project ctest-TestRoutersBasic-18793671 not found, creating it 2026-09-07 02:41:49,636 - INFO - Created Project:ctest-TestRoutersBasic-18793671, ID : aa770565-b363-46dd-b5d6-0715a0a6942c 2026-09-07 02:41:51,714 - INFO - ================================================================================ 2026-09-07 02:41:51,714 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-07 02:41:51,714 - 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 2026-09-07 02:41:53,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0', '10.20.0.29': '0'}, '10.0.0.190': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2026-09-07 02:41:53,007 - INFO - Initial checks done. Running the testcase now 2026-09-07 02:41:53,008 - INFO - 2026-09-07 02:41:54,530 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18793671 2026-09-07 02:41:54,591 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18793671 2026-09-07 02:41:54,912 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18793671', 'default']} 2026-09-07 02:41:55,395 - DEBUG - Response for create_network : {'network': {'id': '27350e8e-a2a1-4316-91df-868ca7b0d857', 'name': 'ctest-vn-72433461', 'tenant_id': 'aa770565b36346ddb5d60715a0a6942c', 'project_id': 'aa770565b36346ddb5d60715a0a6942c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18793671', 'ctest-vn-72433461'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 02:41:55,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '76927c44-2354-4ef8-a5bf-d8a856edc615', 'name': '', 'tenant_id': 'aa770565b36346ddb5d60715a0a6942c', 'network_id': '27350e8e-a2a1-4316-91df-868ca7b0d857', 'ip_version': 4, 'cidr': '218.20.191.0/26', 'allocation_pools': [{'start': '218.20.191.2', 'end': '218.20.191.62'}], 'gateway_ip': '218.20.191.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.20.191.2', 'tags': [], 'project_id': 'aa770565b36346ddb5d60715a0a6942c'}} 2026-09-07 02:41:55,746 - INFO - Created VN ctest-vn-72433461 2026-09-07 02:41:55,762 - DEBUG - VN ctest-vn-72433461 UUID is 27350e8e-a2a1-4316-91df-868ca7b0d857 2026-09-07 02:41:56,232 - DEBUG - Response for create_network : {'network': {'id': '03c37368-8aba-4517-8599-08e38d800ce7', 'name': 'ctest-ext_vn-49703511', 'tenant_id': 'aa770565b36346ddb5d60715a0a6942c', 'project_id': 'aa770565b36346ddb5d60715a0a6942c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18793671', 'ctest-ext_vn-49703511'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 02:41:56,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '02ff8b61-aa9a-4dba-acbd-b6f020efa05d', 'name': '', 'tenant_id': 'aa770565b36346ddb5d60715a0a6942c', 'network_id': '03c37368-8aba-4517-8599-08e38d800ce7', 'ip_version': 4, 'cidr': '116.102.180.192/26', 'allocation_pools': [{'start': '116.102.180.194', 'end': '116.102.180.254'}], 'gateway_ip': '116.102.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.102.180.194', 'tags': [], 'project_id': 'aa770565b36346ddb5d60715a0a6942c'}} 2026-09-07 02:41:56,532 - INFO - Created VN ctest-ext_vn-49703511 2026-09-07 02:41:56,546 - DEBUG - VN ctest-ext_vn-49703511 UUID is 03c37368-8aba-4517-8599-08e38d800ce7 2026-09-07 02:41:56,693 - DEBUG - Services list from nova: [, , , ] 2026-09-07 02:41:57,226 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6258-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6258-2) 2026-09-07 02:41:57,744 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6258-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6258-1) 2026-09-07 02:41:57,923 - INFO - Setting gateway for router c4019a2c-c95d-448d-b0d5-778054a11cd1 to network 03c37368-8aba-4517-8599-08e38d800ce7 2026-09-07 02:41:58,012 - INFO - Adding interface with subnet_id 76927c44-2354-4ef8-a5bf-d8a856edc615, port_id None to router c4019a2c-c95d-448d-b0d5-778054a11cd1 2026-09-07 02:41:58,478 - INFO - Waiting for VM ctest-TestRoutersBasic-18793671-30008190 to be up.. 2026-09-07 02:41:58,608 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:42:03,714 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:42:08,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:42:13,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:42:19,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:42:24,100 - DEBUG - VM is in ACTIVE state now 2026-09-07 02:42:24,101 - INFO - VM name : ctest-TestRoutersBasic-18793671-30008190 2026-09-07 02:42:24,189 - DEBUG - VM ctest-TestRoutersBasic-18793671-30008190 ID is 04fd226e-6018-412b-b24f-7cef826e3a45 2026-09-07 02:42:24,217 - DEBUG - VM ctest-TestRoutersBasic-18793671-30008190 launched on Node an-jenkins-deploy-platform-ansible-os-6258-2 2026-09-07 02:42:24,308 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/04fd226e-6018-412b-b24f-7cef826e3a45 2026-09-07 02:42:24,687 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/04fd226e-6018-412b-b24f-7cef826e3a45 2026-09-07 02:42:24,724 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/d53ee026-7e39-48af-8074-31914047f1f6 2026-09-07 02:42:27,905 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-09-07 02:42:27,905 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-18793671-30008190 failed! 2026-09-07 02:42:27,920 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18793671:ctest-vn-72433461 is 218.20.191.1 and allocation pool is NOT set 2026-09-07 02:42:29,980 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.15 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.475 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.475/2.314/4.154/1.839 ms') 2026-09-07 02:42:29,981 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-18793671-30008190 passed 2026-09-07 02:42:30,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:42:30,054 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18793671-30008190, IP 218.20.191.3, Port 22 2026-09-07 02:42:30,219 - DEBUG - VM ctest-TestRoutersBasic-18793671-30008190 is ready for SSH connections 2026-09-07 02:42:30,219 - INFO - Waiting for VM ctest-TestRoutersBasic-18793671-74061076 to be up.. 2026-09-07 02:42:30,312 - DEBUG - VM is in ACTIVE state now 2026-09-07 02:42:30,312 - INFO - VM name : ctest-TestRoutersBasic-18793671-74061076 2026-09-07 02:42:30,421 - DEBUG - VM ctest-TestRoutersBasic-18793671-74061076 ID is 41608be8-5b8d-468e-9ddf-3e1f45abaaca 2026-09-07 02:42:30,421 - DEBUG - VM ctest-TestRoutersBasic-18793671-74061076 launched on Node an-jenkins-deploy-platform-ansible-os-6258-1 2026-09-07 02:42:30,530 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/41608be8-5b8d-468e-9ddf-3e1f45abaaca 2026-09-07 02:42:30,543 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/1310b813-3a06-4e5e-a74b-af93c4e380f4 2026-09-07 02:42:31,744 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=9.93 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.306 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.306/5.118/9.930/4.812 ms') 2026-09-07 02:42:31,744 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-18793671-74061076 passed 2026-09-07 02:42:31,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:42:31,816 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18793671-74061076, IP 116.102.180.196, Port 22 2026-09-07 02:42:31,992 - DEBUG - VM ctest-TestRoutersBasic-18793671-74061076 is ready for SSH connections 2026-09-07 02:42:31,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:42:31,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.102.180.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-07 02:42:31,993 - DEBUG - ping -s 56 -c 3 -W 1 116.102.180.196 2026-09-07 02:42:34,876 - DEBUG - PING 116.102.180.196 (116.102.180.196): 56 data bytes 64 bytes from 116.102.180.196: seq=0 ttl=62 time=7.246 ms 64 bytes from 116.102.180.196: seq=1 ttl=62 time=1.495 ms 64 bytes from 116.102.180.196: seq=2 ttl=62 time=1.475 ms --- 116.102.180.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.475/3.405/7.246 ms 2026-09-07 02:42:34,877 - INFO - Ping to IP 116.102.180.196 from VM ctest-TestRoutersBasic-18793671-30008190 passed 2026-09-07 02:42:34,877 - INFO - Deleting interface with subnet_id 76927c44-2354-4ef8-a5bf-d8a856edc615, port_id None from router c4019a2c-c95d-448d-b0d5-778054a11cd1 2026-09-07 02:42:35,313 - INFO - Deleting VM ctest-TestRoutersBasic-18793671-74061076 2026-09-07 02:42:35,511 - INFO - Deleting VM ctest-TestRoutersBasic-18793671-30008190 2026-09-07 02:42:35,691 - INFO - Deleting VN ctest-ext_vn-49703511 2026-09-07 02:42:35,815 - DEBUG - VN 03c37368-8aba-4517-8599-08e38d800ce7 still in use: Unable to complete operation on network 03c37368-8aba-4517-8599-08e38d800ce7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c29c952-aa12-4390-aedf-2e6f0c182ae9'] 2026-09-07 02:42:35,815 - WARNING - Deleting VN ctest-ext_vn-49703511 failed..Will retry 2026-09-07 02:42:38,131 - DEBUG - Response for deleting network () 2026-09-07 02:42:38,131 - INFO - Deleting VN ctest-vn-72433461 2026-09-07 02:42:38,307 - DEBUG - Response for deleting network () 2026-09-07 02:42:39,606 - DEBUG - No XMPP flaps were noticed during the test 2026-09-07 02:42:39,606 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:48] 2026-09-07 02:42:39,606 - INFO - -------------------------------------------------------------------------------- 2026-09-07 02:42:40,507 - INFO - Deleted project: ctest-TestRoutersBasic-18793671, ID : aa770565-b363-46dd-b5d6-0715a0a6942c