2025-01-02 23:29:33,284 - INFO - Domain Default found not creating 2025-01-02 23:29:33,428 - INFO - Project ctest-TestBasicVMVNx-01029818 not found, creating it 2025-01-02 23:29:33,879 - INFO - Created Project:ctest-TestBasicVMVNx-01029818, ID : 87d2af68-b2c4-4dc0-9e52-25a6f19eea1c 2025-01-02 23:29:35,275 - INFO - ================================================================================ 2025-01-02 23:29:35,275 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-02 23:29:35,275 - 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-02 23:29:35,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2025-01-02 23:29:35,532 - INFO - Initial checks done. Running the testcase now 2025-01-02 23:29:35,532 - INFO - 2025-01-02 23:29:36,079 - DEBUG - Response for create_network : {'network': {'id': 'c50ebc2c-f69b-421e-be66-64dd664f85a9', 'name': 'ctest-vn-59917854', 'tenant_id': '87d2af68b2c44dc09e5225a6f19eea1c', 'project_id': '87d2af68b2c44dc09e5225a6f19eea1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-01029818', 'ctest-vn-59917854'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 23:29:36,290 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba96b3c9-7a1a-4c1a-958a-f664011f35a8', 'name': '', 'tenant_id': '87d2af68b2c44dc09e5225a6f19eea1c', 'network_id': 'c50ebc2c-f69b-421e-be66-64dd664f85a9', 'ip_version': 4, 'cidr': '14.10.166.64/26', 'allocation_pools': [{'start': '14.10.166.66', 'end': '14.10.166.126'}], 'gateway_ip': '14.10.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.10.166.66', 'tags': [], 'project_id': '87d2af68b2c44dc09e5225a6f19eea1c'}} 2025-01-02 23:29:36,312 - INFO - Created VN ctest-vn-59917854 2025-01-02 23:29:36,366 - DEBUG - VN ctest-vn-59917854 UUID is c50ebc2c-f69b-421e-be66-64dd664f85a9 2025-01-02 23:29:36,562 - DEBUG - Services list from nova: [, , ] 2025-01-02 23:29:37,544 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2517-1) 2025-01-02 23:29:38,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2517-1) 2025-01-02 23:29:38,649 - INFO - Waiting for VM ctest-TestBasicVMVNx-01029818-71867748 to be up.. 2025-01-02 23:29:38,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 23:29:43,798 - DEBUG - VM is in ACTIVE state now 2025-01-02 23:29:43,798 - INFO - VM name : ctest-TestBasicVMVNx-01029818-71867748 2025-01-02 23:29:43,879 - DEBUG - VM ctest-TestBasicVMVNx-01029818-71867748 ID is 0f6810d5-f7b5-449f-954a-157b2266ffab 2025-01-02 23:29:43,905 - DEBUG - VM ctest-TestBasicVMVNx-01029818-71867748 launched on Node cn-jenkins-deploy-platform-ansible-os-2517-1 2025-01-02 23:29:43,993 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/0f6810d5-f7b5-449f-954a-157b2266ffab 2025-01-02 23:29:44,291 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/0f6810d5-f7b5-449f-954a-157b2266ffab 2025-01-02 23:29:44,320 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/6f36b410-ab88-4777-94d7-c61ce5421aec 2025-01-02 23:29:47,618 - 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 1008ms') 2025-01-02 23:29:47,618 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01029818-71867748 failed! 2025-01-02 23:29:47,678 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-01029818:ctest-vn-59917854 is 14.10.166.65 and allocation pool is NOT set 2025-01-02 23:29:49,743 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/1.631/2.864/1.233 ms') 2025-01-02 23:29:49,743 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01029818-71867748 passed 2025-01-02 23:29:49,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 23:29:49,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01029818-71867748, IP 14.10.166.67, Port 22 2025-01-02 23:29:50,047 - DEBUG - VM ctest-TestBasicVMVNx-01029818-71867748 is ready for SSH connections 2025-01-02 23:29:50,047 - INFO - Waiting for VM ctest-TestBasicVMVNx-01029818-97266592 to be up.. 2025-01-02 23:29:50,130 - DEBUG - VM is in ACTIVE state now 2025-01-02 23:29:50,131 - INFO - VM name : ctest-TestBasicVMVNx-01029818-97266592 2025-01-02 23:29:50,202 - DEBUG - VM ctest-TestBasicVMVNx-01029818-97266592 ID is ffcc8960-cc57-496e-b423-ec191dfa07cc 2025-01-02 23:29:50,202 - DEBUG - VM ctest-TestBasicVMVNx-01029818-97266592 launched on Node cn-jenkins-deploy-platform-ansible-os-2517-1 2025-01-02 23:29:50,270 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ffcc8960-cc57-496e-b423-ec191dfa07cc 2025-01-02 23:29:50,278 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/3655e2a3-43c0-41c9-a7bb-0a146fa4d919 2025-01-02 23:29:51,523 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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 = 0.464/1.566/2.669/1.102 ms') 2025-01-02 23:29:51,524 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-01029818-97266592 passed 2025-01-02 23:29:51,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 23:29:51,675 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01029818-97266592, IP 14.10.166.68, Port 22 2025-01-02 23:29:51,846 - DEBUG - VM ctest-TestBasicVMVNx-01029818-97266592 is ready for SSH connections 2025-01-02 23:29:51,846 - DEBUG - FILE SIZE = 1303B 2025-01-02 23:29:51,846 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-01029818-71867748 to ctest-TestBasicVMVNx-01029818-97266592 using scp 2025-01-02 23:29:51,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 23:29:51,852 - 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.17, gateway password: c0ntrail123 2025-01-02 23:29:51,852 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-02 23:29:53,435 - DEBUG - 1+0 records in 1+0 records out 2025-01-02 23:29:54,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 23:29:54,560 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-02 23:29:54,562 - DEBUG - ls -l testfile 2025-01-02 23:29:56,149 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 2 16:29 testfile 2025-01-02 23:29:56,149 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-01029818-97266592 2025-01-02 23:29:56,149 - INFO - Deleting VM ctest-TestBasicVMVNx-01029818-97266592 2025-01-02 23:29:56,241 - INFO - Deleting VM ctest-TestBasicVMVNx-01029818-71867748 2025-01-02 23:29:56,309 - INFO - Deleting VN ctest-vn-59917854 2025-01-02 23:29:56,347 - DEBUG - VN c50ebc2c-f69b-421e-be66-64dd664f85a9 still in use: Unable to complete operation on network c50ebc2c-f69b-421e-be66-64dd664f85a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c7c2afd-d035-44e3-8b52-d78a07821a62'] 2025-01-02 23:29:56,347 - WARNING - Deleting VN ctest-vn-59917854 failed..Will retry 2025-01-02 23:29:58,445 - DEBUG - Response for deleting network () 2025-01-02 23:29:58,708 - DEBUG - No XMPP flaps were noticed during the test 2025-01-02 23:29:58,708 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-01-02 23:29:58,708 - INFO - -------------------------------------------------------------------------------- 2025-01-02 23:29:59,652 - INFO - Deleted project: ctest-TestBasicVMVNx-01029818, ID : 87d2af68-b2c4-4dc0-9e52-25a6f19eea1c