Debug builds taking a long time to start tmate

For the last couple of days, when I start a debug build for any of my repos, the VM starts and the environment is set up as usual (about 10-15 seconds), and then the job just hangs.

The last lines I see in the output are:

$ travis_setup_go

go version go1.17.7 linux/amd64

$ export GOPATH="/home/travis/gopath"

$ export PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.17.7.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v10.16.0/bin:/home/travis/.kiex/elixirs/elixir-1.7.4/bin:/home/travis/.kiex/bin:/home/travis/.rvm/gems/ruby-2.7.1/bin:/home/travis/.rvm/gems/ruby-2.7.1@global/bin:/home/travis/.rvm/rubies/ruby-2.7.1/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.3/bin:/usr/local/cmake-3.16.8/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin"

$ export GO111MODULE="auto"

$ gimme version

v1.5.4

$ go version

go version go1.17.7 linux/amd64
go.env

$ go env

Debug build initiated by ianling

rm: cannot remove '/home/travis/.netrc': No such file or directory

Setting up debug tools.

Preparing debug sessions.

alias tmate='/usr/bin/tmate -S /tmp/tmate.sock' >> /home/travis/.bashrc

…and nothing else. I’ve seen at least one debug build sit at this point until the build times out (1 hour).

Hi @ianling,

By chance do you know what size VM you are using?

Hi Montana, hopefully this gives you any information you need, I’m not sure where to look otherwise:

Worker information

hostname: 8566503f-2f55-46ad-9059-6e6648308b60@1.worker-com-54588667bc-9t2q7.gce-production-1

version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231

instance: travis-job-90403d48-ac1e-431c-87cd-6a97d5db5c97 travis-ci-ubuntu-2004-1643105354-31a09d16 (via amqp)

startup: 6.928477445s

0.48s0.00s0.01s0.00s0.02s
system_info

Build system information

Build language: go

Build dist: focal

Build id: 246584617

Job id: 560003665

Runtime kernel version: 5.11.0-1028-gcp

travis-build version: ea990e5f

Build image provisioning date and time

Tue 25 Jan 2022 10:43:15 AM UTC

Operating System Details

Distributor ID:	Ubuntu

Description:	Ubuntu 20.04.3 LTS

Release:	20.04

Codename:	focal

Started getting this today too.

Worker information
hostname: 2ec78f0e-a88c-4419-a042-2ab94b98e698@1.worker-com-77564c74fb-j7trz.gce-production-2
version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
instance: travis-job-da333ed4-5ea6-4fb3-8149-3c808f7f4891 travis-ci-sardonyx-xenial-1643096237-31a09d16 (via amqp)
startup: 6.739273267s
0.16s0.00s0.01s0.00s0.01s
system_info
Build system information
Build language: ruby
Build dist: xenial
Build id: 246587813
Job id: 560011709
Runtime kernel version: 4.15.0-1098-gcp
travis-build version: ea990e5f
Build image provisioning date and time
Tue Jan 25 08:00:00 UTC 2022
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.7 LTS
Release:	16.04
Codename:	xenial