Kallithea CI

Thomas De Schampheleire patrickdepinguin at gmail.com
Wed Feb 24 20:40:51 UTC 2016


On Wed, Feb 24, 2016 at 2:51 PM, Dominik Ruf <dominikruf at gmail.com> wrote:
> I mean when using KALLITHEA_NO_TMP_PATH=1.
>
> None of your successful runs used KALLITHEA_NO_TMP_PATH=1, did they?
>
>
> When I use KALLITHEA_NO_TMP_PATH=1 I need the changes from
> https://bitbucket.org/domruf/kallithea/commits/7f963eb6354952dad842ba6ea16
> Then the tests pass on my personal linux machine but not on drone.io

With this patch applied on top of kallithea mainstream (not -tg) I get:

――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
TestAdminReposControllerGIT.test_delete_non_ascii
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
kallithea/tests/functional/test_admin_repos.py:414: in test_delete_non_ascii
    vcs.get_repo(safe_str(os.path.join(Ui.get_by_key('paths',
'/').ui_value, repo_name)))
../venv/kallithea-ook-improvements/lib64/python2.7/posixpath.py:73: in join
    path += '/' + b
E   UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in
position 17: ordinal not in range(128)
 kallithea/tests/functional/test_admin_repos.py ✓✓✓✓✓✓✓✓✓✓⨯

            37% ███▋
=======================================================================
short test summary info
========================================================================
FAIL kallithea/tests/functional/test_admin_repos.py::TestAdminReposControllerGIT::test_delete_non_ascii
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Interrupted: stopping after 1 failures
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Results (367.03s):
     608 passed
       1 failed
         - /home/tdescham/repo/contrib/kallithea/venv/kallithea-ook-improvements/lib64/python2.7/posixpath.py:73:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position
17: ordinal not in range(128)


The patch does fix for me the failing test TestGitApi.test_api_pull
when using the NO_TMP_PATH method.

Thanks,
Thomas


More information about the kallithea-general mailing list