2024-12-26 01:55:51,252 - INFO - Reading existing Domain with UUID e87579be-da4b-4b50-b3a2-8e191a3368e1 2024-12-26 01:55:51,265 - INFO - Using existing domain ['admin_domain'](e87579be-da4b-4b50-b3a2-8e191a3368e1) 2024-12-26 01:55:51,504 - INFO - Project ctest-TestRoutersBasic-34892932 not found, creating it 2024-12-26 01:55:52,194 - INFO - Created Project:ctest-TestRoutersBasic-34892932, ID : 8149a9a0-f501-4266-a6b2-185df4ed2af4 2024-12-26 01:55:53,961 - INFO - ================================================================================ 2024-12-26 01:55:53,961 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-12-26 01:55:53,961 - 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 2024-12-26 01:55:54,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.0.0.29': '0'}} with 2024-12-26 01:55:54,348 - INFO - Initial checks done. Running the testcase now 2024-12-26 01:55:54,348 - INFO - 2024-12-26 01:55:55,170 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34892932 2024-12-26 01:55:55,270 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34892932 2024-12-26 01:55:55,626 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-34892932', 'default']} 2024-12-26 01:55:56,131 - DEBUG - Response for create_network : {'network': {'id': 'd66bbe92-bf5f-45f7-97dd-834bd73bbcf1', 'name': 'ctest-vn-94224665', 'tenant_id': '8149a9a0f5014266a6b2185df4ed2af4', 'project_id': '8149a9a0f5014266a6b2185df4ed2af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-34892932', 'ctest-vn-94224665'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-12-26 01:55:56,332 - DEBUG - Response for create_subnet : {'subnet': {'id': '715123dc-198f-4043-baa6-cd0a950455b5', 'name': '', 'tenant_id': '8149a9a0f5014266a6b2185df4ed2af4', 'network_id': 'd66bbe92-bf5f-45f7-97dd-834bd73bbcf1', 'ip_version': 4, 'cidr': '75.57.13.128/26', 'allocation_pools': [{'start': '75.57.13.130', 'end': '75.57.13.190'}], 'gateway_ip': '75.57.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-12-26T01:55:56.234018', 'updated_at': '2024-12-26T01:55:56.234018', 'dns_server_address': '75.57.13.130', 'tags': [], 'project_id': '8149a9a0f5014266a6b2185df4ed2af4'}} 2024-12-26 01:55:56,408 - INFO - Created VN ctest-vn-94224665 2024-12-26 01:55:56,462 - DEBUG - VN ctest-vn-94224665 UUID is d66bbe92-bf5f-45f7-97dd-834bd73bbcf1 2024-12-26 01:55:57,004 - DEBUG - Response for create_network : {'network': {'id': '4d4e666a-59c4-4b15-a563-5b714a3eadb4', 'name': 'ctest-ext_vn-82029097', 'tenant_id': '8149a9a0f5014266a6b2185df4ed2af4', 'project_id': '8149a9a0f5014266a6b2185df4ed2af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-34892932', 'ctest-ext_vn-82029097'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-12-26 01:55:57,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '3526532d-6aba-456c-b5df-5c2cb18aea2a', 'name': '', 'tenant_id': '8149a9a0f5014266a6b2185df4ed2af4', 'network_id': '4d4e666a-59c4-4b15-a563-5b714a3eadb4', 'ip_version': 4, 'cidr': '151.214.93.128/26', 'allocation_pools': [{'start': '151.214.93.130', 'end': '151.214.93.190'}], 'gateway_ip': '151.214.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-12-26T01:55:57.113233', 'updated_at': '2024-12-26T01:55:57.113233', 'dns_server_address': '151.214.93.130', 'tags': [], 'project_id': '8149a9a0f5014266a6b2185df4ed2af4'}} 2024-12-26 01:55:57,284 - INFO - Created VN ctest-ext_vn-82029097 2024-12-26 01:55:57,338 - DEBUG - VN ctest-ext_vn-82029097 UUID is 4d4e666a-59c4-4b15-a563-5b714a3eadb4 2024-12-26 01:55:57,825 - DEBUG - Services list from nova: [, , ] 2024-12-26 01:55:58,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-459-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-459-1) 2024-12-26 01:56:00,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-459-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-459-1) 2024-12-26 01:56:00,831 - INFO - Setting gateway for router 426800f7-210a-4cdd-a470-f845f01548f3 to network 4d4e666a-59c4-4b15-a563-5b714a3eadb4 2024-12-26 01:56:00,987 - INFO - Adding interface with subnet_id 715123dc-198f-4043-baa6-cd0a950455b5, port_id None to router 426800f7-210a-4cdd-a470-f845f01548f3 2024-12-26 01:56:01,624 - INFO - Waiting for VM ctest-TestRoutersBasic-34892932-68817072 to be up.. 2024-12-26 01:56:01,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-26 01:56:06,934 - DEBUG - VM is in ACTIVE state now 2024-12-26 01:56:06,934 - INFO - VM name : ctest-TestRoutersBasic-34892932-68817072 2024-12-26 01:56:07,080 - DEBUG - VM ctest-TestRoutersBasic-34892932-68817072 ID is e33a9a96-7ae0-417f-8db2-32a03b1f9e9d 2024-12-26 01:56:07,116 - DEBUG - VM ctest-TestRoutersBasic-34892932-68817072 launched on Node cn-jenkins-deploy-platform-juju-os-459-1 2024-12-26 01:56:07,271 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine/e33a9a96-7ae0-417f-8db2-32a03b1f9e9d 2024-12-26 01:56:07,627 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine/e33a9a96-7ae0-417f-8db2-32a03b1f9e9d 2024-12-26 01:56:07,715 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine-interface/10807f15-0765-453f-bea5-61f675207730 2024-12-26 01:56:11,204 - 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 1030ms') 2024-12-26 01:56:11,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34892932-68817072 failed! 2024-12-26 01:56:11,262 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-34892932:ctest-vn-94224665 is 75.57.13.129 and allocation pool is NOT set 2024-12-26 01:56:13,346 - 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=2.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/1.520/2.587/1.066 ms') 2024-12-26 01:56:13,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34892932-68817072 passed 2024-12-26 01:56:13,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 01:56:13,502 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34892932-68817072, IP 75.57.13.131, Port 22 2024-12-26 01:56:13,712 - DEBUG - VM ctest-TestRoutersBasic-34892932-68817072 is ready for SSH connections 2024-12-26 01:56:13,712 - INFO - Waiting for VM ctest-TestRoutersBasic-34892932-06065197 to be up.. 2024-12-26 01:56:13,860 - DEBUG - VM is in ACTIVE state now 2024-12-26 01:56:13,860 - INFO - VM name : ctest-TestRoutersBasic-34892932-06065197 2024-12-26 01:56:14,005 - DEBUG - VM ctest-TestRoutersBasic-34892932-06065197 ID is 02b8c000-3c90-4ef7-9b4d-eaae2ef59d35 2024-12-26 01:56:14,005 - DEBUG - VM ctest-TestRoutersBasic-34892932-06065197 launched on Node cn-jenkins-deploy-platform-juju-os-459-1 2024-12-26 01:56:14,146 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine/02b8c000-3c90-4ef7-9b4d-eaae2ef59d35 2024-12-26 01:56:14,200 - DEBUG - Requesting: https://10.0.0.29:8082/virtual-machine-interface/048e16ac-cd9f-4138-9e9e-df9f1af6c50a 2024-12-26 01:56:15,674 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.652 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.652/1.865/3.079/1.213 ms') 2024-12-26 01:56:15,674 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34892932-06065197 passed 2024-12-26 01:56:15,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 01:56:15,826 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34892932-06065197, IP 151.214.93.131, Port 22 2024-12-26 01:56:16,044 - DEBUG - VM ctest-TestRoutersBasic-34892932-06065197 is ready for SSH connections 2024-12-26 01:56:16,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 01:56:16,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.214.93.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-12-26 01:56:16,045 - DEBUG - ping -s 56 -c 3 -W 1 151.214.93.131 2024-12-26 01:56:20,085 - DEBUG - PING 151.214.93.131 (151.214.93.131): 56 data bytes 64 bytes from 151.214.93.131: seq=0 ttl=62 time=10.019 ms 64 bytes from 151.214.93.131: seq=1 ttl=62 time=0.840 ms 64 bytes from 151.214.93.131: seq=2 ttl=62 time=0.933 ms --- 151.214.93.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/3.930/10.019 ms 2024-12-26 01:56:20,085 - INFO - Ping to IP 151.214.93.131 from VM ctest-TestRoutersBasic-34892932-68817072 passed 2024-12-26 01:56:20,085 - INFO - Deleting interface with subnet_id 715123dc-198f-4043-baa6-cd0a950455b5, port_id None from router 426800f7-210a-4cdd-a470-f845f01548f3 2024-12-26 01:56:20,751 - INFO - Deleting VM ctest-TestRoutersBasic-34892932-06065197 2024-12-26 01:56:20,903 - INFO - Deleting VM ctest-TestRoutersBasic-34892932-68817072 2024-12-26 01:56:21,008 - INFO - Deleting VN ctest-ext_vn-82029097 2024-12-26 01:56:21,238 - DEBUG - VN 4d4e666a-59c4-4b15-a563-5b714a3eadb4 still in use: Unable to complete operation on network 4d4e666a-59c4-4b15-a563-5b714a3eadb4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e334315-d9fc-4972-a74d-c0d6d521298b'] 2024-12-26 01:56:21,238 - WARNING - Deleting VN ctest-ext_vn-82029097 failed..Will retry 2024-12-26 01:56:23,407 - DEBUG - Response for deleting network () 2024-12-26 01:56:23,407 - INFO - Deleting VN ctest-vn-94224665 2024-12-26 01:56:23,574 - DEBUG - Response for deleting network () 2024-12-26 01:56:23,963 - DEBUG - No XMPP flaps were noticed during the test 2024-12-26 01:56:23,963 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2024-12-26 01:56:23,963 - INFO - -------------------------------------------------------------------------------- 2024-12-26 01:56:24,738 - INFO - Deleted project: ctest-TestRoutersBasic-34892932, ID : 8149a9a0-f501-4266-a6b2-185df4ed2af4