Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921152 - [guru] dev-python/mastodon-py-1.8.1 fails tests
Summary: [guru] dev-python/mastodon-py-1.8.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-01-01 14:27 UTC by Agostino Sarubbo
Modified: 2024-09-07 13:38 UTC (History)
0 users

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


Attachments
build.log (build.log,222.26 KB, text/plain)
2024-01-01 14:27 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-01 14:27:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/mastodon-py-1.8.1 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-01 14:27:26 UTC
Created attachment 881204 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-01 14:27:26 UTC
Error(s) that match a know pattern:


E               ConnectionRefusedError: [Errno 111] Connection refused
E               mastodon.errors.MastodonNetworkError: Could not complete request: HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /api/v1/instance/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x728f7c7b52a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /api/v1/instance/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x728f7c7b52a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /api/v1/instance/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x728f7c7b52a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x728f7c7b52a0>: Failed to establish a new connection: [Errno 111] Connection refused
E       IndexError: list index out of range
FAILED tests/test_streaming.py::test_stream_user_direct - mastodon.errors.MastodonNetworkError: Could not complete request: HTTPConne...
FAILED tests/test_streaming.py::test_stream_user_local - IndexError: list index out of range
            except ValueError:
        except UnicodeError:
  mastodon.errors.MastodonNetworkError: Could not complete request: Can't overwrite existing cassette ('/var/tmp/portage/dev-python/mastodon-py-1.8.1/work/Mastodon.py-1.8.1/tests/cassettes/test_stream_user_local.yaml') in your current record mode (<RecordMode.ONCE: 'once'>).
        error: Exception | None = None,
Comment 3 Larry the Git Cow gentoo-dev 2024-09-07 13:38:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f08db0051806c56ccf457a59ef7203de16165e4d

commit f08db0051806c56ccf457a59ef7203de16165e4d
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2024-09-07 12:54:55 +0000
Commit:     Takuya Wakazono <pastalian46@gmail.com>
CommitDate: 2024-09-07 12:54:55 +0000

    dev-python/mastodon-py: skip broken tests
    
    Closes: https://bugs.gentoo.org/921152
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>

 dev-python/mastodon-py/mastodon-py-1.8.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)