Implement complete BuildStream v2.1 test automation with pipeline stage monitoring and PXE boot verification#453
Open
Venu-p1 wants to merge 5 commits into
Conversation
Implement molecule-based test framework for BuildStream 2.1 pipeline validation, covering sanity and positive-flow tests. Automation library (automation_library/build_stream/): - vars/build_stream_vars.py: v2.1 constants (6 pipeline stages, 6 DB tables, polling config, registry/S3 paths) - messages/build_stream_msgs.py: test names, log/assert/skip messages, pipeline and stage polling messages - functions/shared_func.py: config reading, credentials, SSH to GitLab, test helpers (default port 8010 for v2.1) - functions/api_func.py: health check, BSM token auth, catalog roles, registry image and S3 boot image verification - functions/db_func.py: postgres table verification, job/stage queries - functions/gitlab_func.py: GitLab server/runner checks, pipeline listing/cancellation, catalog upload, file commit - functions/pipeline_func.py: catalog content loading, build pipeline trigger orchestration, stage polling Molecule scenario (molecule/build_stream/): - test_build_stream_checks.py: 5 infrastructure sanity tests (enabled check, API health, DB tables, GitLab server, GitLab runner) - test_autotrigger_pipeline.py: 15 pipeline tests (trigger, stage monitor+DB verify for each stage, catalog roles, registry images, S3 boot images, final result summary) Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
…f any stage fails, adding cloudinit status check tc Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
…aybook from container Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
jagadeeshnv
approved these changes
Jun 30, 2026
… execution Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
…tage Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test Coverage
This provides complete end-to-end test automation for the BuildStream 2.1 CI/CD pipeline.