2025-03-25 22:54:36,220 - INFO - Domain Default found not creating
2025-03-25 22:54:36,378 - INFO - Project ctest-TestBasicVMVNx-52761820 not found, creating it
2025-03-25 22:54:36,856 - INFO - Created Project:ctest-TestBasicVMVNx-52761820, ID : 28995343-6bd7-44a5-9cec-85b4c7fb34a8
2025-03-25 22:54:38,346 - INFO - ================================================================================
2025-03-25 22:54:38,346 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-25 22:54:38,346 - 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-03-25 22:54:38,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.17': '0'}} with
2025-03-25 22:54:38,602 - INFO - Initial checks done. Running the testcase now
2025-03-25 22:54:38,602 - INFO -
2025-03-25 22:54:39,366 - DEBUG - Response for create_network : {'network': {'id': '418ecb7b-55d3-4a73-807a-c0e28ee90dd3', 'name': 'ctest-vn-66481049', 'tenant_id': '289953436bd744a59cec85b4c7fb34a8', 'project_id': '289953436bd744a59cec85b4c7fb34a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52761820', 'ctest-vn-66481049'], 'port_security_enabled': True, 'description': ''}}
2025-03-25 22:54:39,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '0de0163b-8ef1-4921-80ec-fc8776aa334a', 'name': '', 'tenant_id': '289953436bd744a59cec85b4c7fb34a8', 'network_id': '418ecb7b-55d3-4a73-807a-c0e28ee90dd3', 'ip_version': 4, 'cidr': '178.148.56.64/26', 'allocation_pools': [{'start': '178.148.56.66', 'end': '178.148.56.126'}], 'gateway_ip': '178.148.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.148.56.66', 'tags': [], 'project_id': '289953436bd744a59cec85b4c7fb34a8'}}
2025-03-25 22:54:39,599 - INFO - Created VN ctest-vn-66481049
2025-03-25 22:54:39,651 - DEBUG - VN ctest-vn-66481049 UUID is 418ecb7b-55d3-4a73-807a-c0e28ee90dd3
2025-03-25 22:54:39,823 - DEBUG - Services list from nova: [, , ]
2025-03-25 22:54:40,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2953-1)
2025-03-25 22:54:42,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2953-1)
2025-03-25 22:54:42,062 - INFO - Waiting for VM ctest-TestBasicVMVNx-52761820-50412966 to be up..
2025-03-25 22:54:42,147 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-25 22:54:47,228 - DEBUG - VM is in ACTIVE state now
2025-03-25 22:54:47,228 - INFO - VM name : ctest-TestBasicVMVNx-52761820-50412966
2025-03-25 22:54:47,306 - DEBUG - VM ctest-TestBasicVMVNx-52761820-50412966 ID is 007ee16d-8245-48d4-9624-be81ba9e9c20
2025-03-25 22:54:47,326 - DEBUG - VM ctest-TestBasicVMVNx-52761820-50412966 launched on Node cn-jenkins-deploy-platform-ansible-os-2953-1
2025-03-25 22:54:47,408 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/007ee16d-8245-48d4-9624-be81ba9e9c20
2025-03-25 22:54:47,704 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/007ee16d-8245-48d4-9624-be81ba9e9c20
2025-03-25 22:54:47,737 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/d6a79133-447c-4651-9985-c7f52713b323
2025-03-25 22:54:51,003 - 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 1015ms')
2025-03-25 22:54:51,003 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52761820-50412966 failed!
2025-03-25 22:54:51,059 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52761820:ctest-vn-66481049 is 178.148.56.65 and allocation pool is NOT set
2025-03-25 22:54:53,121 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.643/2.810/1.167 ms')
2025-03-25 22:54:53,121 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52761820-50412966 passed
2025-03-25 22:54:53,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 22:54:53,275 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52761820-50412966, IP 178.148.56.67, Port 22
2025-03-25 22:54:53,430 - DEBUG - VM ctest-TestBasicVMVNx-52761820-50412966 is ready for SSH connections
2025-03-25 22:54:53,431 - INFO - Waiting for VM ctest-TestBasicVMVNx-52761820-99161345 to be up..
2025-03-25 22:54:53,507 - DEBUG - VM is in ACTIVE state now
2025-03-25 22:54:53,507 - INFO - VM name : ctest-TestBasicVMVNx-52761820-99161345
2025-03-25 22:54:53,583 - DEBUG - VM ctest-TestBasicVMVNx-52761820-99161345 ID is a8f6eb17-6844-49a3-bf94-a4b37b44fe9e
2025-03-25 22:54:53,583 - DEBUG - VM ctest-TestBasicVMVNx-52761820-99161345 launched on Node cn-jenkins-deploy-platform-ansible-os-2953-1
2025-03-25 22:54:53,666 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/a8f6eb17-6844-49a3-bf94-a4b37b44fe9e
2025-03-25 22:54:53,676 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/687c5700-7bf7-46ba-9de3-3822797ceccf
2025-03-25 22:54:54,922 - 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=3.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/1.873/3.307/1.433 ms')
2025-03-25 22:54:54,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52761820-99161345 passed
2025-03-25 22:54:55,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 22:54:55,071 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52761820-99161345, IP 178.148.56.68, Port 22
2025-03-25 22:54:55,227 - DEBUG - VM ctest-TestBasicVMVNx-52761820-99161345 is ready for SSH connections
2025-03-25 22:54:55,227 - DEBUG - FILE SIZE = 1303B
2025-03-25 22:54:55,227 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52761820-50412966 to ctest-TestBasicVMVNx-52761820-99161345 using scp
2025-03-25 22:54:55,228 - 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.42, gateway password: c0ntrail123
2025-03-25 22:54:55,228 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-25 22:54:57,148 - DEBUG - 1+0 records in
1+0 records out
2025-03-25 22:54:57,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 22:54:58,052 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-03-25 22:54:58,053 - DEBUG - ls -l testfile
2025-03-25 22:54:59,634 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 25 16:54 [0;0mtestfile[0m
2025-03-25 22:54:59,634 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52761820-99161345
2025-03-25 22:54:59,635 - INFO - Deleting VM ctest-TestBasicVMVNx-52761820-99161345
2025-03-25 22:54:59,708 - INFO - Deleting VM ctest-TestBasicVMVNx-52761820-50412966
2025-03-25 22:54:59,790 - INFO - Deleting VN ctest-vn-66481049
2025-03-25 22:54:59,831 - DEBUG - VN 418ecb7b-55d3-4a73-807a-c0e28ee90dd3 still in use: Unable to complete operation on network 418ecb7b-55d3-4a73-807a-c0e28ee90dd3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-44ae9f07-d555-4211-9701-99117c1aafed']
2025-03-25 22:54:59,831 - WARNING - Deleting VN ctest-vn-66481049 failed..Will retry
2025-03-25 22:55:01,946 - DEBUG - Response for deleting network ()
2025-03-25 22:55:02,206 - DEBUG - No XMPP flaps were noticed during the test
2025-03-25 22:55:02,206 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-25 22:55:02,206 - INFO - --------------------------------------------------------------------------------
2025-03-25 22:55:02,896 - INFO - Deleted project: ctest-TestBasicVMVNx-52761820, ID : 28995343-6bd7-44a5-9cec-85b4c7fb34a8