Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add cdeps to random syntax tests #110129

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

herkolategan
Copy link
Collaborator

Previously a failure occurred on these tests where it required libgeos. This change adds a build step to ensure that libgeos is in the bazel-bin dirs. This should fix the dependency issue.

Refs: #109986

Epic: None
Release note: None

Previously a failure occurred on these tests where it required libgeos. This
change adds a build step to ensure that libgeos is in the bazel-bin dirs. This
should fix the dependency issue.

Refs: cockroachdb#109986

Epic: None
Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator Author

@herkolategan herkolategan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@herkolategan herkolategan marked this pull request as ready for review September 6, 2023 18:45
@herkolategan herkolategan requested a review from a team as a code owner September 6, 2023 18:45
Copy link
Collaborator

@rharding6373 rharding6373 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@herkolategan
Copy link
Collaborator Author

TFTR!
bors r=rharding6373

@craig
Copy link
Contributor

craig bot commented Sep 7, 2023

Build succeeded:

@craig craig bot merged commit 23ba611 into cockroachdb:master Sep 7, 2023
srosenberg added a commit to srosenberg/cockroach that referenced this pull request Sep 19, 2023
In [1], we updated CI (nightly) to require a build
step for `//c-deps:libgeos`. That didn't fix `rsg_test`'s
implicit dependency on libgeos, since the produced artifacts
are not reachable from the test sandbox.

Instead, we use a runfile dependency--same way other
test packages specify libgeos dependency. This enables
dynamic loading via `bazel.Runfile`.

[1] cockroachdb#110129

Epic: none
Fixes: cockroachdb#110780

Release note: None
craig bot pushed a commit that referenced this pull request Sep 19, 2023
110850: codeowners: add `test-eng-prs` to `pkg/clusterversion` r=healthy-pod a=healthy-pod

part of: DEVINF-509
Release note: None

110926: sql: add libgeos runfile dependency for RSG tests r=rickystewart,herkolategan a=srosenberg

In [1], we updated CI (nightly) to require a build step for `//c-deps:libgeos`. That didn't fix `rsg_test`'s implicit dependency on libgeos, since the produced artifacts are not reachable from the test sandbox.

Instead, we use a runfile dependency--same way other test packages specify libgeos dependency. This enables dynamic loading via `bazel.Runfile`.

[1] #110129

Epic: none
Fixes: #110780

Release note: None

Co-authored-by: healthy-pod <[email protected]>
Co-authored-by: Stan Rosenberg <[email protected]>
srosenberg added a commit to srosenberg/cockroach that referenced this pull request Sep 20, 2023
In [1], we updated CI (nightly) to require a build
step for `//c-deps:libgeos`. That didn't fix `rsg_test`'s
implicit dependency on libgeos, since the produced artifacts
are not reachable from the test sandbox.

Instead, we use a runfile dependency--same way other
test packages specify libgeos dependency. This enables
dynamic loading via `bazel.Runfile`.

[1] cockroachdb#110129

Epic: none
Fixes: cockroachdb#110780

Release note: None
srosenberg added a commit to srosenberg/cockroach that referenced this pull request Sep 20, 2023
In [1], we updated CI (nightly) to require a build
step for `//c-deps:libgeos`. That didn't fix `rsg_test`'s
implicit dependency on libgeos, since the produced artifacts
are not reachable from the test sandbox.

Instead, we use a runfile dependency--same way other
test packages specify libgeos dependency. This enables
dynamic loading via `bazel.Runfile`.

[1] cockroachdb#110129

Epic: none
Fixes: cockroachdb#110780

Release note: None
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.

3 participants