Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647334 - dev-ruby/net-ssh-4.2.0: tests failed: multiple failures
Summary: dev-ruby/net-ssh-4.2.0: tests failed: multiple failures
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-02-11 20:02 UTC by Thomas Deutschmann (RETIRED)
Modified: 2018-06-17 18:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,6.64 KB, text/plain)
2018-02-11 20:02 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-11 20:02:26 UTC
Created attachment 519122 [details]
build.log

> >>> Source compiled.
> >>> Test phase: dev-ruby/net-ssh-4.2.0
>  * Running test phase for ruby22 ...
> Run options: --seed 31693
> 
> # Running:
> 
> ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................EE..................................................................................................................................................................................................
> 
> Finished in 2.787255s, 546.7745 runs/s, 1825.4520 assertions/s.
> 
>   1) Error:
> Authentication::TestED25519#test_pwd_key:
> RuntimeError: No ED25519 set NET_SSH_NO_RBNACL to ignore this test
>     /var/tmp/portage/dev-ruby/net-ssh-4.2.0/work/ruby22/net-ssh-4.2.0/test/authentication/test_ed25519.rb:11:in `setup'
> 
> 
>   2) Error:
> Authentication::TestED25519#test_no_pwd_key:
> RuntimeError: No ED25519 set NET_SSH_NO_RBNACL to ignore this test
>     /var/tmp/portage/dev-ruby/net-ssh-4.2.0/work/ruby22/net-ssh-4.2.0/test/authentication/test_ed25519.rb:11:in `setup'
> 
> 1524 runs, 5088 assertions, 0 failures, 2 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -I"lib:test" -I"/usr/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib" "/usr/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb" "test/authentication/methods/test_abstract.rb" "test/authentication/methods/test_hostbased.rb" "test/authentication/methods/test_keyboard_interactive.rb" "test/authentication/methods/test_none.rb" "test/authentication/methods/test_password.rb" "test/authentication/methods/test_publickey.rb" "test/authentication/test_agent.rb" "test/authentication/test_certificate.rb" "test/authentication/test_ed25519.rb" "test/authentication/test_key_manager.rb" "test/authentication/test_session.rb" "test/connection/test_channel.rb" "test/connection/test_session.rb" "test/start/test_connection.rb" "test/start/test_options.rb" "test/start/test_transport.rb" "test/start/test_user_nil.rb" "test/test_all.rb" "test/test_buffer.rb" "test/test_buffered_io.rb" "test/test_config.rb" "test/test_key_factory.rb" "test/test_known_hosts.rb" "test/test_proxy_jump.rb" "test/transport/hmac/test_md5.rb" "test/transport/hmac/test_md5_96.rb" "test/transport/hmac/test_none.rb" "test/transport/hmac/test_ripemd160.rb" "test/transport/hmac/test_sha1.rb" "test/transport/hmac/test_sha1_96.rb" "test/transport/hmac/test_sha2_256.rb" "test/transport/hmac/test_sha2_256_96.rb" "test/transport/hmac/test_sha2_512.rb" "test/transport/hmac/test_sha2_512_96.rb" "test/transport/kex/test_diffie_hellman_group14_sha1.rb" "test/transport/kex/test_diffie_hellman_group1_sha1.rb" "test/transport/kex/test_diffie_hellman_group_exchange_sha1.rb" "test/transport/kex/test_diffie_hellman_group_exchange_sha256.rb" "test/transport/kex/test_ecdh_sha2_nistp256.rb" "test/transport/kex/test_ecdh_sha2_nistp384.rb" "test/transport/kex/test_ecdh_sha2_nistp521.rb" "test/transport/test_algorithms.rb" "test/transport/test_cipher_factory.rb" "test/transport/test_hmac.rb" "test/transport/test_identity_cipher.rb" "test/transport/test_packet_stream.rb" "test/transport/test_server_version.rb" "test/transport/test_session.rb" "test/transport/test_state.rb" "test/verifiers/test_secure.rb" ]
> 
> Tasks: TOP => test
> (See full trace by running task with --trace)
>  * ERROR: dev-ruby/net-ssh-4.2.0::gentoo failed (test phase):
>  *   tests failed
>  * 


Portage 2.3.19 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108324 total,    984436 free
KiB Swap:     488276 total,    488276 free
Timestamp of repository gentoo: Sat, 10 Feb 2018 18:26:17 +0000
Head commit of repository gentoo: 375c22e0f420309d5dd2b5fc95c3bdce99e463db

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info:/usr/share/info/emacs-25"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MANPAGER="manpager"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4840,0"
TMUX_PANE="%6"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
Comment 1 Hans de Graaff gentoo-dev Security 2018-02-16 09:17:37 UTC
It looks like these tests depend on USE=sodium. Can you confirm whether you had this USE flag enabled (i.e. have rbnacl and bcrypt_pbkdf installed) or not?
Comment 2 Larry the Git Cow gentoo-dev 2018-06-17 18:33:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=569131d2001863aaf9dec9f395d0d5202cdfb7a0

commit 569131d2001863aaf9dec9f395d0d5202cdfb7a0
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-06-17 18:32:32 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-06-17 18:32:57 +0000

    dev-ruby/net-ssh: fix tests with USE=-sodium
    
    Don't try to run tests that depend on libsodium in this case.
    
    Closes: https://bugs.gentoo.org/647334
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/net-ssh/net-ssh-4.2.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)