[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3274: NixOS CI job sometimes fails in Eliot test suite

Tahoe-LAFS trac at tahoe-lafs.org
Wed Jan 15 20:43:25 UTC 2020


#3274: NixOS CI job sometimes fails in Eliot test suite
---------------------+---------------------------
 Reporter:  exarkun  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 The NixOS CI job builds an Eliot package because Eliot isn't packaged in
 Nixpkgs.  Our Eliot expression involves running the Eliot test suite.
 This is nice because it demonstrates Eliot is working as we have packaged
 it.  However it is not nice because there is an intermittent failure in
 the Eliot test suite.

 {{{
 ======================================================================
 FAIL: test_omitLoggerFromActionType
 (eliot.tests.test_validation.EndToEndValidationTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/tmp/nix-build-
 python2.7-eliot-1.7.0.drv-0/eliot-1.7.0/eliot/tests/test_validation.py",
 line 895, in test_omitLoggerFromActionType
     self.assertEqual(messages[0]["key"], 123)
 AssertionError: 5 != 123

 ----------------------------------------------------------------------
 }}}

 This has been reported upstream -
 https://github.com/itamarst/eliot/issues/436 - but hasn't been fixed yet
 and may not receive much attention any time soon.

 We could fix the upstream bug and update our packaging to include the fix.

 We could skip the affected test when we run the Eliot test suite.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3274>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list