Conversation
2 tasks done
The gpfdist regression tests in src/bin/gpfdist/regress cover external tables over gpfdist: the text, CSV and custom formats, compressed files, single row error handling and gpfdist paths. No CI job runs them. Add an ic-gpfdist entry to the Rocky test matrix. The demo cluster already creates the gpfdists certificates that the SSL tests need. Assisted-by: Claude Code
demo_cluster.sh creates the gpfdists certificates only when $enable_gpfdist is "yes" and $with_openssl is "yes". It has not done so for some time, for two reasons: - 2ac071f moved "export enable_gpfdist" and "export with_openssl" from the Makefile into gpdemo-defaults.sh. There they export shell variables that nothing sets, because make does not put its own variables in the environment of a recipe. - fe61df7 (PostgreSQL 14) replaced the with_openssl make variable with with_ssl = openssl. So the demo cluster has no gpfdists certificates, and the gpfdist SSL tests cannot run against it. Export enable_gpfdist and with_ssl from the Makefile again, and check with_ssl in demo_cluster.sh. Assisted-by: Claude Code
The gpfdist regress and remote_regress Makefiles add the SSL tests (gpfdist_ssl and gpfdists_multiCA) only when with_openssl is "yes". PostgreSQL 14 (fe61df7) replaced that make variable with with_ssl = openssl, so the SSL tests have been skipped since then. Check with_ssl instead. With the tests running again, gpfdist_ssl failed its TLS 1.0 and 1.1 checks. gpfdist does reject these versions. The test finds out if curl supports --tls-max with "curl --help | grep tls-max", but curl 7.73 and later list only the most important options there, so the test did not set a maximum version and curl connected with TLS 1.2. Use "curl --help all". Assisted-by: Claude Code
The gpfdist regression tests had stopped passing without anyone noticing. Fix them: - exttab1: c5a298d stopped counting an encoding error twice in single row error handling. The expected output still had the old count, 2, for the one bad row. Expect 1. - gpfdist2: PostgreSQL 16 changed the message for CREATE INDEX on a foreign table to "cannot create index on relation". Update the expected output. - test_watchdog.sh and test_ipv4v6_port.sh: the gpfdist watchdog stops gpfdist with abort(), which writes a core file. CI fails a job that leaves a core file, so disable core files in these scripts. test_ipv4v6_port.sh runs only where nc is installed, as on Rocky 8. - gpfdist2_compress: the test starts a gpfdist on port 7070 and does not stop it at the end. Stop it, so that the port is free for the next run. Assisted-by: Claude Code
Member
Author
|
For the gpfdist tests in Rocky 9 and Rocky 10, you can see the following: This |
reshke
approved these changes
Dec 3, 2026
leborchuk
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The gpfdist regression tests in src/bin/gpfdist/regress cover external tables over gpfdist: the text, CSV and custom formats, compressed files, single row error handling and gpfdist paths. No CI job runs them. Add an ic-gpfdist entry to the Rocky test matrix.
The demo cluster already creates the gpfdists certificates that the SSL tests need.
Assisted-by: Claude Code
Fixes #ISSUE_Number
What does this PR do?
Type of Change
Breaking Changes
Test Plan
make installcheckmake -C src/test installcheck-cbdb-parallelImpact
Performance:
User-facing changes:
Dependencies:
Checklist
Additional Context