ERROR: breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii
The test fails with
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
(which doesn't surprise me, since I keep a C/8859-1 locale). Probably some default encoding is used in the test where utf-8 (or whatever) should have been specified.
Full output (starts with stuff that pkgsrc shows, then comes the test output):
murthe.5:.../pkgsrc/devel/breezy$ make
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> test-message [breezy-3.0.1] ===> Testing for breezy-3.0.1
cd /home/tmp/devel/breezy/work.x86_64/breezy-3.0.1 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.7 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.4.0\ -Wl,-R/usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.4.0\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/tmp/devel/breezy/work.x86_64/.cwrapper/bin:/home/tmp/devel/breezy/work.x86_64/.buildlink/bin:/home/tmp/devel/breezy/work.x86_64/.gcc/bin:/home/tmp/devel/breezy/work.x86_64/.tools/bin:/usr/pkg/bin:/home/rhialto/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin:/usr/X11R7/bin:/usr/games:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/home/tmp/devel/breezy/work.x86_64/.home CWRAPPERS_CONFIG_DIR=/home/tmp/devel/breezy/work.x86_64/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ rhialto\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ rhialto\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ rhialto\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ rhialto\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ rhialto\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ rhialto\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ rhialto\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ rhialto\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ rhialto\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ rhialto\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ rhialto\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ rhialto\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ rhialto\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/tmp/devel/breezy/work.x86_64/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/home/tmp/devel/breezy/work.x86_64/.buildlink/lib/pkgconfig:/home/tmp/devel/breezy/work.x86_64/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/tmp/devel/breezy/work.x86_64/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/tmp/devel/breezy/work.x86_64/.cwrapper/config ./brz selftest -v breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii
running 1 tests...
brz selftest: /home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/brz
/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy
bzr-3.0.1 python-3.7.4 NetBSD-8.1-amd64-x86_64-64bit-ELF
blackbox.test_testament.TestTestament.test_testament_non_ascii ERROR 290ms
log: {{{
4.468 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.472 creating repository in file:///mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/.bzr/.
4.473 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.477 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.478 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.479 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 0x7530b6995720> in file:///mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/
4.481 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.486 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.486 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.489 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.492 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.492 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.495 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.495 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.496 trying to create missing lock '/mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/.bzr/checkout/dirstate'
4.498 opening working tree '/mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp'
4.499 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.500 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.501 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.502 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.517 creating repository in file:///mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/.bzr/.
4.523 creating branch <breezy.bzr.branch.BzrBranchFormat8 object at 0x7530b1628f20> in file:///mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/
4.540 trying to create missing lock '/mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/.bzr/checkout/dirstate'
4.540 opening working tree '/mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work'
4.571 preparing to commit
INFO Committing to: /mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/
4.577 Selecting files for commit with filter None
4.579 failed to load compiled extension: No module named 'breezy._readdir_pyx'
INFO Committed revision 1.
4.603 Committed revid b'test@user-1' as revno 1.
4.635 preparing to commit
INFO Committing to: /mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/
4.639 Selecting files for commit with filter None
INFO added hello
INFO added src
INFO added src/foo.c
INFO Committed revision 2.
4.665 Committed revid b'test@user-2' as revno 2.
4.677 preparing to commit
INFO Committing to: /mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/
4.684 Selecting files for commit with filter None
INFO Committed revision 3.
4.705 Committed revid <email address hidden>' as revno 3.
4.708 run brz: ['testament', '--long']
4.708 breezy version: 3.0.1
4.708 brz arguments: ['testament', '--long']
}}}
Traceback (most recent call last):
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/ui/text.py", line 726, in _write
to_write = to_write.decode(self.encoding, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/blackbox/test_testament.py", line 54, in test_testament_non_ascii
long_out, err = self.run_bzr('testament --long')
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/__init__.py", line 2115, in run_bzr
stderr=stderr, working_dir=working_dir)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/__init__.py", line 1965, in _run_bzr_core
args)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/__init__.py", line 2415, in apply_redirected
return a_callable(*args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 1313, in run_bzr_catch_user_errors
return run_bzr(argv)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 1202, in run_bzr
ret = run(*run_argv)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 759, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 784, in run
return self._operation.run_simple(*args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/cleanup.py", line 137, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 1219, in ignore_pipe
result = func(*args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/builtins.py", line 5188, in run
self.outf.writelines(t.as_text_lines())
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/ui/text.py", line 743, in writelines
self._write(line)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/ui/text.py", line 728, in _write
self.raw_stream.write(to_write)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/ui_testing.py", line 36, in write
string = string.decode(self.encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
======================================================================
ERROR: breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: log: {{{
4.468 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.472 creating repository in file:///mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/.bzr/.
4.473 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.477 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.478 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.479 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 0x7530b6995720> in file:///mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/
4.481 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.486 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.486 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.489 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.492 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.492 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.495 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.495 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.496 trying to create missing lock '/mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/.bzr/checkout/dirstate'
4.498 opening working tree '/mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp'
4.499 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.500 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.501 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.502 Using Bazaar configuration directory (/home/rhialto/.bazaar)
4.517 creating repository in file:///mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/.bzr/.
4.523 creating branch <breezy.bzr.branch.BzrBranchFormat8 object at 0x7530b1628f20> in file:///mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/
4.540 trying to create missing lock '/mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/.bzr/checkout/dirstate'
4.540 opening working tree '/mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work'
4.571 preparing to commit
INFO Committing to: /mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/
4.577 Selecting files for commit with filter None
4.579 failed to load compiled extension: No module named 'breezy._readdir_pyx'
INFO Committed revision 1.
4.603 Committed revid b'test@user-1' as revno 1.
4.635 preparing to commit
INFO Committing to: /mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/
4.639 Selecting files for commit with filter None
INFO added hello
INFO added src
INFO added src/foo.c
INFO Committed revision 2.
4.665 Committed revid b'test@user-2' as revno 2.
4.677 preparing to commit
INFO Committing to: /mnt/scratch/scratch/tmp/testbzr-57kylbuu.tmp/breezy.tests.blackbox.test_testament.TestTestament.test_testament_non_ascii/work/
4.684 Selecting files for commit with filter None
INFO Committed revision 3.
4.705 Committed revid <email address hidden>' as revno 3.
4.708 run brz: ['testament', '--long']
4.708 breezy version: 3.0.1
4.708 brz arguments: ['testament', '--long']
}}}
Traceback (most recent call last):
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/ui/text.py", line 726, in _write
to_write = to_write.decode(self.encoding, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/blackbox/test_testament.py", line 54, in test_testament_non_ascii
long_out, err = self.run_bzr('testament --long')
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/__init__.py", line 2115, in run_bzr
stderr=stderr, working_dir=working_dir)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/__init__.py", line 1965, in _run_bzr_core
args)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/__init__.py", line 2415, in apply_redirected
return a_callable(*args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 1313, in run_bzr_catch_user_errors
return run_bzr(argv)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 1202, in run_bzr
ret = run(*run_argv)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 759, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 784, in run
return self._operation.run_simple(*args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/cleanup.py", line 137, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/commands.py", line 1219, in ignore_pipe
result = func(*args, **kwargs)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/builtins.py", line 5188, in run
self.outf.writelines(t.as_text_lines())
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/ui/text.py", line 743, in writelines
self._write(line)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/ui/text.py", line 728, in _write
self.raw_stream.write(to_write)
File "/home/tmp/devel/breezy/work.x86_64/breezy-3.0.1/breezy/tests/ui_testing.py", line 36, in write
string = string.decode(self.encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)
----------------------------------------------------------------------
Ran 1 test in 0.318s
FAILED (errors=1)
brz: warning: some compiled extensions could not be loaded; see ``brz help missing-extensions``
*** Error code 1
Stop.
make[1]: stopped in /mnt/vol1/rhialto/cvs/pkgsrc/devel/breezy
*** Error code 1
Stop.
make: stopped in /mnt/vol1/rhialto/cvs/pkgsrc/devel/breezy
murthe.5:.../pkgsrc/devel/breezy$