2024-10-25 17:59:46,684 - INFO - Domain Default found not creating 2024-10-25 17:59:46,888 - INFO - Project ctest-TestBasicVMVNx-12937839 not found, creating it 2024-10-25 17:59:47,402 - INFO - Created Project:ctest-TestBasicVMVNx-12937839, ID : fd6955c8-7680-4e05-9b12-c618fea84f49 2024-10-25 17:59:49,104 - INFO - ================================================================================ 2024-10-25 17:59:49,105 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-25 17:59:49,105 - 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-10-25 17:59:49,372 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.11': '0'}} with 2024-10-25 17:59:49,372 - INFO - Initial checks done. Running the testcase now 2024-10-25 17:59:49,372 - INFO - 2024-10-25 17:59:50,013 - DEBUG - Response for create_network : {'network': {'id': '1b18eec6-2f9b-4381-b701-8b5da2cfe7f2', 'name': 'ctest-vn-53172344', 'tenant_id': 'fd6955c876804e059b12c618fea84f49', 'project_id': 'fd6955c876804e059b12c618fea84f49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-12937839', 'ctest-vn-53172344'], 'port_security_enabled': True, 'description': ''}} 2024-10-25 17:59:50,284 - DEBUG - Response for create_subnet : {'subnet': {'id': '504d636a-d135-47c6-944e-1f556ddef4d2', 'name': '', 'tenant_id': 'fd6955c876804e059b12c618fea84f49', 'network_id': '1b18eec6-2f9b-4381-b701-8b5da2cfe7f2', 'ip_version': 4, 'cidr': '80.68.127.128/26', 'allocation_pools': [{'start': '80.68.127.130', 'end': '80.68.127.190'}], 'gateway_ip': '80.68.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.68.127.130', 'tags': [], 'project_id': 'fd6955c876804e059b12c618fea84f49'}} 2024-10-25 17:59:50,311 - INFO - Created VN ctest-vn-53172344 2024-10-25 17:59:50,377 - DEBUG - VN ctest-vn-53172344 UUID is 1b18eec6-2f9b-4381-b701-8b5da2cfe7f2 2024-10-25 17:59:50,584 - DEBUG - Services list from nova: [, , ] 2024-10-25 17:59:51,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2147-1) 2024-10-25 17:59:53,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2147-1) 2024-10-25 17:59:53,144 - INFO - Waiting for VM ctest-TestBasicVMVNx-12937839-54777811 to be up.. 2024-10-25 17:59:53,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-25 17:59:58,394 - DEBUG - VM is in ACTIVE state now 2024-10-25 17:59:58,394 - INFO - VM name : ctest-TestBasicVMVNx-12937839-54777811 2024-10-25 17:59:58,496 - DEBUG - VM ctest-TestBasicVMVNx-12937839-54777811 ID is 1a2aa98e-e97a-470f-af87-4c274cd1a765 2024-10-25 17:59:58,520 - DEBUG - VM ctest-TestBasicVMVNx-12937839-54777811 launched on Node cn-jenkins-deploy-platform-ansible-os-2147-1 2024-10-25 17:59:58,634 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/1a2aa98e-e97a-470f-af87-4c274cd1a765 2024-10-25 17:59:58,969 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/1a2aa98e-e97a-470f-af87-4c274cd1a765 2024-10-25 17:59:59,017 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/dea6d691-dcab-4e07-9a9d-a98b4fae5a86 2024-10-25 18:00:02,322 - 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-10-25 18:00:02,322 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12937839-54777811 failed! 2024-10-25 18:00:02,397 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-12937839:ctest-vn-53172344 is 80.68.127.129 and allocation pool is NOT set 2024-10-25 18:00:04,463 - 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=5.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 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 = 1.642/3.747/5.852/2.105 ms') 2024-10-25 18:00:04,463 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12937839-54777811 passed 2024-10-25 18:00:04,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 18:00:04,633 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12937839-54777811, IP 80.68.127.131, Port 22 2024-10-25 18:00:04,803 - DEBUG - VM ctest-TestBasicVMVNx-12937839-54777811 is ready for SSH connections 2024-10-25 18:00:04,803 - INFO - Waiting for VM ctest-TestBasicVMVNx-12937839-64815502 to be up.. 2024-10-25 18:00:04,963 - DEBUG - VM is in ACTIVE state now 2024-10-25 18:00:04,963 - INFO - VM name : ctest-TestBasicVMVNx-12937839-64815502 2024-10-25 18:00:05,066 - DEBUG - VM ctest-TestBasicVMVNx-12937839-64815502 ID is 5f15d5fd-2b91-4915-8d47-94d358a2b3b1 2024-10-25 18:00:05,066 - DEBUG - VM ctest-TestBasicVMVNx-12937839-64815502 launched on Node cn-jenkins-deploy-platform-ansible-os-2147-1 2024-10-25 18:00:05,186 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/5f15d5fd-2b91-4915-8d47-94d358a2b3b1 2024-10-25 18:00:05,199 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/a17cff40-ac84-4151-98e0-1c3f18c23621 2024-10-25 18:00:06,483 - 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=4.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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 = 1.325/2.947/4.569/1.622 ms') 2024-10-25 18:00:06,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-12937839-64815502 passed 2024-10-25 18:00:06,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 18:00:06,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12937839-64815502, IP 80.68.127.132, Port 22 2024-10-25 18:00:06,716 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-25 18:00:06,817 - DEBUG - VM ctest-TestBasicVMVNx-12937839-64815502 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-25 18:00:11,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 18:00:11,818 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12937839-64815502, IP 80.68.127.132, Port 22 2024-10-25 18:00:11,995 - DEBUG - VM ctest-TestBasicVMVNx-12937839-64815502 is ready for SSH connections 2024-10-25 18:00:11,995 - DEBUG - FILE SIZE = 1303B 2024-10-25 18:00:11,995 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-12937839-54777811 to ctest-TestBasicVMVNx-12937839-64815502 using scp 2024-10-25 18:00:11,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 18:00:12,006 - 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-10-25 18:00:12,006 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-25 18:00:14,041 - DEBUG - 1+0 records in 1+0 records out 2024-10-25 18:00:14,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 18:00:15,246 - 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-10-25 18:00:15,247 - DEBUG - ls -l testfile 2024-10-25 18:00:16,891 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 25 12:00 testfile 2024-10-25 18:00:16,891 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-12937839-64815502 2024-10-25 18:00:16,892 - INFO - Deleting VM ctest-TestBasicVMVNx-12937839-64815502 2024-10-25 18:00:16,982 - INFO - Deleting VM ctest-TestBasicVMVNx-12937839-54777811 2024-10-25 18:00:17,091 - INFO - Deleting VN ctest-vn-53172344 2024-10-25 18:00:17,140 - DEBUG - VN 1b18eec6-2f9b-4381-b701-8b5da2cfe7f2 still in use: Unable to complete operation on network 1b18eec6-2f9b-4381-b701-8b5da2cfe7f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0bf8db05-628f-466d-9749-3aa82a45a594'] 2024-10-25 18:00:17,140 - WARNING - Deleting VN ctest-vn-53172344 failed..Will retry 2024-10-25 18:00:19,270 - DEBUG - Response for deleting network () 2024-10-25 18:00:19,533 - DEBUG - No XMPP flaps were noticed during the test 2024-10-25 18:00:19,533 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-10-25 18:00:19,533 - INFO - -------------------------------------------------------------------------------- 2024-10-25 18:00:20,347 - INFO - Deleted project: ctest-TestBasicVMVNx-12937839, ID : fd6955c8-7680-4e05-9b12-c618fea84f49