• Bug#1103591: python-mastodon: autopktest regressions on i386, riscv64

    From Chris Hofstaedtler@21:1/5 to All on Sat Apr 19 14:10:01 2025
    Source: python-mastodon
    Version: 2.0.1-1
    Severity: serious

    Your package fails its autopktests on i386 and riscv64, with different failures.

    i386:

    https://ci.debian.net/packages/p/python-mastodon/testing/i386/59129591/

    test_entity_scheduledstatus
    598s > isotime = datetime_val.astimezone(timezone.utc).strftime("%Y-%m-%dT%H:%M:%S%z")
    598s E OverflowError: timestamp out of range for platform time_t
    598s /usr/lib/python3/dist-packages/mastodon/internals.py:57: OverflowError

    ...

    598s FAILED tests/test_entities.py::test_entity_scheduledstatus - OverflowError: t...
    598s FAILED tests/test_entities.py::test_entity_scheduledstatusparams - OverflowEr...
    598s ======= 2 failed, 404 passed, 18 skipped, 4 xfailed in 511.16s (0:08:31) =======
    598s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest-lxc.p73qmadi/downtmp/autopkgtest_tmp/build; python3.13 -m pytest tests
    598s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.13 returned exit code 13
    598s make: *** [/tmp/Cy9JnlOTlD/run:4: pybuild-autopkgtest] Error 25
    598s pybuild-autopkgtest: error: /tmp/Cy9JnlOTlD/run pybuild-autopkgtest returned exit code 2


    riscv64:

    https://ci.debian.net/packages/p/python-mastodon/testing/riscv64/59130021/

    test_stream_user_direct
    4122s > assert len(updates) == 2
    4122s E AssertionError: assert 1 == 2
    4122s E + where 1 = len([Status({'id': 113998814023821196, 'uri': 'http://localhost:3000/users/mastodonpy_test/statuses/113998814023821196', '..., 'muted': False, 'pinned': False, 'replies_count': 0, 'card': None, 'poll': None, 'edited_at': None,
    'filtered': []})])
    4122s tests/test_streaming.py:389: AssertionError

    test_stream_user_local
    4122s assert len(updates) == 1
    4122s > assert updates[0].id == posted[0].id
    4122s E IndexError: list index out of range
    4122s tests/test_streaming.py:439: IndexError


    4122s FAILED tests/test_streaming.py::test_stream_user_direct - AssertionError: ass...
    4122s FAILED tests/test_streaming.py::test_stream_user_local - IndexError: list ind...
    4122s = 2 failed, 404 passed, 18 skipped, 4 xfailed, 1 warning in 3743.73s (1:02:23) =
    4125s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest-lxc.p6jkhijk/downtmp/autopkgtest_tmp/build; python3.13 -m pytest tests
    4125s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.13 returned exit code 13
    4125s make: *** [/tmp/HUDgHaA4IR/run:4: pybuild-autopkgtest] Error 25
    4125s pybuild-autopkgtest: error: /tmp/HUDgHaA4IR/run pybuild-autopkgtest returned exit code 2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Watson@21:1/5 to All on Tue May 13 16:50:01 2025
    Control: tag -1 pending

    Hello,

    Bug #1103591 in python-mastodon reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/python-team/packages/python-mastodon/-/commit/57772128e955618169b84e42fa4053d0985ab268

    ------------------------------------------------------------------------
    Skip failing tests on i386 and riscv64

    The tests that schedule posts in 2100 legitimately can't pass on i386
    due to the lack of 64-bit time support there. The tests that fail on
    riscv64 seem to just be flaky; I can't reproduce those failures under
    emulation locally, but they've happened twice on ci.debian.net.

    Closes: #1103591 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1103591

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue May 13 16:50:01 2025
    Processing control commands:

    tag -1 pending
    Bug #1103591 [src:python-mastodon] python-mastodon: autopkgtest regressions on i386, riscv64
    Added tag(s) pending.

    --
    1103591: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103591
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue May 13 17:40:01 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 13 May 2025 15:26:56 +0000
    with message-id <E1uErWy-00AkB9-T8@fasolo.debian.org>
    and subject line Bug#1103591: fixed in python-mastodon 2.0.1-2
    has caused the Debian Bug report #1103591,
    regarding python-mastodon: autopkgtest regressions on i386, riscv64
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1103591: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103591
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 19 Apr 2025 12:04:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-10.0 required=4.0 tests=BAYES_00,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,XMAILER_REPORTBUG autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 40; hammy, 148; neutral, 33; spammy,
    1. spammytokens:0.944-+--H*r:bugs.debian.org
    hammytokens:0.000-+--python3, 0.000-+--autopkgtest, 0.000-+--pybuild,
    0.000-+--H*x:12.0.0, 0.000-+--H*UA:12.0.0
    Return-path: <zeha@debian.org>
    Received: from per.namespace.at ([2a01:4f9:6b:302c::2]:48198)
    by buxtehude.debian.org with esmtp (Exim 4.94.2)
    (envelope-from <zeha@debian.org>)
    id 1u66w2-00B83C-0l
    for submit@bugs.debian.org; Sat, 19 Apr 2