| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| output, _ = process.communicate() | ||
| if process.returncode: | ||
| raise CalledProcessError(process.returncode, cmd) | ||
| raise CalledProcessError(process.returncode, cmd, output) |
There was a problem hiding this comment.
Constructor signature - https://github.com/enthought/Python-2.7.3/blob/master/Lib/subprocess.py#L408
Sorry, something went wrong.
|
Any progress on this? We still need to use our fork and not upstream version because this change hasn't been accepted / merged upstream yet. Thanks. |
Sorry, something went wrong.
|
I'll bring in @thomasrockhu as point of contact for getting this merged. However it seems like appveyor is failing for every build? |
Sorry, something went wrong.
|
@Kami we are working on getting the appveyor tests passing. We will get this merged ASAP |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #153 +/- ##
=====================================
Coverage 88% 88%
=====================================
Files 2 2
Lines 9 9
=====================================
Hits 8 8
Misses 1 1 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This pull request fixes check_output function to correctly include output of the command which ran in the CalledProcessError exception which is thrown.
In addition to that, it also includes return (exit) code in the printed error message.
Before this change it was very hard / impossible to debug various codecove command failures because the original command output was not included in the error which is printed to the console.
Before (as you can see, output is always None which makes troubleshooting practically impossible):
_____ _ / ____| | | | | ___ __| | ___ ___ _____ __ | | / _ \ / _ |/ _ \/ __/ _ \ \ / / | |___| (_) | (_| | __/ (_| (_) \ V / \_____\___/ \____|\___|\___\___/ \_/ v2.0.15 ==> Detecting CI provider Travis Detected ==> Preparing upload ==> Processing gcov (disable by -X gcov) Executing gcov (find /home/travis/build/StackStorm/st2 -not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**' -type f -name '*.gcno' -exec gcov -pb {} +) ==> Collecting reports Mergeing coverage reports Error running `coverage combine -a`: None Error: No coverage report found Tip: See an example python repo: https://github.com/codecov/example-python Support channels: Email: hello@codecov.io IRC: #codecov Gitter: https://gitter.im/codecov/support Twitter: @codecovAfter (command output is correctly included which makes troubleshooting possible / easier):
_____ _ / ____| | | | | ___ __| | ___ ___ _____ __ | | / _ \ / _ |/ _ \/ __/ _ \ \ / / | |___| (_) | (_| | __/ (_| (_) \ V / \_____\___/ \____|\___|\___\___/ \_/ v2.0.15 ==> Detecting CI provider Travis Detected Fixing merge commit SHA ==> Preparing upload ==> Processing gcov (disable by -X gcov) Executing gcov (find /home/travis/build/StackStorm/st2 -not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**' -type f -name '*.gcno' -exec gcov -pb {} +) ==> Collecting reports Mergeing coverage reports Error running `coverage combine -a`: output=Couldn't trace with concurrency=eventlet, the module isn't installed. , returncode=1 Error: No coverage report found Tip: See an example python repo: https://github.com/codecov/example-python Support channels: Email: hello@codecov.io IRC: #codecov Gitter: https://gitter.im/codecov/support Twitter: @codecov