assert   
  - no permission for shutdown/online access to database
  + ### CAUTION ### database.shutdown() UNEXPECTEDLY NOT RAISED ERROR.
  + Data from DB header:
  + Database "/var/tmp/qa_2024/test_12479/test.fdb"
  + Database header page information:
  + Database dialect	3
  + Attributes
  + Database GUID:	{FA5D6CE1-52A4-43F1-A8CE-40E835E949D4}
  + Data from mon$database:
  + CURRENT_TIMESTAMP                : 2025-12-17 05:42:42.783000+03:00
  + WHO_AMI                          : TMP_SYSPRIV_USER
  + RDB$ROLE_NAME                    : RDB$ADMIN
  + RDB_ROLE_IN_USE                  : False
  + RDB_SYS_PRIVILEGES               : b'\xff\xff\xff\xff\xff\xff\xff\xff'
  + MON$SHUTDOWN_MODE                : 0
  + CURRENT_TIMESTAMP                : 2025-12-17 05:42:42.783000+03:00
  + WHO_AMI                          : TMP_SYSPRIV_USER
  + RDB$ROLE_NAME                    : TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
  + RDB_ROLE_IN_USE                  : True
  + RDB_SYS_PRIVILEGES               : b'\x00\x01\x00\x0

[...SKIPPED...]

05:52:30.137 E         + RDB_ROLE_IN_USE                  : True
2025-12-17 05:52:30.143 E         + RDB_SYS_PRIVILEGES               : b'\x00\x01\x00\x00\x00\x00\x00\x00'
2025-12-17 05:52:30.149 E         + MON$SHUTDOWN_MODE                : 0
2025-12-17 05:52:30.155
2025-12-17 05:52:30.162 tests/functional/syspriv/test_access_shutdown_database.py:179: AssertionError
2025-12-17 05:52:30.168 ---------------------------- Captured stdout setup -----------------------------
2025-12-17 05:52:30.174 Creating db: localhost:/var/tmp/qa_2024/test_12479/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
2025-12-17 05:52:30.180 CREATE user: TMP_SYSPRIV_USER PLUGIN: Srp
2025-12-17 05:52:30.186 CREATE role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2025-12-17 05:52:30.192 --------------------------- Captured stdout teardown ---------------------------
2025-12-17 05:52:30.198 DROP role: TMP_ROLE_FOR_ACCESS_SHUTDOWN_DB
2025-12-17 05:52:30.204 DROP user: TMP_SYSPRIV_USER PLUGIN: Srp