Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Show minikube logs if it fails to start up #105

Merged
merged 2 commits into from
Nov 8, 2017

Conversation

wallrj
Copy link
Member

@wallrj wallrj commented Nov 8, 2017

E2E tests are sometimes failing because kubectl can't connect to the minikube api server.

Errors such as:

...
+kubectl get nodes

The connection to the server 127.0.0.1:8443 was refused - did you specify the right host or port?
...

https://travis-ci.org/jetstack/navigator/jobs/295839105#L640

log.txt

But there's no way of knowing why.

This PR will print the minikube log when this happens and wait 5 rather than 10 minutes before failing.

Release note:

NONE

@munnerz
Copy link
Contributor

munnerz commented Nov 8, 2017

/lgtm
/approve

@jetstack-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: munnerz

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@jetstack-bot
Copy link
Collaborator

Automatic merge from submit-queue.

@jetstack-bot jetstack-bot merged commit 9376a30 into jetstack:master Nov 8, 2017
@wallrj wallrj deleted the debug-minikube-failures branch November 8, 2017 13:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants