Skip to content

Commit

Permalink
Adds conformance results for the Equinix Metal Provider
Browse files Browse the repository at this point in the history
Signed-off-by: Marques Johansson <[email protected]>
  • Loading branch information
displague committed Jun 14, 2021
1 parent da8087c commit d3f881f
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
60 changes: 60 additions & 0 deletions report.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
=== RUN TestPackage
=== RUN TestPackage/IsInstalledAndHealthy
provider_test.go:69: Testing that the provider's Healthy and Installed status conditions are 'True'.
provider_test.go:85: Provider "equinix-provider-equinix-metal" is Healthy and Installed
=== RUN TestPackage/DeploysConformantCRDs
provider_test.go:93: Testing that ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" delivers only conformant CRDs.
provider_test.go:104: ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" status.objectRefs[0]: -want, +got:
schema.GroupVersionKind{
Group: "apiextensions.k8s.io",
- Version: "v1",
+ Version: "v1beta1",
Kind: "CustomResourceDefinition",
}
provider_test.go:104: ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" status.objectRefs[1]: -want, +got:
schema.GroupVersionKind{
Group: "apiextensions.k8s.io",
- Version: "v1",
+ Version: "v1beta1",
Kind: "CustomResourceDefinition",
}
provider_test.go:104: ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" status.objectRefs[2]: -want, +got:
schema.GroupVersionKind{
Group: "apiextensions.k8s.io",
- Version: "v1",
+ Version: "v1beta1",
Kind: "CustomResourceDefinition",
}
provider_test.go:104: ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" status.objectRefs[3]: -want, +got:
schema.GroupVersionKind{
Group: "apiextensions.k8s.io",
- Version: "v1",
+ Version: "v1beta1",
Kind: "CustomResourceDefinition",
}
provider_test.go:104: ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" status.objectRefs[4]: -want, +got:
schema.GroupVersionKind{
Group: "apiextensions.k8s.io",
- Version: "v1",
+ Version: "v1beta1",
Kind: "CustomResourceDefinition",
}
provider_test.go:131: ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" must define at least one conformant managed resource
provider_test.go:135: ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" must define at least one conformant provider config
provider_test.go:139: ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" must define at least one conformant provider config usage
=== RUN TestPackage/ManagedResourcesAppearConformant
provider_test.go:144: Testing that managed resources defined by ProviderRevision "equinix-provider-equinix-metal-3562d95d9e71" appear conformant.
=== RUN TestPackage/ManagedResourcesAppearConformant/VirtualNetwork
=== RUN TestPackage/ManagedResourcesAppearConformant/Assignment
=== RUN TestPackage/ManagedResourcesAppearConformant/Device
--- FAIL: TestPackage (0.03s)
--- PASS: TestPackage/IsInstalledAndHealthy (0.00s)
--- FAIL: TestPackage/DeploysConformantCRDs (0.00s)
--- PASS: TestPackage/ManagedResourcesAppearConformant (0.02s)
--- PASS: TestPackage/ManagedResourcesAppearConformant/VirtualNetwork (0.00s)
--- PASS: TestPackage/ManagedResourcesAppearConformant/Assignment (0.00s)
--- PASS: TestPackage/ManagedResourcesAppearConformant/Device (0.00s)
=== RUN TestVersion
version_test.go:25: Conformance test version: v1.2.1-cf.1
--- PASS: TestVersion (0.00s)
FAIL
20 changes: 20 additions & 0 deletions report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite tests="8" failures="2" time="0.050" name="">
<properties>
<property name="go.version" value="go1.16.4"></property>
</properties>
<testcase classname="" name="TestPackage" time="0.030">
<failure message="Failed" type=""></failure>
</testcase>
<testcase classname="" name="TestPackage/IsInstalledAndHealthy" time="0.000"></testcase>
<testcase classname="" name="TestPackage/DeploysConformantCRDs" time="0.000">
<failure message="Failed" type=""> provider_test.go:93: Testing that ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; delivers only conformant CRDs.&#xA; provider_test.go:104: ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; status.objectRefs[0]: -want, +got:&#xA; schema.GroupVersionKind{&#xA; }&#xA; provider_test.go:104: ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; status.objectRefs[1]: -want, +got:&#xA; schema.GroupVersionKind{&#xA; }&#xA; provider_test.go:104: ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; status.objectRefs[2]: -want, +got:&#xA; schema.GroupVersionKind{&#xA; }&#xA; provider_test.go:104: ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; status.objectRefs[3]: -want, +got:&#xA; schema.GroupVersionKind{&#xA; }&#xA; provider_test.go:104: ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; status.objectRefs[4]: -want, +got:&#xA; schema.GroupVersionKind{&#xA; }&#xA; provider_test.go:131: ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; must define at least one conformant managed resource&#xA; provider_test.go:135: ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; must define at least one conformant provider config&#xA; provider_test.go:139: ProviderRevision &#34;equinix-provider-equinix-metal-3562d95d9e71&#34; must define at least one conformant provider config usage</failure>
</testcase>
<testcase classname="" name="TestPackage/ManagedResourcesAppearConformant" time="0.020"></testcase>
<testcase classname="" name="TestPackage/ManagedResourcesAppearConformant/VirtualNetwork" time="0.000"></testcase>
<testcase classname="" name="TestPackage/ManagedResourcesAppearConformant/Assignment" time="0.000"></testcase>
<testcase classname="" name="TestPackage/ManagedResourcesAppearConformant/Device" time="0.000"></testcase>
<testcase classname="" name="TestVersion" time="0.000"></testcase>
</testsuite>
</testsuites>

0 comments on commit d3f881f

Please sign in to comment.