2025-10-22 19:11:10,849 - INFO - Domain Default found not creating
2025-10-22 19:11:10,994 - INFO - Project ctest-TestRoutersBasic-28470114 not found, creating it
2025-10-22 19:11:11,440 - INFO - Created Project:ctest-TestRoutersBasic-28470114, ID : 5f767e96-5033-49a5-9ebe-d5950c1cedd2 
2025-10-22 19:11:12,903 - INFO - ================================================================================
2025-10-22 19:11:12,904 - INFO - STARTING TEST    : test_basic_snat_behavior_without_external_connectivity
2025-10-22 19:11:12,904 - 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-22 19:11:13,158 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-22 19:11:13,158 - INFO - Initial checks done. Running the testcase now
2025-10-22 19:11:13,158 - INFO - 
2025-10-22 19:11:13,859 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28470114
2025-10-22 19:11:13,956 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28470114
2025-10-22 19:11:14,271 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28470114', 'default']}
2025-10-22 19:11:14,563 - DEBUG - Response for create_network : {'network': {'id': 'cd1272c3-d0e1-4ec9-9f66-c94c778c2a73', 'name': 'ctest-vn-94764328', 'tenant_id': '5f767e96503349a59ebed5950c1cedd2', 'project_id': '5f767e96503349a59ebed5950c1cedd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28470114', 'ctest-vn-94764328'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 19:11:14,721 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd3e68de-cc52-482e-8f21-238579e69cee', 'name': '', 'tenant_id': '5f767e96503349a59ebed5950c1cedd2', 'network_id': 'cd1272c3-d0e1-4ec9-9f66-c94c778c2a73', 'ip_version': 4, 'cidr': '99.249.157.0/26', 'allocation_pools': [{'start': '99.249.157.2', 'end': '99.249.157.62'}], 'gateway_ip': '99.249.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.249.157.2', 'tags': [], 'project_id': '5f767e96503349a59ebed5950c1cedd2'}}
2025-10-22 19:11:14,742 - INFO - Created VN ctest-vn-94764328
2025-10-22 19:11:14,795 - DEBUG - VN ctest-vn-94764328 UUID is cd1272c3-d0e1-4ec9-9f66-c94c778c2a73
2025-10-22 19:11:15,111 - DEBUG - Response for create_network : {'network': {'id': '1afb62ea-72bd-4ff5-8708-d52d633b0d23', 'name': 'ctest-ext_vn-86566175', 'tenant_id': '5f767e96503349a59ebed5950c1cedd2', 'project_id': '5f767e96503349a59ebed5950c1cedd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28470114', 'ctest-ext_vn-86566175'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 19:11:15,313 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca2f9cf1-b716-4705-aa74-85326a4e578c', 'name': '', 'tenant_id': '5f767e96503349a59ebed5950c1cedd2', 'network_id': '1afb62ea-72bd-4ff5-8708-d52d633b0d23', 'ip_version': 4, 'cidr': '163.158.80.128/26', 'allocation_pools': [{'start': '163.158.80.130', 'end': '163.158.80.190'}], 'gateway_ip': '163.158.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.158.80.130', 'tags': [], 'project_id': '5f767e96503349a59ebed5950c1cedd2'}}
2025-10-22 19:11:15,331 - INFO - Created VN ctest-ext_vn-86566175
2025-10-22 19:11:15,383 - DEBUG - VN ctest-ext_vn-86566175 UUID is 1afb62ea-72bd-4ff5-8708-d52d633b0d23
2025-10-22 19:11:15,546 - DEBUG - Services list from nova: [, , ]
2025-10-22 19:11:16,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4436-1)
2025-10-22 19:11:17,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4436-1)
2025-10-22 19:11:17,865 - INFO - Setting gateway for router 461907a1-e7c9-4414-b5c2-5104ec5edd04 to network 1afb62ea-72bd-4ff5-8708-d52d633b0d23 
2025-10-22 19:11:17,936 - INFO - Adding interface with subnet_id bd3e68de-cc52-482e-8f21-238579e69cee, port_id None to router 461907a1-e7c9-4414-b5c2-5104ec5edd04
2025-10-22 19:11:18,310 - INFO - Waiting for VM ctest-TestRoutersBasic-28470114-61695674 to be up..
2025-10-22 19:11:18,460 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-22 19:11:23,540 - DEBUG - VM  is in ACTIVE state now
2025-10-22 19:11:23,540 - INFO - VM name : ctest-TestRoutersBasic-28470114-61695674
2025-10-22 19:11:23,631 - DEBUG - VM ctest-TestRoutersBasic-28470114-61695674 ID is 0c3adf21-bc8f-4ed9-8f65-d28274a5db60
2025-10-22 19:11:23,653 - DEBUG - VM ctest-TestRoutersBasic-28470114-61695674 launched on Node cn-jenkins-deploy-platform-ansible-os-4436-1
2025-10-22 19:11:23,728 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0c3adf21-bc8f-4ed9-8f65-d28274a5db60
2025-10-22 19:11:24,049 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0c3adf21-bc8f-4ed9-8f65-d28274a5db60
2025-10-22 19:11:24,086 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/aee59082-80c6-45a5-8443-ae1bf8ea6537
2025-10-22 19:11:27,354 - 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 1018ms')
2025-10-22 19:11:27,355 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28470114-61695674 failed!
2025-10-22 19:11:27,407 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28470114:ctest-vn-94764328 is 99.249.157.1 and allocation pool is NOT set
2025-10-22 19:11:29,468 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.516 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.516/1.792/3.069/1.276 ms')
2025-10-22 19:11:29,468 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28470114-61695674 passed
2025-10-22 19:11:29,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 19:11:29,624 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28470114-61695674, IP 99.249.157.3, Port 22
2025-10-22 19:11:29,779 - DEBUG - VM ctest-TestRoutersBasic-28470114-61695674 is ready for SSH connections
2025-10-22 19:11:29,779 - INFO - Waiting for VM ctest-TestRoutersBasic-28470114-25673096 to be up..
2025-10-22 19:11:29,853 - DEBUG - VM  is in ACTIVE state now
2025-10-22 19:11:29,854 - INFO - VM name : ctest-TestRoutersBasic-28470114-25673096
2025-10-22 19:11:29,930 - DEBUG - VM ctest-TestRoutersBasic-28470114-25673096 ID is 0634967a-662a-4677-add2-251c56044035
2025-10-22 19:11:29,930 - DEBUG - VM ctest-TestRoutersBasic-28470114-25673096 launched on Node cn-jenkins-deploy-platform-ansible-os-4436-1
2025-10-22 19:11:30,008 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0634967a-662a-4677-add2-251c56044035
2025-10-22 19:11:30,016 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0cf95ed7-bc80-4ef9-9b3a-56271cc3b879
2025-10-22 19:11:31,251 - 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=4.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.58 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 = 1.577/3.236/4.895/1.659 ms')
2025-10-22 19:11:31,251 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28470114-25673096 passed
2025-10-22 19:11:31,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 19:11:31,400 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28470114-25673096, IP 163.158.80.131, Port 22
2025-10-22 19:11:31,459 - 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-10-22 19:11:31,533 - DEBUG - VM ctest-TestRoutersBasic-28470114-25673096 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-22 19:11:36,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 19:11:36,534 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28470114-25673096, IP 163.158.80.131, Port 22
2025-10-22 19:11:36,691 - DEBUG - VM ctest-TestRoutersBasic-28470114-25673096 is ready for SSH connections
2025-10-22 19:11:36,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 19:11:36,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  163.158.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-22 19:11:36,692 - DEBUG - ping -s 56 -c 3 -W 1  163.158.80.131
2025-10-22 19:11:40,400 - DEBUG - PING 163.158.80.131 (163.158.80.131): 56 data bytes
64 bytes from 163.158.80.131: seq=0 ttl=62 time=7.197 ms
64 bytes from 163.158.80.131: seq=1 ttl=62 time=1.060 ms
64 bytes from 163.158.80.131: seq=2 ttl=62 time=0.947 ms
--- 163.158.80.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.947/3.068/7.197 ms
2025-10-22 19:11:40,400 - INFO - Ping to IP 163.158.80.131 from VM ctest-TestRoutersBasic-28470114-61695674 passed
2025-10-22 19:11:40,400 - INFO - Deleting interface with subnet_id bd3e68de-cc52-482e-8f21-238579e69cee, port_id None from router 461907a1-e7c9-4414-b5c2-5104ec5edd04
2025-10-22 19:11:40,601 - INFO - Deleting VM ctest-TestRoutersBasic-28470114-25673096
2025-10-22 19:11:40,674 - INFO - Deleting VM ctest-TestRoutersBasic-28470114-61695674
2025-10-22 19:11:40,759 - INFO - Deleting VN ctest-ext_vn-86566175 
2025-10-22 19:11:40,841 - DEBUG - VN 1afb62ea-72bd-4ff5-8708-d52d633b0d23 still in use: Unable to complete operation on network 1afb62ea-72bd-4ff5-8708-d52d633b0d23. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d4ac163a-a068-4c90-90eb-b6f6b9a4409d']
2025-10-22 19:11:40,841 - WARNING - Deleting VN ctest-ext_vn-86566175 failed..Will retry
2025-10-22 19:11:42,951 - DEBUG - Response for deleting network ()
2025-10-22 19:11:42,951 - INFO - Deleting VN ctest-vn-94764328 
2025-10-22 19:11:43,085 - DEBUG - Response for deleting network ()
2025-10-22 19:11:43,344 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 19:11:43,344 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-22 19:11:43,344 - INFO - --------------------------------------------------------------------------------
2025-10-22 19:11:44,371 - INFO - Deleted project: ctest-TestRoutersBasic-28470114, ID : 5f767e96-5033-49a5-9ebe-d5950c1cedd2