diff --git a/pkg/client/results/processing_test.go b/pkg/client/results/processing_test.go index 163e957fc..1ac69d827 100644 --- a/pkg/client/results/processing_test.go +++ b/pkg/client/results/processing_test.go @@ -147,7 +147,7 @@ func TestPostProcessPlugin(t *testing.T) { } if *update { // Update all the golden files instead of actually testing against them. - itemBytes, err := json.Marshal(item) + itemBytes, err := json.MarshalIndent(item, "", "") if err != nil { t.Fatalf("Failed to marshal item: %v", err) } diff --git a/pkg/client/results/testdata/mockResults/plugins/ds-junit-01/ds-junit-01.golden.json b/pkg/client/results/testdata/mockResults/plugins/ds-junit-01/ds-junit-01.golden.json index 685b6f4ae..69d10750e 100644 --- a/pkg/client/results/testdata/mockResults/plugins/ds-junit-01/ds-junit-01.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/ds-junit-01/ds-junit-01.golden.json @@ -1 +1,41 @@ -{"name":"ds-junit-01","status":"passed","items":[{"name":"global","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]","status":"passed"},{"name":"[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]}]}]} \ No newline at end of file +{ +"name": "ds-junit-01", +"status": "passed", +"items": [ +{ +"name": "global", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/ds-junit-02/ds-junit-02.golden.json b/pkg/client/results/testdata/mockResults/plugins/ds-junit-02/ds-junit-02.golden.json index 287922a4a..6888b78e5 100644 --- a/pkg/client/results/testdata/mockResults/plugins/ds-junit-02/ds-junit-02.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/ds-junit-02/ds-junit-02.golden.json @@ -1 +1,70 @@ -{"name":"ds-junit-02","status":"failed","items":[{"name":"global","status":"failed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]","status":"passed"},{"name":"[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]},{"name":"output2.xml","status":"failed","meta":{"file":"results/global/output2.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]","status":"failed","details":{"failure":"/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:696\nConformance test suite needs a cluster with at least 2 nodes.\nExpected\n \u003cint\u003e: 1\nto be \u003e\n \u003cint\u003e: 1\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:385","system-out":"[BeforeEach] ..."}},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]}]}]} \ No newline at end of file +{ +"name": "ds-junit-02", +"status": "failed", +"items": [ +{ +"name": "global", +"status": "failed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +}, +{ +"name": "output2.xml", +"status": "failed", +"meta": { +"file": "results/global/output2.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]", +"status": "failed", +"details": { +"failure": "/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:696\nConformance test suite needs a cluster with at least 2 nodes.\nExpected\n \u003cint\u003e: 1\nto be \u003e\n \u003cint\u003e: 1\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:385", +"system-out": "[BeforeEach] ..." +} +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/ds-junit-03/ds-junit-03.golden.json b/pkg/client/results/testdata/mockResults/plugins/ds-junit-03/ds-junit-03.golden.json index 38dd51f36..25bbc3352 100644 --- a/pkg/client/results/testdata/mockResults/plugins/ds-junit-03/ds-junit-03.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/ds-junit-03/ds-junit-03.golden.json @@ -1 +1,70 @@ -{"name":"ds-junit-03","status":"failed","items":[{"name":"global","status":"failed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]","status":"passed"},{"name":"[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]},{"name":"output2.xml","status":"failed","meta":{"file":"results/global/output2.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]","status":"failed","details":{"failure":"/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:696\nConformance test suite needs a cluster with at least 2 nodes.\nExpected\n \u003cint\u003e: 1\nto be \u003e\n \u003cint\u003e: 1\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:385","system-out":"[BeforeEach] ..."}},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]}]}]} \ No newline at end of file +{ +"name": "ds-junit-03", +"status": "failed", +"items": [ +{ +"name": "global", +"status": "failed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +}, +{ +"name": "output2.xml", +"status": "failed", +"meta": { +"file": "results/global/output2.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]", +"status": "failed", +"details": { +"failure": "/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:696\nConformance test suite needs a cluster with at least 2 nodes.\nExpected\n \u003cint\u003e: 1\nto be \u003e\n \u003cint\u003e: 1\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:385", +"system-out": "[BeforeEach] ..." +} +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/ds-raw-01/ds-raw-01.golden.json b/pkg/client/results/testdata/mockResults/plugins/ds-raw-01/ds-raw-01.golden.json index 389beb887..7e05d6efe 100644 --- a/pkg/client/results/testdata/mockResults/plugins/ds-raw-01/ds-raw-01.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/ds-raw-01/ds-raw-01.golden.json @@ -1 +1,19 @@ -{"name":"ds-raw-01","status":"passed","items":[{"name":"global","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"}}]}]} \ No newline at end of file +{ +"name": "ds-raw-01", +"status": "passed", +"items": [ +{ +"name": "global", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +} +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/ds-raw-02/ds-raw-02.golden.json b/pkg/client/results/testdata/mockResults/plugins/ds-raw-02/ds-raw-02.golden.json index b3ee307bc..db07848ed 100644 --- a/pkg/client/results/testdata/mockResults/plugins/ds-raw-02/ds-raw-02.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/ds-raw-02/ds-raw-02.golden.json @@ -1 +1,26 @@ -{"name":"ds-raw-02","status":"passed","items":[{"name":"global","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"}},{"name":"output2.xml","status":"passed","meta":{"file":"results/global/output2.xml"}}]}]} \ No newline at end of file +{ +"name": "ds-raw-02", +"status": "passed", +"items": [ +{ +"name": "global", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +} +}, +{ +"name": "output2.xml", +"status": "passed", +"meta": { +"file": "results/global/output2.xml" +} +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/ds-raw-03/ds-raw-03.golden.json b/pkg/client/results/testdata/mockResults/plugins/ds-raw-03/ds-raw-03.golden.json index 0304db942..39012fede 100644 --- a/pkg/client/results/testdata/mockResults/plugins/ds-raw-03/ds-raw-03.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/ds-raw-03/ds-raw-03.golden.json @@ -1 +1,26 @@ -{"name":"ds-raw-03","status":"passed","items":[{"name":"global","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"}},{"name":"output2.xml","status":"passed","meta":{"file":"results/global/output2.xml"}}]}]} \ No newline at end of file +{ +"name": "ds-raw-03", +"status": "passed", +"items": [ +{ +"name": "global", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +} +}, +{ +"name": "output2.xml", +"status": "passed", +"meta": { +"file": "results/global/output2.xml" +} +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/job-default-01/job-default-01.golden.json b/pkg/client/results/testdata/mockResults/plugins/job-default-01/job-default-01.golden.json index 21a2bc0fe..9216678e5 100644 --- a/pkg/client/results/testdata/mockResults/plugins/job-default-01/job-default-01.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/job-default-01/job-default-01.golden.json @@ -1 +1,13 @@ -{"name":"job-default-01","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"}}]} \ No newline at end of file +{ +"name": "job-default-01", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +} +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/job-default-02/job-default-02.golden.json b/pkg/client/results/testdata/mockResults/plugins/job-default-02/job-default-02.golden.json index 9c160a9ab..7493ca545 100644 --- a/pkg/client/results/testdata/mockResults/plugins/job-default-02/job-default-02.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/job-default-02/job-default-02.golden.json @@ -1 +1,20 @@ -{"name":"job-default-02","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"}},{"name":"output2.xml","status":"passed","meta":{"file":"results/global/output2.xml"}}]} \ No newline at end of file +{ +"name": "job-default-02", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +} +}, +{ +"name": "output2.xml", +"status": "passed", +"meta": { +"file": "results/global/output2.xml" +} +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/job-junit-01/job-junit-01.golden.json b/pkg/client/results/testdata/mockResults/plugins/job-junit-01/job-junit-01.golden.json index 8c3713dce..91037a576 100644 --- a/pkg/client/results/testdata/mockResults/plugins/job-junit-01/job-junit-01.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/job-junit-01/job-junit-01.golden.json @@ -1 +1,35 @@ -{"name":"job-junit-01","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]","status":"passed"},{"name":"[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]}]} \ No newline at end of file +{ +"name": "job-junit-01", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/job-junit-02/job-junit-02.golden.json b/pkg/client/results/testdata/mockResults/plugins/job-junit-02/job-junit-02.golden.json index 753878494..a6baf6019 100644 --- a/pkg/client/results/testdata/mockResults/plugins/job-junit-02/job-junit-02.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/job-junit-02/job-junit-02.golden.json @@ -1 +1,64 @@ -{"name":"job-junit-02","status":"failed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]","status":"passed"},{"name":"[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]},{"name":"output2.xml","status":"failed","meta":{"file":"results/global/output2.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]","status":"failed","details":{"failure":"/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:696\nConformance test suite needs a cluster with at least 2 nodes.\nExpected\n \u003cint\u003e: 1\nto be \u003e\n \u003cint\u003e: 1\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:385","system-out":"[BeforeEach] ..."}},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]}]} \ No newline at end of file +{ +"name": "job-junit-02", +"status": "failed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +}, +{ +"name": "output2.xml", +"status": "failed", +"meta": { +"file": "results/global/output2.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]", +"status": "failed", +"details": { +"failure": "/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:696\nConformance test suite needs a cluster with at least 2 nodes.\nExpected\n \u003cint\u003e: 1\nto be \u003e\n \u003cint\u003e: 1\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:385", +"system-out": "[BeforeEach] ..." +} +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/job-junit-03/job-junit-03.golden.json b/pkg/client/results/testdata/mockResults/plugins/job-junit-03/job-junit-03.golden.json index 24dc22eef..f318c8e43 100644 --- a/pkg/client/results/testdata/mockResults/plugins/job-junit-03/job-junit-03.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/job-junit-03/job-junit-03.golden.json @@ -1 +1,64 @@ -{"name":"job-junit-03","status":"failed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]","status":"passed"},{"name":"[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]},{"name":"output2.xml","status":"failed","meta":{"file":"results/global/output2.xml"},"items":[{"name":"[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]","status":"passed"},{"name":"[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]","status":"failed","details":{"failure":"/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:696\nConformance test suite needs a cluster with at least 2 nodes.\nExpected\n \u003cint\u003e: 1\nto be \u003e\n \u003cint\u003e: 1\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:385","system-out":"[BeforeEach] ..."}},{"name":"[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource","status":"skipped"},{"name":"[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]","status":"skipped"}]}]} \ No newline at end of file +{ +"name": "job-junit-03", +"status": "failed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-node] ConfigMap should fail to create ConfigMap with empty key [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] Downward API volume should set DefaultMode on files [LinuxOnly] [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +}, +{ +"name": "output2.xml", +"status": "failed", +"meta": { +"file": "results/global/output2.xml" +}, +"items": [ +{ +"name": "[k8s.io] Pods should be submitted and removed [NodeConformance] [Conformance]", +"status": "passed" +}, +{ +"name": "[sig-apps] Daemon set [Serial] should rollback without unnecessary restarts [Conformance]", +"status": "failed", +"details": { +"failure": "/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:696\nConformance test suite needs a cluster with at least 2 nodes.\nExpected\n \u003cint\u003e: 1\nto be \u003e\n \u003cint\u003e: 1\n/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apps/daemon_set.go:385", +"system-out": "[BeforeEach] ..." +} +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: local][LocalVolumeType: dir-link-bindmounted] [Testpattern: Dynamic PV (default fs)] subPath should support existing directories when readOnly specified in the volumeSource", +"status": "skipped" +}, +{ +"name": "[sig-storage] In-tree Volumes [Driver: rbd][Feature:Volumes] [Testpattern: Pre-provisioned PV (default fs)] subPath should support restarting containers using file as subpath [Slow]", +"status": "skipped" +} +] +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/job-raw-01/job-raw-01.golden.json b/pkg/client/results/testdata/mockResults/plugins/job-raw-01/job-raw-01.golden.json index 68ceb25d8..42f0ad0eb 100644 --- a/pkg/client/results/testdata/mockResults/plugins/job-raw-01/job-raw-01.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/job-raw-01/job-raw-01.golden.json @@ -1 +1,13 @@ -{"name":"job-raw-01","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"}}]} \ No newline at end of file +{ +"name": "job-raw-01", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +} +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/job-raw-02/job-raw-02.golden.json b/pkg/client/results/testdata/mockResults/plugins/job-raw-02/job-raw-02.golden.json index 75e1f3a26..2d241f410 100644 --- a/pkg/client/results/testdata/mockResults/plugins/job-raw-02/job-raw-02.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/job-raw-02/job-raw-02.golden.json @@ -1 +1,20 @@ -{"name":"job-raw-02","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"}},{"name":"output2.xml","status":"passed","meta":{"file":"results/global/output2.xml"}}]} \ No newline at end of file +{ +"name": "job-raw-02", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +} +}, +{ +"name": "output2.xml", +"status": "passed", +"meta": { +"file": "results/global/output2.xml" +} +} +] +} \ No newline at end of file diff --git a/pkg/client/results/testdata/mockResults/plugins/job-raw-03/job-raw-03.golden.json b/pkg/client/results/testdata/mockResults/plugins/job-raw-03/job-raw-03.golden.json index c0f16c715..b65222165 100644 --- a/pkg/client/results/testdata/mockResults/plugins/job-raw-03/job-raw-03.golden.json +++ b/pkg/client/results/testdata/mockResults/plugins/job-raw-03/job-raw-03.golden.json @@ -1 +1,20 @@ -{"name":"job-raw-03","status":"passed","items":[{"name":"output.xml","status":"passed","meta":{"file":"results/global/output.xml"}},{"name":"output2.xml","status":"passed","meta":{"file":"results/global/output2.xml"}}]} \ No newline at end of file +{ +"name": "job-raw-03", +"status": "passed", +"items": [ +{ +"name": "output.xml", +"status": "passed", +"meta": { +"file": "results/global/output.xml" +} +}, +{ +"name": "output2.xml", +"status": "passed", +"meta": { +"file": "results/global/output2.xml" +} +} +] +} \ No newline at end of file