2025-11-22 09:45:29,655 - INFO - Domain Default found not creating 2025-11-22 09:45:29,822 - INFO - Project ctest-TestRoutersBasic-75248074 not found, creating it 2025-11-22 09:45:30,280 - INFO - Created Project:ctest-TestRoutersBasic-75248074, ID : 1e85302a-65f2-47ca-828f-92d7ee738ff3 2025-11-22 09:45:31,787 - INFO - ================================================================================ 2025-11-22 09:45:31,788 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-22 09:45:31,788 - 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-22 09:45:32,041 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-11-22 09:45:32,041 - INFO - Initial checks done. Running the testcase now 2025-11-22 09:45:32,041 - INFO - 2025-11-22 09:45:32,781 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75248074 2025-11-22 09:45:32,876 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75248074 2025-11-22 09:45:33,199 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75248074', 'default']} 2025-11-22 09:45:33,495 - DEBUG - Response for create_network : {'network': {'id': '9af6ba7b-70b4-4cc3-8818-d833628512ae', 'name': 'ctest-vn-50891838', 'tenant_id': '1e85302a65f247ca828f92d7ee738ff3', 'project_id': '1e85302a65f247ca828f92d7ee738ff3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75248074', 'ctest-vn-50891838'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 09:45:33,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ea23f65-2e53-4d9b-a4a1-a245266e03f3', 'name': '', 'tenant_id': '1e85302a65f247ca828f92d7ee738ff3', 'network_id': '9af6ba7b-70b4-4cc3-8818-d833628512ae', 'ip_version': 4, 'cidr': '63.250.5.128/26', 'allocation_pools': [{'start': '63.250.5.130', 'end': '63.250.5.190'}], 'gateway_ip': '63.250.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.250.5.130', 'tags': [], 'project_id': '1e85302a65f247ca828f92d7ee738ff3'}} 2025-11-22 09:45:33,668 - INFO - Created VN ctest-vn-50891838 2025-11-22 09:45:33,724 - DEBUG - VN ctest-vn-50891838 UUID is 9af6ba7b-70b4-4cc3-8818-d833628512ae 2025-11-22 09:45:34,031 - DEBUG - Response for create_network : {'network': {'id': '5fd2fa22-0f34-4064-803c-c5b83bb45543', 'name': 'ctest-ext_vn-42740511', 'tenant_id': '1e85302a65f247ca828f92d7ee738ff3', 'project_id': '1e85302a65f247ca828f92d7ee738ff3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75248074', 'ctest-ext_vn-42740511'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 09:45:34,204 - DEBUG - Response for create_subnet : {'subnet': {'id': '107efb4d-5cd1-4989-8ba0-aede77840178', 'name': '', 'tenant_id': '1e85302a65f247ca828f92d7ee738ff3', 'network_id': '5fd2fa22-0f34-4064-803c-c5b83bb45543', 'ip_version': 4, 'cidr': '190.175.107.64/26', 'allocation_pools': [{'start': '190.175.107.66', 'end': '190.175.107.126'}], 'gateway_ip': '190.175.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.175.107.66', 'tags': [], 'project_id': '1e85302a65f247ca828f92d7ee738ff3'}} 2025-11-22 09:45:34,224 - INFO - Created VN ctest-ext_vn-42740511 2025-11-22 09:45:34,276 - DEBUG - VN ctest-ext_vn-42740511 UUID is 5fd2fa22-0f34-4064-803c-c5b83bb45543 2025-11-22 09:45:34,446 - DEBUG - Services list from nova: [, , ] 2025-11-22 09:45:35,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4798-1) 2025-11-22 09:45:36,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4798-1) 2025-11-22 09:45:36,795 - INFO - Setting gateway for router 884a6985-75fb-4b63-837c-36c81902a117 to network 5fd2fa22-0f34-4064-803c-c5b83bb45543 2025-11-22 09:45:36,888 - INFO - Adding interface with subnet_id 4ea23f65-2e53-4d9b-a4a1-a245266e03f3, port_id None to router 884a6985-75fb-4b63-837c-36c81902a117 2025-11-22 09:45:37,268 - INFO - Waiting for VM ctest-TestRoutersBasic-75248074-29635367 to be up.. 2025-11-22 09:45:37,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-22 09:45:42,532 - DEBUG - VM is in ACTIVE state now 2025-11-22 09:45:42,533 - INFO - VM name : ctest-TestRoutersBasic-75248074-29635367 2025-11-22 09:45:42,613 - DEBUG - VM ctest-TestRoutersBasic-75248074-29635367 ID is f121a931-3f32-429a-b797-cc790218d356 2025-11-22 09:45:42,633 - DEBUG - VM ctest-TestRoutersBasic-75248074-29635367 launched on Node cn-jenkins-deploy-platform-ansible-os-4798-1 2025-11-22 09:45:42,716 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f121a931-3f32-429a-b797-cc790218d356 2025-11-22 09:45:43,034 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f121a931-3f32-429a-b797-cc790218d356 2025-11-22 09:45:43,079 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/218ef1ea-a34a-409e-9d06-dbe9f71afd6f 2025-11-22 09:45:46,329 - 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 1002ms') 2025-11-22 09:45:46,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75248074-29635367 failed! 2025-11-22 09:45:46,383 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75248074:ctest-vn-50891838 is 63.250.5.129 and allocation pool is NOT set 2025-11-22 09:45:48,450 - 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=8.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.550 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.550/4.744/8.938/4.194 ms') 2025-11-22 09:45:48,450 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75248074-29635367 passed 2025-11-22 09:45:48,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:48,600 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75248074-29635367, IP 63.250.5.131, Port 22 2025-11-22 09:45:48,755 - DEBUG - VM ctest-TestRoutersBasic-75248074-29635367 is ready for SSH connections 2025-11-22 09:45:48,755 - INFO - Waiting for VM ctest-TestRoutersBasic-75248074-92942521 to be up.. 2025-11-22 09:45:48,857 - DEBUG - VM is in ACTIVE state now 2025-11-22 09:45:48,857 - INFO - VM name : ctest-TestRoutersBasic-75248074-92942521 2025-11-22 09:45:48,931 - DEBUG - VM ctest-TestRoutersBasic-75248074-92942521 ID is 8a7c025f-8414-49a2-9243-23ae0b662986 2025-11-22 09:45:48,931 - DEBUG - VM ctest-TestRoutersBasic-75248074-92942521 launched on Node cn-jenkins-deploy-platform-ansible-os-4798-1 2025-11-22 09:45:49,016 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8a7c025f-8414-49a2-9243-23ae0b662986 2025-11-22 09:45:49,025 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7fa59145-ebfd-49d7-a465-d1480293399f 2025-11-22 09:45:50,269 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.442/1.809/3.176/1.367 ms') 2025-11-22 09:45:50,269 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75248074-92942521 passed 2025-11-22 09:45:50,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:50,424 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75248074-92942521, IP 190.175.107.67, Port 22 2025-11-22 09:45:50,583 - DEBUG - VM ctest-TestRoutersBasic-75248074-92942521 is ready for SSH connections 2025-11-22 09:45:50,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:45:50,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.175.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-22 09:45:50,584 - DEBUG - ping -s 56 -c 3 -W 1 190.175.107.67 2025-11-22 09:45:54,341 - DEBUG - PING 190.175.107.67 (190.175.107.67): 56 data bytes 64 bytes from 190.175.107.67: seq=0 ttl=62 time=6.869 ms 64 bytes from 190.175.107.67: seq=1 ttl=62 time=0.893 ms 64 bytes from 190.175.107.67: seq=2 ttl=62 time=0.842 ms --- 190.175.107.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/2.868/6.869 ms 2025-11-22 09:45:54,341 - INFO - Ping to IP 190.175.107.67 from VM ctest-TestRoutersBasic-75248074-29635367 passed 2025-11-22 09:45:54,341 - INFO - Deleting interface with subnet_id 4ea23f65-2e53-4d9b-a4a1-a245266e03f3, port_id None from router 884a6985-75fb-4b63-837c-36c81902a117 2025-11-22 09:45:54,533 - INFO - Deleting VM ctest-TestRoutersBasic-75248074-92942521 2025-11-22 09:45:54,604 - INFO - Deleting VM ctest-TestRoutersBasic-75248074-29635367 2025-11-22 09:45:54,686 - INFO - Deleting VN ctest-ext_vn-42740511 2025-11-22 09:45:54,766 - DEBUG - VN 5fd2fa22-0f34-4064-803c-c5b83bb45543 still in use: Unable to complete operation on network 5fd2fa22-0f34-4064-803c-c5b83bb45543. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-896c7a65-713a-4b4e-8c1c-b6606a507efd'] 2025-11-22 09:45:54,766 - WARNING - Deleting VN ctest-ext_vn-42740511 failed..Will retry 2025-11-22 09:45:56,870 - DEBUG - Response for deleting network () 2025-11-22 09:45:56,870 - INFO - Deleting VN ctest-vn-50891838 2025-11-22 09:45:56,971 - DEBUG - Response for deleting network () 2025-11-22 09:45:57,225 - DEBUG - No XMPP flaps were noticed during the test
2025-11-22 09:45:57,225 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-22 09:45:57,225 - INFO - -------------------------------------------------------------------------------- 2025-11-22 09:45:57,911 - INFO - Deleted project: ctest-TestRoutersBasic-75248074, ID : 1e85302a-65f2-47ca-828f-92d7ee738ff3