Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571516 - media-libs/lensfun-0.3.2 fails test 1 - Database (OTHER_FAULT) - tests/test_database.cpp:29:void test_DB_lens_search(lfFixture*, gconstpointer): 'lenses' should not be NULL
Summary: media-libs/lensfun-0.3.2 fails test 1 - Database (OTHER_FAULT) - tests/test_d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 647060
  Show dependency tree
 
Reported: 2016-01-10 22:28 UTC by eroen
Modified: 2018-02-27 16:49 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,41.90 KB, text/plain)
2016-01-10 22:28 UTC, eroen
Details
LastTest.log (LastTest.log,52.21 KB, text/plain)
2016-01-10 22:29 UTC, eroen
Details
emerge-info.txt (emerge-info.txt,16.26 KB, text/plain)
2017-09-09 16:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,213.58 KB, text/plain)
2017-09-09 16:14 UTC, Toralf Förster
Details
environment (environment,154.96 KB, text/plain)
2017-09-09 16:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.69 KB, application/x-bzip)
2017-09-09 16:14 UTC, Toralf Förster
Details
LastTest.log (LastTest.log,52.23 KB, text/plain)
2017-09-09 16:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.60 KB, application/x-bzip)
2017-09-09 16:14 UTC, Toralf Förster
Details
media-libs:lensfun-0.3.2:20170909-132531.log (media-libs:lensfun-0.3.2:20170909-132531.log,45.10 KB, text/plain)
2017-09-09 16:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,38.01 KB, application/x-bzip)
2017-09-09 16:14 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,45.20 KB, application/x-bzip)
2017-09-09 16:14 UTC, Toralf Förster
Details
build.log on x86 (build.log,52.69 KB, text/plain)
2018-02-09 21:29 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2016-01-10 22:28:03 UTC
Created attachment 422528 [details]
build.log

>>> Test phase: media-libs/lensfun-0.3.2
>>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/lensfun-0.3.2/work/lensfun-0.3.2_build"
Test project /var/tmp/portage/media-libs/lensfun-0.3.2/work/lensfun-0.3.2_build
    Start 1: Database
1/8 Test #1: Database .........................***Exception: Other  0.00 sec
    Start 2: Modifier
2/8 Test #2: Modifier .........................   Passed    0.01 sec
    Start 3: Modifier_color
3/8 Test #3: Modifier_color ...................   Passed    0.19 sec
    Start 4: Modifier_subpix
4/8 Test #4: Modifier_subpix ..................   Passed    0.04 sec
    Start 5: Modifier_coord_scale
5/8 Test #5: Modifier_coord_scale .............   Passed    0.02 sec
    Start 6: Modifier_coord_distortion
6/8 Test #6: Modifier_coord_distortion ........   Passed    0.04 sec
    Start 7: Modifier_coord_geometry
7/8 Test #7: Modifier_coord_geometry ..........   Passed   11.78 sec
    Start 8: Database_integrity
8/8 Test #8: Database_integrity ...............   Passed    0.06 sec

88% tests passed, 1 tests failed out of 8

Total Test time (real) =  12.15 sec

The following tests FAILED:
	  1 - Database (OTHER_FAULT)
Errors while running CTest
 * ERROR: media-libs/lensfun-0.3.2::gentoo failed (test phase):
 *   Tests failed. When you file a bug, please attach the following file: 
 * 	/var/tmp/portage/media-libs/lensfun-0.3.2/work/lensfun-0.3.2_build/Testing/Temporary/LastTest.log
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_test
 *   environment, line 3772:  Called cmake-utils_src_test
 *   environment, line  818:  Called _execute_optionally 'src_test'
 *   environment, line  234:  Called enable_cmake-utils_src_test
 *   environment, line 1190:  Called die
 * The specific snippet of code:
 *               die "Tests failed. When you file a bug, please attach the following file: 
 * 	${BUILD_DIR}/Testing/Temporary/LastTest.log";
Comment 1 eroen 2016-01-10 22:29:18 UTC
Created attachment 422530 [details]
LastTest.log

1/8 Testing: Database
1/8 Test: Database
Command: "/var/tmp/portage/media-libs/lensfun-0.3.2/work/lensfun-0.3.2_build/tests/test_database"
Directory: /var/tmp/portage/media-libs/lensfun-0.3.2/work/lensfun-0.3.2_build/tests
"Database" start time: Jan 10 22:20 UTC
Output:
----------------------------------------------------------
**
ERROR:/var/tmp/portage/media-libs/lensfun-0.3.2/work/lensfun-0.3.2/tests/test_database.cpp:29:void test_DB_lens_search(lfFixture*, gconstpointer): 'lenses' should not be NULL
/database/lens search: 
<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Failed.
"Database" end time: Jan 10 22:20 UTC
"Database" time elapsed: 00:00:00
----------------------------------------------------------
Comment 2 eroen 2016-01-10 22:30:35 UTC
localhost ~ # emerge --info '=media-libs/lensfun-0.3.2::gentoo' 
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.1.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     2048344 total,   1757764 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 10 Jan 2016 00:45:02 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" 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" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

localhost ~ # emerge -pqv '=media-libs/lensfun-0.3.2::gentoo'
[ebuild  N    ] media-libs/lensfun-0.3.2  USE="{test} -doc" CPU_FLAGS_X86="sse sse2" PYTHON_SINGLE_TARGET="python3_4 -python3_3 -python3_5" PYTHON_TARGETS="python3_4 -python3_3 -python3_5" 

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 3 Toralf Förster gentoo-dev 2017-09-09 16:14:23 UTC
appeared recently at the tinderbox image 20170909-152718_media-libs_lensfun-0.3.2
Comment 4 Toralf Förster gentoo-dev 2017-09-09 16:14:26 UTC
Created attachment 493526 [details]
emerge-info.txt
Comment 5 Toralf Förster gentoo-dev 2017-09-09 16:14:29 UTC
Created attachment 493528 [details]
emerge-history.txt
Comment 6 Toralf Förster gentoo-dev 2017-09-09 16:14:32 UTC
Created attachment 493530 [details]
environment
Comment 7 Toralf Förster gentoo-dev 2017-09-09 16:14:35 UTC
Created attachment 493532 [details]
etc.portage.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-09-09 16:14:38 UTC
Created attachment 493534 [details]
LastTest.log
Comment 9 Toralf Förster gentoo-dev 2017-09-09 16:14:41 UTC
Created attachment 493536 [details]
logs.tbz2
Comment 10 Toralf Förster gentoo-dev 2017-09-09 16:14:44 UTC
Created attachment 493538 [details]
media-libs:lensfun-0.3.2:20170909-132531.log
Comment 11 Toralf Förster gentoo-dev 2017-09-09 16:14:48 UTC
Created attachment 493540 [details]
temp.tbz2
Comment 12 Toralf Förster gentoo-dev 2017-09-09 16:14:51 UTC
Created attachment 493542 [details]
tests.tbz2
Comment 13 ernsteiswuerfel archtester 2017-12-05 19:41:24 UTC
Got hit by this bug on ppc too.
Comment 14 Andreas Sturmlechner gentoo-dev 2017-12-25 23:18:19 UTC
Works for me with media-libs/lensfun-0.3.2-r1, can you check?
Comment 15 Sergei Trofimovich (RETIRED) gentoo-dev 2017-12-29 17:32:45 UTC
(In reply to Andreas Sturmlechner from comment #14)
> Works for me with media-libs/lensfun-0.3.2-r1, can you check?

Fails for me on ~amd64.
Comment 16 Rolf Eike Beer archtester 2018-02-08 22:20:59 UTC
Fails also on sparc.
Comment 17 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-09 21:29:40 UTC
Created attachment 518870 [details]
build.log on x86

Also failing on x86:

> 1/8 Test: Database
> Command: "/var/tmp/portage/media-libs/lensfun-0.3.2-r1/work/lensfun-0.3.2_build/tests/test_database"
> Directory: /var/tmp/portage/media-libs/lensfun-0.3.2-r1/work/lensfun-0.3.2_build/tests
> "Database" start time: Feb 09 22:21 CET
> Output:
> ----------------------------------------------------------
> /database/lens search: **
> ERROR:/var/tmp/portage/media-libs/lensfun-0.3.2-r1/work/lensfun-0.3.2/tests/test_database.cpp:29:void test_DB_lens_searc
> h(lfFixture*, gconstpointer): 'lenses' should not be NULL
> <end of output>
> Test time =   0.13 sec
> ----------------------------------------------------------
> Test Failed.
> "Database" end time: Feb 09 22:21 CET
> "Database" time elapsed: 00:00:00
> ----------------------------------------------------------


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,   1647788 free
KiB Swap:     488276 total,    488276 free
Timestamp of repository gentoo: Fri, 09 Feb 2018 18:13:20 +0000
Head commit of repository gentoo: c8549750c57fba05c148f2ad69ca3b26157e0afe

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/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"
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"
OLDPWD="/root"
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="/tmp/stable"
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,5009,0"
TMUX_PANE="%0"
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 18 Sergei Trofimovich (RETIRED) gentoo-dev 2018-02-10 18:50:26 UTC
same failure on ia64
Comment 19 Sergei Trofimovich (RETIRED) gentoo-dev 2018-02-24 09:45:24 UTC
I had a look at it today. The test fails because it tries to load database at already installed /var/.../something path.

If you already have installed version of the same library test will pass. Otherwise it fails to load database and does not find any lens descriptions.
Comment 20 Markus Meier gentoo-dev 2018-02-27 16:49:40 UTC
(In reply to Sergei Trofimovich from comment #19)
> I had a look at it today. The test fails because it tries to load database
> at already installed /var/.../something path.
> 
> If you already have installed version of the same library test will pass.
> Otherwise it fails to load database and does not find any lens descriptions.

Thanks for the hint! Should be fixed with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57481f37a9cd686213354476a54cb10f2ab8449f