Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

e2e: Print gitsrv logs if it fails to start #2685

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

2opremio
Copy link
Contributor

I am using this PR to figure out what's wrong with gitsrv in some e2e invocations (see #2672 (comment) )

@2opremio
Copy link
Contributor Author

I can't reproduce the problem by re-running the test, so let's get this merged to get more information when it happens again.

@2opremio 2opremio marked this pull request as ready for review December 11, 2019 23:33
@2opremio
Copy link
Contributor Author

The sooner I speak ... It failed at https://circleci.com/gh/fluxcd/flux/9165 :

The problem is that gitsrv fails to initialize because it cannot resolve github.com :S

The logs output this error in a loop:

# curl: (6) Could not resolve host: github.com
# gzip: invalid magic
# tar: Child returned status 1
# tar: Error is not recoverable: exiting now
#   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0* Could not resolve host: github.com

Maybe a problem with Kind? I will try to upgrade it.

Anyways, let's merge this.

@2opremio 2opremio merged commit aeaefda into fluxcd:master Dec 12, 2019
@2opremio 2opremio deleted the print-gitsrv-logs branch December 12, 2019 00:01
@2opremio 2opremio mentioned this pull request Dec 12, 2019
@2opremio 2opremio added this to the 1.17.0 milestone Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants