Debian Bug report logs - #828216
pyinfra: AssertionError: {'user': 'pyinfra', 'mode': 777, 'mtime': '2017-02-13T12:56:00'[29 chars] '8'}

version graph

Package: src:pyinfra; Maintainer for src:pyinfra is (unknown);

Reported by: Daniel Stender <stender@debian.org>

Date: Sun, 26 Jun 2016 08:06:02 UTC

Severity: serious

Found in version pyinfra/0.1~dev26-1

Fixed in version pyinfra/0.2-2

Done: Daniel Stender <stender@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/Fizzadar/pyinfra/issues/94

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org:
Bug#828216; Package src:pyinfra. (Sun, 26 Jun 2016 08:06:05 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Stender <stender@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org. (Sun, 26 Jun 2016 08:06:05 GMT) (full text, mbox, link).


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

From: Daniel Stender <stender@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pyinfra:
Date: Sun, 26 Jun 2016 10:03:03 +0200
[Message part 1 (text/plain, inline)]
Source: pyinfra
Version: 0.1~dev26-1
Severity: wishlist
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

The tests (now activated) for Pyinfra fail during test build for reproducible builds,
there are some assertion errors on timestamps:

<cut>
FAIL: test_valid (tests.test_facts.TestTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/jsontest.py", line 13, in test
    self.jsontest_function(test_name, test_data)
  File "/build/pyinfra-0.1~dev26/tests/test_facts.py", line 43, in jsontest_function
    raise e
  File "/build/pyinfra-0.1~dev26/tests/test_facts.py", line 36, in jsontest_function
    self.assertEqual(data, test_data['fact'])
AssertionError: {'user': 'pyinfra', 'mode': 777, 'mtime': '2017-02-13T12:56:00'[29 chars] '8'} != {'user': 'pyinfra', 'mtime': '2016-02-13T12:56:00', 'group': 'p[29 chars] '8'}
  {'group': 'pyinfra',
   'mode': 777,
-  'mtime': '2017-02-13T12:56:00',
?               ^

+  'mtime': '2016-02-13T12:56:00',
?               ^

   'size': '8',
   'user': 'pyinfra'}
-------------------- >> begin captured stdout << ---------------------

--> GOT:
 {
    "user": "pyinfra",
    "mode": 777,
    "mtime": "2017-02-13T12:56:00",
    "group": "pyinfra",
    "size": "8"
}
--> WANT: {
    "user": "pyinfra",
    "mtime": "2016-02-13T12:56:00",
    "group": "pyinfra",
    "mode": 777,
    "size": "8"
}
</cut>

I'll get into this, soon.

Thanks,
DS

-- 
4096R/DF5182C8
http://www.danielstender.com/blog/

[signature.asc (application/pgp-signature, attachment)]

Changed Bug title to 'pyinfra: AssertionError: {'user': 'pyinfra', 'mode': 777, 'mtime': '2017-02-13T12:56:00'[29 chars] '8'}' from 'pyinfra:'. Request was from Daniel Stender <stender@debian.org> to control@bugs.debian.org. (Sun, 26 Jun 2016 08:12:04 GMT) (full text, mbox, link).


Severity set to 'serious' from 'wishlist' Request was from Daniel Stender <debian@danielstender.com> to control@bugs.debian.org. (Mon, 14 Nov 2016 19:45:02 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/Fizzadar/pyinfra/issues/94'. Request was from Daniel Stender <debian@danielstender.com> to control@bugs.debian.org. (Thu, 01 Dec 2016 22:03:05 GMT) (full text, mbox, link).


Reply sent to Daniel Stender <stender@debian.org>:
You have taken responsibility. (Thu, 01 Dec 2016 22:54:07 GMT) (full text, mbox, link).


Notification sent to Daniel Stender <stender@debian.org>:
Bug acknowledged by developer. (Thu, 01 Dec 2016 22:54:07 GMT) (full text, mbox, link).


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

From: Daniel Stender <stender@debian.org>
To: 828216-close@bugs.debian.org
Subject: Bug#828216: fixed in pyinfra 0.2-2
Date: Thu, 01 Dec 2016 22:51:35 +0000
Source: pyinfra
Source-Version: 0.2-2

We believe that the bug you reported is fixed in the latest version of
pyinfra, 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 828216@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Stender <stender@debian.org> (supplier of updated pyinfra 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: SHA512

Format: 1.8
Date: Thu, 01 Dec 2016 23:29:24 +0100
Source: pyinfra
Binary: pyinfra
Architecture: source all
Version: 0.2-2
Distribution: unstable
Urgency: medium
Maintainer: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
Changed-By: Daniel Stender <stender@debian.org>
Description:
 pyinfra    - state based and programmable service deployment tool
Closes: 828216
Changes:
 pyinfra (0.2-2) unstable; urgency=medium
 .
   * temporarily freeze date for nosetests with faketime to work around
     FTBFS in reproducible builds test builds (Closes: #828216).
Checksums-Sha1:
 3d55ebabe528a9a8877d69626e5032ecbd110392 2404 pyinfra_0.2-2.dsc
 5630e2df2b68a300ce516e70e9cce8f2f8049654 10658456 pyinfra_0.2.orig.tar.xz
 7c3b3628909667c4745989551206e6751b548501 3156 pyinfra_0.2-2.debian.tar.xz
 3716905ce3204f96c50994f03ee4e5cf2bdd63e6 10640736 pyinfra_0.2-2_all.deb
 792ca6c47a02fa3ee1adc299fe94eda2b753582e 6274 pyinfra_0.2-2_amd64.buildinfo
Checksums-Sha256:
 4545074a6be22f146a51a8b488cc72033f8a7157245be409bf85221945ed4d01 2404 pyinfra_0.2-2.dsc
 9cd538ebe1f7e78f6deef17b5e84d4a79b53c1935239575a78670b8e29dc8d09 10658456 pyinfra_0.2.orig.tar.xz
 690458923691cac8fffeeb777cd0d1eacebf0958e04ed0390fb64c2bccae74d5 3156 pyinfra_0.2-2.debian.tar.xz
 c469cf95a7072e3927a2a933d9a29f3edeabe72948315244571ed05bbcb4a443 10640736 pyinfra_0.2-2_all.deb
 794b732e234156893033297715e62fe8b0449a3b799f3bbad3cd4d4244a6e2a2 6274 pyinfra_0.2-2_amd64.buildinfo
Files:
 f81d0907fd352fc3171ecc9b7f6e2af9 2404 admin optional pyinfra_0.2-2.dsc
 65301616f09e1bce7d4cf92a98ee12f2 10658456 admin optional pyinfra_0.2.orig.tar.xz
 d488d011e27b379e6b1fb99246c66f35 3156 admin optional pyinfra_0.2-2.debian.tar.xz
 445259ce7a30d78fc83ed05648791f9e 10640736 admin optional pyinfra_0.2-2_all.deb
 06e8844c9ac4ca952b0178c8a6699210 6274 admin optional pyinfra_0.2-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEERsscqJ6jt0N2dh25FeCa9N9RgsgFAlhApbEACgkQFeCa9N9R
gsjraA/9FNtsq7+8qnnBoLmgbWWk/5WNIIpPvE/e96j6KKQEQvprIMVxiDKkv3Nw
X6pGw12efQXe25mNH9tecxmYGg5SKhiWZup1qTlnk60czLcNq7mDbhIYND8AeWEN
UeKik0VQurCc/22bTXBGCaNLcYyNUpc3Plni0XICj9VEAKbps3hyAF1ZfuTpv4Xo
f1Jt/UD3G7+mXSI4HFXby1CoiMdCuSl5CEezFaqU/Zwbpp02awG5ivHm0TmFTBmF
eTrX8o9zk+NKHmWN98kDCkYb7k/iXn+9Rl8T/9pYK2kZvkEkRXifSObRF1NHNiul
bElNQ4bi3YlOHVq0aIdai6sVCPInrqcFY/QgfGgr5vOpeMzxvqKiqPooe9/K6IBv
6PLLqyVzg2tVhNQZUEs3PSe41L1Q3zqsPMrV2NmeGqiSb+2J47ltyNzXaS3nncRr
A981Kp48EAvV/ZjfEFcpwgl9300KhnODrzN0ewtVegjrvBqmhOqSrScbGWRstvZZ
K4F/JfdMnJqzBXSVRNzbQ+bZnx3Z7DpQrFmR07siXtvXl56mW1ZkHhmSHIoBEQIt
bqq4JiW7ehLSvKDyl18x29WoHyki1VzXZ33a75Pdw+YQUvfwTFlsN1N8zEecGHrU
lIJKF2cMQGkrt9XES9ODzIYScuJ46mtDrqWneiFWq7AtzahDIXE=
=0uKS
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 05 Feb 2017 07:26:21 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 14:03:43 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.