The source project of this merge request has been removed.
WIP: Adding log-streaming to docker-compose setup
Description
Add new docker-compose files in order to test logstreaming
Validation
Looking for this log trace:
buildbox-worker_1 | 2020-07-31T13:57:47.329+0000 [10:139950282376960] [buildboxworker_worker.cpp:274] [INFO] Reading runner standard output logs from [ /tmp/buildboxpGIDCM] and streaming them to [f4e076ab06d2765a8f298c9859ce7680351765d85a7194fb3376a2fc84383c73_138_1596203866.869294_stdout/logStreams/c56528ca-1693-40f5-af89-4197cbf89121/dd81199f-c35a-4e22-99a9-8bff0f3bd559]
##Known Issues:
buildgrid_1 | 2020-07-31 13:57:47,836:[ buildgrid.server.cas.service][ERROR][gRPC_Executor_18]: Unexpected error in ByteStreamWrite; request=[resource_name: "f4e076ab06d2765a8f298c9859ce7680351765d85a7194fb3376a2fc84383c73_138_1596203866.869294_stdout/logStreams/c56528ca-1693-40f5-af89-4197cbf89121/dd81199f-c35a-4e22-99a9-8bff0f3bd559"
buildgrid_1 | data: "Using bu"
buildgrid_1 | ]
buildgrid_1 | Traceback (most recent call last):
buildgrid_1 | File "/app/buildgrid/server/cas/service.py", line 274, in Write
buildgrid_1 | return instance.write_logstream(resource, request, requests)
buildgrid_1 | File "/app/buildgrid/server/cas/instance.py", line 403, in write_logstream
buildgrid_1 | stream = self._stream_store.get_writeable_stream(resource_name)
buildgrid_1 | AttributeError: 'NoneType' object has no attribute 'get_writeable_stream'
buildbox-worker_1 | 2020-07-31T13:57:48.754+0000 [10:139950282376960] [buildboxcommon_standardoutputstreamer.cpp:41] [WARNING] Destroying `StandardOutputStreamer` instance without invoking `stop()`, outputs may be lost
buildbox-worker_1 | 2020-07-31T13:57:48.754+0000 [10:139950282376960] [buildboxworker_worker.cpp:362] [ERROR] Caught exception in worker: 13:
Edited by Frank Kolarek