2025-09-18 16:20:37,768 - INFO - Domain Default found not creating
2025-09-18 16:20:37,899 - INFO - Project ctest-TestRoutersBasic-92912775 not found, creating it
2025-09-18 16:20:38,319 - INFO - Created Project:ctest-TestRoutersBasic-92912775, ID : 58e55c6a-286e-4b06-b273-5da748deaf71
2025-09-18 16:20:39,726 - INFO - ================================================================================
2025-09-18 16:20:39,727 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-18 16:20:39,727 - 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-09-18 16:20:39,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-18 16:20:39,987 - INFO - Initial checks done. Running the testcase now
2025-09-18 16:20:39,987 - INFO -
2025-09-18 16:20:40,671 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92912775
2025-09-18 16:20:40,766 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92912775
2025-09-18 16:20:41,086 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92912775', 'default']}
2025-09-18 16:20:41,372 - DEBUG - Response for create_network : {'network': {'id': '3885682e-b066-4bc5-9d5e-adba077e1863', 'name': 'ctest-vn-22100777', 'tenant_id': '58e55c6a286e4b06b2735da748deaf71', 'project_id': '58e55c6a286e4b06b2735da748deaf71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92912775', 'ctest-vn-22100777'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 16:20:41,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '797f3e7a-af3d-48ed-80b6-5efeeabc1b6c', 'name': '', 'tenant_id': '58e55c6a286e4b06b2735da748deaf71', 'network_id': '3885682e-b066-4bc5-9d5e-adba077e1863', 'ip_version': 4, 'cidr': '157.196.117.64/26', 'allocation_pools': [{'start': '157.196.117.66', 'end': '157.196.117.126'}], 'gateway_ip': '157.196.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.196.117.66', 'tags': [], 'project_id': '58e55c6a286e4b06b2735da748deaf71'}}
2025-09-18 16:20:41,536 - INFO - Created VN ctest-vn-22100777
2025-09-18 16:20:41,587 - DEBUG - VN ctest-vn-22100777 UUID is 3885682e-b066-4bc5-9d5e-adba077e1863
2025-09-18 16:20:41,913 - DEBUG - Response for create_network : {'network': {'id': 'c17a7f38-581c-4251-81b9-4737b360ca14', 'name': 'ctest-ext_vn-33637117', 'tenant_id': '58e55c6a286e4b06b2735da748deaf71', 'project_id': '58e55c6a286e4b06b2735da748deaf71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92912775', 'ctest-ext_vn-33637117'], 'port_security_enabled': True, 'description': ''}}
2025-09-18 16:20:42,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '13210e0a-9673-4679-95cf-db2a4acf7102', 'name': '', 'tenant_id': '58e55c6a286e4b06b2735da748deaf71', 'network_id': 'c17a7f38-581c-4251-81b9-4737b360ca14', 'ip_version': 4, 'cidr': '141.247.160.192/26', 'allocation_pools': [{'start': '141.247.160.194', 'end': '141.247.160.254'}], 'gateway_ip': '141.247.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.247.160.194', 'tags': [], 'project_id': '58e55c6a286e4b06b2735da748deaf71'}}
2025-09-18 16:20:42,097 - INFO - Created VN ctest-ext_vn-33637117
2025-09-18 16:20:42,150 - DEBUG - VN ctest-ext_vn-33637117 UUID is c17a7f38-581c-4251-81b9-4737b360ca14
2025-09-18 16:20:42,348 - DEBUG - Services list from nova: [, , ]
2025-09-18 16:20:43,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4139-1)
2025-09-18 16:20:44,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4139-1)
2025-09-18 16:20:44,545 - INFO - Setting gateway for router b0d18195-630c-419a-83c9-8959f681a97a to network c17a7f38-581c-4251-81b9-4737b360ca14
2025-09-18 16:20:44,621 - INFO - Adding interface with subnet_id 797f3e7a-af3d-48ed-80b6-5efeeabc1b6c, port_id None to router b0d18195-630c-419a-83c9-8959f681a97a
2025-09-18 16:20:45,003 - INFO - Waiting for VM ctest-TestRoutersBasic-92912775-29492791 to be up..
2025-09-18 16:20:45,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-18 16:20:50,179 - DEBUG - VM is in ACTIVE state now
2025-09-18 16:20:50,179 - INFO - VM name : ctest-TestRoutersBasic-92912775-29492791
2025-09-18 16:20:50,245 - DEBUG - VM ctest-TestRoutersBasic-92912775-29492791 ID is 29173676-cbdf-40b2-8f31-3643bc702eb3
2025-09-18 16:20:50,267 - DEBUG - VM ctest-TestRoutersBasic-92912775-29492791 launched on Node cn-jenkins-deploy-platform-ansible-os-4139-1
2025-09-18 16:20:50,334 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/29173676-cbdf-40b2-8f31-3643bc702eb3
2025-09-18 16:20:50,628 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/29173676-cbdf-40b2-8f31-3643bc702eb3
2025-09-18 16:20:50,658 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/04304aba-a1bf-404c-81f7-92ca9df8ca8a
2025-09-18 16:20:53,916 - 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 1031ms')
2025-09-18 16:20:53,916 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92912775-29492791 failed!
2025-09-18 16:20:53,970 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92912775:ctest-vn-22100777 is 157.196.117.65 and allocation pool is NOT set
2025-09-18 16:20:56,025 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.713/3.006/1.292 ms')
2025-09-18 16:20:56,025 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92912775-29492791 passed
2025-09-18 16:20:56,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 16:20:56,178 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92912775-29492791, IP 157.196.117.67, Port 22
2025-09-18 16:20:56,333 - DEBUG - VM ctest-TestRoutersBasic-92912775-29492791 is ready for SSH connections
2025-09-18 16:20:56,333 - INFO - Waiting for VM ctest-TestRoutersBasic-92912775-98471519 to be up..
2025-09-18 16:20:56,406 - DEBUG - VM is in ACTIVE state now
2025-09-18 16:20:56,406 - INFO - VM name : ctest-TestRoutersBasic-92912775-98471519
2025-09-18 16:20:56,472 - DEBUG - VM ctest-TestRoutersBasic-92912775-98471519 ID is 0695b2b9-c4c6-424c-8c93-2c919aefc64d
2025-09-18 16:20:56,472 - DEBUG - VM ctest-TestRoutersBasic-92912775-98471519 launched on Node cn-jenkins-deploy-platform-ansible-os-4139-1
2025-09-18 16:20:56,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0695b2b9-c4c6-424c-8c93-2c919aefc64d
2025-09-18 16:20:56,546 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ba5657d2-467e-49ea-b910-6c2c2b9f2f89
2025-09-18 16:20:57,774 - 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=3.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.622 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.622/2.254/3.886/1.632 ms')
2025-09-18 16:20:57,774 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92912775-98471519 passed
2025-09-18 16:20:57,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 16:20:57,922 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92912775-98471519, IP 141.247.160.195, Port 22
2025-09-18 16:20:57,988 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-09-18 16:20:58,087 - DEBUG - VM ctest-TestRoutersBasic-92912775-98471519 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-18 16:21:03,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 16:21:03,088 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92912775-98471519, IP 141.247.160.195, Port 22
2025-09-18 16:21:03,245 - DEBUG - VM ctest-TestRoutersBasic-92912775-98471519 is ready for SSH connections
2025-09-18 16:21:03,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-18 16:21:03,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.247.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-18 16:21:03,246 - DEBUG - ping -s 56 -c 3 -W 1 141.247.160.195
2025-09-18 16:21:07,281 - DEBUG - PING 141.247.160.195 (141.247.160.195): 56 data bytes
64 bytes from 141.247.160.195: seq=0 ttl=62 time=5.897 ms
64 bytes from 141.247.160.195: seq=1 ttl=62 time=0.879 ms
64 bytes from 141.247.160.195: seq=2 ttl=62 time=0.877 ms
--- 141.247.160.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.877/2.551/5.897 ms
2025-09-18 16:21:07,281 - INFO - Ping to IP 141.247.160.195 from VM ctest-TestRoutersBasic-92912775-29492791 passed
2025-09-18 16:21:07,281 - INFO - Deleting interface with subnet_id 797f3e7a-af3d-48ed-80b6-5efeeabc1b6c, port_id None from router b0d18195-630c-419a-83c9-8959f681a97a
2025-09-18 16:21:07,448 - INFO - Deleting VM ctest-TestRoutersBasic-92912775-98471519
2025-09-18 16:21:07,518 - INFO - Deleting VM ctest-TestRoutersBasic-92912775-29492791
2025-09-18 16:21:07,588 - INFO - Deleting VN ctest-ext_vn-33637117
2025-09-18 16:21:07,654 - DEBUG - VN c17a7f38-581c-4251-81b9-4737b360ca14 still in use: Unable to complete operation on network c17a7f38-581c-4251-81b9-4737b360ca14. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-00e958e8-3013-4101-a629-10c50d81a325']
2025-09-18 16:21:07,654 - WARNING - Deleting VN ctest-ext_vn-33637117 failed..Will retry
2025-09-18 16:21:09,741 - DEBUG - Response for deleting network ()
2025-09-18 16:21:09,742 - INFO - Deleting VN ctest-vn-22100777
2025-09-18 16:21:09,835 - DEBUG - Response for deleting network ()
2025-09-18 16:21:10,086 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 16:21:10,086 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-09-18 16:21:10,086 - INFO - --------------------------------------------------------------------------------
2025-09-18 16:21:10,770 - INFO - Deleted project: ctest-TestRoutersBasic-92912775, ID : 58e55c6a-286e-4b06-b273-5da748deaf71