I tried to restart a s390x job in debug mode, but it errored out very early with:
Setting up debug tools.
cat: write error: Broken pipe
Preparing debug sessions.
/home/travis/.debug/travis_debug.sh: line 42: /home/travis/.debug/tmate: cannot execute binary file: Exec format error
All remaining steps, including caching and deploy, will be skipped.
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.