Bug #58318 Version number replacement is incomplete in test "ndb_mgm"
Description:
This test failure occurred in the build of the cluster-7.1.9a release:
=====
ndb.ndb_mgm [ retry-fail ]
Test ended at YYYY-MM-DD HH:MM:SS
CURRENT_TEST: ndb.ndb_mgm
--- /PATH/mysql-test/suite/ndb/r/ndb_mgm.result
+++ /PATH/mysql-test/suite/ndb/r/ndb_mgm.reject
@@ -1,19 +1,19 @@
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
-id=1 @127.0.0.1 (MYSQL_VERSION NDB_VERSION, Nodegroup: 0, Master)
-id=2 @127.0.0.1 (MYSQL_VERSION NDB_VERSION, Nodegroup: 0)
+id=1 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9, Nodegroup: 0, Master)
+id=2 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9, Nodegroup: 0)
[ndb_mgmd(MGM)] 1 node(s)
-id=3 @127.0.0.1 (MYSQL_VERSION NDB_VERSION)
+id=3 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9)
[mysqld(API)] 14 node(s)
-id=16 @127.0.0.1 (MYSQL_VERSION NDB_VERSION)
-id=32 @127.0.0.1 (MYSQL_VERSION NDB_VERSION)
-id=48 @127.0.0.1 (MYSQL_VERSION NDB_VERSION)
-id=49 @127.0.0.1 (MYSQL_VERSION NDB_VERSION)
-id=63 @127.0.0.1 (MYSQL_VERSION NDB_VERSION)
-id=127 @127.0.0.1 (MYSQL_VERSION NDB_VERSION)
+id=16 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9)
+id=32 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9)
+id=48 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9)
+id=49 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9)
+id=63 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9)
+id=127 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9)
id=192 (not connected, accepting connect from localhost)
id=228 (not connected, accepting connect from localhost)
id=229 (not connected, accepting connect from localhost)
mysqltest: Result content mismatch
=====
Note that the "reject" log contains the numeric part of the version only, not the appended letter "a" which was needed for this rebuild with bug fix.
How to repeat:
Set version to "7.1.9a" and try.
Suggested fix:
Change the string replacement logic to include that trailing letter.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
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.
Description: This test failure occurred in the build of the cluster-7.1.9a release: ===== ndb.ndb_mgm [ retry-fail ] Test ended at YYYY-MM-DD HH:MM:SS CURRENT_TEST: ndb.ndb_mgm --- /PATH/mysql-test/suite/ndb/r/ndb_mgm.result +++ /PATH/mysql-test/suite/ndb/r/ndb_mgm.reject @@ -1,19 +1,19 @@ Cluster Configuration --------------------- [ndbd(NDB)] 2 node(s) -id=1 @127.0.0.1 (MYSQL_VERSION NDB_VERSION, Nodegroup: 0, Master) -id=2 @127.0.0.1 (MYSQL_VERSION NDB_VERSION, Nodegroup: 0) +id=1 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9, Nodegroup: 0, Master) +id=2 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9, Nodegroup: 0) [ndb_mgmd(MGM)] 1 node(s) -id=3 @127.0.0.1 (MYSQL_VERSION NDB_VERSION) +id=3 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9) [mysqld(API)] 14 node(s) -id=16 @127.0.0.1 (MYSQL_VERSION NDB_VERSION) -id=32 @127.0.0.1 (MYSQL_VERSION NDB_VERSION) -id=48 @127.0.0.1 (MYSQL_VERSION NDB_VERSION) -id=49 @127.0.0.1 (MYSQL_VERSION NDB_VERSION) -id=63 @127.0.0.1 (MYSQL_VERSION NDB_VERSION) -id=127 @127.0.0.1 (MYSQL_VERSION NDB_VERSION) +id=16 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9) +id=32 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9) +id=48 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9) +id=49 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9) +id=63 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9) +id=127 @127.0.0.1 (MYSQL_VERSION ndb-7.1.9) id=192 (not connected, accepting connect from localhost) id=228 (not connected, accepting connect from localhost) id=229 (not connected, accepting connect from localhost) mysqltest: Result content mismatch ===== Note that the "reject" log contains the numeric part of the version only, not the appended letter "a" which was needed for this rebuild with bug fix. How to repeat: Set version to "7.1.9a" and try. Suggested fix: Change the string replacement logic to include that trailing letter.