This job view page is being replaced by Spyglass soon. Check out the new job view.
PRzacharya: Refactor controller unit test with proper mock
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2019-04-08 15:36
Elapsed4m42s
Revisionba5c1c729d8abf6de0eab57bae0e3e755811d81a
Refs 269

No Test Failures!


Error lines from build-log.txt

... skipping 334 lines ...
go/test/varinit.go
go/test/writebarrier.go
go/test/zerodivide.go
adding GOPATH to bashrc
go version go1.11.4 linux/amd64
Cloning into 'aws-ebs-csi-driver'...
fatal: unable to access 'https://github.com/kubernetes-sigs/aws-ebs-csi-driver.git/': Could not resolve host: github.com


{"level":"info","ts":"2019-04-08T15:38:12.665Z","caller":"ec2/ec2.go:873","msg":"cloud-init-output NOT READY","cluster-name":"a8-ec2-190408-1w7t5i4","instance-id":"i-0e7190508c6268f8e"}

# change SSH key permission
chmod 400 /tmp/a8-ec2.key240936061
... skipping 17 lines ...
go/test/varinit.go
go/test/writebarrier.go
go/test/zerodivide.go
adding GOPATH to bashrc
go version go1.11.4 linux/amd64
Cloning into 'aws-ebs-csi-driver'...
fatal: unable to access 'https://github.com/kubernetes-sigs/aws-ebs-csi-driver.git/': Could not resolve host: github.com


{"level":"info","ts":"2019-04-08T15:38:19.477Z","caller":"ec2/ec2.go:873","msg":"cloud-init-output NOT READY","cluster-name":"a8-ec2-190408-1w7t5i4","instance-id":"i-0e7190508c6268f8e"}

# change SSH key permission
chmod 400 /tmp/a8-ec2.key240936061
... skipping 405 lines ...
aws iam remove-role-from-instance-profile --instance-profile-name a8-csi-instance-profile-1904082415 --role-name a8-csi-role-1904082415 \
  aws iam delete-instance-profile --instance-profile-name a8-csi-instance-profile-1904082415 \
  aws iam detach-role-policy --role-name a8-csi-role-1904082415 --policy-arn arn:aws:iam::607362164682:policy/a8-csi-policy-1904082415 \
  aws iam delete-role --role-name a8-csi-role-1904082415 \
  aws iam delete-policy --policy-arn arn:aws:iam::607362164682:policy/a8-csi-policy-1904082415
{"level":"info","ts":"2019-04-08T15:39:27.966Z","caller":"ssh/ssh.go:137","msg":"dialed","public-ip":"34.209.47.10","public-dns-name":"ec2-34-209-47-10.us-west-2.compute.amazonaws.com"}
{"level":"warn","ts":"2019-04-08T15:40:20.068Z","caller":"ssh/ssh.go:257","msg":"command failed","cmd":"cd /home/ec2-user/go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver && sudo sh -c 'source /home/ec2-user/.bashrc && ./hack/test-integration.sh'","error":"Process exited with status 1"}
{"level":"info","ts":"2019-04-08T15:40:20.068Z","caller":"ec2/ec2.go:485","msg":"deleting","cluster-name":"a8-ec2-190408-1w7t5i4"}
{"level":"info","ts":"2019-04-08T15:40:20.467Z","caller":"ec2/ec2.go:438","msg":"terminating","cluster-name":"a8-ec2-190408-1w7t5i4","instance-ids":["i-0e7190508c6268f8e"]}
{"level":"info","ts":"2019-04-08T15:40:40.979Z","caller":"ec2/ec2.go:465","msg":"terminated","cluster-name":"a8-ec2-190408-1w7t5i4","instance-id":"i-0e7190508c6268f8e"}
{"level":"info","ts":"2019-04-08T15:40:45.979Z","caller":"ec2/ec2.go:472","msg":"terminated","cluster-name":"a8-ec2-190408-1w7t5i4","instance-ids":["i-0e7190508c6268f8e"],"request-started":"25 seconds ago"}
{"level":"info","ts":"2019-04-08T15:40:46.246Z","caller":"ec2/security_group.go:103","msg":"deleted security group","group-id":"sg-09493be0dd0a5ccaa"}
{"level":"info","ts":"2019-04-08T15:40:48.373Z","caller":"ec2/security_group.go:115","msg":"deleted all security groups","group-ids":["sg-09493be0dd0a5ccaa"]}
... skipping 12 lines ...
{"level":"info","ts":1554738057.349305,"caller":"csi/iam.go:214","msg":"removed role from instance profile","role-name":"a8-csi-role-1904082415","instance-profile-name":"a8-csi-instance-profile-1904082415"}
{"level":"info","ts":1554738057.395121,"caller":"csi/iam.go:227","msg":"deleted instance profile"}
{"level":"info","ts":1554738057.452369,"caller":"csi/iam.go:245","msg":"detached policy from role","policy-name":"a8-csi-policy-1904082415","role-name":"a8-csi-role-1904082415"}
{"level":"info","ts":1554738057.5118937,"caller":"csi/iam.go:257","msg":"deleted policy"}
{"level":"info","ts":1554738057.585058,"caller":"csi/iam.go:271","msg":"deleted role"}
{"level":"info","ts":1554738057.5851696,"caller":"csi/iam.go:280","msg":"successfully deleted all IAM resources"}
{"level":"info","ts":"2019-04-08T15:40:57.585Z","caller":"ssh/ssh.go:180","msg":"closed connection","public-ip":"34.209.47.10","public-dns-name":"ec2-34-209-47-10.us-west-2.compute.amazonaws.com","error":"close tcp 10.60.253.39:40962->34.209.47.10:22: use of closed network connection"}
error with CSI integration test (CSI integration test FAILED (Process exited with status 1, *ssh.ExitError))
Makefile:44: recipe for target 'test-integration' failed
make: *** [test-integration] Error 1
+ EXIT_VALUE=2
+ set +o xtrace