Hi,
Does anyone know how to debug travis job?
I face an issue which could only happen on travis cloud (https://travis-ci.com/chendave/kubeedge/jobs/258947679 ), is there anyway for me to print some value of the variables in travis’ log?
I notice there is so called “debug mode” but I cannot see “Debug job” or “Debug build” options available for me.
BR,
Dave
See https://docs.travis-ci.com/user/running-build-in-debug-mode/#enabling-debug-mode .
For debug printing, use appropriate facilities of the language that the corresponding logic is written in.
Hi @native-api ,
Thanks for your help! but seem the debug mode doesn’t support ARM, while the issue I am hoping to solve is some failure testcases on ARM,
/home/travis/.debug/travis_debug.sh: line 42: /home/travis/.debug/tmate: cannot execute binary file: Exec format error
see: https://travis-ci.com/chendave/ci-kubeedge/jobs/262137209
At the moment, we are unable to offer debug builds for ARM and POWER jobs. See
The first step would be to have appropriate tmate binaries built.
This can be the start of a long yak shaving; tmate uses Alpine docker images to build its binaries, but it also relies on other apk packages such as zlib and ssl to be available. My initial testing suggests to me that some of these packages are not available to Z. And these will have to be resolved before we can offer debug builds.
for more details.
1 Like