Skip to content

Extend tests to other branches #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Extend tests to other branches #24

wants to merge 14 commits into from

Conversation

imallona
Copy link
Member

@imallona imallona commented May 7, 2025

Please squash on merge.

This nightly runs clustbench on conda using a variety of conda providers and on three different ob branches: main, dev and a custom one.

The fact main fails to install is a feature of the action, not a bug. (It's trying to run clustbench with metric collectors on a version without metric collectors.)

@imallona
Copy link
Member Author

imallona commented May 7, 2025

No idea why ob exits with status 0 on some runs. dev certainly should fail

@imallona imallona marked this pull request as ready for review May 7, 2025 14:53
@imallona imallona requested a review from DanInci May 8, 2025 09:59
Comment on lines +84 to +95
- name: Run benchmark
shell: bash -l {0}
run: |
env
output=$( ob run benchmark -b Clustering.yaml --local --threads 10 2>&1 )
status=$?
if echo "$output" | grep -i 'Benchmark run has finished successfully'; then
status=0
fi
echo -e $output
sh -c "exit $status"
if: matrix.ob_branch == 'main'
Copy link
Contributor

Choose a reason for hiding this comment

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

Same reasoning here.

Comment on lines +76 to +87
- name: Run benchmark
shell: bash -l {0}
run: |
env
output=$( ob run benchmark -b Clustering.yaml --local --threads 10 2>&1 )
status=$?
if echo "$output" | grep -i 'Benchmark run has finished successfully'; then
status=0
fi
echo -e $output
sh -c "exit $status"
if: matrix.ob_branch == 'main'
Copy link
Contributor

Choose a reason for hiding this comment

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

For now, we would need to make sure to use a benchmark yaml without metric collectors for the main branch.
Or comment the main branch from the matrix.
Keeping it as it is, will just pollute the fail tests with false positive.

Copy link
Member Author

@imallona imallona May 8, 2025

Choose a reason for hiding this comment

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

I understand, but to me these are true positives, clustbench doesn't work on ob main. I'm looking forward to see all tests green, once ob main gets updated to be clustbench compatible. Different perspective I think.

Copy link
Contributor

Choose a reason for hiding this comment

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

@imallona right, fair enough. We want to provide the nightly tests for all the expected features.

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.

2 participants