You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Tedy Yu <te...@gmail.com> on 2021/09/09 04:26:23 UTC

fail to build jmeter using gradlew, exception "Self-suppression not permitted"

New to gradle and JMeter build.
According to the JMeter doc, it can be built entirely using Gradle.
The basic command is:

./gradlew build

However, when I try to build jmeter-rel-v5.4, it reports following error:

./gradlew build checksum-dependency elapsed time: 30118ms,
configurations processed: 4

SHA-512 computation time: 2ms (goes in parallel, it might exceed
wall-clock time), files processed: 1, processed: 0MiB, skipped: 63MiB
PGP signature resolution time: 27ms (wall-clock), resolution requests:
3, signatures resolved: 42
PGP key resolution time: 30010ms (wall-clock), resolution requests: 3,
download time: 210005ms (goes in parallel, it might

exceed wall-clock time), keys downloaded: 12 PGP signature
verification time: 0ms (goes in parallel, it might exceed wall-clock
time), files processed: 0, processed: 0MiB, skipped: 0MiB

FAILURE: Build failed with an exception.

What went wrong: A problem occurred configuring project ':buildSrc'.

Self-suppression not permitted

Try: Run with --stacktrace option to get the stack trace. Run with
--info or --debug option to get more log output. Run with --scan to
get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 32s

I also run it again with "--scan" and upload logs online for
diagnosis. https://scans.gradle.com/s/6dln6uvdiykec

As I'm working behind a proxy, I've set the proxy in
~/.gradle/gradle.properties like:

systemProp.http.proxyHost=my-proxy
systemProp.http.proxyPort=8080
systemProp.https.proxyHost=my-proxy
systemProp.https.proxyPort=8080

I actually also modified gradle.properties in project root. All those
measures including -Dhttp.proxyPort, etc. in the gradlew command line,
none of them work for me. It makes me think it is not a proxy
configuration issue.

Please help.

-- 
Regards,
Tedy