Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930696 - net-nntp/sabnzbd-4.2.3 fails tests: ERROR api_version.yaml - TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argume..
Summary: net-nntp/sabnzbd-4.2.3 fails tests: ERROR api_version.yaml - TypeError: Fixtu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joe Kappus
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-04-26 07:12 UTC by Agostino Sarubbo
Modified: 2024-05-22 06:55 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,117.14 KB, application/x-xz)
2024-04-26 07:12 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-04-26 07:12:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-nntp/sabnzbd-4.2.3 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-26 07:12:46 UTC
Created attachment 891759 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-26 07:12:47 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


            KeyError: if no child exists by the specified name.
            OSError: if the object is not found.
E       AssertionError: assert 'd---------' == 'dr--r--r--'
E       AssertionError: assert 'd---------' == 'dr--r-x---'
E       AssertionError: assert 'd--------T' == 'drwxr-xr-t'
E       AssertionError: assert 'd----w--w-' == 'drwxrwxrwx'
E       AssertionError: assert 'drwxr-xr-x' == 'drwxrwxrwx'
E       FileNotFoundError: [Errno 2] No such file or directory in the fake filesystem: '/test_base600/se 1/ep1'
E       KeyError: 'ep1'
E       TypeError: exceptions must derive from BaseException
E   TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argument 'funcargs'
ERROR    root:filesystem.py:768 Failed making (/test_base600/se 1/ep1)
ERROR tests/data/tavern/api_get_files_format.yaml - TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argume...
ERROR tests/data/tavern/api_history_empty.yaml - TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argume...
ERROR tests/data/tavern/api_history_format.yaml - TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argume...
ERROR tests/data/tavern/api_queue_empty.yaml - TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argume...
ERROR tests/data/tavern/api_queue_format.yaml - TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argume...
ERROR tests/data/tavern/api_server_stats.yaml - TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argume...
ERROR tests/data/tavern/api_version.yaml - TypeError: FixtureManager.getfixtureinfo() got an unexpected keyword argume...
FAILED
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.7z-None] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.7z-audio] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.bz2-None] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.bz2-tv] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.gz-None] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.gz-movies] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.nzb-None] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.nzb-software] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.rar-None] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.rar-tv] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.zip-None] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.zip-movies] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.7z] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.bz2] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.gz] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.nzb] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.rar] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.zip] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_ignores_non_nzbs[file.doc] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_dirscanner.py::TestDirScanner::test_ignores_non_nzbs[filenzb] - pytest.PytestUnhandledCoroutineWarning: async def functions are not nativel...
FAILED tests/test_filesystem.py::TestCreateAllDirs::test_no_permissions - AssertionError: assert 'drwxr-xr-x' == 'drwxrwxrwx'
FAILED tests/test_filesystem.py::TestCreateAllDirs::test_permissions_600 - FileNotFoundError: [Errno 2] No such file or directory in the fake filesyst...
FAILED tests/test_filesystem.py::TestSetPermissions::test_dir0444_permissions2455_setting - AssertionError: assert 'd---------' == 'dr--r--r--'
FAILED tests/test_filesystem.py::TestSetPermissions::test_dir0450_permissions0617_setting - AssertionError: assert 'd---------' == 'dr--r-x---'
FAILED tests/test_filesystem.py::TestSetPermissions::test_dir0777_permissions0760_setting - AssertionError: assert 'd----w--w-' == 'drwxrwxrwx'
FAILED tests/test_filesystem.py::TestSetPermissions::test_dir1755_permissions4755_setting - AssertionError: assert 'd--------T' == 'drwxr-xr-t'
FAILED tests/test_filesystem.py::TestSetPermissions::test_empty_permissions_setting - AssertionError: assert 'd----w--w-' == 'drwxrwxrwx'
FAILED tests/test_functional_api.py::TestHistoryApi::test_api_history_format - assert <ExitCode.INTERRUPTED: 2> is <ExitCode.OK: 0>
FAILED tests/test_functional_api.py::TestHistoryApiPart2::test_api_history_empty_format - assert <ExitCode.INTERRUPTED: 2> is <ExitCode.OK: 0>
FAILED tests/test_functional_api.py::TestOtherApi::test_api_server_stats - assert <ExitCode.INTERRUPTED: 2> is <ExitCode.OK: 0>
FAILED tests/test_functional_api.py::TestOtherApi::test_api_version_tavern - assert <ExitCode.INTERRUPTED: 2> is <ExitCode.OK: 0>
FAILED tests/test_functional_api.py::TestQueueApi::test_api_queue_empty_format - assert <ExitCode.INTERRUPTED: 2> is <ExitCode.OK: 0>
FAILED tests/test_functional_api.py::TestQueueApi::test_api_queue_get_files_format - assert <ExitCode.INTERRUPTED: 2> is <ExitCode.OK: 0>
FAILED tests/test_functional_api.py::TestQueueApi::test_api_queue_single_format - assert <ExitCode.INTERRUPTED: 2> is <ExitCode.OK: 0>
FAILED2024-04-26 02:23:28,166::INFO::[__init__:436] [sabnzbd.interface.shutdown] Performing SABnzbd shutdown
PermissionError: [Errno 13] Permission denied in the fake filesystem: '/test_base600/se 1'
PermissionError: [Errno 13] Permission denied in the fake filesystem: '/test_base600/se 1/ep1'
TypeError: object of type 'NoneType' has no len()
fatal: not a git repository (or any parent up to mount point /var/tmp)
message    = 'No such file or directory in the fake filesystem'
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.7z-None] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.7z-audio] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.bz2-None] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.bz2-tv] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.gz-None] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.gz-movies] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.nzb-None] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.nzb-software] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.rar-None] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.rar-tv] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.zip-None] FAILED
tests/test_dirscanner.py::TestDirScanner::test_adds_valid_nzbs[file.zip-movies] FAILED
tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.7z] FAILED
tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.bz2] FAILED
tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.gz] FAILED
tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.nzb] FAILED
tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.rar] FAILED
tests/test_dirscanner.py::TestDirScanner::test_ignores_empty_files[file.zip] FAILED
tests/test_dirscanner.py::TestDirScanner::test_ignores_non_nzbs[file.doc] FAILED
tests/test_dirscanner.py::TestDirScanner::test_ignores_non_nzbs[filenzb] FAILED
tests/test_filesystem.py::TestCreateAllDirs::test_no_permissions FAILED
tests/test_filesystem.py::TestCreateAllDirs::test_permissions_600 FAILED
tests/test_filesystem.py::TestSetPermissions::test_dir0444_permissions2455_setting <- tests/testhelper.py FAILED
tests/test_filesystem.py::TestSetPermissions::test_dir0450_permissions0617_setting <- tests/testhelper.py FAILED
tests/test_filesystem.py::TestSetPermissions::test_dir0777_permissions0760_setting <- tests/testhelper.py FAILED
tests/test_filesystem.py::TestSetPermissions::test_dir1755_permissions4755_setting <- tests/testhelper.py FAILED
tests/test_filesystem.py::TestSetPermissions::test_empty_permissions_setting <- tests/testhelper.py FAILED
xml.etree.ElementTree.ParseError: no element found: line 10, column 0
xml.etree.ElementTree.ParseError: no element found: line 6, column 0
xml.etree.ElementTree.ParseError: no element found: line 7, column 0
xml.etree.ElementTree.ParseError: no element found: line 8, column 0
xml.etree.ElementTree.ParseError: no element found: line 9, column 0
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 7, column 1
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0
xml.etree.ElementTree.ParseError: unclosed token: line 5, column 32
2024-04-26 02:22:49,368::INFO::[notifier:142] Sending notification: Warning - Invalid NZB file part1_of_NZB80c28a56f3db5202.nzb, skipping (error: unclosed token: line 5, column 32) (type=warning, job_cat=None)
Comment 3 Larry the Git Cow gentoo-dev 2024-05-22 06:55:58 UTC
The bug has been closed via the following commit(s):

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

commit be03180104ea8b70de941c329ded0ae3707cc081
Author:     Joe Kappus <joe@wt.gd>
AuthorDate: 2024-05-06 06:39:43 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-22 06:55:52 +0000

    net-nntp/sabnzbd: fix 4.2.3 tests
    
    Closes: https://bugs.gentoo.org/930696
    Signed-off-by: Joe Kappus <joe@wt.gd>
    Closes: https://github.com/gentoo/gentoo/pull/36579
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-nntp/sabnzbd/sabnzbd-4.2.3.ebuild | 6 +++---
 net-nntp/sabnzbd/sabnzbd-4.3.1.ebuild | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)