openjdk-runtime icon indicating copy to clipboard operation
openjdk-runtime copied to clipboard

Profiler Agent Bug

Open bboughton opened this issue 5 years ago • 1 comments

The version of the java profiler agent pre-installed in the image has a bug in it that prevents profiler data from being published to a project other then the project that the agent is hosted in. The latest version of the profiler has fixed this bug. Unfortunately the version of this dependency is not pinned so I can't tell you which version it is using and which version fixes the issue.

MD5 checksum of the old version: a5957970960fbb73bf80bdccde2fa6fb MD5 checksum of the new version: 7220b2ad1e7a44381bbc866512ef975e

To work around this issue I have added the following to my Dockerfile:

RUN mkdir -p /opt/cprof && \
    wget -q -O- https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz \
    | tar xzv -C /opt/cprof

bboughton avatar Jun 10 '19 17:06 bboughton

Well I think it is not preinstalled, if you look at openjdk8/src/main/docker/Dockerfile you can see that it is being pulled using ADD https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz /opt/cprof/

montss avatar Aug 21 '19 19:08 montss