go: disabling cache (/root/cache/go-build) due to initialization failure: mkdir /root/cache: permission denied === RUN Test_EnvstoreTest --- FAIL: Test_EnvstoreTest (10.01s) envstore_test.go:13: exit_code_test_fail envstore_test.go:17: Error Trace: envstore_test.go:17 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-hardened_test_20180512-194415 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) java-config: The following VMs are available for generation-2: emerge -qpv dev-util/bitrise [ebuild N ] dev-util/bitrise-1.16.1 USE="-doc"
Created attachment 535440 [details] emerge-info.txt
Created attachment 535442 [details] dev-util:bitrise-1.16.1:20180609-232910.log
Created attachment 535444 [details] emerge-history.txt
Created attachment 535446 [details] environment
Created attachment 535448 [details] etc.portage.tbz2
It is failing because there is no internet connection: > error: Get https://github.com/bitrise-io/envman/releases/download/1.1.13/envman-Linux-x86_64: dial tcp: lookup github.com on 127.0.0.1:53: read udp 127.0.0.1:33488->127.0.0.1:53: read: connection refused This one (envman) can also be compiled from source, so I can prepare ebuild for it and add it as a dependency for dev-util/bitrise. Let me know if you think there is a better solution.
I've added separate ebuilds for dependencies (envman and stepman), so tests shouldn't fail due to dependency download failures. However, if some test itself requires internet connection (e.g. it clones something from GitHub) it still may fail when there is no connection
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed2865794e0a21572eca83543082fcacd3117ba commit 2ed2865794e0a21572eca83543082fcacd3117ba Author: Karol Wrótniak <karol.wrotniak@droidsonroids.pl> AuthorDate: 2018-07-15 15:30:30 +0000 Commit: Tony Vroon <chainsaw@gentoo.org> CommitDate: 2018-07-17 16:24:45 +0000 dev-util/envman: new ebuild, version 1.2.0 Closes: https://github.com/gentoo/gentoo/pull/9236 Closes: https://bugs.gentoo.org/661248 Closes: https://bugs.gentoo.org/657710 dev-util/envman/Manifest | 1 + dev-util/envman/envman-1.2.0.ebuild | 38 +++++++++++++++++++++++++++++++++++++ dev-util/envman/metadata.xml | 19 +++++++++++++++++++ 3 files changed, 58 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d7dd4261989165a26bb65d4a8ff153b2053757 commit f7d7dd4261989165a26bb65d4a8ff153b2053757 Author: Karol Wrótniak <karol.wrotniak@droidsonroids.pl> AuthorDate: 2018-07-15 15:41:26 +0000 Commit: Tony Vroon <chainsaw@gentoo.org> CommitDate: 2018-07-17 17:09:07 +0000 dev-util/bitrise: bump version 1.19.0 Bug: https://bugs.gentoo.org/657710 Closes: https://bugs.gentoo.org/657710 Closes: https://github.com/gentoo/gentoo/pull/9237 dev-util/bitrise/Manifest | 1 + dev-util/bitrise/bitrise-1.19.0.ebuild | 45 ++++++++++++++++++++++++++++++++++ dev-util/bitrise/metadata.xml | 2 +- 3 files changed, 47 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d7dd4261989165a26bb65d4a8ff153b2053757 commit f7d7dd4261989165a26bb65d4a8ff153b2053757 Author: Karol Wrótniak <karol.wrotniak@droidsonroids.pl> AuthorDate: 2018-07-15 15:41:26 +0000 Commit: Tony Vroon <chainsaw@gentoo.org> CommitDate: 2018-07-17 17:09:07 +0000 dev-util/bitrise: bump version 1.19.0 Bug: https://bugs.gentoo.org/657710 Closes: https://bugs.gentoo.org/657710 Closes: https://github.com/gentoo/gentoo/pull/9237 dev-util/bitrise/Manifest | 1 + dev-util/bitrise/bitrise-1.19.0.ebuild | 45 ++++++++++++++++++++++++++++++++++ dev-util/bitrise/metadata.xml | 2 +- 3 files changed, 47 insertions(+), 1 deletion(-)