Bug #89493 Intermittent warnings on MTR test group_replication.gr_start_stop_stress
Submitted: 1 Feb 2018 7:57 Modified: 6 Feb 2018 17:01
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Tests: Group Replication Severity:S3 (Non-critical)
Version:8.0.4 OS:Any
Assigned to: Bogdan Kecman CPU Architecture:Any

[1 Feb 2018 7:57] Laurynas Biveinis
Description:
Once in a while

group_replication.gr_start_stop_stress   w1 [ fail ]  Found warnings/errors in server log file!
        Test ended at 2018-01-30 14:34:11
line
2018-01-30T14:31:32.437285Z 19 [ERROR] [MY-011254] Plugin group_replication reported: 'Error while sending message for group replication recovery'
^ Found warnings in /mnt/workspace/mysql-5.7-param/BUILD_TYPE/release/Host/min-artful-x64/build/mysql-test/var/1/log/mysqld.3.err
ok

How to repeat:
Perhaps ./mtr --big-test --suite=group_replication --big-test gr_start_stop_stress with a sufficient --repeat --parallel

Suggested fix:
Superficially it seems that the warning is expected given that the testcase starts and stops group replication for one node without syncing with completing recovery. gr_start_stop_recovery.test seems similar in this regard and it suppresses this and a few more warnings.
[2 Feb 2018 23:24] Bogdan Kecman
Hi,

I'm having troubles reproducing this. Can you share few more details?

all best
Bogdan
[5 Feb 2018 4:10] Laurynas Biveinis
Sorry, I don't have any additional leads over what originally reported.

I'd suggest to approach this by testcase analysis
[6 Feb 2018 17:01] Bogdan Kecman
How sufficient are repeat and parallel as for 10 both all test passed without a problem ?

all best
bogdan
[6 Feb 2018 17:31] Bogdan Kecman
TEST                                      RESULT   TIME (ms) or COMMENT
--------------------------------------------------------------------------

worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13019
group_replication.gr_start_stop_stress   [ pass ]  184694
group_replication.gr_start_stop_stress   [ pass ]  185002
group_replication.gr_start_stop_stress   [ pass ]  184655
group_replication.gr_start_stop_stress   [ pass ]  184889
group_replication.gr_start_stop_stress   [ pass ]  185264
group_replication.gr_start_stop_stress   [ pass ]  184409
group_replication.gr_start_stop_stress   [ pass ]  185551
group_replication.gr_start_stop_stress   [ pass ]  185059
group_replication.gr_start_stop_stress   [ pass ]  184851
group_replication.gr_start_stop_stress   [ pass ]  186125
--------------------------------------------------------------------------
The servers were restarted 0 times
Spent 1850.499 of 2080 seconds executing testcases

Completed: All 10 tests were successful.