Skip to content

Conversation

@tuhaihe
Copy link
Member

@tuhaihe tuhaihe commented Dec 31, 2025

This commit introduces a new GitHub Actions workflow for building and testing Apache Cloudberry on Rocky Linux 8, enabling automated builds, RPM packaging, and regresssion testing alongside the existing Rocky 9 and Ubuntu 22.04 pipelines.

Triggers:

  • Push to main branch
  • Pull requests modifying this workflow file
  • Scheduled: Every Monday at 02:00 UTC
  • Manual workflow dispatch with optional test selection

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@tuhaihe
Copy link
Member Author

tuhaihe commented Dec 31, 2025

The CI failed due to #1441 - The PR #1513 will resolve it. So need to rebase this PR once #1513 is merged.

@tuhaihe
Copy link
Member Author

tuhaihe commented Jan 7, 2026

Will rebase after #1521

@tuhaihe tuhaihe force-pushed the rocky8-ci-weekly branch 2 times, most recently from efd48b7 to d17809c Compare January 13, 2026 07:48
@tuhaihe tuhaihe marked this pull request as draft January 15, 2026 10:24
This commit introduces a new GitHub Actions workflow for building and
testing Apache Cloudberry on Rocky Linux 8, enabling automated builds,
RPM packaging, and regresssion testing alongside the existing Rocky 9
and Ubuntu 22.04 pipelines.

Triggers:
- Push to main branch
- Pull requests modifying this workflow file
- Scheduled: Every Monday at 02:00 UTC
- Manual workflow dispatch with optional test selection
The `capture_output` argument for `subprocess.run` is not available
in Python 3.6, which is the default on Rocky Linux 8.

This commit replaces it with `stdout=subprocess.PIPE` and `stderr=
subprocess.PIPE` to ensure backward compatibility.

This enables `ic-good-opt-*` tests to pass on Rocky 8 environments.

See: apache#1538
This commit fixes two issues preventing the `ic-contrib` regression
tests from passing on Rocky Linux 8 environments (FIPS enabled).

1. Fixed regex matching for "Some PX error": The previous `init_file`
   rule missed a space in the error message pattern (`ERROR:  Cannot
   use...`), causing FIPS error masking to fail. Added the missing space
   to correctly match the output.

2. Masked ephemeral line numbers: Different compilation environments
   (Rocky 8 vs 9) produce different line number references in error
   messages (e.g., pgcrypto.c:213 vs 215).  Added `matchsubs` rules to
   mask these line numbers with `(pgcrypto.c:XXX)` and updated
   `expected/fips_2.out` to match, ensuring consistent test results
   across platforms.

Changes:
* Modified src/test/regress/init_file
* Updated contrib/pgcrypto/expected/fips_2.out

See: apache#1539
@tuhaihe
Copy link
Member Author

tuhaihe commented Jan 20, 2026

Fix #1538 #1539

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.

1 participant