Bug 276257
| Summary: | [ews] some stderr logs from layout-test results are stored in both buildbot and S3 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, bfan2, emw, gsnedders, ryanhaddad, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=270651 | ||
Aakash Jain
[ews] some stderr logs from layout-test results are stored in both buildbot and S3.
e.g.:
https://ews-build.webkit.org/#/builders/47/builds/34012/steps/19/logs/stdio and https://s3-us-west-2.amazonaws.com/ews-archives.webkit.org/ios-simulator-17-arm64-release-layout-tests/6faa5360.txt
Both contains logs like:
01:28:37.384 2835 clean_up_test_run
Traceback (most recent call last):
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/queues.py", line 251, in _feed
send_bytes(obj)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 205, in send_bytes
self._send_bytes(m[offset:offset + size])
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 416, in _send_bytes
self._send(header + buf)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 373, in _send
n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Aakash Jain
Command being executed in buildbot:
/bin/sh -c 'python3 Tools/Scripts/run-webkit-tests --no-build --no-show-results --no-new-test-results --clobber-old-results --release --ios-simulator --results-directory layout-test-results --debug-rwt-logging --exit-after-n-failures 60 --skip-failing-tests --child-processes=5 --exclude-tests imported/w3c/web-platform-tests 2>&1 | Tools/Scripts/filter-test-logs layout'
Note that we already have 2>&1 in the command, but probably some of the layout test logs/exceptions are generated in a manner not handled by it properly.
Also, such duplicated logs are large (10k+ lines in buildbot).
Radar WebKit Bug Importer
<rdar://problem/131618774>