Skip to content

Commit 12ab2be

Browse files
authored
acc: sort output in debuglog (#3592)
Fix order issues in the output by sorting the output. Previous attempt to fix this test did not work: #3590 The flakiness started after rate limit was disabled in #3581 For context, this test was originally sorting the output but that was disabled in #2414 because it seemed that output was stable. It was only stable because of delays introduced by rate limiter.
1 parent 5fdbd95 commit 12ab2be

File tree

3 files changed

+151
-116
lines changed

3 files changed

+151
-116
lines changed
Lines changed: 73 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,94 @@
1-
10:07:59 Info: start pid=12345 version=[DEV_VERSION] args="[CLI], bundle, validate, --debug"
2-
10:07:59 Debug: Found bundle root at [TEST_TMP_DIR] (file [TEST_TMP_DIR]/databricks.yml) pid=12345
3-
10:07:59 Info: Phase: load pid=12345
4-
10:07:59 Debug: Apply pid=12345 mutator=EntryPoint
5-
10:07:59 Debug: Apply pid=12345 mutator=scripts.preinit
6-
10:07:59 Debug: No script defined for preinit, skipping pid=12345 mutator=scripts.preinit
7-
10:07:59 Debug: Apply pid=12345 mutator=ProcessRootIncludes
8-
10:07:59 Debug: Apply pid=12345 mutator=VerifyCliVersion
9-
10:07:59 Debug: Apply pid=12345 mutator=EnvironmentsToTargets
10-
10:07:59 Debug: Apply pid=12345 mutator=ComputeIdToClusterId
11-
10:07:59 Debug: Apply pid=12345 mutator=InitializeVariables
12-
10:07:59 Debug: Apply pid=12345 mutator=DefineDefaultTarget(default)
13-
10:07:59 Debug: Apply pid=12345 mutator=validate:unique_resource_keys
14-
10:07:59 Debug: Apply pid=12345 mutator=SelectDefaultTarget
15-
10:07:59 Debug: Apply pid=12345 mutator=SelectDefaultTarget mutator=SelectTarget(default)
161
10:07:59 Debug: Apply pid=12345 mutator=<func>
17-
10:07:59 Info: Phase: initialize pid=12345
18-
10:07:59 Debug: Apply pid=12345 mutator=validate:AllResourcesHaveValues
19-
10:07:59 Debug: Apply pid=12345 mutator=validate:interpolation_in_auth_config
20-
10:07:59 Debug: Apply pid=12345 mutator=validate:no_interpolation_in_bundle_name
21-
10:07:59 Debug: Apply pid=12345 mutator=validate:scripts
22-
10:07:59 Debug: Apply pid=12345 mutator=RewriteSyncPaths
23-
10:07:59 Debug: Apply pid=12345 mutator=SyncDefaultPath
24-
10:07:59 Debug: Apply pid=12345 mutator=SyncInferRoot
25-
10:07:59 Debug: Apply pid=12345 mutator=PopulateCurrentUser
26-
10:07:59 Debug: GET /api/2.0/preview/scim/v2/Me
27-
10:07:59 Debug: Apply pid=12345 mutator=LoadGitDetails
2+
10:07:59 Debug: Apply pid=12345 mutator=ApplyArtifactsDynamicVersion
283
10:07:59 Debug: Apply pid=12345 mutator=ApplySourceLinkedDeploymentPreset
4+
10:07:59 Debug: Apply pid=12345 mutator=ApplyTargetMode
5+
10:07:59 Debug: Apply pid=12345 mutator=CheckPermissions
6+
10:07:59 Debug: Apply pid=12345 mutator=ComputeIdToClusterId
7+
10:07:59 Debug: Apply pid=12345 mutator=ConfigureWSFS
8+
10:07:59 Debug: Apply pid=12345 mutator=DefaultWorkspacePaths
9+
10:07:59 Debug: Apply pid=12345 mutator=DefineDefaultTarget(default)
2910
10:07:59 Debug: Apply pid=12345 mutator=DefineDefaultWorkspaceRoot
11+
10:07:59 Debug: Apply pid=12345 mutator=EntryPoint
12+
10:07:59 Debug: Apply pid=12345 mutator=EnvironmentsToTargets
3013
10:07:59 Debug: Apply pid=12345 mutator=ExpandWorkspaceRoot
31-
10:07:59 Debug: Apply pid=12345 mutator=DefaultWorkspacePaths
14+
10:07:59 Debug: Apply pid=12345 mutator=InitializeVariables
15+
10:07:59 Debug: Apply pid=12345 mutator=LoadGitDetails
16+
10:07:59 Debug: Apply pid=12345 mutator=PopulateCurrentUser
3217
10:07:59 Debug: Apply pid=12345 mutator=PrependWorkspacePrefix
33-
10:07:59 Debug: Apply pid=12345 mutator=RewriteWorkspacePrefix
34-
10:07:59 Debug: Apply pid=12345 mutator=SetVariables
35-
10:07:59 Debug: Apply pid=12345 mutator=ResolveVariableReferences
36-
10:07:59 Debug: Apply pid=12345 mutator=ResolveLookupVariables
37-
10:07:59 Debug: Apply pid=12345 mutator=ResolveVariableReferences
38-
10:07:59 Debug: Apply pid=12345 mutator=validate:volume-path
39-
10:07:59 Debug: Apply pid=12345 mutator=ApplyTargetMode
40-
10:07:59 Debug: Apply pid=12345 mutator=ConfigureWSFS
18+
10:07:59 Debug: Apply pid=12345 mutator=ProcessRootIncludes
4119
10:07:59 Debug: Apply pid=12345 mutator=ProcessStaticResources
42-
10:07:59 Debug: Apply pid=12345 mutator=ProcessStaticResources mutator=ResolveVariableReferences(resources)
4320
10:07:59 Debug: Apply pid=12345 mutator=ProcessStaticResources mutator=LogResourceReferences
4421
10:07:59 Debug: Apply pid=12345 mutator=ProcessStaticResources mutator=NormalizePaths
22+
10:07:59 Debug: Apply pid=12345 mutator=ProcessStaticResources mutator=ResolveVariableReferences(resources)
4523
10:07:59 Debug: Apply pid=12345 mutator=ProcessStaticResources mutator=TranslatePathsDashboards
46-
10:07:59 Debug: Apply pid=12345 mutator=PythonMutator(load_resources)
4724
10:07:59 Debug: Apply pid=12345 mutator=PythonMutator(apply_mutators)
48-
10:07:59 Debug: Apply pid=12345 mutator=validate:required
49-
10:07:59 Debug: Apply pid=12345 mutator=validate:enum
50-
10:07:59 Debug: Apply pid=12345 mutator=CheckPermissions
51-
10:07:59 Debug: Apply pid=12345 mutator=TranslatePaths
25+
10:07:59 Debug: Apply pid=12345 mutator=PythonMutator(load_resources)
5226
10:07:59 Debug: Apply pid=12345 mutator=PythonWrapperWarning
53-
10:07:59 Debug: Apply pid=12345 mutator=ApplyArtifactsDynamicVersion
54-
10:07:59 Debug: Apply pid=12345 mutator=artifacts.Prepare
55-
10:07:59 Info: No local tasks in databricks.yml config, skipping auto detect pid=12345 mutator=artifacts.Prepare
56-
10:07:59 Debug: Apply pid=12345 mutator=apps.Validate
57-
10:07:59 Debug: Apply pid=12345 mutator=ValidateTargetMode
27+
10:07:59 Debug: Apply pid=12345 mutator=ResolveLookupVariables
28+
10:07:59 Debug: Apply pid=12345 mutator=ResolveVariableReferences
29+
10:07:59 Debug: Apply pid=12345 mutator=ResolveVariableReferences
30+
10:07:59 Debug: Apply pid=12345 mutator=RewriteSyncPaths
31+
10:07:59 Debug: Apply pid=12345 mutator=RewriteWorkspacePrefix
32+
10:07:59 Debug: Apply pid=12345 mutator=SelectDefaultTarget
33+
10:07:59 Debug: Apply pid=12345 mutator=SelectDefaultTarget mutator=SelectTarget(default)
34+
10:07:59 Debug: Apply pid=12345 mutator=SetVariables
35+
10:07:59 Debug: Apply pid=12345 mutator=SyncDefaultPath
36+
10:07:59 Debug: Apply pid=12345 mutator=SyncInferRoot
37+
10:07:59 Debug: Apply pid=12345 mutator=TranslatePaths
5838
10:07:59 Debug: Apply pid=12345 mutator=ValidateSharedRootPermissions
39+
10:07:59 Debug: Apply pid=12345 mutator=ValidateTargetMode
40+
10:07:59 Debug: Apply pid=12345 mutator=VerifyCliVersion
41+
10:07:59 Debug: Apply pid=12345 mutator=apps.Validate
42+
10:07:59 Debug: Apply pid=12345 mutator=artifacts.Prepare
5943
10:07:59 Debug: Apply pid=12345 mutator=metadata.AnnotateJobs
6044
10:07:59 Debug: Apply pid=12345 mutator=metadata.AnnotatePipelines
6145
10:07:59 Debug: Apply pid=12345 mutator=scripts.postinit
62-
10:07:59 Debug: No script defined for postinit, skipping pid=12345 mutator=scripts.postinit
46+
10:07:59 Debug: Apply pid=12345 mutator=scripts.preinit
47+
10:07:59 Debug: Apply pid=12345 mutator=validate:AllResourcesHaveValues
48+
10:07:59 Debug: Apply pid=12345 mutator=validate:enum
49+
10:07:59 Debug: Apply pid=12345 mutator=validate:interpolation_in_auth_config
50+
10:07:59 Debug: Apply pid=12345 mutator=validate:no_interpolation_in_bundle_name
51+
10:07:59 Debug: Apply pid=12345 mutator=validate:required
52+
10:07:59 Debug: Apply pid=12345 mutator=validate:scripts
53+
10:07:59 Debug: Apply pid=12345 mutator=validate:unique_resource_keys
54+
10:07:59 Debug: Apply pid=12345 mutator=validate:volume-path
6355
10:07:59 Debug: ApplyParallel pid=12345 mutator=fast_validate(readonly)
56+
10:07:59 Debug: ApplyParallel pid=12345 mutator=fast_validate(readonly) mutator=validate:artifact_paths
57+
10:07:59 Debug: ApplyParallel pid=12345 mutator=fast_validate(readonly) mutator=validate:job_cluster_key_defined
58+
10:07:59 Debug: ApplyParallel pid=12345 mutator=fast_validate(readonly) mutator=validate:job_task_cluster_spec
6459
10:07:59 Debug: ApplyParallel pid=12345 mutator=validate:files_to_sync
6560
10:07:59 Debug: ApplyParallel pid=12345 mutator=validate:folder_permissions
6661
10:07:59 Debug: ApplyParallel pid=12345 mutator=validate:validate_sync_patterns
67-
10:07:59 Debug: ApplyParallel pid=12345 mutator=fast_validate(readonly) mutator=validate:job_cluster_key_defined
68-
10:07:59 Debug: ApplyParallel pid=12345 mutator=fast_validate(readonly) mutator=validate:job_task_cluster_spec
69-
10:07:59 Debug: ApplyParallel pid=12345 mutator=fast_validate(readonly) mutator=validate:artifact_paths
70-
10:07:59 Debug: GET /api/2.0/workspace/get-status?path=/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files
71-
10:07:59 Debug: non-retriable error: Workspace path not found pid=12345 mutator=validate:files_to_sync sdk=true
72-
10:07:59 Debug: POST /api/2.0/workspace/mkdirs
73-
10:07:59 Debug: GET /api/2.0/workspace/get-status?path=/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files
62+
10:07:59 Debug: Found bundle root at /private/var/folders/0y/0kkdnjw00p00vsqwk0cvmk000000gp/T/TestAcceptbundledebuglogDATABRICKS_CLI_DEPLOYMENT=direct-exp[NUMID]/000 (file /private/var/folders/0y/0kkdnjw00p00vsqwk0cvmk000000gp/T/TestAcceptbundledebuglogDATABRICKS_CLI_DEPLOYMENT=direct-exp[NUMID]/000/databricks.yml) pid=12345
63+
10:07:59 Debug: GET /api/0.0/preview/scim/v0/Me
64+
10:07:59 Debug: GET /api/0.0/workspace/get-status?path=/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files
65+
10:07:59 Debug: GET /api/0.0/workspace/get-status?path=/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files
66+
10:07:59 Debug: No script defined for postinit, skipping pid=12345 mutator=scripts.postinit
67+
10:07:59 Debug: No script defined for preinit, skipping pid=12345 mutator=scripts.preinit
68+
10:07:59 Debug: POST /api/0.0/workspace/mkdirs
7469
10:07:59 Debug: Path /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files has type directory (ID: 0) pid=12345 mutator=validate:files_to_sync
75-
10:07:59 Info: completed execution pid=12345 exit_code=0
7670
10:07:59 Debug: no telemetry logs to upload pid=12345
71+
10:07:59 Debug: non-retriable error: Workspace path not found pid=12345 mutator=validate:files_to_sync sdk=true
72+
10:07:59 Info: No local tasks in databricks.yml config, skipping auto detect pid=12345 mutator=artifacts.Prepare
73+
10:07:59 Info: Phase: initialize pid=12345
74+
10:07:59 Info: Phase: load pid=12345
75+
10:07:59 Info: completed execution pid=12345 exit_code=0
76+
10:07:59 Info: start pid=12345 version=[DEV_VERSION] args="[TESTROOT]/build/darwin_arm00/databricks, bundle, validate, --debug"
77+
< "id": "[NUMID]",
78+
< "message": "Workspace path not found"
79+
< "object_type": "DIRECTORY",
80+
< "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files"
81+
< "userName": "[USERNAME]"
82+
< HTTP/0.0 000 Not Found
83+
< HTTP/0.0 000 OK
84+
< HTTP/0.0 000 OK
85+
< HTTP/0.0 000 OK pid=12345 mutator=validate:files_to_sync sdk=true
86+
< {
87+
< {
88+
< {
89+
< } pid=12345 mutator=PopulateCurrentUser sdk=true
90+
< } pid=12345 mutator=validate:files_to_sync sdk=true
91+
< } pid=12345 mutator=validate:files_to_sync sdk=true
92+
> "path": "/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files"
93+
> {
94+
> }

0 commit comments

Comments
 (0)