2026-09-02 05:44:26,066 - INFO - Domain Default found not creating
2026-09-02 05:44:26,363 - INFO - Project ctest-TestRoutersBasic-96693171 not found, creating it
2026-09-02 05:44:26,922 - INFO - Created Project:ctest-TestRoutersBasic-96693171, ID : e9f789f8-677b-418a-9d47-b6515de0712d
2026-09-02 05:44:28,729 - INFO - ================================================================================
2026-09-02 05:44:28,729 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-09-02 05:44:28,729 - 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-09-02 05:44:29,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with
2026-09-02 05:44:29,003 - INFO - Initial checks done. Running the testcase now
2026-09-02 05:44:29,003 - INFO -
2026-09-02 05:44:29,882 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96693171
2026-09-02 05:44:29,982 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96693171
2026-09-02 05:44:30,314 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96693171', 'default']}
2026-09-02 05:44:30,638 - DEBUG - Response for create_network : {'network': {'id': 'e9444c77-c9bf-4e7c-8b54-8f8d5bd88e32', 'name': 'ctest-vn-96380043', 'tenant_id': 'e9f789f8677b418a9d47b6515de0712d', 'project_id': 'e9f789f8677b418a9d47b6515de0712d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96693171', 'ctest-vn-96380043'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 05:44:30,852 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fabf11a5-de7b-4d32-be3f-69e4a1f6ff77', 'name': '', 'tenant_id': 'e9f789f8677b418a9d47b6515de0712d', 'network_id': 'e9444c77-c9bf-4e7c-8b54-8f8d5bd88e32', 'ip_version': 4, 'cidr': '84.38.206.0/26', 'allocation_pools': [{'start': '84.38.206.2', 'end': '84.38.206.62'}], 'gateway_ip': '84.38.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.38.206.2', 'tags': [], 'project_id': 'e9f789f8677b418a9d47b6515de0712d'}}
2026-09-02 05:44:30,871 - INFO - Created VN ctest-vn-96380043
2026-09-02 05:44:30,926 - DEBUG - VN ctest-vn-96380043 UUID is e9444c77-c9bf-4e7c-8b54-8f8d5bd88e32
2026-09-02 05:44:31,289 - DEBUG - Response for create_network : {'network': {'id': 'e9513684-ff03-43e9-8ed0-a64763fce591', 'name': 'ctest-ext_vn-10869855', 'tenant_id': 'e9f789f8677b418a9d47b6515de0712d', 'project_id': 'e9f789f8677b418a9d47b6515de0712d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96693171', 'ctest-ext_vn-10869855'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 05:44:31,495 - DEBUG - Response for create_subnet : {'subnet': {'id': '417c5e90-1f06-4363-9dd1-0aea001d5e09', 'name': '', 'tenant_id': 'e9f789f8677b418a9d47b6515de0712d', 'network_id': 'e9513684-ff03-43e9-8ed0-a64763fce591', 'ip_version': 4, 'cidr': '214.101.173.64/26', 'allocation_pools': [{'start': '214.101.173.66', 'end': '214.101.173.126'}], 'gateway_ip': '214.101.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.101.173.66', 'tags': [], 'project_id': 'e9f789f8677b418a9d47b6515de0712d'}}
2026-09-02 05:44:31,520 - INFO - Created VN ctest-ext_vn-10869855
2026-09-02 05:44:31,574 - DEBUG - VN ctest-ext_vn-10869855 UUID is e9513684-ff03-43e9-8ed0-a64763fce591
2026-09-02 05:44:31,751 - DEBUG - Services list from nova: [, , ]
2026-09-02 05:44:32,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6246-1)
2026-09-02 05:44:32,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6246-1)
2026-09-02 05:44:32,722 - INFO - Setting gateway for router d4aa35f2-20ba-4770-bf19-51c7f868a729 to network e9513684-ff03-43e9-8ed0-a64763fce591
2026-09-02 05:44:32,788 - INFO - Adding interface with subnet_id fabf11a5-de7b-4d32-be3f-69e4a1f6ff77, port_id None to router d4aa35f2-20ba-4770-bf19-51c7f868a729
2026-09-02 05:44:33,137 - INFO - Waiting for VM ctest-TestRoutersBasic-96693171-15498569 to be up..
2026-09-02 05:44:33,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 05:44:38,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 05:44:43,396 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 05:44:48,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 05:44:53,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 05:44:58,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 05:45:03,768 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 05:45:08,848 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 05:45:13,952 - DEBUG - VM is in ACTIVE state now
2026-09-02 05:45:13,952 - INFO - VM name : ctest-TestRoutersBasic-96693171-15498569
2026-09-02 05:45:14,063 - DEBUG - VM ctest-TestRoutersBasic-96693171-15498569 ID is f5116748-0fce-4036-b98e-130b1e2cd794
2026-09-02 05:45:14,090 - DEBUG - VM ctest-TestRoutersBasic-96693171-15498569 launched on Node cn-jenkins-deploy-platform-ansible-os-6246-1
2026-09-02 05:45:14,188 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/f5116748-0fce-4036-b98e-130b1e2cd794
2026-09-02 05:45:14,560 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/f5116748-0fce-4036-b98e-130b1e2cd794
2026-09-02 05:45:14,598 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/386a8cf3-1eb8-4e55-b2b7-341b86d4f6f4
2026-09-02 05:45:17,867 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2026-09-02 05:45:17,867 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-96693171-15498569 failed!
2026-09-02 05:45:17,922 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96693171:ctest-vn-96380043 is 84.38.206.1 and allocation pool is NOT set
2026-09-02 05:45:19,985 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.51 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.501 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.501/2.004/3.507/1.503 ms')
2026-09-02 05:45:19,985 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-96693171-15498569 passed
2026-09-02 05:45:20,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 05:45:20,139 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96693171-15498569, IP 84.38.206.3, Port 22
2026-09-02 05:45:20,312 - DEBUG - VM ctest-TestRoutersBasic-96693171-15498569 is ready for SSH connections
2026-09-02 05:45:20,312 - INFO - Waiting for VM ctest-TestRoutersBasic-96693171-63850686 to be up..
2026-09-02 05:45:20,412 - DEBUG - VM is in ACTIVE state now
2026-09-02 05:45:20,412 - INFO - VM name : ctest-TestRoutersBasic-96693171-63850686
2026-09-02 05:45:20,491 - DEBUG - VM ctest-TestRoutersBasic-96693171-63850686 ID is 88522d74-d741-4f89-ae39-de825a613897
2026-09-02 05:45:20,491 - DEBUG - VM ctest-TestRoutersBasic-96693171-63850686 launched on Node cn-jenkins-deploy-platform-ansible-os-6246-1
2026-09-02 05:45:20,573 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/88522d74-d741-4f89-ae39-de825a613897
2026-09-02 05:45:20,582 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/232427b9-220a-4c0d-aabe-363d02c4231b
2026-09-02 05:45:23,856 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=5.52 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1025ms\r\nrtt min/avg/max/mdev = 5.524/5.524/5.524/0.000 ms')
2026-09-02 05:45:23,857 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-96693171-63850686 passed
2026-09-02 05:45:24,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 05:45:24,078 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96693171-63850686, IP 214.101.173.68, Port 22
2026-09-02 05:45:24,144 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-09-02 05:45:24,226 - DEBUG - VM ctest-TestRoutersBasic-96693171-63850686 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-02 05:45:29,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 05:45:29,227 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96693171-63850686, IP 214.101.173.68, Port 22
2026-09-02 05:45:29,396 - DEBUG - VM ctest-TestRoutersBasic-96693171-63850686 is ready for SSH connections
2026-09-02 05:45:29,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 05:45:29,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.101.173.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123
2026-09-02 05:45:29,397 - DEBUG - ping -s 56 -c 3 -W 1 214.101.173.68
2026-09-02 05:45:32,407 - DEBUG - PING 214.101.173.68 (214.101.173.68): 56 data bytes
64 bytes from 214.101.173.68: seq=0 ttl=62 time=9.648 ms
64 bytes from 214.101.173.68: seq=1 ttl=62 time=1.192 ms
64 bytes from 214.101.173.68: seq=2 ttl=62 time=1.667 ms
--- 214.101.173.68 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.192/4.169/9.648 ms
2026-09-02 05:45:32,407 - INFO - Ping to IP 214.101.173.68 from VM ctest-TestRoutersBasic-96693171-15498569 passed
2026-09-02 05:45:32,407 - INFO - Deleting interface with subnet_id fabf11a5-de7b-4d32-be3f-69e4a1f6ff77, port_id None from router d4aa35f2-20ba-4770-bf19-51c7f868a729
2026-09-02 05:45:32,672 - INFO - Deleting VM ctest-TestRoutersBasic-96693171-63850686
2026-09-02 05:45:32,755 - INFO - Deleting VM ctest-TestRoutersBasic-96693171-15498569
2026-09-02 05:45:32,845 - INFO - Deleting VN ctest-ext_vn-10869855
2026-09-02 05:45:32,936 - DEBUG - VN e9513684-ff03-43e9-8ed0-a64763fce591 still in use: Unable to complete operation on network e9513684-ff03-43e9-8ed0-a64763fce591. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f8f1ffad-5f85-4ac0-8ec5-2d4ed0605142']
2026-09-02 05:45:32,936 - WARNING - Deleting VN ctest-ext_vn-10869855 failed..Will retry
2026-09-02 05:45:35,087 - DEBUG - Response for deleting network ()
2026-09-02 05:45:35,088 - INFO - Deleting VN ctest-vn-96380043
2026-09-02 05:45:35,210 - DEBUG - Response for deleting network ()
2026-09-02 05:45:35,480 - DEBUG - No XMPP flaps were noticed during the test
2026-09-02 05:45:35,480 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07]
2026-09-02 05:45:35,481 - INFO - --------------------------------------------------------------------------------
2026-09-02 05:45:36,282 - INFO - Deleted project: ctest-TestRoutersBasic-96693171, ID : e9f789f8-677b-418a-9d47-b6515de0712d