2025-01-09 11:47:29,885 - INFO - Domain Default found not creating 2025-01-09 11:47:30,063 - INFO - Project ctest-TestBasicVMVNx-94109119 not found, creating it 2025-01-09 11:47:30,564 - INFO - Created Project:ctest-TestBasicVMVNx-94109119, ID : 194c51c9-97e5-421c-a76c-c6c3ca95e3b6 2025-01-09 11:47:32,107 - INFO - ================================================================================ 2025-01-09 11:47:32,107 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-09 11:47:32,107 - 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 2025-01-09 11:47:32,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.6': '0'}} with 2025-01-09 11:47:32,363 - INFO - Initial checks done. Running the testcase now 2025-01-09 11:47:32,364 - INFO - 2025-01-09 11:47:32,954 - DEBUG - Response for create_network : {'network': {'id': '8ebb3d78-0a7a-47c6-bd60-1f077726eecd', 'name': 'ctest-vn-53265766', 'tenant_id': '194c51c997e5421ca76cc6c3ca95e3b6', 'project_id': '194c51c997e5421ca76cc6c3ca95e3b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94109119', 'ctest-vn-53265766'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:47:33,155 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac1efad1-d45a-4d64-b120-4e5b09aeb27f', 'name': '', 'tenant_id': '194c51c997e5421ca76cc6c3ca95e3b6', 'network_id': '8ebb3d78-0a7a-47c6-bd60-1f077726eecd', 'ip_version': 4, 'cidr': '145.232.73.192/26', 'allocation_pools': [{'start': '145.232.73.194', 'end': '145.232.73.254'}], 'gateway_ip': '145.232.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.232.73.194', 'tags': [], 'project_id': '194c51c997e5421ca76cc6c3ca95e3b6'}} 2025-01-09 11:47:33,178 - INFO - Created VN ctest-vn-53265766 2025-01-09 11:47:33,236 - DEBUG - VN ctest-vn-53265766 UUID is 8ebb3d78-0a7a-47c6-bd60-1f077726eecd 2025-01-09 11:47:33,405 - DEBUG - Services list from nova: [, , ] 2025-01-09 11:47:34,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2584-1) 2025-01-09 11:47:35,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2584-1) 2025-01-09 11:47:35,795 - INFO - Waiting for VM ctest-TestBasicVMVNx-94109119-25080386 to be up.. 2025-01-09 11:47:35,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 11:47:41,025 - DEBUG - VM is in ACTIVE state now 2025-01-09 11:47:41,026 - INFO - VM name : ctest-TestBasicVMVNx-94109119-25080386 2025-01-09 11:47:41,121 - DEBUG - VM ctest-TestBasicVMVNx-94109119-25080386 ID is f021e244-e43d-4e26-8bfd-4e0785d17eea 2025-01-09 11:47:41,150 - DEBUG - VM ctest-TestBasicVMVNx-94109119-25080386 launched on Node cn-jenkins-deploy-platform-ansible-os-2584-1 2025-01-09 11:47:41,240 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/f021e244-e43d-4e26-8bfd-4e0785d17eea 2025-01-09 11:47:41,544 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/f021e244-e43d-4e26-8bfd-4e0785d17eea 2025-01-09 11:47:41,581 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/49629941-5b15-4b22-9d43-f62f7484a90e 2025-01-09 11:47:44,847 - 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 1010ms') 2025-01-09 11:47:44,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94109119-25080386 failed! 2025-01-09 11:47:44,904 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94109119:ctest-vn-53265766 is 145.232.73.193 and allocation pool is NOT set 2025-01-09 11:47:46,973 - 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=9.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.71 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 = 1.713/5.708/9.704/3.995 ms') 2025-01-09 11:47:46,974 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94109119-25080386 passed 2025-01-09 11:47:47,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:47:47,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94109119-25080386, IP 145.232.73.195, Port 22 2025-01-09 11:47:47,294 - DEBUG - VM ctest-TestBasicVMVNx-94109119-25080386 is ready for SSH connections 2025-01-09 11:47:47,294 - INFO - Waiting for VM ctest-TestBasicVMVNx-94109119-74821653 to be up.. 2025-01-09 11:47:47,383 - DEBUG - VM is in ACTIVE state now 2025-01-09 11:47:47,383 - INFO - VM name : ctest-TestBasicVMVNx-94109119-74821653 2025-01-09 11:47:47,470 - DEBUG - VM ctest-TestBasicVMVNx-94109119-74821653 ID is 4519bbf2-7588-448e-b8f4-225700e98418 2025-01-09 11:47:47,471 - DEBUG - VM ctest-TestBasicVMVNx-94109119-74821653 launched on Node cn-jenkins-deploy-platform-ansible-os-2584-1 2025-01-09 11:47:47,549 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/4519bbf2-7588-448e-b8f4-225700e98418 2025-01-09 11:47:47,559 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/5cc448c4-037d-4d11-a7fb-4d96fb8d601f 2025-01-09 11:47:48,809 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.861 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.861/2.927/4.994/2.066 ms') 2025-01-09 11:47:48,809 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94109119-74821653 passed 2025-01-09 11:47:48,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:47:48,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94109119-74821653, IP 145.232.73.196, Port 22 2025-01-09 11:47:49,144 - DEBUG - VM ctest-TestBasicVMVNx-94109119-74821653 is ready for SSH connections 2025-01-09 11:47:49,144 - DEBUG - FILE SIZE = 1303B 2025-01-09 11:47:49,144 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94109119-25080386 to ctest-TestBasicVMVNx-94109119-74821653 using scp 2025-01-09 11:47:49,145 - 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.45, gateway password: c0ntrail123 2025-01-09 11:47:49,145 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-09 11:47:51,135 - DEBUG - 1+0 records in 1+0 records out 2025-01-09 11:47:51,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:47:52,327 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-01-09 11:47:52,327 - DEBUG - ls -l testfile 2025-01-09 11:47:53,936 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 9 04:47 testfile 2025-01-09 11:47:53,937 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94109119-74821653 2025-01-09 11:47:53,937 - INFO - Deleting VM ctest-TestBasicVMVNx-94109119-74821653 2025-01-09 11:47:54,146 - INFO - Deleting VM ctest-TestBasicVMVNx-94109119-25080386 2025-01-09 11:47:54,230 - INFO - Deleting VN ctest-vn-53265766 2025-01-09 11:47:54,274 - DEBUG - VN 8ebb3d78-0a7a-47c6-bd60-1f077726eecd still in use: Unable to complete operation on network 8ebb3d78-0a7a-47c6-bd60-1f077726eecd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad031d20-068c-4898-8126-7996c825a9c6'] 2025-01-09 11:47:54,275 - WARNING - Deleting VN ctest-vn-53265766 failed..Will retry 2025-01-09 11:47:56,426 - DEBUG - Response for deleting network () 2025-01-09 11:47:56,682 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 11:47:56,682 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-09 11:47:56,682 - INFO - -------------------------------------------------------------------------------- 2025-01-09 11:47:57,464 - INFO - Deleted project: ctest-TestBasicVMVNx-94109119, ID : 194c51c9-97e5-421c-a76c-c6c3ca95e3b6