Skip to content

add integration for noble and resolute stemcells#455

Open
KauzClay wants to merge 25 commits into
mainfrom
resolute-integ-test
Open

add integration for noble and resolute stemcells#455
KauzClay wants to merge 25 commits into
mainfrom
resolute-integ-test

Conversation

@KauzClay

@KauzClay KauzClay commented Jul 21, 2026

Copy link
Copy Markdown

What is this change about?

Adding an integration test specifically to use the agent on resolute stemcell (and soon the noble stemcell as well)

In the past, only testing one stemcell line in this pipeline hid some issues from us till they caused breakages further down the line. This is to help us catch issues earlier.

example of new job: https://ci.bosh-ecosystem.cf-app.com/teams/main/pipelines/bosh-agent-main/jobs/test-integration-resolute

What tests have you run against this PR?

iterating here: https://ci.bosh-ecosystem.cf-app.com/teams/main/pipelines/test-delete-when-finished-integration-resolute

How should this change be described in bosh-agent release notes?

N/A

Does this PR introduce a breaking change?

NO

Tag your pair, your PM, and/or team!

@mkocher

AI Review Feedback

All AI review comments (CodeRabbit, and Copilot when assigned) must be resolved before human reviewers will look at the PR. For each comment, either:

  • Make the suggested change, or
  • Reply to the comment explaining why it does not apply, then resolve the thread.

ai-assisted=yes
[TNZ-88995] [Europa] Bosh KTLO
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

The CI pipeline adds separate Azure integration resources and jobs for Ubuntu resolute and noble, while switching the existing Azure integration job to the jammy deployment. Cleanup now targets variant-specific CredHub entries, resurrection configurations, and deployments. Integration service control supports systemd or sv, readiness checks recognize both init systems, and successful agent startup emits additional log diagnostics.

Suggested reviewers: a-hassanin, s4heid, ystros

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the main change: adding integration coverage for Noble and Resolute stemcells.
Description check ✅ Passed The description covers the required sections and key answers, with only the contextual information section omitted.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch resolute-integ-test

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ci/pipeline.yml`:
- Line 332: Update the tags value in the pipeline YAML to comply with the
configured bracket-spacing rule by removing the spaces inside the flow-style
list brackets, while preserving the existing broadcom tag.
- Around line 324-325: Update the test-integration-resolute and test-integration
job definitions to share the same serial_groups value for their
integration-vm-deployment resource, ensuring Azure integration deployments run
one at a time; retain each job’s existing serial setting and configuration.
- Around line 364-369: Update the stemcell_os value in the deployment
configuration alongside the azure-stemcell-resolute artifact to use the Resolute
OS name, ensuring it matches the uploaded stemcell and preserves the existing
deployment_name and az settings.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8d7686e4-c8eb-475d-9d18-cde6f74efca2

📥 Commits

Reviewing files that changed from the base of the PR and between 1575fba and bd2537b.

📒 Files selected for processing (1)
  • ci/pipeline.yml

Comment thread ci/pipeline.yml Outdated
Comment on lines +324 to +325
- name: test-integration-resolute
serial: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/sh
set -eu

fly validate-pipeline --config ci/pipeline.yml
sed -n '320,570p' ci/pipeline.yml

Repository: cloudfoundry/bosh-agent

Length of output: 202


🏁 Script executed:

#!/bin/sh
set -eu

echo '--- ci/pipeline.yml: around the two integration jobs ---'
sed -n '300,590p' ci/pipeline.yml

echo
echo '--- serial / serial_groups usage in ci/pipeline.yml ---'
rg -n 'serial_groups|serial:' ci/pipeline.yml

echo
echo '--- references to bosh-agent-integration-main and integration-vm-deployment ---'
rg -n 'bosh-agent-integration-main|integration-vm-deployment|test-integration-resolute|test-integration' ci/pipeline.yml

Repository: cloudfoundry/bosh-agent

Length of output: 16420


Serialize the Azure integration jobs together.

serial: true only serializes builds within each job. test-integration-resolute and test-integration both deploy to and delete bosh-agent-integration-main through integration-vm-deployment, so they can still run at the same time and tear down each other’s environment. Add the same serial_groups value to both jobs, or isolate Resolute’s deployment/resource.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ci/pipeline.yml` around lines 324 - 325, Update the test-integration-resolute
and test-integration job definitions to share the same serial_groups value for
their integration-vm-deployment resource, ensuring Azure integration deployments
run one at a time; retain each job’s existing serial setting and configuration.

Comment thread ci/pipeline.yml
trigger: true
- get: bosh-agent-ci
- get: bosh-ecosystem-concourse
tags: [ broadcom ]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix the YAMLlint failure.

[ broadcom ] violates the configured bracket-spacing rule.

Proposed fix
-            tags: [ broadcom ]
+            tags: [broadcom]
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
tags: [ broadcom ]
tags: [broadcom]
🧰 Tools
🪛 YAMLlint (1.37.1)

[error] 332-332: too many spaces inside brackets

(brackets)


[error] 332-332: too many spaces inside brackets

(brackets)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ci/pipeline.yml` at line 332, Update the tags value in the pipeline YAML to
comply with the configured bracket-spacing rule by removing the spaces inside
the flow-style list brackets, while preserving the existing broadcom tag.

Source: Linters/SAST tools

Comment thread ci/pipeline.yml
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ci/pipeline.yml (1)

324-336: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Gate bosh-integration-tests on test-integration-resolute. In ci/pipeline.yml:716-739, add test-integration-resolute to the passed lists for both bosh-agent and bosh-agent-registry-image; otherwise those versions can advance even when the Resolute job fails.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ci/pipeline.yml` around lines 324 - 336, Update the `passed` lists for both
`bosh-agent` and `bosh-agent-registry-image` in the `bosh-integration-tests` job
to include `test-integration-resolute`, ensuring those resources cannot advance
until the Resolute integration job succeeds.
♻️ Duplicate comments (1)
ci/pipeline.yml (1)

324-325: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Serialize the Azure integration jobs together.

serial: true only queues builds within one job. Since test-integration-resolute and test-integration both modify and delete bosh-agent-integration-main through integration-vm-deployment, they can still overlap and tear down each other’s environment. Add the same serial_groups value to both jobs, or isolate their deployment/resource. (concourse-ci.org)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ci/pipeline.yml` around lines 324 - 325, Update the test-integration-resolute
and test-integration job definitions to share the same serial_groups value,
ensuring their integration-vm-deployment operations cannot overlap; retain each
job’s existing serial setting and use a consistent group name for both.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@ci/pipeline.yml`:
- Around line 324-336: Update the `passed` lists for both `bosh-agent` and
`bosh-agent-registry-image` in the `bosh-integration-tests` job to include
`test-integration-resolute`, ensuring those resources cannot advance until the
Resolute integration job succeeds.

---

Duplicate comments:
In `@ci/pipeline.yml`:
- Around line 324-325: Update the test-integration-resolute and test-integration
job definitions to share the same serial_groups value, ensuring their
integration-vm-deployment operations cannot overlap; retain each job’s existing
serial setting and use a consistent group name for both.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8c41e904-71d4-4cc9-96bb-e3485bea5e47

📥 Commits

Reviewing files that changed from the base of the PR and between bd2537b and 11ade49.

📒 Files selected for processing (1)
  • ci/pipeline.yml

@KauzClay KauzClay changed the title add integration for resolute stemcell add integration for noble and resolute stemcells Jul 22, 2026
KauzClay added 4 commits July 22, 2026 10:40
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
resolute stemcells use systemctl instead of runit for managing agent process

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
* the tooling already existed to change the name, it was just using bosh-agent-integration-main hardcoded everywhere since there was only one job

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
ci/pipeline.yml (1)

353-364: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Gate releases on the new stemcell jobs.

Adding these jobs alone does not make them release-blocking: bosh-integration-tests still lists only Jammy and Windows jobs in both bosh-agent and bosh-agent-registry-image passed constraints. A Noble or Resolute failure can therefore be bypassed by promotion. Add test-integration-resolute and test-integration-noble to both lists.

Proposed fix
             passed:
               - test-unit
+              - test-integration-resolute
+              - test-integration-noble
               - test-integration
               - test-unit-windows
               - test-integration-windows

Also applies to: 484-495

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ci/pipeline.yml` around lines 353 - 364, Update the bosh-integration-tests
passed constraints for both bosh-agent and bosh-agent-registry-image to include
test-integration-resolute and test-integration-noble alongside the existing
Jammy and Windows jobs, making Noble or Resolute failures block promotion.
integration/test_environment.go (1)

665-675: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Move diagnostics before the successful return.

The return nil at Line 667 bypasses the new log and journal output whenever the agent becomes reachable. The diagnostics currently run only after all ping attempts fail, so the stated successful-startup diagnostic behavior is not implemented.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@integration/test_environment.go` around lines 665 - 675, Update the agent
startup retry flow around t.AgentClient.Ping so the logs and journal diagnostics
execute before returning success when the agent becomes reachable. Preserve the
existing retry behavior, but move the return nil after the diagnostic output so
successful startup also emits both t.GetFileContents and t.RunCommand results.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@integration/test_environment.go`:
- Line 670: Run goimports on the changed section in
integration/test_environment.go and apply its formatting/import adjustments,
preserving the existing behavior and ensuring the file passes the goimports lint
check.
- Around line 671-675: Update the diagnostic collection around t.GetFileContents
and t.RunCommand to capture and handle their errors instead of discarding them.
Gate the journalctl diagnostic to systemctl environments, and ensure failures
from journalctl are not masked by the tail pipeline; preserve the existing log
and journal output formatting for successful commands.
- Around line 614-619: Update StartAgent to return the error produced by
t.RunCommand, matching the existing StopAgent behavior and satisfying the
method’s error return contract.

---

Outside diff comments:
In `@ci/pipeline.yml`:
- Around line 353-364: Update the bosh-integration-tests passed constraints for
both bosh-agent and bosh-agent-registry-image to include
test-integration-resolute and test-integration-noble alongside the existing
Jammy and Windows jobs, making Noble or Resolute failures block promotion.

In `@integration/test_environment.go`:
- Around line 665-675: Update the agent startup retry flow around
t.AgentClient.Ping so the logs and journal diagnostics execute before returning
success when the agent becomes reachable. Preserve the existing retry behavior,
but move the return nil after the diagnostic output so successful startup also
emits both t.GetFileContents and t.RunCommand results.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8ca8329a-c6d9-4aa3-bb30-b827a0c15978

📥 Commits

Reviewing files that changed from the base of the PR and between 11ade49 and c0a7c03.

📒 Files selected for processing (4)
  • ci/pipeline.yml
  • ci/tasks/test-integration.sh
  • integration/system_mounts_test.go
  • integration/test_environment.go

Comment thread integration/test_environment.go Outdated
Comment thread integration/test_environment.go Outdated
Comment thread integration/test_environment.go Outdated
KauzClay added 3 commits July 22, 2026 17:32
all the tests are failing bc the agent config the tests use doesn't set a serivce manager, so it tries using sv instead of systemd

not sure the best way to thread this all through, since the agent settings file is used in lots of tests

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
including test pipeline, should delete before merge

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
builds the filename based on specification input and the service manager being used

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
@beyhan
beyhan requested review from a team, a-hassanin and s4heid and removed request for a team July 23, 2026 14:49
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
Comment thread integration/test_environment.go Outdated
Comment on lines +718 to +724

logs, _ := t.GetFileContents("/var/vcap/bosh/log/current")
t.writerPrinter.Printf("\n--- AGENT LOGS ---\n%s\n------------------\n", logs)

journal, _ := t.RunCommand("sudo journalctl -u agent --no-pager | tail -n 100")
t.writerPrinter.Printf("\n--- SYSTEMD JOURNAL ---\n%s\n-----------------------\n", journal)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

TODO: these are debug changes, remove them before merging

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ci/pipeline.yml (1)

353-364: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Add serial: true to all three Azure integration jobs. Each job triggers on bosh-agent/stemcell resources and puts to a per-variant deployment with no job-level serialization, so concurrent builds of the same job clobber each other's environment. One fix pattern applies to all three.

  • ci/pipeline.yml#L353-L364: add serial: true to test-integration-resolute (protects integration-vm-deployment-resolute).
  • ci/pipeline.yml#L485-L496: add serial: true to test-integration-noble (protects integration-vm-deployment-noble).
  • ci/pipeline.yml#L617-L747: add serial: true to test-integration (protects integration-vm-deployment-jammy).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ci/pipeline.yml` around lines 353 - 364, Add job-level serial execution to
test-integration-resolute, test-integration-noble, and test-integration in
ci/pipeline.yml at lines 353-364, 485-496, and 617-747 respectively, setting
serial: true for each job to prevent concurrent builds from clobbering their
variant-specific deployments.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ci/test-delete-when-finished-resolute.yml`:
- Line 1: Remove the temporary ci/test-delete-when-finished-resolute.yml
pipeline file before merging, including its branch-specific resource pins; do
not modify the YAMLlint issues within it.

In `@integration/assets/file-settings-agent-no-default-tmp-dir-systemd.json`:
- Around line 2-8: Add Platform.Linux.ServiceManager with the value "systemd" to
the Linux settings object in the no-default-tmp-dir asset. Keep the existing
Linux settings unchanged so GetSettingsFile("no-default-tmp-dir") explicitly
exercises the systemd environment.

In `@integration/test_environment.go`:
- Around line 638-649: Update the shell command in
TestEnvironment.DetectServiceManager to terminate the else branch correctly with
a command separator before fi, while preserving the existing sv/systemd
detection and serviceManager assignment behavior.

---

Outside diff comments:
In `@ci/pipeline.yml`:
- Around line 353-364: Add job-level serial execution to
test-integration-resolute, test-integration-noble, and test-integration in
ci/pipeline.yml at lines 353-364, 485-496, and 617-747 respectively, setting
serial: true for each job to prevent concurrent builds from clobbering their
variant-specific deployments.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 1212e7c5-5ba1-4be7-b5d5-8d29adc43fe2

📥 Commits

Reviewing files that changed from the base of the PR and between c0a7c03 and 09038fe.

📒 Files selected for processing (25)
  • ci/pipeline.yml
  • ci/test-delete-when-finished-resolute.yml
  • integration/apply_test.go
  • integration/assets/file-settings-agent-no-default-tmp-dir-systemd.json
  • integration/assets/file-settings-agent-systemd.json
  • integration/bundle_logs_test.go
  • integration/compile_package_test.go
  • integration/delete_arp_entries_test.go
  • integration/ephemeral_disk_test.go
  • integration/fetch_logs_test.go
  • integration/fetch_logs_with_signed_url_test.go
  • integration/file_settings_test.go
  • integration/instance_info_test.go
  • integration/integration_suite_test.go
  • integration/nats_firewall_test.go
  • integration/prepare_test.go
  • integration/raw_ephemeral_disk_test.go
  • integration/remove_file_test.go
  • integration/run_script_test.go
  • integration/sync_dns_test.go
  • integration/system_mounts_test.go
  • integration/test_environment.go
  • integration/update_settings_test.go
  • integration/user_permissions_test.go
  • integration/v1_apply_test.go

@@ -0,0 +1,508 @@
# TODO: Delete this test pipeline file before merging.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Temporary pipeline file — must be removed before merge.

This file is explicitly marked for deletion and pins resources to the resolute-integ-test feature branch. It should not land on the target branch. This also makes the YAMLlint bracket-spacing errors at lines 34, 121, 253, and 385 moot.

Want me to open a tracking issue to ensure this file is removed before merge?

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ci/test-delete-when-finished-resolute.yml` at line 1, Remove the temporary
ci/test-delete-when-finished-resolute.yml pipeline file before merging,
including its branch-specific resource pins; do not modify the YAMLlint issues
within it.

Source: Linters/SAST tools

Comment thread integration/test_environment.go
KauzClay added 5 commits July 23, 2026 11:30
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
rsyslog was disabled in order to deal with issues unmounting the data dir

however, resolute requires rsyslog to populate the bosh agent log where the tests expect

this reworks things to only disable rsyslog when necessary (and turn it back on) when running on resolute

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
KauzClay and others added 9 commits July 23, 2026 16:56
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
the configs were the same, so I used no-default-tmp-dir in both places since that works with our new servicemanager aware logic

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
…uldn't come up

Bootstrap failures that occur before SetupLoggingAndAuditing runs (see agent/bootstrap.go)
happen before rsyslog is restarted, so they never reach /var/vcap/bosh/log/current -
they only ever land in the journal. Fall back to journalctl for that case, without
weakening the primary file-based check that exercises the real logging pipeline.

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
despite a file existing called bosh-start-logging-and-auditing, that file just
starts auditing. The more you know

ai-assisted=yes
[TNZ-94258]
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
instead of grepping directly

with the differences between jammy and resolute, using the helper should be the most consistent way to detect these changes

ai-assisted=yes
[TNZ-106038] Refactor bosh-agent CI pipeline to run integration tests on all supported stemcell lines (Jammy, Noble, Resolute)
tests are green at this point (with the stemcell fix to make systemd forward to rsyslog). Cleaning up now
@mkocher
mkocher force-pushed the resolute-integ-test branch from 6bfce95 to 01f21fc Compare July 24, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting for Changes | Open for Contribution

Development

Successfully merging this pull request may close these issues.

2 participants