[JIRA] (JENKINS-58362) CommandLauncher2Test.requireApproval failure due to two copies of SystemCommandLanguage

0 katselukertaa
Siirry ensimmäiseen lukemattomaan viestiin

jglick@cloudbees.com (JIRA)

lukematon,
5.7.2019 klo 10.22.015.7.2019
vastaanottaja jenkinsc...@googlegroups.com
Jesse Glick updated Bug JENKINS-58362
 
Jenkins / Bug JENKINS-58362
CommandLauncher2Test.requireApproval failure due to two copies of SystemCommandLanguage
Change By: Jesse Glick
Status: In Progress Review
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

lukematon,
5.7.2019 klo 10.22.015.7.2019
vastaanottaja jenkinsc...@googlegroups.com
Jesse Glick started work on Bug JENKINS-58362
 
Change By: Jesse Glick
Status: Open In Progress

jglick@cloudbees.com (JIRA)

lukematon,
5.7.2019 klo 10.22.025.7.2019
vastaanottaja jenkinsc...@googlegroups.com
Jesse Glick created an issue
Issue Type: Bug Bug
Assignee: Jesse Glick
Components: command-launcher-plugin, core, jenkins-test-harness
Created: 2019-07-05 14:21
Labels: plugin-compat-tester regression lts-candidate
Priority: Minor Minor
Reporter: Jesse Glick

JENKINS-57528 included a bump to the detached script-security which should have been paired with a bump to the detached command-launcher. To reproduce, run

mvn -f command-launcher-plugin test -Djenkins.version=2.176.1 -Dtest=CommandLauncher2Test\#requireApproval

which passes; now bump its parent to 3.47 and include

-Djenkins.version=2.176.2-rc28314.ce9ac38e8574 -Pconsume-incrementals

which pulls in this backport by Oliver Gondža and you will get a failure:

java.lang.AssertionError: expected:<org.jenkinsci.plugins.scriptsecurity.scripts.languages.SystemCommandLanguage@...> but was:<org.jenkinsci.plugins.command_launcher.SystemCommandLanguage@...>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at hudson.slaves.CommandLauncher2Test$1.evaluate(CommandLauncher2Test.java:119)

jglick@cloudbees.com (JIRA)

lukematon,
5.7.2019 klo 10.24.015.7.2019
vastaanottaja jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-58362
 
Re: CommandLauncher2Test.requireApproval failure due to two copies of SystemCommandLanguage

While there are three associated pull requests, only jenkins #4099 is important to backport to the stable-2.176 branch.

jglick@cloudbees.com (JIRA)

lukematon,
5.7.2019 klo 10.25.025.7.2019
vastaanottaja jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

lukematon,
11.7.2019 klo 10.52.0111.7.2019
vastaanottaja jenkinsc...@googlegroups.com
Change By: Jesse Glick
Status: In Review Fixed but Unreleased
Resolution: Fixed
Released As: 2.185

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

lukematon,
15.7.2019 klo 6.29.0215.7.2019
vastaanottaja jenkinsc...@googlegroups.com

adrien.lecharpentier@gmail.com (JIRA)

lukematon,
8.8.2019 klo 4.22.028.8.2019
vastaanottaja jenkinsc...@googlegroups.com

ogondza@gmail.com (JIRA)

lukematon,
8.8.2019 klo 6.26.028.8.2019
vastaanottaja jenkinsc...@googlegroups.com

Adrien Lecharpentier, 2.176.3 is already complete and is currently being tested without this fix in it. So it will have to wait for the next line.

dbeck@cloudbees.com (JIRA)

lukematon,
5.9.2019 klo 5.54.185.9.2019
vastaanottaja jenkinsc...@googlegroups.com
Daniel Beck updated an issue
 
Change By: Daniel Beck
Labels: lts-candidate plugin-compat-tester regression
Vastaa kaikille
Vastaa kirjoittajalle
Välitä
0 uutta viestiä