2024-10-23 18:10:59,047 - INFO - Domain Default found not creating 2024-10-23 18:10:59,265 - INFO - Project ctest-TestBasicVMVNx-00248206 not found, creating it 2024-10-23 18:10:59,827 - INFO - Created Project:ctest-TestBasicVMVNx-00248206, ID : 9900a670-67f0-4a78-8b4f-9507e19a737a 2024-10-23 18:11:01,436 - INFO - ================================================================================ 2024-10-23 18:11:01,437 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-23 18:11:01,437 - 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-23 18:11:01,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.6': '0'}} with 2024-10-23 18:11:01,701 - INFO - Initial checks done. Running the testcase now 2024-10-23 18:11:01,701 - INFO - 2024-10-23 18:11:02,348 - DEBUG - Response for create_network : {'network': {'id': '3aa25c75-0005-4d00-b1be-f311b75b46fd', 'name': 'ctest-vn-49225202', 'tenant_id': '9900a67067f04a788b4f9507e19a737a', 'project_id': '9900a67067f04a788b4f9507e19a737a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-00248206', 'ctest-vn-49225202'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 18:11:02,559 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd096811e-ae21-49bb-a42c-dd1808748860', 'name': '', 'tenant_id': '9900a67067f04a788b4f9507e19a737a', 'network_id': '3aa25c75-0005-4d00-b1be-f311b75b46fd', 'ip_version': 4, 'cidr': '39.181.192.192/26', 'allocation_pools': [{'start': '39.181.192.194', 'end': '39.181.192.254'}], 'gateway_ip': '39.181.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.181.192.194', 'tags': [], 'project_id': '9900a67067f04a788b4f9507e19a737a'}} 2024-10-23 18:11:02,584 - INFO - Created VN ctest-vn-49225202 2024-10-23 18:11:02,646 - DEBUG - VN ctest-vn-49225202 UUID is 3aa25c75-0005-4d00-b1be-f311b75b46fd 2024-10-23 18:11:02,864 - DEBUG - Services list from nova: [, , ] 2024-10-23 18:11:04,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2132-1) 2024-10-23 18:11:05,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2132-1) 2024-10-23 18:11:05,337 - INFO - Waiting for VM ctest-TestBasicVMVNx-00248206-25110211 to be up.. 2024-10-23 18:11:05,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-23 18:11:10,656 - DEBUG - VM is in ACTIVE state now 2024-10-23 18:11:10,656 - INFO - VM name : ctest-TestBasicVMVNx-00248206-25110211 2024-10-23 18:11:10,743 - DEBUG - VM ctest-TestBasicVMVNx-00248206-25110211 ID is c5317b48-a835-4610-9bb6-73ab6c9cd0c7 2024-10-23 18:11:10,769 - DEBUG - VM ctest-TestBasicVMVNx-00248206-25110211 launched on Node cn-jenkins-deploy-platform-ansible-os-2132-1 2024-10-23 18:11:10,880 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/c5317b48-a835-4610-9bb6-73ab6c9cd0c7 2024-10-23 18:11:11,199 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/c5317b48-a835-4610-9bb6-73ab6c9cd0c7 2024-10-23 18:11:11,255 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/056980ad-5bb3-4345-b11b-4661b3b93c7c 2024-10-23 18:11:14,556 - 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-10-23 18:11:14,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00248206-25110211 failed! 2024-10-23 18:11:14,618 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-00248206:ctest-vn-49225202 is 39.181.192.193 and allocation pool is NOT set 2024-10-23 18:11:16,685 - 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=5.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.30 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 = 2.295/3.765/5.235/1.470 ms') 2024-10-23 18:11:16,685 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00248206-25110211 passed 2024-10-23 18:11:16,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 18:11:16,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00248206-25110211, IP 39.181.192.195, Port 22 2024-10-23 18:11:16,924 - 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-10-23 18:11:17,026 - DEBUG - VM ctest-TestBasicVMVNx-00248206-25110211 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-23 18:11:22,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 18:11:22,027 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00248206-25110211, IP 39.181.192.195, Port 22 2024-10-23 18:11:22,187 - DEBUG - VM ctest-TestBasicVMVNx-00248206-25110211 is ready for SSH connections 2024-10-23 18:11:22,187 - INFO - Waiting for VM ctest-TestBasicVMVNx-00248206-49888016 to be up.. 2024-10-23 18:11:22,278 - DEBUG - VM is in ACTIVE state now 2024-10-23 18:11:22,279 - INFO - VM name : ctest-TestBasicVMVNx-00248206-49888016 2024-10-23 18:11:22,378 - DEBUG - VM ctest-TestBasicVMVNx-00248206-49888016 ID is 2e83ceae-dd82-432a-9827-8b54ae3f1293 2024-10-23 18:11:22,378 - DEBUG - VM ctest-TestBasicVMVNx-00248206-49888016 launched on Node cn-jenkins-deploy-platform-ansible-os-2132-1 2024-10-23 18:11:22,477 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/2e83ceae-dd82-432a-9827-8b54ae3f1293 2024-10-23 18:11:22,489 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/b4cebd89-e29b-44a5-b142-47cfbdf9b103 2024-10-23 18:11:23,758 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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.556/1.852/3.148/1.296 ms') 2024-10-23 18:11:23,758 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-00248206-49888016 passed 2024-10-23 18:11:23,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 18:11:23,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00248206-49888016, IP 39.181.192.196, Port 22 2024-10-23 18:11:24,090 - DEBUG - VM ctest-TestBasicVMVNx-00248206-49888016 is ready for SSH connections 2024-10-23 18:11:24,091 - DEBUG - FILE SIZE = 1303B 2024-10-23 18:11:24,091 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-00248206-25110211 to ctest-TestBasicVMVNx-00248206-49888016 using scp 2024-10-23 18:11:24,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 18:11:24,100 - 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.45, gateway password: c0ntrail123 2024-10-23 18:11:24,100 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-23 18:11:26,055 - DEBUG - 1+0 records in 1+0 records out 2024-10-23 18:11:26,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 18:11:27,219 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-10-23 18:11:27,220 - DEBUG - ls -l testfile 2024-10-23 18:11:28,833 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 23 12:11 testfile 2024-10-23 18:11:28,833 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-00248206-49888016 2024-10-23 18:11:28,834 - INFO - Deleting VM ctest-TestBasicVMVNx-00248206-49888016 2024-10-23 18:11:28,933 - INFO - Deleting VM ctest-TestBasicVMVNx-00248206-25110211 2024-10-23 18:11:29,027 - INFO - Deleting VN ctest-vn-49225202 2024-10-23 18:11:29,076 - DEBUG - VN 3aa25c75-0005-4d00-b1be-f311b75b46fd still in use: Unable to complete operation on network 3aa25c75-0005-4d00-b1be-f311b75b46fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12c373d2-320e-4f6a-b369-196e390169cd'] 2024-10-23 18:11:29,077 - WARNING - Deleting VN ctest-vn-49225202 failed..Will retry 2024-10-23 18:11:31,223 - DEBUG - Response for deleting network () 2024-10-23 18:11:31,486 - DEBUG - No XMPP flaps were noticed during the test 2024-10-23 18:11:31,487 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-10-23 18:11:31,487 - INFO - -------------------------------------------------------------------------------- 2024-10-23 18:11:32,766 - INFO - Deleted project: ctest-TestBasicVMVNx-00248206, ID : 9900a670-67f0-4a78-8b4f-9507e19a737a