2024-09-04 23:14:10,525 - INFO - Domain Default found not creating 2024-09-04 23:14:10,685 - INFO - Project ctest-TestRoutersBasic-78396245 not found, creating it 2024-09-04 23:14:11,141 - INFO - Created Project:ctest-TestRoutersBasic-78396245, ID : 011536f9-5592-4148-bc89-4e9d1c7b9a9c 2024-09-04 23:14:12,633 - INFO - ================================================================================ 2024-09-04 23:14:12,633 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-04 23:14:12,633 - 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-09-04 23:14:12,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.20': '0'}} with 2024-09-04 23:14:12,887 - INFO - Initial checks done. Running the testcase now 2024-09-04 23:14:12,887 - INFO - 2024-09-04 23:14:13,592 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78396245 2024-09-04 23:14:13,697 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78396245 2024-09-04 23:14:14,020 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78396245', 'default']} 2024-09-04 23:14:14,307 - DEBUG - Response for create_network : {'network': {'id': '57b32fe2-00d7-4f1d-a3d1-997ae79e4f0e', 'name': 'ctest-vn-10907517', 'tenant_id': '011536f955924148bc894e9d1c7b9a9c', 'project_id': '011536f955924148bc894e9d1c7b9a9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78396245', 'ctest-vn-10907517'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 23:14:14,457 - DEBUG - Response for create_subnet : {'subnet': {'id': '14f4f1a5-7160-4cb5-8978-e93ffaa6e911', 'name': '', 'tenant_id': '011536f955924148bc894e9d1c7b9a9c', 'network_id': '57b32fe2-00d7-4f1d-a3d1-997ae79e4f0e', 'ip_version': 4, 'cidr': '119.113.178.64/26', 'allocation_pools': [{'start': '119.113.178.66', 'end': '119.113.178.126'}], 'gateway_ip': '119.113.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.113.178.66', 'tags': [], 'project_id': '011536f955924148bc894e9d1c7b9a9c'}} 2024-09-04 23:14:14,476 - INFO - Created VN ctest-vn-10907517 2024-09-04 23:14:14,533 - DEBUG - VN ctest-vn-10907517 UUID is 57b32fe2-00d7-4f1d-a3d1-997ae79e4f0e 2024-09-04 23:14:14,836 - DEBUG - Response for create_network : {'network': {'id': 'ab220d98-d1d6-47e2-94da-9054d153de75', 'name': 'ctest-ext_vn-67284620', 'tenant_id': '011536f955924148bc894e9d1c7b9a9c', 'project_id': '011536f955924148bc894e9d1c7b9a9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78396245', 'ctest-ext_vn-67284620'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 23:14:15,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '133e48c5-8800-48c6-b896-bdb9c4d2b74d', 'name': '', 'tenant_id': '011536f955924148bc894e9d1c7b9a9c', 'network_id': 'ab220d98-d1d6-47e2-94da-9054d153de75', 'ip_version': 4, 'cidr': '83.27.238.64/26', 'allocation_pools': [{'start': '83.27.238.66', 'end': '83.27.238.126'}], 'gateway_ip': '83.27.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.27.238.66', 'tags': [], 'project_id': '011536f955924148bc894e9d1c7b9a9c'}} 2024-09-04 23:14:15,028 - INFO - Created VN ctest-ext_vn-67284620 2024-09-04 23:14:15,080 - DEBUG - VN ctest-ext_vn-67284620 UUID is ab220d98-d1d6-47e2-94da-9054d153de75 2024-09-04 23:14:15,246 - DEBUG - Services list from nova: [, , ] 2024-09-04 23:14:16,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1850-1) 2024-09-04 23:14:17,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1850-1) 2024-09-04 23:14:17,423 - INFO - Setting gateway for router 4d29d013-a60b-43fd-b29b-749f7e593ada to network ab220d98-d1d6-47e2-94da-9054d153de75 2024-09-04 23:14:17,483 - INFO - Adding interface with subnet_id 14f4f1a5-7160-4cb5-8978-e93ffaa6e911, port_id None to router 4d29d013-a60b-43fd-b29b-749f7e593ada 2024-09-04 23:14:17,809 - INFO - Waiting for VM ctest-TestRoutersBasic-78396245-58248617 to be up.. 2024-09-04 23:14:18,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 23:14:23,134 - DEBUG - VM is in ACTIVE state now 2024-09-04 23:14:23,134 - INFO - VM name : ctest-TestRoutersBasic-78396245-58248617 2024-09-04 23:14:23,208 - DEBUG - VM ctest-TestRoutersBasic-78396245-58248617 ID is a6da1d3e-d6fa-4ccb-813f-d5411b64aa5a 2024-09-04 23:14:23,226 - DEBUG - VM ctest-TestRoutersBasic-78396245-58248617 launched on Node cn-jenkins-deploy-platform-ansible-os-1850-1 2024-09-04 23:14:23,297 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a6da1d3e-d6fa-4ccb-813f-d5411b64aa5a 2024-09-04 23:14:23,588 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a6da1d3e-d6fa-4ccb-813f-d5411b64aa5a 2024-09-04 23:14:23,620 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/774779b4-f81b-41c6-8cc8-2c78aaa66238 2024-09-04 23:14:26,856 - 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 1007ms') 2024-09-04 23:14:26,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78396245-58248617 failed! 2024-09-04 23:14:26,908 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78396245:ctest-vn-10907517 is 119.113.178.65 and allocation pool is NOT set 2024-09-04 23:14:28,966 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/1.603/2.788/1.185 ms') 2024-09-04 23:14:28,966 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78396245-58248617 passed 2024-09-04 23:14:29,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:14:29,120 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78396245-58248617, IP 119.113.178.67, Port 22 2024-09-04 23:14:29,276 - DEBUG - VM ctest-TestRoutersBasic-78396245-58248617 is ready for SSH connections 2024-09-04 23:14:29,276 - INFO - Waiting for VM ctest-TestRoutersBasic-78396245-86731886 to be up.. 2024-09-04 23:14:29,348 - DEBUG - VM is in ACTIVE state now 2024-09-04 23:14:29,348 - INFO - VM name : ctest-TestRoutersBasic-78396245-86731886 2024-09-04 23:14:29,416 - DEBUG - VM ctest-TestRoutersBasic-78396245-86731886 ID is 29a8218b-1f9b-486b-9613-d99664c8d625 2024-09-04 23:14:29,416 - DEBUG - VM ctest-TestRoutersBasic-78396245-86731886 launched on Node cn-jenkins-deploy-platform-ansible-os-1850-1 2024-09-04 23:14:29,489 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/29a8218b-1f9b-486b-9613-d99664c8d625 2024-09-04 23:14:29,497 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c1c276a6-f220-4d1b-8731-f79728630a5d 2024-09-04 23:14:30,731 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.284 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.284/1.871/3.459/1.587 ms') 2024-09-04 23:14:30,732 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78396245-86731886 passed 2024-09-04 23:14:30,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:14:30,884 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78396245-86731886, IP 83.27.238.67, Port 22 2024-09-04 23:14:31,036 - DEBUG - VM ctest-TestRoutersBasic-78396245-86731886 is ready for SSH connections 2024-09-04 23:14:31,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:14:31,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.27.238.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2024-09-04 23:14:31,036 - DEBUG - ping -s 56 -c 3 -W 1 83.27.238.67 2024-09-04 23:14:35,036 - DEBUG - PING 83.27.238.67 (83.27.238.67): 56 data bytes 64 bytes from 83.27.238.67: seq=0 ttl=62 time=5.522 ms 64 bytes from 83.27.238.67: seq=1 ttl=62 time=0.783 ms 64 bytes from 83.27.238.67: seq=2 ttl=62 time=0.861 ms --- 83.27.238.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/2.388/5.522 ms 2024-09-04 23:14:35,036 - INFO - Ping to IP 83.27.238.67 from VM ctest-TestRoutersBasic-78396245-58248617 passed 2024-09-04 23:14:35,036 - INFO - Deleting interface with subnet_id 14f4f1a5-7160-4cb5-8978-e93ffaa6e911, port_id None from router 4d29d013-a60b-43fd-b29b-749f7e593ada 2024-09-04 23:14:35,217 - INFO - Deleting VM ctest-TestRoutersBasic-78396245-86731886 2024-09-04 23:14:35,276 - INFO - Deleting VM ctest-TestRoutersBasic-78396245-58248617 2024-09-04 23:14:35,346 - INFO - Deleting VN ctest-ext_vn-67284620 2024-09-04 23:14:35,407 - DEBUG - VN ab220d98-d1d6-47e2-94da-9054d153de75 still in use: Unable to complete operation on network ab220d98-d1d6-47e2-94da-9054d153de75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a766ca8-ae6e-43ec-8296-f3259aa0d586'] 2024-09-04 23:14:35,408 - WARNING - Deleting VN ctest-ext_vn-67284620 failed..Will retry 2024-09-04 23:14:37,516 - DEBUG - Response for deleting network () 2024-09-04 23:14:37,517 - INFO - Deleting VN ctest-vn-10907517 2024-09-04 23:14:37,628 - DEBUG - Response for deleting network () 2024-09-04 23:14:37,881 - DEBUG - No XMPP flaps were noticed during the test
2024-09-04 23:14:37,882 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-09-04 23:14:37,882 - INFO - -------------------------------------------------------------------------------- 2024-09-04 23:14:38,529 - INFO - Deleted project: ctest-TestRoutersBasic-78396245, ID : 011536f9-5592-4148-bc89-4e9d1c7b9a9c