On 9/24/20 9:44 AM, Martin Perina wrote:


On Thu, Sep 24, 2020 at 8:26 AM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Sep 23, 2020 at 4:42 PM Vojtech Juranek <vjuranek@redhat.com> wrote:
>
> Hi,
> can anybody look on OST, it fails constantly with error bellow.
> See e.g. [1, 2] for full logs.
> Thanks
> Vojta
>
> [1] https://jenkins.ovirt.org/job/ovirt-system-tests_manual/7381/
> [2] https://jenkins.ovirt.org/job/ovirt-system-tests_manual/7382/
>
> 13:07:16 ../basic-suite-master/test-scenarios/
> 002_bootstrap_pytest.py::test_verify_engine_backup [WARNING]: Invalid
> characters were found in group names but not replaced, use
> 13:07:22 -vvvv to see details

I think this warning is unrelated, it's coming from here:

https://jenkins.ovirt.org/job/ovirt-system-tests_manual/7381/consoleText

../basic-suite-master/test-scenarios/001_initialize_engine_pytest.py::test_check_ansible_connectivity
[WARNING]: Invalid characters were found in group names but not
replaced, use
-vvvv to see details
Yeah, these warnings are completely unrelated and harmless (although pretty ugly)


Perhaps it's due to:

ost_utils/ost_utils/pytest/fixtures/ansible.py

ANSIBLE_ENGINE_PATTERN = "~lago-.*-engine"
ANSIBLE_HOSTS_PATTERN = "~lago-.*-host-[0-9]"
ANSIBLE_HOST0_PATTERN = "~lago-.*-host-0"
ANSIBLE_HOST1_PATTERN = "~lago-.*-host-1"

?

Perhaps this can help understand:

https://gerrit.ovirt.org/111433

Adding Marcin ...
No, it's for a different reason - it's about how lago creates ansible inventory.
This is fixed in py3-based lago, so you won't see these errors in el8 OST runs, but still visible on el7 runs.
The fix for this is here: https://github.com/lago-project/lago/pull/814

Overall the ansible output in OST should be improved because it's much too noisy.
I'll take care of it once I get rid of lago dependencies in basic suite.



Best regards,

> 13:07:22 /usr/lib/python2.7/site-packages/requests/__init__.py:91:
> RequestsDependencyWarning: urllib3 (1.25.10) or chardet (3.0.4) doesn't match
> a supported version!
> 13:07:22   RequestsDependencyWarning)
> 13:07:22 lago-basic-suite-master-engine | CHANGED => {
> 13:07:22     "changed": true,
> 13:07:22     "gid": 0,
> 13:07:22     "group": "root",
> 13:07:22     "mode": "0755",
> 13:07:22     "owner": "root",
> 13:07:22     "path": "/var/log/ost-engine-backup",
> 13:07:22     "secontext": "unconfined_u:object_r:var_log_t:s0",
> 13:07:22     "size": 6,
> 13:07:22     "state": "directory",
> 13:07:22     "uid": 0
> 13:07:22 }
>
> 13:07:44 [WARNING]: Invalid characters were found in group names but not
> replaced, use
> 13:07:44 -vvvv to see details
> 13:07:44 /usr/lib/python2.7/site-packages/requests/__init__.py:91:
> RequestsDependencyWarning: urllib3 (1.25.10) or chardet (3.0.4) doesn't match
> a supported version!
> 13:07:44   RequestsDependencyWarning)
> 13:07:44 lago-basic-suite-master-engine | FAILED | rc=1 >>
> 13:07:44 Start of engine-backup with mode 'backup'
> 13:07:44 scope: all
> 13:07:44 archive file: /var/log/ost-engine-backup/backup.tgz
> 13:07:44 log file: /var/log/ost-engine-backup/log.txt
> 13:07:44 Backing up:
> 13:07:44 Notifying engine
> 13:07:44 - Files
> 13:07:44 - Engine database 'engine'
> 13:07:44 - DWH database 'ovirt_engine_history'
> 13:07:44 - Grafana database '/var/lib/grafana/grafana.db'
> 13:07:44 Notifying engineFATAL: failed to backup /var/lib/grafana/grafana.db
> with sqlite3non-zero return code
> 13:17:47 FAILED_______________________________________________
> Devel mailing list -- devel@ovirt.org
> To unsubscribe send an email to devel-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/J7USSMZT3FYOAS4JMC4DKV3QS4CUIR42/



--
Didi
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/HMN2L5DC4V6PLXD3GIHG445N7WVFFR5L/


--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.