Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

print output to JSON_OUTPUT_PATH #240

Merged
merged 2 commits into from
Feb 13, 2022
Merged

Conversation

veictry
Copy link
Contributor

@veictry veictry commented Jan 13, 2022

NVBUG: http://nvbugs/200772213

if we define JSON_OUTPUT_PATH, the script will print output to $JSON_OUTPUT_PATH with JSON format
VRL can load the output from this file and print the content with VRL format

<subtest start time>
&&&& RUNNING <test name>
<test log>
&&&& LIT RESULT <lit test status>
&&&& EXPECTING <expected result>, GOT <the real result>
&&&& <test status/code> <test name>
<subtest end time>

the full codes: https://p4sw-swarm.nvidia.com/changes/30715467

@wmaxey wmaxey self-assigned this Jan 13, 2022
@wmaxey wmaxey self-requested a review January 13, 2022 04:35
@wmaxey wmaxey added the nvbug Has an associated internal NVIDIA NVBug. label Jan 13, 2022
@wmaxey
Copy link
Member

wmaxey commented Feb 13, 2022

I've resolved the conflicts in this patch. I'll begin another round of CI tonight on AUS-DVS to make sure the normal path still functions. I'll commit this weekend.

@wmaxey wmaxey added the testing: internal ci passed Passed internal NVIDIA CI (DVS). label Feb 13, 2022
@wmaxey wmaxey merged commit ec5727d into NVIDIA:main Feb 13, 2022
@wmaxey wmaxey added this to the 1.8.0 milestone Mar 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
nvbug Has an associated internal NVIDIA NVBug. testing: internal ci passed Passed internal NVIDIA CI (DVS).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants