2024-11-07 16:51:43,767 - INFO - Domain Default found not creating 2024-11-07 16:51:43,939 - INFO - Project ctest-TestBasicVMVNx-21517478 not found, creating it 2024-11-07 16:51:44,448 - INFO - Created Project:ctest-TestBasicVMVNx-21517478, ID : cb5952aa-8ffc-4fe3-8a06-9f2853be8121 2024-11-07 16:51:46,109 - INFO - ================================================================================ 2024-11-07 16:51:46,109 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 16:51:46,109 - 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-07 16:51:46,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2024-11-07 16:51:46,370 - INFO - Initial checks done. Running the testcase now 2024-11-07 16:51:46,370 - INFO - 2024-11-07 16:51:47,039 - DEBUG - Response for create_network : {'network': {'id': '61510b56-3879-4481-b105-d4d6d0871e1c', 'name': 'ctest-vn-33491300', 'tenant_id': 'cb5952aa8ffc4fe38a069f2853be8121', 'project_id': 'cb5952aa8ffc4fe38a069f2853be8121', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21517478', 'ctest-vn-33491300'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 16:51:47,251 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad9a40b8-02b8-4123-9361-f1de594cc867', 'name': '', 'tenant_id': 'cb5952aa8ffc4fe38a069f2853be8121', 'network_id': '61510b56-3879-4481-b105-d4d6d0871e1c', 'ip_version': 4, 'cidr': '112.202.47.0/26', 'allocation_pools': [{'start': '112.202.47.2', 'end': '112.202.47.62'}], 'gateway_ip': '112.202.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.202.47.2', 'tags': [], 'project_id': 'cb5952aa8ffc4fe38a069f2853be8121'}} 2024-11-07 16:51:47,274 - INFO - Created VN ctest-vn-33491300 2024-11-07 16:51:47,342 - DEBUG - VN ctest-vn-33491300 UUID is 61510b56-3879-4481-b105-d4d6d0871e1c 2024-11-07 16:51:47,536 - DEBUG - Services list from nova: [, , ] 2024-11-07 16:51:48,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2220-1) 2024-11-07 16:51:50,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2220-1) 2024-11-07 16:51:50,395 - INFO - Waiting for VM ctest-TestBasicVMVNx-21517478-05993494 to be up.. 2024-11-07 16:51:50,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 16:51:55,650 - DEBUG - VM is in ACTIVE state now 2024-11-07 16:51:55,650 - INFO - VM name : ctest-TestBasicVMVNx-21517478-05993494 2024-11-07 16:51:55,778 - DEBUG - VM ctest-TestBasicVMVNx-21517478-05993494 ID is 3a42e600-7925-4f47-8732-c93a8e2a6467 2024-11-07 16:51:55,805 - DEBUG - VM ctest-TestBasicVMVNx-21517478-05993494 launched on Node cn-jenkins-deploy-platform-ansible-os-2220-1 2024-11-07 16:51:55,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3a42e600-7925-4f47-8732-c93a8e2a6467 2024-11-07 16:51:56,312 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3a42e600-7925-4f47-8732-c93a8e2a6467 2024-11-07 16:51:56,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/da09ce1c-9ce1-48e5-a3bb-c68a65bea764 2024-11-07 16:51:59,653 - 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 1002ms') 2024-11-07 16:51:59,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21517478-05993494 failed! 2024-11-07 16:51:59,712 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21517478:ctest-vn-33491300 is 112.202.47.1 and allocation pool is NOT set 2024-11-07 16:52:01,769 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 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.376/1.835/3.294/1.459 ms') 2024-11-07 16:52:01,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21517478-05993494 passed 2024-11-07 16:52:01,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:52:01,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21517478-05993494, IP 112.202.47.3, Port 22 2024-11-07 16:52:01,998 - 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-07 16:52:02,121 - DEBUG - VM ctest-TestBasicVMVNx-21517478-05993494 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-07 16:52:07,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:52:07,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21517478-05993494, IP 112.202.47.3, Port 22 2024-11-07 16:52:07,280 - DEBUG - VM ctest-TestBasicVMVNx-21517478-05993494 is ready for SSH connections 2024-11-07 16:52:07,280 - INFO - Waiting for VM ctest-TestBasicVMVNx-21517478-04588275 to be up.. 2024-11-07 16:52:07,364 - DEBUG - VM is in ACTIVE state now 2024-11-07 16:52:07,364 - INFO - VM name : ctest-TestBasicVMVNx-21517478-04588275 2024-11-07 16:52:07,445 - DEBUG - VM ctest-TestBasicVMVNx-21517478-04588275 ID is 56b74ac8-c2ab-4793-849e-82cc17d2d331 2024-11-07 16:52:07,445 - DEBUG - VM ctest-TestBasicVMVNx-21517478-04588275 launched on Node cn-jenkins-deploy-platform-ansible-os-2220-1 2024-11-07 16:52:07,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56b74ac8-c2ab-4793-849e-82cc17d2d331 2024-11-07 16:52:07,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/533fa134-ddbf-4582-a1df-e5749d84bf3e 2024-11-07 16:52:08,792 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.753/3.103/1.350 ms') 2024-11-07 16:52:08,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21517478-04588275 passed 2024-11-07 16:52:08,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:52:08,952 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21517478-04588275, IP 112.202.47.4, Port 22 2024-11-07 16:52:09,108 - DEBUG - VM ctest-TestBasicVMVNx-21517478-04588275 is ready for SSH connections 2024-11-07 16:52:09,108 - DEBUG - FILE SIZE = 1303B 2024-11-07 16:52:09,108 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21517478-05993494 to ctest-TestBasicVMVNx-21517478-04588275 using scp 2024-11-07 16:52:09,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:52:09,117 - 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.38, gateway password: c0ntrail123 2024-11-07 16:52:09,117 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 16:52:11,152 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 16:52:11,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:52:12,152 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-11-07 16:52:12,152 - DEBUG - ls -l testfile 2024-11-07 16:52:13,776 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 09:52 testfile 2024-11-07 16:52:13,776 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21517478-04588275 2024-11-07 16:52:13,776 - INFO - Deleting VM ctest-TestBasicVMVNx-21517478-04588275 2024-11-07 16:52:13,853 - INFO - Deleting VM ctest-TestBasicVMVNx-21517478-05993494 2024-11-07 16:52:13,925 - INFO - Deleting VN ctest-vn-33491300 2024-11-07 16:52:13,967 - DEBUG - VN 61510b56-3879-4481-b105-d4d6d0871e1c still in use: Unable to complete operation on network 61510b56-3879-4481-b105-d4d6d0871e1c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd615728-90c4-4893-8dbc-7e0133c2ea6f'] 2024-11-07 16:52:13,967 - WARNING - Deleting VN ctest-vn-33491300 failed..Will retry 2024-11-07 16:52:16,087 - DEBUG - Response for deleting network () 2024-11-07 16:52:16,342 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 16:52:16,343 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-11-07 16:52:16,343 - INFO - -------------------------------------------------------------------------------- 2024-11-07 16:52:17,126 - INFO - Deleted project: ctest-TestBasicVMVNx-21517478, ID : cb5952aa-8ffc-4fe3-8a06-9f2853be8121