2024-09-19 02:45:09,705 - INFO - Domain Default found not creating 2024-09-19 02:45:09,900 - INFO - Project ctest-TestBasicVMVNx-38813231 not found, creating it 2024-09-19 02:45:10,510 - INFO - Created Project:ctest-TestBasicVMVNx-38813231, ID : c4563f5b-8a22-43d8-9efe-be585aa0630a 2024-09-19 02:45:12,216 - INFO - ================================================================================ 2024-09-19 02:45:12,216 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-19 02:45:12,217 - 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-19 02:45:12,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.24': '0'}} with 2024-09-19 02:45:12,489 - INFO - Initial checks done. Running the testcase now 2024-09-19 02:45:12,489 - INFO - 2024-09-19 02:45:13,152 - DEBUG - Response for create_network : {'network': {'id': '4b7c66d4-734c-425d-8ea3-26c378ccd227', 'name': 'ctest-vn-05510432', 'tenant_id': 'c4563f5b8a2243d89efebe585aa0630a', 'project_id': 'c4563f5b8a2243d89efebe585aa0630a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-38813231', 'ctest-vn-05510432'], 'port_security_enabled': True, 'description': ''}} 2024-09-19 02:45:13,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '8988693d-396a-44fa-8823-e353888c1c6e', 'name': '', 'tenant_id': 'c4563f5b8a2243d89efebe585aa0630a', 'network_id': '4b7c66d4-734c-425d-8ea3-26c378ccd227', 'ip_version': 4, 'cidr': '12.148.38.192/26', 'allocation_pools': [{'start': '12.148.38.194', 'end': '12.148.38.254'}], 'gateway_ip': '12.148.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.148.38.194', 'tags': [], 'project_id': 'c4563f5b8a2243d89efebe585aa0630a'}} 2024-09-19 02:45:13,345 - INFO - Created VN ctest-vn-05510432 2024-09-19 02:45:13,405 - DEBUG - VN ctest-vn-05510432 UUID is 4b7c66d4-734c-425d-8ea3-26c378ccd227 2024-09-19 02:45:13,604 - DEBUG - Services list from nova: [, , ] 2024-09-19 02:45:14,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1998-1) 2024-09-19 02:45:16,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1998-1) 2024-09-19 02:45:16,215 - INFO - Waiting for VM ctest-TestBasicVMVNx-38813231-80157206 to be up.. 2024-09-19 02:45:16,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-19 02:45:21,463 - DEBUG - VM is in ACTIVE state now 2024-09-19 02:45:21,463 - INFO - VM name : ctest-TestBasicVMVNx-38813231-80157206 2024-09-19 02:45:21,565 - DEBUG - VM ctest-TestBasicVMVNx-38813231-80157206 ID is 0e302c05-b472-4381-8155-c52f53e8e445 2024-09-19 02:45:21,589 - DEBUG - VM ctest-TestBasicVMVNx-38813231-80157206 launched on Node cn-jenkins-deploy-platform-ansible-os-1998-1 2024-09-19 02:45:21,688 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/0e302c05-b472-4381-8155-c52f53e8e445 2024-09-19 02:45:22,040 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/0e302c05-b472-4381-8155-c52f53e8e445 2024-09-19 02:45:22,080 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/9c6867c1-f6ec-45a8-b519-0569e2e55a86 2024-09-19 02:45:25,351 - 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 1001ms') 2024-09-19 02:45:25,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38813231-80157206 failed! 2024-09-19 02:45:25,421 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-38813231:ctest-vn-05510432 is 12.148.38.193 and allocation pool is NOT set 2024-09-19 02:45:27,493 - 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=8.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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 = 1.496/5.015/8.534/3.519 ms') 2024-09-19 02:45:27,493 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38813231-80157206 passed 2024-09-19 02:45:27,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:45:27,669 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38813231-80157206, IP 12.148.38.195, Port 22 2024-09-19 02:45:27,848 - DEBUG - VM ctest-TestBasicVMVNx-38813231-80157206 is ready for SSH connections 2024-09-19 02:45:27,848 - INFO - Waiting for VM ctest-TestBasicVMVNx-38813231-11299523 to be up.. 2024-09-19 02:45:27,963 - DEBUG - VM is in ACTIVE state now 2024-09-19 02:45:27,963 - INFO - VM name : ctest-TestBasicVMVNx-38813231-11299523 2024-09-19 02:45:28,075 - DEBUG - VM ctest-TestBasicVMVNx-38813231-11299523 ID is dec8438f-8efd-4ad1-a2a8-895ea4846986 2024-09-19 02:45:28,075 - DEBUG - VM ctest-TestBasicVMVNx-38813231-11299523 launched on Node cn-jenkins-deploy-platform-ansible-os-1998-1 2024-09-19 02:45:28,187 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/dec8438f-8efd-4ad1-a2a8-895ea4846986 2024-09-19 02:45:28,200 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/f3966eb6-8da1-4b4a-b358-9c9ffc81fdf9 2024-09-19 02:45:29,460 - 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=5.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.05 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.049/3.894/5.740/1.845 ms') 2024-09-19 02:45:29,460 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-38813231-11299523 passed 2024-09-19 02:45:29,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:45:29,621 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38813231-11299523, IP 12.148.38.196, Port 22 2024-09-19 02:45:29,687 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-09-19 02:45:29,778 - DEBUG - VM ctest-TestBasicVMVNx-38813231-11299523 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-19 02:45:34,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:45:34,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38813231-11299523, IP 12.148.38.196, Port 22 2024-09-19 02:45:34,963 - DEBUG - VM ctest-TestBasicVMVNx-38813231-11299523 is ready for SSH connections 2024-09-19 02:45:34,963 - DEBUG - FILE SIZE = 1303B 2024-09-19 02:45:34,963 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-38813231-80157206 to ctest-TestBasicVMVNx-38813231-11299523 using scp 2024-09-19 02:45:34,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:45:34,970 - 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.47, gateway password: c0ntrail123 2024-09-19 02:45:34,970 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-19 02:45:36,984 - DEBUG - 1+0 records in 1+0 records out 2024-09-19 02:45:37,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:45:38,221 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2024-09-19 02:45:38,222 - DEBUG - ls -l testfile 2024-09-19 02:45:39,860 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 18 20:45 testfile 2024-09-19 02:45:39,861 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-38813231-11299523 2024-09-19 02:45:39,861 - INFO - Deleting VM ctest-TestBasicVMVNx-38813231-11299523 2024-09-19 02:45:39,947 - INFO - Deleting VM ctest-TestBasicVMVNx-38813231-80157206 2024-09-19 02:45:40,024 - INFO - Deleting VN ctest-vn-05510432 2024-09-19 02:45:40,075 - DEBUG - VN 4b7c66d4-734c-425d-8ea3-26c378ccd227 still in use: Unable to complete operation on network 4b7c66d4-734c-425d-8ea3-26c378ccd227. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4df7fae2-89db-40c1-8790-030a2d555510'] 2024-09-19 02:45:40,075 - WARNING - Deleting VN ctest-vn-05510432 failed..Will retry 2024-09-19 02:45:42,230 - DEBUG - Response for deleting network () 2024-09-19 02:45:42,513 - DEBUG - No XMPP flaps were noticed during the test
2024-09-19 02:45:42,513 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-09-19 02:45:42,513 - INFO - -------------------------------------------------------------------------------- 2024-09-19 02:45:43,380 - INFO - Deleted project: ctest-TestBasicVMVNx-38813231, ID : c4563f5b-8a22-43d8-9efe-be585aa0630a