2026-03-02 02:29:01,079 - INFO - Domain Default found not creating 2026-03-02 02:29:01,264 - INFO - Project ctest-TestRoutersBasic-30519205 not found, creating it 2026-03-02 02:29:01,874 - INFO - Created Project:ctest-TestRoutersBasic-30519205, ID : 25268ae8-8f00-4bc8-bdcb-dfdcad0b2af1 2026-03-02 02:29:03,578 - INFO - ================================================================================ 2026-03-02 02:29:03,578 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-02 02:29:03,578 - 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-03-02 02:29:04,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '3', '10.20.0.193': '3'}, '10.0.0.240': {'10.20.0.254': '3', '10.20.0.193': '0'}} with 2026-03-02 02:29:04,839 - INFO - Initial checks done. Running the testcase now 2026-03-02 02:29:04,839 - INFO - 2026-03-02 02:29:05,682 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30519205 2026-03-02 02:29:05,743 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30519205 2026-03-02 02:29:06,034 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30519205', 'default']} 2026-03-02 02:29:06,519 - DEBUG - Response for create_network : {'network': {'id': 'b50b7c95-665d-4ab4-ada5-b4efec9a3dd0', 'name': 'ctest-vn-27411659', 'tenant_id': '25268ae88f004bc8bdcbdfdcad0b2af1', 'project_id': '25268ae88f004bc8bdcbdfdcad0b2af1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30519205', 'ctest-vn-27411659'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:29:06,877 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7216838-3cd9-4e50-9ea4-7de36d7df1aa', 'name': '', 'tenant_id': '25268ae88f004bc8bdcbdfdcad0b2af1', 'network_id': 'b50b7c95-665d-4ab4-ada5-b4efec9a3dd0', 'ip_version': 4, 'cidr': '192.202.21.0/26', 'allocation_pools': [{'start': '192.202.21.2', 'end': '192.202.21.62'}], 'gateway_ip': '192.202.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.202.21.2', 'tags': [], 'project_id': '25268ae88f004bc8bdcbdfdcad0b2af1'}} 2026-03-02 02:29:06,900 - INFO - Created VN ctest-vn-27411659 2026-03-02 02:29:06,910 - DEBUG - VN ctest-vn-27411659 UUID is b50b7c95-665d-4ab4-ada5-b4efec9a3dd0 2026-03-02 02:29:07,321 - DEBUG - Response for create_network : {'network': {'id': '29669e27-52df-4e18-9352-400f15bb9cdc', 'name': 'ctest-ext_vn-31129938', 'tenant_id': '25268ae88f004bc8bdcbdfdcad0b2af1', 'project_id': '25268ae88f004bc8bdcbdfdcad0b2af1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30519205', 'ctest-ext_vn-31129938'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:29:07,555 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bffddd9f-d2cb-414b-bf25-30b44c03b68f', 'name': '', 'tenant_id': '25268ae88f004bc8bdcbdfdcad0b2af1', 'network_id': '29669e27-52df-4e18-9352-400f15bb9cdc', 'ip_version': 4, 'cidr': '103.90.93.192/26', 'allocation_pools': [{'start': '103.90.93.194', 'end': '103.90.93.254'}], 'gateway_ip': '103.90.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.90.93.194', 'tags': [], 'project_id': '25268ae88f004bc8bdcbdfdcad0b2af1'}} 2026-03-02 02:29:07,580 - INFO - Created VN ctest-ext_vn-31129938 2026-03-02 02:29:07,592 - DEBUG - VN ctest-ext_vn-31129938 UUID is 29669e27-52df-4e18-9352-400f15bb9cdc 2026-03-02 02:29:07,834 - DEBUG - Services list from nova: [, , , ] 2026-03-02 02:29:08,976 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5413-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5413-1) 2026-03-02 02:29:10,349 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5413-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5413-2) 2026-03-02 02:29:10,466 - INFO - Setting gateway for router 8fc9e66c-2573-41ed-8289-b272a1ecf84d to network 29669e27-52df-4e18-9352-400f15bb9cdc 2026-03-02 02:29:10,537 - INFO - Adding interface with subnet_id a7216838-3cd9-4e50-9ea4-7de36d7df1aa, port_id None to router 8fc9e66c-2573-41ed-8289-b272a1ecf84d 2026-03-02 02:29:11,013 - INFO - Waiting for VM ctest-TestRoutersBasic-30519205-59242903 to be up.. 2026-03-02 02:29:11,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-02 02:29:16,292 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:29:16,292 - INFO - VM name : ctest-TestRoutersBasic-30519205-59242903 2026-03-02 02:29:16,374 - DEBUG - VM ctest-TestRoutersBasic-30519205-59242903 ID is 40635bd2-34af-487f-987f-a6f17253473d 2026-03-02 02:29:16,399 - DEBUG - VM ctest-TestRoutersBasic-30519205-59242903 launched on Node an-jenkins-deploy-platform-ansible-os-5413-1 2026-03-02 02:29:16,482 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/40635bd2-34af-487f-987f-a6f17253473d 2026-03-02 02:29:16,825 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/40635bd2-34af-487f-987f-a6f17253473d 2026-03-02 02:29:16,859 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f9d8fbaf-5833-4975-9408-f817a47cd02b 2026-03-02 02:29:20,028 - 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=2 ttl=63 time=10.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 10.926/10.926/10.926/0.000 ms') 2026-03-02 02:29:20,028 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30519205-59242903 passed 2026-03-02 02:29:20,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:29:20,099 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30519205-59242903, IP 192.202.21.3, Port 22 2026-03-02 02:29:20,155 - 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': ''} 2026-03-02 02:29:20,243 - DEBUG - VM ctest-TestRoutersBasic-30519205-59242903 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-02 02:29:25,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:29:25,245 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30519205-59242903, IP 192.202.21.3, Port 22 2026-03-02 02:29:25,409 - DEBUG - VM ctest-TestRoutersBasic-30519205-59242903 is ready for SSH connections 2026-03-02 02:29:25,410 - INFO - Waiting for VM ctest-TestRoutersBasic-30519205-56550307 to be up.. 2026-03-02 02:29:25,511 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:29:25,511 - INFO - VM name : ctest-TestRoutersBasic-30519205-56550307 2026-03-02 02:29:25,607 - DEBUG - VM ctest-TestRoutersBasic-30519205-56550307 ID is 899f679c-e7c9-4c33-a9ab-9ef904dc702d 2026-03-02 02:29:25,608 - DEBUG - VM ctest-TestRoutersBasic-30519205-56550307 launched on Node an-jenkins-deploy-platform-ansible-os-5413-2 2026-03-02 02:29:25,698 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/899f679c-e7c9-4c33-a9ab-9ef904dc702d 2026-03-02 02:29:25,708 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3e7cc0ce-91ee-418a-9aaf-3a1acb990327 2026-03-02 02:29:26,862 - 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=3.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.739/3.100/1.360 ms') 2026-03-02 02:29:26,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30519205-56550307 passed 2026-03-02 02:29:26,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:29:26,932 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30519205-56550307, IP 103.90.93.195, Port 22 2026-03-02 02:29:27,086 - DEBUG - VM ctest-TestRoutersBasic-30519205-56550307 is ready for SSH connections 2026-03-02 02:29:27,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:29:27,086 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.90.93.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-02 02:29:27,086 - DEBUG - ping -s 56 -c 3 -W 1 103.90.93.195 2026-03-02 02:29:30,740 - DEBUG - PING 103.90.93.195 (103.90.93.195): 56 data bytes 64 bytes from 103.90.93.195: seq=0 ttl=62 time=7.535 ms 64 bytes from 103.90.93.195: seq=1 ttl=62 time=1.209 ms 64 bytes from 103.90.93.195: seq=2 ttl=62 time=1.603 ms --- 103.90.93.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.209/3.449/7.535 ms 2026-03-02 02:29:30,740 - INFO - Ping to IP 103.90.93.195 from VM ctest-TestRoutersBasic-30519205-59242903 passed 2026-03-02 02:29:30,740 - INFO - Deleting interface with subnet_id a7216838-3cd9-4e50-9ea4-7de36d7df1aa, port_id None from router 8fc9e66c-2573-41ed-8289-b272a1ecf84d 2026-03-02 02:29:31,163 - INFO - Deleting VM ctest-TestRoutersBasic-30519205-56550307 2026-03-02 02:29:31,307 - INFO - Deleting VM ctest-TestRoutersBasic-30519205-59242903 2026-03-02 02:29:31,423 - INFO - Deleting VN ctest-ext_vn-31129938 2026-03-02 02:29:31,558 - DEBUG - VN 29669e27-52df-4e18-9352-400f15bb9cdc still in use: Unable to complete operation on network 29669e27-52df-4e18-9352-400f15bb9cdc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25da50be-e827-493e-8cc1-024c9d99c46f'] 2026-03-02 02:29:31,558 - WARNING - Deleting VN ctest-ext_vn-31129938 failed..Will retry 2026-03-02 02:29:33,706 - DEBUG - Response for deleting network () 2026-03-02 02:29:33,706 - INFO - Deleting VN ctest-vn-27411659 2026-03-02 02:29:33,855 - DEBUG - Response for deleting network () 2026-03-02 02:29:35,119 - DEBUG - No XMPP flaps were noticed during the test
2026-03-02 02:29:35,119 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-03-02 02:29:35,119 - INFO - -------------------------------------------------------------------------------- 2026-03-02 02:29:35,892 - INFO - Deleted project: ctest-TestRoutersBasic-30519205, ID : 25268ae8-8f00-4bc8-bdcb-dfdcad0b2af1