https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/aws-c-io-0.7.0 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 678229 [details] build.log build log and emerge --info
Created attachment 678232 [details] 1-LastTest.log.xz 1-LastTest.log (compressed because it exceeds attachment limit, use 'xzless' to read it)
I have to take a look. All tests work fine for me. -------- USE="test" ebuild aws-c-io-0.7.0.ebuild test (...) 100% tests passed, 0 tests failed out of 149 Total Test time (real) = 28.80 sec * Tests succeeded. >>> Completed testing dev-libs/aws-c-io-0.7.0 -------- That's what I see...
If your machine isn't online, all internet connectivity tests willl fail, yes. PR submitted with new USE flag "net-tests" to opt-in on internet connectivity tests.
(In reply to Sven Eden from comment #3) > I have to take a look. All tests work fine for me. > > -------- > USE="test" ebuild aws-c-io-0.7.0.ebuild test > (...) > 100% tests passed, 0 tests failed out of 149 > > Total Test time (real) = 28.80 sec > * Tests succeeded. > >>> Completed testing dev-libs/aws-c-io-0.7.0 > -------- > > That's what I see... emerge --info please?
As I wrote as an answer to your review, tests work fine if performed as a regular user using the ebuild command, even with enabled net-tests. I can unconditionally disable them, or add an explanation to metadata.xml, that enabling net-tests will fail regular testing via `emerge` if network-sandbox is enabled. (Which it always should)
Created attachment 678367 [details] emerge --info emerge --info as requested.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e81304b543febf538717b560e6cd821c6131a3e commit 0e81304b543febf538717b560e6cd821c6131a3e Author: Sven Eden <sven.eden@prydeworx.com> AuthorDate: 2020-12-14 20:10:07 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2021-01-05 09:06:29 +0000 dev-libs/aws-c-io: Disable tests requiring an internet connection Some of the tests require internet connectivity. On an offline machine these tests will therefore fail. As network sandboxing is enabled by default for years now, it is very unlikely that anybody would perform these tests anyway. Closes: https://bugs.gentoo.org/759802 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sven Eden <sven.eden@prydeworx.com> Closes: https://github.com/gentoo/gentoo/pull/18656 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../{aws-c-io-0.7.0.ebuild => aws-c-io-0.7.0-r1.ebuild} | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)