Home
last modified time | relevance | path

Searched refs:getStderr (Results 1 – 25 of 44) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DPythonUnitTestRunner.java127 CLog.i("Found python version: %s", c.getStderr()); in getPythonBinary()
152 Matcher versionParts = Pattern.compile(VERSION_REGEX).matcher(c.getStderr()); in checkPythonVersion()
164 String.format("Could not parse the current version: '%s'", c.getStderr())); in checkPythonVersion()
188 c.getStderr(), mMinPyVersion)); in checkPythonVersion()
206 CLog.e("Stderr: %s", c.getStderr()); in doRunTest()
215 CLog.i("Parsing test result: %s", c.getStderr()); in doRunTest()
218 parser.processNewLines(c.getStderr().split("\n")); in doRunTest()
DHostGTest.java160 "'Before test' command failed: " + result.getStderr()); in runTest()
190 "'After test' command failed: " + result.getStderr()); in runTest()
/tools/tradefederation/core/src/com/android/tradefed/device/
DFastbootHelper.java66 if (fastbootResult.getStderr() != null && in isFastbootAvailable()
67 fastbootResult.getStderr().indexOf("usage: fastboot") >= 0) { in isFastbootAvailable()
73 fastbootResult.getStdout(), fastbootResult.getStderr()); in isFastbootAvailable()
92 fastbootResult.getStderr()); in getDevices()
126 fastbootResult.getStatus(), fastbootResult.getStderr()); in executeCommand()
DRemoteAndroidDevice.java198 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
213 resultConfirmation.getStderr()); in confirmAdbTcpConnect()
290 FileUtil.writeToFile(result.getStderr(), mAdbConnectLogs, true); in adbConnect()
DNativeDevice.java300 throw new IOException(mResult.getStderr()); in run()
302 throw new TimeoutException(mResult.getStderr()); in run()
477 CLog.e("Something went wrong went setting property %s: %s", propKey, result.getStderr()); in setProperty()
592 resultText = result.getStderr(); in getFastbootVariable()
1850 result.getStdout(), result.getStderr()); in doFastbootCommand()
1901 if (fastbootResult.getStderr() == null || in isRecoveryNeeded()
1902 fastbootResult.getStderr().contains("data transfer failure (Protocol error)") || in isRecoveryNeeded()
1903 fastbootResult.getStderr().contains("status read failed (No such device)")) { in isRecoveryNeeded()
1905 getSerialNumber(), fastbootResult.getStderr()); in isRecoveryNeeded()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java219 CLog.d("stderr: %s", listRemoteDir.getStderr()); in runTests()
349 new RuntimeException(resultRemoteExecution.getStderr())); in runRemote()
433 CLog.d("ps -ef: stdout: %s\nstderr: %s\n", psRes.getStdout(), psRes.getStderr()); in isStillRunning()
466 CLog.d("%s", probAdb.getStderr()); in resetAdb()
472 CLog.d("%s", versionAdb.getStderr()); in resetAdb()
612 String errorMsg = String.format("Failed to setup user: %s", userSetup.getStderr()); in startDevice()
628 String.format("Failed to setup home dir: %s", homeDirSetup.getStderr()); in startDevice()
639 String errorMsg = String.format("Failed to setup user: %s", cvdSetup.getStderr()); in startDevice()
651 String.format("Failed to setup network interface: %s", tapSetup.getStderr()); in startDevice()
677 String.format("Failed to start %s: %s", username, startDeviceRes.getStderr()); in startDevice()
/tools/tradefederation/core/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java196 pathResult.getStderr())); in runSinglePythonFile()
209 CLog.d("%s", versionRes.getStderr()); in runSinglePythonFile()
222 result.getStdout(), result.getStderr()); in runSinglePythonFile()
228 FileUtil.writeToFile(result.getStderr(), resultFile); in runSinglePythonFile()
234 if (!result.getStderr().contains("TEST_RUN_STARTED")) { in runSinglePythonFile()
238 pythonParser.processNewLines(result.getStderr().split("\n")); in runSinglePythonFile()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java194 res.getStderr())); in copy()
293 res.getStderr())); in makeBucket()
332 res.getStderr())); in ls()
439 res.getStderr())); in stat()
488 res.getStderr())); in md5Hash()
598 res.getStderr())); in remove()
657 res.getStderr())); in removeBucket()
DBundletoolUtil.java94 Arrays.toString(cmd), res.getStderr()); in generateDeviceSpecFile()
140 Arrays.toString(extractApkCmd), res.getStderr()); in extractSplitsFromApks()
169 Arrays.toString(installApksCmd), res.getStderr()), in installApks()
DCommandResult.java75 public String getStderr() { in getStderr() method in CommandResult
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilTest.java175 assertEquals("", result.getStderr()); in testRunTimedCmd_failed()
188 assertEquals("", result.getStderr()); in testRunTimedCmd_timeout()
349 assertEquals(result.getStderr(), in testRuntimedCmd_withFileOutputStream()
376 assertEquals(result.getStderr(), "TEST STDERR\n"); in testRuntimedCmd_regularOutput_fileNull()
408 result.getStderr(), "redirected to " + stderrStream.getClass().getSimpleName()); in testRuntimedCmd_notWritable()
480 assertEquals("", result.getStderr()); in testGotExitCodeFromCommand()
495 assertEquals("", result.getStderr()); in testSetRedirectStderrToStdout()
DRunUtilFuncTest.java147 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_largeOutput()
170 result.getStatus(), result.getStdout(), result.getStderr()), in testUnsetEnvVariable()
194 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_timeout()
198 assertEquals("", result.getStderr()); in testRunTimedCmd_timeout()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java90 if (result.getStderr() != null && !result.getStderr().isEmpty()) { in dumpConfigForVersion()
91 CLog.d("stderr: %s", result.getStderr()); in dumpConfigForVersion()
103 errorMessage += String.format(" stderr: %s", result.getStderr()); in dumpConfigForVersion()
/tools/tradefederation/core/src/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java124 CLog.e("Failed to set legacy_storage: %s", appOpsResult.getStderr()); in setUp()
155 deviceFilePath, deleteResult.getStderr()); in deleteFile()
218 fileToPush, deviceFilePath, pushResult.getStderr()); in pushFile()
231 String stderr = result.getStderr(); in isSuccessful()
373 deviceFilePath, localFile, pullResult.getStderr()); in pullFileInternal()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasher.java247 || result.getStderr().contains("FAILED")) { in hasPartition()
252 return regex.matcher(result.getStderr()).find(); in hasPartition()
789 CLog.v("fastboot stderr: " + result.getStderr()); in handleFastbootResult()
791 if (result.getStderr().contains("FAILED")) { in handleFastbootResult()
798 device.getSerialNumber(), result.getStdout(), result.getStderr()), in handleFastbootResult()
801 if (result.getStderr().length() > 0) { in handleFastbootResult()
802 return result.getStderr(); in handleFastbootResult()
DRunCommandTargetPreparer.java100 cmd, result.getStdout(), result.getStderr()), in setUp()
105 cmd, result.getStdout(), result.getStderr()); in setUp()
140 cmd, result.getStdout(), result.getStderr()); in tearDown()
DDeviceWiper.java57 throw new TargetSetupError(String.format("fastboot wiping failed: %s", r.getStderr()), in doFormat()
73 r.getStderr()), device.getDeviceDescriptor()); in performFastbootOp()
/tools/tradefederation/core/src/com/android/tradefed/util/statsd/
DConfigUtil.java132 if (output.getStderr().contains("Error parsing")) { in updateConfig()
134 } else if (!output.getStderr().isEmpty()) { in updateConfig()
136 String.format("Failed to push config with error: %s.", output.getStderr())); in updateConfig()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedRemoteDevice.java99 CLog.e("%s", stopCvdRes.getStderr()); in resetVirtualDevice()
102 CLog.e("%s\n%s", printAdbDevices.getStdout(), printAdbDevices.getStderr()); in resetVirtualDevice()
122 CLog.e("%s", createRes.getStderr()); in resetVirtualDevice()
DGceManager.java145 CLog.i("GCE driver stderr: %s", cmd.getStderr()); in startGce()
146 String instanceName = extractInstanceName(cmd.getStderr()); in startGce()
495 CLog.e("%s", res.getStderr()); in remoteSshCommandExec()
DNestedDeviceStateMonitor.java70 CLog.e("Error checking device ready: %s", res.getStderr()); in nestedWaitForDeviceOnline()
/tools/tradefederation/contrib/src/com/android/build/tests/
DKernelImageCheck.java114 CLog.e("Result stderr: %s", result.getStderr()); in test_stable_abi()
129 CLog.e("Result stderr: %s", result.getStderr()); in test_stable_abi()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparer.java110 result.getStdout(), result.getStderr()), in setUp()
129 CLog.d("Restart adb - stdout: %s\nstderr: %s", restart.getStdout(), restart.getStderr()); in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java90 private String getStderr() { in getStderr() method in PythonUnitTestRunnerTest.UnitTestResult
121 cr.setStderr(this.getStderr()); in getCommandResult()
/tools/tradefederation/contrib/src/com/android/framework/tests/
DPreloadedClassesTest.java195 CLog.e("Error scanning: %s", result.getStderr()); in scanAndExportClasses()
230 CLog.e("Error computing classes: %s", result.getStderr()); in writePreloadedClasses()

12