Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631372 - snapshot 20180304 missing — http://distfiles.gentoo.org/snapshots/
Summary: snapshot 20180304 missing — http://distfiles.gentoo.org/snapshots/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Infrastructure
URL: http://distfiles.gentoo.org/snapshots/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-19 05:40 UTC by charles17
Modified: 2018-03-07 19:37 UTC (History)
3 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 charles17 2017-09-19 05:40:04 UTC
Fetching most recent snapshot ...
Trying to retrieve 20170918 snapshot from http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo ...
Fetching file portage-20170918.tar.bz2.md5sum ...

Redirecting output to 'wget-log'.
Fetching file portage-20170918.tar.gz.md5sum ...
Comment 1 charles17 2017-09-20 06:04:06 UTC
Working again.  So it seems just one day was skipped?
Comment 2 Branko Grubic 2018-03-05 17:08:30 UTC
We are again missing snapshot for 20180304, I see infra-status.g.o isn't green. Since this bug is not closed, I'll re-use it (if someone could change its summary please?)
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2018-03-06 01:28:04 UTC
(In reply to Branko Grubic from comment #2)
> We are again missing snapshot for 20180304, I see infra-status.g.o isn't
> green. Since this bug is not closed, I'll re-use it (if someone could change
> its summary please?)

The box was dead over night so it did not generate a snapshot.

I presume it will generate one for the next day.
Comment 4 Branko Grubic 2018-03-06 06:27:55 UTC
Hi Alec,

Snapshot is missing this morning again. Can someone trigger it manually for now? It would be nice if possible to run the job few times a day, in case machine was down ..., so it could generate a missing snapshot?
Comment 5 Alec Warner (RETIRED) archtester gentoo-dev Security 2018-03-06 15:51:26 UTC
(In reply to Branko Grubic from comment #4)
> Hi Alec,
> 
> Snapshot is missing this morning again. Can someone trigger it manually for
> now? It would be nice if possible to run the job few times a day, in case
> machine was down ..., so it could generate a missing snapshot?

I will generate a snapshot for 0305 (today.)

There will not be snapshots for previous days; I think that is OK (the delta will be bigger but clients should use the latest snapshot.)

We can certainly modify the script to not require manual action during downtime (its a fairly trivial change.)

I'm less convinced its a great idea to try 3-4 times to make a snapshot (I'd rather skip a day and just make one the next day, rather than make the script over complicated.) But I'll discuss it with the team.
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2018-03-06 16:00:13 UTC
I filed: https://bugs.gentoo.org/649754 for some scripting improvements.
Comment 7 Branko Grubic 2018-03-06 17:15:58 UTC
Hi Alec,

It seems that today's snapshot isn't good, I tried it, gpg verification passed, but then tar complained. Since this is detached gpg signature of tar archive I guess there is no need to re-verify checksums, if something changes signature verification will fail as well?

Fetching most recent snapshot ...
Trying to retrieve 20180305 snapshot from http://mirror.yandex.ru/gentoo-distfiles ...
Fetching file portage-20180305.tar.xz.md5sum ...
Fetching file portage-20180305.tar.xz.gpgsig ...
Fetching file portage-20180305.tar.xz ...
Checking digest ...
Checking signature ...
gpg: Signature made Tue 06 Mar 2018 04:52:37 PM CET
gpg:                using RSA key E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
gpg: Good signature from "Gentoo Portage Snapshot Signing Key (Automated Signing Key)" [ultimate]
Getting snapshot timestamp ...
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Syncing local tree ...
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
emerge-webrsync: error: tar failed to extract the image. tarball is corrupt? (/var/tmp/portage/webrsync-Hb9bTN/portage-20180305.tar.xz)
Comment 8 Alec Warner (RETIRED) archtester gentoo-dev Security 2018-03-06 18:24:49 UTC
(In reply to Branko Grubic from comment #7)
> Hi Alec,
> 
> It seems that today's snapshot isn't good, I tried it, gpg verification
> passed, but then tar complained. Since this is detached gpg signature of tar
> archive I guess there is no need to re-verify checksums, if something
> changes signature verification will fail as well?
> 
> Fetching most recent snapshot ...
> Trying to retrieve 20180305 snapshot from
> http://mirror.yandex.ru/gentoo-distfiles ...
> Fetching file portage-20180305.tar.xz.md5sum ...
> Fetching file portage-20180305.tar.xz.gpgsig ...
> Fetching file portage-20180305.tar.xz ...
> Checking digest ...
> Checking signature ...
> gpg: Signature made Tue 06 Mar 2018 04:52:37 PM CET
> gpg:                using RSA key E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
> gpg: Good signature from "Gentoo Portage Snapshot Signing Key (Automated
> Signing Key)" [ultimate]
> Getting snapshot timestamp ...
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> Syncing local tree ...
> tar: Unexpected EOF in archive
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> emerge-webrsync: error: tar failed to extract the image. tarball is corrupt?
> (/var/tmp/portage/webrsync-Hb9bTN/portage-20180305.tar.xz)

Ack, I can't work on it for a while (at the office) but I'll poke it again tonight.
Comment 9 Alec Warner (RETIRED) archtester gentoo-dev Security 2018-03-07 01:08:45 UTC
(In reply to Alec Warner from comment #8)
> (In reply to Branko Grubic from comment #7)
> > Hi Alec,
> > 
> > It seems that today's snapshot isn't good, I tried it, gpg verification
> > passed, but then tar complained. Since this is detached gpg signature of tar
> > archive I guess there is no need to re-verify checksums, if something
> > changes signature verification will fail as well?
> > 
> > Fetching most recent snapshot ...
> > Trying to retrieve 20180305 snapshot from
> > http://mirror.yandex.ru/gentoo-distfiles ...
> > Fetching file portage-20180305.tar.xz.md5sum ...
> > Fetching file portage-20180305.tar.xz.gpgsig ...
> > Fetching file portage-20180305.tar.xz ...
> > Checking digest ...
> > Checking signature ...
> > gpg: Signature made Tue 06 Mar 2018 04:52:37 PM CET
> > gpg:                using RSA key E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
> > gpg: Good signature from "Gentoo Portage Snapshot Signing Key (Automated
> > Signing Key)" [ultimate]
> > Getting snapshot timestamp ...
> > tar: Unexpected EOF in archive
> > tar: Error is not recoverable: exiting now
> > Syncing local tree ...
> > tar: Unexpected EOF in archive
> > tar: Unexpected EOF in archive
> > tar: Error is not recoverable: exiting now
> > emerge-webrsync: error: tar failed to extract the image. tarball is corrupt?
> > (/var/tmp/portage/webrsync-Hb9bTN/portage-20180305.tar.xz)
> 
> Ack, I can't work on it for a while (at the office) but I'll poke it again
> tonight.

Ok I think I determined why the tarball was cutoff (error on my part.) I've wiped the snapshots and redid them. Maybe wait 30-60 minutes for mirror propagation and try again.

I'm also working on some script changes to make the mirror scripts somewhat less error prone.
Comment 10 Branko Grubic 2018-03-07 06:56:58 UTC
(In reply to Alec Warner from comment #9)
...
> 
> Ok I think I determined why the tarball was cutoff (error on my part.) I've
> wiped the snapshots and redid them. Maybe wait 30-60 minutes for mirror
> propagation and try again.
> 
> I'm also working on some script changes to make the mirror scripts somewhat
> less error prone.

Thank you Alec, latest snapshot is OK!
Comment 11 Alec Warner (RETIRED) archtester gentoo-dev Security 2018-03-07 19:37:28 UTC
(In reply to Branko Grubic from comment #10)
> (In reply to Alec Warner from comment #9)
> ...
> > 
> > Ok I think I determined why the tarball was cutoff (error on my part.) I've
> > wiped the snapshots and redid them. Maybe wait 30-60 minutes for mirror
> > propagation and try again.
> > 
> > I'm also working on some script changes to make the mirror scripts somewhat
> > less error prone.
> 
> Thank you Alec, latest snapshot is OK!

Great thanks, I'll push script updates in the other bug I mentioned to try to avoid it breaking in the future.

-A