Update integration jobs and fix broken unit tests
The release of Ansible 2.5 broke some unit tests that are fixed in this commit. We're also updating the versions of things we're testing. Change-Id: I4774a26395f56918d9c982128cf8844585d82465
This commit is contained in:
parent
a53680313a
commit
b030fb097e
@ -112,13 +112,11 @@ regressions. Here's our current testing coverage:
|
||||
+------------------+--------+--------+----------+--------+--------+
|
||||
| - | Fedora | CentOS | OpenSUSE | Debian | Ubuntu |
|
||||
+==================+========+========+==========+========+========+
|
||||
| Ansible 2.2.3.0 | | | | X | |
|
||||
| Ansible 2.4.3.0 | | X | | X | |
|
||||
+------------------+--------+--------+----------+--------+--------+
|
||||
| Ansible 2.3.2.0 | | X | | | |
|
||||
| Ansible 2.5.0 | X | | X | | X |
|
||||
+------------------+--------+--------+----------+--------+--------+
|
||||
| Ansible "latest" | X | | X | | X |
|
||||
+------------------+--------+--------+----------+--------+--------+
|
||||
| Ansible "devel" | X | | | | X |
|
||||
| Ansible "devel" | X | | | | X |
|
||||
+------------------+--------+--------+----------+--------+--------+
|
||||
|
||||
You might also be interested in reading the project manifesto_ in order to have
|
||||
|
@ -121,6 +121,7 @@ class TestRead(TestAra):
|
||||
|
||||
self.task = MagicMock(Task)
|
||||
self.task.async = 0
|
||||
self.task.async_val = False
|
||||
self.task.args = {
|
||||
'key': 'test-key',
|
||||
'value': 'test-value',
|
||||
@ -162,6 +163,7 @@ class TestRead(TestAra):
|
||||
def _test_task(self, playbook):
|
||||
name = 'test-task-%s' % self.tag
|
||||
task = Task(name, playbook.path)
|
||||
task.async_val = False
|
||||
self.cb.v2_playbook_on_task_start(task, False)
|
||||
return task
|
||||
|
||||
@ -174,6 +176,7 @@ class TestRead(TestAra):
|
||||
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'playbook': r_playbook.id,
|
||||
'key': 'test-key',
|
||||
@ -203,6 +206,7 @@ class TestRead(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-key',
|
||||
}
|
||||
@ -234,6 +238,7 @@ class TestRead(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'key',
|
||||
}
|
||||
|
@ -159,6 +159,7 @@ class TestRecord(TestAra):
|
||||
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'playbook': r_playbook.id,
|
||||
'key': 'test-text',
|
||||
@ -185,6 +186,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-text',
|
||||
'value': 'test-value',
|
||||
@ -213,6 +215,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-url',
|
||||
'value': 'http://url',
|
||||
@ -241,6 +244,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-json',
|
||||
'value': '{"foo": "bar"}',
|
||||
@ -269,6 +273,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-list',
|
||||
'value': ['foo', 'bar'],
|
||||
@ -297,6 +302,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-dict',
|
||||
'value': {'foo': 'bar'},
|
||||
@ -325,6 +331,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-notype',
|
||||
'value': 'test-value'
|
||||
@ -352,6 +359,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-wrongtype',
|
||||
'value': ['foo', 'bar'],
|
||||
@ -381,6 +389,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-update',
|
||||
'value': 'test-value',
|
||||
@ -425,6 +434,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'value': 'test-value'
|
||||
}
|
||||
@ -449,6 +459,7 @@ class TestRecord(TestAra):
|
||||
"""
|
||||
task = MagicMock(Task)
|
||||
task.async = 0
|
||||
task.async_val = False
|
||||
task.args = {
|
||||
'key': 'test-key',
|
||||
}
|
||||
|
@ -6,35 +6,35 @@
|
||||
timeout: 900
|
||||
|
||||
- job:
|
||||
name: ara-integration-debian-py27-2.2.3.0
|
||||
name: ara-integration-debian-py27-2.4.3.0
|
||||
parent: ara-integration-base
|
||||
vars:
|
||||
python_test_version: py27
|
||||
ansible_test_version: 2.2.3.0
|
||||
ansible_test_version: 2.4.3.0
|
||||
nodeset: debian-jessie
|
||||
|
||||
- job:
|
||||
name: ara-integration-centos-py27-2.3.2.0
|
||||
name: ara-integration-centos-py27-2.4.3.0
|
||||
parent: ara-integration-base
|
||||
vars:
|
||||
python_test_version: py27
|
||||
ansible_test_version: 2.3.2.0
|
||||
ansible_test_version: 2.4.3.0
|
||||
nodeset: centos-7
|
||||
|
||||
- job:
|
||||
name: ara-integration-opensuse-py27-latest
|
||||
name: ara-integration-opensuse-py27-2.5.0
|
||||
parent: ara-integration-base
|
||||
vars:
|
||||
python_test_version: py27
|
||||
ansible_test_version: latest
|
||||
ansible_test_version: 2.5.0
|
||||
nodeset: opensuse-423
|
||||
|
||||
- job:
|
||||
name: ara-integration-ubuntu-py35-2.3.2.0
|
||||
name: ara-integration-ubuntu-py35-2.5.0
|
||||
parent: ara-integration-base
|
||||
vars:
|
||||
python_test_version: py35
|
||||
ansible_test_version: 2.3.2.0
|
||||
ansible_test_version: 2.5.0
|
||||
nodeset: ubuntu-xenial
|
||||
|
||||
- job:
|
||||
@ -46,11 +46,11 @@
|
||||
nodeset: ubuntu-xenial
|
||||
|
||||
- job:
|
||||
name: ara-integration-fedora-py35-latest
|
||||
name: ara-integration-fedora-py35-2.5.0
|
||||
parent: ara-integration-base
|
||||
vars:
|
||||
python_test_version: py35
|
||||
ansible_test_version: latest
|
||||
ansible_test_version: 2.5.0
|
||||
nodeset: fedora-27
|
||||
|
||||
- job:
|
||||
|
@ -1,19 +1,19 @@
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- ara-integration-debian-py27-2.2.3.0
|
||||
- ara-integration-centos-py27-2.3.2.0
|
||||
- ara-integration-opensuse-py27-latest:
|
||||
voting: false
|
||||
- ara-integration-ubuntu-py35-2.3.2.0
|
||||
- ara-integration-debian-py27-2.4.3.0
|
||||
- ara-integration-centos-py27-2.4.3.0
|
||||
- ara-integration-opensuse-py27-2.5.0
|
||||
- ara-integration-ubuntu-py35-2.5.0
|
||||
- ara-integration-ubuntu-py35-devel:
|
||||
voting: false
|
||||
- ara-integration-fedora-py35-latest
|
||||
- ara-integration-fedora-py35-2.5.0
|
||||
- ara-integration-fedora-py35-devel:
|
||||
voting: false
|
||||
gate:
|
||||
jobs:
|
||||
- ara-integration-debian-py27-2.2.3.0
|
||||
- ara-integration-centos-py27-2.3.2.0
|
||||
- ara-integration-ubuntu-py35-2.3.2.0
|
||||
- ara-integration-fedora-py35-latest
|
||||
- ara-integration-debian-py27-2.4.3.0
|
||||
- ara-integration-centos-py27-2.4.3.0
|
||||
- ara-integration-opensuse-py27-2.5.0
|
||||
- ara-integration-ubuntu-py35-2.5.0
|
||||
- ara-integration-fedora-py35-2.5.0
|
||||
|
Loading…
Reference in New Issue
Block a user