Skip to content

[WIP] Investigate intermittent failures of jobs#5985

Closed
janniklasrose wants to merge 4 commits into
mainfrom
janniklasrose/investigate-intermittent-failures-of-jobs
Closed

[WIP] Investigate intermittent failures of jobs#5985
janniklasrose wants to merge 4 commits into
mainfrom
janniklasrose/investigate-intermittent-failures-of-jobs

Conversation

@janniklasrose

Copy link
Copy Markdown
Contributor

Changes

Why

Tests

executeNotebookTask and executeSparkPythonTask looked up files with
`len(s.files[path].Data) == 0` to mean "not found". A file that exists but
is empty has the same zero-length Data as a missing key, so an empty
deployed file was reported as "not found" and its task failed spuriously.

Check the map's comma-ok for existence instead of byte length. A present
empty file now executes (with empty output) rather than erroring.

Updates the state-wiped acceptance golden, whose foo.py fixture is empty
and now runs.

Co-authored-by: Isaac
…cess

On the RUNNING->TERMINATED transition, JobsGetRun hardcoded every run and
task to SUCCESS, discarding the per-task result that JobsRunNow already
computed. A task that genuinely failed (e.g. its file was missing) still
reported a successful run.

Roll the per-task states up into the run-level result, and carry the failed
task's error into state_message as the cloud does.

The immutable acceptance test deploys to a content-addressed snapshot path
the local testserver cannot resolve, so its (intentionally unasserted) run
now fails locally; wrap that run in errcode to tolerate the exit.

Co-authored-by: Isaac
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 942a524

Run: 29745634637

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 227 1130 5:09
💚​ aws windows 4 4 229 1128 3:37
💚​ aws-ucws linux 4 4 314 1047 8:01
💚​ aws-ucws windows 4 4 316 1045 6:52
💚​ azure linux 4 4 227 1129 3:40
💚​ azure windows 4 4 229 1127 5:14
💚​ azure-ucws linux 4 4 316 1044 8:33
💚​ azure-ucws windows 4 4 318 1042 7:34
💚​ gcp linux 4 4 226 1131 3:27
💚​ gcp windows 4 4 228 1129 3:39
8 interesting tests: 4 RECOVERED, 4 SKIP
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 7 slowest tests (at least 2 minutes):
duration env testname
4:59 azure-ucws windows TestAccept
4:48 azure windows TestAccept
3:14 gcp windows TestAccept
3:12 aws windows TestAccept
3:07 aws-ucws windows TestAccept
2:44 aws linux TestSecretsPutSecretStringValue
2:06 azure-ucws linux TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=terraform

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