Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800266 - [guru] dev-python/hstspreload-2021.3.22 fails tests
Summary: [guru] dev-python/hstspreload-2021.3.22 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-04 09:13 UTC by Agostino Sarubbo
Modified: 2021-07-07 14:02 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,57.42 KB, text/plain)
2021-07-04 09:13 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-07-04 09:13:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/hstspreload-2021.3.22 fails tests.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-04 09:13:41 UTC
Created attachment 721471 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-07-04 09:13:42 UTC
Possible context of error(s):

E   socket.gaierror: [Errno -3] Temporary failure in name resolution
Comment 3 Matthew Bakhtiari 2021-07-06 04:42:29 UTC
This is only caused in the portage environment, when ran manually it works fine. It looks like its unable to fetch https://chromium.googlesource.com/chromium/src/+/master/net/http/transport_security_state_static.json?format=TEXT. Possibly this is caused by some sandboxing issue? But I don't have enough expertise to know if portage does that or not?
Comment 4 Alessandro Barbieri 2021-07-06 05:17:00 UTC
Yes, the network is restricted by the sandbox
We have to add to the ebuild these two lines
RESTRICT="test"
PROPERTIES="test_network"
Comment 5 Larry the Git Cow gentoo-dev 2021-07-07 14:02:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0fd70228c7eabb096724d390788a0e1cec933a8

commit a0fd70228c7eabb096724d390788a0e1cec933a8
Author:     Matthew Bakhtiari <dev@mtbk.me>
AuthorDate: 2021-07-06 07:05:30 +0000
Commit:     Matthew Bakhtiari <dev@mtbk.me>
CommitDate: 2021-07-06 07:05:30 +0000

    dev-python/hstspreload: bump to 2021.7.5
    
    Closes: https://bugs.gentoo.org/800266
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Matthew <dev@mtbk.me>

 dev-python/hstspreload/Manifest                                         | 2 +-
 .../{hstspreload-2021.3.22.ebuild => hstspreload-2021.7.5.ebuild}       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)