Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403897 - dev-perl/GSSAPI-0.280.0 fails tests
Summary: dev-perl/GSSAPI-0.280.0 fails tests
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
Depends on:
Blocks: perl-testfailure
  Show dependency tree
Reported: 2012-02-15 14:22 UTC by Patrick Lauer
Modified: 2014-09-05 18:47 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-02-15 14:22:26 UTC
>>> Source compiled.
make -j4 test TEST_VERBOSE=0 
PERL_DL_NONLAZY=1 /usr/bin/perl5.12.4 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1constants.t ..... ok     
t/2status.t ........ ok   
t/checkoids.t ...... ok     
t/importnames.t .... ok   
t/indicatemechs.t .. 1/5 # KRB5 old Mechtype, Kerberos 5, SPNEGO
t/indicatemechs.t .. ok   
t/inquire_cred.t ... 1/6 
#   Failed test '$cred1->inquire_cred($name, $lifetime, $cred_usage, $oidset'
#   at t/inquire_cred.t line 47.
# inquire_cred()    lifetime:   0 seconds
# inquire_cred()    credusage:   0 (GSS_C_BOTH)
        (in cleanup) oidset has no value.
# Looks like you failed 1 test of 6.
t/inquire_cred.t ... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests 
t/pod.t ............ ok   
t/test.t ........... ok     
t/zbugfixes.t ...... 1/3 # 
#  if you want to run tests that do a realworld *use* of your GSSAPI
#  start a kinit and try to run
# ./examples/ 
t/zbugfixes.t ...... ok   

Test Summary Report
t/inquire_cred.t (Wstat: 256 Tests: 6 Failed: 1)
  Failed test:  4
  Non-zero exit status: 1
Files=9, Tests=152,  0 wallclock secs ( 0.09 usr  0.03 sys +  0.46 cusr  0.09 csys =  0.67 CPU)
Result: FAIL
Failed 1/9 test programs. 1/152 subtests failed.
make: *** [test_dynamic] Error 255
 * ERROR: dev-perl/GSSAPI-0.280.0 failed (test phase):
 *   emake failed

Portage (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo-r1 x86_64)
System uname: Linux-3.2.1-gentoo-r1-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.1
Timestamp of tree: Unknown
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3
dev-util/cmake:           2.8.6-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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/terminfo"
CXXFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gcj gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly objc openmp pam pcre pppd readline session sse sse2 ssl sysfs tcpd unicode xorg 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 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"
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-02-15 15:03:39 UTC
It doesn't fail for me, but I don't have a GSS setup

( with TEST_VERBOSE=1 ) 

t/inquire_cred.t ... 
# No error: acquire_cred() failed, maybe because you have to run kinit first.
# Errormessage from your GSSAPI-implementation is: 
# "Unspecified GSS failure.  Minor code may provide more information
# Credentials cache file '/tmp/krb5cc_0' not found
# "
# run kinit to get a TGT and retry this test (just skipping now).
ok 1 # skip This tests only work if user has run kinit succesfully
ok 2 # skip This tests only work if user has run kinit succesfully
ok 3 # skip This tests only work if user has run kinit succesfully
ok 4 # skip This tests only work if user has run kinit succesfully
ok 5 # skip This tests only work if user has run kinit succesfully
ok 6 # skip This tests only work if user has run kinit succesfully
        (in cleanup) oidset has no value.

^^ This indicates its skipping the tests for me due to KINIT running. 

So ENEEDINFO on whether or not you had kinit running, test without it, and possibly the above , and whether or not you're running mit-krb5 or heimdal for your GSS implementation.
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2012-02-15 15:12:20 UTC
Bug also known upstream: 

No solution known yet.
Comment 3 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2014-09-05 18:47:46 UTC
works fine for me with perl-5.18* please test it.