francoismichel / francoismichel/ssh3

Intermittent integration_tests failures

Open
#54 1 comment 0 reactions 0 assignees View on GitHub
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: 1702820176
[00:01:14]
[00:01:14] Will run 10 of 10 specs
[00:01:48] ••••
[00:01:48] ------------------------------
[00:01:48] • [FAILED] [0.167 seconds]
[00:01:48] Testing the ssh3 cli With running server Insecure Client behaviour TCP port forwarding [It] works with messages larger than a typical MTU
[00:01:48] /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:239
[00:01:48]
[00:01:48] Timeline >>
[00:01:48] 1:36PM ERR there was an error when parsing known hosts: open /root/.ssh3/known_hosts: permission denied
[00:01:48] 1:36PM WRN could not open /root/.ssh/config: open /root/.ssh/config: permission denied, ignoring config
[00:01:48] 1:36PM WRN could not open /root/.ssh3/oidc_config.json: open /root/.ssh3/oidc_config.json: permission denied
[00:01:48] 1:36PM DBG received request from User-Agent SSH 3.0 francoismichel/ssh3 0.1.3 (major 0, minor 1, patch 3)
[00:01:48] 1:36PM ERR cannot parse identity line: unknown identity format: # OpenSSH authorized_keys file format is described in sshd(8) manual page.
[00:01:48] 1:36PM DBG parsing ssh authorized key
[00:01:48] 1:36PM DBG parsing ssh-rsa identity
[00:01:48] 1:36PM INF got request: method: CONNECT, URL: https://127.0.0.1:4433/ssh3-tests?user=builder
[00:01:48] could not read data from stdin: EOF1:36PM INF eof on tcp-forwarding channel 8
[00:01:48] 1:36PM ERR 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] [FAILED] in [It] - /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:179 @ 12/17/23 13:36:57.51
[00:01:48] << Timeline
[00:01:48]
[00:01:48] [FAILED] Expected
[00:01:48] : "...ч 5ZЊ@ Ь..."
[00:01:48] to equal |
[00:01:48] : "...ч 5ZЊ@ Ь..."
[00:01:48] In [It] at: /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:179 @ 12/17/23 13:36:57.51
[00:01:48] ------------------------------
[00:01:54] •••••
[00:01:54]
[00:01:54] Summarizing 1 Failure:
[00:01:54] [FAIL] Testing the ssh3 cli With running server Insecure Client behaviour TCP port forwarding [It] works with messages larger than a typical MTU
[00:01:54] /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:179
[00:01:54]
[00:01:54] Ran 10 of 10 Specs in 40.358 seconds
[00:01:54] FAIL! -- 9 Passed | 1 Failed | 0 Pending | 0 Skipped
[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: 1702820760
[00:00:51]
[00:00:51] Will run 10 of 10 specs
[00:01:09] ••••
[00:01:09] ------------------------------
[00:01:09] • [FAILED] [0.079 seconds]
[00:01:09] Testing the ssh3 cli With running server Insecure Client behaviour TCP port forwarding [It] works with messages larger than a typical MTU
[00:01:09] /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:239
[00:01:09]
[00:01:09] Timeline >>
[00:01:09] 1:46PM ERR there was an error when parsing known hosts: open /root/.ssh3/known_hosts: permission denied
[00:01:09] 1:46PM WRN could not open /root/.ssh/config: open /root/.ssh/config: permission denied, ignoring config
[00:01:09] 1:46PM WRN could not open /root/.ssh3/oidc_config.json: open /root/.ssh3/oidc_config.json: permission denied
[00:01:09] 1:46PM DBG received request from User-Agent SSH 3.0 francoismichel/ssh3 0.1.3 (major 0, minor 1, patch 3)
[00:01:09] 1:46PM ERR cannot parse identity line: unknown identity format: # OpenSSH authorized_keys file format is described in sshd(8) manual page.
[00:01:09] 1:46PM DBG parsing ssh authorized key
[00:01:09] 1:46PM DBG parsing ssh-rsa identity
[00:01:09] 1:46PM INF got request: method: CONNECT, URL: https://127.0.0.1:4433/ssh3-tests?user=builder
[00:01:09] could not read data from stdin: EOF1:46PM INF eof on tcp-forwarding channel 8
[00:01:09] [FAILED] in [It] - /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:225 @ 12/17/23 13:46:23.057
[00:01:09] << Timeline
[00:01:09]
[00:01:09] [FAILED] Expected
[00:01:09] : 16640
[00:01:09] to equal
[00:01:09] : 20000
[00:01:09] In [It] at: /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:225 @ 12/17/23 13:46:23.057
[00:01:09] ------------------------------
[00:01:15] •••••
[00:01:15]
[00:01:15] Summarizing 1 Failure:
[00:01:15] [FAIL] Testing the ssh3 cli With running server Insecure Client behaviour TCP port forwarding [It] works with messages larger than a typical MTU
[00:01:15] /usr/src/RPM/BUILD/ssh3-0.1.4/integration_tests/ssh3_test.go:225
[00:01:15]
[00:01:15] Ran 10 of 10 Specs in 24.303 seconds
[00:01:15] FAIL! -- 9 Passed | 1 Failed | 0 Pending | 0 Skipped
[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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.