|
|
@ -26,9 +26,12 @@
|
|
|
|
chdir: "{{ galaxy_dir }}/resolvelib"
|
|
|
|
chdir: "{{ galaxy_dir }}/resolvelib"
|
|
|
|
|
|
|
|
|
|
|
|
- name: install a conflicting version of the dep with the tarfile (expected failure)
|
|
|
|
- name: install a conflicting version of the dep with the tarfile (expected failure)
|
|
|
|
command: ansible-galaxy collection install namespace1.name1:1.0.9 ns-coll-1.0.0.tar.gz -vvvvv -s {{ test_name }} -p collections/
|
|
|
|
command: ansible-galaxy collection install namespace1.name1:1.0.9 ns-coll-1.0.0.tar.gz -vvvvv -s galaxy_ng -p collections/
|
|
|
|
args:
|
|
|
|
args:
|
|
|
|
chdir: "{{ galaxy_dir }}/resolvelib"
|
|
|
|
chdir: "{{ galaxy_dir }}/resolvelib"
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
|
|
|
ANSIBLE_NOCOLOR: true
|
|
|
|
|
|
|
|
ANSIBLE_FORCE_COLOR: false
|
|
|
|
timeout: 30
|
|
|
|
timeout: 30
|
|
|
|
ignore_errors: yes
|
|
|
|
ignore_errors: yes
|
|
|
|
register: incompatible
|
|
|
|
register: incompatible
|
|
|
@ -37,6 +40,12 @@
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- incompatible.failed
|
|
|
|
- incompatible.failed
|
|
|
|
- not incompatible.msg.startswith("The command action failed to execute in the expected time frame")
|
|
|
|
- not incompatible.msg.startswith("The command action failed to execute in the expected time frame")
|
|
|
|
|
|
|
|
- expected in incompatible.msg
|
|
|
|
|
|
|
|
vars:
|
|
|
|
|
|
|
|
expected: |
|
|
|
|
|
|
|
|
Failed to resolve the requested dependencies map. Could not satisfy the following requirements:
|
|
|
|
|
|
|
|
* namespace1.name1:1.0.9 (direct request)
|
|
|
|
|
|
|
|
* namespace1.name1:0.0.5 (dependency of ns.coll:1.0.0)
|
|
|
|
|
|
|
|
|
|
|
|
always:
|
|
|
|
always:
|
|
|
|
- name: cleanup resolvelib test
|
|
|
|
- name: cleanup resolvelib test
|
|
|
|