actions / runner-images

GitHub Actions runner images
MIT License
10.26k stars 3.09k forks source link

linux image build fails due to kotlin tests #11058

Closed H777K closed 2 days ago

H777K commented 3 days ago

Description

Currently the ubuntu image builds are failing, because in the latest kotlin release the kotlin-dce-js.bat has been removed, but it´s still covered by the pester test.

There is already an PR which fixes this for windows images (#11056).

Platforms affected

Runner images affected

Image version and build link

-

Is it regression?

no

Expected behavior

The kotlin pester tests should not throw an error.

Actual behavior

The kotlin pester test is failing because kotlin-dce-js.bat has been removed, but it´s still covered by the test.

Repro steps

Build a linux image.

RaviAkshintala commented 3 days ago

Hi @H777K Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating

PrashantRaj18198 commented 2 days ago

This is happening for macos images as well. Mac builds are failing with similar error.

[-] kotlin-dce-js is available 38ms (38ms|1ms)
Command 'kotlin-dce-js -version' has finished with exit code
/bin/bash: kotlin-dce-js: command not found
at "$toolName -version" | Should -ReturnZeroExitCode, /Users/<sensitive>/image-generation/tests/BasicTools.Tests.ps1:166
H777K commented 2 days ago

@PrashantRaj18198 Yes, this is happening with all images. I´ve already raised a PR which fixes this for the ubuntu images, the same has to be done for macos here:

https://github.com/actions/runner-images/blob/9b0a6c08c91f2bb7dacb0fd69771f18c06aa43ea/images/macos/scripts/tests/BasicTools.Tests.ps1#L162-L163

Unfortunately I can´t raise a PR for macos, because of the contribution guideline (CONTRIBUTING.md)

RaviAkshintala commented 2 days ago

Hi @H777K This PR has been merged. Could you please retry by forking the latest code from the main branch.We are closing this issue, thanks.