2024-09-11 19:27:20,753 - INFO - Domain Default found not creating 2024-09-11 19:27:20,916 - INFO - Project ctest-TestBasicVMVNx-13071527 not found, creating it 2024-09-11 19:27:21,404 - INFO - Created Project:ctest-TestBasicVMVNx-13071527, ID : 5220f196-b3c4-4945-9555-96c3a70bd6d6 2024-09-11 19:27:22,828 - INFO - ================================================================================ 2024-09-11 19:27:22,828 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 19:27:22,828 - 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-11 19:27:23,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2024-09-11 19:27:23,083 - INFO - Initial checks done. Running the testcase now 2024-09-11 19:27:23,083 - INFO - 2024-09-11 19:27:23,651 - DEBUG - Response for create_network : {'network': {'id': '050ea1b5-ab96-41d5-9f12-74654ce98ab8', 'name': 'ctest-vn-53747773', 'tenant_id': '5220f196b3c44945955596c3a70bd6d6', 'project_id': '5220f196b3c44945955596c3a70bd6d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13071527', 'ctest-vn-53747773'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 19:27:23,852 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7a6f986-f94d-4aaf-a700-3670f414f860', 'name': '', 'tenant_id': '5220f196b3c44945955596c3a70bd6d6', 'network_id': '050ea1b5-ab96-41d5-9f12-74654ce98ab8', 'ip_version': 4, 'cidr': '63.238.64.0/26', 'allocation_pools': [{'start': '63.238.64.2', 'end': '63.238.64.62'}], 'gateway_ip': '63.238.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.238.64.2', 'tags': [], 'project_id': '5220f196b3c44945955596c3a70bd6d6'}} 2024-09-11 19:27:23,872 - INFO - Created VN ctest-vn-53747773 2024-09-11 19:27:23,929 - DEBUG - VN ctest-vn-53747773 UUID is 050ea1b5-ab96-41d5-9f12-74654ce98ab8 2024-09-11 19:27:24,096 - DEBUG - Services list from nova: [, , ] 2024-09-11 19:27:25,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1900-1) 2024-09-11 19:27:26,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1900-1) 2024-09-11 19:27:26,229 - INFO - Waiting for VM ctest-TestBasicVMVNx-13071527-61022172 to be up.. 2024-09-11 19:27:26,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 19:27:31,398 - DEBUG - VM is in ACTIVE state now 2024-09-11 19:27:31,398 - INFO - VM name : ctest-TestBasicVMVNx-13071527-61022172 2024-09-11 19:27:31,475 - DEBUG - VM ctest-TestBasicVMVNx-13071527-61022172 ID is cae94513-71c9-464f-b180-518849c0ada8 2024-09-11 19:27:31,494 - DEBUG - VM ctest-TestBasicVMVNx-13071527-61022172 launched on Node cn-jenkins-deploy-platform-ansible-os-1900-1 2024-09-11 19:27:31,577 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/cae94513-71c9-464f-b180-518849c0ada8 2024-09-11 19:27:31,876 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/cae94513-71c9-464f-b180-518849c0ada8 2024-09-11 19:27:31,910 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/11788332-3de6-4cbf-9863-63001bf04285 2024-09-11 19:27:35,186 - 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 1028ms') 2024-09-11 19:27:35,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13071527-61022172 failed! 2024-09-11 19:27:35,245 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13071527:ctest-vn-53747773 is 63.238.64.1 and allocation pool is NOT set 2024-09-11 19:27:37,306 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 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 = 2.483/3.500/4.517/1.017 ms') 2024-09-11 19:27:37,306 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13071527-61022172 passed 2024-09-11 19:27:37,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:27:37,465 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13071527-61022172, IP 63.238.64.3, Port 22 2024-09-11 19:27:37,629 - DEBUG - VM ctest-TestBasicVMVNx-13071527-61022172 is ready for SSH connections 2024-09-11 19:27:37,629 - INFO - Waiting for VM ctest-TestBasicVMVNx-13071527-42351907 to be up.. 2024-09-11 19:27:37,714 - DEBUG - VM is in ACTIVE state now 2024-09-11 19:27:37,715 - INFO - VM name : ctest-TestBasicVMVNx-13071527-42351907 2024-09-11 19:27:37,791 - DEBUG - VM ctest-TestBasicVMVNx-13071527-42351907 ID is 7b38ea4d-cbde-483d-802b-d651c76b49ba 2024-09-11 19:27:37,792 - DEBUG - VM ctest-TestBasicVMVNx-13071527-42351907 launched on Node cn-jenkins-deploy-platform-ansible-os-1900-1 2024-09-11 19:27:37,867 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/7b38ea4d-cbde-483d-802b-d651c76b49ba 2024-09-11 19:27:37,878 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/19860890-4bd4-40c7-940b-14ce5555e06f 2024-09-11 19:27:39,122 - 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=2.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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.828/2.282/2.736/0.454 ms') 2024-09-11 19:27:39,122 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13071527-42351907 passed 2024-09-11 19:27:39,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:27:39,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13071527-42351907, IP 63.238.64.4, Port 22 2024-09-11 19:27:39,332 - 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-09-11 19:27:39,410 - DEBUG - VM ctest-TestBasicVMVNx-13071527-42351907 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-11 19:27:44,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:27:44,411 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13071527-42351907, IP 63.238.64.4, Port 22 2024-09-11 19:27:44,564 - DEBUG - VM ctest-TestBasicVMVNx-13071527-42351907 is ready for SSH connections 2024-09-11 19:27:44,565 - DEBUG - FILE SIZE = 1303B 2024-09-11 19:27:44,565 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13071527-61022172 to ctest-TestBasicVMVNx-13071527-42351907 using scp 2024-09-11 19:27:44,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:27:44,570 - 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.41, gateway password: c0ntrail123 2024-09-11 19:27:44,570 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 19:27:46,437 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 19:27:47,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:27:47,369 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-09-11 19:27:47,369 - DEBUG - ls -l testfile 2024-09-11 19:27:48,939 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 13:27 testfile 2024-09-11 19:27:48,939 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13071527-42351907 2024-09-11 19:27:48,939 - INFO - Deleting VM ctest-TestBasicVMVNx-13071527-42351907 2024-09-11 19:27:49,001 - INFO - Deleting VM ctest-TestBasicVMVNx-13071527-61022172 2024-09-11 19:27:49,059 - INFO - Deleting VN ctest-vn-53747773 2024-09-11 19:27:49,096 - DEBUG - VN 050ea1b5-ab96-41d5-9f12-74654ce98ab8 still in use: Unable to complete operation on network 050ea1b5-ab96-41d5-9f12-74654ce98ab8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a482efb8-19a8-4581-81d3-52eef1adda5c'] 2024-09-11 19:27:49,096 - WARNING - Deleting VN ctest-vn-53747773 failed..Will retry 2024-09-11 19:27:51,202 - DEBUG - Response for deleting network () 2024-09-11 19:27:51,455 - DEBUG - No XMPP flaps were noticed during the test
2024-09-11 19:27:51,455 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2024-09-11 19:27:51,455 - INFO - -------------------------------------------------------------------------------- 2024-09-11 19:27:52,157 - INFO - Deleted project: ctest-TestBasicVMVNx-13071527, ID : 5220f196-b3c4-4945-9555-96c3a70bd6d6