Bug #11612

Cannot import needed packages into the new tagged APT snapshot at point-release time

Added by intrigeri 2016-07-31 09:16:47 . Updated 2016-09-20 16:47:41 .

Status:
Resolved
Priority:
High
Assignee:
Category:
Infrastructure
Target version:
Start date:
2016-07-31
Due date:
% Done:

100%

Feature Branch:
bugfix/11612-tagged-APT-snapshot-for-point-release
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:
269

Description

When running ./bin/tag-apt-snapshots as part of the Tails 2.5 release process, I’m told:

I: detected origin: debian with reference: 2016073103
[...]
W: some packages were not found anywhere:
 - base-files/8+deb8u4/i386/binary
 - dmeventd/2:1.02.90-2.2/i386/binary
 - dmsetup/2:1.02.90-2.2/i386/binary
 - electrum/2.6.3-1/all/binary
 - evince-common/3.14.1-2/all/binary
 - evince/3.14.1-2/i386/binary

The build manifest contains:

origin_references:
  debian:
    reference: '2016073103'

… because config/APT_snapshots.d/debian/serial contains “latest”, which in this context means “do what I mean”, that is stick to previous release’s tagged snapshot (auto/scripts/apt-mirror)… except the part of our build system that creates the build manifest does not know about this convention.

And anyway, even if the build manifest pointed to the right place, i.e. the previous release’s (2.4) tagged APT snapshot, which is the only place where the missing packages are as of today: tails-prepare-tagged-apt-snapshot-import in its current shape does not know how to generate a configuration that pulls from there.

One option could be to modify how we deal with point-releases: when releasing, instead of using the aforementioned “latest” convention, on the stable branch we could keep pointing to the actual time-based snapshots we need for the next point-releases (in this case: 2016052503) and prevent them from being garbage-collected until next major release.


Subtasks


History

#1 Updated by intrigeri 2016-07-31 09:20:24

  • Description updated

#2 Updated by intrigeri 2016-08-28 05:04:45

  • blocked by Feature #11448: Write helper tools for APT repository freeze exceptions added

#3 Updated by intrigeri 2016-08-28 05:04:53

  • Feature Branch set to bugfix/11612-tagged-APT-snapshot-for-point-release

#4 Updated by intrigeri 2016-08-28 06:24:05

  • blocks deleted (Feature #11448: Write helper tools for APT repository freeze exceptions)

#5 Updated by intrigeri 2016-08-28 07:12:48

  • Status changed from Confirmed to In Progress
  • Assignee changed from intrigeri to anonym
  • % Done changed from 0 to 50
  • QA Check set to Ready for QA

Please merge into devel, but not into stable as this would break its build currently (we’ve lost the time-based APT snapshots it should use, so we can’t encode them).

#6 Updated by anonym 2016-08-28 11:37:51

  • Status changed from In Progress to Fix committed
  • Assignee deleted (anonym)
  • % Done changed from 50 to 100
  • QA Check changed from Ready for QA to Pass

#7 Updated by anonym 2016-09-20 16:47:41

  • Status changed from Fix committed to Resolved