commit python3-ipa for openSUSE:Factory
Hello community, here is the log from the commit of package python3-ipa for openSUSE:Factory checked in at 2018-11-01 19:13:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-ipa (Old) and /work/SRC/openSUSE:Factory/.python3-ipa.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-ipa" Thu Nov 1 19:13:47 2018 rev:8 rq:645891 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python3-ipa/python3-ipa.changes 2018-10-02 19:49:34.961696271 +0200 +++ /work/SRC/openSUSE:Factory/.python3-ipa.new/python3-ipa.changes 2018-11-01 19:13:49.722044613 +0100 @@ -1,0 +2,10 @@ +Wed Oct 31 23:13:46 UTC 2018 - Sean Marlow <sean.marlow@suse.com> + +- Update to v2.2.0 (2018-10-31) + + Add network test for sles in ec2. + + Remove azure billing tag test. + + Fix typo in azure services test name. + + Add python3.7 to CI testing. + + Add repos for 12SP4 in conftest + +------------------------------------------------------------------- Old: ---- python3-ipa-2.1.0.tar.gz New: ---- python3-ipa-2.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-ipa.spec ++++++ --- /var/tmp/diff_new_pack.42smLf/_old 2018-11-01 19:13:50.098044630 +0100 +++ /var/tmp/diff_new_pack.42smLf/_new 2018-11-01 19:13:50.102044630 +0100 @@ -18,7 +18,7 @@ %bcond_without test Name: python3-ipa -Version: 2.1.0 +Version: 2.2.0 Release: 0 Summary: Command line and API for testing custom images License: GPL-3.0-or-later ++++++ python3-ipa-2.1.0.tar.gz -> python3-ipa-2.2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/CHANGES.md new/python3-ipa-2.2.0/CHANGES.md --- old/python3-ipa-2.1.0/CHANGES.md 2018-10-01 21:26:47.000000000 +0200 +++ new/python3-ipa-2.2.0/CHANGES.md 2018-11-01 00:00:54.000000000 +0100 @@ -1,3 +1,17 @@ +v2.2.0 (2018-10-31) +=================== + +- Add network test for sles in ec2. + [\#134](https://github.com/SUSE-Enceladus/ipa/pull/134) +- Remove azure billing tag test. + [\#136](https://github.com/SUSE-Enceladus/ipa/pull/136) +- Fix typo in azure services test name. + [\#138](https://github.com/SUSE-Enceladus/ipa/pull/138) +- Add python3.7 to CI testing. + [\#140](https://github.com/SUSE-Enceladus/ipa/pull/140) +- Add repos for 12SP4 in conftest + [\#143](https://github.com/SUSE-Enceladus/ipa/pull/143) + v2.1.0 (2018-10-01) =================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/PKG-INFO new/python3-ipa-2.2.0/PKG-INFO --- old/python3-ipa-2.1.0/PKG-INFO 2018-10-01 21:36:59.000000000 +0200 +++ new/python3-ipa-2.2.0/PKG-INFO 2018-11-01 00:07:50.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python3-ipa -Version: 2.1.0 +Version: 2.2.0 Summary: Package for automated testing of cloud images. Home-page: https://github.com/SUSE-Enceladus/ipa Author: SUSE @@ -146,6 +146,6 @@ Classifier: Programming Language :: Python :: 3.6 Requires-Python: >=3.4 Description-Content-Type: text/markdown -Provides-Extra: dev Provides-Extra: test +Provides-Extra: dev Provides-Extra: tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/ipa/__init__.py new/python3-ipa-2.2.0/ipa/__init__.py --- old/python3-ipa-2.1.0/ipa/__init__.py 2018-10-01 21:29:09.000000000 +0200 +++ new/python3-ipa-2.2.0/ipa/__init__.py 2018-11-01 00:01:27.000000000 +0100 @@ -22,4 +22,4 @@ __author__ = """SUSE""" __email__ = 'public-cloud-dev@susecloud.net' -__version__ = '2.1.0' +__version__ = '2.2.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/package/python3-ipa.spec new/python3-ipa-2.2.0/package/python3-ipa.spec --- old/python3-ipa-2.1.0/package/python3-ipa.spec 2018-10-01 21:29:09.000000000 +0200 +++ new/python3-ipa-2.2.0/package/python3-ipa.spec 2018-11-01 00:01:27.000000000 +0100 @@ -18,7 +18,7 @@ %bcond_without test Name: python3-ipa -Version: 2.1.0 +Version: 2.2.0 Release: 0 Summary: Command line and API for testing custom images License: GPL-3.0-or-later diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/python3_ipa.egg-info/PKG-INFO new/python3-ipa-2.2.0/python3_ipa.egg-info/PKG-INFO --- old/python3-ipa-2.1.0/python3_ipa.egg-info/PKG-INFO 2018-10-01 21:36:59.000000000 +0200 +++ new/python3-ipa-2.2.0/python3_ipa.egg-info/PKG-INFO 2018-11-01 00:07:50.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python3-ipa -Version: 2.1.0 +Version: 2.2.0 Summary: Package for automated testing of cloud images. Home-page: https://github.com/SUSE-Enceladus/ipa Author: SUSE @@ -146,6 +146,6 @@ Classifier: Programming Language :: Python :: 3.6 Requires-Python: >=3.4 Description-Content-Type: text/markdown -Provides-Extra: dev Provides-Extra: test +Provides-Extra: dev Provides-Extra: tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/python3_ipa.egg-info/SOURCES.txt new/python3-ipa-2.2.0/python3_ipa.egg-info/SOURCES.txt --- old/python3-ipa-2.1.0/python3_ipa.egg-info/SOURCES.txt 2018-10-01 21:36:59.000000000 +0200 +++ new/python3-ipa-2.2.0/python3_ipa.egg-info/SOURCES.txt 2018-11-01 00:07:50.000000000 +0100 @@ -110,17 +110,15 @@ usr/share/lib/ipa/tests/SLES/test_sles_smt_reg.py usr/share/lib/ipa/tests/SLES/test_sles_wait_on_registration.py usr/share/lib/ipa/tests/SLES/test_sles_zypper_migration.py -usr/share/lib/ipa/tests/SLES/Azure/conftest.py usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure.yaml usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_accel_networking.py -usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_billing_tag.py usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_infiniband.py -usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_on_demand.yaml usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_services.py usr/share/lib/ipa/tests/SLES/EC2/conftest.py usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2.yaml usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_billing_code.py usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_byos.yaml +usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_network.py usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_no_billing_code.py usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_on_demand.yaml usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_services.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/setup.cfg new/python3-ipa-2.2.0/setup.cfg --- old/python3-ipa-2.1.0/setup.cfg 2018-10-01 21:36:59.000000000 +0200 +++ new/python3-ipa-2.2.0/setup.cfg 2018-11-01 00:07:50.000000000 +0100 @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.1.0 +current_version = 2.2.0 commit = True tag = False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/setup.py new/python3-ipa-2.2.0/setup.py --- old/python3-ipa-2.1.0/setup.py 2018-10-01 21:29:09.000000000 +0200 +++ new/python3-ipa-2.2.0/setup.py 2018-11-01 00:01:27.000000000 +0100 @@ -43,7 +43,7 @@ setup( name='python3-ipa', - version='2.1.0', + version='2.2.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/python3-ipa-2.1.0/tests/test_ipa_cli.py new/python3-ipa-2.2.0/tests/test_ipa_cli.py --- old/python3-ipa-2.1.0/tests/test_ipa_cli.py 2018-09-26 21:35:52.000000000 +0200 +++ new/python3-ipa-2.2.0/tests/test_ipa_cli.py 2018-10-31 16:10:33.000000000 +0100 @@ -338,7 +338,7 @@ with runner.isolated_filesystem(): try: os.makedirs('test') - except OSError as error: + except OSError: pass with open('test/.history', 'w') as history_log: @@ -368,7 +368,7 @@ with runner.isolated_filesystem(): try: os.makedirs('test') - except OSError as error: + except OSError: pass with open('test/.history', 'w') as history_log: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/Azure/conftest.py new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/Azure/conftest.py --- old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/Azure/conftest.py 2018-06-18 23:44:48.000000000 +0200 +++ new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/Azure/conftest.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -import json -import pytest - - -@pytest.fixture() -def get_azure_billing_tag(host): - def f(): - result = host.run( - 'sudo azuremetadata --tag' - ) - - data = json.loads(result.stdout.strip()) - return data['billingTag'] - return f \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_billing_tag.py new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_billing_tag.py --- old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_billing_tag.py 2018-06-18 23:44:48.000000000 +0200 +++ new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_billing_tag.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ - - -def test_sles_azure_billing_tag(get_azure_billing_tag): - assert get_azure_billing_tag() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_on_demand.yaml new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_on_demand.yaml --- old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_on_demand.yaml 2018-06-18 23:44:48.000000000 +0200 +++ new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_on_demand.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -tests: - - test_sles_azure_billing_tag diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_services.py new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_services.py --- old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_services.py 2017-09-20 20:58:18.000000000 +0200 +++ new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/Azure/test_sles_azure_services.py 2018-10-31 16:10:33.000000000 +0100 @@ -4,5 +4,5 @@ @pytest.mark.parametrize('name', [ ('waagent.service'), ]) -def test_sles_ec2_services(check_service, name): +def test_sles_azure_services(check_service, name): assert check_service(name) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2.yaml new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2.yaml --- old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2.yaml 2018-01-23 23:53:45.000000000 +0100 +++ new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2.yaml 2018-10-31 16:10:33.000000000 +0100 @@ -1,3 +1,4 @@ tests: - test_sles_ec2_services - test_sles_ec2_uuid + - test_sles_ec2_network diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_network.py new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_network.py --- old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_network.py 1970-01-01 01:00:00.000000000 +0100 +++ new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/EC2/test_sles_ec2_network.py 2018-10-31 16:10:33.000000000 +0100 @@ -0,0 +1,62 @@ +import pytest + + +types = { + 'c5d.large': 15, + 'd2.xlarge': 15, + 'i3.8xlarge': 15, + 'i3.metal': 15, + 'm5.large': 15, + 'm5d.large': 15, + 'r5.24xlarge': 15, + 't3.small': 15 +} + +special_regions = [ + 'ap-northeast-3', + 'cn-north-1', + 'cn-northwest-1', + 'us-gov-west-1' +] + + +def test_sles_ec2_network(determine_region, host): + """ + Requires an S3 bucket in each region with the following name: + suse-download-test-{region} + + Each bucket contains the iso: + SLE-15-Installer-DVD-x86_64-GM-DVD2.iso + """ + result = host.run( + 'curl http://169.254.169.254/latest/meta-data/instance-type' + ) + instance_type = result.stdout.strip() + + if instance_type not in types: + pytest.skip( + 'Unsupported EC2 instance type: {0}.'.format(instance_type) + ) + + region = determine_region('ec2') + + if region in special_regions: + pytest.skip( + 'Skipped special region: {0}'.format(region) + ) + + url = 'https://suse-download-test-{0}.s3.amazonaws.com/' \ + 'SLE-15-Installer-DVD-x86_64-GM-DVD2.iso'.format( + region + ) + + dl_result = host.run( + 'curl -o /dev/null --max-time {0} --silent ' + '--write-out "%{{size_download}}" {1}'.format( + types[instance_type], url + ) + ) + + size = dl_result.stdout.strip() + if size != '1214599168': + raise Exception('Download failed!') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/conftest.py new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/conftest.py --- old/python3-ipa-2.1.0/usr/share/lib/ipa/tests/SLES/conftest.py 2018-08-15 16:27:14.000000000 +0200 +++ new/python3-ipa-2.2.0/usr/share/lib/ipa/tests/SLES/conftest.py 2018-10-31 20:06:48.000000000 +0100 @@ -150,6 +150,32 @@ 'SLE-HA12-SP3-Updates' ] +SLE_12_SP4_BASE = [ + 'SLES12-SP4-Debuginfo-Pool', + 'SLES12-SP4-Debuginfo-Updates', + 'SLES12-SP4-Pool', + 'SLES12-SP4-Updates', + 'SLE-SDK12-SP4-Debuginfo-Pool', + 'SLE-SDK12-SP4-Debuginfo-Updates', + 'SLE-SDK12-SP4-Pool', + 'SLE-SDK12-SP4-Updates' +] + +SLE_12_SP4_MODULES = SLE_12_SP3_MODULES + +SLE_12_SP4_SAP = [ + 'SLE12-SP4-SAP-Debuginfo-Pool', + 'SLE-12-SP4-SAP-Debuginfo-Updates', + 'SLE12-SP4-SAP-Pool', + 'SLE12-SP4-SAP-Source-Pool', + 'SLE-12-SP4-SAP-Updates', + 'SLE-HA12-SP4-Debuginfo-Pool', + 'SLE-HA12-SP4-Debuginfo-Updates', + 'SLE-HA12-SP4-Pool', + 'SLE-HA12-SP4-Source-Pool', + 'SLE-HA12-SP4-Updates' +] + SLE_15_BASE = [ 'SLE-Module-Basesystem15-Debuginfo-Pool', 'SLE-Module-Basesystem15-Debuginfo-Updates', @@ -222,6 +248,8 @@ '12-SP2-SAP': SLE_12_SP2_SAP + SLE_12_SP2_BASE + SLE_12_SP2_MODULES, '12-SP3': SLE_12_SP3_BASE + SLE_12_SP3_MODULES, '12-SP3-SAP': SLE_12_SP3_SAP + SLE_12_SP3_BASE + SLE_12_SP3_MODULES, + '12-SP4': SLE_12_SP4_BASE + SLE_12_SP4_MODULES, + '12-SP4-SAP': SLE_12_SP4_SAP + SLE_12_SP4_BASE + SLE_12_SP4_MODULES, '15': SLE_15_BASE + SLE_15_MODULES + SLE_15_PRODUCTS, '15-SAP': SLE_15_SAP + SLE_15_BASE + SLE_15_MODULES }
participants (1)
-
root