2026-02-04 16:45:28,979 - INFO - Domain Default found not creating 2026-02-04 16:45:29,153 - INFO - Project ctest-TestRoutersBasic-37779434 not found, creating it 2026-02-04 16:45:29,607 - INFO - Created Project:ctest-TestRoutersBasic-37779434, ID : 98e9a343-2739-4379-8933-62d6c0fbf55d 2026-02-04 16:45:31,133 - INFO - ================================================================================ 2026-02-04 16:45:31,133 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-04 16:45:31,133 - 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-02-04 16:45:31,385 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-04 16:45:31,385 - INFO - Initial checks done. Running the testcase now 2026-02-04 16:45:31,385 - INFO - 2026-02-04 16:45:32,076 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37779434 2026-02-04 16:45:32,173 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37779434 2026-02-04 16:45:32,497 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37779434', 'default']} 2026-02-04 16:45:32,777 - DEBUG - Response for create_network : {'network': {'id': '66448822-7f08-4458-ad9c-b1b9ce7e91e9', 'name': 'ctest-vn-96662650', 'tenant_id': '98e9a34327394379893362d6c0fbf55d', 'project_id': '98e9a34327394379893362d6c0fbf55d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37779434', 'ctest-vn-96662650'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 16:45:32,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b62b5d8-7a7a-4d69-8482-b144b28094b5', 'name': '', 'tenant_id': '98e9a34327394379893362d6c0fbf55d', 'network_id': '66448822-7f08-4458-ad9c-b1b9ce7e91e9', 'ip_version': 4, 'cidr': '160.138.193.192/26', 'allocation_pools': [{'start': '160.138.193.194', 'end': '160.138.193.254'}], 'gateway_ip': '160.138.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.138.193.194', 'tags': [], 'project_id': '98e9a34327394379893362d6c0fbf55d'}} 2026-02-04 16:45:32,954 - INFO - Created VN ctest-vn-96662650 2026-02-04 16:45:33,005 - DEBUG - VN ctest-vn-96662650 UUID is 66448822-7f08-4458-ad9c-b1b9ce7e91e9 2026-02-04 16:45:33,347 - DEBUG - Response for create_network : {'network': {'id': 'a024fe72-e8f5-4ff6-be40-e05a803966c9', 'name': 'ctest-ext_vn-73717101', 'tenant_id': '98e9a34327394379893362d6c0fbf55d', 'project_id': '98e9a34327394379893362d6c0fbf55d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37779434', 'ctest-ext_vn-73717101'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 16:45:33,514 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cb2a5a4-9620-44f9-bfb6-6d5b38a44121', 'name': '', 'tenant_id': '98e9a34327394379893362d6c0fbf55d', 'network_id': 'a024fe72-e8f5-4ff6-be40-e05a803966c9', 'ip_version': 4, 'cidr': '140.148.234.64/26', 'allocation_pools': [{'start': '140.148.234.66', 'end': '140.148.234.126'}], 'gateway_ip': '140.148.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.148.234.66', 'tags': [], 'project_id': '98e9a34327394379893362d6c0fbf55d'}} 2026-02-04 16:45:33,531 - INFO - Created VN ctest-ext_vn-73717101 2026-02-04 16:45:33,585 - DEBUG - VN ctest-ext_vn-73717101 UUID is a024fe72-e8f5-4ff6-be40-e05a803966c9 2026-02-04 16:45:33,781 - DEBUG - Services list from nova: [, , ] 2026-02-04 16:45:34,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5207-1) 2026-02-04 16:45:35,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5207-1) 2026-02-04 16:45:35,927 - INFO - Setting gateway for router 3d5eb600-0d9e-4db6-aa81-8adda4f3f4bc to network a024fe72-e8f5-4ff6-be40-e05a803966c9 2026-02-04 16:45:35,999 - INFO - Adding interface with subnet_id 2b62b5d8-7a7a-4d69-8482-b144b28094b5, port_id None to router 3d5eb600-0d9e-4db6-aa81-8adda4f3f4bc 2026-02-04 16:45:36,377 - INFO - Waiting for VM ctest-TestRoutersBasic-37779434-46608216 to be up.. 2026-02-04 16:45:36,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 16:45:41,669 - DEBUG - VM is in ACTIVE state now 2026-02-04 16:45:41,669 - INFO - VM name : ctest-TestRoutersBasic-37779434-46608216 2026-02-04 16:45:41,773 - DEBUG - VM ctest-TestRoutersBasic-37779434-46608216 ID is 4cdf3bd9-8ecb-4c21-bc3a-318779a8582b 2026-02-04 16:45:41,798 - DEBUG - VM ctest-TestRoutersBasic-37779434-46608216 launched on Node cn-jenkins-deploy-platform-ansible-os-5207-1 2026-02-04 16:45:41,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4cdf3bd9-8ecb-4c21-bc3a-318779a8582b 2026-02-04 16:45:42,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4cdf3bd9-8ecb-4c21-bc3a-318779a8582b 2026-02-04 16:45:42,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3ee9497a-3acd-4119-b1ad-e8669fb1646f 2026-02-04 16:45:45,442 - 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') 2026-02-04 16:45:45,442 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37779434-46608216 failed! 2026-02-04 16:45:45,501 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37779434:ctest-vn-96662650 is 160.138.193.193 and allocation pool is NOT set 2026-02-04 16:45:47,559 - 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=3.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/2.125/3.831/1.706 ms') 2026-02-04 16:45:47,559 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37779434-46608216 passed 2026-02-04 16:45:47,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 16:45:47,705 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37779434-46608216, IP 160.138.193.195, Port 22 2026-02-04 16:45:47,868 - DEBUG - VM ctest-TestRoutersBasic-37779434-46608216 is ready for SSH connections 2026-02-04 16:45:47,868 - INFO - Waiting for VM ctest-TestRoutersBasic-37779434-23159230 to be up.. 2026-02-04 16:45:47,948 - DEBUG - VM is in ACTIVE state now 2026-02-04 16:45:47,948 - INFO - VM name : ctest-TestRoutersBasic-37779434-23159230 2026-02-04 16:45:48,015 - DEBUG - VM ctest-TestRoutersBasic-37779434-23159230 ID is 329d0780-c641-4910-a22f-0a4afc24c574 2026-02-04 16:45:48,015 - DEBUG - VM ctest-TestRoutersBasic-37779434-23159230 launched on Node cn-jenkins-deploy-platform-ansible-os-5207-1 2026-02-04 16:45:48,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/329d0780-c641-4910-a22f-0a4afc24c574 2026-02-04 16:45:48,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/affc3327-3142-47e7-88fc-a8129b2de95e 2026-02-04 16:45:49,328 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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 = 0.355/1.801/3.248/1.446 ms') 2026-02-04 16:45:49,328 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37779434-23159230 passed 2026-02-04 16:45:49,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 16:45:49,477 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37779434-23159230, IP 140.148.234.67, Port 22 2026-02-04 16:45:49,632 - DEBUG - VM ctest-TestRoutersBasic-37779434-23159230 is ready for SSH connections 2026-02-04 16:45:49,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 16:45:49,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.148.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-04 16:45:49,633 - DEBUG - ping -s 56 -c 3 -W 1 140.148.234.67 2026-02-04 16:45:53,615 - DEBUG - PING 140.148.234.67 (140.148.234.67): 56 data bytes 64 bytes from 140.148.234.67: seq=0 ttl=62 time=7.222 ms 64 bytes from 140.148.234.67: seq=1 ttl=62 time=1.119 ms 64 bytes from 140.148.234.67: seq=2 ttl=62 time=0.908 ms --- 140.148.234.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/3.083/7.222 ms 2026-02-04 16:45:53,615 - INFO - Ping to IP 140.148.234.67 from VM ctest-TestRoutersBasic-37779434-46608216 passed 2026-02-04 16:45:53,615 - INFO - Deleting interface with subnet_id 2b62b5d8-7a7a-4d69-8482-b144b28094b5, port_id None from router 3d5eb600-0d9e-4db6-aa81-8adda4f3f4bc 2026-02-04 16:45:53,801 - INFO - Deleting VM ctest-TestRoutersBasic-37779434-23159230 2026-02-04 16:45:53,883 - INFO - Deleting VM ctest-TestRoutersBasic-37779434-46608216 2026-02-04 16:45:53,969 - INFO - Deleting VN ctest-ext_vn-73717101 2026-02-04 16:45:54,036 - DEBUG - VN a024fe72-e8f5-4ff6-be40-e05a803966c9 still in use: Unable to complete operation on network a024fe72-e8f5-4ff6-be40-e05a803966c9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab195ae9-6a4b-4f57-b76d-196c84a06565'] 2026-02-04 16:45:54,036 - WARNING - Deleting VN ctest-ext_vn-73717101 failed..Will retry 2026-02-04 16:45:56,130 - DEBUG - Response for deleting network () 2026-02-04 16:45:56,130 - INFO - Deleting VN ctest-vn-96662650 2026-02-04 16:45:56,224 - DEBUG - Response for deleting network () 2026-02-04 16:45:56,478 - DEBUG - No XMPP flaps were noticed during the test 2026-02-04 16:45:56,478 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-04 16:45:56,479 - INFO - -------------------------------------------------------------------------------- 2026-02-04 16:45:57,155 - INFO - Deleted project: ctest-TestRoutersBasic-37779434, ID : 98e9a343-2739-4379-8933-62d6c0fbf55d