Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657710 - dev-util/bitrise-1.16.1 : [TEST] --- FAIL: Test_EnvstoreTest
Summary: dev-util/bitrise-1.16.1 : [TEST] --- FAIL: Test_EnvstoreTest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Karol Wrótniak
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-06-10 08:32 UTC by Toralf Förster
Modified: 2018-07-17 17:09 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.14 KB, text/plain)
2018-06-10 08:33 UTC, Toralf Förster
Details
dev-util:bitrise-1.16.1:20180609-232910.log (dev-util:bitrise-1.16.1:20180609-232910.log,36.40 KB, text/plain)
2018-06-10 08:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,622.50 KB, text/plain)
2018-06-10 08:33 UTC, Toralf Förster
Details
environment (environment,20.44 KB, text/plain)
2018-06-10 08:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,31.98 KB, application/x-bzip)
2018-06-10 08:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-06-10 08:32:59 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2018-06-10 08:33:01 UTC
Created attachment 535440 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-10 08:33:04 UTC
Created attachment 535442 [details]
dev-util:bitrise-1.16.1:20180609-232910.log
Comment 3 Toralf Förster gentoo-dev 2018-06-10 08:33:07 UTC
Created attachment 535444 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-06-10 08:33:10 UTC
Created attachment 535446 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-06-10 08:33:13 UTC
Created attachment 535448 [details]
etc.portage.tbz2
Comment 6 Karol Wrótniak 2018-06-10 12:31:01 UTC
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.
Comment 7 Karol Wrótniak 2018-07-15 15:55:36 UTC
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
Comment 8 Larry the Git Cow gentoo-dev 2018-07-17 16:25:01 UTC
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(+)
Comment 9 Larry the Git Cow gentoo-dev 2018-07-17 17:09:23 UTC
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(-)