2025-04-19 08:28:06,309 - INFO - Domain Default found not creating 2025-04-19 08:28:06,482 - INFO - Project ctest-TestRoutersBasic-61956851 not found, creating it 2025-04-19 08:28:06,943 - INFO - Created Project:ctest-TestRoutersBasic-61956851, ID : 4f9df1d7-348b-4f0d-990b-94143334414c 2025-04-19 08:28:08,324 - INFO - ================================================================================ 2025-04-19 08:28:08,324 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-19 08:28:08,324 - 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-04-19 08:28:08,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-19 08:28:08,582 - INFO - Initial checks done. Running the testcase now 2025-04-19 08:28:08,582 - INFO - 2025-04-19 08:28:09,281 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61956851 2025-04-19 08:28:09,375 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61956851 2025-04-19 08:28:09,702 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61956851', 'default']} 2025-04-19 08:28:09,987 - DEBUG - Response for create_network : {'network': {'id': '70729b26-48b3-480e-8790-8debcf6ede92', 'name': 'ctest-vn-73319889', 'tenant_id': '4f9df1d7348b4f0d990b94143334414c', 'project_id': '4f9df1d7348b4f0d990b94143334414c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61956851', 'ctest-vn-73319889'], 'port_security_enabled': True, 'description': ''}} 2025-04-19 08:28:10,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '20bba429-10eb-4538-ba96-aa3a842cc244', 'name': '', 'tenant_id': '4f9df1d7348b4f0d990b94143334414c', 'network_id': '70729b26-48b3-480e-8790-8debcf6ede92', 'ip_version': 4, 'cidr': '174.51.41.0/26', 'allocation_pools': [{'start': '174.51.41.2', 'end': '174.51.41.62'}], 'gateway_ip': '174.51.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.51.41.2', 'tags': [], 'project_id': '4f9df1d7348b4f0d990b94143334414c'}} 2025-04-19 08:28:10,212 - INFO - Created VN ctest-vn-73319889 2025-04-19 08:28:10,263 - DEBUG - VN ctest-vn-73319889 UUID is 70729b26-48b3-480e-8790-8debcf6ede92 2025-04-19 08:28:10,620 - DEBUG - Response for create_network : {'network': {'id': '8fe7452a-5cc8-47f4-961b-df619a49118d', 'name': 'ctest-ext_vn-53097316', 'tenant_id': '4f9df1d7348b4f0d990b94143334414c', 'project_id': '4f9df1d7348b4f0d990b94143334414c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61956851', 'ctest-ext_vn-53097316'], 'port_security_enabled': True, 'description': ''}} 2025-04-19 08:28:10,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee8815e2-53d1-4c65-9de3-b2edc6d010fe', 'name': '', 'tenant_id': '4f9df1d7348b4f0d990b94143334414c', 'network_id': '8fe7452a-5cc8-47f4-961b-df619a49118d', 'ip_version': 4, 'cidr': '177.202.34.192/26', 'allocation_pools': [{'start': '177.202.34.194', 'end': '177.202.34.254'}], 'gateway_ip': '177.202.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.202.34.194', 'tags': [], 'project_id': '4f9df1d7348b4f0d990b94143334414c'}} 2025-04-19 08:28:10,828 - INFO - Created VN ctest-ext_vn-53097316 2025-04-19 08:28:10,879 - DEBUG - VN ctest-ext_vn-53097316 UUID is 8fe7452a-5cc8-47f4-961b-df619a49118d 2025-04-19 08:28:11,076 - DEBUG - Services list from nova: [, , ] 2025-04-19 08:28:12,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3141-1) 2025-04-19 08:28:13,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3141-1) 2025-04-19 08:28:13,325 - INFO - Setting gateway for router c54bdf8f-3824-4e76-ae1a-9eae59847d92 to network 8fe7452a-5cc8-47f4-961b-df619a49118d 2025-04-19 08:28:13,398 - INFO - Adding interface with subnet_id 20bba429-10eb-4538-ba96-aa3a842cc244, port_id None to router c54bdf8f-3824-4e76-ae1a-9eae59847d92 2025-04-19 08:28:13,752 - INFO - Waiting for VM ctest-TestRoutersBasic-61956851-35475232 to be up.. 2025-04-19 08:28:13,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-19 08:28:19,043 - DEBUG - VM is in ACTIVE state now 2025-04-19 08:28:19,043 - INFO - VM name : ctest-TestRoutersBasic-61956851-35475232 2025-04-19 08:28:19,115 - DEBUG - VM ctest-TestRoutersBasic-61956851-35475232 ID is 225cf1d8-8fdb-4d97-9fcf-aee8c4b73fbc 2025-04-19 08:28:19,133 - DEBUG - VM ctest-TestRoutersBasic-61956851-35475232 launched on Node cn-jenkins-deploy-platform-ansible-os-3141-1 2025-04-19 08:28:19,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/225cf1d8-8fdb-4d97-9fcf-aee8c4b73fbc 2025-04-19 08:28:19,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/225cf1d8-8fdb-4d97-9fcf-aee8c4b73fbc 2025-04-19 08:28:19,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2df7ebc8-e81e-4ea9-b5e1-0ac084322be7 2025-04-19 08:28:22,778 - 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 1016ms') 2025-04-19 08:28:22,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61956851-35475232 failed! 2025-04-19 08:28:22,835 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61956851:ctest-vn-73319889 is 174.51.41.1 and allocation pool is NOT set 2025-04-19 08:28:24,893 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/2.891/5.386/2.495 ms') 2025-04-19 08:28:24,893 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61956851-35475232 passed 2025-04-19 08:28:25,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-19 08:28:25,047 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61956851-35475232, IP 174.51.41.3, Port 22 2025-04-19 08:28:25,198 - DEBUG - VM ctest-TestRoutersBasic-61956851-35475232 is ready for SSH connections 2025-04-19 08:28:25,198 - INFO - Waiting for VM ctest-TestRoutersBasic-61956851-87696042 to be up.. 2025-04-19 08:28:25,275 - DEBUG - VM is in ACTIVE state now 2025-04-19 08:28:25,275 - INFO - VM name : ctest-TestRoutersBasic-61956851-87696042 2025-04-19 08:28:25,346 - DEBUG - VM ctest-TestRoutersBasic-61956851-87696042 ID is b26e0dd5-6aac-40f2-8bf5-f74cb3a6b594 2025-04-19 08:28:25,346 - DEBUG - VM ctest-TestRoutersBasic-61956851-87696042 launched on Node cn-jenkins-deploy-platform-ansible-os-3141-1 2025-04-19 08:28:25,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b26e0dd5-6aac-40f2-8bf5-f74cb3a6b594 2025-04-19 08:28:25,426 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/38170084-09fa-42d9-94f4-57f13de3c0eb 2025-04-19 08:28:26,671 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.830/3.217/1.387 ms') 2025-04-19 08:28:26,672 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61956851-87696042 passed 2025-04-19 08:28:26,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-19 08:28:26,823 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61956851-87696042, IP 177.202.34.195, Port 22 2025-04-19 08:28:26,974 - DEBUG - VM ctest-TestRoutersBasic-61956851-87696042 is ready for SSH connections 2025-04-19 08:28:26,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-19 08:28:26,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.202.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-19 08:28:26,975 - DEBUG - ping -s 56 -c 3 -W 1 177.202.34.195 2025-04-19 08:28:30,655 - DEBUG - PING 177.202.34.195 (177.202.34.195): 56 data bytes 64 bytes from 177.202.34.195: seq=0 ttl=62 time=5.971 ms 64 bytes from 177.202.34.195: seq=1 ttl=62 time=1.340 ms 64 bytes from 177.202.34.195: seq=2 ttl=62 time=0.736 ms --- 177.202.34.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.736/2.682/5.971 ms 2025-04-19 08:28:30,655 - INFO - Ping to IP 177.202.34.195 from VM ctest-TestRoutersBasic-61956851-35475232 passed 2025-04-19 08:28:30,655 - INFO - Deleting interface with subnet_id 20bba429-10eb-4538-ba96-aa3a842cc244, port_id None from router c54bdf8f-3824-4e76-ae1a-9eae59847d92 2025-04-19 08:28:30,908 - INFO - Deleting VM ctest-TestRoutersBasic-61956851-87696042 2025-04-19 08:28:31,003 - INFO - Deleting VM ctest-TestRoutersBasic-61956851-35475232 2025-04-19 08:28:31,089 - INFO - Deleting VN ctest-ext_vn-53097316 2025-04-19 08:28:31,165 - DEBUG - VN 8fe7452a-5cc8-47f4-961b-df619a49118d still in use: Unable to complete operation on network 8fe7452a-5cc8-47f4-961b-df619a49118d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-788827d7-ab4f-4626-8ca0-b547b0228d97'] 2025-04-19 08:28:31,166 - WARNING - Deleting VN ctest-ext_vn-53097316 failed..Will retry 2025-04-19 08:28:33,260 - DEBUG - Response for deleting network () 2025-04-19 08:28:33,260 - INFO - Deleting VN ctest-vn-73319889 2025-04-19 08:28:33,364 - DEBUG - Response for deleting network () 2025-04-19 08:28:33,616 - DEBUG - No XMPP flaps were noticed during the test 2025-04-19 08:28:33,616 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-04-19 08:28:33,616 - INFO - -------------------------------------------------------------------------------- 2025-04-19 08:28:34,286 - INFO - Deleted project: ctest-TestRoutersBasic-61956851, ID : 4f9df1d7-348b-4f0d-990b-94143334414c