Regression test cases fail after enabling Transparent Data Encryption (TDE) functionality #1412
-
|
I made minor adjustments in the cloudberry code's gpAux/gpdemo directory, adding the '-T sm4' parameter to the gpinitsystem command line called by the demo_cluster.sh script to enable Transparent Data Encryption. After starting the gpdemo cluster, I executed 'make installcheck' in the src/test/regress directory, which resulted in test case failures. During the regression test execution, the cluster entered an abnormal state causing the regression testing to be interrupted. Is the Transparent Data Encryption functionality currently available? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
|
This feature worked in previous versions, but there may be problem with the latest code updates, which are uncertain. The database is currently in an abnormal state, what are the error logs. I won't be working this week, I'll go check on this issue next Monday. |
Beta Was this translation helpful? Give feedback.
-
|
The code version I am using is 1a40e1f, which should correspond to version 1.6.0. The regression logs were not preserved, but partial regression results are shown below: ==================================
|
Beta Was this translation helpful? Give feedback.
-
|
The test case 'createdb' caused a database exception. TDE has a bug. Process panic, shared memory cleared. Causing abnormal value of key and data decryption failure. The way to recover from this problem is to restart the data. |
Beta Was this translation helpful? Give feedback.
-
|
Okay, please let me know when the bug is fixed. Thank you. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. 1、Should the size in the CreateSharedMemoryAndSemaphores function be increased by the size of BufEncCtx and BufDecCtx? 2、The 'createdb' test case passes, but there are some other failed test cases with '-T sm4' parameter test: appendonly |
Beta Was this translation helpful? Give feedback.
test: appendonly
test: aocs
The reason for the failure of these two use cases is that the data is encrypted and random, and the compression algorithm determines that the storage space has not decreased after compression. So no compression was performed. The test case calls select get_ao_compression_ratio to calculate the compression ratio, which is 1, indicating that no compression has been performed. This is inconsistent with the expected compression ratio.
test: rle rle_delta dsp not_out_of_shmem_exit_slots create_am_gp
These test cases did not fail in my testing cluster
test: ao_checksum_corruption
This test case directly modifies the file by changing check_sum. But when TDE is enabled…