2024-10-28 11:58:10,910 - INFO - Domain Default found not creating 2024-10-28 11:58:11,081 - INFO - Project ctest-TestBasicVMVNx-44128489 not found, creating it 2024-10-28 11:58:11,584 - INFO - Created Project:ctest-TestBasicVMVNx-44128489, ID : f81d7daa-d39f-47e8-bb3b-a1c795dd9a8a 2024-10-28 11:58:13,111 - INFO - ================================================================================ 2024-10-28 11:58:13,112 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 11:58:13,112 - 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-28 11:58:13,373 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.20': '0'}} with 2024-10-28 11:58:13,373 - INFO - Initial checks done. Running the testcase now 2024-10-28 11:58:13,373 - INFO - 2024-10-28 11:58:13,954 - DEBUG - Response for create_network : {'network': {'id': '09c4c40b-68b9-44ab-9c10-bc2f6b92f8d0', 'name': 'ctest-vn-07650552', 'tenant_id': 'f81d7daad39f47e8bb3ba1c795dd9a8a', 'project_id': 'f81d7daad39f47e8bb3ba1c795dd9a8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44128489', 'ctest-vn-07650552'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 11:58:14,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d99d252-adda-4ce2-aff1-033e950f5bcb', 'name': '', 'tenant_id': 'f81d7daad39f47e8bb3ba1c795dd9a8a', 'network_id': '09c4c40b-68b9-44ab-9c10-bc2f6b92f8d0', 'ip_version': 4, 'cidr': '205.135.134.0/26', 'allocation_pools': [{'start': '205.135.134.2', 'end': '205.135.134.62'}], 'gateway_ip': '205.135.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.135.134.2', 'tags': [], 'project_id': 'f81d7daad39f47e8bb3ba1c795dd9a8a'}} 2024-10-28 11:58:14,168 - INFO - Created VN ctest-vn-07650552 2024-10-28 11:58:14,230 - DEBUG - VN ctest-vn-07650552 UUID is 09c4c40b-68b9-44ab-9c10-bc2f6b92f8d0 2024-10-28 11:58:14,417 - DEBUG - Services list from nova: [, , ] 2024-10-28 11:58:15,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2158-1) 2024-10-28 11:58:16,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2158-1) 2024-10-28 11:58:16,639 - INFO - Waiting for VM ctest-TestBasicVMVNx-44128489-38218347 to be up.. 2024-10-28 11:58:16,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 11:58:21,812 - DEBUG - VM is in ACTIVE state now 2024-10-28 11:58:21,813 - INFO - VM name : ctest-TestBasicVMVNx-44128489-38218347 2024-10-28 11:58:21,896 - DEBUG - VM ctest-TestBasicVMVNx-44128489-38218347 ID is 2a15d59c-38cb-4651-934a-043412ed8387 2024-10-28 11:58:21,920 - DEBUG - VM ctest-TestBasicVMVNx-44128489-38218347 launched on Node cn-jenkins-deploy-platform-ansible-os-2158-1 2024-10-28 11:58:22,020 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/2a15d59c-38cb-4651-934a-043412ed8387 2024-10-28 11:58:22,313 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/2a15d59c-38cb-4651-934a-043412ed8387 2024-10-28 11:58:22,347 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/7a31a9f9-5c0f-43ba-9809-fd3bcf273281 2024-10-28 11:58:25,624 - 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 1026ms') 2024-10-28 11:58:25,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44128489-38218347 failed! 2024-10-28 11:58:25,690 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44128489:ctest-vn-07650552 is 205.135.134.1 and allocation pool is NOT set 2024-10-28 11:58:27,752 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/1.866/3.298/1.432 ms') 2024-10-28 11:58:27,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44128489-38218347 passed 2024-10-28 11:58:27,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 11:58:27,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44128489-38218347, IP 205.135.134.3, Port 22 2024-10-28 11:58:28,062 - DEBUG - VM ctest-TestBasicVMVNx-44128489-38218347 is ready for SSH connections 2024-10-28 11:58:28,062 - INFO - Waiting for VM ctest-TestBasicVMVNx-44128489-51515711 to be up.. 2024-10-28 11:58:28,141 - DEBUG - VM is in ACTIVE state now 2024-10-28 11:58:28,141 - INFO - VM name : ctest-TestBasicVMVNx-44128489-51515711 2024-10-28 11:58:28,221 - DEBUG - VM ctest-TestBasicVMVNx-44128489-51515711 ID is 3dfe30eb-4a63-4866-8bb3-7f3cfa6a8bb3 2024-10-28 11:58:28,222 - DEBUG - VM ctest-TestBasicVMVNx-44128489-51515711 launched on Node cn-jenkins-deploy-platform-ansible-os-2158-1 2024-10-28 11:58:28,314 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/3dfe30eb-4a63-4866-8bb3-7f3cfa6a8bb3 2024-10-28 11:58:28,329 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/9cacce44-3558-4813-a42f-a91ac3b41f94 2024-10-28 11:58:29,575 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.601 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.601/1.683/2.766/1.082 ms') 2024-10-28 11:58:29,575 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44128489-51515711 passed 2024-10-28 11:58:29,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 11:58:29,730 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44128489-51515711, IP 205.135.134.4, Port 22 2024-10-28 11:58:29,882 - DEBUG - VM ctest-TestBasicVMVNx-44128489-51515711 is ready for SSH connections 2024-10-28 11:58:29,882 - DEBUG - FILE SIZE = 1303B 2024-10-28 11:58:29,882 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44128489-38218347 to ctest-TestBasicVMVNx-44128489-51515711 using scp 2024-10-28 11:58:29,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 11:58:29,888 - 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.61, gateway password: c0ntrail123 2024-10-28 11:58:29,889 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 11:58:31,789 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 11:58:32,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 11:58:32,725 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2024-10-28 11:58:32,725 - DEBUG - ls -l testfile 2024-10-28 11:58:34,326 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 05:58 testfile 2024-10-28 11:58:34,327 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44128489-51515711 2024-10-28 11:58:34,327 - INFO - Deleting VM ctest-TestBasicVMVNx-44128489-51515711 2024-10-28 11:58:34,405 - INFO - Deleting VM ctest-TestBasicVMVNx-44128489-38218347 2024-10-28 11:58:34,469 - INFO - Deleting VN ctest-vn-07650552 2024-10-28 11:58:34,525 - DEBUG - VN 09c4c40b-68b9-44ab-9c10-bc2f6b92f8d0 still in use: Unable to complete operation on network 09c4c40b-68b9-44ab-9c10-bc2f6b92f8d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6bde1cae-2b36-4adf-a017-589497eff40b'] 2024-10-28 11:58:34,525 - WARNING - Deleting VN ctest-vn-07650552 failed..Will retry 2024-10-28 11:58:36,635 - DEBUG - Response for deleting network () 2024-10-28 11:58:36,888 - DEBUG - No XMPP flaps were noticed during the test 2024-10-28 11:58:36,888 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2024-10-28 11:58:36,888 - INFO - -------------------------------------------------------------------------------- 2024-10-28 11:58:37,606 - INFO - Deleted project: ctest-TestBasicVMVNx-44128489, ID : f81d7daa-d39f-47e8-bb3b-a1c795dd9a8a