Skip to content

Conversation

@shreyas-goenka
Copy link
Contributor

Changes

Why

Tests

go func() {
sig := <-sigChan
// Stop listening for more signals
signal.Stop(sigChan)
Copy link
Contributor

Choose a reason for hiding this comment

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

The main routine is still running at this point. We need to make sure it is terminated and wait for that termination before releasing the lock and terminating.

We could return a new context from this function and cancel it when the signal is received.

That doesn't ensure we wait for completion/termination and could be handled similarly.

@eng-dev-ecosystem-bot
Copy link
Collaborator

eng-dev-ecosystem-bot commented Oct 14, 2025

Run: 18495385033

Env 🔄​flaky ✅​pass 🙈​skip
✅​ aws linux 322 547
🔄​ aws windows 4 319 546
✅​ aws-ucws linux 438 443
✅​ aws-ucws windows 439 442
🔄​ azure linux 2 320 546
🔄​ azure windows 3 320 545
🔄​ azure-ucws linux 2 436 442
✅​ azure-ucws windows 439 441
🔄​ gcp linux 2 319 548
🔄​ gcp windows 8 314 547
19 failing tests:
Test Name aws windows azure linux azure windows azure-ucws linux gcp linux gcp windows
TestAccept ✅​p ✅​p 🔄​f ✅​p ✅​p ✅​p
TestAccept/bundle/destroy/jobs-and-pipeline ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
TestAccept/bundle/destroy/jobs-and-pipeline/DATABRICKS_BUNDLE_ENGINE=terraform ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
TestAccept/bundle/local_state_staleness ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
TestAccept/bundle/local_state_staleness/DATABRICKS_BUNDLE_ENGINE=direct-exp ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=direct-exp ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=terraform ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
TestAccept/bundle/resources/models/basic ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
TestAccept/bundle/resources/models/basic/DATABRICKS_BUNDLE_ENGINE=terraform ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f
TestAccept/bundle/templates/default-python/combinations/classic 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=yes/NBOOK=yes/PY=no ✅​p 🔄​f ✅​p ✅​p ✅​p ✅​p
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=yes/NBOOK=yes/PY=yes 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=yes/PY=yes ✅​p 🔄​f ✅​p ✅​p ✅​p ✅​p
TestAccept/bundle/templates/default-python/integration_classic 🔄​f ✅​p 🔄​f ✅​p ✅​p ✅​p
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/UV_PYTHON=3.10 ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/UV_PYTHON=3.13 ✅​p ✅​p 🔄​f ✅​p 🔄​f ✅​p
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.10 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
TestFilerRecursiveDelete ✅​p ✅​p ✅​p 🔄​f ✅​p ✅​p
TestFilerRecursiveDelete/files 🙈​s 🙈​s 🙈​s 🔄​f 🙈​s 🙈​s

title "A creation request for job1 should be recorded in the requests file. No request for job2 should exist since the process was terminated mid deployment."
trace cat out.requests.txt | jq 'select(.method == "POST" and (.path | contains("/api/2.2/jobs/create")))'

rm out.requests.txt
Copy link
Contributor

Choose a reason for hiding this comment

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

would be nice to record 'bundle plan' after interrupted deploy/destroy.

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.

4 participants