2024-08-23 21:32:01,614 - INFO - Domain Default found not creating 2024-08-23 21:32:01,784 - INFO - Project ctest-TestBasicVMVNx-13225657 not found, creating it 2024-08-23 21:32:02,268 - INFO - Created Project:ctest-TestBasicVMVNx-13225657, ID : 153312e5-475f-4408-8971-ca3ae4e0d772 2024-08-23 21:32:04,124 - INFO - ================================================================================ 2024-08-23 21:32:04,124 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-23 21:32:04,124 - 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-23 21:32:04,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.7': '0'}} with 2024-08-23 21:32:04,380 - INFO - Initial checks done. Running the testcase now 2024-08-23 21:32:04,380 - INFO - 2024-08-23 21:32:04,958 - DEBUG - Response for create_network : {'network': {'id': 'ba953099-1aae-4516-af83-f98532392a17', 'name': 'ctest-vn-84428287', 'tenant_id': '153312e5475f44088971ca3ae4e0d772', 'project_id': '153312e5475f44088971ca3ae4e0d772', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13225657', 'ctest-vn-84428287'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 21:32:05,139 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f38ce963-b0f1-4d66-b984-7be12783e7fb', 'name': '', 'tenant_id': '153312e5475f44088971ca3ae4e0d772', 'network_id': 'ba953099-1aae-4516-af83-f98532392a17', 'ip_version': 4, 'cidr': '50.221.205.0/26', 'allocation_pools': [{'start': '50.221.205.2', 'end': '50.221.205.62'}], 'gateway_ip': '50.221.205.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.221.205.2', 'tags': [], 'project_id': '153312e5475f44088971ca3ae4e0d772'}} 2024-08-23 21:32:05,162 - INFO - Created VN ctest-vn-84428287 2024-08-23 21:32:05,218 - DEBUG - VN ctest-vn-84428287 UUID is ba953099-1aae-4516-af83-f98532392a17 2024-08-23 21:32:05,425 - DEBUG - Services list from nova: [, , ] 2024-08-23 21:32:06,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1730-1) 2024-08-23 21:32:07,636 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1730-1) 2024-08-23 21:32:07,637 - INFO - Waiting for VM ctest-TestBasicVMVNx-13225657-87595181 to be up.. 2024-08-23 21:32:07,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 21:32:12,807 - DEBUG - VM is in ACTIVE state now 2024-08-23 21:32:12,807 - INFO - VM name : ctest-TestBasicVMVNx-13225657-87595181 2024-08-23 21:32:12,885 - DEBUG - VM ctest-TestBasicVMVNx-13225657-87595181 ID is de3dc642-7702-42f8-8673-a5c4a5c9a17e 2024-08-23 21:32:12,904 - DEBUG - VM ctest-TestBasicVMVNx-13225657-87595181 launched on Node cn-jenkins-deploy-platform-ansible-os-1730-1 2024-08-23 21:32:12,991 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/de3dc642-7702-42f8-8673-a5c4a5c9a17e 2024-08-23 21:32:13,288 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/de3dc642-7702-42f8-8673-a5c4a5c9a17e 2024-08-23 21:32:13,326 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/d12eb961-7724-4093-ac3b-91e3bae1724f 2024-08-23 21:32:16,581 - 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 1019ms') 2024-08-23 21:32:16,581 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13225657-87595181 failed! 2024-08-23 21:32:16,637 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13225657:ctest-vn-84428287 is 50.221.205.1 and allocation pool is NOT set 2024-08-23 21:32:18,694 - 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=2.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 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.457/1.664/2.871/1.207 ms') 2024-08-23 21:32:18,694 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13225657-87595181 passed 2024-08-23 21:32:18,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 21:32:18,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13225657-87595181, IP 50.221.205.3, Port 22 2024-08-23 21:32:19,008 - DEBUG - VM ctest-TestBasicVMVNx-13225657-87595181 is ready for SSH connections 2024-08-23 21:32:19,008 - INFO - Waiting for VM ctest-TestBasicVMVNx-13225657-70585416 to be up.. 2024-08-23 21:32:19,110 - DEBUG - VM is in ACTIVE state now 2024-08-23 21:32:19,110 - INFO - VM name : ctest-TestBasicVMVNx-13225657-70585416 2024-08-23 21:32:19,187 - DEBUG - VM ctest-TestBasicVMVNx-13225657-70585416 ID is a2085f18-0b4f-48cb-a598-4b853689b151 2024-08-23 21:32:19,188 - DEBUG - VM ctest-TestBasicVMVNx-13225657-70585416 launched on Node cn-jenkins-deploy-platform-ansible-os-1730-1 2024-08-23 21:32:19,271 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/a2085f18-0b4f-48cb-a598-4b853689b151 2024-08-23 21:32:19,282 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/44703f51-b5e4-4247-b867-956c556aaa03 2024-08-23 21:32:20,524 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.65 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.648/2.711/2.775/0.063 ms') 2024-08-23 21:32:20,524 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13225657-70585416 passed 2024-08-23 21:32:20,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 21:32:20,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13225657-70585416, IP 50.221.205.4, Port 22 2024-08-23 21:32:20,828 - DEBUG - VM ctest-TestBasicVMVNx-13225657-70585416 is ready for SSH connections 2024-08-23 21:32:20,828 - DEBUG - FILE SIZE = 1303B 2024-08-23 21:32:20,828 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13225657-87595181 to ctest-TestBasicVMVNx-13225657-70585416 using scp 2024-08-23 21:32:20,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 21:32:20,834 - 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.36, gateway password: c0ntrail123 2024-08-23 21:32:20,834 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-23 21:32:22,790 - DEBUG - 1+0 records in 1+0 records out 2024-08-23 21:32:23,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 21:32:23,699 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-08-23 21:32:23,699 - DEBUG - ls -l testfile 2024-08-23 21:32:25,299 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 15:32 testfile 2024-08-23 21:32:25,299 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13225657-70585416 2024-08-23 21:32:25,299 - INFO - Deleting VM ctest-TestBasicVMVNx-13225657-70585416 2024-08-23 21:32:25,369 - INFO - Deleting VM ctest-TestBasicVMVNx-13225657-87595181 2024-08-23 21:32:25,440 - INFO - Deleting VN ctest-vn-84428287 2024-08-23 21:32:25,484 - DEBUG - VN ba953099-1aae-4516-af83-f98532392a17 still in use: Unable to complete operation on network ba953099-1aae-4516-af83-f98532392a17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-90ec7e6a-979b-4bdb-944c-6825741fea1c'] 2024-08-23 21:32:25,484 - WARNING - Deleting VN ctest-vn-84428287 failed..Will retry 2024-08-23 21:32:27,624 - DEBUG - Response for deleting network () 2024-08-23 21:32:27,879 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 21:32:27,879 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-08-23 21:32:27,880 - INFO - -------------------------------------------------------------------------------- 2024-08-23 21:32:28,609 - INFO - Deleted project: ctest-TestBasicVMVNx-13225657, ID : 153312e5-475f-4408-8971-ca3ae4e0d772