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

Maksim Davydov commented on IGNITE-29164:
-----------------------------------------

[~av] [~baranoveg] Thanks for review!

> [ducktests] Support rootless Docker in the local runner
> -------------------------------------------------------
>
>                 Key: IGNITE-29164
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29164
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Maksim Davydov
>            Assignee: Maksim Davydov
>            Priority: Minor
>             Fix For: 2.19
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> On a rootless Docker daemon, docker/run_tests.sh fails before the first test: 
> ducktape gets PermissionError writing .ducktape/metadata/session_id into the 
> checkout mounted at /opt/ignite-dev. 
> The image creates the ducker user with the caller's host uid (IGNITE-27445), 
> but a rootless daemon maps only container uid 0 to the caller, so ducker 
> cannot write the mount. The fix makes ducker-ignite detect a rootless daemon 
> through docker info and build ducker as uid 0, which has the caller's rights 
> on the host and no more; rootful builds are unchanged. The README notes that 
> network fault tests on a rootless daemon need the iptables and sch_netem 
> kernel modules loaded on the host.



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

Reply via email to