2024-08-27 17:49:59,981 - INFO - Domain Default found not creating 2024-08-27 17:50:00,164 - INFO - Project ctest-TestBasicVMVNx-08912053 not found, creating it 2024-08-27 17:50:00,664 - INFO - Created Project:ctest-TestBasicVMVNx-08912053, ID : 718e8869-91a0-4e67-8147-6aedf1f08899 2024-08-27 17:50:02,226 - INFO - ================================================================================ 2024-08-27 17:50:02,226 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 17:50:02,226 - 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-08-27 17:50:02,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.22': '0'}} with 2024-08-27 17:50:02,487 - INFO - Initial checks done. Running the testcase now 2024-08-27 17:50:02,487 - INFO - 2024-08-27 17:50:03,092 - DEBUG - Response for create_network : {'network': {'id': 'a10deeec-ace4-46aa-b3e4-d5f1b896dd2d', 'name': 'ctest-vn-62213891', 'tenant_id': '718e886991a04e6781476aedf1f08899', 'project_id': '718e886991a04e6781476aedf1f08899', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08912053', 'ctest-vn-62213891'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 17:50:03,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ee5a453-e0ae-402a-8878-a8fb9bb1990b', 'name': '', 'tenant_id': '718e886991a04e6781476aedf1f08899', 'network_id': 'a10deeec-ace4-46aa-b3e4-d5f1b896dd2d', 'ip_version': 4, 'cidr': '144.210.101.64/26', 'allocation_pools': [{'start': '144.210.101.66', 'end': '144.210.101.126'}], 'gateway_ip': '144.210.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.210.101.66', 'tags': [], 'project_id': '718e886991a04e6781476aedf1f08899'}} 2024-08-27 17:50:03,281 - INFO - Created VN ctest-vn-62213891 2024-08-27 17:50:03,336 - DEBUG - VN ctest-vn-62213891 UUID is a10deeec-ace4-46aa-b3e4-d5f1b896dd2d 2024-08-27 17:50:03,515 - DEBUG - Services list from nova: [, , ] 2024-08-27 17:50:04,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1802-1) 2024-08-27 17:50:05,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1802-1) 2024-08-27 17:50:05,828 - INFO - Waiting for VM ctest-TestBasicVMVNx-08912053-94992049 to be up.. 2024-08-27 17:50:05,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 17:50:11,006 - DEBUG - VM is in ACTIVE state now 2024-08-27 17:50:11,007 - INFO - VM name : ctest-TestBasicVMVNx-08912053-94992049 2024-08-27 17:50:11,242 - DEBUG - VM ctest-TestBasicVMVNx-08912053-94992049 ID is 5536b303-4bc3-487b-840d-2190c7c848cd 2024-08-27 17:50:11,263 - DEBUG - VM ctest-TestBasicVMVNx-08912053-94992049 launched on Node cn-jenkins-deploy-platform-ansible-os-1802-1 2024-08-27 17:50:11,348 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5536b303-4bc3-487b-840d-2190c7c848cd 2024-08-27 17:50:11,655 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5536b303-4bc3-487b-840d-2190c7c848cd 2024-08-27 17:50:11,696 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/62b2ba23-8143-45c8-a9e7-782062c904bb 2024-08-27 17:50:14,963 - 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 1022ms') 2024-08-27 17:50:14,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08912053-94992049 failed! 2024-08-27 17:50:15,016 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08912053:ctest-vn-62213891 is 144.210.101.65 and allocation pool is NOT set 2024-08-27 17:50:17,086 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 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.943/2.986/3.029/0.043 ms') 2024-08-27 17:50:17,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08912053-94992049 passed 2024-08-27 17:50:17,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 17:50:17,236 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08912053-94992049, IP 144.210.101.67, Port 22 2024-08-27 17:50:17,292 - 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-08-27 17:50:17,368 - DEBUG - VM ctest-TestBasicVMVNx-08912053-94992049 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-27 17:50:22,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 17:50:22,369 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08912053-94992049, IP 144.210.101.67, Port 22 2024-08-27 17:50:22,524 - DEBUG - VM ctest-TestBasicVMVNx-08912053-94992049 is ready for SSH connections 2024-08-27 17:50:22,524 - INFO - Waiting for VM ctest-TestBasicVMVNx-08912053-74518857 to be up.. 2024-08-27 17:50:22,606 - DEBUG - VM is in ACTIVE state now 2024-08-27 17:50:22,607 - INFO - VM name : ctest-TestBasicVMVNx-08912053-74518857 2024-08-27 17:50:22,686 - DEBUG - VM ctest-TestBasicVMVNx-08912053-74518857 ID is 8c62eb12-f5fb-445d-b676-c252827dfe5f 2024-08-27 17:50:22,686 - DEBUG - VM ctest-TestBasicVMVNx-08912053-74518857 launched on Node cn-jenkins-deploy-platform-ansible-os-1802-1 2024-08-27 17:50:22,770 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8c62eb12-f5fb-445d-b676-c252827dfe5f 2024-08-27 17:50:22,781 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/bb935b08-38e1-4536-93f2-a7f9a923fb60 2024-08-27 17:50:24,018 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.657 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.657/1.847/3.037/1.190 ms') 2024-08-27 17:50:24,018 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08912053-74518857 passed 2024-08-27 17:50:24,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 17:50:24,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08912053-74518857, IP 144.210.101.68, Port 22 2024-08-27 17:50:24,332 - DEBUG - VM ctest-TestBasicVMVNx-08912053-74518857 is ready for SSH connections 2024-08-27 17:50:24,332 - DEBUG - FILE SIZE = 1303B 2024-08-27 17:50:24,332 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08912053-94992049 to ctest-TestBasicVMVNx-08912053-74518857 using scp 2024-08-27 17:50:24,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 17:50:24,339 - 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.57, gateway password: c0ntrail123 2024-08-27 17:50:24,339 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 17:50:26,284 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 17:50:27,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 17:50:27,426 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2024-08-27 17:50:27,426 - DEBUG - ls -l testfile 2024-08-27 17:50:28,000 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 27 11:50 testfile 2024-08-27 17:50:28,000 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08912053-74518857 2024-08-27 17:50:28,000 - INFO - Deleting VM ctest-TestBasicVMVNx-08912053-74518857 2024-08-27 17:50:28,073 - INFO - Deleting VM ctest-TestBasicVMVNx-08912053-94992049 2024-08-27 17:50:28,150 - INFO - Deleting VN ctest-vn-62213891 2024-08-27 17:50:28,192 - DEBUG - VN a10deeec-ace4-46aa-b3e4-d5f1b896dd2d still in use: Unable to complete operation on network a10deeec-ace4-46aa-b3e4-d5f1b896dd2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-388ee515-be6a-4cb3-b738-fb01d053dce2'] 2024-08-27 17:50:28,192 - WARNING - Deleting VN ctest-vn-62213891 failed..Will retry 2024-08-27 17:50:30,340 - DEBUG - Response for deleting network () 2024-08-27 17:50:30,609 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 17:50:30,609 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2024-08-27 17:50:30,609 - INFO - -------------------------------------------------------------------------------- 2024-08-27 17:50:31,315 - INFO - Deleted project: ctest-TestBasicVMVNx-08912053, ID : 718e8869-91a0-4e67-8147-6aedf1f08899