2025-10-08 19:21:52,971 - INFO - Domain Default found not creating
2025-10-08 19:21:53,115 - INFO - Project ctest-TestRoutersBasic-94087757 not found, creating it
2025-10-08 19:21:53,565 - INFO - Created Project:ctest-TestRoutersBasic-94087757, ID : 86ec6038-8233-4b18-b74c-925ffccd9fa8
2025-10-08 19:21:55,022 - INFO - ================================================================================
2025-10-08 19:21:55,022 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-08 19:21:55,022 - 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-08 19:21:55,279 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.193': '0'}} with
2025-10-08 19:21:55,279 - INFO - Initial checks done. Running the testcase now
2025-10-08 19:21:55,280 - INFO -
2025-10-08 19:21:55,978 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94087757
2025-10-08 19:21:56,074 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94087757
2025-10-08 19:21:56,393 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94087757', 'default']}
2025-10-08 19:21:56,673 - DEBUG - Response for create_network : {'network': {'id': 'e780033e-5fb7-4e64-9bfb-05ffb43f73d9', 'name': 'ctest-vn-07508032', 'tenant_id': '86ec603882334b18b74c925ffccd9fa8', 'project_id': '86ec603882334b18b74c925ffccd9fa8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94087757', 'ctest-vn-07508032'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 19:21:56,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b278c98-4010-480a-afd6-075b4d36260b', 'name': '', 'tenant_id': '86ec603882334b18b74c925ffccd9fa8', 'network_id': 'e780033e-5fb7-4e64-9bfb-05ffb43f73d9', 'ip_version': 4, 'cidr': '199.65.97.128/26', 'allocation_pools': [{'start': '199.65.97.130', 'end': '199.65.97.190'}], 'gateway_ip': '199.65.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.65.97.130', 'tags': [], 'project_id': '86ec603882334b18b74c925ffccd9fa8'}}
2025-10-08 19:21:56,903 - INFO - Created VN ctest-vn-07508032
2025-10-08 19:21:56,958 - DEBUG - VN ctest-vn-07508032 UUID is e780033e-5fb7-4e64-9bfb-05ffb43f73d9
2025-10-08 19:21:57,255 - DEBUG - Response for create_network : {'network': {'id': '3d764413-8b32-42f2-a779-02fb070eda6a', 'name': 'ctest-ext_vn-62241321', 'tenant_id': '86ec603882334b18b74c925ffccd9fa8', 'project_id': '86ec603882334b18b74c925ffccd9fa8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94087757', 'ctest-ext_vn-62241321'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 19:21:57,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '0aa375b1-723c-4815-91e6-ba3b97a47c29', 'name': '', 'tenant_id': '86ec603882334b18b74c925ffccd9fa8', 'network_id': '3d764413-8b32-42f2-a779-02fb070eda6a', 'ip_version': 4, 'cidr': '140.6.171.0/26', 'allocation_pools': [{'start': '140.6.171.2', 'end': '140.6.171.62'}], 'gateway_ip': '140.6.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.6.171.2', 'tags': [], 'project_id': '86ec603882334b18b74c925ffccd9fa8'}}
2025-10-08 19:21:57,434 - INFO - Created VN ctest-ext_vn-62241321
2025-10-08 19:21:57,486 - DEBUG - VN ctest-ext_vn-62241321 UUID is 3d764413-8b32-42f2-a779-02fb070eda6a
2025-10-08 19:21:57,688 - DEBUG - Services list from nova: [, , ]
2025-10-08 19:21:58,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4242-1)
2025-10-08 19:21:59,798 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4242-1)
2025-10-08 19:21:59,889 - INFO - Setting gateway for router 982a59c2-10fc-4d6a-943c-e78797924364 to network 3d764413-8b32-42f2-a779-02fb070eda6a
2025-10-08 19:21:59,974 - INFO - Adding interface with subnet_id 9b278c98-4010-480a-afd6-075b4d36260b, port_id None to router 982a59c2-10fc-4d6a-943c-e78797924364
2025-10-08 19:22:00,449 - INFO - Waiting for VM ctest-TestRoutersBasic-94087757-05776478 to be up..
2025-10-08 19:22:00,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 19:22:05,657 - DEBUG - VM is in ACTIVE state now
2025-10-08 19:22:05,657 - INFO - VM name : ctest-TestRoutersBasic-94087757-05776478
2025-10-08 19:22:05,731 - DEBUG - VM ctest-TestRoutersBasic-94087757-05776478 ID is dbcd1e53-371a-4fc3-bdcf-f3a5977e2aaa
2025-10-08 19:22:05,755 - DEBUG - VM ctest-TestRoutersBasic-94087757-05776478 launched on Node cn-jenkins-deploy-platform-ansible-os-4242-1
2025-10-08 19:22:05,830 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/dbcd1e53-371a-4fc3-bdcf-f3a5977e2aaa
2025-10-08 19:22:06,123 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/dbcd1e53-371a-4fc3-bdcf-f3a5977e2aaa
2025-10-08 19:22:06,154 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c78a5059-a063-4614-9334-7fcd0d30f3f3
2025-10-08 19:22:09,404 - 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 1015ms')
2025-10-08 19:22:09,404 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94087757-05776478 failed!
2025-10-08 19:22:09,458 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94087757:ctest-vn-07508032 is 199.65.97.129 and allocation pool is NOT set
2025-10-08 19:22:11,515 - 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=2.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 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.497/1.683/2.870/1.186 ms')
2025-10-08 19:22:11,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94087757-05776478 passed
2025-10-08 19:22:11,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 19:22:11,666 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94087757-05776478, IP 199.65.97.131, Port 22
2025-10-08 19:22:11,821 - DEBUG - VM ctest-TestRoutersBasic-94087757-05776478 is ready for SSH connections
2025-10-08 19:22:11,821 - INFO - Waiting for VM ctest-TestRoutersBasic-94087757-80030744 to be up..
2025-10-08 19:22:11,896 - DEBUG - VM is in ACTIVE state now
2025-10-08 19:22:11,896 - INFO - VM name : ctest-TestRoutersBasic-94087757-80030744
2025-10-08 19:22:11,968 - DEBUG - VM ctest-TestRoutersBasic-94087757-80030744 ID is a31708de-71a5-4fd6-80dc-4297c879bc9a
2025-10-08 19:22:11,969 - DEBUG - VM ctest-TestRoutersBasic-94087757-80030744 launched on Node cn-jenkins-deploy-platform-ansible-os-4242-1
2025-10-08 19:22:12,034 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a31708de-71a5-4fd6-80dc-4297c879bc9a
2025-10-08 19:22:12,041 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/64e7c17e-168f-4587-bf9b-7f5be2b008c3
2025-10-08 19:22:13,267 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.409/1.709/3.009/1.300 ms')
2025-10-08 19:22:13,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94087757-80030744 passed
2025-10-08 19:22:13,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 19:22:13,422 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94087757-80030744, IP 140.6.171.3, Port 22
2025-10-08 19:22:13,577 - DEBUG - VM ctest-TestRoutersBasic-94087757-80030744 is ready for SSH connections
2025-10-08 19:22:13,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 19:22:13,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.6.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-10-08 19:22:13,578 - DEBUG - ping -s 56 -c 3 -W 1 140.6.171.3
2025-10-08 19:22:17,306 - DEBUG - PING 140.6.171.3 (140.6.171.3): 56 data bytes
64 bytes from 140.6.171.3: seq=0 ttl=62 time=7.740 ms
64 bytes from 140.6.171.3: seq=1 ttl=62 time=0.895 ms
64 bytes from 140.6.171.3: seq=2 ttl=62 time=0.808 ms
--- 140.6.171.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.808/3.147/7.740 ms
2025-10-08 19:22:17,306 - INFO - Ping to IP 140.6.171.3 from VM ctest-TestRoutersBasic-94087757-05776478 passed
2025-10-08 19:22:17,306 - INFO - Deleting interface with subnet_id 9b278c98-4010-480a-afd6-075b4d36260b, port_id None from router 982a59c2-10fc-4d6a-943c-e78797924364
2025-10-08 19:22:17,487 - INFO - Deleting VM ctest-TestRoutersBasic-94087757-80030744
2025-10-08 19:22:17,557 - INFO - Deleting VM ctest-TestRoutersBasic-94087757-05776478
2025-10-08 19:22:17,639 - INFO - Deleting VN ctest-ext_vn-62241321
2025-10-08 19:22:17,714 - DEBUG - VN 3d764413-8b32-42f2-a779-02fb070eda6a still in use: Unable to complete operation on network 3d764413-8b32-42f2-a779-02fb070eda6a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-54437633-b4f8-48e2-b794-7b86602f43fd']
2025-10-08 19:22:17,714 - WARNING - Deleting VN ctest-ext_vn-62241321 failed..Will retry
2025-10-08 19:22:19,807 - DEBUG - Response for deleting network ()
2025-10-08 19:22:19,807 - INFO - Deleting VN ctest-vn-07508032
2025-10-08 19:22:19,906 - DEBUG - Response for deleting network ()
2025-10-08 19:22:20,168 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 19:22:20,168 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-08 19:22:20,168 - INFO - --------------------------------------------------------------------------------
2025-10-08 19:22:20,863 - INFO - Deleted project: ctest-TestRoutersBasic-94087757, ID : 86ec6038-8233-4b18-b74c-925ffccd9fa8