2026-02-09 20:33:09,098 - INFO - Domain Default found not creating 2026-02-09 20:33:09,243 - INFO - Project ctest-TestRoutersBasic-78745141 not found, creating it 2026-02-09 20:33:09,685 - INFO - Created Project:ctest-TestRoutersBasic-78745141, ID : d3e4c7e9-d048-4907-8c0d-4d945d6d0730 2026-02-09 20:33:11,083 - INFO - ================================================================================ 2026-02-09 20:33:11,084 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 20:33:11,084 - 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-02-09 20:33:11,338 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with 2026-02-09 20:33:11,338 - INFO - Initial checks done. Running the testcase now 2026-02-09 20:33:11,338 - INFO - 2026-02-09 20:33:12,032 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78745141 2026-02-09 20:33:12,125 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78745141 2026-02-09 20:33:12,441 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78745141', 'default']} 2026-02-09 20:33:12,709 - DEBUG - Response for create_network : {'network': {'id': 'dfe063e4-b13c-400b-bba4-ea3004bea073', 'name': 'ctest-vn-34260688', 'tenant_id': 'd3e4c7e9d04849078c0d4d945d6d0730', 'project_id': 'd3e4c7e9d04849078c0d4d945d6d0730', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78745141', 'ctest-vn-34260688'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 20:33:12,898 - DEBUG - Response for create_subnet : {'subnet': {'id': '8473ff29-5128-436c-87fa-171fc6effea6', 'name': '', 'tenant_id': 'd3e4c7e9d04849078c0d4d945d6d0730', 'network_id': 'dfe063e4-b13c-400b-bba4-ea3004bea073', 'ip_version': 4, 'cidr': '197.9.157.0/26', 'allocation_pools': [{'start': '197.9.157.2', 'end': '197.9.157.62'}], 'gateway_ip': '197.9.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.9.157.2', 'tags': [], 'project_id': 'd3e4c7e9d04849078c0d4d945d6d0730'}} 2026-02-09 20:33:12,912 - INFO - Created VN ctest-vn-34260688 2026-02-09 20:33:12,961 - DEBUG - VN ctest-vn-34260688 UUID is dfe063e4-b13c-400b-bba4-ea3004bea073 2026-02-09 20:33:13,273 - DEBUG - Response for create_network : {'network': {'id': 'b4c8b332-e5d5-4fe1-be8a-bd153203429d', 'name': 'ctest-ext_vn-55145362', 'tenant_id': 'd3e4c7e9d04849078c0d4d945d6d0730', 'project_id': 'd3e4c7e9d04849078c0d4d945d6d0730', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78745141', 'ctest-ext_vn-55145362'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 20:33:13,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '51b187ad-c73f-497a-b096-bad0595c443a', 'name': '', 'tenant_id': 'd3e4c7e9d04849078c0d4d945d6d0730', 'network_id': 'b4c8b332-e5d5-4fe1-be8a-bd153203429d', 'ip_version': 4, 'cidr': '8.112.95.192/26', 'allocation_pools': [{'start': '8.112.95.194', 'end': '8.112.95.254'}], 'gateway_ip': '8.112.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.112.95.194', 'tags': [], 'project_id': 'd3e4c7e9d04849078c0d4d945d6d0730'}} 2026-02-09 20:33:13,471 - INFO - Created VN ctest-ext_vn-55145362 2026-02-09 20:33:13,521 - DEBUG - VN ctest-ext_vn-55145362 UUID is b4c8b332-e5d5-4fe1-be8a-bd153203429d 2026-02-09 20:33:13,707 - DEBUG - Services list from nova: [, , ] 2026-02-09 20:33:14,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5249-1) 2026-02-09 20:33:15,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5249-1) 2026-02-09 20:33:15,811 - INFO - Setting gateway for router 73b9a58e-95f5-4311-9232-3f56198b49c5 to network b4c8b332-e5d5-4fe1-be8a-bd153203429d 2026-02-09 20:33:15,862 - INFO - Adding interface with subnet_id 8473ff29-5128-436c-87fa-171fc6effea6, port_id None to router 73b9a58e-95f5-4311-9232-3f56198b49c5 2026-02-09 20:33:16,233 - INFO - Waiting for VM ctest-TestRoutersBasic-78745141-45704142 to be up.. 2026-02-09 20:33:16,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 20:33:21,438 - DEBUG - VM is in ACTIVE state now 2026-02-09 20:33:21,438 - INFO - VM name : ctest-TestRoutersBasic-78745141-45704142 2026-02-09 20:33:21,511 - DEBUG - VM ctest-TestRoutersBasic-78745141-45704142 ID is ea8eb6d1-16b3-4425-bc13-4e2ea6cae784 2026-02-09 20:33:21,527 - DEBUG - VM ctest-TestRoutersBasic-78745141-45704142 launched on Node cn-jenkins-deploy-platform-ansible-os-5249-1 2026-02-09 20:33:21,595 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ea8eb6d1-16b3-4425-bc13-4e2ea6cae784 2026-02-09 20:33:21,883 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ea8eb6d1-16b3-4425-bc13-4e2ea6cae784 2026-02-09 20:33:21,914 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/230e9bd1-ba30-4b7a-ae01-b86c0365dd56 2026-02-09 20:33:25,146 - 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 1007ms') 2026-02-09 20:33:25,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78745141-45704142 failed! 2026-02-09 20:33:25,197 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78745141:ctest-vn-34260688 is 197.9.157.1 and allocation pool is NOT set 2026-02-09 20:33:27,253 - 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=2.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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 = 0.429/1.604/2.779/1.175 ms') 2026-02-09 20:33:27,253 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78745141-45704142 passed 2026-02-09 20:33:27,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 20:33:27,405 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78745141-45704142, IP 197.9.157.3, Port 22 2026-02-09 20:33:27,564 - DEBUG - VM ctest-TestRoutersBasic-78745141-45704142 is ready for SSH connections 2026-02-09 20:33:27,564 - INFO - Waiting for VM ctest-TestRoutersBasic-78745141-21252016 to be up.. 2026-02-09 20:33:27,631 - DEBUG - VM is in ACTIVE state now 2026-02-09 20:33:27,631 - INFO - VM name : ctest-TestRoutersBasic-78745141-21252016 2026-02-09 20:33:27,694 - DEBUG - VM ctest-TestRoutersBasic-78745141-21252016 ID is 2d02e14d-fab9-4e99-99d9-d79aac5b39db 2026-02-09 20:33:27,694 - DEBUG - VM ctest-TestRoutersBasic-78745141-21252016 launched on Node cn-jenkins-deploy-platform-ansible-os-5249-1 2026-02-09 20:33:27,759 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/2d02e14d-fab9-4e99-99d9-d79aac5b39db 2026-02-09 20:33:27,765 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/6e8b68ab-2c1c-4182-ad28-5103bb77fa2f 2026-02-09 20:33:28,995 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.581/2.753/1.171 ms') 2026-02-09 20:33:28,996 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78745141-21252016 passed 2026-02-09 20:33:29,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 20:33:29,141 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78745141-21252016, IP 8.112.95.195, Port 22 2026-02-09 20:33:29,300 - DEBUG - VM ctest-TestRoutersBasic-78745141-21252016 is ready for SSH connections 2026-02-09 20:33:29,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 20:33:29,300 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.112.95.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-09 20:33:29,300 - DEBUG - ping -s 56 -c 3 -W 1 8.112.95.195 2026-02-09 20:33:33,265 - DEBUG - PING 8.112.95.195 (8.112.95.195): 56 data bytes 64 bytes from 8.112.95.195: seq=0 ttl=62 time=7.480 ms 64 bytes from 8.112.95.195: seq=1 ttl=62 time=0.880 ms 64 bytes from 8.112.95.195: seq=2 ttl=62 time=0.809 ms --- 8.112.95.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/3.056/7.480 ms 2026-02-09 20:33:33,265 - INFO - Ping to IP 8.112.95.195 from VM ctest-TestRoutersBasic-78745141-45704142 passed 2026-02-09 20:33:33,265 - INFO - Deleting interface with subnet_id 8473ff29-5128-436c-87fa-171fc6effea6, port_id None from router 73b9a58e-95f5-4311-9232-3f56198b49c5 2026-02-09 20:33:33,431 - INFO - Deleting VM ctest-TestRoutersBasic-78745141-21252016 2026-02-09 20:33:33,498 - INFO - Deleting VM ctest-TestRoutersBasic-78745141-45704142 2026-02-09 20:33:33,569 - INFO - Deleting VN ctest-ext_vn-55145362 2026-02-09 20:33:33,626 - DEBUG - VN b4c8b332-e5d5-4fe1-be8a-bd153203429d still in use: Unable to complete operation on network b4c8b332-e5d5-4fe1-be8a-bd153203429d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f346747c-10b7-4c06-a4bd-cb522648c229'] 2026-02-09 20:33:33,626 - WARNING - Deleting VN ctest-ext_vn-55145362 failed..Will retry 2026-02-09 20:33:35,707 - DEBUG - Response for deleting network () 2026-02-09 20:33:35,707 - INFO - Deleting VN ctest-vn-34260688 2026-02-09 20:33:35,802 - DEBUG - Response for deleting network () 2026-02-09 20:33:36,058 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 20:33:36,058 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-09 20:33:36,058 - INFO - -------------------------------------------------------------------------------- 2026-02-09 20:33:36,736 - INFO - Deleted project: ctest-TestRoutersBasic-78745141, ID : d3e4c7e9-d048-4907-8c0d-4d945d6d0730