Hello community, here is the log from the commit of package cvise for openSUSE:Factory checked in at 2020-05-11 13:44:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cvise (Old) and /work/SRC/openSUSE:Factory/.cvise.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cvise" Mon May 11 13:44:09 2020 rev:7 rq:802603 version:1.3.0+git.20200511.50c821f Changes: -------- --- /work/SRC/openSUSE:Factory/cvise/cvise.changes 2020-05-09 22:20:13.663588009 +0200 +++ /work/SRC/openSUSE:Factory/.cvise.new.2738/cvise.changes 2020-05-11 13:44:17.541493622 +0200 @@ -1,0 +2,8 @@ +Mon May 11 06:55:36 UTC 2020 - [email protected] + +- Update to version 1.3.0+git.20200511.50c821f: + * Bump to 1.3.0. + * Decrease pebble.SLEEP_UNIT for faster responsiveness. + * Do not parse test_script stdout and stderr outputs. + +------------------------------------------------------------------- Old: ---- cvise-1.2.1+git.20200509.57058d4.tar.xz New: ---- cvise-1.3.0+git.20200511.50c821f.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cvise.spec ++++++ --- /var/tmp/diff_new_pack.k9H6El/_old 2020-05-11 13:44:18.809496313 +0200 +++ /var/tmp/diff_new_pack.k9H6El/_new 2020-05-11 13:44:18.809496313 +0200 @@ -17,7 +17,7 @@ Name: cvise -Version: 1.2.1+git.20200509.57058d4 +Version: 1.3.0+git.20200511.50c821f Release: 0 Summary: Super-parallel Python port of the C-Reduce License: BSD-3-Clause ++++++ _service ++++++ --- /var/tmp/diff_new_pack.k9H6El/_old 2020-05-11 13:44:18.845496389 +0200 +++ /var/tmp/diff_new_pack.k9H6El/_new 2020-05-11 13:44:18.845496389 +0200 @@ -4,7 +4,7 @@ <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="filename">cvise</param> - <param name="versionformat">1.2.1+git.%cd.%h</param> + <param name="versionformat">1.3.0+git.%cd.%h</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> ++++++ cvise-1.2.1+git.20200509.57058d4.tar.xz -> cvise-1.3.0+git.20200511.50c821f.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.2.1+git.20200509.57058d4/CMakeLists.txt new/cvise-1.3.0+git.20200511.50c821f/CMakeLists.txt --- old/cvise-1.2.1+git.20200509.57058d4/CMakeLists.txt 2020-05-09 19:01:23.000000000 +0200 +++ new/cvise-1.3.0+git.20200511.50c821f/CMakeLists.txt 2020-05-11 08:52:08.000000000 +0200 @@ -122,11 +122,11 @@ set(cvise_PACKAGE "cvise") set(cvise_PACKAGE_BUGREPORT "https://github.com/marxin/cvise/issues") set(cvise_PACKAGE_NAME "cvise") -set(cvise_PACKAGE_STRING "cvise 1.2.0") +set(cvise_PACKAGE_STRING "cvise 1.3.0") set(cvise_PACKAGE_TARNAME "cvise") set(cvise_PACKAGE_URL "https://github.com/marxin/cvise/") -set(cvise_PACKAGE_VERSION "1.2.0") -set(cvise_VERSION "1.2.0") +set(cvise_PACKAGE_VERSION "1.3.0") +set(cvise_VERSION "1.3.0") configure_file("cmake_config.h.in" "${PROJECT_BINARY_DIR}/config.h") add_definitions("-DHAVE_CONFIG_H") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-1.2.1+git.20200509.57058d4/cvise/utils/testing.py new/cvise-1.3.0+git.20200511.50c821f/cvise/utils/testing.py --- old/cvise-1.2.1+git.20200509.57058d4/cvise/utils/testing.py 2020-05-09 19:01:23.000000000 +0200 +++ new/cvise-1.3.0+git.20200511.50c821f/cvise/utils/testing.py 2020-05-11 08:52:08.000000000 +0200 @@ -7,16 +7,17 @@ import multiprocessing import os import os.path +import pebble import platform import shutil import signal +import subprocess import sys import tempfile import weakref import concurrent.futures from concurrent.futures import wait, FIRST_COMPLETED, TimeoutError -from pebble import ProcessPool from multiprocessing import Queue, Manager from .. import CVise @@ -29,6 +30,9 @@ from .error import PassBugError from .error import ZeroSizeError +# change default Pebble sleep unit for faster response +pebble.common.SLEEP_UNIT = 0.01 + def rmfolder(name): assert 'cvise' in name try: @@ -107,14 +111,15 @@ # this can happen when we clean up temporary files for cancelled processes pass except Exception as e: - print('Should not happen: ' + str(e)) + print('Unexpected TestEnvironment::run failure: ' + str(e)) finally: return self def run_test(self): try: os.chdir(self.folder) - _, _, returncode = ProcessEventNotifier(self.pid_queue).run_process(self.test_script, shell=True) + _, _, returncode = ProcessEventNotifier(self.pid_queue).run_process(self.test_script, shell=True, + stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) finally: os.chdir(self.pwd) return returncode @@ -380,7 +385,7 @@ def run_parallel_tests(self): assert not self.futures assert not self.temporary_folders - with ProcessPool(max_workers=self.parallel_tests) as pool: + with pebble.ProcessPool(max_workers=self.parallel_tests) as pool: order = 1 self.timeout_count = 0 while self.state != None:
