2025-04-15 18:12:09,956 - INFO - Domain Default found not creating 2025-04-15 18:12:10,104 - INFO - Project ctest-TestRoutersBasic-14532899 not found, creating it 2025-04-15 18:12:10,567 - INFO - Created Project:ctest-TestRoutersBasic-14532899, ID : ebd13012-ce73-42da-9c29-efaf0d6596ef 2025-04-15 18:12:11,994 - INFO - ================================================================================ 2025-04-15 18:12:11,994 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-15 18:12:11,994 - 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-15 18:12:12,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-15 18:12:12,249 - INFO - Initial checks done. Running the testcase now 2025-04-15 18:12:12,249 - INFO - 2025-04-15 18:12:12,982 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14532899 2025-04-15 18:12:13,078 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14532899 2025-04-15 18:12:13,398 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14532899', 'default']} 2025-04-15 18:12:13,694 - DEBUG - Response for create_network : {'network': {'id': '375643de-ee33-4d3f-875f-e0f98559cbe1', 'name': 'ctest-vn-90781896', 'tenant_id': 'ebd13012ce7342da9c29efaf0d6596ef', 'project_id': 'ebd13012ce7342da9c29efaf0d6596ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14532899', 'ctest-vn-90781896'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 18:12:13,837 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e853e1f1-596f-466e-b5b2-d714fe3521ca', 'name': '', 'tenant_id': 'ebd13012ce7342da9c29efaf0d6596ef', 'network_id': '375643de-ee33-4d3f-875f-e0f98559cbe1', 'ip_version': 4, 'cidr': '27.225.67.64/26', 'allocation_pools': [{'start': '27.225.67.66', 'end': '27.225.67.126'}], 'gateway_ip': '27.225.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.225.67.66', 'tags': [], 'project_id': 'ebd13012ce7342da9c29efaf0d6596ef'}} 2025-04-15 18:12:13,855 - INFO - Created VN ctest-vn-90781896 2025-04-15 18:12:13,910 - DEBUG - VN ctest-vn-90781896 UUID is 375643de-ee33-4d3f-875f-e0f98559cbe1 2025-04-15 18:12:14,247 - DEBUG - Response for create_network : {'network': {'id': 'e4d97a32-37ee-4b25-9f27-9d12c475115d', 'name': 'ctest-ext_vn-18578236', 'tenant_id': 'ebd13012ce7342da9c29efaf0d6596ef', 'project_id': 'ebd13012ce7342da9c29efaf0d6596ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14532899', 'ctest-ext_vn-18578236'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 18:12:14,452 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3e19c67-921e-4040-9ce7-40c06188fb3e', 'name': '', 'tenant_id': 'ebd13012ce7342da9c29efaf0d6596ef', 'network_id': 'e4d97a32-37ee-4b25-9f27-9d12c475115d', 'ip_version': 4, 'cidr': '46.95.246.192/26', 'allocation_pools': [{'start': '46.95.246.194', 'end': '46.95.246.254'}], 'gateway_ip': '46.95.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.95.246.194', 'tags': [], 'project_id': 'ebd13012ce7342da9c29efaf0d6596ef'}} 2025-04-15 18:12:14,469 - INFO - Created VN ctest-ext_vn-18578236 2025-04-15 18:12:14,522 - DEBUG - VN ctest-ext_vn-18578236 UUID is e4d97a32-37ee-4b25-9f27-9d12c475115d 2025-04-15 18:12:14,726 - DEBUG - Services list from nova: [, , ] 2025-04-15 18:12:15,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3121-1) 2025-04-15 18:12:16,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3121-1) 2025-04-15 18:12:16,983 - INFO - Setting gateway for router d6237ea9-03a6-430b-aae8-3bb228636994 to network e4d97a32-37ee-4b25-9f27-9d12c475115d 2025-04-15 18:12:17,067 - INFO - Adding interface with subnet_id e853e1f1-596f-466e-b5b2-d714fe3521ca, port_id None to router d6237ea9-03a6-430b-aae8-3bb228636994 2025-04-15 18:12:17,447 - INFO - Waiting for VM ctest-TestRoutersBasic-14532899-10183315 to be up.. 2025-04-15 18:12:17,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 18:12:22,717 - DEBUG - VM is in ACTIVE state now 2025-04-15 18:12:22,717 - INFO - VM name : ctest-TestRoutersBasic-14532899-10183315 2025-04-15 18:12:22,796 - DEBUG - VM ctest-TestRoutersBasic-14532899-10183315 ID is 9b2a5a47-63df-4a25-be2b-f871435e6dca 2025-04-15 18:12:22,816 - DEBUG - VM ctest-TestRoutersBasic-14532899-10183315 launched on Node cn-jenkins-deploy-platform-ansible-os-3121-1 2025-04-15 18:12:22,899 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b2a5a47-63df-4a25-be2b-f871435e6dca 2025-04-15 18:12:23,192 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b2a5a47-63df-4a25-be2b-f871435e6dca 2025-04-15 18:12:23,226 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1ac07abf-81a6-4443-ba95-033dcd4924d2 2025-04-15 18:12:26,479 - 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 1013ms') 2025-04-15 18:12:26,479 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14532899-10183315 failed! 2025-04-15 18:12:26,534 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14532899:ctest-vn-90781896 is 27.225.67.65 and allocation pool is NOT set 2025-04-15 18:12:28,600 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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.169/2.958/4.747/1.789 ms') 2025-04-15 18:12:28,600 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14532899-10183315 passed 2025-04-15 18:12:28,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 18:12:28,750 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14532899-10183315, IP 27.225.67.67, Port 22 2025-04-15 18:12:28,906 - DEBUG - VM ctest-TestRoutersBasic-14532899-10183315 is ready for SSH connections 2025-04-15 18:12:28,906 - INFO - Waiting for VM ctest-TestRoutersBasic-14532899-53956063 to be up.. 2025-04-15 18:12:28,983 - DEBUG - VM is in ACTIVE state now 2025-04-15 18:12:28,983 - INFO - VM name : ctest-TestRoutersBasic-14532899-53956063 2025-04-15 18:12:29,054 - DEBUG - VM ctest-TestRoutersBasic-14532899-53956063 ID is e94ead76-2264-4d29-879f-87c149bdb155 2025-04-15 18:12:29,054 - DEBUG - VM ctest-TestRoutersBasic-14532899-53956063 launched on Node cn-jenkins-deploy-platform-ansible-os-3121-1 2025-04-15 18:12:29,130 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e94ead76-2264-4d29-879f-87c149bdb155 2025-04-15 18:12:29,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fabaf9c2-af57-4f75-9e37-ce2c82de0420 2025-04-15 18:12:30,383 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.384/1.579/2.774/1.195 ms') 2025-04-15 18:12:30,384 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14532899-53956063 passed 2025-04-15 18:12:30,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 18:12:30,538 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14532899-53956063, IP 46.95.246.195, Port 22 2025-04-15 18:12:30,698 - DEBUG - VM ctest-TestRoutersBasic-14532899-53956063 is ready for SSH connections 2025-04-15 18:12:30,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 18:12:30,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.95.246.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-15 18:12:30,698 - DEBUG - ping -s 56 -c 3 -W 1 46.95.246.195 2025-04-15 18:12:34,374 - DEBUG - PING 46.95.246.195 (46.95.246.195): 56 data bytes 64 bytes from 46.95.246.195: seq=0 ttl=62 time=7.363 ms 64 bytes from 46.95.246.195: seq=1 ttl=62 time=0.760 ms 64 bytes from 46.95.246.195: seq=2 ttl=62 time=0.806 ms --- 46.95.246.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/2.976/7.363 ms 2025-04-15 18:12:34,374 - INFO - Ping to IP 46.95.246.195 from VM ctest-TestRoutersBasic-14532899-10183315 passed 2025-04-15 18:12:34,375 - INFO - Deleting interface with subnet_id e853e1f1-596f-466e-b5b2-d714fe3521ca, port_id None from router d6237ea9-03a6-430b-aae8-3bb228636994 2025-04-15 18:12:34,588 - INFO - Deleting VM ctest-TestRoutersBasic-14532899-53956063 2025-04-15 18:12:34,658 - INFO - Deleting VM ctest-TestRoutersBasic-14532899-10183315 2025-04-15 18:12:34,741 - INFO - Deleting VN ctest-ext_vn-18578236 2025-04-15 18:12:34,813 - DEBUG - VN e4d97a32-37ee-4b25-9f27-9d12c475115d still in use: Unable to complete operation on network e4d97a32-37ee-4b25-9f27-9d12c475115d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72b5e62d-e6bb-4c62-8119-f0dd6d456f9a'] 2025-04-15 18:12:34,814 - WARNING - Deleting VN ctest-ext_vn-18578236 failed..Will retry 2025-04-15 18:12:37,042 - DEBUG - Response for deleting network () 2025-04-15 18:12:37,043 - INFO - Deleting VN ctest-vn-90781896 2025-04-15 18:12:37,305 - DEBUG - Response for deleting network () 2025-04-15 18:12:37,560 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 18:12:37,560 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-15 18:12:37,560 - INFO - -------------------------------------------------------------------------------- 2025-04-15 18:12:38,252 - INFO - Deleted project: ctest-TestRoutersBasic-14532899, ID : ebd13012-ce73-42da-9c29-efaf0d6596ef