2025-02-11 16:55:50,385 - INFO - Domain Default found not creating
2025-02-11 16:55:50,557 - INFO - Project ctest-TestBasicVMVNx-52929359 not found, creating it
2025-02-11 16:55:51,054 - INFO - Created Project:ctest-TestBasicVMVNx-52929359, ID : 5e46debd-4b62-41e6-a369-02ea86508836
2025-02-11 16:55:52,641 - INFO - ================================================================================
2025-02-11 16:55:52,642 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-11 16:55:52,642 - 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-02-11 16:55:52,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with
2025-02-11 16:55:52,900 - INFO - Initial checks done. Running the testcase now
2025-02-11 16:55:52,901 - INFO -
2025-02-11 16:55:53,507 - DEBUG - Response for create_network : {'network': {'id': 'bffb41ab-0358-46b9-8736-a8a14a7e7d55', 'name': 'ctest-vn-95167257', 'tenant_id': '5e46debd4b6241e6a36902ea86508836', 'project_id': '5e46debd4b6241e6a36902ea86508836', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52929359', 'ctest-vn-95167257'], 'port_security_enabled': True, 'description': ''}}
2025-02-11 16:55:53,700 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef551993-bb16-4363-933e-f42dc82fe8c8', 'name': '', 'tenant_id': '5e46debd4b6241e6a36902ea86508836', 'network_id': 'bffb41ab-0358-46b9-8736-a8a14a7e7d55', 'ip_version': 4, 'cidr': '93.11.28.0/26', 'allocation_pools': [{'start': '93.11.28.2', 'end': '93.11.28.62'}], 'gateway_ip': '93.11.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.11.28.2', 'tags': [], 'project_id': '5e46debd4b6241e6a36902ea86508836'}}
2025-02-11 16:55:53,719 - INFO - Created VN ctest-vn-95167257
2025-02-11 16:55:53,774 - DEBUG - VN ctest-vn-95167257 UUID is bffb41ab-0358-46b9-8736-a8a14a7e7d55
2025-02-11 16:55:53,943 - DEBUG - Services list from nova: [, , ]
2025-02-11 16:55:55,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2721-1)
2025-02-11 16:55:56,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2721-1)
2025-02-11 16:55:56,328 - INFO - Waiting for VM ctest-TestBasicVMVNx-52929359-15098551 to be up..
2025-02-11 16:55:56,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-11 16:56:01,523 - DEBUG - VM is in ACTIVE state now
2025-02-11 16:56:01,523 - INFO - VM name : ctest-TestBasicVMVNx-52929359-15098551
2025-02-11 16:56:01,610 - DEBUG - VM ctest-TestBasicVMVNx-52929359-15098551 ID is 48e408a1-f07e-4d2b-b177-5773e075bb87
2025-02-11 16:56:01,631 - DEBUG - VM ctest-TestBasicVMVNx-52929359-15098551 launched on Node cn-jenkins-deploy-platform-ansible-os-2721-1
2025-02-11 16:56:01,713 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/48e408a1-f07e-4d2b-b177-5773e075bb87
2025-02-11 16:56:02,047 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/48e408a1-f07e-4d2b-b177-5773e075bb87
2025-02-11 16:56:02,080 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/cf2c2972-0d11-4d65-83d7-94ae629abbd0
2025-02-11 16:56:05,336 - 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-02-11 16:56:05,336 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52929359-15098551 failed!
2025-02-11 16:56:05,402 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52929359:ctest-vn-95167257 is 93.11.28.1 and allocation pool is NOT set
2025-02-11 16:56:07,468 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.490/2.945/4.400/1.455 ms')
2025-02-11 16:56:07,468 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52929359-15098551 passed
2025-02-11 16:56:07,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-11 16:56:07,630 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52929359-15098551, IP 93.11.28.3, Port 22
2025-02-11 16:56:07,786 - DEBUG - VM ctest-TestBasicVMVNx-52929359-15098551 is ready for SSH connections
2025-02-11 16:56:07,786 - INFO - Waiting for VM ctest-TestBasicVMVNx-52929359-96818324 to be up..
2025-02-11 16:56:07,864 - DEBUG - VM is in ACTIVE state now
2025-02-11 16:56:07,865 - INFO - VM name : ctest-TestBasicVMVNx-52929359-96818324
2025-02-11 16:56:07,943 - DEBUG - VM ctest-TestBasicVMVNx-52929359-96818324 ID is c354ca8d-fc22-405a-a119-2555db17f68c
2025-02-11 16:56:07,943 - DEBUG - VM ctest-TestBasicVMVNx-52929359-96818324 launched on Node cn-jenkins-deploy-platform-ansible-os-2721-1
2025-02-11 16:56:08,020 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/c354ca8d-fc22-405a-a119-2555db17f68c
2025-02-11 16:56:08,030 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/4e1cc237-4044-452e-92f6-c9538ec04f8a
2025-02-11 16:56:09,289 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.870/3.223/1.353 ms')
2025-02-11 16:56:09,289 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52929359-96818324 passed
2025-02-11 16:56:09,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-11 16:56:09,446 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52929359-96818324, IP 93.11.28.4, Port 22
2025-02-11 16:56:09,606 - DEBUG - VM ctest-TestBasicVMVNx-52929359-96818324 is ready for SSH connections
2025-02-11 16:56:09,606 - DEBUG - FILE SIZE = 1303B
2025-02-11 16:56:09,606 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52929359-15098551 to ctest-TestBasicVMVNx-52929359-96818324 using scp
2025-02-11 16:56:09,606 - 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
2025-02-11 16:56:09,607 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-11 16:56:11,594 - DEBUG - 1+0 records in
1+0 records out
2025-02-11 16:56:12,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-11 16:56:12,656 - 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
2025-02-11 16:56:12,659 - DEBUG - ls -l testfile
2025-02-11 16:56:14,278 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 11 09:56 [0;0mtestfile[0m
2025-02-11 16:56:14,278 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52929359-96818324
2025-02-11 16:56:14,278 - INFO - Deleting VM ctest-TestBasicVMVNx-52929359-96818324
2025-02-11 16:56:14,349 - INFO - Deleting VM ctest-TestBasicVMVNx-52929359-15098551
2025-02-11 16:56:14,418 - INFO - Deleting VN ctest-vn-95167257
2025-02-11 16:56:14,458 - DEBUG - VN bffb41ab-0358-46b9-8736-a8a14a7e7d55 still in use: Unable to complete operation on network bffb41ab-0358-46b9-8736-a8a14a7e7d55. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d92c2522-d3ff-40bf-ab70-102793f17584']
2025-02-11 16:56:14,459 - WARNING - Deleting VN ctest-vn-95167257 failed..Will retry
2025-02-11 16:56:16,597 - DEBUG - Response for deleting network ()
2025-02-11 16:56:16,853 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 16:56:16,853 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-11 16:56:16,853 - INFO - --------------------------------------------------------------------------------
2025-02-11 16:56:17,595 - INFO - Deleted project: ctest-TestBasicVMVNx-52929359, ID : 5e46debd-4b62-41e6-a369-02ea86508836