newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 144 forks source link

Add new instrumentation for io.lettuce:lettuce-core:6.5.0.RELEASE and above #2119

Open jasonjkeller opened 4 days ago

jasonjkeller commented 4 days ago

The lettuce-6.0 is failing the instrumentation verifier as of the new io.lettuce:lettuce-core:6.5.0.RELEASE version. We will need to add a new lettuce-6.5 instrumentation module.

> Task :instrumentation:lettuce-6.0:verifyPass_io.lettuce_lettuce-core_6.5.0.RELEASE FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':instrumentation:lettuce-6.0:verifyPass_io.lettuce_lettuce-core_6.5.0.RELEASE'.
> A failure occurred while executing com.newrelic.agent.instrumentation.verify.VerifyWorkAction
   > Verification FAILED. Instrumentation module lettuce-6.0-1.0.jar SHOULD HAVE applied to io.lettuce:lettuce-core:6.5.0.RELEASE and did not. You may need to adjust the range "io.lettuce:lettuce-core:[6.0.0.RELEASE,)".
     Verifier output:
     Creating user classloader with custom classpath:
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.lettuce/lettuce-core/6.5.0.RELEASE/3c36e493558bc63db1047d599bb57caccf7e7e8f/lettuce-core-6.5.0.RELEASE.jar
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler/4.1.113.Final/df48be9ca640df01c66c1ee88fc2cd91987c31ab/netty-handler-4.1.113.Final.jar
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport-native-unix-common/4.1.113.Final/e8d1d4ba444e203fd8af42a9d22e1032d89daa32/netty-transport-native-unix-common-4.1.113.Final.jar
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec/4.1.113.Final/370ab9b7c1b31b32423498331c1f723cda3332cb/netty-codec-4.1.113.Final.jar
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.netty/netty-transport/4.1.113.Final/8ba0a07b6ca61aefd607ca2a91ebd1cce28f5e3d/netty-transport-4.1.113.Final.jar
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.netty/netty-resolver/4.1.113.Final/ffe3172485dd1e433271a60195d4a26fd9398be7/netty-resolver-4.1.113.Final.jar
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.netty/netty-buffer/4.1.113.Final/69462f1f5528fb95477fa3b15a1e755ada0df66/netty-buffer-4.1.113.Final.jar
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.netty/netty-common/4.1.113.Final/1a7fe68aa349746008e5cff490aa6077728aac5a/netty-common-4.1.113.Final.jar
        /Users/jkeller/.gradle/caches/modules-2/files-2.1/io.projectreactor/reactor-core/3.6.6/b337a57753cf1bf653a7eb1083c1117c449a353b/reactor-core-3.6.6.jar
        /Users/jkeller/.m2/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4.jar

     ReferenceViolation{type=INVALID_REFERENCE, weaveClass=io/lettuce/core/AbstractRedisAsyncCommands, originalClass=io/lettuce/core/protocol/ProtocolKeyword, violationMessage=missing method. weave code expects method: name()Ljava/lang/String;}
     WeaveViolation{type=INIT_NEW_UNSUPPORTED, clazz=io/lettuce/core/StatefulRedisConnectionImpl, method=<init>(Lio/lettuce/core/RedisChannelWriter;Lio/lettuce/core/protocol/PushHandler;Lio/lettuce/core/codec/RedisCodec;Ljava/time/Duration;)V}
     WeaveViolation{type=METHOD_NEW_NON_PRIVATE_UNSUPPORTED, clazz=io/lettuce/core/StatefulRedisConnectionImpl, method=<init>(Lio/lettuce/core/RedisChannelWriter;Lio/lettuce/core/protocol/PushHandler;Lio/lettuce/core/codec/RedisCodec;Ljava/time/Duration;)V}
workato-integration[bot] commented 4 days ago

https://new-relic.atlassian.net/browse/NR-335972