[MDEV-27114] spider tests fail if no Internet connected Created: 2021-11-24  Updated: 2023-04-12  Resolved: 2023-04-12

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Spider
Affects Version/s: 10.7, 10.8
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Sergei Krivonos (Inactive) Assignee: Yuchen Pei
Resolution: Cannot Reproduce Votes: 0
Labels: None


 Description   

STR:
Turn off Internet access and run following:

./mysql-test-run --mysqld=--optimizer_trace=enabled=on --parallel=108 --suite=spider

CURRENT_TEST: spider.spider3_fixes
mysqltest: In included file "/home/name/server/storage/spider/mysql-test/spider/t/../include/../include/init_spider.inc": 
included from /home/name/server/storage/spider/mysql-test/spider/t/../include/init_master_1.inc at line 2:
included from /home/name/server/storage/spider/mysql-test/spider/t/test_init.inc at line 12:
included from /home/name/server/storage/spider/mysql-test/spider/t/spider3_fixes.test at line 7:
At line 79: query 'INSTALL PLUGIN spider SONAME 'ha_spider.so'' failed: <Unknown> (2013): Lost connection to server during query
 
The result from queries just before the failure was:
for master_1
 
 
Server [mysqld.1.1 - pid: 574759, winpid: 574759, exit: 256] failed during test run
Server log from this test:
 
 
Version: '10.8.0-MariaDB-debug-log'  socket: '/home/name/build/mariadb-server/mysql-test/var/tmp/74/mysqld.1.1.sock'  port: 17460  Source distribution
mariadbd: /home/name/server/sql/sql_error.cc:335: void Diagnostics_area::set_ok_status(ulonglong, ulonglong, const char*): Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed.
211124 14:08:13 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
 
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
 
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed, 
something is definitely wrong and this may fail.
 
Server version: 10.8.0-MariaDB-debug-log
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=2
max_threads=153
thread_count=15
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63895 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x7f3154000db8
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7f31a02dee18 thread_stack 0x49000
/home/name/build/mariadb-server/sql/mariadbd(my_print_stacktrace+0x40)[0x564db8914031]
/home/name/build/mariadb-server/sql/mariadbd(handle_fatal_signal+0x3db)[0x564db8085650]
sigaction.c:0(__restore_rt)[0x7f31a33b1c30]
:0(__GI_raise)[0x7f31a24dd37f]
:0(__GI_abort)[0x7f31a24c7db5]
loadmsgcat.c:0(_nl_load_domain.cold.0)[0x7f31a24c7c89]
assert.c:0(.annobin_assert.c_end)[0x7f31a24d5a76]
sql/sql_error.cc:340(Diagnostics_area::set_ok_status(unsigned long long, unsigned long long, char const*))[0x564db7c8d12e]
sql/sql_class.h:5525(my_ok(THD*, unsigned long long, unsigned long long, char const*))[0x564db7c291d0]
sql/sql_parse.cc:5894(mysql_execute_command(THD*, bool))[0x564db7ceef31]
sql/sql_parse.cc:8028(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x564db7cf56f5]
sql/sql_parse.cc:1896(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x564db7ce1c4a]
sql/sql_parse.cc:1402(do_command(THD*, bool))[0x564db7ce0517]
sql/sql_connect.cc:1418(do_handle_one_connection(CONNECT*, bool))[0x564db7eaed39]
sql/sql_connect.cc:1314(handle_one_connection)[0x564db7eae9d4]
perfschema/pfs.cc:2203(pfs_spawn_thread)[0x564db8390fcb]
pthread_create.c:0(start_thread)[0x7f31a33a718a]
:0(__GI___clone)[0x7f31a25a2dd3]
 
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f31540140a0): INSTALL PLUGIN spider SONAME 'ha_spider.so'


Generated at Thu Feb 08 09:50:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.