2024-08-22 01:10:39,328 - INFO - Domain Default found not creating 2024-08-22 01:10:39,480 - INFO - Project ctest-TestBasicVMVNx-49070174 not found, creating it 2024-08-22 01:10:39,936 - INFO - Created Project:ctest-TestBasicVMVNx-49070174, ID : 496061cb-f5bb-4ec3-a058-9c23d86ec384 2024-08-22 01:10:41,380 - INFO - ================================================================================ 2024-08-22 01:10:41,380 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-22 01:10:41,380 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2024-08-22 01:10:41,637 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.13': '0'}} with 2024-08-22 01:10:41,637 - INFO - Initial checks done. Running the testcase now 2024-08-22 01:10:41,637 - INFO - 2024-08-22 01:10:42,187 - DEBUG - Response for create_network : {'network': {'id': 'f7f200dc-2d42-4ef4-9c45-e45463bcb627', 'name': 'ctest-vn-28211535', 'tenant_id': '496061cbf5bb4ec3a0589c23d86ec384', 'project_id': '496061cbf5bb4ec3a0589c23d86ec384', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-49070174', 'ctest-vn-28211535'], 'port_security_enabled': True, 'description': ''}} 2024-08-22 01:10:42,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '68aebb75-06a4-428e-8fed-6d10c7d73826', 'name': '', 'tenant_id': '496061cbf5bb4ec3a0589c23d86ec384', 'network_id': 'f7f200dc-2d42-4ef4-9c45-e45463bcb627', 'ip_version': 4, 'cidr': '18.121.188.64/26', 'allocation_pools': [{'start': '18.121.188.66', 'end': '18.121.188.126'}], 'gateway_ip': '18.121.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.121.188.66', 'tags': [], 'project_id': '496061cbf5bb4ec3a0589c23d86ec384'}} 2024-08-22 01:10:42,378 - INFO - Created VN ctest-vn-28211535 2024-08-22 01:10:42,432 - DEBUG - VN ctest-vn-28211535 UUID is f7f200dc-2d42-4ef4-9c45-e45463bcb627 2024-08-22 01:10:42,594 - DEBUG - Services list from nova: [, , ] 2024-08-22 01:10:43,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1706-1) 2024-08-22 01:10:44,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1706-1) 2024-08-22 01:10:44,685 - INFO - Waiting for VM ctest-TestBasicVMVNx-49070174-51055077 to be up.. 2024-08-22 01:10:44,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-22 01:10:49,850 - DEBUG - VM is in ACTIVE state now 2024-08-22 01:10:49,850 - INFO - VM name : ctest-TestBasicVMVNx-49070174-51055077 2024-08-22 01:10:49,927 - DEBUG - VM ctest-TestBasicVMVNx-49070174-51055077 ID is 53526b74-8a3b-46ef-9a07-96ed971a1a9c 2024-08-22 01:10:49,945 - DEBUG - VM ctest-TestBasicVMVNx-49070174-51055077 launched on Node cn-jenkins-deploy-platform-ansible-os-1706-1 2024-08-22 01:10:50,024 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/53526b74-8a3b-46ef-9a07-96ed971a1a9c 2024-08-22 01:10:50,321 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/53526b74-8a3b-46ef-9a07-96ed971a1a9c 2024-08-22 01:10:50,358 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/7405024a-9df4-4fd8-9558-d2a2c8b71d18 2024-08-22 01:10:53,609 - 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 1016ms') 2024-08-22 01:10:53,609 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49070174-51055077 failed! 2024-08-22 01:10:53,668 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-49070174:ctest-vn-28211535 is 18.121.188.65 and allocation pool is NOT set 2024-08-22 01:10:55,723 - 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.383 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.383/1.586/2.789/1.203 ms') 2024-08-22 01:10:55,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49070174-51055077 passed 2024-08-22 01:10:55,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 01:10:55,872 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49070174-51055077, IP 18.121.188.67, Port 22 2024-08-22 01:10:56,023 - DEBUG - VM ctest-TestBasicVMVNx-49070174-51055077 is ready for SSH connections 2024-08-22 01:10:56,023 - INFO - Waiting for VM ctest-TestBasicVMVNx-49070174-82951010 to be up.. 2024-08-22 01:10:56,101 - DEBUG - VM is in ACTIVE state now 2024-08-22 01:10:56,101 - INFO - VM name : ctest-TestBasicVMVNx-49070174-82951010 2024-08-22 01:10:56,177 - DEBUG - VM ctest-TestBasicVMVNx-49070174-82951010 ID is 1602a178-b827-4b98-9632-cf4f529ed850 2024-08-22 01:10:56,177 - DEBUG - VM ctest-TestBasicVMVNx-49070174-82951010 launched on Node cn-jenkins-deploy-platform-ansible-os-1706-1 2024-08-22 01:10:56,253 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/1602a178-b827-4b98-9632-cf4f529ed850 2024-08-22 01:10:56,261 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/c7471e23-a41d-423c-941f-2b98b9679766 2024-08-22 01:10:57,496 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.564/2.725/1.161 ms') 2024-08-22 01:10:57,496 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-49070174-82951010 passed 2024-08-22 01:10:57,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 01:10:57,648 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49070174-82951010, IP 18.121.188.68, Port 22 2024-08-22 01:10:57,807 - DEBUG - VM ctest-TestBasicVMVNx-49070174-82951010 is ready for SSH connections 2024-08-22 01:10:57,807 - DEBUG - FILE SIZE = 1303B 2024-08-22 01:10:57,807 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-49070174-51055077 to ctest-TestBasicVMVNx-49070174-82951010 using scp 2024-08-22 01:10:57,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 01:10:57,813 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-08-22 01:10:57,814 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-22 01:10:59,688 - DEBUG - 1+0 records in 1+0 records out 2024-08-22 01:11:00,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 01:11:00,579 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-08-22 01:11:00,579 - DEBUG - ls -l testfile 2024-08-22 01:11:02,154 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 19:10 testfile 2024-08-22 01:11:02,155 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-49070174-82951010 2024-08-22 01:11:02,155 - INFO - Deleting VM ctest-TestBasicVMVNx-49070174-82951010 2024-08-22 01:11:02,221 - INFO - Deleting VM ctest-TestBasicVMVNx-49070174-51055077 2024-08-22 01:11:02,280 - INFO - Deleting VN ctest-vn-28211535 2024-08-22 01:11:02,322 - DEBUG - VN f7f200dc-2d42-4ef4-9c45-e45463bcb627 still in use: Unable to complete operation on network f7f200dc-2d42-4ef4-9c45-e45463bcb627. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e16b27d-b325-4178-a6c3-98eac846b2c5'] 2024-08-22 01:11:02,322 - WARNING - Deleting VN ctest-vn-28211535 failed..Will retry 2024-08-22 01:11:04,423 - DEBUG - Response for deleting network () 2024-08-22 01:11:04,678 - DEBUG - No XMPP flaps were noticed during the test
2024-08-22 01:11:04,678 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-08-22 01:11:04,679 - INFO - -------------------------------------------------------------------------------- 2024-08-22 01:11:05,436 - INFO - Deleted project: ctest-TestBasicVMVNx-49070174, ID : 496061cb-f5bb-4ec3-a058-9c23d86ec384