Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619800 - >=app-admin/rsyslog-8.26.0-r1 fails test dynstats_prevent_premature_eviction.sh
Summary: >=app-admin/rsyslog-8.26.0-r1 fails test dynstats_prevent_premature_eviction.sh
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Deutschmann (RETIRED)
URL: https://github.com/rsyslog/rsyslog/is...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 627718
  Show dependency tree
 
Reported: 2017-05-27 07:02 UTC by Markus Meier
Modified: 2019-04-18 21:15 UTC (History)
0 users

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


Attachments
app-admin:rsyslog-8.26.0-r1:20170526-191526.log (app-admin:rsyslog-8.26.0-r1:20170526-191526.log,371.30 KB, text/x-log)
2017-05-27 07:02 UTC, Markus Meier
Details
dynstats_prevent_premature_eviction.sh.log (dynstats_prevent_premature_eviction.sh.log,18.55 KB, text/x-log)
2017-05-27 10:08 UTC, Markus Meier
Details
app-admin:rsyslog-8.28.0:20170907-214814.log.gz (app-admin:rsyslog-8.28.0:20170907-214814.log.gz,43.30 KB, application/gzip)
2017-09-08 05:01 UTC, Markus Meier
Details
test-suite.log (test-suite.log,4.72 KB, text/x-log)
2017-09-10 07:13 UTC, Markus Meier
Details
test-suite_with_normaliz.log (test-suite.log,17.77 KB, text/x-log)
2017-09-12 04:46 UTC, Markus Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2017-05-27 07:02:18 UTC
Created attachment 474446 [details]
app-admin:rsyslog-8.26.0-r1:20170526-191526.log

* Package:    app-admin/rsyslog-8.26.0-r1
 * Repository: gentoo
 * Maintainer: whissi@gentoo.org
 * Upstream:   https://github.com/rsyslog/rsyslog/issues
 * USE:        arm elibc_glibc gcrypt kernel_linux ssl test userland_GNU uuid
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox

============================================================================
Testsuite summary for rsyslog 8.26.0
============================================================================
# TOTAL: 299
# PASS:  291
# SKIP:  7
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to rsyslog@lists.adiscon.com
============================================================================
make[3]: *** [Makefile:2302: test-suite.log] Error 1
make[3]: Leaving directory '/var/tmp/portage/app-admin/rsyslog-8.26.0-r1/work/rsyslog-8.26.0/tests'
make[2]: *** [Makefile:2410: check-TESTS] Error 2
make[2]: Leaving directory '/var/tmp/portage/app-admin/rsyslog-8.26.0-r1/work/rsyslog-8.26.0/tests'
make[1]: *** [Makefile:5316: check-am] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-admin/rsyslog-8.26.0-r1/work/rsyslog-8.26.0/tests'
make: *** [Makefile:808: check-recursive] Error 1
 * ERROR: app-admin/rsyslog-8.26.0-r1::gentoo failed (test phase):
 *   emake failed

Portage 2.3.5 (python 2.7.12-final-0, default/linux/arm/13.0/armv5te/desktop, gcc-5.4.0, glibc-2.23-r3, 3.10.25-gentoo armv5tel)
=================================================================
System uname: Linux-3.10.25-gentoo-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.3
KiB Mem:      513244 total,    157672 free
KiB Swap:    1535996 total,   1500780 free
Timestamp of repository gentoo: Tue, 23 May 2017 17:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc 3.2rc1 armv5tel-softfloat-linux-gnueabi [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.5-r2::gentoo, 1.6.3-r2::gentoo, 1.7.9-r3::gentoo, 1.8.5-r5::gentoo, 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://192.168.1.100/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /etc/omega.conf /etc/stunnel/stunnel.conf /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=armv5te -pipe"
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --with-bdeps=y --backtrack=3"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv jpeg kpathsea lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session spell ssl startup-notification svg tcpd test tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb v4 v5" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="exynos freedreno omap" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2017-05-27 09:04:50 UTC
I need the logs from the failing test.

Can you please show me 

  ${WORKDIR}/rsyslog-8.26.0/tests/dynstats_prevent_premature_eviction.sh.log


To speed things up:

1. cd /usr/portage/app-admin/rsyslog

2. ebuild rsyslog-8.26.0-r1.ebuild clean compile

3. Open ${WORKDIR}/rsyslog-8.26.0/tests/Makefile in your editor,
   rename "TESTS" variable to "TESTS2" and set a new TESTS variable
   like

     TESTS = $(am__append_16)

   I.e. make sure that TESTS is only set to the test package
   containing the failing test "dynstats_prevent_premature_eviction.sh".

4. ebuild rsyslog-8.26.0-r1.ebuild test

If the test failure is reproducible you should now see the failure again and should be able to provide the requested log file.
Comment 2 Markus Meier gentoo-dev 2017-05-27 10:08:17 UTC
Created attachment 474510 [details]
dynstats_prevent_premature_eviction.sh.log

here we go.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2017-05-27 10:12:12 UTC
OK. I'll have to contact upstream. Before I do that, can you please test rsyslog-8.27.0 as well so that we know the problem is still present?
Comment 4 Markus Meier gentoo-dev 2017-05-27 12:15:12 UTC
(In reply to Thomas Deutschmann from comment #3)
> OK. I'll have to contact upstream. Before I do that, can you please test
> rsyslog-8.27.0 as well so that we know the problem is still present?

hm, seems to pass in the newest version:
PASS: dynstats_prevent_premature_eviction.sh
Comment 5 Markus Meier gentoo-dev 2017-09-08 05:00:22 UTC
Okay with app-admin/rsyslog-8.28.0 I'm getting the following failures:
FAIL: dynstats_prevent_premature_eviction.sh
FAIL: mmnormalize_variable.sh
FAIL: mmnormalize_tokenized.sh

============================================================================
Testsuite summary for rsyslog 8.28.0
============================================================================
# TOTAL: 324
# PASS:  314
# SKIP:  7
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to rsyslog@lists.adiscon.com
============================================================================
Comment 6 Markus Meier gentoo-dev 2017-09-08 05:01:29 UTC
Created attachment 493196 [details]
app-admin:rsyslog-8.28.0:20170907-214814.log.gz
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2017-09-08 14:39:32 UTC
Can you please attach tests/test-suite.log?
Comment 8 Markus Meier gentoo-dev 2017-09-10 07:13:10 UTC
Created attachment 493646 [details]
test-suite.log
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2017-09-11 10:02:50 UTC
Your log doesn't show a failure in dynstats* test.

The other two failures are probably are probably caused by 

  mmnormalize module will be compiled:      no

I.e. tests are enabled which cannot run

> rsyslogd: could not load module '../plugins/mmnormalize/.libs/mmnormalize.so', dlopen: ../plugins/mmnormalize/.libs/mmnormalize.so: cannot open shared object file: No such file or directory  [v8.28.0 try http://www.rsyslog.com/e/2066 ]


While I look into this please retry with "normalize" USE flag set.
Comment 10 Markus Meier gentoo-dev 2017-09-12 04:46:49 UTC
Created attachment 494088 [details]
test-suite_with_normaliz.log

(In reply to Thomas Deutschmann from comment #9)
> Your log doesn't show a failure in dynstats* test.

yep, maybe this isn't reproducible.

> While I look into this please retry with "normalize" USE flag set.

here we go
Comment 11 Thomas Deutschmann (RETIRED) gentoo-dev 2017-09-12 17:16:08 UTC
dynstats_prevent_premature_eviction.sh failure reported upstream: https://github.com/rsyslog/rsyslog/issues/1774
Comment 12 Thomas Deutschmann (RETIRED) gentoo-dev 2017-09-24 17:52:12 UTC
(In reply to Thomas Deutschmann from comment #9)
> Your log doesn't show a failure in dynstats* test.
> 
> The other two failures are probably are probably caused by 
> 
>   mmnormalize module will be compiled:      no
> 
> I.e. tests are enabled which cannot run
> 
> > rsyslogd: could not load module '../plugins/mmnormalize/.libs/mmnormalize.so', dlopen: ../plugins/mmnormalize/.libs/mmnormalize.so: cannot open shared object file: No such file or directory  [v8.28.0 try http://www.rsyslog.com/e/2066 ]
> 
> 
> While I look into this please retry with "normalize" USE flag set.

The problem caused by running mmnormalize tests even when normalize USE flag wasn't set is now fixed via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a2a8f96bfc5aeb4d7e70786f14f97b99b060780
Comment 13 Thomas Deutschmann (RETIRED) gentoo-dev 2019-04-18 21:15:10 UTC
Closing as resolved, affected version is no longer available in Gentoo repository.