#3007 closed defect (fixed)

Buildbot Slackware job is failing

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: 1.12.1
Keywords: Cc:
Launchpad Bug:

Description

From https://tahoe-lafs.org/buildbot-tahoe-lafs/builders/Markus%20slackware64%20stable/builds/782/steps/tox/logs/stdio, allmydata.test.test_magic_folder.MockTest.test_magic_folder failed:

Message {'mask': 8L, 'path': '/tmp/tmpshJULK/local_dir/l\xf8ng', u'task_uuid': u'b0aca7e7-ac6e-4594-8748-856866d9abc3', u'action_status': u'started', u'timestamp': 1553101007.214889, u'action_type': u'fake-inotify:event', u'task_level': [27, 4, 1]} doesn't encode to JSON: 'utf8' codec can't decode byte 0xf8 in position 26: invalid start byte:   File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/.tox/py27/bin/trial", line 10, in <module>
 <... trim ...>
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/src/allmydata/test/test_magic_folder.py", line 2130, in <lambda>
    d.addCallback(lambda ign: self._check_file(name_u, "test"*100))
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/.tox/py27/lib/python2.7/site-packages/twisted/internet/defer.py", line 1613, in unwindGenerator
    return _cancellableInlineCallbacks(gen)
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/.tox/py27/lib/python2.7/site-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
    _inlineCallbacks(None, g, status)
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/.tox/py27/lib/python2.7/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
    result = g.send(result)
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/src/allmydata/test/test_magic_folder.py", line 705, in _check_file
    yield self.fileops.write(path_u, data)
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/src/allmydata/util/eliotutil.py", line 396, in logged_f
    d = maybeDeferred(f, *a, **kw)
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/.tox/py27/lib/python2.7/site-packages/twisted/internet/defer.py", line 151, in maybeDeferred
    result = f(*args, **kw)
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/src/allmydata/test/test_magic_folder.py", line 647, in write
    self._maybe_notify(fname, self._inotify.IN_CLOSE_WRITE)
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/src/allmydata/test/test_magic_folder.py", line 673, in _maybe_notify
    self._uploader._notifier.event(to_filepath(fname), mask)
  File "/src/buildslave/tahoe-lafs/Markus_slackware64_stable/build/src/allmydata/util/fake_inotify.py", line 94, in event
    with start_action(action_type=u"fake-inotify:event", path=filepath.path, mask=mask):

I think this has something to do with the LANG setting on the slave - LANG=en_US.ISO-8859-1 - but I can't reproduce merely by setting that locally and running the test.

Change History (1)

comment:1 Changed at 2019-03-21T13:27:26Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In bcd5fcb/trunk:

Merge pull request #577 from tahoe-lafs/3007.fix-latin-1-locale

Fix a magic-folder test in Latin 1 (and likely other) locale

Fixes: ticket:3007

Note: See TracTickets for help on using tickets.