2026-08-26 09:21:21,591 - INFO - Domain Default found not creating 2026-08-26 09:21:21,803 - INFO - Project ctest-TestRoutersBasic-78020222 not found, creating it 2026-08-26 09:21:22,330 - INFO - Created Project:ctest-TestRoutersBasic-78020222, ID : 96d82c75-f11d-4721-a685-70fe14858b6c 2026-08-26 09:21:24,239 - INFO - ================================================================================ 2026-08-26 09:21:24,239 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-26 09:21:24,239 - 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-08-26 09:21:24,516 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-08-26 09:21:24,516 - INFO - Initial checks done. Running the testcase now 2026-08-26 09:21:24,516 - INFO - 2026-08-26 09:21:25,443 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78020222 2026-08-26 09:21:25,543 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78020222 2026-08-26 09:21:25,883 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78020222', 'default']} 2026-08-26 09:21:26,230 - DEBUG - Response for create_network : {'network': {'id': '1f5fc537-85a6-42a4-89c1-884f971063d3', 'name': 'ctest-vn-74625717', 'tenant_id': '96d82c75f11d4721a68570fe14858b6c', 'project_id': '96d82c75f11d4721a68570fe14858b6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78020222', 'ctest-vn-74625717'], 'port_security_enabled': True, 'description': ''}} 2026-08-26 09:21:26,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '09f02ddb-8d54-45c7-967b-a625da842300', 'name': '', 'tenant_id': '96d82c75f11d4721a68570fe14858b6c', 'network_id': '1f5fc537-85a6-42a4-89c1-884f971063d3', 'ip_version': 4, 'cidr': '134.237.100.0/26', 'allocation_pools': [{'start': '134.237.100.2', 'end': '134.237.100.62'}], 'gateway_ip': '134.237.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.237.100.2', 'tags': [], 'project_id': '96d82c75f11d4721a68570fe14858b6c'}} 2026-08-26 09:21:26,439 - INFO - Created VN ctest-vn-74625717 2026-08-26 09:21:26,495 - DEBUG - VN ctest-vn-74625717 UUID is 1f5fc537-85a6-42a4-89c1-884f971063d3 2026-08-26 09:21:26,887 - DEBUG - Response for create_network : {'network': {'id': 'c8ab56f0-1e48-480d-a825-dc583d7b03c0', 'name': 'ctest-ext_vn-28982663', 'tenant_id': '96d82c75f11d4721a68570fe14858b6c', 'project_id': '96d82c75f11d4721a68570fe14858b6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78020222', 'ctest-ext_vn-28982663'], 'port_security_enabled': True, 'description': ''}} 2026-08-26 09:21:27,064 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f315bc20-f53c-46ad-a82c-f825c72a05f4', 'name': '', 'tenant_id': '96d82c75f11d4721a68570fe14858b6c', 'network_id': 'c8ab56f0-1e48-480d-a825-dc583d7b03c0', 'ip_version': 4, 'cidr': '212.53.3.64/26', 'allocation_pools': [{'start': '212.53.3.66', 'end': '212.53.3.126'}], 'gateway_ip': '212.53.3.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.53.3.66', 'tags': [], 'project_id': '96d82c75f11d4721a68570fe14858b6c'}} 2026-08-26 09:21:27,084 - INFO - Created VN ctest-ext_vn-28982663 2026-08-26 09:21:27,139 - DEBUG - VN ctest-ext_vn-28982663 UUID is c8ab56f0-1e48-480d-a825-dc583d7b03c0 2026-08-26 09:21:27,327 - DEBUG - Services list from nova: [, , ] 2026-08-26 09:21:27,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6232-1) 2026-08-26 09:21:28,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6232-1) 2026-08-26 09:21:28,199 - INFO - Setting gateway for router 691f51ca-13d4-4029-bbea-d87c354c9cac to network c8ab56f0-1e48-480d-a825-dc583d7b03c0 2026-08-26 09:21:28,252 - INFO - Adding interface with subnet_id 09f02ddb-8d54-45c7-967b-a625da842300, port_id None to router 691f51ca-13d4-4029-bbea-d87c354c9cac 2026-08-26 09:21:28,559 - INFO - Waiting for VM ctest-TestRoutersBasic-78020222-22225504 to be up.. 2026-08-26 09:21:28,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:21:33,780 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:21:38,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:21:43,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:21:49,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:21:54,161 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:21:59,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:22:04,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 09:22:09,452 - DEBUG - VM is in ACTIVE state now 2026-08-26 09:22:09,452 - INFO - VM name : ctest-TestRoutersBasic-78020222-22225504 2026-08-26 09:22:09,545 - DEBUG - VM ctest-TestRoutersBasic-78020222-22225504 ID is 26d77f74-7180-450c-9607-823a193f9a47 2026-08-26 09:22:09,574 - DEBUG - VM ctest-TestRoutersBasic-78020222-22225504 launched on Node cn-jenkins-deploy-platform-ansible-os-6232-1 2026-08-26 09:22:09,674 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/26d77f74-7180-450c-9607-823a193f9a47 2026-08-26 09:22:10,352 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/26d77f74-7180-450c-9607-823a193f9a47 2026-08-26 09:22:10,394 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/a22baabf-7b0f-43dd-bb46-72dec41068dc 2026-08-26 09:22:13,676 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms') 2026-08-26 09:22:13,676 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-78020222-22225504 failed! 2026-08-26 09:22:13,735 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78020222:ctest-vn-74625717 is 134.237.100.1 and allocation pool is NOT set 2026-08-26 09:22:15,800 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=9.94 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.17 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.167/5.554/9.942/4.387 ms') 2026-08-26 09:22:15,801 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-78020222-22225504 passed 2026-08-26 09:22:15,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 09:22:15,959 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78020222-22225504, IP 134.237.100.3, Port 22 2026-08-26 09:22:16,025 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-26 09:22:16,127 - DEBUG - VM ctest-TestRoutersBasic-78020222-22225504 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-26 09:22:21,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 09:22:21,128 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78020222-22225504, IP 134.237.100.3, Port 22 2026-08-26 09:22:21,305 - DEBUG - VM ctest-TestRoutersBasic-78020222-22225504 is ready for SSH connections 2026-08-26 09:22:21,305 - INFO - Waiting for VM ctest-TestRoutersBasic-78020222-75056237 to be up.. 2026-08-26 09:22:21,411 - DEBUG - VM is in ACTIVE state now 2026-08-26 09:22:21,411 - INFO - VM name : ctest-TestRoutersBasic-78020222-75056237 2026-08-26 09:22:21,494 - DEBUG - VM ctest-TestRoutersBasic-78020222-75056237 ID is 12324575-5dc0-46ba-8cce-7bcfe5a449e6 2026-08-26 09:22:21,494 - DEBUG - VM ctest-TestRoutersBasic-78020222-75056237 launched on Node cn-jenkins-deploy-platform-ansible-os-6232-1 2026-08-26 09:22:21,591 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/12324575-5dc0-46ba-8cce-7bcfe5a449e6 2026-08-26 09:22:21,601 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/55145511-3ef7-406b-b88d-860679f79432 2026-08-26 09:22:22,854 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.93 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.498 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.498/2.212/3.927/1.714 ms') 2026-08-26 09:22:22,855 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-78020222-75056237 passed 2026-08-26 09:22:23,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 09:22:23,011 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78020222-75056237, IP 212.53.3.68, Port 22 2026-08-26 09:22:23,182 - DEBUG - VM ctest-TestRoutersBasic-78020222-75056237 is ready for SSH connections 2026-08-26 09:22:23,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 09:22:23,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.53.3.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-26 09:22:23,182 - DEBUG - ping -s 56 -c 3 -W 1 212.53.3.68 2026-08-26 09:22:26,310 - DEBUG - PING 212.53.3.68 (212.53.3.68): 56 data bytes 64 bytes from 212.53.3.68: seq=0 ttl=62 time=8.416 ms 64 bytes from 212.53.3.68: seq=1 ttl=62 time=1.108 ms 64 bytes from 212.53.3.68: seq=2 ttl=62 time=1.074 ms --- 212.53.3.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.074/3.532/8.416 ms 2026-08-26 09:22:26,310 - INFO - Ping to IP 212.53.3.68 from VM ctest-TestRoutersBasic-78020222-22225504 passed 2026-08-26 09:22:26,310 - INFO - Deleting interface with subnet_id 09f02ddb-8d54-45c7-967b-a625da842300, port_id None from router 691f51ca-13d4-4029-bbea-d87c354c9cac 2026-08-26 09:22:26,543 - INFO - Deleting VM ctest-TestRoutersBasic-78020222-75056237 2026-08-26 09:22:26,628 - INFO - Deleting VM ctest-TestRoutersBasic-78020222-22225504 2026-08-26 09:22:26,709 - INFO - Deleting VN ctest-ext_vn-28982663 2026-08-26 09:22:26,787 - DEBUG - VN c8ab56f0-1e48-480d-a825-dc583d7b03c0 still in use: Unable to complete operation on network c8ab56f0-1e48-480d-a825-dc583d7b03c0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ebf2075-3363-430e-9695-4b54a91922d4'] 2026-08-26 09:22:26,788 - WARNING - Deleting VN ctest-ext_vn-28982663 failed..Will retry 2026-08-26 09:22:28,864 - DEBUG - VN c8ab56f0-1e48-480d-a825-dc583d7b03c0 still in use: Unable to complete operation on network c8ab56f0-1e48-480d-a825-dc583d7b03c0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b905bc03-a8d6-43c2-9be9-2db32e698765'] 2026-08-26 09:22:28,864 - WARNING - Deleting VN ctest-ext_vn-28982663 failed..Will retry 2026-08-26 09:22:30,987 - DEBUG - Response for deleting network () 2026-08-26 09:22:30,987 - INFO - Deleting VN ctest-vn-74625717 2026-08-26 09:22:31,120 - DEBUG - Response for deleting network () 2026-08-26 09:22:31,396 - DEBUG - No XMPP flaps were noticed during the test 2026-08-26 09:22:31,396 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07] 2026-08-26 09:22:31,396 - INFO - -------------------------------------------------------------------------------- 2026-08-26 09:22:32,216 - INFO - Deleted project: ctest-TestRoutersBasic-78020222, ID : 96d82c75-f11d-4721-a685-70fe14858b6c