Question: How can I debug a travis job?

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

for more details.

Imprint