azure-pipelines-tasks: Helm tool installer: Unexpected end of JSON input

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Environment

  • Server - Azure Pipelines

    • If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

account name: scan2lead team project name: scan2lead build definition number: 13

  • Agent - Hosted or Private: both

Issue Description

The task “Helm tool installer” randomly fails during build and deployment with the error message

Unhandled: Unexpected end of JSON input
Unhandled: Unexpected end of JSON input

image

We still don’t know why this problem exist but we guess it’s about checking and downloading for the latest version of helm.

That’s the setup of the task:

image

Task logs

This is the same build but with debug enabled with a big load of information. 15_Install Helm 2.8.2.txt

Error logs

2018-10-02T13:39:22.9502773Z ##[section]Starting: Install Helm 2.8.2
2018-10-02T13:39:22.9507904Z ==============================================================================
2018-10-02T13:39:22.9508274Z Task         : Helm tool installer
2018-10-02T13:39:22.9508457Z Description  : Install Helm and Kubernetes on agent machine.
2018-10-02T13:39:22.9508627Z Version      : 0.1.8
2018-10-02T13:39:22.9508771Z Author       : Microsoft Corporation
2018-10-02T13:39:22.9508963Z Help         : [More Information](https://go.microsoft.com/fwlink/?linkid=851275)
2018-10-02T13:39:22.9509178Z ==============================================================================
2018-10-02T13:39:23.9530233Z ##[error]Unhandled: Unexpected end of JSON input
2018-10-02T13:39:23.9541727Z ##[error]Unhandled: Unexpected end of JSON input
2018-10-02T13:39:23.9600401Z ##[section]Finishing: Install Helm 2.8.2

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@SeriousM , I have verified.,fix deployed to your account region yesterday. You can see “Version : 0.1.10” Helm installer task logs. Can you try now and let us know if you faces same issue.

No, currently there is no way to see the release ETAs for your region and secondly dark mode should be now available on your account as well.