2026-03-03 16:32:14,692 - INFO - Domain Default found not creating 2026-03-03 16:32:14,871 - INFO - Project ctest-TestRoutersBasic-54600329 not found, creating it 2026-03-03 16:32:15,397 - INFO - Created Project:ctest-TestRoutersBasic-54600329, ID : 7746bbdf-7276-4d8e-9a84-9a1fb0a90d3b 2026-03-03 16:32:16,935 - INFO - ================================================================================ 2026-03-03 16:32:16,935 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-03 16:32:16,935 - 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-03-03 16:32:17,189 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-03 16:32:17,189 - INFO - Initial checks done. Running the testcase now 2026-03-03 16:32:17,189 - INFO - 2026-03-03 16:32:17,927 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54600329 2026-03-03 16:32:18,027 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54600329 2026-03-03 16:32:18,343 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54600329', 'default']} 2026-03-03 16:32:18,674 - DEBUG - Response for create_network : {'network': {'id': 'c810aa23-d4c6-4064-9e3e-08b09b27f622', 'name': 'ctest-vn-52375571', 'tenant_id': '7746bbdf72764d8e9a849a1fb0a90d3b', 'project_id': '7746bbdf72764d8e9a849a1fb0a90d3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54600329', 'ctest-vn-52375571'], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:32:18,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cdd2a1e-fff2-40e8-80b9-5df9cded39fc', 'name': '', 'tenant_id': '7746bbdf72764d8e9a849a1fb0a90d3b', 'network_id': 'c810aa23-d4c6-4064-9e3e-08b09b27f622', 'ip_version': 4, 'cidr': '115.31.6.64/26', 'allocation_pools': [{'start': '115.31.6.66', 'end': '115.31.6.126'}], 'gateway_ip': '115.31.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.31.6.66', 'tags': [], 'project_id': '7746bbdf72764d8e9a849a1fb0a90d3b'}} 2026-03-03 16:32:18,928 - INFO - Created VN ctest-vn-52375571 2026-03-03 16:32:18,983 - DEBUG - VN ctest-vn-52375571 UUID is c810aa23-d4c6-4064-9e3e-08b09b27f622 2026-03-03 16:32:19,324 - DEBUG - Response for create_network : {'network': {'id': '337d8f2c-2331-4b78-8b7a-7c50198c409b', 'name': 'ctest-ext_vn-48233295', 'tenant_id': '7746bbdf72764d8e9a849a1fb0a90d3b', 'project_id': '7746bbdf72764d8e9a849a1fb0a90d3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54600329', 'ctest-ext_vn-48233295'], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:32:19,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b86d6956-676f-414e-960e-c785818e2906', 'name': '', 'tenant_id': '7746bbdf72764d8e9a849a1fb0a90d3b', 'network_id': '337d8f2c-2331-4b78-8b7a-7c50198c409b', 'ip_version': 4, 'cidr': '18.203.25.0/26', 'allocation_pools': [{'start': '18.203.25.2', 'end': '18.203.25.62'}], 'gateway_ip': '18.203.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.203.25.2', 'tags': [], 'project_id': '7746bbdf72764d8e9a849a1fb0a90d3b'}} 2026-03-03 16:32:19,495 - INFO - Created VN ctest-ext_vn-48233295 2026-03-03 16:32:19,547 - DEBUG - VN ctest-ext_vn-48233295 UUID is 337d8f2c-2331-4b78-8b7a-7c50198c409b 2026-03-03 16:32:19,727 - DEBUG - Services list from nova: [, , ] 2026-03-03 16:32:20,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5427-1) 2026-03-03 16:32:21,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5427-1) 2026-03-03 16:32:22,072 - INFO - Setting gateway for router 6f9c178f-da23-420d-a5e0-230a61dd9ab8 to network 337d8f2c-2331-4b78-8b7a-7c50198c409b 2026-03-03 16:32:22,145 - INFO - Adding interface with subnet_id 2cdd2a1e-fff2-40e8-80b9-5df9cded39fc, port_id None to router 6f9c178f-da23-420d-a5e0-230a61dd9ab8 2026-03-03 16:32:22,582 - INFO - Waiting for VM ctest-TestRoutersBasic-54600329-21138955 to be up.. 2026-03-03 16:32:22,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-03 16:32:27,897 - DEBUG - VM is in ACTIVE state now 2026-03-03 16:32:27,897 - INFO - VM name : ctest-TestRoutersBasic-54600329-21138955 2026-03-03 16:32:27,982 - DEBUG - VM ctest-TestRoutersBasic-54600329-21138955 ID is 3bfa0335-c847-4952-b844-60c9bfd3e4f8 2026-03-03 16:32:28,006 - DEBUG - VM ctest-TestRoutersBasic-54600329-21138955 launched on Node cn-jenkins-deploy-platform-ansible-os-5427-1 2026-03-03 16:32:28,095 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3bfa0335-c847-4952-b844-60c9bfd3e4f8 2026-03-03 16:32:28,392 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3bfa0335-c847-4952-b844-60c9bfd3e4f8 2026-03-03 16:32:28,428 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d5edd4f7-bed9-45c1-8e00-d883570b2098 2026-03-03 16:32:31,697 - 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 1029ms') 2026-03-03 16:32:31,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54600329-21138955 failed! 2026-03-03 16:32:31,755 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54600329:ctest-vn-52375571 is 115.31.6.65 and allocation pool is NOT set 2026-03-03 16:32:33,821 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.65 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 = 2.650/3.049/3.448/0.399 ms') 2026-03-03 16:32:33,821 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54600329-21138955 passed 2026-03-03 16:32:33,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:32:33,971 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54600329-21138955, IP 115.31.6.67, Port 22 2026-03-03 16:32:34,041 - 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-03-03 16:32:34,132 - DEBUG - VM ctest-TestRoutersBasic-54600329-21138955 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-03 16:32:39,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:32:39,133 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54600329-21138955, IP 115.31.6.67, Port 22 2026-03-03 16:32:39,291 - DEBUG - VM ctest-TestRoutersBasic-54600329-21138955 is ready for SSH connections 2026-03-03 16:32:39,291 - INFO - Waiting for VM ctest-TestRoutersBasic-54600329-14415606 to be up.. 2026-03-03 16:32:39,377 - DEBUG - VM is in ACTIVE state now 2026-03-03 16:32:39,377 - INFO - VM name : ctest-TestRoutersBasic-54600329-14415606 2026-03-03 16:32:39,460 - DEBUG - VM ctest-TestRoutersBasic-54600329-14415606 ID is a90b7c13-e7be-4e76-9ab8-659646c7ae84 2026-03-03 16:32:39,461 - DEBUG - VM ctest-TestRoutersBasic-54600329-14415606 launched on Node cn-jenkins-deploy-platform-ansible-os-5427-1 2026-03-03 16:32:39,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a90b7c13-e7be-4e76-9ab8-659646c7ae84 2026-03-03 16:32:39,550 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5ae1adac-e1cd-4d40-9959-b9a5cafa773c 2026-03-03 16:32:40,791 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/2.259/4.063/1.804 ms') 2026-03-03 16:32:40,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54600329-14415606 passed 2026-03-03 16:32:40,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:32:40,943 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54600329-14415606, IP 18.203.25.3, Port 22 2026-03-03 16:32:41,111 - DEBUG - VM ctest-TestRoutersBasic-54600329-14415606 is ready for SSH connections 2026-03-03 16:32:41,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:32:41,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.203.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-03 16:32:41,111 - DEBUG - ping -s 56 -c 3 -W 1 18.203.25.3 2026-03-03 16:32:44,825 - DEBUG - PING 18.203.25.3 (18.203.25.3): 56 data bytes 64 bytes from 18.203.25.3: seq=0 ttl=62 time=7.273 ms 64 bytes from 18.203.25.3: seq=1 ttl=62 time=1.034 ms 64 bytes from 18.203.25.3: seq=2 ttl=62 time=0.974 ms --- 18.203.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/3.093/7.273 ms 2026-03-03 16:32:44,825 - INFO - Ping to IP 18.203.25.3 from VM ctest-TestRoutersBasic-54600329-21138955 passed 2026-03-03 16:32:44,825 - INFO - Deleting interface with subnet_id 2cdd2a1e-fff2-40e8-80b9-5df9cded39fc, port_id None from router 6f9c178f-da23-420d-a5e0-230a61dd9ab8 2026-03-03 16:32:45,029 - INFO - Deleting VM ctest-TestRoutersBasic-54600329-14415606 2026-03-03 16:32:45,118 - INFO - Deleting VM ctest-TestRoutersBasic-54600329-21138955 2026-03-03 16:32:45,213 - INFO - Deleting VN ctest-ext_vn-48233295 2026-03-03 16:32:45,297 - DEBUG - VN 337d8f2c-2331-4b78-8b7a-7c50198c409b still in use: Unable to complete operation on network 337d8f2c-2331-4b78-8b7a-7c50198c409b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-362e7340-7276-4873-afce-91c462e00298'] 2026-03-03 16:32:45,297 - WARNING - Deleting VN ctest-ext_vn-48233295 failed..Will retry 2026-03-03 16:32:47,401 - DEBUG - Response for deleting network () 2026-03-03 16:32:47,401 - INFO - Deleting VN ctest-vn-52375571 2026-03-03 16:32:47,509 - DEBUG - Response for deleting network () 2026-03-03 16:32:47,773 - DEBUG - No XMPP flaps were noticed during the test
2026-03-03 16:32:47,773 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-03-03 16:32:47,773 - INFO - -------------------------------------------------------------------------------- 2026-03-03 16:32:48,511 - INFO - Deleted project: ctest-TestRoutersBasic-54600329, ID : 7746bbdf-7276-4d8e-9a84-9a1fb0a90d3b