2024-10-18 21:47:45,126 - INFO - Domain Default found not creating 2024-10-18 21:47:45,323 - INFO - Project ctest-TestBasicVMVNx-81778489 not found, creating it 2024-10-18 21:47:45,842 - INFO - Created Project:ctest-TestBasicVMVNx-81778489, ID : b1cd8871-e5aa-45b1-b764-836337dbe323 2024-10-18 21:47:47,550 - INFO - ================================================================================ 2024-10-18 21:47:47,550 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-18 21:47:47,550 - 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-18 21:47:47,823 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.18': '0'}} with 2024-10-18 21:47:47,823 - INFO - Initial checks done. Running the testcase now 2024-10-18 21:47:47,823 - INFO - 2024-10-18 21:47:48,480 - DEBUG - Response for create_network : {'network': {'id': '79550d9f-75cb-4ee0-97e4-ce0955adbbad', 'name': 'ctest-vn-25716126', 'tenant_id': 'b1cd8871e5aa45b1b764836337dbe323', 'project_id': 'b1cd8871e5aa45b1b764836337dbe323', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-81778489', 'ctest-vn-25716126'], 'port_security_enabled': True, 'description': ''}} 2024-10-18 21:47:48,696 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f559a83d-eb8e-4bcf-b6cc-c332a27cc062', 'name': '', 'tenant_id': 'b1cd8871e5aa45b1b764836337dbe323', 'network_id': '79550d9f-75cb-4ee0-97e4-ce0955adbbad', 'ip_version': 4, 'cidr': '81.117.138.0/26', 'allocation_pools': [{'start': '81.117.138.2', 'end': '81.117.138.62'}], 'gateway_ip': '81.117.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.117.138.2', 'tags': [], 'project_id': 'b1cd8871e5aa45b1b764836337dbe323'}} 2024-10-18 21:47:48,719 - INFO - Created VN ctest-vn-25716126 2024-10-18 21:47:48,779 - DEBUG - VN ctest-vn-25716126 UUID is 79550d9f-75cb-4ee0-97e4-ce0955adbbad 2024-10-18 21:47:48,979 - DEBUG - Services list from nova: [, , ] 2024-10-18 21:47:50,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2111-1) 2024-10-18 21:47:51,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2111-1) 2024-10-18 21:47:51,466 - INFO - Waiting for VM ctest-TestBasicVMVNx-81778489-13682133 to be up.. 2024-10-18 21:47:51,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-18 21:47:56,654 - DEBUG - VM is in ACTIVE state now 2024-10-18 21:47:56,654 - INFO - VM name : ctest-TestBasicVMVNx-81778489-13682133 2024-10-18 21:47:56,748 - DEBUG - VM ctest-TestBasicVMVNx-81778489-13682133 ID is 75d4ef29-6be8-4acd-a17b-38c382be7582 2024-10-18 21:47:56,769 - DEBUG - VM ctest-TestBasicVMVNx-81778489-13682133 launched on Node cn-jenkins-deploy-platform-ansible-os-2111-1 2024-10-18 21:47:56,876 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/75d4ef29-6be8-4acd-a17b-38c382be7582 2024-10-18 21:47:57,223 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/75d4ef29-6be8-4acd-a17b-38c382be7582 2024-10-18 21:47:57,266 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/5b5f6c23-c968-4068-9df1-c0b2b65c413f 2024-10-18 21:48:00,548 - 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 1021ms') 2024-10-18 21:48:00,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81778489-13682133 failed! 2024-10-18 21:48:00,615 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-81778489:ctest-vn-25716126 is 81.117.138.1 and allocation pool is NOT set 2024-10-18 21:48:02,672 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.505/4.658/8.811/4.153 ms') 2024-10-18 21:48:02,672 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81778489-13682133 passed 2024-10-18 21:48:02,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:48:02,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81778489-13682133, IP 81.117.138.3, Port 22 2024-10-18 21:48:02,905 - 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-10-18 21:48:03,022 - DEBUG - VM ctest-TestBasicVMVNx-81778489-13682133 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-18 21:48:08,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:48:08,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81778489-13682133, IP 81.117.138.3, Port 22 2024-10-18 21:48:08,178 - DEBUG - VM ctest-TestBasicVMVNx-81778489-13682133 is ready for SSH connections 2024-10-18 21:48:08,178 - INFO - Waiting for VM ctest-TestBasicVMVNx-81778489-14392333 to be up.. 2024-10-18 21:48:08,334 - DEBUG - VM is in ACTIVE state now 2024-10-18 21:48:08,334 - INFO - VM name : ctest-TestBasicVMVNx-81778489-14392333 2024-10-18 21:48:08,441 - DEBUG - VM ctest-TestBasicVMVNx-81778489-14392333 ID is 4acf8b02-59d4-4c7e-b3f8-914908474740 2024-10-18 21:48:08,441 - DEBUG - VM ctest-TestBasicVMVNx-81778489-14392333 launched on Node cn-jenkins-deploy-platform-ansible-os-2111-1 2024-10-18 21:48:08,544 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/4acf8b02-59d4-4c7e-b3f8-914908474740 2024-10-18 21:48:08,558 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/adf526ac-8d79-403d-bfb6-f3e5d208524b 2024-10-18 21:48:09,824 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/2.374/4.304/1.930 ms') 2024-10-18 21:48:09,824 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-81778489-14392333 passed 2024-10-18 21:48:09,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:48:09,995 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81778489-14392333, IP 81.117.138.4, Port 22 2024-10-18 21:48:10,159 - DEBUG - VM ctest-TestBasicVMVNx-81778489-14392333 is ready for SSH connections 2024-10-18 21:48:10,159 - DEBUG - FILE SIZE = 1303B 2024-10-18 21:48:10,159 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-81778489-13682133 to ctest-TestBasicVMVNx-81778489-14392333 using scp 2024-10-18 21:48:10,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:48:10,172 - 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.32, gateway password: c0ntrail123 2024-10-18 21:48:10,172 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-18 21:48:12,481 - DEBUG - 1+0 records in 1+0 records out 2024-10-18 21:48:13,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:48:13,510 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-18 21:48:13,510 - DEBUG - ls -l testfile 2024-10-18 21:48:15,166 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 18 15:48 testfile 2024-10-18 21:48:15,166 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-81778489-14392333 2024-10-18 21:48:15,167 - INFO - Deleting VM ctest-TestBasicVMVNx-81778489-14392333 2024-10-18 21:48:15,256 - INFO - Deleting VM ctest-TestBasicVMVNx-81778489-13682133 2024-10-18 21:48:15,349 - INFO - Deleting VN ctest-vn-25716126 2024-10-18 21:48:15,397 - DEBUG - VN 79550d9f-75cb-4ee0-97e4-ce0955adbbad still in use: Unable to complete operation on network 79550d9f-75cb-4ee0-97e4-ce0955adbbad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7969cec-36b4-482a-a9f0-c0de0b6aeab5'] 2024-10-18 21:48:15,397 - WARNING - Deleting VN ctest-vn-25716126 failed..Will retry 2024-10-18 21:48:17,561 - DEBUG - Response for deleting network () 2024-10-18 21:48:17,821 - DEBUG - No XMPP flaps were noticed during the test
2024-10-18 21:48:17,821 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-10-18 21:48:17,822 - INFO - -------------------------------------------------------------------------------- 2024-10-18 21:48:18,617 - INFO - Deleted project: ctest-TestBasicVMVNx-81778489, ID : b1cd8871-e5aa-45b1-b764-836337dbe323