Skip to content

make presubmit-unit-tests fails locally #3260

@twoGiants

Description

@twoGiants

Description

Running make presubmit-unit-tests fails with an error parsing go.mod due to an invalid Go version format.

/kind bug

Error

Status: Downloaded newer image for us-docker.pkg.dev/knative-tests/images/prow-tests:v20230616-086ddd644
Resetting GOPATH to '/home/prow/go'
+ WRAPPED_COMMAND_PID=20
+ wait 20
+ ./test/presubmit-tests.sh --unit-tests
go: errors parsing go.mod:
/src/go.mod:3: invalid go version '1.24.4': must match format 1.23
./test/presubmit-tests.sh: line 28: : No such file or directory
./test/presubmit-tests.sh: line 126: main: command not found
+ EXIT_VALUE=127
+ set +o xtrace
make: *** [Makefile:193: presubmit-unit-tests] Error 127

Environment

  • OS: Fedora 42 (Linux 6.17.7-200.fc42.x86_64)
  • Go Version: go1.25.4 linux/amd64
  • Docker Version: 29.0.0, build 3d4129b
  • Branch: issue-744-fix-typos
  • Commit: a2c8b23 (chores: fix typos)

Steps to Reproduce

  1. Checkout the repository on the issue-744-fix-typos branch
  2. Run make presubmit-unit-tests
  3. Observe the error

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions