2025-06-12 02:05:15,689 - INFO - Reading existing Domain with UUID bdbe3031-7e2d-440d-9beb-999b09a0498c 2025-06-12 02:05:15,706 - INFO - Using existing domain ['admin_domain'](bdbe3031-7e2d-440d-9beb-999b09a0498c) 2025-06-12 02:05:15,889 - INFO - Project ctest-TestRoutersBasic-45960292 not found, creating it 2025-06-12 02:05:16,384 - INFO - Created Project:ctest-TestRoutersBasic-45960292, ID : 75812ecd-1fde-4379-9b75-4fb9ac669289 2025-06-12 02:05:18,019 - INFO - ================================================================================ 2025-06-12 02:05:18,019 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-12 02:05:18,020 - 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-12 02:05:18,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.0.0.56': '0'}} with 2025-06-12 02:05:18,403 - INFO - Initial checks done. Running the testcase now 2025-06-12 02:05:18,403 - INFO - 2025-06-12 02:05:19,176 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45960292 2025-06-12 02:05:19,278 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45960292 2025-06-12 02:05:19,613 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-45960292', 'default']} 2025-06-12 02:05:20,103 - DEBUG - Response for create_network : {'network': {'id': '8f6f86f4-6444-49d0-8e60-1628e82dc5ad', 'name': 'ctest-vn-36979536', 'tenant_id': '75812ecd1fde43799b754fb9ac669289', 'project_id': '75812ecd1fde43799b754fb9ac669289', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-45960292', 'ctest-vn-36979536'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-12 02:05:20,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f995903e-9513-4a96-932c-0d5a9ae873cb', 'name': '', 'tenant_id': '75812ecd1fde43799b754fb9ac669289', 'network_id': '8f6f86f4-6444-49d0-8e60-1628e82dc5ad', 'ip_version': 4, 'cidr': '12.245.189.0/26', 'allocation_pools': [{'start': '12.245.189.2', 'end': '12.245.189.62'}], 'gateway_ip': '12.245.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-12T02:05:20.277763', 'updated_at': '2025-06-12T02:05:20.277763', 'dns_server_address': '12.245.189.2', 'tags': [], 'project_id': '75812ecd1fde43799b754fb9ac669289'}} 2025-06-12 02:05:20,444 - INFO - Created VN ctest-vn-36979536 2025-06-12 02:05:20,498 - DEBUG - VN ctest-vn-36979536 UUID is 8f6f86f4-6444-49d0-8e60-1628e82dc5ad 2025-06-12 02:05:21,007 - DEBUG - Response for create_network : {'network': {'id': '2d6727f2-0f05-4e40-8fed-f2a72ba0a2b9', 'name': 'ctest-ext_vn-73955860', 'tenant_id': '75812ecd1fde43799b754fb9ac669289', 'project_id': '75812ecd1fde43799b754fb9ac669289', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-45960292', 'ctest-ext_vn-73955860'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-12 02:05:21,274 - DEBUG - Response for create_subnet : {'subnet': {'id': '176a98ce-df07-427a-918d-c751b282c08b', 'name': '', 'tenant_id': '75812ecd1fde43799b754fb9ac669289', 'network_id': '2d6727f2-0f05-4e40-8fed-f2a72ba0a2b9', 'ip_version': 4, 'cidr': '150.160.17.64/26', 'allocation_pools': [{'start': '150.160.17.66', 'end': '150.160.17.126'}], 'gateway_ip': '150.160.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-12T02:05:21.173618', 'updated_at': '2025-06-12T02:05:21.173618', 'dns_server_address': '150.160.17.66', 'tags': [], 'project_id': '75812ecd1fde43799b754fb9ac669289'}} 2025-06-12 02:05:21,336 - INFO - Created VN ctest-ext_vn-73955860 2025-06-12 02:05:21,390 - DEBUG - VN ctest-ext_vn-73955860 UUID is 2d6727f2-0f05-4e40-8fed-f2a72ba0a2b9 2025-06-12 02:05:21,649 - DEBUG - Services list from nova: [, , ] 2025-06-12 02:05:22,709 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-545-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-545-1) 2025-06-12 02:05:24,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-545-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-545-1) 2025-06-12 02:05:24,578 - INFO - Setting gateway for router 2f5bbf70-0d17-45cf-853c-46287feb5f5a to network 2d6727f2-0f05-4e40-8fed-f2a72ba0a2b9 2025-06-12 02:05:24,754 - INFO - Adding interface with subnet_id f995903e-9513-4a96-932c-0d5a9ae873cb, port_id None to router 2f5bbf70-0d17-45cf-853c-46287feb5f5a 2025-06-12 02:05:25,368 - INFO - Waiting for VM ctest-TestRoutersBasic-45960292-18974127 to be up.. 2025-06-12 02:05:25,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-12 02:05:30,736 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:05:30,736 - INFO - VM name : ctest-TestRoutersBasic-45960292-18974127 2025-06-12 02:05:30,888 - DEBUG - VM ctest-TestRoutersBasic-45960292-18974127 ID is fbd48a62-0f02-44ce-887c-92a4b50560cf 2025-06-12 02:05:30,926 - DEBUG - VM ctest-TestRoutersBasic-45960292-18974127 launched on Node cn-jenkins-deploy-platform-juju-os-545-1 2025-06-12 02:05:31,067 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/fbd48a62-0f02-44ce-887c-92a4b50560cf 2025-06-12 02:05:31,409 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/fbd48a62-0f02-44ce-887c-92a4b50560cf 2025-06-12 02:05:31,491 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine-interface/803c5849-2bdb-4d23-9e93-17a9234a79ac 2025-06-12 02:05:34,938 - 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 1003ms') 2025-06-12 02:05:34,939 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45960292-18974127 failed! 2025-06-12 02:05:34,994 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-45960292:ctest-vn-36979536 is 12.245.189.1 and allocation pool is NOT set 2025-06-12 02:05:37,081 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.41 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.946/4.179/5.413/1.233 ms') 2025-06-12 02:05:37,081 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45960292-18974127 passed 2025-06-12 02:05:37,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:05:37,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45960292-18974127, IP 12.245.189.3, Port 22 2025-06-12 02:05:37,488 - DEBUG - VM ctest-TestRoutersBasic-45960292-18974127 is ready for SSH connections 2025-06-12 02:05:37,488 - INFO - Waiting for VM ctest-TestRoutersBasic-45960292-67564204 to be up.. 2025-06-12 02:05:37,636 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:05:37,636 - INFO - VM name : ctest-TestRoutersBasic-45960292-67564204 2025-06-12 02:05:37,771 - DEBUG - VM ctest-TestRoutersBasic-45960292-67564204 ID is b4247be8-1e49-449d-bf94-6f28dba027d6 2025-06-12 02:05:37,771 - DEBUG - VM ctest-TestRoutersBasic-45960292-67564204 launched on Node cn-jenkins-deploy-platform-juju-os-545-1 2025-06-12 02:05:37,902 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine/b4247be8-1e49-449d-bf94-6f28dba027d6 2025-06-12 02:05:37,959 - DEBUG - Requesting: https://10.0.0.56:8082/virtual-machine-interface/a53433ae-d462-47af-afe9-3e7fea8409fa 2025-06-12 02:05:39,408 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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.512/1.667/2.822/1.155 ms') 2025-06-12 02:05:39,409 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45960292-67564204 passed 2025-06-12 02:05:39,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:05:39,562 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45960292-67564204, IP 150.160.17.67, Port 22 2025-06-12 02:05:39,772 - DEBUG - VM ctest-TestRoutersBasic-45960292-67564204 is ready for SSH connections 2025-06-12 02:05:39,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:05:39,773 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.160.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-06-12 02:05:39,773 - DEBUG - ping -s 56 -c 3 -W 1 150.160.17.67 2025-06-12 02:05:43,469 - DEBUG - PING 150.160.17.67 (150.160.17.67): 56 data bytes 64 bytes from 150.160.17.67: seq=0 ttl=62 time=6.014 ms 64 bytes from 150.160.17.67: seq=1 ttl=62 time=1.059 ms 64 bytes from 150.160.17.67: seq=2 ttl=62 time=0.847 ms --- 150.160.17.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/2.640/6.014 ms 2025-06-12 02:05:43,469 - INFO - Ping to IP 150.160.17.67 from VM ctest-TestRoutersBasic-45960292-18974127 passed 2025-06-12 02:05:43,469 - INFO - Deleting interface with subnet_id f995903e-9513-4a96-932c-0d5a9ae873cb, port_id None from router 2f5bbf70-0d17-45cf-853c-46287feb5f5a 2025-06-12 02:05:43,829 - INFO - Deleting VM ctest-TestRoutersBasic-45960292-67564204 2025-06-12 02:05:43,971 - INFO - Deleting VM ctest-TestRoutersBasic-45960292-18974127 2025-06-12 02:05:44,073 - INFO - Deleting VN ctest-ext_vn-73955860 2025-06-12 02:05:44,269 - DEBUG - VN 2d6727f2-0f05-4e40-8fed-f2a72ba0a2b9 still in use: Unable to complete operation on network 2d6727f2-0f05-4e40-8fed-f2a72ba0a2b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43eeb166-5674-4a3c-99af-2a07cc7ca91e'] 2025-06-12 02:05:44,269 - WARNING - Deleting VN ctest-ext_vn-73955860 failed..Will retry 2025-06-12 02:05:46,497 - DEBUG - Response for deleting network () 2025-06-12 02:05:46,498 - INFO - Deleting VN ctest-vn-36979536 2025-06-12 02:05:46,656 - DEBUG - Response for deleting network () 2025-06-12 02:05:47,035 - DEBUG - No XMPP flaps were noticed during the test 2025-06-12 02:05:47,035 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-06-12 02:05:47,035 - INFO - -------------------------------------------------------------------------------- 2025-06-12 02:05:47,750 - INFO - Deleted project: ctest-TestRoutersBasic-45960292, ID : 75812ecd-1fde-4379-9b75-4fb9ac669289