[MDEV-12727] main.shm fails in buildbot on Windows with ERROR 2013 Created: 2017-05-08  Updated: 2023-11-29  Resolved: 2023-11-29

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.2
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Georg Richter
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

It doesn't happen often, but has happened multiple times on 10.2- and 10.3-based trees.

http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/3507/steps/test/logs/stdio

main.shm                                 w2 [ fail ]
        Test ended at 2017-04-25 07:53:30
 
CURRENT_TEST: main.shm
--- D:/winx64-debug/build/src/mysql-test/r/shm.result	2017-04-25 07:03:45.598562300 +0000
+++ D:\winx64-debug\build\src\mysql-test\r\shm.reject	2017-04-25 07:53:30.357772600 +0000
@@ -2164,7 +2164,7 @@
 Warnings:
 Warning	1708	The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
 SET GLOBAL net_buffer_length= 1024;
-ERROR 1153 (08S01) at line 1: Got a packet bigger than 'max_allowed_packet' bytes
+ERROR 2013 (HY000) at line 1: Lost connection to MySQL server during query
 SET GLOBAL max_allowed_packet= @max_allowed_packet;
 SET GLOBAL net_buffer_length= @net_buffer_length;
 End of 5.0 tests.
 
mysqltest: Result length mismatch



 Comments   
Comment by Alice Sherepa [ 2017-10-23 ]

recent one http://buildbot.askmonty.org/buildbot/builders/winx64-packages/builds/5374/steps/test/logs/stdio

Comment by Vladislav Vaintroub [ 2017-11-09 ]

It is C/C client problem because

  • server did not crash in this test.
  • it only happens in 10.2
    The client error is very unspecific, so it is not possble to tell anything about it. At least the a message should be such that it is possible to derive possible cause from it.
Comment by Alice Sherepa [ 2021-03-11 ]

http://buildbot.askmonty.org/buildbot/builders/win32-debug/builds/19118/steps/test/logs/stdio

main.shm                                 w4 [ fail ]
        Test ended at 2021-03-11 07:37:31
 
CURRENT_TEST: main.shm
--- D:/win32-debug/build/src/mysql-test/r/shm.result	2021-03-11 07:13:09.201701800 +0000
+++ D:\win32-debug\build\src\mysql-test\r\shm.reject	2021-03-11 07:37:31.708531300 +0000
@@ -2167,7 +2167,7 @@
 Warnings:
 Warning	1708	The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
 SET GLOBAL net_buffer_length= 1024;
-ERROR 1153 (08S01) at line 1: Got a packet bigger than 'max_allowed_packet' bytes
+ERROR 2013 (HY000) at line 1: Lost connection to MySQL server during query
 SET GLOBAL max_allowed_packet= @max_allowed_packet;
 SET GLOBAL net_buffer_length= @net_buffer_length;
 End of 5.0 tests.
 
mysqltest: Result length mismatch

Generated at Thu Feb 08 07:59:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.