2025-07-04 15:47:33,074 - INFO - Domain Default found not creating 2025-07-04 15:47:33,239 - INFO - Project ctest-TestBasicVMVNx-51258503 not found, creating it 2025-07-04 15:47:33,698 - INFO - Created Project:ctest-TestBasicVMVNx-51258503, ID : 54b04f10-e3a7-435c-9f66-bad5ab9d4f20 2025-07-04 15:47:35,165 - INFO - ================================================================================ 2025-07-04 15:47:35,165 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-04 15:47:35,165 - 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-07-04 15:47:35,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with 2025-07-04 15:47:35,419 - INFO - Initial checks done. Running the testcase now 2025-07-04 15:47:35,419 - INFO - 2025-07-04 15:47:36,594 - DEBUG - Response for create_network : {'network': {'id': '61f57a4a-db27-4ebc-b5c1-66c1fe46faea', 'name': 'ctest-vn-24610211', 'tenant_id': '54b04f10e3a7435c9f66bad5ab9d4f20', 'project_id': '54b04f10e3a7435c9f66bad5ab9d4f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51258503', 'ctest-vn-24610211'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:47:36,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '78e515e1-4ad0-4f31-8f16-96b9cbbbfe40', 'name': '', 'tenant_id': '54b04f10e3a7435c9f66bad5ab9d4f20', 'network_id': '61f57a4a-db27-4ebc-b5c1-66c1fe46faea', 'ip_version': 4, 'cidr': '2.11.224.64/26', 'allocation_pools': [{'start': '2.11.224.66', 'end': '2.11.224.126'}], 'gateway_ip': '2.11.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.11.224.66', 'tags': [], 'project_id': '54b04f10e3a7435c9f66bad5ab9d4f20'}} 2025-07-04 15:47:36,821 - INFO - Created VN ctest-vn-24610211 2025-07-04 15:47:36,877 - DEBUG - VN ctest-vn-24610211 UUID is 61f57a4a-db27-4ebc-b5c1-66c1fe46faea 2025-07-04 15:47:37,072 - DEBUG - Services list from nova: [, , ] 2025-07-04 15:47:38,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3599-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3599-1) 2025-07-04 15:47:39,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3599-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3599-1) 2025-07-04 15:47:39,434 - INFO - Waiting for VM ctest-TestBasicVMVNx-51258503-58792168 to be up.. 2025-07-04 15:47:39,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-04 15:47:44,709 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:47:44,709 - INFO - VM name : ctest-TestBasicVMVNx-51258503-58792168 2025-07-04 15:47:44,794 - DEBUG - VM ctest-TestBasicVMVNx-51258503-58792168 ID is beaff6dc-47d9-436b-8ce3-1bf06d7db438 2025-07-04 15:47:44,812 - DEBUG - VM ctest-TestBasicVMVNx-51258503-58792168 launched on Node cn-jenkins-deploy-platform-ansible-os-3599-1 2025-07-04 15:47:44,895 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/beaff6dc-47d9-436b-8ce3-1bf06d7db438 2025-07-04 15:47:45,186 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/beaff6dc-47d9-436b-8ce3-1bf06d7db438 2025-07-04 15:47:45,217 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7b6903f2-591d-458f-9808-46e202b138eb 2025-07-04 15:47:48,482 - 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 1024ms') 2025-07-04 15:47:48,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51258503-58792168 failed! 2025-07-04 15:47:48,537 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51258503:ctest-vn-24610211 is 2.11.224.65 and allocation pool is NOT set 2025-07-04 15:47:50,604 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.44 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 = 2.435/3.598/4.762/1.163 ms') 2025-07-04 15:47:50,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51258503-58792168 passed 2025-07-04 15:47:50,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:47:50,758 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51258503-58792168, IP 2.11.224.67, Port 22 2025-07-04 15:47:50,927 - DEBUG - VM ctest-TestBasicVMVNx-51258503-58792168 is ready for SSH connections 2025-07-04 15:47:50,927 - INFO - Waiting for VM ctest-TestBasicVMVNx-51258503-49833536 to be up.. 2025-07-04 15:47:51,030 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:47:51,030 - INFO - VM name : ctest-TestBasicVMVNx-51258503-49833536 2025-07-04 15:47:51,130 - DEBUG - VM ctest-TestBasicVMVNx-51258503-49833536 ID is a4745aa0-7cab-42b2-95b3-22839dd9326f 2025-07-04 15:47:51,130 - DEBUG - VM ctest-TestBasicVMVNx-51258503-49833536 launched on Node cn-jenkins-deploy-platform-ansible-os-3599-1 2025-07-04 15:47:51,223 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a4745aa0-7cab-42b2-95b3-22839dd9326f 2025-07-04 15:47:51,233 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9b97adbc-923a-4e8b-8151-3a8aa1845e65 2025-07-04 15:47:52,498 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/3.638/6.798/3.160 ms') 2025-07-04 15:47:52,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51258503-49833536 passed 2025-07-04 15:47:52,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:47:52,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51258503-49833536, IP 2.11.224.68, Port 22 2025-07-04 15:47:52,815 - DEBUG - VM ctest-TestBasicVMVNx-51258503-49833536 is ready for SSH connections 2025-07-04 15:47:52,816 - DEBUG - FILE SIZE = 1303B 2025-07-04 15:47:52,816 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51258503-58792168 to ctest-TestBasicVMVNx-51258503-49833536 using scp 2025-07-04 15:47:52,817 - 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.130, gateway password: c0ntrail123 2025-07-04 15:47:52,817 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-04 15:47:54,789 - DEBUG - 1+0 records in 1+0 records out 2025-07-04 15:47:55,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:47:55,929 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-04 15:47:55,933 - DEBUG - ls -l testfile 2025-07-04 15:47:57,504 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 4 09:47 testfile 2025-07-04 15:47:57,504 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51258503-49833536 2025-07-04 15:47:57,504 - INFO - Deleting VM ctest-TestBasicVMVNx-51258503-49833536 2025-07-04 15:47:57,579 - INFO - Deleting VM ctest-TestBasicVMVNx-51258503-58792168 2025-07-04 15:47:57,644 - INFO - Deleting VN ctest-vn-24610211 2025-07-04 15:47:57,684 - DEBUG - VN 61f57a4a-db27-4ebc-b5c1-66c1fe46faea still in use: Unable to complete operation on network 61f57a4a-db27-4ebc-b5c1-66c1fe46faea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9243903-d71c-457b-9270-a8708b7f2a78'] 2025-07-04 15:47:57,685 - WARNING - Deleting VN ctest-vn-24610211 failed..Will retry 2025-07-04 15:47:59,789 - DEBUG - Response for deleting network () 2025-07-04 15:48:00,044 - DEBUG - No XMPP flaps were noticed during the test
2025-07-04 15:48:00,044 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-07-04 15:48:00,044 - INFO - -------------------------------------------------------------------------------- 2025-07-04 15:48:00,745 - INFO - Deleted project: ctest-TestBasicVMVNx-51258503, ID : 54b04f10-e3a7-435c-9f66-bad5ab9d4f20