-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(cargo): make it possible to test cargo packages #17535
test(cargo): make it possible to test cargo packages #17535
Conversation
Thank you for your contribution! |
📝 Rust and Cargo are required. https://doc.rust-lang.org/cargo/getting-started/installation.html curl https://sh.rustup.rs -sSf | sh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
Please change the status to |
Error message: `executable files aren't found Files in the unarchived package`
There is a problem. Testing the same package ( The reason for failure after the second time is because the executable file aren't found. ERRO[0000] check file_src is correct aqua_version=2.18.0 env=linux/amd64 error="check file_src is correct: exe_path isn't found: stat /root/aquaproj-aqua/pkgs/cargo/crates.io/shellharden/4.3.0/bin/shellharden: no such file or directory" exe_path=/root/a
quaproj-aqua/pkgs/cargo/crates.io/shellharden/4.3.0/bin/shellharden file_name=shellharden package_name=crates.io/shellharden package_version=4.3.0 program=aqua registry=standard
ERRO[0000] executable files aren't found
Files in the unarchived package:
.crates.toml
.crates2.json
bin/shellharden.exe
aqua_version=2.18.0 env=linux/amd64 package_name=crates.io/shellharden package_version=4.3.0 program=aqua registry=standard
ERRO[0000] install the package aqua_version=2.18.0 env=linux/amd64 error="check file_src is correct" package_name=crates.io/shellharden package_version=4.3.0 program=aqua registry=standard
FATA[0000] aqua failed aqua_version=2.18.0 env=linux/amd64 error="it failed to install some packages" program=aqua
[ERROR] Build failed linux/amd64
root@c0094dfb8255:/workspace# ls /root/aquaproj-aqua/pkgs/cargo/crates.io/shellharden/4.3.0/bin
shellharden.exe The cause of the executable file aren't found is because the executable file was renamed when OS was Windows. INFO[0000] rename a file aqua_version=2.18.0 env=windows/amd64 file_name=shellharden new=/root/aquaproj-aqua/pkgs/cargo/crates.io/shellharden/4.3.0/bin/shellharden.exe old=/root/aquaproj-aqua/pkgs/cargo/crates.io/shellharden/4.3.0/bin/shellharden package_name=crates.io/shellharden package_version=4.3.0 program=aqua registry=standard After having run Reproduce the problemIn the case of using
|
Yeah, this is a known issue. The root cause is cmdx tasks share the same container In case of This is a known issue, but I left it for a while because there is no problem for almost all packages.
Currently, removing the container is appropriate workaround. cmdx con
aqua rm "<package name>" To resolve the root cause, maybe we should create containers per platform. |
No description provided.