Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616182 - app-emulation/docker-17.04.0 fails to verify download
Summary: app-emulation/docker-17.04.0 fails to verify download
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tianon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-21 08:13 UTC by Manuel Warum
Modified: 2017-04-22 23:02 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Warum 2017-04-21 08:13:12 UTC
I have tried emerging app-emulation/docker-17.04.0 on my system but it fails to verify after download consistently.



# emerge --verbose app-emulation/docker

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-emulation/docker-17.04.0::gentoo  USE="aufs btrfs container-init device-mapper seccomp -apparmor -hardened -overlay -pkcs11" 6.860 KiB

Total: 1 package (1 new), Size of downloads: 6.860 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/docker-17.04.0::gentoo
>>> Downloading 'http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/docker-17.04.0.tar.gz'
--2017-04-21 10:02:37--  http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/docker-17.04.0.tar.gz
Resolving gd.tuwien.ac.at... 192.35.244.50
Connecting to gd.tuwien.ac.at|192.35.244.50|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-04-21 10:02:38 ERROR 404: Not Found.

>>> Downloading 'https://github.com/docker/docker/archive/v17.04.0-ce.tar.gz'
--2017-04-21 10:02:38--  https://github.com/docker/docker/archive/v17.04.0-ce.tar.gz
Resolving github.com... 192.30.253.113, 192.30.253.112
Connecting to github.com|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/moby/moby/archive/v17.04.0-ce.tar.gz [following]
--2017-04-21 10:02:39--  https://github.com/moby/moby/archive/v17.04.0-ce.tar.gz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/moby/moby/tar.gz/v17.04.0-ce [following]
--2017-04-21 10:02:39--  https://codeload.github.com/moby/moby/tar.gz/v17.04.0-ce
Resolving codeload.github.com... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7024578 (6,7M) [application/x-gzip]
Saving to: '/usr/portage/distfiles/docker-17.04.0.tar.gz'

/usr/portage/distfi 100%[===================>]   6,70M  5,37MB/s    in 1,2s

2017-04-21 10:02:41 (5,37 MB/s) - '/usr/portage/distfiles/docker-17.04.0.tar.gz' saved [7024578/7024578]

!!! Fetched file: docker-17.04.0.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      7024578
!!! Expected: 7023868
Refetching... File renamed to '/usr/portage/distfiles/docker-17.04.0.tar.gz._checksum_failure_.SckTDM'

!!! Couldn't download 'docker-17.04.0.tar.gz'. Aborting.
 * Fetch failed for 'app-emulation/docker-17.04.0', Log file:
 *  '/var/tmp/portage/app-emulation/docker-17.04.0/temp/build.log'



The problem is also present with =app-emulation/docker-17.03.1 on my system:




>>> Emerging (3 of 3) app-emulation/docker-17.03.1::gentoo
>>> Downloading 'http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/docker-17.03.1.tar.gz'
--2017-04-21 10:06:03--  http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/docker-17.03.1.tar.gz
Resolving gd.tuwien.ac.at... 192.35.244.50
Connecting to gd.tuwien.ac.at|192.35.244.50|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-04-21 10:06:03 ERROR 404: Not Found.

>>> Downloading 'https://github.com/docker/docker/archive/v17.03.1-ce.tar.gz'
--2017-04-21 10:06:03--  https://github.com/docker/docker/archive/v17.03.1-ce.tar.gz
Resolving github.com... 192.30.253.112, 192.30.253.113
Connecting to github.com|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/moby/moby/archive/v17.03.1-ce.tar.gz [following]
--2017-04-21 10:06:03--  https://github.com/moby/moby/archive/v17.03.1-ce.tar.gz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/moby/moby/tar.gz/v17.03.1-ce [following]
--2017-04-21 10:06:03--  https://codeload.github.com/moby/moby/tar.gz/v17.03.1-ce
Resolving codeload.github.com... 192.30.253.121, 192.30.253.120
Connecting to codeload.github.com|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7773988 (7,4M) [application/x-gzip]
Saving to: '/usr/portage/distfiles/docker-17.03.1.tar.gz'

/usr/portage/distfi 100%[===================>]   7,41M  6,05MB/s    in 1,2s

2017-04-21 10:06:06 (6,05 MB/s) - '/usr/portage/distfiles/docker-17.03.1.tar.gz' saved [7773988/7773988]

!!! Fetched file: docker-17.03.1.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      7773988
!!! Expected: 7773296
Refetching... File renamed to '/usr/portage/distfiles/docker-17.03.1.tar.gz._checksum_failure_.E2duuy'

!!! Couldn't download 'docker-17.03.1.tar.gz'. Aborting.
 * Fetch failed for 'app-emulation/docker-17.03.1', Log file:
 *  '/var/tmp/portage/app-emulation/docker-17.03.1/temp/build.log'

Reproducible: Always

Steps to Reproduce:
1. emerge app-emulation/docker-17.04.0::gentoo or app-emulation/docker-17.03.1::gentoo
Actual Results:  
!!! Fetched file: docker-17.04.0.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      7024578
!!! Expected: 7023868

!!! Fetched file: docker-17.03.1.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      7773988
!!! Expected: 7773296


Portage 2.3.5 (python 2.7.13-final-0, default/linux/amd64/13.0/systemd, gcc-5.4.0, glibc-2.24-r1, 4.10.11-gentoo x86_64)
=================================================================
System uname: Linux-4.10.11-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_N3050_@_1.60GHz-with-gentoo-2.3
KiB Mem:     3906352 total,   2479316 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Fri, 21 Apr 2017 08:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.8.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.25::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::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.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

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

fkmclane
    location: /var/lib/layman/fkmclane
    sync-type: laymansync
    sync-uri: git://github.com/fkmclane/overlay.git
    masters: gentoo
    priority: 50

godin
    location: /var/lib/layman/godin
    sync-type: laymansync
    sync-uri: git://github.com/Godin/gentoo-overlay.git
    masters: gentoo
    priority: 50

mrpdaemon
    location: /var/lib/layman/mrpdaemon
    sync-type: laymansync
    sync-uri: git://github.com/mrpdaemon/gentoo-overlay.git
    masters: gentoo
    priority: 50

salfter
    location: /var/lib/layman/salfter
    sync-type: laymansync
    sync-uri: https://gitlab.com/salfter/portage.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=native -mtune=native -fomit-frame-pointer"
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://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt curl cxx dbus dri ffmpeg fortran gdbm hpn iconv icu modules multilib ncurses netlink nls nptl opencl opengl openmp pam pcre readline seccomp session ssl systemd tcpd udev unicode xattr zeroconf 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="http2 alias auth_basic authn_core cgi dav dav_fs filter headers include mime rewrite substitute unique_id authz_core authz_host socache_shmcb file_cache cache" 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_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt ismindex pktdumper qt-faststart sidxindex trasher" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" LLVM_TARGETS="X86" NGINX_MODULES_HTTP="access auth_basic charset fastcgi gzip limit_conn limit_req map referer rewrite scgi ssi metrics stub_status" 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="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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jonas Stein gentoo-dev 2017-04-22 23:02:23 UTC
works for me. 
Can you test again, and test other versions too, if it still fails?

/usr/portage/app-emulation/docker$ ebuild docker-17.04.0.ebuild fetch

[..]
HTTP request sent, awaiting response... 200 OK
Length: 7023868 (6.7M) [application/octet-stream]
Saving to: ‘/usr/portage/distfiles/docker-17.04.0.tar.gz’

/usr/portage/distfi 100%[===================>]   6.70M  1.88MB/s    in 3.6s    

2017-04-23 00:58:22 (1.88 MB/s) - ‘/usr/portage/distfiles/docker-17.04.0.tar.gz’ saved [7023868/7023868]

 * docker-17.04.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...            [ ok ]