2025-03-25 05:45:24,416 - INFO - Domain Default found not creating
2025-03-25 05:45:24,582 - INFO - Project ctest-TestBasicVMVNx-13275424 not found, creating it
2025-03-25 05:45:25,093 - INFO - Created Project:ctest-TestBasicVMVNx-13275424, ID : abc989e9-6a4f-425c-9e55-167082a47c26
2025-03-25 05:45:26,589 - INFO - ================================================================================
2025-03-25 05:45:26,589 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-25 05:45:26,589 - 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 05:45:26,854 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.11': '0'}} with
2025-03-25 05:45:26,854 - INFO - Initial checks done. Running the testcase now
2025-03-25 05:45:26,854 - INFO -
2025-03-25 05:45:27,462 - DEBUG - Response for create_network : {'network': {'id': 'bd1f1eeb-d919-413e-9fb4-ec8c151321e6', 'name': 'ctest-vn-77879552', 'tenant_id': 'abc989e96a4f425c9e55167082a47c26', 'project_id': 'abc989e96a4f425c9e55167082a47c26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13275424', 'ctest-vn-77879552'], 'port_security_enabled': True, 'description': ''}}
2025-03-25 05:45:27,664 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa6a1e8f-906c-49fe-9f5f-c307b162a2be', 'name': '', 'tenant_id': 'abc989e96a4f425c9e55167082a47c26', 'network_id': 'bd1f1eeb-d919-413e-9fb4-ec8c151321e6', 'ip_version': 4, 'cidr': '47.197.148.192/26', 'allocation_pools': [{'start': '47.197.148.194', 'end': '47.197.148.254'}], 'gateway_ip': '47.197.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.197.148.194', 'tags': [], 'project_id': 'abc989e96a4f425c9e55167082a47c26'}}
2025-03-25 05:45:27,685 - INFO - Created VN ctest-vn-77879552
2025-03-25 05:45:27,738 - DEBUG - VN ctest-vn-77879552 UUID is bd1f1eeb-d919-413e-9fb4-ec8c151321e6
2025-03-25 05:45:27,915 - DEBUG - Services list from nova: [, , ]
2025-03-25 05:45:29,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2948-1)
2025-03-25 05:45:30,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2948-1)
2025-03-25 05:45:30,223 - INFO - Waiting for VM ctest-TestBasicVMVNx-13275424-15535410 to be up..
2025-03-25 05:45:30,330 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-25 05:45:35,430 - DEBUG - VM is in ACTIVE state now
2025-03-25 05:45:35,430 - INFO - VM name : ctest-TestBasicVMVNx-13275424-15535410
2025-03-25 05:45:35,615 - DEBUG - VM ctest-TestBasicVMVNx-13275424-15535410 ID is f5353e68-26fd-405d-b839-a55e36a22fa0
2025-03-25 05:45:35,641 - DEBUG - VM ctest-TestBasicVMVNx-13275424-15535410 launched on Node cn-jenkins-deploy-platform-ansible-os-2948-1
2025-03-25 05:45:35,733 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f5353e68-26fd-405d-b839-a55e36a22fa0
2025-03-25 05:45:36,029 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f5353e68-26fd-405d-b839-a55e36a22fa0
2025-03-25 05:45:36,071 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/06c91073-c764-4ad8-9725-8ae644c06355
2025-03-25 05:45:39,343 - 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 1004ms')
2025-03-25 05:45:39,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13275424-15535410 failed!
2025-03-25 05:45:39,402 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13275424:ctest-vn-77879552 is 47.197.148.193 and allocation pool is NOT set
2025-03-25 05:45:41,471 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.875 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 = 0.875/2.564/4.254/1.689 ms')
2025-03-25 05:45:41,471 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13275424-15535410 passed
2025-03-25 05:45:41,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 05:45:41,634 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13275424-15535410, IP 47.197.148.195, Port 22
2025-03-25 05:45:41,808 - DEBUG - VM ctest-TestBasicVMVNx-13275424-15535410 is ready for SSH connections
2025-03-25 05:45:41,808 - INFO - Waiting for VM ctest-TestBasicVMVNx-13275424-35323482 to be up..
2025-03-25 05:45:41,934 - DEBUG - VM is in ACTIVE state now
2025-03-25 05:45:41,934 - INFO - VM name : ctest-TestBasicVMVNx-13275424-35323482
2025-03-25 05:45:42,015 - DEBUG - VM ctest-TestBasicVMVNx-13275424-35323482 ID is d0cb2833-5e53-440f-8b88-bfb3c4fb6bdc
2025-03-25 05:45:42,015 - DEBUG - VM ctest-TestBasicVMVNx-13275424-35323482 launched on Node cn-jenkins-deploy-platform-ansible-os-2948-1
2025-03-25 05:45:42,092 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d0cb2833-5e53-440f-8b88-bfb3c4fb6bdc
2025-03-25 05:45:42,102 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9f588814-8499-4895-bf71-1b8e4b549156
2025-03-25 05:45:43,355 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.78 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 = 1.777/3.078/4.379/1.301 ms')
2025-03-25 05:45:43,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13275424-35323482 passed
2025-03-25 05:45:43,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 05:45:43,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13275424-35323482, IP 47.197.148.196, Port 22
2025-03-25 05:45:43,665 - DEBUG - VM ctest-TestBasicVMVNx-13275424-35323482 is ready for SSH connections
2025-03-25 05:45:43,665 - DEBUG - FILE SIZE = 1303B
2025-03-25 05:45:43,666 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13275424-15535410 to ctest-TestBasicVMVNx-13275424-35323482 using scp
2025-03-25 05:45:43,666 - 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.22, gateway password: c0ntrail123
2025-03-25 05:45:43,666 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-25 05:45:45,673 - DEBUG - 1+0 records in
1+0 records out
2025-03-25 05:45:46,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 05:45:46,776 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-25 05:45:46,777 - DEBUG - ls -l testfile
2025-03-25 05:45:48,388 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 24 23:45 [0;0mtestfile[0m
2025-03-25 05:45:48,389 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13275424-35323482
2025-03-25 05:45:48,389 - INFO - Deleting VM ctest-TestBasicVMVNx-13275424-35323482
2025-03-25 05:45:48,472 - INFO - Deleting VM ctest-TestBasicVMVNx-13275424-15535410
2025-03-25 05:45:48,553 - INFO - Deleting VN ctest-vn-77879552
2025-03-25 05:45:48,599 - DEBUG - VN bd1f1eeb-d919-413e-9fb4-ec8c151321e6 still in use: Unable to complete operation on network bd1f1eeb-d919-413e-9fb4-ec8c151321e6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-97d8d49a-c806-4499-8d7e-a625ba273f30']
2025-03-25 05:45:48,599 - WARNING - Deleting VN ctest-vn-77879552 failed..Will retry
2025-03-25 05:45:50,729 - DEBUG - Response for deleting network ()
2025-03-25 05:45:50,992 - DEBUG - No XMPP flaps were noticed during the test
2025-03-25 05:45:50,993 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-25 05:45:50,993 - INFO - --------------------------------------------------------------------------------
2025-03-25 05:45:51,708 - INFO - Deleted project: ctest-TestBasicVMVNx-13275424, ID : abc989e9-6a4f-425c-9e55-167082a47c26