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 19:54
Elapsed5m0s
Revisionba5c1c729d8abf6de0eab57bae0e3e755811d81a
Refs 269

No Test Failures!


Error lines from build-log.txt

... skipping 28 lines ...
{"level":"info","ts":"2019-04-08T19:55:21.878Z","caller":"ec2/ec2.go:729","msg":"created EC2 instance group","cluster-name":"a8-ec2-190408-6fxza14","subnet-id":"subnet-008bcb9bb07745756","availability-zone":"us-west-2b"}
{"level":"info","ts":"2019-04-08T19:55:32.957Z","caller":"ec2/ec2.go:774","msg":"instance is ready","cluster-name":"a8-ec2-190408-6fxza14","instance-id":"i-09f38afeac1f7411d","instance-public-ip":"52.35.230.181","instance-private-ip":"192.168.168.52","instance-public-dns":"ec2-52-35-230-181.us-west-2.compute.amazonaws.com","instance-private-dns":"ip-192-168-168-52.us-west-2.compute.internal"}
{"level":"info","ts":"2019-04-08T19:55:32.957Z","caller":"ec2/ec2.go:786","msg":"instance group is ready","client-token":"a8-ec2-190408-6fxza142D00686E","count":1}
{"level":"info","ts":"2019-04-08T19:55:37.958Z","caller":"ec2/ec2.go:798","msg":"created EC2 instances","cluster-name":"a8-ec2-190408-6fxza14","cluster-size":1,"request-started":"17 seconds ago"}
{"level":"info","ts":"2019-04-08T19:55:37.961Z","caller":"ec2/ec2.go:807","msg":"waiting for EC2 instances","cluster-name":"a8-ec2-190408-6fxza14","cluster-size":1,"request-started":"17 seconds ago"}
{"level":"info","ts":"2019-04-08T19:55:37.961Z","caller":"ec2/ec2.go:826","msg":"waiting for EC2","instance-id":"i-09f38afeac1f7411d"}
{"level":"warn","ts":"2019-04-08T19:55:41.087Z","caller":"ssh/ssh.go:118","msg":"failed to dial (instance might not be ready yet)","public-ip":"52.35.230.181","public-dns-name":"ec2-52-35-230-181.us-west-2.compute.amazonaws.com","error":"dial tcp 52.35.230.181:22: connect: connection refused"}
{"level":"info","ts":"2019-04-08T19:55:46.142Z","caller":"ssh/ssh.go:137","msg":"dialed","public-ip":"52.35.230.181","public-dns-name":"ec2-52-35-230-181.us-west-2.compute.amazonaws.com"}


  Updating   : 4:perl-macros-5.16.3-294.amzn2.x86_64                       2/18 
  Updating   : 4:perl-5.16.3-294.amzn2.x86_64                              3/18 
  Updating   : systemd-libs-219-57.amzn2.0.9.x86_64                        4/18 
... skipping 742 lines ...
aws iam remove-role-from-instance-profile --instance-profile-name a8-csi-instance-profile-190408376 --role-name a8-csi-role-190408376 \
  aws iam delete-instance-profile --instance-profile-name a8-csi-instance-profile-190408376 \
  aws iam detach-role-policy --role-name a8-csi-role-190408376 --policy-arn arn:aws:iam::607362164682:policy/a8-csi-policy-190408376 \
  aws iam delete-role --role-name a8-csi-role-190408376 \
  aws iam delete-policy --policy-arn arn:aws:iam::607362164682:policy/a8-csi-policy-190408376
{"level":"info","ts":"2019-04-08T19:58:01.567Z","caller":"ssh/ssh.go:137","msg":"dialed","public-ip":"52.35.230.181","public-dns-name":"ec2-52-35-230-181.us-west-2.compute.amazonaws.com"}
{"level":"warn","ts":"2019-04-08T19:58:53.572Z","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-08T19:58:53.572Z","caller":"ec2/ec2.go:485","msg":"deleting","cluster-name":"a8-ec2-190408-6fxza14"}
{"level":"info","ts":"2019-04-08T19:58:53.983Z","caller":"ec2/ec2.go:438","msg":"terminating","cluster-name":"a8-ec2-190408-6fxza14","instance-ids":["i-09f38afeac1f7411d"]}
{"level":"info","ts":"2019-04-08T19:59:40.165Z","caller":"ec2/ec2.go:465","msg":"terminated","cluster-name":"a8-ec2-190408-6fxza14","instance-id":"i-09f38afeac1f7411d"}
{"level":"info","ts":"2019-04-08T19:59:45.166Z","caller":"ec2/ec2.go:472","msg":"terminated","cluster-name":"a8-ec2-190408-6fxza14","instance-ids":["i-09f38afeac1f7411d"],"request-started":"51 seconds ago"}
{"level":"info","ts":"2019-04-08T19:59:45.429Z","caller":"ec2/security_group.go:103","msg":"deleted security group","group-id":"sg-03d8f73746b8ad647"}
{"level":"info","ts":"2019-04-08T19:59:47.560Z","caller":"ec2/security_group.go:115","msg":"deleted all security groups","group-ids":["sg-03d8f73746b8ad647"]}
... skipping 12 lines ...
{"level":"info","ts":1554753596.5133088,"caller":"csi/iam.go:214","msg":"removed role from instance profile","role-name":"a8-csi-role-190408376","instance-profile-name":"a8-csi-instance-profile-190408376"}
{"level":"info","ts":1554753596.5768852,"caller":"csi/iam.go:227","msg":"deleted instance profile"}
{"level":"info","ts":1554753596.6514113,"caller":"csi/iam.go:245","msg":"detached policy from role","policy-name":"a8-csi-policy-190408376","role-name":"a8-csi-role-190408376"}
{"level":"info","ts":1554753596.7274058,"caller":"csi/iam.go:257","msg":"deleted policy"}
{"level":"info","ts":1554753596.829712,"caller":"csi/iam.go:271","msg":"deleted role"}
{"level":"info","ts":1554753596.8298209,"caller":"csi/iam.go:280","msg":"successfully deleted all IAM resources"}
{"level":"info","ts":"2019-04-08T19:59:56.829Z","caller":"ssh/ssh.go:180","msg":"closed connection","public-ip":"52.35.230.181","public-dns-name":"ec2-52-35-230-181.us-west-2.compute.amazonaws.com","error":"close tcp 10.60.52.107:47990->52.35.230.181: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