| Bug #119254 | Clone, x, innodb, and component_keyring tests fail on copy_file command | ||
|---|---|---|---|
| Submitted: | 28 Oct 5:15 | Modified: | 28 Oct 7:23 |
| Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
| Status: | Open | Impact on me: | |
| Category: | MySQL Server: Tests | Severity: | S7 (Test Cases) |
| Version: | 9.5.0 | OS: | MacOS (26.0.1) |
| Assigned to: | CPU Architecture: | ARM | |
[28 Oct 6:14]
Laurynas Biveinis
./mtr clone.ddl_sys_encrypt_file_copy
...
[ 50%] clone.ddl_sys_encrypt_file_copy [ fail ]
Test ended at 2025-10-28 07:16:13
CURRENT_TEST: clone.ddl_sys_encrypt_file_copy
mysqltest: At line 50: Command "copy_file" failed with error 1. my_errno=17.
In included file ./include/keyring_tests/helper/backup_global_files_once.inc: 51
included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/component_keyring_file/inc/setup_component_customized.inc: 17
included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/clone/include/encrypt_begin.inc: 30
included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/clone/t/ddl_sys_encrypt_file_copy.test: 6
The result from queries just before the failure was:
# Prepare for creating Encrypted Table
# create bootstrap file
# Create and start mysqld with keyring plugin.
# restart
# ----------------------------------------------------------------------
# Setup
# Do global_backup of global manifest and global configuration file for: component_keyring_file
safe_process[93371]: Child process: 93372, exit: 1
[28 Oct 6:15]
Laurynas Biveinis
./mtr clone.ddl_sys_encrypt_page_copy
...
[ 50%] clone.ddl_sys_encrypt_page_copy [ fail ]
Test ended at 2025-10-28 08:15:06
CURRENT_TEST: clone.ddl_sys_encrypt_page_copy
mysqltest: At line 50: Command "copy_file" failed with error 1. my_errno=17.
In included file ./include/keyring_tests/helper/backup_global_files_once.inc: 51
included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/component_keyring_file/inc/setup_component_customized.inc: 17
included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/clone/include/encrypt_begin.inc: 30
included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/clone/t/ddl_sys_encrypt_page_copy.test: 6
The result from queries just before the failure was:
# Prepare for creating Encrypted Table
# create bootstrap file
# Create and start mysqld with keyring plugin.
# restart
# ----------------------------------------------------------------------
# Setup
# Do global_backup of global manifest and global configuration file for: component_keyring_file
safe_process[94226]: Child process: 94227, exit: 1
[28 Oct 7:12]
Laurynas Biveinis
Likewise: clone.ddl_undo_encrypt, clone.error_ddl_notification, clone.error_features, clone.local_encrypt, clone.remote_ddl_encrypt, clone.remote_ddl_sys_encrypt_file_copy, clone.remote_encrypt, clone.remote_error_features, component_keyring_file.encrypt_explicit, component_keyring_file.keyring_encryption_test, component_keyring_file.log_encrypt_4, component_keyring_file.log_encrypt_5, component_keyring_file.log_encrypt_6, component_keyring_file.log_encrypt_kill, component_keyring_file.undo_encrypt_basic, component_keyring_file.undo_encrypt_bootstrap, component_keyring_file.undo_encrypt_crash, component_keyring_file.undo_tablespace_encrypt
[28 Oct 7:16]
Laurynas Biveinis
Likewise: x.log_encrypt_xplugin
[28 Oct 7:23]
Laurynas Biveinis
Likewise innodb.log_encrypt_4, innodb.log_encrypt_kill, innodb.mysql_ts_alter_encrypt_2, innodb.table_encrypt_4

Description: $ ./mtr clone.ddl_encrypt ... [ 50%] clone.ddl_encrypt [ fail ] Test ended at 2025-10-28 07:00:52 CURRENT_TEST: clone.ddl_encrypt mysqltest: At line 50: Command "copy_file" failed with error 1. my_errno=17. In included file ./include/keyring_tests/helper/backup_global_files_once.inc: 51 included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/component_keyring_file/inc/setup_component_customized.inc: 17 included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/clone/include/encrypt_begin.inc: 30 included from /Users/laurynas/vilniusdb/mysql-9.5.0/mysql-test/suite/clone/t/ddl_encrypt.test: 7 The result from queries just before the failure was: # Prepare for creating Encrypted Table # create bootstrap file # Create and start mysqld with keyring plugin. # restart # ---------------------------------------------------------------------- # Setup # Do global_backup of global manifest and global configuration file for: component_keyring_file safe_process[92996]: Child process: 92997, exit: 1 How to repeat: CMake options -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DFORCE_UNSUPPORTED_COMPILER=ON -DCMAKE_BUILD_TYPE=Debug -DWITH_DEBUG=ON -DMYSQL_MAINTAINER_MODE=ON -DWITH_SYSTEM_LIBS=ON -DWITH_NDBCLUSTER_STORAGE_ENGINE=OFF -DFORCE_COLORED_OUTPUT=ON -DCMAKE_CXX_FLAGS=-Wno-nonnull -g -DCMAKE_CXX_FLAGS_DEBUG=-Wno-nonnull -g -DCMAKE_CXX_FLAGS_RELEASE=-O2 -DNDEBUG -Wno-nonnull -g -DWITH_ASAN=ON -DWITH_ASAN_SCOPE=ON -DWITH_UBSAN=ON