Open
Description
ARM Linux modules fail (silently, which my be linked to #38). See RTK test e.g. here. The error message is
Building wheels for aarch64 using manylinux_2_28
+ sudo ldconfig
/opt/rh/gcc-toolset-11/root/usr/bin/sudo: line 41: /usr/bin/sudo: No such file or directory
Cleaning up artifacts from module build
and in the Publish Python package as GitHub Artifact
:
Run actions/upload-artifact@v3
with:
name: LinuxWheel38
path: dist/*.whl
if-no-files-found: warn
Warning: No files were found with the provided path: dist/*.whl. No artifacts will be uploaded.
I probably did something wrong but that's not obvious to me what...
Activity
tbirdso commentedon Jan 13, 2023
Hi @SimonRit , it looks like the GitHub runner encountered a connection issue while trying to install
sudo
on theaarch64
image during the run:Would you please try re-running the job and see if the build succeeds on retry?
I agree that a silent failure is not ideal. As part of #38 we should add a sanity check to at minimum verify that a wheel is generated in
dist/
.SimonRit commentedon Jan 13, 2023
Sure, I have launched it again...
SimonRit commentedon Jan 14, 2023
Same result, https://github.com/RTKConsortium/RTK/actions/runs/3910081483/jobs/6691993707. But for a different reason it seems
No clue why. I'll disable ARM for the time being and keep that for later...
SimonRit commentedon Jan 16, 2023
I have opened a new PR with the same result.
tbirdso commentedon Jan 16, 2023
@SimonRit Thanks for re-running to reproduce the error. Unfortunately I am not familiar with the
lto-wrapper
issue. It seems that something is going wrong with LinkTimeOptimization (lto) but the error message doesn't leave us much to go on. Perhaps @thewtex or @jcfr might have additional thoughts here?It would be helpful if you could attempt the following:
CMAKE_VERBOSE_MAKEFILE:BOOL=ON
to see if you can get any more details on the failure;Additional notes:
lto-wrapper
failure. If RTK ARM builds are consistently approaching the timeout limit then it might be worthwhile to investigate self-hosting for a faster build, preferably on an ARM machine.SimonRit commentedon Jan 18, 2023
Thanks a lot for the suggestions. I have pushed a commit for 1. I might try the rest later on but this does not have the highest priority on my side... And I don't have an ARM machine and I have never used AWS so that might not be easy. To be continued...
thewtex commentedon Jan 18, 2023
Link Time Optimization is memory heavy, so we may be running out of memory. LTO can be disabled, so that may be one option for some modules.
tbirdso commentedon Jan 19, 2023
@SimonRit silent failures are now addressed in 1b946ca, please update the next time you push changes.