2025-09-26 02:35:50,877 - INFO - Domain Default found not creating 2025-09-26 02:35:51,019 - INFO - Project ctest-TestBasicVMVNx-69279368 not found, creating it 2025-09-26 02:35:51,449 - INFO - Created Project:ctest-TestBasicVMVNx-69279368, ID : fcf6644e-52bd-4c08-a95a-37aa2e289a49 2025-09-26 02:35:52,951 - INFO - ================================================================================ 2025-09-26 02:35:52,951 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-26 02:35:52,951 - 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-26 02:35:53,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-26 02:35:53,212 - INFO - Initial checks done. Running the testcase now 2025-09-26 02:35:53,212 - INFO - 2025-09-26 02:35:53,730 - DEBUG - Response for create_network : {'network': {'id': 'cc0d128e-a589-4a18-98ad-a061c32ed50b', 'name': 'ctest-vn-92689933', 'tenant_id': 'fcf6644e52bd4c08a95a37aa2e289a49', 'project_id': 'fcf6644e52bd4c08a95a37aa2e289a49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-69279368', 'ctest-vn-92689933'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 02:35:53,877 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9359b29-5023-43e2-b56a-db6894c87cca', 'name': '', 'tenant_id': 'fcf6644e52bd4c08a95a37aa2e289a49', 'network_id': 'cc0d128e-a589-4a18-98ad-a061c32ed50b', 'ip_version': 4, 'cidr': '8.160.47.0/26', 'allocation_pools': [{'start': '8.160.47.2', 'end': '8.160.47.62'}], 'gateway_ip': '8.160.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.160.47.2', 'tags': [], 'project_id': 'fcf6644e52bd4c08a95a37aa2e289a49'}} 2025-09-26 02:35:53,892 - INFO - Created VN ctest-vn-92689933 2025-09-26 02:35:53,943 - DEBUG - VN ctest-vn-92689933 UUID is cc0d128e-a589-4a18-98ad-a061c32ed50b 2025-09-26 02:35:54,135 - DEBUG - Services list from nova: [, , ] 2025-09-26 02:35:55,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4197-1) 2025-09-26 02:35:56,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4197-1) 2025-09-26 02:35:56,254 - INFO - Waiting for VM ctest-TestBasicVMVNx-69279368-20961523 to be up.. 2025-09-26 02:35:56,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-26 02:36:01,407 - DEBUG - VM is in ACTIVE state now 2025-09-26 02:36:01,407 - INFO - VM name : ctest-TestBasicVMVNx-69279368-20961523 2025-09-26 02:36:01,482 - DEBUG - VM ctest-TestBasicVMVNx-69279368-20961523 ID is 7770e557-bdba-4d50-9390-b24f887b173d 2025-09-26 02:36:01,504 - DEBUG - VM ctest-TestBasicVMVNx-69279368-20961523 launched on Node cn-jenkins-deploy-platform-ansible-os-4197-1 2025-09-26 02:36:01,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7770e557-bdba-4d50-9390-b24f887b173d 2025-09-26 02:36:01,884 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7770e557-bdba-4d50-9390-b24f887b173d 2025-09-26 02:36:01,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/021152ac-27c3-40a3-b00e-482df4d62f52 2025-09-26 02:36:05,191 - 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 1031ms') 2025-09-26 02:36:05,191 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69279368-20961523 failed! 2025-09-26 02:36:05,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-69279368:ctest-vn-92689933 is 8.160.47.1 and allocation pool is NOT set 2025-09-26 02:36:07,321 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.695 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.695/1.700/2.706/1.005 ms') 2025-09-26 02:36:07,321 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69279368-20961523 passed 2025-09-26 02:36:07,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 02:36:07,479 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69279368-20961523, IP 8.160.47.3, Port 22 2025-09-26 02:36:07,634 - DEBUG - VM ctest-TestBasicVMVNx-69279368-20961523 is ready for SSH connections 2025-09-26 02:36:07,634 - INFO - Waiting for VM ctest-TestBasicVMVNx-69279368-86486758 to be up.. 2025-09-26 02:36:07,704 - DEBUG - VM is in ACTIVE state now 2025-09-26 02:36:07,704 - INFO - VM name : ctest-TestBasicVMVNx-69279368-86486758 2025-09-26 02:36:07,770 - DEBUG - VM ctest-TestBasicVMVNx-69279368-86486758 ID is 60fc5637-b960-48ba-8dc4-103afdc581ab 2025-09-26 02:36:07,770 - DEBUG - VM ctest-TestBasicVMVNx-69279368-86486758 launched on Node cn-jenkins-deploy-platform-ansible-os-4197-1 2025-09-26 02:36:07,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/60fc5637-b960-48ba-8dc4-103afdc581ab 2025-09-26 02:36:07,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8e32556c-33b9-4404-992a-fef8d9dd121e 2025-09-26 02:36:09,082 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.518 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.518/1.680/2.842/1.162 ms') 2025-09-26 02:36:09,083 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-69279368-86486758 passed 2025-09-26 02:36:09,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 02:36:09,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69279368-86486758, IP 8.160.47.4, Port 22 2025-09-26 02:36:09,401 - DEBUG - VM ctest-TestBasicVMVNx-69279368-86486758 is ready for SSH connections 2025-09-26 02:36:09,401 - DEBUG - FILE SIZE = 1303B 2025-09-26 02:36:09,401 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-69279368-20961523 to ctest-TestBasicVMVNx-69279368-86486758 using scp 2025-09-26 02:36:09,402 - 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-09-26 02:36:09,403 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-26 02:36:11,323 - DEBUG - 1+0 records in 1+0 records out 2025-09-26 02:36:12,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 02:36:12,467 - 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-09-26 02:36:12,467 - DEBUG - ls -l testfile 2025-09-26 02:36:14,056 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 25 20:36 testfile 2025-09-26 02:36:14,056 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-69279368-86486758 2025-09-26 02:36:14,056 - INFO - Deleting VM ctest-TestBasicVMVNx-69279368-86486758 2025-09-26 02:36:14,126 - INFO - Deleting VM ctest-TestBasicVMVNx-69279368-20961523 2025-09-26 02:36:14,192 - INFO - Deleting VN ctest-vn-92689933 2025-09-26 02:36:14,230 - DEBUG - VN cc0d128e-a589-4a18-98ad-a061c32ed50b still in use: Unable to complete operation on network cc0d128e-a589-4a18-98ad-a061c32ed50b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-04a81a3f-f367-4816-a60b-bbbd629e0eac'] 2025-09-26 02:36:14,230 - WARNING - Deleting VN ctest-vn-92689933 failed..Will retry 2025-09-26 02:36:16,334 - DEBUG - Response for deleting network () 2025-09-26 02:36:16,588 - DEBUG - No XMPP flaps were noticed during the test
2025-09-26 02:36:16,588 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-09-26 02:36:16,588 - INFO - -------------------------------------------------------------------------------- 2025-09-26 02:36:17,260 - INFO - Deleted project: ctest-TestBasicVMVNx-69279368, ID : fcf6644e-52bd-4c08-a95a-37aa2e289a49