2026-02-20 18:46:34,800 - INFO - Domain Default found not creating 2026-02-20 18:46:34,978 - INFO - Project ctest-TestRoutersBasic-04015121 not found, creating it 2026-02-20 18:46:35,471 - INFO - Created Project:ctest-TestRoutersBasic-04015121, ID : 0dc7e973-7ecb-4d58-9ae8-8bf7e9285ba5 2026-02-20 18:46:36,909 - INFO - ================================================================================ 2026-02-20 18:46:36,909 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-20 18:46:36,909 - 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-02-20 18:46:37,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-20 18:46:37,169 - INFO - Initial checks done. Running the testcase now 2026-02-20 18:46:37,169 - INFO - 2026-02-20 18:46:37,877 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04015121 2026-02-20 18:46:37,971 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04015121 2026-02-20 18:46:38,291 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04015121', 'default']} 2026-02-20 18:46:38,565 - DEBUG - Response for create_network : {'network': {'id': 'e774b4bc-6ffe-4c7d-a98f-d1c3ed65932b', 'name': 'ctest-vn-09596600', 'tenant_id': '0dc7e9737ecb4d589ae88bf7e9285ba5', 'project_id': '0dc7e9737ecb4d589ae88bf7e9285ba5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04015121', 'ctest-vn-09596600'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 18:46:38,744 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c501c1b-e00c-40c8-b4a3-277e86f5c781', 'name': '', 'tenant_id': '0dc7e9737ecb4d589ae88bf7e9285ba5', 'network_id': 'e774b4bc-6ffe-4c7d-a98f-d1c3ed65932b', 'ip_version': 4, 'cidr': '101.251.170.128/26', 'allocation_pools': [{'start': '101.251.170.130', 'end': '101.251.170.190'}], 'gateway_ip': '101.251.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.251.170.130', 'tags': [], 'project_id': '0dc7e9737ecb4d589ae88bf7e9285ba5'}} 2026-02-20 18:46:38,763 - INFO - Created VN ctest-vn-09596600 2026-02-20 18:46:38,815 - DEBUG - VN ctest-vn-09596600 UUID is e774b4bc-6ffe-4c7d-a98f-d1c3ed65932b 2026-02-20 18:46:39,150 - DEBUG - Response for create_network : {'network': {'id': 'cc0bc479-c81f-4f06-bd9e-f9db6ffefbec', 'name': 'ctest-ext_vn-14523965', 'tenant_id': '0dc7e9737ecb4d589ae88bf7e9285ba5', 'project_id': '0dc7e9737ecb4d589ae88bf7e9285ba5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04015121', 'ctest-ext_vn-14523965'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 18:46:39,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '29639623-2f51-45d5-85fc-00b9bed24289', 'name': '', 'tenant_id': '0dc7e9737ecb4d589ae88bf7e9285ba5', 'network_id': 'cc0bc479-c81f-4f06-bd9e-f9db6ffefbec', 'ip_version': 4, 'cidr': '215.233.231.128/26', 'allocation_pools': [{'start': '215.233.231.130', 'end': '215.233.231.190'}], 'gateway_ip': '215.233.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.233.231.130', 'tags': [], 'project_id': '0dc7e9737ecb4d589ae88bf7e9285ba5'}} 2026-02-20 18:46:39,369 - INFO - Created VN ctest-ext_vn-14523965 2026-02-20 18:46:39,419 - DEBUG - VN ctest-ext_vn-14523965 UUID is cc0bc479-c81f-4f06-bd9e-f9db6ffefbec 2026-02-20 18:46:39,625 - DEBUG - Services list from nova: [, , ] 2026-02-20 18:46:40,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5380-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5380-1) 2026-02-20 18:46:41,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5380-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5380-1) 2026-02-20 18:46:41,827 - INFO - Setting gateway for router 9699f38f-15de-414d-a570-05d15fd40e23 to network cc0bc479-c81f-4f06-bd9e-f9db6ffefbec 2026-02-20 18:46:41,908 - INFO - Adding interface with subnet_id 1c501c1b-e00c-40c8-b4a3-277e86f5c781, port_id None to router 9699f38f-15de-414d-a570-05d15fd40e23 2026-02-20 18:46:42,298 - INFO - Waiting for VM ctest-TestRoutersBasic-04015121-70282987 to be up.. 2026-02-20 18:46:42,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 18:46:47,546 - DEBUG - VM is in ACTIVE state now 2026-02-20 18:46:47,547 - INFO - VM name : ctest-TestRoutersBasic-04015121-70282987 2026-02-20 18:46:47,622 - DEBUG - VM ctest-TestRoutersBasic-04015121-70282987 ID is 082d8835-7c6c-4823-8dd7-a002003066ee 2026-02-20 18:46:47,641 - DEBUG - VM ctest-TestRoutersBasic-04015121-70282987 launched on Node cn-jenkins-deploy-platform-ansible-os-5380-1 2026-02-20 18:46:47,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/082d8835-7c6c-4823-8dd7-a002003066ee 2026-02-20 18:46:48,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/082d8835-7c6c-4823-8dd7-a002003066ee 2026-02-20 18:46:48,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fce66ac6-fc71-457c-ab0c-928e999867f0 2026-02-20 18:46:51,297 - 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 1006ms') 2026-02-20 18:46:51,297 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04015121-70282987 failed! 2026-02-20 18:46:51,351 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04015121:ctest-vn-09596600 is 101.251.170.129 and allocation pool is NOT set 2026-02-20 18:46:53,418 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.723/2.984/1.261 ms') 2026-02-20 18:46:53,418 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04015121-70282987 passed 2026-02-20 18:46:53,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 18:46:53,572 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04015121-70282987, IP 101.251.170.131, Port 22 2026-02-20 18:46:53,727 - DEBUG - VM ctest-TestRoutersBasic-04015121-70282987 is ready for SSH connections 2026-02-20 18:46:53,727 - INFO - Waiting for VM ctest-TestRoutersBasic-04015121-08564114 to be up.. 2026-02-20 18:46:53,803 - DEBUG - VM is in ACTIVE state now 2026-02-20 18:46:53,803 - INFO - VM name : ctest-TestRoutersBasic-04015121-08564114 2026-02-20 18:46:53,871 - DEBUG - VM ctest-TestRoutersBasic-04015121-08564114 ID is 8a8fca79-7fd3-4548-aedf-7bec2b36050a 2026-02-20 18:46:53,871 - DEBUG - VM ctest-TestRoutersBasic-04015121-08564114 launched on Node cn-jenkins-deploy-platform-ansible-os-5380-1 2026-02-20 18:46:53,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8a8fca79-7fd3-4548-aedf-7bec2b36050a 2026-02-20 18:46:53,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/26f0b384-3d21-4dcf-a462-bc28a627c628 2026-02-20 18:46:55,181 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/1.718/2.880/1.161 ms') 2026-02-20 18:46:55,181 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04015121-08564114 passed 2026-02-20 18:46:55,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 18:46:55,331 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04015121-08564114, IP 215.233.231.131, Port 22 2026-02-20 18:46:55,491 - DEBUG - VM ctest-TestRoutersBasic-04015121-08564114 is ready for SSH connections 2026-02-20 18:46:55,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 18:46:55,491 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.233.231.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-20 18:46:55,492 - DEBUG - ping -s 56 -c 3 -W 1 215.233.231.131 2026-02-20 18:46:59,231 - DEBUG - PING 215.233.231.131 (215.233.231.131): 56 data bytes 64 bytes from 215.233.231.131: seq=0 ttl=62 time=4.855 ms 64 bytes from 215.233.231.131: seq=1 ttl=62 time=0.942 ms 64 bytes from 215.233.231.131: seq=2 ttl=62 time=0.836 ms --- 215.233.231.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/2.211/4.855 ms 2026-02-20 18:46:59,231 - INFO - Ping to IP 215.233.231.131 from VM ctest-TestRoutersBasic-04015121-70282987 passed 2026-02-20 18:46:59,231 - INFO - Deleting interface with subnet_id 1c501c1b-e00c-40c8-b4a3-277e86f5c781, port_id None from router 9699f38f-15de-414d-a570-05d15fd40e23 2026-02-20 18:46:59,408 - INFO - Deleting VM ctest-TestRoutersBasic-04015121-08564114 2026-02-20 18:46:59,481 - INFO - Deleting VM ctest-TestRoutersBasic-04015121-70282987 2026-02-20 18:46:59,554 - INFO - Deleting VN ctest-ext_vn-14523965 2026-02-20 18:46:59,616 - DEBUG - VN cc0bc479-c81f-4f06-bd9e-f9db6ffefbec still in use: Unable to complete operation on network cc0bc479-c81f-4f06-bd9e-f9db6ffefbec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3863962-e23a-4a91-9489-eb95154409b0'] 2026-02-20 18:46:59,616 - WARNING - Deleting VN ctest-ext_vn-14523965 failed..Will retry 2026-02-20 18:47:01,724 - DEBUG - Response for deleting network () 2026-02-20 18:47:01,724 - INFO - Deleting VN ctest-vn-09596600 2026-02-20 18:47:01,817 - DEBUG - Response for deleting network () 2026-02-20 18:47:02,080 - DEBUG - No XMPP flaps were noticed during the test
2026-02-20 18:47:02,080 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-02-20 18:47:02,080 - INFO - -------------------------------------------------------------------------------- 2026-02-20 18:47:02,782 - INFO - Deleted project: ctest-TestRoutersBasic-04015121, ID : 0dc7e973-7ecb-4d58-9ae8-8bf7e9285ba5