2024-08-30 06:27:04,734 - INFO - Domain Default found not creating 2024-08-30 06:27:04,917 - INFO - Project ctest-TestBasicVMVNx-49013622 not found, creating it 2024-08-30 06:27:05,469 - INFO - Created Project:ctest-TestBasicVMVNx-49013622, ID : 8e27be3f-a2e5-4153-80a0-cb2d952723fc 2024-08-30 06:27:07,688 - INFO - ================================================================================ 2024-08-30 06:27:07,688 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-30 06:27:07,688 - 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-30 06:27:07,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.18': '0'}} with 2024-08-30 06:27:07,963 - INFO - Initial checks done. Running the testcase now 2024-08-30 06:27:07,963 - INFO - 2024-08-30 06:27:08,671 - DEBUG - Response for create_network : {'network': {'id': 'efdaaa87-2242-4a17-8b0d-6b4d7eeba087', 'name': 'ctest-vn-80517024', 'tenant_id': '8e27be3fa2e5415380a0cb2d952723fc', 'project_id': '8e27be3fa2e5415380a0cb2d952723fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-49013622', 'ctest-vn-80517024'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 06:27:08,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '06568da0-c580-457c-a64c-dc303e08f54d', 'name': '', 'tenant_id': '8e27be3fa2e5415380a0cb2d952723fc', 'network_id': 'efdaaa87-2242-4a17-8b0d-6b4d7eeba087', 'ip_version': 4, 'cidr': '154.101.0.0/26', 'allocation_pools': [{'start': '154.101.0.2', 'end': '154.101.0.62'}], 'gateway_ip': '154.101.0.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.101.0.2', 'tags': [], 'project_id': '8e27be3fa2e5415380a0cb2d952723fc'}} 2024-08-30 06:27:08,928 - INFO - Created VN ctest-vn-80517024 2024-08-30 06:27:08,988 - DEBUG - VN ctest-vn-80517024 UUID is efdaaa87-2242-4a17-8b0d-6b4d7eeba087 2024-08-30 06:27:09,190 - DEBUG - Services list from nova: [, , ] 2024-08-30 06:27:10,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1821-1) 2024-08-30 06:27:11,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1821-1) 2024-08-30 06:27:11,758 - INFO - Waiting for VM ctest-TestBasicVMVNx-49013622-00275484 to be up.. 2024-08-30 06:27:11,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-30 06:27:16,956 - DEBUG - VM is in ACTIVE state now 2024-08-30 06:27:16,956 - INFO - VM name : ctest-TestBasicVMVNx-49013622-00275484 2024-08-30 06:27:17,054 - DEBUG - VM ctest-TestBasicVMVNx-49013622-00275484 ID is 64bb8072-bf52-4571-a610-d59bb8a5d2b9 2024-08-30 06:27:17,093 - DEBUG - VM ctest-TestBasicVMVNx-49013622-00275484 launched on Node cn-jenkins-deploy-platform-ansible-os-1821-1 2024-08-30 06:27:17,170 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/64bb8072-bf52-4571-a610-d59bb8a5d2b9 2024-08-30 06:27:17,475 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/64bb8072-bf52-4571-a610-d59bb8a5d2b9 2024-08-30 06:27:17,507 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/506ef0b1-3201-4fcb-9e79-afbe802c9b31 2024-08-30 06:27:20,780 - 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 1023ms') 2024-08-30 06:27:20,780 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49013622-00275484 failed! 2024-08-30 06:27:20,870 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-49013622:ctest-vn-80517024 is 154.101.0.1 and allocation pool is NOT set 2024-08-30 06:27:22,936 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/1.842/3.256/1.413 ms') 2024-08-30 06:27:22,937 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49013622-00275484 passed 2024-08-30 06:27:23,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 06:27:23,089 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49013622-00275484, IP 154.101.0.3, Port 22 2024-08-30 06:27:23,249 - DEBUG - VM ctest-TestBasicVMVNx-49013622-00275484 is ready for SSH connections 2024-08-30 06:27:23,249 - INFO - Waiting for VM ctest-TestBasicVMVNx-49013622-87823475 to be up.. 2024-08-30 06:27:23,347 - DEBUG - VM is in ACTIVE state now 2024-08-30 06:27:23,348 - INFO - VM name : ctest-TestBasicVMVNx-49013622-87823475 2024-08-30 06:27:23,424 - DEBUG - VM ctest-TestBasicVMVNx-49013622-87823475 ID is 5ac96ced-acec-4d89-b2a5-7d8cb05514d8 2024-08-30 06:27:23,424 - DEBUG - VM ctest-TestBasicVMVNx-49013622-87823475 launched on Node cn-jenkins-deploy-platform-ansible-os-1821-1 2024-08-30 06:27:23,501 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/5ac96ced-acec-4d89-b2a5-7d8cb05514d8 2024-08-30 06:27:23,518 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/231bc1e3-241d-486d-9e82-5c88512f731e 2024-08-30 06:27:24,763 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.60 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 = 2.440/2.518/2.597/0.078 ms') 2024-08-30 06:27:24,763 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-49013622-87823475 passed 2024-08-30 06:27:24,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 06:27:24,916 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49013622-87823475, IP 154.101.0.4, Port 22 2024-08-30 06:27:24,982 - 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-08-30 06:27:25,094 - DEBUG - VM ctest-TestBasicVMVNx-49013622-87823475 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-30 06:27:30,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 06:27:30,095 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49013622-87823475, IP 154.101.0.4, Port 22 2024-08-30 06:27:30,263 - DEBUG - VM ctest-TestBasicVMVNx-49013622-87823475 is ready for SSH connections 2024-08-30 06:27:30,263 - DEBUG - FILE SIZE = 1303B 2024-08-30 06:27:30,263 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-49013622-00275484 to ctest-TestBasicVMVNx-49013622-87823475 using scp 2024-08-30 06:27:30,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 06:27:30,269 - 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.46, gateway password: c0ntrail123 2024-08-30 06:27:30,269 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-30 06:27:32,239 - DEBUG - 1+0 records in 1+0 records out 2024-08-30 06:27:33,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 06:27:33,385 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2024-08-30 06:27:33,385 - DEBUG - ls -l testfile 2024-08-30 06:27:35,110 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 30 00:27 testfile 2024-08-30 06:27:35,110 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-49013622-87823475 2024-08-30 06:27:35,111 - INFO - Deleting VM ctest-TestBasicVMVNx-49013622-87823475 2024-08-30 06:27:35,298 - INFO - Deleting VM ctest-TestBasicVMVNx-49013622-00275484 2024-08-30 06:27:35,381 - INFO - Deleting VN ctest-vn-80517024 2024-08-30 06:27:35,442 - DEBUG - VN efdaaa87-2242-4a17-8b0d-6b4d7eeba087 still in use: Unable to complete operation on network efdaaa87-2242-4a17-8b0d-6b4d7eeba087. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f47383a-2689-4688-a0b3-ccf4fd0d4709'] 2024-08-30 06:27:35,442 - WARNING - Deleting VN ctest-vn-80517024 failed..Will retry 2024-08-30 06:27:37,569 - DEBUG - Response for deleting network () 2024-08-30 06:27:37,842 - DEBUG - No XMPP flaps were noticed during the test 2024-08-30 06:27:37,842 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-08-30 06:27:37,842 - INFO - -------------------------------------------------------------------------------- 2024-08-30 06:27:38,607 - INFO - Deleted project: ctest-TestBasicVMVNx-49013622, ID : 8e27be3f-a2e5-4153-80a0-cb2d952723fc