Review comments for TPM attestation
Lots of comments and an updated boot test. Generously increase the timeout to eliminate random CI failures.
Test Plan: Boot test works
Bug: T499
X-Origin-Diff: phab/D319
GitOrigin-RevId: cf17fe7c599f670ff8b6f0ac60486f2a04f13a5a
diff --git a/core/scripts/test_boot.sh b/core/scripts/test_boot.sh
index 03cf8c4..e927c94 100755
--- a/core/scripts/test_boot.sh
+++ b/core/scripts/test_boot.sh
@@ -9,7 +9,7 @@
# (see https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfiles/runfiles.bash)
set kubectl_path "external/kubernetes/cmd/kubectl/linux_amd64_pure_stripped/kubectl"
-set timeout 60
+set timeout 120
proc print_stderr {msg} {
send_error "\[TEST\] $msg\n"
@@ -38,7 +38,7 @@
spawn $kubectl_path cluster-info dump -s https://localhost:6443 --username none --password none --insecure-skip-tls-verify=true
expect "User \"system:anonymous\" cannot list resource \"nodes\" in API group \"\" at the cluster scope" {} default {
- print_stderr "Failed while waiting for encrypted storage\n"
+ print_stderr "Failed while waiting for kubectl test\n"
exit 1
}