2025-08-12 13:12:32,303 - INFO - Domain Default found not creating 2025-08-12 13:12:32,420 - INFO - Project ctest-TestRoutersBasic-32471024 not found, creating it 2025-08-12 13:12:32,923 - INFO - Created Project:ctest-TestRoutersBasic-32471024, ID : 9f27778f-4a6b-4bed-bcdd-220a7cd95b08 2025-08-12 13:12:34,229 - INFO - ================================================================================ 2025-08-12 13:12:34,229 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-12 13:12:34,229 - 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-08-12 13:12:34,489 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-12 13:12:34,489 - INFO - Initial checks done. Running the testcase now 2025-08-12 13:12:34,489 - INFO - 2025-08-12 13:12:35,180 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32471024 2025-08-12 13:12:35,280 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32471024 2025-08-12 13:12:35,596 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32471024', 'default']} 2025-08-12 13:12:35,872 - DEBUG - Response for create_network : {'network': {'id': '298cf948-a375-45fb-a70b-5c18c5358d63', 'name': 'ctest-vn-77408844', 'tenant_id': '9f27778f4a6b4bedbcdd220a7cd95b08', 'project_id': '9f27778f4a6b4bedbcdd220a7cd95b08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32471024', 'ctest-vn-77408844'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 13:12:36,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '00da6147-ca8b-4e7b-8eb5-4d0bd39e19dd', 'name': '', 'tenant_id': '9f27778f4a6b4bedbcdd220a7cd95b08', 'network_id': '298cf948-a375-45fb-a70b-5c18c5358d63', 'ip_version': 4, 'cidr': '3.201.85.64/26', 'allocation_pools': [{'start': '3.201.85.66', 'end': '3.201.85.126'}], 'gateway_ip': '3.201.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.201.85.66', 'tags': [], 'project_id': '9f27778f4a6b4bedbcdd220a7cd95b08'}} 2025-08-12 13:12:36,037 - INFO - Created VN ctest-vn-77408844 2025-08-12 13:12:36,088 - DEBUG - VN ctest-vn-77408844 UUID is 298cf948-a375-45fb-a70b-5c18c5358d63 2025-08-12 13:12:36,422 - DEBUG - Response for create_network : {'network': {'id': '1bcf8335-93fc-4bb0-915b-e5a65f875982', 'name': 'ctest-ext_vn-46506876', 'tenant_id': '9f27778f4a6b4bedbcdd220a7cd95b08', 'project_id': '9f27778f4a6b4bedbcdd220a7cd95b08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32471024', 'ctest-ext_vn-46506876'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 13:12:36,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '41e07fd0-2f48-4750-aec6-2ec30a480bcb', 'name': '', 'tenant_id': '9f27778f4a6b4bedbcdd220a7cd95b08', 'network_id': '1bcf8335-93fc-4bb0-915b-e5a65f875982', 'ip_version': 4, 'cidr': '119.112.65.192/26', 'allocation_pools': [{'start': '119.112.65.194', 'end': '119.112.65.254'}], 'gateway_ip': '119.112.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.112.65.194', 'tags': [], 'project_id': '9f27778f4a6b4bedbcdd220a7cd95b08'}} 2025-08-12 13:12:36,599 - INFO - Created VN ctest-ext_vn-46506876 2025-08-12 13:12:36,652 - DEBUG - VN ctest-ext_vn-46506876 UUID is 1bcf8335-93fc-4bb0-915b-e5a65f875982 2025-08-12 13:12:36,841 - DEBUG - Services list from nova: [, , ] 2025-08-12 13:12:37,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3830-1) 2025-08-12 13:12:38,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3830-1) 2025-08-12 13:12:38,876 - INFO - Setting gateway for router 6ad61e94-c311-4630-9179-f891e587b414 to network 1bcf8335-93fc-4bb0-915b-e5a65f875982 2025-08-12 13:12:38,953 - INFO - Adding interface with subnet_id 00da6147-ca8b-4e7b-8eb5-4d0bd39e19dd, port_id None to router 6ad61e94-c311-4630-9179-f891e587b414 2025-08-12 13:12:39,362 - INFO - Waiting for VM ctest-TestRoutersBasic-32471024-72870950 to be up.. 2025-08-12 13:12:39,517 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 13:12:44,585 - DEBUG - VM is in ACTIVE state now 2025-08-12 13:12:44,586 - INFO - VM name : ctest-TestRoutersBasic-32471024-72870950 2025-08-12 13:12:44,649 - DEBUG - VM ctest-TestRoutersBasic-32471024-72870950 ID is 349b3dbf-1f38-42d9-ad58-d788570943cf 2025-08-12 13:12:44,666 - DEBUG - VM ctest-TestRoutersBasic-32471024-72870950 launched on Node cn-jenkins-deploy-platform-ansible-os-3830-1 2025-08-12 13:12:44,730 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/349b3dbf-1f38-42d9-ad58-d788570943cf 2025-08-12 13:12:45,017 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/349b3dbf-1f38-42d9-ad58-d788570943cf 2025-08-12 13:12:45,047 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cc4352ad-6b21-4c15-a9a5-fb89bb16c267 2025-08-12 13:12:48,326 - 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=8.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 8.355/8.355/8.355/0.000 ms') 2025-08-12 13:12:48,326 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32471024-72870950 passed 2025-08-12 13:12:48,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 13:12:48,480 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32471024-72870950, IP 3.201.85.67, Port 22 2025-08-12 13:12:48,635 - DEBUG - VM ctest-TestRoutersBasic-32471024-72870950 is ready for SSH connections 2025-08-12 13:12:48,635 - INFO - Waiting for VM ctest-TestRoutersBasic-32471024-28541645 to be up.. 2025-08-12 13:12:48,706 - DEBUG - VM is in ACTIVE state now 2025-08-12 13:12:48,706 - INFO - VM name : ctest-TestRoutersBasic-32471024-28541645 2025-08-12 13:12:48,777 - DEBUG - VM ctest-TestRoutersBasic-32471024-28541645 ID is 95986232-6c48-4dd3-b2c9-c415554b5678 2025-08-12 13:12:48,777 - DEBUG - VM ctest-TestRoutersBasic-32471024-28541645 launched on Node cn-jenkins-deploy-platform-ansible-os-3830-1 2025-08-12 13:12:48,840 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/95986232-6c48-4dd3-b2c9-c415554b5678 2025-08-12 13:12:48,847 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8ad89eb0-89de-4fe1-b36f-546cf6206d38 2025-08-12 13:12:50,075 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.475/2.507/1.032 ms') 2025-08-12 13:12:50,076 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32471024-28541645 passed 2025-08-12 13:12:50,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 13:12:50,224 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32471024-28541645, IP 119.112.65.195, Port 22 2025-08-12 13:12:50,376 - DEBUG - VM ctest-TestRoutersBasic-32471024-28541645 is ready for SSH connections 2025-08-12 13:12:50,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 13:12:50,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.112.65.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-12 13:12:50,376 - DEBUG - ping -s 56 -c 3 -W 1 119.112.65.195 2025-08-12 13:12:54,292 - DEBUG - PING 119.112.65.195 (119.112.65.195): 56 data bytes 64 bytes from 119.112.65.195: seq=0 ttl=62 time=4.104 ms 64 bytes from 119.112.65.195: seq=1 ttl=62 time=0.743 ms 64 bytes from 119.112.65.195: seq=2 ttl=62 time=0.791 ms --- 119.112.65.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/1.879/4.104 ms 2025-08-12 13:12:54,292 - INFO - Ping to IP 119.112.65.195 from VM ctest-TestRoutersBasic-32471024-72870950 passed 2025-08-12 13:12:54,292 - INFO - Deleting interface with subnet_id 00da6147-ca8b-4e7b-8eb5-4d0bd39e19dd, port_id None from router 6ad61e94-c311-4630-9179-f891e587b414 2025-08-12 13:12:54,480 - INFO - Deleting VM ctest-TestRoutersBasic-32471024-28541645 2025-08-12 13:12:54,539 - INFO - Deleting VM ctest-TestRoutersBasic-32471024-72870950 2025-08-12 13:12:54,601 - INFO - Deleting VN ctest-ext_vn-46506876 2025-08-12 13:12:54,661 - DEBUG - VN 1bcf8335-93fc-4bb0-915b-e5a65f875982 still in use: Unable to complete operation on network 1bcf8335-93fc-4bb0-915b-e5a65f875982. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c27d2ac-76ce-41b4-afc4-c57a574d1a9b'] 2025-08-12 13:12:54,661 - WARNING - Deleting VN ctest-ext_vn-46506876 failed..Will retry 2025-08-12 13:12:56,752 - DEBUG - Response for deleting network () 2025-08-12 13:12:56,752 - INFO - Deleting VN ctest-vn-77408844 2025-08-12 13:12:56,860 - DEBUG - Response for deleting network () 2025-08-12 13:12:57,121 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 13:12:57,121 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-12 13:12:57,121 - INFO - -------------------------------------------------------------------------------- 2025-08-12 13:12:57,780 - INFO - Deleted project: ctest-TestRoutersBasic-32471024, ID : 9f27778f-4a6b-4bed-bcdd-220a7cd95b08