[Maria-discuss] Test failures in my build of MariaDB 10.5.4

I am building MariaDB 10.5.4 from source with the cmake options shown below. I am running mtr with --skip-test-list=unstable-tests, but still seeing multiple failures: Failing test(s): csv.read_only main.flush_logs_not_windows main.mysqld--help perfschema.bad_option unit.conc_charset I can copy and paste many sections of the stdout.log and specific files, but wanted to ask if this is the right forum to pursue these. These seem pretty core (main.mysqld--help, which reported ‘mysqltest: Result length mismatch‘ after a small unified diff output showing only some numeric value differing), so I’m not sure why I would be getting these. Thanks. Guidance appreciated. - Chris Cmake I used to build: cmake -DBUILD_CONFIG=mysql_release -DAWS_SDK_EXTERNAL_PROJECT=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DINSTALL_LAYOUT=RPM -DINSTALL_PLUGINDIR=lib64/plugin -DINSTALL_SYSCONFDIR="" -DINSTALL_MYSQLTESTDIR="" \ -DWITH_EMBEDDED_SERVER=NO -DWITH_JEMALLOC=OFF -DWITH_PCRE=auto -DWITH_SSL=system -DWITH_ZLIB=system \ -DWITH_WSREP=OFF -DPLUGIN_WSREP_INFO=NO -DPLUGIN_AUTH_TEST_PLUGIN=NO -DPLUGIN_FUNC_TEST=NO \ -DPLUGIN_TYPE_TEST=NO -DPLUGIN_TEST_SQL_DISCOVERY=NO -DPLUGIN_TEST_VERSIONING=NO -DPLUGIN_BLACKHOLE=NO \ -DPLUGIN_CONNECT=NO -DPLUGIN_EXAMPLE=NO -DPLUGIN_EXAMPLE_KEY_MANAGEMENT=NO -DPLUGIN_FTEXAMPLE=NO \ -DPLUGIN_FEDERATED=NO -DPLUGIN_FEDERATEDX=NO -DPLUGIN_MROONGA=NO -DMRN_GROONGA_EMBED=OFF -DPLUGIN_S3=NO \ -DPLUGIN_SPIDER=NO -DPLUGIN_SPHINX=NO -DPLUGIN_TOKUDB=NO -DPLUGIN_ROCKSDB=NO -DCMAKE_BUILD_TYPE=Debug

Hi, Chris! Yes, it's the correct forum. maria-developers@lists.launchpad.net would be an even better match, but this is good enough, no need to repost. And, yes, please post relevant parts of the log, including diffs. On Aug 06, Chris Ross (cross2) wrote:
Regards, Sergei VP of MariaDB Server Engineering and security@mariadb.org

Thanks Sergei. Attached is a trimmed version of the var/stdout.log from the recent mtr run. Let me know if there is other ancillary data for any of these tests that I can also provide. - Chris On 8/6/20, 13:04, "Sergei Golubchik" <serg@mariadb.org> wrote: Hi, Chris! Yes, it's the correct forum. maria-developers@lists.launchpad.net would be an even better match, but this is good enough, no need to repost. And, yes, please post relevant parts of the log, including diffs. On Aug 06, Chris Ross (cross2) wrote: > I am building MariaDB 10.5.4 from source with the cmake options shown > below. I am running mtr with --skip-test-list=unstable-tests, but > still seeing multiple failures: > > Failing test(s): csv.read_only main.flush_logs_not_windows > main.mysqld--help perfschema.bad_option unit.conc_charset > > I can copy and paste many sections of the stdout.log and specific > files, but wanted to ask if this is the right forum to pursue these. > These seem pretty core (main.mysqld--help, which reported ‘mysqltest: > Result length mismatch‘ after a small unified diff output showing only > some numeric value differing), so I’m not sure why I would be getting > these. > > Thanks. Guidance appreciated. > > - Chris > > Cmake I used to build: > > cmake -DBUILD_CONFIG=mysql_release -DAWS_SDK_EXTERNAL_PROJECT=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr \ > -DINSTALL_LAYOUT=RPM -DINSTALL_PLUGINDIR=lib64/plugin -DINSTALL_SYSCONFDIR="" -DINSTALL_MYSQLTESTDIR="" \ > -DWITH_EMBEDDED_SERVER=NO -DWITH_JEMALLOC=OFF -DWITH_PCRE=auto -DWITH_SSL=system -DWITH_ZLIB=system \ > -DWITH_WSREP=OFF -DPLUGIN_WSREP_INFO=NO -DPLUGIN_AUTH_TEST_PLUGIN=NO -DPLUGIN_FUNC_TEST=NO \ > -DPLUGIN_TYPE_TEST=NO -DPLUGIN_TEST_SQL_DISCOVERY=NO -DPLUGIN_TEST_VERSIONING=NO -DPLUGIN_BLACKHOLE=NO \ > -DPLUGIN_CONNECT=NO -DPLUGIN_EXAMPLE=NO -DPLUGIN_EXAMPLE_KEY_MANAGEMENT=NO -DPLUGIN_FTEXAMPLE=NO \ > -DPLUGIN_FEDERATED=NO -DPLUGIN_FEDERATEDX=NO -DPLUGIN_MROONGA=NO -DMRN_GROONGA_EMBED=OFF -DPLUGIN_S3=NO \ > -DPLUGIN_SPIDER=NO -DPLUGIN_SPHINX=NO -DPLUGIN_TOKUDB=NO -DPLUGIN_ROCKSDB=NO -DCMAKE_BUILD_TYPE=Debug Regards, Sergei VP of MariaDB Server Engineering and security@mariadb.org

Hi, Chris! On Aug 06, Chris Ross (cross2) wrote:
This test is doing chmod 0400 $datadir/test/t1.CSM; chmod 0400 $datadir/test/t1.CSV; and then tries to open the table (in RW mode). Normally this should fail, but not in your case. Are you using a filesystem that doesn't enforce file permissions?
same here. chmod u-w and and attempt to write.
this happens if setrlimit(RLIMIT_NOFILE) fails to set the limit.
I didn't look further, the environment looks sufficiently non-standard already. These tests, above, they are skipped on Windown and when run as a root user. But, apparently, it's not enough to cover your case. We can add more precondition checks to skip these tests as needed, but you'll have to tell us what those precondition checks should be :) Regards, Sergei VP of MariaDB Server Engineering and security@mariadb.org
participants (2)
-
Chris Ross (cross2)
-
Sergei Golubchik