2025-06-19 12:45:55,407 - INFO - Domain Default found not creating 2025-06-19 12:45:55,557 - INFO - Project ctest-TestRoutersBasic-27523219 not found, creating it 2025-06-19 12:45:56,034 - INFO - Created Project:ctest-TestRoutersBasic-27523219, ID : b3e3ca57-742f-43d5-bebc-eacc2c60ac56 2025-06-19 12:45:57,429 - INFO - ================================================================================ 2025-06-19 12:45:57,429 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 12:45:57,429 - 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-06-19 12:45:57,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-06-19 12:45:57,684 - INFO - Initial checks done. Running the testcase now 2025-06-19 12:45:57,685 - INFO - 2025-06-19 12:45:58,383 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27523219 2025-06-19 12:45:58,482 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27523219 2025-06-19 12:45:58,810 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27523219', 'default']} 2025-06-19 12:45:59,118 - DEBUG - Response for create_network : {'network': {'id': '9e35e996-12bf-46fb-ab6e-9cba32ca1178', 'name': 'ctest-vn-39989060', 'tenant_id': 'b3e3ca57742f43d5bebceacc2c60ac56', 'project_id': 'b3e3ca57742f43d5bebceacc2c60ac56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27523219', 'ctest-vn-39989060'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:45:59,301 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b43fed9-cb44-4e19-8fe5-733b7051df4f', 'name': '', 'tenant_id': 'b3e3ca57742f43d5bebceacc2c60ac56', 'network_id': '9e35e996-12bf-46fb-ab6e-9cba32ca1178', 'ip_version': 4, 'cidr': '221.52.26.0/26', 'allocation_pools': [{'start': '221.52.26.2', 'end': '221.52.26.62'}], 'gateway_ip': '221.52.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.52.26.2', 'tags': [], 'project_id': 'b3e3ca57742f43d5bebceacc2c60ac56'}} 2025-06-19 12:45:59,320 - INFO - Created VN ctest-vn-39989060 2025-06-19 12:45:59,374 - DEBUG - VN ctest-vn-39989060 UUID is 9e35e996-12bf-46fb-ab6e-9cba32ca1178 2025-06-19 12:45:59,680 - DEBUG - Response for create_network : {'network': {'id': 'f4ef0b0b-e9b6-4f05-b37c-9c3c1115c299', 'name': 'ctest-ext_vn-08351759', 'tenant_id': 'b3e3ca57742f43d5bebceacc2c60ac56', 'project_id': 'b3e3ca57742f43d5bebceacc2c60ac56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27523219', 'ctest-ext_vn-08351759'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:45:59,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '3731e93c-de66-4925-9992-3092f092c411', 'name': '', 'tenant_id': 'b3e3ca57742f43d5bebceacc2c60ac56', 'network_id': 'f4ef0b0b-e9b6-4f05-b37c-9c3c1115c299', 'ip_version': 4, 'cidr': '217.73.153.64/26', 'allocation_pools': [{'start': '217.73.153.66', 'end': '217.73.153.126'}], 'gateway_ip': '217.73.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.73.153.66', 'tags': [], 'project_id': 'b3e3ca57742f43d5bebceacc2c60ac56'}} 2025-06-19 12:45:59,863 - INFO - Created VN ctest-ext_vn-08351759 2025-06-19 12:45:59,918 - DEBUG - VN ctest-ext_vn-08351759 UUID is f4ef0b0b-e9b6-4f05-b37c-9c3c1115c299 2025-06-19 12:46:00,083 - DEBUG - Services list from nova: [, , ] 2025-06-19 12:46:01,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3494-1) 2025-06-19 12:46:02,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3494-1) 2025-06-19 12:46:02,466 - INFO - Setting gateway for router 5da0d1be-cd68-4a0b-9bdb-e20fb508fb16 to network f4ef0b0b-e9b6-4f05-b37c-9c3c1115c299 2025-06-19 12:46:02,551 - INFO - Adding interface with subnet_id 3b43fed9-cb44-4e19-8fe5-733b7051df4f, port_id None to router 5da0d1be-cd68-4a0b-9bdb-e20fb508fb16 2025-06-19 12:46:02,944 - INFO - Waiting for VM ctest-TestRoutersBasic-27523219-96036049 to be up.. 2025-06-19 12:46:03,096 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 12:46:08,197 - DEBUG - VM is in ACTIVE state now 2025-06-19 12:46:08,197 - INFO - VM name : ctest-TestRoutersBasic-27523219-96036049 2025-06-19 12:46:08,287 - DEBUG - VM ctest-TestRoutersBasic-27523219-96036049 ID is 29ef2745-8b5c-4bbc-85e9-2c2583810b14 2025-06-19 12:46:08,313 - DEBUG - VM ctest-TestRoutersBasic-27523219-96036049 launched on Node cn-jenkins-deploy-platform-ansible-os-3494-1 2025-06-19 12:46:08,391 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/29ef2745-8b5c-4bbc-85e9-2c2583810b14 2025-06-19 12:46:08,686 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/29ef2745-8b5c-4bbc-85e9-2c2583810b14 2025-06-19 12:46:08,720 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/dca34d6d-e15c-4efb-a740-4e20b2d9d679 2025-06-19 12:46:11,978 - 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 1009ms') 2025-06-19 12:46:11,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27523219-96036049 failed! 2025-06-19 12:46:12,034 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27523219:ctest-vn-39989060 is 221.52.26.1 and allocation pool is NOT set 2025-06-19 12:46:14,102 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/1.730/3.032/1.301 ms') 2025-06-19 12:46:14,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27523219-96036049 passed 2025-06-19 12:46:14,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:46:14,259 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27523219-96036049, IP 221.52.26.3, Port 22 2025-06-19 12:46:14,427 - DEBUG - VM ctest-TestRoutersBasic-27523219-96036049 is ready for SSH connections 2025-06-19 12:46:14,427 - INFO - Waiting for VM ctest-TestRoutersBasic-27523219-62597020 to be up.. 2025-06-19 12:46:14,522 - DEBUG - VM is in ACTIVE state now 2025-06-19 12:46:14,522 - INFO - VM name : ctest-TestRoutersBasic-27523219-62597020 2025-06-19 12:46:14,602 - DEBUG - VM ctest-TestRoutersBasic-27523219-62597020 ID is 78f2747b-7798-41a2-920b-a2b7c6b42cba 2025-06-19 12:46:14,603 - DEBUG - VM ctest-TestRoutersBasic-27523219-62597020 launched on Node cn-jenkins-deploy-platform-ansible-os-3494-1 2025-06-19 12:46:14,686 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/78f2747b-7798-41a2-920b-a2b7c6b42cba 2025-06-19 12:46:14,694 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/14b375f2-55d1-4a10-9bb7-1f1a04c17128 2025-06-19 12:46:15,929 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 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.433/3.084/4.736/1.651 ms') 2025-06-19 12:46:15,929 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27523219-62597020 passed 2025-06-19 12:46:16,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:46:16,086 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27523219-62597020, IP 217.73.153.67, Port 22 2025-06-19 12:46:16,245 - DEBUG - VM ctest-TestRoutersBasic-27523219-62597020 is ready for SSH connections 2025-06-19 12:46:16,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:46:16,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.73.153.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-06-19 12:46:16,245 - DEBUG - ping -s 56 -c 3 -W 1 217.73.153.67 2025-06-19 12:46:19,918 - DEBUG - PING 217.73.153.67 (217.73.153.67): 56 data bytes 64 bytes from 217.73.153.67: seq=0 ttl=62 time=6.770 ms 64 bytes from 217.73.153.67: seq=1 ttl=62 time=0.962 ms 64 bytes from 217.73.153.67: seq=2 ttl=62 time=0.847 ms --- 217.73.153.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/2.859/6.770 ms 2025-06-19 12:46:19,918 - INFO - Ping to IP 217.73.153.67 from VM ctest-TestRoutersBasic-27523219-96036049 passed 2025-06-19 12:46:19,918 - INFO - Deleting interface with subnet_id 3b43fed9-cb44-4e19-8fe5-733b7051df4f, port_id None from router 5da0d1be-cd68-4a0b-9bdb-e20fb508fb16 2025-06-19 12:46:20,140 - INFO - Deleting VM ctest-TestRoutersBasic-27523219-62597020 2025-06-19 12:46:20,209 - INFO - Deleting VM ctest-TestRoutersBasic-27523219-96036049 2025-06-19 12:46:20,274 - INFO - Deleting VN ctest-ext_vn-08351759 2025-06-19 12:46:20,353 - DEBUG - VN f4ef0b0b-e9b6-4f05-b37c-9c3c1115c299 still in use: Unable to complete operation on network f4ef0b0b-e9b6-4f05-b37c-9c3c1115c299. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d509f8f1-a07c-46cb-91f8-5040c69e2c76'] 2025-06-19 12:46:20,353 - WARNING - Deleting VN ctest-ext_vn-08351759 failed..Will retry 2025-06-19 12:46:22,486 - DEBUG - Response for deleting network () 2025-06-19 12:46:22,486 - INFO - Deleting VN ctest-vn-39989060 2025-06-19 12:46:22,601 - DEBUG - Response for deleting network () 2025-06-19 12:46:22,859 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 12:46:22,859 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-19 12:46:22,859 - INFO - -------------------------------------------------------------------------------- 2025-06-19 12:46:23,540 - INFO - Deleted project: ctest-TestRoutersBasic-27523219, ID : b3e3ca57-742f-43d5-bebc-eacc2c60ac56