Skip to content

Instantly share code, notes, and snippets.

@msnelling
Created January 7, 2022 19:47
Show Gist options
  • Save msnelling/7841d8af55957298942f66103e3d0b0b to your computer and use it in GitHub Desktop.
Save msnelling/7841d8af55957298942f66103e3d0b0b to your computer and use it in GitHub Desktop.
kbst / terraform-provider-kustomization test output for WSL
TF_ACC=1 go test -v ./kustomize
=== RUN TestAccDataSourceKustomization_basic
--- PASS: TestAccDataSourceKustomization_basic (0.64s)
=== RUN TestAccDataSourceKustomization_legacyName
--- PASS: TestAccDataSourceKustomization_legacyName (0.63s)
=== RUN TestAccDataSourceKustomization_helmChart
testing.go:705: Step 0 error: errors during refresh:
Error: kustomizationBuild: Kustomizer Run for path 'test_kustomizations/helm/initial' failed: : unable to run: 'helm version -c --short' with env=[HELM_CONFIG_HOME=/tmp/kustomize-helm-388156898/helm HELM_CACHE_HOME=/tmp/kustomize-helm-388156898/helm/.cache HELM_DATA_HOME=/tmp/kustomize-helm-388156898/helm/.data] (is 'helm' installed?)
on /tmp/tf-test335292111/main.tf line 7:
(source code not available)
--- FAIL: TestAccDataSourceKustomization_helmChart (0.17s)
=== RUN TestOverlayFileSystemTwoDataSources
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test857777625/main.tf line 10:
(source code not available)
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test857777625/main.tf line 2:
(source code not available)
--- FAIL: TestOverlayFileSystemTwoDataSources (0.03s)
=== RUN TestOverlayFileSystemCreate
--- PASS: TestOverlayFileSystemCreate (0.00s)
=== RUN TestOverlayFileSystemMkdir
--- PASS: TestOverlayFileSystemMkdir (0.00s)
=== RUN TestOverlayFileSystemMkdirAll
--- PASS: TestOverlayFileSystemMkdirAll (0.00s)
=== RUN TestOverlayFileSystemRemoveAll
--- PASS: TestOverlayFileSystemRemoveAll (0.00s)
=== RUN TestOverlayFileSystemOpen
--- PASS: TestOverlayFileSystemOpen (0.00s)
=== RUN TestOverlayFileSystemCleanedAbs
data_source_kustomization_overlay_fs_test.go:184:
Error Trace: data_source_kustomization_overlay_fs_test.go:184
Error: Not equal:
expected: "/home/mark/code/terraform-provider-kustomization/kustomize"
actual : "/mnt/c/Code/terraform-provider-kustomization/kustomize"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-(filesys.ConfirmedDir) (len=58) "/home/mark/code/terraform-provider-kustomization/kustomize"
+(filesys.ConfirmedDir) (len=54) "/mnt/c/Code/terraform-provider-kustomization/kustomize"
Test: TestOverlayFileSystemCleanedAbs
Messages: <nil>
--- FAIL: TestOverlayFileSystemCleanedAbs (0.01s)
=== RUN TestOverlayFileSystemExists
--- PASS: TestOverlayFileSystemExists (0.00s)
=== RUN TestOverlayFileSystemGlob
--- PASS: TestOverlayFileSystemGlob (0.00s)
=== RUN TestOverlayFileSystemIsDir
--- PASS: TestOverlayFileSystemIsDir (0.00s)
=== RUN TestOverlayFileSystemReadFile
--- PASS: TestOverlayFileSystemReadFile (0.00s)
=== RUN TestOverlayFileSystemWriteFile
--- PASS: TestOverlayFileSystemWriteFile (0.00s)
=== RUN TestDataSourceKustomizationOverlay_basic
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test914810664/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_basic (0.02s)
=== RUN TestDataSourceKustomizationOverlay_commonAnnotations
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test035982490/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_commonAnnotations (0.02s)
=== RUN TestDataSourceKustomizationOverlay_commonLabels
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test284413660/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_commonLabels (0.02s)
=== RUN TestDataSourceKustomizationOverlay_components
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test551240302/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_components (0.02s)
=== RUN TestDataSourceKustomizationOverlay_configMapGenerator
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test173517776/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_configMapGenerator (0.02s)
=== RUN TestDataSourceKustomizationOverlay_namespace
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test905841026/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_namespace (0.02s)
=== RUN TestDataSourceKustomizationOverlay_name_prefix_suffix
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test192151556/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_name_prefix_suffix (0.02s)
=== RUN TestDataSourceKustomizationOverlay_resources
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test330133462/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_resources (0.02s)
=== RUN TestDataSourceKustomizationOverlay_transformers
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test640222584/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_transformers (0.02s)
=== RUN TestDataSourceKustomizationOverlay_crds
testing.go:698: Step 0, expected error:
errors during refresh: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
To match:
json: cannot unmarshal string into Go value of type accumulator.OpenAPIDefinition
--- FAIL: TestDataSourceKustomizationOverlay_crds (0.02s)
=== RUN TestDataSourceKustomizationOverlay_generators
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test955329068/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_generators (0.02s)
=== RUN TestDataSourceKustomizationOverlay_generator_options
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test883088958/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_generator_options (0.02s)
=== RUN TestDataSourceKustomizationOverlay_images
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test192072224/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_images (0.02s)
=== RUN TestDataSourceKustomizationOverlay_patches
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test870027858/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_patches (0.02s)
=== RUN TestDataSourceKustomizationOverlay_replicas
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test525856084/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_replicas (0.02s)
=== RUN TestDataSourceKustomizationOverlay_secretGenerator
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test134612390/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_secretGenerator (0.02s)
=== RUN TestDataSourceKustomizationOverlay_vars
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test819015112/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_vars (0.02s)
=== RUN TestDataSourceKustomizationOverlay_conflict
--- PASS: TestDataSourceKustomizationOverlay_conflict (0.01s)
=== RUN TestDataSourceKustomizationOverlay_module
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test653348922/.modules/test/main.tf line 1:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_module (0.06s)
=== RUN TestDataSourceKustomizationOverlay_patchOptionsNoop
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test015557500/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_patchOptionsNoop (0.02s)
=== RUN TestDataSourceKustomizationOverlay_patchOptions
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test853233678/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_patchOptions (0.02s)
=== RUN TestDataSourceKustomizationOverlay_commonAnnotations_helm
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test578736240/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_commonAnnotations_helm (0.02s)
=== RUN TestDataSourceKustomizationOverlay_helm_charts_attr
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test617161506/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_helm_charts_attr (0.02s)
=== RUN TestDataSourceKustomizationOverlay_helm_charts_releasename
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test921102500/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_helm_charts_releasename (0.02s)
=== RUN TestDataSourceKustomizationOverlay_helm_charts_valuesFile
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test660285302/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_helm_charts_valuesFile (0.02s)
=== RUN TestDataSourceKustomizationOverlay_helm_charts_valuesInline
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test483704344/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_helm_charts_valuesInline (0.02s)
=== RUN TestDataSourceKustomizationOverlay_helm_charts_valuesMerge
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test571514122/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_helm_charts_valuesMerge (0.02s)
=== RUN TestDataSourceKustomizationOverlay_helm_charts_includeCrds
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test050849484/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_helm_charts_includeCrds (0.02s)
=== RUN TestDataSourceKustomizationOverlay_helm_charts_multiple_charts
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test118276062/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_helm_charts_multiple_charts (0.02s)
=== RUN TestDataSourceKustomizationOverlay_helm_charts_repo
testing.go:705: Step 0 error: errors during refresh:
Error: buildKustomizeOverlay: Kustomizer Run for path '.' failed: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/mnt/c/Code/terraform-provider-kustomization/kustomize'
on /tmp/tf-test550527168/main.tf line 2:
(source code not available)
--- FAIL: TestDataSourceKustomizationOverlay_helm_charts_repo (0.02s)
=== RUN TestDeterminePrefix
--- PASS: TestDeterminePrefix (0.83s)
=== RUN TestPrefixHash
--- PASS: TestPrefixHash (0.00s)
=== RUN TestPrefixHashMaxInt
--- PASS: TestPrefixHashMaxInt (0.00s)
=== RUN TestIdSetHash
--- PASS: TestIdSetHash (0.00s)
=== RUN TestAccResourceKustomization_legacy_basic
--- PASS: TestAccResourceKustomization_legacy_basic (37.35s)
=== RUN TestAccResourceKustomization_importLegacyInvalidID
--- PASS: TestAccResourceKustomization_importLegacyInvalidID (0.01s)
=== RUN TestAccResourceKustomization_legacy_updateInplace
--- PASS: TestAccResourceKustomization_legacy_updateInplace (26.88s)
=== RUN TestAccResourceKustomization_legacy_updateRecreate
--- PASS: TestAccResourceKustomization_legacy_updateRecreate (33.13s)
=== RUN TestAccResourceKustomization_legacy_updateRecreateNameOrNamespaceChange
--- PASS: TestAccResourceKustomization_legacy_updateRecreateNameOrNamespaceChange (21.54s)
=== RUN TestAccResourceKustomization_legacy_updateRecreateStatefulSet
--- PASS: TestAccResourceKustomization_legacy_updateRecreateStatefulSet (15.42s)
=== RUN TestAccResourceKustomization_legacy_webhook
--- PASS: TestAccResourceKustomization_legacy_webhook (2.39s)
=== RUN TestAccResourceKustomization_basic
--- PASS: TestAccResourceKustomization_basic (27.62s)
=== RUN TestAccResourceKustomization_importInvalidID
--- PASS: TestAccResourceKustomization_importInvalidID (0.01s)
=== RUN TestAccResourceKustomization_updateInplace
--- PASS: TestAccResourceKustomization_updateInplace (42.16s)
=== RUN TestAccResourceKustomization_updateRecreate
--- PASS: TestAccResourceKustomization_updateRecreate (17.21s)
=== RUN TestAccResourceKustomization_updateRecreateNameOrNamespaceChange
--- PASS: TestAccResourceKustomization_updateRecreateNameOrNamespaceChange (21.75s)
=== RUN TestAccResourceKustomization_updateRecreateStatefulSet
--- PASS: TestAccResourceKustomization_updateRecreateStatefulSet (16.68s)
=== RUN TestAccResourceKustomization_upgradeAPIVersion
W0107 19:44:22.634649 7040 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0107 19:44:22.653677 7040 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0107 19:44:22.682204 7040 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0107 19:44:22.995060 7040 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0107 19:44:23.345929 7040 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
--- PASS: TestAccResourceKustomization_upgradeAPIVersion (9.30s)
=== RUN TestAccResourceKustomization_crd
--- PASS: TestAccResourceKustomization_crd (17.06s)
=== RUN TestAccResourceKustomization_webhook
--- PASS: TestAccResourceKustomization_webhook (2.43s)
=== RUN TestAccResourceKustomization_transformerConfigs
--- PASS: TestAccResourceKustomization_transformerConfigs (36.21s)
=== RUN TestFlattenLegacyKustomizationIDs
--- PASS: TestFlattenLegacyKustomizationIDs (0.14s)
=== RUN TestConvertKustomizationIDs
--- PASS: TestConvertKustomizationIDs (0.14s)
=== RUN TestLastAppliedConfig
--- PASS: TestLastAppliedConfig (0.00s)
=== RUN TestGetPatchStrategicMergePatch1
--- PASS: TestGetPatchStrategicMergePatch1 (0.00s)
=== RUN TestGetPatchStrategicMergePatch2
--- PASS: TestGetPatchStrategicMergePatch2 (0.00s)
=== RUN TestGetPatchMergePatch
--- PASS: TestGetPatchMergePatch (0.00s)
FAIL
FAIL github.com/kbst/terraform-provider-kustomize/kustomize 330.467s
FAIL
make: *** [Makefile:6: test] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment