2024-08-26 17:11:13,215 - INFO - Domain Default found not creating 2024-08-26 17:11:13,403 - INFO - Project ctest-TestRoutersBasic-12295611 not found, creating it 2024-08-26 17:11:13,860 - INFO - Created Project:ctest-TestRoutersBasic-12295611, ID : 4c5bffb0-423a-4b2f-b250-6c38dc613680 2024-08-26 17:11:15,489 - INFO - ================================================================================ 2024-08-26 17:11:15,489 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-26 17:11:15,490 - 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-08-26 17:11:15,743 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2024-08-26 17:11:15,743 - INFO - Initial checks done. Running the testcase now 2024-08-26 17:11:15,743 - INFO - 2024-08-26 17:11:16,471 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12295611 2024-08-26 17:11:16,569 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12295611 2024-08-26 17:11:16,896 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12295611', 'default']} 2024-08-26 17:11:17,236 - DEBUG - Response for create_network : {'network': {'id': '33bada47-baf2-4b1f-8d85-9dc175f1b908', 'name': 'ctest-vn-81240328', 'tenant_id': '4c5bffb0423a4b2fb2506c38dc613680', 'project_id': '4c5bffb0423a4b2fb2506c38dc613680', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12295611', 'ctest-vn-81240328'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:11:17,429 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6ad7a86-5121-4e0a-9445-7c6b763ff013', 'name': '', 'tenant_id': '4c5bffb0423a4b2fb2506c38dc613680', 'network_id': '33bada47-baf2-4b1f-8d85-9dc175f1b908', 'ip_version': 4, 'cidr': '214.197.253.0/26', 'allocation_pools': [{'start': '214.197.253.2', 'end': '214.197.253.62'}], 'gateway_ip': '214.197.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.197.253.2', 'tags': [], 'project_id': '4c5bffb0423a4b2fb2506c38dc613680'}} 2024-08-26 17:11:17,450 - INFO - Created VN ctest-vn-81240328 2024-08-26 17:11:17,501 - DEBUG - VN ctest-vn-81240328 UUID is 33bada47-baf2-4b1f-8d85-9dc175f1b908 2024-08-26 17:11:17,826 - DEBUG - Response for create_network : {'network': {'id': '4f2b243c-6e0b-4e20-ae14-5b4c2c037769', 'name': 'ctest-ext_vn-55784948', 'tenant_id': '4c5bffb0423a4b2fb2506c38dc613680', 'project_id': '4c5bffb0423a4b2fb2506c38dc613680', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12295611', 'ctest-ext_vn-55784948'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:11:18,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a46da21-d7a0-4ce6-9a16-b8707a58acd3', 'name': '', 'tenant_id': '4c5bffb0423a4b2fb2506c38dc613680', 'network_id': '4f2b243c-6e0b-4e20-ae14-5b4c2c037769', 'ip_version': 4, 'cidr': '183.176.232.64/26', 'allocation_pools': [{'start': '183.176.232.66', 'end': '183.176.232.126'}], 'gateway_ip': '183.176.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.176.232.66', 'tags': [], 'project_id': '4c5bffb0423a4b2fb2506c38dc613680'}} 2024-08-26 17:11:18,028 - INFO - Created VN ctest-ext_vn-55784948 2024-08-26 17:11:18,081 - DEBUG - VN ctest-ext_vn-55784948 UUID is 4f2b243c-6e0b-4e20-ae14-5b4c2c037769 2024-08-26 17:11:18,262 - DEBUG - Services list from nova: [, , ] 2024-08-26 17:11:19,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1765-1) 2024-08-26 17:11:20,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1765-1) 2024-08-26 17:11:20,814 - INFO - Setting gateway for router 82a8ae89-57b8-487c-8aaf-9dc5927f34d0 to network 4f2b243c-6e0b-4e20-ae14-5b4c2c037769 2024-08-26 17:11:20,909 - INFO - Adding interface with subnet_id c6ad7a86-5121-4e0a-9445-7c6b763ff013, port_id None to router 82a8ae89-57b8-487c-8aaf-9dc5927f34d0 2024-08-26 17:11:21,277 - INFO - Waiting for VM ctest-TestRoutersBasic-12295611-54359162 to be up.. 2024-08-26 17:11:21,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 17:11:26,532 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:11:26,532 - INFO - VM name : ctest-TestRoutersBasic-12295611-54359162 2024-08-26 17:11:26,635 - DEBUG - VM ctest-TestRoutersBasic-12295611-54359162 ID is 4b5737bb-8932-4d9a-aab9-f43c29f5ade4 2024-08-26 17:11:26,655 - DEBUG - VM ctest-TestRoutersBasic-12295611-54359162 launched on Node cn-jenkins-deploy-platform-ansible-os-1765-1 2024-08-26 17:11:26,752 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4b5737bb-8932-4d9a-aab9-f43c29f5ade4 2024-08-26 17:11:27,055 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4b5737bb-8932-4d9a-aab9-f43c29f5ade4 2024-08-26 17:11:27,093 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f4dab2ff-a2c8-49b0-9a88-162b797f9bb4 2024-08-26 17:11:30,352 - 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 1014ms') 2024-08-26 17:11:30,352 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12295611-54359162 failed! 2024-08-26 17:11:30,409 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12295611:ctest-vn-81240328 is 214.197.253.1 and allocation pool is NOT set 2024-08-26 17:11:32,468 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 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.504/1.730/2.957/1.226 ms') 2024-08-26 17:11:32,468 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12295611-54359162 passed 2024-08-26 17:11:32,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:11:32,617 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12295611-54359162, IP 214.197.253.3, Port 22 2024-08-26 17:11:32,772 - DEBUG - VM ctest-TestRoutersBasic-12295611-54359162 is ready for SSH connections 2024-08-26 17:11:32,772 - INFO - Waiting for VM ctest-TestRoutersBasic-12295611-28864090 to be up.. 2024-08-26 17:11:32,863 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:11:32,863 - INFO - VM name : ctest-TestRoutersBasic-12295611-28864090 2024-08-26 17:11:32,958 - DEBUG - VM ctest-TestRoutersBasic-12295611-28864090 ID is f527a4ab-da02-43d3-9459-88bbc94c229f 2024-08-26 17:11:32,958 - DEBUG - VM ctest-TestRoutersBasic-12295611-28864090 launched on Node cn-jenkins-deploy-platform-ansible-os-1765-1 2024-08-26 17:11:33,043 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f527a4ab-da02-43d3-9459-88bbc94c229f 2024-08-26 17:11:33,052 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a8f31f16-9674-4dfe-97a7-26dac40bb685 2024-08-26 17:11:34,289 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.537 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.537/1.646/2.756/1.109 ms') 2024-08-26 17:11:34,289 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12295611-28864090 passed 2024-08-26 17:11:34,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:11:34,441 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12295611-28864090, IP 183.176.232.67, Port 22 2024-08-26 17:11:34,597 - DEBUG - VM ctest-TestRoutersBasic-12295611-28864090 is ready for SSH connections 2024-08-26 17:11:34,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:11:34,597 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.176.232.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2024-08-26 17:11:34,598 - DEBUG - ping -s 56 -c 3 -W 1 183.176.232.67 2024-08-26 17:11:38,650 - DEBUG - PING 183.176.232.67 (183.176.232.67): 56 data bytes 64 bytes from 183.176.232.67: seq=0 ttl=62 time=5.926 ms 64 bytes from 183.176.232.67: seq=1 ttl=62 time=1.061 ms 64 bytes from 183.176.232.67: seq=2 ttl=62 time=0.993 ms --- 183.176.232.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/2.660/5.926 ms 2024-08-26 17:11:38,651 - INFO - Ping to IP 183.176.232.67 from VM ctest-TestRoutersBasic-12295611-54359162 passed 2024-08-26 17:11:38,651 - INFO - Deleting interface with subnet_id c6ad7a86-5121-4e0a-9445-7c6b763ff013, port_id None from router 82a8ae89-57b8-487c-8aaf-9dc5927f34d0 2024-08-26 17:11:38,869 - INFO - Deleting VM ctest-TestRoutersBasic-12295611-28864090 2024-08-26 17:11:38,948 - INFO - Deleting VM ctest-TestRoutersBasic-12295611-54359162 2024-08-26 17:11:39,027 - INFO - Deleting VN ctest-ext_vn-55784948 2024-08-26 17:11:39,119 - DEBUG - VN 4f2b243c-6e0b-4e20-ae14-5b4c2c037769 still in use: Unable to complete operation on network 4f2b243c-6e0b-4e20-ae14-5b4c2c037769. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-442f6598-d424-4a37-9df7-3e3b4ab13da4'] 2024-08-26 17:11:39,119 - WARNING - Deleting VN ctest-ext_vn-55784948 failed..Will retry 2024-08-26 17:11:41,228 - DEBUG - Response for deleting network () 2024-08-26 17:11:41,228 - INFO - Deleting VN ctest-vn-81240328 2024-08-26 17:11:41,330 - DEBUG - Response for deleting network () 2024-08-26 17:11:41,597 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 17:11:41,598 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-08-26 17:11:41,598 - INFO - -------------------------------------------------------------------------------- 2024-08-26 17:11:42,262 - INFO - Deleted project: ctest-TestRoutersBasic-12295611, ID : 4c5bffb0-423a-4b2f-b250-6c38dc613680