[JIRA] (JENKINS-59600) Promotion logs not accessible anymore after Jenkins upgrade

29 views
Skip to first unread message

dirk.heinrichs@recommind.com (JIRA)

unread,
Oct 1, 2019, 3:01:02 AM10/1/19
to jenkinsc...@googlegroups.com
Dirk Heinrichs created an issue
 
Jenkins / Bug JENKINS-59600
Promotion logs not accessible anymore after Jenkins upgrade
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-10-01 07:00
Environment: Linux
Priority: Major Major
Reporter: Dirk Heinrichs

After update from 2.73.3 to 2.190.1, we can't access promotion logs anymore. While the link looks correct, Jenkins now shows the log of the promoted build instead of the promotion log.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jake.price@gmail.com (JIRA)

unread,
Oct 4, 2019, 11:19:04 AM10/4/19
to jenkinsc...@googlegroups.com
Jake Price commented on Bug JENKINS-59600
 
Re: Promotion logs not accessible anymore after Jenkins upgrade

Facing the same issue as well which has made it difficult to troubleshoot promotion failures.

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 3:46:02 AM10/7/19
to jenkinsc...@googlegroups.com

This is probably either a security fix in 2.138.4 or 2.176.2. The Jenkins system log should include a relevant message.

dirk.heinrichs@recommind.com (JIRA)

unread,
Oct 7, 2019, 3:59:04 AM10/7/19
to jenkinsc...@googlegroups.com

This one, maybe?

Use of toString() on hudson.util.Secret from org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:53). Prefer getPlainText() or getEncryptedValue() depending your needs. see https://jenkins.io/redirect/hudson.util.Secret/ 

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 4:21:05 AM10/7/19
to jenkinsc...@googlegroups.com

dirk.heinrichs@recommind.com (JIRA)

unread,
Oct 7, 2019, 4:54:02 AM10/7/19
to jenkinsc...@googlegroups.com

Neither warnings mentioned under above links show up in the log here when I try to view a promotion log.

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 5:38:02 AM10/7/19
to jenkinsc...@googlegroups.com

Interesting. This might be related to a change in Jenkins 2.138.2 that should not have any side effects. Unfortunately these versions are so old that it's no longer straightforward to set up a new Jenkins instance with all the required dependencies from scratch.

Ideally someone here can confirm it works in 2.138.1 (or 2.146) and does no longer work in 2.138.2 (or 2.147).

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 6:19:02 AM10/7/19
to jenkinsc...@googlegroups.com

Confirmed broke in 2.138.2 (which is interestingly older than the minimum version for current releases of 2.138.4, so manual or automated testing before release should have caught this).

jake.price@gmail.com (JIRA)

unread,
Oct 7, 2019, 6:31:02 AM10/7/19
to jenkinsc...@googlegroups.com

For what it's worth my upgrade path to 2.190.1 looked like this:

 

2.164.3 (promotion logs working) -> 2.190.1 (broken)

I had to roll back and rolled back to 2.176.1 where it is once again working.  2.176.3 gave me LDAP plugin issues so that is why 2.176.1 was chosen.

jake.price@gmail.com (JIRA)

unread,
Oct 7, 2019, 6:36:03 AM10/7/19
to jenkinsc...@googlegroups.com
Jake Price edited a comment on Bug JENKINS-59600

jake.price@gmail.com (JIRA)

unread,
Oct 7, 2019, 6:37:03 AM10/7/19
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 6:40:03 AM10/7/19
to jenkinsc...@googlegroups.com
Daniel Beck started work on Bug JENKINS-59600
 
Change By: Daniel Beck
Status: Open In Progress

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 6:40:04 AM10/7/19
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 6:40:05 AM10/7/19
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 11:44:04 AM10/7/19
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
 
Change By: Daniel Beck
Component/s: promoted-builds-plugin
Component/s: core

dbeck@cloudbees.com (JIRA)

unread,
Oct 7, 2019, 11:49:03 AM10/7/19
to jenkinsc...@googlegroups.com

2.164.3 (promotion logs working) -> 2.190.1 (broken)

Based on Filipe's analysis in a comment to JENKINS-58337 that's probably only because you're changing versions of both core and plugins here. The problem was introduced in Jenkins 2.138.2/2.147 and integrated into the plugin in 3.3.

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 7, 2019, 8:13:04 PM10/7/19
to jenkinsc...@googlegroups.com
Change By: Oleg Nenashev
Status: In Review Resolved
Resolution: Fixed
Released As: Promoted Builds 3.4

jeff.dege@korterra.com (JIRA)

unread,
Oct 29, 2019, 2:15:03 PM10/29/19
to jenkinsc...@googlegroups.com
Jeff Dege commented on Bug JENKINS-59600
 
Re: Promotion logs not accessible anymore after Jenkins upgrade

This is a show-stopper for us,

I'm trying to set up promotions on a job, and I'm getting this every time I try to re-execute a promotion.

Any ideas when it will be fixed?

Or what I need to roll back, and how far, to get this working?

 

Reply all
Reply to author
Forward
0 new messages