elastic / e2e-testing

Formal verification of Elastic-Agent and more using BDD
Other
24 stars 42 forks source link

Update dependencies #3847

Closed ycombinator closed 4 months ago

ycombinator commented 4 months ago

This PR updates various dependencies in go.mod to newer versions.

mergify[bot] commented 4 months ago

This pull request does not have a backport label. Could you fix it @ycombinator? 🙏 To fixup this pull request, you need to add the backport labels for the needed branches, such as:

kuisathaverat commented 4 months ago

it requires to bump https://github.com/elastic/e2e-testing/blob/main/.go-version too

Running [/home/runner/golangci-lint-1.51.2-linux-amd64/golangci-lint run --out-format=github-actions --new-from-patch=/tmp/tmp-1812-F48bQXAfFwKF/pull.patch --new=false --new-from-rev= --timeout=30m --whole-files] in [] ...
  level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: errors parsing go.mod:\n/home/runner/work/e2e-testing/e2e-testing/go.mod:3: invalid go version '1.[22](https://github.com/elastic/e2e-testing/actions/runs/9983431412/job/27591008871?pr=3847#step:4:24).0': must match format 1.23\n/home/runner/work/e2e-testing/e2e-testing/go.mod:5: unknown directive: toolchain\n"
kuisathaverat commented 4 months ago
+ make unit-test
mkdir -p /home/runner/work/e2e-testing/e2e-testing/outputs
cd internal && go run gotest.tools/gotestsum --junitfile "/home/runner/work/e2e-testing/e2e-testing/outputs/TEST-unit-internal.xml" --format testname -- -count=1 -timeout=5m ./...
go: downloading gotest.tools/gotestsum v1.9.0
go: downloading github.com/dnephin/pflag v1.0.[7](https://github.com/elastic/e2e-testing/actions/runs/9987054205/job/27600685489?pr=3847#step:4:8)
go: downloading github.com/fatih/color v1.15.0
go: downloading github.com/google/shlex v0.0.0-2019120210045[8](https://github.com/elastic/e2e-testing/actions/runs/9987054205/job/27600685489?pr=3847#step:4:9)-e7afc7fbc510
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.17
Error: ../../../../go/pkg/mod/github.com/mattn/go-isatty@v0.0.17/isatty_tcgets.go:7:8: missing go.sum entry for module providing package golang.org/x/sys/unix (imported by gotest.tools/gotestsum/internal/filewatcher); to add:
    go get gotest.tools/gotestsum/internal/filewatcher@v1.[9](https://github.com/elastic/e2e-testing/actions/runs/9987054205/job/27600685489?pr=3847#step:4:10).0
Error: ../../../../go/pkg/mod/gotest.tools/gotestsum@v1.9.0/internal/filewatcher/watch.go:15:2: missing go.sum entry for module providing package github.com/fsnotify/fsnotify (imported by gotest.tools/gotestsum/internal/filewatcher); to add:
    go get gotest.tools/gotestsum/internal/filewatcher@v1.9.0
Error: ../../../../go/pkg/mod/gotest.tools/gotestsum@v1.9.0/testjson/execution.go:15:2: missing go.sum entry for module providing package golang.org/x/sync/errgroup (imported by gotest.tools/gotestsum/testjson); to add:
    go get gotest.tools/gotestsum/testjson@v1.9.0
Error: ../../../../go/pkg/mod/gotest.tools/gotestsum@v1.9.0/testjson/dotformat.go:[11](https://github.com/elastic/e2e-testing/actions/runs/9987054205/job/27600685489?pr=3847#step:4:12):2: missing go.sum entry for module providing package golang.org/x/term (imported by gotest.tools/gotestsum/testjson); to add:
    go get gotest.tools/gotestsum/testjson@v1.9.0
Error: ../../../../go/pkg/mod/gotest.tools/gotestsum@v1.9.0/cmd/tool/slowest/ast.go:[12](https://github.com/elastic/e2e-testing/actions/runs/9987054205/job/27600685489?pr=3847#step:4:13):2: missing go.sum entry for module providing package golang.org/x/tools/go/packages (imported by gotest.tools/gotestsum/cmd/tool/slowest); to add:
    go get gotest.tools/gotestsum/cmd/tool/slowest@v1.9.0
make: *** [Makefile:45: unit-test-dir-internal] Error 1
Error: Process completed with exit code 2.