Actions
action #72175
closed[functional][u] test fails in firewalld - extend post_fail_hooks to capture journal from specific units
Status:
Resolved
Priority:
High
Assignee:
Category:
Refactor/Code Improvements
Target version:
SUSE QA - Milestone 30
Start date:
2020-10-01
Due date:
% Done:
0%
Estimated time:
42.00 h
Difficulty:
Description
Observation¶
Currently if a test fails, and somehow a systemd unit related to a test module was called we don't get the logs for that specific journal/systemd job.
Suggestions:¶
- Modify Utils::Systemd::systemctl to keep an
systemd_services
array, with the services that were started or restarted - Modify opensusebasetest::post_run_hook to clear up the systemd_services array
- Modify opensusebasetest::export_logs_basic to upload the journal file of every service that was added to the systemd_services array
Acceptance criteria¶
- AC: When a test like firewalld fails, openQA uploads automatically the journal log for firewalld.
openQA test in scenario sle-15-SP3-Online-ppc64le-extra_tests_textmode@ppc64le fails in
firewalld
Reproducible¶
Fails since (at least) Build 48.1 (current job)
Updated by szarate over 3 years ago
- Category changed from Bugs in existing tests to Refactor/Code Improvements
Updated by SLindoMansilla over 3 years ago
- Description updated (diff)
- Status changed from New to Workable
- Target version set to Milestone 30
- Estimated time set to 42.00 h
Updated by dheidler over 3 years ago
- Status changed from Workable to In Progress
- Assignee set to dheidler
Updated by dheidler over 3 years ago
- Status changed from In Progress to Feedback
Updated by llzhao over 3 years ago
One security openscap test case failed on this push: https://openqa.suse.de/tests/4856579#step/oscap_setup/1
Updated by dheidler over 3 years ago
- Status changed from Feedback to Resolved
Actions