Skip to content

Update run_tests_testingfarm.py logging for ATEX 0.15#14361

Merged
ggbecker merged 1 commit intoComplianceAsCode:masterfrom
comps:update_to_atex_0.15
Feb 5, 2026
Merged

Update run_tests_testingfarm.py logging for ATEX 0.15#14361
ggbecker merged 1 commit intoComplianceAsCode:masterfrom
comps:update_to_atex_0.15

Conversation

@comps
Copy link
Collaborator

@comps comps commented Feb 4, 2026

Description:

ATEX 0.15 has changed the way logging works - it now uses a more standard logging-module-native approach with different subsystems using different loggers, so instead of one atex logger, there is atex.provisioner.testingfarm, atex.orchestrator.adhoc, etc.

It also re-categorized what "debug", "info" and "warning" means within the context of each subsystem, whereas previously, the importance was based on using Orchestrator only (like we do here) - messages that should have been info() for a Provisioner were debug().

That's not true anymore, so we need to filter out unrelated info() we don't care about, hence the OrchestratorLogFilter - a logging-native solution to the problem.

Similarly, I figured we don't need the long logger names in the output, hence the different format for console vs debug log.

Rationale:

While the logging changes are the most visible part, the real benefit is a much more reliable support for test reboots, which are now two-way (test waits for disconnect from ATEX) and, in my testing, reduced a ~3% rerun rate due to EOF disconnects, down to 0%.

Fortunately, this support is free here (no extra code needed beyond upgrading ATEX version, hence this PR), but a test suite change is mandatory (RHSecurityCompliance/contest#534) along with RH-internal productization repo MR#5, with all three needing to be merged at the same time.

(This is due to us using latest Contest main here in the ATEX workflow, unversioned.)

Review Hints:

The changes in this PR passed for me: https://github.com/comps/scap-content/actions/runs/21679753722

I even downloaded the artifacts and verified atex_debug.log.xz works as expected - contains FULL debug output, at approx. 250KB of compressed log size. The console output also correctly shows just the orchestration, not low-level provisioning details.

Please contact me when this is ready for immediate merging, to coordinate with the repositories mentioned above.

Signed-off-by: Jiri Jaburek <comps@nomail.dom>
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

ATEX Test Results

Test artifacts have been submitted to Testing Farm.

Results: View Test Results
Workflow Run: View Workflow Details

This comment was automatically generated by the ATEX workflow.

@Mab879 Mab879 added this to the 0.1.80 milestone Feb 4, 2026
@ggbecker ggbecker self-assigned this Feb 5, 2026
@ggbecker ggbecker merged commit 87e56c6 into ComplianceAsCode:master Feb 5, 2026
63 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RHEL Red Hat Enterprise Linux product related.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants