adoptium / adoptium/run-aqa

'git clone' hit the issue 'Windows Subsystem for Linux has no installed distributions' on 'windows latest' runner

Open
#35 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4
Forks
27
Avg merge
2d 9h
Merged PRs (30d)
8

Description

Running system test | openjdk test hit the issue 'Windows Subsystem for Linux has no installed distributions' on github action runner window latest(2019).

```
clone_stf:
[echo] Cloning from: https://github.com/AdoptOpenJDK/stf.git -b master
[exec] Cloning into 'stf'...
[exec] Windows Subsystem for Linux has no installed distributions.
[exec] Distributions can be installed by visiting the Microsoft Store:
[exec] https://aka.ms/wslstore
[exec]

BUILD FAILED
D:\a\runaqaTest\runaqaTest\openjdk-tests\TKG\scripts\build_test.xml:58: The following error occurred while executing this line
```

```
[echo] git clone --depth 1 -q -b dev https://github.com/AdoptOpenJDK/openjdk-jdk11u.git
[exec] Windows Subsystem for Linux has no installed distributions.
[exec] Distributions can be installed by visiting the Microsoft Store:
[exec] https://aka.ms/wslstore
[exec]

BUILD FAILED
D:\a\runaqaTest\runaqaTest\openjdk-tests\TKG\scripts\build_test.xml:58: The following error occurred while executing this line:
D:\a\runaqaTest\runaqaTest\openjdk-tests\openjdk\build.xml:255: The following error occurred while executing this line:
D:\a\runaqaTest\runaqaTest\openjdk-tests\openjdk\build.xml:239: The following error occurred while executing this line:
D:\a\runaqaTest\runaqaTest\openjdk-tests\TKG\scripts\build_test.xml:49: exec returned: -1
```

No issue with window 2016.
https://github.com/sophia-guo/runaqaTest/runs/1294264272?check_suite_focus=true

Some suggestion: https://stackoverflow.com/questions/44829878/trying-to-use-bash-on-windows-and-got-no-installed-distributions-message

Contributor guide

Open the contributing guide

Research direction

Start with the linked GitHub Actions run and the Windows latest runner configuration, then compare it with the Windows 2016 behavior. Trace the clone commands through TKG/scripts/build_test.xml and openjdk/build.xml; done means the OpenJDK system test can clone its repositories successfully on the affected runner.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.