VMware Tanzu Application Service for VMs

 View Only

 Smoke test fails during PKS installation on GCP

David Rill's profile image
David Rill posted Feb 22, 2019 07:57 AM

Hi all,

 

I try to install PKS on GCP but the smoke test fails and gives back the next error:

Instance pivotal-container-service/a2915da6-3b5c-4fa8-8b05-9e017acf2455 Exit Code 1 Stdout Running Suite: SmokeTests Suite =============================== Random Seed: [1m1550835046[0m Will run [1m2[0m of [1m2[0m specs PKS Cli 2019/02/22 11:30:46 Login... PKS Cli 2019/02/22 11:30:46 UAA Client type authentication PKS Cli 2019/02/22 11:30:47 Result of login: Login successful. PKS Cli 2019/02/22 11:30:48 Result of plans: [ { "id": "8A0E21A8-8072-4D80-B365-D1F502085560", "name": "small", "description": "Example: This plan will configure a lightweight kubernetes cluster. Not recommended for production workloads.", "worker_instances": 1, "master_instances": 1 } ] Smoke tests 2019/02/22 11:30:48 Plan to use: {8A0E21A8-8072-4D80-B365-D1F502085560 small Example: This plan will configure a lightweight kubernetes cluster. Not recommended for production workloads. 1 1} Smoke tests 2019/02/22 11:30:48 Creating cluster PKS Cli 2019/02/22 11:30:48 CreateCluster params: {Name:smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809 KubernetesMasterHost:smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809 KubernetesWorkerInstances:2 PlanID:small} PKS Cli 2019/02/22 12:04:07 Result of create-cluster: In Progress... Error: operation failed for cluster smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809 [91m[1m• Failure [2001.390 seconds][0m [smoke-tests] PKS Smoke Tests [90m/var/vcap/data/compile/smoke-tests/src/errands/cmd/smoke-tests/smoke_tests.go:26[0m [91m[1mCreate cluster should be success [It][0m Errand 'smoke-tests' completed with error (exit code 1) Exit code 1 [90m/var/vcap/data/compile/smoke-tests/src/errands/cmd/smoke-tests/smoke_tests.go:57[0m [91mExpected error: <*errors.fundamental | 0xc4201447e0>: { msg: "Error when creating test Cluster: Error: exit status 1.\n Detail: \nIn Progress... \nError: operation failed for cluster smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809\n\n\n", stack: [0x732d83, 0x733c77, 0x6e132c, 0x6e0f6e, 0x6e024f, 0x6e7346, 0x6e6d53, 0x70632d, 0x70604c, 0x70565c, 0x70798c, 0x709be3, 0x709969, 0x734104, 0x4e3720, 0x45a0c1], } Error when creating test Cluster: Error: exit status 1. Detail: In Progress... Error: operation failed for cluster smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809 not to have occurred[0m /var/vcap/data/compile/smoke-tests/src/errands/cmd/smoke-tests/smoke_tests.go:69 [90m------------------------------[0m PKS Cli 2019/02/22 12:04:07 Login... PKS Cli 2019/02/22 12:04:07 UAA Client type authentication PKS Cli 2019/02/22 12:04:07 Result of login: Login successful. Smoke tests 2019/02/22 12:04:07 Deleting cluster smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809 PKS Cli 2019/02/22 12:04:07 DeleteCluster params: smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809 PKS Cli 2019/02/22 12:05:49 Result of delete-cluster: Deletion of smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809 in progress - waiting for it to complete In Progress... Deletion of smoke-test-9d48cd6b-fb09-4d2b-a371-757f522de809 completed [32m• [SLOW TEST:101.575 seconds][0m [smoke-tests] PKS Smoke Tests [90m/var/vcap/data/compile/smoke-tests/src/errands/cmd/smoke-tests/smoke_tests.go:26[0m Delete cluster should be success [90m/var/vcap/data/compile/smoke-tests/src/errands/cmd/smoke-tests/smoke_tests.go:74[0m [90m------------------------------[0m [91m[1mSummarizing 1 Failure:[0m [91m[1m[Fail] [0m[90m[smoke-tests] PKS Smoke Tests [0m[91m[1m[It] Create cluster should be success [0m [37m/var/vcap/data/compile/smoke-tests/src/errands/cmd/smoke-tests/smoke_tests.go:69[0m [1m[91mRan 2 of 2 Specs in 2102.965 seconds[0m [1m[91mFAIL![0m -- [32m[1m1 Passed[0m | [91m[1m1 Failed[0m | [33m[1m0 Pending[0m | [36m[1m0 Skipped[0m --- FAIL: TestSmokeTests (2102.97s) FAIL Stderr -

Side informations:

  • It's not prod environment, for test/demo purpose only
  • My goal is: install PKS and communicate with PKS API
  • I have installed the environment with the latest release of `terraforming-pcf` 0.63.0
    • cdd into terraforming-pks, create `terraform.tfvars`, plan, apply
  • I have a subdomain assigned to Google Cloud DNS
    • I can and I use the fqdn address of ops manager.

 

Does this output make sense to anyone?

 

Any help would be really appreciated as well as ask for any information that you need for digging deeper.

Kyle Roberts's profile image
Broadcom Employee Kyle Roberts

What was the status of the vms?

bosh vms

 

Getting onto the vm via 'bosh ssh' you can look at the logs in /var/vcap/sys/log/smoke-tests and dig deeper into that.

David Rill's profile image
David Rill

Hi Kyle,

Fist of all, thank you very much for your comment. Unfortunately I don't remember of the vms' status due to the long time period. Also, I have dragged into another tasks so I wasn't able to spend more time on investigation.

Once I will have any time I will follow your advised steps then will update the post or write a new comment. I don't have ETA so if that's the case feel free to close or use any flair to the thread as solved or something.