You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALS launches two alr processes in the same file to find a project file and environment (alr --non-interactive printenv and alr --non-interactive show). It seems they unable to work properly.
To Reproduce
Unpack reproducer.tar.gz from ALS #1192. I used a docker container built by vscode to have a clean environment.
Change directory to no-code-navigation and run
forJin`seq 1 10`;do alr -n show > /tmp/alr-$J.log 2>&1&done;wait
For failed alr process you will see Exit 1. Check /tmp/alr-$J.log for their output
Expected Behavior
Generally speaking it would be nice to success all concurrent alr executions, but I see that it's probable hard to achieve and verify by CI/tests. So I'm going to change ALS to launch alr processes in a sequence.
alr version
alr version: 2.0.1
alr logs
'alr --non-interactive show' failed:
Warning: Could not completely remove /root/.local/share/alire/releases/xmlada_24.0.0_ae5a015b/alire/alire.toml.upstream
ERROR: file "/root/.local/share/alire/releases/xmlada_24.0.0_ae5a015b/alire/alire.toml.upstream" could not be deleted
ERROR: alr encountered an unexpected error, re-run with -d for details.
ERROR: error location: 0x6347e939877f ada__directories__delete_file at ???
'alr --non-interactive printenv' failed:
Warning: Could not completely remove /root/.local/share/alire/releases/xmlada_24.0.0_ae5a015b/alire/alire.toml.upstream
ERROR: file "/root/.local/share/alire/releases/xmlada_24.0.0_ae5a015b/alire/alire.toml.upstream" could not be deleted
ERROR: alr encountered an unexpected error, re-run with -d for details. ERROR: error location: 0x62f95b2fa77f ada__directories__delete_file at ???
'alr --non-interactive printenv' failed:
ERROR: file "alire" not found ERROR:
alr encountered an unexpected error, re-run with -d for details. ERROR: error location: 0x579f6a2450c9 ada__directories__rename at ???
Warning: Could not completely remove /root/.local/share/alire/releases/gnatcoll_24.0.0_11c512d1
Warning: Contents listing failed with code: 2
ERROR: Deployment of source archive gnatcoll-core-24.0.0.zip at https://github.com/adacore/gnatcoll-core/archive/v24.0.0/gnatcoll-core-24.0.0.zip with hash sha512:11c512d1b4adec34953bb4247c92d01a1333d6246a925317a5b3d2b30ff05f32246d6e7cfec12df243f4e58d4820e91ac506ff758e8856e527cb0674c1ee029a to /root/.local/share/alire/releases/gnatcoll_24.0.0_11c512d1 failed
Warning: Could not completely remove /root/.local/share/alire/releases/gnatcoll_24.0.0_11c512d1
ERROR: Deployment of source archive gnatcoll-core-24.0.0.zip at https://github.com/adacore/gnatcoll-core/archive/v24.0.0/gnatcoll-core-24.0.0.zip with hash sha512:11c512d1b4adec34953bb4247c92d01a1333d6246a925317a5b3d2b30ff05f32246d6e7cfec12df243f4e58d4820e91ac506ff758e8856e527cb0674c1ee029a to /root/.local/share/alire/releases/gnatcoll_24.0.0_11c512d1 failed
The text was updated successfully, but these errors were encountered:
ALS launches two
alr
processes in the same file to find a project file and environment (alr --non-interactive printenv
andalr --non-interactive show
). It seems they unable to work properly.To Reproduce
no-code-navigation
and runalr
process you will seeExit 1
. Check/tmp/alr-$J.log
for their outputExpected Behavior
Generally speaking it would be nice to success all concurrent
alr
executions, but I see that it's probable hard to achieve and verify by CI/tests. So I'm going to change ALS to launchalr
processes in a sequence.alr
versionalr
logsThe text was updated successfully, but these errors were encountered: