[percona] forensic log UTs fail because of missing primary key in logs table
[ RUN ] MySqlLegalLibLoadTest.MySqlValidLoad
wipeMySQLData failed:[sh /home/andrei/work/isc/kea/src/share/database/scripts/mysql/wipe_data.sh 9.5 -N -B --user=keatest --password=keatest keatest 2>/dev/null ]
load_unload_unittests.cc:338: Failure
Value of: HooksManager::loadLibraries(libraries)
Actual: false
Expected: true
wipeMySQLData failed:[sh /home/andrei/work/isc/kea/src/share/database/scripts/mysql/wipe_data.sh 9.5 -N -B --user=keatest --password=keatest keatest 2>/dev/null ]
[ FAILED ] MySqlLegalLibLoadTest.MySqlValidLoad (26135 ms)
The real problem is:
verbose_what_ = "unable to prepare MySQL statement <INSERT INTO logs(address, log) VALUES (?, ?)>, reason: Percona-XtraDB-Cluster prohibits use of DML comman
d on a table (keatest.logs) without an explicit primary key with pxc_strict_mode = ENFORCING or MASTER[mysql_connection.cc:337]"