2026-02-09 02:05:22,673 - INFO - Domain Default found not creating 2026-02-09 02:05:22,829 - INFO - Project ctest-TestRoutersBasic-78251847 not found, creating it 2026-02-09 02:05:23,287 - INFO - Created Project:ctest-TestRoutersBasic-78251847, ID : c2a2ad23-7c0d-490e-b72d-5fbbf6013ed7 2026-02-09 02:05:24,914 - INFO - ================================================================================ 2026-02-09 02:05:24,914 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 02:05:24,914 - 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-09 02:05:25,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-02-09 02:05:25,167 - INFO - Initial checks done. Running the testcase now 2026-02-09 02:05:25,167 - INFO - 2026-02-09 02:05:25,963 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78251847 2026-02-09 02:05:26,057 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78251847 2026-02-09 02:05:26,373 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78251847', 'default']} 2026-02-09 02:05:26,668 - DEBUG - Response for create_network : {'network': {'id': '63908e22-be7c-4a75-8f8a-b84748762d34', 'name': 'ctest-vn-51769898', 'tenant_id': 'c2a2ad237c0d490eb72d5fbbf6013ed7', 'project_id': 'c2a2ad237c0d490eb72d5fbbf6013ed7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78251847', 'ctest-vn-51769898'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:05:26,826 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da3583e9-255f-4150-9374-0fd5b01af139', 'name': '', 'tenant_id': 'c2a2ad237c0d490eb72d5fbbf6013ed7', 'network_id': '63908e22-be7c-4a75-8f8a-b84748762d34', 'ip_version': 4, 'cidr': '39.47.240.128/26', 'allocation_pools': [{'start': '39.47.240.130', 'end': '39.47.240.190'}], 'gateway_ip': '39.47.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.47.240.130', 'tags': [], 'project_id': 'c2a2ad237c0d490eb72d5fbbf6013ed7'}} 2026-02-09 02:05:26,844 - INFO - Created VN ctest-vn-51769898 2026-02-09 02:05:26,897 - DEBUG - VN ctest-vn-51769898 UUID is 63908e22-be7c-4a75-8f8a-b84748762d34 2026-02-09 02:05:27,249 - DEBUG - Response for create_network : {'network': {'id': '58b181a0-18e0-4627-8858-0ccbf91875dc', 'name': 'ctest-ext_vn-68380266', 'tenant_id': 'c2a2ad237c0d490eb72d5fbbf6013ed7', 'project_id': 'c2a2ad237c0d490eb72d5fbbf6013ed7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78251847', 'ctest-ext_vn-68380266'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:05:27,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '9beaf7fb-db57-42c8-9001-35024e918403', 'name': '', 'tenant_id': 'c2a2ad237c0d490eb72d5fbbf6013ed7', 'network_id': '58b181a0-18e0-4627-8858-0ccbf91875dc', 'ip_version': 4, 'cidr': '28.99.75.128/26', 'allocation_pools': [{'start': '28.99.75.130', 'end': '28.99.75.190'}], 'gateway_ip': '28.99.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.99.75.130', 'tags': [], 'project_id': 'c2a2ad237c0d490eb72d5fbbf6013ed7'}} 2026-02-09 02:05:27,490 - INFO - Created VN ctest-ext_vn-68380266 2026-02-09 02:05:27,541 - DEBUG - VN ctest-ext_vn-68380266 UUID is 58b181a0-18e0-4627-8858-0ccbf91875dc 2026-02-09 02:05:27,705 - DEBUG - Services list from nova: [, , ] 2026-02-09 02:05:28,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5235-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5235-1) 2026-02-09 02:05:30,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5235-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5235-1) 2026-02-09 02:05:30,135 - INFO - Setting gateway for router b1efa45b-83dd-4573-ad1b-a260ddca808f to network 58b181a0-18e0-4627-8858-0ccbf91875dc 2026-02-09 02:05:30,206 - INFO - Adding interface with subnet_id da3583e9-255f-4150-9374-0fd5b01af139, port_id None to router b1efa45b-83dd-4573-ad1b-a260ddca808f 2026-02-09 02:05:30,564 - INFO - Waiting for VM ctest-TestRoutersBasic-78251847-71111198 to be up.. 2026-02-09 02:05:30,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 02:05:35,836 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:05:35,836 - INFO - VM name : ctest-TestRoutersBasic-78251847-71111198 2026-02-09 02:05:35,911 - DEBUG - VM ctest-TestRoutersBasic-78251847-71111198 ID is cf9a415f-8c55-4734-9400-eafbbfdb64eb 2026-02-09 02:05:35,930 - DEBUG - VM ctest-TestRoutersBasic-78251847-71111198 launched on Node cn-jenkins-deploy-platform-ansible-os-5235-1 2026-02-09 02:05:36,006 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/cf9a415f-8c55-4734-9400-eafbbfdb64eb 2026-02-09 02:05:36,347 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/cf9a415f-8c55-4734-9400-eafbbfdb64eb 2026-02-09 02:05:36,383 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f318074c-62a5-4c37-8990-adb12fe32cfc 2026-02-09 02:05:39,639 - 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 1017ms') 2026-02-09 02:05:39,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78251847-71111198 failed! 2026-02-09 02:05:39,693 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78251847:ctest-vn-51769898 is 39.47.240.129 and allocation pool is NOT set 2026-02-09 02:05:41,751 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 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.190/2.738/4.287/1.548 ms') 2026-02-09 02:05:41,751 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78251847-71111198 passed 2026-02-09 02:05:41,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:05:41,905 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78251847-71111198, IP 39.47.240.131, Port 22 2026-02-09 02:05:41,975 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-09 02:05:42,063 - DEBUG - VM ctest-TestRoutersBasic-78251847-71111198 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 02:05:47,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:05:47,065 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78251847-71111198, IP 39.47.240.131, Port 22 2026-02-09 02:05:47,221 - DEBUG - VM ctest-TestRoutersBasic-78251847-71111198 is ready for SSH connections 2026-02-09 02:05:47,221 - INFO - Waiting for VM ctest-TestRoutersBasic-78251847-94454810 to be up.. 2026-02-09 02:05:47,298 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:05:47,298 - INFO - VM name : ctest-TestRoutersBasic-78251847-94454810 2026-02-09 02:05:47,376 - DEBUG - VM ctest-TestRoutersBasic-78251847-94454810 ID is 052d5417-846b-4eb9-ab5a-5e7efdb56dc0 2026-02-09 02:05:47,376 - DEBUG - VM ctest-TestRoutersBasic-78251847-94454810 launched on Node cn-jenkins-deploy-platform-ansible-os-5235-1 2026-02-09 02:05:47,456 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/052d5417-846b-4eb9-ab5a-5e7efdb56dc0 2026-02-09 02:05:47,464 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c9fe116f-958a-4b7d-b106-83c78b0c768d 2026-02-09 02:05:48,696 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 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.544/1.958/3.373/1.414 ms') 2026-02-09 02:05:48,696 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78251847-94454810 passed 2026-02-09 02:05:48,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:05:48,846 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78251847-94454810, IP 28.99.75.131, Port 22 2026-02-09 02:05:49,001 - DEBUG - VM ctest-TestRoutersBasic-78251847-94454810 is ready for SSH connections 2026-02-09 02:05:49,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:05:49,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.99.75.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-09 02:05:49,001 - DEBUG - ping -s 56 -c 3 -W 1 28.99.75.131 2026-02-09 02:05:52,754 - DEBUG - PING 28.99.75.131 (28.99.75.131): 56 data bytes 64 bytes from 28.99.75.131: seq=0 ttl=62 time=9.130 ms 64 bytes from 28.99.75.131: seq=1 ttl=62 time=1.063 ms 64 bytes from 28.99.75.131: seq=2 ttl=62 time=0.967 ms --- 28.99.75.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.967/3.720/9.130 ms 2026-02-09 02:05:52,754 - INFO - Ping to IP 28.99.75.131 from VM ctest-TestRoutersBasic-78251847-71111198 passed 2026-02-09 02:05:52,754 - INFO - Deleting interface with subnet_id da3583e9-255f-4150-9374-0fd5b01af139, port_id None from router b1efa45b-83dd-4573-ad1b-a260ddca808f 2026-02-09 02:05:52,937 - INFO - Deleting VM ctest-TestRoutersBasic-78251847-94454810 2026-02-09 02:05:53,013 - INFO - Deleting VM ctest-TestRoutersBasic-78251847-71111198 2026-02-09 02:05:53,102 - INFO - Deleting VN ctest-ext_vn-68380266 2026-02-09 02:05:53,170 - DEBUG - VN 58b181a0-18e0-4627-8858-0ccbf91875dc still in use: Unable to complete operation on network 58b181a0-18e0-4627-8858-0ccbf91875dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6f7f1b9b-29f0-4a2e-84a0-4e90577c3ca9'] 2026-02-09 02:05:53,170 - WARNING - Deleting VN ctest-ext_vn-68380266 failed..Will retry 2026-02-09 02:05:55,280 - DEBUG - Response for deleting network () 2026-02-09 02:05:55,280 - INFO - Deleting VN ctest-vn-51769898 2026-02-09 02:05:55,385 - DEBUG - Response for deleting network () 2026-02-09 02:05:55,649 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 02:05:55,650 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-02-09 02:05:55,650 - INFO - -------------------------------------------------------------------------------- 2026-02-09 02:05:56,370 - INFO - Deleted project: ctest-TestRoutersBasic-78251847, ID : c2a2ad23-7c0d-490e-b72d-5fbbf6013ed7