2024-10-17 13:47:25,167 - INFO - Reading existing Domain with UUID cfa788e6-8a4a-4759-a522-b9348a350fea 2024-10-17 13:47:25,186 - INFO - Using existing domain ['admin_domain'](cfa788e6-8a4a-4759-a522-b9348a350fea) 2024-10-17 13:47:25,444 - INFO - Project ctest-TestBasicVMVNx-73566387 not found, creating it 2024-10-17 13:47:26,109 - INFO - Created Project:ctest-TestBasicVMVNx-73566387, ID : 07fad92b-4bf0-43f8-a09b-7b555107cb42 2024-10-17 13:47:28,327 - INFO - ================================================================================ 2024-10-17 13:47:28,328 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-17 13:47:28,328 - 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-17 13:47:28,738 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.0.0.12': '0'}} with 2024-10-17 13:47:28,738 - INFO - Initial checks done. Running the testcase now 2024-10-17 13:47:28,738 - INFO - 2024-10-17 13:47:29,714 - DEBUG - Response for create_network : {'network': {'id': 'da24a347-f476-4ac6-b680-bce4059d93f7', 'name': 'ctest-vn-50415849', 'tenant_id': '07fad92b4bf043f8a09b7b555107cb42', 'project_id': '07fad92b4bf043f8a09b7b555107cb42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-73566387', 'ctest-vn-50415849'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-10-17 13:47:30,038 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd7df564-17de-4e82-b527-562a9088a8a0', 'name': '', 'tenant_id': '07fad92b4bf043f8a09b7b555107cb42', 'network_id': 'da24a347-f476-4ac6-b680-bce4059d93f7', 'ip_version': 4, 'cidr': '218.170.201.192/26', 'allocation_pools': [{'start': '218.170.201.194', 'end': '218.170.201.254'}], 'gateway_ip': '218.170.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-10-17T13:47:29.902688', 'updated_at': '2024-10-17T13:47:29.902688', 'dns_server_address': '218.170.201.194', 'tags': [], 'project_id': '07fad92b4bf043f8a09b7b555107cb42'}} 2024-10-17 13:47:30,106 - INFO - Created VN ctest-vn-50415849 2024-10-17 13:47:30,172 - DEBUG - VN ctest-vn-50415849 UUID is da24a347-f476-4ac6-b680-bce4059d93f7 2024-10-17 13:47:30,482 - DEBUG - Services list from nova: [, , ] 2024-10-17 13:47:31,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-438-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-438-1) 2024-10-17 13:47:33,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-438-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-438-1) 2024-10-17 13:47:33,708 - INFO - Waiting for VM ctest-TestBasicVMVNx-73566387-01365343 to be up.. 2024-10-17 13:47:34,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-17 13:47:39,305 - DEBUG - VM is in ACTIVE state now 2024-10-17 13:47:39,305 - INFO - VM name : ctest-TestBasicVMVNx-73566387-01365343 2024-10-17 13:47:39,497 - DEBUG - VM ctest-TestBasicVMVNx-73566387-01365343 ID is f858ea59-57aa-43cd-97e4-33214a829ee1 2024-10-17 13:47:39,544 - DEBUG - VM ctest-TestBasicVMVNx-73566387-01365343 launched on Node cn-jenkins-deploy-platform-juju-os-438-1 2024-10-17 13:47:39,764 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine/f858ea59-57aa-43cd-97e4-33214a829ee1 2024-10-17 13:47:40,177 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine/f858ea59-57aa-43cd-97e4-33214a829ee1 2024-10-17 13:47:40,274 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine-interface/e8137087-1ac0-4bec-a3bb-06695524b107 2024-10-17 13:47:43,836 - 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 1012ms') 2024-10-17 13:47:43,836 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73566387-01365343 failed! 2024-10-17 13:47:43,916 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-73566387:ctest-vn-50415849 is 218.170.201.193 and allocation pool is NOT set 2024-10-17 13:47:48,034 - 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=4.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 4.797/4.797/4.797/0.000 ms') 2024-10-17 13:47:48,034 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73566387-01365343 passed 2024-10-17 13:47:48,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 13:47:48,232 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73566387-01365343, IP 218.170.201.195, Port 22 2024-10-17 13:47:48,480 - DEBUG - VM ctest-TestBasicVMVNx-73566387-01365343 is ready for SSH connections 2024-10-17 13:47:48,480 - INFO - Waiting for VM ctest-TestBasicVMVNx-73566387-95049207 to be up.. 2024-10-17 13:47:48,665 - DEBUG - VM is in ACTIVE state now 2024-10-17 13:47:48,665 - INFO - VM name : ctest-TestBasicVMVNx-73566387-95049207 2024-10-17 13:47:48,845 - DEBUG - VM ctest-TestBasicVMVNx-73566387-95049207 ID is 1aa742de-80da-4c35-a8b0-321c3ba10277 2024-10-17 13:47:48,845 - DEBUG - VM ctest-TestBasicVMVNx-73566387-95049207 launched on Node cn-jenkins-deploy-platform-juju-os-438-1 2024-10-17 13:47:49,020 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine/1aa742de-80da-4c35-a8b0-321c3ba10277 2024-10-17 13:47:49,085 - DEBUG - Requesting: https://10.0.0.12:8082/virtual-machine-interface/c298ba42-3ccf-48ef-9da3-e95afda989da 2024-10-17 13:47:50,568 - 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=8.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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 = 1.066/4.532/7.999/3.466 ms') 2024-10-17 13:47:50,568 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-73566387-95049207 passed 2024-10-17 13:47:50,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 13:47:50,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73566387-95049207, IP 218.170.201.196, Port 22 2024-10-17 13:47:50,848 - 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-17 13:47:51,019 - DEBUG - VM ctest-TestBasicVMVNx-73566387-95049207 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-17 13:47:56,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 13:47:56,020 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73566387-95049207, IP 218.170.201.196, Port 22 2024-10-17 13:47:56,245 - DEBUG - VM ctest-TestBasicVMVNx-73566387-95049207 is ready for SSH connections 2024-10-17 13:47:56,245 - DEBUG - FILE SIZE = 1303B 2024-10-17 13:47:56,246 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-73566387-01365343 to ctest-TestBasicVMVNx-73566387-95049207 using scp 2024-10-17 13:47:56,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 13:47:56,266 - 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.12, gateway password: c0ntrail123 2024-10-17 13:47:56,267 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-17 13:47:57,945 - DEBUG - 1+0 records in 1+0 records out 2024-10-17 13:47:58,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-17 13:47:59,020 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-10-17 13:47:59,021 - DEBUG - ls -l testfile 2024-10-17 13:48:00,688 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 17 07:47 testfile 2024-10-17 13:48:00,689 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-73566387-95049207 2024-10-17 13:48:00,689 - INFO - Deleting VM ctest-TestBasicVMVNx-73566387-95049207 2024-10-17 13:48:00,815 - INFO - Deleting VM ctest-TestBasicVMVNx-73566387-01365343 2024-10-17 13:48:00,956 - INFO - Deleting VN ctest-vn-50415849 2024-10-17 13:48:01,108 - DEBUG - VN da24a347-f476-4ac6-b680-bce4059d93f7 still in use: Unable to complete operation on network da24a347-f476-4ac6-b680-bce4059d93f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc6e3306-04ed-4215-ba29-8fde80dfcb23'] 2024-10-17 13:48:01,109 - WARNING - Deleting VN ctest-vn-50415849 failed..Will retry 2024-10-17 13:48:03,354 - DEBUG - Response for deleting network () 2024-10-17 13:48:03,770 - DEBUG - No XMPP flaps were noticed during the test
2024-10-17 13:48:03,771 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:35]
2024-10-17 13:48:03,771 - INFO - -------------------------------------------------------------------------------- 2024-10-17 13:48:04,683 - INFO - Deleted project: ctest-TestBasicVMVNx-73566387, ID : 07fad92b-4bf0-43f8-a09b-7b555107cb42