Hello community,
here is the log from the commit of package python-openqa_review for
openSUSE:Leap:15.2 checked in at 2020-05-11 08:40:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-openqa_review (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-openqa_review.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openqa_review"
Mon May 11 08:40:45 2020 rev:29 rq:802326 version:1.19.0
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-openqa_review/python-openqa_review.changes
2020-03-10 17:12:58.185408071 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-openqa_review.new.2738/python-openqa_review.changes
2020-05-11 08:40:47.107211031 +0200
@@ -1,0 +2,12 @@
+Sat May 9 12:27:12 UTC 2020 - Oliver Kurz <[email protected]>
+
+- Update test-package to use python3 variant also to fix Factory build tests
+
+-------------------------------------------------------------------
+Tue May 05 19:40:50 UTC 2020 - [email protected]
+
+- Update to version 1.19.0:
+ * Adapt parsing of soft-failure details to openQA >=
4.5.1528009330.e68ebe2b-3120-g92a4d55ef
+ * Adapt soft-fail parsing to new details format produced by openQA
+
+-------------------------------------------------------------------
Old:
----
python-openqa_review-1.17.0.obscpio
New:
----
python-openqa_review-1.19.0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-openqa_review.spec ++++++
--- /var/tmp/diff_new_pack.EHdBAl/_old 2020-05-11 08:40:47.691212295 +0200
+++ /var/tmp/diff_new_pack.EHdBAl/_new 2020-05-11 08:40:47.695212303 +0200
@@ -31,7 +31,7 @@
%define binaries openqa-review openqa-review-daily-email
openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise
%define oldpython python
Name: python-%{short_name}%{?name_ext}
-Version: 1.17.0
+Version: 1.19.0
Release: 0
Summary: A review helper script for openQA
License: MIT
@@ -40,7 +40,7 @@
URL: https://github.com/okurz/%{short_name}
BuildRequires: python-rpm-macros
%if 0%{?_test}
-BuildRequires: %{oldpython}-%{short_name} == %{version}
+BuildRequires: python3-%{short_name} == %{version}
%else
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -69,7 +69,10 @@
Obsoletes: %{oldpython}-%{short_name} < %{version}
%endif
+%if 0%{?_test}
+%else
%python_subpackages
+%endif
%description
A review helper script for openQA. For more details look into the README file.
++++++ python-openqa_review-1.17.0.obscpio ->
python-openqa_review-1.19.0.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-openqa_review-1.17.0/openqa_review/openqa_review.py
new/python-openqa_review-1.19.0/openqa_review/openqa_review.py
--- old/python-openqa_review-1.17.0/openqa_review/openqa_review.py
2020-03-09 10:19:48.000000000 +0100
+++ new/python-openqa_review-1.19.0/openqa_review/openqa_review.py
2020-05-05 21:34:49.000000000 +0200
@@ -888,16 +888,26 @@
return total
def _get_url_to_softfailed_module(self, job_url):
- test_details_html =
self.test_browser.get_soup(job_url).find(title='Soft Failed')
+ log.debug('job_url %s' % job_url)
+ url = job_url + '/details_ajax'
+ try:
+ test_details_html =
self.test_browser.get_soup(url).find(title='Soft Failed')
+ except DownloadError:
+ log.debug('Found older openQA, before
https://github.com/os-autoinst/openQA/pull/2932')
+ url = job_url
+ test_details_html =
self.test_browser.get_soup(url).find(title='Soft Failed')
if test_details_html is None:
- log.debug('Could not find soft failed info box, looking for
workaround needle in job %s' % job_url)
- test_details_html =
self.test_browser.get_soup(job_url).find(class_='resborder_softfailed').parent
+ log.debug('Could not find soft failed info box, looking for
workaround needle in job %s' % url)
+ test_details_html =
self.test_browser.get_soup(url).find(class_='resborder_softfailed').parent
assert test_details_html, 'Found neither soft failed info box nor
workaround needle'
return test_details_html.get('data-url')
def _get_bugref_for_softfailed_module(self, result_item, module_name):
- details_json =
json.loads(self.test_browser.get_soup('%s/file/details-%s.json' %
(result_item['href'], module_name)).getText())
- for field in details_json:
+ details_url = '%s/file/details-%s.json' % (result_item['href'],
module_name)
+ log.debug("Retrieving '%s'" % details_url)
+ details_json =
json.loads(self.test_browser.get_soup(details_url).getText())
+ details = details_json['details'] if 'details' in details_json else
details_json
+ for field in details:
if 'title' in field and 'Soft Fail' in field['title']:
unformated_str = self.test_browser.get_soup('%s/file/%s' %
(result_item['href'], quote(field['text']))).getText()
return re.search('Soft Failure:\n(.*)',
unformated_str.strip()).group(1)
++++++ python-openqa_review.obsinfo ++++++
--- /var/tmp/diff_new_pack.EHdBAl/_old 2020-05-11 08:40:48.071213117 +0200
+++ /var/tmp/diff_new_pack.EHdBAl/_new 2020-05-11 08:40:48.075213126 +0200
@@ -1,5 +1,5 @@
name: python-openqa_review
-version: 1.17.0
-mtime: 1583745588
-commit: a549a2db9b9d6b140df52e6ad32a786b787bfd19
+version: 1.19.0
+mtime: 1588707289
+commit: b1b3b110653693ee308fa41b570e6d33e8e283da