/tools/tradefederation/core/avd_util/com/android/tradefed/util/avd/ |
D | InspectionUtil.java | 20 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/ |
D | GceAvdInfo.java | 25 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/ |
D | SandboxConfigUtil.java | 25 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/ |
D | WifiPreparer.java | 32 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()
|
D | AllTestAppsInstallSetup.java | 29 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/ |
D | HarnessExceptionTest.java | 21 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/ |
D | SubprocessExceptionParser.java | 23 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()
|
D | RequestUtil.java | 20 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/ |
D | GceAvdInfoTest.java | 29 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/ |
D | DynamicShardingConnectionInfoMessage.java | 19 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()
|
D | DynamicShardHelper.java | 25 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/ |
D | NetworkNotAvailableException.java | 20 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()
|
D | LocalAndroidVirtualDevice.java | 33 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/ |
D | CurrentInvocationTest.java | 21 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/ |
D | FatalHostError.java | 20 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/ |
D | OptionUpdateRule.java | 19 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/ |
D | DeviceSnapshotHandler.java | 31 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/ |
D | LocalDeviceBuildProvider.java | 23 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/ |
D | ExcludeManager.java | 20 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/ |
D | BootstrapServiceFileResolverLoader.java | 19 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/ |
D | FlashingResourcesParser.java | 21 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/ |
D | CommandInterrupterTest.java | 23 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/ |
D | SubprocessResultsReporterTest.java | 30 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/ |
D | MergeMultiBuildTargetPreparer.java | 26 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/ |
D | IncrementalImageUtil.java | 40 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 …]
|