2025-03-26 02:54:01,252 - INFO - Domain Default found not creating
2025-03-26 02:54:01,412 - INFO - Project ctest-TestBasicVMVNx-19867806 not found, creating it
2025-03-26 02:54:01,889 - INFO - Created Project:ctest-TestBasicVMVNx-19867806, ID : 09330905-d6bc-4048-81a4-ee60e173f73b
2025-03-26 02:54:03,268 - INFO - ================================================================================
2025-03-26 02:54:03,268 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-03-26 02:54:03,268 - 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-26 02:54:03,523 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.10': '0'}} with
2025-03-26 02:54:03,523 - INFO - Initial checks done. Running the testcase now
2025-03-26 02:54:03,523 - INFO -
2025-03-26 02:54:04,060 - DEBUG - Response for create_network : {'network': {'id': 'e6839e2d-d3ca-46c2-b8bd-3508b911fc59', 'name': 'ctest-vn-33839444', 'tenant_id': '09330905d6bc404881a4ee60e173f73b', 'project_id': '09330905d6bc404881a4ee60e173f73b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19867806', 'ctest-vn-33839444'], 'port_security_enabled': True, 'description': ''}}
2025-03-26 02:54:04,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '69e4a452-4b4c-4157-8b3c-7868c0b1109e', 'name': '', 'tenant_id': '09330905d6bc404881a4ee60e173f73b', 'network_id': 'e6839e2d-d3ca-46c2-b8bd-3508b911fc59', 'ip_version': 4, 'cidr': '219.109.210.192/26', 'allocation_pools': [{'start': '219.109.210.194', 'end': '219.109.210.254'}], 'gateway_ip': '219.109.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.109.210.194', 'tags': [], 'project_id': '09330905d6bc404881a4ee60e173f73b'}}
2025-03-26 02:54:04,281 - INFO - Created VN ctest-vn-33839444
2025-03-26 02:54:04,333 - DEBUG - VN ctest-vn-33839444 UUID is e6839e2d-d3ca-46c2-b8bd-3508b911fc59
2025-03-26 02:54:04,534 - DEBUG - Services list from nova: [, , ]
2025-03-26 02:54:05,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2956-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2956-1)
2025-03-26 02:54:06,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2956-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2956-1)
2025-03-26 02:54:06,605 - INFO - Waiting for VM ctest-TestBasicVMVNx-19867806-13744063 to be up..
2025-03-26 02:54:06,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-26 02:54:11,777 - DEBUG - VM is in ACTIVE state now
2025-03-26 02:54:11,777 - INFO - VM name : ctest-TestBasicVMVNx-19867806-13744063
2025-03-26 02:54:11,851 - DEBUG - VM ctest-TestBasicVMVNx-19867806-13744063 ID is ad54bf51-1b97-4181-b0f9-9d06bd5133f8
2025-03-26 02:54:11,868 - DEBUG - VM ctest-TestBasicVMVNx-19867806-13744063 launched on Node cn-jenkins-deploy-platform-ansible-os-2956-1
2025-03-26 02:54:11,935 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ad54bf51-1b97-4181-b0f9-9d06bd5133f8
2025-03-26 02:54:12,228 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ad54bf51-1b97-4181-b0f9-9d06bd5133f8
2025-03-26 02:54:12,258 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/6592b7d0-2e48-4d68-a2de-64a564e83572
2025-03-26 02:54:15,528 - 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 1023ms')
2025-03-26 02:54:15,528 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19867806-13744063 failed!
2025-03-26 02:54:15,589 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19867806:ctest-vn-33839444 is 219.109.210.193 and allocation pool is NOT set
2025-03-26 02:54:17,652 - 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=3.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.796/3.214/1.417 ms')
2025-03-26 02:54:17,652 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19867806-13744063 passed
2025-03-26 02:54:17,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-26 02:54:17,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19867806-13744063, IP 219.109.210.195, Port 22
2025-03-26 02:54:17,961 - DEBUG - VM ctest-TestBasicVMVNx-19867806-13744063 is ready for SSH connections
2025-03-26 02:54:17,961 - INFO - Waiting for VM ctest-TestBasicVMVNx-19867806-27012837 to be up..
2025-03-26 02:54:18,030 - DEBUG - VM is in ACTIVE state now
2025-03-26 02:54:18,031 - INFO - VM name : ctest-TestBasicVMVNx-19867806-27012837
2025-03-26 02:54:18,101 - DEBUG - VM ctest-TestBasicVMVNx-19867806-27012837 ID is bf37b18c-0222-4bc3-9f48-8e096aa1d740
2025-03-26 02:54:18,101 - DEBUG - VM ctest-TestBasicVMVNx-19867806-27012837 launched on Node cn-jenkins-deploy-platform-ansible-os-2956-1
2025-03-26 02:54:18,170 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/bf37b18c-0222-4bc3-9f48-8e096aa1d740
2025-03-26 02:54:18,178 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/78de73d5-d437-4ff9-af57-38ee9c4df382
2025-03-26 02:54:19,420 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/2.353/4.290/1.936 ms')
2025-03-26 02:54:19,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19867806-27012837 passed
2025-03-26 02:54:19,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-26 02:54:19,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19867806-27012837, IP 219.109.210.196, Port 22
2025-03-26 02:54:19,725 - DEBUG - VM ctest-TestBasicVMVNx-19867806-27012837 is ready for SSH connections
2025-03-26 02:54:19,725 - DEBUG - FILE SIZE = 1303B
2025-03-26 02:54:19,725 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19867806-13744063 to ctest-TestBasicVMVNx-19867806-27012837 using scp
2025-03-26 02:54:19,725 - 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-03-26 02:54:19,726 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-03-26 02:54:21,645 - DEBUG - 1+0 records in
1+0 records out
2025-03-26 02:54:22,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-26 02:54:22,731 - 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-03-26 02:54:22,731 - DEBUG - ls -l testfile
2025-03-26 02:54:24,304 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 25 20:54 [0;0mtestfile[0m
2025-03-26 02:54:24,304 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19867806-27012837
2025-03-26 02:54:24,304 - INFO - Deleting VM ctest-TestBasicVMVNx-19867806-27012837
2025-03-26 02:54:24,376 - INFO - Deleting VM ctest-TestBasicVMVNx-19867806-13744063
2025-03-26 02:54:24,459 - INFO - Deleting VN ctest-vn-33839444
2025-03-26 02:54:24,500 - DEBUG - VN e6839e2d-d3ca-46c2-b8bd-3508b911fc59 still in use: Unable to complete operation on network e6839e2d-d3ca-46c2-b8bd-3508b911fc59. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5dcfd31b-491f-478c-a56f-a0b0b6b04522']
2025-03-26 02:54:24,500 - WARNING - Deleting VN ctest-vn-33839444 failed..Will retry
2025-03-26 02:54:26,591 - DEBUG - Response for deleting network ()
2025-03-26 02:54:26,851 - DEBUG - No XMPP flaps were noticed during the test
2025-03-26 02:54:26,851 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-03-26 02:54:26,851 - INFO - --------------------------------------------------------------------------------
2025-03-26 02:54:27,514 - INFO - Deleted project: ctest-TestBasicVMVNx-19867806, ID : 09330905-d6bc-4048-81a4-ee60e173f73b