failed to resolve package for vpython/cipd on CrOS pre-cq builders |
||||
Issue descriptionvpython fails to run in the pre-cq: chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129338-07:00 9091 0 annotate.go:242] original error: request to the backend failed after multiple attempts chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129412-07:00 9091 0 annotate.go:242] chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129431-07:00 9091 0 annotate.go:242] goroutine 1: chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129451-07:00 9091 0 annotate.go:242] #0 go.chromium.org/luci/cipd/client/cipd/client.go:120 - cipd.init() chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129465-07:00 9091 0 annotate.go:242] tag["this error is temporary"]: true chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129482-07:00 9091 0 annotate.go:242] chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129499-07:00 9091 0 annotate.go:242] #1 go.chromium.org/luci/vpython/./<autogenerated>:1 - cipd.init() chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129514-07:00 9091 0 annotate.go:242] #2 ./<autogenerated>:1 - main.init() chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129527-07:00 9091 0 annotate.go:242] #3 runtime/proc.go:186 - runtime.main() chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129541-07:00 9091 0 annotate.go:242] annotation #0: chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129554-07:00 9091 0 annotate.go:242] reason: failed to resolve packages chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129572-07:00 9091 0 annotate.go:242] annotation #1: chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129586-07:00 9091 0 annotate.go:242] reason: resolving package chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129600-07:00 9091 0 annotate.go:242] annotation #2: chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129613-07:00 9091 0 annotate.go:242] reason: failed to resolve package version (line 0) chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129627-07:00 9091 0 annotate.go:242] annotation #3: chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129662-07:00 9091 0 annotate.go:242] reason: failed to resolve package "infra/python/wheels/astroid-py2_py3" at version "version:1.6.3" chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129678-07:00 9091 0 annotate.go:242] chromite-0.0.2-r3864: [E2018-05-03T13:31:51.129691-07:00 9091 0 annotate.go:242] #4 runtime/asm_amd64.s:2361 - runtime.goexit() Affected CL https://chromium-review.googlesource.com/c/chromiumos/chromite/+/985121 Example pre-cq build http://cros-goldeneye/chromeos/healthmonitoring/buildDetails?buildbucketId=8947522919588668560
,
May 7 2018
The problem is we cannot resolve the hostname chrome-infra-packages.appspot.com inside of the ebuild/emerge.
,
May 7 2018
The ebuild environment is intentionally blocked from doing a bunch of stuff to avoid ebuilds having side effects. hostname resolution might be part of that.
,
May 7 2018
Okay, this is WAI. portage sandboxes package tests. I've got a workaround for now, which is kosher if you squint at it.
,
May 8 2018
correct, we've explicitly changed ebuilds to run most src_* phases in a network sandbox which means you only have 127.0.0.1 (and no dns access), for the reasons Don cited. we don't want network flakiness making tests fail/get randomly slow. |
||||
►
Sign in to add a comment |
||||
Comment 1 by ayatane@chromium.org
, May 4 2018