Debian Bug report logs - #899162
vitrage: please make the build reproducible

version graph

Package: src:vitrage; Maintainer for src:vitrage is Debian OpenStack <team+openstack@tracker.debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Sun, 20 May 2018 07:06:02 UTC

Severity: wishlist

Tags: patch

Found in version vitrage/2.2.0-1

Fixed in version vitrage/3.1.0-1.1

Done: Thomas Goirand <zigo@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, unknown-package@qa.debian.org:
Bug#899162; Package src:vitrage. (Sun, 20 May 2018 07:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, unknown-package@qa.debian.org. (Sun, 20 May 2018 07:06:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: vitrage: please make the build reproducible
Date: Sun, 20 May 2018 08:02:23 +0100
[Message part 1 (text/plain, inline)]
Source: vitrage
Version: 2.2.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that vitrage could not be built reproducibly due to it using a
set data structure to generate the sample configuration.

Patch attached.

The alternative would be to patch oslo-config-generator but that would
require something like:

  choices = ...
  # Only sort sets
  if isinstance(choices, set):
      choices = list(sorted(choices))
  for x in choices:
      # ...

… as we can't sort in all cases as that would *re*-order lists and
other deterministic data structures.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[vitrage.diff.txt (text/plain, attachment)]

Reply sent to Thomas Goirand <zigo@debian.org>:
You have taken responsibility. (Fri, 31 Aug 2018 10:54:03 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Fri, 31 Aug 2018 10:54:03 GMT) (full text, mbox, link).


Message #10 received at 899162-close@bugs.debian.org (full text, mbox, reply):

From: Thomas Goirand <zigo@debian.org>
To: 899162-close@bugs.debian.org
Subject: Bug#899162: fixed in vitrage 3.1.0-1.1
Date: Fri, 31 Aug 2018 10:50:12 +0000
Source: vitrage
Source-Version: 3.1.0-1.1

We believe that the bug you reported is fixed in the latest version of
vitrage, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 899162@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated vitrage package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 31 Aug 2018 12:04:41 +0200
Source: vitrage
Binary: python3-vitrage vitrage-api vitrage-collector vitrage-common vitrage-doc vitrage-graph vitrage-ml vitrage-notifier vitrage-persistor vitrage-snmp-parsing
Architecture: source all
Version: 3.1.0-1.1
Distribution: experimental
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Description:
 python3-vitrage - OpenStack RCA as a Service - Python libs
 vitrage-api - OpenStack RCA as a Service - API server
 vitrage-collector - OpenStack RCA as a Service - Collector service
 vitrage-common - OpenStack RCA as a Service - metapackage
 vitrage-doc - OpenStack RCA as a Service - documentation
 vitrage-graph - OpenStack RCA as a Service - Graph service
 vitrage-ml - OpenStack RCA as a Service - Machine Learning Service
 vitrage-notifier - OpenStack RCA as a Service - Notifier Service
 vitrage-persistor - OpenStack RCA as a Service - Persistor Service
 vitrage-snmp-parsing - OpenStack RCA as a Service - SNMP Parsing Service
Closes: 899162
Changes:
 vitrage (3.1.0-1.1) experimental; urgency=medium
 .
   [ Michal Arbet ]
   * New upstream release
   * Add reproducible-build.patch (Closes: #899162).
   * Fixed (build-)depends for this release.
 .
   [ Ondřej Nový ]
   * d/control: Use team+openstack@tracker.debian.org as maintainer
 .
   [ Thomas Goirand ]
   * Only run unit tests, not functional.
   * Blacklist failing tests:
     - evaluator.test_scenario_repository.ScenarioRepositoryTest()
     - test_scenario_repository.RegExTemplateTest.test_regex_with_exact_match()
Checksums-Sha1:
 e8305e45745fea52bd268c593478a0a2b24de41d 4336 vitrage_3.1.0-1.1.dsc
 4704713efca16b369a1bda1533dbda2f48f28c2e 1600456 vitrage_3.1.0.orig.tar.xz
 b0d3a95cdfd0944578138c79c6d4ec8c4bc9fdd5 6028 vitrage_3.1.0-1.1.debian.tar.xz
 2aa5832560dca53f4238a010933202ea7a2e6c22 227384 python3-vitrage_3.1.0-1.1_all.deb
 9598933224de08188aa54a274ff3d15868fb277e 18720 vitrage-api_3.1.0-1.1_all.deb
 5c979d8e8a9ed4003760428b44589096a025bb53 5396 vitrage-collector_3.1.0-1.1_all.deb
 634afd0ebff035b567b2e07b7c8704b4555c7a50 35676 vitrage-common_3.1.0-1.1_all.deb
 60914c08ab86b5caf52c133f64b6e8e67fe765cb 2249948 vitrage-doc_3.1.0-1.1_all.deb
 e4696be2225087db1e8b724fc84e3590b8307ba6 5388 vitrage-graph_3.1.0-1.1_all.deb
 75f7bdc0c522389607db87fb549df0f6159e50b2 5412 vitrage-ml_3.1.0-1.1_all.deb
 b9e5d9a3ef869266460010f51054ca178e3130e7 5392 vitrage-notifier_3.1.0-1.1_all.deb
 75ffbc5b54d968625ff04e40132d9a2a63f138ac 5396 vitrage-persistor_3.1.0-1.1_all.deb
 8d38b68c496d6e44f08045c03005088a90887873 5412 vitrage-snmp-parsing_3.1.0-1.1_all.deb
 01f1566d22201d1e02eb6b486b70a37d67f14e04 16658 vitrage_3.1.0-1.1_amd64.buildinfo
Checksums-Sha256:
 eb2e6890668b9f017247cf9590f4d29080f3794b64e956e79aaa6f06120944b4 4336 vitrage_3.1.0-1.1.dsc
 8e9dd486177e7539abc70a4992e1395ba1b553f1c15b61e5f196407e13f1d639 1600456 vitrage_3.1.0.orig.tar.xz
 64351e39971f5d95bc4b20f7cf1b3f31a2ca19f802ad14706589f1dba187fdff 6028 vitrage_3.1.0-1.1.debian.tar.xz
 b43cce268767a8ba0409a6b96b987835de810b1401f376dc53e75abd3acd0727 227384 python3-vitrage_3.1.0-1.1_all.deb
 449bec3f206808113b22a76dd6733b7e6b5a833e4371101f73b7cf7774b378a8 18720 vitrage-api_3.1.0-1.1_all.deb
 df501fa18ac511a1ec8c4af8bda4f67cee90db4b983b3b091edc44cfd86ee2af 5396 vitrage-collector_3.1.0-1.1_all.deb
 a00cf090c2043fa19d1f8f6bd07d30e5a01f9258b3b8743ed1f596aab772b035 35676 vitrage-common_3.1.0-1.1_all.deb
 ade6203029a9151e7e47f006ea14fd8e6a42fe6add10e0fdd9c6a32229bd8987 2249948 vitrage-doc_3.1.0-1.1_all.deb
 4eaf7fc8d5dcc93ba9fe7c86d67eb89f43786dbafb82403465a4c3da7e65526f 5388 vitrage-graph_3.1.0-1.1_all.deb
 8a5a843eca17835785814efd8033139bd6f79c14af126e6690406c1c5836d666 5412 vitrage-ml_3.1.0-1.1_all.deb
 369468c3343ccff5e276cdf966643fb2fa5faea73a86e021c2887d7d7c5d6089 5392 vitrage-notifier_3.1.0-1.1_all.deb
 f7f94911dadb541f766a07b01a960b6919b3e0b689258b975b0715ca66fd2b2f 5396 vitrage-persistor_3.1.0-1.1_all.deb
 7814860724a4803e30c2d285ef29516c797e1ad5258324b4456f69965a4207b5 5412 vitrage-snmp-parsing_3.1.0-1.1_all.deb
 bd7eee419d891fcc54c67359aadd3908e64311b33bd006330e168bd6b03fc2b3 16658 vitrage_3.1.0-1.1_amd64.buildinfo
Files:
 2fe0274c955c0b1615b52abefbb9f477 4336 net optional vitrage_3.1.0-1.1.dsc
 63e9cd27a75e0ac9392089237331f62e 1600456 net optional vitrage_3.1.0.orig.tar.xz
 bc0615828c25356519a526af8a0e0e51 6028 net optional vitrage_3.1.0-1.1.debian.tar.xz
 439ee62b1c2c3e9ccbabe9b9876a41df 227384 python optional python3-vitrage_3.1.0-1.1_all.deb
 d12af6e23a7186500b73b2b4f19be024 18720 net optional vitrage-api_3.1.0-1.1_all.deb
 fe52cff1df25364340eb77fc5ac428af 5396 net optional vitrage-collector_3.1.0-1.1_all.deb
 696ad146d82c0c567253e4d2fce2c91e 35676 net optional vitrage-common_3.1.0-1.1_all.deb
 15dd6078ed0f51eedad487fa510a933c 2249948 doc optional vitrage-doc_3.1.0-1.1_all.deb
 f287efc75864667655bcc8bd77b81440 5388 net optional vitrage-graph_3.1.0-1.1_all.deb
 459245adda73e81a2fab4381d26ea89e 5412 net optional vitrage-ml_3.1.0-1.1_all.deb
 e2deb8df87dd28bd6f4a7215adcc5a29 5392 net optional vitrage-notifier_3.1.0-1.1_all.deb
 71e3c2caceb3efb340be82cabcdc1ee9 5396 net optional vitrage-persistor_3.1.0-1.1_all.deb
 3b0e543ea5afbb374bf4322d2c9cd387 5412 net optional vitrage-snmp-parsing_3.1.0-1.1_all.deb
 76429d31318b3af10af2c76f39ddcd1b 16658 net optional vitrage_3.1.0-1.1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAluJGZAACgkQq1PlA1ho
d6apGQ//Ur9QuLaNMTtfH97E411hZUY8RAW3rATN+tenRXFbFfeBhKcMNNxZm4a2
jdPlqaubMxQpYiM78p9Sy3q4mIyE/zQXnfQ8AXK69IXuhlY6WXSv6PTkEs3cm51l
/+qj/sTAkTLPF2Rz692vfFEL5KF2dRrzlHKm+X96RkZtSdUU+nmTw+mui82fYJL3
jQhcf8go2m47do4HkEVh/DlK1+kKFQM02PPyc0ORbVBiirulqVqIfTZUf9gOXTEX
yrk8/3IXQ1O9AIGigHzNkiryx198AnV7UF+x4Ci4WOFkx3iUkpUTVFb18VUbzYMb
n/TaCHABr3wA21Cgns/1RKOZk+O9iCE43SqioUQ5U7tt4b6tq3YF6prpEO411bUu
aORT+PM41lyRaSdcMDGFELQ5LHC3SCK1AcH1sQMdT47HIEgfbC6KSl5CKxzcSrcX
KnqZNEJ3l+q9rbUiXxfVughxypTABFjutfGwDOShmtKIwknPpkO0Iu898lo1hG18
332Ol40lzd3ypBUJ75cNbuQy1rhM4Jyqi/rx9Wa15KdAXLejKfXrrW7itWtDFmE8
KyM0ukYSW0SWhVoOk0FKeRk8lCHqcDXuTquUmpa89WHRnriEvU4hzKK0yLW0341b
0sX3ubGEohU516EtEENAaFQF4mOEQ619QEBwRY8z4Db4HZgV3K0=
=JvjI
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 06 Oct 2018 07:29:26 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:54:22 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.