commit sysbench for openSUSE:Factory

2020-06-18 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2020-06-18 10:24:30

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new.3606 (New)


Package is "sysbench"

Thu Jun 18 10:24:30 2020 rev:28 rq:815498 version:1.0.20

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2020-03-16 
10:20:40.559644366 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new.3606/sysbench.changes  
2020-06-18 10:25:50.028408626 +0200
@@ -1,0 +2,11 @@
+Wed Jun 17 12:10:56 UTC 2020 - Martin Pluskal 
+
+- Update to version 1.0.20:
+  * build/CI/packaging: Add arm64 to Travis CI matrix (#358)
+  * build/CI/packaging: add Ubuntu Focal
+  * build/CI/packaging: remove Fedora Rawhide from CI matrix
+  * build/CI/packaging: fix regression tests to work with MySQL 8.0.19+
+  * build/CI/packaging: fix macOS builds in Travis
+  * build/CI/packaging: remove Ubuntu Disco (EOL)
+
+---

Old:

  sysbench-1.0.19.tar.gz

New:

  sysbench-1.0.20.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.s9P7as/_old  2020-06-18 10:26:02.332445760 +0200
+++ /var/tmp/diff_new_pack.s9P7as/_new  2020-06-18 10:26:02.332445760 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.19
+Version:1.0.20
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0-only

++ sysbench-1.0.19.tar.gz -> sysbench-1.0.20.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.19/.travis.yml 
new/sysbench-1.0.20/.travis.yml
--- old/sysbench-1.0.19/.travis.yml 2019-12-08 13:04:05.0 +0100
+++ new/sysbench-1.0.20/.travis.yml 2020-04-24 17:51:47.0 +0200
@@ -2,6 +2,10 @@
 #
 # Travis CI configuration
 
+arch:
+  - amd64
+  - arm64
+
 dist: trusty
 sudo: required
 
@@ -34,18 +38,16 @@
   - OS=fedora DIST=29
   - OS=fedora DIST=30
   - OS=fedora DIST=31
-  - OS=fedora DIST=rawhide
   - OS=ubuntu DIST=xenial
   - OS=ubuntu DIST=bionic
-  - OS=ubuntu DIST=disco
   - OS=ubuntu DIST=eoan
+  - OS=ubuntu DIST=focal
   - OS=debian DIST=jessie
   - OS=debian DIST=stretch
   - OS=debian DIST=buster
   - OS=debian DIST=sid
   - OS=ubuntu DIST=xenial ARCH=i386
   - OS=ubuntu DIST=bionic ARCH=i386
-  - OS=ubuntu DIST=disco ARCH=i386
   - OS=ubuntu DIST=eoan ARCH=i386
   - OS=debian DIST=jessie ARCH=i386
   - OS=debian DIST=stretch ARCH=i386
@@ -66,8 +68,6 @@
   compiler: clang
 - env: OS=fedora DIST=31
   compiler: clang
-- env: OS=fedora DIST=rawhide
-  compiler: clang
 - env: OS=ubuntu DIST=xenial
   compiler: clang
 - env: OS=ubuntu DIST=bionic
@@ -76,6 +76,8 @@
   compiler: clang
 - env: OS=ubuntu DIST=eoan
   compiler: clang
+- env: OS=ubuntu DIST=focal
+  compiler: clang
 - env: OS=debian DIST=jessie
   compiler: clang
 - env: OS=debian DIST=stretch
@@ -100,6 +102,24 @@
   compiler: clang
 - env: OS=debian DIST=sid ARCH=i386
   compiler: clang
+- env: OS=ubuntu DIST=xenial ARCH=i386
+  arch: arm64
+- env: OS=ubuntu DIST=bionic ARCH=i386
+  arch: arm64
+- env: OS=ubuntu DIST=disco ARCH=i386
+  arch: arm64
+- env: OS=ubuntu DIST=eoan ARCH=i386
+  arch: arm64
+- env: OS=debian DIST=jessie ARCH=i386
+  arch: arm64
+- env: OS=debian DIST=stretch ARCH=i386
+  arch: arm64
+- env: OS=debian DIST=buster ARCH=i386
+  arch: arm64
+- env: OS=debian DIST=sid ARCH=i386
+  arch: arm64
+- env: OS=el DIST=6
+  arch: arm64
 - env: OS=el DIST=6
   os: osx
 - env: OS=el DIST=7
@@ -112,8 +132,6 @@
   os: osx
 - env: OS=fedora DIST=31
   os: osx
-- env: OS=fedora DIST=rawhide
-  os: osx
 - env: OS=ubuntu DIST=xenial
   os: osx
 - env: OS=ubuntu DIST=bionic
@@ -122,6 +140,8 @@
   os: osx
 - env: OS=ubuntu DIST=eoan
   os: osx
+- env: OS=ubuntu DIST=focal
+  os: osx
 - env: OS=debian DIST=jessie
   os: osx
 - env: OS=debian DIST=stretch
@@ -134,12 +154,22 @@
   compiler: clang
 - env: TARGET=distcheck
   os: osx
+- env: TARGET=distcheck
+  arch: arm64
 - env: TARGET=coverage
   os: osx
 - env: TARGET=coverage
   compiler: clang
+- env: TARGET=coverage
+  arch: arm64
 - os: osx
   compiler: gcc
+- os: osx
+  arch: arm64
+- arch: arm64
+  compiler: clang
+- env: OS=debian DIST=jessie
+  arch: arm64
 
 addons:
   apt:
@@ -166,15 

commit sysbench for openSUSE:Factory

2020-03-16 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2020-03-16 10:19:32

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new.3160 (New)


Package is "sysbench"

Mon Mar 16 10:19:32 2020 rev:27 rq:785231 version:1.0.19

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2020-02-07 
15:54:12.759504253 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new.3160/sysbench.changes  
2020-03-16 10:20:40.559644366 +0100
@@ -1,0 +2,5 @@
+Sun Mar 15 02:29:55 UTC 2020 - Max Lin 
+
+- BuildRequires postgresql-server-devel on Leap >= 15.2 as well
+
+---



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.lCaXkE/_old  2020-03-16 10:20:41.431644722 +0100
+++ /var/tmp/diff_new_pack.lCaXkE/_new  2020-03-16 10:20:41.439644725 +0100
@@ -36,7 +36,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  postgresql-devel
 BuildRequires:  zlib-devel
-%if 0%{?suse_version} > 1500
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
 BuildRequires:  postgresql-server-devel
 %endif
 %if 0%{?is_opensuse}




commit sysbench for openSUSE:Factory

2020-02-07 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2020-02-07 15:53:28

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new.26092 (New)


Package is "sysbench"

Fri Feb  7 15:53:28 2020 rev:26 rq:770551 version:1.0.19

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2019-12-07 
15:07:38.735861631 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new.26092/sysbench.changes 
2020-02-07 15:54:12.759504253 +0100
@@ -1,0 +2,6 @@
+Thu Feb  6 12:15:37 UTC 2020 - Martin Pluskal 
+
+- Update to version 1.0.19:
+  * regression tests: compatibility fix for PostgreSQL 12
+
+---

Old:

  sysbench-1.0.18.tar.gz

New:

  sysbench-1.0.19.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.wbpOM0/_old  2020-02-07 15:54:14.775505355 +0100
+++ /var/tmp/diff_new_pack.wbpOM0/_new  2020-02-07 15:54:14.779505357 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sysbench
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.18
+Version:1.0.19
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0-only

++ sysbench-1.0.18.tar.gz -> sysbench-1.0.19.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.18/.travis.yml 
new/sysbench-1.0.19/.travis.yml
--- old/sysbench-1.0.18/.travis.yml 2019-10-21 08:23:05.0 +0200
+++ new/sysbench-1.0.19/.travis.yml 2019-12-08 13:04:05.0 +0100
@@ -33,6 +33,7 @@
   - OS=el DIST=8
   - OS=fedora DIST=29
   - OS=fedora DIST=30
+  - OS=fedora DIST=31
   - OS=fedora DIST=rawhide
   - OS=ubuntu DIST=xenial
   - OS=ubuntu DIST=bionic
@@ -63,6 +64,8 @@
   compiler: clang
 - env: OS=fedora DIST=30
   compiler: clang
+- env: OS=fedora DIST=31
+  compiler: clang
 - env: OS=fedora DIST=rawhide
   compiler: clang
 - env: OS=ubuntu DIST=xenial
@@ -107,6 +110,8 @@
   os: osx
 - env: OS=fedora DIST=30
   os: osx
+- env: OS=fedora DIST=31
+  os: osx
 - env: OS=fedora DIST=rawhide
   os: osx
 - env: OS=ubuntu DIST=xenial
@@ -160,6 +165,7 @@
 if [ "x$TARGET" = "xtest" ]; then
   case "${TRAVIS_OS_NAME:-linux}" in
   osx)
+brew update
 brew install mysql
 
 # OS X requires servers to be started explicitly
@@ -185,13 +191,15 @@
 fi
 
 install:
-  - pip2 install --user urllib3[secure] cpp-coveralls
   - >
 case "${TRAVIS_OS_NAME:-linux}" in
 osx)
   # OS X requires this for user-local pip packages
   export PATH=~/Library/Python/2.7/bin:$PATH
   ;;
+linux)
+  pip install --user cpp-coveralls
+  ;;
 esac
 
 before_script:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.18/ChangeLog 
new/sysbench-1.0.19/ChangeLog
--- old/sysbench-1.0.18/ChangeLog   2019-10-21 08:23:05.0 +0200
+++ new/sysbench-1.0.19/ChangeLog   2019-12-08 13:04:05.0 +0100
@@ -1,3 +1,11 @@
+2019-12-08  Alexey Kopytov  
+
+   * version 1.0.18
+   * build/CI/packaging: fix Ubuntu packaging for Bionic and later versions
+   * regression tests: compatibility fix for PostgreSQL 12
+   * build/CI/packaging: fix macOs builds in Travis
+   * build/CI/packaging: add Fedora 31.
+
 2019-10-21  Alexey Kopytov  
 
* version 1.0.18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.18/configure.ac 
new/sysbench-1.0.19/configure.ac
--- old/sysbench-1.0.18/configure.ac2019-10-21 08:23:05.0 +0200
+++ new/sysbench-1.0.19/configure.ac2019-12-08 13:04:05.0 +0100
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.63)
-AC_INIT([sysbench],[1.0.18],[https://github.com/akopytov/sysbench/issues],
+AC_INIT([sysbench],[1.0.19],[https://github.com/akopytov/sysbench/issues],
 [sysbench], [https://github.com/akopytov/sysbench])
 AC_CONFIG_AUX_DIR([config])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.18/debian/changelog 
new/sysbench-1.0.19/debian/changelog
--- old/sysbench-1.0.18/debian/changelog2019-10-21 08:23:05.0 
+0200
+++ new/sysbench-1.0.19/debian/changelog

commit sysbench for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2019-12-07 15:07:19

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new.4691 (New)


Package is "sysbench"

Sat Dec  7 15:07:19 2019 rev:25 rq:754662 version:1.0.18

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2019-10-22 
15:44:51.253676272 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new.4691/sysbench.changes  
2019-12-07 15:07:38.735861631 +0100
@@ -1,0 +2,6 @@
+Fri Dec  6 11:53:30 UTC 2019 - Martin Pluskal 
+
+- Update to version 1.0.18:
+  * build/CI/packaging changes only
+
+---
@@ -10 +16 @@
-- Update to version 1.0.1:
+- Update to version 1.0.17

Old:

  sysbench-1.0.17.tar.gz

New:

  sysbench-1.0.18.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.GUIBE7/_old  2019-12-07 15:07:41.599861226 +0100
+++ /var/tmp/diff_new_pack.GUIBE7/_new  2019-12-07 15:07:41.603861225 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sysbench
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.17
+Version:1.0.18
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0-only

++ sysbench-1.0.17.tar.gz -> sysbench-1.0.18.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.17/.travis.yml 
new/sysbench-1.0.18/.travis.yml
--- old/sysbench-1.0.17/.travis.yml 2019-03-15 13:16:36.0 +0100
+++ new/sysbench-1.0.18/.travis.yml 2019-10-21 08:23:05.0 +0200
@@ -30,22 +30,25 @@
   - TARGET=coverage
   - OS=el DIST=6
   - OS=el DIST=7
-  - OS=fedora DIST=28
+  - OS=el DIST=8
   - OS=fedora DIST=29
+  - OS=fedora DIST=30
   - OS=fedora DIST=rawhide
-  - OS=ubuntu DIST=trusty
   - OS=ubuntu DIST=xenial
   - OS=ubuntu DIST=bionic
-  - OS=ubuntu DIST=cosmic
+  - OS=ubuntu DIST=disco
+  - OS=ubuntu DIST=eoan
   - OS=debian DIST=jessie
   - OS=debian DIST=stretch
+  - OS=debian DIST=buster
   - OS=debian DIST=sid
-  - OS=ubuntu DIST=trusty ARCH=i386
   - OS=ubuntu DIST=xenial ARCH=i386
   - OS=ubuntu DIST=bionic ARCH=i386
-  - OS=ubuntu DIST=cosmic ARCH=i386
+  - OS=ubuntu DIST=disco ARCH=i386
+  - OS=ubuntu DIST=eoan ARCH=i386
   - OS=debian DIST=jessie ARCH=i386
   - OS=debian DIST=stretch ARCH=i386
+  - OS=debian DIST=buster ARCH=i386
   - OS=debian DIST=sid ARCH=i386
 
 matrix:
@@ -54,62 +57,72 @@
   compiler: clang
 - env: OS=el DIST=7
   compiler: clang
-- env: OS=fedora DIST=28
+- env: OS=el DIST=8
   compiler: clang
 - env: OS=fedora DIST=29
   compiler: clang
-- env: OS=fedora DIST=rawhide
+- env: OS=fedora DIST=30
   compiler: clang
-- env: OS=ubuntu DIST=trusty
+- env: OS=fedora DIST=rawhide
   compiler: clang
 - env: OS=ubuntu DIST=xenial
   compiler: clang
 - env: OS=ubuntu DIST=bionic
   compiler: clang
-- env: OS=ubuntu DIST=cosmic
+- env: OS=ubuntu DIST=disco
+  compiler: clang
+- env: OS=ubuntu DIST=eoan
   compiler: clang
 - env: OS=debian DIST=jessie
   compiler: clang
 - env: OS=debian DIST=stretch
   compiler: clang
-- env: OS=debian DIST=sid
+- env: OS=debian DIST=buster
   compiler: clang
-- env: OS=ubuntu DIST=trusty ARCH=i386
+- env: OS=debian DIST=sid
   compiler: clang
 - env: OS=ubuntu DIST=xenial ARCH=i386
   compiler: clang
 - env: OS=ubuntu DIST=bionic ARCH=i386
   compiler: clang
-- env: OS=ubuntu DIST=cosmic ARCH=i386
+- env: OS=ubuntu DIST=disco ARCH=i386
+  compiler: clang
+- env: OS=ubuntu DIST=eoan ARCH=i386
   compiler: clang
 - env: OS=debian DIST=jessie ARCH=i386
   compiler: clang
 - env: OS=debian DIST=stretch ARCH=i386
   compiler: clang
+- env: OS=debian DIST=buster ARCH=i386
+  compiler: clang
 - env: OS=debian DIST=sid ARCH=i386
   compiler: clang
 - env: OS=el DIST=6
   os: osx
 - env: OS=el DIST=7
   os: osx
-- env: OS=fedora DIST=28
+- env: OS=el DIST=8
   os: osx
 - env: OS=fedora DIST=29
   os: osx
-- env: OS=fedora DIST=rawhide
+- env: OS=fedora DIST=30
   os: osx
-- env: OS=ubuntu DIST=trusty
+- env: 

commit sysbench for openSUSE:Factory

2019-10-22 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2019-10-22 15:44:49

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new.2352 (New)


Package is "sysbench"

Tue Oct 22 15:44:49 2019 rev:24 rq:741496 version:1.0.17

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2019-08-29 
17:26:19.087279515 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new.2352/sysbench.changes  
2019-10-22 15:44:51.253676272 +0200
@@ -1,0 +2,6 @@
+Mon Oct 21 12:30:59 UTC 2019 - Martin Pluskal 
+
+- Add zlib build dependency
+- Use more of modern macros for building
+
+---



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.gxS5Vh/_old  2019-10-22 15:44:51.621676692 +0200
+++ /var/tmp/diff_new_pack.gxS5Vh/_new  2019-10-22 15:44:51.621676692 +0200
@@ -35,6 +35,7 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  postgresql-devel
+BuildRequires:  zlib-devel
 %if 0%{?suse_version} > 1500
 BuildRequires:  postgresql-server-devel
 %endif
@@ -60,7 +61,7 @@
   --with-system-luajit \
   %endif
   --with-pgsql
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %make_install




commit sysbench for openSUSE:Factory

2019-08-29 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2019-08-29 17:26:16

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new.7948 (New)


Package is "sysbench"

Thu Aug 29 17:26:16 2019 rev:23 rq:726877 version:1.0.17

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2019-04-09 
20:19:29.889908854 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new.7948/sysbench.changes  
2019-08-29 17:26:19.087279515 +0200
@@ -1,0 +2,11 @@
+Wed Aug 28 06:27:01 UTC 2019 - Martin Pluskal 
+
+- Update to version 1.0.1:
+  * regression tests: remove unnecessary error leading to
+opt_rate.t instability.
+  * --rate mode: return a non-zero exit code on event queue
+overflow.
+  * --rate mode: fix a bogus error about eventgen thread
+termination
+
+---

Old:

  sysbench-1.0.16.tar.gz

New:

  sysbench-1.0.17.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.U8baGv/_old  2019-08-29 17:26:19.815279394 +0200
+++ /var/tmp/diff_new_pack.U8baGv/_new  2019-08-29 17:26:19.819279394 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.16
+Version:1.0.17
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0-only

++ sysbench-1.0.16.tar.gz -> sysbench-1.0.17.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.16/ChangeLog 
new/sysbench-1.0.17/ChangeLog
--- old/sysbench-1.0.16/ChangeLog   2018-12-16 17:42:10.0 +0100
+++ new/sysbench-1.0.17/ChangeLog   2019-03-15 13:16:36.0 +0100
@@ -1,3 +1,13 @@
+2019-03-15  Alexey Kopytov  
+
+   * version 1.0.17
+   * build/CI/packaging: update RPM spec to support RHEL8-beta
+   (thanks to Alexey Bychko for the patch)
+   * regression tests: remove unnecessary error leading to opt_rate.t 
instability.
+   * --rate mode: return a non-zero exit code on event queue
+   overflow.
+   * --rate mode: fix a bogus error about eventgen thread termination
+
 2018-12-16  Alexey Kopytov  
 
* version 1.0.16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.16/configure.ac 
new/sysbench-1.0.17/configure.ac
--- old/sysbench-1.0.16/configure.ac2018-12-16 17:42:10.0 +0100
+++ new/sysbench-1.0.17/configure.ac2019-03-15 13:16:36.0 +0100
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.63)
-AC_INIT([sysbench],[1.0.16],[https://github.com/akopytov/sysbench/issues],
+AC_INIT([sysbench],[1.0.17],[https://github.com/akopytov/sysbench/issues],
 [sysbench], [https://github.com/akopytov/sysbench])
 AC_CONFIG_AUX_DIR([config])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.16/m4/sb_check_mysql.m4 
new/sysbench-1.0.17/m4/sb_check_mysql.m4
--- old/sysbench-1.0.16/m4/sb_check_mysql.m42018-12-16 17:42:10.0 
+0100
+++ new/sysbench-1.0.17/m4/sb_check_mysql.m42019-03-15 13:16:36.0 
+0100
@@ -114,7 +114,24 @@
 USE_MYSQL=1
 AC_SUBST([MYSQL_LIBS])
 AC_SUBST([MYSQL_CFLAGS])
+
+AC_MSG_CHECKING([if mysql.h defines MYSQL_OPT_SSL_MODE])
+
+SAVE_CFLAGS="${CFLAGS}"
+CFLAGS="${CFLAGS} ${MYSQL_CFLAGS}"
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+[[
+#include 
+
+enum mysql_option opt = MYSQL_OPT_SSL_MODE;
+]])], [
+  AC_DEFINE([HAVE_MYSQL_OPT_SSL_MODE], 1,
+[Define to 1 if mysql.h defines MYSQL_OPT_SSL_MODE])
+  AC_MSG_RESULT([yes])
+  ], [AC_MSG_RESULT([no])])
 ])
+CFLAGS="${SAVE_CFLAGS}"
+
 
 AM_CONDITIONAL([USE_MYSQL], test "x$with_mysql" != xno)
 AC_SUBST([USE_MYSQL])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.16/rpm/sysbench.spec 
new/sysbench-1.0.17/rpm/sysbench.spec
--- old/sysbench-1.0.16/rpm/sysbench.spec   2018-12-16 17:42:10.0 
+0100
+++ new/sysbench-1.0.17/rpm/sysbench.spec   2019-03-15 13:16:36.0 
+0100
@@ -8,7 +8,7 @@
 Source0:   
https://github.com/akopytov/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
 URL:   https://github.com/akopytov/sysbench/
 
-%if 0%{?el6}
+%if 0%{?rhel} < 7
 BuildRequires: mysql-devel
 %else
 BuildRequires: mariadb-devel
@@ -20,7 +20,11 @@
 BuildRequires: pkgconfig
 BuildRequires: libaio-devel
 # Use bundled cram for tests
+%if 0%{?rhel} > 7
+BuildRequires: python2
+%else
 BuildRequires: python
+%endif
 
 ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64

commit sysbench for openSUSE:Factory

2019-04-09 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2019-04-09 20:19:29

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new.3908 (New)


Package is "sysbench"

Tue Apr  9 20:19:29 2019 rev:22 rq:692604 version:1.0.16

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2018-12-28 
12:36:08.631928973 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new.3908/sysbench.changes  
2019-04-09 20:19:29.889908854 +0200
@@ -1,0 +2,5 @@
+Tue Apr  9 06:51:29 UTC 2019 - Christophe Giboudeaux 
+
+- Add the missing build dependency for Tumbleweed.
+
+---



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.pePFv4/_old  2019-04-09 20:19:30.617909846 +0200
+++ /var/tmp/diff_new_pack.pePFv4/_new  2019-04-09 20:19:30.621909852 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sysbench
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,9 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  postgresql-devel
+%if 0%{?suse_version} > 1500
+BuildRequires:  postgresql-server-devel
+%endif
 %if 0%{?is_opensuse}
 BuildRequires:  pkgconfig(ck)
 BuildRequires:  pkgconfig(luajit)




commit sysbench for openSUSE:Factory

2018-12-28 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2018-12-28 12:36:04

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new.28833 (New)


Package is "sysbench"

Fri Dec 28 12:36:04 2018 rev:21 rq:661728 version:1.0.16

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2018-10-31 
13:21:51.647033837 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new.28833/sysbench.changes 
2018-12-28 12:36:08.631928973 +0100
@@ -1,0 +2,10 @@
+Fri Dec 28 04:46:21 UTC 2018 - s...@suspend.net
+
+- Update to version 1.0.16:
+  * SQL API: fix GH-282 (MySQL fetch_row() is broken)
+  * --rate mode: fix latency stats skew on low rates
+  * Lua: Add /usr/share/lua/5.1 to LUA_ATH and /usr/lib/lua/5.1 
+  * build/CI/packaging?: add -Wvla to default compiler flags
+  * build/CI/packaging: fix buildpack.sh to not push multiple file types
+
+---

Old:

  sysbench-1.0.15.tar.gz

New:

  sysbench-1.0.16.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.gRZRLq/_old  2018-12-28 12:36:08.983928727 +0100
+++ /var/tmp/diff_new_pack.gRZRLq/_new  2018-12-28 12:36:08.983928727 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.15
+Version:1.0.16
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0-only

++ sysbench-1.0.15.tar.gz -> sysbench-1.0.16.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.15/.travis.yml 
new/sysbench-1.0.16/.travis.yml
--- old/sysbench-1.0.15/.travis.yml 2018-07-03 21:49:50.0 +0200
+++ new/sysbench-1.0.16/.travis.yml 2018-12-16 17:42:10.0 +0100
@@ -30,20 +30,20 @@
   - TARGET=coverage
   - OS=el DIST=6
   - OS=el DIST=7
-  - OS=fedora DIST=27
   - OS=fedora DIST=28
+  - OS=fedora DIST=29
   - OS=fedora DIST=rawhide
   - OS=ubuntu DIST=trusty
   - OS=ubuntu DIST=xenial
-  - OS=ubuntu DIST=artful
   - OS=ubuntu DIST=bionic
+  - OS=ubuntu DIST=cosmic
   - OS=debian DIST=jessie
   - OS=debian DIST=stretch
   - OS=debian DIST=sid
   - OS=ubuntu DIST=trusty ARCH=i386
   - OS=ubuntu DIST=xenial ARCH=i386
-  - OS=ubuntu DIST=artful ARCH=i386
   - OS=ubuntu DIST=bionic ARCH=i386
+  - OS=ubuntu DIST=cosmic ARCH=i386
   - OS=debian DIST=jessie ARCH=i386
   - OS=debian DIST=stretch ARCH=i386
   - OS=debian DIST=sid ARCH=i386
@@ -54,20 +54,20 @@
   compiler: clang
 - env: OS=el DIST=7
   compiler: clang
-- env: OS=fedora DIST=27
-  compiler: clang
 - env: OS=fedora DIST=28
   compiler: clang
+- env: OS=fedora DIST=29
+  compiler: clang
 - env: OS=fedora DIST=rawhide
   compiler: clang
 - env: OS=ubuntu DIST=trusty
   compiler: clang
 - env: OS=ubuntu DIST=xenial
   compiler: clang
-- env: OS=ubuntu DIST=artful
-  compiler: clang
 - env: OS=ubuntu DIST=bionic
   compiler: clang
+- env: OS=ubuntu DIST=cosmic
+  compiler: clang
 - env: OS=debian DIST=jessie
   compiler: clang
 - env: OS=debian DIST=stretch
@@ -78,10 +78,10 @@
   compiler: clang
 - env: OS=ubuntu DIST=xenial ARCH=i386
   compiler: clang
-- env: OS=ubuntu DIST=artful ARCH=i386
-  compiler: clang
 - env: OS=ubuntu DIST=bionic ARCH=i386
   compiler: clang
+- env: OS=ubuntu DIST=cosmic ARCH=i386
+  compiler: clang
 - env: OS=debian DIST=jessie ARCH=i386
   compiler: clang
 - env: OS=debian DIST=stretch ARCH=i386
@@ -92,20 +92,20 @@
   os: osx
 - env: OS=el DIST=7
   os: osx
-- env: OS=fedora DIST=27
-  os: osx
 - env: OS=fedora DIST=28
   os: osx
+- env: OS=fedora DIST=29
+  os: osx
 - env: OS=fedora DIST=rawhide
   os: osx
 - env: OS=ubuntu DIST=trusty
   os: osx
 - env: OS=ubuntu DIST=xenial
   os: osx
-- env: OS=ubuntu DIST=artful
-  os: osx
 - env: OS=ubuntu DIST=bionic
   os: osx
+- env: OS=ubuntu DIST=cosmic
+  os: osx
 - env: OS=debian DIST=jessie
   os: osx
 - env: OS=debian DIST=stretch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.15/ChangeLog 
new/sysbench-1.0.16/ChangeLog
--- old/sysbench-1.0.15/ChangeLog   2018-07-03 21:49:50.0 +0200
+++ new/sysbench-1.0.16/ChangeLog   2018-12-16 17:42:10.0 +0100
@@ -1,3 +1,20 @@
+2018-12-16  Alexey Kopytov  
+
+   * version 1.0.16
+   * build/CI/packaging: add Ubuntu Cosmic.
+ 

commit sysbench for openSUSE:Factory

2018-10-31 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2018-10-31 13:20:32

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Wed Oct 31 13:20:32 2018 rev:20 rq:645540 version:1.0.15

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2018-07-21 
10:25:03.198959909 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2018-10-31 
13:21:51.647033837 +0100
@@ -1,0 +2,5 @@
+Tue Oct 23 12:46:30 UTC 2018 - Martin Pluskal 
+
+- Use bundled versions of luajit and ck for SLE
+
+---



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.X66p3s/_old  2018-10-31 13:21:52.167033352 +0100
+++ /var/tmp/diff_new_pack.X66p3s/_new  2018-10-31 13:21:52.171033349 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -35,8 +35,10 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  postgresql-devel
+%if 0%{?is_opensuse}
 BuildRequires:  pkgconfig(ck)
 BuildRequires:  pkgconfig(luajit)
+%endif
 
 %description
 This benchmark was designed for identifying basic system parameters, as
@@ -50,8 +52,10 @@
 autoreconf -fiv
 %configure \
   --without-gcc-arch \
+  %if 0%{?is_opensuse}
   --with-system-ck \
   --with-system-luajit \
+  %endif
   --with-pgsql
 make %{?_smp_mflags} V=1
 




commit sysbench for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2018-07-21 10:25:01

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Sat Jul 21 10:25:01 2018 rev:19 rq:624092 version:1.0.15

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2018-05-29 
10:35:08.950133684 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2018-07-21 
10:25:03.198959909 +0200
@@ -1,0 +2,13 @@
+Thu Jul 19 14:47:13 UTC 2018 - mplus...@suse.com
+
+- Update to version 1.0.15:
+  * fileio: fix GH-229 (--file-fsync-freq=0 seems to prevent
+fsync() at the end of the test)
+  * command line: improve parsing of boolean command line options
+  * tests: fix GH-220 (Testsuite api_sql_mysql.t failed ...)
+  * tests: fix GH-223 (test failure on ppc64)
+  * tests: fix opt_help.t to pass when the binary is not configured
+with MySQL support
+  * MySQL driver: use it by default in DB benchmarks
+
+---

Old:

  sysbench-1.0.14.tar.gz

New:

  sysbench-1.0.15.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.LoY4Pa/_old  2018-07-21 10:25:03.886959743 +0200
+++ /var/tmp/diff_new_pack.LoY4Pa/_new  2018-07-21 10:25:03.886959743 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.14
+Version:1.0.15
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0-only

++ sysbench-1.0.14.tar.gz -> sysbench-1.0.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.14/.travis.yml 
new/sysbench-1.0.15/.travis.yml
--- old/sysbench-1.0.14/.travis.yml 2018-04-01 13:51:12.0 +0200
+++ new/sysbench-1.0.15/.travis.yml 2018-07-03 21:49:50.0 +0200
@@ -30,20 +30,20 @@
   - TARGET=coverage
   - OS=el DIST=6
   - OS=el DIST=7
-  - OS=fedora DIST=26
   - OS=fedora DIST=27
+  - OS=fedora DIST=28
   - OS=fedora DIST=rawhide
   - OS=ubuntu DIST=trusty
   - OS=ubuntu DIST=xenial
   - OS=ubuntu DIST=artful
-  - OS=debian DIST=wheezy
+  - OS=ubuntu DIST=bionic
   - OS=debian DIST=jessie
   - OS=debian DIST=stretch
   - OS=debian DIST=sid
   - OS=ubuntu DIST=trusty ARCH=i386
   - OS=ubuntu DIST=xenial ARCH=i386
   - OS=ubuntu DIST=artful ARCH=i386
-  - OS=debian DIST=wheezy ARCH=i386
+  - OS=ubuntu DIST=bionic ARCH=i386
   - OS=debian DIST=jessie ARCH=i386
   - OS=debian DIST=stretch ARCH=i386
   - OS=debian DIST=sid ARCH=i386
@@ -54,10 +54,10 @@
   compiler: clang
 - env: OS=el DIST=7
   compiler: clang
-- env: OS=fedora DIST=26
-  compiler: clang
 - env: OS=fedora DIST=27
   compiler: clang
+- env: OS=fedora DIST=28
+  compiler: clang
 - env: OS=fedora DIST=rawhide
   compiler: clang
 - env: OS=ubuntu DIST=trusty
@@ -66,7 +66,7 @@
   compiler: clang
 - env: OS=ubuntu DIST=artful
   compiler: clang
-- env: OS=debian DIST=wheezy
+- env: OS=ubuntu DIST=bionic
   compiler: clang
 - env: OS=debian DIST=jessie
   compiler: clang
@@ -80,7 +80,7 @@
   compiler: clang
 - env: OS=ubuntu DIST=artful ARCH=i386
   compiler: clang
-- env: OS=debian DIST=wheezy ARCH=i386
+- env: OS=ubuntu DIST=bionic ARCH=i386
   compiler: clang
 - env: OS=debian DIST=jessie ARCH=i386
   compiler: clang
@@ -92,10 +92,10 @@
   os: osx
 - env: OS=el DIST=7
   os: osx
-- env: OS=fedora DIST=26
-  os: osx
 - env: OS=fedora DIST=27
   os: osx
+- env: OS=fedora DIST=28
+  os: osx
 - env: OS=fedora DIST=rawhide
   os: osx
 - env: OS=ubuntu DIST=trusty
@@ -104,7 +104,7 @@
   os: osx
 - env: OS=ubuntu DIST=artful
   os: osx
-- env: OS=debian DIST=wheezy
+- env: OS=ubuntu DIST=bionic
   os: osx
 - env: OS=debian DIST=jessie
   os: osx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.14/ChangeLog 
new/sysbench-1.0.15/ChangeLog
--- old/sysbench-1.0.14/ChangeLog   2018-04-01 13:51:12.0 +0200
+++ new/sysbench-1.0.15/ChangeLog   2018-07-03 21:49:50.0 +0200
@@ -1,3 +1,19 @@
+2018-07-03  Alexey Kopytov  
+
+   * version 1.0.15
+   * CI/build/packaging: add Fedora 28
+   * CI/build/packaging: add Ubuntu Bionic
+   * CI/build/packaging: remove Fedora 26 (EOL)
+   * CI/build/packaging: remove Debian Wheezy (EOL)
+   * fileio: fix GH-229 (--file-fsync-freq=0 seems to 

commit sysbench for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2018-05-29 10:35:06

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Tue May 29 10:35:06 2018 rev:18 rq:610888 version:1.0.14

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2017-12-14 
11:03:39.045750846 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2018-05-29 
10:35:08.950133684 +0200
@@ -1,0 +2,33 @@
+Mon May 21 07:53:35 UTC 2018 - mplus...@suse.com
+
+- Update to version 1.0.14:
+  * reports: fix JSON stats reporter to produce valid JSON
+  * Lua SQL API: don't crash when query_row() is called with a
+SELECT returning empty result set
+  * Lua SQL API: don't crash when bulk insert API calls are used
+out of order
+  * regression tests: make PostgreSQL tests compatible with the new
+dump format introduced in 10.3
+  * regression tests: minor stability and coverage improvements
+  * minor cleanups in build scripts
+  * improve report formatting for long latency values
+  * fileio: --file-extra-flags now accepts a list of flags rather
+than just a single value
+  * OLTP: re-prepare prepared statements after reconnects, i.e. in
+cases when a server connection is lost and sysbench is
+configured to ignore such errors
+  * improve --rate mode precision for high argument values
+  * fix compile-time architecture detection for some Broadwell CPUs
+which were incorrectly identified as Core 2.
+  * remove build dependency on xxd (and vim-minimal package)
+  * fix Lua API to correctly stop the benchmark when event()
+returns a value other than nil or false
+  * fix the fileio benchmark when the specified file size is not a
+multiple of block size
+  * fix the fileio benchmark to throw a descriptive error when the
+specified file size does not match the size of files created by
+'prepare'
+  * minor improvements in tests and documentation.
+- Update build dependencies
+
+---

Old:

  sysbench-1.0.11.tar.gz

New:

  sysbench-1.0.14.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.XXuaNt/_old  2018-05-29 10:35:09.786102814 +0200
+++ /var/tmp/diff_new_pack.XXuaNt/_new  2018-05-29 10:35:09.826101337 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sysbench
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,15 @@
 
 
 Name:   sysbench
-Version:1.0.11
+Version:1.0.14
 Release:0
 Summary:A MySQL benchmarking tool
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/Benchmark
 URL:https://github.com/akopytov/sysbench
 Source0:
https://github.com/akopytov/sysbench/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  cram
 BuildRequires:  docbook
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  libaio-devel
@@ -36,7 +35,6 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  postgresql-devel
-BuildRequires:  vim
 BuildRequires:  pkgconfig(ck)
 BuildRequires:  pkgconfig(luajit)
 
@@ -57,18 +55,13 @@
   --with-pgsql
 make %{?_smp_mflags} V=1
 
-%check
-# Do not use bundled cram
-sed -i "s|${SBTEST_ROOTDIR}/../third_party/cram/scripts:||g" \
- tests/test_run.sh
-make %{?_smp_mflags} test
-
 %install
 %make_install
 rm -rf %{buildroot}%{_datadir}/doc/sysbench
 
 %files
-%doc COPYING ChangeLog README.md doc/manual.html
+%license COPYING
+%doc ChangeLog README.md doc/manual.html
 %{_bindir}/sysbench
 %{_datadir}/sysbench
 

++ sysbench-1.0.11.tar.gz -> sysbench-1.0.14.tar.gz ++
 4603 lines of diff (skipped)




commit sysbench for openSUSE:Factory

2017-12-14 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2017-12-14 11:03:36

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Thu Dec 14 11:03:36 2017 rev:17 rq:556760 version:1.0.11

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2017-11-09 
14:06:45.139538940 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2017-12-14 
11:03:39.045750846 +0100
@@ -1,0 +2,12 @@
+Wed Dec 13 17:17:13 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.0.11:
+  * make statistic counters usable from Lua scripts
+  * fix the PostgreSQL driver to be compatible with CockroachDB
+(GH-180)
+  * fix oltp_insert.lua to work correctly when both --tables and
+--threads are greater than 1 (GH-178)
+  * minor documentation updates
+- Fix tests execution in absence of python2
+
+---

Old:

  sysbench-1.0.10.tar.gz

New:

  sysbench-1.0.11.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.s9rWH3/_old  2017-12-14 11:03:39.977705856 +0100
+++ /var/tmp/diff_new_pack.s9rWH3/_new  2017-12-14 11:03:39.981705663 +0100
@@ -17,12 +17,12 @@
 
 
 Name:   sysbench
-Version:1.0.10
+Version:1.0.11
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0
 Group:  System/Benchmark
-Url:https://github.com/akopytov/sysbench
+URL:https://github.com/akopytov/sysbench
 Source0:
https://github.com/akopytov/sysbench/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -58,7 +58,10 @@
 make %{?_smp_mflags} V=1
 
 %check
-make %{?_smp_mflags} check
+# Do not use bundled cram
+sed -i "s|${SBTEST_ROOTDIR}/../third_party/cram/scripts:||g" \
+ tests/test_run.sh
+make %{?_smp_mflags} test
 
 %install
 %make_install

++ sysbench-1.0.10.tar.gz -> sysbench-1.0.11.tar.gz ++
 1893 lines of diff (skipped)




commit sysbench for openSUSE:Factory

2017-11-09 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2017-11-09 14:06:38

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Thu Nov  9 14:06:38 2017 rev:16 rq:53 version:1.0.10

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2017-09-12 
19:57:52.226192364 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2017-11-09 
14:06:45.139538940 +0100
@@ -1,0 +2,17 @@
+Wed Nov  8 13:57:06 UTC 2017 - kstreit...@suse.com
+
+- Update to version 1.0.10:
+  * fixed PK conflicts in oltp_insert.lua by creating empty tables
+  on 'prepare'
+  * made sysbench.opt available to init()/done() by exporting it
+  to the global Lua state
+  * added Fedora 26 (both x86_64 and AArch64) to the list of
+  supported and tested distributions
+  * fixed GH-172: sysbench 1.0.9 doesn't build with mariadb 10.2.8
+  * add the /usr/local LuaRocks root directory to default LUA_PATH
+  and LUA_CPATH
+  * removed Fedora 24, Ubuntu Precise, Yakkety from default build
+  matrices
+  * added Ubuntu Artful to default build matrices
+
+---

Old:

  sysbench-1.0.9.tar.gz

New:

  sysbench-1.0.10.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.q0FOBb/_old  2017-11-09 14:06:45.811514452 +0100
+++ /var/tmp/diff_new_pack.q0FOBb/_new  2017-11-09 14:06:45.815514307 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.9
+Version:1.0.10
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0

++ sysbench-1.0.9.tar.gz -> sysbench-1.0.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.9/.travis.yml 
new/sysbench-1.0.10/.travis.yml
--- old/sysbench-1.0.9/.travis.yml  2017-09-05 19:26:28.0 +0200
+++ new/sysbench-1.0.10/.travis.yml 2017-10-26 15:34:28.0 +0200
@@ -30,20 +30,18 @@
   - TARGET=coverage
   - OS=el DIST=6
   - OS=el DIST=7
-  - OS=fedora DIST=24
   - OS=fedora DIST=25
-  - OS=ubuntu DIST=precise
+  - OS=fedora DIST=26
   - OS=ubuntu DIST=trusty
   - OS=ubuntu DIST=xenial
-  - OS=ubuntu DIST=yakkety
   - OS=ubuntu DIST=zesty
+  - OS=ubuntu DIST=artful
   - OS=debian DIST=wheezy
   - OS=debian DIST=jessie
-  - OS=ubuntu DIST=precise ARCH=i386
   - OS=ubuntu DIST=trusty ARCH=i386
   - OS=ubuntu DIST=xenial ARCH=i386
-  - OS=ubuntu DIST=yakkety ARCH=i386
   - OS=ubuntu DIST=zesty ARCH=i386
+  - OS=ubuntu DIST=artful ARCH=i386
   - OS=debian DIST=wheezy ARCH=i386
   - OS=debian DIST=jessie ARCH=i386
 
@@ -53,36 +51,32 @@
   compiler: clang
 - env: OS=el DIST=7
   compiler: clang
-- env: OS=fedora DIST=24
-  compiler: clang
 - env: OS=fedora DIST=25
   compiler: clang
-- env: OS=ubuntu DIST=precise
+- env: OS=fedora DIST=26
   compiler: clang
 - env: OS=ubuntu DIST=trusty
   compiler: clang
 - env: OS=ubuntu DIST=xenial
   compiler: clang
-- env: OS=ubuntu DIST=yakkety
-  compiler: clang
 - env: OS=ubuntu DIST=zesty
   compiler: clang
+- env: OS=ubuntu DIST=artful
+  compiler: clang
 - env: OS=debian DIST=wheezy
   compiler: clang
 - env: OS=debian DIST=jessie
   compiler: clang
 - env: OS=debian DIST=stretch
   compiler: clang
-- env: OS=ubuntu DIST=precise ARCH=i386
-  compiler: clang
 - env: OS=ubuntu DIST=trusty ARCH=i386
   compiler: clang
 - env: OS=ubuntu DIST=xenial ARCH=i386
   compiler: clang
-- env: OS=ubuntu DIST=yakkety ARCH=i386
-  compiler: clang
 - env: OS=ubuntu DIST=zesty ARCH=i386
   compiler: clang
+- env: OS=ubuntu DIST=artful ARCH=i386
+  compiler: clang
 - env: OS=debian DIST=wheezy ARCH=i386
   compiler: clang
 - env: OS=debian DIST=jessie ARCH=i386
@@ -93,20 +87,18 @@
   os: osx
 - env: OS=el DIST=7
   os: osx
-- env: OS=fedora DIST=24
-  os: osx
 - env: OS=fedora DIST=25
   os: osx
-- env: OS=ubuntu DIST=precise
+- env: OS=fedora DIST=26
   os: osx
 - env: OS=ubuntu DIST=trusty
   os: osx
 - env: OS=ubuntu DIST=xenial
   os: osx
-- env: OS=ubuntu DIST=yakkety
-  os: osx
 - env: OS=ubuntu DIST=zesty
   os: osx
+- env: OS=ubuntu DIST=artful
+  os: osx
 - env: OS=debian DIST=wheezy
   os: osx
 - env: OS=debian DIST=jessie
@@ -148,6 +140,10 @@
 if [ "x$TARGET" = "xtest" ]; then
   case 

commit sysbench for openSUSE:Factory

2017-09-12 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2017-09-12 19:57:51

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Tue Sep 12 19:57:51 2017 rev:15 rq:523612 version:1.0.9

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2017-08-18 
15:05:52.213764182 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2017-09-12 
19:57:52.226192364 +0200
@@ -1,0 +2,12 @@
+Tue Sep 12 08:57:53 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.0.9:
+  * fixed oltp_delete.lua to not use INSERT statements for
+consistency with other oltp_* benchmarks (GH-168)
+  * added a workaround for MySQL bug #87337 "8.0.2 reintroduces
+my_bool to client API"
+  * fixed building on on Debian GNU/kFreeBSD (GH-161)
+  * fixed building against MariaDB 10.2 (thanks to Xavier Bachelot
+for the patch, GH-160)
+
+---

Old:

  sysbench-1.0.8.tar.gz

New:

  sysbench-1.0.9.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.N5BYF5/_old  2017-09-12 19:57:52.866102387 +0200
+++ /var/tmp/diff_new_pack.N5BYF5/_new  2017-09-12 19:57:52.870101824 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.8
+Version:1.0.9
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0

++ sysbench-1.0.8.tar.gz -> sysbench-1.0.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.8/ChangeLog new/sysbench-1.0.9/ChangeLog
--- old/sysbench-1.0.8/ChangeLog2017-07-04 20:55:46.0 +0200
+++ new/sysbench-1.0.9/ChangeLog2017-09-05 19:26:28.0 +0200
@@ -1,3 +1,14 @@
+2017-09-05  Alexey Kopytov  
+
+   * version 1.0.9
+   * fixed oltp_delete.lua to not use INSERT statements for
+   consistency with other oltp_* benchmarks (GH-168)
+   * added a workaround for MySQL bug #87337 "8.0.2 reintroduces
+   my_bool to client API"
+   * fixed building on on Debian GNU/kFreeBSD (GH-161)
+   * fixed building against MariaDB 10.2 (thanks to Xavier Bachelot
+   for the patch, GH-160)
+
 2017-07-04  Alexey Kopytov  
 
* version 1.0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.8/configure.ac 
new/sysbench-1.0.9/configure.ac
--- old/sysbench-1.0.8/configure.ac 2017-07-04 20:55:46.0 +0200
+++ new/sysbench-1.0.9/configure.ac 2017-09-05 19:26:28.0 +0200
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.63)
-AC_INIT([sysbench],[1.0.8],[https://github.com/akopytov/sysbench/issues],
+AC_INIT([sysbench],[1.0.9],[https://github.com/akopytov/sysbench/issues],
 [sysbench], [https://github.com/akopytov/sysbench])
 AC_CONFIG_AUX_DIR([config])
 # Setting CFLAGS here prevents AC_CANONICAL_TARGET from injecting them
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.8/src/drivers/mysql/drv_mysql.c 
new/sysbench-1.0.9/src/drivers/mysql/drv_mysql.c
--- old/sysbench-1.0.8/src/drivers/mysql/drv_mysql.c2017-07-04 
20:55:46.0 +0200
+++ new/sysbench-1.0.9/src/drivers/mysql/drv_mysql.c2017-09-05 
19:26:28.0 +0200
@@ -35,6 +35,7 @@
 #include 
 
 #include 
+#include 
 #include 
 #include 
 
@@ -49,7 +50,8 @@
 
 #define SAFESTR(s) ((s != NULL) ? (s) : "(null)")
 
-#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80001
+#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80001 && \
+  MYSQL_VERSION_ID != 80002 /* see https://bugs.mysql.com/?id=87337 */
 typedef bool my_bool;
 #endif
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.8/src/lua/oltp_delete.lua 
new/sysbench-1.0.9/src/lua/oltp_delete.lua
--- old/sysbench-1.0.8/src/lua/oltp_delete.lua  2017-07-04 20:55:46.0 
+0200
+++ new/sysbench-1.0.9/src/lua/oltp_delete.lua  2017-09-05 19:26:28.0 
+0200
@@ -22,9 +22,13 @@
 require("oltp_common")
 
 function prepare_statements()
-   prepare_delete_inserts()
+   prepare_for_each_table("deletes")
 end
 
 function event()
-   execute_delete_inserts()
+   local tnum = sysbench.rand.uniform(1, sysbench.opt.tables)
+   local id = sysbench.rand.default(1, sysbench.opt.table_size)
+
+   param[tnum].deletes[1]:set(id)
+   stmt[tnum].deletes:execute()
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit sysbench for openSUSE:Factory

2017-08-18 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2017-08-18 15:05:49

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Fri Aug 18 15:05:49 2017 rev:14 rq:517371 version:1.0.8

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2017-06-12 
15:28:30.589548139 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2017-08-18 
15:05:52.213764182 +0200
@@ -1,0 +2,14 @@
+Thu Aug 17 12:15:49 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.0.8:
+  * fixed api_report test for slow machines (thanks to @jcfp)
+  * fileio: suggest to run prepare step on missing files (thanks to
+Heinrich Schuchardt)
+  * JSON reports: removed an erroneous trailing comma (GH-139)
+  * added events per second to the CPU benchmark report (GH-140)
+  * fixed db_connect() in legacy SQL API to use the default value
+for --db-driver (GH-146)
+  * removed busy-wait in the bounded event generation mode (--rate)
+to avoid CPU hogging
+
+---

Old:

  sysbench-1.0.7.tar.gz

New:

  sysbench-1.0.8.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.iqSUv1/_old  2017-08-18 15:05:53.717552388 +0200
+++ /var/tmp/diff_new_pack.iqSUv1/_new  2017-08-18 15:05:53.721551825 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   sysbench
-Version:1.0.7
+Version:1.0.8
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0
@@ -65,7 +65,6 @@
 rm -rf %{buildroot}%{_datadir}/doc/sysbench
 
 %files
-%defattr(-,root,root)
 %doc COPYING ChangeLog README.md doc/manual.html
 %{_bindir}/sysbench
 %{_datadir}/sysbench

++ sysbench-1.0.7.tar.gz -> sysbench-1.0.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.7/ChangeLog new/sysbench-1.0.8/ChangeLog
--- old/sysbench-1.0.7/ChangeLog2017-05-15 16:09:33.0 +0200
+++ new/sysbench-1.0.8/ChangeLog2017-07-04 20:55:46.0 +0200
@@ -1,3 +1,16 @@
+2017-07-04  Alexey Kopytov  
+
+   * version 1.0.8
+   * fixed api_report test for slow machines (thanks to @jcfp)
+   * fileio: suggest to run prepare step on missing files (thanks
+   to Heinrich Schuchardt)
+   * JSON reports: removed an erroneous trailing comma (GH-139)
+   * added events per second to the CPU benchmark report (GH-140)
+   * fixed db_connect() in legacy SQL API to use the default value
+   for --db-driver (GH-146)
+   * removed busy-wait in the bounded event generation mode
+   (--rate) to avoid CPU hogging
+
 2017-05-15  Alexey Kopytov  
 
* version 1.0.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.7/configure.ac 
new/sysbench-1.0.8/configure.ac
--- old/sysbench-1.0.7/configure.ac 2017-05-15 16:09:33.0 +0200
+++ new/sysbench-1.0.8/configure.ac 2017-07-04 20:55:46.0 +0200
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.63)
-AC_INIT([sysbench],[1.0.7],[https://github.com/akopytov/sysbench/issues],
+AC_INIT([sysbench],[1.0.8],[https://github.com/akopytov/sysbench/issues],
 [sysbench], [https://github.com/akopytov/sysbench])
 AC_CONFIG_AUX_DIR([config])
 # Setting CFLAGS here prevents AC_CANONICAL_TARGET from injecting them
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.7/src/lua/internal/sysbench.lua 
new/sysbench-1.0.8/src/lua/internal/sysbench.lua
--- old/sysbench-1.0.7/src/lua/internal/sysbench.lua2017-05-15 
16:09:33.0 +0200
+++ new/sysbench-1.0.8/src/lua/internal/sysbench.lua2017-07-04 
20:55:46.0 +0200
@@ -100,7 +100,7 @@
 "total": %4.2f,
 "reads": %4.2f,
 "writes": %4.2f,
-"other": %4.2f,
+"other": %4.2f
   },
   "latency": %4.2f,
   "errors": %4.2f,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.7/src/sb_lua.c 
new/sysbench-1.0.8/src/sb_lua.c
--- old/sysbench-1.0.7/src/sb_lua.c 2017-05-15 16:09:33.0 +0200
+++ new/sysbench-1.0.8/src/sb_lua.c 2017-07-04 20:55:46.0 +0200
@@ -880,12 +880,14 @@
   sb_lua_ctxt_t * const ctxt = _lua_ctxt;
 
   ctxt->driver = db_create(NULL);
-  if (ctxt->driver == NULL) {
+  if (ctxt->driver == NULL)
+  {
 luaL_error(L, "DB initialization failed");
-lua_pushstring(L, ctxt->driver->sname);
-lua_setglobal(L, "db_driver");
   }
 
+  

commit sysbench for openSUSE:Factory

2017-06-12 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2017-06-12 15:28:29

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Mon Jun 12 15:28:29 2017 rev:13 rq:499635 version:1.0.7

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2017-05-17 
17:19:28.567581921 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2017-06-12 
15:28:30.589548139 +0200
@@ -1,0 +2,11 @@
+Tue May 30 08:43:58 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.0.7:
+  * Ubuntu Zesty added to package build matrix
+  * fixed GH-130: Mutex Benchmark Documentation
+  * fixed latency reports in the --rate mode
+  * fixed compiler warnings when building against MySQL 8.0 client
+libraries
+- Drop examples as they are no longer compliant with current syntax
+
+---

Old:

  sysbench-1.0.6.tar.gz
  sysbench-example-tests.tar.bz2

New:

  sysbench-1.0.7.tar.gz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.8uLLPZ/_old  2017-06-12 15:28:31.529415589 +0200
+++ /var/tmp/diff_new_pack.8uLLPZ/_new  2017-06-12 15:28:31.533415024 +0200
@@ -16,26 +16,22 @@
 #
 
 
-%if 0%{?is_opensuse}
-%bcond_with  sysbench_tests
-%endif
 Name:   sysbench
-Version:1.0.6
+Version:1.0.7
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0
 Group:  System/Benchmark
 Url:https://github.com/akopytov/sysbench
-Source0:
https://github.com/akopytov/sysbench/archive/1.0.6.tar.gz#/%{name}-%{version}.tar.gz
-Source1:%{name}-example-tests.tar.bz2
+Source0:
https://github.com/akopytov/sysbench/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  cram
 BuildRequires:  docbook
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  libaio-devel
 BuildRequires:  libtool
 BuildRequires:  libxslt-tools
-BuildRequires:  libxslt-tools
 BuildRequires:  mysql-devel
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
@@ -43,10 +39,6 @@
 BuildRequires:  vim
 BuildRequires:  pkgconfig(ck)
 BuildRequires:  pkgconfig(luajit)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if %{with sysbench_tests}
-BuildRequires:  cram
-%endif
 
 %description
 This benchmark was designed for identifying basic system parameters, as
@@ -55,7 +47,6 @@
 
 %prep
 %setup -q
-%setup -q -T -D -a 1
 
 %build
 autoreconf -fiv
@@ -66,17 +57,11 @@
   --with-pgsql
 make %{?_smp_mflags} V=1
 
-%if %{with sysbench_tests}
 %check
 make %{?_smp_mflags} check
-%endif
 
 %install
 %make_install
-install -D -p -m 0755 sysbench-example-tests/sysbench-example-test \
-  %{buildroot}%{_datadir}/sysbench/sysbench-example-test
-install -D -p -m 0755 sysbench-example-tests/sysbench-example-all-tests \
-  %{buildroot}%{_datadir}/sysbench/sysbench-example-all-tests
 rm -rf %{buildroot}%{_datadir}/doc/sysbench
 
 %files

++ sysbench-1.0.6.tar.gz -> sysbench-1.0.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-1.0.6/.travis.yml 
new/sysbench-1.0.7/.travis.yml
--- old/sysbench-1.0.6/.travis.yml  2017-04-13 22:38:56.0 +0200
+++ new/sysbench-1.0.7/.travis.yml  2017-05-15 16:09:33.0 +0200
@@ -36,12 +36,14 @@
   - OS=ubuntu DIST=trusty
   - OS=ubuntu DIST=xenial
   - OS=ubuntu DIST=yakkety
+  - OS=ubuntu DIST=zesty
   - OS=debian DIST=wheezy
   - OS=debian DIST=jessie
   - OS=ubuntu DIST=precise ARCH=i386
   - OS=ubuntu DIST=trusty ARCH=i386
   - OS=ubuntu DIST=xenial ARCH=i386
   - OS=ubuntu DIST=yakkety ARCH=i386
+  - OS=ubuntu DIST=zesty ARCH=i386
   - OS=debian DIST=wheezy ARCH=i386
   - OS=debian DIST=jessie ARCH=i386
 
@@ -63,6 +65,8 @@
   compiler: clang
 - env: OS=ubuntu DIST=yakkety
   compiler: clang
+- env: OS=ubuntu DIST=zesty
+  compiler: clang
 - env: OS=debian DIST=wheezy
   compiler: clang
 - env: OS=debian DIST=jessie
@@ -77,6 +81,8 @@
   compiler: clang
 - env: OS=ubuntu DIST=yakkety ARCH=i386
   compiler: clang
+- env: OS=ubuntu DIST=zesty ARCH=i386
+  compiler: clang
 - env: OS=debian DIST=wheezy ARCH=i386
   compiler: clang
 - env: OS=debian DIST=jessie ARCH=i386
@@ -99,6 +105,8 @@
   os: osx
 - env: OS=ubuntu DIST=yakkety
   os: osx
+- env: OS=ubuntu DIST=zesty
+  os: osx
 - env: OS=debian DIST=wheezy
   os: osx
 - env: OS=debian DIST=jessie
diff -urN '--exclude=CVS' 

commit sysbench for openSUSE:Factory

2017-05-17 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2017-05-17 17:18:43

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Wed May 17 17:18:43 2017 rev:12 rq:494958 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2017-04-28 
09:13:46.514089668 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2017-05-17 
17:19:28.567581921 +0200
@@ -1,0 +2,5 @@
+Mon May  8 12:47:41 UTC 2017 - mplus...@suse.com
+
+- Use shared concurrency kit
+
+---



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.oCOr6X/_old  2017-05-17 17:19:29.463455580 +0200
+++ /var/tmp/diff_new_pack.oCOr6X/_new  2017-05-17 17:19:29.467455016 +0200
@@ -41,6 +41,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  postgresql-devel
 BuildRequires:  vim
+BuildRequires:  pkgconfig(ck)
 BuildRequires:  pkgconfig(luajit)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with sysbench_tests}
@@ -60,6 +61,7 @@
 autoreconf -fiv
 %configure \
   --without-gcc-arch \
+  --with-system-ck \
   --with-system-luajit \
   --with-pgsql
 make %{?_smp_mflags} V=1




commit sysbench for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2017-04-28 09:13:31

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Fri Apr 28 09:13:31 2017 rev:11 rq:491046 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2017-01-10 
10:49:27.300853921 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2017-04-28 
09:13:46.514089668 +0200
@@ -1,0 +2,282 @@
+Tue Apr 25 14:50:09 UTC 2017 - mplus...@suse.com
+
+- Update to stable release 1.0.6
+- Use system luajit
+- Disable tests by default
+
+---
+Tue Mar  7 20:07:06 UTC 2017 - o...@aepfle.de
+
+- Remove usage of AX_GCC_ARCHFLAG.
+  It forces the use of -march=hostcpu and leads to SIGILL at runtime.
+
+---
+Tue Feb 28 15:02:09 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.0.0~git.20170228:
+  * Use `mysql_config --libs_r` instead of `mysql_config --libs | sed`.
+  * Update GPLv2 text in COPYING with the current version from 
https://gnu.org/licenses/gpl-2.0.txt.
+  * Update copyrights and FSF address.
+  * Initial LuaJIT support: build with system libluajit.
+  * Check if pkg-config is available and throw an error if it's not in 
autogen.sh
+  * Take 'set -e' into account when checking for pkg-config.
+  * Squashed 'third_party/luajit/luajit/' content from commit 6cb38f7
+  * Support building with bundled LuaJIT.
+  * README -> README.md in Makefile.am.
+  * Autoconf cleanups.
+  * Don't build bundled LuaJIT when --with-system-luajit was passed to 
configure.
+  * Don't remake aclocal.m4 and configure after autogen.sh && configure.
+  * Add -ldl to LUAJIT_LDFLAGS when building with bundled LuaJIT on Linux.
+  * Squashed 'third_party/luajit/luajit/' changes from 6cb38f7..be25592
+  * Print a status summary at the end of ./configure output.
+  * Change project info reported by ./configure.
+  * Add two new controls:oltp-range-selects  controls whether to include 
range selects or not.   (Typical practice is to list all range select 
statements with zero counts.  This allows a simple oltp-range-selects=off)
oltp-delete-inserts  controls the number of delete/insert pairs to be executed  
 (example:  oltp-delete-inserts=0 disables the delete/insert pair )
+  * Added oltp-write-only control
+  * Converted PostgreSQL "FIXME" to apply only to PostgreSQL
+  * Fix tests for the luajit branch.
+  * Don't use caches, as they may cause issues on PostgreSQL updates.
+  * Fix luajit branch to pass 'make distcheck' and Travis CI builds.
+  * Adjust drv_mysql.t, drv_pgsql.t to not fail on slower machines.
+  * Merge AArch64 port from 
https://github.com/cbaylis/luajit-aarch64/tree/aarch64-v2.1-new
+  * Remove the deprecated luaopen_math() call.
+  * Merge from LuaJIT upstream.
+  * Initial Concurrency Kit import.
+  * Merge from Concurrency Kit upstream.
+  * Report Git commit SHA in configure and "sysbench --version" output.
+  * Use an atomic fetch-and-add instead of a global mutex in 
sb_lua_get_request().
+  * Adjust tests.
+  * Replace percentile mutex with CK atomics + rwlock.
+  * Include stdint.h sb_percentile.h.
+  * Fix check for sb_globals.percentile_rank in sb_percentile_calculate().
+  * Decrease percentile granularity and value range to reduce memory 
consumption.
+  * Fixes #54: Reduce overhead from percentile stats
+  * Merge from ConcurrencyKit upstream up to commit 566bb28.
+  * Fix script_oltp_* tests to take new version format into account.
+  * Addendum to commit b450bf0.
+  * Various test-related fixes.
+  * Split cmd_version.t into cmd_version.t and opt_version.t.
+  * Merge from https://github.com/akopytov/ck
+  * Add LuaJIT build/install directories to .gitignore.
+  * Fix AC_SUBST() usage for USE_MYSQL.
+  * Add concurrency_kit build directories to .gitignore.
+  * Pass global CC, CFLAGS and LDFLAGS to ConcurrencyKit build system.
+  * Lua implementation of the main event loop.
+  * Fix tests, remove thread_id arg from Lua API functions.
+  * Replace mutex in db_thread_stat_t with CK atomics.
+  * Set per-connection thread id.
+  * Adjust test_fileio.t to pass on slow machines.
+  * Autodetect the most optimal -march GCC flag for the target architecture.
+  * Replace custom check for Sun compiler with AX_COMPILER_VENDOR.
+  * Pass CPPFLAGS to ConcurrencyKit build flags.
+  * Assume 128-byte cache line on AArch64 and PowerPC.
+  * Implement --histogram option.
+  * Better formatting for help/usage text.
+  * Pad sb_timer_t to cache line size.
+  * Align global_histogram to cache line size.
+  * Replace sb_histogram_t::interm_nslots with a constant.
+  * Timers 

commit sysbench for openSUSE:Factory

2016-10-23 Thread h_root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2016-10-23 12:52:39

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2016-09-30 
15:35:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2016-10-23 
12:52:41.0 +0200
@@ -1,0 +2,63 @@
+Fri Oct 21 15:07:39 UTC 2016 - mplus...@suse.com
+
+- Update to version 1.0.0~git.20161019:
+  * Bump version for the 1.0 branch and fix email address to report bugs.
+  * Fixes #18: lrand48() is not thread-safe and LP#1412488: lrand48() doesn't 
scale well on highly concurrent platforms
+  * Add a missing '\'.
+  * Add a missing #include.
+  * Properly initialize thread-local RNG state.
+  * Allow --mysql-port to be a list.
+  * Fix --mysql-host broken by the previous commit.
+  * Fix error message when a TCP connection fails.
+  * Fix compatibility with Autoconf 2.63 broken by adding ax_tls.m4.
+  * Fix pthread_self return type
+  * Rand for Windows - Secure rand_s function - Microsoft TLS implementation 
for sb_rng_state
+  * Fix CMakeLists
+  * Initial Travis CI integration.
+  * Actually build code with Travis CI builds.
+  * Add build status to README.md.
+  * Add --with-pgsql to Travis CI builds.
+  * Fix PostgreSQL driver.
+  * Don't install PostgreSQL in Travis, as it seems to be installed by default.
+  * Re-create files after removing them when starting a --file-test-mode=seqwr 
benchmark.
+  * sb_print_value_size: use Ki, Mi, Gi, Ti
+  * sb_fileio.c: use correct units
+  * sb_memory.c: use correct units
+  * configure.ac: bump version number to 1.0
+  * Improve results formatting in the fileio test.
+  * Add __attribute__((format...)) to printf-like function declarations.
+  * FileIO fix
+  * %zd for size_t printf ops
+  * Use srandom()/random() to initialize per-thread RNGs.
+  * VS2015 fix
+  * Don't remake aclocal.m4 and configure after autogen.sh && configure.
+  * Fix --with-mysql-libs for MySQL 5.7.
+  * Calculate ranges on the client + some oltp.lua cleanups.
+  * Add missing parentheses.
+  * Fixes #55: Make percentile stats optional
+  * Fix debug messages to be more specific.
+  * Initial Debian packaging based on 
https://github.com/percona/sysbench-packaging
+  * Workaround for a TravisCI/Homebrew bug preventing OSX builds.
+  * Fix write issue with NFS direct I/O
+  * Invoke regression tests from Travis CI.
+  * Add coveralls.io integration.
+  * Fix test_fileio.t to pass with 1.0.
+  * Add sb_global.h to sysbench_SOURCES.
+  * Adjust test_fileio.t changes to 1.0.
+  * Remove dummy comment from sb_list.h.
+  * Adjust DB drivers tests to 1.0 output.
+  * Adjust tests to 1.0.
+  * Fix NULL handling in PostgreSQL driver.
+  * Adjust script_oltp_* tests to 1.0.
+  * Some typo fixes in the docs.
+  * simple build instructions to include oracle client, Also minor change to 
look at correct folder structure of 12.1 oracle client.
+  * Move Oracle build steps into a separate file.
+  * Do not overflow buffer in strncat
+  * Add README-Oracle.md to EXTRA_DIST.
+  * Don't use caches, as they may cause issues on PostgreSQL updates.
+  * Add Emacs and Vi modelines in .travis.yml.
+  * Fix Sun Studio + Solaris/Sparc builds.
+  * Fixes #74: PATH_MAX / DATA_PATH undefined
+- Drop no longer needed sysbench_buffer_overflow.patch
+
+---

Old:

  sysbench-0.5.0+git.20160922.tar.xz
  sysbench_buffer_overflow.patch

New:

  sysbench-1.0.0~git.20161019.tar.xz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.Yr2fNV/_old  2016-10-23 12:52:43.0 +0200
+++ /var/tmp/diff_new_pack.Yr2fNV/_new  2016-10-23 12:52:43.0 +0200
@@ -16,9 +16,8 @@
 #
 
 
-%define version_unconverted 0.5.0+git.20160922
 Name:   sysbench
-Version:0.5.0+git.20160922
+Version:1.0.0~git.20161019
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0
@@ -26,12 +25,9 @@
 Url:https://github.com/akopytov/sysbench
 Source0:%{name}-%{version}.tar.xz
 Source1:%{name}-example-tests.tar.bz2
-Patch0: sysbench_buffer_overflow.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
-%if 0%{?is_opensuse}
 BuildRequires:  cram
-%endif
 BuildRequires:  docbook
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  help2man
@@ -52,7 +48,6 @@
 %prep
 %setup -q
 %setup -q -T -D -a 1
-%patch0 -p1
 
 %build
 autoreconf -fiv
@@ -60,6 +55,9 @@
   --with-pgsql
 make %{?_smp_mflags}
 
+%check
+make %{?_smp_mflags} check
+
 %install
 

commit sysbench for openSUSE:Factory

2016-09-30 Thread h_root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2016-09-30 15:35:12

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2016-08-28 
12:18:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2016-09-30 
15:35:27.0 +0200
@@ -1,0 +2,16 @@
+Thu Sep 29 08:33:22 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.5.0+git.20160922:
+  * Adjust test_mutex.t to pass on slow machines.
+  * Fix LOCK TABLES statements for multi-table MySQL/MyISAM benchmarks.
+  * Basic tests for oltp.lua against MySQL and PostgreSQL.
+  * Prevent script_oltp_*.t failures on slower machines.
+  * {common,bulkinsert}.lua missing from Makefile
+  * Load script from pkgdatadir if not local
+  * Change lua scripts to 'require common' if a testdir wasn't passed
+  * add libaio-dev to travis
+  * Some typo fixes in the docs.
+- Add sysbench_buffer_overflow.patch
+- Enable internal testsuite
+
+---

Old:

  sysbench-0.5.0+git.20160824.tar.xz

New:

  sysbench-0.5.0+git.20160922.tar.xz
  sysbench_buffer_overflow.patch



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.WCZjfV/_old  2016-09-30 15:35:29.0 +0200
+++ /var/tmp/diff_new_pack.WCZjfV/_new  2016-09-30 15:35:29.0 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define version_unconverted 0.5.0+git.20160824
+%define version_unconverted 0.5.0+git.20160922
 Name:   sysbench
-Version:0.5.0+git.20160824
+Version:0.5.0+git.20160922
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0
@@ -26,8 +26,12 @@
 Url:https://github.com/akopytov/sysbench
 Source0:%{name}-%{version}.tar.xz
 Source1:%{name}-example-tests.tar.bz2
+Patch0: sysbench_buffer_overflow.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
+%if 0%{?is_opensuse}
+BuildRequires:  cram
+%endif
 BuildRequires:  docbook
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  help2man
@@ -48,6 +52,7 @@
 %prep
 %setup -q
 %setup -q -T -D -a 1
+%patch0 -p1
 
 %build
 autoreconf -fiv
@@ -66,6 +71,11 @@
   %{buildroot}%{_datadir}/sysbench/sysbench-example-all-tests
 rm -rf %{buildroot}%{_datadir}/doc/sysbench
 
+%if 0%{?is_opensuse}
+%check
+make check
+%endif
+
 %files
 %defattr(-,root,root)
 %doc COPYING ChangeLog README.md doc/manual.html

++ sysbench-0.5.0+git.20160824.tar.xz -> sysbench-0.5.0+git.20160922.tar.xz 
++
 1780 lines of diff (skipped)

++ sysbench_buffer_overflow.patch ++
>From e6fab3260481d03301f135dbfde57fa5db000aaf Mon Sep 17 00:00:00 2001
From: Martin Pluskal 
Date: Thu, 29 Sep 2016 10:39:47 +0200
Subject: [PATCH] Do not overflow buffer in strncat

---
 sysbench/scripting/script_lua.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysbench/scripting/script_lua.c b/sysbench/scripting/script_lua.c
index 42f5106..7b71064 100644
--- a/sysbench/scripting/script_lua.c
+++ b/sysbench/scripting/script_lua.c
@@ -498,11 +498,11 @@ lua_State *sb_lua_new_state(const char *scriptname, int 
thread_id)
 /* first location failed - look in DATA_PATH */
 char p[PATH_MAX + 1];
 strncpy(p, DATA_PATH LUA_DIRSEP, sizeof(p));
-strncat(p, scriptname, sizeof(p));
+strncat(p, scriptname, sizeof(p)-strlen(p)-1);
 if (!strrchr(scriptname, '.'))
 {
   /* add .lua extension if there isn't one */
-  strncat(p, ".lua", sizeof(p));
+  strncat(p, ".lua", sizeof(p)-strlen(p)-1);
 }
 
 if (luaL_loadfile(state, p))



commit sysbench for openSUSE:Factory

2016-08-28 Thread h_root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2016-08-28 12:18:17

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2016-08-03 
11:43:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2016-08-28 
12:18:18.0 +0200
@@ -1,0 +2,15 @@
+Sat Aug 27 08:35:10 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.5.0+git.20160824:
+  * adjust event generation for a high volume
+  * Fixes #44: seqwr deleting test files
+  * Duplicate line
+  * added locking to get_request in lua scripting
+  * Don't lock thread mutex unnecessarily in script_lua.c and sb_cpu.c.
+  * Fix crash introduced by commit 9244fcf.
+  * Adding volatile modifier to tmp variable in memory test
+  * Fixes #57: Race condition in sb_timer_value()
+  * Fix --with-mysql-libs for MySQL 5.7.
+  * Create indexes after data load in parallel_prepare
+
+---

Old:

  sysbench-0.5.0+git.20160721.tar.xz

New:

  sysbench-0.5.0+git.20160824.tar.xz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.OQ584i/_old  2016-08-28 12:18:19.0 +0200
+++ /var/tmp/diff_new_pack.OQ584i/_new  2016-08-28 12:18:19.0 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define version_unconverted 0.5.0+git.20160721
+%define version_unconverted 0.5.0+git.20160824
 Name:   sysbench
-Version:0.5.0+git.20160721
+Version:0.5.0+git.20160824
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0

++ sysbench-0.5.0+git.20160721.tar.xz -> sysbench-0.5.0+git.20160824.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-0.5.0+git.20160721/m4/ac_check_mysqlr.m4 
new/sysbench-0.5.0+git.20160824/m4/ac_check_mysqlr.m4
--- old/sysbench-0.5.0+git.20160721/m4/ac_check_mysqlr.m4   2016-07-21 
11:27:35.0 +0200
+++ new/sysbench-0.5.0+git.20160824/m4/ac_check_mysqlr.m4   2016-08-23 
22:33:03.0 +0200
@@ -1,9 +1,9 @@
 dnl ---
 dnl Macro: AC_CHECK_MYSQLR
-dnl First check for custom MySQL paths in --with-mysql-* options.
-dnl If some paths are missing,  check if mysql_config exists. 
-dnl Then check for the libraries and replace -lmysqlclient with 
-dnl -lmysqlclient_r, to enable threaded client library.
+dnl First check if the MySQL root directory is specified with --with-mysql.
+dnl Otherwise check for custom MySQL paths in --with-mysql-includes and
+dnl --with-mysql-libs. If some paths are not specified explicitly, try to get
+dnl them from mysql_config.
 dnl ---
 
 AC_DEFUN([AC_CHECK_MYSQLR],[
@@ -51,7 +51,20 @@
 ac_cv_mysql_libs=`echo ${ac_cv_mysql_libs} | sed -e 's/.libs$//' \
   -e 's+.libs/$++'`
 AC_CACHE_CHECK([MySQL libraries], [ac_cv_mysql_libs], 
[ac_cv_mysql_libs=""])
-MYSQL_LIBS="-L$ac_cv_mysql_libs -lmysqlclient_r"
+save_LDFLAGS="$LDFLAGS"
+save_LIBS="$LIBS"
+LDFLAGS="-L$ac_cv_mysql_libs"
+LIBS=""
+
+# libmysqlclient_r has been removed in MySQL 5.7
+AC_SEARCH_LIBS([mysql_real_connect],
+  [mysqlclient_r mysqlclient],
+  [],
+  AC_MSG_ERROR([cannot find MySQL client libraries in $ac_cv_mysql_libs]))
+
+MYSQL_LIBS="$LDFLAGS $LIBS"
+LIBS="$save_LIBS"
+LDFLAGS="$save_LDFLAGS"
 fi
 
 # If some path is missing, try to autodetermine with mysql_config
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sysbench-0.5.0+git.20160721/sysbench/tests/db/common.lua 
new/sysbench-0.5.0+git.20160824/sysbench/tests/db/common.lua
--- old/sysbench-0.5.0+git.20160721/sysbench/tests/db/common.lua
2016-07-21 11:27:35.0 +0200
+++ new/sysbench-0.5.0+git.20160824/sysbench/tests/db/common.lua
2016-08-23 22:33:03.0 +0200
@@ -59,8 +59,6 @@
 
db_query(query)
 
-   db_query("CREATE INDEX k_" .. i .. " on sbtest" .. i .. "(k)")
-
print("Inserting " .. oltp_table_size .. " records into 'sbtest" .. i .. 
"'")
 
if (oltp_auto_inc) then
@@ -89,6 +87,8 @@
 
db_bulk_insert_done()
 
+   print("Creating secondary indexes on 'sbtest" .. i .. "'...")
+   db_query("CREATE INDEX k_" .. i .. " on sbtest" .. i .. "(k)")
 
 end
 




commit sysbench for openSUSE:Factory

2016-08-03 Thread h_root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2016-08-03 11:43:42

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2016-06-14 
23:08:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2016-08-03 
11:43:53.0 +0200
@@ -1,0 +2,6 @@
+Fri Jul 22 07:05:46 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.5.0+git.20160721:
+  * Fixes #57: Race condition in sb_timer_value()
+
+---

Old:

  sysbench-0.5.0+git.20160610.tar.xz

New:

  sysbench-0.5.0+git.20160721.tar.xz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.BZOHRC/_old  2016-08-03 11:43:54.0 +0200
+++ /var/tmp/diff_new_pack.BZOHRC/_new  2016-08-03 11:43:54.0 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define version_unconverted 0.5.0+git.20160610
+%define version_unconverted 0.5.0+git.20160721
 Name:   sysbench
-Version:0.5.0+git.20160610
+Version:0.5.0+git.20160721
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0
@@ -58,9 +58,12 @@
 %install
 %make_install
 help2man ./sysbench/sysbench > sysbench.1
-install -D -m 0644 sysbench.1 %{buildroot}%{_mandir}/man1/sysbench.1
-install -D -m 0755 sysbench-example-tests/sysbench-example-test   
%{buildroot}%{_datadir}/sysbench/sysbench-example-test
-install -D -m 0755 sysbench-example-tests/sysbench-example-all-tests  
%{buildroot}%{_datadir}/sysbench/sysbench-example-all-tests
+install -D -p -m 0644 sysbench.1 \
+  %{buildroot}%{_mandir}/man1/sysbench.1
+install -D -p -m 0755 sysbench-example-tests/sysbench-example-test \
+  %{buildroot}%{_datadir}/sysbench/sysbench-example-test
+install -D -p -m 0755 sysbench-example-tests/sysbench-example-all-tests \
+  %{buildroot}%{_datadir}/sysbench/sysbench-example-all-tests
 rm -rf %{buildroot}%{_datadir}/doc/sysbench
 
 %files

++ sysbench-0.5.0+git.20160610.tar.xz -> sysbench-0.5.0+git.20160721.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-0.5.0+git.20160610/sysbench/sb_timer.c 
new/sysbench-0.5.0+git.20160721/sysbench/sb_timer.c
--- old/sysbench-0.5.0+git.20160610/sysbench/sb_timer.c 2016-06-12 
11:31:03.0 +0200
+++ new/sysbench-0.5.0+git.20160721/sysbench/sb_timer.c 2016-07-21 
11:27:35.0 +0200
@@ -130,11 +130,16 @@
 }
 
 
-/* get the current timer value in nanoseconds */
+/*
+   get the current timer value in nanoseconds without affecting is state, i.e.
+   is safe to be used concurrently on a shared timer.
+*/
 
 
 unsigned long long  sb_timer_value(sb_timer_t *t)
 {
+  struct timespec ts;
+
   switch (t->state) {
 case TIMER_INITIALIZED:
   log_text(LOG_WARNING, "timer was never started");
@@ -148,9 +153,8 @@
   abort();
   }
 
-  sb_timer_update(t);
-
-  return t->elapsed;
+  SB_GETTIME();
+  return TIMESPEC_DIFF(ts, t->time_start) + t->queue_time;
 }
 
 




commit sysbench for openSUSE:Factory

2016-06-14 Thread h_root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2016-06-14 23:08:01

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2016-04-28 
16:57:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2016-06-14 
23:08:02.0 +0200
@@ -1,0 +2,11 @@
+Sun Jun 12 09:31:03 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.5.0+git.20160610:
+  * Fixes #44: seqwr deleting test files
+  * Duplicate line
+  * added locking to get_request in lua scripting
+  * Don't lock thread mutex unnecessarily in script_lua.c and sb_cpu.c.
+  * Fix crash introduced by commit 9244fcf.
+  * Adding volatile modifier to tmp variable in memory test
+
+---

Old:

  sysbench-0.5.0+git.20160414.tar.xz

New:

  sysbench-0.5.0+git.20160610.tar.xz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.HDpWet/_old  2016-06-14 23:08:03.0 +0200
+++ /var/tmp/diff_new_pack.HDpWet/_new  2016-06-14 23:08:03.0 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define version_unconverted 0.5.0+git.20160414
+%define version_unconverted 0.5.0+git.20160610
 Name:   sysbench
-Version:0.5.0+git.20160414
+Version:0.5.0+git.20160610
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0

++ _service ++
--- /var/tmp/diff_new_pack.HDpWet/_old  2016-06-14 23:08:03.0 +0200
+++ /var/tmp/diff_new_pack.HDpWet/_new  2016-06-14 23:08:03.0 +0200
@@ -1,15 +1,15 @@
 
-  
+  
 git://github.com/akopytov/sysbench
 git
 sysbench
 enable
-64aaf37aa4fa87201ff551b997cdfa8064555348
+refs/heads/0.5
 0.5.0+git.%cd
   
-  
+  
 *.tar
 xz
   
-  
+  
 

++ sysbench-0.5.0+git.20160414.tar.xz -> sysbench-0.5.0+git.20160610.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-0.5.0+git.20160414/README.md 
new/sysbench-0.5.0+git.20160610/README.md
--- old/sysbench-0.5.0+git.20160414/README.md   2016-04-16 18:18:45.0 
+0200
+++ new/sysbench-0.5.0+git.20160610/README.md   2016-06-12 11:31:03.0 
+0200
@@ -81,7 +81,6 @@
 | `--help`  | Print help on general syntax or on a test mode 
specified with --test, and exit 




 | off |
 | `--verbosity` | Verbosity level (0 - only critical messages, 5 - 
debug)  




   | 4   |
 | `--percentile`| SysBench measures execution times for all processed 
requests to display statistical information like minimal, average and maximum 
execution time. For most benchmarks it is also useful to know a request 
execution time value matching some percentile (e.g. 95% percentile means we 
should drop 5% of the most long requests and choose the maximal value from the 
remaining ones). This option allows to specify a percentile rank of query 
execution times to count | 95  |
-| `--validate`  | Perform validation of test results where possible





   | off |
 
 Note that numerical values for all *size* options (like `--thread-stack-size` 
in this table) may be specified by appending the corresponding multiplicative 
suffix (K for kilobytes, M for megabytes, G for gigabytes and T for terabytes).
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit sysbench for openSUSE:Factory

2016-04-28 Thread h_root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2016-04-28 16:54:23

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2016-03-26 
15:25:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2016-04-28 
16:57:15.0 +0200
@@ -1,0 +2,16 @@
+Sat Apr 16 16:18:45 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.5.0+git.20160414:
+  * Fix the issue when threads running < num_threads
+  * Fixes #22: Timers and reporting thread should wait for worker 
+thread to be initialized
+  * Fix barrier error reporting.
+  * Fixes #25: Include database-related command line options in 
+help
+  * Fixes #29: FATAL: Failed to read file! file: 24 pos: 14516224 
+errno = 0 (Success)
+  * Fix prepare parallel for new thread initialization
+  * Revert "Fix the issue when threads running < num_threads"
+  * adjust event generation for a high volume
+
+---

Old:

  sysbench-0.5.0~git.20160318.tar.xz

New:

  sysbench-0.5.0+git.20160414.tar.xz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.3nbrRE/_old  2016-04-28 16:57:16.0 +0200
+++ /var/tmp/diff_new_pack.3nbrRE/_new  2016-04-28 16:57:16.0 +0200
@@ -16,10 +16,9 @@
 #
 
 
-%define version_unconverted 0.5.0~git.20160318
-
+%define version_unconverted 0.5.0+git.20160414
 Name:   sysbench
-Version:0.5.0~git.20160318
+Version:0.5.0+git.20160414
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0

++ _service ++
--- /var/tmp/diff_new_pack.3nbrRE/_old  2016-04-28 16:57:16.0 +0200
+++ /var/tmp/diff_new_pack.3nbrRE/_new  2016-04-28 16:57:16.0 +0200
@@ -4,8 +4,8 @@
 git
 sysbench
 enable
-57e62669b937b3c4ebaca237af65d69539bfb260
-0.5.0~git.%cd
+64aaf37aa4fa87201ff551b997cdfa8064555348
+0.5.0+git.%cd
   
   
 *.tar




commit sysbench for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2016-03-26 15:25:43

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2016-03-07 
13:24:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2016-03-26 
15:25:45.0 +0100
@@ -1,0 +2,23 @@
+Mon Mar 21 19:47:52 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.5.0~git.20160318:
+  + Some minor improvements to bulk_insert.lua
+  + Minor cleanups in bulk_insert.lua.
+  + Print the number of actually running threads instead of the 
+configured --num-threads value for intermediate reports. This 
+can make a big difference with network benchmarks to diagnose 
+TCP-related issues like SYN flood protection, throttling, 
+backlog issues, etc.
+  + Fix mutex_get_request() signature.
+  + Update GPLv2 text in COPYING with the current version from 
+https://gnu.org/licenses/gpl-2.0.txt.
+  + Update copyrights and FSF address.
+  + Fixes #17: Lua script without DB access crashes sysbench.
+  + Fixes #22: Timers and reporting thread should wait for worker 
+thread to be initialized
+  + Fix barrier error reporting.
+  + Fixes #25: Include database-related command line options in 
+help
+- Generate manpage
+
+---

Old:

  sysbench-0.5.0~git.20160223.tar.xz

New:

  sysbench-0.5.0~git.20160318.tar.xz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.7JOX7J/_old  2016-03-26 15:25:46.0 +0100
+++ /var/tmp/diff_new_pack.7JOX7J/_new  2016-03-26 15:25:46.0 +0100
@@ -16,8 +16,10 @@
 #
 
 
+%define version_unconverted 0.5.0~git.20160318
+
 Name:   sysbench
-Version:0.5.0~git.20160223
+Version:0.5.0~git.20160318
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0
@@ -29,6 +31,7 @@
 BuildRequires:  automake
 BuildRequires:  docbook
 BuildRequires:  docbook-xsl-stylesheets
+BuildRequires:  help2man
 BuildRequires:  libaio-devel
 BuildRequires:  libtool
 BuildRequires:  libxslt-tools
@@ -55,6 +58,8 @@
 
 %install
 %make_install
+help2man ./sysbench/sysbench > sysbench.1
+install -D -m 0644 sysbench.1 %{buildroot}%{_mandir}/man1/sysbench.1
 install -D -m 0755 sysbench-example-tests/sysbench-example-test   
%{buildroot}%{_datadir}/sysbench/sysbench-example-test
 install -D -m 0755 sysbench-example-tests/sysbench-example-all-tests  
%{buildroot}%{_datadir}/sysbench/sysbench-example-all-tests
 rm -rf %{buildroot}%{_datadir}/doc/sysbench
@@ -63,6 +68,7 @@
 %defattr(-,root,root)
 %doc COPYING ChangeLog README.md doc/manual.html
 %{_bindir}/sysbench
+%{_mandir}/man1/sysbench.1%{ext_man}
 %{_datadir}/sysbench
 
 %changelog

++ _service ++
--- /var/tmp/diff_new_pack.7JOX7J/_old  2016-03-26 15:25:46.0 +0100
+++ /var/tmp/diff_new_pack.7JOX7J/_new  2016-03-26 15:25:46.0 +0100
@@ -3,7 +3,8 @@
 git://github.com/akopytov/sysbench
 git
 sysbench
-1c812ad6dd129f059691103c224bb0ea8006ff15
+enable
+57e62669b937b3c4ebaca237af65d69539bfb260
 0.5.0~git.%cd
   
   

++ sysbench-0.5.0~git.20160223.tar.xz -> sysbench-0.5.0~git.20160318.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-0.5.0~git.20160223/sysbench/Makefile.am 
new/sysbench-0.5.0~git.20160318/sysbench/Makefile.am
--- old/sysbench-0.5.0~git.20160223/sysbench/Makefile.am2016-03-01 
16:00:45.0 +0100
+++ new/sysbench-0.5.0~git.20160318/sysbench/Makefile.am2016-03-21 
20:47:52.0 +0100
@@ -49,7 +49,7 @@
 
 sysbench_SOURCES = sysbench.c sysbench.h sb_timer.c sb_timer.h \
 sb_options.c sb_options.h sb_logger.c sb_logger.h sb_list.h db_driver.h \
-db_driver.c sb_percentile.c sb_percentile.h
+db_driver.c sb_percentile.c sb_percentile.h sb_barrier.c sb_barrier.h
 
 sysbench_LDADD = tests/fileio/libsbfileio.a tests/threads/libsbthreads.a \
 tests/memory/libsbmemory.a tests/cpu/libsbcpu.a \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysbench-0.5.0~git.20160223/sysbench/sb_barrier.c 
new/sysbench-0.5.0~git.20160318/sysbench/sb_barrier.c
--- old/sysbench-0.5.0~git.20160223/sysbench/sb_barrier.c   1970-01-01 
01:00:00.0 +0100
+++ new/sysbench-0.5.0~git.20160318/sysbench/sb_barrier.c   2016-03-21 
20:47:52.0 +0100
@@ -0,0 +1,104 @@
+/*
+   Copyright (C) 2016 Alexey Kopytov 
+
+   This program is free software; you can 

commit sysbench for openSUSE:Factory

2016-03-07 Thread h_root
Hello community,

here is the log from the commit of package sysbench for openSUSE:Factory 
checked in at 2016-03-07 13:23:56

Comparing /work/SRC/openSUSE:Factory/sysbench (Old)
 and  /work/SRC/openSUSE:Factory/.sysbench.new (New)


Package is "sysbench"

Changes:

--- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes2015-04-02 
16:03:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes   2016-03-07 
13:24:19.0 +0100
@@ -1,0 +2,7 @@
+Tue Mar  1 11:55:17 UTC 2016 - mplus...@suse.com
+
+- Update to 0.5.0~git.20160223
+- Add _service
+- Some spec file cleanups
+
+---

Old:

  sysbench-0.5.0+r122.tar.bz2

New:

  _service
  sysbench-0.5.0~git.20160223.tar.xz



Other differences:
--
++ sysbench.spec ++
--- /var/tmp/diff_new_pack.w3OhBO/_old  2016-03-07 13:24:20.0 +0100
+++ /var/tmp/diff_new_pack.w3OhBO/_new  2016-03-07 13:24:20.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sysbench
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,25 @@
 
 
 Name:   sysbench
-Version:0.5.0+r122
+Version:0.5.0~git.20160223
 Release:0
 Summary:A MySQL benchmarking tool
 License:GPL-2.0
 Group:  System/Benchmark
 Url:https://github.com/akopytov/sysbench
-Source0:%{name}-%{version}.tar.bz2
+Source0:%{name}-%{version}.tar.xz
 Source1:%{name}-example-tests.tar.bz2
-BuildRequires:  automake
 BuildRequires:  autoconf
-BuildRequires:  libtool
+BuildRequires:  automake
 BuildRequires:  docbook
 BuildRequires:  docbook-xsl-stylesheets
-BuildRequires:  gcc-c++
 BuildRequires:  libaio-devel
 BuildRequires:  libtool
 BuildRequires:  libxslt-tools
 BuildRequires:  mysql-devel
 BuildRequires:  openssl-devel
 BuildRequires:  postgresql-devel
+BuildRequires:  xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -47,24 +46,23 @@
 %prep
 %setup -q
 %setup -q -T -D -a 1
-./autogen.sh
 
 %build
+autoreconf -fiv
 %configure \
--with-pgsql
-make %{?_smp_mflags} -e CFLAGS="%{optflags}" CXXFLAGS="%{optflags} 
-fno-exceptions" 'VERSION_NO="\"%{version}\""'
+make %{?_smp_mflags}
 
 %install
-# Version will be used for link to library: .so.% version, see below in % files
 %make_install
-install -d -m 755 %{buildroot}%{_datadir}/sysbench
-install -D -m 755 sysbench-example-tests/sysbench-example-test 
%{buildroot}%{_datadir}/sysbench/sysbench-example-test
-install -D -m 755 sysbench-example-tests/sysbench-example-all-tests  
%{buildroot}%{_datadir}/sysbench/sysbench-example-all-tests
+install -D -m 0755 sysbench-example-tests/sysbench-example-test   
%{buildroot}%{_datadir}/sysbench/sysbench-example-test
+install -D -m 0755 sysbench-example-tests/sysbench-example-all-tests  
%{buildroot}%{_datadir}/sysbench/sysbench-example-all-tests
+rm -rf %{buildroot}%{_datadir}/doc/sysbench
 
 %files
 %defattr(-,root,root)
-%{_bindir}/*
-%{_datadir}/doc/sysbench
+%doc COPYING ChangeLog README.md doc/manual.html
+%{_bindir}/sysbench
 %{_datadir}/sysbench
 
 %changelog

++ _service ++

  
git://github.com/akopytov/sysbench
git
sysbench
1c812ad6dd129f059691103c224bb0ea8006ff15
0.5.0~git.%cd
  
  
*.tar
xz