2025-10-29 19:46:06,948 - INFO - Domain Default found not creating
2025-10-29 19:46:07,117 - INFO - Project ctest-TestRoutersBasic-41944957 not found, creating it
2025-10-29 19:46:07,656 - INFO - Created Project:ctest-TestRoutersBasic-41944957, ID : a6f0bbee-f46e-46a7-aa18-05b8dd827c01 
2025-10-29 19:46:09,247 - INFO - ================================================================================
2025-10-29 19:46:09,247 - INFO - STARTING TEST    : test_basic_snat_behavior_without_external_connectivity
2025-10-29 19:46:09,247 - 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-29 19:46:10,579 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0', '10.20.0.18': '0'}, '10.0.0.242': {'10.20.0.18': '0', '10.20.0.14': '0'}} with
2025-10-29 19:46:10,579 - INFO - Initial checks done. Running the testcase now
2025-10-29 19:46:10,579 - INFO - 
2025-10-29 19:46:11,339 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41944957
2025-10-29 19:46:11,403 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41944957
2025-10-29 19:46:11,715 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41944957', 'default']}
2025-10-29 19:46:12,141 - DEBUG - Response for create_network : {'network': {'id': 'eac69c3e-0577-46a7-9617-51be7bf04402', 'name': 'ctest-vn-85199137', 'tenant_id': 'a6f0bbeef46e46a7aa1805b8dd827c01', 'project_id': 'a6f0bbeef46e46a7aa1805b8dd827c01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41944957', 'ctest-vn-85199137'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 19:46:12,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '23fce784-1d83-473c-bc5f-8ee1d78b559a', 'name': '', 'tenant_id': 'a6f0bbeef46e46a7aa1805b8dd827c01', 'network_id': 'eac69c3e-0577-46a7-9617-51be7bf04402', 'ip_version': 4, 'cidr': '44.92.139.64/26', 'allocation_pools': [{'start': '44.92.139.66', 'end': '44.92.139.126'}], 'gateway_ip': '44.92.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.92.139.66', 'tags': [], 'project_id': 'a6f0bbeef46e46a7aa1805b8dd827c01'}}
2025-10-29 19:46:12,471 - INFO - Created VN ctest-vn-85199137
2025-10-29 19:46:12,484 - DEBUG - VN ctest-vn-85199137 UUID is eac69c3e-0577-46a7-9617-51be7bf04402
2025-10-29 19:46:12,886 - DEBUG - Response for create_network : {'network': {'id': 'd12bf3fb-2181-43a5-ad71-753bfd4423f7', 'name': 'ctest-ext_vn-60755041', 'tenant_id': 'a6f0bbeef46e46a7aa1805b8dd827c01', 'project_id': 'a6f0bbeef46e46a7aa1805b8dd827c01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41944957', 'ctest-ext_vn-60755041'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 19:46:13,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '76b4f22b-02a6-48d1-b826-515db7fb81fb', 'name': '', 'tenant_id': 'a6f0bbeef46e46a7aa1805b8dd827c01', 'network_id': 'd12bf3fb-2181-43a5-ad71-753bfd4423f7', 'ip_version': 4, 'cidr': '97.214.133.128/26', 'allocation_pools': [{'start': '97.214.133.130', 'end': '97.214.133.190'}], 'gateway_ip': '97.214.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.214.133.130', 'tags': [], 'project_id': 'a6f0bbeef46e46a7aa1805b8dd827c01'}}
2025-10-29 19:46:13,139 - INFO - Created VN ctest-ext_vn-60755041
2025-10-29 19:46:13,149 - DEBUG - VN ctest-ext_vn-60755041 UUID is d12bf3fb-2181-43a5-ad71-753bfd4423f7
2025-10-29 19:46:13,305 - DEBUG - Services list from nova: [, , , ]
2025-10-29 19:46:14,576 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-2)
2025-10-29 19:46:16,156 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-1)
2025-10-29 19:46:16,266 - INFO - Setting gateway for router cab6e8df-af1b-48dd-b3e7-0053379ada04 to network d12bf3fb-2181-43a5-ad71-753bfd4423f7 
2025-10-29 19:46:16,341 - INFO - Adding interface with subnet_id 23fce784-1d83-473c-bc5f-8ee1d78b559a, port_id None to router cab6e8df-af1b-48dd-b3e7-0053379ada04
2025-10-29 19:46:16,669 - INFO - Waiting for VM ctest-TestRoutersBasic-41944957-80330722 to be up..
2025-10-29 19:46:16,855 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-29 19:46:21,949 - DEBUG - VM  is in ACTIVE state now
2025-10-29 19:46:21,949 - INFO - VM name : ctest-TestRoutersBasic-41944957-80330722
2025-10-29 19:46:22,034 - DEBUG - VM ctest-TestRoutersBasic-41944957-80330722 ID is 63a059a5-0390-4dd1-8a38-6c3f4fd655f6
2025-10-29 19:46:22,060 - DEBUG - VM ctest-TestRoutersBasic-41944957-80330722 launched on Node an-jenkins-deploy-platform-ansible-os-4527-2
2025-10-29 19:46:22,137 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/63a059a5-0390-4dd1-8a38-6c3f4fd655f6
2025-10-29 19:46:22,432 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/63a059a5-0390-4dd1-8a38-6c3f4fd655f6
2025-10-29 19:46:22,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/39834f0a-b22c-416c-b174-8c00da9d3e8f
2025-10-29 19:46:25,624 - 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 1003ms')
2025-10-29 19:46:25,624 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41944957-80330722 failed!
2025-10-29 19:46:25,639 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41944957:ctest-vn-85199137 is 44.92.139.65 and allocation pool is NOT set
2025-10-29 19:46:27,700 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/1.508/2.658/1.149 ms')
2025-10-29 19:46:27,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41944957-80330722 passed
2025-10-29 19:46:27,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:46:27,771 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41944957-80330722, IP 44.92.139.67, Port 22
2025-10-29 19:46:27,930 - DEBUG - VM ctest-TestRoutersBasic-41944957-80330722 is ready for SSH connections
2025-10-29 19:46:27,931 - INFO - Waiting for VM ctest-TestRoutersBasic-41944957-81238096 to be up..
2025-10-29 19:46:28,023 - DEBUG - VM  is in ACTIVE state now
2025-10-29 19:46:28,024 - INFO - VM name : ctest-TestRoutersBasic-41944957-81238096
2025-10-29 19:46:28,106 - DEBUG - VM ctest-TestRoutersBasic-41944957-81238096 ID is 89ef448d-7aae-431c-9cd5-d9cd809d6627
2025-10-29 19:46:28,106 - DEBUG - VM ctest-TestRoutersBasic-41944957-81238096 launched on Node an-jenkins-deploy-platform-ansible-os-4527-1
2025-10-29 19:46:28,184 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/89ef448d-7aae-431c-9cd5-d9cd809d6627
2025-10-29 19:46:28,194 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dad7a251-e464-4c38-8a96-79dd2933e91a
2025-10-29 19:46:29,402 - 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=7.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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 = 1.324/4.418/7.513/3.094 ms')
2025-10-29 19:46:29,403 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41944957-81238096 passed
2025-10-29 19:46:29,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:46:29,471 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41944957-81238096, IP 97.214.133.131, Port 22
2025-10-29 19:46:29,561 - 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-29 19:46:29,643 - DEBUG - VM ctest-TestRoutersBasic-41944957-81238096 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 19:46:34,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:46:34,644 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41944957-81238096, IP 97.214.133.131, Port 22
2025-10-29 19:46:34,855 - DEBUG - VM ctest-TestRoutersBasic-41944957-81238096 is ready for SSH connections
2025-10-29 19:46:34,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 19:46:34,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  97.214.133.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-29 19:46:34,855 - DEBUG - ping -s 56 -c 3 -W 1  97.214.133.131
2025-10-29 19:46:38,590 - DEBUG - PING 97.214.133.131 (97.214.133.131): 56 data bytes
64 bytes from 97.214.133.131: seq=0 ttl=62 time=11.352 ms
64 bytes from 97.214.133.131: seq=1 ttl=62 time=1.491 ms
64 bytes from 97.214.133.131: seq=2 ttl=62 time=1.444 ms
--- 97.214.133.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.444/4.762/11.352 ms
2025-10-29 19:46:38,590 - INFO - Ping to IP 97.214.133.131 from VM ctest-TestRoutersBasic-41944957-80330722 passed
2025-10-29 19:46:38,590 - INFO - Deleting interface with subnet_id 23fce784-1d83-473c-bc5f-8ee1d78b559a, port_id None from router cab6e8df-af1b-48dd-b3e7-0053379ada04
2025-10-29 19:46:38,918 - INFO - Deleting VM ctest-TestRoutersBasic-41944957-81238096
2025-10-29 19:46:39,004 - INFO - Deleting VM ctest-TestRoutersBasic-41944957-80330722
2025-10-29 19:46:39,075 - INFO - Deleting VN ctest-ext_vn-60755041 
2025-10-29 19:46:39,186 - DEBUG - VN d12bf3fb-2181-43a5-ad71-753bfd4423f7 still in use: Unable to complete operation on network d12bf3fb-2181-43a5-ad71-753bfd4423f7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9dc29417-e89b-4f1e-b37f-1209d33c23e2']
2025-10-29 19:46:39,186 - WARNING - Deleting VN ctest-ext_vn-60755041 failed..Will retry
2025-10-29 19:46:41,355 - DEBUG - Response for deleting network ()
2025-10-29 19:46:41,355 - INFO - Deleting VN ctest-vn-85199137 
2025-10-29 19:46:41,550 - DEBUG - Response for deleting network ()
2025-10-29 19:46:42,883 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 19:46:42,884 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2025-10-29 19:46:42,884 - INFO - --------------------------------------------------------------------------------
2025-10-29 19:46:43,662 - INFO - Deleted project: ctest-TestRoutersBasic-41944957, ID : a6f0bbee-f46e-46a7-aa18-05b8dd827c01