cli
cli copied to clipboard
Fix acceptance/bundle/resources/model_serving_endpoints/running-endpoint test
The test was failing because not all cloud environments have a version "1" available for the model. Expanding the regex check to all integers should fix the failure.
Failure diff:
acceptance_test.go:807: Diff:
--- bundle/resources/model_serving_endpoints/running-endpoint/output.txt
+++ /tmp/TestAcceptbundleresourcesmodel_serving_endpointsrunning-endp4294099973/001/output.txt
@@ -16,7 +16,7 @@
"served_entities": [
{
"entity_name": "system.ai.llama_v3_2_1b_instruct",
- "entity_version": "[VERSION]",
+ "entity_version": "2",
"name": "llama",
"scale_to_zero_enabled": true,
"workload_size": "Small"
| Env | ββFAIL | π¨βKNOWN | πβflaky | πβRECOVERED | πβSKIP | β βpass | πβskip | Time | |
|---|---|---|---|---|---|---|---|---|---|
| ββ | aws linux | 6 | 1 | 1 | 360 | 614 | 39:40 | ||
| ββ | aws windows | 6 | 1 | 1 | 361 | 613 | 34:32 | ||
| πβ | aws-ucws linux | 3 | 1 | 502 | 504 | 72:28 | |||
| πβ | aws-ucws windows | 6 | 1 | 1 | 499 | 503 | 77:06 | ||
| πβ | azure linux | 1 | 1 | 360 | 615 | 39:27 | |||
| πβ | azure windows | 2 | 1 | 1 | 359 | 614 | 58:44 | ||
| πβ | azure-ucws linux | 4 | 1 | 1 | 490 | 505 | 73:21 | ||
| πβ | azure-ucws windows | 6 | 1 | 1 | 489 | 504 | 74:57 | ||
| πβ | gcp linux | 5 | 1 | 1 | 351 | 618 | 54:01 | ||
| πβ | gcp windows | 1 | 1 | 1 | 356 | 617 | 50:15 |
29 failing tests:
| 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 | π¨βK | π¨βK | πβf | πβR | πβR | πβR | πβR | πβR | πβR | πβR |
| TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct | β βp | β βp | β βp | β βp | β βp | πβf | β βp | β βp | β βp | β βp |
| TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform | β βp | β βp | β βp | β βp | β βp | πβf | β βp | β βp | β βp | β βp |
| TestAccept/bundle/resources/dashboards/change-embed-credentials | β βp | β βp | πβf | β βp | β βp | β βp | β βp | πβf | β βp | β βp |
| TestAccept/bundle/resources/dashboards/change-embed-credentials/DATABRICKS_BUNDLE_ENGINE=direct | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf | β βp | β βp |
| TestAccept/bundle/resources/dashboards/change-embed-credentials/DATABRICKS_BUNDLE_ENGINE=terraform | β βp | β βp | πβf | β βp | β βp | β βp | β βp | β βp | β βp | β βp |
| TestAccept/bundle/resources/dashboards/change-name | β βp | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf | β βp |
| TestAccept/bundle/resources/dashboards/change-name/DATABRICKS_BUNDLE_ENGINE=direct | β βp | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf | β βp |
| TestAccept/bundle/resources/dashboards/change-parent-path | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf | β βp | β βp |
| TestAccept/bundle/resources/dashboards/change-parent-path/DATABRICKS_BUNDLE_ENGINE=terraform | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf | β βp | β βp |
| TestAccept/bundle/resources/dashboards/detect-change/DATABRICKS_BUNDLE_ENGINE=direct | β βp | β βp | β βp | πβf | β βp | β βp | β βp | β βp | β βp | β βp |
| TestAccept/bundle/resources/dashboards/detect-change/DATABRICKS_BUNDLE_ENGINE=terraform | β βp | β βp | β βp | πβf | β βp | β βp | β βp | β βp | β βp | β βp |
| TestAccept/bundle/resources/grants/volumes | πβs | πβs | β βp | β βp | πβs | πβs | β βp | πβf | πβs | πβs |
| TestAccept/bundle/resources/grants/volumes/DATABRICKS_BUNDLE_ENGINE=direct | β βp | β βp | β βp | πβf | ||||||
| TestAccept/bundle/resources/permissions/jobs/delete_one/cloud | πβs | πβs | β βp | β βp | πβs | πβs | πβf | β βp | πβs | πβs |
| TestAccept/bundle/resources/permissions/jobs/delete_one/cloud/DATABRICKS_BUNDLE_ENGINE=terraform | β βp | β βp | πβf | β βp | ||||||
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions | ββF | ββF | β βp | πβf | πβs | πβs | πβs | πβs | πβs | πβs |
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct | ββF | ββF | β βp | πβf | ||||||
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform | ββF | ββF | β βp | β βp | ||||||
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions | ββF | ββF | β βp | β βp | πβs | πβs | πβs | πβs | πβs | πβs |
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct | ββF | ββF | β βp | β βp | ||||||
| TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform | ββF | ββF | β βp | β βp | ||||||
| TestAccept/bundle/resources/pipelines/update | β βp | β βp | β βp | πβf | β βp | β βp | πβf | β βp | β βp | β βp |
| TestAccept/bundle/resources/pipelines/update/DATABRICKS_BUNDLE_ENGINE=direct | β βp | β βp | β βp | πβf | β βp | β βp | πβf | β βp | β βp | β βp |
| TestAccept/bundle/run/app-with-job | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS | πβS |
| TestAccept/bundle/templates/default-python/combinations/classic | β βp | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf | β βp |
| TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct/DLT=yes/NBOOK=yes/PY=no | β βp | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf | β βp |
| TestAccept/ssh/connection | β βp | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf | β βp |
| TestFilerWorkspaceFilesExtensionsReadDir | β βp | β βp | β βp | β βp | β βp | β βp | β βp | β βp | β βp | πβf |
Top 50 slowest tests (at least 2 minutes):
| duration | env | testname |
|---|---|---|
| 14:19 | azure linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 13:35 | azure windows | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 13:28 | azure linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 12:58 | aws linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 12:43 | azure linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 9:17 | azure windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 9:10 | azure windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 7:13 | gcp linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 7:12 | azure-ucws windows | TestAccept/bundle/resources/registered_models/basic/DATABRICKS_BUNDLE_ENGINE=direct |
| 6:55 | gcp linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 6:52 | azure-ucws linux | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 6:22 | azure-ucws windows | TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=yes/NBOOK=yes/PY=no |
| 6:00 | azure-ucws windows | TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:59 | aws-ucws linux | TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:59 | aws-ucws linux | TestAccept/bundle/resources/registered_models/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:58 | aws-ucws linux | TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:53 | gcp windows | TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:51 | aws-ucws windows | TestAccept/bundle/resources/registered_models/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:47 | azure-ucws windows | TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:36 | aws-ucws windows | TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct/DLT=yes/NBOOK=no/PY=yes |
| 5:35 | azure-ucws linux | TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=yes/NBOOK=no/PY=yes |
| 5:30 | aws-ucws linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:29 | gcp linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:25 | gcp windows | TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.13 |
| 5:24 | gcp windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:17 | aws linux | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform |
| 5:05 | aws-ucws windows | TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=direct |
| 5:04 | azure-ucws linux | TestAccept/bundle/resources/synced_database_tables/basic |
| 5:03 | gcp windows | TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct |
| 4:46 | gcp windows | TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct/DLT=no/NBOOK=no/PY=yes |
| 4:46 | gcp linux | TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct/DLT=no/NBOOK=yes/PY=no |
| 4:45 | azure-ucws windows | TestAccept/bundle/resources/registered_models/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 4:44 | azure-ucws windows | TestAccept/bundle/resources/models/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 4:43 | gcp linux | TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=yes/NBOOK=no/PY=yes |
| 4:42 | azure-ucws linux | TestAccept/bundle/resources/registered_models/basic/DATABRICKS_BUNDLE_ENGINE=direct |
| 4:29 | azure-ucws linux | TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=direct |
| 4:24 | aws-ucws windows | TestAccept/bundle/resources/models/basic/DATABRICKS_BUNDLE_ENGINE=direct |
| 4:21 | azure-ucws windows | TestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=direct/DLT=no/NBOOK=yes/PY=yes |
| 4:20 | azure-ucws linux | TestAccept/bundle/resources/dashboards/detect-change/DATABRICKS_BUNDLE_ENGINE=terraform |
| 4:18 | gcp windows | TestAccept/bundle/resources/models/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 4:16 | azure-ucws linux | TestAccept/bundle/resources/grants/schemas/change_privilege/DATABRICKS_BUNDLE_ENGINE=direct |
| 4:12 | aws-ucws linux | TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=no/PY=yes |
| 4:11 | azure-ucws windows | TestAccept/bundle/resources/models/basic/DATABRICKS_BUNDLE_ENGINE=direct |
| 4:08 | azure-ucws linux | TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.9 |
| 4:06 | azure-ucws windows | TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.11 |
| 4:01 | aws-ucws linux | TestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=direct/DLT=no/NBOOK=no/PY=yes |
| 4:01 | aws-ucws windows | TestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 4:00 | azure-ucws linux | TestAccept/bundle/resources/registered_models/basic/DATABRICKS_BUNDLE_ENGINE=terraform |
| 4:00 | gcp linux | TestAccept/bundle/resources/dashboards/change-serialized-dashboard/DATABRICKS_BUNDLE_ENGINE=terraform |
| 3:58 | azure-ucws windows | TestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=yes/NBOOK=no/PY=yes |