Skip to content

[Bug] ic-contrib test failed on Rocky 8 #1539

@tuhaihe

Description

@tuhaihe

Apache Cloudberry version

main

What happened

ic-contrib test failed on Rocky Linux 8:

Found regression.diffs at: ./contrib/pgcrypto/regression.diffs
diff -I HINT: -I CONTEXT: -I GP_IGNORE: -U3 /__w/cloudberry/cloudberry/contrib/pgcrypto/expected/fips_2.out /__w/cloudberry/cloudberry/contrib/pgcrypto/results/fips.out
--- /__w/cloudberry/cloudberry/contrib/pgcrypto/expected/fips_2.out	2026-01-19 20:22:42.190162967 -0800
+++ /__w/cloudberry/cloudberry/contrib/pgcrypto/results/fips.out	2026-01-19 20:22:42.193162972 -0800
@@ -16,7 +16,7 @@
 (1 row)
 
 SELECT digest('santa claus', 'md5');
-ERROR:  Cannot use "md5": 
+ERROR:  Cannot use "md5": Some PX error (not specified)
 SELECT 'Test digest sha256: EXPECTED PASS' as comment;
               comment              
 -----------------------------------
@@ -36,7 +36,7 @@
 (1 row)
 
 SELECT hmac('santa claus', 'aaa', 'md5');
-ERROR:  Cannot use "md5": 
+ERROR:  Cannot use "md5": Some PX error (not specified)
 SELECT 'Test hmac sha256: EXPECTED PASS' as comment;
              comment             
 ---------------------------------
@@ -56,7 +56,7 @@
 (1 row)
 
 UPDATE fipstest SET salt = gen_salt('md5');
-ERROR:  requested functionality not allowed in FIPS mode (pgcrypto.c:213)
+ERROR:  requested functionality not allowed in FIPS mode (pgcrypto.c:215)
 SELECT 'Test crypt : EXPECTED FAIL FIPS' as comment;
              comment             
 ---------------------------------
@@ -64,9 +64,9 @@
 (1 row)
 
 UPDATE fipstest SET res = crypt(data, salt);
-ERROR:  requested functionality not allowed in FIPS mode (pgcrypto.c:266)
+ERROR:  requested functionality not allowed in FIPS mode (pgcrypto.c:268)
 SELECT res = crypt(data, res) AS "worked" FROM fipstest;
-ERROR:  requested functionality not allowed in FIPS mode (pgcrypto.c:266)
+ERROR:  requested functionality not allowed in FIPS mode (pgcrypto.c:268)
 SELECT 'Test pgp : EXPECTED PASS' as comment;
          comment          
 --------------------------
@@ -74,7 +74,7 @@
 (1 row)
 
 select pgp_sym_decrypt(pgp_sym_encrypt('santa clause', 'mypass', 'cipher-algo=aes256'), 'mypass');
-ERROR:  requested functionality not allowed in FIPS mode (openssl.c:772)
+ERROR:  requested functionality not allowed in FIPS mode (openssl.c:823)
 SELECT 'Test pgp : EXPECTED FAIL FIPS' as comment;
             comment            
 -------------------------------
@@ -90,7 +90,7 @@
 (1 row)
 
 SELECT encrypt('santa claus', 'mypass', 'aes') as raw_aes;
-ERROR:  requested functionality not allowed in FIPS mode (openssl.c:772)
+ERROR:  requested functionality not allowed in FIPS mode (openssl.c:823)
 SELECT 'Test raw encrypt : EXPECTED FAIL FIPS' as comment;
                 comment                
 ---------------------------------------
@@ -98,5 +98,5 @@
 (1 row)
 
 SELECT encrypt('santa claus', 'mypass', 'bf') as raw_blowfish;
-ERROR:  requested functionality not allowed in FIPS mode (openssl.c:772)
+ERROR:  requested functionality not allowed in FIPS mode (openssl.c:823)
 DROP TABLE fipstest;

What you think should happen instead

No response

How to reproduce

https://github.com/apache/cloudberry/actions/runs/21159078720/job/60850595327?pr=1518

Operating System

Rocky Linux 8.10

Anything else

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions