2024-10-28 14:50:01,778 - INFO - Domain Default found not creating 2024-10-28 14:50:01,962 - INFO - Project ctest-TestBasicVMVNx-90354368 not found, creating it 2024-10-28 14:50:02,579 - INFO - Created Project:ctest-TestBasicVMVNx-90354368, ID : 0109a23e-e27e-4c6f-98f7-2ba9f4b7d702 2024-10-28 14:50:04,251 - INFO - ================================================================================ 2024-10-28 14:50:04,251 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 14:50:04,251 - 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 14:50:04,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.28': '0'}} with 2024-10-28 14:50:04,513 - INFO - Initial checks done. Running the testcase now 2024-10-28 14:50:04,513 - INFO - 2024-10-28 14:50:05,319 - DEBUG - Response for create_network : {'network': {'id': '49857906-1b5c-4dca-88c5-ef0e290fb3e1', 'name': 'ctest-vn-02244408', 'tenant_id': '0109a23ee27e4c6f98f72ba9f4b7d702', 'project_id': '0109a23ee27e4c6f98f72ba9f4b7d702', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90354368', 'ctest-vn-02244408'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 14:50:05,496 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b665e60-c61f-4d09-85c0-001669797676', 'name': '', 'tenant_id': '0109a23ee27e4c6f98f72ba9f4b7d702', 'network_id': '49857906-1b5c-4dca-88c5-ef0e290fb3e1', 'ip_version': 4, 'cidr': '169.31.244.64/26', 'allocation_pools': [{'start': '169.31.244.66', 'end': '169.31.244.126'}], 'gateway_ip': '169.31.244.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.31.244.66', 'tags': [], 'project_id': '0109a23ee27e4c6f98f72ba9f4b7d702'}} 2024-10-28 14:50:05,520 - INFO - Created VN ctest-vn-02244408 2024-10-28 14:50:05,578 - DEBUG - VN ctest-vn-02244408 UUID is 49857906-1b5c-4dca-88c5-ef0e290fb3e1 2024-10-28 14:50:05,779 - DEBUG - Services list from nova: [, , ] 2024-10-28 14:50:06,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2164-1) 2024-10-28 14:50:08,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2164-1) 2024-10-28 14:50:08,217 - INFO - Waiting for VM ctest-TestBasicVMVNx-90354368-59109189 to be up.. 2024-10-28 14:50:08,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 14:50:13,436 - DEBUG - VM is in ACTIVE state now 2024-10-28 14:50:13,436 - INFO - VM name : ctest-TestBasicVMVNx-90354368-59109189 2024-10-28 14:50:13,677 - DEBUG - VM ctest-TestBasicVMVNx-90354368-59109189 ID is ec917370-f922-4e1b-93d1-32213d502030 2024-10-28 14:50:13,700 - DEBUG - VM ctest-TestBasicVMVNx-90354368-59109189 launched on Node cn-jenkins-deploy-platform-ansible-os-2164-1 2024-10-28 14:50:13,823 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/ec917370-f922-4e1b-93d1-32213d502030 2024-10-28 14:50:14,140 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/ec917370-f922-4e1b-93d1-32213d502030 2024-10-28 14:50:14,189 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/b8657fe8-2dbf-4099-816d-51c61e03260e 2024-10-28 14:50:17,494 - 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 1022ms') 2024-10-28 14:50:17,494 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90354368-59109189 failed! 2024-10-28 14:50:17,559 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90354368:ctest-vn-02244408 is 169.31.244.65 and allocation pool is NOT set 2024-10-28 14:50:19,635 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.869 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 = 0.869/2.223/3.578/1.354 ms') 2024-10-28 14:50:19,635 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90354368-59109189 passed 2024-10-28 14:50:19,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 14:50:19,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90354368-59109189, IP 169.31.244.67, Port 22 2024-10-28 14:50:19,955 - DEBUG - VM ctest-TestBasicVMVNx-90354368-59109189 is ready for SSH connections 2024-10-28 14:50:19,955 - INFO - Waiting for VM ctest-TestBasicVMVNx-90354368-20208712 to be up.. 2024-10-28 14:50:20,095 - DEBUG - VM is in ACTIVE state now 2024-10-28 14:50:20,096 - INFO - VM name : ctest-TestBasicVMVNx-90354368-20208712 2024-10-28 14:50:20,186 - DEBUG - VM ctest-TestBasicVMVNx-90354368-20208712 ID is 074df9b4-9e82-4db0-b39f-f04776e4de36 2024-10-28 14:50:20,187 - DEBUG - VM ctest-TestBasicVMVNx-90354368-20208712 launched on Node cn-jenkins-deploy-platform-ansible-os-2164-1 2024-10-28 14:50:20,290 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/074df9b4-9e82-4db0-b39f-f04776e4de36 2024-10-28 14:50:20,301 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/ffe526e7-6a19-4724-a60e-3532471a67bd 2024-10-28 14:50:21,560 - 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=3.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.590 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.590/1.835/3.080/1.245 ms') 2024-10-28 14:50:21,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90354368-20208712 passed 2024-10-28 14:50:21,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 14:50:21,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90354368-20208712, IP 169.31.244.68, Port 22 2024-10-28 14:50:21,888 - DEBUG - VM ctest-TestBasicVMVNx-90354368-20208712 is ready for SSH connections 2024-10-28 14:50:21,888 - DEBUG - FILE SIZE = 1303B 2024-10-28 14:50:21,888 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90354368-59109189 to ctest-TestBasicVMVNx-90354368-20208712 using scp 2024-10-28 14:50:21,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 14:50:21,897 - 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 14:50:21,897 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 14:50:23,997 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 14:50:24,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 14:50:25,188 - 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 14:50:25,189 - DEBUG - ls -l testfile 2024-10-28 14:50:26,800 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 08:50 testfile 2024-10-28 14:50:26,800 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90354368-20208712 2024-10-28 14:50:26,800 - INFO - Deleting VM ctest-TestBasicVMVNx-90354368-20208712 2024-10-28 14:50:26,880 - INFO - Deleting VM ctest-TestBasicVMVNx-90354368-59109189 2024-10-28 14:50:26,979 - INFO - Deleting VN ctest-vn-02244408 2024-10-28 14:50:27,031 - DEBUG - VN 49857906-1b5c-4dca-88c5-ef0e290fb3e1 still in use: Unable to complete operation on network 49857906-1b5c-4dca-88c5-ef0e290fb3e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-361eab9e-fb33-441b-be34-43183aae47b8'] 2024-10-28 14:50:27,031 - WARNING - Deleting VN ctest-vn-02244408 failed..Will retry 2024-10-28 14:50:29,165 - DEBUG - Response for deleting network () 2024-10-28 14:50:29,441 - DEBUG - No XMPP flaps were noticed during the test 2024-10-28 14:50:29,441 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-10-28 14:50:29,441 - INFO - -------------------------------------------------------------------------------- 2024-10-28 14:50:30,187 - INFO - Deleted project: ctest-TestBasicVMVNx-90354368, ID : 0109a23e-e27e-4c6f-98f7-2ba9f4b7d702