MySQL Forums
Forum List  »  Source, Builds, Binaries

Unit Test Bgc_ticket_manager_test.Several_tickets_test failing on aarch64
Posted by: Conrad burger
Date: February 20, 2025 02:30AM

Unit test Bgc_ticket_manager_test.Several_tickets_test is failing on aarch64.

When compiling MySQL 8 on aarch64 and running the unit tests one of them fails.
On x86-64 it succeeds. I have tested this on 8.0.36/40/41 and they all fail.

Error:
[----------] 1 test from Bgc_ticket_manager_test
[ RUN ] Bgc_ticket_manager_test.Several_tickets_test

Start 17: rpl_channel_credentials
...

99% tests passed, 1 tests failed out of 89

Total Test time (real) = 1894.03 sec

The following tests FAILED:
16 - merge_large_tests (Timeout)
Errors while running CTest
make: *** [Makefile:91: test] Error 8

To reproduce:
--------------------------
Launch an aarch64 EC2 instance, for example a t4g.

wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.41.tar.gz
tar -xzf mysql-8.0.41.tar.gz

sudo yum install -y cmake.aarch64 gcc-c++.aarch64 gcc.aarch64 openssl-devel.aarch64 ncurses-devel.aarch64 readline-devel.aarch64 libcurl-devel libtirpc-devel rpcgen

(cd ~ && rm -rf build && cmake -S ./mysql-8.0.41 -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DDOWNLOAD_BOOST=1 -DWITH_BOOST=.build/boost -DWITH_ROCKSDB=OFF -DWITH_PERCONA_AUDIT_LOG_FILTER=OFF -DWITH_ROUTER=OFF -DWITH_NDB=OFF -DWITH_NDBCLUSTER_STORAGE_ENGINE=OFF -DWITH_LDAP=OFF -DWITH_AUTHENTICATION_LDAP=OFF -DWITH_PERCONA_AUTHENTICATION_LDAP=OFF -DWITH_AUTHENTICATION_KERBEROS=OFF -DWITH_COREDUMPER=OFF && \
cd build && \
make -j$(nproc) &&\
make CTEST_OUTPUT_ON_FAILURE=1 test) 2>&1 | tee mysql-8.0.41.build.$(date '+%Y%m%d%H%M%S')
--------------------------

However, when creating a debug build (-DCMAKE_BUILD_TYPE=Debug) the unit test pass.

Has anyone come across this?

Any help to figure out why this is happening would really be appreciated.

Options: ReplyQuote


Subject
Views
Written By
Posted
Unit Test Bgc_ticket_manager_test.Several_tickets_test failing on aarch64
110
February 20, 2025 02:30AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.