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

Improve CI debugging #582

Merged
merged 3 commits into from
Dec 10, 2014
Merged

Improve CI debugging #582

merged 3 commits into from
Dec 10, 2014

Conversation

lmars
Copy link
Contributor

@lmars lmars commented Dec 10, 2014

Summary of changes:

  • Add logging to the signal test app, as the test sometimes seems to fail even though the app is running
  • Just stop flynn-host rather than killing the instance when removing so logs can be retrieved
  • Dump processes / flynn-host log on all instances in the cluster
  • Dump logs if bootstrapping fails

Closes #563

fmt.Println()
run(exec.Command("flynn-host", "log", id))
if testCluster == nil {
fmt.Println("skipping dumpLogs as testCluster not set")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this line necessary?

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Signed-off-by: Lewis Marshall <lewis@lmars.net>
Signed-off-by: Lewis Marshall <lewis@lmars.net>
@lmars
Copy link
Contributor Author

lmars commented Dec 10, 2014

@titanous comments addressed, I added a --dump-logs flag

@titanous
Copy link
Contributor

LGTM.

lmars added a commit that referenced this pull request Dec 10, 2014
@lmars lmars merged commit 2e17974 into master Dec 10, 2014
@lmars lmars deleted the test-debug branch December 10, 2014 17:08
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.

test: Dump all flynn-host logs
2 participants