Hello community,
here is the log from the commit of package python3-img-proof for
openSUSE:Factory checked in at 2020-10-02 17:35:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-img-proof (Old)
and /work/SRC/openSUSE:Factory/.python3-img-proof.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-img-proof"
Fri Oct 2 17:35:34 2020 rev:14 rq:838826 version:6.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-img-proof/python3-img-proof.changes
2020-08-19 18:52:43.699716593 +0200
+++
/work/SRC/openSUSE:Factory/.python3-img-proof.new.4249/python3-img-proof.changes
2020-10-02 17:35:39.346679671 +0200
@@ -1,0 +2,9 @@
+Wed Sep 30 16:24:40 UTC 2020 - Sean Marlow <[email protected]>
+
+- Update to v6.1.0 (2020-09-30)
+ + SAP has live-patching enabled
+ + Handle Google HttpError explicitly.
+ + Disable all pytest stdout capturing with -s option.
+ + Catch unhandled exceptions from pytest.
+
+-------------------------------------------------------------------
Old:
----
img-proof-6.0.0.tar.gz
New:
----
img-proof-6.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-img-proof.spec ++++++
--- /var/tmp/diff_new_pack.D7lUio/_old 2020-10-02 17:35:40.350680269 +0200
+++ /var/tmp/diff_new_pack.D7lUio/_new 2020-10-02 17:35:40.354680272 +0200
@@ -18,7 +18,7 @@
%bcond_without test
Name: python3-img-proof
-Version: 6.0.0
+Version: 6.1.0
Release: 0
Summary: Command line and API for testing custom images
License: GPL-3.0-or-later
@@ -59,7 +59,7 @@
Requires: python3-pytest
Requires: python3-testinfra
BuildArch: noarch
-Obsoletes: python3-ipa < 6.0.0
+Obsoletes: python3-ipa < 6.1.0
%description
img-proof provides a command line utility to test images in
@@ -70,7 +70,7 @@
Group: Development/Languages/Python
Requires: python3-susepubliccloudinfo
PreReq: python3-img-proof = %{version}
-Obsoletes: python3-ipa-tests < 6.0.0
+Obsoletes: python3-ipa-tests < 6.1.0
%description tests
Directory of infrastructure tests for testing images.
++++++ img-proof-6.0.0.tar.gz -> img-proof-6.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/CHANGES.md
new/img-proof-6.1.0/CHANGES.md
--- old/img-proof-6.0.0/CHANGES.md 2020-08-18 21:44:44.000000000 +0200
+++ new/img-proof-6.1.0/CHANGES.md 2020-09-30 18:22:44.000000000 +0200
@@ -1,3 +1,14 @@
+v6.1.0 (2020-09-30)
+===================
+
+- Handle Google HttpError explicitly.
+ [\#265](https://github.com/SUSE-Enceladus/ipa/pull/265)
+- Disable all pytest stdout capturing with -s option.
+- Catch unhandled exceptions from pytest.
+ [\#266](https://github.com/SUSE-Enceladus/ipa/pull/266)
+- SAP has live-patching enabled
+ [\#267](https://github.com/SUSE-Enceladus/ipa/pull/267)
+
v6.0.0 (2020-08-18)
===================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/PKG-INFO new/img-proof-6.1.0/PKG-INFO
--- old/img-proof-6.0.0/PKG-INFO 2020-08-18 21:45:49.000000000 +0200
+++ new/img-proof-6.1.0/PKG-INFO 2020-09-30 18:24:09.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: img-proof
-Version: 6.0.0
+Version: 6.1.0
Summary: Package for automated testing of cloud images.
Home-page: https://github.com/SUSE-Enceladus/img-proof
Author: SUSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/img_proof/__init__.py
new/img-proof-6.1.0/img_proof/__init__.py
--- old/img-proof-6.0.0/img_proof/__init__.py 2020-08-18 21:44:44.000000000
+0200
+++ new/img-proof-6.1.0/img_proof/__init__.py 2020-09-30 18:22:44.000000000
+0200
@@ -22,4 +22,4 @@
__author__ = """SUSE"""
__email__ = '[email protected]'
-__version__ = '6.0.0'
+__version__ = '6.1.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/img_proof/ipa_cloud.py
new/img-proof-6.1.0/img_proof/ipa_cloud.py
--- old/img-proof-6.0.0/img_proof/ipa_cloud.py 2020-08-18 21:44:44.000000000
+0200
+++ new/img-proof-6.1.0/img_proof/ipa_cloud.py 2020-09-30 18:22:44.000000000
+0200
@@ -349,7 +349,7 @@
if self.early_exit:
options.append('-x')
- args = '-v {} --ssh-config={} --hosts={} {}'.format(
+ args = '-v -s {} --ssh-config={} --hosts={} {}'.format(
' '.join(options),
ssh_config,
self.instance_ip,
@@ -369,7 +369,11 @@
while num_retries < self.retry_count:
plugin = Report()
- result = pytest.main(cmds, plugins=[plugin])
+
+ try:
+ result = pytest.main(cmds, plugins=[plugin])
+ except Exception:
+ result = 3 # See below for pytest error codes
if result != 0:
num_retries += 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/img_proof/ipa_gce.py
new/img-proof-6.1.0/img_proof/ipa_gce.py
--- old/img-proof-6.0.0/img_proof/ipa_gce.py 2020-08-18 21:44:44.000000000
+0200
+++ new/img-proof-6.1.0/img_proof/ipa_gce.py 2020-09-30 18:22:44.000000000
+0200
@@ -36,6 +36,7 @@
from google.oauth2 import service_account
from googleapiclient import discovery
+from googleapiclient.errors import HttpError
def get_message_from_http_error(error, resource_name):
@@ -66,7 +67,7 @@
"""
try:
yield
- except Exception as error:
+ except HttpError as error:
message = get_message_from_http_error(error, resource_name)
raise GCECloudException(
@@ -75,6 +76,13 @@
error=message
)
) from error
+ except Exception as error:
+ raise GCECloudException(
+ 'Unable to retrieve {type_name}: {error}'.format(
+ type_name=type_name,
+ error=str(error)
+ )
+ ) from error
class GCECloud(IpaCloud):
@@ -368,7 +376,7 @@
zone=self.region,
body=self.get_instance_config(**kwargs)
).execute()
- except Exception as error:
+ except HttpError as error:
with suppress(AttributeError):
# In python 3.5 content is bytes
error.content = error.content.decode()
@@ -391,6 +399,12 @@
message=message
)
) from error
+ except Exception as error:
+ raise GCECloudException(
+ 'Failed to launch instance: {message}'.format(
+ message=str(error)
+ )
+ ) from error
operation = self._wait_on_operation(response['name'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/img_proof.egg-info/PKG-INFO
new/img-proof-6.1.0/img_proof.egg-info/PKG-INFO
--- old/img-proof-6.0.0/img_proof.egg-info/PKG-INFO 2020-08-18
21:45:48.000000000 +0200
+++ new/img-proof-6.1.0/img_proof.egg-info/PKG-INFO 2020-09-30
18:24:09.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: img-proof
-Version: 6.0.0
+Version: 6.1.0
Summary: Package for automated testing of cloud images.
Home-page: https://github.com/SUSE-Enceladus/img-proof
Author: SUSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/img_proof.egg-info/requires.txt
new/img-proof-6.1.0/img_proof.egg-info/requires.txt
--- old/img-proof-6.0.0/img_proof.egg-info/requires.txt 2020-08-18
21:45:48.000000000 +0200
+++ new/img-proof-6.1.0/img_proof.egg-info/requires.txt 2020-09-30
18:24:09.000000000 +0200
@@ -1,5 +1,6 @@
boto3
azure-common
+msrestazure
azure-mgmt-compute
azure-mgmt-network
azure-mgmt-resource
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/package/python3-img-proof.spec
new/img-proof-6.1.0/package/python3-img-proof.spec
--- old/img-proof-6.0.0/package/python3-img-proof.spec 2020-08-18
21:44:44.000000000 +0200
+++ new/img-proof-6.1.0/package/python3-img-proof.spec 2020-09-30
18:22:44.000000000 +0200
@@ -18,7 +18,7 @@
%bcond_without test
Name: python3-img-proof
-Version: 6.0.0
+Version: 6.1.0
Release: 0
Summary: Command line and API for testing custom images
License: GPL-3.0-or-later
@@ -59,7 +59,7 @@
Requires: python3-pytest
Requires: python3-testinfra
BuildArch: noarch
-Obsoletes: python3-ipa < 6.0.0
+Obsoletes: python3-ipa < 6.1.0
%description
img-proof provides a command line utility to test images in
@@ -70,7 +70,7 @@
Group: Development/Languages/Python
Requires: python3-susepubliccloudinfo
PreReq: python3-img-proof = %{version}
-Obsoletes: python3-ipa-tests < 6.0.0
+Obsoletes: python3-ipa-tests < 6.1.0
%description tests
Directory of infrastructure tests for testing images.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/requirements.txt
new/img-proof-6.1.0/requirements.txt
--- old/img-proof-6.0.0/requirements.txt 2020-08-18 21:44:44.000000000
+0200
+++ new/img-proof-6.1.0/requirements.txt 2020-09-30 18:22:44.000000000
+0200
@@ -1,5 +1,7 @@
boto3
azure-common
+# msrestazure required by azure-common, remove when fixed upstream
+msrestazure
azure-mgmt-compute
azure-mgmt-network
azure-mgmt-resource
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/setup.cfg
new/img-proof-6.1.0/setup.cfg
--- old/img-proof-6.0.0/setup.cfg 2020-08-18 21:45:49.000000000 +0200
+++ new/img-proof-6.1.0/setup.cfg 2020-09-30 18:24:09.000000000 +0200
@@ -1,5 +1,5 @@
[bumpversion]
-current_version = 6.0.0
+current_version = 6.1.0
commit = True
tag = False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/img-proof-6.0.0/setup.py new/img-proof-6.1.0/setup.py
--- old/img-proof-6.0.0/setup.py 2020-08-18 21:44:44.000000000 +0200
+++ new/img-proof-6.1.0/setup.py 2020-09-30 18:22:44.000000000 +0200
@@ -43,7 +43,7 @@
setup(
name='img-proof',
- version='6.0.0',
+ version='6.1.0',
description="Package for automated testing of cloud images.",
long_description=readme,
long_description_content_type="text/markdown",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/img-proof-6.0.0/usr/share/lib/img_proof/tests/SLES/conftest.py
new/img-proof-6.1.0/usr/share/lib/img_proof/tests/SLES/conftest.py
--- old/img-proof-6.0.0/usr/share/lib/img_proof/tests/SLES/conftest.py
2020-08-18 21:44:44.000000000 +0200
+++ new/img-proof-6.1.0/usr/share/lib/img_proof/tests/SLES/conftest.py
2020-09-30 18:22:44.000000000 +0200
@@ -166,6 +166,10 @@
SLE_12_SP4_MODULES = SLE_12_SP3_MODULES
SLE_12_SP4_SAP = [
+ 'SLE-Live-Patching12-SP4-Debuginfo-Pool',
+ 'SLE-Live-Patching12-SP4-Debuginfo-Updates',
+ 'SLE-Live-Patching12-SP4-Pool',
+ 'SLE-Live-Patching12-SP4-Updates',
'SLE12-SP4-SAP-Debuginfo-Pool',
'SLE-12-SP4-SAP-Debuginfo-Updates',
'SLE12-SP4-SAP-Pool',
@@ -192,6 +196,10 @@
SLE_12_SP5_MODULES = SLE_12_SP4_MODULES
SLE_12_SP5_SAP = [
+ 'SLE-Live-Patching12-SP5-Debuginfo-Pool',
+ 'SLE-Live-Patching12-SP5-Debuginfo-Updates',
+ 'SLE-Live-Patching12-SP5-Pool',
+ 'SLE-Live-Patching12-SP5-Updates',
'SLE12-SP5-SAP-Debuginfo-Pool',
'SLE-12-SP5-SAP-Debuginfo-Updates',
'SLE12-SP5-SAP-Pool',
@@ -255,6 +263,10 @@
]
SLE_15_SAP = [
+ 'SLE-Module-Live-Patching15-Debuginfo-Pool',
+ 'SLE-Module-Live-Patching15-Debuginfo-Updates',
+ 'SLE-Module-Live-Patching15-Pool',
+ 'SLE-Module-Live-Patching15-Updates',
'SLE-Module-SAP-Applications15-Debuginfo-Pool',
'SLE-Module-SAP-Applications15-Debuginfo-Updates',
'SLE-Module-SAP-Applications15-Pool',
@@ -322,6 +334,10 @@
]
SLE_15_SP1_SAP = [
+ 'SLE-Module-Live-Patching15-SP1-Debuginfo-Pool',
+ 'SLE-Module-Live-Patching15-SP1-Debuginfo-Updates',
+ 'SLE-Module-Live-Patching15-SP1-Pool',
+ 'SLE-Module-Live-Patching15-SP1-Updates',
'SLE-Module-SAP-Applications15-SP1-Debuginfo-Pool',
'SLE-Module-SAP-Applications15-SP1-Debuginfo-Updates',
'SLE-Module-SAP-Applications15-SP1-Pool',
@@ -423,6 +439,10 @@
]
SLE_15_SP2_SAP = [
+ 'SLE-Module-Live-Patching15-SP2-Debuginfo-Pool',
+ 'SLE-Module-Live-Patching15-SP2-Debuginfo-Updates',
+ 'SLE-Module-Live-Patching15-SP2-Pool',
+ 'SLE-Module-Live-Patching15-SP2-Updates',
'SLE-Module-SAP-Applications15-SP2-Debuginfo-Pool',
'SLE-Module-SAP-Applications15-SP2-Debuginfo-Updates',
'SLE-Module-SAP-Applications15-SP2-Pool',