2025-12-29 17:59:09,912 - INFO - Domain Default found not creating 2025-12-29 17:59:10,193 - INFO - Project ctest-TestRoutersBasic-72890950 not found, creating it 2025-12-29 17:59:10,832 - INFO - Created Project:ctest-TestRoutersBasic-72890950, ID : f8132f5f-bdf6-4059-af2c-9a88b202d100 2025-12-29 17:59:12,858 - INFO - ================================================================================ 2025-12-29 17:59:12,858 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-29 17:59:12,859 - 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-12-29 17:59:13,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-12-29 17:59:13,179 - INFO - Initial checks done. Running the testcase now 2025-12-29 17:59:13,179 - INFO - 2025-12-29 17:59:14,121 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72890950 2025-12-29 17:59:14,232 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72890950 2025-12-29 17:59:14,642 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72890950', 'default']} 2025-12-29 17:59:15,017 - DEBUG - Response for create_network : {'network': {'id': 'd66c2ebb-81d1-4c43-aeef-d9a0cfa22f3c', 'name': 'ctest-vn-51316919', 'tenant_id': 'f8132f5fbdf64059af2c9a88b202d100', 'project_id': 'f8132f5fbdf64059af2c9a88b202d100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72890950', 'ctest-vn-51316919'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 17:59:15,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '08aada2b-32b5-46a1-b624-53146ce92157', 'name': '', 'tenant_id': 'f8132f5fbdf64059af2c9a88b202d100', 'network_id': 'd66c2ebb-81d1-4c43-aeef-d9a0cfa22f3c', 'ip_version': 4, 'cidr': '158.171.255.64/26', 'allocation_pools': [{'start': '158.171.255.66', 'end': '158.171.255.126'}], 'gateway_ip': '158.171.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.171.255.66', 'tags': [], 'project_id': 'f8132f5fbdf64059af2c9a88b202d100'}} 2025-12-29 17:59:15,219 - INFO - Created VN ctest-vn-51316919 2025-12-29 17:59:15,271 - DEBUG - VN ctest-vn-51316919 UUID is d66c2ebb-81d1-4c43-aeef-d9a0cfa22f3c 2025-12-29 17:59:15,643 - DEBUG - Response for create_network : {'network': {'id': '4bd4c63f-171f-497d-8de1-8d448cfe3097', 'name': 'ctest-ext_vn-79600470', 'tenant_id': 'f8132f5fbdf64059af2c9a88b202d100', 'project_id': 'f8132f5fbdf64059af2c9a88b202d100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72890950', 'ctest-ext_vn-79600470'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 17:59:15,852 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccb648ed-573b-4dfd-81c7-7b9e60cd0eb6', 'name': '', 'tenant_id': 'f8132f5fbdf64059af2c9a88b202d100', 'network_id': '4bd4c63f-171f-497d-8de1-8d448cfe3097', 'ip_version': 4, 'cidr': '90.181.118.192/26', 'allocation_pools': [{'start': '90.181.118.194', 'end': '90.181.118.254'}], 'gateway_ip': '90.181.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.181.118.194', 'tags': [], 'project_id': 'f8132f5fbdf64059af2c9a88b202d100'}} 2025-12-29 17:59:15,876 - INFO - Created VN ctest-ext_vn-79600470 2025-12-29 17:59:15,943 - DEBUG - VN ctest-ext_vn-79600470 UUID is 4bd4c63f-171f-497d-8de1-8d448cfe3097 2025-12-29 17:59:16,252 - DEBUG - Services list from nova: [, , ] 2025-12-29 17:59:17,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4938-1) 2025-12-29 17:59:19,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4938-1) 2025-12-29 17:59:19,245 - INFO - Setting gateway for router 2b809cbf-fcb5-48de-9518-2aa809f07b91 to network 4bd4c63f-171f-497d-8de1-8d448cfe3097 2025-12-29 17:59:19,301 - INFO - Adding interface with subnet_id 08aada2b-32b5-46a1-b624-53146ce92157, port_id None to router 2b809cbf-fcb5-48de-9518-2aa809f07b91 2025-12-29 17:59:19,692 - INFO - Waiting for VM ctest-TestRoutersBasic-72890950-01414631 to be up.. 2025-12-29 17:59:19,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 17:59:25,052 - DEBUG - VM is in ACTIVE state now 2025-12-29 17:59:25,052 - INFO - VM name : ctest-TestRoutersBasic-72890950-01414631 2025-12-29 17:59:25,154 - DEBUG - VM ctest-TestRoutersBasic-72890950-01414631 ID is ff0422c7-55b5-4517-b22a-bfd5e53ab747 2025-12-29 17:59:25,185 - DEBUG - VM ctest-TestRoutersBasic-72890950-01414631 launched on Node cn-jenkins-deploy-platform-ansible-os-4938-1 2025-12-29 17:59:25,341 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ff0422c7-55b5-4517-b22a-bfd5e53ab747 2025-12-29 17:59:25,657 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ff0422c7-55b5-4517-b22a-bfd5e53ab747 2025-12-29 17:59:25,720 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6accc0a2-ad8d-41cc-a89f-abac9144cfcd 2025-12-29 17:59:29,036 - 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 1025ms') 2025-12-29 17:59:29,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72890950-01414631 failed! 2025-12-29 17:59:29,104 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72890950:ctest-vn-51316919 is 158.171.255.65 and allocation pool is NOT set 2025-12-29 17:59:31,169 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.024/2.791/4.559/1.767 ms') 2025-12-29 17:59:31,169 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72890950-01414631 passed 2025-12-29 17:59:31,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 17:59:31,331 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72890950-01414631, IP 158.171.255.67, Port 22 2025-12-29 17:59:31,524 - DEBUG - VM ctest-TestRoutersBasic-72890950-01414631 is ready for SSH connections 2025-12-29 17:59:31,525 - INFO - Waiting for VM ctest-TestRoutersBasic-72890950-96027672 to be up.. 2025-12-29 17:59:31,674 - DEBUG - VM is in ACTIVE state now 2025-12-29 17:59:31,675 - INFO - VM name : ctest-TestRoutersBasic-72890950-96027672 2025-12-29 17:59:31,812 - DEBUG - VM ctest-TestRoutersBasic-72890950-96027672 ID is 44aabcf4-3321-4ebd-8df1-3c6a1e57589e 2025-12-29 17:59:31,812 - DEBUG - VM ctest-TestRoutersBasic-72890950-96027672 launched on Node cn-jenkins-deploy-platform-ansible-os-4938-1 2025-12-29 17:59:31,933 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/44aabcf4-3321-4ebd-8df1-3c6a1e57589e 2025-12-29 17:59:31,943 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/08eed786-c8a2-4b48-b15b-2ee627caa8a4 2025-12-29 17:59:33,198 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.589 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.589/2.066/3.544/1.477 ms') 2025-12-29 17:59:33,199 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72890950-96027672 passed 2025-12-29 17:59:33,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 17:59:33,355 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72890950-96027672, IP 90.181.118.195, Port 22 2025-12-29 17:59:33,534 - DEBUG - VM ctest-TestRoutersBasic-72890950-96027672 is ready for SSH connections 2025-12-29 17:59:33,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 17:59:33,534 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.181.118.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-29 17:59:33,535 - DEBUG - ping -s 56 -c 3 -W 1 90.181.118.195 2025-12-29 17:59:37,686 - DEBUG - PING 90.181.118.195 (90.181.118.195): 56 data bytes 64 bytes from 90.181.118.195: seq=0 ttl=62 time=11.282 ms 64 bytes from 90.181.118.195: seq=1 ttl=62 time=1.688 ms 64 bytes from 90.181.118.195: seq=2 ttl=62 time=2.278 ms --- 90.181.118.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.688/5.082/11.282 ms 2025-12-29 17:59:37,686 - INFO - Ping to IP 90.181.118.195 from VM ctest-TestRoutersBasic-72890950-01414631 passed 2025-12-29 17:59:37,687 - INFO - Deleting interface with subnet_id 08aada2b-32b5-46a1-b624-53146ce92157, port_id None from router 2b809cbf-fcb5-48de-9518-2aa809f07b91 2025-12-29 17:59:37,982 - INFO - Deleting VM ctest-TestRoutersBasic-72890950-96027672 2025-12-29 17:59:38,061 - INFO - Deleting VM ctest-TestRoutersBasic-72890950-01414631 2025-12-29 17:59:38,147 - INFO - Deleting VN ctest-ext_vn-79600470 2025-12-29 17:59:38,245 - DEBUG - VN 4bd4c63f-171f-497d-8de1-8d448cfe3097 still in use: Unable to complete operation on network 4bd4c63f-171f-497d-8de1-8d448cfe3097. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-451f095f-162d-49de-8399-91099cf7d8de'] 2025-12-29 17:59:38,245 - WARNING - Deleting VN ctest-ext_vn-79600470 failed..Will retry 2025-12-29 17:59:40,418 - DEBUG - Response for deleting network () 2025-12-29 17:59:40,418 - INFO - Deleting VN ctest-vn-51316919 2025-12-29 17:59:40,532 - DEBUG - Response for deleting network () 2025-12-29 17:59:40,831 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 17:59:40,831 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-12-29 17:59:40,832 - INFO - -------------------------------------------------------------------------------- 2025-12-29 17:59:41,667 - INFO - Deleted project: ctest-TestRoutersBasic-72890950, ID : f8132f5f-bdf6-4059-af2c-9a88b202d100