2025-08-20 13:06:18,550 - INFO - Domain Default found not creating 2025-08-20 13:06:18,668 - INFO - Project ctest-TestBasicVMVNx-12890934 not found, creating it 2025-08-20 13:06:19,075 - INFO - Created Project:ctest-TestBasicVMVNx-12890934, ID : 7df5b00a-5695-4492-8b1a-f85efb680dba 2025-08-20 13:06:20,383 - INFO - ================================================================================ 2025-08-20 13:06:20,384 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-20 13:06:20,384 - 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-08-20 13:06:20,652 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-08-20 13:06:20,652 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:06:20,653 - INFO - 2025-08-20 13:06:21,141 - DEBUG - Response for create_network : {'network': {'id': '9170880b-aa52-4eb6-a392-8ef6cb6c27c5', 'name': 'ctest-vn-25560868', 'tenant_id': '7df5b00a569544928b1af85efb680dba', 'project_id': '7df5b00a569544928b1af85efb680dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-12890934', 'ctest-vn-25560868'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:06:21,316 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9951b4b-ea2c-4a0b-b59b-40066fa4019a', 'name': '', 'tenant_id': '7df5b00a569544928b1af85efb680dba', 'network_id': '9170880b-aa52-4eb6-a392-8ef6cb6c27c5', 'ip_version': 4, 'cidr': '216.84.199.0/26', 'allocation_pools': [{'start': '216.84.199.2', 'end': '216.84.199.62'}], 'gateway_ip': '216.84.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.84.199.2', 'tags': [], 'project_id': '7df5b00a569544928b1af85efb680dba'}} 2025-08-20 13:06:21,330 - INFO - Created VN ctest-vn-25560868 2025-08-20 13:06:21,383 - DEBUG - VN ctest-vn-25560868 UUID is 9170880b-aa52-4eb6-a392-8ef6cb6c27c5 2025-08-20 13:06:21,570 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:06:22,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3894-1) 2025-08-20 13:06:23,637 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3894-1) 2025-08-20 13:06:23,637 - INFO - Waiting for VM ctest-TestBasicVMVNx-12890934-71914438 to be up.. 2025-08-20 13:06:23,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:06:28,770 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:06:28,770 - INFO - VM name : ctest-TestBasicVMVNx-12890934-71914438 2025-08-20 13:06:28,839 - DEBUG - VM ctest-TestBasicVMVNx-12890934-71914438 ID is c33e62dd-368f-4ac0-af4d-2ca2f4808e96 2025-08-20 13:06:28,857 - DEBUG - VM ctest-TestBasicVMVNx-12890934-71914438 launched on Node cn-jenkins-deploy-platform-ansible-os-3894-1. 2025-08-20 13:06:28,921 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c33e62dd-368f-4ac0-af4d-2ca2f4808e96 2025-08-20 13:06:29,216 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c33e62dd-368f-4ac0-af4d-2ca2f4808e96 2025-08-20 13:06:29,246 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a678cb91-9f9a-4b8e-a76b-f8eb3891f0eb 2025-08-20 13:06:32,481 - 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-08-20 13:06:32,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12890934-71914438 failed! 2025-08-20 13:06:32,539 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-12890934:ctest-vn-25560868 is 216.84.199.1 and allocation pool is NOT set 2025-08-20 13:06:34,600 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.697 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.697/2.391/4.085/1.694 ms') 2025-08-20 13:06:34,600 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12890934-71914438 passed 2025-08-20 13:06:34,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:06:34,752 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12890934-71914438, IP 216.84.199.3, Port 22 2025-08-20 13:06:34,903 - DEBUG - VM ctest-TestBasicVMVNx-12890934-71914438 is ready for SSH connections 2025-08-20 13:06:34,903 - INFO - Waiting for VM ctest-TestBasicVMVNx-12890934-78176636 to be up.. 2025-08-20 13:06:34,962 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:06:34,962 - INFO - VM name : ctest-TestBasicVMVNx-12890934-78176636 2025-08-20 13:06:35,025 - DEBUG - VM ctest-TestBasicVMVNx-12890934-78176636 ID is 0ebb1a33-88f9-4aed-a318-2576e62c5d75 2025-08-20 13:06:35,025 - DEBUG - VM ctest-TestBasicVMVNx-12890934-78176636 launched on Node cn-jenkins-deploy-platform-ansible-os-3894-1. 2025-08-20 13:06:35,086 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0ebb1a33-88f9-4aed-a318-2576e62c5d75 2025-08-20 13:06:35,093 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ed7d77a5-ce1f-4cd5-8c38-5bbea3587df0 2025-08-20 13:06:36,317 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/1.521/2.670/1.149 ms') 2025-08-20 13:06:36,317 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-12890934-78176636 passed 2025-08-20 13:06:36,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:06:36,463 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12890934-78176636, IP 216.84.199.4, Port 22 2025-08-20 13:06:36,615 - DEBUG - VM ctest-TestBasicVMVNx-12890934-78176636 is ready for SSH connections 2025-08-20 13:06:36,615 - DEBUG - FILE SIZE = 1303B 2025-08-20 13:06:36,615 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-12890934-71914438 to ctest-TestBasicVMVNx-12890934-78176636 using scp 2025-08-20 13:06:36,617 - 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.27, gateway password: c0ntrail123 2025-08-20 13:06:36,617 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-20 13:06:38,498 - DEBUG - 1+0 records in 1+0 records out 2025-08-20 13:06:39,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:06:39,423 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:06:39,423 - DEBUG - ls -l testfile 2025-08-20 13:06:40,987 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 20 07:06 testfile 2025-08-20 13:06:40,987 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-12890934-78176636 2025-08-20 13:06:40,987 - INFO - Deleting VM ctest-TestBasicVMVNx-12890934-78176636 2025-08-20 13:06:41,044 - INFO - Deleting VM ctest-TestBasicVMVNx-12890934-71914438 2025-08-20 13:06:41,106 - INFO - Deleting VN ctest-vn-25560868 2025-08-20 13:06:41,135 - DEBUG - VN 9170880b-aa52-4eb6-a392-8ef6cb6c27c5 still in use: Unable to complete operation on network 9170880b-aa52-4eb6-a392-8ef6cb6c27c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79113696-3181-4bca-90b9-1decbc104ad5'] 2025-08-20 13:06:41,135 - WARNING - Deleting VN ctest-vn-25560868 failed..Will retry 2025-08-20 13:06:43,216 - DEBUG - Response for deleting network () 2025-08-20 13:06:43,464 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:06:43,464 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-20 13:06:43,464 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:06:44,091 - INFO - Deleted project: ctest-TestBasicVMVNx-12890934, ID : 7df5b00a-5695-4492-8b1a-f85efb680dba