[MDEV-3770] LP:494255 - Cannot run RQG due to errors in mysql-test-run.pl v1 Created: 2009-12-08  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Hakan Küçükyılmaz (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug494255.xml    

 Description   

I cannot run Random Query Generator with MariaDB

How to reproduce:

  • branch and compile lp:maria
  • bzr branch lp:randgen
  • cd randgen
  • perl runall.pl --basedir=/home/hakan/work/monty_program/maria --gendata=conf/example.zz --grammar=conf/example.yy
  1. 00:51:46 Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
  2. 00:51:46 Please see http://forge.mysql.com/wiki/Category:RandomQueryGenerator for more information on this test framework.
  3. 00:51:46 Starting
  4. 00:51:46 # runall.pl \
  5. 00:51:46 # --basedir=/home/hakan/work/monty_program/maria \
  6. 00:51:46 # --gendata=conf/example.zz \
  7. 00:51:46 # --grammar=conf/example.yy
  8. 00:51:46 master_port : 19300 slave_port : 19302 master_ports : 19300 19302 MTR_BUILD_THREAD : 930
  9. 00:51:46 Running perl mysql-test-run.pl -start-and-exit --skip-ndb --mysqld=core-file --mysqld=loose-new --mysqld=sql-mode=no_engine_substitution --mysqld=relay-log=slave-relay-bin --mysqld=loose-innodb --mysqld=loose-falcon-debug-mask=2 --mysqld=secure-file-priv= --mysqld=max-allowed-packet=16Mb --mysqld=loose-innodb-status-file=1 --mysqld=-master-retry-count=65535 --master_port=19300 1st 2>&1 .
    =======================================================
    WARNING: Using mysql-test-run.pl version 1!
    =======================================================
    Global symbol "$opt_skip_ssl" requires explicit package name at lib/v1/mysql-test-run.pl line 567.
    Global symbol "$opt_skip_ssl" requires explicit package name at lib/v1/mysql-test-run.pl line 786.
    BEGIN not safe after errors--compilation aborted at lib/v1/mysql-test-run.pl line 2370.
    cat: /home/hakan/work/monty_program/maria/mysql-test/var/log/master.err: No such file or directory
    Wed Dec 9 00:51:47 2009 [8742] runall.pl will exit with exit status 9

Problem seems to in mysql-test-run.pl v1:
hakan@lu0012:~/work/monty_program/maria/mysql-test/lib/v1$ perl -c mysql-test-run.pl
Global symbol "$opt_skip_ssl" requires explicit package name at mysql-test-run.pl line 567.
Global symbol "$opt_skip_ssl" requires explicit package name at mysql-test-run.pl line 786.
BEGIN not safe after errors--compilation aborted at mysql-test-run.pl line 2370.



 Comments   
Comment by Hakan Küçükyılmaz (Inactive) [ 2009-12-09 ]

Re: Cannot run RQG due to errors in mysql-test-run.pl v1
Kristian,

this is most likely a merge issue. Therefore I assigned this bug to you.

Best regards,

Comment by Hakan Küçükyılmaz (Inactive) [ 2009-12-09 ]

Re: Cannot run RQG due to errors in mysql-test-run.pl v1
This fixes the issue:

hakan@lu0012:~/work/monty_program/maria/mysql-test/lib/v1$ bzr diff
=== modified file 'mysql-test/lib/v1/mysql-test-run.pl'
— mysql-test/lib/v1/mysql-test-run.pl 2009-02-15 10:58:34 +0000
+++ mysql-test/lib/v1/mysql-test-run.pl 2009-12-09 00:13:53 +0000
@@ -178,6 +178,7 @@

our $opt_compress;
our $opt_ssl;
+our $opt_skip_ssl;
our $opt_ssl_supported;
our $opt_ps_protocol;
our $opt_sp_protocol;

Comment by Rasmus Johansson (Inactive) [ 2010-02-11 ]

Launchpad bug id: 494255

Generated at Thu Feb 08 06:51:04 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.