Home
last modified time | relevance | path

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

1234

/tools/tradefederation/core/src/com/android/tradefed/device/
DFastbootHelper.java70 if (fastbootResult.getStderr() != null && in isFastbootAvailable()
71 fastbootResult.getStderr().indexOf("usage: fastboot") >= 0) { in isFastbootAvailable()
77 fastbootResult.getStdout(), fastbootResult.getStderr()); in isFastbootAvailable()
95 fastbootResult.getStderr()); in getDevices()
123 fastbootResult.getStatus(), fastbootResult.getStderr()); in getBootloaderAndFastbootdDevices()
149 if (fastbootResult.getStderr().contains("yes")) { in getBootloaderAndFastbootdTcpDevices()
194 fastbootResult.getStatus(), fastbootResult.getStderr()); in executeCommand()
210 if (fastbootResult.getStderr().contains("is-userspace: yes")) { in isFastbootd()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java119 if (result.getStderr() != null && !result.getStderr().isEmpty()) { in dumpConfigForVersion()
120 CLog.d("stderr: %s\nstdout: %s", result.getStderr(), result.getStdout()); in dumpConfigForVersion()
130 errorMessage += String.format(" stderr: %s", result.getStderr()); in dumpConfigForVersion()
132 if (result.getStderr().contains(InfraErrorIdentifier.KEYSTORE_CONFIG_ERROR.name())) { in dumpConfigForVersion()
135 if (result.getStderr().contains(InfraErrorIdentifier.CLASS_NOT_FOUND.name())) { in dumpConfigForVersion()
138 if (result.getStderr().contains(InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR.name())) { in dumpConfigForVersion()
141 if (result.getStderr().contains(InfraErrorIdentifier.GCS_ERROR.name())) { in dumpConfigForVersion()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DPythonUnitTestRunner.java129 CLog.i("Found python version: %s", c.getStderr()); in getPythonBinary()
154 Matcher versionParts = Pattern.compile(VERSION_REGEX).matcher(c.getStderr()); in checkPythonVersion()
166 String.format("Could not parse the current version: '%s'", c.getStderr())); in checkPythonVersion()
190 c.getStderr(), mMinPyVersion)); in checkPythonVersion()
208 CLog.e("Stderr: %s", c.getStderr()); in doRunTest()
217 CLog.i("Parsing test result: %s", c.getStderr()); in doRunTest()
220 parser.processNewLines(c.getStderr().split("\n")); in doRunTest()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/sync/
DIncrementalImageFuncTest.java177 CLog.e("stdout: %s, stderr: %s", whichOutput.getStdout(), whichOutput.getStderr()); in testBlockCompareUpdate()
210 CLog.e("stdout: %s, stderr: %s", mapOutput.getStdout(), mapOutput.getStderr()); in testBlockCompareUpdate()
231 CLog.d("stderr: %s", fastbootResult.getStderr()); in testBlockCompareUpdate()
236 CLog.d("stdout: %s, stderr: %s", psOutput.getStdout(), psOutput.getStderr()); in testBlockCompareUpdate()
274 String.format("%s\n%s", result.getStdout(), result.getStderr())); in blockCompare()
308 CLog.d("Stderr: %s", result.getStderr()); in inspectCowPatches()
321 CLog.d("stdout: %s, stderr: %s", lsOutput.getStdout(), lsOutput.getStderr()); in listMappingAndCompare()
358 CLog.d("stdout: %s, stderr: %s", md5Output.getStdout(), md5Output.getStderr()); in listMappingAndCompare()
381 CLog.d("stdout: %s, stderr: %s", revertOutput.getStdout(), revertOutput.getStderr()); in revertToPreviousBuild()
394 CLog.d("stderr: %s", fastbootResult.getStderr()); in revertToPreviousBuild()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java262 CLog.d("stdout: %s, stderr: %s", whichOutput.getStdout(), whichOutput.getStderr()); in isSnapshotSupported()
267 CLog.d("stdout: %s, stderr: %s", helpOutput.getStdout(), helpOutput.getStderr()); in isSnapshotSupported()
270 || helpOutput.getStderr().contains("apply-update")) { in isSnapshotSupported()
275 || helpOutput.getStderr().contains("map-snapshots")) { in isSnapshotSupported()
305 CLog.d("stdout: %s, stderr: %s", dumpOutput.getStdout(), dumpOutput.getStderr()); in isSnapshotInUse()
424 CLog.d("stdout: %s, stderr: %s", listSnapshots.getStdout(), listSnapshots.getStderr()); in internalUpdateDevice()
429 CLog.d("stdout: %s, stderr: %s", mapOutput.getStdout(), mapOutput.getStderr()); in internalUpdateDevice()
436 mapOutput.getStdout(), mapOutput.getStderr()), in internalUpdateDevice()
442 CLog.d("stdout: %s, stderr: %s", mapOutput.getStdout(), mapOutput.getStderr()); in internalUpdateDevice()
450 mapOutput.getStdout(), mapOutput.getStderr()), in internalUpdateDevice()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DRunCommandTargetPreparer.java138 cmd, result.getStdout(), result.getStderr()), in setUp()
144 cmd, result.getStdout(), result.getStderr()); in setUp()
149 cmd, result.getStdout(), result.getStderr()); in setUp()
187 cmd, result.getStdout(), result.getStderr()); in tearDown()
191 cmd, result.getStdout(), result.getStderr()); in tearDown()
DGsiDeviceFlashPreparer.java367 CLog.v("fastboot stderr: " + result.getStderr()); in executeFastbootCmd()
370 if (result.getStderr().contains("FAILED")) { in executeFastbootCmd()
381 result.getStderr()), in executeFastbootCmd()
384 if (!result.getStderr().isEmpty()) { in executeFastbootCmd()
385 return result.getStderr(); in executeFastbootCmd()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/
DFoldableModePreparer.java61 mStateIdentifier, result.getStderr()), in setUp()
68 String.format("Could not wake up the screen. stderr: %s", result.getStderr()), in setUp()
94 String.format("Could not reset device_state. stderr: %s", result.getStderr()), in tearDown()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDeviceWiper.java82 String.format("fastboot wiping failed: %s", r.getStderr()), in doFormat()
106 r.getStderr()), device.getDeviceDescriptor()); in performFastbootOp()
120 throw new TargetSetupError(String.format("factory reset failed: %s", r.getStderr()), in doFactoryReset()
DPythonVirtualenvPreparer.java146 c.getStatus(), c.getStdout(), c.getStderr()); in startVirtualenv()
149 "Failed to create virtual environment. Error:\n%s", c.getStderr()), in startVirtualenv()
184 "Failed to run `virtualenv --version`. Reason:\n" + result.getStderr(), in checkVirtualenvVersion()
DRunHostCommandTargetPreparer.java264 command, result.getStdout(), result.getStderr()); in runCommandList()
270 command, result.getStdout(), result.getStderr()), in runCommandList()
277 command, result.getStdout(), result.getStderr()), in runCommandList()
285 command, result.getStdout(), result.getStderr()), in runCommandList()
/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.java112 generateDeviceSpecCmd.toString(), res.getStatus(), res.getStderr()); in generateDeviceSpecFile()
158 Arrays.toString(extractApkCmd), res.getStderr()); in extractSplitsFromApks()
202 onErrorMsg, installApksCmd, res.getStatus(), res.getStderr()), in installApksOnDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/util/
DAdbUtils.java68 pathResult.getStderr())); in updateAdb()
81 CLog.d("%s", versionRes.getStderr()); in updateAdb()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFuseUtil.java80 String.format("Failed to mount %s: %s", zipFile, res.getStderr()), in mountZip()
99 LogUtil.CLog.w("Failed to unmount %s: %s", mountDir, res.getStderr()); in unmountZip()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DRunUtilFuncTest.java155 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_largeOutput()
177 result.getStatus(), result.getStdout(), result.getStderr()), in testUnsetEnvVariable()
202 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_timeout()
206 assertEquals("", result.getStderr()); in testRunTimedCmd_timeout()
DRunUtilTest.java219 assertTrue(result.getStderr().contains("Cannot run program \"blahggggwarggg\"")); in testRunTimedCmd_failed()
364 assertTrue(result.getStderr().contains("Cannot run program \"blahggggwarggg\"")); in testRunTimedCmdWithInput_failed()
385 assertEquals("", result.getStderr()); in testRunTimedCmd_timeout()
551 result.getStderr(), "redirected to " + stderrStream.getClass().getSimpleName()); in testRuntimedCmd_withFileOutputStream()
576 assertEquals("", result.getStderr()); in testRuntimedCmd_regularOutput_fileNull()
608 result.getStderr(), "redirected to " + stderrStream.getClass().getSimpleName()); in testRuntimedCmd_notWritable()
681 assertEquals("", result.getStderr()); in testGotExitCodeFromCommand()
696 assertEquals("", result.getStderr()); in testSetRedirectStderrToStdout()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java153 setResult.getStdout(), setResult.getStderr()); in setUp()
167 appOpsResult.getStdout(), appOpsResult.getStderr()); in setUp()
198 deviceFilePath, deleteResult.getStderr()); in deleteFile()
307 String stderr = result.getStderr(); in isSuccessful()
462 String stderr = pullResult.getStderr(); in pullFileInternal()
487 fileToPush, deviceFilePath, pushResult.getStderr()); in pushFileInternal()
/tools/tradefederation/core/test_framework/com/android/tradefed/util/statsd/
DConfigUtil.java158 if (output.getStderr().contains("Error parsing")) { in updateConfig()
160 } else if (!output.getStderr().isEmpty()) { in updateConfig()
162 String.format("Failed to push config with error: %s.", output.getStderr())); in updateConfig()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedRemoteDevice.java87 CLog.e("%s", powerwashRes.getStderr()); in resetVirtualDevice()
90 CLog.e("%s\n%s", printAdbDevices.getStdout(), printAdbDevices.getStderr()); in resetVirtualDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparer.java111 result.getStdout(), result.getStderr()), in setUp()
131 CLog.d("Restart adb - stdout: %s\nstderr: %s", restart.getStdout(), restart.getStderr()); in tearDown()
200 CLog.e("Failed to collect UID for adb logs: %s", uidRes.getStderr()); in findAdbLog()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DOxygenClientTest.java195 assertEquals(res.getStderr(), EXPECTED_OUTPUT); in testLease()
251 assertEquals(res.getStderr(), EXPECTED_OUTPUT); in testLeaseWithoutBuildId()
297 assertEquals(res.getStderr(), EXPECTED_OUTPUT); in testLeaseMultipleDevice()
424 assertEquals(res.getStderr(), EXPECTED_OUTPUT); in testLeaseWithBootImageAndBootArtifact()
486 assertEquals(res.getStderr(), EXPECTED_OUTPUT); in testLeaseWithBootloader()
546 assertEquals(res.getStderr(), EXPECTED_OUTPUT); in testLeaseWithHostPackage()
564 res.getStderr(), in testLeaseOxygenationDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/connection/
DAdbSshConnection.java575 CLog.e("Failed to locate powerwash_cvd: %s", result.getStderr()); in powerwashGce()
603 CLog.e("%s", powerwashRes.getStderr()); in powerwashGce()
606 CLog.e("%s\n%s", printAdbDevices.getStdout(), printAdbDevices.getStderr()); in powerwashGce()
649 CLog.e("Failed to locate %s: %s", bin, result.getStderr()); in commandBuilder()
739 CLog.e("%s", snapshotRes.getStderr()); in snapshotGce()
741 String.format("failed to snapshot device: %s", snapshotRes.getStderr()), in snapshotGce()
829 CLog.e("%s", restoreRes.getStderr()); in restoreSnapshotGce()
831 String.format("failed to restore device: %s", restoreRes.getStderr()), in restoreSnapshotGce()
890 CLog.e("%s", stopRes.getStderr()); in stopGce()
DAdbTcpConnection.java152 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
187 resultConfirmation.getStderr()); in confirmAdbTcpConnect()
207 FileUtil.writeToFile(result.getStderr(), mAdbConnectLogs, true); in adbConnect()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java209 listResult.getStderr()); in countTests()
249 result.getExitCode(), result.getStdout(), result.getStderr()); in runTest()
260 if (result.getStderr().length() > 0) { in runTest()
261 FileUtil.writeToFile(result.getStderr(), resultFile); in runTest()

1234