2026-04-22 12:03:40,643 - INFO - Domain Default found not creating 2026-04-22 12:03:40,818 - INFO - Project ctest-TestRoutersBasic-31190536 not found, creating it 2026-04-22 12:03:41,287 - INFO - Created Project:ctest-TestRoutersBasic-31190536, ID : 6a9faf62-5cbb-48ba-8a5a-d6a07a9331bc 2026-04-22 12:03:42,819 - INFO - ================================================================================ 2026-04-22 12:03:42,819 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-22 12:03:42,819 - 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-04-22 12:03:43,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-22 12:03:43,073 - INFO - Initial checks done. Running the testcase now 2026-04-22 12:03:43,073 - INFO - 2026-04-22 12:03:43,797 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31190536 2026-04-22 12:03:43,896 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31190536 2026-04-22 12:03:44,227 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31190536', 'default']} 2026-04-22 12:03:44,524 - DEBUG - Response for create_network : {'network': {'id': 'ab437bed-d82e-4285-9322-153c9fbe6fc5', 'name': 'ctest-vn-20650456', 'tenant_id': '6a9faf625cbb48ba8a5ad6a07a9331bc', 'project_id': '6a9faf625cbb48ba8a5ad6a07a9331bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31190536', 'ctest-vn-20650456'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 12:03:44,718 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc8fab1b-27d8-487e-a421-29e647be91ae', 'name': '', 'tenant_id': '6a9faf625cbb48ba8a5ad6a07a9331bc', 'network_id': 'ab437bed-d82e-4285-9322-153c9fbe6fc5', 'ip_version': 4, 'cidr': '165.147.205.192/26', 'allocation_pools': [{'start': '165.147.205.194', 'end': '165.147.205.254'}], 'gateway_ip': '165.147.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.147.205.194', 'tags': [], 'project_id': '6a9faf625cbb48ba8a5ad6a07a9331bc'}} 2026-04-22 12:03:44,736 - INFO - Created VN ctest-vn-20650456 2026-04-22 12:03:44,788 - DEBUG - VN ctest-vn-20650456 UUID is ab437bed-d82e-4285-9322-153c9fbe6fc5 2026-04-22 12:03:45,129 - DEBUG - Response for create_network : {'network': {'id': '47086daa-5b88-4676-8a6d-4b698fb600b3', 'name': 'ctest-ext_vn-90716665', 'tenant_id': '6a9faf625cbb48ba8a5ad6a07a9331bc', 'project_id': '6a9faf625cbb48ba8a5ad6a07a9331bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31190536', 'ctest-ext_vn-90716665'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 12:03:45,342 - DEBUG - Response for create_subnet : {'subnet': {'id': '32f386d2-86b6-4c8d-bab3-5d7a8a171b21', 'name': '', 'tenant_id': '6a9faf625cbb48ba8a5ad6a07a9331bc', 'network_id': '47086daa-5b88-4676-8a6d-4b698fb600b3', 'ip_version': 4, 'cidr': '165.254.195.128/26', 'allocation_pools': [{'start': '165.254.195.130', 'end': '165.254.195.190'}], 'gateway_ip': '165.254.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.254.195.130', 'tags': [], 'project_id': '6a9faf625cbb48ba8a5ad6a07a9331bc'}} 2026-04-22 12:03:45,358 - INFO - Created VN ctest-ext_vn-90716665 2026-04-22 12:03:45,408 - DEBUG - VN ctest-ext_vn-90716665 UUID is 47086daa-5b88-4676-8a6d-4b698fb600b3 2026-04-22 12:03:45,620 - DEBUG - Services list from nova: [, , ] 2026-04-22 12:03:46,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5665-1) 2026-04-22 12:03:47,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5665-1) 2026-04-22 12:03:47,832 - INFO - Setting gateway for router ac210f65-9046-4a3c-9000-06ae3b739e8e to network 47086daa-5b88-4676-8a6d-4b698fb600b3 2026-04-22 12:03:47,885 - INFO - Adding interface with subnet_id fc8fab1b-27d8-487e-a421-29e647be91ae, port_id None to router ac210f65-9046-4a3c-9000-06ae3b739e8e 2026-04-22 12:03:48,250 - INFO - Waiting for VM ctest-TestRoutersBasic-31190536-23591910 to be up.. 2026-04-22 12:03:48,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-22 12:03:53,457 - DEBUG - VM is in ACTIVE state now 2026-04-22 12:03:53,457 - INFO - VM name : ctest-TestRoutersBasic-31190536-23591910 2026-04-22 12:03:53,528 - DEBUG - VM ctest-TestRoutersBasic-31190536-23591910 ID is 50409594-8144-4ea5-bbb2-6f140f634578 2026-04-22 12:03:53,548 - DEBUG - VM ctest-TestRoutersBasic-31190536-23591910 launched on Node cn-jenkins-deploy-platform-ansible-os-5665-1 2026-04-22 12:03:53,625 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/50409594-8144-4ea5-bbb2-6f140f634578 2026-04-22 12:03:53,930 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/50409594-8144-4ea5-bbb2-6f140f634578 2026-04-22 12:03:53,969 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8d8d20ac-25c2-41a6-8f94-de61ef217436 2026-04-22 12:03:57,247 - 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 1030ms') 2026-04-22 12:03:57,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31190536-23591910 failed! 2026-04-22 12:03:57,300 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31190536:ctest-vn-20650456 is 165.147.205.193 and allocation pool is NOT set 2026-04-22 12:03:59,365 - 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=0.370 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 = 0.370/1.911/3.453/1.541 ms') 2026-04-22 12:03:59,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31190536-23591910 passed 2026-04-22 12:03:59,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 12:03:59,516 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31190536-23591910, IP 165.147.205.195, Port 22 2026-04-22 12:03:59,675 - DEBUG - VM ctest-TestRoutersBasic-31190536-23591910 is ready for SSH connections 2026-04-22 12:03:59,675 - INFO - Waiting for VM ctest-TestRoutersBasic-31190536-63899942 to be up.. 2026-04-22 12:03:59,750 - DEBUG - VM is in ACTIVE state now 2026-04-22 12:03:59,750 - INFO - VM name : ctest-TestRoutersBasic-31190536-63899942 2026-04-22 12:03:59,829 - DEBUG - VM ctest-TestRoutersBasic-31190536-63899942 ID is 405448a0-a1b2-4ec1-aed0-5fcb6eedea30 2026-04-22 12:03:59,829 - DEBUG - VM ctest-TestRoutersBasic-31190536-63899942 launched on Node cn-jenkins-deploy-platform-ansible-os-5665-1 2026-04-22 12:03:59,902 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/405448a0-a1b2-4ec1-aed0-5fcb6eedea30 2026-04-22 12:03:59,910 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f780a5a9-a7f9-4f95-a7ce-c900476de965 2026-04-22 12:04:01,145 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.704/2.971/1.267 ms') 2026-04-22 12:04:01,145 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31190536-63899942 passed 2026-04-22 12:04:01,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 12:04:01,296 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31190536-63899942, IP 165.254.195.131, Port 22 2026-04-22 12:04:01,461 - DEBUG - VM ctest-TestRoutersBasic-31190536-63899942 is ready for SSH connections 2026-04-22 12:04:01,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 12:04:01,462 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.254.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-22 12:04:01,462 - DEBUG - ping -s 56 -c 3 -W 1 165.254.195.131 2026-04-22 12:04:05,229 - DEBUG - PING 165.254.195.131 (165.254.195.131): 56 data bytes 64 bytes from 165.254.195.131: seq=0 ttl=62 time=6.646 ms 64 bytes from 165.254.195.131: seq=1 ttl=62 time=1.157 ms 64 bytes from 165.254.195.131: seq=2 ttl=62 time=0.890 ms --- 165.254.195.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/2.897/6.646 ms 2026-04-22 12:04:05,229 - INFO - Ping to IP 165.254.195.131 from VM ctest-TestRoutersBasic-31190536-23591910 passed 2026-04-22 12:04:05,229 - INFO - Deleting interface with subnet_id fc8fab1b-27d8-487e-a421-29e647be91ae, port_id None from router ac210f65-9046-4a3c-9000-06ae3b739e8e 2026-04-22 12:04:05,408 - INFO - Deleting VM ctest-TestRoutersBasic-31190536-63899942 2026-04-22 12:04:05,485 - INFO - Deleting VM ctest-TestRoutersBasic-31190536-23591910 2026-04-22 12:04:05,556 - INFO - Deleting VN ctest-ext_vn-90716665 2026-04-22 12:04:05,617 - DEBUG - VN 47086daa-5b88-4676-8a6d-4b698fb600b3 still in use: Unable to complete operation on network 47086daa-5b88-4676-8a6d-4b698fb600b3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-299b66e9-411f-4e9f-956b-4b7d70787637'] 2026-04-22 12:04:05,617 - WARNING - Deleting VN ctest-ext_vn-90716665 failed..Will retry 2026-04-22 12:04:07,721 - DEBUG - Response for deleting network () 2026-04-22 12:04:07,721 - INFO - Deleting VN ctest-vn-20650456 2026-04-22 12:04:07,816 - DEBUG - Response for deleting network () 2026-04-22 12:04:08,100 - DEBUG - No XMPP flaps were noticed during the test 2026-04-22 12:04:08,100 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-04-22 12:04:08,100 - INFO - -------------------------------------------------------------------------------- 2026-04-22 12:04:08,811 - INFO - Deleted project: ctest-TestRoutersBasic-31190536, ID : 6a9faf62-5cbb-48ba-8a5a-d6a07a9331bc