Updating conflict dependencies

Updating query for bug 1945926
Fixing some tox tasks

Change-Id: I4c5cd562246c42662f827a91a66ced8eeb6a70a5
This commit is contained in:
frenzyfriday 2021-10-04 13:08:15 +02:00
parent 0131d0c244
commit 0b83cdd279
5 changed files with 12 additions and 6 deletions

View File

@ -1393,7 +1393,10 @@
}, },
{ {
"name": "conflict_dependencies", "name": "conflict_dependencies",
"regex": "ERROR: Cannot install -r .* because these package versions have conflicting dependencies" "regex": [
"ERROR: Cannot install -r .* because these package versions have conflicting dependencies",
"Cannot install networkx>=2.4.0 because these package versions have conflicting dependencies"
]
} }
] ]
} }

View File

@ -44,7 +44,7 @@ distro==1.5.0
# via lazr.restfulclient # via lazr.restfulclient
docutils==0.17.1 docutils==0.17.1
# via python-daemon # via python-daemon
git+https://opendev.org/opendev/elastic-recheck.git#egg=elastic-recheck git+https://opendev.org/opendev/elastic-recheck.git@rdo#egg=elastic-recheck
# via -r requirements.in # via -r requirements.in
extras==1.0.0 extras==1.0.0
# via # via

View File

@ -739,6 +739,8 @@ queries:
pattern: pattern:
- "ERROR: Cannot install -r" - "ERROR: Cannot install -r"
- "because these package versions have conflicting dependencies." - "because these package versions have conflicting dependencies."
regex: "ERROR: Cannot install -r .* because these package versions have conflicting dependencies" regex:
- "ERROR: Cannot install -r .* because these package versions have conflicting dependencies"
- "Cannot install networkx>=2.4.0 because these package versions have conflicting dependencies"
sova_tag: console sova_tag: console
url: https://bugs.launchpad.net/tripleo/+bug/1943170 url: https://bugs.launchpad.net/tripleo/+bug/1945926

View File

@ -19,11 +19,12 @@ deps =
commands = commands =
python3 src/model.py python3 src/model.py
bash -c "cat src/data/queries.yml | yq | jsonschema -i /dev/stdin output/queries-schema.json" bash -c "cat src/data/queries.yml | yq | jsonschema -i /dev/stdin output/queries-schema.json"
python3 src/sova-converter.py
ansible-galaxy collection install -r requirements.yml ansible-galaxy collection install -r requirements.yml
ansible-playbook -v playbooks/sova.yml
python3 src/er-converter.py python3 src/er-converter.py
python3 src/sova-converter.py
ansible-playbook playbooks/er.yml ansible-playbook playbooks/er.yml
ansible-playbook -v playbooks/sova.yml
passenv = passenv =
CURL_CA_BUNDLE # https proxies, https://github.com/tox-dev/tox/issues/1437 CURL_CA_BUNDLE # https proxies, https://github.com/tox-dev/tox/issues/1437
FORCE_COLOR FORCE_COLOR