Skip to content
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

kselftest log and results appear to be mangled #1

Open
gctucker opened this issue Sep 15, 2020 · 3 comments
Open

kselftest log and results appear to be mangled #1

gctucker opened this issue Sep 15, 2020 · 3 comments

Comments

@gctucker
Copy link

As a follow-up from kernelci/kernelci-core#445, there appears to be some issues with the kselftest log being mangled in the LAVA logs. Also, the output appear to be parsed by sed rather than a proper TAP13 parser. These 2 things may be related, if the mangled log output is a side effect of parsing results with sed.

A better approach would seem to be capturing the TAP13 results and parse it with something such as tappy. Then ideally, the output associated with each test case should be output before telling LAVA the test case name and pass/fail status.

@kees
Copy link

kees commented Sep 15, 2020

I think I've fixed all the problems I see with kselftests now. I've got 2 PRs pending:
Linaro#207
Linaro#208

@gctucker
Copy link
Author

Right, parsing results with an inline Perl script. Would it still not be better to use an existing implementation? Also it's important to keep the output of each test before the test results are being reported in LAVA, so we can associate the test log fragments with each test case.

We could add these PRs to this repo and give it a try on https://staging.kernelci.org - that's what it's for.

@gctucker
Copy link
Author

OK I've made this branch, it should get tested on staging later today (next round scheduled for 16:00 UTC):
https://github.com/kernelci/test-definitions/commits/staging.kernelci.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants