2024-10-21 02:31:19,240 - INFO - Domain Default found not creating 2024-10-21 02:31:19,444 - INFO - Project ctest-TestBasicVMVNx-97122097 not found, creating it 2024-10-21 02:31:19,952 - INFO - Created Project:ctest-TestBasicVMVNx-97122097, ID : 338be322-7443-4e0c-9383-0a69537c124f 2024-10-21 02:31:21,642 - INFO - ================================================================================ 2024-10-21 02:31:21,642 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-21 02:31:21,642 - 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-10-21 02:31:21,920 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.21': '0'}} with 2024-10-21 02:31:21,920 - INFO - Initial checks done. Running the testcase now 2024-10-21 02:31:21,920 - INFO - 2024-10-21 02:31:22,546 - DEBUG - Response for create_network : {'network': {'id': 'd88b4861-4a94-466d-864a-5110a286bd6d', 'name': 'ctest-vn-41816960', 'tenant_id': '338be32274434e0c93830a69537c124f', 'project_id': '338be32274434e0c93830a69537c124f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-97122097', 'ctest-vn-41816960'], 'port_security_enabled': True, 'description': ''}} 2024-10-21 02:31:22,787 - DEBUG - Response for create_subnet : {'subnet': {'id': '424ecf66-fb81-42dc-9b76-c897554a3acd', 'name': '', 'tenant_id': '338be32274434e0c93830a69537c124f', 'network_id': 'd88b4861-4a94-466d-864a-5110a286bd6d', 'ip_version': 4, 'cidr': '95.26.87.64/26', 'allocation_pools': [{'start': '95.26.87.66', 'end': '95.26.87.126'}], 'gateway_ip': '95.26.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.26.87.66', 'tags': [], 'project_id': '338be32274434e0c93830a69537c124f'}} 2024-10-21 02:31:22,810 - INFO - Created VN ctest-vn-41816960 2024-10-21 02:31:22,864 - DEBUG - VN ctest-vn-41816960 UUID is d88b4861-4a94-466d-864a-5110a286bd6d 2024-10-21 02:31:23,060 - DEBUG - Services list from nova: [, , ] 2024-10-21 02:31:24,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2122-1) 2024-10-21 02:31:25,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2122-1) 2024-10-21 02:31:25,513 - INFO - Waiting for VM ctest-TestBasicVMVNx-97122097-45216706 to be up.. 2024-10-21 02:31:25,732 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-21 02:31:30,819 - DEBUG - VM is in ACTIVE state now 2024-10-21 02:31:30,820 - INFO - VM name : ctest-TestBasicVMVNx-97122097-45216706 2024-10-21 02:31:30,932 - DEBUG - VM ctest-TestBasicVMVNx-97122097-45216706 ID is 6eb5a284-754a-41a2-b674-9f05c53c96b6 2024-10-21 02:31:30,960 - DEBUG - VM ctest-TestBasicVMVNx-97122097-45216706 launched on Node cn-jenkins-deploy-platform-ansible-os-2122-1 2024-10-21 02:31:31,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6eb5a284-754a-41a2-b674-9f05c53c96b6 2024-10-21 02:31:31,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6eb5a284-754a-41a2-b674-9f05c53c96b6 2024-10-21 02:31:31,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c39b883e-e89b-4c35-bf54-f185c1bc11fb 2024-10-21 02:31:34,703 - 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 1006ms') 2024-10-21 02:31:34,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97122097-45216706 failed! 2024-10-21 02:31:34,755 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-97122097:ctest-vn-41816960 is 95.26.87.65 and allocation pool is NOT set 2024-10-21 02:31:36,814 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.67 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.673/3.137/4.602/1.464 ms') 2024-10-21 02:31:36,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97122097-45216706 passed 2024-10-21 02:31:36,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:31:36,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97122097-45216706, IP 95.26.87.67, Port 22 2024-10-21 02:31:37,138 - DEBUG - VM ctest-TestBasicVMVNx-97122097-45216706 is ready for SSH connections 2024-10-21 02:31:37,138 - INFO - Waiting for VM ctest-TestBasicVMVNx-97122097-67059491 to be up.. 2024-10-21 02:31:37,236 - DEBUG - VM is in ACTIVE state now 2024-10-21 02:31:37,236 - INFO - VM name : ctest-TestBasicVMVNx-97122097-67059491 2024-10-21 02:31:37,336 - DEBUG - VM ctest-TestBasicVMVNx-97122097-67059491 ID is 2e5cf563-9414-432d-968f-3b495a9232c9 2024-10-21 02:31:37,336 - DEBUG - VM ctest-TestBasicVMVNx-97122097-67059491 launched on Node cn-jenkins-deploy-platform-ansible-os-2122-1 2024-10-21 02:31:37,424 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2e5cf563-9414-432d-968f-3b495a9232c9 2024-10-21 02:31:37,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/02acbc8d-ce5d-4c5f-bb83-0bd0f648cb07 2024-10-21 02:31:38,681 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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.642/2.013/3.385/1.371 ms') 2024-10-21 02:31:38,681 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97122097-67059491 passed 2024-10-21 02:31:38,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:31:38,836 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97122097-67059491, IP 95.26.87.68, Port 22 2024-10-21 02:31:38,905 - 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-10-21 02:31:38,993 - DEBUG - VM ctest-TestBasicVMVNx-97122097-67059491 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-21 02:31:43,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:31:43,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97122097-67059491, IP 95.26.87.68, Port 22 2024-10-21 02:31:44,166 - DEBUG - VM ctest-TestBasicVMVNx-97122097-67059491 is ready for SSH connections 2024-10-21 02:31:44,166 - DEBUG - FILE SIZE = 1303B 2024-10-21 02:31:44,166 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97122097-45216706 to ctest-TestBasicVMVNx-97122097-67059491 using scp 2024-10-21 02:31:44,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:31:44,173 - 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.38, gateway password: c0ntrail123 2024-10-21 02:31:44,173 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-21 02:31:46,193 - DEBUG - 1+0 records in 1+0 records out 2024-10-21 02:31:46,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:31:47,212 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-10-21 02:31:47,213 - DEBUG - ls -l testfile 2024-10-21 02:31:48,856 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 20 20:31 testfile 2024-10-21 02:31:48,856 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97122097-67059491 2024-10-21 02:31:48,856 - INFO - Deleting VM ctest-TestBasicVMVNx-97122097-67059491 2024-10-21 02:31:48,937 - INFO - Deleting VM ctest-TestBasicVMVNx-97122097-45216706 2024-10-21 02:31:49,011 - INFO - Deleting VN ctest-vn-41816960 2024-10-21 02:31:49,055 - DEBUG - VN d88b4861-4a94-466d-864a-5110a286bd6d still in use: Unable to complete operation on network d88b4861-4a94-466d-864a-5110a286bd6d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43c3cdca-c33d-4fa6-9f32-d7b407d883b3'] 2024-10-21 02:31:49,055 - WARNING - Deleting VN ctest-vn-41816960 failed..Will retry 2024-10-21 02:31:51,179 - DEBUG - Response for deleting network () 2024-10-21 02:31:51,440 - DEBUG - No XMPP flaps were noticed during the test 2024-10-21 02:31:51,440 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-10-21 02:31:51,440 - INFO - -------------------------------------------------------------------------------- 2024-10-21 02:31:52,272 - INFO - Deleted project: ctest-TestBasicVMVNx-97122097, ID : 338be322-7443-4e0c-9383-0a69537c124f