2024-11-03 22:16:51,441 - INFO - Domain Default found not creating 2024-11-03 22:16:51,635 - INFO - Project ctest-TestBasicVMVNx-12447363 not found, creating it 2024-11-03 22:16:52,173 - INFO - Created Project:ctest-TestBasicVMVNx-12447363, ID : 099cc437-6145-4549-856f-4af6473c4bfb 2024-11-03 22:16:53,946 - INFO - ================================================================================ 2024-11-03 22:16:53,946 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-03 22:16:53,947 - 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-11-03 22:16:54,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.10': '0'}} with 2024-11-03 22:16:54,212 - INFO - Initial checks done. Running the testcase now 2024-11-03 22:16:54,212 - INFO - 2024-11-03 22:16:54,883 - DEBUG - Response for create_network : {'network': {'id': 'df116e6d-8b01-42da-a98d-a73410946c04', 'name': 'ctest-vn-91334087', 'tenant_id': '099cc43761454549856f4af6473c4bfb', 'project_id': '099cc43761454549856f4af6473c4bfb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-12447363', 'ctest-vn-91334087'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 22:16:55,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9f88438-7e81-4cfe-9491-cff26498e7ea', 'name': '', 'tenant_id': '099cc43761454549856f4af6473c4bfb', 'network_id': 'df116e6d-8b01-42da-a98d-a73410946c04', 'ip_version': 4, 'cidr': '189.166.51.64/26', 'allocation_pools': [{'start': '189.166.51.66', 'end': '189.166.51.126'}], 'gateway_ip': '189.166.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.166.51.66', 'tags': [], 'project_id': '099cc43761454549856f4af6473c4bfb'}} 2024-11-03 22:16:55,132 - INFO - Created VN ctest-vn-91334087 2024-11-03 22:16:55,193 - DEBUG - VN ctest-vn-91334087 UUID is df116e6d-8b01-42da-a98d-a73410946c04 2024-11-03 22:16:55,389 - DEBUG - Services list from nova: [, , ] 2024-11-03 22:16:58,750 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2191-1) 2024-11-03 22:17:00,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2191-1) 2024-11-03 22:17:00,180 - INFO - Waiting for VM ctest-TestBasicVMVNx-12447363-75474173 to be up.. 2024-11-03 22:17:00,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-03 22:17:05,539 - DEBUG - VM is in ACTIVE state now 2024-11-03 22:17:05,539 - INFO - VM name : ctest-TestBasicVMVNx-12447363-75474173 2024-11-03 22:17:05,661 - DEBUG - VM ctest-TestBasicVMVNx-12447363-75474173 ID is 3b535831-24c6-4101-bb7a-a473e2015913 2024-11-03 22:17:05,687 - DEBUG - VM ctest-TestBasicVMVNx-12447363-75474173 launched on Node cn-jenkins-deploy-platform-ansible-os-2191-1 2024-11-03 22:17:05,790 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/3b535831-24c6-4101-bb7a-a473e2015913 2024-11-03 22:17:06,145 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/3b535831-24c6-4101-bb7a-a473e2015913 2024-11-03 22:17:06,198 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/de6ade0f-795f-42ad-b842-2666e475fb49 2024-11-03 22:17:09,504 - 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 1021ms') 2024-11-03 22:17:09,504 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12447363-75474173 failed! 2024-11-03 22:17:09,568 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-12447363:ctest-vn-91334087 is 189.166.51.65 and allocation pool is NOT set 2024-11-03 22:17:14,781 - 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=5.34 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 5.339/5.339/5.339/0.000 ms') 2024-11-03 22:17:14,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12447363-75474173 passed 2024-11-03 22:17:14,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:17:14,941 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12447363-75474173, IP 189.166.51.67, Port 22 2024-11-03 22:17:15,002 - 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-11-03 22:17:15,108 - DEBUG - VM ctest-TestBasicVMVNx-12447363-75474173 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-03 22:17:20,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:17:20,109 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12447363-75474173, IP 189.166.51.67, Port 22 2024-11-03 22:17:20,265 - DEBUG - VM ctest-TestBasicVMVNx-12447363-75474173 is ready for SSH connections 2024-11-03 22:17:20,265 - INFO - Waiting for VM ctest-TestBasicVMVNx-12447363-60347973 to be up.. 2024-11-03 22:17:20,361 - DEBUG - VM is in ACTIVE state now 2024-11-03 22:17:20,361 - INFO - VM name : ctest-TestBasicVMVNx-12447363-60347973 2024-11-03 22:17:20,459 - DEBUG - VM ctest-TestBasicVMVNx-12447363-60347973 ID is a804b837-111c-42cf-bc13-015cbbe7721b 2024-11-03 22:17:20,460 - DEBUG - VM ctest-TestBasicVMVNx-12447363-60347973 launched on Node cn-jenkins-deploy-platform-ansible-os-2191-1 2024-11-03 22:17:20,560 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/a804b837-111c-42cf-bc13-015cbbe7721b 2024-11-03 22:17:20,572 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/bf54f5db-d2dc-4785-b96e-3f2387e41530 2024-11-03 22:17:21,831 - 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=4.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/2.557/4.636/2.079 ms') 2024-11-03 22:17:21,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-12447363-60347973 passed 2024-11-03 22:17:22,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:17:22,069 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12447363-60347973, IP 189.166.51.68, Port 22 2024-11-03 22:17:22,234 - DEBUG - VM ctest-TestBasicVMVNx-12447363-60347973 is ready for SSH connections 2024-11-03 22:17:22,234 - DEBUG - FILE SIZE = 1303B 2024-11-03 22:17:22,234 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-12447363-75474173 to ctest-TestBasicVMVNx-12447363-60347973 using scp 2024-11-03 22:17:22,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:17:22,242 - 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.44, gateway password: c0ntrail123 2024-11-03 22:17:22,242 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-03 22:17:23,893 - DEBUG - 1+0 records in 1+0 records out 2024-11-03 22:17:26,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:17:28,772 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-03 22:17:28,773 - DEBUG - ls -l testfile 2024-11-03 22:17:30,426 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 15:17 testfile 2024-11-03 22:17:30,426 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-12447363-60347973 2024-11-03 22:17:30,426 - INFO - Deleting VM ctest-TestBasicVMVNx-12447363-60347973 2024-11-03 22:17:30,513 - INFO - Deleting VM ctest-TestBasicVMVNx-12447363-75474173 2024-11-03 22:17:30,683 - INFO - Deleting VN ctest-vn-91334087 2024-11-03 22:17:30,741 - DEBUG - VN df116e6d-8b01-42da-a98d-a73410946c04 still in use: Unable to complete operation on network df116e6d-8b01-42da-a98d-a73410946c04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49ba8fbb-dfe1-4144-be41-1c006073b88a'] 2024-11-03 22:17:30,742 - WARNING - Deleting VN ctest-vn-91334087 failed..Will retry 2024-11-03 22:17:33,674 - DEBUG - Response for deleting network () 2024-11-03 22:17:33,938 - DEBUG - No XMPP flaps were noticed during the test 2024-11-03 22:17:33,938 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:40] 2024-11-03 22:17:33,938 - INFO - -------------------------------------------------------------------------------- 2024-11-03 22:17:34,767 - INFO - Deleted project: ctest-TestBasicVMVNx-12447363, ID : 099cc437-6145-4549-856f-4af6473c4bfb