2025-11-10 01:41:08,394 - INFO - Reading existing Domain with UUID ac1d6412-51c4-40dc-abeb-d81d08131878 2025-11-10 01:41:08,403 - INFO - Using existing domain ['admin_domain'](ac1d6412-51c4-40dc-abeb-d81d08131878) 2025-11-10 01:41:08,588 - INFO - Project ctest-TestRoutersBasic-70620769 not found, creating it 2025-11-10 01:41:09,068 - INFO - Created Project:ctest-TestRoutersBasic-70620769, ID : 54d7fb1c-d9a2-4027-8fe5-854924bf600c 2025-11-10 01:41:10,960 - INFO - ================================================================================ 2025-11-10 01:41:10,960 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-10 01:41:10,960 - 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-10 01:41:11,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2025-11-10 01:41:11,342 - INFO - Initial checks done. Running the testcase now 2025-11-10 01:41:11,343 - INFO - 2025-11-10 01:41:12,101 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70620769 2025-11-10 01:41:12,197 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70620769 2025-11-10 01:41:12,525 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-70620769', 'default']} 2025-11-10 01:41:13,021 - DEBUG - Response for create_network : {'network': {'id': '30ece199-2eae-4db2-8062-24b7f1df5eaf', 'name': 'ctest-vn-74117752', 'tenant_id': '54d7fb1cd9a240278fe5854924bf600c', 'project_id': '54d7fb1cd9a240278fe5854924bf600c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-70620769', 'ctest-vn-74117752'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-10 01:41:13,266 - DEBUG - Response for create_subnet : {'subnet': {'id': '316c7c83-412c-4c13-ace9-83312f727632', 'name': '', 'tenant_id': '54d7fb1cd9a240278fe5854924bf600c', 'network_id': '30ece199-2eae-4db2-8062-24b7f1df5eaf', 'ip_version': 4, 'cidr': '217.219.42.192/26', 'allocation_pools': [{'start': '217.219.42.194', 'end': '217.219.42.254'}], 'gateway_ip': '217.219.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-10T01:41:13.168514', 'updated_at': '2025-11-10T01:41:13.168514', 'dns_server_address': '217.219.42.194', 'tags': [], 'project_id': '54d7fb1cd9a240278fe5854924bf600c'}} 2025-11-10 01:41:13,327 - INFO - Created VN ctest-vn-74117752 2025-11-10 01:41:13,381 - DEBUG - VN ctest-vn-74117752 UUID is 30ece199-2eae-4db2-8062-24b7f1df5eaf 2025-11-10 01:41:13,893 - DEBUG - Response for create_network : {'network': {'id': '609d0165-2437-489c-a759-43d4942af096', 'name': 'ctest-ext_vn-61025220', 'tenant_id': '54d7fb1cd9a240278fe5854924bf600c', 'project_id': '54d7fb1cd9a240278fe5854924bf600c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-70620769', 'ctest-ext_vn-61025220'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-10 01:41:14,318 - DEBUG - Response for create_subnet : {'subnet': {'id': '22eb91ab-5f8a-46e8-b580-b0d7655b1b26', 'name': '', 'tenant_id': '54d7fb1cd9a240278fe5854924bf600c', 'network_id': '609d0165-2437-489c-a759-43d4942af096', 'ip_version': 4, 'cidr': '169.31.235.64/26', 'allocation_pools': [{'start': '169.31.235.66', 'end': '169.31.235.126'}], 'gateway_ip': '169.31.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-10T01:41:14.223181', 'updated_at': '2025-11-10T01:41:14.223181', 'dns_server_address': '169.31.235.66', 'tags': [], 'project_id': '54d7fb1cd9a240278fe5854924bf600c'}} 2025-11-10 01:41:14,383 - INFO - Created VN ctest-ext_vn-61025220 2025-11-10 01:41:14,441 - DEBUG - VN ctest-ext_vn-61025220 UUID is 609d0165-2437-489c-a759-43d4942af096 2025-11-10 01:41:14,735 - DEBUG - Services list from nova: [, , ] 2025-11-10 01:41:16,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-613-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-613-1) 2025-11-10 01:41:17,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-613-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-613-1) 2025-11-10 01:41:17,726 - INFO - Setting gateway for router de7182a4-9b9b-4e35-84c1-97f59197479a to network 609d0165-2437-489c-a759-43d4942af096 2025-11-10 01:41:17,913 - INFO - Adding interface with subnet_id 316c7c83-412c-4c13-ace9-83312f727632, port_id None to router de7182a4-9b9b-4e35-84c1-97f59197479a 2025-11-10 01:41:18,387 - INFO - Waiting for VM ctest-TestRoutersBasic-70620769-05808805 to be up.. 2025-11-10 01:41:18,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 01:41:23,700 - DEBUG - VM is in ACTIVE state now 2025-11-10 01:41:23,700 - INFO - VM name : ctest-TestRoutersBasic-70620769-05808805 2025-11-10 01:41:23,875 - DEBUG - VM ctest-TestRoutersBasic-70620769-05808805 ID is 3ac44693-9c0d-4ec4-94d9-037bed25cbef 2025-11-10 01:41:23,909 - DEBUG - VM ctest-TestRoutersBasic-70620769-05808805 launched on Node cn-jenkins-deploy-platform-juju-os-613-1 2025-11-10 01:41:24,088 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/3ac44693-9c0d-4ec4-94d9-037bed25cbef 2025-11-10 01:41:24,532 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/3ac44693-9c0d-4ec4-94d9-037bed25cbef 2025-11-10 01:41:24,650 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/e7fd1e6a-bed3-41a7-b05d-0049b7701e00 2025-11-10 01:41:28,233 - 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 1029ms') 2025-11-10 01:41:28,233 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70620769-05808805 failed! 2025-11-10 01:41:28,290 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-70620769:ctest-vn-74117752 is 217.219.42.193 and allocation pool is NOT set 2025-11-10 01:41:30,383 - 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=4.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.045/3.308/4.572/1.263 ms') 2025-11-10 01:41:30,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70620769-05808805 passed 2025-11-10 01:41:30,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:41:30,541 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70620769-05808805, IP 217.219.42.195, Port 22 2025-11-10 01:41:30,758 - DEBUG - VM ctest-TestRoutersBasic-70620769-05808805 is ready for SSH connections 2025-11-10 01:41:30,758 - INFO - Waiting for VM ctest-TestRoutersBasic-70620769-04299227 to be up.. 2025-11-10 01:41:30,975 - DEBUG - VM is in ACTIVE state now 2025-11-10 01:41:30,975 - INFO - VM name : ctest-TestRoutersBasic-70620769-04299227 2025-11-10 01:41:31,281 - DEBUG - VM ctest-TestRoutersBasic-70620769-04299227 ID is 4363c362-1ca9-4e9b-aecc-e277874b88d4 2025-11-10 01:41:31,281 - DEBUG - VM ctest-TestRoutersBasic-70620769-04299227 launched on Node cn-jenkins-deploy-platform-juju-os-613-1 2025-11-10 01:41:31,625 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/4363c362-1ca9-4e9b-aecc-e277874b88d4 2025-11-10 01:41:31,732 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/c33bba01-9281-49f2-9bf0-65d10df79ea2 2025-11-10 01:41:33,389 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/2.253/4.082/1.829 ms') 2025-11-10 01:41:33,390 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70620769-04299227 passed 2025-11-10 01:41:33,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:41:33,586 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70620769-04299227, IP 169.31.235.67, Port 22 2025-11-10 01:41:33,816 - DEBUG - VM ctest-TestRoutersBasic-70620769-04299227 is ready for SSH connections 2025-11-10 01:41:33,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:41:33,816 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.31.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-10 01:41:33,816 - DEBUG - ping -s 56 -c 3 -W 1 169.31.235.67 2025-11-10 01:41:37,793 - DEBUG - PING 169.31.235.67 (169.31.235.67): 56 data bytes 64 bytes from 169.31.235.67: seq=0 ttl=62 time=9.335 ms 64 bytes from 169.31.235.67: seq=1 ttl=62 time=1.895 ms 64 bytes from 169.31.235.67: seq=2 ttl=62 time=1.010 ms --- 169.31.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/4.080/9.335 ms 2025-11-10 01:41:37,793 - INFO - Ping to IP 169.31.235.67 from VM ctest-TestRoutersBasic-70620769-05808805 passed 2025-11-10 01:41:37,793 - INFO - Deleting interface with subnet_id 316c7c83-412c-4c13-ace9-83312f727632, port_id None from router de7182a4-9b9b-4e35-84c1-97f59197479a 2025-11-10 01:41:38,243 - INFO - Deleting VM ctest-TestRoutersBasic-70620769-04299227 2025-11-10 01:41:38,403 - INFO - Deleting VM ctest-TestRoutersBasic-70620769-05808805 2025-11-10 01:41:38,552 - INFO - Deleting VN ctest-ext_vn-61025220 2025-11-10 01:41:38,884 - DEBUG - VN 609d0165-2437-489c-a759-43d4942af096 still in use: Unable to complete operation on network 609d0165-2437-489c-a759-43d4942af096. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e52b79a-d1f7-49c1-b3cf-d3bdce14bf5b'] 2025-11-10 01:41:38,884 - WARNING - Deleting VN ctest-ext_vn-61025220 failed..Will retry 2025-11-10 01:41:41,110 - DEBUG - Response for deleting network () 2025-11-10 01:41:41,111 - INFO - Deleting VN ctest-vn-74117752 2025-11-10 01:41:41,329 - DEBUG - Response for deleting network () 2025-11-10 01:41:41,715 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 01:41:41,715 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2025-11-10 01:41:41,718 - INFO - -------------------------------------------------------------------------------- 2025-11-10 01:41:42,509 - INFO - Deleted project: ctest-TestRoutersBasic-70620769, ID : 54d7fb1c-d9a2-4027-8fe5-854924bf600c