[Reproducible-builds] Bug#828216: pyinfra:

Daniel Stender stender at debian.org
Sun Jun 26 08:03:03 UTC 2016


Source: pyinfra
Version: 0.1~dev26-1
Severity: wishlist
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at 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/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160626/207a15e6/attachment.sig>


More information about the Reproducible-builds mailing list