Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941687 - dev-build/kas-4.5-r1 fails tests: FAILED test_environment_variables.py::test_env_section_export_bb_extra_white - kas.libkas.TaskExecError: fetch repos failed: error code 128
Summary: dev-build/kas-4.5-r1 fails tests: FAILED test_environment_variables.py::test_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Martin Homuth
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-10-17 09:02 UTC by Agostino Sarubbo
Modified: 2024-10-17 09:23 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,945.18 KB, text/plain)
2024-10-17 09:02 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-10-17 09:02:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-build/kas-4.5-r1 fails tests.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-17 09:02:31 UTC
Created attachment 906159 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-17 09:02:32 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


        except TypeError:
E           kas.kasusererror.CommandExecError: Command "git clone -q --depth 1 https://git.openembedded.org/bitbake /var/tmp/portage/dev-build/kas-4.5-r1/temp/pytest-of-portage/pytest-0/test_env_section_export_bb_ext0/test_env_variables/bitbake_old" failed with error 128
E           kas.libkas.TaskExecError: fetch repos failed: error code 128
ERROR    root:libkas.py:159 Command "/var/tmp/portage/dev-build/kas-4.5-r1/temp/pytest-of-portage/pytest-0/test_env_section_export_bb_ext0/test_env_variables$ git clone -q --depth 1 https://git.openembedded.org/bitbake /var/tmp/portage/dev-build/kas-4.5-r1/temp/pytest-of-portage/pytest-0/test_env_section_export_bb_ext0/test_env_variables/bitbake_old" failed
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED tests/test_environment_variables.py::test_env_section_export_bb_extra_white - kas.libkas.TaskExecError: fetch repos failed: error code 128
ValueError: I/O operation on closed file.
fatal: unable to access 'https://git.openembedded.org/bitbake/': Recv failure: Connection reset by peer
tests/test_environment_variables.py::test_env_section_export_bb_extra_white FAILED [23/56]
Comment 3 Larry the Git Cow gentoo-dev 2024-10-17 09:23:19 UTC
The bug has been closed via the following commit(s):

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

commit 5a54f1203143fe01d1cfa64f861c92658253d692
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-17 09:22:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-17 09:22:58 +0000

    dev-build/kas: add missing RESTRICT="test"
    
    https://mgorny.pl/articles/the-ultimate-guide-to-eapi-8.html#properties-test-network-to-ease-reenabling-tests-requiring-internet
    
    Closes: https://bugs.gentoo.org/941687
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-build/kas/kas-4.5-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)