2014-08-25 11:41 GMT+02:00 Eduard Moraru <enygma2002(a)gmail.com>:
>
>
> On Mon, Aug 25, 2014 at 11:55 AM, Eduard Moraru <enygma2002(a)gmail.com>
> wrote:
>
>> Hi Guillaume,
>>
>>
>> On Mon, Aug 25, 2014 at 11:42 AM, Guillaume Louis-Marie Delhumeau <
>> guillaume.delhumeau(a)xwiki.com> wrote:
>>
>>>
>>> Hi Eddy,
>>>
>>> 2014-08-23 23:59 GMT+02:00 Eduard Moraru <enygma2002(a)gmail.com>:
>>>
>>> Hi devs,
>>>>
>>>> Any idea why this test expects that the html export of the homepage
>>>> contains attachments? Is it expected for a document not containing
>>>> attachments to have an empty attachments folder in the exported html zip?
>>>>
>>>
>>> I don't know. Also did someone make a modifications in this area
>>> recently ?
>>>
>>
>> I`m asking because I don`t understand why otherwise this test was waiting
>> for an attachment on the homepage and how was it that it was working before.
>>
>
> I have tried a 5.2 export of the homepage and, indeed there was an
> "attachment" folder inside the html zip with:
>
> - xwiki.ColorThemes.DefaultColorTheme.header.png
>
> - xwiki.ColorThemes.DefaultColorTheme.logo.png
>
>
> These files seem to have been attached to colibri's DefaultColorTheme.
>
>
> While discussing with Caty, the reason seems to be that we have changed
> the DefaultColorTheme, which is now flamingo's specific ColorTheme (named
> still DefaultColorTheme), and it now no longer has the attached logo and
> header (it probably gets them from the filesystem instead), so the exported
> html zip no longer has those files and the "attachment" folder.
>
>
> I am updating the test (and removing the attachment folder mentions), but
> remain concerned about people that will be upgrading.
>
>
> Thanks.
>
>
> P.S.: While looking into this, I have noticed that the exported HTML
> document has broken icons (maybe fontawesome's font is not exported and not
> found?) and badly displayed AppBar links. See
> http://jira.xwiki.org/browse/XWIKI-10830
>
Actually, any webjar resource is not exported either. See:
http://jira.xwiki.org/browse/XWIKI-10833
>
>
>>
>>
>>>
>>>
>>>>
>>>> Also, Guillaume, could you please have a look at my fix for the
>>>> previous fail reason of this test:
>>>> https://github.com/xwiki/xwiki-enterprise/commit/b9260b50a3f69a99c96a050208…
>>>> I committed that fix, but I am not sure why in flamingo we don`t (of if
>>>> we should) have the same type of content in style.css as we do for colibri
>>>> (i.e. @import flamingo.css). At a first glance, I was expecting it to be
>>>> consistent with colibri's style.css. Any thoughts on this?
>>>>
>>>
>>> Flamingo does not use @import because of Respond.js:
>>> https://github.com/scottjehl/Respond
>>>
>>>> Respond.js doesn't parse CSS referenced via @import, nor does it work
>>>> with media queries within style elements, as those styles can't be
>>>> re-requested for parsing.
>>>>
>>> AFAIU, you are currently handling LESS logic in style.css. You have a
>> style.less.vm that imports (LESS imports, not standard CSS imports) other
>> less files and that you ultimately process and output a style.css to be
>> used by the skin.
>>
>> What I was suggesting, to be consistent with colibri (and maybe with
>> other people's expectations that have maybe customised XWiki and are
>> upgrading), is that you use style.css (not style.less[.vm]) as a standard
>> entrypoint in the skin and have it "@import flamingo.css", where
>> flamingo.css is actually the output of a flamingo.less.vm where you do your
>> LESS magic.
>>
>> Does this make sense? Does anyone else identify this as a good practice,
>> something that we want or something that we need?
>>
>> If this is not the case of a backwards compatibility/consistency concern
>> OR if it is not technically possible with the new frameworks involved, then
>> maybe it's not that important as I had imagined it.
>>
>> Thanks,
>> Eduard
>>
>>
>>> So your fix seems good to me.
>>>
>>>
>>>>
>>>> Thanks,
>>>> Eduard
>>>>
>>>>
>>>> On Sat, Aug 23, 2014 at 11:58 PM, Jenkins <build.noreply(a)xwiki.org>
>>>> wrote:
>>>>
>>>>> Check console output at
>>>>> http://ci.xwiki.org/job/xwiki-enterprise-test-misc/3632/ to view the
>>>>> results.
>>>>>
>>>>> Changes since the previous successful build:
>>>>>
>>>>> Changes for Build #3612
>>>>>
>>>>> Changes for Build #3613
>>>>>
>>>>> Changes for Build #3614
>>>>>
>>>>> Changes for Build #3615
>>>>> [Guillaume Delhumeau] Aug 18, 2014 12:24:23 PM XWIKI-10809: Move Font
>>>>> Awesome Icon Theme in the Icon module.
>>>>> (rev 77519cad877ea487b44e3fb1155a54df14c1dbe8)
>>>>>
>>>>> Changes for Build #3616
>>>>> [Guillaume Delhumeau] Aug 18, 2014 1:07:56 PM XWIKI-10809: Move Font
>>>>> Awesome Icon Theme in the Icon module.
>>>>> (rev d660fdd67064ae6ff0259b44cfe937b8597d8a8e)
>>>>>
>>>>> Changes for Build #3617
>>>>> [Guillaume Delhumeau] Aug 20, 2014 5:25:46 PM XE-1404: Switch to
>>>>> Flamingo Skin by default.
>>>>> (rev 7c40f89248189af3486e4be631f5af9e1b566217)
>>>>> [Guillaume Delhumeau] Aug 20, 2014 5:30:43 PM XE-1404: Switch to
>>>>> Flamingo Skin by default.
>>>>> (rev 90f4d266e2bf70a383494066a8493f4ba0985101)
>>>>>
>>>>> Changes for Build #3618
>>>>>
>>>>> Changes for Build #3619
>>>>> [Guillaume Delhumeau] Aug 20, 2014 5:49:43 PM XWIKI-10809: Move Font
>>>>> Awesome Icon Theme in the Icon module.
>>>>> (rev fb62b467cae9932774f56951adcc8a33d3dd36e2)
>>>>>
>>>>> Changes for Build #3620
>>>>> [Guillaume Delhumeau] Aug 20, 2014 6:22:10 PM XWIKI-10823: Rename the
>>>>> LESS module artifacts.
>>>>> (rev 56d184b40058fa529d794c9c04898d6b7f9f1686)
>>>>> [Guillaume Delhumeau] Aug 20, 2014 6:52:16 PM XE-1404: Switch to
>>>>> Flamingo Skin by default.
>>>>> (rev 41d771917b8e076a92c3bd370783c42867e086e1)
>>>>> [Guillaume Delhumeau] Aug 20, 2014 7:01:26 PM XE-1404: Switch to
>>>>> Flamingo Skin by default.
>>>>> (rev a481aeaa498763c11b88a290ba76abb373be1bc5)
>>>>>
>>>>> Changes for Build #3621
>>>>> [Guillaume Delhumeau] Aug 21, 2014 1:12:35 PM XE-1404: Switch to
>>>>> Flamingo Skin by default.
>>>>> (rev 65ede7701c8d2ad86238e1d17eca692f4646e368)
>>>>>
>>>>> Changes for Build #3622
>>>>> [Guillaume Delhumeau] Aug 21, 2014 1:58:27 PM XE-1404: Switch to
>>>>> Flamingo Skin by default.
>>>>> (rev 655d0f6b1869749207543b1c9abb5399deaf38e7)
>>>>>
>>>>> Changes for Build #3623
>>>>>
>>>>> Changes for Build #3624
>>>>>
>>>>> Changes for Build #3625
>>>>> [Guillaume Delhumeau] Aug 21, 2014 5:48:59 PM XE-1404: Switch to
>>>>> Flamingo Skin by default.
>>>>> (rev 61720c645a9cc960a7673611e1d3c01ca5346057)
>>>>>
>>>>> Changes for Build #3626
>>>>>
>>>>> Changes for Build #3627
>>>>>
>>>>> Changes for Build #3628
>>>>> [Vincent Massol] Aug 22, 2014 12:53:09 PM [Misc] Revert changes done
>>>>> by sdumitriu. The relativePath should not be set to not cause problems with
>>>>> Jenkins. BTW I couldn't reproduce the build warning problem that Sergiu
>>>>> fixed in his commit (would be interested to know more about it).
>>>>> (rev a74558130c4625fdd1dd6c3e2b5b609ed6c39b44)
>>>>>
>>>>> Changes for Build #3629
>>>>>
>>>>> Changes for Build #3630
>>>>> [Vincent Massol] Aug 22, 2014 5:34:44 PM [Misc] Force Maven to use its
>>>>> repositories to resolve parent POM for top level modules. This is to
>>>>> prevent any error such as having a pom.xml file located in a directory
>>>>> above the top level modules for example.
>>>>> (rev 172194e2764218ba6796f6fb4e6bd3972ca2ce66)
>>>>> [Vincent Massol] Aug 22, 2014 6:19:43 PM XWIKI-10828: Speed up XWiki
>>>>> instance starting in functional tests
>>>>> (rev 6b00f7cd764aaab4522d1be7b65fff2c481d7a6e)
>>>>> [Eduard Moraru] Aug 23, 2014 12:15:44 AM XE-1404: Switch to Flamingo
>>>>> Skin by default.
>>>>> (rev b9260b50a3f69a99c96a050208e92f8d71688c91)
>>>>>
>>>>> Changes for Build #3631
>>>>>
>>>>> Changes for Build #3632
>>>>>
>>>>>
>>>>>
>>>>> Failed tests:
>>>>>
>>>>> 2 tests failed.
>>>>> FAILED: org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern
>>>>>
>>>>> Error Message:
>>>>> Failed to find the attachment/ directory entry
>>>>>
>>>>> Stack Trace:
>>>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>>>> directory entry
>>>>> at junit.framework.Assert.fail(Assert.java:57)
>>>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>>>> at
>>>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>>>> at
>>>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern(HTMLExportTest.java:50)
>>>>> 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 junit.framework.TestCase.runBare(TestCase.java:141)
>>>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>>>> at
>>>>> junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>>> 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)
>>>>>
>>>>>
>>>>> FAILED: org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage
>>>>>
>>>>> Error Message:
>>>>> Failed to find the attachment/ directory entry
>>>>>
>>>>> Stack Trace:
>>>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>>>> directory entry
>>>>> at junit.framework.Assert.fail(Assert.java:57)
>>>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>>>> at
>>>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>>>> at
>>>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage(HTMLExportTest.java: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 junit.framework.TestCase.runBare(TestCase.java:141)
>>>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>>>> at
>>>>> junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>>> 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)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Last build logs:
>>>>>
>>>>> [...truncated 102973 lines...]
>>>>> at
>>>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>>>> at
>>>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern(HTMLExportTest.java:50)
>>>>> 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 junit.framework.TestCase.runBare(TestCase.java:141)
>>>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>>>> at
>>>>> junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>>> 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)
>>>>>
>>>>> testHTMLExportCurrentPage(org.xwiki.test.misc.HTMLExportTest) Time
>>>>> elapsed: 4.936 sec <<< FAILURE!
>>>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>>>> directory entry
>>>>> at junit.framework.Assert.fail(Assert.java:57)
>>>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>>>> at
>>>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>>>> at
>>>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage(HTMLExportTest.java: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 junit.framework.TestCase.runBare(TestCase.java:141)
>>>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>>>> at
>>>>> junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>>> 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)
>>>>>
>>>>>
>>>>> Results :
>>>>>
>>>>> Failed tests:
>>>>> HTMLExportTest.testHTMLExportPattern:50->assertHTMLExportURL:107
>>>>> Failed to find the attachment/ directory entry
>>>>> HTMLExportTest.testHTMLExportCurrentPage:41->assertHTMLExportURL:107
>>>>> Failed to find the attachment/ directory entry
>>>>>
>>>>> Tests run: 6, Failures: 2, Errors: 0, Skipped: 0
>>>>>
>>>>> [ERROR] There are test failures.
>>>>>
>>>>> Please refer to
>>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/surefire-reports
>>>>> for the individual test results.
>>>>> [JENKINS] Recording test results
>>>>> log4j:WARN No appenders could be found for logger
>>>>> (org.apache.commons.beanutils.converters.BooleanConverter).
>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>> [INFO]
>>>>> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @
>>>>> xwiki-enterprise-test-misc ---
>>>>> [INFO] Installing
>>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/pom.xml
>>>>> to
>>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/.repository/org/xwiki/enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT.pom
>>>>> [INFO] Installing
>>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>>>> to
>>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/.repository/org/xwiki/enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>>>> [INFO]
>>>>> [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @
>>>>> xwiki-enterprise-test-misc ---
>>>>> Downloading:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> Downloaded:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> (835 B at 3.0 KB/sec)
>>>>> Uploading:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> Uploaded:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> (4 KB at 18.7 KB/sec)
>>>>> Downloading:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> Downloaded:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> (974 B at 6.3 KB/sec)
>>>>> Uploading:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> Uploaded:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> (835 B at 25.5 KB/sec)
>>>>> Uploading:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> Uploaded:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> (974 B at 6.1 KB/sec)
>>>>> Uploading:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> Uploaded:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> (115 KB at 883.1 KB/sec)
>>>>> Uploading:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> Uploaded:
>>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>>> (835 B at 32.6 KB/sec)
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD SUCCESS
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 2:59.495s
>>>>> [INFO] Finished at: Sat Aug 23 22:58:05 CEST 2014
>>>>> [INFO] Final Memory: 49M/540M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [WARNING] The requested profile "legacy" could not be activated
>>>>> because it does not exist.
>>>>> [WARNING] The requested profile "jetty" could not be activated because
>>>>> it does not exist.
>>>>> Waiting for Jenkins to finish collecting data
>>>>> [JENKINS] Archiving
>>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/pom.xml
>>>>> to
>>>>> org.xwiki.enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT.pom
>>>>> [JENKINS] Archiving
>>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>>>> to
>>>>> org.xwiki.enterprise/xwiki-enterprise-test-misc/6.2-20140823.205803-188/xwiki-enterprise-test-misc-6.2-20140823.205803-188-tests.jar
>>>>> channel stopped
>>>>> Terminating xvnc.
>>>>> $ vncserver -kill :95
>>>>> Killing Xtightvnc process ID 7445
>>>>> Email was triggered for: Unstable (Test Failures)
>>>>> Sending email for trigger: Unstable (Test Failures)
>>>>>
>>>>
>>>>
>>> Thanks,
>>> Guillaume
>>>
>>
>>
>
2014-08-25 10:55 GMT+02:00 Eduard Moraru <enygma2002(a)gmail.com>:
Hi Guillaume,
>
>
> On Mon, Aug 25, 2014 at 11:42 AM, Guillaume Louis-Marie Delhumeau <
> guillaume.delhumeau(a)xwiki.com> wrote:
>
>>
>> Hi Eddy,
>>
>> 2014-08-23 23:59 GMT+02:00 Eduard Moraru <enygma2002(a)gmail.com>:
>>
>> Hi devs,
>>>
>>> Any idea why this test expects that the html export of the homepage
>>> contains attachments? Is it expected for a document not containing
>>> attachments to have an empty attachments folder in the exported html zip?
>>>
>>
>> I don't know. Also did someone make a modifications in this area recently
>> ?
>>
>
> I`m asking because I don`t understand why otherwise this test was waiting
> for an attachment on the homepage and how was it that it was working before.
>
>
>>
>>
>>>
>>> Also, Guillaume, could you please have a look at my fix for the previous
>>> fail reason of this test:
>>> https://github.com/xwiki/xwiki-enterprise/commit/b9260b50a3f69a99c96a050208…
>>> I committed that fix, but I am not sure why in flamingo we don`t (of if
>>> we should) have the same type of content in style.css as we do for colibri
>>> (i.e. @import flamingo.css). At a first glance, I was expecting it to be
>>> consistent with colibri's style.css. Any thoughts on this?
>>>
>>
>> Flamingo does not use @import because of Respond.js:
>> https://github.com/scottjehl/Respond
>>
>>> Respond.js doesn't parse CSS referenced via @import, nor does it work
>>> with media queries within style elements, as those styles can't be
>>> re-requested for parsing.
>>>
>> AFAIU, you are currently handling LESS logic in style.css. You have a
> style.less.vm that imports (LESS imports, not standard CSS imports) other
> less files and that you ultimately process and output a style.css to be
> used by the skin.
>
> What I was suggesting, to be consistent with colibri (and maybe with other
> people's expectations that have maybe customised XWiki and are upgrading),
> is that you use style.css (not style.less[.vm]) as a standard entrypoint in
> the skin and have it "@import flamingo.css", where flamingo.css is actually
> the output of a flamingo.less.vm where you do your LESS magic.
>
> Does this make sense? Does anyone else identify this as a good practice,
> something that we want or something that we need?
>
I got it, but it will be a problem with respond.js. Respond.js is used to
emulate the media queries on Internet Explorer 8, and it does not work for
css included by @import.
So if I have a file called style.css that does @import "flamingo.css", the
media queries that flamingo.css have will not be emulated by respond.js.
That is the problem.
I don't have an opinion about if your suggestion is a good practice or not.
I can imagine a benefit: the ability to easily customize style.css from the
wiki (in the administration), by adding custom styles after importing the
standard ones.
>
> If this is not the case of a backwards compatibility/consistency concern
> OR if it is not technically possible with the new frameworks involved, then
> maybe it's not that important as I had imagined it.
>
> Thanks,
> Eduard
>
>
>> So your fix seems good to me.
>>
>>
>>>
>>> Thanks,
>>> Eduard
>>>
>>>
>>> On Sat, Aug 23, 2014 at 11:58 PM, Jenkins <build.noreply(a)xwiki.org>
>>> wrote:
>>>
>>>> Check console output at
>>>> http://ci.xwiki.org/job/xwiki-enterprise-test-misc/3632/ to view the
>>>> results.
>>>>
>>>> Changes since the previous successful build:
>>>>
>>>> Changes for Build #3612
>>>>
>>>> Changes for Build #3613
>>>>
>>>> Changes for Build #3614
>>>>
>>>> Changes for Build #3615
>>>> [Guillaume Delhumeau] Aug 18, 2014 12:24:23 PM XWIKI-10809: Move Font
>>>> Awesome Icon Theme in the Icon module.
>>>> (rev 77519cad877ea487b44e3fb1155a54df14c1dbe8)
>>>>
>>>> Changes for Build #3616
>>>> [Guillaume Delhumeau] Aug 18, 2014 1:07:56 PM XWIKI-10809: Move Font
>>>> Awesome Icon Theme in the Icon module.
>>>> (rev d660fdd67064ae6ff0259b44cfe937b8597d8a8e)
>>>>
>>>> Changes for Build #3617
>>>> [Guillaume Delhumeau] Aug 20, 2014 5:25:46 PM XE-1404: Switch to
>>>> Flamingo Skin by default.
>>>> (rev 7c40f89248189af3486e4be631f5af9e1b566217)
>>>> [Guillaume Delhumeau] Aug 20, 2014 5:30:43 PM XE-1404: Switch to
>>>> Flamingo Skin by default.
>>>> (rev 90f4d266e2bf70a383494066a8493f4ba0985101)
>>>>
>>>> Changes for Build #3618
>>>>
>>>> Changes for Build #3619
>>>> [Guillaume Delhumeau] Aug 20, 2014 5:49:43 PM XWIKI-10809: Move Font
>>>> Awesome Icon Theme in the Icon module.
>>>> (rev fb62b467cae9932774f56951adcc8a33d3dd36e2)
>>>>
>>>> Changes for Build #3620
>>>> [Guillaume Delhumeau] Aug 20, 2014 6:22:10 PM XWIKI-10823: Rename the
>>>> LESS module artifacts.
>>>> (rev 56d184b40058fa529d794c9c04898d6b7f9f1686)
>>>> [Guillaume Delhumeau] Aug 20, 2014 6:52:16 PM XE-1404: Switch to
>>>> Flamingo Skin by default.
>>>> (rev 41d771917b8e076a92c3bd370783c42867e086e1)
>>>> [Guillaume Delhumeau] Aug 20, 2014 7:01:26 PM XE-1404: Switch to
>>>> Flamingo Skin by default.
>>>> (rev a481aeaa498763c11b88a290ba76abb373be1bc5)
>>>>
>>>> Changes for Build #3621
>>>> [Guillaume Delhumeau] Aug 21, 2014 1:12:35 PM XE-1404: Switch to
>>>> Flamingo Skin by default.
>>>> (rev 65ede7701c8d2ad86238e1d17eca692f4646e368)
>>>>
>>>> Changes for Build #3622
>>>> [Guillaume Delhumeau] Aug 21, 2014 1:58:27 PM XE-1404: Switch to
>>>> Flamingo Skin by default.
>>>> (rev 655d0f6b1869749207543b1c9abb5399deaf38e7)
>>>>
>>>> Changes for Build #3623
>>>>
>>>> Changes for Build #3624
>>>>
>>>> Changes for Build #3625
>>>> [Guillaume Delhumeau] Aug 21, 2014 5:48:59 PM XE-1404: Switch to
>>>> Flamingo Skin by default.
>>>> (rev 61720c645a9cc960a7673611e1d3c01ca5346057)
>>>>
>>>> Changes for Build #3626
>>>>
>>>> Changes for Build #3627
>>>>
>>>> Changes for Build #3628
>>>> [Vincent Massol] Aug 22, 2014 12:53:09 PM [Misc] Revert changes done by
>>>> sdumitriu. The relativePath should not be set to not cause problems with
>>>> Jenkins. BTW I couldn't reproduce the build warning problem that Sergiu
>>>> fixed in his commit (would be interested to know more about it).
>>>> (rev a74558130c4625fdd1dd6c3e2b5b609ed6c39b44)
>>>>
>>>> Changes for Build #3629
>>>>
>>>> Changes for Build #3630
>>>> [Vincent Massol] Aug 22, 2014 5:34:44 PM [Misc] Force Maven to use its
>>>> repositories to resolve parent POM for top level modules. This is to
>>>> prevent any error such as having a pom.xml file located in a directory
>>>> above the top level modules for example.
>>>> (rev 172194e2764218ba6796f6fb4e6bd3972ca2ce66)
>>>> [Vincent Massol] Aug 22, 2014 6:19:43 PM XWIKI-10828: Speed up XWiki
>>>> instance starting in functional tests
>>>> (rev 6b00f7cd764aaab4522d1be7b65fff2c481d7a6e)
>>>> [Eduard Moraru] Aug 23, 2014 12:15:44 AM XE-1404: Switch to Flamingo
>>>> Skin by default.
>>>> (rev b9260b50a3f69a99c96a050208e92f8d71688c91)
>>>>
>>>> Changes for Build #3631
>>>>
>>>> Changes for Build #3632
>>>>
>>>>
>>>>
>>>> Failed tests:
>>>>
>>>> 2 tests failed.
>>>> FAILED: org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern
>>>>
>>>> Error Message:
>>>> Failed to find the attachment/ directory entry
>>>>
>>>> Stack Trace:
>>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>>> directory entry
>>>> at junit.framework.Assert.fail(Assert.java:57)
>>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>>> at
>>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>>> at
>>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern(HTMLExportTest.java:50)
>>>> 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 junit.framework.TestCase.runBare(TestCase.java:141)
>>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>>> at
>>>> junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>> 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)
>>>>
>>>>
>>>> FAILED: org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage
>>>>
>>>> Error Message:
>>>> Failed to find the attachment/ directory entry
>>>>
>>>> Stack Trace:
>>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>>> directory entry
>>>> at junit.framework.Assert.fail(Assert.java:57)
>>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>>> at
>>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>>> at
>>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage(HTMLExportTest.java: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 junit.framework.TestCase.runBare(TestCase.java:141)
>>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>>> at
>>>> junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>> 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)
>>>>
>>>>
>>>>
>>>>
>>>> Last build logs:
>>>>
>>>> [...truncated 102973 lines...]
>>>> at
>>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>>> at
>>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern(HTMLExportTest.java:50)
>>>> 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 junit.framework.TestCase.runBare(TestCase.java:141)
>>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>>> at
>>>> junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>> 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)
>>>>
>>>> testHTMLExportCurrentPage(org.xwiki.test.misc.HTMLExportTest) Time
>>>> elapsed: 4.936 sec <<< FAILURE!
>>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>>> directory entry
>>>> at junit.framework.Assert.fail(Assert.java:57)
>>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>>> at
>>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>>> at
>>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage(HTMLExportTest.java: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 junit.framework.TestCase.runBare(TestCase.java:141)
>>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>>> at
>>>> junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>>> 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)
>>>>
>>>>
>>>> Results :
>>>>
>>>> Failed tests:
>>>> HTMLExportTest.testHTMLExportPattern:50->assertHTMLExportURL:107
>>>> Failed to find the attachment/ directory entry
>>>> HTMLExportTest.testHTMLExportCurrentPage:41->assertHTMLExportURL:107
>>>> Failed to find the attachment/ directory entry
>>>>
>>>> Tests run: 6, Failures: 2, Errors: 0, Skipped: 0
>>>>
>>>> [ERROR] There are test failures.
>>>>
>>>> Please refer to
>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/surefire-reports
>>>> for the individual test results.
>>>> [JENKINS] Recording test results
>>>> log4j:WARN No appenders could be found for logger
>>>> (org.apache.commons.beanutils.converters.BooleanConverter).
>>>> log4j:WARN Please initialize the log4j system properly.
>>>> [INFO]
>>>> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @
>>>> xwiki-enterprise-test-misc ---
>>>> [INFO] Installing
>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/pom.xml
>>>> to
>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/.repository/org/xwiki/enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT.pom
>>>> [INFO] Installing
>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>>> to
>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/.repository/org/xwiki/enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>>> [INFO]
>>>> [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @
>>>> xwiki-enterprise-test-misc ---
>>>> Downloading:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> Downloaded:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> (835 B at 3.0 KB/sec)
>>>> Uploading:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> Uploaded:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> (4 KB at 18.7 KB/sec)
>>>> Downloading:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> Downloaded:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> (974 B at 6.3 KB/sec)
>>>> Uploading:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> Uploaded:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> (835 B at 25.5 KB/sec)
>>>> Uploading:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> Uploaded:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> (974 B at 6.1 KB/sec)
>>>> Uploading:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> Uploaded:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> (115 KB at 883.1 KB/sec)
>>>> Uploading:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> Uploaded:
>>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>>> (835 B at 32.6 KB/sec)
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 2:59.495s
>>>> [INFO] Finished at: Sat Aug 23 22:58:05 CEST 2014
>>>> [INFO] Final Memory: 49M/540M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [WARNING] The requested profile "legacy" could not be activated because
>>>> it does not exist.
>>>> [WARNING] The requested profile "jetty" could not be activated because
>>>> it does not exist.
>>>> Waiting for Jenkins to finish collecting data
>>>> [JENKINS] Archiving
>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/pom.xml
>>>> to
>>>> org.xwiki.enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT.pom
>>>> [JENKINS] Archiving
>>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>>> to
>>>> org.xwiki.enterprise/xwiki-enterprise-test-misc/6.2-20140823.205803-188/xwiki-enterprise-test-misc-6.2-20140823.205803-188-tests.jar
>>>> channel stopped
>>>> Terminating xvnc.
>>>> $ vncserver -kill :95
>>>> Killing Xtightvnc process ID 7445
>>>> Email was triggered for: Unstable (Test Failures)
>>>> Sending email for trigger: Unstable (Test Failures)
>>>>
>>>
>>>
>> Thanks,
>> Guillaume
>>
>
>
Thanks,
Guillaume
Hi Guillaume,
On Mon, Aug 25, 2014 at 11:42 AM, Guillaume Louis-Marie Delhumeau <
guillaume.delhumeau(a)xwiki.com> wrote:
>
> Hi Eddy,
>
> 2014-08-23 23:59 GMT+02:00 Eduard Moraru <enygma2002(a)gmail.com>:
>
> Hi devs,
>>
>> Any idea why this test expects that the html export of the homepage
>> contains attachments? Is it expected for a document not containing
>> attachments to have an empty attachments folder in the exported html zip?
>>
>
> I don't know. Also did someone make a modifications in this area recently ?
>
I`m asking because I don`t understand why otherwise this test was waiting
for an attachment on the homepage and how was it that it was working before.
>
>
>>
>> Also, Guillaume, could you please have a look at my fix for the previous
>> fail reason of this test:
>> https://github.com/xwiki/xwiki-enterprise/commit/b9260b50a3f69a99c96a050208…
>> I committed that fix, but I am not sure why in flamingo we don`t (of if
>> we should) have the same type of content in style.css as we do for colibri
>> (i.e. @import flamingo.css). At a first glance, I was expecting it to be
>> consistent with colibri's style.css. Any thoughts on this?
>>
>
> Flamingo does not use @import because of Respond.js:
> https://github.com/scottjehl/Respond
>
>> Respond.js doesn't parse CSS referenced via @import, nor does it work
>> with media queries within style elements, as those styles can't be
>> re-requested for parsing.
>>
> AFAIU, you are currently handling LESS logic in style.css. You have a
style.less.vm that imports (LESS imports, not standard CSS imports) other
less files and that you ultimately process and output a style.css to be
used by the skin.
What I was suggesting, to be consistent with colibri (and maybe with other
people's expectations that have maybe customised XWiki and are upgrading),
is that you use style.css (not style.less[.vm]) as a standard entrypoint in
the skin and have it "@import flamingo.css", where flamingo.css is actually
the output of a flamingo.less.vm where you do your LESS magic.
Does this make sense? Does anyone else identify this as a good practice,
something that we want or something that we need?
If this is not the case of a backwards compatibility/consistency concern OR
if it is not technically possible with the new frameworks involved, then
maybe it's not that important as I had imagined it.
Thanks,
Eduard
> So your fix seems good to me.
>
>
>>
>> Thanks,
>> Eduard
>>
>>
>> On Sat, Aug 23, 2014 at 11:58 PM, Jenkins <build.noreply(a)xwiki.org>
>> wrote:
>>
>>> Check console output at
>>> http://ci.xwiki.org/job/xwiki-enterprise-test-misc/3632/ to view the
>>> results.
>>>
>>> Changes since the previous successful build:
>>>
>>> Changes for Build #3612
>>>
>>> Changes for Build #3613
>>>
>>> Changes for Build #3614
>>>
>>> Changes for Build #3615
>>> [Guillaume Delhumeau] Aug 18, 2014 12:24:23 PM XWIKI-10809: Move Font
>>> Awesome Icon Theme in the Icon module.
>>> (rev 77519cad877ea487b44e3fb1155a54df14c1dbe8)
>>>
>>> Changes for Build #3616
>>> [Guillaume Delhumeau] Aug 18, 2014 1:07:56 PM XWIKI-10809: Move Font
>>> Awesome Icon Theme in the Icon module.
>>> (rev d660fdd67064ae6ff0259b44cfe937b8597d8a8e)
>>>
>>> Changes for Build #3617
>>> [Guillaume Delhumeau] Aug 20, 2014 5:25:46 PM XE-1404: Switch to
>>> Flamingo Skin by default.
>>> (rev 7c40f89248189af3486e4be631f5af9e1b566217)
>>> [Guillaume Delhumeau] Aug 20, 2014 5:30:43 PM XE-1404: Switch to
>>> Flamingo Skin by default.
>>> (rev 90f4d266e2bf70a383494066a8493f4ba0985101)
>>>
>>> Changes for Build #3618
>>>
>>> Changes for Build #3619
>>> [Guillaume Delhumeau] Aug 20, 2014 5:49:43 PM XWIKI-10809: Move Font
>>> Awesome Icon Theme in the Icon module.
>>> (rev fb62b467cae9932774f56951adcc8a33d3dd36e2)
>>>
>>> Changes for Build #3620
>>> [Guillaume Delhumeau] Aug 20, 2014 6:22:10 PM XWIKI-10823: Rename the
>>> LESS module artifacts.
>>> (rev 56d184b40058fa529d794c9c04898d6b7f9f1686)
>>> [Guillaume Delhumeau] Aug 20, 2014 6:52:16 PM XE-1404: Switch to
>>> Flamingo Skin by default.
>>> (rev 41d771917b8e076a92c3bd370783c42867e086e1)
>>> [Guillaume Delhumeau] Aug 20, 2014 7:01:26 PM XE-1404: Switch to
>>> Flamingo Skin by default.
>>> (rev a481aeaa498763c11b88a290ba76abb373be1bc5)
>>>
>>> Changes for Build #3621
>>> [Guillaume Delhumeau] Aug 21, 2014 1:12:35 PM XE-1404: Switch to
>>> Flamingo Skin by default.
>>> (rev 65ede7701c8d2ad86238e1d17eca692f4646e368)
>>>
>>> Changes for Build #3622
>>> [Guillaume Delhumeau] Aug 21, 2014 1:58:27 PM XE-1404: Switch to
>>> Flamingo Skin by default.
>>> (rev 655d0f6b1869749207543b1c9abb5399deaf38e7)
>>>
>>> Changes for Build #3623
>>>
>>> Changes for Build #3624
>>>
>>> Changes for Build #3625
>>> [Guillaume Delhumeau] Aug 21, 2014 5:48:59 PM XE-1404: Switch to
>>> Flamingo Skin by default.
>>> (rev 61720c645a9cc960a7673611e1d3c01ca5346057)
>>>
>>> Changes for Build #3626
>>>
>>> Changes for Build #3627
>>>
>>> Changes for Build #3628
>>> [Vincent Massol] Aug 22, 2014 12:53:09 PM [Misc] Revert changes done by
>>> sdumitriu. The relativePath should not be set to not cause problems with
>>> Jenkins. BTW I couldn't reproduce the build warning problem that Sergiu
>>> fixed in his commit (would be interested to know more about it).
>>> (rev a74558130c4625fdd1dd6c3e2b5b609ed6c39b44)
>>>
>>> Changes for Build #3629
>>>
>>> Changes for Build #3630
>>> [Vincent Massol] Aug 22, 2014 5:34:44 PM [Misc] Force Maven to use its
>>> repositories to resolve parent POM for top level modules. This is to
>>> prevent any error such as having a pom.xml file located in a directory
>>> above the top level modules for example.
>>> (rev 172194e2764218ba6796f6fb4e6bd3972ca2ce66)
>>> [Vincent Massol] Aug 22, 2014 6:19:43 PM XWIKI-10828: Speed up XWiki
>>> instance starting in functional tests
>>> (rev 6b00f7cd764aaab4522d1be7b65fff2c481d7a6e)
>>> [Eduard Moraru] Aug 23, 2014 12:15:44 AM XE-1404: Switch to Flamingo
>>> Skin by default.
>>> (rev b9260b50a3f69a99c96a050208e92f8d71688c91)
>>>
>>> Changes for Build #3631
>>>
>>> Changes for Build #3632
>>>
>>>
>>>
>>> Failed tests:
>>>
>>> 2 tests failed.
>>> FAILED: org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern
>>>
>>> Error Message:
>>> Failed to find the attachment/ directory entry
>>>
>>> Stack Trace:
>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>> directory entry
>>> at junit.framework.Assert.fail(Assert.java:57)
>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>> at
>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>> at
>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern(HTMLExportTest.java:50)
>>> 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 junit.framework.TestCase.runBare(TestCase.java:141)
>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>> 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)
>>>
>>>
>>> FAILED: org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage
>>>
>>> Error Message:
>>> Failed to find the attachment/ directory entry
>>>
>>> Stack Trace:
>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>> directory entry
>>> at junit.framework.Assert.fail(Assert.java:57)
>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>> at
>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>> at
>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage(HTMLExportTest.java: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 junit.framework.TestCase.runBare(TestCase.java:141)
>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>> 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)
>>>
>>>
>>>
>>>
>>> Last build logs:
>>>
>>> [...truncated 102973 lines...]
>>> at
>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>> at
>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern(HTMLExportTest.java:50)
>>> 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 junit.framework.TestCase.runBare(TestCase.java:141)
>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>> 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)
>>>
>>> testHTMLExportCurrentPage(org.xwiki.test.misc.HTMLExportTest) Time
>>> elapsed: 4.936 sec <<< FAILURE!
>>> junit.framework.AssertionFailedError: Failed to find the attachment/
>>> directory entry
>>> at junit.framework.Assert.fail(Assert.java:57)
>>> at junit.framework.Assert.assertTrue(Assert.java:22)
>>> at junit.framework.TestCase.assertTrue(TestCase.java:192)
>>> at
>>> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
>>> at
>>> org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage(HTMLExportTest.java: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 junit.framework.TestCase.runBare(TestCase.java:141)
>>> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
>>> at junit.framework.TestSuite.run(TestSuite.java:250)
>>> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
>>> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>>> at junit.framework.TestResult.runProtected(TestResult.java:142)
>>> at junit.extensions.TestSetup.run(TestSetup.java:27)
>>> 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)
>>>
>>>
>>> Results :
>>>
>>> Failed tests:
>>> HTMLExportTest.testHTMLExportPattern:50->assertHTMLExportURL:107
>>> Failed to find the attachment/ directory entry
>>> HTMLExportTest.testHTMLExportCurrentPage:41->assertHTMLExportURL:107
>>> Failed to find the attachment/ directory entry
>>>
>>> Tests run: 6, Failures: 2, Errors: 0, Skipped: 0
>>>
>>> [ERROR] There are test failures.
>>>
>>> Please refer to
>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/surefire-reports
>>> for the individual test results.
>>> [JENKINS] Recording test results
>>> log4j:WARN No appenders could be found for logger
>>> (org.apache.commons.beanutils.converters.BooleanConverter).
>>> log4j:WARN Please initialize the log4j system properly.
>>> [INFO]
>>> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @
>>> xwiki-enterprise-test-misc ---
>>> [INFO] Installing
>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/pom.xml
>>> to
>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/.repository/org/xwiki/enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT.pom
>>> [INFO] Installing
>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>> to
>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/.repository/org/xwiki/enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>> [INFO]
>>> [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @
>>> xwiki-enterprise-test-misc ---
>>> Downloading:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> Downloaded:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> (835 B at 3.0 KB/sec)
>>> Uploading:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> Uploaded:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> (4 KB at 18.7 KB/sec)
>>> Downloading:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> Downloaded:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> (974 B at 6.3 KB/sec)
>>> Uploading:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> Uploaded:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> (835 B at 25.5 KB/sec)
>>> Uploading:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> Uploaded:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> (974 B at 6.1 KB/sec)
>>> Uploading:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> Uploaded:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> (115 KB at 883.1 KB/sec)
>>> Uploading:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> Uploaded:
>>> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
>>> (835 B at 32.6 KB/sec)
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD SUCCESS
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 2:59.495s
>>> [INFO] Finished at: Sat Aug 23 22:58:05 CEST 2014
>>> [INFO] Final Memory: 49M/540M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [WARNING] The requested profile "legacy" could not be activated because
>>> it does not exist.
>>> [WARNING] The requested profile "jetty" could not be activated because
>>> it does not exist.
>>> Waiting for Jenkins to finish collecting data
>>> [JENKINS] Archiving
>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/pom.xml
>>> to
>>> org.xwiki.enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT.pom
>>> [JENKINS] Archiving
>>> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
>>> to
>>> org.xwiki.enterprise/xwiki-enterprise-test-misc/6.2-20140823.205803-188/xwiki-enterprise-test-misc-6.2-20140823.205803-188-tests.jar
>>> channel stopped
>>> Terminating xvnc.
>>> $ vncserver -kill :95
>>> Killing Xtightvnc process ID 7445
>>> Email was triggered for: Unstable (Test Failures)
>>> Sending email for trigger: Unstable (Test Failures)
>>>
>>
>>
> Thanks,
> Guillaume
>
Hi devs,
I’ve started doing an analysis of using TC instead of Jenkins for XWiki’s CI at http://design.xwiki.org/xwiki/bin/view/Proposal/ContinuousIntegrationSoftwa…
I’ve started by listing the use cases that we use/need and started explaining how they are or can be implemented in both Jenkins and TC.
My feeling at this point, without going further, is:
* We’ve invested quite a lot already on Jenkins (configuration + scriptler groovy scripts + don’t send emails on false positives, etc)
* Jenkins is open source and even though we have slowness issues ATM, even if we switch to TC, I believe we’ll go back to Jenkins at some point
* TC has a nicer UI, more polished and better thought out but that’s not enough to compensate for the plugin ecosystem, the open source aspect and what we’ve invested already in Jenkins
Thus at this point my personal feeling is that we should invest in diagnosing more the slowness issues in Jenkins and work with the Jenkins team/mailing list to find out the cause and fix it with them.
WDYT?
Thanks
-Vincent
Hi devs,
Any idea why this test expects that the html export of the homepage
contains attachments? Is it expected for a document not containing
attachments to have an empty attachments folder in the exported html zip?
Also, Guillaume, could you please have a look at my fix for the previous
fail reason of this test:
https://github.com/xwiki/xwiki-enterprise/commit/b9260b50a3f69a99c96a050208…
I committed that fix, but I am not sure why in flamingo we don`t (of if we
should) have the same type of content in style.css as we do for colibri
(i.e. @import flamingo.css). At a first glance, I was expecting it to be
consistent with colibri's style.css. Any thoughts on this?
Thanks,
Eduard
On Sat, Aug 23, 2014 at 11:58 PM, Jenkins <build.noreply(a)xwiki.org> wrote:
> Check console output at
> http://ci.xwiki.org/job/xwiki-enterprise-test-misc/3632/ to view the
> results.
>
> Changes since the previous successful build:
>
> Changes for Build #3612
>
> Changes for Build #3613
>
> Changes for Build #3614
>
> Changes for Build #3615
> [Guillaume Delhumeau] Aug 18, 2014 12:24:23 PM XWIKI-10809: Move Font
> Awesome Icon Theme in the Icon module.
> (rev 77519cad877ea487b44e3fb1155a54df14c1dbe8)
>
> Changes for Build #3616
> [Guillaume Delhumeau] Aug 18, 2014 1:07:56 PM XWIKI-10809: Move Font
> Awesome Icon Theme in the Icon module.
> (rev d660fdd67064ae6ff0259b44cfe937b8597d8a8e)
>
> Changes for Build #3617
> [Guillaume Delhumeau] Aug 20, 2014 5:25:46 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 7c40f89248189af3486e4be631f5af9e1b566217)
> [Guillaume Delhumeau] Aug 20, 2014 5:30:43 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 90f4d266e2bf70a383494066a8493f4ba0985101)
>
> Changes for Build #3618
>
> Changes for Build #3619
> [Guillaume Delhumeau] Aug 20, 2014 5:49:43 PM XWIKI-10809: Move Font
> Awesome Icon Theme in the Icon module.
> (rev fb62b467cae9932774f56951adcc8a33d3dd36e2)
>
> Changes for Build #3620
> [Guillaume Delhumeau] Aug 20, 2014 6:22:10 PM XWIKI-10823: Rename the LESS
> module artifacts.
> (rev 56d184b40058fa529d794c9c04898d6b7f9f1686)
> [Guillaume Delhumeau] Aug 20, 2014 6:52:16 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 41d771917b8e076a92c3bd370783c42867e086e1)
> [Guillaume Delhumeau] Aug 20, 2014 7:01:26 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev a481aeaa498763c11b88a290ba76abb373be1bc5)
>
> Changes for Build #3621
> [Guillaume Delhumeau] Aug 21, 2014 1:12:35 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 65ede7701c8d2ad86238e1d17eca692f4646e368)
>
> Changes for Build #3622
> [Guillaume Delhumeau] Aug 21, 2014 1:58:27 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 655d0f6b1869749207543b1c9abb5399deaf38e7)
>
> Changes for Build #3623
>
> Changes for Build #3624
>
> Changes for Build #3625
> [Guillaume Delhumeau] Aug 21, 2014 5:48:59 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 61720c645a9cc960a7673611e1d3c01ca5346057)
>
> Changes for Build #3626
>
> Changes for Build #3627
>
> Changes for Build #3628
> [Vincent Massol] Aug 22, 2014 12:53:09 PM [Misc] Revert changes done by
> sdumitriu. The relativePath should not be set to not cause problems with
> Jenkins. BTW I couldn't reproduce the build warning problem that Sergiu
> fixed in his commit (would be interested to know more about it).
> (rev a74558130c4625fdd1dd6c3e2b5b609ed6c39b44)
>
> Changes for Build #3629
>
> Changes for Build #3630
> [Vincent Massol] Aug 22, 2014 5:34:44 PM [Misc] Force Maven to use its
> repositories to resolve parent POM for top level modules. This is to
> prevent any error such as having a pom.xml file located in a directory
> above the top level modules for example.
> (rev 172194e2764218ba6796f6fb4e6bd3972ca2ce66)
> [Vincent Massol] Aug 22, 2014 6:19:43 PM XWIKI-10828: Speed up XWiki
> instance starting in functional tests
> (rev 6b00f7cd764aaab4522d1be7b65fff2c481d7a6e)
> [Eduard Moraru] Aug 23, 2014 12:15:44 AM XE-1404: Switch to Flamingo Skin
> by default.
> (rev b9260b50a3f69a99c96a050208e92f8d71688c91)
>
> Changes for Build #3631
>
> Changes for Build #3632
>
>
>
> Failed tests:
>
> 2 tests failed.
> FAILED: org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern
>
> Error Message:
> Failed to find the attachment/ directory entry
>
> Stack Trace:
> junit.framework.AssertionFailedError: Failed to find the attachment/
> directory entry
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at
> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
> at
> org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern(HTMLExportTest.java:50)
> 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 junit.framework.TestCase.runBare(TestCase.java:141)
> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
> at junit.framework.TestSuite.run(TestSuite.java:250)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.extensions.TestSetup.run(TestSetup.java:27)
> 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)
>
>
> FAILED: org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage
>
> Error Message:
> Failed to find the attachment/ directory entry
>
> Stack Trace:
> junit.framework.AssertionFailedError: Failed to find the attachment/
> directory entry
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at
> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
> at
> org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage(HTMLExportTest.java: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 junit.framework.TestCase.runBare(TestCase.java:141)
> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
> at junit.framework.TestSuite.run(TestSuite.java:250)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.extensions.TestSetup.run(TestSetup.java:27)
> 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)
>
>
>
>
> Last build logs:
>
> [...truncated 102973 lines...]
> at
> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
> at
> org.xwiki.test.misc.HTMLExportTest.testHTMLExportPattern(HTMLExportTest.java:50)
> 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 junit.framework.TestCase.runBare(TestCase.java:141)
> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
> at junit.framework.TestSuite.run(TestSuite.java:250)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.extensions.TestSetup.run(TestSetup.java:27)
> 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)
>
> testHTMLExportCurrentPage(org.xwiki.test.misc.HTMLExportTest) Time
> elapsed: 4.936 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Failed to find the attachment/
> directory entry
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at
> org.xwiki.test.misc.HTMLExportTest.assertHTMLExportURL(HTMLExportTest.java:107)
> at
> org.xwiki.test.misc.HTMLExportTest.testHTMLExportCurrentPage(HTMLExportTest.java: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 junit.framework.TestCase.runBare(TestCase.java:141)
> 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 junit.framework.TestSuite.runTest(TestSuite.java:255)
> at junit.framework.TestSuite.run(TestSuite.java:250)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.extensions.TestSetup.run(TestSetup.java:27)
> 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)
>
>
> Results :
>
> Failed tests:
> HTMLExportTest.testHTMLExportPattern:50->assertHTMLExportURL:107 Failed
> to find the attachment/ directory entry
> HTMLExportTest.testHTMLExportCurrentPage:41->assertHTMLExportURL:107
> Failed to find the attachment/ directory entry
>
> Tests run: 6, Failures: 2, Errors: 0, Skipped: 0
>
> [ERROR] There are test failures.
>
> Please refer to
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/surefire-reports
> for the individual test results.
> [JENKINS] Recording test results
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.beanutils.converters.BooleanConverter).
> log4j:WARN Please initialize the log4j system properly.
> [INFO]
> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @
> xwiki-enterprise-test-misc ---
> [INFO] Installing
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/pom.xml
> to
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/.repository/org/xwiki/enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT.pom
> [INFO] Installing
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
> to
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/.repository/org/xwiki/enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
> [INFO]
> [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @
> xwiki-enterprise-test-misc ---
> Downloading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Downloaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (835 B at 3.0 KB/sec)
> Uploading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Uploaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (4 KB at 18.7 KB/sec)
> Downloading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Downloaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (974 B at 6.3 KB/sec)
> Uploading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Uploaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (835 B at 25.5 KB/sec)
> Uploading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Uploaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (974 B at 6.1 KB/sec)
> Uploading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Uploaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (115 KB at 883.1 KB/sec)
> Uploading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Uploaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (835 B at 32.6 KB/sec)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:59.495s
> [INFO] Finished at: Sat Aug 23 22:58:05 CEST 2014
> [INFO] Final Memory: 49M/540M
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The requested profile "legacy" could not be activated because it
> does not exist.
> [WARNING] The requested profile "jetty" could not be activated because it
> does not exist.
> Waiting for Jenkins to finish collecting data
> [JENKINS] Archiving
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/pom.xml
> to
> org.xwiki.enterprise/xwiki-enterprise-test-misc/6.2-SNAPSHOT/xwiki-enterprise-test-misc-6.2-SNAPSHOT.pom
> [JENKINS] Archiving
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-misc/xwiki-enterprise-test/xwiki-enterprise-test-misc/target/xwiki-enterprise-test-misc-6.2-SNAPSHOT-tests.jar
> to
> org.xwiki.enterprise/xwiki-enterprise-test-misc/6.2-20140823.205803-188/xwiki-enterprise-test-misc-6.2-20140823.205803-188-tests.jar
> channel stopped
> Terminating xvnc.
> $ vncserver -kill :95
> Killing Xtightvnc process ID 7445
> Email was triggered for: Unstable (Test Failures)
> Sending email for trigger: Unstable (Test Failures)
>
Hi,
UI tests seem to be failing rather consistently.
As far as I can understand, "Caused by:
org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054
within 45000 ms" can have 2 causes:
1) A firefox instance is still opened when the test starts, so a new one
can not be opened for the actual test.
- This does not seem to be the case, as before and after the test I can see
no opened firefox process.
2) Incompatibility between the selenium version (2.40.0) and the firefox
version (27.0.1)? [1][2]
- I doubt this is the case, since we did not change anything here recently.
Any ideas? This seems to be reproducing on various agents both on master
and on the 6.1 branch (for example).
Thanks,
Eduard
----------
[1]
http://selenium.10932.n7.nabble.com/Unable-to-bind-to-locking-port-7054-wit…
[2] https://groups.google.com/forum/#!topic/webdriver/e8NiXwM-A1k
On Sun, Aug 24, 2014 at 12:11 AM, Jenkins <build.noreply(a)xwiki.org> wrote:
> Check console output at
> http://ci.xwiki.org/job/xwiki-enterprise-test-ui/3380/ to view the
> results.
>
> Changes since the previous successful build:
>
> Changes for Build #3360
>
> Changes for Build #3361
>
> Changes for Build #3362
> [Guillaume Delhumeau] Aug 18, 2014 12:24:23 PM XWIKI-10809: Move Font
> Awesome Icon Theme in the Icon module.
> (rev 77519cad877ea487b44e3fb1155a54df14c1dbe8)
> [Guillaume Delhumeau] Aug 18, 2014 1:07:56 PM XWIKI-10809: Move Font
> Awesome Icon Theme in the Icon module.
> (rev d660fdd67064ae6ff0259b44cfe937b8597d8a8e)
>
> Changes for Build #3363
> [Guillaume Delhumeau] Aug 20, 2014 5:25:46 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 7c40f89248189af3486e4be631f5af9e1b566217)
>
> Changes for Build #3364
> [Guillaume Delhumeau] Aug 20, 2014 5:30:43 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 90f4d266e2bf70a383494066a8493f4ba0985101)
>
> Changes for Build #3365
>
> Changes for Build #3366
> [Guillaume Delhumeau] Aug 20, 2014 5:49:43 PM XWIKI-10809: Move Font
> Awesome Icon Theme in the Icon module.
> (rev fb62b467cae9932774f56951adcc8a33d3dd36e2)
> [Guillaume Delhumeau] Aug 20, 2014 6:22:10 PM XWIKI-10823: Rename the LESS
> module artifacts.
> (rev 56d184b40058fa529d794c9c04898d6b7f9f1686)
> [Guillaume Delhumeau] Aug 20, 2014 6:52:16 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 41d771917b8e076a92c3bd370783c42867e086e1)
> [Guillaume Delhumeau] Aug 20, 2014 7:01:26 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev a481aeaa498763c11b88a290ba76abb373be1bc5)
>
> Changes for Build #3367
>
> Changes for Build #3368
> [Guillaume Delhumeau] Aug 21, 2014 1:12:35 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 65ede7701c8d2ad86238e1d17eca692f4646e368)
>
> Changes for Build #3369
> [Guillaume Delhumeau] Aug 21, 2014 1:58:27 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 655d0f6b1869749207543b1c9abb5399deaf38e7)
>
> Changes for Build #3370
>
> Changes for Build #3371
>
> Changes for Build #3372
>
> Changes for Build #3373
> [Guillaume Delhumeau] Aug 21, 2014 5:48:59 PM XE-1404: Switch to Flamingo
> Skin by default.
> (rev 61720c645a9cc960a7673611e1d3c01ca5346057)
>
> Changes for Build #3374
>
> Changes for Build #3375
> [Vincent Massol] Aug 22, 2014 12:53:09 PM [Misc] Revert changes done by
> sdumitriu. The relativePath should not be set to not cause problems with
> Jenkins. BTW I couldn't reproduce the build warning problem that Sergiu
> fixed in his commit (would be interested to know more about it).
> (rev a74558130c4625fdd1dd6c3e2b5b609ed6c39b44)
>
> Changes for Build #3376
>
> Changes for Build #3377
> [Vincent Massol] Aug 22, 2014 5:34:44 PM [Misc] Force Maven to use its
> repositories to resolve parent POM for top level modules. This is to
> prevent any error such as having a pom.xml file located in a directory
> above the top level modules for example.
> (rev 172194e2764218ba6796f6fb4e6bd3972ca2ce66)
> [Vincent Massol] Aug 22, 2014 6:19:43 PM XWIKI-10828: Speed up XWiki
> instance starting in functional tests
> (rev 6b00f7cd764aaab4522d1be7b65fff2c481d7a6e)
> [Eduard Moraru] Aug 23, 2014 12:15:44 AM XE-1404: Switch to Flamingo Skin
> by default.
> (rev b9260b50a3f69a99c96a050208e92f8d71688c91)
>
> Changes for Build #3378
>
> Changes for Build #3379
>
> Changes for Build #3380
>
>
>
> Failed tests:
>
> 1 tests failed.
> FAILED:
> org.apache.maven.surefire.junit4.JUnit4Provider.org.xwiki.test.ui.AllTests
>
> Error Message:
> Failed to initialize PersistentTestContext
>
> Stack Trace:
> java.lang.RuntimeException: Failed to initialize PersistentTestContext
> at
> org.xwiki.test.ui.PageObjectSuite.beforeTests(PageObjectSuite.java:67)
> at
> org.xwiki.test.integration.XWikiExecutorSuite.run(XWikiExecutorSuite.java:170)
> 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: org.openqa.selenium.WebDriverException: Unable to bind to
> locking port 7054 within 45000 ms
> Build info: version: '2.40.0', revision:
> '4c5c0568b004f67810ee41c459549aa4b09c651e', time: '2014-02-19 11:13:01'
> System info: host: 'vagent-3-3-dev', ip: '127.0.0.1', os.name: 'Linux',
> os.arch: 'amd64', os.version: '3.10.23-vs2.3.6.8-beng', java.version:
> '1.7.0_55'
> Driver info: driver.version: FirefoxDriver
> at org.openqa.selenium.internal.SocketLock.lock(SocketLock.java:98)
> at
> org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:84)
> at
> org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:247)
> at
> org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:112)
> at
> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:192)
> at
> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:187)
> at
> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
> at
> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:100)
> at
> org.xwiki.test.ui.WebDriverFactory.createWebDriver(WebDriverFactory.java:56)
> at
> org.xwiki.test.ui.PersistentTestContext.<init>(PersistentTestContext.java:72)
> at
> org.xwiki.test.ui.PageObjectSuite.beforeTests(PageObjectSuite.java:59)
> ... 7 more
>
>
>
>
> Last build logs:
>
> [...truncated 393 lines...]
> [WARNING]
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/src/test/it/org/xwiki/test/ui/invitation/InvitationTest.java:[255,22]
> registerLoginAndGotoPage(java.lang.String,java.lang.String,java.lang.String)
> in org.xwiki.test.ui.TestUtils has been deprecated
> [WARNING]
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/src/test/it/org/xwiki/test/ui/invitation/InvitationTest.java:[310,22]
> registerLoginAndGotoPage(java.lang.String,java.lang.String,java.lang.String)
> in org.xwiki.test.ui.TestUtils has been deprecated
> [WARNING]
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/src/test/it/org/xwiki/test/ui/invitation/InvitationTest.java:[688,22]
> registerLoginAndGotoPage(java.lang.String,java.lang.String,java.lang.String)
> in org.xwiki.test.ui.TestUtils has been deprecated
> [INFO]
> [INFO] --- maven-dependency-plugin:2.8:unpack (unzip-application) @
> xwiki-enterprise-test-ui ---
> [INFO] Configured Artifact:
> org.xwiki.enterprise:xwiki-enterprise-jetty-hsqldb:6.2-SNAPSHOT:zip
> Downloading:
> http://nexus.xwiki.org/nexus/content/groups/public-snapshots/org/xwiki/ente…
> Downloaded:
> http://nexus.xwiki.org/nexus/content/groups/public-snapshots/org/xwiki/ente…
> (799 B at 20.0 KB/sec)
> Downloading:
> http://nexus.xwiki.org/nexus/content/groups/public-snapshots/org/xwiki/ente…
> Downloaded:
> http://nexus.xwiki.org/nexus/content/groups/public-snapshots/org/xwiki/ente…
> (220669 KB at 11465.1 KB/sec)
> [INFO] Unpacking
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/.repository/org/xwiki/enterprise/xwiki-enterprise-jetty-hsqldb/6.2-SNAPSHOT/xwiki-enterprise-jetty-hsqldb-6.2-SNAPSHOT.zip
> to
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/target
> with includes "" and excludes ""
> [INFO]
> [INFO] --- maven-surefire-plugin:2.16:test (default) @
> xwiki-enterprise-test-ui ---
> [INFO] Surefire report directory:
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.xwiki.test.ui.AllTests
> 23:10:31.124 [main] INFO o.x.test.integration.XWikiExecutor - Starting
> XWiki server at [http://localhost:8080/xwiki/bin/get/Main/]
> 23:10:31.138 [main] INFO o.x.test.integration.XWikiExecutor - Checking
> that XWiki is up and running...
> 23:10:31.143 [Thread-1] INFO o.x.t.i.XWikiLogOutputStream - Starting
> Jetty on port 8080, please wait...
> 23:10:31.518 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - Error binding
> monitor port 8079: java.net.BindException: Cannot assign requested address
> 23:10:38.638 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:38,634 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting
> embedded Solr server...
> 23:10:38.640 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:38,638 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home
> directory: [data/solr]
> 23:10:39.931 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:39,930 [coreLoadExecutor-4-thread-1] WARN o.a.s.c.SolrCore
> - [xwiki] Solr index directory
> '/home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/target/xwiki-enterprise-jetty-hsqldb-6.2-SNAPSHOT/data/solr/xwiki/data/index'
> doesn't exist. Creating new index...
> 23:10:40.351 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:40,351 [coreLoadExecutor-4-thread-1] WARN o.a.s.r.ManagedResource
> - No stored data found for /rest/managed
> 23:10:40.352 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:40,351 [coreLoadExecutor-4-thread-1] WARN o.a.s.r.ManagedResource
> - No registered observers for /rest/managed
> 23:10:40.498 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:40,498 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded
> Solr server.
> 23:10:41.853 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:41.853:INFO:oxtjl.NotifyListener:----------------------------------
> 23:10:41.854 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:41.854:INFO:oxtjl.NotifyListener:Server started, you can now open
> http://localhost:8080/ in your browser to access your wiki.
> 23:10:41.854 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:41.854:INFO:oxtjl.NotifyListener:----------------------------------
> 23:10:45.501 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:45,501 [XWiki initialization] INFO .HibernateDataMigrationManager -
> Storage schema updates and data migrations are enabled
> 23:10:45.502 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:45,501 [XWiki initialization] INFO .HibernateDataMigrationManager -
> No data migration to apply for wiki [xwiki] currently in version [54300]
> 23:10:45.502 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:45,502 [XWiki initialization] INFO .HibernateDataMigrationManager -
> Checking Hibernate mapping and updating schema if needed for wiki [xwiki]
> 23:10:54.159 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:54,159 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob
> - Starting job of type [solr.indexer] with identifier [[solr, indexer]]
> 23:10:54.966 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:54,965 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob
> - 565 documents added, 0 deleted and 0 updated during the
> synchronization of the Solr index.
> 23:10:54.966 [Thread-2] ERROR o.x.t.i.XWikiLogOutputStream - 2014-08-23
> 23:10:54,965 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob
> - Finished job of type [solr.indexer] with identifier [[solr, indexer]]
> 23:10:56.985 [main] INFO o.x.test.integration.XWikiExecutor - Server is
> answering to [http://localhost:8080/xwiki/bin/get/Main/]... cool
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 73.201 sec
> <<< FAILURE! - in org.xwiki.test.ui.AllTests
> org.xwiki.test.ui.AllTests Time elapsed: 73.2 sec <<< ERROR!
> java.lang.RuntimeException: Failed to initialize PersistentTestContext
> at
> org.xwiki.test.ui.PageObjectSuite.beforeTests(PageObjectSuite.java:67)
> at
> org.xwiki.test.integration.XWikiExecutorSuite.run(XWikiExecutorSuite.java:170)
> 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: org.openqa.selenium.WebDriverException: Unable to bind to
> locking port 7054 within 45000 ms
> Build info: version: '2.40.0', revision:
> '4c5c0568b004f67810ee41c459549aa4b09c651e', time: '2014-02-19 11:13:01'
> System info: host: 'vagent-3-3-dev', ip: '127.0.0.1', os.name: 'Linux',
> os.arch: 'amd64', os.version: '3.10.23-vs2.3.6.8-beng', java.version:
> '1.7.0_55'
> Driver info: driver.version: FirefoxDriver
> at org.openqa.selenium.internal.SocketLock.lock(SocketLock.java:98)
> at
> org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:84)
> at
> org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:247)
> at
> org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:112)
> at
> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:192)
> at
> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:187)
> at
> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
> at
> org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:100)
> at
> org.xwiki.test.ui.WebDriverFactory.createWebDriver(WebDriverFactory.java:56)
> at
> org.xwiki.test.ui.PersistentTestContext.<init>(PersistentTestContext.java:72)
> at
> org.xwiki.test.ui.PageObjectSuite.beforeTests(PageObjectSuite.java:59)
> ... 7 more
>
>
> Results :
>
> Tests in error:
> JUnit4Provider.invoke:124->executeTestSet:153->execute:264 » Runtime
> Failed to...
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
>
> [ERROR] There are test failures.
>
> Please refer to
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/target/surefire-reports
> for the individual test results.
> [JENKINS] Recording test results
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.beanutils.converters.BooleanConverter).
> log4j:WARN Please initialize the log4j system properly.
> [INFO]
> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @
> xwiki-enterprise-test-ui ---
> [INFO] Installing
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/pom.xml
> to
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/.repository/org/xwiki/enterprise/xwiki-enterprise-test-ui/6.2-SNAPSHOT/xwiki-enterprise-test-ui-6.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @
> xwiki-enterprise-test-ui ---
> Downloading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Downloaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (621 B at 28.9 KB/sec)
> Uploading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Uploaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (4 KB at 82.2 KB/sec)
> Downloading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Downloaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (932 B at 60.7 KB/sec)
> Uploading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Uploaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (621 B at 23.3 KB/sec)
> Uploading:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> Uploaded:
> http://nexus.xwiki.org/nexus/content/repositories/snapshots/org/xwiki/enter…
> (932 B at 37.9 KB/sec)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:56.610s
> [INFO] Finished at: Sat Aug 23 23:11:47 CEST 2014
> [INFO] Final Memory: 34M/489M
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The requested profile "legacy" could not be activated because it
> does not exist.
> [WARNING] The requested profile "jetty" could not be activated because it
> does not exist.
> Waiting for Jenkins to finish collecting data
> [JENKINS] Archiving
> /home/hudsonagent/hudson_root/workspace/xwiki-enterprise-test-ui/xwiki-enterprise-test/xwiki-enterprise-test-ui/pom.xml
> to
> org.xwiki.enterprise/xwiki-enterprise-test-ui/6.2-SNAPSHOT/xwiki-enterprise-test-ui-6.2-SNAPSHOT.pom
> channel stopped
> Terminating xvnc.
> $ vncserver -kill :43
> Killing Xtightvnc process ID 31217
> Email was triggered for: Unstable (Test Failures)
> Sending email for trigger: Unstable (Test Failures)
>
Hello XWiki exports,
I've been working on a tool to massively import users from a spreadsheets for curriki.org (still on xwiki 3.5.1) and I am stumbling into an error that I could not solve thus far:
> org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0" encoding="UTF-8"?>
> <users>poiapsaodi</users>]
(user-name is invented)
The users element is that of the xwikiRights object.
This exception happens at a saveandcontinue action which is triggered in the object editor after I (as admin) edit the user. It also happens if the user is logged in.
How can I investigate this?
I've tried changing the way I write the object in the following (adding the "new String") as it was done in the social-login but still no hope:
def rightobj = userDoc.newObject("XWiki.XWikiRights", xcontext);
rightobj.setStringValue("users", new String(userName));
rightobj.setStringValue("allow", new String("1"));
rightobj.setStringValue("levels", new String("edit"));
rightobj.setStringValue("groups", new String(""));
Note: at curriki, we use the "virtual xwikiUsers group" since we have quite an amount of them.
Any investigation hint is welcome.
paul
Hello,
First I introduce the app:
Weekly Activity is an application which allows users to enter the work they plan to do at the beginning of a week, and to fill the hours of work they have done at the end of the week. You can assign users to a project and see for each project how much time has been spent by an user
I’m looking for a github repo to commit the app (name of repo: application-weeklyactivity)
My github account is: 42aroger
I will also need a Jira project and a Nexus account to release the app later
Thank you!
At http://ci.xwiki.org/job/xwiki-platform/5929/org.xwiki.platform$xwiki-platfo…
[INFO] --- jasmine-maven-plugin:1.0.2-beta-5:test (default) @ xwiki-platform-web ---
[INFO] Executing Jasmine Specs
[ERROR] Unexpected exception occurred while parsing HTML snippet
[ERROR] runtimeError: message=[Unexpected exception occurred while parsing HTML snippet: input name="x"] sourceName=[file:/home/hudsonagent/hudson_root/workspace/xwiki-platform/xwiki-platform-core/xwiki-platform-web/target/jasmine/src/js/prototype/prototype.js] line=[2084] lineSource=[null] lineOffset=[0]
[INFO]
Introduced by one of (http://ci.xwiki.org/job/xwiki-platform/5923/):
- XWIKI-10809: Move Font Awesome Icon Theme in the Icon module. (commit: 1c37a49784370fcf9c0fba6dfdc7649acc6466f9) (detail)
- XWIKI-10809: Move Font Awesome Icon Theme in the Icon module. (commit: 2d4115b69ab056b05f01169836aaea6e32d79a9a) (detail)
- XWIKI-10809: Move Font Awesome Icon Theme in the Icon module. (commit: 4f73796b44be33f81a452ab7ac4eaa64321df4d3) (detail)
- [Misc] Fix poms (commit: 8c940da02bd69d1f29ad0ad784dc577008898822) (detail)
or one of (http://ci.xwiki.org/job/xwiki-platform/5924/):
- XWIKI-10733: Security issue fix (commit: 651335101feb6c554778b0f5292c0f7ac03b4932) (detail)
- XWIKI-10782: The icons from Font Awesome aren't displayed on Applications Panel on ie8. (commit: 58bc40f7aff24b3f25cb58847a7ab59d603b0b7d) (detail)
- XWIKI-10816: Add the ability to compute a LESS file and a ColorTheme from an other skin. (commit: 54909da2106d16a0a7ec9d33637138e8c59c911c) (detail)
- XWIKI-10773: Colibri Skin is not working with the new Flamingo Themes. (commit: 07452041cf39974b09831ef17d26caa91eadc62c) (detail)
- XWIKI-10815: We are using #xdocAuthors instead of .xdocLastModification to display 'Last modified' (commit: 1e63e99c10846e2ee44a485873cb02ac3aaaaf8c) (detail)
I’m not sure what caused this since line 2084 of prototype.js is:
var el = document.createElement('<input name="x">');
And prototype.js hasn’t been changed for a long time.
So the error is caused indirectly.
Any idea?
Thanks
-Vincen t