Summary: | net-misc/openssh-7.4_p1: test failure: interop-tests: conch-ciphers.sh | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | eike, etienne.buira, leio, robbat2 |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=632164 https://bugs.gentoo.org/show_bug.cgi?id=288287 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
config.log.bz2 emerge-history.txt environment etc.portage.tbz2 net-misc:openssh-7.4_p1:20170112-060854.log Skip conch interoperability test |
Description
Toralf Förster
2017-01-12 08:52:23 UTC
Created attachment 459712 [details]
emerge-info.txt
Created attachment 459714 [details]
config.log.bz2
Created attachment 459716 [details]
emerge-history.txt
Created attachment 459718 [details]
environment
Created attachment 459720 [details]
etc.portage.tbz2
Created attachment 459722 [details]
net-misc:openssh-7.4_p1:20170112-060854.log
This looks very similar to failures I saw in HPN testing previously, but you don't have USE=hpn in this case. Wonder if we're finding an edge case in upstream testsuites? (In reply to Robin Johnson from comment #7) IMO it is related to *this* image - it emerges fine at other tinderbox images having different profile + settings. and 7.5p1 is back to passing. whee. Is this the same? make[1]: Entering directory '/tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress' run test putty-transfer.sh ... putty interop tests not enabled run test putty-ciphers.sh ... putty interop tests not enabled run test putty-kex.sh ... putty interop tests not enabled run test conch-ciphers.sh ... conch ciphers: cipher aes256-ctr cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy conch ciphers: cipher aes256-cbc cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy conch ciphers: cipher aes192-ctr cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy conch ciphers: cipher aes192-cbc cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy conch ciphers: cipher aes128-ctr cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy conch ciphers: cipher aes128-cbc cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy conch ciphers: cipher cast128-cbc cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy conch ciphers: cipher blowfish cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy conch ciphers: cipher 3des-cbc cmp: EOF on /tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress/copy corrupted copy failed conch ciphers make[1]: *** [Makefile:206: t-exec-interop] Error 1 make[1]: Target 'interop-tests' not remade because of errors. make[1]: Leaving directory '/tmp/portage/net-misc/openssh-7.5_p1-r1/work/openssh-7.5p1/regress' make: *** [Makefile:585: interop-tests] Error 2 I also see the putty errors on my sparc: make[1]: Entering directory '/var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress' run test putty-transfer.sh ... putty transfer data: proto 2 compression 0 ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: EOF on /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy putty transfer data: proto 2 compression 1 ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: EOF on /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy ssh cat /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/data failed cmp: /var/tmp/portage/net-misc/openssh-7.5_p1-r3/work/openssh-7.5p1/regress/copy: No such file or directory corrupted copy failed putty transfer data Created attachment 535644 [details, diff]
Skip conch interoperability test
@Mart: yes, it is the same @Rolf: not the same, but maybe the same rationale behind it This failure is due to conch trying to login although user has no usable shell (usually /bin/false) The previously posted patch should only actually be applied in case $UID's shell is not usable (there is already a test in src_test) Can you please test =net-misc/openssh-7.7_p1-r4 which were are going to stabilize via bug 657366? Also, I don't understand why you hit this at all, you should see something like > run test putty-transfer.sh ... > putty interop tests not enabled > run test putty-ciphers.sh ... > putty interop tests not enabled > run test putty-kex.sh ... > putty interop tests not enabled > run test conch-ciphers.sh ... > conch interop tests not enabled ...so no patch needed to conch test. This bug is NOT resolved. conch tests are enabled if conch binary (from dev-python/twisted) is found (this is in regress/test-run.sh IIRC) I filed a bug against dev-python/twisted (#657818) because at the moment it installs conch binary whatever useflag conch is set to. But this is not very relevant because i don't see any reason to forbid conch and openssh being installed on the same system. It wasn't closed as "RESOLVED", it was closed as "NEEDINFO". Thank you, you provided the requested information. Now I am able to reproduce and hopefully able to fix. OK, the test is passing when you run it manually (when using Python3).
It is failing when you run the test through sys-apps/portage. Even when using FEATURES="-ipc-sandbox -network-sandbox -sandbox -userpriv -usersandbox".
After adding debug code I see that conch will output
> 2018-06-11 23:12:24+0200 [-] sending eof
when tests are failing. These line is missing when you run it manually and tests pass.
Given that the test is also failing when running manually when using Python2 I am going to disable this test for now.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987bc3f518ed55f6e888a0c6c40182b956e9935c commit 987bc3f518ed55f6e888a0c6c40182b956e9935c Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-06-11 22:44:35 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-06-11 22:46:57 +0000 net-misc/openssh: disable conch interopt tests Bug: https://bugs.gentoo.org/605446 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../openssh-7.5_p1-disable-conch-interop-tests.patch | 20 ++++++++++++++++++++ net-misc/openssh/openssh-7.5_p1-r4.ebuild | 1 + net-misc/openssh/openssh-7.6_p1-r4.ebuild | 1 + net-misc/openssh/openssh-7.6_p1-r5.ebuild | 1 + net-misc/openssh/openssh-7.7_p1-r4.ebuild | 1 + 5 files changed, 24 insertions(+) |