Zhiguo Wu created AMBARI-25762: ---------------------------------- Summary: CI on Jenkins fails sometime Key: AMBARI-25762 URL: https://issues.apache.org/jira/browse/AMBARI-25762 Project: Ambari Issue Type: Bug Reporter: Zhiguo Wu
{code:java} ---------------------------------------------------------------------- Ran 296 tests in 11.840s FAILED (errors=4) ---------------------------------------------------------------------- Failed tests: ERROR: test_decrypt_missed_masterkey_not_persisted (TestSensitiveDataEncryption.TestSensitiveDataEncryption) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-common/src/test/python/mock/mock.py", line 1199, in patched return func(*args, **keywargs) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/test/python/TestSensitiveDataEncryption.py", line 329, in test_decrypt_missed_masterkey_not_persisted self.assertTrue(setup_sensitive_data_encryption(options) == 1) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/setupSecurity.py", line 553, in setup_sensitive_data_encryption printManualDecryptionWarning(db_password, db_sql_auth, ts_password) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/setupSecurity.py", line 662, in printManualDecryptionWarning " and set " + SECURITY_SENSITIVE_DATA_ENCRYPTON_ENABLED + " = " + "false." + \ File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 245, in find_properties_file raise FatalException(1, err) FatalException: 'Fatal exception: File /tmp/ambari-test/ambari.properties not found in search path $AMBARI_CONF_DIR: /tmp/ambari-test, exit code 1' ERROR: test_encrypt_part_not_persisted (TestSensitiveDataEncryption.TestSensitiveDataEncryption) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-common/src/test/python/mock/mock.py", line 1199, in patched return func(*args, **keywargs) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/test/python/TestSensitiveDataEncryption.py", line 259, in test_encrypt_part_not_persisted setup_sensitive_data_encryption(options) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/setupSecurity.py", line 572, in setup_sensitive_data_encryption encrypt_sensitive_data(db_password, masterKey, options, isPersisted, properties, ts_password) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/setupSecurity.py", line 603, in encrypt_sensitive_data remove_password_file(JDBC_PASSWORD_FILENAME) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 990, in remove_password_file conf_file = find_properties_file() File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 245, in find_properties_file raise FatalException(1, err) FatalException: 'Fatal exception: File /tmp/ambari-test/ambari.properties not found in search path $AMBARI_CONF_DIR: /tmp/ambari-test, exit code 1' ERROR: test_reset_master_key_not_persisted (TestSensitiveDataEncryption.TestSensitiveDataEncryption) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-common/src/test/python/mock/mock.py", line 1199, in patched return func(*args, **keywargs) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/test/python/TestSensitiveDataEncryption.py", line 185, in test_reset_master_key_not_persisted setup_sensitive_data_encryption(options) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/setupSecurity.py", line 572, in setup_sensitive_data_encryption encrypt_sensitive_data(db_password, masterKey, options, isPersisted, properties, ts_password) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/setupSecurity.py", line 603, in encrypt_sensitive_data remove_password_file(JDBC_PASSWORD_FILENAME) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 990, in remove_password_file conf_file = find_properties_file() File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 245, in find_properties_file raise FatalException(1, err) FatalException: 'Fatal exception: File /tmp/ambari-test/ambari.properties not found in search path $AMBARI_CONF_DIR: /tmp/ambari-test, exit code 1' ERROR: test_reset_master_key_persisted (TestSensitiveDataEncryption.TestSensitiveDataEncryption) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-common/src/test/python/mock/mock.py", line 1199, in patched return func(*args, **keywargs) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/test/python/TestSensitiveDataEncryption.py", line 524, in test_reset_master_key_persisted setup_sensitive_data_encryption(options) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/setupSecurity.py", line 572, in setup_sensitive_data_encryption encrypt_sensitive_data(db_password, masterKey, options, isPersisted, properties, ts_password) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/setupSecurity.py", line 603, in encrypt_sensitive_data remove_password_file(JDBC_PASSWORD_FILENAME) File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 990, in remove_password_file conf_file = find_properties_file() File "/home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3404/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 245, in find_properties_file raise FatalException(1, err) FatalException: 'Fatal exception: File /tmp/ambari-test/ambari.properties not found in search path $AMBARI_CONF_DIR: /tmp/ambari-test, exit code 1' ---------------------------------------------------------------------- {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org For additional commands, e-mail: issues-h...@ambari.apache.org