[
https://issues.apache.org/jira/browse/HDDS-11105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-11105:
------------------------------------
Description:
{{compose/testlib.sh}} runs Robot tests in Docker containers. However, it
tries to generate test reports locally, which assumes Robot Framework is
installed on the host. It fails if {{rebot}} is not found, even if all tests
pass.
{{acceptance.sh}} installs Robot Framework if it's not already available.
Therefore it can assume the command {{rebot}} is available for report
generation.
To simplify local use of acceptance tests, {{testlib.sh}} could generate
reports in an {{ozone-runner}} container, similarly to how tests are executed.
Thus we can avoid the need to install Robot Framework.
was:
{{acceptance.sh}} installs Robot Framework if it's not already available.
Therefore it can assume the command {{rebot}} is available for report
generation.
To allow running {{test-all.sh}} and individual tests on a host without Robot
Framework, we should move all report generation into {{acceptance.sh}}.
> Treat missing Robot Framework in host as non-fatal
> --------------------------------------------------
>
> Key: HDDS-11105
> URL: https://issues.apache.org/jira/browse/HDDS-11105
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: CI
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
>
> {{compose/testlib.sh}} runs Robot tests in Docker containers. However, it
> tries to generate test reports locally, which assumes Robot Framework is
> installed on the host. It fails if {{rebot}} is not found, even if all tests
> pass.
> {{acceptance.sh}} installs Robot Framework if it's not already available.
> Therefore it can assume the command {{rebot}} is available for report
> generation.
> To simplify local use of acceptance tests, {{testlib.sh}} could generate
> reports in an {{ozone-runner}} container, similarly to how tests are
> executed. Thus we can avoid the need to install Robot Framework.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]