From 132c50087965df87e20837597b0c2546e44b3033 Mon Sep 17 00:00:00 2001 From: Narayanan Iyer Date: Wed, 9 May 2018 09:26:51 -0400 Subject: [PATCH] [#209] Add ydb_passwd to CRYPTINIT error message text in reference files The code changes in YottaDB/YottaDB#209 changed the CRYPTINIT error message text to also indicate the absence of ydb_passwd environment variable too (not just gtm_passwd). --- encryption/outref/badpasswd.txt | 6 +++--- encryption/outref/err_dse_check.txt | 4 ++-- encryption/outref/err_mu_backup.txt | 8 ++++---- encryption/outref/err_mu_extract.txt | 14 +++++++------- encryption/outref/err_mu_freeze.txt | 4 ++-- encryption/outref/err_mu_journal.txt | 8 ++++---- encryption/outref/err_mu_load.txt | 2 +- encryption/outref/err_mu_misc.txt | 6 +++--- encryption/outref/err_mu_recover.txt | 2 +- encryption/outref/err_mu_replic.txt | 6 +++--- encryption/outref/err_mu_restore.txt | 2 +- encryption/outref/err_mu_rollback.txt | 4 ++-- encryption/outref/err_mu_rundown.txt | 2 +- encryption/outref/error_messages.txt | 6 +++--- encryption/outref/exp_test.txt | 6 +++--- gtcm_omi/outref/gtcm_omi_enc.txt | 2 +- 16 files changed, 41 insertions(+), 41 deletions(-) diff --git a/encryption/outref/badpasswd.txt b/encryption/outref/badpasswd.txt index 5082e75b6..f2f925bb3 100755 --- a/encryption/outref/badpasswd.txt +++ b/encryption/outref/badpasswd.txt @@ -36,11 +36,11 @@ GDE> ##TEST_AWK%YDB-E-CRYPTKEYFETCHFAILED, Could not retrieve encryption key corresponding to file b.dat. .* %YDB-F-DBNOCRE, Not all specified database files, or their associated journal files were created #########TEST CONDITION:gtm_passwd unset######### -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file a.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file a.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-F-DBNOCRE, Not all specified database files, or their associated journal files were created -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file b.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file b.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-F-DBNOCRE, Not all specified database files, or their associated journal files were created -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file create.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file create.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-F-DBNOCRE, Not all specified database files, or their associated journal files were created %YDB-I-DBFILECREATED, Database file ##TEST_PATH##/y.dat created %YDB-I-DBFILECREATED, Database file ##TEST_PATH##/z.dat created diff --git a/encryption/outref/err_dse_check.txt b/encryption/outref/err_dse_check.txt index bef92bb56..90ea5545d 100644 --- a/encryption/outref/err_dse_check.txt +++ b/encryption/outref/err_dse_check.txt @@ -7,8 +7,8 @@ mumps.dat ---------------------------------------------------------- dump file header without gtm_paswd and expect to work ---------------------------------------------------------- -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/a.dat. Environment variable gtm_passwd not set -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/a.dat. Environment variable ydb_passwd/gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set File ##TEST_PATH##/a.dat Region AREG diff --git a/encryption/outref/err_mu_backup.txt b/encryption/outref/err_mu_backup.txt index a6db0a635..0084cb884 100644 --- a/encryption/outref/err_mu_backup.txt +++ b/encryption/outref/err_mu_backup.txt @@ -17,7 +17,7 @@ Backup without gtm_passwd and expect to work unsetenv gtm_passwd ##################################################### mupip backup -bytestream DEFAULT ./back1 -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set MUPIP backup of database file ##TEST_PATH##/mumps.dat to ./back1/mumps.dat DB file ##TEST_PATH##/mumps.dat incrementally backed up in file ./back1/mumps.dat 297 blocks saved. @@ -28,7 +28,7 @@ BACKUP COMPLETED. ##################################################### mupip backup -comprehensive DEFAULT ./back2 -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set DB file ##TEST_PATH##/mumps.dat backed up in file ./back2/mumps.dat ##TEST_AWKTransactions up to 0x[0-9A-F]* are backed up. @@ -64,11 +64,11 @@ Backup while parallel GTM updates without gtm_passwd and expect to error out unsetenv gtm_passwd ##################################################### mupip backup -bytestream -online DEFAULT ./back5 -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTOPFAILED, Encrypt/Decrypt operation failed for file ##TEST_PATH##/mumps.dat. Please look at prior messages related to encryption for more details ##################################################### mupip backup -comprehensive DEFAULT ./back6 -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTOPFAILED, Encrypt/Decrypt operation failed for file ##TEST_PATH##/mumps.dat. Please look at prior messages related to encryption for more details ##SOURCE_PATH##/mupip ##SOURCE_PATH##/mupip integ -REG * diff --git a/encryption/outref/err_mu_extract.txt b/encryption/outref/err_mu_extract.txt index 3c811009a..03f2ea9c7 100644 --- a/encryption/outref/err_mu_extract.txt +++ b/encryption/outref/err_mu_extract.txt @@ -17,15 +17,15 @@ Try extracting database without gtm_passwd and expect error message unsetenv gtmpasswd ################################## mupip extract -fo=bin ext1.bin -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTBADCONFIG, Could not retrieve data from encrypted file ##TEST_PATH##/mumps.dat due to bad encryption configuration. Please look at prior messages related to encryption for more details ################################## mupip extract -fo=zwr ext1.zwr -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTBADCONFIG, Could not retrieve data from encrypted file ##TEST_PATH##/mumps.dat due to bad encryption configuration. Please look at prior messages related to encryption for more details ################################## mupip extract -fo=go ext1.go -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTBADCONFIG, Could not retrieve data from encrypted file ##TEST_PATH##/mumps.dat due to bad encryption configuration. Please look at prior messages related to encryption for more details %YDB-I-DBFILECREATED, Database file ##TEST_PATH##/mumps.dat created -------------------------------------------------------------------------------------------------- @@ -33,15 +33,15 @@ Try extracting while doing parallel GTM updates without gtm_passwd and expect er -------------------------------------------------------------------------------------------------- ################################## mupip extract -fo=bin ext2.bin -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTBADCONFIG, Could not retrieve data from encrypted file ##TEST_PATH##/mumps.dat due to bad encryption configuration. Please look at prior messages related to encryption for more details ################################## mupip extract -fo=zwr ext2.zwr -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTBADCONFIG, Could not retrieve data from encrypted file ##TEST_PATH##/mumps.dat due to bad encryption configuration. Please look at prior messages related to encryption for more details ################################## mupip extract -fo=go ext2.go -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTBADCONFIG, Could not retrieve data from encrypted file ##TEST_PATH##/mumps.dat due to bad encryption configuration. Please look at prior messages related to encryption for more details -------------------------------------------------------------------------------------------------- Try extracting while doing parallel GTM updates with wrong gtm_passwd and expect error message @@ -85,7 +85,7 @@ YDB> Try binary extract with select qualifier to extract gloabl from unencrypted region (AREG) ----------------------------------------------------------------------------------------- mupip extract -fo=bin -select=a* ext4.bin -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTBADCONFIG, Could not retrieve data from encrypted file ##TEST_PATH##/mumps.dat due to bad encryption configuration. Please look at prior messages related to encryption for more details %GDE-I-LOADGD, Loading Global Directory file ##TEST_PATH##/mumps.gld diff --git a/encryption/outref/err_mu_freeze.txt b/encryption/outref/err_mu_freeze.txt index dedb32b3c..f17585055 100644 --- a/encryption/outref/err_mu_freeze.txt +++ b/encryption/outref/err_mu_freeze.txt @@ -8,7 +8,7 @@ Issue mupip freeze while parallel GTM updates with out gtm_passwdand expect erro ------------------------------------------------------------------------------------------ unsetenv gtm_passwd mupip freeze -ON DEFAULT -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTOPFAILED, Encrypt/Decrypt operation failed for file ##TEST_PATH##/mumps.dat. Please look at prior messages related to encryption for more details ------------------------------------------------------------------------------------------ Issue mupip freeze while parallel GTM updates with bad gtm_passwd and expect error message @@ -21,7 +21,7 @@ Issue mupip freeze after GTM updates without gtm_passwd and expect to work ------------------------------------------------------------------------------------------ unsetenv gtm_passwd mupip freeze -ON DEFAULT -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set Region DEFAULT is now FROZEN All requested regions frozen ------------------------------------------------------------------------------------------ diff --git a/encryption/outref/err_mu_journal.txt b/encryption/outref/err_mu_journal.txt index cf2293978..5ae7911d2 100644 --- a/encryption/outref/err_mu_journal.txt +++ b/encryption/outref/err_mu_journal.txt @@ -13,8 +13,8 @@ Try extracting journal file while doing GTM updates without gtm_passwd and expec unsetenv gtm_passwd mupip journal -extract -for mumps.mjl ##FILTERED##%YDB-I-MUJNLSTAT, Initial processing started at ... ... .. ..:..:.. 20.. -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.mjl. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.mjl. Environment variable ydb_passwd/gtm_passwd not set ##FILTERED##%YDB-I-MUJNLSTAT, Backward processing started at ... ... .. ..:..:.. 20.. ##TEST_AWK.*%YDB-E-CRYPTOPFAILED, Encrypt/Decrypt operation failed for file ##TEST_PATH##/mumps.mjl. Please look at prior messages related to encryption for more details %YDB-E-MUNOACTION, MUPIP unable to perform requested action @@ -37,7 +37,7 @@ unsetenv gtm_passwd mupip journal -show=header -noverify -forw mumps.mjl ---------- Error CRYPTINIT seen in jnlhdr.out as expected: -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.mjl. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.mjl. Environment variable ydb_passwd/gtm_passwd not set ---------- %YDB-S-JNLSUCCESS, Show successful --------------------------------------------------------------------------------------------------- @@ -46,7 +46,7 @@ journal show header with verify while doing GTM updates without gtm_passwd and e unsetenv gtm_passwd mupip journal -show=header -verify -forw mumps.mjl ##FILTERED##%YDB-I-MUJNLSTAT, Initial processing started at ... ... .. ..:..:.. 20.. -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.mjl. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.mjl. Environment variable ydb_passwd/gtm_passwd not set ##FILTERED##%YDB-I-MUJNLSTAT, Backward processing started at ... ... .. ..:..:.. 20.. ##TEST_AWK.*%YDB-E-CRYPTOPFAILED, Encrypt/Decrypt operation failed for file ##TEST_PATH##/mumps.mjl. Please look at prior messages related to encryption for more details %YDB-E-MUNOACTION, MUPIP unable to perform requested action diff --git a/encryption/outref/err_mu_load.txt b/encryption/outref/err_mu_load.txt index aafd34e12..f7d7d097c 100644 --- a/encryption/outref/err_mu_load.txt +++ b/encryption/outref/err_mu_load.txt @@ -169,7 +169,7 @@ Mupip load without gtm_passwd unsetenv gtm_passwd ##TEST_AWKLabel = ##FILTERED##GDS BINARY EXTRACT LEVEL ....................................*GT.M MUPIP EXTRACT * -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ext1.bin. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ext1.bin. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-MUNOFINISH, MUPIP unable to finish all requested actions --------------------------------------- Mupip load with bad gtm_passwd diff --git a/encryption/outref/err_mu_misc.txt b/encryption/outref/err_mu_misc.txt index 4af43a653..ef132673b 100644 --- a/encryption/outref/err_mu_misc.txt +++ b/encryption/outref/err_mu_misc.txt @@ -16,7 +16,7 @@ endian convert with out gtm_passwd and expect error out ---------------------------------------------------------------------------------- unsetenv gtm_passwd mupip endianevt mumps.dat -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-MUSTANDALONE, Could not get exclusive access to mumps.dat %YDB-E-MUNOACTION, MUPIP unable to perform requested action ---------------------------------------------------------------------------------- @@ -37,7 +37,7 @@ Integ without gtm_passwd and expect to error out ---------------------------------------------------------------------------------- unsetenv gtm_passwd mupip integ -file mumps.dat -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-I-MUSTANDALONE, Could not get exclusive access to mumps.dat %YDB-E-INTEGERRS, Database integrity errors ---------------------------------------------------------------------------------- @@ -67,7 +67,7 @@ mupip reorg without gtm_passwd and expect to error out unsetenv gtm_passwd mupip reorg -region DEFAULT Fill Factor:: Index blocks 100%: Data blocks 100% -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-E-CRYPTBADCONFIG, Could not retrieve data from encrypted file ##TEST_PATH##/mumps.dat due to bad encryption configuration. Please look at prior messages related to encryption for more details ---------------------------------------------------------------------------------- mupip reorg with bad gtm_passwd and expect to error out diff --git a/encryption/outref/err_mu_recover.txt b/encryption/outref/err_mu_recover.txt index 3dd263e9c..40917e33f 100644 --- a/encryption/outref/err_mu_recover.txt +++ b/encryption/outref/err_mu_recover.txt @@ -24,7 +24,7 @@ journal recover without gtm_passwd and expect to error out ----------------------------------------------------------- unsetenv gtm_passwd ##FILTERED##%YDB-I-MUJNLSTAT, Initial processing started at ... ... .. ..:..:.. 20.. -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-I-MUSTANDALONE, Could not get exclusive access to ##TEST_PATH##/mumps.dat %YDB-E-MUNOACTION, MUPIP unable to perform requested action ##FILTERED##%YDB-I-MUJNLSTAT, End processing at ... ... .. ..:..:.. 20.. diff --git a/encryption/outref/err_mu_replic.txt b/encryption/outref/err_mu_replic.txt index 0cfb77092..b69b10770 100644 --- a/encryption/outref/err_mu_replic.txt +++ b/encryption/outref/err_mu_replic.txt @@ -13,7 +13,7 @@ mumps.dat # Expect both YDB-W-CRYPTINIT and YDB-E-CRYPTBADCONFIG from update process log ---------- Error YDB-W-CRYPTINIT seen in ##FILTERED##RCVR_##TIMESTAMP##.log.updproc as expected: -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##REMOTE_TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##REMOTE_TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set ---------- ---------- Error YDB-E-CRYPTBADCONFIG seen in ##FILTERED##RCVR_##TIMESTAMP##.log.updproc as expected: @@ -31,9 +31,9 @@ No errors detected by integ. # Expect and filter out YDB-W-CRYPTINIT warning from receiver start log and passive source server log ---------- Error YDB-W-CRYPTINIT seen in ##FILTERED##START_##TIMESTAMP##.out as expected: -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##REMOTE_TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##REMOTE_TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set ---------- ---------- Error YDB-W-CRYPTINIT seen in ##FILTERED##passive_##TIMESTAMP##.log as expected: -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##REMOTE_TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##REMOTE_TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set ---------- diff --git a/encryption/outref/err_mu_restore.txt b/encryption/outref/err_mu_restore.txt index 8cdabba8b..77c35028d 100644 --- a/encryption/outref/err_mu_restore.txt +++ b/encryption/outref/err_mu_restore.txt @@ -30,7 +30,7 @@ Restore database with out gtm_passwd and expect to error out --------------------------------------------------------------- unsetenv gtm_passwd mupip restore mumps.dat ./back1/mumps.dat -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file mumps.dat. Environment variable ydb_passwd/gtm_passwd not set Error securing stand alone access to output file mumps.dat. Aborting restore. %YDB-E-MUPRESTERR, MUPIP restore aborted due to preceding errors --------------------------------------------------------------- diff --git a/encryption/outref/err_mu_rollback.txt b/encryption/outref/err_mu_rollback.txt index 804c61c92..06fe3a24a 100644 --- a/encryption/outref/err_mu_rollback.txt +++ b/encryption/outref/err_mu_rollback.txt @@ -37,13 +37,13 @@ Mupip rollback without gtm_passwd and expect to error out -------------------------------------------------------------- mupip_rollback.csh -backward -forward -resync=1 -lost=lost.glo * ##FILTERED##%YDB-I-MUJNLSTAT, Initial processing started at ... ... .. ..:..:.. 20.. -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-I-MUSTANDALONE, Could not get exclusive access to ##TEST_PATH##/mumps.dat %YDB-E-MUNOACTION, MUPIP unable to perform requested action %YDB-I-FILENOTCREATE, Lost transactions extract file lost.glo not created ##FILTERED##%YDB-I-MUJNLSTAT, End processing at ... ... .. ..:..:.. 20.. ##FILTERED##%YDB-I-MUJNLSTAT, Initial processing started at ... ... .. ..:..:.. 20.. -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-I-MUSTANDALONE, Could not get exclusive access to ##TEST_PATH##/mumps.dat %YDB-E-MUNOACTION, MUPIP unable to perform requested action %YDB-I-FILENOTCREATE, Lost transactions extract file lost.glo not created diff --git a/encryption/outref/err_mu_rundown.txt b/encryption/outref/err_mu_rundown.txt index 7c1f39546..ed5d95277 100644 --- a/encryption/outref/err_mu_rundown.txt +++ b/encryption/outref/err_mu_rundown.txt @@ -8,7 +8,7 @@ Issue mupip rundown while doing GTM updates without gtm_passwd and expect to err ----------------------------------------------------------------------------------------------- unsetenv gtm_passwd mupip rundown -region DEFAULT -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-W-MUNOTALLSEC, WARNING: not all global sections accessed were successfully rundown ----------------------------------------------------------------------------------------------- Issue mupip rundown while doing GTM updates with bad gtm_passwd and expect to error out diff --git a/encryption/outref/error_messages.txt b/encryption/outref/error_messages.txt index 15ede9fc5..75d1dbf0f 100755 --- a/encryption/outref/error_messages.txt +++ b/encryption/outref/error_messages.txt @@ -39,9 +39,9 @@ rm: No match. Test case 4: gtm_passwd unset. ############################## rm: No match. -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file a.dat. Environment variable gtm_passwd not set -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file b.dat. Environment variable gtm_passwd not set -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file a.dat. Environment variable ydb_passwd/gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file b.dat. Environment variable ydb_passwd/gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file mumps.dat. Environment variable ydb_passwd/gtm_passwd not set %YDB-F-DBNOCRE, Not all specified database files, or their associated journal files were created diff --git a/encryption/outref/exp_test.txt b/encryption/outref/exp_test.txt index 196dc5362..46690fb7b 100644 --- a/encryption/outref/exp_test.txt +++ b/encryption/outref/exp_test.txt @@ -10,13 +10,13 @@ YDB> ******* Experiment #1: Verify that we cannot access the global in an encrypted file without password ******* YDB> -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set YDB> ******* Experiment #2: Verify we can set gtm_passwd value after we are in GT.M ******* YDB> -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set YDB> @@ -28,7 +28,7 @@ Experiment #3 passed. ******* Experiment #4 Verify we can recover from a bad password by setting to a correct value after entering GT.M ******* YDB> -%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set YDB> diff --git a/gtcm_omi/outref/gtcm_omi_enc.txt b/gtcm_omi/outref/gtcm_omi_enc.txt index 5c22e326d..d06dc1ded 100644 --- a/gtcm_omi/outref/gtcm_omi_enc.txt +++ b/gtcm_omi/outref/gtcm_omi_enc.txt @@ -14,7 +14,7 @@ Set failed- 6: Unrecoverable error YDB> ---------- Error CRYPTINIT seen in gtcm_start.log as expected: -%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable gtm_passwd not set +%YDB-W-CRYPTINIT, Could not initialize encryption library while opening encrypted file ##TEST_PATH##/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set ---------- ---------- Error CRYPTBADCONFIG seen in gtcm_start.log as expected: