test-infra: Sidecar censoring tests do not pass locally.
What happened:
INFO: From Testing //prow/sidecar:go_default_test:
==================== Test output for //prow/sidecar:go_default_test:
--- FAIL: TestArchiveMatchesTar (0.00s)
censor_test.go:170: failed to archive input: could not walk source files to archive them: could not tar file: archive/tar: write too long
--- FAIL: TestRoundTrip (0.00s)
censor_test.go:213: failed to archive input: could not walk source files to archive them: could not tar file: archive/tar: write too long
time="2021-03-11T23:45:27Z" level=error msg="cannot read /tmp/errors go into sidecar-errors854995690/metadata-2.txt" error="read /tmp/errors go into sidecar-errors854995690/metadata-2.txt: is a directory"
time="2021-03-11T23:45:27Z" level=error msg="Failed to unmarshal /tmp/errors go into sidecar-errors854995690/metadata-3.txt" error="invalid character 'j' looking for beginning of value"
time="2021-03-11T23:45:27Z" level=error msg="Failed to open /tmp/note when a part has a problem823745470/test2-log.txt" error="open /tmp/note when a part has a problem823745470/test2-log.txt: no such file or directory"
FAIL
Anything else we need to know?: I’m not sure how to reproduce this or why it isn’t failing in CI. I’m hoping that Steve might have some ideas about what could be causing this.
/assign @stevekuznetsov /area prow/sidecar
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (14 by maintainers)
This reproduces easily via bazel but not via
go test: