2025-04-28 01:49:52,003 - INFO - Reading existing Domain with UUID 603e603f-8372-4ebb-8595-56d5f17fcd53
2025-04-28 01:49:52,015 - INFO - Using existing domain ['admin_domain'](603e603f-8372-4ebb-8595-56d5f17fcd53)
2025-04-28 01:49:52,218 - INFO - Project ctest-TestRoutersBasic-82724288 not found, creating it
2025-04-28 01:49:52,765 - INFO - Created Project:ctest-TestRoutersBasic-82724288, ID : 0e78f732-4396-4ac9-bbfe-3dbed577d25d
2025-04-28 01:49:54,567 - INFO - ================================================================================
2025-04-28 01:49:54,567 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-28 01:49:54,567 - 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-04-28 01:49:54,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2025-04-28 01:49:54,950 - INFO - Initial checks done. Running the testcase now
2025-04-28 01:49:54,950 - INFO -
2025-04-28 01:49:55,804 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82724288
2025-04-28 01:49:55,908 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82724288
2025-04-28 01:49:56,248 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-82724288', 'default']}
2025-04-28 01:49:56,866 - DEBUG - Response for create_network : {'network': {'id': '90cd2856-2611-44be-9e89-e154b411fbd4', 'name': 'ctest-vn-90177864', 'tenant_id': '0e78f73243964ac9bbfe3dbed577d25d', 'project_id': '0e78f73243964ac9bbfe3dbed577d25d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-82724288', 'ctest-vn-90177864'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-04-28 01:49:57,349 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a133fd76-afad-43ec-9b4c-9cb8d0ba6b7e', 'name': '', 'tenant_id': '0e78f73243964ac9bbfe3dbed577d25d', 'network_id': '90cd2856-2611-44be-9e89-e154b411fbd4', 'ip_version': 4, 'cidr': '74.93.196.0/26', 'allocation_pools': [{'start': '74.93.196.2', 'end': '74.93.196.62'}], 'gateway_ip': '74.93.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-28T01:49:57.201701', 'updated_at': '2025-04-28T01:49:57.201701', 'dns_server_address': '74.93.196.2', 'tags': [], 'project_id': '0e78f73243964ac9bbfe3dbed577d25d'}}
2025-04-28 01:49:57,419 - INFO - Created VN ctest-vn-90177864
2025-04-28 01:49:57,476 - DEBUG - VN ctest-vn-90177864 UUID is 90cd2856-2611-44be-9e89-e154b411fbd4
2025-04-28 01:49:58,065 - DEBUG - Response for create_network : {'network': {'id': '9d36d1a9-7184-4167-9167-f3f576d58e71', 'name': 'ctest-ext_vn-55329868', 'tenant_id': '0e78f73243964ac9bbfe3dbed577d25d', 'project_id': '0e78f73243964ac9bbfe3dbed577d25d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-82724288', 'ctest-ext_vn-55329868'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-04-28 01:49:58,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '98ac84dd-337c-41ba-8b83-e7f7f7a4ed3c', 'name': '', 'tenant_id': '0e78f73243964ac9bbfe3dbed577d25d', 'network_id': '9d36d1a9-7184-4167-9167-f3f576d58e71', 'ip_version': 4, 'cidr': '24.198.138.192/26', 'allocation_pools': [{'start': '24.198.138.194', 'end': '24.198.138.254'}], 'gateway_ip': '24.198.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-28T01:49:58.215966', 'updated_at': '2025-04-28T01:49:58.215966', 'dns_server_address': '24.198.138.194', 'tags': [], 'project_id': '0e78f73243964ac9bbfe3dbed577d25d'}}
2025-04-28 01:49:58,414 - INFO - Created VN ctest-ext_vn-55329868
2025-04-28 01:49:58,468 - DEBUG - VN ctest-ext_vn-55329868 UUID is 9d36d1a9-7184-4167-9167-f3f576d58e71
2025-04-28 01:49:58,749 - DEBUG - Services list from nova: [, , ]
2025-04-28 01:49:59,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-532-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-532-1)
2025-04-28 01:50:01,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-532-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-532-1)
2025-04-28 01:50:01,417 - INFO - Setting gateway for router 1cacbe24-af41-496c-9415-ab68394f2c73 to network 9d36d1a9-7184-4167-9167-f3f576d58e71
2025-04-28 01:50:01,589 - INFO - Adding interface with subnet_id a133fd76-afad-43ec-9b4c-9cb8d0ba6b7e, port_id None to router 1cacbe24-af41-496c-9415-ab68394f2c73
2025-04-28 01:50:02,215 - INFO - Waiting for VM ctest-TestRoutersBasic-82724288-83591016 to be up..
2025-04-28 01:50:02,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-28 01:50:07,556 - DEBUG - VM is in ACTIVE state now
2025-04-28 01:50:07,557 - INFO - VM name : ctest-TestRoutersBasic-82724288-83591016
2025-04-28 01:50:07,701 - DEBUG - VM ctest-TestRoutersBasic-82724288-83591016 ID is cbaa4ee2-70fb-4c98-a205-71348917c348
2025-04-28 01:50:07,724 - DEBUG - VM ctest-TestRoutersBasic-82724288-83591016 launched on Node cn-jenkins-deploy-platform-juju-os-532-1
2025-04-28 01:50:07,862 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/cbaa4ee2-70fb-4c98-a205-71348917c348
2025-04-28 01:50:08,250 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/cbaa4ee2-70fb-4c98-a205-71348917c348
2025-04-28 01:50:08,341 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/975803eb-e426-4be1-98da-f5949b466be3
2025-04-28 01:50:11,826 - 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 1012ms')
2025-04-28 01:50:11,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82724288-83591016 failed!
2025-04-28 01:50:11,888 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-82724288:ctest-vn-90177864 is 74.93.196.1 and allocation pool is NOT set
2025-04-28 01:50:15,982 - 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=2 ttl=63 time=2.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.783/2.783/2.783/0.000 ms')
2025-04-28 01:50:15,982 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82724288-83591016 passed
2025-04-28 01:50:16,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 01:50:16,140 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82724288-83591016, IP 74.93.196.3, Port 22
2025-04-28 01:50:16,355 - DEBUG - VM ctest-TestRoutersBasic-82724288-83591016 is ready for SSH connections
2025-04-28 01:50:16,355 - INFO - Waiting for VM ctest-TestRoutersBasic-82724288-51673371 to be up..
2025-04-28 01:50:16,518 - DEBUG - VM is in ACTIVE state now
2025-04-28 01:50:16,518 - INFO - VM name : ctest-TestRoutersBasic-82724288-51673371
2025-04-28 01:50:16,676 - DEBUG - VM ctest-TestRoutersBasic-82724288-51673371 ID is 67f92460-6973-4af4-986a-5db67bd9de56
2025-04-28 01:50:16,676 - DEBUG - VM ctest-TestRoutersBasic-82724288-51673371 launched on Node cn-jenkins-deploy-platform-juju-os-532-1
2025-04-28 01:50:16,833 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/67f92460-6973-4af4-986a-5db67bd9de56
2025-04-28 01:50:16,889 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/4fea6422-77b2-4107-99f9-2743d7912073
2025-04-28 01:50:18,364 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.839/3.248/1.408 ms')
2025-04-28 01:50:18,364 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82724288-51673371 passed
2025-04-28 01:50:18,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 01:50:18,524 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82724288-51673371, IP 24.198.138.195, Port 22
2025-04-28 01:50:18,757 - DEBUG - VM ctest-TestRoutersBasic-82724288-51673371 is ready for SSH connections
2025-04-28 01:50:18,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 01:50:18,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.198.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-04-28 01:50:18,758 - DEBUG - ping -s 56 -c 3 -W 1 24.198.138.195
2025-04-28 01:50:22,460 - DEBUG - PING 24.198.138.195 (24.198.138.195): 56 data bytes
64 bytes from 24.198.138.195: seq=0 ttl=62 time=7.069 ms
64 bytes from 24.198.138.195: seq=1 ttl=62 time=0.759 ms
64 bytes from 24.198.138.195: seq=2 ttl=62 time=0.814 ms
--- 24.198.138.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.759/2.880/7.069 ms
2025-04-28 01:50:22,460 - INFO - Ping to IP 24.198.138.195 from VM ctest-TestRoutersBasic-82724288-83591016 passed
2025-04-28 01:50:22,460 - INFO - Deleting interface with subnet_id a133fd76-afad-43ec-9b4c-9cb8d0ba6b7e, port_id None from router 1cacbe24-af41-496c-9415-ab68394f2c73
2025-04-28 01:50:22,841 - INFO - Deleting VM ctest-TestRoutersBasic-82724288-51673371
2025-04-28 01:50:22,940 - INFO - Deleting VM ctest-TestRoutersBasic-82724288-83591016
2025-04-28 01:50:23,046 - INFO - Deleting VN ctest-ext_vn-55329868
2025-04-28 01:50:23,216 - DEBUG - VN 9d36d1a9-7184-4167-9167-f3f576d58e71 still in use: Unable to complete operation on network 9d36d1a9-7184-4167-9167-f3f576d58e71. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5186ccb4-77c8-4b73-8412-2d6d561d1876']
2025-04-28 01:50:23,216 - WARNING - Deleting VN ctest-ext_vn-55329868 failed..Will retry
2025-04-28 01:50:25,401 - DEBUG - Response for deleting network ()
2025-04-28 01:50:25,401 - INFO - Deleting VN ctest-vn-90177864
2025-04-28 01:50:25,611 - DEBUG - Response for deleting network ()
2025-04-28 01:50:26,006 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 01:50:26,006 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-04-28 01:50:26,006 - INFO - --------------------------------------------------------------------------------
2025-04-28 01:50:26,805 - INFO - Deleted project: ctest-TestRoutersBasic-82724288, ID : 0e78f732-4396-4ac9-bbfe-3dbed577d25d