2024-08-26 13:29:26,339 - INFO - Domain Default found not creating 2024-08-26 13:29:26,522 - INFO - Project ctest-TestBasicVMVNx-40952393 not found, creating it 2024-08-26 13:29:27,045 - INFO - Created Project:ctest-TestBasicVMVNx-40952393, ID : b0eb5d9d-ae5f-4be9-8356-3e9b16f3abff 2024-08-26 13:29:28,607 - INFO - ================================================================================ 2024-08-26 13:29:28,607 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 13:29:28,607 - 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-26 13:29:28,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.5': '0'}} with 2024-08-26 13:29:28,871 - INFO - Initial checks done. Running the testcase now 2024-08-26 13:29:28,871 - INFO - 2024-08-26 13:29:29,469 - DEBUG - Response for create_network : {'network': {'id': 'e1927de3-b9ed-4245-a1aa-5e06ec8cc388', 'name': 'ctest-vn-19409382', 'tenant_id': 'b0eb5d9dae5f4be983563e9b16f3abff', 'project_id': 'b0eb5d9dae5f4be983563e9b16f3abff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40952393', 'ctest-vn-19409382'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 13:29:29,667 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb612ed1-827c-48eb-b89b-e7aac84dad9f', 'name': '', 'tenant_id': 'b0eb5d9dae5f4be983563e9b16f3abff', 'network_id': 'e1927de3-b9ed-4245-a1aa-5e06ec8cc388', 'ip_version': 4, 'cidr': '191.4.26.192/26', 'allocation_pools': [{'start': '191.4.26.194', 'end': '191.4.26.254'}], 'gateway_ip': '191.4.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.4.26.194', 'tags': [], 'project_id': 'b0eb5d9dae5f4be983563e9b16f3abff'}} 2024-08-26 13:29:29,688 - INFO - Created VN ctest-vn-19409382 2024-08-26 13:29:29,741 - DEBUG - VN ctest-vn-19409382 UUID is e1927de3-b9ed-4245-a1aa-5e06ec8cc388 2024-08-26 13:29:29,924 - DEBUG - Services list from nova: [, , ] 2024-08-26 13:29:31,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1759-1) 2024-08-26 13:29:32,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1759-1) 2024-08-26 13:29:32,394 - INFO - Waiting for VM ctest-TestBasicVMVNx-40952393-00285801 to be up.. 2024-08-26 13:29:32,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 13:29:37,606 - DEBUG - VM is in ACTIVE state now 2024-08-26 13:29:37,606 - INFO - VM name : ctest-TestBasicVMVNx-40952393-00285801 2024-08-26 13:29:37,701 - DEBUG - VM ctest-TestBasicVMVNx-40952393-00285801 ID is a6a5906b-5fd7-4c85-9c39-7c68ddb39239 2024-08-26 13:29:37,722 - DEBUG - VM ctest-TestBasicVMVNx-40952393-00285801 launched on Node cn-jenkins-deploy-platform-ansible-os-1759-1 2024-08-26 13:29:37,808 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/a6a5906b-5fd7-4c85-9c39-7c68ddb39239 2024-08-26 13:29:38,121 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/a6a5906b-5fd7-4c85-9c39-7c68ddb39239 2024-08-26 13:29:38,161 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/9d32a333-2176-48d5-bda3-af6f10501c75 2024-08-26 13:29:41,440 - 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-08-26 13:29:41,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40952393-00285801 failed! 2024-08-26 13:29:41,497 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-40952393:ctest-vn-19409382 is 191.4.26.193 and allocation pool is NOT set 2024-08-26 13:29:45,576 - 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=2 ttl=63 time=7.29 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 7.292/7.292/7.292/0.000 ms') 2024-08-26 13:29:45,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40952393-00285801 passed 2024-08-26 13:29:45,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:29:45,737 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40952393-00285801, IP 191.4.26.195, Port 22 2024-08-26 13:29:45,900 - DEBUG - VM ctest-TestBasicVMVNx-40952393-00285801 is ready for SSH connections 2024-08-26 13:29:45,900 - INFO - Waiting for VM ctest-TestBasicVMVNx-40952393-44122855 to be up.. 2024-08-26 13:29:45,997 - DEBUG - VM is in ACTIVE state now 2024-08-26 13:29:45,997 - INFO - VM name : ctest-TestBasicVMVNx-40952393-44122855 2024-08-26 13:29:46,082 - DEBUG - VM ctest-TestBasicVMVNx-40952393-44122855 ID is ed989422-34e9-4545-9168-39b4ba8f8b05 2024-08-26 13:29:46,082 - DEBUG - VM ctest-TestBasicVMVNx-40952393-44122855 launched on Node cn-jenkins-deploy-platform-ansible-os-1759-1 2024-08-26 13:29:46,172 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ed989422-34e9-4545-9168-39b4ba8f8b05 2024-08-26 13:29:46,182 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/06892406-5dd6-4f17-8148-184665a39e4a 2024-08-26 13:29:47,414 - 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=4.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.67 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.670/3.075/4.481/1.405 ms') 2024-08-26 13:29:47,414 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40952393-44122855 passed 2024-08-26 13:29:47,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:29:47,577 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40952393-44122855, IP 191.4.26.196, Port 22 2024-08-26 13:29:47,644 - 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-08-26 13:29:47,748 - DEBUG - VM ctest-TestBasicVMVNx-40952393-44122855 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-26 13:29:52,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:29:52,749 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40952393-44122855, IP 191.4.26.196, Port 22 2024-08-26 13:29:52,905 - DEBUG - VM ctest-TestBasicVMVNx-40952393-44122855 is ready for SSH connections 2024-08-26 13:29:52,905 - DEBUG - FILE SIZE = 1303B 2024-08-26 13:29:52,905 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40952393-00285801 to ctest-TestBasicVMVNx-40952393-44122855 using scp 2024-08-26 13:29:52,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:29:52,910 - 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.24, gateway password: c0ntrail123 2024-08-26 13:29:52,911 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 13:29:54,905 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 13:29:55,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:29:55,864 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-08-26 13:29:55,865 - DEBUG - ls -l testfile 2024-08-26 13:29:57,468 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 07:29 testfile 2024-08-26 13:29:57,468 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40952393-44122855 2024-08-26 13:29:57,468 - INFO - Deleting VM ctest-TestBasicVMVNx-40952393-44122855 2024-08-26 13:29:57,546 - INFO - Deleting VM ctest-TestBasicVMVNx-40952393-00285801 2024-08-26 13:29:57,628 - INFO - Deleting VN ctest-vn-19409382 2024-08-26 13:29:57,669 - DEBUG - VN e1927de3-b9ed-4245-a1aa-5e06ec8cc388 still in use: Unable to complete operation on network e1927de3-b9ed-4245-a1aa-5e06ec8cc388. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e88c978-bc22-40e1-940d-4c408cf4d132'] 2024-08-26 13:29:57,669 - WARNING - Deleting VN ctest-vn-19409382 failed..Will retry 2024-08-26 13:29:59,775 - DEBUG - Response for deleting network () 2024-08-26 13:30:00,036 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 13:30:00,036 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2024-08-26 13:30:00,037 - INFO - -------------------------------------------------------------------------------- 2024-08-26 13:30:00,753 - INFO - Deleted project: ctest-TestBasicVMVNx-40952393, ID : b0eb5d9d-ae5f-4be9-8356-3e9b16f3abff