2025-11-17 02:17:57,112 - INFO - Domain Default found not creating 2025-11-17 02:17:57,307 - INFO - Project ctest-TestRoutersBasic-70995963 not found, creating it 2025-11-17 02:17:57,834 - INFO - Created Project:ctest-TestRoutersBasic-70995963, ID : 20bb680e-1031-46ab-9549-6128b7eee16a 2025-11-17 02:17:59,646 - INFO - ================================================================================ 2025-11-17 02:17:59,646 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-17 02:17:59,646 - 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 2025-11-17 02:18:00,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.73': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2025-11-17 02:18:00,928 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:18:00,928 - INFO - 2025-11-17 02:18:01,791 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70995963 2025-11-17 02:18:01,851 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70995963 2025-11-17 02:18:02,157 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70995963', 'default']} 2025-11-17 02:18:02,595 - DEBUG - Response for create_network : {'network': {'id': 'f3797332-9601-4ec0-987c-8f0a506820ff', 'name': 'ctest-vn-49080307', 'tenant_id': '20bb680e103146ab95496128b7eee16a', 'project_id': '20bb680e103146ab95496128b7eee16a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70995963', 'ctest-vn-49080307'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:18:02,932 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9b5aa88-4573-472d-acc5-feec87ae233c', 'name': '', 'tenant_id': '20bb680e103146ab95496128b7eee16a', 'network_id': 'f3797332-9601-4ec0-987c-8f0a506820ff', 'ip_version': 4, 'cidr': '150.214.241.128/26', 'allocation_pools': [{'start': '150.214.241.130', 'end': '150.214.241.190'}], 'gateway_ip': '150.214.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.214.241.130', 'tags': [], 'project_id': '20bb680e103146ab95496128b7eee16a'}} 2025-11-17 02:18:02,956 - INFO - Created VN ctest-vn-49080307 2025-11-17 02:18:02,971 - DEBUG - VN ctest-vn-49080307 UUID is f3797332-9601-4ec0-987c-8f0a506820ff 2025-11-17 02:18:03,410 - DEBUG - Response for create_network : {'network': {'id': '9f4c5be1-5e41-405b-bd86-4fedcac7da55', 'name': 'ctest-ext_vn-10319258', 'tenant_id': '20bb680e103146ab95496128b7eee16a', 'project_id': '20bb680e103146ab95496128b7eee16a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70995963', 'ctest-ext_vn-10319258'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:18:03,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac12c5b5-889b-4284-8e5d-237a47b7f7be', 'name': '', 'tenant_id': '20bb680e103146ab95496128b7eee16a', 'network_id': '9f4c5be1-5e41-405b-bd86-4fedcac7da55', 'ip_version': 4, 'cidr': '24.116.54.64/26', 'allocation_pools': [{'start': '24.116.54.66', 'end': '24.116.54.126'}], 'gateway_ip': '24.116.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.116.54.66', 'tags': [], 'project_id': '20bb680e103146ab95496128b7eee16a'}} 2025-11-17 02:18:03,701 - INFO - Created VN ctest-ext_vn-10319258 2025-11-17 02:18:03,714 - DEBUG - VN ctest-ext_vn-10319258 UUID is 9f4c5be1-5e41-405b-bd86-4fedcac7da55 2025-11-17 02:18:03,875 - DEBUG - Services list from nova: [, , , ] 2025-11-17 02:18:05,078 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4736-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4736-1) 2025-11-17 02:18:06,880 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4736-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4736-2) 2025-11-17 02:18:07,009 - INFO - Setting gateway for router 5d4b595c-da21-4a04-9831-91853e7a3980 to network 9f4c5be1-5e41-405b-bd86-4fedcac7da55 2025-11-17 02:18:07,170 - INFO - Adding interface with subnet_id d9b5aa88-4573-472d-acc5-feec87ae233c, port_id None to router 5d4b595c-da21-4a04-9831-91853e7a3980 2025-11-17 02:18:07,796 - INFO - Waiting for VM ctest-TestRoutersBasic-70995963-89760610 to be up.. 2025-11-17 02:18:08,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:18:13,230 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:18:13,230 - INFO - VM name : ctest-TestRoutersBasic-70995963-89760610 2025-11-17 02:18:13,349 - DEBUG - VM ctest-TestRoutersBasic-70995963-89760610 ID is aaf714ad-7165-4797-b2ba-23f94d221dd7 2025-11-17 02:18:13,380 - DEBUG - VM ctest-TestRoutersBasic-70995963-89760610 launched on Node an-jenkins-deploy-platform-ansible-os-4736-1 2025-11-17 02:18:13,494 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/aaf714ad-7165-4797-b2ba-23f94d221dd7 2025-11-17 02:18:13,881 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/aaf714ad-7165-4797-b2ba-23f94d221dd7 2025-11-17 02:18:13,929 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5338d9e4-f13d-4f7e-b072-d8f99d2f076b 2025-11-17 02:18:17,139 - 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 1023ms') 2025-11-17 02:18:17,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70995963-89760610 failed! 2025-11-17 02:18:17,156 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70995963:ctest-vn-49080307 is 150.214.241.129 and allocation pool is NOT set 2025-11-17 02:18:19,222 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.070/5.764/10.459/4.694 ms') 2025-11-17 02:18:19,222 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70995963-89760610 passed 2025-11-17 02:18:19,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:18:19,295 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70995963-89760610, IP 150.214.241.131, Port 22 2025-11-17 02:18:19,461 - DEBUG - VM ctest-TestRoutersBasic-70995963-89760610 is ready for SSH connections 2025-11-17 02:18:19,461 - INFO - Waiting for VM ctest-TestRoutersBasic-70995963-93360458 to be up.. 2025-11-17 02:18:19,550 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:18:19,551 - INFO - VM name : ctest-TestRoutersBasic-70995963-93360458 2025-11-17 02:18:19,639 - DEBUG - VM ctest-TestRoutersBasic-70995963-93360458 ID is 090eb8e2-cfc3-4dda-b36c-b6c933d3438b 2025-11-17 02:18:19,639 - DEBUG - VM ctest-TestRoutersBasic-70995963-93360458 launched on Node an-jenkins-deploy-platform-ansible-os-4736-2 2025-11-17 02:18:19,737 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/090eb8e2-cfc3-4dda-b36c-b6c933d3438b 2025-11-17 02:18:19,749 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f216c293-8957-4f2b-b026-5654436b974f 2025-11-17 02:18:20,928 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.673 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.673/1.843/3.014/1.170 ms') 2025-11-17 02:18:20,928 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70995963-93360458 passed 2025-11-17 02:18:20,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:18:20,998 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70995963-93360458, IP 24.116.54.67, Port 22 2025-11-17 02:18:21,165 - DEBUG - VM ctest-TestRoutersBasic-70995963-93360458 is ready for SSH connections 2025-11-17 02:18:21,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:18:21,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.116.54.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 02:18:21,166 - DEBUG - ping -s 56 -c 3 -W 1 24.116.54.67 2025-11-17 02:18:24,905 - DEBUG - PING 24.116.54.67 (24.116.54.67): 56 data bytes 64 bytes from 24.116.54.67: seq=0 ttl=62 time=10.346 ms 64 bytes from 24.116.54.67: seq=1 ttl=62 time=1.241 ms 64 bytes from 24.116.54.67: seq=2 ttl=62 time=1.286 ms --- 24.116.54.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.241/4.291/10.346 ms 2025-11-17 02:18:24,905 - INFO - Ping to IP 24.116.54.67 from VM ctest-TestRoutersBasic-70995963-89760610 passed 2025-11-17 02:18:24,905 - INFO - Deleting interface with subnet_id d9b5aa88-4573-472d-acc5-feec87ae233c, port_id None from router 5d4b595c-da21-4a04-9831-91853e7a3980 2025-11-17 02:18:25,263 - INFO - Deleting VM ctest-TestRoutersBasic-70995963-93360458 2025-11-17 02:18:25,375 - INFO - Deleting VM ctest-TestRoutersBasic-70995963-89760610 2025-11-17 02:18:25,489 - INFO - Deleting VN ctest-ext_vn-10319258 2025-11-17 02:18:25,646 - DEBUG - VN 9f4c5be1-5e41-405b-bd86-4fedcac7da55 still in use: Unable to complete operation on network 9f4c5be1-5e41-405b-bd86-4fedcac7da55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3f59526-2ec8-4d66-816e-d491a754026e'] 2025-11-17 02:18:25,647 - WARNING - Deleting VN ctest-ext_vn-10319258 failed..Will retry 2025-11-17 02:18:27,887 - DEBUG - Response for deleting network () 2025-11-17 02:18:27,887 - INFO - Deleting VN ctest-vn-49080307 2025-11-17 02:18:28,051 - DEBUG - Response for deleting network () 2025-11-17 02:18:29,324 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 02:18:29,325 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-11-17 02:18:29,325 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:18:30,221 - INFO - Deleted project: ctest-TestRoutersBasic-70995963, ID : 20bb680e-1031-46ab-9549-6128b7eee16a