Maksim Davydov created IGNITE-29067:
---------------------------------------
Summary: [ducktests] Make the local Docker runner usable on Windows
Key: IGNITE-29067
URL: https://issues.apache.org/jira/browse/IGNITE-29067
Project: Ignite
Issue Type: Task
Reporter: Maksim Davydov
Assignee: Maksim Davydov
The ducktests Docker runner does not work out of the box on Windows.
1. ducker-ignite build fails to record the image id because it writes into
docker/build/ without creating it;
2. ducker-ignite up dies with failed to find the /etc/hosts entry for ducker01
under Git Bash, where MSYS rewrites the bare /etc/hosts argument into a Windows
path;
3. shell scripts checked out with CRLF (the Git default on Windows) fail inside
the containers, since the checkout is bind-mounted and executed there.
Separately, a checkout on a Windows drive makes node startup take ~250 s
instead of ~4 s, because the classpath is stat-ed across the filesystem
boundary during class loading - enough to exceed the 60 s service startup
timeout and fail tests that pass in seconds from a WSL2 checkout.
This issue also adds a Windows section to modules/ducktests/README.md
documenting the WSL2 setup.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)