canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #07189
[Bug 1850105] Re: ubuntu_k8s_unit_tests failed to build with cannot find package "context"
** Tags added: kernel-daily-bug
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/1850105
Title:
ubuntu_k8s_unit_tests failed to build with cannot find package
"context"
Status in ubuntu-kernel-tests:
Fix Released
Status in linux-signed-gcp package in Ubuntu:
Invalid
Bug description:
Issue found on Xenial GCP testing.
Test failed with:
vendor/k8s.io/client-go/rest/request.go:21:2: cannot find package "context" in any of:
/tmp/kubernetes.git/_output/local/go/src/k8s.io/kubernetes/vendor/context (vendor tree)
/usr/lib/go-1.6/src/context (from $GOROOT)
/tmp/kubernetes.git/_output/local/go/src/context (from $GOPATH)
Complete test log:
Running 'make test'
+++ [1023 18:04:28] Building the toolchain targets:
k8s.io/kubernetes/hack/cmd/teststale
k8s.io/kubernetes/vendor/github.com/jteeuwen/go-bindata/go-bindata
+++ [1023 18:04:30] Generating bindata:
test/e2e/generated/gobindata_util.go
/tmp/kubernetes.git /tmp/kubernetes.git/test/e2e/generated
/tmp/kubernetes.git/test/e2e/generated
+++ [1023 18:04:31] Building go targets for linux/amd64:
cmd/libs/go2idl/deepcopy-gen
+++ [1023 18:04:41] Building the toolchain targets:
k8s.io/kubernetes/hack/cmd/teststale
k8s.io/kubernetes/vendor/github.com/jteeuwen/go-bindata/go-bindata
+++ [1023 18:04:41] Generating bindata:
test/e2e/generated/gobindata_util.go
/tmp/kubernetes.git /tmp/kubernetes.git/test/e2e/generated
/tmp/kubernetes.git/test/e2e/generated
+++ [1023 18:04:41] Building go targets for linux/amd64:
cmd/libs/go2idl/defaulter-gen
+++ [1023 18:04:49] Building the toolchain targets:
k8s.io/kubernetes/hack/cmd/teststale
k8s.io/kubernetes/vendor/github.com/jteeuwen/go-bindata/go-bindata
+++ [1023 18:04:49] Generating bindata:
test/e2e/generated/gobindata_util.go
/tmp/kubernetes.git /tmp/kubernetes.git/test/e2e/generated
/tmp/kubernetes.git/test/e2e/generated
+++ [1023 18:04:50] Building go targets for linux/amd64:
cmd/libs/go2idl/conversion-gen
+++ [1023 18:04:59] Building the toolchain targets:
k8s.io/kubernetes/hack/cmd/teststale
k8s.io/kubernetes/vendor/github.com/jteeuwen/go-bindata/go-bindata
+++ [1023 18:04:59] Generating bindata:
test/e2e/generated/gobindata_util.go
/tmp/kubernetes.git /tmp/kubernetes.git/test/e2e/generated
/tmp/kubernetes.git/test/e2e/generated
+++ [1023 18:04:59] Building go targets for linux/amd64:
cmd/libs/go2idl/openapi-gen
Running tests for APIVersion: v1,apps/v1beta1,authentication.k8s.io/v1,authentication.k8s.io/v1beta1,authorization.k8s.io/v1,authorization.k8s.io/v1beta1,autoscaling/v1,autoscaling/v2alpha1,batch/v1,batch/v2alpha1,certificates.k8s.io/v1beta1,extensions/v1beta1,imagepolicy.k8s.io/v1alpha1,policy/v1beta1,rbac.authorization.k8s.io/v1beta1,rbac.authorization.k8s.io/v1alpha1,settings.k8s.io/v1alpha1,storage.k8s.io/v1beta1,storage.k8s.io/v1,federation/v1beta1
+++ [1023 18:05:14] Running tests without code coverage
vendor/k8s.io/client-go/rest/request.go:21:2: cannot find package "context" in any of:
/tmp/kubernetes.git/_output/local/go/src/k8s.io/kubernetes/vendor/context (vendor tree)
/usr/lib/go-1.6/src/context (from $GOROOT)
/tmp/kubernetes.git/_output/local/go/src/context (from $GOPATH)
!!! [1023 18:05:16] Call tree:
Makefile:164: recipe for target 'test' failed
!!! [1023 18:05:16] 1: hack/make-rules/test.sh:343 runTests(...)
make: *** [test] Error 1
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.15.0-1047-gcp 4.15.0-1047.50
ProcVersionSignature: Ubuntu 4.15.0-1047.50-gcp 4.15.18
Uname: Linux 4.15.0-1047-gcp x86_64
ApportVersion: 2.20.1-0ubuntu2.19
Architecture: amd64
Date: Mon Oct 28 04:54:34 2019
SourcePackage: linux-signed-gcp
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1850105/+subscriptions