feat: log adapter stderr output
The CI broker now logs the standard error output of the adapter, and the adapter exit status, to the broker’s own log. The log messages look like this:
{“msg”:“adapter exit code”,“level”:“DEBG”,“ts”:“2024-08-27T17:38:26.762222386Z”,“exit_code”:1} {“msg”:“adapter stderr”,“level”:“DEBG”,“ts”:“2024-08-27T17:38:26.762289242Z”,“stderr”:“woe be me\n”}
4 files changed
+61
-12
dd043e01
→
58ceb336
modified ci-broker.md
@@ -73,11 +73,17 @@ filters:
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -474,6 +480,35 @@ then file reports/index.html contains "testy"
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/adapter.rs
@@ -130,19 +130,21 @@ impl Adapter {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/logger.rs
@@ -86,6 +86,10 @@ pub fn queueproc_channel_disconnect() {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -197,12 +201,18 @@ pub fn adapter_too_many_responses() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/queueproc.rs
@@ -79,6 +79,7 @@ impl QueueProcessor {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -99,6 +100,7 @@ impl QueueProcessor {
|
|
|
|
|
|
| + | |
|
|
|
|
|