Skip to content

[Android] System.ComponentModel.Primitives.Tests failed in CI (PACKAGE_INSTALLATION_FAILURE) #57821

Closed
dotnet/arcade
#7771

Description

@CarnaViire

Happened in #57742
CI
https://dev.azure.com/dnceng/public/_build/results?buildId=1304786&view=logs&j=b6e5d97f-d4f8-506b-9e47-e3e32385754a&t=94ce2805-f3e2-5f9a-1d92-0da5613f733d&l=55
log
https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-57742-merge-da5ec7bb64154b0e9b/System.ComponentModel.Primitives.Tests/1/console.27aef2f2.log?sv=2019-07-07&se=2021-09-08T19%3A15%3A27Z&sr=c&sp=rl&sig=pC4WskhPf%2BGc0calRQi99nj5JfkNpcJFCoflM%2B2LWzA%3D

Also, log says it will retry in case of PACKAGE_INSTALLATION_FAILURE but the retry didn't seem to happen because of some other failure in the script (?)

[19:32:49] info: Attempting to remove apk 'net.dot.System.ComponentModel.Primitives.Tests': 
[19:32:49] dbug: Executing command: '/datadisks/disk1/work/BAA809D1/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21404.1/runtimes/any/native/adb/linux/adb -s emulator-5554 uninstall net.dot.System.ComponentModel.Primitives.Tests'
[19:32:50] fail: Error: Exit code: 20
                 Standard Output:
                 
                 Standard Error:
                 cmd: Can't find service: package
                 
                 
XHarness exit code: 78 (PACKAGE_INSTALLATION_FAILURE)
+ exit_code=78
+ retry=false
+ reboot=false
+ case "$exit_code" in
+ echo 'Encountered PACKAGE_INSTALLATION_FAILURE. This is typically not a failure of the work item. We will try it again on another Helix agent'
Encountered PACKAGE_INSTALLATION_FAILURE. This is typically not a failure of the work item. We will try it again on another Helix agent
+ echo 'If this occurs repeatedly, please check for architectural mismatch, e.g. requesting installation on arm64_v8a-only queue for x86 or x86_64 APKs.'
If this occurs repeatedly, please check for architectural mismatch, e.g. requesting installation on arm64_v8a-only queue for x86 or x86_64 APKs.
+ retry=true
+ ADB_DEVICE_ENUMERATION_FAILURE=85
+ '[' 'true]'
./xharness-helix-job.android.sh: line 106: [: missing `]'
+ PACKAGE_INSTALLATION_FAILURE=78
+ '[' 78 -eq PACKAGE_INSTALLATION_FAILURE ']'
./xharness-helix-job.android.sh: line 111: [: PACKAGE_INSTALLATION_FAILURE: integer expression expected
+ exit 78
+ export _commandExitCode=78

Activity

  1. ghost added
    untriaged
    on Aug 20, 2021
  2. premun commented on Aug 20, 2021

    @premun
    Member

    Ah, seems like a bash bug. This is an easy fix: dotnet/arcade#7771

  3. ghost locked as resolved and limited conversation to collaborators on Sep 19, 2021
  4. removed
    untriaged
    on Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions