Commit Graph
1882 Commits
Author SHA1 Message Date
Oliver Gondža ca067fd273 [JENKINS-19752] Forgotten debug statement 2013-09-26 18:08:40 +02:00
Oliver Gondža 82af0fb562 [JENKINS-19752] Test 2013-09-26 16:34:39 +02:00
Oliver Gondža 2b2a5b4d72 Junit 4 2013-09-26 16:19:49 +02:00
Kohsuke Kawaguchi d5678365eb the trunk is toward 1.534-SNAPSHOT 2013-09-24 08:51:30 -07:00
Oliver Gondža 786c1d8993 Merge pull request #938 from vjuranek/vjuranek-JENKINS-19488 2013-09-21 18:37:42 +02:00
Oliver Gondža 66fdeab216 [JENKINS-19488] test for #938 2013-09-21 18:28:49 +02:00
christ66 562204628e Add @DataBoundConstructor to SleepBuilder along with test unit. 2013-09-17 17:26:12 -07:00
Stefan Wolf 92e81bf0c9 Merge branch 'master' into aggregate-test-result
Conflicts:
	changelog.html
2013-09-17 20:55:53 +02:00
Kohsuke Kawaguchi 61b1de7e92 the trunk is toward 1.533-SNAPSHOT 2013-09-16 21:15:29 -07:00
Jesse Glick 41a4ef6526 Random failure.
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1199/testReport/hudson.tasks/FingerprinterTest/fingerprintCleanup/
java.lang.AssertionError: expected:<[hudson.model.FreeStyleProject@590e5b8[test0]]> but was:<[]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at hudson.tasks.FingerprinterTest.fingerprintCleanup(FingerprinterTest.java:302)
2013-09-16 17:23:33 -04:00
Jesse Glick 8c59dc7939 JUnit 4.
And ignoring an occasionally failing test:
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1198/testReport/junit/hudson.model/UpdateCenter2Test/testInstall/
Sep 16, 2013 12:39:53 PM com.gargoylesoftware.htmlunit.html.HtmlPage loadJavaScriptFromUrl
SEVERE: Error loading JavaScript from [http://localhost:50727/update-center.json?id=default&version=1.532-SNAPSHOT%20(private-09%2F16%2F2013%2015%3A35%20GMT-jenkins)].
java.io.IOException: GET http://localhost:50727/update-center.json?id=default&version=1.532-SNAPSHOT%20(private-09%2F16%2F2013%2015%3A35%20GMT-jenkins) failed
	at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:130)
	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1456)
	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1387)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(HtmlPage.java:988)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:953)
	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:359)
	at com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:223)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:556)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:487)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:451)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:522)
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:529)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:536)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:458)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:918)
	at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:182)
	at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:200)
	at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:619)
	at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:886)
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:529)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:536)
	at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:891)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1133)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:177)
	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:456)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374)
	at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1811)
	at org.jvnet.hudson.test.HudsonTestCase$WebClient.goTo(HudsonTestCase.java:1802)
	at org.jvnet.hudson.test.HudsonTestCase$WebClient$goTo.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	at hudson.model.UpdateCenter2Test.testInstall(UpdateCenter2Test.groovy:41)
	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 junit.framework.TestCase.runTest(TestCase.java:176)
	at org.jvnet.hudson.test.HudsonTestCase.runTest(HudsonTestCase.java:428)
	at junit.framework.TestCase.runBare(TestCase.java:141)
	at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:290)
	at junit.framework.TestResult$1.protect(TestResult.java:122)
	at junit.framework.TestResult.runProtected(TestResult.java:142)
	at junit.framework.TestResult.run(TestResult.java:125)
	at junit.framework.TestCase.run(TestCase.java:129)
	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.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:150)
	at java.net.SocketInputStream.read(SocketInputStream.java:121)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
	at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
	at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
	at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
	at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
	at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
	at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:101)
	... 55 more
2013-09-16 14:00:31 -04:00
Oliver Gondža 37d1b8d7a4 Merge pull request #855 from olivergondza/node-permissions 2013-09-16 11:00:22 +02:00
Kohsuke Kawaguchi d5eccdb23f Fixing more test flakiness 2013-09-15 09:47:07 -07:00
Kohsuke Kawaguchi 79ffc5eaa8 fixing tets flakines 2013-09-15 09:45:36 -07:00
Kohsuke Kawaguchi b18ae5af38 wait for the start of a build more properly 2013-09-15 08:48:54 -07:00
Kohsuke Kawaguchi 4d6d2432ad added a convenience class 2013-09-15 08:48:29 -07:00
Kohsuke Kawaguchi 5cd4c63ccb fixing a test failure 2013-09-14 16:04:37 -07:00
Kohsuke Kawaguchi 2fa89daf54 added @Terminator as the opposite of @Initializer 2013-09-14 13:04:35 -07:00
Stefan Wolf dd2b4a1805 [FIXED JENKINS-9637] Make link on Job page to aggregated Test result appear correctly 2013-09-13 22:18:08 +02:00
Oliver Gondža 83d5ac10a5 [JENKINS-18485] Enable Computer.EXTENDED_READ permission using "hudson.security.ExtendedReadPermission". 2013-09-12 17:05:06 +02:00
Jesse Glick b74750934c Merge branch 'master' into ArtifactManager-JENKINS-17236
Conflicts:
	core/src/main/java/hudson/FilePath.java
	core/src/main/java/hudson/tasks/ArtifactArchiver.java
2013-09-12 07:57:32 -04:00
Jesse Glick 259f16bdad [JENKINS-19034] Noting. 2013-09-12 07:49:17 -04:00
Jesse Glick 62ed20ee3f Merge pull request #891 from ndeloof/JENKINS-19034
[FIXED JENKINS-19034] restore missing buildnumber-ID symlink
2013-09-12 04:47:40 -07:00
Kohsuke Kawaguchi 4373a60256 the trunk is toward 1.532-SNAPSHOT 2013-09-09 16:32:04 -07:00
Kohsuke Kawaguchi e116b906bd improving error reporting 2013-09-09 00:58:24 +01:00
Kohsuke Kawaguchi ac274f153b [JENKINS-19457]
Added a test case in an attempt to isolate the root cause of the problem, but this one works as expected. Hmm.
2013-09-05 10:40:05 +02:00
Vincent Latombe b2c20fd9db Simplify assertions since webClient#getPage already throws an exception
in case of erroneous http status code.
2013-09-04 09:29:11 +02:00
Oliver Gondža 18582f8c6d Bump args4j to 2.0.23 as an alternative to #776 2013-09-01 23:03:19 +02:00
Oliver Gondža 83410feb4e Add tests for #919 2013-09-01 20:07:25 +02:00
Vincent Latombe 6031878c80 Checking that links generated in ListView are valid 2013-08-31 11:19:26 +02:00
Stefan Wolf 3bf39c16f9 Merge pull request #916 from wolfs/aggregate-test-result
[FIXED JENKINS-9637] Fixed the 404 when clicking the testResult on the Project Page when there is only an aggregated test result.
2013-08-30 13:25:44 -07:00
Jesse Glick bf444887ac [FIXED JENKINS-19377] ViewJob.removeRun must take effect synchronously or LogRotator gets confused. 2013-08-27 12:22:26 -04:00
Kohsuke Kawaguchi d19a70acf4 the trunk is toward 1.531-SNAPSHOT 2013-08-27 07:54:41 -07:00
Jesse Glick 2c428d8096 @DataBoundConstructor does not belong on constructos of abstract classes. 2013-08-26 16:50:44 -04:00
Stefan Wolf 58e8bd7a2e [FIXED JENKINS-9637] Fixed the 404 when clicking the testResult on the Project Page when there is only an aggregated test result for a freestyle job. The name of the link is still wrong. 2013-08-23 16:14:08 +02:00
Stefan Wolf 629be4ab30 [FIXED JENKINS-9637] Fixed the 404 when clicking the testResult on the Project Page when there is only an aggregated test result for a freestyle job. The name of the link is still wrong. 2013-08-23 15:58:30 +02:00
Nicolas De Loof 2f7520c3d4 [FIXED JENKINS-19034] restore missing buildnumber-ID symlink when updating permalink 2013-08-23 15:35:55 +02:00
Jesse Glick 862544b249 Satisfy DirectoryBrowserSupport with a new VirtualFile. 2013-08-21 16:38:27 -04:00
Jesse Glick 01fa0201fc First draft of reworked artifact listing API. 2013-08-21 14:05:25 -04:00
Jesse Glick f846169fb5 Moving what is essentially unit test code out of the test harness module. 2013-08-21 13:06:17 -04:00
Jesse Glick a3d099b652 ArtifactManagerFactory/ArtifactManagerConfiguration to let the administrator select what to use. 2013-08-20 17:46:55 -04:00
Jesse Glick 4ef0018101 Merge branch 'master' into ArtifactManager-JENKINS-17236
Conflicts:
	core/src/main/java/hudson/model/Run.java
	test/src/test/java/hudson/maven/MavenMultiModuleTest.java
2013-08-20 13:18:23 -04:00
Jesse Glick a92e9da978 [FIXED JENKINS-18846] Update symlinks for Maven module builds. 2013-08-20 13:05:21 -04:00
Jesse Glick 34a461eb40 Queue up artifacts from a Maven build so they can all be archived in one call (per module). 2013-08-19 14:26:53 -04:00
Kohsuke Kawaguchi ec503aa831 the trunk is toward 1.530-SNAPSHOT 2013-08-19 08:13:13 -07:00
Vojtech Juranek cc2bc4249c Add test for PR #909 2013-08-16 13:21:53 +02:00
Oliver Gondža 5db147e858 [FIXED JENKINS-18485] Introduce Computer.EXTENDED_READ permission
From now on user needs:
      Computer.CREATE to use 'create-node' CLI command
      Computer.DELETE to use 'delete-node' CLI command
      Computer.CONFIGURE to use 'update-node' CLI command and its REST alternative
      Computer.EXTENDED_READ to use 'get-node' CLI command and its REST alternative
2013-08-13 20:27:06 +02:00
Jesse Glick 4d8bfb5538 [FIXED JENKINS-19186] Robustness against malformed test result XML. 2013-08-13 12:48:46 -04:00
Kohsuke Kawaguchi 1e9f90a45d the trunk is toward 1.529-SNAPSHOT 2013-08-13 08:03:59 -07:00
Jesse Glick adec3bb0c5 Random failure.
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1065/testReport/junit/hudson.model/ProjectTest/testPoll/
2013-08-09 21:56:45 -04:00