2025-03-31 11:49:48,309 - INFO - Domain Default found not creating 2025-03-31 11:49:48,461 - INFO - Project ctest-TestBasicVMVNx-47812240 not found, creating it 2025-03-31 11:49:48,934 - INFO - Created Project:ctest-TestBasicVMVNx-47812240, ID : e4a1821f-8e41-4b2b-8461-387d68214d3f 2025-03-31 11:49:50,592 - INFO - ================================================================================ 2025-03-31 11:49:50,592 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-31 11:49:50,592 - 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-03-31 11:49:50,849 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.23': '0'}} with 2025-03-31 11:49:50,849 - INFO - Initial checks done. Running the testcase now 2025-03-31 11:49:50,849 - INFO - 2025-03-31 11:49:51,454 - DEBUG - Response for create_network : {'network': {'id': '054e7d7b-7653-4080-b861-eb40abcb2c3f', 'name': 'ctest-vn-69393337', 'tenant_id': 'e4a1821f8e414b2b8461387d68214d3f', 'project_id': 'e4a1821f8e414b2b8461387d68214d3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-47812240', 'ctest-vn-69393337'], 'port_security_enabled': True, 'description': ''}} 2025-03-31 11:49:51,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a83d03f6-361e-4509-815e-9cf2a70912ed', 'name': '', 'tenant_id': 'e4a1821f8e414b2b8461387d68214d3f', 'network_id': '054e7d7b-7653-4080-b861-eb40abcb2c3f', 'ip_version': 4, 'cidr': '178.128.192.128/26', 'allocation_pools': [{'start': '178.128.192.130', 'end': '178.128.192.190'}], 'gateway_ip': '178.128.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.128.192.130', 'tags': [], 'project_id': 'e4a1821f8e414b2b8461387d68214d3f'}} 2025-03-31 11:49:51,698 - INFO - Created VN ctest-vn-69393337 2025-03-31 11:49:51,755 - DEBUG - VN ctest-vn-69393337 UUID is 054e7d7b-7653-4080-b861-eb40abcb2c3f 2025-03-31 11:49:51,946 - DEBUG - Services list from nova: [, , ] 2025-03-31 11:49:53,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3015-1) 2025-03-31 11:49:54,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3015-1) 2025-03-31 11:49:54,328 - INFO - Waiting for VM ctest-TestBasicVMVNx-47812240-08809987 to be up.. 2025-03-31 11:49:54,418 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-31 11:49:59,524 - DEBUG - VM is in ACTIVE state now 2025-03-31 11:49:59,524 - INFO - VM name : ctest-TestBasicVMVNx-47812240-08809987 2025-03-31 11:49:59,611 - DEBUG - VM ctest-TestBasicVMVNx-47812240-08809987 ID is 7c12154d-6537-4049-aa75-45b096371cfe 2025-03-31 11:49:59,634 - DEBUG - VM ctest-TestBasicVMVNx-47812240-08809987 launched on Node cn-jenkins-deploy-platform-ansible-os-3015-1 2025-03-31 11:49:59,721 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7c12154d-6537-4049-aa75-45b096371cfe 2025-03-31 11:50:00,031 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7c12154d-6537-4049-aa75-45b096371cfe 2025-03-31 11:50:00,071 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c0d7a2f8-3043-4a33-a767-3edae7a94d08 2025-03-31 11:50:03,366 - 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 1029ms') 2025-03-31 11:50:03,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47812240-08809987 failed! 2025-03-31 11:50:03,431 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-47812240:ctest-vn-69393337 is 178.128.192.129 and allocation pool is NOT set 2025-03-31 11:50:05,494 - 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=7.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 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 = 2.423/5.190/7.957/2.767 ms') 2025-03-31 11:50:05,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47812240-08809987 passed 2025-03-31 11:50:05,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-31 11:50:05,651 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47812240-08809987, IP 178.128.192.131, Port 22 2025-03-31 11:50:05,818 - DEBUG - VM ctest-TestBasicVMVNx-47812240-08809987 is ready for SSH connections 2025-03-31 11:50:05,818 - INFO - Waiting for VM ctest-TestBasicVMVNx-47812240-67970465 to be up.. 2025-03-31 11:50:05,909 - DEBUG - VM is in ACTIVE state now 2025-03-31 11:50:05,909 - INFO - VM name : ctest-TestBasicVMVNx-47812240-67970465 2025-03-31 11:50:05,998 - DEBUG - VM ctest-TestBasicVMVNx-47812240-67970465 ID is 557f0518-2116-4ad3-95bb-2b17b4b64e4e 2025-03-31 11:50:05,998 - DEBUG - VM ctest-TestBasicVMVNx-47812240-67970465 launched on Node cn-jenkins-deploy-platform-ansible-os-3015-1 2025-03-31 11:50:06,097 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/557f0518-2116-4ad3-95bb-2b17b4b64e4e 2025-03-31 11:50:06,113 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2f411bc2-26a3-4968-abe4-443258945544 2025-03-31 11:50:07,394 - 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=4.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.68 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 = 1.676/3.202/4.728/1.526 ms') 2025-03-31 11:50:07,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-47812240-67970465 passed 2025-03-31 11:50:07,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-31 11:50:07,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47812240-67970465, IP 178.128.192.132, Port 22 2025-03-31 11:50:07,721 - DEBUG - VM ctest-TestBasicVMVNx-47812240-67970465 is ready for SSH connections 2025-03-31 11:50:07,721 - DEBUG - FILE SIZE = 1303B 2025-03-31 11:50:07,721 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-47812240-08809987 to ctest-TestBasicVMVNx-47812240-67970465 using scp 2025-03-31 11:50:07,721 - 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-03-31 11:50:07,722 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-31 11:50:09,707 - DEBUG - 1+0 records in 1+0 records out 2025-03-31 11:50:10,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-31 11:50:10,871 - 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-03-31 11:50:10,871 - DEBUG - ls -l testfile 2025-03-31 11:50:12,466 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 31 05:50 testfile 2025-03-31 11:50:12,466 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-47812240-67970465 2025-03-31 11:50:12,466 - INFO - Deleting VM ctest-TestBasicVMVNx-47812240-67970465 2025-03-31 11:50:12,551 - INFO - Deleting VM ctest-TestBasicVMVNx-47812240-08809987 2025-03-31 11:50:12,634 - INFO - Deleting VN ctest-vn-69393337 2025-03-31 11:50:12,685 - DEBUG - VN 054e7d7b-7653-4080-b861-eb40abcb2c3f still in use: Unable to complete operation on network 054e7d7b-7653-4080-b861-eb40abcb2c3f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d512f66-3a9c-4035-aff0-990df0d4e34c'] 2025-03-31 11:50:12,685 - WARNING - Deleting VN ctest-vn-69393337 failed..Will retry 2025-03-31 11:50:14,832 - DEBUG - Response for deleting network () 2025-03-31 11:50:15,097 - DEBUG - No XMPP flaps were noticed during the test 2025-03-31 11:50:15,098 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-03-31 11:50:15,098 - INFO - -------------------------------------------------------------------------------- 2025-03-31 11:50:15,830 - INFO - Deleted project: ctest-TestBasicVMVNx-47812240, ID : e4a1821f-8e41-4b2b-8461-387d68214d3f