2026-01-28 21:03:10,378 - INFO - Domain Default found not creating 2026-01-28 21:03:10,548 - INFO - Project ctest-TestRoutersBasic-64417752 not found, creating it 2026-01-28 21:03:11,011 - INFO - Created Project:ctest-TestRoutersBasic-64417752, ID : 786ebfce-30e0-4a15-aa76-55bdd5c8e455 2026-01-28 21:03:12,703 - INFO - ================================================================================ 2026-01-28 21:03:12,703 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-28 21:03:12,703 - 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 2026-01-28 21:03:12,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-01-28 21:03:12,971 - INFO - Initial checks done. Running the testcase now 2026-01-28 21:03:12,971 - INFO - 2026-01-28 21:03:13,781 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64417752 2026-01-28 21:03:13,877 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64417752 2026-01-28 21:03:14,209 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64417752', 'default']} 2026-01-28 21:03:14,508 - DEBUG - Response for create_network : {'network': {'id': '215da0bb-d75e-4d8f-9852-ad2c8f0cbca3', 'name': 'ctest-vn-06289159', 'tenant_id': '786ebfce30e04a15aa7655bdd5c8e455', 'project_id': '786ebfce30e04a15aa7655bdd5c8e455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64417752', 'ctest-vn-06289159'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:03:14,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '10e5232f-fb9c-47b3-97f8-0b70f65efa03', 'name': '', 'tenant_id': '786ebfce30e04a15aa7655bdd5c8e455', 'network_id': '215da0bb-d75e-4d8f-9852-ad2c8f0cbca3', 'ip_version': 4, 'cidr': '105.102.63.128/26', 'allocation_pools': [{'start': '105.102.63.130', 'end': '105.102.63.190'}], 'gateway_ip': '105.102.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.102.63.130', 'tags': [], 'project_id': '786ebfce30e04a15aa7655bdd5c8e455'}} 2026-01-28 21:03:14,702 - INFO - Created VN ctest-vn-06289159 2026-01-28 21:03:14,753 - DEBUG - VN ctest-vn-06289159 UUID is 215da0bb-d75e-4d8f-9852-ad2c8f0cbca3 2026-01-28 21:03:15,064 - DEBUG - Response for create_network : {'network': {'id': '03688bf8-0632-4c19-a419-ae8948ba5215', 'name': 'ctest-ext_vn-60028142', 'tenant_id': '786ebfce30e04a15aa7655bdd5c8e455', 'project_id': '786ebfce30e04a15aa7655bdd5c8e455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64417752', 'ctest-ext_vn-60028142'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:03:15,239 - DEBUG - Response for create_subnet : {'subnet': {'id': '958a5325-9d68-4c27-902a-8ac4850a75ee', 'name': '', 'tenant_id': '786ebfce30e04a15aa7655bdd5c8e455', 'network_id': '03688bf8-0632-4c19-a419-ae8948ba5215', 'ip_version': 4, 'cidr': '177.13.129.0/26', 'allocation_pools': [{'start': '177.13.129.2', 'end': '177.13.129.62'}], 'gateway_ip': '177.13.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.13.129.2', 'tags': [], 'project_id': '786ebfce30e04a15aa7655bdd5c8e455'}} 2026-01-28 21:03:15,257 - INFO - Created VN ctest-ext_vn-60028142 2026-01-28 21:03:15,309 - DEBUG - VN ctest-ext_vn-60028142 UUID is 03688bf8-0632-4c19-a419-ae8948ba5215 2026-01-28 21:03:15,478 - DEBUG - Services list from nova: [, , ] 2026-01-28 21:03:16,624 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5103-1) 2026-01-28 21:03:17,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5103-1) 2026-01-28 21:03:18,052 - INFO - Setting gateway for router 11c6f347-a7d2-4e07-804e-52a14cfc3b3e to network 03688bf8-0632-4c19-a419-ae8948ba5215 2026-01-28 21:03:18,133 - INFO - Adding interface with subnet_id 10e5232f-fb9c-47b3-97f8-0b70f65efa03, port_id None to router 11c6f347-a7d2-4e07-804e-52a14cfc3b3e 2026-01-28 21:03:18,555 - INFO - Waiting for VM ctest-TestRoutersBasic-64417752-40913772 to be up.. 2026-01-28 21:03:18,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 21:03:23,817 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:03:23,818 - INFO - VM name : ctest-TestRoutersBasic-64417752-40913772 2026-01-28 21:03:23,933 - DEBUG - VM ctest-TestRoutersBasic-64417752-40913772 ID is e6352cba-c8aa-4c6e-b4eb-0271eb56d558 2026-01-28 21:03:23,959 - DEBUG - VM ctest-TestRoutersBasic-64417752-40913772 launched on Node cn-jenkins-deploy-platform-ansible-os-5103-1 2026-01-28 21:03:24,053 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e6352cba-c8aa-4c6e-b4eb-0271eb56d558 2026-01-28 21:03:24,397 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e6352cba-c8aa-4c6e-b4eb-0271eb56d558 2026-01-28 21:03:24,437 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/96c2d168-30f9-416b-a01b-1576b8aa1b84 2026-01-28 21:03:27,682 - 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') 2026-01-28 21:03:27,682 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64417752-40913772 failed! 2026-01-28 21:03:27,737 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64417752:ctest-vn-06289159 is 105.102.63.129 and allocation pool is NOT set 2026-01-28 21:03:29,798 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.133/3.008/4.884/1.875 ms') 2026-01-28 21:03:29,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64417752-40913772 passed 2026-01-28 21:03:29,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:03:29,957 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64417752-40913772, IP 105.102.63.131, Port 22 2026-01-28 21:03:30,124 - DEBUG - VM ctest-TestRoutersBasic-64417752-40913772 is ready for SSH connections 2026-01-28 21:03:30,124 - INFO - Waiting for VM ctest-TestRoutersBasic-64417752-22893223 to be up.. 2026-01-28 21:03:30,212 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:03:30,212 - INFO - VM name : ctest-TestRoutersBasic-64417752-22893223 2026-01-28 21:03:30,293 - DEBUG - VM ctest-TestRoutersBasic-64417752-22893223 ID is 9defbdc3-36fa-443a-901c-5d26142c57ed 2026-01-28 21:03:30,293 - DEBUG - VM ctest-TestRoutersBasic-64417752-22893223 launched on Node cn-jenkins-deploy-platform-ansible-os-5103-1 2026-01-28 21:03:30,373 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9defbdc3-36fa-443a-901c-5d26142c57ed 2026-01-28 21:03:30,382 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/45e45162-7629-4440-8d7c-217724d7cf5a 2026-01-28 21:03:31,623 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.007/2.369/3.732/1.362 ms') 2026-01-28 21:03:31,624 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64417752-22893223 passed 2026-01-28 21:03:31,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:03:31,773 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64417752-22893223, IP 177.13.129.3, Port 22 2026-01-28 21:03:31,929 - DEBUG - VM ctest-TestRoutersBasic-64417752-22893223 is ready for SSH connections 2026-01-28 21:03:31,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:03:31,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.13.129.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-28 21:03:31,929 - DEBUG - ping -s 56 -c 3 -W 1 177.13.129.3 2026-01-28 21:03:35,686 - DEBUG - PING 177.13.129.3 (177.13.129.3): 56 data bytes 64 bytes from 177.13.129.3: seq=0 ttl=62 time=5.401 ms 64 bytes from 177.13.129.3: seq=1 ttl=62 time=1.026 ms 64 bytes from 177.13.129.3: seq=2 ttl=62 time=1.251 ms --- 177.13.129.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.026/2.559/5.401 ms 2026-01-28 21:03:35,686 - INFO - Ping to IP 177.13.129.3 from VM ctest-TestRoutersBasic-64417752-40913772 passed 2026-01-28 21:03:35,686 - INFO - Deleting interface with subnet_id 10e5232f-fb9c-47b3-97f8-0b70f65efa03, port_id None from router 11c6f347-a7d2-4e07-804e-52a14cfc3b3e 2026-01-28 21:03:35,897 - INFO - Deleting VM ctest-TestRoutersBasic-64417752-22893223 2026-01-28 21:03:35,983 - INFO - Deleting VM ctest-TestRoutersBasic-64417752-40913772 2026-01-28 21:03:36,073 - INFO - Deleting VN ctest-ext_vn-60028142 2026-01-28 21:03:36,160 - DEBUG - VN 03688bf8-0632-4c19-a419-ae8948ba5215 still in use: Unable to complete operation on network 03688bf8-0632-4c19-a419-ae8948ba5215. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe7250b3-8d87-4748-ad29-8ec5715e195c'] 2026-01-28 21:03:36,161 - WARNING - Deleting VN ctest-ext_vn-60028142 failed..Will retry 2026-01-28 21:03:38,296 - DEBUG - Response for deleting network () 2026-01-28 21:03:38,296 - INFO - Deleting VN ctest-vn-06289159 2026-01-28 21:03:38,429 - DEBUG - Response for deleting network () 2026-01-28 21:03:38,691 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 21:03:38,691 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-01-28 21:03:38,691 - INFO - -------------------------------------------------------------------------------- 2026-01-28 21:03:39,459 - INFO - Deleted project: ctest-TestRoutersBasic-64417752, ID : 786ebfce-30e0-4a15-aa76-55bdd5c8e455