2025-10-21 22:15:19,053 - INFO - Domain Default found not creating 2025-10-21 22:15:19,195 - INFO - Project ctest-TestRoutersBasic-86007884 not found, creating it 2025-10-21 22:15:19,647 - INFO - Created Project:ctest-TestRoutersBasic-86007884, ID : 296ee847-eb29-421b-a4ea-32642f6ad2b1 2025-10-21 22:15:21,073 - INFO - ================================================================================ 2025-10-21 22:15:21,073 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 22:15:21,073 - 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-10-21 22:15:21,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-21 22:15:21,333 - INFO - Initial checks done. Running the testcase now 2025-10-21 22:15:21,333 - INFO - 2025-10-21 22:15:22,044 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86007884 2025-10-21 22:15:22,144 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86007884 2025-10-21 22:15:22,460 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86007884', 'default']} 2025-10-21 22:15:22,726 - DEBUG - Response for create_network : {'network': {'id': 'caf8d2ee-d6a3-45c7-8a97-4177f7a07826', 'name': 'ctest-vn-72152435', 'tenant_id': '296ee847eb29421ba4ea32642f6ad2b1', 'project_id': '296ee847eb29421ba4ea32642f6ad2b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86007884', 'ctest-vn-72152435'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 22:15:22,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fe6f09c-60f1-47d8-88ee-a2b2e3e5369c', 'name': '', 'tenant_id': '296ee847eb29421ba4ea32642f6ad2b1', 'network_id': 'caf8d2ee-d6a3-45c7-8a97-4177f7a07826', 'ip_version': 4, 'cidr': '20.137.100.64/26', 'allocation_pools': [{'start': '20.137.100.66', 'end': '20.137.100.126'}], 'gateway_ip': '20.137.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.137.100.66', 'tags': [], 'project_id': '296ee847eb29421ba4ea32642f6ad2b1'}} 2025-10-21 22:15:22,886 - INFO - Created VN ctest-vn-72152435 2025-10-21 22:15:22,936 - DEBUG - VN ctest-vn-72152435 UUID is caf8d2ee-d6a3-45c7-8a97-4177f7a07826 2025-10-21 22:15:23,264 - DEBUG - Response for create_network : {'network': {'id': '6f345cc6-c5b1-4bb8-9503-df536175b2b4', 'name': 'ctest-ext_vn-30542804', 'tenant_id': '296ee847eb29421ba4ea32642f6ad2b1', 'project_id': '296ee847eb29421ba4ea32642f6ad2b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86007884', 'ctest-ext_vn-30542804'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 22:15:23,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f887315b-f95e-48f6-a82c-5f4045ce9764', 'name': '', 'tenant_id': '296ee847eb29421ba4ea32642f6ad2b1', 'network_id': '6f345cc6-c5b1-4bb8-9503-df536175b2b4', 'ip_version': 4, 'cidr': '154.49.63.128/26', 'allocation_pools': [{'start': '154.49.63.130', 'end': '154.49.63.190'}], 'gateway_ip': '154.49.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.49.63.130', 'tags': [], 'project_id': '296ee847eb29421ba4ea32642f6ad2b1'}} 2025-10-21 22:15:23,435 - INFO - Created VN ctest-ext_vn-30542804 2025-10-21 22:15:23,484 - DEBUG - VN ctest-ext_vn-30542804 UUID is 6f345cc6-c5b1-4bb8-9503-df536175b2b4 2025-10-21 22:15:23,681 - DEBUG - Services list from nova: [, , ] 2025-10-21 22:15:24,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4410-1) 2025-10-21 22:15:25,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4410-1) 2025-10-21 22:15:25,871 - INFO - Setting gateway for router 9433e897-4715-4012-9d5e-5ebb0389c7da to network 6f345cc6-c5b1-4bb8-9503-df536175b2b4 2025-10-21 22:15:25,924 - INFO - Adding interface with subnet_id 8fe6f09c-60f1-47d8-88ee-a2b2e3e5369c, port_id None to router 9433e897-4715-4012-9d5e-5ebb0389c7da 2025-10-21 22:15:26,260 - INFO - Waiting for VM ctest-TestRoutersBasic-86007884-41246213 to be up.. 2025-10-21 22:15:26,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 22:15:31,482 - DEBUG - VM is in ACTIVE state now 2025-10-21 22:15:31,482 - INFO - VM name : ctest-TestRoutersBasic-86007884-41246213 2025-10-21 22:15:31,553 - DEBUG - VM ctest-TestRoutersBasic-86007884-41246213 ID is 3939106e-5454-48c9-98e0-0c580a03701a 2025-10-21 22:15:31,571 - DEBUG - VM ctest-TestRoutersBasic-86007884-41246213 launched on Node cn-jenkins-deploy-platform-ansible-os-4410-1 2025-10-21 22:15:31,656 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3939106e-5454-48c9-98e0-0c580a03701a 2025-10-21 22:15:31,950 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3939106e-5454-48c9-98e0-0c580a03701a 2025-10-21 22:15:31,979 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5d9f9aef-94df-4614-9cdc-324fba045856 2025-10-21 22:15:35,223 - 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 1015ms') 2025-10-21 22:15:35,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86007884-41246213 failed! 2025-10-21 22:15:35,276 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86007884:ctest-vn-72152435 is 20.137.100.65 and allocation pool is NOT set 2025-10-21 22:15:37,338 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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 = 1.157/3.060/4.964/1.903 ms') 2025-10-21 22:15:37,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86007884-41246213 passed 2025-10-21 22:15:37,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 22:15:37,488 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86007884-41246213, IP 20.137.100.67, Port 22 2025-10-21 22:15:37,644 - DEBUG - VM ctest-TestRoutersBasic-86007884-41246213 is ready for SSH connections 2025-10-21 22:15:37,644 - INFO - Waiting for VM ctest-TestRoutersBasic-86007884-33682916 to be up.. 2025-10-21 22:15:37,714 - DEBUG - VM is in ACTIVE state now 2025-10-21 22:15:37,714 - INFO - VM name : ctest-TestRoutersBasic-86007884-33682916 2025-10-21 22:15:37,779 - DEBUG - VM ctest-TestRoutersBasic-86007884-33682916 ID is 23a535f3-2eca-446a-bdd0-4e7cd1dffe32 2025-10-21 22:15:37,779 - DEBUG - VM ctest-TestRoutersBasic-86007884-33682916 launched on Node cn-jenkins-deploy-platform-ansible-os-4410-1 2025-10-21 22:15:37,842 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/23a535f3-2eca-446a-bdd0-4e7cd1dffe32 2025-10-21 22:15:37,849 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ce3ef121-b0a9-405e-b1a9-fa011c31c18f 2025-10-21 22:15:39,092 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.76 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 = 3.534/3.646/3.759/0.112 ms') 2025-10-21 22:15:39,092 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86007884-33682916 passed 2025-10-21 22:15:39,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 22:15:39,244 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86007884-33682916, IP 154.49.63.131, Port 22 2025-10-21 22:15:39,404 - DEBUG - VM ctest-TestRoutersBasic-86007884-33682916 is ready for SSH connections 2025-10-21 22:15:39,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 22:15:39,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.49.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 22:15:39,404 - DEBUG - ping -s 56 -c 3 -W 1 154.49.63.131 2025-10-21 22:15:43,426 - DEBUG - PING 154.49.63.131 (154.49.63.131): 56 data bytes 64 bytes from 154.49.63.131: seq=0 ttl=62 time=6.534 ms 64 bytes from 154.49.63.131: seq=1 ttl=62 time=1.091 ms 64 bytes from 154.49.63.131: seq=2 ttl=62 time=1.228 ms --- 154.49.63.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.091/2.951/6.534 ms 2025-10-21 22:15:43,426 - INFO - Ping to IP 154.49.63.131 from VM ctest-TestRoutersBasic-86007884-41246213 passed 2025-10-21 22:15:43,426 - INFO - Deleting interface with subnet_id 8fe6f09c-60f1-47d8-88ee-a2b2e3e5369c, port_id None from router 9433e897-4715-4012-9d5e-5ebb0389c7da 2025-10-21 22:15:43,607 - INFO - Deleting VM ctest-TestRoutersBasic-86007884-33682916 2025-10-21 22:15:43,680 - INFO - Deleting VM ctest-TestRoutersBasic-86007884-41246213 2025-10-21 22:15:43,747 - INFO - Deleting VN ctest-ext_vn-30542804 2025-10-21 22:15:43,814 - DEBUG - VN 6f345cc6-c5b1-4bb8-9503-df536175b2b4 still in use: Unable to complete operation on network 6f345cc6-c5b1-4bb8-9503-df536175b2b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efa1c7f3-0ae1-4878-9bfd-f7b1e5631c20'] 2025-10-21 22:15:43,814 - WARNING - Deleting VN ctest-ext_vn-30542804 failed..Will retry 2025-10-21 22:15:45,907 - DEBUG - Response for deleting network () 2025-10-21 22:15:45,907 - INFO - Deleting VN ctest-vn-72152435 2025-10-21 22:15:46,004 - DEBUG - Response for deleting network () 2025-10-21 22:15:46,275 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 22:15:46,276 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-21 22:15:46,276 - INFO - -------------------------------------------------------------------------------- 2025-10-21 22:15:46,973 - INFO - Deleted project: ctest-TestRoutersBasic-86007884, ID : 296ee847-eb29-421b-a4ea-32642f6ad2b1