Skip to content

Instantly share code, notes, and snippets.

View vmassol's full-sized avatar

Vincent Massol vmassol

View GitHub Profile
vmassol ~/dev/xwiki/xwiki-commons/xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-api (master *) $ mvn eu.stamp-project:dspot-maven:2.2.1-SNAPSHOT:amplify-unit-tests
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=196m; support was removed in 8.0
[WARNING] Failed to read extensions descriptor /Users/vmassol/dev/xwiki/xwiki-commons/.mvn/extensions.xml: no more data available START_DOCUMENT seen ...</extension>\n</extensions-->... @7:16
[INFO] Scanning for projects...
[INFO]
[INFO] -----------< org.xwiki.commons:xwiki-commons-component-api >------------
[INFO] Building XWiki Commons - Component - API 11.9-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- dspot-maven:2.2.1-SNAPSHOT:amplify-unit-tests (default-cli) @ xwiki-commons-component-api ---
[WARNING] The given value does not match with any value of the corresponding options.
eu.stamp_project.utils.options.InputAmplDistributorEnum does not have corresponding value to RandomBudgetizer
[ERROR] Any given value for budgetizer match eu.stamp_project.utils.options.InputAmplDistributorEnum
[ERROR] RandomInputAmplDistributor
- TextualDistanceInputAmplDistributor
- SimpleInputAmplDistributor
[ERROR] DSpot will stop here, please checkEnum your input:
[ERROR] RandomBudgetizer
eu.stamp_project.utils.options.check.InputErrorException: Error in the provided input. Please check your properties file and your command-line options.
at eu.stamp_project.utils.options.check.Checker.checkEnum(Checker.java:250)
[INFO] --- nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) @ xwiki-rendering-standalone ---
[INFO] Performing local staging (local stagingDirectory="/home/hudsonagent/releases/xwiki-trunks/xwiki-rendering/target/checkout/target/nexus-staging/staging")...
[INFO] + Using server credentials "ossrh" from Maven settings.
[INFO] * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.13-01 and edition "Professional"
[INFO] * Using staging profile ID "d7fd3687d7c21" (matched by Nexus).
[INFO] Installing /home/hudsonagent/releases/xwiki-trunks/xwiki-rendering/target/checkout/xwiki-rendering-standalone/pom.xml to /home/hudsonagent/releases/xwiki-trunks/xwiki-rendering/target/checkout/target/nexus-staging/staging/d7fd3687d7c21/org/xwiki/rendering/xwiki-rendering-standalone/11.3.2/xwiki-rendering-standalone-11.3.2.pom
[INFO] Installing /home/hudsonagent/releases/xwiki-trunks/xwiki-rendering/target/checkout/xwiki-rendering-standalone/target/xwiki-rendering-stan
-classpath
'/home/hudsonagent/.m2/repository/org/apache/solr/solr-solrj/7.7.2/solr-solrj-7.7.2.jar:/home/hudsonagent/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/home/hudsonagent/.m2/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar:/home/hudsonagent/.m2/repository/org/apache/httpcomponents/httpclient/4.5.9/httpclient-4.5.9.jar:/home/hudsonagent/.m2/repository/org/apache/httpcomponents/httpcore/4.4.11/httpcore-4.4.11.jar:/home/hudsonagent/.m2/repository/org/apache/httpcomponents/httpmime/4.5.9/httpmime-4.5.9.jar:/home/hudsonagent/.m2/repository/org/apache/zookeeper/zookeeper/3.4.14/zookeeper-3.4.14.jar:/home/hudsonagent/.m2/repository/org/codehaus/woodstox/stax2-api/4.2/stax2-api-4.2.jar:/home/hudsonagent/.m2/repository/org/noggit/noggit/0.8/noggit-0.8.jar:/home/hudsonagent/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.26/jcl-over-slf4j-1.7.26.jar:/home/hudsonagent/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar:/home/hudsonagent/.m2/repository/org/apache/s
[ERROR] Failures:
[ERROR] AllIT$NestedAttachmentIT The following lines were matching forbidden content:[
13:47:43.174 [tc-okhttp-stream-1922817437] INFO o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 2019-06-11 13:47:43,173 [http://xwikiweb:8080/xwiki/bin/save/NestedAttachmentIT/uploadAttachments/WebHome?form_token=BXAqact0gWpReEnadXNdBw&title=&content=&] ERROR .i.DefaultWikiComponentBuilder - Failed to search for existing wiki components [Error number 3223 in 3: Exception while searching documents with SQL [select distinct doc.fullName from XWikiDocument as doc , BaseObject as obj, StringProperty as role where obj.className=?1 and obj.name=doc.fullName and role.id.id=obj.id and role.id.name=?2 and (role.value <> '' or (role.value is not null and '' is null))]]
13:47:43.174 [tc-okhttp-stream-778235104] INFO o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 2019-06-11 13:47:43,173 [http://xwikiweb:8080/xwiki/bin/save/NestedAttachmentIT/uploadAttachments/WebHome?form_token=BXAqact0gWpReEnadXNdBw&title=&
00:17:49.539 [main] INFO o.x.t.d.i.j.b.BrowserContainerExecutor - (*) Starting browser [CHROME]...
00:17:49.549 [main] INFO o.x.t.d.i.j.b.BrowserContainerExecutor - Test resource path mapped: On Host [target/mysql-5.7-5.1.45-tomcat-8.5-chrome/test-classes], in Docker: [/tmp/test-resources]
00:17:49.759 [main] INFO o.x.t.d.i.j.b.BrowserContainerExecutor - Docker image used: [selenium/standalone-chrome-debug:3.141.59]
00:17:49.856 [main] WARN o.t.utility.RegistryAuthLocator - Failure when attempting to lookup auth config (dockerImageName: selenium/standalone-chrome-debug:3.141.59, configFile: /root/.docker/config.json. Falling back to docker-java default behaviour. Exception message: /root/.docker/config.json (No such file or directory)
00:18:00.930 [tc-okhttp-stream-1764184489] INFO o.x.t.d.i.j.b.BrowserContainerExecutor - STDOUT: 2019-05-17 00:18:00,929 INFO Included extra file "/etc/supervisor/conf.d/selenium-debug.conf" during parsing
00:18:00.930 [tc-okhttp-stream-1764184489] INFO o.x.t.d.i.j.b.Brows
2019-05-16 07:30:14,242 [Exec Stream Pumper] - 2019-05-16 07:30:14,240 [http://localhost:8080/xwiki/bin/get/ExtensionTest/Service?form_token=Ol9FSkFL1rEMHyGDEYdosA&action=install&extensionVersion=1.3&outputSyntax=plain&extensionId=alice-xar-extension&] INFO rogrammingRightCheckerListener - PRChecker: Skipping check for [xwiki:ExtensionTest.Service] since it's excluded
2019-05-16 07:30:14,543 [Exec Stream Pumper] - 2019-05-16 07:30:14,542 [http://localhost:8080/xwiki/bin/get/ExtensionTest/Service?form_token=Ol9FSkFL1rEMHyGDEYdosA&action=install&extensionVersion=1.3&outputSyntax=plain&extensionId=alice-xar-extension&] INFO rogrammingRightCheckerListener - PRChecker: Skipping check for [xwiki:ExtensionTest.Service] since it's excluded
2019-05-16 07:30:21,188 [Exec Stream Pumper] - 2019-05-16 07:30:21,188 [http://localhost:8080/xwiki/bin/lock/XWiki/XWikiPreferences?ajax=1&action=admin&] WARN o.h.u.JDBCExceptionReporter - SQL Error: -104, SQLState: 23505
2019-05-16 07:30:21,188 [Exec Stream Pumper] - 2019-05
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.xwiki.annotation.test.ui.AllIT
00:41:57.522 [main] WARN o.t.utility.RegistryAuthLocator - Failure when attempting to lookup auth config (dockerImageName: alpine:3.5, configFile: /root/.docker/config.json. Falling back to docker-java default behaviour. Exception message: /root/.docker/config.json (No such file or directory)
00:42:03.246 [main] WARN o.t.utility.RegistryAuthLocator - Failure when attempting to lookup auth config (dockerImageName: quay.io/testcontainers/ryuk:0.2.3, configFile: /root/.docker/config.json. Falling back to docker-java default behaviour. Exception message: /root/.docker/config.json (No such file or directory)
00:42:07.519 [main] WARN o.t.utility.RegistryAuthLocator - Failure when attempting to lookup auth config (dockerImageName: quay.io/testcontainers/sshd:1.0.0, configFile: /root/.docker/config.json. Falling back to doc
Working machine:
```
[INFO] Running org.xwiki.menu.test.ui.MenuIT
13:59:17.889 [main] DEBUG o.t.u.TestcontainersConfiguration - Testcontainers configuration overrides will be loaded from jar:file:/root/.m2/repository/org/xwiki/platform/xwiki-platform-test-docker/11.4-SNAPSHOT/xwiki-platform-test-docker-11.4-SNAPSHOT.jar!/testcontainers.properties
13:59:17.895 [main] DEBUG o.t.u.TestcontainersConfiguration - Testcontainers configuration overrides will be loaded from jar:file:/root/.m2/repository/org/xwiki/platform/xwiki-platform-test-docker/11.4-SNAPSHOT/xwiki-platform-test-docker-11.4-SNAPSHOT.jar!/testcontainers.properties
13:59:17.895 [main] DEBUG o.t.u.TestcontainersConfiguration - Testcontainers configuration overrides will be loaded from file:/root/.testcontainers.properties
13:59:17.896 [main] DEBUG o.t.u.TestcontainersConfiguration - Testcontainers configuration overrides loaded from TestcontainersConfiguration(properties={docker.client.strategy=org.testcontainers.dockerclient.EnvironmentAndSystemProp
2019-04-30 09:11:31
Full thread dump OpenJDK 64-Bit Server VM (25.212-b01 mixed mode):
"Notification pool thread" #234 daemon prio=5 os_prio=0 tid=0x00007fa99001e000 nid=0x13b waiting on condition [0x00007fa9636e2000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000c2445a20> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)