Hi all,

Has anyone else seen or aware of an issue with context reloading in 
`hpi:run` in the latest (3.13) hpi plugin version?

basically pressing enter in the console to reload caused the following:

INFO: Starting the installation of jackson2-api on behalf of anonymous
Mar 16, 2020 11:19:20 AM 
hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading jackson2-api
Mar 16, 2020 11:19:22 AM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of workflow-scm-step on behalf of anonymous
Mar 16, 2020 11:19:22 AM 
hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading workflow-scm-step

[INFO] restarting o.e.j.m.p.JettyWebAppContext@7746330a{Jenkins 
v2.204.3-cb-9,/jenkins,file:///C:/workarea/source/github/cloudbees/cloudbees-github-reporting-plugin/target/jetty/webapp/,AVAILABLE}{C:\
Users\jnord\.m2\repository\org\jenkins-ci\main\jenkins-war\2.204.3-cb-9\jenkins-war-2.204.3-cb-9.war}
Mar 16, 2020 11:19:57 AM jenkins.model.Jenkins cleanUp
INFO: Stopping Jenkins
Mar 16, 2020 11:19:57 AM jenkins.model.Jenkins$18 onAttained
INFO: Started termination
Mar 16, 2020 11:19:57 AM jenkins.model.Jenkins$18 onAttained
INFO: Completed termination
Mar 16, 2020 11:19:57 AM jenkins.model.Jenkins _cleanUpDisconnectComputers
INFO: Starting node disconnection
Mar 16, 2020 11:19:57 AM jenkins.model.Jenkins _cleanUpShutdownPluginManager
INFO: Stopping plugin manager
Mar 16, 2020 11:19:57 AM jenkins.model.Jenkins _cleanUpPersistQueue
INFO: Persisting build queue
Mar 16, 2020 11:19:57 AM jenkins.model.Jenkins _cleanUpAwaitDisconnects
INFO: Waiting for node disconnection completion
Mar 16, 2020 11:19:57 AM jenkins.model.Jenkins cleanUp
INFO: Jenkins stopped
[INFO] Stopped o.e.j.m.p.JettyWebAppContext@7746330a{Jenkins 
v2.204.3-cb-9,/jenkins,null,UNAVAILABLE}{C:\Users\jnord\.m2\repository\org\jenkins-ci\main\jenkins-war\2.204.3-cb-9\jenkins-war-2.204.3-cb-
9.war}
[WARNING] no such file 
C:\workarea\source\github\cloudbees\cloudbees-github-reporting-plugin\target\jetty\webapp\META-INF\maven\org.jenkins-ci.main\jenkins-war\pom.properties
[INFO] Context path = /jenkins
[INFO] Tmp directory = 
C:\workarea\source\github\cloudbees\cloudbees-github-reporting-plugin\target\jetty
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = (none)
[WARNING] Failed startup of context 
o.e.j.m.p.JettyWebAppContext@7746330a{Jenkins 
v2.204.3-cb-9,/jenkins,null,UNAVAILABLE}{C:\Users\jnord\.m2\repository\org\jenkins-ci\main\jenkins-war\2.204.3-cb-9\je
nkins-war-2.204.3-cb-9.war}
java.lang.IllegalStateException: Failed to delete temp dir 
C:\workarea\source\github\cloudbees\cloudbees-github-reporting-plugin\target\jetty
at org.eclipse.jetty.webapp.WebInfConfiguration.configureTempDirectory 
(WebInfConfiguration.java:535)
at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory 
(WebInfConfiguration.java:424)
at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure 
(WebInfConfiguration.java:138)
at org.eclipse.jetty.webapp.WebAppContext.preConfigure 
(WebAppContext.java:488)
at org.eclipse.jetty.webapp.WebAppContext.doStart (WebAppContext.java:523)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart 
(JettyWebAppContext.java:397)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start 
(AbstractLifeCycle.java:72)
at org.jenkinsci.maven.plugins.hpi.RunMojo.restartWebApp (RunMojo.java:647)
at org.jenkinsci.maven.plugins.hpi.ConsoleScanner.restartWebApp 
(ConsoleScanner.java:149)
at org.jenkinsci.maven.plugins.hpi.ConsoleScanner.checkSystemInput 
(ConsoleScanner.java:104)
at org.jenkinsci.maven.plugins.hpi.ConsoleScanner.run 
(ConsoleScanner.java:62)
[INFO] Restart completed at Mon Mar 16 11:19:58 GMT 2020



Which causes a 503 when you try to visit Jenkins on localhost:8080/jenkins

/James

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/ee8cea94-f38a-499b-8a9d-fb71edffafc8%40googlegroups.com.

Reply via email to