Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631112 - app-backup/restic-0.7.1 fails tests on arm
Summary: app-backup/restic-0.7.1 fails tests on arm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Roman
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-09-16 06:37 UTC by Markus Meier
Modified: 2017-10-03 22:07 UTC (History)
1 user (show)

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


Attachments
app-backup:restic-0.7.1:20170915-220650.log (app-backup:restic-0.7.1:20170915-220650.log,376.47 KB, text/x-log)
2017-09-16 06:37 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-09-16 06:37:46 UTC
Created attachment 494740 [details]
app-backup:restic-0.7.1:20170915-220650.log

* Package:    app-backup/restic-0.7.1
 * Repository: gentoo
 * Maintainer: davidroman96@gmail.com proxy-maint@gentoo.org
 * USE:        arm elibc_glibc kernel_linux test userland_GNU
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox

trap    0x6
error   0x0
oldmask 0x0
r0      0x76808c
r1      0x0
r2      0x0
r3      0x0
r4      0x0
r5      0x0
r6      0x1
r7      0xf0
r8      0x767fe0
r9      0x1
r10     0x767ae8
fp      0x0
ip      0x80000
sp      0xbef3fe28
lr      0x3b62c
pc      0x6be20
cpsr    0x20040010
fault   0x0
*** Test killed with quit: ran too long (10m0s).
FAIL    cmds/restic     600.110s
 * ERROR: app-backup/restic-0.7.1::gentoo failed (test phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_test
 *   environment, line 308:  Called die
 * The specific snippet of code:
 *       GOPATH="${S}:${S}/vendor" go test -v -work -x restic/... cmds/... || die

Portage 2.3.8 (python 2.7.13-final-0, default/linux/arm/13.0/armv7a/desktop, gcc-6.3.0, glibc-2.25-r4, 3.13.6 armv7l)
=================================================================
System uname: Linux-3.13.6-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.4.1
KiB Mem:      505312 total,     78652 free
KiB Swap:    2097148 total,   2088204 free
Timestamp of repository gentoo: Fri, 15 Sep 2017 19:00:01 +0000
Head commit of repository gentoo: 638b9f87e8d55c88b3c82ce550349098c27f30f3
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo
dev-util/cmake:           3.9.1::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.29::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.27::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            6.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r4::gentoo
Repositories:

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

maekke
    location: /home/maekke/git/maekke
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/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 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard"
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs=2 --keep-going --backtrack=3"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict 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=armv7-a"
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 arm armv5te armv6 armv6t2 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 ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses neon nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl seccomp session spell ssl startup-notification svg tcpd 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 thumb2 v4 v5 v6 v7 vfp" 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" LINGUAS="en" LLVM_TARGETS="ARM" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev dummy" 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
Comment 1 David Roman 2017-09-19 16:08:24 UTC
Go by default have a timeout of 10m for the tests, seems that these error occurs because of a hardware limitation, increasing the timeout to something like 30m fixes that error for me (on a raspberry pi3).

There are another error with the tests, with only 1GB of RAM the tests crashes with an out of memory error.

I will make a PR increasing the timeout for the tests.
Comment 2 Larry the Git Cow gentoo-dev 2017-10-03 22:07:45 UTC
The bug has been closed via the following commit(s):

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

commit c1386924e0fea7b6fad54e3d38a6d8fa9390e31f
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2017-09-20 19:59:36 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-10-03 22:07:25 +0000

    app-backup/restic: version bump to 0.7.3.
    
    Closes: https://bugs.gentoo.org/631112
    Closes: https://github.com/gentoo/gentoo/pull/5742

 app-backup/restic/Manifest            |  1 +
 app-backup/restic/restic-0.7.3.ebuild | 62 +++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)