Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900431 - dev-python/nbdime-3.1.1-r1: 500/403 Server Error fail tests
Summary: dev-python/nbdime-3.1.1-r1: 500/403 Server Error fail tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 900178
  Show dependency tree
 
Reported: 2023-03-08 21:57 UTC by jinqiang zhang
Modified: 2023-03-10 19:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
info.txt (info.txt,7.06 KB, text/plain)
2023-03-08 21:57 UTC, jinqiang zhang
Details
build.log.xz (build.log.xz,24.69 KB, text/plain)
2023-03-08 21:58 UTC, jinqiang zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jinqiang zhang 2023-03-08 21:57:02 UTC
dev-python/nbdime-3.1.1-r1 test fail with follow 500/403 errors ( same on amd64 and riscv):

FAILED nbdime/tests/test_cli_apps.py::test_git_difftool - requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:62020/difftool
FAILED nbdime/tests/test_cli_apps.py::test_git_mergetool - requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:62021/mergetool
FAILED nbdime/tests/test_server_extension.py::test_isgit[notebook] - requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://127.0.0.1:62024/nbdime/api/isgit
FAILED nbdime/tests/test_server_extension.py::test_isgit_nonrepo[notebook] - requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://127.0.0.1:62024/nbdime/api/isgit
FAILED nbdime/tests/test_server_extension.py::test_difftool[notebook] - requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
FAILED nbdime/tests/test_server_extension.py::test_diff_api[notebook] - requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://127.0.0.1:62024/nbdime/api/diff
FAILED nbdime/tests/test_server_extension.py::test_git_diff_api[notebook] - requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://127.0.0.1:62024/nbdime/api/gitdiff
FAILED nbdime/tests/test_server_extension.py::test_diff_api_checkpoint[notebook] - requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://127.0.0.1:62024/nbdime/api/diff
FAILED nbdime/tests/test_server_extension.py::test_diff_api_symlink[notebook] - requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://127.0.0.1:62024/nbdime/api/diff
FAILED nbdime/tests/test_server_extension.py::test_diff_api_checkpoint[jupyter_server] - requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:62025/nbdime/api/diff
Comment 1 jinqiang zhang 2023-03-08 21:57:16 UTC
Created attachment 856869 [details]
info.txt

emerge --info
Comment 2 jinqiang zhang 2023-03-08 21:58:56 UTC
Created attachment 856871 [details]
build.log.xz
Comment 3 jinqiang zhang 2023-03-08 22:06:37 UTC
Similar but not identical to musl bug #834680, less error here.
Comment 4 jinqiang zhang 2023-03-09 06:28:46 UTC
>dev-python/jupyter_server-2 facing this bug, use =dev-python/jupyter_server-1.19.1 pass tests.

See https://github.com/jupyter/nbdime/pull/646 and https://github.com/jupyter/nbdime/pull/641.
Comment 5 jinqiang zhang 2023-03-09 06:32:38 UTC
Paste comment 4 again: >dev-python/jupyter_server-2 facing this bug, use =dev-python/jupyter_server-1.19.1 pass tests.
Comment 6 Larry the Git Cow gentoo-dev 2023-03-10 19:23:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fd719287735af5f313a8b6b7db64763cbaace21

commit 5fd719287735af5f313a8b6b7db64763cbaace21
Author:     jinqiang zhang <peeweep@0x0.ee>
AuthorDate: 2023-03-09 18:59:03 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-03-10 19:20:42 +0000

    dev-python/nbdime: fix tests and modernize ebuild
    
    Closes: https://bugs.gentoo.org/900431
    Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/nbdime/Manifest               |   2 +
 dev-python/nbdime/nbdime-3.1.1-r2.ebuild | 103 +++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+)