← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1824762] [NEW] various tools (including pt-query-digest, pt-heartbeat) failing due to fatal sprintf warnings

 

Public bug reported:

On Xenial, various tools fail because of warnings from sprintf that are
generated on the new Perl version in Xenial.

These warnings are fatal because all of the tools set "use strict" and
"use warnings FATAL => 'all';"

This can be tested simply by parsing any MySQL log with pt-query-digest

* Test Case *

apt-get install mysql-server percona-toolkit # set any root password you like, we'll just use the debian.cnf credentials
mysql  --defaults-file=/etc/mysql/debian.cnf -e "set GLOBAL slow_query_log = on, 
long_query_time=0.0; select * from mysql.user;"
pt-query-digest /var/lib/mysql/$(hostname)-slow.log

Result:
The pipeline caused an error: Pipeline process 5 (iteration) caused an error: Redundant argument in sprintf at /usr/bin/pt-query-digest line 2556.
Terminating pipeline because process 4 (iteration) caused too many errors.


This issue was fixed upstream:
https://github.com/percona/percona-toolkit/pull/73/

** Affects: percona-toolkit (Ubuntu)
     Importance: High
     Assignee: Trent Lloyd (lathiat)
         Status: Confirmed

** Affects: percona-toolkit (Ubuntu Xenial)
     Importance: High
     Assignee: Trent Lloyd (lathiat)
         Status: Confirmed

** Changed in: percona-toolkit (Ubuntu)
       Status: New => Confirmed

** Changed in: percona-toolkit (Ubuntu)
   Importance: Undecided => High

** Changed in: percona-toolkit (Ubuntu)
     Assignee: (unassigned) => Trent Lloyd (lathiat)

** Also affects: percona-toolkit (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: percona-toolkit (Ubuntu Xenial)
       Status: New => Confirmed

** Changed in: percona-toolkit (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: percona-toolkit (Ubuntu Xenial)
     Assignee: (unassigned) => Trent Lloyd (lathiat)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1824762

Title:
  various tools (including pt-query-digest, pt-heartbeat) failing due to
  fatal sprintf warnings

Status in percona-toolkit package in Ubuntu:
  Confirmed
Status in percona-toolkit source package in Xenial:
  Confirmed

Bug description:
  On Xenial, various tools fail because of warnings from sprintf that
  are generated on the new Perl version in Xenial.

  These warnings are fatal because all of the tools set "use strict" and
  "use warnings FATAL => 'all';"

  This can be tested simply by parsing any MySQL log with pt-query-
  digest

  * Test Case *

  apt-get install mysql-server percona-toolkit # set any root password you like, we'll just use the debian.cnf credentials
  mysql  --defaults-file=/etc/mysql/debian.cnf -e "set GLOBAL slow_query_log = on, 
  long_query_time=0.0; select * from mysql.user;"
  pt-query-digest /var/lib/mysql/$(hostname)-slow.log

  Result:
  The pipeline caused an error: Pipeline process 5 (iteration) caused an error: Redundant argument in sprintf at /usr/bin/pt-query-digest line 2556.
  Terminating pipeline because process 4 (iteration) caused too many errors.

  
  This issue was fixed upstream:
  https://github.com/percona/percona-toolkit/pull/73/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/percona-toolkit/+bug/1824762/+subscriptions


Follow ups