Skip to content

issue NewValidation: CSCwn37676#343

Open
jeestr4d wants to merge 1 commit intomasterfrom
issue302
Open

issue NewValidation: CSCwn37676#343
jeestr4d wants to merge 1 commit intomasterfrom
issue302

Conversation

@jeestr4d
Copy link
Collaborator

@jeestr4d jeestr4d commented Feb 7, 2026

Fixes #302 fixed

Lab output (with modified logic):

[Check 84/90] Bootx Service tmp files... FAIL - OUTAGE WARNING!!
APIC ID APIC Name Folder Location Number of files


1 c-apic1 /firmware/tmp 1045996
2 c-apic2 /firmware/tmp 1137336
3 c-apic3 /firmware/tmp 1108184

Recommended Action: Review the workaround for the bug and apply it before upgrade
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations#bootx-service-tmp-files

Pytest results:

python3.12 -m pytest tests/checks/bootx_service_tmp_files_check
=================================================================================================== test session starts ===================================================================================================
platform darwin -- Python 3.12.12, pytest-7.4.0, pluggy-1.2.0
rootdir: /Users/jeestrad/Documents/Python/pre-upgrade/ACI-Pre-Upgrade-Validation-Script
configfile: pytest.ini
collected 6 items

tests/checks/bootx_service_tmp_files_check/test_bootx_service_tmp_files_check.py::test_logic[icurl_outputs0-fabric_nodes0-6.0(8h)-True-conn_cmds0-ERROR !!-expected_data0]
----------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------
[18:28:45.558 INFO init_system:6109(MainThread)] Cleaning up previous run files in preupgrade_validator_logs/
[18:28:45.558 INFO init_system:6111(MainThread)] Creating directories preupgrade_validator_logs/ and preupgrade_validator_logs/json_results/
------------------------------------------------------------------------------------------------------ live log call ------------------------------------------------------------------------------------------------------
[18:28:45.559 INFO init_result:1182(MainThread)] Initialized in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
[18:28:45.560 INFO _start_thread:1105(MainThread)] (bootx_service_tmp_files_check) Starting thread.
[18:28:45.560 INFO wrapper:1349(bootx_service_tmp_files_check)] Start bootx_service_tmp_files_check
[18:28:45.560 INFO update_result:1191(bootx_service_tmp_files_check)] Finalized result in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
PASSED [ 16%]
tests/checks/bootx_service_tmp_files_check/test_bootx_service_tmp_files_check.py::test_logic[icurl_outputs1-fabric_nodes1-6.0(8h)-False-conn_cmds1-ERROR !!-expected_data1]
------------------------------------------------------------------------------------------------------ live log call ------------------------------------------------------------------------------------------------------
[18:28:45.572 INFO init_result:1182(MainThread)] Initialized in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
[18:28:45.573 INFO _start_thread:1105(MainThread)] (bootx_service_tmp_files_check) Starting thread.--------| 0/1 checks completed
[18:28:45.573 INFO wrapper:1349(bootx_service_tmp_files_check)] Start bootx_service_tmp_files_check
[18:28:45.573 INFO update_result:1191(bootx_service_tmp_files_check)] Finalized result in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
PASSED [ 33%]
tests/checks/bootx_service_tmp_files_check/test_bootx_service_tmp_files_check.py::test_logic[icurl_outputs2-fabric_nodes2-6.0(8h)-False-conn_cmds2-ERROR !!-expected_data2]
------------------------------------------------------------------------------------------------------ live log call ------------------------------------------------------------------------------------------------------
[18:28:45.586 INFO init_result:1182(MainThread)] Initialized in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
[18:28:45.587 INFO _start_thread:1105(MainThread)] (bootx_service_tmp_files_check) Starting thread.--------| 0/1 checks completed
[18:28:45.587 INFO wrapper:1349(bootx_service_tmp_files_check)] Start bootx_service_tmp_files_check
[18:28:45.587 INFO update_result:1191(bootx_service_tmp_files_check)] Finalized result in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
PASSED [ 50%]
tests/checks/bootx_service_tmp_files_check/test_bootx_service_tmp_files_check.py::test_logic[icurl_outputs3-fabric_nodes3-6.0(8h)-False-conn_cmds3-PASS-expected_data3]
------------------------------------------------------------------------------------------------------ live log call ------------------------------------------------------------------------------------------------------
[18:28:45.601 INFO init_result:1182(MainThread)] Initialized in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
[18:28:45.601 INFO _start_thread:1105(MainThread)] (bootx_service_tmp_files_check) Starting thread.
[18:28:45.601 INFO wrapper:1349(bootx_service_tmp_files_check)] Start bootx_service_tmp_files_check--------| 0/1 checks completed
[18:28:45.601 INFO update_result:1191(bootx_service_tmp_files_check)] Finalized result in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
PASSED [ 66%]
tests/checks/bootx_service_tmp_files_check/test_bootx_service_tmp_files_check.py::test_logic[icurl_outputs4-fabric_nodes4-6.0(8h)-False-conn_cmds4-FAIL - OUTAGE WARNING!!-expected_data4]
------------------------------------------------------------------------------------------------------ live log call ------------------------------------------------------------------------------------------------------
[18:28:45.615 INFO init_result:1182(MainThread)] Initialized in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
[18:28:45.615 INFO _start_thread:1105(MainThread)] (bootx_service_tmp_files_check) Starting thread.
[18:28:45.615 INFO wrapper:1349(bootx_service_tmp_files_check)] Start bootx_service_tmp_files_check--------| 0/1 checks completed
[18:28:45.615 INFO update_result:1191(bootx_service_tmp_files_check)] Finalized result in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
PASSED [ 83%]
tests/checks/bootx_service_tmp_files_check/test_bootx_service_tmp_files_check.py::test_logic[icurl_outputs5-fabric_nodes5-6.0(8h)-False-conn_cmds5-ERROR !!-expected_data5]
------------------------------------------------------------------------------------------------------ live log call ------------------------------------------------------------------------------------------------------
[18:28:45.629 INFO init_result:1182(MainThread)] Initialized in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
[18:28:45.629 INFO _start_thread:1105(MainThread)] (bootx_service_tmp_files_check) Starting thread.
[18:28:45.629 INFO wrapper:1349(bootx_service_tmp_files_check)] Start bootx_service_tmp_files_check--------| 0/1 checks completed
[18:28:45.630 INFO update_result:1191(bootx_service_tmp_files_check)] Finalized result in preupgrade_validator_logs/json_results/bootx_service_tmp_files_check.json
PASSED [100%]

==================================================================================================== 6 passed in 0.09s ====================================================================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NewValidation: CSCwn37676

1 participant