Skip to content

Fix smoketests #1161

Merged
bkorycki merged 4 commits into
mainfrom
fix-smoketests-secrest
Jul 30, 2025
Merged

Fix smoketests #1161
bkorycki merged 4 commits into
mainfrom
fix-smoketests-secrest

Conversation

@bkorycki
Copy link
Copy Markdown
Contributor

This should fix most of the smoketest failures.

  • Don't sub public demo files in "private" tests. The code was specific to SafeTest and was causing issues with the new SecurityTest. We should be testing private-data download anyway, so I completely axed that subbing mechanism.
  • Remove modelbench test secret management that to be honest I don't fully understand but was causing failures in modelbench private.

@bkorycki bkorycki requested a review from a team as a code owner July 30, 2025 19:54
@bkorycki bkorycki temporarily deployed to Scheduled Testing July 30, 2025 19:54 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing July 30, 2025 19:54 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing July 30, 2025 19:54 — with GitHub Actions Inactive
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 30, 2025

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

Copy link
Copy Markdown
Contributor

@rogthefrog rogthefrog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For posterity:

  • I took a quick look and didn't see a reason to keep manage_test_secrets around, because the functions it decorates don't look like they mutate secrets.toml
  • The function that needs to download from modellab without tokens and calls ensure_public_dependencies is guarded by expensive_tests which is not run in modelbench, only modelbench-private, which does have download tokens, so removing it should also be fine.

@bkorycki bkorycki temporarily deployed to Scheduled Testing July 30, 2025 20:07 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing July 30, 2025 20:07 — with GitHub Actions Inactive
@bkorycki bkorycki temporarily deployed to Scheduled Testing July 30, 2025 20:07 — with GitHub Actions Inactive
@bkorycki bkorycki merged commit d4d5081 into main Jul 30, 2025
4 checks passed
@bkorycki bkorycki deleted the fix-smoketests-secrest branch July 30, 2025 20:41
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants