microsoft / microsoft/msix-packaging
[BUG] AVDAppAttachPublish@1 fails without error message
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.1k
- Forks
- 193
- Avg merge
- 2h 16m
- Merged PRs (30d)
- 2
Description
Project
MSIX SDK
Describe the bug
I use the task AVDAppAttachPublish@1 in my azure devops pipeline.
With GUI I can setup the task properly, so I understand the chosen "Service connection" has the proper rights.
Unfortunately the step fails and there is no clear error given.
##[debug]Processed: ##vso[telemetry.publish area=MSIX-Packaging;feature=AVDAppAttachPublish]{"SYSTEM_TASKINSTANCEID":"xx","SYSTEM_JOBID":"xx","SYSTEM_PLANID":"xx","SYSTEM_COLLECTIONID":"xxx","AGENT_ID":"8","AGENT_MACHINENAME":"fv-az432-888","AGENT_NAME":"Hosted Agent","AGENT_JOBSTATUS":"Succeeded","AGENT_OS":"Windows_NT","AGENT_VERSION":"4.248.0","BUILD_BUILDID":"1391","BUILD_BUILDNUMBER":"20250108.12","BUILD_BUILDURI":"vstfs:///Build/Build/1391","BUILD_CONTAINERID":"81413060","BUILD_DEFINITIONNAME":"xxx","BUILD_DEFINITIONVERSION":"2","BUILD_REASON":"Manual","BUILD_REPOSITORY_CLEAN":"False","BUILD_REPOSITORY_GIT_SUBMODULECHECKOUT":"False","BUILD_REPOSITORY_NAME":"xxx","BUILD_REPOSITORY_PROVIDER":"TfsGit","BUILD_SOURCEVERSION":"7b3f9e6452468","Version":"2.0.0","AppAttachImagePath":"D:\\a\\1\\a\\AppAttach\\app.vhdx","IsSuccessful":false,"ExceptionMessage":{}}
##[debug]task result: Failed
##[error]TypeError: exceptionMessage.match is not a function
##[debug]Processed: ##vso[task.issue type=error;]TypeError: exceptionMessage.match is not a function
##[debug]Processed: ##vso[task.complete result=Failed;]TypeError: exceptionMessage.match is not a function
So the task fails but the ExceptionMessage property is empty. So the resulted error displays that it is not able to show the exception message from the task itself
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing AVDAppAttachPublish@1 in an Azure DevOps pipeline using the reported setup and inspect how the task handles the empty ExceptionMessage value. Confirm that a failed task reports its underlying error, rather than failing again with TypeError: exceptionMessage.match is not a function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100