Skip to content

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
dell:automation-v2.1.0.0from
Venu-p1:dev/buildstream2.1-automation
Open

Implement complete BuildStream v2.1 test automation with pipeline stage monitoring and PXE boot verification#453
Venu-p1 wants to merge 5 commits into
dell:automation-v2.1.0.0from
Venu-p1:dev/buildstream2.1-automation

Conversation

@Venu-p1

@Venu-p1 Venu-p1 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Test Coverage

  • All 6 BuildStream v2.1 pipeline stages with monitoring and DB verification
  • Catalog roles, registry images, and S3 boot images verification
  • Final pipeline result validation
  • PXE boot reboot trigger via Ansible playbook
  • Post-PXE-boot node connectivity verification
  • Cloud-init completion status verification

This provides complete end-to-end test automation for the BuildStream 2.1 CI/CD pipeline.

Venu-p1 added 3 commits June 25, 2026 23:32
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>
@Venu-p1 Venu-p1 marked this pull request as ready for review June 30, 2026 03:42
Venu-p1 added 2 commits June 30, 2026 21:21
… execution

Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
…tage

Signed-off-by: venu <236371043+Venu-p1@users.noreply.github.com>
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