microsoft / google-play-vsts-extension

Visual Studio Team Services (VSTS) extension for performing continuous delivery to the Google Play store from your automated CI builds
Other
82 stars 57 forks source link

Task fails with "Project #xxxxxx has been deleted." #385

Open cohenadair opened 1 year ago

cohenadair commented 1 year ago

Our pipeline was up and running and working for weeks, then all of a sudden the GooglePlayRelease@4 task started failing with a Error: Project #87456872973 has been deleted. error. There were no changes to the pipeline made between a successful run and when it started failing, and our project has definitely not been deleted off of Google Play.

I'm hoping someone has an idea of what this error message means. I've also reached out to the Google Play Support team to see if they have any ideas.

Thank you in advance!

Update: Manually uploading the artifact (app bundle) produced by the pipeline to Google Play Console works as expected.

Update 2: Here is the logs produced by GooglePlayRelease@4:

2023-02-21T16:36:24.8049470Z ##[debug]Evaluating condition for step: 'GooglePlayRelease'
2023-02-21T16:36:24.8051750Z ##[debug]Evaluating: eq(variables['Project.Publish'], 'true')
2023-02-21T16:36:24.8052312Z ##[debug]Evaluating eq:
2023-02-21T16:36:24.8052763Z ##[debug]..Evaluating indexer:
2023-02-21T16:36:24.8053236Z ##[debug]....Evaluating variables:
2023-02-21T16:36:24.8054399Z ##[debug]....=> Object
2023-02-21T16:36:24.8054938Z ##[debug]....Evaluating String:
2023-02-21T16:36:24.8055466Z ##[debug]....=> 'Project.Publish'
2023-02-21T16:36:24.8056378Z ##[debug]..=> 'True'
2023-02-21T16:36:24.8056850Z ##[debug]..Evaluating String:
2023-02-21T16:36:24.8057232Z ##[debug]..=> 'true'
2023-02-21T16:36:24.8057560Z ##[debug]=> True
2023-02-21T16:36:24.8058728Z ##[debug]Expanded: eq('True', 'true')
2023-02-21T16:36:24.8059181Z ##[debug]Result: True
2023-02-21T16:36:24.8059745Z ##[section]Starting: GooglePlayRelease
2023-02-21T16:36:24.8073992Z ==============================================================================
2023-02-21T16:36:24.8074365Z Task         : Google Play - Release
2023-02-21T16:36:24.8074552Z Description  : Release an app to the Google Play Store
2023-02-21T16:36:24.8074768Z Version      : 4.217.0
2023-02-21T16:36:24.8074947Z Author       : Microsoft Corporation
2023-02-21T16:36:24.8075138Z Help         : https://marketplace.visualstudio.com/items?itemName=ms-vsclient.google-play
2023-02-21T16:36:24.8075440Z ==============================================================================
2023-02-21T16:36:24.8746499Z ##[debug]Using node path: /home/vsts/agents/2.217.2/externals/node16/bin/node
2023-02-21T16:36:25.0216455Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2023-02-21T16:36:25.0234717Z ##[debug]loading inputs and endpoints
2023-02-21T16:36:25.0239098Z ##[debug]loading INPUT_AUTHTYPE
2023-02-21T16:36:25.0255006Z ##[debug]loading INPUT_SERVICEACCOUNTKEY
2023-02-21T16:36:25.0257080Z ##[debug]loading INPUT_APPLICATIONID
2023-02-21T16:36:25.0259759Z ##[debug]loading INPUT_ACTION
2023-02-21T16:36:25.0261089Z ##[debug]loading INPUT_BUNDLEFILE
2023-02-21T16:36:25.0263773Z ##[debug]loading INPUT_SHOULDPICKOBBFILE
2023-02-21T16:36:25.0265642Z ##[debug]loading INPUT_TRACK
2023-02-21T16:36:25.0270918Z ##[debug]loading INPUT_SHOULDATTACHMETADATA
2023-02-21T16:36:25.0272223Z ##[debug]loading INPUT_CHANGELOGFILE
2023-02-21T16:36:25.0274309Z ##[debug]loading INPUT_LANGUAGECODE
2023-02-21T16:36:25.0278948Z ##[debug]loading INPUT_RELEASENOTESCONTAINLANGUAGETAGS
2023-02-21T16:36:25.0283507Z ##[debug]loading INPUT_METADATAROOTPATH
2023-02-21T16:36:25.0287771Z ##[debug]loading INPUT_CHANGEUPDATEPRIORITY
2023-02-21T16:36:25.0290538Z ##[debug]loading INPUT_UPDATEPRIORITY
2023-02-21T16:36:25.0296014Z ##[debug]loading INPUT_ROLLOUTTOUSERFRACTION
2023-02-21T16:36:25.0297103Z ##[debug]loading INPUT_USERFRACTION
2023-02-21T16:36:25.0302954Z ##[debug]loading INPUT_SHOULDUPLOADMAPPINGFILE
2023-02-21T16:36:25.0304501Z ##[debug]loading INPUT_SHOULDUPLOADNATIVEDEBUGSYMBOLS
2023-02-21T16:36:25.0306505Z ##[debug]loading INPUT_CHANGESNOTSENTFORREVIEW
2023-02-21T16:36:25.0308961Z ##[debug]loading INPUT_RELEASENAME
2023-02-21T16:36:25.0310818Z ##[debug]loading INPUT_VERSIONCODEFILTERTYPE
2023-02-21T16:36:25.0312647Z ##[debug]loading INPUT_ISDRAFTRELEASE
2023-02-21T16:36:25.0313567Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2023-02-21T16:36:25.0315686Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2023-02-21T16:36:25.0316741Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2023-02-21T16:36:25.0322183Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2023-02-21T16:36:25.0324136Z ##[debug]loading SECRET_ANDROID_KEYPASSWORD
2023-02-21T16:36:25.0326064Z ##[debug]loading SECRET_ANDROID_KEYSTOREPASSWORD
2023-02-21T16:36:25.0326943Z ##[debug]loaded 28
2023-02-21T16:36:25.0334702Z ##[debug]Agent.ProxyUrl=undefined
2023-02-21T16:36:25.0335583Z ##[debug]Agent.CAInfo=undefined
2023-02-21T16:36:25.0336411Z ##[debug]Agent.ClientCert=undefined
2023-02-21T16:36:25.0337240Z ##[debug]Agent.SkipCertValidation=undefined
2023-02-21T16:36:27.0900581Z ##[debug]check path : /home/vsts/work/_tasks/GooglePlayRelease_8cf7cac0-620b-11e5-b4cf-8565e60f4d27/4.217.0/task.json
2023-02-21T16:36:27.0904701Z ##[debug]adding resource file: /home/vsts/work/_tasks/GooglePlayRelease_8cf7cac0-620b-11e5-b4cf-8565e60f4d27/4.217.0/task.json
2023-02-21T16:36:27.0906454Z ##[debug]system.culture=en-US
2023-02-21T16:36:27.0929941Z ##[debug]Prepare task inputs.
2023-02-21T16:36:27.0936877Z ##[debug]authType=JsonFile
2023-02-21T16:36:27.0939817Z ##[debug]serviceAccountKey=/home/vsts/work/_temp/playStoreCredentialsBigRoad.json
2023-02-21T16:36:27.0941283Z ##[debug]check path : /home/vsts/work/_temp/playStoreCredentialsBigRoad.json
2023-02-21T16:36:27.0948619Z ##[debug]action=SingleBundle
2023-02-21T16:36:27.0949903Z ##[debug]Action: SingleBundle
2023-02-21T16:36:27.0951056Z ##[debug]applicationId=com.bigroad.ttb.android
2023-02-21T16:36:27.0952525Z ##[debug]Application identifier: com.bigroad.ttb.android
2023-02-21T16:36:27.0954280Z ##[debug]bundleFile=/home/vsts/work/1/s/android/build/outputs/bundle/**/*.aab
2023-02-21T16:36:27.0992988Z ##[debug]Bundles: /home/vsts/work/1/s/android/build/outputs/bundle/release/android-release.aab
2023-02-21T16:36:27.0995028Z ##[debug]APKs: 
2023-02-21T16:36:27.0996268Z ##[debug]shouldPickObbFile=false
2023-02-21T16:36:27.0997515Z ##[debug]track=internal
2023-02-21T16:36:27.0998953Z ##[debug]shouldAttachMetadata=false
2023-02-21T16:36:27.1000449Z ##[debug]changelogFile=/home/vsts/work/1/s
2023-02-21T16:36:27.1001915Z ##[debug]languageCode=en-US
2023-02-21T16:36:27.1003243Z ##[debug]releaseNotesContainLanguageTags=false
2023-02-21T16:36:27.1004403Z ##[debug]changeUpdatePriority=false
2023-02-21T16:36:27.1006173Z ##[debug]rolloutToUserFraction=false
2023-02-21T16:36:27.1007428Z ##[debug]shouldUploadMappingFile=false
2023-02-21T16:36:27.1008536Z ##[debug]mappingFilePath=undefined
2023-02-21T16:36:27.1010072Z ##[debug]shouldUploadNativeDebugSymbols=false
2023-02-21T16:36:27.1011551Z ##[debug]nativeDebugSymbolsFile=undefined
2023-02-21T16:36:27.1012718Z ##[debug]changesNotSentForReview=false
2023-02-21T16:36:27.1013864Z ##[debug]releaseName=2023022103 (34.1.1)
2023-02-21T16:36:27.1014997Z ##[debug]versionCodeFilterType=all
2023-02-21T16:36:27.1016558Z ##[debug]Checking if unused input apkFile is set...
2023-02-21T16:36:27.1018346Z ##[debug]apkFile=undefined
2023-02-21T16:36:27.1019777Z ##[debug]Checking if unused input bundleFiles is set...
2023-02-21T16:36:27.1020935Z ##[debug]bundleFiles=undefined
2023-02-21T16:36:27.1022553Z ##[debug]Checking if unused input apkFiles is set...
2023-02-21T16:36:27.1023777Z ##[debug]apkFiles=undefined
2023-02-21T16:36:27.1024882Z ##[debug]Updating Global Parameters
2023-02-21T16:36:27.1026051Z ##[debug]SETTING packageName TO "com.bigroad.ttb.android"
2023-02-21T16:36:27.1028368Z ##[debug]Global Params set to {"auth":null,"params":{"packageName":"com.bigroad.ttb.android"}}
2023-02-21T16:36:27.1030598Z ##[debug]Initializing JWT.
2023-02-21T16:36:27.1033505Z ##[debug]Initializing Google Play publisher API.
2023-02-21T16:36:27.1034394Z ##[debug]Authorize JWT.
2023-02-21T16:36:27.3120474Z Authenticated with Google Play and getting new edit
2023-02-21T16:36:27.3123197Z ##[debug]Creating a new edit transaction in Google Play.
2023-02-21T16:36:27.3124576Z ##[debug]Creating a new edit
2023-02-21T16:36:27.3125832Z ##[debug]Additional Parameters: {"packageName":"com.bigroad.ttb.android"}
2023-02-21T16:36:27.4737040Z ##[debug]task result: Failed
2023-02-21T16:36:27.4784502Z ##[error]Error: Project #87456872973 has been deleted.
2023-02-21T16:36:27.4794874Z ##[debug]Processed: ##vso[task.issue type=error;]Error: Project #87456872973 has been deleted.
2023-02-21T16:36:27.4797438Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: Project #87456872973 has been deleted.
2023-02-21T16:36:27.4912376Z ##[section]Finishing: GooglePlayRelease
LiliaSabitova commented 1 year ago

Hi @cohenadair, thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.

cameronaj commented 1 month ago

@LiliaSabitova any updates on this? My team is also experiencing this issue now.

==============================================================================
Task         : Google Play - Release
Description  : Release an app to the Google Play Store
Version      : 4.241.0
Author       : Microsoft Corporation
Help         : https://marketplace.visualstudio.com/items?itemName=ms-vsclient.google-play
==============================================================================
Authenticated with Google Play and getting new edit
##[error]Error: Project #432948363730 has been deleted.