Skip to content

RHEL 10 compatibility: tcl scripts missing, package install failures #61

Description

@sayalibhavsar

Problem

hammerdb-wrapper v2.6 is not compatible with RHEL 10.x. Multiple failures occur when running hammerdb_mariadb, hammerdb_postgres, and hammerdb_mssql on RHEL 10.3 Beta VHD images (Azure, Standard_D64s_v5).

Errors

hammerdb_mariadb

/bin/dnf install of mariadb failed
Package installation of hammerdb_mariadb.json, using /root/test_tools/package_tool was unsuccessful.
ERROR 2002 (HY000): Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)
cp: cannot stat 'build_mariadb.tcl': No such file or directory
sed: can't read build1_mariadb.tcl: No such file or directory
cp: cannot stat 'runtest_mariadb.tcl': No such file or directory
sed: can't read runtest1_mariadb.tcl: No such file or directory

hammerdb_postgres

/bin/dnf install of postgresql failed
Package installation of hammerdb_postgres.json, using /root/test_tools/package_tool was unsuccessful.
Job for postgresql.service failed because the control process exited with error code.
psql: error: connection to server at "localhost" (::1), port 5432 failed: Connection refused
cp: cannot stat 'build_pg.tcl': No such file or directory
sed: can't read build1_pg.tcl: No such file or directory
cp: cannot stat 'runtest_pg.tcl': No such file or directory
sed: can't read runtest1_pg.tcl: No such file or directory

All variants

Could not verify schema, see below for details
6 validation errors for list[Hammerdb_Results]
0.connection
  Input should be a valid integer [type=int_type, input_value=None, input_type=NoneType]
0.TPM
  Input should be a valid integer [type=int_type, input_value=None, input_type=NoneType]

Root Cause

  1. The wrapper's package install check reports failure even when packages are pre-installed in the image (running with --no_system_packages)
  2. build_mariadb.tcl, build_pg.tcl, runtest_mariadb.tcl, runtest_pg.tcl are missing — the wrapper expects these files in the current directory but HammerDB's directory layout has changed
  3. Database services fail to start on RHEL 10.3 (see separate issues for details)
  4. All user runs (10/20/40) execute against no running database, producing TPM=None and failing schema validation

Environment

  • RHEL 10.3 Beta (Coughlan), kernel 6.12.0-238.el10.x86_64
  • Azure Standard_D64s_v5 (64 vCPU, 256 GB RAM, 2 NUMA nodes)
  • hammerdb-wrapper v2.6
  • HammerDB 3.2
  • zathras with --no_system_packages

Note

PR #56 ("Install update") appears to partially address this by adding new tcl scripts and downloading HammerDB from GitHub instead of requiring local kit uploads. However it has not been merged yet and targets RHEL 9, not RHEL 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions