2026-06-19 14:21:23,861 - INFO - Domain Default found not creating 2026-06-19 14:21:24,012 - INFO - Project ctest-TestRoutersBasic-07516377 not found, creating it 2026-06-19 14:21:24,585 - INFO - Created Project:ctest-TestRoutersBasic-07516377, ID : 644f55fb-7b23-414a-a23a-6701e4286fd1 2026-06-19 14:21:26,163 - INFO - ================================================================================ 2026-06-19 14:21:26,163 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-19 14:21:26,163 - 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-06-19 14:21:26,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.192': '0'}} with 2026-06-19 14:21:26,423 - INFO - Initial checks done. Running the testcase now 2026-06-19 14:21:26,423 - INFO - 2026-06-19 14:21:27,200 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07516377 2026-06-19 14:21:27,299 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07516377 2026-06-19 14:21:27,630 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07516377', 'default']} 2026-06-19 14:21:27,927 - DEBUG - Response for create_network : {'network': {'id': 'd3c53a14-a969-41da-a526-e8daf38bcc73', 'name': 'ctest-vn-46897910', 'tenant_id': '644f55fb7b23414aa23a6701e4286fd1', 'project_id': '644f55fb7b23414aa23a6701e4286fd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07516377', 'ctest-vn-46897910'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:21:28,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b72ab97f-e203-4f2e-8b78-2300eb623d43', 'name': '', 'tenant_id': '644f55fb7b23414aa23a6701e4286fd1', 'network_id': 'd3c53a14-a969-41da-a526-e8daf38bcc73', 'ip_version': 4, 'cidr': '215.16.196.128/26', 'allocation_pools': [{'start': '215.16.196.130', 'end': '215.16.196.190'}], 'gateway_ip': '215.16.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.16.196.130', 'tags': [], 'project_id': '644f55fb7b23414aa23a6701e4286fd1'}} 2026-06-19 14:21:28,162 - INFO - Created VN ctest-vn-46897910 2026-06-19 14:21:28,219 - DEBUG - VN ctest-vn-46897910 UUID is d3c53a14-a969-41da-a526-e8daf38bcc73 2026-06-19 14:21:28,535 - DEBUG - Response for create_network : {'network': {'id': 'd8908fcb-f7ae-4c3e-ba55-5c5a9bb11279', 'name': 'ctest-ext_vn-93818402', 'tenant_id': '644f55fb7b23414aa23a6701e4286fd1', 'project_id': '644f55fb7b23414aa23a6701e4286fd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07516377', 'ctest-ext_vn-93818402'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:21:28,744 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fe1e3b4-8eef-41d8-a6a4-02f6fef0c024', 'name': '', 'tenant_id': '644f55fb7b23414aa23a6701e4286fd1', 'network_id': 'd8908fcb-f7ae-4c3e-ba55-5c5a9bb11279', 'ip_version': 4, 'cidr': '180.65.240.64/26', 'allocation_pools': [{'start': '180.65.240.66', 'end': '180.65.240.126'}], 'gateway_ip': '180.65.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.65.240.66', 'tags': [], 'project_id': '644f55fb7b23414aa23a6701e4286fd1'}} 2026-06-19 14:21:28,759 - INFO - Created VN ctest-ext_vn-93818402 2026-06-19 14:21:28,811 - DEBUG - VN ctest-ext_vn-93818402 UUID is d8908fcb-f7ae-4c3e-ba55-5c5a9bb11279 2026-06-19 14:21:29,006 - DEBUG - Services list from nova: [, , ] 2026-06-19 14:21:30,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5996-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5996-1) 2026-06-19 14:21:31,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5996-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5996-1) 2026-06-19 14:21:31,341 - INFO - Setting gateway for router c73274f9-ecaf-4abf-b047-5a342c21f5f7 to network d8908fcb-f7ae-4c3e-ba55-5c5a9bb11279 2026-06-19 14:21:31,395 - INFO - Adding interface with subnet_id b72ab97f-e203-4f2e-8b78-2300eb623d43, port_id None to router c73274f9-ecaf-4abf-b047-5a342c21f5f7 2026-06-19 14:21:31,602 - INFO - Waiting for VM ctest-TestRoutersBasic-07516377-39924017 to be up.. 2026-06-19 14:21:31,680 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 14:21:36,794 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 14:21:41,871 - DEBUG - VM is in ACTIVE state now 2026-06-19 14:21:41,871 - INFO - VM name : ctest-TestRoutersBasic-07516377-39924017 2026-06-19 14:21:41,955 - DEBUG - VM ctest-TestRoutersBasic-07516377-39924017 ID is 9668933b-c09a-4145-8a1a-40161a081c12 2026-06-19 14:21:41,976 - DEBUG - VM ctest-TestRoutersBasic-07516377-39924017 launched on Node cn-jenkins-deploy-platform-ansible-os-5996-1 2026-06-19 14:21:42,069 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9668933b-c09a-4145-8a1a-40161a081c12 2026-06-19 14:21:42,416 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9668933b-c09a-4145-8a1a-40161a081c12 2026-06-19 14:21:42,450 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d4a4c2e1-e424-4ebd-83aa-737324fada5a 2026-06-19 14:21:45,709 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2026-06-19 14:21:45,710 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07516377-39924017 failed! 2026-06-19 14:21:45,767 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07516377:ctest-vn-46897910 is 215.16.196.129 and allocation pool is NOT set 2026-06-19 14:21:47,828 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.73 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.730 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.730/2.729/4.728/1.999 ms') 2026-06-19 14:21:47,828 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07516377-39924017 passed 2026-06-19 14:21:47,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:21:47,979 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07516377-39924017, IP 215.16.196.131, Port 22 2026-06-19 14:21:48,134 - DEBUG - VM ctest-TestRoutersBasic-07516377-39924017 is ready for SSH connections 2026-06-19 14:21:48,135 - INFO - Waiting for VM ctest-TestRoutersBasic-07516377-21353047 to be up.. 2026-06-19 14:21:48,212 - DEBUG - VM is in ACTIVE state now 2026-06-19 14:21:48,212 - INFO - VM name : ctest-TestRoutersBasic-07516377-21353047 2026-06-19 14:21:48,287 - DEBUG - VM ctest-TestRoutersBasic-07516377-21353047 ID is a9597551-ac50-4981-99c3-8eed255afabf 2026-06-19 14:21:48,287 - DEBUG - VM ctest-TestRoutersBasic-07516377-21353047 launched on Node cn-jenkins-deploy-platform-ansible-os-5996-1 2026-06-19 14:21:48,360 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a9597551-ac50-4981-99c3-8eed255afabf 2026-06-19 14:21:48,368 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d1838241-8a16-4bf0-9ddf-2559274a66ef 2026-06-19 14:21:49,604 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=8.84 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=3.55 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.552/6.197/8.842/2.645 ms') 2026-06-19 14:21:49,604 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-07516377-21353047 passed 2026-06-19 14:21:49,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:21:49,759 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07516377-21353047, IP 180.65.240.68, Port 22 2026-06-19 14:21:49,829 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-19 14:21:49,913 - DEBUG - VM ctest-TestRoutersBasic-07516377-21353047 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 14:21:54,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:21:54,914 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07516377-21353047, IP 180.65.240.68, Port 22 2026-06-19 14:21:55,070 - DEBUG - VM ctest-TestRoutersBasic-07516377-21353047 is ready for SSH connections 2026-06-19 14:21:55,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:21:55,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.65.240.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-19 14:21:55,070 - DEBUG - ping -s 56 -c 3 -W 1 180.65.240.68 2026-06-19 14:21:57,685 - DEBUG - PING 180.65.240.68 (180.65.240.68): 56 data bytes 64 bytes from 180.65.240.68: seq=0 ttl=62 time=6.611 ms 64 bytes from 180.65.240.68: seq=1 ttl=62 time=1.612 ms 64 bytes from 180.65.240.68: seq=2 ttl=62 time=1.179 ms --- 180.65.240.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.179/3.134/6.611 ms 2026-06-19 14:21:57,685 - INFO - Ping to IP 180.65.240.68 from VM ctest-TestRoutersBasic-07516377-39924017 passed 2026-06-19 14:21:57,685 - INFO - Deleting interface with subnet_id b72ab97f-e203-4f2e-8b78-2300eb623d43, port_id None from router c73274f9-ecaf-4abf-b047-5a342c21f5f7 2026-06-19 14:21:57,889 - INFO - Deleting VM ctest-TestRoutersBasic-07516377-21353047 2026-06-19 14:21:57,976 - INFO - Deleting VM ctest-TestRoutersBasic-07516377-39924017 2026-06-19 14:21:58,060 - INFO - Deleting VN ctest-ext_vn-93818402 2026-06-19 14:21:58,131 - DEBUG - VN d8908fcb-f7ae-4c3e-ba55-5c5a9bb11279 still in use: Unable to complete operation on network d8908fcb-f7ae-4c3e-ba55-5c5a9bb11279. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9595c921-fdd5-4669-9831-9d6410ceec97'] 2026-06-19 14:21:58,132 - WARNING - Deleting VN ctest-ext_vn-93818402 failed..Will retry 2026-06-19 14:22:00,311 - DEBUG - Response for deleting network () 2026-06-19 14:22:00,311 - INFO - Deleting VN ctest-vn-46897910 2026-06-19 14:22:00,417 - DEBUG - Response for deleting network () 2026-06-19 14:22:00,685 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 14:22:00,685 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2026-06-19 14:22:00,685 - INFO - -------------------------------------------------------------------------------- 2026-06-19 14:22:01,410 - INFO - Deleted project: ctest-TestRoutersBasic-07516377, ID : 644f55fb-7b23-414a-a23a-6701e4286fd1