Skip to content

Commit

Permalink
Add device log files for 23.05 release (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesadevine authored Feb 23, 2024
1 parent 7c43100 commit 18f355d
Show file tree
Hide file tree
Showing 75 changed files with 14,823 additions and 0 deletions.
109 changes: 109 additions & 0 deletions ParseDeviceLog/23.05/commonerror_yml/app_manager_error.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Appman error codes
category_id: 1
name: AppManagerError
namespace: azure_sphere
codes:
- id: 1
name: InvalidState
msg: Application in an invalid state for the requested operation
- id: 2
name: CustomerManifestHasPolicy
msg: Customer manifest specified a policy
openapi: true
- id: 3
name: CustomerRequestedIllegalCapability
msg: Customer requested a first-party-only capability
openapi: true
- id: 4
name: NoAppWithMatchingId
msg: No application found with specified id
- id: 5
name: DebuggerAlreadyLoaded
msg: Attempted to install a second debugger
- id: 6
name: BadUserId
msg: Application id is nobody
- id: 7
name: AppSpecificInitializationFailed
msg: Application specific initialization failed
- id: 8
name: NoPeripheralsForCapability
msg: Peripheral capability requested, but no peipherals of that type are specified in application manifest.
- id: 9
name: NoGpiosForCapability
msg: Gpio capability requested, but no gpios are specified in application manifest.
- id: 10
name: NotAllowedToTalkToAppman
msg: An unexpected process requested communication with Application Manager
- id: 11
name: UnknownCommunication
msg: Format of request to Application Manager is not recognized
- id: 12
name: FailedToKillApplication
msg: Application Manager failed to kill requested application
- id: 13
name: ApplicationInWrongState
msg: Application is in the wrong state for the requested operation
- id: 14
name: BadApplicationInfo
msg: Could not find important information about the application.
- id: 15
name: FailedToExecProcess
msg: Could not execute application.
openapi: true
- id: 16
name: FailedToGetAzsphereSvcInfo
msg: Could not get information on the azspheresvc address.
- id: 17
name: FailedToWriteToIPC
msg: Application Manager could not write response to IPC.
- id: 18
name: IllegalRequest
msg: Application does not have the required capability to perform the requested action.
- id: 19
name: BadRequestFormat
msg: Requested action was not formatted correctly.
- id: 20
name: DeviceNotDevUnlocked
msg: Requested action requires device to be dev unlocked.
openapi: true
- id: 21
name: DeviceFailedToReboot
msg: Reboot failed.
- id: 22
name: FailedToAcquireMutableStorageCapability
msg: Could not acquire the mutable storage capability, either setting Linux quota or making the mutable storage directory.
- id: 23
name: CouldNotReleaseMutableStorageCapability
msg: Could not remove mutable storage directory or zero out the user's quota.
- id: 24
name: IllegalCapabilityInManifest
msg: An invalid capability type was found in an application's app manifest file.
- id: 25
name: RequestedPinsAlreadyUsed
msg: Application requested use of a peripheral that is already used.
openapi: true
- id: 26
name: CouldNotResetStorageQuotaForUninstalledApps
msg: Could not reset storage quotas for uninstalled applications
- id: 27
name: CouldNotRemoveUIDEntriesForUninstalledApps
msg: Could not remove UID map entries for uninstalled applications
- id: 28
name: FailedToForkProcess
msg: Could not fork application manager to launch app.
- id: 29
name: FailedToOpenPipeForStatus
msg: Could not open pipe for checking status of child process.
- id: 30
name: InvalidApplicationTarget
msg: Invalid Application Target
- id: 31
name: NoCoreAvailable
msg: No matching core available to run application
- id: 32
name: PinGpioTranslationFailed
msg: The translation of pin numbers to GPIO instance failed.
- id: 33
name: DeviceFailedToPowerDown
msg: Power-down failed.
209 changes: 209 additions & 0 deletions ParseDeviceLog/23.05/commonerror_yml/app_manifest_error.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
# Appman error codes
category_id: 2
name: AppManifestError
namespace: azure_sphere
codes:
- id: 1
name: InvalidJson
msg: Application manifest contains ill-formed json
openapi: true
- id: 2
name: ErrorReadingFile
msg: An error occurred during file read of the application manifest
- id: 3
name: MissingEntryPoint
msg: Application manifest does not contain an entry point
openapi: true
- id: 4
name: MissingSchemaVersion
msg: Application manifest does not contain a schema version
openapi: true
- id: 5
name: CmdArgParseError
msg: Could not parse command args from the application manifest
openapi: true
- id: 6
name: MissingCapabilitiesList
msg: Application manifest does not contain a list of capabilities
openapi: true
- id: 7
name: __DEPRECATED_ToggleStateParseError
msg: Could not parse 'toggle state' field from application manifest
openapi: true
- id: 8
name: DebugParseError
msg: Could not parse 'debug' field from application manifest
- id: 9
name: ConnectionsParseError
msg: Could not parse 'connections' field from application manifest
openapi: true
- id: 10
name: GpioParseError
msg: Could not parse 'gpio' field from application manifest
openapi: true
- id: 11
name: NetworkConfigParseError
msg: Could not parse 'network config' field from application manifest
- id: 13
name: PeripheralParseError
msg: Could not parse peripheral capability field from application manifest
openapi: true
- id: 14
name: UpdateParseError
msg: Could not parse 'update' field from application manifest
- id: 15
name: WifiParseError
msg: Could not parse 'wifi config' field from application manifest
openapi: true
- id: 16
name: BadEntryPoint
msg: Application manifest contains an invalid entry point
openapi: true
- id: 17
name: IncompatibleSchemaVersion
msg: Application manifest contains an incompatible schema version
openapi: true
- id: 18
name: UartNotAvailable
msg: One or more uarts requested in the application manifest is not available
openapi: true
- id: 19
name: UninstallError
msg: Error uninstalling application
- id: 20
name: ErrorParsingPolicyGroups
msg: Error parsing supplementary groups from application manifest
- id: 21
name: ErrorParsingPolicyCapabilities
msg: Error parsing linux capabilities from application manifest
openapi: true
- id: 22
name: SpecifiedEntryPointDoesNotExist
msg: Entry point specified in application manifest does not exist on the system
openapi: true
- id: 23
name: SpecifiedEntryPointIsNotAFile
msg: Entry point specified in application manifest is not a file
openapi: true
- id: 24
name: DeviceAuthTenantIdParseError
msg: Error parsing device auth tenant id from application manifest
openapi: true
- id: 25
name: NoAppManifest
msg: Could not find the application manifest file
openapi: true
- id: 26
name: BadAppType
msg: Unknown application type specified in the application manifest
openapi: true
- id: 27
name: NonStringAppType
msg: Application type specified in the application manifest is not a string
- id: 28
name: InvalidTenantId
msg: Tenant id specified in the application manifest is unavailable for use
openapi: true
- id: 29
name: DeviceAuthTenantIdTooLong
msg: Device auth tenant id too long
openapi: true
- id: 30
name: SystemTimeParseError
msg: Could not parse 'SystemTime' field from application manifest
openapi: true
- id: 31
name: NonObjectMutableStorageType
msg: Mutable Storage type specified in the application manifest is not an object
openapi: true
- id: 32
name: MutableStorageMissingRequiredField
msg: Mutable Storage type specified in the application manifest is missing one or more required fields
openapi: true
- id: 33
name: ErrorParsingMutableStorageField
msg: There was an error parsing the Mutable Storage object specified in the application manifest
openapi: true
- id: 34
name: MutableStorageRequestTooLarge
msg: Application manifest specified an illegally large value for mutable storage size
openapi: true
- id: 35
name: RequestedPeripheralsRequireSamePin
msg: Application manifest requested multiple peripherals that map to the same logical pin.
openapi: true
- id: 36
name: AllowedTcpPortsParseError
msg: Could not parse 'AllowedTcpServerPorts' field from application manifest
openapi: true
- id: 37
name: AllowedUdpPortsParseError
msg: Could not parse 'AllowedUdpServerPorts' field from application manifest
openapi: true
- id: 38
name: IllegalTcpPortsValue
msg: Application manifest specified an illegal value for allowed TCP ports
openapi: true
- id: 39
name: IllegalUdpPortsValue
msg: Application manifest specified an illegal value for allowed UDP ports
openapi: true
- id: 40
name: TimeSyncConfigParseError
msg: Could not parse 'TimeSyncConfig' field from application manifest
openapi: true
- id: 41
name: DhcpServiceParseError
msg: Could not parse 'DhcpService' field from application manifest
openapi: true
- id: 42
name: SntpServiceParseError
msg: Could not parse 'SntpService' field from application manifest
openapi: true
- id: 43
name: AllowedApplicationConnectionsParseError
msg: Could not parse 'AllowedApplicationConnections' field from application manifest
openapi: true
- id: 44
name: CertStoreParseError
msg: Could not parse 'CertStore' field from application manifest
openapi: true
- id: 45
name: EnterpriseWifiConfigParseError
msg: Could not parse 'EnterpriseWifiConfig' field from application manifest
openapi: true
- id: 46
name: SystemEventNotificationsParseError
msg: Could not parse 'SystemEventNotifications' field from application manifest
openapi: true
- id: 47
name: SoftwareUpdateDeferralParseError
msg: Could not parse 'SoftwareUpdateDeferral' field from application manifest
openapi: true
- id: 48
name: PowerControlsMalformedParseError
msg: The 'PowerControls' field from the application manifest is malformed (it isn't an array of PowerControls, or contains duplicate entries).
openapi: true
- id: 49
name: PowerControlsEmptyParseError
msg: The 'PowerControls' field from the application manifest is empty.
openapi: true
- id: 50
name: PowerControlsInvalidEntryParseError
msg: Application manifest specified an illegal value for one of the 'PowerControls' entries.
openapi: true
- id: 51
name: HardwareAddressConfigParseError
msg: Could not parse 'HardwareAddressConfig' field from application manifest.
- id: 56
name: ReadNetworkProxyConfigParseError
msg: Could not parse 'ReadNetworkProxyConfig' field from application manifest.
- id: 57
name: ResetMemoryWatermarksParseError
msg: Could not parse 'ResetMemoryWatermarks' field from application manifest.
- id: 58
name: HeapMemStatsParseError
msg: Could not parse 'HeapMemStats' field from application manifest.
- id: 59
name: MallocVersionParseError
msg: Could not parse malloc version from the application manifest
Loading

0 comments on commit 18f355d

Please sign in to comment.