2025-11-05 10:20:53,906 - INFO - Domain Default found not creating
2025-11-05 10:20:54,067 - INFO - Project ctest-TestRoutersBasic-49400798 not found, creating it
2025-11-05 10:20:54,531 - INFO - Created Project:ctest-TestRoutersBasic-49400798, ID : f240d630-7645-47d2-a701-d3200167dbfc
2025-11-05 10:20:55,909 - INFO - ================================================================================
2025-11-05 10:20:55,909 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-05 10:20:55,909 - 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-11-05 10:20:56,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-05 10:20:56,161 - INFO - Initial checks done. Running the testcase now
2025-11-05 10:20:56,161 - INFO -
2025-11-05 10:20:56,851 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49400798
2025-11-05 10:20:56,948 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49400798
2025-11-05 10:20:57,264 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49400798', 'default']}
2025-11-05 10:20:57,558 - DEBUG - Response for create_network : {'network': {'id': 'ab866590-b2c7-4757-98af-54615d47aee4', 'name': 'ctest-vn-26336908', 'tenant_id': 'f240d630764547d2a701d3200167dbfc', 'project_id': 'f240d630764547d2a701d3200167dbfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49400798', 'ctest-vn-26336908'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 10:20:57,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '26082014-c399-4e03-8626-2cf0e5724444', 'name': '', 'tenant_id': 'f240d630764547d2a701d3200167dbfc', 'network_id': 'ab866590-b2c7-4757-98af-54615d47aee4', 'ip_version': 4, 'cidr': '122.50.251.64/26', 'allocation_pools': [{'start': '122.50.251.66', 'end': '122.50.251.126'}], 'gateway_ip': '122.50.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.50.251.66', 'tags': [], 'project_id': 'f240d630764547d2a701d3200167dbfc'}}
2025-11-05 10:20:57,748 - INFO - Created VN ctest-vn-26336908
2025-11-05 10:20:57,800 - DEBUG - VN ctest-vn-26336908 UUID is ab866590-b2c7-4757-98af-54615d47aee4
2025-11-05 10:20:58,116 - DEBUG - Response for create_network : {'network': {'id': '4669109e-3627-4f22-bc12-2e130dad6f7e', 'name': 'ctest-ext_vn-92098021', 'tenant_id': 'f240d630764547d2a701d3200167dbfc', 'project_id': 'f240d630764547d2a701d3200167dbfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49400798', 'ctest-ext_vn-92098021'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 10:20:58,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '62ea254a-0d2d-4186-aa57-28e91c5bae9a', 'name': '', 'tenant_id': 'f240d630764547d2a701d3200167dbfc', 'network_id': '4669109e-3627-4f22-bc12-2e130dad6f7e', 'ip_version': 4, 'cidr': '209.39.165.192/26', 'allocation_pools': [{'start': '209.39.165.194', 'end': '209.39.165.254'}], 'gateway_ip': '209.39.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.39.165.194', 'tags': [], 'project_id': 'f240d630764547d2a701d3200167dbfc'}}
2025-11-05 10:20:58,344 - INFO - Created VN ctest-ext_vn-92098021
2025-11-05 10:20:58,396 - DEBUG - VN ctest-ext_vn-92098021 UUID is 4669109e-3627-4f22-bc12-2e130dad6f7e
2025-11-05 10:20:58,600 - DEBUG - Services list from nova: [, , ]
2025-11-05 10:20:59,583 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4637-1)
2025-11-05 10:21:00,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4637-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4637-1)
2025-11-05 10:21:00,761 - INFO - Setting gateway for router f9d266f2-1d96-450a-8dca-2314745cdce1 to network 4669109e-3627-4f22-bc12-2e130dad6f7e
2025-11-05 10:21:00,840 - INFO - Adding interface with subnet_id 26082014-c399-4e03-8626-2cf0e5724444, port_id None to router f9d266f2-1d96-450a-8dca-2314745cdce1
2025-11-05 10:21:01,091 - INFO - Waiting for VM ctest-TestRoutersBasic-49400798-95645552 to be up..
2025-11-05 10:21:01,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 10:21:06,309 - DEBUG - VM is in ACTIVE state now
2025-11-05 10:21:06,309 - INFO - VM name : ctest-TestRoutersBasic-49400798-95645552
2025-11-05 10:21:06,377 - DEBUG - VM ctest-TestRoutersBasic-49400798-95645552 ID is 0c6534ec-a32e-47cf-aa00-42a59f1f5e2f
2025-11-05 10:21:06,397 - DEBUG - VM ctest-TestRoutersBasic-49400798-95645552 launched on Node cn-jenkins-deploy-platform-ansible-os-4637-1
2025-11-05 10:21:06,460 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0c6534ec-a32e-47cf-aa00-42a59f1f5e2f
2025-11-05 10:21:06,754 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0c6534ec-a32e-47cf-aa00-42a59f1f5e2f
2025-11-05 10:21:06,780 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e8cfe805-b3c8-4705-8428-b81c8ccfe7c8
2025-11-05 10:21:10,022 - 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 1010ms')
2025-11-05 10:21:10,022 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49400798-95645552 failed!
2025-11-05 10:21:10,076 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49400798:ctest-vn-26336908 is 122.50.251.65 and allocation pool is NOT set
2025-11-05 10:21:12,142 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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 = 0.486/2.051/3.616/1.565 ms')
2025-11-05 10:21:12,142 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49400798-95645552 passed
2025-11-05 10:21:12,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:21:12,292 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49400798-95645552, IP 122.50.251.67, Port 22
2025-11-05 10:21:12,452 - DEBUG - VM ctest-TestRoutersBasic-49400798-95645552 is ready for SSH connections
2025-11-05 10:21:12,452 - INFO - Waiting for VM ctest-TestRoutersBasic-49400798-63526191 to be up..
2025-11-05 10:21:12,528 - DEBUG - VM is in ACTIVE state now
2025-11-05 10:21:12,528 - INFO - VM name : ctest-TestRoutersBasic-49400798-63526191
2025-11-05 10:21:12,593 - DEBUG - VM ctest-TestRoutersBasic-49400798-63526191 ID is a941885e-2bf4-4844-89ec-e9187207ddf8
2025-11-05 10:21:12,593 - DEBUG - VM ctest-TestRoutersBasic-49400798-63526191 launched on Node cn-jenkins-deploy-platform-ansible-os-4637-1
2025-11-05 10:21:12,661 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a941885e-2bf4-4844-89ec-e9187207ddf8
2025-11-05 10:21:12,669 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/44ead72f-7d37-4fb7-a12c-52fcae38c68c
2025-11-05 10:21:13,905 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/2.046/3.610/1.563 ms')
2025-11-05 10:21:13,905 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49400798-63526191 passed
2025-11-05 10:21:14,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:21:14,052 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49400798-63526191, IP 209.39.165.195, Port 22
2025-11-05 10:21:14,208 - DEBUG - VM ctest-TestRoutersBasic-49400798-63526191 is ready for SSH connections
2025-11-05 10:21:14,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 10:21:14,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.39.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-05 10:21:14,208 - DEBUG - ping -s 56 -c 3 -W 1 209.39.165.195
2025-11-05 10:21:18,204 - DEBUG - PING 209.39.165.195 (209.39.165.195): 56 data bytes
64 bytes from 209.39.165.195: seq=0 ttl=62 time=6.380 ms
64 bytes from 209.39.165.195: seq=1 ttl=62 time=0.970 ms
64 bytes from 209.39.165.195: seq=2 ttl=62 time=0.924 ms
--- 209.39.165.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.924/2.758/6.380 ms
2025-11-05 10:21:18,204 - INFO - Ping to IP 209.39.165.195 from VM ctest-TestRoutersBasic-49400798-95645552 passed
2025-11-05 10:21:18,204 - INFO - Deleting interface with subnet_id 26082014-c399-4e03-8626-2cf0e5724444, port_id None from router f9d266f2-1d96-450a-8dca-2314745cdce1
2025-11-05 10:21:18,424 - INFO - Deleting VM ctest-TestRoutersBasic-49400798-63526191
2025-11-05 10:21:18,502 - INFO - Deleting VM ctest-TestRoutersBasic-49400798-95645552
2025-11-05 10:21:18,579 - INFO - Deleting VN ctest-ext_vn-92098021
2025-11-05 10:21:18,656 - DEBUG - VN 4669109e-3627-4f22-bc12-2e130dad6f7e still in use: Unable to complete operation on network 4669109e-3627-4f22-bc12-2e130dad6f7e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-445a522a-6db7-4557-99f6-08a55a8ab27b']
2025-11-05 10:21:18,657 - WARNING - Deleting VN ctest-ext_vn-92098021 failed..Will retry
2025-11-05 10:21:20,751 - DEBUG - Response for deleting network ()
2025-11-05 10:21:20,751 - INFO - Deleting VN ctest-vn-26336908
2025-11-05 10:21:20,854 - DEBUG - Response for deleting network ()
2025-11-05 10:21:21,109 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 10:21:21,109 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-05 10:21:21,109 - INFO - --------------------------------------------------------------------------------
2025-11-05 10:21:21,788 - INFO - Deleted project: ctest-TestRoutersBasic-49400798, ID : f240d630-7645-47d2-a701-d3200167dbfc