2026-11-24 19:02:12,850 - INFO - Domain Default found not creating 2026-11-24 19:02:12,992 - INFO - Project ctest-TestRoutersBasic-78420540 not found, creating it 2026-11-24 19:02:13,445 - INFO - Created Project:ctest-TestRoutersBasic-78420540, ID : 40e168b9-4dcc-4a61-9caf-d4e25a24e8ed 2026-11-24 19:02:15,053 - INFO - ================================================================================ 2026-11-24 19:02:15,053 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-24 19:02:15,053 - 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-11-24 19:02:15,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.29': '0'}} with 2026-11-24 19:02:15,308 - INFO - Initial checks done. Running the testcase now 2026-11-24 19:02:15,308 - INFO - 2026-11-24 19:02:16,135 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78420540 2026-11-24 19:02:16,238 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78420540 2026-11-24 19:02:16,574 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78420540', 'default']} 2026-11-24 19:02:16,847 - DEBUG - Response for create_network : {'network': {'id': '8f26c015-19db-4f09-b70b-6d4a3bf9c9d0', 'name': 'ctest-vn-85855653', 'tenant_id': '40e168b94dcc4a619cafd4e25a24e8ed', 'project_id': '40e168b94dcc4a619cafd4e25a24e8ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78420540', 'ctest-vn-85855653'], 'port_security_enabled': True, 'description': ''}} 2026-11-24 19:02:17,032 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbe58098-18c9-4ac2-89ee-d0686b369959', 'name': '', 'tenant_id': '40e168b94dcc4a619cafd4e25a24e8ed', 'network_id': '8f26c015-19db-4f09-b70b-6d4a3bf9c9d0', 'ip_version': 4, 'cidr': '26.61.18.64/26', 'allocation_pools': [{'start': '26.61.18.66', 'end': '26.61.18.126'}], 'gateway_ip': '26.61.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.61.18.66', 'tags': [], 'project_id': '40e168b94dcc4a619cafd4e25a24e8ed'}} 2026-11-24 19:02:17,047 - INFO - Created VN ctest-vn-85855653 2026-11-24 19:02:17,098 - DEBUG - VN ctest-vn-85855653 UUID is 8f26c015-19db-4f09-b70b-6d4a3bf9c9d0 2026-11-24 19:02:17,435 - DEBUG - Response for create_network : {'network': {'id': '837d407e-c6a2-4ffe-b2bb-c8ac6bfaeee9', 'name': 'ctest-ext_vn-41510765', 'tenant_id': '40e168b94dcc4a619cafd4e25a24e8ed', 'project_id': '40e168b94dcc4a619cafd4e25a24e8ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78420540', 'ctest-ext_vn-41510765'], 'port_security_enabled': True, 'description': ''}} 2026-11-24 19:02:17,590 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6b4cf64-e9b9-40f4-af07-af4876f01e76', 'name': '', 'tenant_id': '40e168b94dcc4a619cafd4e25a24e8ed', 'network_id': '837d407e-c6a2-4ffe-b2bb-c8ac6bfaeee9', 'ip_version': 4, 'cidr': '21.77.161.0/26', 'allocation_pools': [{'start': '21.77.161.2', 'end': '21.77.161.62'}], 'gateway_ip': '21.77.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.77.161.2', 'tags': [], 'project_id': '40e168b94dcc4a619cafd4e25a24e8ed'}} 2026-11-24 19:02:17,605 - INFO - Created VN ctest-ext_vn-41510765 2026-11-24 19:02:17,654 - DEBUG - VN ctest-ext_vn-41510765 UUID is 837d407e-c6a2-4ffe-b2bb-c8ac6bfaeee9 2026-11-24 19:02:17,841 - DEBUG - Services list from nova: [, , ] 2026-11-24 19:02:18,135 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6514-1) 2026-11-24 19:02:18,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6514-1) 2026-11-24 19:02:18,577 - INFO - Setting gateway for router 69945788-fc1b-44fc-8475-ec97eb1f2ab0 to network 837d407e-c6a2-4ffe-b2bb-c8ac6bfaeee9 2026-11-24 19:02:18,631 - INFO - Adding interface with subnet_id dbe58098-18c9-4ac2-89ee-d0686b369959, port_id None to router 69945788-fc1b-44fc-8475-ec97eb1f2ab0 2026-11-24 19:02:18,877 - INFO - Waiting for VM ctest-TestRoutersBasic-78420540-14727632 to be up.. 2026-11-24 19:02:18,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:02:23,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:02:29,071 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:02:34,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:02:39,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:02:44,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:02:49,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:02:54,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:02:59,558 - DEBUG - VM is in ACTIVE state now 2026-11-24 19:02:59,558 - INFO - VM name : ctest-TestRoutersBasic-78420540-14727632 2026-11-24 19:02:59,623 - DEBUG - VM ctest-TestRoutersBasic-78420540-14727632 ID is 1fe6b19e-ade8-4378-a9ab-266567995f0d 2026-11-24 19:02:59,641 - DEBUG - VM ctest-TestRoutersBasic-78420540-14727632 launched on Node cn-jenkins-deploy-platform-ansible-os-6514-1 2026-11-24 19:02:59,709 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/1fe6b19e-ade8-4378-a9ab-266567995f0d 2026-11-24 19:03:00,067 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/1fe6b19e-ade8-4378-a9ab-266567995f0d 2026-11-24 19:03:00,092 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/84bd9f63-2d66-4e26-bf17-2788fca054c2 2026-11-24 19:03:03,339 - 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=2 ttl=63 time=5.55 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 5.554/5.554/5.554/0.000 ms') 2026-11-24 19:03:03,339 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-78420540-14727632 passed 2026-11-24 19:03:03,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-24 19:03:03,486 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78420540-14727632, IP 26.61.18.67, Port 22 2026-11-24 19:03:03,641 - DEBUG - VM ctest-TestRoutersBasic-78420540-14727632 is ready for SSH connections 2026-11-24 19:03:03,642 - INFO - Waiting for VM ctest-TestRoutersBasic-78420540-19541607 to be up.. 2026-11-24 19:03:03,713 - DEBUG - VM is in ACTIVE state now 2026-11-24 19:03:03,714 - INFO - VM name : ctest-TestRoutersBasic-78420540-19541607 2026-11-24 19:03:03,787 - DEBUG - VM ctest-TestRoutersBasic-78420540-19541607 ID is 45f03d2d-944f-4458-9b67-216badb5043f 2026-11-24 19:03:03,788 - DEBUG - VM ctest-TestRoutersBasic-78420540-19541607 launched on Node cn-jenkins-deploy-platform-ansible-os-6514-1 2026-11-24 19:03:03,856 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/45f03d2d-944f-4458-9b67-216badb5043f 2026-11-24 19:03:03,863 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/ff77b70e-1764-4acb-bb5b-da5380366891 2026-11-24 19:03:05,099 - 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=3.53 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.419 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.419/1.976/3.534/1.557 ms') 2026-11-24 19:03:05,099 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-78420540-19541607 passed 2026-11-24 19:03:05,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-24 19:03:05,242 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78420540-19541607, IP 21.77.161.4, Port 22 2026-11-24 19:03:05,397 - DEBUG - VM ctest-TestRoutersBasic-78420540-19541607 is ready for SSH connections 2026-11-24 19:03:05,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-24 19:03:05,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.77.161.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-24 19:03:05,398 - DEBUG - ping -s 56 -c 3 -W 1 21.77.161.4 2026-11-24 19:03:08,299 - DEBUG - PING 21.77.161.4 (21.77.161.4): 56 data bytes 64 bytes from 21.77.161.4: seq=0 ttl=62 time=5.875 ms 64 bytes from 21.77.161.4: seq=1 ttl=62 time=0.795 ms 64 bytes from 21.77.161.4: seq=2 ttl=62 time=0.926 ms --- 21.77.161.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/2.532/5.875 ms 2026-11-24 19:03:08,299 - INFO - Ping to IP 21.77.161.4 from VM ctest-TestRoutersBasic-78420540-14727632 passed 2026-11-24 19:03:08,299 - INFO - Deleting interface with subnet_id dbe58098-18c9-4ac2-89ee-d0686b369959, port_id None from router 69945788-fc1b-44fc-8475-ec97eb1f2ab0 2026-11-24 19:03:08,515 - INFO - Deleting VM ctest-TestRoutersBasic-78420540-19541607 2026-11-24 19:03:08,580 - INFO - Deleting VM ctest-TestRoutersBasic-78420540-14727632 2026-11-24 19:03:08,640 - INFO - Deleting VN ctest-ext_vn-41510765 2026-11-24 19:03:08,685 - DEBUG - VN 837d407e-c6a2-4ffe-b2bb-c8ac6bfaeee9 still in use: Unable to complete operation on network 837d407e-c6a2-4ffe-b2bb-c8ac6bfaeee9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01a5fefa-7568-4926-b731-b93e73e2d095'] 2026-11-24 19:03:08,686 - WARNING - Deleting VN ctest-ext_vn-41510765 failed..Will retry 2026-11-24 19:03:10,715 - DEBUG - VN 837d407e-c6a2-4ffe-b2bb-c8ac6bfaeee9 still in use: Unable to complete operation on network 837d407e-c6a2-4ffe-b2bb-c8ac6bfaeee9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4f8ea11-ad9f-4135-8328-7345b5409888'] 2026-11-24 19:03:10,715 - WARNING - Deleting VN ctest-ext_vn-41510765 failed..Will retry 2026-11-24 19:03:12,826 - DEBUG - Response for deleting network () 2026-11-24 19:03:12,826 - INFO - Deleting VN ctest-vn-85855653 2026-11-24 19:03:12,914 - DEBUG - Response for deleting network () 2026-11-24 19:03:13,172 - DEBUG - No XMPP flaps were noticed during the test
2026-11-24 19:03:13,172 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58]
2026-11-24 19:03:13,172 - INFO - -------------------------------------------------------------------------------- 2026-11-24 19:03:13,912 - INFO - Deleted project: ctest-TestRoutersBasic-78420540, ID : 40e168b9-4dcc-4a61-9caf-d4e25a24e8ed