2024-09-02 02:34:51,949 - INFO - Reading existing Domain with UUID defd8f32-afd5-4b15-a3c8-9368d3af4005 2024-09-02 02:34:51,961 - INFO - Using existing domain ['admin_domain'](defd8f32-afd5-4b15-a3c8-9368d3af4005) 2024-09-02 02:34:52,182 - INFO - Project ctest-TestBasicVMVNx-92004562 not found, creating it 2024-09-02 02:34:52,704 - INFO - Created Project:ctest-TestBasicVMVNx-92004562, ID : c90f75cf-fe6d-4e52-96a3-d710f24821d1 2024-09-02 02:34:54,359 - INFO - ================================================================================ 2024-09-02 02:34:54,359 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-02 02:34:54,359 - 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-09-02 02:34:54,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.0.0.24': '0'}} with 2024-09-02 02:34:54,735 - INFO - Initial checks done. Running the testcase now 2024-09-02 02:34:54,735 - INFO - 2024-09-02 02:34:56,150 - DEBUG - Response for create_network : {'network': {'id': '02b86ec8-2ebf-4a1d-a21c-a605c24a28f7', 'name': 'ctest-vn-32739058', 'tenant_id': 'c90f75cffe6d4e5296a3d710f24821d1', 'project_id': 'c90f75cffe6d4e5296a3d710f24821d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-92004562', 'ctest-vn-32739058'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-02 02:34:56,354 - DEBUG - Response for create_subnet : {'subnet': {'id': '44008dec-da6e-456e-ae48-6f706f91d28b', 'name': '', 'tenant_id': 'c90f75cffe6d4e5296a3d710f24821d1', 'network_id': '02b86ec8-2ebf-4a1d-a21c-a605c24a28f7', 'ip_version': 4, 'cidr': '222.57.10.0/26', 'allocation_pools': [{'start': '222.57.10.2', 'end': '222.57.10.62'}], 'gateway_ip': '222.57.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-02T02:34:56.255818', 'updated_at': '2024-09-02T02:34:56.255818', 'dns_server_address': '222.57.10.2', 'tags': [], 'project_id': 'c90f75cffe6d4e5296a3d710f24821d1'}} 2024-09-02 02:34:56,420 - INFO - Created VN ctest-vn-32739058 2024-09-02 02:34:56,473 - DEBUG - VN ctest-vn-32739058 UUID is 02b86ec8-2ebf-4a1d-a21c-a605c24a28f7 2024-09-02 02:34:56,750 - DEBUG - Services list from nova: [, , ] 2024-09-02 02:34:57,826 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-390-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-390-1) 2024-09-02 02:35:00,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-390-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-390-1) 2024-09-02 02:35:00,885 - INFO - Waiting for VM ctest-TestBasicVMVNx-92004562-05191257 to be up.. 2024-09-02 02:35:00,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:35:06,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:35:11,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:35:16,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 02:35:21,842 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:35:21,842 - INFO - VM name : ctest-TestBasicVMVNx-92004562-05191257 2024-09-02 02:35:22,007 - DEBUG - VM ctest-TestBasicVMVNx-92004562-05191257 ID is e63597c4-4932-4b1f-9e96-d339f6f29d4f 2024-09-02 02:35:22,035 - DEBUG - VM ctest-TestBasicVMVNx-92004562-05191257 launched on Node cn-jenkins-deploy-platform-juju-os-390-1 2024-09-02 02:35:22,171 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine/e63597c4-4932-4b1f-9e96-d339f6f29d4f 2024-09-02 02:35:22,515 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine/e63597c4-4932-4b1f-9e96-d339f6f29d4f 2024-09-02 02:35:22,606 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine-interface/b335c812-4d2d-4fd1-9c97-dd78a36c20ec 2024-09-02 02:35:26,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=2 ttl=63 time=11.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 11.765/11.765/11.765/0.000 ms') 2024-09-02 02:35:26,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92004562-05191257 passed 2024-09-02 02:35:26,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:35:26,222 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92004562-05191257, IP 222.57.10.3, Port 22 2024-09-02 02:35:26,308 - 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-09-02 02:35:26,445 - DEBUG - VM ctest-TestBasicVMVNx-92004562-05191257 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-02 02:35:31,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:35:31,447 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92004562-05191257, IP 222.57.10.3, Port 22 2024-09-02 02:35:31,682 - DEBUG - VM ctest-TestBasicVMVNx-92004562-05191257 is ready for SSH connections 2024-09-02 02:35:31,683 - INFO - Waiting for VM ctest-TestBasicVMVNx-92004562-91522912 to be up.. 2024-09-02 02:35:31,833 - DEBUG - VM is in ACTIVE state now 2024-09-02 02:35:31,833 - INFO - VM name : ctest-TestBasicVMVNx-92004562-91522912 2024-09-02 02:35:31,976 - DEBUG - VM ctest-TestBasicVMVNx-92004562-91522912 ID is cf2a3f22-2ba3-476f-8049-51b856df86ba 2024-09-02 02:35:31,976 - DEBUG - VM ctest-TestBasicVMVNx-92004562-91522912 launched on Node cn-jenkins-deploy-platform-juju-os-390-1 2024-09-02 02:35:32,110 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine/cf2a3f22-2ba3-476f-8049-51b856df86ba 2024-09-02 02:35:32,166 - DEBUG - Requesting: https://10.0.0.24:8082/virtual-machine-interface/08c6c4ff-7a97-4587-a00d-0f3c1fead7e4 2024-09-02 02:35:33,631 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.532/2.647/1.115 ms') 2024-09-02 02:35:33,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92004562-91522912 passed 2024-09-02 02:35:33,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:35:33,782 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92004562-91522912, IP 222.57.10.4, Port 22 2024-09-02 02:35:34,008 - DEBUG - VM ctest-TestBasicVMVNx-92004562-91522912 is ready for SSH connections 2024-09-02 02:35:34,008 - DEBUG - FILE SIZE = 1303B 2024-09-02 02:35:34,008 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92004562-05191257 to ctest-TestBasicVMVNx-92004562-91522912 using scp 2024-09-02 02:35:34,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:35:34,018 - 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.24, gateway password: c0ntrail123 2024-09-02 02:35:34,018 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-02 02:35:35,618 - DEBUG - 1+0 records in 1+0 records out 2024-09-02 02:35:36,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 02:35:36,578 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-02 02:35:36,578 - DEBUG - ls -l testfile 2024-09-02 02:35:38,232 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 1 20:35 testfile 2024-09-02 02:35:38,232 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92004562-91522912 2024-09-02 02:35:38,232 - INFO - Deleting VM ctest-TestBasicVMVNx-92004562-91522912 2024-09-02 02:35:40,444 - INFO - Deleting VM ctest-TestBasicVMVNx-92004562-05191257 2024-09-02 02:35:40,587 - INFO - Deleting VN ctest-vn-32739058 2024-09-02 02:35:40,732 - DEBUG - VN 02b86ec8-2ebf-4a1d-a21c-a605c24a28f7 still in use: Unable to complete operation on network 02b86ec8-2ebf-4a1d-a21c-a605c24a28f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46d19a91-c07e-48b3-b7b4-f0f358441ffe'] 2024-09-02 02:35:40,733 - WARNING - Deleting VN ctest-vn-32739058 failed..Will retry 2024-09-02 02:35:44,819 - DEBUG - Response for deleting network () 2024-09-02 02:35:45,203 - DEBUG - No XMPP flaps were noticed during the test 2024-09-02 02:35:45,203 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:51] 2024-09-02 02:35:45,203 - INFO - -------------------------------------------------------------------------------- 2024-09-02 02:35:45,946 - INFO - Deleted project: ctest-TestBasicVMVNx-92004562, ID : c90f75cf-fe6d-4e52-96a3-d710f24821d1