Skip to content

Commit 0f46e56

Browse files
committed
Do not log error after every mutator exit, it's redundant
1 parent 720c121 commit 0f46e56

File tree

18 files changed

+9
-76
lines changed

18 files changed

+9
-76
lines changed

acceptance/bundle/override/job_tasks/out.development.stderr.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11

22
>>> errcode $CLI bundle validate -o json -t development
3-
11:26:56 ERROR Error: file ./test1.py not found pid=3731 mutator=initialize mutator=seq mutator=TranslatePaths
4-
11:26:56 ERROR Error: file ./test1.py not found pid=3731 mutator=initialize mutator=seq
5-
11:26:56 ERROR Error: file ./test1.py not found pid=3731 mutator=initialize
63
Error: file ./test1.py not found
74

85

acceptance/bundle/override/job_tasks/output.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
}
3030

3131
>>> errcode $CLI bundle validate -o json -t staging
32-
11:26:56 ERROR Error: file ./test1.py not found pid=3757 mutator=initialize mutator=seq mutator=TranslatePaths
33-
11:26:56 ERROR Error: file ./test1.py not found pid=3757 mutator=initialize mutator=seq
34-
11:26:56 ERROR Error: file ./test1.py not found pid=3757 mutator=initialize
3532
Error: file ./test1.py not found
3633

3734

@@ -67,9 +64,6 @@ Exit code: 1
6764
}
6865

6966
>>> errcode $CLI bundle validate -t staging
70-
11:26:56 ERROR Error: file ./test1.py not found pid=3761 mutator=initialize mutator=seq mutator=TranslatePaths
71-
11:26:56 ERROR Error: file ./test1.py not found pid=3761 mutator=initialize mutator=seq
72-
11:26:56 ERROR Error: file ./test1.py not found pid=3761 mutator=initialize
7367
Error: file ./test1.py not found
7468

7569
Name: override_job_tasks

acceptance/bundle/paths/fallback/output.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
Exit code: 0
55

66
>>> $CLI bundle validate -t error
7-
11:26:57 ERROR Error: notebook this value is overridden not found. Local notebook references are expected
8-
to contain one of the following file extensions: [.py, .r, .scala, .sql, .ipynb] pid=3806 mutator=initialize mutator=seq mutator=TranslatePaths
9-
11:26:57 ERROR Error: notebook this value is overridden not found. Local notebook references are expected
10-
to contain one of the following file extensions: [.py, .r, .scala, .sql, .ipynb] pid=3806 mutator=initialize mutator=seq
11-
11:26:57 ERROR Error: notebook this value is overridden not found. Local notebook references are expected
12-
to contain one of the following file extensions: [.py, .r, .scala, .sql, .ipynb] pid=3806 mutator=initialize
137
Error: notebook this value is overridden not found. Local notebook references are expected
148
to contain one of the following file extensions: [.py, .r, .scala, .sql, .ipynb]
159

acceptance/bundle/paths/nominal/output.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
Exit code: 0
55

66
>>> $CLI bundle validate -t error
7-
11:26:57 ERROR Error: notebook this value is overridden not found. Local notebook references are expected
8-
to contain one of the following file extensions: [.py, .r, .scala, .sql, .ipynb] pid=3814 mutator=initialize mutator=seq mutator=TranslatePaths
9-
11:26:57 ERROR Error: notebook this value is overridden not found. Local notebook references are expected
10-
to contain one of the following file extensions: [.py, .r, .scala, .sql, .ipynb] pid=3814 mutator=initialize mutator=seq
11-
11:26:57 ERROR Error: notebook this value is overridden not found. Local notebook references are expected
12-
to contain one of the following file extensions: [.py, .r, .scala, .sql, .ipynb] pid=3814 mutator=initialize
137
Error: notebook this value is overridden not found. Local notebook references are expected
148
to contain one of the following file extensions: [.py, .r, .scala, .sql, .ipynb]
159

acceptance/bundle/syncroot/dotdot-git/output.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
11:26:57 ERROR Error: path "$TMPDIR" is not within repository root "$TMPDIR/myrepo" pid=3887 mutator=validate mutator (read-only)=parallel mutator (read-only)=validate:files_to_sync
2-
11:26:57 ERROR Error: path "$TMPDIR" is not within repository root "$TMPDIR/myrepo" pid=3887 mutator=validate mutator (read-only)=parallel
3-
11:26:57 ERROR Error: path "$TMPDIR" is not within repository root "$TMPDIR/myrepo" pid=3887 mutator=validate
41
Error: path "$TMPDIR" is not within repository root "$TMPDIR/myrepo"
52

63
Name: test-bundle

acceptance/bundle/templates/dbt-sql/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Workspace:
2222
Validation OK!
2323

2424
>>> $CLI bundle validate -t prod
25-
11:26:57 WARN target with 'mode: production' should specify an explicit 'targets.prod.git' configuration pid=3865 mutator=initialize mutator=seq mutator=ProcessTargetMode
25+
11:31:28 WARN target with 'mode: production' should specify an explicit 'targets.prod.git' configuration pid=20104 mutator=initialize mutator=seq mutator=ProcessTargetMode
2626
Name: my_dbt_sql
2727
Target: prod
2828
Workspace:

acceptance/bundle/templates/default-python/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Workspace:
2020
Validation OK!
2121

2222
>>> $CLI bundle validate -t prod
23-
11:26:57 WARN target with 'mode: production' should specify an explicit 'targets.prod.git' configuration pid=3862 mutator=initialize mutator=seq mutator=ProcessTargetMode
23+
11:31:29 WARN target with 'mode: production' should specify an explicit 'targets.prod.git' configuration pid=20387 mutator=initialize mutator=seq mutator=ProcessTargetMode
2424
Name: my_default_python
2525
Target: prod
2626
Workspace:

acceptance/bundle/templates/default-sql/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Workspace:
2222
Validation OK!
2323

2424
>>> $CLI bundle validate -t prod
25-
11:26:57 WARN target with 'mode: production' should specify an explicit 'targets.prod.git' configuration pid=3938 mutator=initialize mutator=seq mutator=ProcessTargetMode
25+
11:31:29 WARN target with 'mode: production' should specify an explicit 'targets.prod.git' configuration pid=20374 mutator=initialize mutator=seq mutator=ProcessTargetMode
2626
Name: my_default_sql
2727
Target: prod
2828
Workspace:

acceptance/bundle/undefined_resources/output.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
11:26:57 ERROR Error: pipeline undefined-pipeline is not defined pid=3810 mutator=initialize mutator=seq mutator=validate:AllResourcesHaveValues
2-
11:26:57 ERROR Error: pipeline undefined-pipeline is not defined pid=3810 mutator=initialize mutator=seq
3-
11:26:57 ERROR Error: pipeline undefined-pipeline is not defined pid=3810 mutator=initialize
4-
Error: pipeline undefined-pipeline is not defined
5-
at resources.pipelines.undefined-pipeline
6-
in databricks.yml:14:24
7-
81
Error: experiment undefined-experiment is not defined
92
at resources.experiments.undefined-experiment
103
in databricks.yml:11:26
@@ -13,6 +6,10 @@ Error: job undefined-job is not defined
136
at resources.jobs.undefined-job
147
in databricks.yml:6:19
158

9+
Error: pipeline undefined-pipeline is not defined
10+
at resources.pipelines.undefined-pipeline
11+
in databricks.yml:14:24
12+
1613
Found 3 errors
1714

1815
Name: undefined-job

acceptance/bundle/variables/arg-repeat/output.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Exit code: 0
1010
}
1111

1212
>>> errcode $CLI bundle validate --var a=one --var a=two
13-
11:26:57 ERROR Error: failed to assign two to a: variable has already been assigned value: one pid=3768 mutator=<func>
1413
Error: failed to assign two to a: variable has already been assigned value: one
1514

1615
Name: arg-repeat

0 commit comments

Comments
 (0)