Print to Stdout from python tests with docker image

Hi all.
Title pretty much sums it up. Can’t get things printing from my test python stuff for the life of me. Using docker for stuff, so that’s kinda taking over the log, but I would think stdout would still appear.

Please link to the build and pinpoint what exactly you are doing and getting and what you expect to be different.

My blind guess is you are running a command via travis_wait which gobbles up stdout and outputs it all after the command finishes.

It would be running tests on this: https://travis-ci.com/twardokus/csec380-project

I can see lots of output from pytest ./test in https://travis-ci.com/twardokus/csec380-project/builds/137960455 just fine.

Right, but if I add in a print for the results of a requests item print(url.text), it won’t show up in the output. One sec, let me find a branch that has the issue.