2026-10-29 18:40:53,000 - INFO - Domain Default found not creating
2026-10-29 18:40:53,252 - INFO - Project ctest-TestRoutersBasic-61707752 not found, creating it
2026-10-29 18:40:53,832 - INFO - Created Project:ctest-TestRoutersBasic-61707752, ID : 8c85ea47-7a5a-47f7-8416-597551507d38
2026-10-29 18:40:55,805 - INFO - ================================================================================
2026-10-29 18:40:55,805 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-10-29 18:40:55,805 - 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-10-29 18:40:56,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with
2026-10-29 18:40:56,081 - INFO - Initial checks done. Running the testcase now
2026-10-29 18:40:56,081 - INFO -
2026-10-29 18:40:57,016 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61707752
2026-10-29 18:40:57,117 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61707752
2026-10-29 18:40:57,477 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61707752', 'default']}
2026-10-29 18:40:57,810 - DEBUG - Response for create_network : {'network': {'id': '99312097-92e1-4dae-8f97-258d6348534b', 'name': 'ctest-vn-58267926', 'tenant_id': '8c85ea477a5a47f78416597551507d38', 'project_id': '8c85ea477a5a47f78416597551507d38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61707752', 'ctest-vn-58267926'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:40:58,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '012ae56e-dd27-4b26-ba2b-daf373b0c837', 'name': '', 'tenant_id': '8c85ea477a5a47f78416597551507d38', 'network_id': '99312097-92e1-4dae-8f97-258d6348534b', 'ip_version': 4, 'cidr': '34.243.253.128/26', 'allocation_pools': [{'start': '34.243.253.130', 'end': '34.243.253.190'}], 'gateway_ip': '34.243.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.243.253.130', 'tags': [], 'project_id': '8c85ea477a5a47f78416597551507d38'}}
2026-10-29 18:40:58,048 - INFO - Created VN ctest-vn-58267926
2026-10-29 18:40:58,109 - DEBUG - VN ctest-vn-58267926 UUID is 99312097-92e1-4dae-8f97-258d6348534b
2026-10-29 18:40:58,490 - DEBUG - Response for create_network : {'network': {'id': '88499164-6201-481d-8243-7a292a428e99', 'name': 'ctest-ext_vn-50298973', 'tenant_id': '8c85ea477a5a47f78416597551507d38', 'project_id': '8c85ea477a5a47f78416597551507d38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61707752', 'ctest-ext_vn-50298973'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:40:58,747 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdcdb55a-100a-4518-9660-4588594a1869', 'name': '', 'tenant_id': '8c85ea477a5a47f78416597551507d38', 'network_id': '88499164-6201-481d-8243-7a292a428e99', 'ip_version': 4, 'cidr': '6.227.51.64/26', 'allocation_pools': [{'start': '6.227.51.66', 'end': '6.227.51.126'}], 'gateway_ip': '6.227.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.227.51.66', 'tags': [], 'project_id': '8c85ea477a5a47f78416597551507d38'}}
2026-10-29 18:40:58,771 - INFO - Created VN ctest-ext_vn-50298973
2026-10-29 18:40:58,825 - DEBUG - VN ctest-ext_vn-50298973 UUID is 88499164-6201-481d-8243-7a292a428e99
2026-10-29 18:40:59,042 - DEBUG - Services list from nova: [, , ]
2026-10-29 18:40:59,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6441-1)
2026-10-29 18:41:00,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6441-1)
2026-10-29 18:41:00,551 - INFO - Setting gateway for router b7e00e60-e1e3-497e-9bf5-4bed034831d8 to network 88499164-6201-481d-8243-7a292a428e99
2026-10-29 18:41:00,640 - INFO - Adding interface with subnet_id 012ae56e-dd27-4b26-ba2b-daf373b0c837, port_id None to router b7e00e60-e1e3-497e-9bf5-4bed034831d8
2026-10-29 18:41:01,054 - INFO - Waiting for VM ctest-TestRoutersBasic-61707752-15549540 to be up..
2026-10-29 18:41:01,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 18:41:06,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 18:41:11,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 18:41:16,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 18:41:21,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 18:41:26,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 18:41:31,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 18:41:36,844 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 18:41:41,959 - DEBUG - VM is in ACTIVE state now
2026-10-29 18:41:41,959 - INFO - VM name : ctest-TestRoutersBasic-61707752-15549540
2026-10-29 18:41:42,065 - DEBUG - VM ctest-TestRoutersBasic-61707752-15549540 ID is 674bcd42-01c4-4c8c-b01e-081c64d586ed
2026-10-29 18:41:42,091 - DEBUG - VM ctest-TestRoutersBasic-61707752-15549540 launched on Node cn-jenkins-deploy-platform-ansible-os-6441-1
2026-10-29 18:41:42,213 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/674bcd42-01c4-4c8c-b01e-081c64d586ed
2026-10-29 18:41:42,653 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/674bcd42-01c4-4c8c-b01e-081c64d586ed
2026-10-29 18:41:42,701 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/6a1b71bd-381f-4a92-a6f9-1a55c622391c
2026-10-29 18:41:45,999 - 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 1023ms')
2026-10-29 18:41:45,999 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-61707752-15549540 failed!
2026-10-29 18:41:46,057 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61707752:ctest-vn-58267926 is 34.243.253.129 and allocation pool is NOT set
2026-10-29 18:41:48,132 - 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=9.13 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.79 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 = 3.786/6.457/9.128/2.671 ms')
2026-10-29 18:41:48,132 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-61707752-15549540 passed
2026-10-29 18:41:48,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 18:41:48,293 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61707752-15549540, IP 34.243.253.131, Port 22
2026-10-29 18:41:48,359 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-29 18:41:48,461 - DEBUG - VM ctest-TestRoutersBasic-61707752-15549540 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-29 18:41:53,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 18:41:53,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61707752-15549540, IP 34.243.253.131, Port 22
2026-10-29 18:41:53,645 - DEBUG - VM ctest-TestRoutersBasic-61707752-15549540 is ready for SSH connections
2026-10-29 18:41:53,645 - INFO - Waiting for VM ctest-TestRoutersBasic-61707752-78818091 to be up..
2026-10-29 18:41:53,746 - DEBUG - VM is in ACTIVE state now
2026-10-29 18:41:53,746 - INFO - VM name : ctest-TestRoutersBasic-61707752-78818091
2026-10-29 18:41:53,840 - DEBUG - VM ctest-TestRoutersBasic-61707752-78818091 ID is 4754893f-d049-4ade-af2e-589c9eba227b
2026-10-29 18:41:53,841 - DEBUG - VM ctest-TestRoutersBasic-61707752-78818091 launched on Node cn-jenkins-deploy-platform-ansible-os-6441-1
2026-10-29 18:41:53,948 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/4754893f-d049-4ade-af2e-589c9eba227b
2026-10-29 18:41:53,960 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/431a6dd6-e4ae-4da8-9d01-ab4935b21518
2026-10-29 18:41:55,227 - 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=1 ttl=63 time=3.89 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.565 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.565/2.228/3.892/1.663 ms')
2026-10-29 18:41:55,227 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-61707752-78818091 passed
2026-10-29 18:41:55,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 18:41:55,385 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61707752-78818091, IP 6.227.51.68, Port 22
2026-10-29 18:41:55,557 - DEBUG - VM ctest-TestRoutersBasic-61707752-78818091 is ready for SSH connections
2026-10-29 18:41:55,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 18:41:55,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.227.51.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123
2026-10-29 18:41:55,557 - DEBUG - ping -s 56 -c 3 -W 1 6.227.51.68
2026-10-29 18:41:58,771 - DEBUG - PING 6.227.51.68 (6.227.51.68): 56 data bytes
64 bytes from 6.227.51.68: seq=0 ttl=62 time=6.177 ms
64 bytes from 6.227.51.68: seq=1 ttl=62 time=1.460 ms
64 bytes from 6.227.51.68: seq=2 ttl=62 time=1.378 ms
--- 6.227.51.68 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.378/3.005/6.177 ms
2026-10-29 18:41:58,771 - INFO - Ping to IP 6.227.51.68 from VM ctest-TestRoutersBasic-61707752-15549540 passed
2026-10-29 18:41:58,771 - INFO - Deleting interface with subnet_id 012ae56e-dd27-4b26-ba2b-daf373b0c837, port_id None from router b7e00e60-e1e3-497e-9bf5-4bed034831d8
2026-10-29 18:41:59,028 - INFO - Deleting VM ctest-TestRoutersBasic-61707752-78818091
2026-10-29 18:41:59,117 - INFO - Deleting VM ctest-TestRoutersBasic-61707752-15549540
2026-10-29 18:41:59,204 - INFO - Deleting VN ctest-ext_vn-50298973
2026-10-29 18:41:59,292 - DEBUG - VN 88499164-6201-481d-8243-7a292a428e99 still in use: Unable to complete operation on network 88499164-6201-481d-8243-7a292a428e99. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ccf11f66-f67c-4147-862d-3eeb289c90cd']
2026-10-29 18:41:59,292 - WARNING - Deleting VN ctest-ext_vn-50298973 failed..Will retry
2026-10-29 18:42:01,331 - DEBUG - VN 88499164-6201-481d-8243-7a292a428e99 still in use: Unable to complete operation on network 88499164-6201-481d-8243-7a292a428e99. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a9f54a6a-da1d-4cab-bb45-17a153c09c99']
2026-10-29 18:42:01,331 - WARNING - Deleting VN ctest-ext_vn-50298973 failed..Will retry
2026-10-29 18:42:03,470 - DEBUG - Response for deleting network ()
2026-10-29 18:42:03,470 - INFO - Deleting VN ctest-vn-58267926
2026-10-29 18:42:03,650 - DEBUG - Response for deleting network ()
2026-10-29 18:42:03,931 - DEBUG - No XMPP flaps were noticed during the test
2026-10-29 18:42:03,931 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:08]
2026-10-29 18:42:03,931 - INFO - --------------------------------------------------------------------------------
2026-10-29 18:42:04,820 - INFO - Deleted project: ctest-TestRoutersBasic-61707752, ID : 8c85ea47-7a5a-47f7-8416-597551507d38