2024-09-09 15:09:50,738 - INFO - Domain Default found not creating 2024-09-09 15:09:50,896 - INFO - Project ctest-TestBasicVMVNx-78107254 not found, creating it 2024-09-09 15:09:51,396 - INFO - Created Project:ctest-TestBasicVMVNx-78107254, ID : 73deb14d-2b42-40b7-93ea-c829b4440c7d 2024-09-09 15:09:52,914 - INFO - ================================================================================ 2024-09-09 15:09:52,915 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-09 15:09:52,915 - 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-09-09 15:09:53,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.20': '0'}} with 2024-09-09 15:09:53,185 - INFO - Initial checks done. Running the testcase now 2024-09-09 15:09:53,185 - INFO - 2024-09-09 15:09:53,734 - DEBUG - Response for create_network : {'network': {'id': '6f3a70a7-9dea-42a4-ba8a-97fa74e7b6d9', 'name': 'ctest-vn-25149823', 'tenant_id': '73deb14d2b4240b793eac829b4440c7d', 'project_id': '73deb14d2b4240b793eac829b4440c7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-78107254', 'ctest-vn-25149823'], 'port_security_enabled': True, 'description': ''}} 2024-09-09 15:09:53,904 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1af17b7-3dfd-41bf-9717-ed098e099c3e', 'name': '', 'tenant_id': '73deb14d2b4240b793eac829b4440c7d', 'network_id': '6f3a70a7-9dea-42a4-ba8a-97fa74e7b6d9', 'ip_version': 4, 'cidr': '65.92.211.64/26', 'allocation_pools': [{'start': '65.92.211.66', 'end': '65.92.211.126'}], 'gateway_ip': '65.92.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.92.211.66', 'tags': [], 'project_id': '73deb14d2b4240b793eac829b4440c7d'}} 2024-09-09 15:09:53,924 - INFO - Created VN ctest-vn-25149823 2024-09-09 15:09:53,976 - DEBUG - VN ctest-vn-25149823 UUID is 6f3a70a7-9dea-42a4-ba8a-97fa74e7b6d9 2024-09-09 15:09:54,138 - DEBUG - Services list from nova: [, , ] 2024-09-09 15:09:55,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1876-1) 2024-09-09 15:09:56,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1876-1) 2024-09-09 15:09:56,453 - INFO - Waiting for VM ctest-TestBasicVMVNx-78107254-22419095 to be up.. 2024-09-09 15:09:56,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-09 15:10:01,620 - DEBUG - VM is in ACTIVE state now 2024-09-09 15:10:01,620 - INFO - VM name : ctest-TestBasicVMVNx-78107254-22419095 2024-09-09 15:10:01,707 - DEBUG - VM ctest-TestBasicVMVNx-78107254-22419095 ID is 7da07b2b-6918-42a5-a825-17f2e5ee7c68 2024-09-09 15:10:01,726 - DEBUG - VM ctest-TestBasicVMVNx-78107254-22419095 launched on Node cn-jenkins-deploy-platform-ansible-os-1876-1 2024-09-09 15:10:01,818 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/7da07b2b-6918-42a5-a825-17f2e5ee7c68 2024-09-09 15:10:02,115 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/7da07b2b-6918-42a5-a825-17f2e5ee7c68 2024-09-09 15:10:02,156 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/5110a4b9-8c62-4284-83df-be50fcd39423 2024-09-09 15:10:05,411 - 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 1017ms') 2024-09-09 15:10:05,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78107254-22419095 failed! 2024-09-09 15:10:05,464 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-78107254:ctest-vn-25149823 is 65.92.211.65 and allocation pool is NOT set 2024-09-09 15:10:07,522 - 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=7.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.75 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.753/4.969/7.185/2.216 ms') 2024-09-09 15:10:07,522 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-78107254-22419095 passed 2024-09-09 15:10:07,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:10:07,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78107254-22419095, IP 65.92.211.67, Port 22 2024-09-09 15:10:07,732 - 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-09-09 15:10:07,812 - DEBUG - VM ctest-TestBasicVMVNx-78107254-22419095 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-09 15:10:12,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:10:12,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78107254-22419095, IP 65.92.211.67, Port 22 2024-09-09 15:10:12,968 - DEBUG - VM ctest-TestBasicVMVNx-78107254-22419095 is ready for SSH connections 2024-09-09 15:10:12,968 - INFO - Waiting for VM ctest-TestBasicVMVNx-78107254-05367644 to be up.. 2024-09-09 15:10:13,044 - DEBUG - VM is in ACTIVE state now 2024-09-09 15:10:13,044 - INFO - VM name : ctest-TestBasicVMVNx-78107254-05367644 2024-09-09 15:10:13,121 - DEBUG - VM ctest-TestBasicVMVNx-78107254-05367644 ID is d853795a-024e-4327-bf6b-0bf978874d06 2024-09-09 15:10:13,121 - DEBUG - VM ctest-TestBasicVMVNx-78107254-05367644 launched on Node cn-jenkins-deploy-platform-ansible-os-1876-1 2024-09-09 15:10:13,198 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/d853795a-024e-4327-bf6b-0bf978874d06 2024-09-09 15:10:13,207 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/dc429c98-5787-47f0-9e84-54e11ffd1331 2024-09-09 15:10:14,465 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.600/2.774/1.174 ms') 2024-09-09 15:10:14,465 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-78107254-05367644 passed 2024-09-09 15:10:14,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:10:14,616 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-78107254-05367644, IP 65.92.211.68, Port 22 2024-09-09 15:10:14,768 - DEBUG - VM ctest-TestBasicVMVNx-78107254-05367644 is ready for SSH connections 2024-09-09 15:10:14,768 - DEBUG - FILE SIZE = 1303B 2024-09-09 15:10:14,768 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-78107254-22419095 to ctest-TestBasicVMVNx-78107254-05367644 using scp 2024-09-09 15:10:14,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:10:14,774 - 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.43, gateway password: c0ntrail123 2024-09-09 15:10:14,774 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-09 15:10:16,655 - DEBUG - 1+0 records in 1+0 records out 2024-09-09 15:10:17,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:10:17,574 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2024-09-09 15:10:17,575 - DEBUG - ls -l testfile 2024-09-09 15:10:19,162 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 9 09:10 testfile 2024-09-09 15:10:19,162 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-78107254-05367644 2024-09-09 15:10:19,162 - INFO - Deleting VM ctest-TestBasicVMVNx-78107254-05367644 2024-09-09 15:10:19,320 - INFO - Deleting VM ctest-TestBasicVMVNx-78107254-22419095 2024-09-09 15:10:19,400 - INFO - Deleting VN ctest-vn-25149823 2024-09-09 15:10:19,443 - DEBUG - VN 6f3a70a7-9dea-42a4-ba8a-97fa74e7b6d9 still in use: Unable to complete operation on network 6f3a70a7-9dea-42a4-ba8a-97fa74e7b6d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d602b86-df84-4080-9e50-12657a9a4c20'] 2024-09-09 15:10:19,443 - WARNING - Deleting VN ctest-vn-25149823 failed..Will retry 2024-09-09 15:10:21,558 - DEBUG - Response for deleting network () 2024-09-09 15:10:21,819 - DEBUG - No XMPP flaps were noticed during the test 2024-09-09 15:10:21,819 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2024-09-09 15:10:21,819 - INFO - -------------------------------------------------------------------------------- 2024-09-09 15:10:22,508 - INFO - Deleted project: ctest-TestBasicVMVNx-78107254, ID : 73deb14d-2b42-40b7-93ea-c829b4440c7d