qaagent: avoid parsing errors by removing stderr from --json output#3060
Merged
qaagent: avoid parsing errors by removing stderr from --json output#3060
Conversation
snormore
approved these changes
Feb 20, 2026
nikw9944
added a commit
that referenced
this pull request
Feb 20, 2026
…3060) ## Summary of Changes * qaagent: avoid parsing errors by removing stderr from --json output * Prevents QA test failures in case the client recommends a version upgrade: ``` 2026-02-20T17:34:39.7173092Z qa_test.go:68: �[2m2026-02-20T17:34:39.715Z�[0m DBG Collect `doublezero latency` for each client 2026-02-20T17:34:40.0577082Z qa_alldevices_unicast_test.go:107: 2026-02-20T17:34:40.0578365Z Error Trace: /home/runner/_work/infra/infra/doublezero/e2e/qa_alldevices_unicast_test.go:107 2026-02-20T17:34:40.0579340Z Error: Received unexpected error: 2026-02-20T17:34:40.0583686Z failed to get latency on host <qa-hostname>: rpc error: code = Unknown desc = failed to unmarshal latency response: error: invalid character 'A' looking for beginning of value, output: A new version of the client is available: 0.8.9 → 0.8.10 2026-02-20T17:34:40.0586209Z We recommend updating to the latest version for the best experience. 2026-02-20T17:34:40.0586945Z [ 2026-02-20T17:34:40.0587389Z { 2026-02-20T17:34:40.0588589Z "device_pk": "6HDniG2dEQuuGGz14G4DxJ3J1WQRauARCTT18ckh5mpP", ``` ## Testing Verification * Tested in devnet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Testing Verification