Empty Repositories on Jenkins Server

Questions about YourKit YouMonitor
Locked
Sherman
Posts: 5
Joined: Wed Nov 28, 2018 3:41 pm

Empty Repositories on Jenkins Server

Post by Sherman »

Hello,

This may be related to viewtopic.php?f=7&t=40293.

Code: Select all

Jenkins ver. 2.121.2
YouMonitor YourKit-YouMonitor-2018.10-b31
It seems that the Jenkins plugin is not registering repositories?
I can see in a job's log that it is running the agent and sending logs back from the remote execution. The logs are making it back to the master Jenkins node and I can see there is data related to the run.

However there are no repositories found by the YouMonitor client, and our "/youmonitor/api/v1beta/repositories" endpoint returns:

Code: Select all

{"message":{"repositories":[]}}
The only other information I could find was this snippet from the jenkins log.

Code: Select all

Nov 28, 2018 1:49:04 PM INFO com.yourkit.plugins.jenkins.PluginLogger info

Updating super repository /var/lib/jenkins/youmonitor/repositories; found=0; jobs=0

Nov 28, 2018 1:49:04 PM INFO com.yourkit.plugins.jenkins.PluginLogger info

Skip /var/lib/jenkins/youmonitor/repositories/nceht9i7zj5rf0v1; not a repository

Nov 28, 2018 1:49:04 PM INFO com.yourkit.plugins.jenkins.PluginLogger info

Skip /var/lib/jenkins/youmonitor/repositories/7nsk6ts5ipwu6tyi; not a repository

Nov 28, 2018 1:49:04 PM INFO com.yourkit.plugins.jenkins.PluginLogger info

Skip /var/lib/jenkins/youmonitor/repositories/hfix4aigfo0232w5; not a repository

Nov 28, 2018 1:49:04 PM INFO com.yourkit.plugins.jenkins.PluginLogger info

Skip /var/lib/jenkins/youmonitor/repositories/hh3fj0rzh7e5g9ln; not a repository
Please let me know if there is anything I may have missed or any other information I can provide to help deubg this. Thanks.
Ilya Kalikin
Posts: 16
Joined: Mon Jun 12, 2017 3:06 pm

Re: Empty Repositories on Jenkins Server

Post by Ilya Kalikin »

Hi,
what output do you see on this URL "/youmonitor/api/v1beta/info" ?
Make sure the latest plugin is installed, it should appear here at the bottom: "/pluginManager/installed".
Could you please provide build log messages indicated with "[YourKit YouMonitor]".
If you cannot share this information in the forum please send it to [email protected]
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Empty Repositories on Jenkins Server

Post by Vladimir Kondratyev »

Just a follow-up to IIlya's answer: did you accepted YourKit EULA in Jenkins plug-in? The v2018.10-b31 plug-in requires EULA to be accepted and also requires evaluation license to work.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Sherman
Posts: 5
Joined: Wed Nov 28, 2018 3:41 pm

Re: Empty Repositories on Jenkins Server

Post by Sherman »

Hi there,

Thank you for the pointer on the latest plugin, I didn't set that part up but I did check we were not using the latest version.

I can't restart Jenkins at the moment but I will try on Monday and let you know.

Have a good weekend!
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Empty Repositories on Jenkins Server

Post by Vladimir Kondratyev »

Thanks for the notice. Please let us know whether the latest plugin fixes the issue.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Sherman
Posts: 5
Joined: Wed Nov 28, 2018 3:41 pm

Re: Empty Repositories on Jenkins Server

Post by Sherman »

Evening!

I got the chance to restart the server tonight and also updated to b32. However I'm being prompted for licenses during the build. I couldn't find any information about this on your site or in the downloads available.

Is this something I have to contact you directly about?
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Empty Repositories on Jenkins Server

Post by Vladimir Kondratyev »

To get the key, please do the following:

- Open "Manage Jenkins", then "YourKit YouMonitor"
- Click "Get free evaluation license key" and follow instructions.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Sherman
Posts: 5
Joined: Wed Nov 28, 2018 3:41 pm

Re: Empty Repositories on Jenkins Server

Post by Sherman »

Thank you very much.

I have it activated and will let you know if things go well when the next build rolls up.
Sherman
Posts: 5
Joined: Wed Nov 28, 2018 3:41 pm

Re: Empty Repositories on Jenkins Server

Post by Sherman »

Hi There,

Just to let you know things are working without issue.

Thank you for your help and patience.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Empty Repositories on Jenkins Server

Post by Vladimir Kondratyev »

Great! Thank you for the notice.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Locked