2025-07-22 14:23:28,130 - INFO - Domain Default found not creating
2025-07-22 14:23:28,305 - INFO - Project ctest-TestRoutersBasic-87024751 not found, creating it
2025-07-22 14:23:28,784 - INFO - Created Project:ctest-TestRoutersBasic-87024751, ID : c0d40f17-2656-477f-b0ff-9de93bca777b
2025-07-22 14:23:30,335 - INFO - ================================================================================
2025-07-22 14:23:30,335 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-22 14:23:30,336 - 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-07-22 14:23:30,592 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-22 14:23:30,592 - INFO - Initial checks done. Running the testcase now
2025-07-22 14:23:30,592 - INFO -
2025-07-22 14:23:31,345 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87024751
2025-07-22 14:23:31,444 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87024751
2025-07-22 14:23:31,780 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87024751', 'default']}
2025-07-22 14:23:32,126 - DEBUG - Response for create_network : {'network': {'id': 'cf55240d-2b03-45ff-8ada-4a232e17db30', 'name': 'ctest-vn-06167591', 'tenant_id': 'c0d40f172656477fb0ff9de93bca777b', 'project_id': 'c0d40f172656477fb0ff9de93bca777b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87024751', 'ctest-vn-06167591'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 14:23:32,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e11bd90-1e6c-4fe0-8818-1fb41ba52c27', 'name': '', 'tenant_id': 'c0d40f172656477fb0ff9de93bca777b', 'network_id': 'cf55240d-2b03-45ff-8ada-4a232e17db30', 'ip_version': 4, 'cidr': '115.42.4.0/26', 'allocation_pools': [{'start': '115.42.4.2', 'end': '115.42.4.62'}], 'gateway_ip': '115.42.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.42.4.2', 'tags': [], 'project_id': 'c0d40f172656477fb0ff9de93bca777b'}}
2025-07-22 14:23:32,386 - INFO - Created VN ctest-vn-06167591
2025-07-22 14:23:32,441 - DEBUG - VN ctest-vn-06167591 UUID is cf55240d-2b03-45ff-8ada-4a232e17db30
2025-07-22 14:23:32,806 - DEBUG - Response for create_network : {'network': {'id': '2f4acac1-0be3-4672-b49d-53827f0baa70', 'name': 'ctest-ext_vn-21376443', 'tenant_id': 'c0d40f172656477fb0ff9de93bca777b', 'project_id': 'c0d40f172656477fb0ff9de93bca777b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87024751', 'ctest-ext_vn-21376443'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 14:23:32,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '032e2878-731e-46b8-8b4b-b26f62be917d', 'name': '', 'tenant_id': 'c0d40f172656477fb0ff9de93bca777b', 'network_id': '2f4acac1-0be3-4672-b49d-53827f0baa70', 'ip_version': 4, 'cidr': '121.14.90.0/26', 'allocation_pools': [{'start': '121.14.90.2', 'end': '121.14.90.62'}], 'gateway_ip': '121.14.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.14.90.2', 'tags': [], 'project_id': 'c0d40f172656477fb0ff9de93bca777b'}}
2025-07-22 14:23:33,013 - INFO - Created VN ctest-ext_vn-21376443
2025-07-22 14:23:33,065 - DEBUG - VN ctest-ext_vn-21376443 UUID is 2f4acac1-0be3-4672-b49d-53827f0baa70
2025-07-22 14:23:33,255 - DEBUG - Services list from nova: [, , ]
2025-07-22 14:23:34,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3692-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3692-1)
2025-07-22 14:23:35,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3692-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3692-1)
2025-07-22 14:23:35,613 - INFO - Setting gateway for router 896e130f-1a58-4c57-b5d0-ee5b06d83161 to network 2f4acac1-0be3-4672-b49d-53827f0baa70
2025-07-22 14:23:35,693 - INFO - Adding interface with subnet_id 7e11bd90-1e6c-4fe0-8818-1fb41ba52c27, port_id None to router 896e130f-1a58-4c57-b5d0-ee5b06d83161
2025-07-22 14:23:36,088 - INFO - Waiting for VM ctest-TestRoutersBasic-87024751-77350133 to be up..
2025-07-22 14:23:36,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-22 14:23:41,363 - DEBUG - VM is in ACTIVE state now
2025-07-22 14:23:41,363 - INFO - VM name : ctest-TestRoutersBasic-87024751-77350133
2025-07-22 14:23:41,444 - DEBUG - VM ctest-TestRoutersBasic-87024751-77350133 ID is bfbbf2a3-0c0c-4a8a-ada7-bee06d53e498
2025-07-22 14:23:41,466 - DEBUG - VM ctest-TestRoutersBasic-87024751-77350133 launched on Node cn-jenkins-deploy-platform-ansible-os-3692-1
2025-07-22 14:23:41,552 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bfbbf2a3-0c0c-4a8a-ada7-bee06d53e498
2025-07-22 14:23:41,868 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bfbbf2a3-0c0c-4a8a-ada7-bee06d53e498
2025-07-22 14:23:41,911 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1ebf24ef-5c6a-4e22-9ba8-afbce4ec4eeb
2025-07-22 14:23:45,191 - 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 1013ms')
2025-07-22 14:23:45,191 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87024751-77350133 failed!
2025-07-22 14:23:45,248 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87024751:ctest-vn-06167591 is 115.42.4.1 and allocation pool is NOT set
2025-07-22 14:23:47,316 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.12 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.120/3.465/3.810/0.345 ms')
2025-07-22 14:23:47,316 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87024751-77350133 passed
2025-07-22 14:23:47,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 14:23:47,473 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87024751-77350133, IP 115.42.4.3, Port 22
2025-07-22 14:23:47,538 - 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-07-22 14:23:47,639 - DEBUG - VM ctest-TestRoutersBasic-87024751-77350133 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-22 14:23:52,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 14:23:52,640 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87024751-77350133, IP 115.42.4.3, Port 22
2025-07-22 14:23:52,796 - DEBUG - VM ctest-TestRoutersBasic-87024751-77350133 is ready for SSH connections
2025-07-22 14:23:52,796 - INFO - Waiting for VM ctest-TestRoutersBasic-87024751-92479767 to be up..
2025-07-22 14:23:52,878 - DEBUG - VM is in ACTIVE state now
2025-07-22 14:23:52,879 - INFO - VM name : ctest-TestRoutersBasic-87024751-92479767
2025-07-22 14:23:52,960 - DEBUG - VM ctest-TestRoutersBasic-87024751-92479767 ID is 326ab1bf-9392-4f0e-a927-a34c78bad1f6
2025-07-22 14:23:52,960 - DEBUG - VM ctest-TestRoutersBasic-87024751-92479767 launched on Node cn-jenkins-deploy-platform-ansible-os-3692-1
2025-07-22 14:23:53,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/326ab1bf-9392-4f0e-a927-a34c78bad1f6
2025-07-22 14:23:53,057 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/27e31740-6ce2-4b17-8789-d994fa74303d
2025-07-22 14:23:54,313 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.439/1.675/2.912/1.236 ms')
2025-07-22 14:23:54,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87024751-92479767 passed
2025-07-22 14:23:54,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 14:23:54,480 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87024751-92479767, IP 121.14.90.3, Port 22
2025-07-22 14:23:54,646 - DEBUG - VM ctest-TestRoutersBasic-87024751-92479767 is ready for SSH connections
2025-07-22 14:23:54,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 14:23:54,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.14.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-22 14:23:54,647 - DEBUG - ping -s 56 -c 3 -W 1 121.14.90.3
2025-07-22 14:23:58,359 - DEBUG - PING 121.14.90.3 (121.14.90.3): 56 data bytes
64 bytes from 121.14.90.3: seq=0 ttl=62 time=8.633 ms
64 bytes from 121.14.90.3: seq=1 ttl=62 time=1.275 ms
64 bytes from 121.14.90.3: seq=2 ttl=62 time=0.853 ms
--- 121.14.90.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.853/3.587/8.633 ms
2025-07-22 14:23:58,359 - INFO - Ping to IP 121.14.90.3 from VM ctest-TestRoutersBasic-87024751-77350133 passed
2025-07-22 14:23:58,359 - INFO - Deleting interface with subnet_id 7e11bd90-1e6c-4fe0-8818-1fb41ba52c27, port_id None from router 896e130f-1a58-4c57-b5d0-ee5b06d83161
2025-07-22 14:23:58,569 - INFO - Deleting VM ctest-TestRoutersBasic-87024751-92479767
2025-07-22 14:23:58,651 - INFO - Deleting VM ctest-TestRoutersBasic-87024751-77350133
2025-07-22 14:23:58,776 - INFO - Deleting VN ctest-ext_vn-21376443
2025-07-22 14:23:58,883 - DEBUG - VN 2f4acac1-0be3-4672-b49d-53827f0baa70 still in use: Unable to complete operation on network 2f4acac1-0be3-4672-b49d-53827f0baa70. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9e087af9-c2c2-4b5f-a3c7-320e547bd027']
2025-07-22 14:23:58,883 - WARNING - Deleting VN ctest-ext_vn-21376443 failed..Will retry
2025-07-22 14:24:01,002 - DEBUG - Response for deleting network ()
2025-07-22 14:24:01,002 - INFO - Deleting VN ctest-vn-06167591
2025-07-22 14:24:01,117 - DEBUG - Response for deleting network ()
2025-07-22 14:24:01,375 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 14:24:01,375 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-07-22 14:24:01,375 - INFO - --------------------------------------------------------------------------------
2025-07-22 14:24:02,109 - INFO - Deleted project: ctest-TestRoutersBasic-87024751, ID : c0d40f17-2656-477f-b0ff-9de93bca777b