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/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to