-
Notifications
You must be signed in to change notification settings - Fork 2.7k
ARM-CI: Make the Linux ARM emulator check automatic #5211
Conversation
Merging this PR depends on #5209 and confirmation that the Linux ARM emulator build works correctly. Dont merge until further notice |
@dotnet-bot test Linux ARM emulator build |
@dotnet-bot test Linux ARM emulator build |
Update: The previous PRs have not yet resolved the errors in Linux ARM emulator build. Merging this PR will have to wait until the errors are resolved. |
@dotnet-bot test Linux ARM emulator build |
Recently I was experimenting with ARM 'chroot' in 'docker' container and got similar issue. In my case it failed because '/proc/sys/fs/binfmt_misc/' was not mounted. |
@mkborg I checked this issue on the CI machines. This error was caused as the qemu-arm-static binary was not installed correctly. I have resolved this error, but I dont know if the new emulator rootfs has been activated in the CI machines after that. @jashook Could you please confirm if the CI machines are using the latest emulator image? |
@dotnet-bot test Linux ARM emulator build |
@jashook I have made a change in the timeout of the job (extending from previous 2 hours to 4 hours). I think with this change everything should work well. This PR also makes the CI check automatic. Can you please review this PR and merge it as soon as possible? |
LTGM. Acked-by: MyungJoo Ham I've been waiting for this long enough :) |
@prajwal-aithal can you hoist out the timeout change into its own PR? Also, the inner dev loop is expected to run well within this timeout by design. Changing the timeout for the jobs that run on PR is not something we are willing to do. In the meantime this is still ok to run post check-in. Why is this build so long? Does it have to be done in the emulated environment? Can we not do cross builds to solve this problem? |
@dotnet-bot test Linux ARM emulator Debug Build |
@dotnet-bot test Linux ARM emulator Release Build |
@dotnet-bot test Linux ARM emulator Debug build |
I would suggest to use |
I suppose emulator is mainly for ARM soft FP. Then why |
@dotnet-bot test CI Please |
@dotnet-bot test Linux ARM emulator Debug build |
@dotnet-bot test Linux ARM emulator Debug build |
@dotnet-bot test Linux ARM emulator Release build |
@jashook The builds are failing. However, the errors seem to be caused by the CI system rather than the emulator build itself. Could you please look at the errors? |
@prajwal-aithal I have found the problem, working on it now. |
@dotnet-bot test Linux ARM emulator Release build |
@jashook The build is failing with the following error
I remember creating this directory ( |
@dotnet-bot test Linux ARM emulator Release build |
@dotnet-bot test Linux ARM emulator Debug build |
@prajwal-aithal looks like the problem still exists with the bash script. I am unable to reproduce that error manually on the machine or through the script environment in jenkins. |
@mmitche PTAL |
@jashook That error is caused by the absence of the the |
@prajwal-aithal I see, we will need to capture that vm and use it in the ci system. |
@jashook Ohh, can this be done soon or would this take a lot of time? |
@prajwal-aithal hopefully soon, working on it now. |
@jashook Thank you. Looking forward to see the result of the cross build on the updated VM. |
@prajwal-aithal the CI machine change has been merged. It should take anywhere between 5 to 25 min to take effect. |
@dotnet-bot test Linux ARM Emulator Cross Debug Build |
@dotnet-bot test Linux ARM emulator Debug build |
@dotnet-bot test Linux ARM emulator Release build |
@dotnet-bot test Linux ARM emulator Release build |
@dotnet-bot test Linux ARM emulator Debug build |
@jashook There is typo in the result archive path ( I have initiated PR #5942 to resolve the same. I am very sorry for this duplication of effort. Could you please review that PR and merge it. I will trigger the final (hopefully) tests around 20 minutes after that PR is merged. |
* Previously the Linux ARM emulator build had to be triggered manually * Making this check automatic based on the stability of emulator build Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
@dotnet-bot test CI please |
@dotnet-bot test Linux ARM emulator Debug build |
@dotnet-bot test Linux ARM emulator Release build |
@jashook Both tests have passed successfully. Thanks a lot for your efforts in integrating the Linux ARM emulator checks into the CI systems. |
@jashook Can we make the Linux ARM emulator build tests automatic on a per PR basis by merging this PR? (CI has been tested already) |
@prajwal-aithal lgtm. Thank you for the work. We still have an outstanding problem that the existing arm32 ubuntu cross build does not exist. I believe this is because the name of the arm build is used for both the emulator and the cross build. Either way, this can be addressed later. |
…mate-arm-ci ARM-CI: Make the Linux ARM emulator check automatic Commit migrated from dotnet/coreclr@63796e5
Signed-off-by: Prajwal A N an.prajwal@samsung.com