Topic on Talk:Wikimedia Release Engineering Team/CI Futures WG/Requirements

Jump to navigation Jump to search

Devs sshing into machine - only 'would be nice'?

3
EEggleston (WMF) (talkcontribs)

I see this is under "would be nice":

  • Developers should have an option to ssh to VM/container that CI used to run the tests for debugging.

That's been pretty indispensable in debugging some unit tests in my experience, especially more complex custom things like the civicrm setup.

Jdforrester (WMF) (talkcontribs)

sshing into the temporary container created in CI (hosted on CI) to test the patch isn't currently supported, unless I'm missing something? Doing the same on a local machine is indeed a key debugging technique, but not quite the same.

EEggleston (WMF) (talkcontribs)

Ah, right, with the docker images I had to create a snapshot before the test finished, and then run bash in that. As long as there's SOME way get in and debug tests I'm happy!

Reply to "Devs sshing into machine - only 'would be nice'?"