Content of $QA_HOME/files/qa-databases.conf must be *ADDED* to the file
$TESTING_FB_HOME/databases.conf rather than overwrite it.
Final file must contain aliases 'employee' and 'security.db'.
Otherwise in some cases attempt to made attach to Services can fail:
=======
provider.set_dbcrypt_callback(crypt_callback)
> svc = provider.attach_service_manager(host, spb_buf)
result = self.vtable.attachServiceManager(self, self.status, service.encode(), len(spb), spb)
> self._check()
> raise self.__report(DatabaseError, self.status.get_errors())
firebird.driver.types.DatabaseError: Error occurred during login,
please check server firebird.log for details
=======
And firebird.log contains at this moment:
Authentication error
I/O error during "CreateFile (open)" operation for file "...\SECURITY5.FDB"
Error while trying to open file
The system cannot find the file specified.
Detected on Windows, FB 5.0.0.970, Classic, test bugs/core_6316_test.py
2023-03-08 07:15:41 +01:00
|
|
|
# QA-specific databases.conf, will be ADDED $FB_HOME/databases.conf
|
2022-08-02 10:15:49 +02:00
|
|
|
# by batch scenario as part of preparation, before QA suite run.
|
Content of $QA_HOME/files/qa-databases.conf must be *ADDED* to the file
$TESTING_FB_HOME/databases.conf rather than overwrite it.
Final file must contain aliases 'employee' and 'security.db'.
Otherwise in some cases attempt to made attach to Services can fail:
=======
provider.set_dbcrypt_callback(crypt_callback)
> svc = provider.attach_service_manager(host, spb_buf)
result = self.vtable.attachServiceManager(self, self.status, service.encode(), len(spb), spb)
> self._check()
> raise self.__report(DatabaseError, self.status.get_errors())
firebird.driver.types.DatabaseError: Error occurred during login,
please check server firebird.log for details
=======
And firebird.log contains at this moment:
Authentication error
I/O error during "CreateFile (open)" operation for file "...\SECURITY5.FDB"
Error while trying to open file
The system cannot find the file specified.
Detected on Windows, FB 5.0.0.970, Classic, test bugs/core_6316_test.py
2023-03-08 07:15:41 +01:00
|
|
|
# ::: NB :::
|
|
|
|
# DO NOT add here aliases 'employee', 'employee.fdb' and 'security.db'
|
|
|
|
# ####################################################################
|
2022-08-02 10:15:49 +02:00
|
|
|
# Discussed with pcisar, letters since 30-may-2022 13:48, subject:
|
Content of $QA_HOME/files/qa-databases.conf must be *ADDED* to the file
$TESTING_FB_HOME/databases.conf rather than overwrite it.
Final file must contain aliases 'employee' and 'security.db'.
Otherwise in some cases attempt to made attach to Services can fail:
=======
provider.set_dbcrypt_callback(crypt_callback)
> svc = provider.attach_service_manager(host, spb_buf)
result = self.vtable.attachServiceManager(self, self.status, service.encode(), len(spb), spb)
> self._check()
> raise self.__report(DatabaseError, self.status.get_errors())
firebird.driver.types.DatabaseError: Error occurred during login,
please check server firebird.log for details
=======
And firebird.log contains at this moment:
Authentication error
I/O error during "CreateFile (open)" operation for file "...\SECURITY5.FDB"
Error while trying to open file
The system cannot find the file specified.
Detected on Windows, FB 5.0.0.970, Classic, test bugs/core_6316_test.py
2023-03-08 07:15:41 +01:00
|
|
|
# "new qa, core_4964_test.py: strange outcome when use... shutil.copy()"
|
|
|
|
# ####################################################################
|
2022-08-02 10:15:49 +02:00
|
|
|
|
2022-08-02 20:29:02 +02:00
|
|
|
# Hereafter we specify data for tests which require special settings for database.
|
Content of $QA_HOME/files/qa-databases.conf must be *ADDED* to the file
$TESTING_FB_HOME/databases.conf rather than overwrite it.
Final file must contain aliases 'employee' and 'security.db'.
Otherwise in some cases attempt to made attach to Services can fail:
=======
provider.set_dbcrypt_callback(crypt_callback)
> svc = provider.attach_service_manager(host, spb_buf)
result = self.vtable.attachServiceManager(self, self.status, service.encode(), len(spb), spb)
> self._check()
> raise self.__report(DatabaseError, self.status.get_errors())
firebird.driver.types.DatabaseError: Error occurred during login,
please check server firebird.log for details
=======
And firebird.log contains at this moment:
Authentication error
I/O error during "CreateFile (open)" operation for file "...\SECURITY5.FDB"
Error while trying to open file
The system cannot find the file specified.
Detected on Windows, FB 5.0.0.970, Classic, test bugs/core_6316_test.py
2023-03-08 07:15:41 +01:00
|
|
|
# Each alias must EXACTLY match to value in the test, including letters case.
|
2022-08-02 10:15:49 +02:00
|
|
|
#
|
2022-08-04 23:48:25 +02:00
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/5160
|
|
|
|
# https://github.com/FirebirdSQL/firebird/issues/5255
|
|
|
|
# ex. core-4964
|
|
|
|
tmp_core_4964_alias = $(dir_sampleDb)/qa/tmp_core_4964.fdb
|
2022-08-02 20:12:03 +02:00
|
|
|
{
|
|
|
|
# dir_msg - directory where messages file (firebird.msg) is located.
|
|
|
|
# We put here path+name of file that has for sure not .fdb format:
|
|
|
|
SecurityDatabase = $(dir_msg)/firebird.msg
|
|
|
|
}
|
2022-08-04 23:48:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/5160
|
|
|
|
# ex. core-4864
|
|
|
|
tmp_core_4864_alias = $(dir_sampleDb)/qa/tmp_core_4864.fdb
|
|
|
|
{
|
|
|
|
SecurityDatabase = tmp_core_4864_alias
|
|
|
|
}
|
2022-08-06 22:01:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/6293
|
|
|
|
# ex. core-6043
|
|
|
|
tmp_core_6043_gtt_0_alias = $(dir_sampleDb)/qa/tmp_core_6043_gtt_0.fdb
|
|
|
|
{
|
|
|
|
ClearGTTAtRetaining = 0
|
|
|
|
}
|
|
|
|
tmp_core_6043_gtt_1_alias = $(dir_sampleDb)/qa/tmp_core_6043_gtt_1.fdb
|
|
|
|
{
|
|
|
|
ClearGTTAtRetaining = 1
|
|
|
|
}
|
|
|
|
|
2022-08-08 20:02:46 +02:00
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/6396
|
|
|
|
# ex. core-6147
|
|
|
|
tmp_core_6147_alias = $(dir_sampleDb)/qa/tmp_core_6147.fdb
|
|
|
|
{
|
|
|
|
SecurityDatabase = tmp_core_6147_alias
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/6453
|
|
|
|
# ex. core-6208
|
|
|
|
tmp_core_6208_alias = $(dir_sampleDb)/qa/tmp_core_6208.fdb
|
|
|
|
{
|
|
|
|
SecurityDatabase = tmp_core_6208_alias
|
|
|
|
}
|
2022-08-17 22:33:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/6650
|
|
|
|
# ex. core-6412
|
|
|
|
tmp_core_6412_alias = $(dir_sampleDb)/qa/tmp_core_6412.fdb
|
|
|
|
{
|
|
|
|
AuthClient = Srp256, Srp
|
|
|
|
UserManager = Srp
|
|
|
|
SecurityDatabase = tmp_core_6412_alias
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/2367
|
|
|
|
# ex. core-6441
|
|
|
|
tmp_core_6441_alias = $(dir_sampleDb)/qa/tmp_core_6441.fdb
|
|
|
|
{
|
|
|
|
AuthClient = Srp256, Srp
|
|
|
|
UserManager = Srp
|
|
|
|
SecurityDatabase = tmp_core_6441_alias
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/1665
|
|
|
|
# ex. core-1241
|
|
|
|
tmp_gh_1665_alias = $(dir_sampleDb)/qa/tmp_gh_1665.fdb
|
|
|
|
{
|
|
|
|
# NB: this is *per-database* parameter rather than TempDirectories.
|
|
|
|
TempTableDirectory = |DEFINITELY|INACCESSIBLE|
|
|
|
|
}
|
2022-08-20 18:37:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/6860
|
|
|
|
# ex. core-1241
|
|
|
|
tmp_gh_6860_fb25_alias = $(dir_sampleDb)/qa/tmp_gh_6860_fb25.fdb
|
|
|
|
{
|
|
|
|
DataTypeCompatibility = 2.5
|
|
|
|
SecurityDatabase = tmp_gh_6860_fb25_alias
|
|
|
|
}
|
|
|
|
|
|
|
|
tmp_gh_6860_fb30_alias = $(dir_sampleDb)/qa/tmp_gh_6860_fb30.fdb
|
|
|
|
{
|
|
|
|
DataTypeCompatibility = 3.0
|
|
|
|
SecurityDatabase = tmp_gh_6860_fb30_alias
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Auxiliary alias for some tests related to system privileges.
|
|
|
|
# Currently is used by:
|
|
|
|
# functional/syspriv/test_user_management_in_selfsec_db.py
|
|
|
|
#
|
|
|
|
tmp_syspriv_alias = $(dir_sampleDb)/qa/tmp_syspriv.fdb
|
|
|
|
{
|
|
|
|
SecurityDatabase = tmp_syspriv_alias
|
|
|
|
}
|
2022-08-23 08:59:15 +02:00
|
|
|
|
2022-09-15 21:14:45 +02:00
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/6142
|
|
|
|
# ex. core-5884
|
|
|
|
tmp_core_5884_alias = $(dir_sampleDb)/qa/tmp_core_5884.fdb
|
|
|
|
{
|
|
|
|
UserManager = Srp
|
2022-09-20 11:55:11 +02:00
|
|
|
AuthServer = Srp256
|
2022-09-15 21:14:45 +02:00
|
|
|
SecurityDatabase = tmp_core_5884_alias
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-09-16 22:42:41 +02:00
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/5118
|
|
|
|
# ex. core-4821
|
|
|
|
tmp_core_4821_alias = $(dir_sampleDb)/qa/tmp_core_4821.fdb
|
|
|
|
{
|
|
|
|
UserManager = Srp
|
|
|
|
SecurityDatabase = tmp_core_4821_alias
|
|
|
|
}
|
|
|
|
|
|
|
|
tmp_bind_4821_alias = $(dir_sampleDb)/qa/tmp_bind_4821.fdb
|
|
|
|
{
|
|
|
|
UserManager = Srp
|
|
|
|
SecurityDatabase = tmp_core_4821_alias
|
|
|
|
}
|
|
|
|
|
2022-09-18 14:18:24 +02:00
|
|
|
# temporary(?)
|
|
|
|
tmp_core_4582_alias = $(dir_sampleDb)/qa/tmp_core_4582.fdb
|
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/5765
|
|
|
|
# ex. core-5496
|
|
|
|
tmp_core_5496_alias = $(dir_sampleDb)/qa/tmp_core_5496.fdb
|
|
|
|
{
|
|
|
|
UserManager = Srp
|
|
|
|
SecurityDatabase = tmp_core_5496_alias
|
|
|
|
}
|
|
|
|
|
2022-09-22 12:46:56 +02:00
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/5765
|
|
|
|
# ex. core-6932
|
|
|
|
tmp_gh_6932_alias = $(dir_sampleDb)/qa/tmp_gh_6932.fdb
|
|
|
|
{
|
|
|
|
# will be resolved to:
|
|
|
|
# D:/FB/fbNNNNN/examples/empbuild/qa
|
|
|
|
# /opt/firebird/examples/empbuild/qa
|
|
|
|
TempTableDirectory = $(dir_sampleDb)/qa
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/6392
|
|
|
|
# ex. core-6143
|
|
|
|
tmp_core_6143_alias = $(dir_sampleDb)/qa/tmp_core_6143.fdb
|
|
|
|
{
|
|
|
|
UserManager = Srp
|
|
|
|
AuthClient = Srp
|
|
|
|
AuthServer = Srp
|
|
|
|
SecurityDatabase = tmp_core_6143_alias
|
|
|
|
}
|
|
|
|
|
2022-09-16 22:42:41 +02:00
|
|
|
|
2023-02-16 19:05:32 +01:00
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/7382
|
|
|
|
tmp_gh_7382_alias = $(dir_sampleDb)/qa/tmp_gh_7382.fdb
|
|
|
|
{
|
|
|
|
DefaultDbCachePages = 30k
|
|
|
|
}
|
|
|
|
|
2023-02-23 10:44:13 +01:00
|
|
|
# Test issue: https://github.com/FirebirdSQL/firebird/issues/7046
|
|
|
|
# Make ability to add comment to mapping ('COMMENT ON MAPPING ... IS ...')
|
|
|
|
tmp_gh_7046_alias = $(dir_sampleDb)/qa/tmp_gh_7046.fdb
|
|
|
|
{
|
|
|
|
SecurityDatabase = tmp_gh_7046_alias
|
|
|
|
}
|
|
|
|
|
2023-02-28 17:50:57 +01:00
|
|
|
# Verifying work of OnDisconnectTriggerTimeout config parameter
|
|
|
|
# https://github.com/FirebirdSQL/firebird/commit/040db0e05a4d880296c451cdc865077d9d4f2619
|
|
|
|
# Add OnDisconnectTriggerTimeout parameter to firebird.conf
|
|
|
|
tmp_trg_disconn_timeout_alias = $(dir_sampleDb)/qa/tmp_disconn_trg_timeout.fdb
|
|
|
|
{
|
|
|
|
# Set number of seconds after which ON DISCONNECT trigger execution will be
|
|
|
|
# automatically cancelled by the engine. Zero means no timeout is set.
|
|
|
|
# Per-database configurable.
|
|
|
|
|
|
|
|
OnDisconnectTriggerTimeout = 2
|
|
|
|
}
|
|
|
|
|
2023-03-06 21:08:47 +01:00
|
|
|
tmp_gh_6802_alias = $(dir_sampleDb)/qa/tmp_gh_6802.fdb
|
|
|
|
{
|
|
|
|
# Determines the number of seconds that the lock manager will wait after a
|
|
|
|
# conflict has been encountered before purging locks from dead processes
|
|
|
|
# and doing extra deadlock scan cycle.
|
|
|
|
#
|
|
|
|
# Per-database configurable.
|
|
|
|
|
|
|
|
DeadlockTimeout = 6
|
|
|
|
}
|
|
|
|
|
|
|
|
tmp_gh_7106_alias = $(dir_sampleDb)/qa/tmp_gh_7106.fdb
|
|
|
|
{
|
|
|
|
SecurityDatabase = tmp_gh_7106_alias
|
|
|
|
}
|
|
|
|
|
2023-02-23 10:44:13 +01:00
|
|
|
|
2023-02-16 19:05:32 +01:00
|
|
|
|
2022-08-23 08:59:15 +02:00
|
|
|
# Databases for replication tests:
|
|
|
|
#
|
|
|
|
db_main_alias = $(dir_sampleDb)/qa_replication/db_main.fdb
|
|
|
|
db_repl_alias = $(dir_sampleDb)/qa_replication/db_repl.fdb
|
|
|
|
|