question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error Spawn UNKOWN in Kubernetes task

See original GitHub issue

I am running into a problem with the kubernetes task. Quite frequently I receive an error Spawn UNKOWN. The task doesn’t always fail, but it does so quite frequently.

Do you have any idea what might cause the problem?

2017-06-16T09:32:59.5621981Z ##[section]Starting: kubectl apply
2017-06-16T09:32:59.5631815Z ==============================================================================
2017-06-16T09:32:59.5631815Z Task         : Deploy to Kubernetes
2017-06-16T09:32:59.5631815Z Description  : Deploy, configure, update your Kubernetes cluster in Azure Container Service by running kubectl commands.
2017-06-16T09:32:59.5631815Z Version      : 0.1.2
2017-06-16T09:32:59.5631815Z Author       : Microsoft Corporation
2017-06-16T09:32:59.5631815Z Help         : [More Information](https://go.microsoft.com/fwlink/?linkid=846415)
2017-06-16T09:32:59.5641828Z ==============================================================================
2017-06-16T09:32:59.9501814Z 64788582-b6e6-49a5-a731-2a1c46e9ebb0 exists true
2017-06-16T09:33:00.6651809Z ##[error]Error: spawn UNKNOWN
2017-06-16T09:33:00.6721809Z ##[section]Finishing: kubectl apply

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
hellosricommented, Sep 17, 2018

I still notice this ##[error]spawn UNKNOWN intermittently with kubernetes tasks e.g. kubectl delete. I’m using a hosted windows VS2017 agent.

2018-09-17T15:06:54.3052029Z ##[section]Starting: Deploy Alarms 2018-09-17T15:06:54.3058633Z ============================================================================== 2018-09-17T15:06:54.3058887Z Task : Deploy to Kubernetes 2018-09-17T15:06:54.3059139Z Description : Deploy, configure, update your Kubernetes cluster in Azure Container Service by running kubectl commands. 2018-09-17T15:06:54.3059351Z Version : 0.1.26 2018-09-17T15:06:54.3059526Z Author : Microsoft Corporation 2018-09-17T15:06:54.3059715Z Help : [More Information](https://go.microsoft.com/fwlink/?linkid=851275) 2018-09-17T15:06:54.3059953Z ============================================================================== 2018-09-17T15:06:56.4808431Z [command]D:\a\_temp\kubectlTask\1537196814598\kubectl.exe --kubeconfig D:\a\_temp\kubectlTask\1537196814598\config apply -n default -f D:\a\r1\a\_AURA\stack\cloud\DevShared\Dev\Aura-DevAKS-Alarms.yml --namespace default 2018-09-17T15:06:58.0218553Z ##[error]spawn UNKNOWN 2018-09-17T15:06:58.0310653Z ##[section]Finishing: Deploy Alarms

0reactions
timjkellycommented, May 7, 2019

@bansalaseem This seemed to have fixed the issue. Apologies for the delayed response. Thanks for the suggestion @ajinkya599!

Read more comments on GitHub >

github_iconTop Results From Across the Web

error Spawn UNKOWN in Kubernetes task #4582 - GitHub
I am running into a problem with the kubernetes task. Quite frequently I receive an error Spawn UNKOWN. The task doesn't always fail, ......
Read more >
spawn UNKNOWN using a kubectl release task on VSTS
Since about an hour most release tasks involving the kubectl task result in the following error ##[error]Error: spawn UNKNOWN.
Read more >
Azure DevOps release pipeline fails on kubectl command
I just noticed that the Kubectl task has multiple versions, so I changed that to ".1" and re-ran the pipeline. The kubectl command...
Read more >
Error message: spawn UNKNOWN - Hackolade
The message "errorMsg": "spawn UNKNOWN" generally occurs because Windows Group Policies are set to prevent access to the Command Prompt, while such access...
Read more >
Pod Lifecycle | Kubernetes
All containers in the Pod have terminated, and at least one container has terminated in failure. That is, the container either exited with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found