Home
last modified time | relevance | path

Searched refs:InfraErrorIdentifier (Results 1 – 25 of 127) sorted by relevance

123456

/tools/tradefederation/core/avd_util/com/android/tradefed/util/avd/
DInspectionUtil.java20 import com.android.tradefed.result.error.InfraErrorIdentifier;
46 InfraErrorIdentifier.CUTTLEFISH_LAUNCH_FAILURE_RUN_CVD_MISSING),
49 InfraErrorIdentifier.CUTTLEFISH_LAUNCH_FAILURE_BLUETOOTH),
52 InfraErrorIdentifier.CUTTLEFISH_LAUNCH_FAILURE_OPENWRT),
55 InfraErrorIdentifier.CUTTLEFISH_LAUNCH_FAILURE_WEBRTC_CRASH),
58 InfraErrorIdentifier.CUTTLEFISH_LAUNCH_FAILURE_CROSVM),
60 "nginx", InfraErrorIdentifier.CUTTLEFISH_LAUNCH_FAILURE_NGINX))
74 InfraErrorIdentifier.CUTTLEFISH_LAUNCH_FAILURE_CVD_FETCH_HANG))
83 InfraErrorIdentifier.CUTTLEFISH_LAUNCH_FAILURE_BLUETOOTH),
86 InfraErrorIdentifier
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java25 import com.android.tradefed.result.error.InfraErrorIdentifier;
56 private static final LinkedHashMap<InfraErrorIdentifier, String> OXYGEN_ERROR_PATTERN_MAP;
68 OXYGEN_ERROR_PATTERN_MAP = new LinkedHashMap<InfraErrorIdentifier, String>();
71 InfraErrorIdentifier.OXYGEN_SERVER_SHUTTING_DOWN, "server_shutting_down"); in OXYGEN_ERROR_PATTERN_MAP.put()
73 InfraErrorIdentifier.OXYGEN_BAD_GATEWAY_ERROR, "UNAVAILABLE: HTTP status code 502"); in OXYGEN_ERROR_PATTERN_MAP.put()
75 InfraErrorIdentifier.OXYGEN_REQUEST_TIMEOUT, "DeadlineExceeded"); in OXYGEN_ERROR_PATTERN_MAP.put()
77 InfraErrorIdentifier.OXYGEN_RESOURCE_EXHAUSTED, "ResourceExhausted"); in OXYGEN_ERROR_PATTERN_MAP.put()
79 InfraErrorIdentifier.OXYGEN_NOT_ENOUGH_RESOURCE, in OXYGEN_ERROR_PATTERN_MAP.put()
82 InfraErrorIdentifier.OXYGEN_SERVER_CONNECTION_FAILURE, "Bad Gateway"); in OXYGEN_ERROR_PATTERN_MAP.put()
84 InfraErrorIdentifier.OXYGEN_CLIENT_LEASE_ERROR, "OxygenClient"); in OXYGEN_ERROR_PATTERN_MAP.put()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java25 import com.android.tradefed.result.error.InfraErrorIdentifier;
79 InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in dumpConfigForVersion()
131 ErrorIdentifier error = InfraErrorIdentifier.INTERNAL_CONFIG_ERROR; in dumpConfigForVersion()
132 if (result.getStderr().contains(InfraErrorIdentifier.KEYSTORE_CONFIG_ERROR.name())) { in dumpConfigForVersion()
133 error = InfraErrorIdentifier.KEYSTORE_CONFIG_ERROR; in dumpConfigForVersion()
135 if (result.getStderr().contains(InfraErrorIdentifier.CLASS_NOT_FOUND.name())) { in dumpConfigForVersion()
136 error = InfraErrorIdentifier.CLASS_NOT_FOUND; in dumpConfigForVersion()
138 if (result.getStderr().contains(InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR.name())) { in dumpConfigForVersion()
139 error = InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR; in dumpConfigForVersion()
141 if (result.getStderr().contains(InfraErrorIdentifier.GCS_ERROR.name())) { in dumpConfigForVersion()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DWifiPreparer.java32 import com.android.tradefed.result.error.InfraErrorIdentifier;
80 InfraErrorIdentifier.NO_WIFI); in setUp()
85 InfraErrorIdentifier.NO_WIFI); in setUp()
94 InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR); in setUp()
99 InfraErrorIdentifier errorIdentifier = InfraErrorIdentifier.WIFI_FAILED_CONNECT; in setUp()
104 errorIdentifier = InfraErrorIdentifier.VIRTUAL_WIFI_FAILED_CONNECT; in setUp()
DAllTestAppsInstallSetup.java29 import com.android.tradefed.result.error.InfraErrorIdentifier;
86 InfraErrorIdentifier.UNDETERMINED); in setUp()
94 InfraErrorIdentifier.CONFIGURED_ARTIFACT_NOT_FOUND); in setUp()
126 InfraErrorIdentifier.CONFIGURED_ARTIFACT_NOT_FOUND); in installApksRecursively()
/tools/tradefederation/core/javatests/com/android/tradefed/error/
DHarnessExceptionTest.java21 import com.android.tradefed.result.error.InfraErrorIdentifier;
37 ErrorIdentifier id = InfraErrorIdentifier.UNDETERMINED; in testSerializable()
40 assertEquals(InfraErrorIdentifier.UNDETERMINED, e.getErrorId()); in testSerializable()
47 assertEquals(InfraErrorIdentifier.UNDETERMINED, deserialized.getErrorId()); in testSerializable()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessExceptionParser.java23 import com.android.tradefed.result.error.InfraErrorIdentifier;
85 throw new HarnessRuntimeException(message, obj, InfraErrorIdentifier.UNDETERMINED); in handleStderrException()
93 ErrorIdentifier id = InfraErrorIdentifier.UNDETERMINED; in handleStderrException()
95 id = InfraErrorIdentifier.INVOCATION_TIMEOUT; in handleStderrException()
99 id = InfraErrorIdentifier.EVENT_PROCESSING_TIMEOUT; in handleStderrException()
DRequestUtil.java20 import com.android.tradefed.result.error.InfraErrorIdentifier;
68 InfraErrorIdentifier.UNDETERMINED); in requestWithBackoff()
77 "Request failed after too many retries.", InfraErrorIdentifier.UNDETERMINED); in requestWithBackoff()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DGceAvdInfoTest.java29 import com.android.tradefed.result.error.InfraErrorIdentifier;
419 assertEquals(avd.getErrorType(), InfraErrorIdentifier.ACLOUD_INIT_ERROR); in testValidGceJsonParsing_acloud_error_type()
462 assertEquals(e.getErrorId(), InfraErrorIdentifier.ACLOUD_INIT_ERROR); in testInvalidGceJsonParsing_acloud_errors_and_missing_devices()
469 InfraErrorIdentifier.ACLOUD_UNRECOGNIZED_ERROR_TYPE); in testDetermineAcloudErrorType()
471 InfraErrorIdentifier.ACLOUD_UNRECOGNIZED_ERROR_TYPE); in testDetermineAcloudErrorType()
474 InfraErrorIdentifier.ACLOUD_UNRECOGNIZED_ERROR_TYPE); in testDetermineAcloudErrorType()
477 InfraErrorIdentifier.ACLOUD_INIT_ERROR); in testDetermineAcloudErrorType()
480 InfraErrorIdentifier.ACLOUD_CREATE_GCE_ERROR); in testDetermineAcloudErrorType()
483 InfraErrorIdentifier.ACLOUD_DOWNLOAD_ARTIFACT_ERROR); in testDetermineAcloudErrorType()
486 InfraErrorIdentifier.ACLOUD_BOOT_UP_ERROR); in testDetermineAcloudErrorType()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DDynamicShardingConnectionInfoMessage.java19 import com.android.tradefed.result.error.InfraErrorIdentifier;
73 InfraErrorIdentifier.UNDETERMINED); in fromMultiPartResponse()
82 InfraErrorIdentifier.UNDETERMINED); in fromMultiPartResponse()
91 InfraErrorIdentifier.UNDETERMINED); in fromMultiPartResponse()
97 InfraErrorIdentifier.UNDETERMINED); in fromMultiPartResponse()
DDynamicShardHelper.java25 import com.android.tradefed.result.error.InfraErrorIdentifier;
76 InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in shardConfig()
127 "Module definition is null", InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in shardConfig()
132 "Module name is null", InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in shardConfig()
222 InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in getClient()
252 InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in getAllModules()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNetworkNotAvailableException.java20 import com.android.tradefed.result.error.InfraErrorIdentifier;
35 super(msg, InfraErrorIdentifier.WIFI_FAILED_CONNECT); in NetworkNotAvailableException()
45 super(msg, cause, InfraErrorIdentifier.WIFI_FAILED_CONNECT); in NetworkNotAvailableException()
DLocalAndroidVirtualDevice.java33 import com.android.tradefed.result.error.InfraErrorIdentifier;
116 InfraErrorIdentifier.FAIL_TO_CREATE_FILE); in preInvocationSetup()
124 InfraErrorIdentifier.ACLOUD_UNDETERMINED); in preInvocationSetup()
220 InfraErrorIdentifier.FAIL_TO_CREATE_FILE); in findAndExtractFile()
257 InfraErrorIdentifier.FAIL_TO_CREATE_FILE); in createTempDir()
273 InfraErrorIdentifier.CONFIGURED_ARTIFACT_NOT_FOUND); in prepareToolsAndImages()
280 InfraErrorIdentifier.CONFIGURED_ARTIFACT_NOT_FOUND); in prepareToolsAndImages()
337 InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR); in replaceStubDevice()
488 InfraErrorIdentifier.NO_ACLOUD_REPORT); in loadAvdInfo()
502 InfraErrorIdentifier.NO_ACLOUD_REPORT); in loadAvdInfo()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/logger/
DCurrentInvocationTest.java21 import com.android.tradefed.result.error.InfraErrorIdentifier;
34 CurrentInvocation.createFailure("failure", InfraErrorIdentifier.UNDETERMINED); in testCreateFailure()
36 assertEquals(InfraErrorIdentifier.UNDETERMINED, description.getErrorIdentifier()); in testCreateFailure()
/tools/tradefederation/core/common_util/com/android/tradefed/command/
DFatalHostError.java20 import com.android.tradefed.result.error.InfraErrorIdentifier;
50 super(msg, cause, InfraErrorIdentifier.UNDETERMINED); in FatalHostError()
72 super(msg, InfraErrorIdentifier.UNDETERMINED); in FatalHostError()
/tools/tradefederation/core/common_util/com/android/tradefed/config/
DOptionUpdateRule.java19 import com.android.tradefed.result.error.InfraErrorIdentifier;
97 InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in shouldUpdate()
118 InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in compare()
132 InfraErrorIdentifier.INTERNAL_CONFIG_ERROR); in compare()
/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DDeviceSnapshotHandler.java31 import com.android.tradefed.result.error.InfraErrorIdentifier;
111 InfraErrorIdentifier.UNDETERMINED); in deleteSnapshot()
115 InfraErrorIdentifier.UNDETERMINED); in deleteSnapshot()
164 InfraErrorIdentifier.UNDETERMINED); in snapshotDevice()
169 InfraErrorIdentifier.UNDETERMINED); in snapshotDevice()
237 InfraErrorIdentifier.UNDETERMINED); in restoreSnapshotDevice()
243 InfraErrorIdentifier.UNDETERMINED); in restoreSnapshotDevice()
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java23 import com.android.tradefed.result.error.InfraErrorIdentifier;
88 InfraErrorIdentifier.ARTIFACT_NOT_FOUND); in getBuild()
96 InfraErrorIdentifier.ARTIFACT_NOT_FOUND); in getBuild()
104 InfraErrorIdentifier.ARTIFACT_NOT_FOUND); in getBuild()
157 InfraErrorIdentifier.ARTIFACT_NOT_FOUND); in setDeviceImageFile()
258 InfraErrorIdentifier.ARTIFACT_NOT_FOUND); in findFileInDir()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DExcludeManager.java20 import com.android.tradefed.result.error.InfraErrorIdentifier;
80 e.getMessage(), e, InfraErrorIdentifier.FAIL_TO_CREATE_FILE); in initFilters()
95 e.getMessage(), e, InfraErrorIdentifier.FAIL_TO_CREATE_FILE); in resetDefaultFilters()
111 e.getMessage(), e, InfraErrorIdentifier.FAIL_TO_CREATE_FILE); in addExcludeFilters()
/tools/tradefederation/core/src/com/android/tradefed/config/
DBootstrapServiceFileResolverLoader.java19 import com.android.tradefed.result.error.InfraErrorIdentifier;
70 InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR); in load()
81 InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR); in load()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFlashingResourcesParser.java21 import com.android.tradefed.result.error.InfraErrorIdentifier;
272 InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR); in getBuildRequirements()
287 InfraErrorIdentifier.CONFIGURED_ARTIFACT_NOT_FOUND); in getBuildRequirements()
302 InfraErrorIdentifier.CONFIGURED_ARTIFACT_NOT_FOUND); in getBuildRequirements()
314 InfraErrorIdentifier.UNDETERMINED); in getBuildRequirements()
319 InfraErrorIdentifier.UNDETERMINED); in getBuildRequirements()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandInterrupterTest.java23 import com.android.tradefed.result.error.InfraErrorIdentifier;
75 InfraErrorIdentifier.TRADEFED_SHUTTING_DOWN); in testInterrupt()
97 InfraErrorIdentifier.TRADEFED_SHUTTING_DOWN); in testInterrupt_blocked()
122 InfraErrorIdentifier.TRADEFED_SHUTTING_DOWN); in testInterrupt_clearsFlag()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DSubprocessResultsReporterTest.java30 import com.android.tradefed.result.error.InfraErrorIdentifier;
172 .setErrorIdentifier(InfraErrorIdentifier.EXPECTED_TESTS_MISMATCH); in testPrintEvent_printToSocket_StructuredFailures()
180 .setErrorIdentifier(InfraErrorIdentifier.RUNNER_ALLOCATION_ERROR); in testPrintEvent_printToSocket_StructuredFailures()
198 InfraErrorIdentifier.EXPECTED_TESTS_MISMATCH.name(), in testPrintEvent_printToSocket_StructuredFailures()
201 InfraErrorIdentifier.EXPECTED_TESTS_MISMATCH.code(), in testPrintEvent_printToSocket_StructuredFailures()
210 InfraErrorIdentifier.RUNNER_ALLOCATION_ERROR.name(), in testPrintEvent_printToSocket_StructuredFailures()
213 InfraErrorIdentifier.RUNNER_ALLOCATION_ERROR.code(), in testPrintEvent_printToSocket_StructuredFailures()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparer.java26 import com.android.tradefed.result.error.InfraErrorIdentifier;
95 error, InfraErrorIdentifier.CONFIGURED_ARTIFACT_NOT_FOUND); in setUp()
104 InfraErrorIdentifier.OPTION_CONFIGURATION_ERROR); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java40 import com.android.tradefed.result.error.InfraErrorIdentifier;
351 InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in updateDevice()
370 InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in updateBootloaderFromUserspace()
376 InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in updateBootloaderFromUserspace()
385 InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in updateBootloaderFromUserspace()
399 e.getMessage(), e, InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in updateBootloaderFromUserspace()
414 InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in updateBootloaderFromUserspace()
430 InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in updateBootloaderFromUserspace()
467 InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in internalUpdateDevice()
491 InfraErrorIdentifier.INCREMENTAL_FLASHING_ERROR); in internalUpdateDevice()
[all …]

123456