Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876929 - net-nntp/sabnzbd-3.6.1-r1 fails tests
Summary: net-nntp/sabnzbd-3.6.1-r1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-13 06:49 UTC by Agostino Sarubbo
Modified: 2022-10-13 16:50 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,84.93 KB, application/x-xz)
2022-10-13 06:49 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 2022-10-13 06:49:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-nntp/sabnzbd-3.6.1-r1 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-10-13 06:49:24 UTC
CC'ing also the author of the commit (3d401b78c411c427688f239ec99734137a86327d)
Comment 2 Agostino Sarubbo gentoo-dev 2022-10-13 06:49:26 UTC
Created attachment 823739 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 3 Agostino Sarubbo gentoo-dev 2022-10-13 06:49:27 UTC
Error(s) that match a know pattern:


E           AssertionError: assert not [{'avg_age': '8090d', 'cat': '*', 'direct_unpack': None, 'filename': 'NZB423c4c6beac92a03', ...}]
E           TypeError: File is not a 7zip file
FAILED2022-10-13 01:05:24,374::INFO::[__init__:441] [sabnzbd.interface.shutdown] Performing SABnzbd shutdown
FAILED tests/test_functional_adding_nzbs_clean.py::TestAddingNZBsClean::test_adding_nzbs_nzoids
FAILED tests/test_newsunpack.py::TestNewsUnpackFunctions::test_is_sevenfile
FAILED tests/test_newsunpack.py::TestNewsUnpackFunctions::test_sevenzip - Typ...
fatal: not a git repository (or any parent up to mount point /var/tmp)
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 6, column 0
2022-10-13 01:05:05,147::INFO::[notifier:123] Sending notification: Warning - Invalid NZB file part1_of_NZBb19461dde68602f3.nzb, skipping (error: unclosed token: line 6, column 0) (type=warning, job_cat=None)
Comment 4 Joe Kappus 2022-10-13 10:02:27 UTC
That tinderbox link doesn't work. We need to depend on app-arch/p7zip for tests to complete.
Comment 5 Larry the Git Cow gentoo-dev 2022-10-13 16:50:57 UTC
The bug has been closed via the following commit(s):

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

commit 35fddd08a8f09bc4288e572bb0d87486a6b09807
Author:     Joe Kappus <joe@wt.gd>
AuthorDate: 2022-10-13 10:07:21 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-10-13 16:50:33 +0000

    net-nntp/sabnzbd: fix test dependency
    
    Add app-arch/p7zip so unit tests don't fail.
    
    Closes: https://bugs.gentoo.org/876929
    Signed-off-by: Joe Kappus <joe@wt.gd>
    Closes: https://github.com/gentoo/gentoo/pull/27767
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 net-nntp/sabnzbd/sabnzbd-3.6.1-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)