This job view page is being replaced by Spyglass soon. Check out the new job view.
PRtingrui-AWS-EKS-auth: Expose Principal Id to audit log
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2023-02-02 03:17
Elapsed16m51s
Revision2de61a8a23b68b76d073f4aca1e4be0498eeda3d
Refs 552

No Test Failures!


Error lines from build-log.txt

... skipping 376 lines ...
#17 exporting to image
#17 exporting layers
#17 exporting layers 0.3s done
#17 writing image sha256:72211e57595f60bbcee8b2854feeb94a29d97da3448a68d15027361cf74ce01d done
#17 naming to docker.io/library/aws-iam-authenticator:_6b3e9cc07058e2903958dc48ff24cd1a6a40a7fe_20230202T031838Z done
#17 DONE 0.3s
WARNING: failed to get git remote url: fatal: No remote configured to list refs from.
make[1]: Leaving directory '/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator'
"aws-iam-authenticator"
The push refers to repository [607362164682.dkr.ecr.us-west-2.amazonaws.com/aws-iam-authenticator]
1e613ca8c411: Preparing
0f0cbe4c9a64: Preparing
7b8490e4d3b4: Preparing
... skipping 47 lines ...
	go build \
	-o=/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/_output/bin/aws-iam-authenticator \
	-ldflags="-w -s -X sigs.k8s.io/aws-iam-authenticator/pkg.Version= -X sigs.k8s.io/aws-iam-authenticator/pkg.BuildDate=2023-02-02T03:22:46Z -X sigs.k8s.io/aws-iam-authenticator/pkg.CommitID=6b3e9cc07058e2903958dc48ff24cd1a6a40a7fe" \
	./cmd/aws-iam-authenticator/
make[2]: Leaving directory '/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator'
make[1]: Leaving directory '/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator'
Error: cluster not found "test-cluster-32435.k8s.local"
###
## Setting up roles
#
###
## aws-iam-authenticator-test-role-KubernetesAdmin role already exists
#
... skipping 19 lines ...
|.o ++. oS.+      |
|+.+o+o. ..       |
|oo oo....        |
|.      .         |
|                 |
+----[SHA256]-----+
Error: cluster not found "test-cluster-32435.k8s.local"
###
## Creating cluster test-cluster-32435.k8s.local with /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/test-cluster-32435.k8s.local.json (dry run)
#
I0202 03:22:53.824970   17786 new_cluster.go:248] Inferred "aws" cloud provider from zone "us-west-2a"
I0202 03:22:53.825145   17786 new_cluster.go:1102]  Cloud Provider ID = aws
I0202 03:22:54.144334   17786 subnets.go:182] Assigned CIDR 172.20.32.0/19 to subnet us-west-2a
... skipping 79 lines ...
Unable to connect to the server: dial tcp: lookup api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com on 10.63.240.10:53: no such host
Unable to connect to the server: dial tcp: lookup api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com on 10.63.240.10:53: no such host
Unable to connect to the server: dial tcp: lookup api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com on 10.63.240.10:53: no such host
Unable to connect to the server: dial tcp: lookup api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com on 10.63.240.10:53: no such host
Unable to connect to the server: dial tcp: lookup api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com on 10.63.240.10:53: no such host
Unable to connect to the server: dial tcp: lookup api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com on 10.63.240.10:53: no such host
error: Get "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/api?timeout=32s": dial tcp: lookup api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com on 10.63.240.10:53: no such host - error from a previous attempt: EOF
Unable to connect to the server: EOF
Unable to connect to the server: EOF
###
## Cluster is up!
#
###
... skipping 44 lines ...
ip-172-20-80-225.us-west-2.compute.internal	node	True

VALIDATION ERRORS
KIND	NAME					MESSAGE
Pod	kube-system/aws-iam-authenticator-h28gj	system-node-critical pod "aws-iam-authenticator-h28gj" is pending

Validation Failed
W0202 03:29:03.568162   18306 validate_cluster.go:232] (will retry): cluster not yet healthy
INSTANCE GROUPS
NAME			ROLE	MACHINETYPE	MIN	MAX	SUBNETS
master-us-west-2a	Master	t3.medium	1	1	us-west-2a
nodes-us-west-2a	Node	c5.large	1	1	us-west-2a
nodes-us-west-2b	Node	c5.large	1	1	us-west-2b
... skipping 49 lines ...
/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/apiserver_test.go:88
------------------------------
•could not get token: AccessDenied: User: arn:aws:iam::607362164682:user/awstester is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::607362164682:role/aws-iam-authenticator-test-role-KubernetesAdmin
	status code: 403, request id: f045cc19-5af6-4dfc-97ff-549edb049282

------------------------------
• [FAILED] [0.225 seconds]
[iam-auth-e2e] a kubernetes client
/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:37
  when assuming the KubernetesAdmin role
  /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:62
    [It] should send requests successfully
    /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:79

  Unexpected error:
      <*url.Error | 0xc0006f2090>: {
          Op: "Get",
          URL: "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/api/v1/namespaces/kube-system/pods",
          Err: <*errors.errorString | 0xc00012c080>{
              s: "getting credentials: exec: executable /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/bin/aws-iam-authenticator failed with exit code 1",
          },
      }
      Get "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/api/v1/namespaces/kube-system/pods": getting credentials: exec: executable /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/bin/aws-iam-authenticator failed with exit code 1
  occurred
  In [It] at: /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:84
------------------------------
could not get token: AccessDenied: User: arn:aws:iam::607362164682:user/awstester is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::607362164682:role/aws-iam-authenticator-test-role-KubernetesAdmin
	status code: 403, request id: 94c7051b-7722-4b39-a02c-2c5b5dc27c51
• [FAILED] [0.262 seconds]
[iam-auth-e2e] a kubernetes client
/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:37
  when assuming the KubernetesAdmin role
  /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:62
    [It] should be authorized to do everything
    /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:87

  Unexpected error:
      <*url.Error | 0xc0001112f0>: {
          Op: "Post",
          URL: "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/apis/authorization.k8s.io/v1/selfsubjectaccessreviews",
          Err: <*errors.errorString | 0xc000346c90>{
              s: "getting credentials: exec: executable /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/bin/aws-iam-authenticator failed with exit code 1",
          },
      }
      Post "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": getting credentials: exec: executable /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/bin/aws-iam-authenticator failed with exit code 1
  occurred
  In [It] at: /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:103
------------------------------
could not get token: AccessDenied: User: arn:aws:iam::607362164682:user/awstester is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::607362164682:role/aws-iam-authenticator-test-role-KubernetesUsers
	status code: 403, request id: 94e6c254-c71d-4dce-9239-b4175b915569
• [FAILED] [0.211 seconds]
[iam-auth-e2e] a kubernetes client
/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:37
  when assuming the KubernetesUsers role
  /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:108
    [It] should send a request successfully
    /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:125

  Unexpected error:
      <*url.Error | 0xc000814cc0>: {
          Op: "Get",
          URL: "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/api/v1/namespaces/kube-system/pods",
          Err: <*errors.errorString | 0xc00013f1c0>{
              s: "getting credentials: exec: executable /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/bin/aws-iam-authenticator failed with exit code 1",
          },
      }
      Get "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/api/v1/namespaces/kube-system/pods": getting credentials: exec: executable /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/bin/aws-iam-authenticator failed with exit code 1
  occurred
  In [It] at: /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:132
------------------------------
could not get token: AccessDenied: User: arn:aws:iam::607362164682:user/awstester is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::607362164682:role/aws-iam-authenticator-test-role-KubernetesUsers
	status code: 403, request id: 025191a4-f759-4738-b938-95193cda0c1e
• [FAILED] [0.233 seconds]
[iam-auth-e2e] a kubernetes client
/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:37
  when assuming the KubernetesUsers role
  /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:108
    [It] should be mapped to the right permissions
    /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:135

  Unexpected error:
      <*url.Error | 0xc000521b30>: {
          Op: "Post",
          URL: "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/apis/authorization.k8s.io/v1/selfsubjectaccessreviews",
          Err: <*errors.errorString | 0xc000206730>{
              s: "getting credentials: exec: executable /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/bin/aws-iam-authenticator failed with exit code 1",
          },
      }
      Post "https://api-test-cluster-32435-k8-7t63rq-1654827204.us-west-2.elb.amazonaws.com/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": getting credentials: exec: executable /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/hack/e2e/e2e-test-artifacts/bin/aws-iam-authenticator failed with exit code 1
  occurred
  In [It] at: /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:152
------------------------------
••


Summarizing 4 Failures:
  [FAIL] [iam-auth-e2e] a kubernetes client when assuming the KubernetesAdmin role [It] should send requests successfully
  /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:84
  [FAIL] [iam-auth-e2e] a kubernetes client when assuming the KubernetesAdmin role [It] should be authorized to do everything
  /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:103
  [FAIL] [iam-auth-e2e] a kubernetes client when assuming the KubernetesUsers role [It] should send a request successfully
  /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:132
  [FAIL] [iam-auth-e2e] a kubernetes client when assuming the KubernetesUsers role [It] should be mapped to the right permissions
  /home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator/tests/e2e/tests.go:152

Ran 8 of 8 Specs in 72.861 seconds
FAIL! -- 4 Passed | 4 Failed | 0 Pending | 0 Skipped
You're using deprecated Ginkgo functionality:
=============================================
  Support for custom reporters has been removed in V2.  Please read the documentation linked to below for Ginkgo's new behavior and for a migration path:
  Learn more at: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#removed-custom-reporters

To silence deprecations that can be silenced set the following environment variable:
  ACK_GINKGO_DEPRECATIONS=2.4.0

--- FAIL: TestE2E (72.86s)
FAIL

Ginkgo ran 1 suite in 1m38.347123766s
Test Suite Failed
+ TEST_PASSED=1
+ popd
/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator
+ set -e
+ set +x
###
... skipping 426 lines ...
vpc:vpc-03ddf48d9b9575746	ok
dhcp-options:dopt-01b399f50214789b1	ok
Deleted kubectl config for test-cluster-32435.k8s.local

Deleted cluster: "test-cluster-32435.k8s.local"

An error occurred (NoSuchEntity) when calling the DeleteRole operation: The role with name aws-iam-authenticator-test-role-KubernetesAdmin cannot be found.
make: *** [Makefile:110: e2e] Error 255
+ EXIT_VALUE=2
+ set +o xtrace
Cleaning up after docker in docker.
================================================================================
Cleaning up after docker
Stopping Docker: dockerProgram process in pidfile '/var/run/docker-ssd.pid', 1 process(es), refused to die.
... skipping 3 lines ...