Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374925 - mail-filter/spamassassin-3.3.2-r1 fails test spamd_ssl_v2.t
Summary: mail-filter/spamassassin-3.3.2-r1 fails test spamd_ssl_v2.t
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Perl team
: 374919 (view as bug list)
Depends on:
Reported: 2011-07-12 09:25 UTC by Markus Walter
Modified: 2014-10-10 13:38 UTC (History)
1 user (show)

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

build log with failing tests (build.log,90.92 KB, text/plain)
2011-07-12 09:25 UTC, Markus Walter
emerge --info (info.txt,5.29 KB, text/plain)
2011-07-12 09:25 UTC, Markus Walter
build log (build.log,87.89 KB, text/plain)
2011-12-09 14:44 UTC, Markus Walter
build log (mail-filter:spamassassin-3.3.2-r1:20120422-153811.log.gz,19.50 KB, application/x-gzip)
2012-04-22 16:28 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-07-12 09:25:39 UTC
Created attachment 279839 [details]
build log with failing tests

spamassassin-3.3.2 fails 33/165 test sets on my machine. spamassassin-3.3.1-r4 merges just fine. I'm on ~amd64 with hardened-gcc-4.6.1.
Comment 1 Markus Walter 2011-07-12 09:25:59 UTC
Created attachment 279841 [details]
emerge --info
Comment 2 Markus Walter 2011-07-12 10:05:34 UTC
I just did some more testing and confirmed, that it's the same with vanilla-gcc-4.6.1 and hardened-gcc-4.5.2. Every time 33 tests fail.
Comment 3 Pacho Ramos gentoo-dev 2011-07-12 10:32:00 UTC
*** Bug 374919 has been marked as a duplicate of this bug. ***
Comment 4 Markus Walter 2011-12-09 14:44:43 UTC
Created attachment 295295 [details]
build log

The failures now reduced to only one failing test in spamassassin-3.3.2-r1. Namely the test spamd_ssl_v2.t fails.

The relevant part seems to be the following.

Dec  9 11:39:00.494 [9820] error: Can't locate auto/Net/SSLeay/ in @INC (@INC contains: ../blib/lib @@INSTALLSITELIB@@ /etc/perl /usr/lib64/perl5/site_perl/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.12.3 /usr/lib64/perl5/vendor_perl/5.12.2 /usr/lib64/perl5/vendor_perl/5.12.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl) at /usr/lib64/perl5/vendor_perl/5.12.4/IO/Socket/ line 1427
Can't locate auto/Net/SSLeay/ in @INC (@INC contains: ../blib/lib @@INSTALLSITELIB@@ /etc/perl /usr/lib64/perl5/site_perl/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.12.3 /usr/lib64/perl5/vendor_perl/5.12.2 /usr/lib64/perl5/vendor_perl/5.12.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi /usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl) at /usr/lib64/perl5/vendor_perl/5.12.4/IO/Socket/ line 1427

Maybe you need to kill a running spamd process?
started at 1323427129, gave up at 1323427257

t/spamd_ssl_v2.t .................. 1/9 	Not found: endsinnums =  TEST_ENDSNUMS at t/spamd_ssl_v2.t line 28.
# Failed test 4 in t/ at line 717
	Not found: noreal =  TEST_NOREALNAME at t/spamd_ssl_v2.t line 28.
# Failed test 5 in t/ at line 717 fail #2
	Not found: flag =  X-Spam-Flag: YES at t/spamd_ssl_v2.t line 28.
# Failed test 7 in t/ at line 717 fail #3
	Not found: stars =  X-Spam-Level: ********** at t/spamd_ssl_v2.t line 28.
# Failed test 8 in t/ at line 717 fail #4
	Not found: status =  X-Spam-Status: Yes, score= at t/spamd_ssl_v2.t line 28.
# Failed test 9 in t/ at line 717 fail #5
Output can be examined in: log/d.spamd_sslv2/out.1
t/spamd_ssl_v2.t .................. Failed 5/9 subtests
Comment 5 Toralf Förster gentoo-dev 2012-04-22 16:28:19 UTC
Created attachment 309793 [details]
build log

At an almost stable x86 Gentoo a lot fo test failed here too.

tfoerste@n22 ~ $ emerge --info mail-filter/spamassassin
Portage (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r3, 3.3.2 i686)
                        System Settings
System uname: Linux-3.3.2-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 22 Apr 2012 14:45:02 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo toralf
CFLAGS="-O2 -march=native -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=y --keep-going=y --nospinner --tree --deep --quiet"
FEATURES="assume-digests binpkg-logs compress-build-logs 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"
LINGUAS="en en_GB"
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 a52 aac acl acpi alsa apache2 berkdb bittorrent bluetooth branding bzip2 cairo cdda cdr classic cli consolekit corefonts cracklib crypt css cups cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam fastbuild fat ffmpeg firefox flac fontconfig fortran g3dvl gdbm gdu gif git gmp gphoto2 gpm gtk hyphenation iconv ipv6 java jpeg kde kipi kqemu kvm lastfm lcms ldap libnotify lirc logrotate mad mbox mmx mng modules mp3 mp4 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs ntfsprogs ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 rdesktop readline sdl semantic-desktop session sieve sna spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd thinkpad tiff tk transparent-proxy truetype udev unicode usb vaapi vim-syntax vnc vorbis wmf wxwidgets x264 x86 xa xcb xcomposite xinerama xml xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" LIRC_DEVICES="devinput inputlirc" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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"

                        Package Settings

mail-filter/spamassassin-3.3.1-r4 was built with the following:
USE="berkdb (consolekit) ipv6 ldap mysql (policykit) ssl test -doc -postgres -qmail -sqlite"
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-10-10 13:38:03 UTC
Should be fine in 3.4.0 now.

All tests successful.
Files=167, Tests=3066, 459 wallclock secs ( 1.56 usr  0.42 sys + 173.78 cusr 22.88 csys = 198.64 CPU)
Result: PASS

>>> Install spamassassin-3.4.0 into /var/tmp/portage/mail-filter/spamassassin-3.4.0/image/ category mail-filter