2024-08-23 15:33:10,151 - INFO - Domain Default found not creating 2024-08-23 15:33:10,315 - INFO - Project ctest-TestBasicVMVNx-94828814 not found, creating it 2024-08-23 15:33:10,778 - INFO - Created Project:ctest-TestBasicVMVNx-94828814, ID : a2a6bc8d-d3c6-4a8d-a3cc-b71f9a84decf 2024-08-23 15:33:12,338 - INFO - ================================================================================ 2024-08-23 15:33:12,338 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-23 15:33:12,338 - 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-23 15:33:12,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.6': '0'}} with 2024-08-23 15:33:12,593 - INFO - Initial checks done. Running the testcase now 2024-08-23 15:33:12,593 - INFO - 2024-08-23 15:33:13,169 - DEBUG - Response for create_network : {'network': {'id': 'bf540748-5891-4c63-b819-591cc918c766', 'name': 'ctest-vn-68543434', 'tenant_id': 'a2a6bc8dd3c64a8da3ccb71f9a84decf', 'project_id': 'a2a6bc8dd3c64a8da3ccb71f9a84decf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94828814', 'ctest-vn-68543434'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 15:33:13,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '41f77a22-8289-4415-b765-e0c4a112f239', 'name': '', 'tenant_id': 'a2a6bc8dd3c64a8da3ccb71f9a84decf', 'network_id': 'bf540748-5891-4c63-b819-591cc918c766', 'ip_version': 4, 'cidr': '190.105.121.192/26', 'allocation_pools': [{'start': '190.105.121.194', 'end': '190.105.121.254'}], 'gateway_ip': '190.105.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.105.121.194', 'tags': [], 'project_id': 'a2a6bc8dd3c64a8da3ccb71f9a84decf'}} 2024-08-23 15:33:13,419 - INFO - Created VN ctest-vn-68543434 2024-08-23 15:33:13,470 - DEBUG - VN ctest-vn-68543434 UUID is bf540748-5891-4c63-b819-591cc918c766 2024-08-23 15:33:13,634 - DEBUG - Services list from nova: [, , ] 2024-08-23 15:33:14,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1720-1) 2024-08-23 15:33:15,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1720-1) 2024-08-23 15:33:15,863 - INFO - Waiting for VM ctest-TestBasicVMVNx-94828814-82542883 to be up.. 2024-08-23 15:33:15,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 15:33:21,047 - DEBUG - VM is in ACTIVE state now 2024-08-23 15:33:21,048 - INFO - VM name : ctest-TestBasicVMVNx-94828814-82542883 2024-08-23 15:33:21,236 - DEBUG - VM ctest-TestBasicVMVNx-94828814-82542883 ID is 86944dd4-60b5-4dd9-8f6a-dc0f7ba58e7c 2024-08-23 15:33:21,258 - DEBUG - VM ctest-TestBasicVMVNx-94828814-82542883 launched on Node cn-jenkins-deploy-platform-ansible-os-1720-1 2024-08-23 15:33:21,339 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/86944dd4-60b5-4dd9-8f6a-dc0f7ba58e7c 2024-08-23 15:33:21,639 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/86944dd4-60b5-4dd9-8f6a-dc0f7ba58e7c 2024-08-23 15:33:21,674 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4059d244-239b-4c52-9d42-0c2e8df493e7 2024-08-23 15:33:24,956 - 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 1029ms') 2024-08-23 15:33:24,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94828814-82542883 failed! 2024-08-23 15:33:25,010 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94828814:ctest-vn-68543434 is 190.105.121.193 and allocation pool is NOT set 2024-08-23 15:33:27,071 - 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=3.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.816 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.816/2.048/3.281/1.232 ms') 2024-08-23 15:33:27,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94828814-82542883 passed 2024-08-23 15:33:27,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 15:33:27,222 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94828814-82542883, IP 190.105.121.195, Port 22 2024-08-23 15:33:27,374 - DEBUG - VM ctest-TestBasicVMVNx-94828814-82542883 is ready for SSH connections 2024-08-23 15:33:27,374 - INFO - Waiting for VM ctest-TestBasicVMVNx-94828814-84073097 to be up.. 2024-08-23 15:33:27,452 - DEBUG - VM is in ACTIVE state now 2024-08-23 15:33:27,452 - INFO - VM name : ctest-TestBasicVMVNx-94828814-84073097 2024-08-23 15:33:27,530 - DEBUG - VM ctest-TestBasicVMVNx-94828814-84073097 ID is f09fd36e-93cb-4974-ae07-44008cf3bb1c 2024-08-23 15:33:27,530 - DEBUG - VM ctest-TestBasicVMVNx-94828814-84073097 launched on Node cn-jenkins-deploy-platform-ansible-os-1720-1 2024-08-23 15:33:27,606 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f09fd36e-93cb-4974-ae07-44008cf3bb1c 2024-08-23 15:33:27,614 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d4877a23-f636-49be-ab5b-e9d49cd8bf12 2024-08-23 15:33:28,852 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.555/2.695/1.139 ms') 2024-08-23 15:33:28,852 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94828814-84073097 passed 2024-08-23 15:33:29,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 15:33:29,002 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94828814-84073097, IP 190.105.121.196, Port 22 2024-08-23 15:33:29,157 - DEBUG - VM ctest-TestBasicVMVNx-94828814-84073097 is ready for SSH connections 2024-08-23 15:33:29,157 - DEBUG - FILE SIZE = 1303B 2024-08-23 15:33:29,157 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94828814-82542883 to ctest-TestBasicVMVNx-94828814-84073097 using scp 2024-08-23 15:33:29,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 15:33:29,166 - 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.48, gateway password: c0ntrail123 2024-08-23 15:33:29,166 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-23 15:33:31,065 - DEBUG - 1+0 records in 1+0 records out 2024-08-23 15:33:31,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 15:33:32,177 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-08-23 15:33:32,180 - DEBUG - ls -l testfile 2024-08-23 15:33:33,744 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 09:33 testfile 2024-08-23 15:33:33,744 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94828814-84073097 2024-08-23 15:33:33,744 - INFO - Deleting VM ctest-TestBasicVMVNx-94828814-84073097 2024-08-23 15:33:33,822 - INFO - Deleting VM ctest-TestBasicVMVNx-94828814-82542883 2024-08-23 15:33:33,892 - INFO - Deleting VN ctest-vn-68543434 2024-08-23 15:33:33,931 - DEBUG - VN bf540748-5891-4c63-b819-591cc918c766 still in use: Unable to complete operation on network bf540748-5891-4c63-b819-591cc918c766. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50405fee-4f24-4373-93e3-f7033a38f70f'] 2024-08-23 15:33:33,931 - WARNING - Deleting VN ctest-vn-68543434 failed..Will retry 2024-08-23 15:33:36,032 - DEBUG - Response for deleting network () 2024-08-23 15:33:36,297 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 15:33:36,297 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-23 15:33:36,297 - INFO - -------------------------------------------------------------------------------- 2024-08-23 15:33:36,968 - INFO - Deleted project: ctest-TestBasicVMVNx-94828814, ID : a2a6bc8d-d3c6-4a8d-a3cc-b71f9a84decf