2024-08-22 02:41:46,627 - INFO - Domain Default found not creating 2024-08-22 02:41:46,792 - INFO - Project ctest-TestBasicVMVNx-25942368 not found, creating it 2024-08-22 02:41:47,284 - INFO - Created Project:ctest-TestBasicVMVNx-25942368, ID : dab53bb3-055e-485a-a77f-c186c7f5eff4 2024-08-22 02:41:48,750 - INFO - ================================================================================ 2024-08-22 02:41:48,751 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-22 02:41:48,751 - 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 02:41:49,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.29': '0'}} with 2024-08-22 02:41:49,005 - INFO - Initial checks done. Running the testcase now 2024-08-22 02:41:49,005 - INFO - 2024-08-22 02:41:49,567 - DEBUG - Response for create_network : {'network': {'id': 'b5d5ec2a-2baf-4ac1-9a62-04d40e8de36e', 'name': 'ctest-vn-58162978', 'tenant_id': 'dab53bb3055e485aa77fc186c7f5eff4', 'project_id': 'dab53bb3055e485aa77fc186c7f5eff4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-25942368', 'ctest-vn-58162978'], 'port_security_enabled': True, 'description': ''}} 2024-08-22 02:41:49,762 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c44786af-2bd9-4cb1-b76a-dc4c9c0231d5', 'name': '', 'tenant_id': 'dab53bb3055e485aa77fc186c7f5eff4', 'network_id': 'b5d5ec2a-2baf-4ac1-9a62-04d40e8de36e', 'ip_version': 4, 'cidr': '89.243.184.64/26', 'allocation_pools': [{'start': '89.243.184.66', 'end': '89.243.184.126'}], 'gateway_ip': '89.243.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.243.184.66', 'tags': [], 'project_id': 'dab53bb3055e485aa77fc186c7f5eff4'}} 2024-08-22 02:41:49,782 - INFO - Created VN ctest-vn-58162978 2024-08-22 02:41:49,836 - DEBUG - VN ctest-vn-58162978 UUID is b5d5ec2a-2baf-4ac1-9a62-04d40e8de36e 2024-08-22 02:41:50,000 - DEBUG - Services list from nova: [, , ] 2024-08-22 02:41:51,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1709-1) 2024-08-22 02:41:53,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1709-1) 2024-08-22 02:41:53,360 - INFO - Waiting for VM ctest-TestBasicVMVNx-25942368-67855414 to be up.. 2024-08-22 02:41:53,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-22 02:41:58,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-22 02:42:03,582 - DEBUG - VM is in ACTIVE state now 2024-08-22 02:42:03,582 - INFO - VM name : ctest-TestBasicVMVNx-25942368-67855414 2024-08-22 02:42:03,663 - DEBUG - VM ctest-TestBasicVMVNx-25942368-67855414 ID is f9dd28a9-a5ec-444a-bb0f-b50bc88b5fce 2024-08-22 02:42:03,680 - DEBUG - VM ctest-TestBasicVMVNx-25942368-67855414 launched on Node cn-jenkins-deploy-platform-ansible-os-1709-1 2024-08-22 02:42:03,755 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/f9dd28a9-a5ec-444a-bb0f-b50bc88b5fce 2024-08-22 02:42:04,052 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/f9dd28a9-a5ec-444a-bb0f-b50bc88b5fce 2024-08-22 02:42:04,084 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/ee257475-bf9c-4c3b-9158-c33950026669 2024-08-22 02:42:07,341 - 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 1020ms') 2024-08-22 02:42:07,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25942368-67855414 failed! 2024-08-22 02:42:07,396 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25942368:ctest-vn-58162978 is 89.243.184.65 and allocation pool is NOT set 2024-08-22 02:42:11,467 - 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 1015ms') 2024-08-22 02:42:11,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25942368-67855414 failed! 2024-08-22 02:42:11,524 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25942368:ctest-vn-58162978 is 89.243.184.65 and allocation pool is NOT set 2024-08-22 02:42:15,592 - 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 1015ms') 2024-08-22 02:42:15,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25942368-67855414 failed! 2024-08-22 02:42:15,644 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25942368:ctest-vn-58162978 is 89.243.184.65 and allocation pool is NOT set 2024-08-22 02:42:17,708 - 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=2.87 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 = 2.770/2.819/2.869/0.049 ms') 2024-08-22 02:42:17,708 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25942368-67855414 passed 2024-08-22 02:42:17,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 02:42:17,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25942368-67855414, IP 89.243.184.67, Port 22 2024-08-22 02:42:17,916 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-08-22 02:42:18,005 - DEBUG - VM ctest-TestBasicVMVNx-25942368-67855414 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-22 02:42:23,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 02:42:23,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25942368-67855414, IP 89.243.184.67, Port 22 2024-08-22 02:42:23,159 - DEBUG - VM ctest-TestBasicVMVNx-25942368-67855414 is ready for SSH connections 2024-08-22 02:42:23,159 - INFO - Waiting for VM ctest-TestBasicVMVNx-25942368-44265636 to be up.. 2024-08-22 02:42:23,243 - DEBUG - VM is in ACTIVE state now 2024-08-22 02:42:23,243 - INFO - VM name : ctest-TestBasicVMVNx-25942368-44265636 2024-08-22 02:42:23,319 - DEBUG - VM ctest-TestBasicVMVNx-25942368-44265636 ID is b4459694-3513-40c2-b2cc-0afa301af2fe 2024-08-22 02:42:23,319 - DEBUG - VM ctest-TestBasicVMVNx-25942368-44265636 launched on Node cn-jenkins-deploy-platform-ansible-os-1709-1 2024-08-22 02:42:23,395 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/b4459694-3513-40c2-b2cc-0afa301af2fe 2024-08-22 02:42:23,404 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/615d2b90-9181-4417-b0f4-6054cfad6235 2024-08-22 02:42:24,642 - 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.455 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.455/1.578/2.701/1.123 ms') 2024-08-22 02:42:24,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-25942368-44265636 passed 2024-08-22 02:42:24,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 02:42:24,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25942368-44265636, IP 89.243.184.68, Port 22 2024-08-22 02:42:24,948 - DEBUG - VM ctest-TestBasicVMVNx-25942368-44265636 is ready for SSH connections 2024-08-22 02:42:24,948 - DEBUG - FILE SIZE = 1303B 2024-08-22 02:42:24,948 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-25942368-67855414 to ctest-TestBasicVMVNx-25942368-44265636 using scp 2024-08-22 02:42:24,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 02:42:24,953 - 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.36, gateway password: c0ntrail123 2024-08-22 02:42:24,953 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-22 02:42:26,828 - DEBUG - 1+0 records in 1+0 records out 2024-08-22 02:42:27,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-22 02:42:27,727 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-08-22 02:42:27,728 - DEBUG - ls -l testfile 2024-08-22 02:42:33,367 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 20:42 testfile 2024-08-22 02:42:33,367 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-25942368-44265636 2024-08-22 02:42:33,367 - INFO - Deleting VM ctest-TestBasicVMVNx-25942368-44265636 2024-08-22 02:42:33,472 - INFO - Deleting VM ctest-TestBasicVMVNx-25942368-67855414 2024-08-22 02:42:33,559 - INFO - Deleting VN ctest-vn-58162978 2024-08-22 02:42:33,597 - DEBUG - VN b5d5ec2a-2baf-4ac1-9a62-04d40e8de36e still in use: Unable to complete operation on network b5d5ec2a-2baf-4ac1-9a62-04d40e8de36e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c4a3893-5e5f-4c1d-afb1-9b93ef0fc79c'] 2024-08-22 02:42:33,597 - WARNING - Deleting VN ctest-vn-58162978 failed..Will retry 2024-08-22 02:42:35,718 - DEBUG - Response for deleting network () 2024-08-22 02:42:35,985 - DEBUG - No XMPP flaps were noticed during the test
2024-08-22 02:42:35,985 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:47]
2024-08-22 02:42:35,985 - INFO - -------------------------------------------------------------------------------- 2024-08-22 02:42:36,657 - INFO - Deleted project: ctest-TestBasicVMVNx-25942368, ID : dab53bb3-055e-485a-a77f-c186c7f5eff4