[ 
https://issues.apache.org/jira/browse/HDDS-12099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914337#comment-17914337
 ] 

Attila Doroszlai commented on HDDS-12099:
-----------------------------------------

[~chiacyu], thanks for offering help.  Here are some pointers for the task:

- Existing report generation in kubernetes tests: 
https://github.com/apache/ozone/blob/185917669964a81dfc93d3969bec08ccde36b8d3/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh#L167-L172
- The function to be reused from acceptance tests: 
https://github.com/apache/ozone/blob/185917669964a81dfc93d3969bec08ccde36b8d3/hadoop-ozone/dist/src/main/compose/testlib.sh#L413-L432
- I think we should move this {{run_rebot}} function to a new shared shell 
library script, {{hadoop-ozone/dist/src/main/smoketest/testlib.sh}}.  It should 
be {{source}}'d by both {{compose/testlib.sh}} and {{k8s/examples/testlib.sh}}. 
 (Don't forget to add license header).
- Installation of virtualenv and robot framework can be removed from: 
https://github.com/apache/ozone/blob/185917669964a81dfc93d3969bec08ccde36b8d3/hadoop-ozone/dev-support/checks/kubernetes.sh#L29-L30

Please wait with PR until HDDS-12100 is done, to avoid conflicts in 
{{kubernetes.sh}}, but you can start working on the implementation itself.

> Generate kubernetes Robot report in container
> ---------------------------------------------
>
>                 Key: HDDS-12099
>                 URL: https://issues.apache.org/jira/browse/HDDS-12099
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: CI
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> Similar to HDDS-11105, generate report for Robot tests by running {{rebot}} 
> in {{ozone-runner}} container.  This reduces the number of dependencies that 
> have to be installed locally for running tests in Kubernetes environment.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to