Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BeforeSuite] [FAILED] [8.752 seconds] #121

Open
vt-alt opened this issue Jan 28, 2024 · 0 comments
Open

[BeforeSuite] [FAILED] [8.752 seconds] #121

vt-alt opened this issue Jan 28, 2024 · 0 comments

Comments

@vt-alt
Copy link

vt-alt commented Jan 28, 2024

We run tests when building ssh3 package. Our build environment does not have access to Internet for security and reproducible builds purpose. Tests for 0.1.4 were OK but tests for 0.1.6 fail with:

++ go run github.com/onsi/ginkgo/v2/ginkgo --no-color --flake-attempts=4 ./integration_tests
Running Suite: Integration Test Suite - /usr/src/RPM/BUILD/ssh3-0.1.6/integration_tests
=======================================================================================
Random Seed: 1706439786

Will run 17 of 17 specs
------------------------------
[BeforeSuite] [FAILED] [8.752 seconds]
[BeforeSuite]
/usr/src/RPM/BUILD/ssh3-0.1.6/integration_tests/ssh3_test.go:59

  Timeline >>
  11:03AM DBG version francoismichel/ssh3 0.1.6
  Server started, listening on 127.0.0.1:4433/ssh3-tests
  11:03AM INF Server started, listening on 127.0.0.1:4433/ssh3-tests
  [FAILED] in [BeforeSuite] - /usr/src/RPM/BUILD/ssh3-0.1.6/integration_tests/ssh3_test.go:90 @ 01/28/24 11:03:17.155
  << Timeline

  [FAILED] Unexpected error:
      <*exec.ExitError | 0xc0003361c0>:
      exit status 1
      {
          ProcessState: {
              pid: 1583,
              status: 256,
              rusage: {
                  Utime: {Sec: 0, Usec: 1021},
                  Stime: {Sec: 0, Usec: 6156},
                  Maxrss: 10172,
                  Ixrss: 0,
                  Idrss: 0,
                  Isrss: 0,
                  Minflt: 306,
                  Majflt: 312,
                  Nswap: 0,
                  Inblock: 1176,
                  Oublock: 0,
                  Msgsnd: 0,
                  Msgrcv: 0,
                  Nsignals: 0,
                  Nvcsw: 655,
                  Nivcsw: 0,
              },
          },
          Stderr: nil,
      }
  occurred
  In [BeforeSuite] at: /usr/src/RPM/BUILD/ssh3-0.1.6/integration_tests/ssh3_test.go:90 @ 01/28/24 11:03:17.155
------------------------------

Summarizing 1 Failure:
  [FAIL] [BeforeSuite]
  /usr/src/RPM/BUILD/ssh3-0.1.6/integration_tests/ssh3_test.go:90

Ran 0 of 17 Specs in 8.756 seconds
FAIL! -- A BeforeSuite node failed so all tests were skipped.
--- FAIL: TestMessage (8.76s)
FAIL

Ginkgo ran 1 suite in 10.734722948s

Test Suite Failed
exit status 1

Looks like it tries to run go install github.com/francoismichel/ssh3/cmd/ssh3-server since commit 53d7264.

Maybe it's possible to make tests work without access to Internet? (Without go install basically.)

It's pity to disable integration tests run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant