[JIRA] (JENKINS-29037) Add Max interval to waitUntil
Title: Message Title Simon So commented on JENKINS-29037 Re: Add Max interval to waitUntil +1 The wait condition sometimes could take a day to two to turn true, so having an unbounded backoff makes it so that we pretty much can't use waitUtil. As a side note, is there another way to pause and continue a pipeline triggered by an external event (like a git merge) without waitUtil? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [github-organization-folder-plugin] (JENKINS-34612) Jenkins 2.1 not registering GitHub org webhooks: "WARNING: Failed to register GitHub Org hook to ..."
Title: Message Title Simon So commented on JENKINS-34612 Re: Jenkins 2.1 not registering GitHub org webhooks: "WARNING: Failed to register GitHub Org hook to ..." Unbelievable. Thank you karlmdavis! Cost me probably a day as well, could have been worse! Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key
Simon Kaufmann commented on JENKINS-21977 java.io.IOException: Failed to clean up temp dirs because of secret.key Looking at the changelog, it seems that the fix got included since 1.579, so you simply need to upgrade. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key
Simon Kaufmann created JENKINS-21977 java.io.IOException: Failed to clean up temp dirs because of secret.key Issue Type: Bug Affects Versions: current Assignee: Unassigned Components: core Created: 27/Feb/14 11:45 AM Description: When testing my plugin by running mvn clean test, my own tests all pass successfully. However, the cleanup for the injected ones fails: org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.006 sec ERROR! java.io.IOException: Failed to clean up temp dirs at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:86) at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:81) at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:414) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:53) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.nio.file.FileSystemException: C:\Users\simon\AppData\Local\Temp\hudson495525951667628343test\secret.key: The process cannot access the file bec ause it is being used by another process. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1077) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.Util.deleteFile(Util.java:238) at hudson.Util.deleteRecursive(Util.java:301) at hudson.Util.deleteContentsRecursive(Util.java:203) at hudson.Util.deleteRecursive(Util.java:292) at hudson.FilePath$12.invoke(FilePath.java:1079) at hudson.FilePath$12.invoke(FilePath.java:1076) at hudson.FilePath.act(FilePath.java:914) at hudson.FilePath.act(FilePath.java:887) at hudson.FilePath.deleteRecursive(FilePath.java:1076) at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:81) at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:81) at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:414) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:53) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at
[JIRA] [core] (JENKINS-21977) java.io.IOException: Failed to clean up temp dirs because of secret.key
Simon Kaufmann updated JENKINS-21977 java.io.IOException: Failed to clean up temp dirs because of secret.key Change By: Simon Kaufmann (27/Feb/14 11:46 AM) Description: Whentestingmypluginbyrunning{{mvncleantest}},myowntestsallpasssuccessfully.However,thecleanupfortheinjectedonesfails:{code}org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest)Timeelapsed:0.006secERROR!java.io.IOException:Failedtocleanuptempdirsatorg.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:86)atorg.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:81)atorg.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:414)atorg.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138)atorg.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:53)atjunit.framework.TestSuite.runTest(TestSuite.java:255)atjunit.framework.TestSuite.run(TestSuite.java:250)atorg.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)atorg.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)atorg.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)atorg.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)atorg.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)atorg.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)atorg.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)Causedby:java.nio.file.FileSystemException:C:\Users\simon\AppData\Local\Temp\hudson495525951667628343test\secret.key:Theprocesscannotaccessthefilebecauseitisbeingusedbyanotherprocess.atsun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)atsun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)atsun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)atsun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)atsun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)atjava.nio.file.Files.delete(Files.java:1077)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)athudson.Util.deleteFile(Util.java:238)athudson.Util.deleteRecursive(Util.java:301)athudson.Util.deleteContentsRecursive(Util.java:203)athudson.Util.deleteRecursive(Util.java:292)athudson.FilePath$12.invoke(FilePath.java:1079)athudson.FilePath$12.invoke(FilePath.java:1076)athudson.FilePath.act(FilePath.java:914)athudson.FilePath.act(FilePath.java:887)athudson.FilePath.deleteRecursive(FilePath.java:1076)atorg.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:81)atorg.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:81)atorg.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:414)atorg.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.tearDown(JellyTestSuiteBuilder.java:138)atorg.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:53)atjunit.framework.TestSuite.runTest(TestSuite.java:255)atjunit.framework.TestSuite.run(TestSuite.java:250)atorg.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)atorg.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)atorg.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)atorg.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)atorg.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)atorg.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)atorg.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103){code}Soapparentlysomethinglocksthesecret.keyfile.Andindeed,runningthefileleakdetector,onecanobservethefollowing:{code}OpenedC:\Users\ kai7si simon
[JIRA] [swarm] (JENKINS-21892) Swarm client fails to create slave if CSRF filter is enabled
Simon Kaufmann created JENKINS-21892 Swarm client fails to create slave if CSRF filter is enabled Issue Type: Bug Assignee: Kohsuke Kawaguchi Components: swarm Created: 20/Feb/14 10:27 AM Description: When having the "Prevent Cross Site Request Forgery exploits" flag enabled, the swarm client fails to create the slave with Failed to create a slave on Jenkins CODE: 403. This is the relevant excerpt from the Jenkins server log: ←[33mFeb 20, 2014 11:17:08 AM hudson.security.csrf.CrumbFilter doFilter WARNING: No valid crumb was included in request for /plugin/swarm/createSlave. Returning 403. Project: Jenkins Priority: Major Reporter: Simon Kaufmann This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [swarm] (JENKINS-21892) Swarm client fails to create slave if CSRF filter is enabled
Simon Kaufmann commented on JENKINS-21892 Swarm client fails to create slave if CSRF filter is enabled I have proposed a fix here: https://github.com/jenkinsci/swarm-plugin/pull/11 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [teamconcert] (JENKINS-21857) com.ibm.team.build.hjplugin-rtc is missing the MANIFEST.MF
Simon Kaufmann created JENKINS-21857 com.ibm.team.build.hjplugin-rtc is missing the MANIFEST.MF Issue Type: Bug Affects Versions: current Assignee: Unassigned Components: teamconcert Created: 18/Feb/14 6:15 PM Description: The com.ibm.team.build.hjplugin-rtc is an eclipse-plugin-project, i.e. it uses the manifest-first approach. However, the MANIFEST.MF file is missing in the repository. In fact, it is excluded from versioning since "/META-INF" is added to the .gitignore. Please add the missing files. This is happens when trying to build it: [ERROR] Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com .ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.h jplugin-rtc. - [Help 1] org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\Users\ kai7si\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamco ncert-plugin\com.ibm.team.build.hjplugin-rtc. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com.ibm.team.bui ld.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc. at org.eclipse.tycho.core.osgitools.DefaultBundleReader.convertPluginManifest(DefaultBundleReader.java:138) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifestFromDirectory(DefaultBundleReader.java:106) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.doLoadManifest(DefaultBundleReader.java:65) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifest(DefaultBundleReader.java:56) at org.eclipse.tycho.core.osgitools.OsgiBundleProject.readArtifactKey(OsgiBundleProject.java:142) at org.eclipse.tycho.core.osgitools.OsgiBundleProject.setupProject(OsgiBundleProject.java:131) at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:62) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 11 more Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc. at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:114) at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:714) at
[JIRA] [teamconcert] (JENKINS-21857) com.ibm.team.build.hjplugin-rtc is missing the MANIFEST.MF
Simon Kaufmann updated JENKINS-21857 com.ibm.team.build.hjplugin-rtc is missing the MANIFEST.MF Change By: Simon Kaufmann (18/Feb/14 6:36 PM) Description: Thecom.ibm.team.build.hjplugin-rtcisaneclipse-plugin-project,i.e.itusesthemanifest-firstapproach.However,theMANIFEST.MFfileismissingintherepository.Infact,itisexcludedfromversioningsince/META-INFisaddedtothe.gitignore.Pleaseaddthemissingfiles.---Thisishappenswhentryingtobuildit:{code}[ERROR]Internalerror:org.eclipse.tycho.core.osgitools.OsgiManifestParserException:ExceptionparsingOSGiMANIFESTC:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc:CouldnotfindaMETA-INF/MANIFEST.MF,plugin.xmlorafragment.xmlinC:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc.-[Help1]org.apache.maven.InternalErrorException:Internalerror:org.eclipse.tycho.core.osgitools.OsgiManifestParserException:ExceptionparsingOSGiMANIFESTC:\ Users\kai7si\ git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc:CouldnotfindaMETA-INF/MANIFEST.MF,plugin.xmlorafragment.xmlinC:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc.atorg.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)atorg.apache.maven.cli.MavenCli.execute(MavenCli.java:537)atorg.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)atorg.apache.maven.cli.MavenCli.main(MavenCli.java:141)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:606)atorg.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)atorg.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)atorg.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)atorg.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)Causedby:org.eclipse.tycho.core.osgitools.OsgiManifestParserException:ExceptionparsingOSGiMANIFESTC:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc:CouldnotfindaMETA-INF/MANIFEST.MF,plugin.xmlorafragment.xmlinC:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc.atorg.eclipse.tycho.core.osgitools.DefaultBundleReader.convertPluginManifest(DefaultBundleReader.java:138)atorg.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifestFromDirectory(DefaultBundleReader.java:106)atorg.eclipse.tycho.core.osgitools.DefaultBundleReader.doLoadManifest(DefaultBundleReader.java:65)atorg.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifest(DefaultBundleReader.java:56)atorg.eclipse.tycho.core.osgitools.OsgiBundleProject.readArtifactKey(OsgiBundleProject.java:142)atorg.eclipse.tycho.core.osgitools.OsgiBundleProject.setupProject(OsgiBundleProject.java:131)atorg.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:62)atorg.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)atorg.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)atorg.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)...11moreCausedby:org.eclipse.osgi.service.pluginconversion.PluginConversionException:CouldnotfindaMETA-INF/MANIFEST.MF,plugin.xmlorafragment.xmlinC:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc.atorg.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:114)atorg.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:714)atorg.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:722)atorg.eclipse.tycho.core.osgitools.DefaultBundleReader.convertPluginManifest(DefaultBundleReader.java:124)...20more{code} This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed