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

Temporarily use vanilla pgbench and psql (client) for running pgvector benchmark #8422

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

Bodobolero
Copy link
Contributor

@Bodobolero Bodobolero commented Jul 18, 2024

Problem

#8275 is not yet fixed

Periodic benchmarking fails with SIGABRT in pgvector step, see https://github.com/neondatabase/neon/actions/runs/9967453263/job/27541159738#step:7:393

Summary of changes

Instead of using pgbench and psql from Neon artifacts, download vanilla postgres binaries into the container and use those to run the client side of the test.

TODO: this PR should be reverted when #8275 is fixed

Copy link
Contributor

@a-masterov a-masterov left a comment

Choose a reason for hiding this comment

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

no problems found

Copy link

3114 tests run: 2993 passed, 0 failed, 121 skipped (full report)


Code coverage* (full report)

  • functions: 32.7% (6998 of 21389 functions)
  • lines: 50.2% (55256 of 110121 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
7523edd at 2024-07-18T15:43:48.397Z :recycle:

@Bodobolero Bodobolero merged commit 841b76e into main Jul 18, 2024
83 of 86 checks passed
@Bodobolero Bodobolero deleted the bodobolero/fix_pgbench_sigabrt branch July 18, 2024 16:18
Bodobolero added a commit that referenced this pull request Jul 19, 2024
## Problem

My prior PR #8422
caused leftovers in the GitHub action runner work directory with root
permission.
As an example see here
https://github.com/neondatabase/neon/actions/runs/10001857641/job/27646237324#step:3:37
To work-around we install vanilla postgres as non-root using deb
packages in /home/nonroot user directory

## Summary of changes

- since we cannot use root we install the deb pkgs directly and create
symbolic links for psql, pgbench and libs in expected places
- continue jobs an aws even if azure jobs fail (because this region is
currently unreliable)
problame pushed a commit that referenced this pull request Jul 22, 2024
…r benchmark (#8422)

## Problem

#8275 is not yet fixed

Periodic benchmarking fails with SIGABRT in pgvector step, see
https://github.com/neondatabase/neon/actions/runs/9967453263/job/27541159738#step:7:393

## Summary of changes

Instead of using pgbench and psql from Neon artifacts, download vanilla
postgres binaries into the container and use those to run the client
side of the test.
problame pushed a commit that referenced this pull request Jul 22, 2024
## Problem

My prior PR #8422
caused leftovers in the GitHub action runner work directory with root
permission.
As an example see here
https://github.com/neondatabase/neon/actions/runs/10001857641/job/27646237324#step:3:37
To work-around we install vanilla postgres as non-root using deb
packages in /home/nonroot user directory

## Summary of changes

- since we cannot use root we install the deb pkgs directly and create
symbolic links for psql, pgbench and libs in expected places
- continue jobs an aws even if azure jobs fail (because this region is
currently unreliable)
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.

2 participants