2024-09-13 18:55:25,917 - INFO - Domain Default found not creating 2024-09-13 18:55:26,308 - INFO - Project ctest-TestBasicVMVNx-17148061 not found, creating it 2024-09-13 18:55:27,004 - INFO - Created Project:ctest-TestBasicVMVNx-17148061, ID : 82f07317-0a9c-4dc6-9732-68e36b049dd3 2024-09-13 18:55:29,309 - INFO - ================================================================================ 2024-09-13 18:55:29,310 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-13 18:55:29,310 - 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-13 18:55:29,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.27': '0'}} with 2024-09-13 18:55:29,630 - INFO - Initial checks done. Running the testcase now 2024-09-13 18:55:29,630 - INFO - 2024-09-13 18:55:30,338 - DEBUG - Response for create_network : {'network': {'id': '9b59641b-d315-4135-9614-31b0d2682ee8', 'name': 'ctest-vn-02930404', 'tenant_id': '82f073170a9c4dc6973268e36b049dd3', 'project_id': '82f073170a9c4dc6973268e36b049dd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17148061', 'ctest-vn-02930404'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 18:55:30,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fea340d-5570-4c66-a257-d07dc53f7f80', 'name': '', 'tenant_id': '82f073170a9c4dc6973268e36b049dd3', 'network_id': '9b59641b-d315-4135-9614-31b0d2682ee8', 'ip_version': 4, 'cidr': '94.28.122.0/26', 'allocation_pools': [{'start': '94.28.122.2', 'end': '94.28.122.62'}], 'gateway_ip': '94.28.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.28.122.2', 'tags': [], 'project_id': '82f073170a9c4dc6973268e36b049dd3'}} 2024-09-13 18:55:30,639 - INFO - Created VN ctest-vn-02930404 2024-09-13 18:55:30,717 - DEBUG - VN ctest-vn-02930404 UUID is 9b59641b-d315-4135-9614-31b0d2682ee8 2024-09-13 18:55:30,970 - DEBUG - Services list from nova: [, , ] 2024-09-13 18:55:32,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1928-1) 2024-09-13 18:55:33,931 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1928-1) 2024-09-13 18:55:33,931 - INFO - Waiting for VM ctest-TestBasicVMVNx-17148061-72362205 to be up.. 2024-09-13 18:55:34,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 18:55:39,197 - DEBUG - VM is in ACTIVE state now 2024-09-13 18:55:39,198 - INFO - VM name : ctest-TestBasicVMVNx-17148061-72362205 2024-09-13 18:55:39,331 - DEBUG - VM ctest-TestBasicVMVNx-17148061-72362205 ID is 4c9f6e1e-20b3-4e0b-9626-8510feb66b60 2024-09-13 18:55:39,361 - DEBUG - VM ctest-TestBasicVMVNx-17148061-72362205 launched on Node cn-jenkins-deploy-platform-ansible-os-1928-1 2024-09-13 18:55:39,543 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/4c9f6e1e-20b3-4e0b-9626-8510feb66b60 2024-09-13 18:55:39,905 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/4c9f6e1e-20b3-4e0b-9626-8510feb66b60 2024-09-13 18:55:39,979 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/4bb1bd12-1b6b-48cf-ab1e-026288e86cbd 2024-09-13 18:55:43,360 - 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 1030ms') 2024-09-13 18:55:43,361 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17148061-72362205 failed! 2024-09-13 18:55:43,441 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17148061:ctest-vn-02930404 is 94.28.122.1 and allocation pool is NOT set 2024-09-13 18:55:45,527 - 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=4.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.73 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 = 4.139/4.434/4.729/0.295 ms') 2024-09-13 18:55:45,527 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17148061-72362205 passed 2024-09-13 18:55:45,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 18:55:45,689 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17148061-72362205, IP 94.28.122.3, Port 22 2024-09-13 18:55:45,768 - 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-13 18:55:46,016 - DEBUG - VM ctest-TestBasicVMVNx-17148061-72362205 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-13 18:55:51,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 18:55:51,017 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17148061-72362205, IP 94.28.122.3, Port 22 2024-09-13 18:55:51,216 - DEBUG - VM ctest-TestBasicVMVNx-17148061-72362205 is ready for SSH connections 2024-09-13 18:55:51,216 - INFO - Waiting for VM ctest-TestBasicVMVNx-17148061-36223308 to be up.. 2024-09-13 18:55:51,496 - DEBUG - VM is in ACTIVE state now 2024-09-13 18:55:51,497 - INFO - VM name : ctest-TestBasicVMVNx-17148061-36223308 2024-09-13 18:55:51,646 - DEBUG - VM ctest-TestBasicVMVNx-17148061-36223308 ID is b56d3b86-e894-4fe8-87dd-8d530912be2f 2024-09-13 18:55:51,646 - DEBUG - VM ctest-TestBasicVMVNx-17148061-36223308 launched on Node cn-jenkins-deploy-platform-ansible-os-1928-1 2024-09-13 18:55:51,819 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/b56d3b86-e894-4fe8-87dd-8d530912be2f 2024-09-13 18:55:51,841 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/ef769585-4873-47a5-b94a-29213dd2826c 2024-09-13 18:55:53,180 - 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=7.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.58 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 = 1.580/4.526/7.473/2.946 ms') 2024-09-13 18:55:53,180 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17148061-36223308 passed 2024-09-13 18:55:53,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 18:55:53,402 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17148061-36223308, IP 94.28.122.4, Port 22 2024-09-13 18:55:53,616 - DEBUG - VM ctest-TestBasicVMVNx-17148061-36223308 is ready for SSH connections 2024-09-13 18:55:53,617 - DEBUG - FILE SIZE = 1303B 2024-09-13 18:55:53,617 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17148061-72362205 to ctest-TestBasicVMVNx-17148061-36223308 using scp 2024-09-13 18:55:53,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 18:55:53,637 - 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.36, gateway password: c0ntrail123 2024-09-13 18:55:53,638 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-13 18:55:56,065 - DEBUG - 1+0 records in 1+0 records out 2024-09-13 18:55:56,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 18:55:57,356 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-13 18:55:57,357 - DEBUG - ls -l testfile 2024-09-13 18:55:59,301 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 12:55 testfile 2024-09-13 18:55:59,302 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17148061-36223308 2024-09-13 18:55:59,303 - INFO - Deleting VM ctest-TestBasicVMVNx-17148061-36223308 2024-09-13 18:55:59,476 - INFO - Deleting VM ctest-TestBasicVMVNx-17148061-72362205 2024-09-13 18:55:59,615 - INFO - Deleting VN ctest-vn-02930404 2024-09-13 18:55:59,714 - DEBUG - VN 9b59641b-d315-4135-9614-31b0d2682ee8 still in use: Unable to complete operation on network 9b59641b-d315-4135-9614-31b0d2682ee8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5bd97f4-b704-40e0-abec-67522b8c2aeb'] 2024-09-13 18:55:59,715 - WARNING - Deleting VN ctest-vn-02930404 failed..Will retry 2024-09-13 18:56:01,978 - DEBUG - Response for deleting network () 2024-09-13 18:56:02,280 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 18:56:02,280 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2024-09-13 18:56:02,280 - INFO - -------------------------------------------------------------------------------- 2024-09-13 18:56:03,264 - INFO - Deleted project: ctest-TestBasicVMVNx-17148061, ID : 82f07317-0a9c-4dc6-9732-68e36b049dd3