2026-01-29 17:03:42,137 - INFO - Domain Default found not creating 2026-01-29 17:03:42,282 - INFO - Project ctest-TestRoutersBasic-52846603 not found, creating it 2026-01-29 17:03:42,718 - INFO - Created Project:ctest-TestRoutersBasic-52846603, ID : e8c77aab-45f1-4e1c-91d2-9729b53a5ccd 2026-01-29 17:03:44,125 - INFO - ================================================================================ 2026-01-29 17:03:44,125 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 17:03:44,125 - 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-01-29 17:03:44,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2026-01-29 17:03:44,380 - INFO - Initial checks done. Running the testcase now 2026-01-29 17:03:44,380 - INFO - 2026-01-29 17:03:45,074 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52846603 2026-01-29 17:03:45,171 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52846603 2026-01-29 17:03:45,487 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52846603', 'default']} 2026-01-29 17:03:45,763 - DEBUG - Response for create_network : {'network': {'id': '7f5fe2aa-aa16-43d1-a3aa-7a40713de16c', 'name': 'ctest-vn-12987493', 'tenant_id': 'e8c77aab45f14e1c91d29729b53a5ccd', 'project_id': 'e8c77aab45f14e1c91d29729b53a5ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52846603', 'ctest-vn-12987493'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:03:45,951 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdfa49fb-88b9-4001-8300-db9a537f30d9', 'name': '', 'tenant_id': 'e8c77aab45f14e1c91d29729b53a5ccd', 'network_id': '7f5fe2aa-aa16-43d1-a3aa-7a40713de16c', 'ip_version': 4, 'cidr': '41.178.132.0/26', 'allocation_pools': [{'start': '41.178.132.2', 'end': '41.178.132.62'}], 'gateway_ip': '41.178.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.178.132.2', 'tags': [], 'project_id': 'e8c77aab45f14e1c91d29729b53a5ccd'}} 2026-01-29 17:03:45,973 - INFO - Created VN ctest-vn-12987493 2026-01-29 17:03:46,023 - DEBUG - VN ctest-vn-12987493 UUID is 7f5fe2aa-aa16-43d1-a3aa-7a40713de16c 2026-01-29 17:03:46,384 - DEBUG - Response for create_network : {'network': {'id': '061b6ff5-c2e7-4d54-8a2d-b18e62fdcce0', 'name': 'ctest-ext_vn-98199411', 'tenant_id': 'e8c77aab45f14e1c91d29729b53a5ccd', 'project_id': 'e8c77aab45f14e1c91d29729b53a5ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52846603', 'ctest-ext_vn-98199411'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:03:46,552 - DEBUG - Response for create_subnet : {'subnet': {'id': '39946158-7c70-4259-99b5-59c7238d0663', 'name': '', 'tenant_id': 'e8c77aab45f14e1c91d29729b53a5ccd', 'network_id': '061b6ff5-c2e7-4d54-8a2d-b18e62fdcce0', 'ip_version': 4, 'cidr': '12.100.101.0/26', 'allocation_pools': [{'start': '12.100.101.2', 'end': '12.100.101.62'}], 'gateway_ip': '12.100.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.100.101.2', 'tags': [], 'project_id': 'e8c77aab45f14e1c91d29729b53a5ccd'}} 2026-01-29 17:03:46,568 - INFO - Created VN ctest-ext_vn-98199411 2026-01-29 17:03:46,619 - DEBUG - VN ctest-ext_vn-98199411 UUID is 061b6ff5-c2e7-4d54-8a2d-b18e62fdcce0 2026-01-29 17:03:46,818 - DEBUG - Services list from nova: [, , ] 2026-01-29 17:03:47,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5132-1) 2026-01-29 17:03:48,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5132-1) 2026-01-29 17:03:49,032 - INFO - Setting gateway for router 56376b4c-0330-46f4-a155-d1f9552aacc2 to network 061b6ff5-c2e7-4d54-8a2d-b18e62fdcce0 2026-01-29 17:03:49,106 - INFO - Adding interface with subnet_id fdfa49fb-88b9-4001-8300-db9a537f30d9, port_id None to router 56376b4c-0330-46f4-a155-d1f9552aacc2 2026-01-29 17:03:49,460 - INFO - Waiting for VM ctest-TestRoutersBasic-52846603-30254152 to be up.. 2026-01-29 17:03:49,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 17:03:54,683 - DEBUG - VM is in ACTIVE state now 2026-01-29 17:03:54,683 - INFO - VM name : ctest-TestRoutersBasic-52846603-30254152 2026-01-29 17:03:54,764 - DEBUG - VM ctest-TestRoutersBasic-52846603-30254152 ID is ab1dcc1a-66b0-439b-b1e8-0e237b2f73e1 2026-01-29 17:03:54,783 - DEBUG - VM ctest-TestRoutersBasic-52846603-30254152 launched on Node cn-jenkins-deploy-platform-ansible-os-5132-1 2026-01-29 17:03:54,862 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ab1dcc1a-66b0-439b-b1e8-0e237b2f73e1 2026-01-29 17:03:55,218 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ab1dcc1a-66b0-439b-b1e8-0e237b2f73e1 2026-01-29 17:03:55,255 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1cff7f7a-4eae-4b1b-8d17-1c6a752a5e5c 2026-01-29 17:03:58,487 - 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 1003ms') 2026-01-29 17:03:58,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52846603-30254152 failed! 2026-01-29 17:03:58,547 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52846603:ctest-vn-12987493 is 41.178.132.1 and allocation pool is NOT set 2026-01-29 17:04:00,614 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/1.702/3.016/1.314 ms') 2026-01-29 17:04:00,615 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52846603-30254152 passed 2026-01-29 17:04:00,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:04:00,763 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52846603-30254152, IP 41.178.132.3, Port 22 2026-01-29 17:04:00,914 - DEBUG - VM ctest-TestRoutersBasic-52846603-30254152 is ready for SSH connections 2026-01-29 17:04:00,914 - INFO - Waiting for VM ctest-TestRoutersBasic-52846603-25202354 to be up.. 2026-01-29 17:04:00,982 - DEBUG - VM is in ACTIVE state now 2026-01-29 17:04:00,982 - INFO - VM name : ctest-TestRoutersBasic-52846603-25202354 2026-01-29 17:04:01,046 - DEBUG - VM ctest-TestRoutersBasic-52846603-25202354 ID is fac7aea4-1f74-4ae1-98b0-51f95e78cc9b 2026-01-29 17:04:01,046 - DEBUG - VM ctest-TestRoutersBasic-52846603-25202354 launched on Node cn-jenkins-deploy-platform-ansible-os-5132-1 2026-01-29 17:04:01,110 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fac7aea4-1f74-4ae1-98b0-51f95e78cc9b 2026-01-29 17:04:01,118 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2f96bb65-a189-4c3e-a978-eb33d73d4748 2026-01-29 17:04:02,348 - 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=3.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.357 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.357/1.695/3.034/1.338 ms') 2026-01-29 17:04:02,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52846603-25202354 passed 2026-01-29 17:04:02,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:04:02,503 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52846603-25202354, IP 12.100.101.3, Port 22 2026-01-29 17:04:02,663 - DEBUG - VM ctest-TestRoutersBasic-52846603-25202354 is ready for SSH connections 2026-01-29 17:04:02,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:04:02,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.100.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-29 17:04:02,663 - DEBUG - ping -s 56 -c 3 -W 1 12.100.101.3 2026-01-29 17:04:06,363 - DEBUG - PING 12.100.101.3 (12.100.101.3): 56 data bytes 64 bytes from 12.100.101.3: seq=0 ttl=62 time=7.306 ms 64 bytes from 12.100.101.3: seq=1 ttl=62 time=0.905 ms 64 bytes from 12.100.101.3: seq=2 ttl=62 time=1.066 ms --- 12.100.101.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/3.092/7.306 ms 2026-01-29 17:04:06,363 - INFO - Ping to IP 12.100.101.3 from VM ctest-TestRoutersBasic-52846603-30254152 passed 2026-01-29 17:04:06,363 - INFO - Deleting interface with subnet_id fdfa49fb-88b9-4001-8300-db9a537f30d9, port_id None from router 56376b4c-0330-46f4-a155-d1f9552aacc2 2026-01-29 17:04:06,524 - INFO - Deleting VM ctest-TestRoutersBasic-52846603-25202354 2026-01-29 17:04:06,598 - INFO - Deleting VM ctest-TestRoutersBasic-52846603-30254152 2026-01-29 17:04:06,681 - INFO - Deleting VN ctest-ext_vn-98199411 2026-01-29 17:04:06,743 - DEBUG - VN 061b6ff5-c2e7-4d54-8a2d-b18e62fdcce0 still in use: Unable to complete operation on network 061b6ff5-c2e7-4d54-8a2d-b18e62fdcce0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-feb67406-65bb-4a3b-9549-a7c6a623d079'] 2026-01-29 17:04:06,743 - WARNING - Deleting VN ctest-ext_vn-98199411 failed..Will retry 2026-01-29 17:04:08,829 - DEBUG - Response for deleting network () 2026-01-29 17:04:08,829 - INFO - Deleting VN ctest-vn-12987493 2026-01-29 17:04:08,915 - DEBUG - Response for deleting network () 2026-01-29 17:04:09,167 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 17:04:09,167 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-29 17:04:09,167 - INFO - -------------------------------------------------------------------------------- 2026-01-29 17:04:09,822 - INFO - Deleted project: ctest-TestRoutersBasic-52846603, ID : e8c77aab-45f1-4e1c-91d2-9729b53a5ccd