2025-08-11 07:44:04,957 - INFO - Domain Default found not creating 2025-08-11 07:44:05,077 - INFO - Project ctest-TestBasicVMVNx-10314565 not found, creating it 2025-08-11 07:44:05,486 - INFO - Created Project:ctest-TestBasicVMVNx-10314565, ID : a5d0e710-d559-4eb2-a950-6024d77bd4b1 2025-08-11 07:44:06,784 - INFO - ================================================================================ 2025-08-11 07:44:06,784 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-11 07:44:06,784 - 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-11 07:44:07,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 07:44:07,043 - INFO - Initial checks done. Running the testcase now 2025-08-11 07:44:07,043 - INFO - 2025-08-11 07:44:07,559 - DEBUG - Response for create_network : {'network': {'id': 'fce33c49-a98c-4ab2-a1e0-854960a16446', 'name': 'ctest-vn-04845239', 'tenant_id': 'a5d0e710d5594eb2a9506024d77bd4b1', 'project_id': 'a5d0e710d5594eb2a9506024d77bd4b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-10314565', 'ctest-vn-04845239'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 07:44:07,744 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ede7a77b-6b73-4bf9-8d04-6bd12a2bf0dc', 'name': '', 'tenant_id': 'a5d0e710d5594eb2a9506024d77bd4b1', 'network_id': 'fce33c49-a98c-4ab2-a1e0-854960a16446', 'ip_version': 4, 'cidr': '62.166.145.64/26', 'allocation_pools': [{'start': '62.166.145.66', 'end': '62.166.145.126'}], 'gateway_ip': '62.166.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.166.145.66', 'tags': [], 'project_id': 'a5d0e710d5594eb2a9506024d77bd4b1'}} 2025-08-11 07:44:07,759 - INFO - Created VN ctest-vn-04845239 2025-08-11 07:44:07,810 - DEBUG - VN ctest-vn-04845239 UUID is fce33c49-a98c-4ab2-a1e0-854960a16446 2025-08-11 07:44:08,005 - DEBUG - Services list from nova: [, , ] 2025-08-11 07:44:08,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3800-1) 2025-08-11 07:44:10,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3800-1) 2025-08-11 07:44:10,021 - INFO - Waiting for VM ctest-TestBasicVMVNx-10314565-26027563 to be up.. 2025-08-11 07:44:10,096 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 07:44:15,175 - DEBUG - VM is in ACTIVE state now 2025-08-11 07:44:15,175 - INFO - VM name : ctest-TestBasicVMVNx-10314565-26027563 2025-08-11 07:44:15,233 - DEBUG - VM ctest-TestBasicVMVNx-10314565-26027563 ID is 12411216-4913-44c4-abe9-c67597cc7557 2025-08-11 07:44:15,250 - DEBUG - VM ctest-TestBasicVMVNx-10314565-26027563 launched on Node cn-jenkins-deploy-platform-ansible-os-3800-1 2025-08-11 07:44:15,310 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/12411216-4913-44c4-abe9-c67597cc7557 2025-08-11 07:44:15,601 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/12411216-4913-44c4-abe9-c67597cc7557 2025-08-11 07:44:15,629 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/458d7df3-12a1-4859-9827-ef132ce70125 2025-08-11 07:44:18,902 - 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 1032ms') 2025-08-11 07:44:18,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10314565-26027563 failed! 2025-08-11 07:44:18,958 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-10314565:ctest-vn-04845239 is 62.166.145.65 and allocation pool is NOT set 2025-08-11 07:44:21,017 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/1.641/2.833/1.191 ms') 2025-08-11 07:44:21,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10314565-26027563 passed 2025-08-11 07:44:21,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:44:21,170 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10314565-26027563, IP 62.166.145.67, Port 22 2025-08-11 07:44:21,321 - DEBUG - VM ctest-TestBasicVMVNx-10314565-26027563 is ready for SSH connections 2025-08-11 07:44:21,321 - INFO - Waiting for VM ctest-TestBasicVMVNx-10314565-32177041 to be up.. 2025-08-11 07:44:21,387 - DEBUG - VM is in ACTIVE state now 2025-08-11 07:44:21,387 - INFO - VM name : ctest-TestBasicVMVNx-10314565-32177041 2025-08-11 07:44:21,447 - DEBUG - VM ctest-TestBasicVMVNx-10314565-32177041 ID is 3d52bb65-996c-4bf6-b156-7a683770e0f0 2025-08-11 07:44:21,447 - DEBUG - VM ctest-TestBasicVMVNx-10314565-32177041 launched on Node cn-jenkins-deploy-platform-ansible-os-3800-1 2025-08-11 07:44:21,507 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/3d52bb65-996c-4bf6-b156-7a683770e0f0 2025-08-11 07:44:21,516 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/e2fb1b7f-dae7-4eb5-ae9b-469386c8e22d 2025-08-11 07:44:22,752 - 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=3.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 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.347/1.994/3.641/1.647 ms') 2025-08-11 07:44:22,752 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-10314565-32177041 passed 2025-08-11 07:44:22,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:44:22,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10314565-32177041, IP 62.166.145.68, Port 22 2025-08-11 07:44:23,066 - DEBUG - VM ctest-TestBasicVMVNx-10314565-32177041 is ready for SSH connections 2025-08-11 07:44:23,066 - DEBUG - FILE SIZE = 1303B 2025-08-11 07:44:23,066 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-10314565-26027563 to ctest-TestBasicVMVNx-10314565-32177041 using scp 2025-08-11 07:44:23,069 - 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-08-11 07:44:23,070 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-11 07:44:24,905 - DEBUG - 1+0 records in 1+0 records out 2025-08-11 07:44:25,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:44:25,808 - 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-08-11 07:44:25,808 - DEBUG - ls -l testfile 2025-08-11 07:44:27,357 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 11 01:44 testfile 2025-08-11 07:44:27,357 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-10314565-32177041 2025-08-11 07:44:27,357 - INFO - Deleting VM ctest-TestBasicVMVNx-10314565-32177041 2025-08-11 07:44:27,416 - INFO - Deleting VM ctest-TestBasicVMVNx-10314565-26027563 2025-08-11 07:44:27,479 - INFO - Deleting VN ctest-vn-04845239 2025-08-11 07:44:27,515 - DEBUG - VN fce33c49-a98c-4ab2-a1e0-854960a16446 still in use: Unable to complete operation on network fce33c49-a98c-4ab2-a1e0-854960a16446. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80577e91-900f-4000-b848-6da32f8ff043'] 2025-08-11 07:44:27,515 - WARNING - Deleting VN ctest-vn-04845239 failed..Will retry 2025-08-11 07:44:29,617 - DEBUG - Response for deleting network () 2025-08-11 07:44:29,871 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 07:44:29,871 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-11 07:44:29,871 - INFO - -------------------------------------------------------------------------------- 2025-08-11 07:44:30,516 - INFO - Deleted project: ctest-TestBasicVMVNx-10314565, ID : a5d0e710-d559-4eb2-a950-6024d77bd4b1