2026-05-07 02:44:16,938 - INFO - Domain Default found not creating 2026-05-07 02:44:17,126 - INFO - Project ctest-TestRoutersBasic-51627402 not found, creating it 2026-05-07 02:44:17,711 - INFO - Created Project:ctest-TestRoutersBasic-51627402, ID : afad3034-5d75-4781-af0a-52b3002b93e3 2026-05-07 02:44:19,433 - INFO - ================================================================================ 2026-05-07 02:44:19,433 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-07 02:44:19,433 - 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-05-07 02:44:20,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.240': {'10.20.0.129': '0', '10.20.0.193': '0'}} with 2026-05-07 02:44:20,742 - INFO - Initial checks done. Running the testcase now 2026-05-07 02:44:20,742 - INFO - 2026-05-07 02:44:21,499 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51627402 2026-05-07 02:44:21,563 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51627402 2026-05-07 02:44:21,982 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51627402', 'default']} 2026-05-07 02:44:22,523 - DEBUG - Response for create_network : {'network': {'id': 'b462cee1-407c-4b43-bf94-4f8ddd093d37', 'name': 'ctest-vn-24775583', 'tenant_id': 'afad30345d754781af0a52b3002b93e3', 'project_id': 'afad30345d754781af0a52b3002b93e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51627402', 'ctest-vn-24775583'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:44:22,842 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4288fe6-e114-4458-b2b9-4dc3a2e7981e', 'name': '', 'tenant_id': 'afad30345d754781af0a52b3002b93e3', 'network_id': 'b462cee1-407c-4b43-bf94-4f8ddd093d37', 'ip_version': 4, 'cidr': '103.47.178.192/26', 'allocation_pools': [{'start': '103.47.178.194', 'end': '103.47.178.254'}], 'gateway_ip': '103.47.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.47.178.194', 'tags': [], 'project_id': 'afad30345d754781af0a52b3002b93e3'}} 2026-05-07 02:44:22,872 - INFO - Created VN ctest-vn-24775583 2026-05-07 02:44:22,886 - DEBUG - VN ctest-vn-24775583 UUID is b462cee1-407c-4b43-bf94-4f8ddd093d37 2026-05-07 02:44:23,357 - DEBUG - Response for create_network : {'network': {'id': '2a798268-2e35-40a4-8cf2-677fbe761fb5', 'name': 'ctest-ext_vn-04281016', 'tenant_id': 'afad30345d754781af0a52b3002b93e3', 'project_id': 'afad30345d754781af0a52b3002b93e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51627402', 'ctest-ext_vn-04281016'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:44:23,682 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7865b90-c936-44a5-9368-db2f6b06c545', 'name': '', 'tenant_id': 'afad30345d754781af0a52b3002b93e3', 'network_id': '2a798268-2e35-40a4-8cf2-677fbe761fb5', 'ip_version': 4, 'cidr': '2.9.235.64/26', 'allocation_pools': [{'start': '2.9.235.66', 'end': '2.9.235.126'}], 'gateway_ip': '2.9.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.9.235.66', 'tags': [], 'project_id': 'afad30345d754781af0a52b3002b93e3'}} 2026-05-07 02:44:23,712 - INFO - Created VN ctest-ext_vn-04281016 2026-05-07 02:44:23,727 - DEBUG - VN ctest-ext_vn-04281016 UUID is 2a798268-2e35-40a4-8cf2-677fbe761fb5 2026-05-07 02:44:23,882 - DEBUG - Services list from nova: [, , , ] 2026-05-07 02:44:25,130 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5754-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5754-2) 2026-05-07 02:44:26,732 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5754-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5754-1) 2026-05-07 02:44:26,907 - INFO - Setting gateway for router 03e4499d-2362-4e44-9bb0-cc7234212f68 to network 2a798268-2e35-40a4-8cf2-677fbe761fb5 2026-05-07 02:44:27,002 - INFO - Adding interface with subnet_id b4288fe6-e114-4458-b2b9-4dc3a2e7981e, port_id None to router 03e4499d-2362-4e44-9bb0-cc7234212f68 2026-05-07 02:44:27,448 - INFO - Waiting for VM ctest-TestRoutersBasic-51627402-79799461 to be up.. 2026-05-07 02:44:27,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 02:44:32,801 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:44:32,801 - INFO - VM name : ctest-TestRoutersBasic-51627402-79799461 2026-05-07 02:44:32,909 - DEBUG - VM ctest-TestRoutersBasic-51627402-79799461 ID is f009a856-5df5-4bdd-adb5-ef52f2b7aa96 2026-05-07 02:44:32,947 - DEBUG - VM ctest-TestRoutersBasic-51627402-79799461 launched on Node an-jenkins-deploy-platform-ansible-os-5754-2 2026-05-07 02:44:33,071 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f009a856-5df5-4bdd-adb5-ef52f2b7aa96 2026-05-07 02:44:33,394 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f009a856-5df5-4bdd-adb5-ef52f2b7aa96 2026-05-07 02:44:33,442 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cdcf58a8-9e2e-4588-8c17-0cc12226d081 2026-05-07 02:44:36,649 - 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 1031ms') 2026-05-07 02:44:36,650 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51627402-79799461 failed! 2026-05-07 02:44:36,668 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51627402:ctest-vn-24775583 is 103.47.178.193 and allocation pool is NOT set 2026-05-07 02:44:38,736 - 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=5.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.669 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.669/2.897/5.125/2.228 ms') 2026-05-07 02:44:38,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51627402-79799461 passed 2026-05-07 02:44:38,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:44:38,809 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51627402-79799461, IP 103.47.178.195, Port 22 2026-05-07 02:44:38,983 - DEBUG - VM ctest-TestRoutersBasic-51627402-79799461 is ready for SSH connections 2026-05-07 02:44:38,983 - INFO - Waiting for VM ctest-TestRoutersBasic-51627402-78323157 to be up.. 2026-05-07 02:44:39,090 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:44:39,091 - INFO - VM name : ctest-TestRoutersBasic-51627402-78323157 2026-05-07 02:44:39,201 - DEBUG - VM ctest-TestRoutersBasic-51627402-78323157 ID is 783f21ba-d7dd-4aaa-b743-184ba1180891 2026-05-07 02:44:39,201 - DEBUG - VM ctest-TestRoutersBasic-51627402-78323157 launched on Node an-jenkins-deploy-platform-ansible-os-5754-1 2026-05-07 02:44:39,324 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/783f21ba-d7dd-4aaa-b743-184ba1180891 2026-05-07 02:44:39,338 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0704961b-bdad-4325-aa9f-5d98f939c1b9 2026-05-07 02:44:40,536 - 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=5.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 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 = 1.190/3.170/5.151/1.980 ms') 2026-05-07 02:44:40,536 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51627402-78323157 passed 2026-05-07 02:44:40,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:44:40,612 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51627402-78323157, IP 2.9.235.67, Port 22 2026-05-07 02:44:40,780 - DEBUG - VM ctest-TestRoutersBasic-51627402-78323157 is ready for SSH connections 2026-05-07 02:44:40,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:44:40,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.9.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-07 02:44:40,781 - DEBUG - ping -s 56 -c 3 -W 1 2.9.235.67 2026-05-07 02:44:44,516 - DEBUG - PING 2.9.235.67 (2.9.235.67): 56 data bytes 64 bytes from 2.9.235.67: seq=0 ttl=62 time=11.415 ms 64 bytes from 2.9.235.67: seq=1 ttl=62 time=1.913 ms 64 bytes from 2.9.235.67: seq=2 ttl=62 time=1.607 ms --- 2.9.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.607/4.978/11.415 ms 2026-05-07 02:44:44,516 - INFO - Ping to IP 2.9.235.67 from VM ctest-TestRoutersBasic-51627402-79799461 passed 2026-05-07 02:44:44,516 - INFO - Deleting interface with subnet_id b4288fe6-e114-4458-b2b9-4dc3a2e7981e, port_id None from router 03e4499d-2362-4e44-9bb0-cc7234212f68 2026-05-07 02:44:44,952 - INFO - Deleting VM ctest-TestRoutersBasic-51627402-78323157 2026-05-07 02:44:45,136 - INFO - Deleting VM ctest-TestRoutersBasic-51627402-79799461 2026-05-07 02:44:45,317 - INFO - Deleting VN ctest-ext_vn-04281016 2026-05-07 02:44:45,414 - DEBUG - VN 2a798268-2e35-40a4-8cf2-677fbe761fb5 still in use: Unable to complete operation on network 2a798268-2e35-40a4-8cf2-677fbe761fb5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fdf503e2-901f-45e7-a2a6-5dde2609bb20'] 2026-05-07 02:44:45,414 - WARNING - Deleting VN ctest-ext_vn-04281016 failed..Will retry 2026-05-07 02:44:47,669 - DEBUG - Response for deleting network () 2026-05-07 02:44:47,670 - INFO - Deleting VN ctest-vn-24775583 2026-05-07 02:44:47,924 - DEBUG - Response for deleting network () 2026-05-07 02:44:49,222 - DEBUG - No XMPP flaps were noticed during the test
2026-05-07 02:44:49,222 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2026-05-07 02:44:49,223 - INFO - -------------------------------------------------------------------------------- 2026-05-07 02:44:50,025 - INFO - Deleted project: ctest-TestRoutersBasic-51627402, ID : afad3034-5d75-4781-af0a-52b3002b93e3