2025-11-03 14:50:08,183 - INFO - Domain Default found not creating
2025-11-03 14:50:08,353 - INFO - Project ctest-TestRoutersBasic-74480899 not found, creating it
2025-11-03 14:50:08,828 - INFO - Created Project:ctest-TestRoutersBasic-74480899, ID : 1163aef2-e76f-4f8a-bfe7-034b928387b3
2025-11-03 14:50:10,331 - INFO - ================================================================================
2025-11-03 14:50:10,331 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-03 14:50:10,332 - 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
2025-11-03 14:50:10,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2025-11-03 14:50:10,593 - INFO - Initial checks done. Running the testcase now
2025-11-03 14:50:10,593 - INFO -
2025-11-03 14:50:11,317 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74480899
2025-11-03 14:50:11,414 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74480899
2025-11-03 14:50:11,734 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74480899', 'default']}
2025-11-03 14:50:12,021 - DEBUG - Response for create_network : {'network': {'id': '48237c42-a6a8-4558-954a-4a20e0513aa3', 'name': 'ctest-vn-60229145', 'tenant_id': '1163aef2e76f4f8abfe7034b928387b3', 'project_id': '1163aef2e76f4f8abfe7034b928387b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74480899', 'ctest-vn-60229145'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 14:50:12,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '5feebd92-9646-47fd-a370-c79c05c8c836', 'name': '', 'tenant_id': '1163aef2e76f4f8abfe7034b928387b3', 'network_id': '48237c42-a6a8-4558-954a-4a20e0513aa3', 'ip_version': 4, 'cidr': '31.206.110.64/26', 'allocation_pools': [{'start': '31.206.110.66', 'end': '31.206.110.126'}], 'gateway_ip': '31.206.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.206.110.66', 'tags': [], 'project_id': '1163aef2e76f4f8abfe7034b928387b3'}}
2025-11-03 14:50:12,201 - INFO - Created VN ctest-vn-60229145
2025-11-03 14:50:12,254 - DEBUG - VN ctest-vn-60229145 UUID is 48237c42-a6a8-4558-954a-4a20e0513aa3
2025-11-03 14:50:12,557 - DEBUG - Response for create_network : {'network': {'id': 'ac962764-e810-4f7e-a0fc-b9335183d95c', 'name': 'ctest-ext_vn-32012612', 'tenant_id': '1163aef2e76f4f8abfe7034b928387b3', 'project_id': '1163aef2e76f4f8abfe7034b928387b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74480899', 'ctest-ext_vn-32012612'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 14:50:12,719 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba704952-f619-4257-83f0-e1a9c525ba1e', 'name': '', 'tenant_id': '1163aef2e76f4f8abfe7034b928387b3', 'network_id': 'ac962764-e810-4f7e-a0fc-b9335183d95c', 'ip_version': 4, 'cidr': '62.156.19.192/26', 'allocation_pools': [{'start': '62.156.19.194', 'end': '62.156.19.254'}], 'gateway_ip': '62.156.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.156.19.194', 'tags': [], 'project_id': '1163aef2e76f4f8abfe7034b928387b3'}}
2025-11-03 14:50:12,737 - INFO - Created VN ctest-ext_vn-32012612
2025-11-03 14:50:12,790 - DEBUG - VN ctest-ext_vn-32012612 UUID is ac962764-e810-4f7e-a0fc-b9335183d95c
2025-11-03 14:50:12,954 - DEBUG - Services list from nova: [, , ]
2025-11-03 14:50:13,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4607-1)
2025-11-03 14:50:15,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4607-1)
2025-11-03 14:50:15,167 - INFO - Setting gateway for router 714f0412-401f-45d2-b4d7-2e76dc74d412 to network ac962764-e810-4f7e-a0fc-b9335183d95c
2025-11-03 14:50:15,234 - INFO - Adding interface with subnet_id 5feebd92-9646-47fd-a370-c79c05c8c836, port_id None to router 714f0412-401f-45d2-b4d7-2e76dc74d412
2025-11-03 14:50:15,649 - INFO - Waiting for VM ctest-TestRoutersBasic-74480899-69001761 to be up..
2025-11-03 14:50:15,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-03 14:50:20,903 - DEBUG - VM is in ACTIVE state now
2025-11-03 14:50:20,903 - INFO - VM name : ctest-TestRoutersBasic-74480899-69001761
2025-11-03 14:50:20,979 - DEBUG - VM ctest-TestRoutersBasic-74480899-69001761 ID is 6fa75633-5958-4de2-8d5a-683d24b8e793
2025-11-03 14:50:20,998 - DEBUG - VM ctest-TestRoutersBasic-74480899-69001761 launched on Node cn-jenkins-deploy-platform-ansible-os-4607-1
2025-11-03 14:50:21,079 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6fa75633-5958-4de2-8d5a-683d24b8e793
2025-11-03 14:50:21,375 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6fa75633-5958-4de2-8d5a-683d24b8e793
2025-11-03 14:50:21,405 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a19846a9-cb5c-4333-9797-c804b94376b1
2025-11-03 14:50:24,656 - 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 1019ms')
2025-11-03 14:50:24,656 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74480899-69001761 failed!
2025-11-03 14:50:24,710 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74480899:ctest-vn-60229145 is 31.206.110.65 and allocation pool is NOT set
2025-11-03 14:50:26,777 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.989/3.203/4.417/1.214 ms')
2025-11-03 14:50:26,777 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74480899-69001761 passed
2025-11-03 14:50:26,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:50:26,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74480899-69001761, IP 31.206.110.67, Port 22
2025-11-03 14:50:26,996 - 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': ''}
2025-11-03 14:50:27,092 - DEBUG - VM ctest-TestRoutersBasic-74480899-69001761 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-03 14:50:32,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:50:32,093 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74480899-69001761, IP 31.206.110.67, Port 22
2025-11-03 14:50:32,249 - DEBUG - VM ctest-TestRoutersBasic-74480899-69001761 is ready for SSH connections
2025-11-03 14:50:32,250 - INFO - Waiting for VM ctest-TestRoutersBasic-74480899-61361328 to be up..
2025-11-03 14:50:32,331 - DEBUG - VM is in ACTIVE state now
2025-11-03 14:50:32,332 - INFO - VM name : ctest-TestRoutersBasic-74480899-61361328
2025-11-03 14:50:32,410 - DEBUG - VM ctest-TestRoutersBasic-74480899-61361328 ID is 30a3236c-ffab-459b-9ba9-d98107d2a703
2025-11-03 14:50:32,410 - DEBUG - VM ctest-TestRoutersBasic-74480899-61361328 launched on Node cn-jenkins-deploy-platform-ansible-os-4607-1
2025-11-03 14:50:32,488 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/30a3236c-ffab-459b-9ba9-d98107d2a703
2025-11-03 14:50:32,496 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/421cd88d-7da9-4eca-a3e2-fab626db7465
2025-11-03 14:50:33,736 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.678/2.860/1.182 ms')
2025-11-03 14:50:33,736 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74480899-61361328 passed
2025-11-03 14:50:33,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:50:33,886 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74480899-61361328, IP 62.156.19.195, Port 22
2025-11-03 14:50:34,041 - DEBUG - VM ctest-TestRoutersBasic-74480899-61361328 is ready for SSH connections
2025-11-03 14:50:34,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:50:34,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.156.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-11-03 14:50:34,041 - DEBUG - ping -s 56 -c 3 -W 1 62.156.19.195
2025-11-03 14:50:37,794 - DEBUG - PING 62.156.19.195 (62.156.19.195): 56 data bytes
64 bytes from 62.156.19.195: seq=0 ttl=62 time=5.973 ms
64 bytes from 62.156.19.195: seq=1 ttl=62 time=0.984 ms
64 bytes from 62.156.19.195: seq=2 ttl=62 time=1.115 ms
--- 62.156.19.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.984/2.690/5.973 ms
2025-11-03 14:50:37,794 - INFO - Ping to IP 62.156.19.195 from VM ctest-TestRoutersBasic-74480899-69001761 passed
2025-11-03 14:50:37,794 - INFO - Deleting interface with subnet_id 5feebd92-9646-47fd-a370-c79c05c8c836, port_id None from router 714f0412-401f-45d2-b4d7-2e76dc74d412
2025-11-03 14:50:37,985 - INFO - Deleting VM ctest-TestRoutersBasic-74480899-61361328
2025-11-03 14:50:38,071 - INFO - Deleting VM ctest-TestRoutersBasic-74480899-69001761
2025-11-03 14:50:38,159 - INFO - Deleting VN ctest-ext_vn-32012612
2025-11-03 14:50:38,232 - DEBUG - VN ac962764-e810-4f7e-a0fc-b9335183d95c still in use: Unable to complete operation on network ac962764-e810-4f7e-a0fc-b9335183d95c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1386bf12-99f5-4cd6-b7df-17d328beaf54']
2025-11-03 14:50:38,232 - WARNING - Deleting VN ctest-ext_vn-32012612 failed..Will retry
2025-11-03 14:50:40,337 - DEBUG - Response for deleting network ()
2025-11-03 14:50:40,337 - INFO - Deleting VN ctest-vn-60229145
2025-11-03 14:50:40,429 - DEBUG - Response for deleting network ()
2025-11-03 14:50:40,689 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 14:50:40,689 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-11-03 14:50:40,689 - INFO - --------------------------------------------------------------------------------
2025-11-03 14:50:41,367 - INFO - Deleted project: ctest-TestRoutersBasic-74480899, ID : 1163aef2-e76f-4f8a-bfe7-034b928387b3