Summary: | net-misc/openssh-5.2_p1-r3 fails interop-tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bjoern Thorwirth <Bjoern.Thorwirth> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ahudson.news, binki, creffett, kanelxake, m.e.j.habets |
Priority: | High | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=493866 https://bugs.gentoo.org/show_bug.cgi?id=605446 https://bugs.gentoo.org/show_bug.cgi?id=632164 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 316347 | ||
Attachments: |
Build log
build log without mentioned patches test log of 5.2p1 test log 5.3p1 test log 5.1p1 interop test for 5.1p1 fails interop test of 5.2p1 passes interop test 5.3p1 passes,too Build log for 5.5_p1-r1 in tinderbox |
Description
Bjoern Thorwirth
2009-10-09 11:23:14 UTC
Created attachment 206522 [details]
Build log
did 5.2_p1-r1 fail too ? what does `emerge openssh -pv` show ? emerge -pv: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-misc/openssh-5.2_p1-r3 [5.2_p1-r1] USE="X ldap pam tcpd -X509 -hpn -kerberos -libedit -pkcs11 (-selinux) -skey -smartcard -static" 0 kB 5.2_p1-r1 doesn't fail So here are the potential breakage sources: +epatch "${DISTDIR}"/openssh-5.2p1-gsskex-all-20090726.patch +epatch "${FILESDIR}"/${P}-gsskex-fix.patch We can rule out the HPN/X509/LPK changes since those patches are not applied for his system. Could you please comment out both of those patches and see if the testsuite passes? Created attachment 206850 [details]
build log without mentioned patches
I removed the patches, but it still fails interop-tests While the LDAP stuff didn't change between -r1 and -r3, could you try to add USE=-ldap and see if that changes anything, because I still can't trace where the source of the breakage is. I disabled all useflags one by one but it still fails. Furthermore i'm really sorry, i recognized that 5.2_p1-r1 fails with the same error. I don't know what was up - i had it installed and normally i never ever disable tests of important software the 5.1 versions install without problems .. but they doesn't seem to have tests ah, crap. can you please find the last release that DID run the tests and pass them for you? Ok: i've downloaded 5.3p1 and 5.2p1 and 5.1p1 configured and builded them manually and all passed all tests :/. see attached test logs. Created attachment 207093 [details]
test log of 5.2p1
Created attachment 207095 [details]
test log 5.3p1
Created attachment 207096 [details]
test log 5.1p1
Created attachment 207098 [details]
interop test for 5.1p1 fails
Created attachment 207100 [details]
interop test of 5.2p1 passes
Created attachment 207101 [details]
interop test 5.3p1 passes,too
Bjoern: there's a sed statement in the unpack block of the ebuild (line 118, that runs on cipher.c), compared the test output here, can you see if it fixes things for you if you comment it out? I tried to comment out the sed statements one by one and all together - interop tests keep failing and there is still the corrupted copy message .. any further ideas what could be up? (In reply to comment #20) > any further ideas what could be up? @Bjoern: Could you try with FEATURES="-userpriv" and report back whether the test passed? This solved the issue for. I got this even with FEATURES="-userpriv" I also got this with a clean unpacked openssh-5.5p1, only did "./configure && make && make interop-tests" and it fails in the same way... ...and after some hacking/playing around with the testsuit it shows up that the interop-tests needs dev-python/pyasn1 to be installed, else it fails. So please add "test? ( dev-python/pyasn1 )" or what the syntax is to the DEPENDs.... interop-tests passes on my system w/out dev-python/pyasn1 ... Strange, at least for 5.5p1 I cannot even run conch without it: $ conch Traceback (most recent call last): File "/usr/bin/conch-2.6", line 19, in <module> from twisted.conch.scripts.conch import run File "/usr/lib64/python2.6/site-packages/twisted/conch/scripts/conch.py", line 11, in <module> from twisted.conch.client import connect, default, options File "/usr/lib64/python2.6/site-packages/twisted/conch/client/connect.py", line 5, in <module> import direct File "/usr/lib64/python2.6/site-packages/twisted/conch/client/direct.py", line 7, in <module> from twisted.conch.ssh import transport File "/usr/lib64/python2.6/site-packages/twisted/conch/ssh/transport.py", line 30, in <module> from twisted.conch.ssh import keys File "/usr/lib64/python2.6/site-packages/twisted/conch/ssh/keys.py", line 20, in <module> from pyasn1.type import univ ImportError: No module named pyasn1.type (I still cannot get interop-tests to pass in portage, but I can get it to pass in a vanilla source with it) i dont have twisted-conch installed either. if that package requires pyasn1, then that's a bug in twisted-conch ... at any rate, my system skips interop-tests because conch isnt available: 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 Not sure if that's enough… I have interop-tests failing on the tinderbox and both conch and pyasn1 are installed… (In reply to comment #28) > Not sure if that's enough… I have interop-tests failing on the tinderbox and > both conch and pyasn1 are installed… > Indeed same here, we need to find out why conch breaks in the testcase for openssh. With pyasn1 it works when I compile it by hand, but for some reason it breaks with portage. And that is yet to find out why. ok, we'll split the python issue out then Created attachment 228517 [details]
Build log for 5.5_p1-r1 in tinderbox
Ok, next step (after the missing dep for conch) is that conch needs for FEATURES="userpriv" the user portage to have a working shell and the </dev/null in the emake command to be removed it seems. Both changes are needed for the conch tests to pass with userpriv, non needed for root. (In reply to comment #32) > Both changes are needed for the conch tests to pass with userpriv, non needed > for root. > Or maybe I am wrong, I had to remove </dev/null now to make it also pass with "-userpriv"... giving the portage user a usable shell is off the table. we'll have to figure out another way of dealing with that issue. Is there any way to just skip the conch-part of the tests? As conch test sets up a server, logs in to it and runs a command as I see it it will be hard to not have it needing a usable shell. Bug seems to be still present in net-misc/openssh-5.8_p1. Still present in 5.9_p1-r4 emerge --info: Portage 2.2.0_alpha93 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo-zeugma x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.2.6-gentoo-zeugma-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.1 Timestamp of tree: Wed, 21 Mar 2012 23:00:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p24 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2-r1 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5.1-r1 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo gamerlay-stable kde sunrise zeugma-local Installed sets: @kde-4.8 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 dlj-1.1 googleearth google-talkplugin Intel-SDP Oracle-BCLA-JavaSE RTCW-ETEULA Q3AEULA skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="" GENTOO_MIRRORS="http://mirror.rit.edu/gentoo http://gtlib.gatech.edu/pub/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/kde /var/lib/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X accessibility acl acpi alsa amd64 bash-completion berkdb bluetooth bzip2 cairo cdda cddb cli consolekit cracklib crypt cups cxx dbus dri dvd encode ffmpeg flac fortran gdbm geoip git gnutls gpm gstreamer iconv icu id3tag ipod ipv6 java jpeg kde lame latex libnotify mad mmx mng modules mp3 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pcre png policykit pppd qt3support qt4 readline semantic-desktop session spell sql sse sse2 ssl ssse3 svg sysfs tcpd threads tiff truetype udev unicode usb v4l v4l2 vcd vim-syntax vorbis wifi xcomposite xinerama xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="ati radeon fglrx intel uvesafb v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-misc/openssh-5.9_p1-r4 was built with the following: USE="X hpn (multilib) pam tcpd test -X509 -kerberos -ldap -libedit (-selinux) -skey -static" tl;dr: openssh interop-test vs. putty is broken (in upstream). proposal: disable interop-tests[putty-transfer] until fixed? =========================== long version: Been trying to get this to work for a bit with [openssh-5.9_p1-r4] on amd64. Seems the test itself is not in a good state though, as evident by copy/paste errors in the test script. regress/putty-transfer.sh, line: echo "Compression=$c" >> ${OBJ}/.putty/sessions/kex_$x should probably say: echo "Compression=$c" >> ${OBJ}/.putty/sessions/compression_$c also the plink command once uses: ... cat ${DATA} > ${COPY} and the other time ... "cat > ${COPY}" (which is probably the correct statement) Further, the tests fail with authentication errors (likely just another effect of broken test scripts), something that is unrelated to the actual test cases in putty-transfer.sh (they are supposed to test compression vs. block-size). After uninstalling [putty-0.62], the tests passed and openssh emerge successfully completed. @Maintainer: should this be reported to upstream? They're not fixed in the latest [openssh-6.0_p1-r1]. |