Skip to content

Compare 2 NS runs to find difference in data collected#129

Open
alexandraBara wants to merge 11 commits intodevelopmentfrom
alex_system_diff
Open

Compare 2 NS runs to find difference in data collected#129
alexandraBara wants to merge 11 commits intodevelopmentfrom
alex_system_diff

Conversation

@alexandraBara
Copy link
Collaborator

@alexandraBara alexandraBara commented Feb 18, 2026

How to run:

node-scraper compare-runs path1 paths --ignore-plugins SomePlugin
node-scraper compare-runs path1 path2 --include-plugins DmesgPlugin
node-scraper compare-runs path1 path2 --include-plugins DmesgPlugin --dont-truncate

Special parsing added for finding differences in dmesg.log content btw 2 runs.
The rest of the plugins is just a datamodel comparison to find discrepancies.

(venv) [alexbara@ppac-cyxtera-cr60-4 node-scraper]$ node-scraper compare-runs scraper_logs_ppac_cyxtera_cr60_4_ctr_dcgpu_2026_02_18-03_29_06_PM scraper_logs_ppac_cyxtera_cr60_4_ctr_dcgpu_2026_02_10-05_27_06_PM --include-plugins DmesgPlugin
  2026-02-18 15:48:40 UTC       INFO               nodescraper | Loading run 1 from: scraper_logs_ppac_cyxtera_cr60_4_ctr_dcgpu_2026_02_18-03_29_06_PM
  2026-02-18 15:48:43 UTC       INFO               nodescraper | Loading run 2 from: scraper_logs_ppac_cyxtera_cr60_4_ctr_dcgpu_2026_02_10-05_27_06_PM
  2026-02-18 15:48:47 UTC       INFO               nodescraper | Including only plugins: DmesgPlugin
  2026-02-18 15:48:47 UTC       INFO               nodescraper | Full diff report written to: scraper_logs_ppac_cyxtera_cr60_4_ctr_dcgpu_2026_02_18-03_29_06_PM_scraper_logs_ppac_cyxtera_cr60_4_ctr_dcgpu_2026_02_10-05_27_06_PM_diff.txt
  2026-02-18 15:48:47 UTC       INFO               nodescraper |

+-------------+--------+--------------------------------------------+
| Plugin      | Status | Message                                    |
+-------------+--------+--------------------------------------------+
| DmesgPlugin | OK     | Errors only in run 1: 0; only in run 2: 0. |
+-------------+--------+--------------------------------------------+

Diff file written to scraper_logs_ppac_cyxtera_cr60_4_ctr_dcgpu_2026_02_18-03_29_06_PM_scraper_logs_ppac_cyxtera_cr60_4_ctr_dcgpu_2026_02_10-05_27_06_PM_diff.txt

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.

1 participant

Comments