Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 560
    • Issues 560
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 69
    • Merge requests 69
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Issues
  • #1708
Closed
Open
Issue created Feb 15, 2021 by Andrei Pavel@andreiMaintainer

[percona] MySqlConnectionTest.* UTs fail

[  FAILED  ] 7 tests, listed below:
[  FAILED  ] MySqlConnectionTest.select
[  FAILED  ] MySqlConnectionTest.selectNullInteger
[  FAILED  ] MySqlConnectionTest.selectNullString
[  FAILED  ] MySqlConnectionTest.selectNullBlob
[  FAILED  ] MySqlConnectionTest.selectNullTimestamp
[  FAILED  ] MySqlConnectionTest.selectEmptyStringBlob
[  FAILED  ] MySqlConnectionTest.deleteByValue

All of them have the same output:

*** ERROR: unable to open database. The test
*** environment is broken and must be fixed before
*** the MySQL tests will run correctly.
*** The reason for the problem is described in the
*** accompanying exception output.
unknown file: Failure
C++ exception with description "unable to prepare MySQL statement <DELETE FROM mysql_connection_test WHERE int_value = ?>, reason: Percona-XtraDB-Cluster prohibits use of DML command on a table (keatest.mysql_connection_test) without an explicit primary key with pxc_strict_mode = ENFORCING or MASTER" thrown in the test fixture's constructor.

Let's see what this means for Percona and other MySQL distributions and if we can make these tests pass for them.

Edited Feb 16, 2021 by Andrei Pavel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking