Skip to content
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

Fix CI Integration test and unit test #58

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Fix CI Integration test and unit test #58

merged 2 commits into from
Jun 17, 2024

Conversation

VallariAg
Copy link
Member

@VallariAg VallariAg commented Jun 3, 2024

  1. Fix integration test CI

In Dockefile, use base image 'ubuntu:jammy' instead of focal.

Reason:
Default python version in focal is python3.8 which is breaking
integration CI builds on t-api PRs with:
ERROR: Package 'teuthology-1.1.1.dev729-g861a8dcf' requires a different Python: 3.8.10 not in '>=3.10'

Recently, we upgraded the minimum teuthology version to support
python3.10, which could be the reason of the above CI failures.

  1. Fix unit test CI

Use ubuntu-22.04 and python 3.10

Contribution Guidelines

To sign and test your commits, please refer to Contibution guidelines.

Checklist

@VallariAg VallariAg force-pushed the fix-integration-ci branch 2 times, most recently from ec7e517 to 426c596 Compare June 3, 2024 19:15
@VallariAg VallariAg changed the title CI: use ubuntu-22.04 and python3.10 in integration.yaml Fix CI Integration test Jun 3, 2024
@VallariAg VallariAg force-pushed the fix-integration-ci branch 3 times, most recently from 37e7d3f to fb72820 Compare June 3, 2024 20:59
@VallariAg
Copy link
Member Author

VallariAg commented Jun 4, 2024

ceph/teuthology#1952 needs to be reviewed and merged before t-api integration test fix (this PR)

Update: teuthology's integration CI test has been fixed, this PR is ready for review now!

Default python version in focal is python3.8 which is breaking
integration CI builds on t-api PRs with:
`ERROR: Package 'teuthology-1.1.1.dev729-g861a8dcf' requires a different Python: 3.8.10 not in '>=3.10'`

Recently, we upgraded the minimum teuthology version to support
python3.10, which could be the reason of the above CI failures.

Signed-off-by: Vallari Agrawal <[email protected]>
@VallariAg VallariAg changed the title Fix CI Integration test Fix CI Integration test and unit test Jun 12, 2024
@VallariAg VallariAg self-assigned this Jun 12, 2024
@VallariAg VallariAg added the CI CI/CD related stuff label Jun 12, 2024
@VallariAg VallariAg requested a review from kamoltat June 12, 2024 19:04
@VallariAg
Copy link
Member Author

Thanks for the reviews!

@VallariAg VallariAg merged commit 65fd1cb into main Jun 17, 2024
4 checks passed
@VallariAg VallariAg deleted the fix-integration-ci branch June 19, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI CI/CD related stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants