Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779508 - app-portage/repoman-3.0.3 fails tests
Summary: app-portage/repoman-3.0.3 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: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-31 08:30 UTC by Agostino Sarubbo
Modified: 2021-04-11 18:26 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,125.11 KB, text/plain)
2021-03-31 08:30 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 2021-03-31 08:30:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-portage/repoman-3.0.3 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-03-31 08:30:34 UTC
Created attachment 696435 [details]
build.log

build log and emerge --info
Comment 2 Zac Medico gentoo-dev 2021-04-11 17:29:38 UTC
This failure is suppressed by a PORTAGE_GPG_KEY variable setting in make.conf, which means that the unit test has parsed the wrong make.conf (we want it to use a temporary test prefix when loading make.conf).
Comment 3 Larry the Git Cow gentoo-dev 2021-04-11 18:05:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=2eb3ca092a528e0722e0ca32f616836ed8039936

commit 2eb3ca092a528e0722e0ca32f616836ed8039936
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2021-04-11 17:47:21 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2021-04-11 18:04:22 +0000

    SimpleRepomanTestCase: update portage.const.EPREFIX after fork
    
    Update portage.const.EPREFIX in each RepomanRun fork, since
    the portage.const PORTAGE_OVERRIDE_EPREFIX logic only executes
    when the module is first loaded in the parent process.
    
    Fixes: ba58bc1ae12a ("SimpleRepomanTestCase: collect results from subprocesses")
    Bug: https://bugs.gentoo.org/779508
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 repoman/lib/repoman/tests/simple/test_simple.py | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-04-11 18:26:11 UTC
The bug has been closed via the following commit(s):

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

commit 9c7c6ae23cd9b36437d232a562d9e398ae57286a
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2021-04-11 18:15:20 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2021-04-11 18:24:46 +0000

    app-portage/repoman: Revbump to 3.0.3-r1
    
     #779508 unit test PORTAGE_GPG_KEY KeyError
     #779967 repoman --version TypeError
    
    Closes: https://bugs.gentoo.org/779508
    Closes: https://bugs.gentoo.org/779967
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-portage/repoman/Manifest                                 |  2 ++
 .../{repoman-3.0.3.ebuild => repoman-3.0.3-r1.ebuild}        | 12 ++++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)