https://github.com/LibraryOfCongress/simple-artifact-uploader/blob/master/src/test/java/gov/loc/repository/ArtifactoryPluginTest.java#L30 is causing a
Caused by: java.lang.UnsatisfiedLinkError: /tmp/gradle1671374982016007532projectDir/userHome/native/19/linux-amd64/libnative-platform.so: /tmp/gradle1671374982016007532projectDir/userHome/native/19/linux-amd64/libnative-platform.so: failed to map segment from shared object: Operation not permitted
even when -Djava.io.tmpdir is set to a different directory. Is there some other property I should be using instead?
So just to make things more clear, to reproduce
- clone https://github.com/LibraryOfCongress/simple-artifact-uploader.git on a server that has /tmp mounted with noexec
- run
gradle gradle test -Djava.io.tmpdir=<SOME DIRECTORY THAT HAS EXEC>
it still tries to use /tmp as the unpack space for ProjectBuilder
Has any of the gradle team looked at this?
Bump?