2024-08-21 21:33:12,952 - INFO - Domain Default found not creating 2024-08-21 21:33:13,104 - INFO - Project ctest-TestRoutersBasic-63282913 not found, creating it 2024-08-21 21:33:13,767 - INFO - Created Project:ctest-TestRoutersBasic-63282913, ID : 27ac2bdd-958d-4d5f-9af4-21b3d737c08a 2024-08-21 21:33:15,281 - INFO - ================================================================================ 2024-08-21 21:33:15,281 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-21 21:33:15,281 - 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-21 21:33:15,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.5': '0'}} with 2024-08-21 21:33:15,538 - INFO - Initial checks done. Running the testcase now 2024-08-21 21:33:15,538 - INFO - 2024-08-21 21:33:16,264 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63282913 2024-08-21 21:33:16,365 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63282913 2024-08-21 21:33:16,693 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63282913', 'default']} 2024-08-21 21:33:16,984 - DEBUG - Response for create_network : {'network': {'id': '8728fac9-ef03-40e5-bde8-432f9d03c8fa', 'name': 'ctest-vn-47079398', 'tenant_id': '27ac2bdd958d4d5f9af421b3d737c08a', 'project_id': '27ac2bdd958d4d5f9af421b3d737c08a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63282913', 'ctest-vn-47079398'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 21:33:17,180 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd13e862e-9e51-49f7-a901-5ef6f0676144', 'name': '', 'tenant_id': '27ac2bdd958d4d5f9af421b3d737c08a', 'network_id': '8728fac9-ef03-40e5-bde8-432f9d03c8fa', 'ip_version': 4, 'cidr': '90.177.21.192/26', 'allocation_pools': [{'start': '90.177.21.194', 'end': '90.177.21.254'}], 'gateway_ip': '90.177.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.177.21.194', 'tags': [], 'project_id': '27ac2bdd958d4d5f9af421b3d737c08a'}} 2024-08-21 21:33:17,198 - INFO - Created VN ctest-vn-47079398 2024-08-21 21:33:17,249 - DEBUG - VN ctest-vn-47079398 UUID is 8728fac9-ef03-40e5-bde8-432f9d03c8fa 2024-08-21 21:33:17,576 - DEBUG - Response for create_network : {'network': {'id': 'dc71b010-04c6-4a1d-a15d-7f4c1e981d38', 'name': 'ctest-ext_vn-33388752', 'tenant_id': '27ac2bdd958d4d5f9af421b3d737c08a', 'project_id': '27ac2bdd958d4d5f9af421b3d737c08a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63282913', 'ctest-ext_vn-33388752'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 21:33:17,752 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf19ac03-763c-4e0a-a9da-2eaad951b344', 'name': '', 'tenant_id': '27ac2bdd958d4d5f9af421b3d737c08a', 'network_id': 'dc71b010-04c6-4a1d-a15d-7f4c1e981d38', 'ip_version': 4, 'cidr': '108.199.162.64/26', 'allocation_pools': [{'start': '108.199.162.66', 'end': '108.199.162.126'}], 'gateway_ip': '108.199.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.199.162.66', 'tags': [], 'project_id': '27ac2bdd958d4d5f9af421b3d737c08a'}} 2024-08-21 21:33:17,772 - INFO - Created VN ctest-ext_vn-33388752 2024-08-21 21:33:17,825 - DEBUG - VN ctest-ext_vn-33388752 UUID is dc71b010-04c6-4a1d-a15d-7f4c1e981d38 2024-08-21 21:33:17,988 - DEBUG - Services list from nova: [, , ] 2024-08-21 21:33:19,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1702-1) 2024-08-21 21:33:20,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1702-1) 2024-08-21 21:33:20,336 - INFO - Setting gateway for router 92a69f99-2bc4-4569-809a-ba1cea57d583 to network dc71b010-04c6-4a1d-a15d-7f4c1e981d38 2024-08-21 21:33:20,392 - INFO - Adding interface with subnet_id d13e862e-9e51-49f7-a901-5ef6f0676144, port_id None to router 92a69f99-2bc4-4569-809a-ba1cea57d583 2024-08-21 21:33:20,787 - INFO - Waiting for VM ctest-TestRoutersBasic-63282913-17236595 to be up.. 2024-08-21 21:33:20,939 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 21:33:26,020 - DEBUG - VM is in ACTIVE state now 2024-08-21 21:33:26,020 - INFO - VM name : ctest-TestRoutersBasic-63282913-17236595 2024-08-21 21:33:26,100 - DEBUG - VM ctest-TestRoutersBasic-63282913-17236595 ID is d011dbcd-b2d3-4ef9-9321-3769808811da 2024-08-21 21:33:26,121 - DEBUG - VM ctest-TestRoutersBasic-63282913-17236595 launched on Node cn-jenkins-deploy-platform-ansible-os-1702-1 2024-08-21 21:33:26,213 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d011dbcd-b2d3-4ef9-9321-3769808811da 2024-08-21 21:33:26,509 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/d011dbcd-b2d3-4ef9-9321-3769808811da 2024-08-21 21:33:26,541 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/411c634d-6e19-4c97-bd18-4505b3bc83e3 2024-08-21 21:33:29,797 - 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') 2024-08-21 21:33:29,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63282913-17236595 failed! 2024-08-21 21:33:29,853 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63282913:ctest-vn-47079398 is 90.177.21.193 and allocation pool is NOT set 2024-08-21 21:33:31,913 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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 = 0.399/1.582/2.765/1.183 ms') 2024-08-21 21:33:31,913 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63282913-17236595 passed 2024-08-21 21:33:32,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 21:33:32,065 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63282913-17236595, IP 90.177.21.195, Port 22 2024-08-21 21:33:32,221 - DEBUG - VM ctest-TestRoutersBasic-63282913-17236595 is ready for SSH connections 2024-08-21 21:33:32,221 - INFO - Waiting for VM ctest-TestRoutersBasic-63282913-69640251 to be up.. 2024-08-21 21:33:32,316 - DEBUG - VM is in ACTIVE state now 2024-08-21 21:33:32,316 - INFO - VM name : ctest-TestRoutersBasic-63282913-69640251 2024-08-21 21:33:32,400 - DEBUG - VM ctest-TestRoutersBasic-63282913-69640251 ID is 71755dbf-3a7f-4720-904f-240a57846ace 2024-08-21 21:33:32,400 - DEBUG - VM ctest-TestRoutersBasic-63282913-69640251 launched on Node cn-jenkins-deploy-platform-ansible-os-1702-1 2024-08-21 21:33:32,481 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/71755dbf-3a7f-4720-904f-240a57846ace 2024-08-21 21:33:32,489 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/fe27e5b4-54f4-4862-b2a8-c7e316ae0f9a 2024-08-21 21:33:33,737 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.840 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.840/2.360/3.880/1.520 ms') 2024-08-21 21:33:33,737 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63282913-69640251 passed 2024-08-21 21:33:33,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 21:33:33,893 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63282913-69640251, IP 108.199.162.67, Port 22 2024-08-21 21:33:34,059 - DEBUG - VM ctest-TestRoutersBasic-63282913-69640251 is ready for SSH connections 2024-08-21 21:33:34,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 21:33:34,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.199.162.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-08-21 21:33:34,059 - DEBUG - ping -s 56 -c 3 -W 1 108.199.162.67 2024-08-21 21:33:38,059 - DEBUG - PING 108.199.162.67 (108.199.162.67): 56 data bytes 64 bytes from 108.199.162.67: seq=0 ttl=62 time=5.042 ms 64 bytes from 108.199.162.67: seq=1 ttl=62 time=0.875 ms 64 bytes from 108.199.162.67: seq=2 ttl=62 time=0.918 ms --- 108.199.162.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/2.278/5.042 ms 2024-08-21 21:33:38,059 - INFO - Ping to IP 108.199.162.67 from VM ctest-TestRoutersBasic-63282913-17236595 passed 2024-08-21 21:33:38,059 - INFO - Deleting interface with subnet_id d13e862e-9e51-49f7-a901-5ef6f0676144, port_id None from router 92a69f99-2bc4-4569-809a-ba1cea57d583 2024-08-21 21:33:38,280 - INFO - Deleting VM ctest-TestRoutersBasic-63282913-69640251 2024-08-21 21:33:38,352 - INFO - Deleting VM ctest-TestRoutersBasic-63282913-17236595 2024-08-21 21:33:38,424 - INFO - Deleting VN ctest-ext_vn-33388752 2024-08-21 21:33:38,489 - DEBUG - VN dc71b010-04c6-4a1d-a15d-7f4c1e981d38 still in use: Unable to complete operation on network dc71b010-04c6-4a1d-a15d-7f4c1e981d38. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42d60978-d59b-42a2-86b3-bf45503954ad'] 2024-08-21 21:33:38,489 - WARNING - Deleting VN ctest-ext_vn-33388752 failed..Will retry 2024-08-21 21:33:40,587 - DEBUG - Response for deleting network () 2024-08-21 21:33:40,587 - INFO - Deleting VN ctest-vn-47079398 2024-08-21 21:33:40,681 - DEBUG - Response for deleting network () 2024-08-21 21:33:40,935 - DEBUG - No XMPP flaps were noticed during the test
2024-08-21 21:33:40,935 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-08-21 21:33:40,935 - INFO - -------------------------------------------------------------------------------- 2024-08-21 21:33:41,587 - INFO - Deleted project: ctest-TestRoutersBasic-63282913, ID : 27ac2bdd-958d-4d5f-9af4-21b3d737c08a