2025-09-09 22:56:16,300 - INFO - Domain Default found not creating
2025-09-09 22:56:16,452 - INFO - Project ctest-TestBasicVMVNx-46550684 not found, creating it
2025-09-09 22:56:16,894 - INFO - Created Project:ctest-TestBasicVMVNx-46550684, ID : eea7e4af-d808-41a0-a6c3-72cfc3e01467
2025-09-09 22:56:18,412 - INFO - ================================================================================
2025-09-09 22:56:18,412 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-09 22:56:18,412 - 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-09-09 22:56:18,664 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-09 22:56:18,664 - INFO - Initial checks done. Running the testcase now
2025-09-09 22:56:18,665 - INFO -
2025-09-09 22:56:19,214 - DEBUG - Response for create_network : {'network': {'id': '1e28aa92-d417-4750-a874-2b66dd00285c', 'name': 'ctest-vn-89223081', 'tenant_id': 'eea7e4afd80841a0a6c372cfc3e01467', 'project_id': 'eea7e4afd80841a0a6c372cfc3e01467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46550684', 'ctest-vn-89223081'], 'port_security_enabled': True, 'description': ''}}
2025-09-09 22:56:19,380 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f354f41d-f82c-4cf3-b935-96967476d1d5', 'name': '', 'tenant_id': 'eea7e4afd80841a0a6c372cfc3e01467', 'network_id': '1e28aa92-d417-4750-a874-2b66dd00285c', 'ip_version': 4, 'cidr': '165.120.165.0/26', 'allocation_pools': [{'start': '165.120.165.2', 'end': '165.120.165.62'}], 'gateway_ip': '165.120.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.120.165.2', 'tags': [], 'project_id': 'eea7e4afd80841a0a6c372cfc3e01467'}}
2025-09-09 22:56:19,397 - INFO - Created VN ctest-vn-89223081
2025-09-09 22:56:19,447 - DEBUG - VN ctest-vn-89223081 UUID is 1e28aa92-d417-4750-a874-2b66dd00285c
2025-09-09 22:56:19,656 - DEBUG - Services list from nova: [, , ]
2025-09-09 22:56:20,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4063-1)
2025-09-09 22:56:21,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4063-1)
2025-09-09 22:56:21,793 - INFO - Waiting for VM ctest-TestBasicVMVNx-46550684-94481177 to be up..
2025-09-09 22:56:21,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-09 22:56:26,955 - DEBUG - VM is in ACTIVE state now
2025-09-09 22:56:26,955 - INFO - VM name : ctest-TestBasicVMVNx-46550684-94481177
2025-09-09 22:56:27,037 - DEBUG - VM ctest-TestBasicVMVNx-46550684-94481177 ID is 99c2305a-85fc-466d-ad92-c0a6fd24e3dc
2025-09-09 22:56:27,056 - DEBUG - VM ctest-TestBasicVMVNx-46550684-94481177 launched on Node cn-jenkins-deploy-platform-ansible-os-4063-1
2025-09-09 22:56:27,127 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/99c2305a-85fc-466d-ad92-c0a6fd24e3dc
2025-09-09 22:56:27,435 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/99c2305a-85fc-466d-ad92-c0a6fd24e3dc
2025-09-09 22:56:27,466 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5187c488-4849-4fdb-b144-441142d5fb10
2025-09-09 22:56:30,727 - 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 1035ms')
2025-09-09 22:56:30,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46550684-94481177 failed!
2025-09-09 22:56:30,780 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46550684:ctest-vn-89223081 is 165.120.165.1 and allocation pool is NOT set
2025-09-09 22:56:32,841 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.537/2.612/1.075 ms')
2025-09-09 22:56:32,841 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46550684-94481177 passed
2025-09-09 22:56:33,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 22:56:33,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46550684-94481177, IP 165.120.165.3, Port 22
2025-09-09 22:56:33,167 - DEBUG - VM ctest-TestBasicVMVNx-46550684-94481177 is ready for SSH connections
2025-09-09 22:56:33,167 - INFO - Waiting for VM ctest-TestBasicVMVNx-46550684-50198132 to be up..
2025-09-09 22:56:33,242 - DEBUG - VM is in ACTIVE state now
2025-09-09 22:56:33,242 - INFO - VM name : ctest-TestBasicVMVNx-46550684-50198132
2025-09-09 22:56:33,312 - DEBUG - VM ctest-TestBasicVMVNx-46550684-50198132 ID is b6394c0d-87ef-4ff2-a929-4aba468acb62
2025-09-09 22:56:33,313 - DEBUG - VM ctest-TestBasicVMVNx-46550684-50198132 launched on Node cn-jenkins-deploy-platform-ansible-os-4063-1
2025-09-09 22:56:33,392 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b6394c0d-87ef-4ff2-a929-4aba468acb62
2025-09-09 22:56:33,399 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6de32cd2-3f9e-4a2c-8ecf-be61336af3a5
2025-09-09 22:56:34,639 - 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=2.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/1.414/2.348/0.934 ms')
2025-09-09 22:56:34,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46550684-50198132 passed
2025-09-09 22:56:34,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 22:56:34,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46550684-50198132, IP 165.120.165.4, Port 22
2025-09-09 22:56:34,946 - DEBUG - VM ctest-TestBasicVMVNx-46550684-50198132 is ready for SSH connections
2025-09-09 22:56:34,946 - DEBUG - FILE SIZE = 1303B
2025-09-09 22:56:34,947 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46550684-94481177 to ctest-TestBasicVMVNx-46550684-50198132 using scp
2025-09-09 22:56:34,948 - 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-09-09 22:56:34,948 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-09 22:56:36,854 - DEBUG - 1+0 records in
1+0 records out
2025-09-09 22:56:37,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 22:56:38,099 - 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-09-09 22:56:38,099 - DEBUG - ls -l testfile
2025-09-09 22:56:39,675 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 9 16:56 [0;0mtestfile[0m
2025-09-09 22:56:39,675 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46550684-50198132
2025-09-09 22:56:39,675 - INFO - Deleting VM ctest-TestBasicVMVNx-46550684-50198132
2025-09-09 22:56:39,741 - INFO - Deleting VM ctest-TestBasicVMVNx-46550684-94481177
2025-09-09 22:56:39,806 - INFO - Deleting VN ctest-vn-89223081
2025-09-09 22:56:39,843 - DEBUG - VN 1e28aa92-d417-4750-a874-2b66dd00285c still in use: Unable to complete operation on network 1e28aa92-d417-4750-a874-2b66dd00285c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-48bda5c1-3988-4d44-8efc-13f819e5e47d']
2025-09-09 22:56:39,843 - WARNING - Deleting VN ctest-vn-89223081 failed..Will retry
2025-09-09 22:56:41,944 - DEBUG - Response for deleting network ()
2025-09-09 22:56:42,201 - DEBUG - No XMPP flaps were noticed during the test
2025-09-09 22:56:42,201 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-09-09 22:56:42,201 - INFO - --------------------------------------------------------------------------------
2025-09-09 22:56:42,856 - INFO - Deleted project: ctest-TestBasicVMVNx-46550684, ID : eea7e4af-d808-41a0-a6c3-72cfc3e01467