2026-02-12 02:14:13,520 - INFO - Domain Default found not creating 2026-02-12 02:14:13,682 - INFO - Project ctest-TestRoutersBasic-90841732 not found, creating it 2026-02-12 02:14:14,141 - INFO - Created Project:ctest-TestRoutersBasic-90841732, ID : 2ddf5370-9f06-4f2d-b949-f177c4a3ecd9 2026-02-12 02:14:15,731 - INFO - ================================================================================ 2026-02-12 02:14:15,731 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-12 02:14:15,731 - 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-12 02:14:15,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.209': '0'}} with 2026-02-12 02:14:15,985 - INFO - Initial checks done. Running the testcase now 2026-02-12 02:14:15,986 - INFO - 2026-02-12 02:14:16,788 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90841732 2026-02-12 02:14:16,883 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90841732 2026-02-12 02:14:17,199 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90841732', 'default']} 2026-02-12 02:14:17,491 - DEBUG - Response for create_network : {'network': {'id': '8b17c3a4-4525-4b5c-9dfc-bc6984e18aa0', 'name': 'ctest-vn-94587337', 'tenant_id': '2ddf53709f064f2db949f177c4a3ecd9', 'project_id': '2ddf53709f064f2db949f177c4a3ecd9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90841732', 'ctest-vn-94587337'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:14:17,677 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3e3fe69-faaf-4b1e-9fb0-2f38008d81c0', 'name': '', 'tenant_id': '2ddf53709f064f2db949f177c4a3ecd9', 'network_id': '8b17c3a4-4525-4b5c-9dfc-bc6984e18aa0', 'ip_version': 4, 'cidr': '169.54.189.64/26', 'allocation_pools': [{'start': '169.54.189.66', 'end': '169.54.189.126'}], 'gateway_ip': '169.54.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.54.189.66', 'tags': [], 'project_id': '2ddf53709f064f2db949f177c4a3ecd9'}} 2026-02-12 02:14:17,697 - INFO - Created VN ctest-vn-94587337 2026-02-12 02:14:17,759 - DEBUG - VN ctest-vn-94587337 UUID is 8b17c3a4-4525-4b5c-9dfc-bc6984e18aa0 2026-02-12 02:14:18,068 - DEBUG - Response for create_network : {'network': {'id': '2dbf7915-a29f-40c1-a7bb-5b3e03d2b345', 'name': 'ctest-ext_vn-41892041', 'tenant_id': '2ddf53709f064f2db949f177c4a3ecd9', 'project_id': '2ddf53709f064f2db949f177c4a3ecd9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90841732', 'ctest-ext_vn-41892041'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:14:18,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e2ff965-9f9d-4a40-974e-a84cb7201dc5', 'name': '', 'tenant_id': '2ddf53709f064f2db949f177c4a3ecd9', 'network_id': '2dbf7915-a29f-40c1-a7bb-5b3e03d2b345', 'ip_version': 4, 'cidr': '197.142.69.192/26', 'allocation_pools': [{'start': '197.142.69.194', 'end': '197.142.69.254'}], 'gateway_ip': '197.142.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.142.69.194', 'tags': [], 'project_id': '2ddf53709f064f2db949f177c4a3ecd9'}} 2026-02-12 02:14:18,236 - INFO - Created VN ctest-ext_vn-41892041 2026-02-12 02:14:18,287 - DEBUG - VN ctest-ext_vn-41892041 UUID is 2dbf7915-a29f-40c1-a7bb-5b3e03d2b345 2026-02-12 02:14:18,450 - DEBUG - Services list from nova: [, , ] 2026-02-12 02:14:19,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5309-1) 2026-02-12 02:14:20,825 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5309-1) 2026-02-12 02:14:20,905 - INFO - Setting gateway for router e50bb5cf-3134-494a-9b86-b38315a90a38 to network 2dbf7915-a29f-40c1-a7bb-5b3e03d2b345 2026-02-12 02:14:20,970 - INFO - Adding interface with subnet_id e3e3fe69-faaf-4b1e-9fb0-2f38008d81c0, port_id None to router e50bb5cf-3134-494a-9b86-b38315a90a38 2026-02-12 02:14:21,294 - INFO - Waiting for VM ctest-TestRoutersBasic-90841732-29198180 to be up.. 2026-02-12 02:14:21,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 02:14:26,519 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:14:26,519 - INFO - VM name : ctest-TestRoutersBasic-90841732-29198180 2026-02-12 02:14:26,592 - DEBUG - VM ctest-TestRoutersBasic-90841732-29198180 ID is 64199805-1c4f-49b0-b36d-eff5e2a4c208 2026-02-12 02:14:26,612 - DEBUG - VM ctest-TestRoutersBasic-90841732-29198180 launched on Node cn-jenkins-deploy-platform-ansible-os-5309-1 2026-02-12 02:14:26,693 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/64199805-1c4f-49b0-b36d-eff5e2a4c208 2026-02-12 02:14:27,039 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/64199805-1c4f-49b0-b36d-eff5e2a4c208 2026-02-12 02:14:27,077 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/62530453-09a7-485e-9585-f8d5c587b4eb 2026-02-12 02:14:30,320 - 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 1005ms') 2026-02-12 02:14:30,320 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90841732-29198180 failed! 2026-02-12 02:14:30,375 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90841732:ctest-vn-94587337 is 169.54.189.65 and allocation pool is NOT set 2026-02-12 02:14:32,434 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.36 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.356/2.839/4.322/1.483 ms') 2026-02-12 02:14:32,434 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90841732-29198180 passed 2026-02-12 02:14:32,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:14:32,587 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90841732-29198180, IP 169.54.189.67, Port 22 2026-02-12 02:14:32,654 - 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-12 02:14:32,740 - DEBUG - VM ctest-TestRoutersBasic-90841732-29198180 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 02:14:37,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:14:37,741 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90841732-29198180, IP 169.54.189.67, Port 22 2026-02-12 02:14:37,895 - DEBUG - VM ctest-TestRoutersBasic-90841732-29198180 is ready for SSH connections 2026-02-12 02:14:37,895 - INFO - Waiting for VM ctest-TestRoutersBasic-90841732-15235563 to be up.. 2026-02-12 02:14:37,976 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:14:37,976 - INFO - VM name : ctest-TestRoutersBasic-90841732-15235563 2026-02-12 02:14:38,073 - DEBUG - VM ctest-TestRoutersBasic-90841732-15235563 ID is 79a82384-f0c7-4cf9-9cea-d27480d51fbe 2026-02-12 02:14:38,074 - DEBUG - VM ctest-TestRoutersBasic-90841732-15235563 launched on Node cn-jenkins-deploy-platform-ansible-os-5309-1 2026-02-12 02:14:38,160 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/79a82384-f0c7-4cf9-9cea-d27480d51fbe 2026-02-12 02:14:38,169 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/690a7d21-e7b0-4e43-8df8-7e81112d6226 2026-02-12 02:14:39,400 - 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=4.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.387/2.266/4.146/1.879 ms') 2026-02-12 02:14:39,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90841732-15235563 passed 2026-02-12 02:14:39,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:14:39,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90841732-15235563, IP 197.142.69.195, Port 22 2026-02-12 02:14:39,713 - DEBUG - VM ctest-TestRoutersBasic-90841732-15235563 is ready for SSH connections 2026-02-12 02:14:39,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:14:39,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.142.69.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-12 02:14:39,714 - DEBUG - ping -s 56 -c 3 -W 1 197.142.69.195 2026-02-12 02:14:43,468 - DEBUG - PING 197.142.69.195 (197.142.69.195): 56 data bytes 64 bytes from 197.142.69.195: seq=0 ttl=62 time=5.315 ms 64 bytes from 197.142.69.195: seq=1 ttl=62 time=1.019 ms 64 bytes from 197.142.69.195: seq=2 ttl=62 time=0.913 ms --- 197.142.69.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.415/5.315 ms 2026-02-12 02:14:43,468 - INFO - Ping to IP 197.142.69.195 from VM ctest-TestRoutersBasic-90841732-29198180 passed 2026-02-12 02:14:43,468 - INFO - Deleting interface with subnet_id e3e3fe69-faaf-4b1e-9fb0-2f38008d81c0, port_id None from router e50bb5cf-3134-494a-9b86-b38315a90a38 2026-02-12 02:14:43,659 - INFO - Deleting VM ctest-TestRoutersBasic-90841732-15235563 2026-02-12 02:14:43,732 - INFO - Deleting VM ctest-TestRoutersBasic-90841732-29198180 2026-02-12 02:14:43,831 - INFO - Deleting VN ctest-ext_vn-41892041 2026-02-12 02:14:43,910 - DEBUG - VN 2dbf7915-a29f-40c1-a7bb-5b3e03d2b345 still in use: Unable to complete operation on network 2dbf7915-a29f-40c1-a7bb-5b3e03d2b345. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd4a9ac9-cd6b-4a3e-a3bf-e654dbae589a'] 2026-02-12 02:14:43,910 - WARNING - Deleting VN ctest-ext_vn-41892041 failed..Will retry 2026-02-12 02:14:46,010 - DEBUG - Response for deleting network () 2026-02-12 02:14:46,010 - INFO - Deleting VN ctest-vn-94587337 2026-02-12 02:14:46,120 - DEBUG - Response for deleting network () 2026-02-12 02:14:46,374 - DEBUG - No XMPP flaps were noticed during the test 2026-02-12 02:14:46,374 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-02-12 02:14:46,374 - INFO - -------------------------------------------------------------------------------- 2026-02-12 02:14:47,132 - INFO - Deleted project: ctest-TestRoutersBasic-90841732, ID : 2ddf5370-9f06-4f2d-b949-f177c4a3ecd9