2025-11-25 12:45:23,433 - INFO - Domain Default found not creating 2025-11-25 12:45:23,666 - INFO - Project ctest-TestBasicVMVNx-43562961 not found, creating it 2025-11-25 12:45:24,172 - INFO - Created Project:ctest-TestBasicVMVNx-43562961, ID : 92a772c5-dc5a-4e3b-b395-f5a133d37664 2025-11-25 12:45:26,092 - INFO - ================================================================================ 2025-11-25 12:45:26,092 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-25 12:45:26,092 - 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-11-25 12:45:26,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-25 12:45:26,376 - INFO - Initial checks done. Running the testcase now 2025-11-25 12:45:26,376 - INFO - 2025-11-25 12:45:27,092 - DEBUG - Response for create_network : {'network': {'id': '04e7223f-ecb7-4363-bee8-c862dc02a514', 'name': 'ctest-vn-48844105', 'tenant_id': '92a772c5dc5a4e3bb395f5a133d37664', 'project_id': '92a772c5dc5a4e3bb395f5a133d37664', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43562961', 'ctest-vn-48844105'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:45:27,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e2aab6e-65f0-43da-8900-9084e721fea9', 'name': '', 'tenant_id': '92a772c5dc5a4e3bb395f5a133d37664', 'network_id': '04e7223f-ecb7-4363-bee8-c862dc02a514', 'ip_version': 4, 'cidr': '68.152.233.64/26', 'allocation_pools': [{'start': '68.152.233.66', 'end': '68.152.233.126'}], 'gateway_ip': '68.152.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.152.233.66', 'tags': [], 'project_id': '92a772c5dc5a4e3bb395f5a133d37664'}} 2025-11-25 12:45:27,345 - INFO - Created VN ctest-vn-48844105 2025-11-25 12:45:27,403 - DEBUG - VN ctest-vn-48844105 UUID is 04e7223f-ecb7-4363-bee8-c862dc02a514 2025-11-25 12:45:27,611 - DEBUG - Services list from nova: [, , ] 2025-11-25 12:45:28,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:45:30,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:45:30,263 - INFO - Waiting for VM ctest-TestBasicVMVNx-43562961-73581370 to be up.. 2025-11-25 12:45:30,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-25 12:45:35,494 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:45:35,494 - INFO - VM name : ctest-TestBasicVMVNx-43562961-73581370 2025-11-25 12:45:35,601 - DEBUG - VM ctest-TestBasicVMVNx-43562961-73581370 ID is 8ba0a9bd-7b65-44da-a2cb-a99caa0651ee 2025-11-25 12:45:35,630 - DEBUG - VM ctest-TestBasicVMVNx-43562961-73581370 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:45:35,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8ba0a9bd-7b65-44da-a2cb-a99caa0651ee 2025-11-25 12:45:36,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8ba0a9bd-7b65-44da-a2cb-a99caa0651ee 2025-11-25 12:45:36,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/abb658ca-f276-478f-a9cd-4dced15f02a1 2025-11-25 12:45:39,373 - 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 1009ms') 2025-11-25 12:45:39,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43562961-73581370 failed! 2025-11-25 12:45:39,431 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43562961:ctest-vn-48844105 is 68.152.233.65 and allocation pool is NOT set 2025-11-25 12:45:43,492 - 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=2 ttl=63 time=8.21 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 8.206/8.206/8.206/0.000 ms') 2025-11-25 12:45:43,492 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43562961-73581370 passed 2025-11-25 12:45:43,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:45:43,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43562961-73581370, IP 68.152.233.67, Port 22 2025-11-25 12:45:43,816 - DEBUG - VM ctest-TestBasicVMVNx-43562961-73581370 is ready for SSH connections 2025-11-25 12:45:43,817 - INFO - Waiting for VM ctest-TestBasicVMVNx-43562961-50855483 to be up.. 2025-11-25 12:45:43,921 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:45:43,921 - INFO - VM name : ctest-TestBasicVMVNx-43562961-50855483 2025-11-25 12:45:44,009 - DEBUG - VM ctest-TestBasicVMVNx-43562961-50855483 ID is d8747610-7ee4-47b0-a559-d392c4cdae94 2025-11-25 12:45:44,009 - DEBUG - VM ctest-TestBasicVMVNx-43562961-50855483 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:45:44,106 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d8747610-7ee4-47b0-a559-d392c4cdae94 2025-11-25 12:45:44,115 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/019b7edb-4d97-48ee-91ac-6ae97a8a4aa8 2025-11-25 12:45:45,359 - 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=6.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.646 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.646/3.774/6.903/3.128 ms') 2025-11-25 12:45:45,359 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43562961-50855483 passed 2025-11-25 12:45:45,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:45:45,515 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43562961-50855483, IP 68.152.233.68, Port 22 2025-11-25 12:45:45,685 - DEBUG - VM ctest-TestBasicVMVNx-43562961-50855483 is ready for SSH connections 2025-11-25 12:45:45,685 - DEBUG - FILE SIZE = 1303B 2025-11-25 12:45:45,685 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43562961-73581370 to ctest-TestBasicVMVNx-43562961-50855483 using scp 2025-11-25 12:45:45,688 - 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.38, gateway password: c0ntrail123 2025-11-25 12:45:45,688 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-25 12:45:48,014 - DEBUG - 1+0 records in 1+0 records out 2025-11-25 12:45:48,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:45:48,907 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-25 12:45:48,908 - DEBUG - ls -l testfile 2025-11-25 12:45:50,640 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 25 05:45 testfile 2025-11-25 12:45:50,641 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43562961-50855483 2025-11-25 12:45:50,641 - INFO - Deleting VM ctest-TestBasicVMVNx-43562961-50855483 2025-11-25 12:45:50,737 - INFO - Deleting VM ctest-TestBasicVMVNx-43562961-73581370 2025-11-25 12:45:50,855 - INFO - Deleting VN ctest-vn-48844105 2025-11-25 12:45:50,925 - DEBUG - VN 04e7223f-ecb7-4363-bee8-c862dc02a514 still in use: Unable to complete operation on network 04e7223f-ecb7-4363-bee8-c862dc02a514. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee2f4bdf-e58a-48b3-b738-aaa8a923900d'] 2025-11-25 12:45:50,925 - WARNING - Deleting VN ctest-vn-48844105 failed..Will retry 2025-11-25 12:45:53,055 - DEBUG - Response for deleting network () 2025-11-25 12:45:53,339 - DEBUG - No XMPP flaps were noticed during the test
2025-11-25 12:45:53,339 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27]
2025-11-25 12:45:53,339 - INFO - -------------------------------------------------------------------------------- 2025-11-25 12:45:54,175 - INFO - Deleted project: ctest-TestBasicVMVNx-43562961, ID : 92a772c5-dc5a-4e3b-b395-f5a133d37664