2026-04-01 16:10:34,676 - INFO - Domain Default found not creating 2026-04-01 16:10:34,874 - INFO - Project ctest-TestRoutersBasic-86386808 not found, creating it 2026-04-01 16:10:35,359 - INFO - Created Project:ctest-TestRoutersBasic-86386808, ID : b99d87a4-28d4-48b9-a116-63cdacc1b136 2026-04-01 16:10:36,953 - INFO - ================================================================================ 2026-04-01 16:10:36,953 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-01 16:10:36,953 - 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-01 16:10:37,208 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2026-04-01 16:10:37,209 - INFO - Initial checks done. Running the testcase now 2026-04-01 16:10:37,209 - INFO - 2026-04-01 16:10:37,972 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86386808 2026-04-01 16:10:38,066 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86386808 2026-04-01 16:10:38,385 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86386808', 'default']} 2026-04-01 16:10:38,689 - DEBUG - Response for create_network : {'network': {'id': '18ded597-bb21-4c3a-993d-b998318d57fd', 'name': 'ctest-vn-46646999', 'tenant_id': 'b99d87a428d448b9a11663cdacc1b136', 'project_id': 'b99d87a428d448b9a11663cdacc1b136', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86386808', 'ctest-vn-46646999'], 'port_security_enabled': True, 'description': ''}} 2026-04-01 16:10:38,886 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdca3ead-9366-4add-bbff-6d9319942454', 'name': '', 'tenant_id': 'b99d87a428d448b9a11663cdacc1b136', 'network_id': '18ded597-bb21-4c3a-993d-b998318d57fd', 'ip_version': 4, 'cidr': '5.191.0.192/26', 'allocation_pools': [{'start': '5.191.0.194', 'end': '5.191.0.254'}], 'gateway_ip': '5.191.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.191.0.194', 'tags': [], 'project_id': 'b99d87a428d448b9a11663cdacc1b136'}} 2026-04-01 16:10:38,908 - INFO - Created VN ctest-vn-46646999 2026-04-01 16:10:38,961 - DEBUG - VN ctest-vn-46646999 UUID is 18ded597-bb21-4c3a-993d-b998318d57fd 2026-04-01 16:10:39,287 - DEBUG - Response for create_network : {'network': {'id': '95eb4d9a-c8c0-461a-8a85-1048afffe5cb', 'name': 'ctest-ext_vn-48648673', 'tenant_id': 'b99d87a428d448b9a11663cdacc1b136', 'project_id': 'b99d87a428d448b9a11663cdacc1b136', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86386808', 'ctest-ext_vn-48648673'], 'port_security_enabled': True, 'description': ''}} 2026-04-01 16:10:39,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '2996d414-f57c-465f-b5f6-a89faea4699c', 'name': '', 'tenant_id': 'b99d87a428d448b9a11663cdacc1b136', 'network_id': '95eb4d9a-c8c0-461a-8a85-1048afffe5cb', 'ip_version': 4, 'cidr': '43.100.77.192/26', 'allocation_pools': [{'start': '43.100.77.194', 'end': '43.100.77.254'}], 'gateway_ip': '43.100.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.100.77.194', 'tags': [], 'project_id': 'b99d87a428d448b9a11663cdacc1b136'}} 2026-04-01 16:10:39,495 - INFO - Created VN ctest-ext_vn-48648673 2026-04-01 16:10:39,549 - DEBUG - VN ctest-ext_vn-48648673 UUID is 95eb4d9a-c8c0-461a-8a85-1048afffe5cb 2026-04-01 16:10:39,722 - DEBUG - Services list from nova: [, , ] 2026-04-01 16:10:40,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5570-1) 2026-04-01 16:10:41,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5570-1) 2026-04-01 16:10:42,079 - INFO - Setting gateway for router 5ef7cee1-a4aa-4cce-8d95-bb298b2c8547 to network 95eb4d9a-c8c0-461a-8a85-1048afffe5cb 2026-04-01 16:10:42,149 - INFO - Adding interface with subnet_id cdca3ead-9366-4add-bbff-6d9319942454, port_id None to router 5ef7cee1-a4aa-4cce-8d95-bb298b2c8547 2026-04-01 16:10:42,524 - INFO - Waiting for VM ctest-TestRoutersBasic-86386808-62017521 to be up.. 2026-04-01 16:10:42,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-01 16:10:47,779 - DEBUG - VM is in ACTIVE state now 2026-04-01 16:10:47,779 - INFO - VM name : ctest-TestRoutersBasic-86386808-62017521 2026-04-01 16:10:47,870 - DEBUG - VM ctest-TestRoutersBasic-86386808-62017521 ID is df5d355a-b8fb-4332-b753-e329b1a63263 2026-04-01 16:10:47,914 - DEBUG - VM ctest-TestRoutersBasic-86386808-62017521 launched on Node cn-jenkins-deploy-platform-ansible-os-5570-1 2026-04-01 16:10:48,032 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/df5d355a-b8fb-4332-b753-e329b1a63263 2026-04-01 16:10:48,376 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/df5d355a-b8fb-4332-b753-e329b1a63263 2026-04-01 16:10:48,424 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/0dde8541-626b-4aaa-943d-645650ed4391 2026-04-01 16:10:51,667 - 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 1000ms') 2026-04-01 16:10:51,667 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86386808-62017521 failed! 2026-04-01 16:10:51,725 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86386808:ctest-vn-46646999 is 5.191.0.193 and allocation pool is NOT set 2026-04-01 16:10:53,791 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.833 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.833/2.887/4.941/2.054 ms') 2026-04-01 16:10:53,791 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86386808-62017521 passed 2026-04-01 16:10:53,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 16:10:53,949 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86386808-62017521, IP 5.191.0.195, Port 22 2026-04-01 16:10:54,109 - DEBUG - VM ctest-TestRoutersBasic-86386808-62017521 is ready for SSH connections 2026-04-01 16:10:54,109 - INFO - Waiting for VM ctest-TestRoutersBasic-86386808-20316202 to be up.. 2026-04-01 16:10:54,198 - DEBUG - VM is in ACTIVE state now 2026-04-01 16:10:54,198 - INFO - VM name : ctest-TestRoutersBasic-86386808-20316202 2026-04-01 16:10:54,291 - DEBUG - VM ctest-TestRoutersBasic-86386808-20316202 ID is 2df34add-7317-4301-9c3d-fb3cb84c1b2e 2026-04-01 16:10:54,291 - DEBUG - VM ctest-TestRoutersBasic-86386808-20316202 launched on Node cn-jenkins-deploy-platform-ansible-os-5570-1 2026-04-01 16:10:54,373 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/2df34add-7317-4301-9c3d-fb3cb84c1b2e 2026-04-01 16:10:54,384 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/746c342b-c8b9-4ea7-a1e7-a6ee2245bcd0 2026-04-01 16:10:55,626 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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 = 1.155/2.106/3.058/0.951 ms') 2026-04-01 16:10:55,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86386808-20316202 passed 2026-04-01 16:10:55,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 16:10:55,781 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86386808-20316202, IP 43.100.77.195, Port 22 2026-04-01 16:10:55,947 - DEBUG - VM ctest-TestRoutersBasic-86386808-20316202 is ready for SSH connections 2026-04-01 16:10:55,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 16:10:55,947 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.100.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-01 16:10:55,947 - DEBUG - ping -s 56 -c 3 -W 1 43.100.77.195 2026-04-01 16:10:59,674 - DEBUG - PING 43.100.77.195 (43.100.77.195): 56 data bytes 64 bytes from 43.100.77.195: seq=0 ttl=62 time=6.902 ms 64 bytes from 43.100.77.195: seq=1 ttl=62 time=0.950 ms 64 bytes from 43.100.77.195: seq=2 ttl=62 time=1.204 ms --- 43.100.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.950/3.018/6.902 ms 2026-04-01 16:10:59,674 - INFO - Ping to IP 43.100.77.195 from VM ctest-TestRoutersBasic-86386808-62017521 passed 2026-04-01 16:10:59,674 - INFO - Deleting interface with subnet_id cdca3ead-9366-4add-bbff-6d9319942454, port_id None from router 5ef7cee1-a4aa-4cce-8d95-bb298b2c8547 2026-04-01 16:10:59,905 - INFO - Deleting VM ctest-TestRoutersBasic-86386808-20316202 2026-04-01 16:10:59,986 - INFO - Deleting VM ctest-TestRoutersBasic-86386808-62017521 2026-04-01 16:11:00,070 - INFO - Deleting VN ctest-ext_vn-48648673 2026-04-01 16:11:00,163 - DEBUG - VN 95eb4d9a-c8c0-461a-8a85-1048afffe5cb still in use: Unable to complete operation on network 95eb4d9a-c8c0-461a-8a85-1048afffe5cb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-98495640-8636-4aea-92b5-8537f3c9dedd'] 2026-04-01 16:11:00,163 - WARNING - Deleting VN ctest-ext_vn-48648673 failed..Will retry 2026-04-01 16:11:02,282 - DEBUG - Response for deleting network () 2026-04-01 16:11:02,282 - INFO - Deleting VN ctest-vn-46646999 2026-04-01 16:11:02,401 - DEBUG - Response for deleting network () 2026-04-01 16:11:02,672 - DEBUG - No XMPP flaps were noticed during the test
2026-04-01 16:11:02,672 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-01 16:11:02,672 - INFO - -------------------------------------------------------------------------------- 2026-04-01 16:11:03,399 - INFO - Deleted project: ctest-TestRoutersBasic-86386808, ID : b99d87a4-28d4-48b9-a116-63cdacc1b136