Project

General

Profile

Bug #12397

12254 broke the zfs test suite for older python versions

Added by Andrew Stormont 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

On a machine with python 2.7.X the test suite now fails:

Test: /opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_big_rewind (run as root) [01:28] [PASS]
Traceback (most recent call last):
  File "/opt/test-runner/bin/run", line 923, in <module>
    main()
  File "/opt/test-runner/bin/run", line 917, in main
    testrun.run(options)
  File "/opt/test-runner/bin/run", line 750, in run
    self.testgroups[testgroup].run(self.logger, options)
  File "/opt/test-runner/bin/run", line 505, in run
    test.run(options)
  File "/opt/test-runner/bin/run", line 265, in run
    self.result.stdout, self.result.stderr = self.collect_output(proc)
  File "/opt/test-runner/bin/run", line 229, in collect_output
    fd.read()
  File "/opt/test-runner/bin/run", line 138, in read
    while self._read() is not None:
  File "/opt/test-runner/bin/run", line 150, in _read
    buf = os.read(fd, 4096).decode('utf-8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfd in position 12: invalid start byte

Related issues

Related to illumos gate - Bug #12254: python changes have broken the zfs test suiteClosed

Actions
#1

Updated by Andrew Stormont 7 months ago

  • Related to Bug #12254: python changes have broken the zfs test suite added

Also available in: Atom PDF