francoismichel / francoismichel/ssh3
Intermittent integration_tests failures
- Dominant language
- Go
- Stars
- 5k
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes there is integration test failures, sometimes not. Log of failure on `ppc64le`:
```
[00:01:02] ++ go run github.com/onsi/ginkgo/v2/ginkgo ./integration_tests
[00:01:14] Running Suite: Integration Test Suite - /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests
[00:01:14] =======================================================================================
[00:01:14] Random Seed: [1m1702820176[0m
[00:01:14]
[00:01:14] Will run [1m10[0m of [1m10[0m specs
[00:01:48] [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m
[00:01:48] [38;5;243m------------------------------[0m
[00:01:48] [38;5;9m• [FAILED] [0.167 seconds][0m
[00:01:48] [0mTesting the ssh3 cli [38;5;243mWith running server [0mInsecure [38;5;243mClient behaviour [0mTCP port forwarding [38;5;9m[1m[It] works with messages larger than a typical MTU[0m
[00:01:48] [38;5;243m/usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:239[0m
[00:01:48]
[00:01:48] [38;5;243mTimeline >>[0m
[00:01:48] [90m1:36PM[0m [1m[31mERR[0m[0m there was an error when parsing known hosts: open /root/.ssh3/known_hosts: permission denied
[00:01:48] [90m1:36PM[0m [31mWRN[0m could not open /root/.ssh/config: open /root/.ssh/config: permission denied, ignoring config
[00:01:48] [90m1:36PM[0m [31mWRN[0m could not open /root/.ssh3/oidc_config.json: open /root/.ssh3/oidc_config.json: permission denied
[00:01:48] [90m1:36PM[0m [33mDBG[0m received request from User-Agent SSH 3.0 francoismichel/ssh3 0.1.3 (major 0, minor 1, patch 3)
[00:01:48] [90m1:36PM[0m [1m[31mERR[0m[0m cannot parse identity line: unknown identity format: # OpenSSH authorized_keys file format is described in sshd(8) manual page.
[00:01:48] [90m1:36PM[0m [33mDBG[0m parsing ssh authorized key
[00:01:48] [90m1:36PM[0m [33mDBG[0m parsing ssh-rsa identity
[00:01:48] [90m1:36PM[0m [32mINF[0m got request: method: CONNECT, URL: https://127.0.0.1:4433/ssh3-tests?user=builder
[00:01:48] could not read data from stdin: EOF[90m1:36PM[0m [32mINF[0m eof on tcp-forwarding channel 8
[00:01:48] [90m1:36PM[0m [1m[31mERR[0m[0m could read data on TCP socket: read tcp 127.0.0.1:50510->127.0.0.1:9090: read: connection reset by peer
[00:01:48] [38;5;9m[FAILED][0m in [It] - /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:179 [38;5;243m@ 12/17/23 13:36:57.51[0m
[00:01:48] [38;5;243m<< Timeline[0m
[00:01:48]
[00:01:48] [38;5;9m[FAILED] Expected
[00:01:48] : "...ч5ZЊ@ Ь..."
[00:01:48] to equal |
[00:01:48] : "...ч5ZЊ@ Ь..."[0m
[00:01:48] [38;5;9mIn [1m[It][0m[38;5;9m at: [1m/usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:179[0m [38;5;243m@ 12/17/23 13:36:57.51[0m
[00:01:48] [38;5;243m------------------------------[0m
[00:01:54] [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m
[00:01:54]
[00:01:54] [38;5;9m[1mSummarizing 1 Failure:[0m
[00:01:54] [38;5;9m[FAIL][0m [0mTesting the ssh3 cli [38;5;243mWith running server [0mInsecure [38;5;243mClient behaviour [0mTCP port forwarding [38;5;9m[1m[It] works with messages larger than a typical MTU[0m
[00:01:54] [38;5;243m/usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:179[0m
[00:01:54]
[00:01:54] [38;5;9m[1mRan 10 of 10 Specs in 40.358 seconds[0m
[00:01:54] [38;5;9m[1mFAIL![0m -- [38;5;10m[1m9 Passed[0m | [38;5;9m[1m1 Failed[0m | [38;5;11m[1m0 Pending[0m | [38;5;14m[1m0 Skipped[0m
[00:01:54] --- FAIL: TestMessage (40.36s)
[00:01:54] FAIL
[00:01:54]
[00:01:54] Ginkgo ran 1 suite in 47.281446568s
[00:01:54]
[00:01:54] Test Suite Failed
[00:01:54] exit status 1
```
Excuse me for the garbage in the output but that's how you log even if there is no tty.
On `aarch64`:
```
[00:00:44] ++ go run github.com/onsi/ginkgo/v2/ginkgo ./integration_tests
[00:00:51] Running Suite: Integration Test Suite - /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests
[00:00:51] =======================================================================================
[00:00:51] Random Seed: [1m1702820760[0m
[00:00:51]
[00:00:51] Will run [1m10[0m of [1m10[0m specs
[00:01:09] [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m
[00:01:09] [38;5;243m------------------------------[0m
[00:01:09] [38;5;9m• [FAILED] [0.079 seconds][0m
[00:01:09] [0mTesting the ssh3 cli [38;5;243mWith running server [0mInsecure [38;5;243mClient behaviour [0mTCP port forwarding [38;5;9m[1m[It] works with messages larger than a typical MTU[0m
[00:01:09] [38;5;243m/usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:239[0m
[00:01:09]
[00:01:09] [38;5;243mTimeline >>[0m
[00:01:09] [90m1:46PM[0m [1m[31mERR[0m[0m there was an error when parsing known hosts: open /root/.ssh3/known_hosts: permission denied
[00:01:09] [90m1:46PM[0m [31mWRN[0m could not open /root/.ssh/config: open /root/.ssh/config: permission denied, ignoring config
[00:01:09] [90m1:46PM[0m [31mWRN[0m could not open /root/.ssh3/oidc_config.json: open /root/.ssh3/oidc_config.json: permission denied
[00:01:09] [90m1:46PM[0m [33mDBG[0m received request from User-Agent SSH 3.0 francoismichel/ssh3 0.1.3 (major 0, minor 1, patch 3)
[00:01:09] [90m1:46PM[0m [1m[31mERR[0m[0m cannot parse identity line: unknown identity format: # OpenSSH authorized_keys file format is described in sshd(8) manual page.
[00:01:09] [90m1:46PM[0m [33mDBG[0m parsing ssh authorized key
[00:01:09] [90m1:46PM[0m [33mDBG[0m parsing ssh-rsa identity
[00:01:09] [90m1:46PM[0m [32mINF[0m got request: method: CONNECT, URL: https://127.0.0.1:4433/ssh3-tests?user=builder
[00:01:09] could not read data from stdin: EOF[90m1:46PM[0m [32mINF[0m eof on tcp-forwarding channel 8
[00:01:09] [38;5;9m[FAILED][0m in [It] - /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:225 [38;5;243m@ 12/17/23 13:46:23.057[0m
[00:01:09] [38;5;243m<< Timeline[0m
[00:01:09]
[00:01:09] [38;5;9m[FAILED] Expected
[00:01:09] : 16640
[00:01:09] to equal
[00:01:09] : 20000[0m
[00:01:09] [38;5;9mIn [1m[It][0m[38;5;9m at: [1m/usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:225[0m [38;5;243m@ 12/17/23 13:46:23.057[0m
[00:01:09] [38;5;243m------------------------------[0m
[00:01:15] [38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m[38;5;10m•[0m
[00:01:15]
[00:01:15] [38;5;9m[1mSummarizing 1 Failure:[0m
[00:01:15] [38;5;9m[FAIL][0m [0mTesting the ssh3 cli [38;5;243mWith running server [0mInsecure [38;5;243mClient behaviour [0mTCP port forwarding [38;5;9m[1m[It] works with messages larger than a typical MTU[0m
[00:01:15] [38;5;243m/usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:225[0m
[00:01:15]
[00:01:15] [38;5;9m[1mRan 10 of 10 Specs in 24.303 seconds[0m
[00:01:15] [38;5;9m[1mFAIL![0m -- [38;5;10m[1m9 Passed[0m | [38;5;9m[1m1 Failed[0m | [38;5;11m[1m0 Pending[0m | [38;5;14m[1m0 Skipped[0m
[00:01:15] --- FAIL: TestMessage (24.31s)
[00:01:15] FAIL
[00:01:15]
[00:01:15] Ginkgo ran 1 suite in 28.33480022s
[00:01:15]
[00:01:15] Test Suite Failed
[00:01:15] exit status 1
```
It looks different.
We have 3 architecture and almost any build&test run cause failure on some of them.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.