2025-04-15 18:15:35,673 - INFO - Domain Default found not creating
2025-04-15 18:15:35,828 - INFO - Project ctest-TestBasicVMVNx-15909316 not found, creating it
2025-04-15 18:15:36,302 - INFO - Created Project:ctest-TestBasicVMVNx-15909316, ID : 04fa92ba-3689-4d47-bf02-a7b3dd1c7250
2025-04-15 18:15:37,763 - INFO - ================================================================================
2025-04-15 18:15:37,763 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-15 18:15:37,763 - 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-04-15 18:15:38,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-15 18:15:38,020 - INFO - Initial checks done. Running the testcase now
2025-04-15 18:15:38,020 - INFO -
2025-04-15 18:15:38,555 - DEBUG - Response for create_network : {'network': {'id': '7f3f352e-befb-4605-ab28-0da93a3e38a8', 'name': 'ctest-vn-57220531', 'tenant_id': '04fa92ba36894d47bf02a7b3dd1c7250', 'project_id': '04fa92ba36894d47bf02a7b3dd1c7250', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-15909316', 'ctest-vn-57220531'], 'port_security_enabled': True, 'description': ''}}
2025-04-15 18:15:38,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '3534f905-04f2-456b-ad03-d9bdac4655fd', 'name': '', 'tenant_id': '04fa92ba36894d47bf02a7b3dd1c7250', 'network_id': '7f3f352e-befb-4605-ab28-0da93a3e38a8', 'ip_version': 4, 'cidr': '206.175.69.64/26', 'allocation_pools': [{'start': '206.175.69.66', 'end': '206.175.69.126'}], 'gateway_ip': '206.175.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.175.69.66', 'tags': [], 'project_id': '04fa92ba36894d47bf02a7b3dd1c7250'}}
2025-04-15 18:15:38,778 - INFO - Created VN ctest-vn-57220531
2025-04-15 18:15:38,838 - DEBUG - VN ctest-vn-57220531 UUID is 7f3f352e-befb-4605-ab28-0da93a3e38a8
2025-04-15 18:15:39,031 - DEBUG - Services list from nova: [, , ]
2025-04-15 18:15:40,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3121-1)
2025-04-15 18:15:41,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3121-1)
2025-04-15 18:15:41,215 - INFO - Waiting for VM ctest-TestBasicVMVNx-15909316-16878011 to be up..
2025-04-15 18:15:41,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-15 18:15:46,389 - DEBUG - VM is in ACTIVE state now
2025-04-15 18:15:46,389 - INFO - VM name : ctest-TestBasicVMVNx-15909316-16878011
2025-04-15 18:15:46,472 - DEBUG - VM ctest-TestBasicVMVNx-15909316-16878011 ID is 90b824bb-b84e-4731-9661-502d8f195e27
2025-04-15 18:15:46,495 - DEBUG - VM ctest-TestBasicVMVNx-15909316-16878011 launched on Node cn-jenkins-deploy-platform-ansible-os-3121-1
2025-04-15 18:15:46,581 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/90b824bb-b84e-4731-9661-502d8f195e27
2025-04-15 18:15:46,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/90b824bb-b84e-4731-9661-502d8f195e27
2025-04-15 18:15:47,207 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c66d32d7-bc92-4578-8ab4-53618ebb476c
2025-04-15 18:15:50,475 - 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 1027ms')
2025-04-15 18:15:50,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15909316-16878011 failed!
2025-04-15 18:15:50,530 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-15909316:ctest-vn-57220531 is 206.175.69.65 and allocation pool is NOT set
2025-04-15 18:15:52,591 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.500/2.334/4.169/1.834 ms')
2025-04-15 18:15:52,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15909316-16878011 passed
2025-04-15 18:15:52,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 18:15:52,742 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15909316-16878011, IP 206.175.69.67, Port 22
2025-04-15 18:15:52,898 - DEBUG - VM ctest-TestBasicVMVNx-15909316-16878011 is ready for SSH connections
2025-04-15 18:15:52,898 - INFO - Waiting for VM ctest-TestBasicVMVNx-15909316-11868984 to be up..
2025-04-15 18:15:52,976 - DEBUG - VM is in ACTIVE state now
2025-04-15 18:15:52,976 - INFO - VM name : ctest-TestBasicVMVNx-15909316-11868984
2025-04-15 18:15:53,056 - DEBUG - VM ctest-TestBasicVMVNx-15909316-11868984 ID is 250d4471-3b69-46a9-96f2-6fe4b04cef1f
2025-04-15 18:15:53,056 - DEBUG - VM ctest-TestBasicVMVNx-15909316-11868984 launched on Node cn-jenkins-deploy-platform-ansible-os-3121-1
2025-04-15 18:15:53,136 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/250d4471-3b69-46a9-96f2-6fe4b04cef1f
2025-04-15 18:15:53,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3874103b-d922-4bdf-b911-ba87a0fbd261
2025-04-15 18:15:54,388 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.810/3.272/1.461 ms')
2025-04-15 18:15:54,388 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-15909316-11868984 passed
2025-04-15 18:15:54,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 18:15:54,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15909316-11868984, IP 206.175.69.68, Port 22
2025-04-15 18:15:54,702 - DEBUG - VM ctest-TestBasicVMVNx-15909316-11868984 is ready for SSH connections
2025-04-15 18:15:54,702 - DEBUG - FILE SIZE = 1303B
2025-04-15 18:15:54,702 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-15909316-16878011 to ctest-TestBasicVMVNx-15909316-11868984 using scp
2025-04-15 18:15:54,703 - 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.254, gateway password: c0ntrail123
2025-04-15 18:15:54,703 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-15 18:15:56,577 - DEBUG - 1+0 records in
1+0 records out
2025-04-15 18:15:57,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-15 18:15:57,696 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-15 18:15:57,696 - DEBUG - ls -l testfile
2025-04-15 18:15:59,290 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 15 12:15 [0;0mtestfile[0m
2025-04-15 18:15:59,290 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-15909316-11868984
2025-04-15 18:15:59,290 - INFO - Deleting VM ctest-TestBasicVMVNx-15909316-11868984
2025-04-15 18:15:59,363 - INFO - Deleting VM ctest-TestBasicVMVNx-15909316-16878011
2025-04-15 18:15:59,421 - INFO - Deleting VN ctest-vn-57220531
2025-04-15 18:15:59,459 - DEBUG - VN 7f3f352e-befb-4605-ab28-0da93a3e38a8 still in use: Unable to complete operation on network 7f3f352e-befb-4605-ab28-0da93a3e38a8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-eb5b7863-db7d-4c3b-8fd3-54acf296b47f']
2025-04-15 18:15:59,459 - WARNING - Deleting VN ctest-vn-57220531 failed..Will retry
2025-04-15 18:16:01,576 - DEBUG - Response for deleting network ()
2025-04-15 18:16:01,833 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 18:16:01,833 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-15 18:16:01,834 - INFO - --------------------------------------------------------------------------------
2025-04-15 18:16:02,528 - INFO - Deleted project: ctest-TestBasicVMVNx-15909316, ID : 04fa92ba-3689-4d47-bf02-a7b3dd1c7250