2026-03-12 02:10:08,778 - INFO - Domain Default found not creating 2026-03-12 02:10:08,956 - INFO - Project ctest-TestRoutersBasic-13589967 not found, creating it 2026-03-12 02:10:09,428 - INFO - Created Project:ctest-TestRoutersBasic-13589967, ID : acb1f306-e646-436b-8e09-0ade962af5cc 2026-03-12 02:10:10,919 - INFO - ================================================================================ 2026-03-12 02:10:10,919 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-12 02:10:10,919 - 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-12 02:10:11,174 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0'}} with 2026-03-12 02:10:11,174 - INFO - Initial checks done. Running the testcase now 2026-03-12 02:10:11,174 - INFO - 2026-03-12 02:10:11,886 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13589967 2026-03-12 02:10:11,983 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13589967 2026-03-12 02:10:12,307 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13589967', 'default']} 2026-03-12 02:10:12,622 - DEBUG - Response for create_network : {'network': {'id': 'd16fe12d-c11e-4d3b-a5b7-ff74dd2b2ed9', 'name': 'ctest-vn-85416963', 'tenant_id': 'acb1f306e646436b8e090ade962af5cc', 'project_id': 'acb1f306e646436b8e090ade962af5cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13589967', 'ctest-vn-85416963'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:12,874 - DEBUG - Response for create_subnet : {'subnet': {'id': '07e38823-2e4f-4308-b34f-ddf0739ce875', 'name': '', 'tenant_id': 'acb1f306e646436b8e090ade962af5cc', 'network_id': 'd16fe12d-c11e-4d3b-a5b7-ff74dd2b2ed9', 'ip_version': 4, 'cidr': '95.225.107.64/26', 'allocation_pools': [{'start': '95.225.107.66', 'end': '95.225.107.126'}], 'gateway_ip': '95.225.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.225.107.66', 'tags': [], 'project_id': 'acb1f306e646436b8e090ade962af5cc'}} 2026-03-12 02:10:12,897 - INFO - Created VN ctest-vn-85416963 2026-03-12 02:10:12,951 - DEBUG - VN ctest-vn-85416963 UUID is d16fe12d-c11e-4d3b-a5b7-ff74dd2b2ed9 2026-03-12 02:10:13,283 - DEBUG - Response for create_network : {'network': {'id': 'e9875740-be9c-4053-9ddc-2ace6d072d84', 'name': 'ctest-ext_vn-20079851', 'tenant_id': 'acb1f306e646436b8e090ade962af5cc', 'project_id': 'acb1f306e646436b8e090ade962af5cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13589967', 'ctest-ext_vn-20079851'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:13,463 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd9d5a17-81c6-4549-b3b8-85dc112ebd1d', 'name': '', 'tenant_id': 'acb1f306e646436b8e090ade962af5cc', 'network_id': 'e9875740-be9c-4053-9ddc-2ace6d072d84', 'ip_version': 4, 'cidr': '138.172.10.128/26', 'allocation_pools': [{'start': '138.172.10.130', 'end': '138.172.10.190'}], 'gateway_ip': '138.172.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.172.10.130', 'tags': [], 'project_id': 'acb1f306e646436b8e090ade962af5cc'}} 2026-03-12 02:10:13,486 - INFO - Created VN ctest-ext_vn-20079851 2026-03-12 02:10:13,539 - DEBUG - VN ctest-ext_vn-20079851 UUID is e9875740-be9c-4053-9ddc-2ace6d072d84 2026-03-12 02:10:13,701 - DEBUG - Services list from nova: [, , ] 2026-03-12 02:10:14,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5461-1) 2026-03-12 02:10:15,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5461-1) 2026-03-12 02:10:16,007 - INFO - Setting gateway for router 3d200ac4-3f27-476e-919d-13ae70084d4c to network e9875740-be9c-4053-9ddc-2ace6d072d84 2026-03-12 02:10:16,080 - INFO - Adding interface with subnet_id 07e38823-2e4f-4308-b34f-ddf0739ce875, port_id None to router 3d200ac4-3f27-476e-919d-13ae70084d4c 2026-03-12 02:10:16,331 - INFO - Waiting for VM ctest-TestRoutersBasic-13589967-94787505 to be up.. 2026-03-12 02:10:16,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 02:10:21,577 - DEBUG - VM is in ACTIVE state now 2026-03-12 02:10:21,577 - INFO - VM name : ctest-TestRoutersBasic-13589967-94787505 2026-03-12 02:10:21,658 - DEBUG - VM ctest-TestRoutersBasic-13589967-94787505 ID is ef7f1a3d-a8bb-4b0e-bd2e-c23f6f4f3547 2026-03-12 02:10:21,678 - DEBUG - VM ctest-TestRoutersBasic-13589967-94787505 launched on Node cn-jenkins-deploy-platform-ansible-os-5461-1 2026-03-12 02:10:21,750 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ef7f1a3d-a8bb-4b0e-bd2e-c23f6f4f3547 2026-03-12 02:10:22,044 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ef7f1a3d-a8bb-4b0e-bd2e-c23f6f4f3547 2026-03-12 02:10:22,105 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a1ea557c-4fd5-4423-9e57-bd9803ba7c84 2026-03-12 02:10:25,357 - 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 1006ms') 2026-03-12 02:10:25,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13589967-94787505 failed! 2026-03-12 02:10:25,411 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13589967:ctest-vn-85416963 is 95.225.107.65 and allocation pool is NOT set 2026-03-12 02:10:27,473 - 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=4.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/2.278/4.086/1.808 ms') 2026-03-12 02:10:27,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13589967-94787505 passed 2026-03-12 02:10:27,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:10:27,619 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13589967-94787505, IP 95.225.107.67, Port 22 2026-03-12 02:10:27,775 - DEBUG - VM ctest-TestRoutersBasic-13589967-94787505 is ready for SSH connections 2026-03-12 02:10:27,775 - INFO - Waiting for VM ctest-TestRoutersBasic-13589967-42968606 to be up.. 2026-03-12 02:10:27,846 - DEBUG - VM is in ACTIVE state now 2026-03-12 02:10:27,846 - INFO - VM name : ctest-TestRoutersBasic-13589967-42968606 2026-03-12 02:10:27,915 - DEBUG - VM ctest-TestRoutersBasic-13589967-42968606 ID is 560940d9-b4f3-4642-8c69-1623e25759de 2026-03-12 02:10:27,915 - DEBUG - VM ctest-TestRoutersBasic-13589967-42968606 launched on Node cn-jenkins-deploy-platform-ansible-os-5461-1 2026-03-12 02:10:27,990 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/560940d9-b4f3-4642-8c69-1623e25759de 2026-03-12 02:10:27,998 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/dbe707ba-6885-4845-b40f-339b57498c10 2026-03-12 02:10:29,234 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.638/2.793/1.155 ms') 2026-03-12 02:10:29,234 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13589967-42968606 passed 2026-03-12 02:10:29,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:10:29,387 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13589967-42968606, IP 138.172.10.131, Port 22 2026-03-12 02:10:29,542 - DEBUG - VM ctest-TestRoutersBasic-13589967-42968606 is ready for SSH connections 2026-03-12 02:10:29,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:10:29,542 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.172.10.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-12 02:10:29,542 - DEBUG - ping -s 56 -c 3 -W 1 138.172.10.131 2026-03-12 02:10:33,239 - DEBUG - PING 138.172.10.131 (138.172.10.131): 56 data bytes 64 bytes from 138.172.10.131: seq=0 ttl=62 time=6.602 ms 64 bytes from 138.172.10.131: seq=1 ttl=62 time=1.007 ms 64 bytes from 138.172.10.131: seq=2 ttl=62 time=0.866 ms --- 138.172.10.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/2.825/6.602 ms 2026-03-12 02:10:33,239 - INFO - Ping to IP 138.172.10.131 from VM ctest-TestRoutersBasic-13589967-94787505 passed 2026-03-12 02:10:33,239 - INFO - Deleting interface with subnet_id 07e38823-2e4f-4308-b34f-ddf0739ce875, port_id None from router 3d200ac4-3f27-476e-919d-13ae70084d4c 2026-03-12 02:10:33,428 - INFO - Deleting VM ctest-TestRoutersBasic-13589967-42968606 2026-03-12 02:10:33,490 - INFO - Deleting VM ctest-TestRoutersBasic-13589967-94787505 2026-03-12 02:10:33,573 - INFO - Deleting VN ctest-ext_vn-20079851 2026-03-12 02:10:33,646 - DEBUG - VN e9875740-be9c-4053-9ddc-2ace6d072d84 still in use: Unable to complete operation on network e9875740-be9c-4053-9ddc-2ace6d072d84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c2bb12f-35db-4f35-96ac-2de33104134b'] 2026-03-12 02:10:33,646 - WARNING - Deleting VN ctest-ext_vn-20079851 failed..Will retry 2026-03-12 02:10:35,759 - DEBUG - Response for deleting network () 2026-03-12 02:10:35,759 - INFO - Deleting VN ctest-vn-85416963 2026-03-12 02:10:35,861 - DEBUG - Response for deleting network () 2026-03-12 02:10:36,116 - DEBUG - No XMPP flaps were noticed during the test
2026-03-12 02:10:36,116 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-03-12 02:10:36,116 - INFO - -------------------------------------------------------------------------------- 2026-03-12 02:10:36,808 - INFO - Deleted project: ctest-TestRoutersBasic-13589967, ID : acb1f306-e646-436b-8e09-0ade962af5cc