-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TELCOV10N-452 IMPL junit2obj filter plugin #510
Conversation
from change #510:
|
1 similar comment
from change #510:
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 48s |
Hi @mvk , thanks for your contribution! I wanted to ask you, because in the PR, you are mentioning Also, do you have any output of local tests where you tested this new filter? Adding @tkrishtop in the look as she developed the |
Hello guys, json2dict filter is to be deprecated, we plan to move all Junit parsing into dci control server. cc: @fredericlepied @ylamgarchal |
95b6e42
to
5d69be5
Compare
from change #510:
|
1 similar comment
from change #510:
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 52s |
from change #510:
|
1 similar comment
from change #510:
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 45s |
@ramperher hi. |
from change #510:
|
1 similar comment
from change #510:
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 43s |
from change #510:
|
1 similar comment
from change #510:
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 55s |
7254edf
to
46462b6
Compare
from change #510:
|
1 similar comment
from change #510:
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 50s |
46462b6
to
9090e32
Compare
from change #510:
|
1 similar comment
from change #510:
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 50s |
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 49s |
1677054
to
a9c9877
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 44s |
a9c9877
to
e01ee39
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 53s |
from change #510: |
retest |
from change #510: |
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 45s |
Hi @mvk sorry, I see that Python2 compatibility is required by our CI, let's bring those back:
Also please remove crucible team from the reviewers, add verified signature to the commit, and I believe we can merge. |
from change #510: |
ce0f7ef
to
ff5e03f
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 50s |
done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please sign the commit and let's merge
Motivation: =========== It is more convenient to navigate data in splunk via json. The existing filter `redhatci.ocp.json2dict` misses multiple ibutes, has no tests, so this one collects more of them to properly into the resulting JSON object + is tested TODO: migrate to it in other contexts Details: -------- 1. Implement the filter `redhatci.ocp.junit2obj` 1. Add tools configuration for `pylint`, `pycodestyle`, et al. under `pyproject.toml` 1. Add `.gitignore` with `.docsible` 1. Implement unit test for the filter * fixtures under `tests/unit/data` * Add example data + output to the filter module docstring * test requirements under `tests/unit/requirements.txt` Signed-off-by: Maxim Kovgan <makovgan@redhat.com>
Signed-off-by: Maxim Kovgan <makovgan@redhat.com>
ff5e03f
to
61438c5
Compare
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 50s |
retest |
1 similar comment
retest |
from change #510: |
TestSuite
&TestCase
attributes are properly passed into the json objectSUMMARY
There is currently a similar filter named
junit2dict
It does not take all the attributes from
TestCase
andTestSuite
.This filter converts JUnit XML reports to JSON format without losing attributes.
Hopefully it satisfies current
junit2dict
users so they can start using this one.The safe migration process is proposed:
junit2dict
json2obj
, add tests and evaluate whether replacingjunit2dict
can be donejson2obj
tojson2dict
ISSUE TYPE
Tests
Need help writing tests for a filter plugin.
I only verified the code is doing what it is supposed to, but did write any unit tests.
The code using this filter is not deployed yet, but it requires the filter.
TestDallasWorkload: preflight-green