2025-11-17 02:06:44,558 - INFO - Domain Default found not creating
2025-11-17 02:06:44,771 - INFO - Project ctest-TestRoutersBasic-42751003 not found, creating it
2025-11-17 02:06:45,283 - INFO - Created Project:ctest-TestRoutersBasic-42751003, ID : 9cb68342-7e54-4d74-a9e9-810c55e589b9
2025-11-17 02:06:46,989 - INFO - ================================================================================
2025-11-17 02:06:46,990 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-17 02:06:46,990 - 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-17 02:06:47,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2025-11-17 02:06:47,246 - INFO - Initial checks done. Running the testcase now
2025-11-17 02:06:47,246 - INFO -
2025-11-17 02:06:48,007 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42751003
2025-11-17 02:06:48,107 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42751003
2025-11-17 02:06:48,435 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42751003', 'default']}
2025-11-17 02:06:48,745 - DEBUG - Response for create_network : {'network': {'id': 'ea0091a4-7414-48fd-b5c5-5bf5bb99df98', 'name': 'ctest-vn-45294667', 'tenant_id': '9cb683427e544d74a9e9810c55e589b9', 'project_id': '9cb683427e544d74a9e9810c55e589b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42751003', 'ctest-vn-45294667'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 02:06:48,977 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b447bf32-7e53-42ac-a633-3bc6a77ad710', 'name': '', 'tenant_id': '9cb683427e544d74a9e9810c55e589b9', 'network_id': 'ea0091a4-7414-48fd-b5c5-5bf5bb99df98', 'ip_version': 4, 'cidr': '47.94.116.0/26', 'allocation_pools': [{'start': '47.94.116.2', 'end': '47.94.116.62'}], 'gateway_ip': '47.94.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.94.116.2', 'tags': [], 'project_id': '9cb683427e544d74a9e9810c55e589b9'}}
2025-11-17 02:06:48,999 - INFO - Created VN ctest-vn-45294667
2025-11-17 02:06:49,055 - DEBUG - VN ctest-vn-45294667 UUID is ea0091a4-7414-48fd-b5c5-5bf5bb99df98
2025-11-17 02:06:49,401 - DEBUG - Response for create_network : {'network': {'id': '9e0aa69e-f24d-4108-8dda-0f68f686d4b2', 'name': 'ctest-ext_vn-92351461', 'tenant_id': '9cb683427e544d74a9e9810c55e589b9', 'project_id': '9cb683427e544d74a9e9810c55e589b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42751003', 'ctest-ext_vn-92351461'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 02:06:49,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f0cbffe-c757-44ce-a254-cd5fdc365974', 'name': '', 'tenant_id': '9cb683427e544d74a9e9810c55e589b9', 'network_id': '9e0aa69e-f24d-4108-8dda-0f68f686d4b2', 'ip_version': 4, 'cidr': '132.249.20.0/26', 'allocation_pools': [{'start': '132.249.20.2', 'end': '132.249.20.62'}], 'gateway_ip': '132.249.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.249.20.2', 'tags': [], 'project_id': '9cb683427e544d74a9e9810c55e589b9'}}
2025-11-17 02:06:49,598 - INFO - Created VN ctest-ext_vn-92351461
2025-11-17 02:06:49,651 - DEBUG - VN ctest-ext_vn-92351461 UUID is 9e0aa69e-f24d-4108-8dda-0f68f686d4b2
2025-11-17 02:06:49,842 - DEBUG - Services list from nova: [, , ]
2025-11-17 02:06:51,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1)
2025-11-17 02:06:52,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1)
2025-11-17 02:06:52,412 - INFO - Setting gateway for router ee74b22c-0f42-4524-b7ba-6662a01d1b8e to network 9e0aa69e-f24d-4108-8dda-0f68f686d4b2
2025-11-17 02:06:52,483 - INFO - Adding interface with subnet_id b447bf32-7e53-42ac-a633-3bc6a77ad710, port_id None to router ee74b22c-0f42-4524-b7ba-6662a01d1b8e
2025-11-17 02:06:52,875 - INFO - Waiting for VM ctest-TestRoutersBasic-42751003-88489985 to be up..
2025-11-17 02:06:53,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 02:06:58,175 - DEBUG - VM is in ACTIVE state now
2025-11-17 02:06:58,175 - INFO - VM name : ctest-TestRoutersBasic-42751003-88489985
2025-11-17 02:06:58,268 - DEBUG - VM ctest-TestRoutersBasic-42751003-88489985 ID is 1ef2b1f1-f0e2-4a8d-bfac-edd9ea49712f
2025-11-17 02:06:58,296 - DEBUG - VM ctest-TestRoutersBasic-42751003-88489985 launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1
2025-11-17 02:06:58,387 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1ef2b1f1-f0e2-4a8d-bfac-edd9ea49712f
2025-11-17 02:06:58,698 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1ef2b1f1-f0e2-4a8d-bfac-edd9ea49712f
2025-11-17 02:06:58,746 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/59e71ae5-4988-4451-8ae1-5ddd7b5a328d
2025-11-17 02:07:02,002 - 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 1002ms')
2025-11-17 02:07:02,002 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42751003-88489985 failed!
2025-11-17 02:07:02,063 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42751003:ctest-vn-45294667 is 47.94.116.1 and allocation pool is NOT set
2025-11-17 02:07:04,141 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.59 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 = 3.792/5.689/7.587/1.897 ms')
2025-11-17 02:07:04,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42751003-88489985 passed
2025-11-17 02:07:04,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:07:04,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42751003-88489985, IP 47.94.116.3, Port 22
2025-11-17 02:07:04,377 - 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-17 02:07:04,469 - DEBUG - VM ctest-TestRoutersBasic-42751003-88489985 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 02:07:09,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:07:09,469 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42751003-88489985, IP 47.94.116.3, Port 22
2025-11-17 02:07:09,637 - DEBUG - VM ctest-TestRoutersBasic-42751003-88489985 is ready for SSH connections
2025-11-17 02:07:09,637 - INFO - Waiting for VM ctest-TestRoutersBasic-42751003-13208833 to be up..
2025-11-17 02:07:09,723 - DEBUG - VM is in ACTIVE state now
2025-11-17 02:07:09,723 - INFO - VM name : ctest-TestRoutersBasic-42751003-13208833
2025-11-17 02:07:09,805 - DEBUG - VM ctest-TestRoutersBasic-42751003-13208833 ID is 83b9068d-f5c0-4ac0-a258-367a599224d5
2025-11-17 02:07:09,806 - DEBUG - VM ctest-TestRoutersBasic-42751003-13208833 launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1
2025-11-17 02:07:09,890 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/83b9068d-f5c0-4ac0-a258-367a599224d5
2025-11-17 02:07:09,900 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/46695188-bb4a-4425-b543-8d7ab2f8362c
2025-11-17 02:07:11,142 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.731 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.731/2.515/4.300/1.784 ms')
2025-11-17 02:07:11,142 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42751003-13208833 passed
2025-11-17 02:07:11,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:07:11,299 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42751003-13208833, IP 132.249.20.3, Port 22
2025-11-17 02:07:11,469 - DEBUG - VM ctest-TestRoutersBasic-42751003-13208833 is ready for SSH connections
2025-11-17 02:07:11,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:07:11,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.249.20.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-11-17 02:07:11,470 - DEBUG - ping -s 56 -c 3 -W 1 132.249.20.3
2025-11-17 02:07:15,252 - DEBUG - PING 132.249.20.3 (132.249.20.3): 56 data bytes
64 bytes from 132.249.20.3: seq=0 ttl=62 time=8.132 ms
64 bytes from 132.249.20.3: seq=1 ttl=62 time=1.078 ms
64 bytes from 132.249.20.3: seq=2 ttl=62 time=1.808 ms
--- 132.249.20.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.078/3.672/8.132 ms
2025-11-17 02:07:15,252 - INFO - Ping to IP 132.249.20.3 from VM ctest-TestRoutersBasic-42751003-88489985 passed
2025-11-17 02:07:15,252 - INFO - Deleting interface with subnet_id b447bf32-7e53-42ac-a633-3bc6a77ad710, port_id None from router ee74b22c-0f42-4524-b7ba-6662a01d1b8e
2025-11-17 02:07:15,470 - INFO - Deleting VM ctest-TestRoutersBasic-42751003-13208833
2025-11-17 02:07:15,569 - INFO - Deleting VM ctest-TestRoutersBasic-42751003-88489985
2025-11-17 02:07:15,678 - INFO - Deleting VN ctest-ext_vn-92351461
2025-11-17 02:07:15,775 - DEBUG - VN 9e0aa69e-f24d-4108-8dda-0f68f686d4b2 still in use: Unable to complete operation on network 9e0aa69e-f24d-4108-8dda-0f68f686d4b2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2203e74c-515b-49d3-a0c1-1fe11c5dbcf1']
2025-11-17 02:07:15,776 - WARNING - Deleting VN ctest-ext_vn-92351461 failed..Will retry
2025-11-17 02:07:17,903 - DEBUG - Response for deleting network ()
2025-11-17 02:07:17,903 - INFO - Deleting VN ctest-vn-45294667
2025-11-17 02:07:18,026 - DEBUG - Response for deleting network ()
2025-11-17 02:07:18,292 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 02:07:18,292 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-11-17 02:07:18,292 - INFO - --------------------------------------------------------------------------------
2025-11-17 02:07:19,037 - INFO - Deleted project: ctest-TestRoutersBasic-42751003, ID : 9cb68342-7e54-4d74-a9e9-810c55e589b9