Skip to content

`setup-test-env` is failing due to `note: module requires Go 1.15`

Job #1598391928 failed for 16784855:

### Building gitlab-workhorse
go build -ldflags "-X main.Version=v14.3.0-pre -X main.BuildTime=20210917.025843" -tags "tracer_static tracer_static_jaeger continuous_profiler_stackdriver" -o /builds/gitlab-org/gitlab/workhorse/gitlab-workhorse gitlab.com/gitlab-org/gitlab/workhorse
make: Leaving directory '/builds/gitlab-org/gitlab/workhorse'
fatal: No names found, cannot describe anything.
go: downloading github.com/golang-jwt/jwt/v4 v4.0.0
# github.com/golang-jwt/jwt/v4
../.go/pkg/mod/github.com/golang-jwt/jwt/v4@v4.0.0/ecdsa.go:135:4: r.FillBytes undefined (type *big.Int has no field or method FillBytes)
../.go/pkg/mod/github.com/golang-jwt/jwt/v4@v4.0.0/ecdsa.go:136:4: s.FillBytes undefined (type *big.Int has no field or method FillBytes)
note: module requires Go 1.15
make: *** [Makefile:55: gitlab-workhorse] Error 2
/builds/gitlab-org/gitlab/lib/gitlab/setup_helper.rb:58:in `compile_into': workhorse make failed (RuntimeError)
	from /builds/gitlab-org/gitlab/spec/support/helpers/test_env.rb:275:in `setup_workhorse'
	from /builds/gitlab-org/gitlab/spec/support/helpers/test_env.rb:121:in `public_send'
	from /builds/gitlab-org/gitlab/spec/support/helpers/test_env.rb:121:in `block in init'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:509:in `call_with_index'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:477:in `process_incoming_jobs'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:459:in `block in worker'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:450:in `fork'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:450:in `worker'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:441:in `block in create_workers'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:440:in `each'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:440:in `each_with_index'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:440:in `create_workers'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:380:in `work_in_processes'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:283:in `map'
	from /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel.rb:232:in `each'
	from /builds/gitlab-org/gitlab/spec/support/helpers/test_env.rb:120:in `init'
	from scripts/setup-test-env:68:in `<main>'