microsoft / appcenter-cli

Command-line Interface (CLI) for Visual Studio App Center
https://appcenter.ms/
MIT License
581 stars 234 forks source link

Failed to release deploy for UWP app using Azure Devops' task App Center distribute 3.* #1763

Closed Juansero29 closed 2 years ago

Juansero29 commented 2 years ago

Description

We are having issues when deploying an UWP app using Azure Devops' task App Center distribute 3.*

Repro Steps

  1. Create a UWP build pipeline using classic editor to create a pipeline without YAML.
  2. Set up steps for Nuget Restoring, and using Visual Studio build task to compile the UWP app.
  3. Create a release pipeline that takes the artifact from the build pipeline and publishes it to app center using App Center distribute 3.* task
  4. Task to deploy to app center succeeds, but no app is published
  5. In the task's logs you'll see a message similar to:

2021-12-16T10:25:32.6306982Z (node:4584) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): {"message":"Resource not found: /v0.1/apps/ORGNAME/APP-NAME/release_uploads/SOME-VERY-LONG-GUID. Correlation ID: SOME-OTHER-LONG-GUID","statusCode":404,"code":"Not Found"} 2021-12-16T10:25:32.6308312Z http response code: 404

Expected behavior

We expect the app to go to app center.

Details

  1. Is there a particular beacon/command that you are having trouble with?
    • Azure Devops' task App Center distribute 3.*
  2. Which version of the App Center CLI are you using?
    • No CLI but Azure DevOps task Azure Devops' task App Center distribute 3.*
  3. Which OS version did you experience the issue on?
    • On the Azure Devops > Pipelines > Release client
  4. What command line/shell are you using?
    • none
  5. What version of Node.js and NPM/Yarn are you using?
    • none
  6. Additionally, you can provide verbose logs of a CLI command by using DEBUG="appcenter-cli:*" before the command, for example, DEBUG="appcenter-cli:*" appcenter apps list. Include the logs here, don't forget to omit any personal/sensitive data.

2021-12-16T10:25:08.6439618Z ##[section]Starting: Deploy msixbundle to Visual Studio App Center 2021-12-16T10:25:08.6577469Z ============================================================================== 2021-12-16T10:25:08.6577844Z Task : App Center distribute 2021-12-16T10:25:08.6578187Z Description : Distribute app builds to testers and users via Visual Studio App Center 2021-12-16T10:25:08.6578492Z Version : 3.186.0 2021-12-16T10:25:08.6578742Z Author : Microsoft Corporation 2021-12-16T10:25:08.6579107Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/app-center-distribute 2021-12-16T10:25:08.6579548Z ============================================================================== 2021-12-16T10:25:09.8494066Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8495915Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8496964Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8499324Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8501354Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8502407Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8503401Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8504418Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8505417Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8506430Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8507274Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8508106Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8508929Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8509838Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8510677Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8511480Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8512308Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8513109Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8513936Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8515373Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8516228Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:09.8517036Z (node:4584) Warning: Use Cipheriv for counter mode of aes-256-ctr 2021-12-16T10:25:32.6306982Z (node:4584) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): {"message":"Resource not found: /v0.1/apps/ORGNAME/APP-NAME/release_uploads/SOME-VERY-LONG-GUID. Correlation ID: SOME-OTHER-LONG-GUID","statusCode":404,"code":"Not Found"} 2021-12-16T10:25:32.6308312Z http response code: 404

AnatolyPristensky commented 2 years ago

Hello @Juansero29, thank you for getting in touch with us! We experienced some temporary issues with distribute. You can find more information at App Center Status page. Could you please retry your tasks and confirm that issue is gone?

DmitriyKirakosyan commented 2 years ago

Closing the issue. Feel free to reopen if you still experience the issue.