This job view page is being replaced by Spyglass soon. Check out the new job view.
PRcampoy: Add FileSystem interface to LocalPackageWriter
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-07-26 22:50
Elapsed4m8s
Revisiond861232597df42575ffede5910e60678f89c871c
Refs 4086

No Test Failures!


Error lines from build-log.txt

... skipping 1013 lines ...
ok  	sigs.k8s.io/kustomize/kyaml/fn/runtime/exec	1.965s	coverage: 100.0% of statements
ok  	sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil	2.087s	coverage: 78.9% of statements
ok  	sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark	5.648s	coverage: 65.7% of statements
?   	sigs.k8s.io/kustomize/kyaml/inpututil	[no test files]
ok  	sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml	9.549s	coverage: 75.7% of statements
?   	sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util	[no test files]
--- FAIL: TestLocalPackageWriter_Write (0.00s)
    --- FAIL: TestLocalPackageWriter_Write/on_mem (0.00s)
        pkgio_writer_test.go:38: 
            	Error Trace:	pkgio_writer_test.go:38
            	            				pkgio_writer_test.go:285
            	Error:      	Not equal: 
            	            	expected: "a: b #first\n---\nc: d # second\n"
            	            	actual  : "e: f\ng:\n  h:\n  - i # has a lis"
            	            	
            	            	Diff:
            	            	--- Expected
            	            	+++ Actual
... skipping 4 lines ...
            	            	-
            	            	+e: f
            	            	+g:
            	            	+  h:
            	            	+  - i # has a lis
            	Test:       	TestLocalPackageWriter_Write/on_mem
--- FAIL: TestLocalPackageWriter_Write_keepReaderAnnotations (0.00s)
    --- FAIL: TestLocalPackageWriter_Write_keepReaderAnnotations/on_mem (0.00s)
        pkgio_writer_test.go:71: 
            	Error Trace:	pkgio_writer_test.go:71
            	            				pkgio_writer_test.go:285
            	Error:      	Not equal: 
            	            	expected: "a: b #first\nmetadata:\n  annotations:\n    config.kubernetes.io/index: 0\n    config.kubernetes.io/path: \"a/b/a_test.yaml\"\n---\nc: d # second\nmetadata:\n  annotations:\n    config.kubernetes.io/index: 1\n    config.kubernetes.io/path: \"a/b/a_test.yaml\"\n"
            	            	actual  : "e: f\ng:\n  h:\n  - i # has a list\n  - j\nmetadata:\n  annotations:\n    config.kubernetes.io/index: 0\n    config.kubernetes.io/path: \"a/b/b_test.yaml\"\n:\n  annotations:\n    config.kubernetes.io/index: 1\n    config.kubernetes.io/path: \"a/b/a_test.yaml\"\n"
            	            	
            	            	Diff:
            	            	--- Expected
            	            	+++ Actual
... skipping 12 lines ...
            	            	-c: d # second
            	            	-metadata:
            	            	+    config.kubernetes.io/path: "a/b/b_test.yaml"
            	            	+:
            	            	   annotations:
            	Test:       	TestLocalPackageWriter_Write_keepReaderAnnotations/on_mem
--- FAIL: TestLocalPackageWriter_Write_clearAnnotations (0.00s)
    --- FAIL: TestLocalPackageWriter_Write_clearAnnotations/on_mem (0.00s)
        pkgio_writer_test.go:116: 
            	Error Trace:	pkgio_writer_test.go:116
            	            				pkgio_writer_test.go:285
            	Error:      	Not equal: 
            	            	expected: "a: b #first\n---\nc: d # second\n"
            	            	actual  : "e: f\ng:\n  h:\n  - i # has a lis"
            	            	
            	            	Diff:
            	            	--- Expected
            	            	+++ Actual
... skipping 4 lines ...
            	            	-
            	            	+e: f
            	            	+g:
            	            	+  h:
            	            	+  - i # has a lis
            	Test:       	TestLocalPackageWriter_Write_clearAnnotations/on_mem
FAIL
coverage: 74.3% of statements
FAIL	sigs.k8s.io/kustomize/kyaml/kio	0.103s
ok  	sigs.k8s.io/kustomize/kyaml/kio/filters	2.017s	coverage: 63.7% of statements
?   	sigs.k8s.io/kustomize/kyaml/kio/filters/testyaml	[no test files]
ok  	sigs.k8s.io/kustomize/kyaml/kio/kioutil	0.058s	coverage: 56.2% of statements
?   	sigs.k8s.io/kustomize/kyaml/krmfile	[no test files]
ok  	sigs.k8s.io/kustomize/kyaml/openapi	7.757s	coverage: 60.2% of statements
?   	sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi	[no test files]
... skipping 17 lines ...
?   	sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation	[no test files]
?   	sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field	[no test files]
ok  	sigs.k8s.io/kustomize/kyaml/yaml/merge2	2.001s	coverage: 82.6% of statements
ok  	sigs.k8s.io/kustomize/kyaml/yaml/merge3	1.988s	coverage: 87.8% of statements
ok  	sigs.k8s.io/kustomize/kyaml/yaml/schema	0.036s	coverage: 52.9% of statements
?   	sigs.k8s.io/kustomize/kyaml/yaml/walk	[no test files]
FAIL
make[1]: *** [Makefile:46: test] Error 1
make[1]: Leaving directory '/home/prow/go/src/sigs.k8s.io/kustomize/kyaml'
make: *** [Makefile:246: test-unit-cmd-all] Error 2