Skip to content

Commit 841b76e

Browse files
authored
Temporarily use vanilla pgbench and psql (client) for running pgvector 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.
1 parent a4434cf commit 841b76e

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/benchmarking.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -457,17 +457,21 @@ jobs:
457457
runs-on: [ self-hosted, us-east-2, x64 ]
458458
container:
459459
image: 369495373322.dkr.ecr.eu-central-1.amazonaws.com/build-tools:pinned
460-
options: --init
460+
options: --init --user root
461461

462462
steps:
463463
- uses: actions/checkout@v4
464464

465-
- name: Download Neon artifact
466-
uses: ./.github/actions/download
467-
with:
468-
name: neon-${{ runner.os }}-${{ runner.arch }}-release-artifact
469-
path: /tmp/neon/
470-
prefix: latest
465+
# until https://github.com/neondatabase/neon/issues/8275 is fixed we temporarily install postgresql-16
466+
# instead of using Neon artifacts containing pgbench
467+
- name: Install postgresql-16 where pytest expects it
468+
run: |
469+
apt-get update && apt-get install -y postgresql-common
470+
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
471+
apt-get -y install postgresql-16
472+
mkdir -p /tmp/neon/pg_install/v16/bin
473+
ln -s /usr/bin/pgbench /tmp/neon/pg_install/v16/bin/pgbench
474+
ln -s /usr/bin/psql /tmp/neon/pg_install/v16/bin/psql
471475
472476
- name: Set up Connection String
473477
id: set-up-connstr

0 commit comments

Comments
 (0)