You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ajwerner opened this issue
Feb 14, 2022
· 0 comments
· Fixed by #77679
Assignees
Labels
A-testingTesting tools and infrastructureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-dev-inf
Some of our tests share testdata between ccl and non-ccl packages. Importantly, we run all the logictests in sql/logic/testdata under ccl/logictestccl for the tenant configurations. When trying to rewrite, we get this sad error:
logic.go:3433: open /private/var/tmp/_bazel_ajwerner/b3d58fe5cfe2626204f99f33b47d6f4a/sandbox/darwin-sandbox/872/execroot/cockroach/bazel-out/darwin-fastbuild/bin/pkg/ccl/logictestccl/logictestccl_test_/logictestccl_test.runfiles/cockroach/pkg/sql/logictest/testdata/logic_test/distsql_automatic_stats: operation not permitted
The text was updated successfully, but these errors were encountered:
ajwerner
added
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
A-testing
Testing tools and infrastructure
labels
Feb 14, 2022
ajwerner
changed the title
bazel,dev: cannot rewrite from difference package
bazel,dev: cannot rewrite from different package
Feb 14, 2022
77679: dev: fix --rewrite for logictestccl r=irfansharif a=irfansharif
Fixes#76513. The ccl logictest target shares the testdata directory
with the base logictest target. Since dev's --rewrite only makes an
allowance for the testdata/ directory under the package being tested,
this didn't work. This PR accommodates the one test target where
testdata/ is being used from elsewhere.
Release justification: non-production code change
Release note: None
Co-authored-by: irfan sharif <[email protected]>
A-testingTesting tools and infrastructureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-dev-inf
Describe the problem
Some of our tests share
testdata
between ccl and non-ccl packages. Importantly, we run all the logictests insql/logic/testdata
underccl/logictestccl
for the tenant configurations. When trying to rewrite, we get this sad error:logic.go:3433: open /private/var/tmp/_bazel_ajwerner/b3d58fe5cfe2626204f99f33b47d6f4a/sandbox/darwin-sandbox/872/execroot/cockroach/bazel-out/darwin-fastbuild/bin/pkg/ccl/logictestccl/logictestccl_test_/logictestccl_test.runfiles/cockroach/pkg/sql/logictest/testdata/logic_test/distsql_automatic_stats: operation not permitted
Repro:
To Reproduce
Epic CRDB-8036
Jira issue: CRDB-13160
The text was updated successfully, but these errors were encountered: