[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387519#comment-15387519
 ] 

Oliver Lietz commented on SLING-5870:
-------------------------------------

{noformat}
[...]
Results :

Tests in error: 
  
ChaosTest.testDoChaos:356->setupJobConsumers:133->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  ClassloadingTest.testFailedClassloading » ClassNotFound 
org.apache.sling.testi...
  ClassloadingTest.testSimpleClassloading » ClassNotFound 
org.apache.sling.testi...
  
HistoryTest.testHistory:90->AbstractJobHandlingTest.registerJobExecutor:318->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testNoJobProcessor:407->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testNotifications:302->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testSimpleJobExecutionUsingJobConsumer:92->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testSimpleJobExecutionUsingJobExecutor:116->AbstractJobHandlingTest.registerJobExecutor:318->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testStartJobAndReschedule:254->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
OrderedQueueTest.testOrderedQueue:88->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
SchedulingTest.testScheduling:59->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
TimedJobsTest.testTimedJob:60->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
TopicMatchingTest.testOrdering:122->AbstractJobHandlingTest.registerJobExecutor:318->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
TopicMatchingTest.testSimpleMatching:64->AbstractJobHandlingTest.registerJobExecutor:318->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
UnorderedQueueTest.testUnorderedQueue:89->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut

Tests run: 20, Failures: 0, Errors: 15, Skipped: 0

[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ 
org.apache.sling.event ---
[INFO] Checking legal files in: org.apache.sling.event-4.0.3-SNAPSHOT.jar
[INFO] Checking legal files in: 
org.apache.sling.event-4.0.3-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:baseline (baseline) @ 
org.apache.sling.event ---
[INFO] Baseline Report - Generated by Apache Felix Maven Bundle Plugin on 
2016-07-21T12:52Z based on Bnd - see http://www.aqute.biz/Bnd/Bnd
[INFO] Comparing bundle org.apache.sling.event version 4.0.3-SNAPSHOT to 
version 4.0.2
[INFO] 
[INFO]   PACKAGE_NAME                                       DELTA      CUR_VER  
  BASE_VER   REC_VER    WARNINGS  
[INFO] = ================================================== ========== 
========== ========== ========== ==========
[INFO]   org.apache.sling.event.jobs                        unchanged  2.0.0    
  2.0.0      2.0.0      -         
[INFO] 
-----------------------------------------------------------------------------------------------------------
[INFO]   org.apache.sling.event.jobs.consumer               unchanged  1.2.0    
  1.2.0      1.2.0      -         
[INFO] 
-----------------------------------------------------------------------------------------------------------
[INFO]   org.apache.sling.event.jobs.jmx                    unchanged  1.0.0    
  1.0.0      1.0.0      -         
[INFO] 
-----------------------------------------------------------------------------------------------------------
[INFO] Baseline analysis complete, 0 error(s), 0 warning(s)
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.event ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: src/main/appended-resources/META-INF/*
[INFO] Exclude: velocity.log
[INFO] Exclude: target/*
[INFO] Exclude: README.md
[INFO] Exclude: maven-eclipse.xml
[INFO] Exclude: .*
[INFO] Exclude: .*/**
[INFO] Exclude: **/*.json
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: **/*.rej
[INFO] Exclude: hs_err_*.log
[INFO] Exclude: derby.log
[INFO] 102 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 102 licence.
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default) @ 
org.apache.sling.event ---
[INFO] Failsafe report directory: 
/data/code/projects/apache-sling/sling-trunk-clean/bundles/extensions/event/target/failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:22 h
[INFO] Finished at: 2016-07-21T12:52:09+02:00
[INFO] Final Memory: 45M/1059M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify (default) on 
project org.apache.sling.event: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/data/code/projects/apache-sling/sling-trunk-clean/bundles/extensions/event/target/failsafe-reports
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{noformat}

[~rombert], could the timeouts result from changes due to eventing/observation?

> Switch event ITs to use Oak
> ---------------------------
>
>                 Key: SLING-5870
>                 URL: https://issues.apache.org/jira/browse/SLING-5870
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>             Fix For: Event 4.1.0
>
>         Attachments: 0001-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0002-SLING-5870-Switch-event-ITs-to-use-Oak.patch, test.log
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> inconsistencies in the repository, e.g.
> {code}19.07.2016 09:57:31.489 *WARN* [Apache Sling JCR Resource Event Queue 
> Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener 
> processOsgiEventQueue: Unexpected problem processing event 
> {path=/var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931,
>  resourceChangedAttributes=[Ljava.lang.String;@51e6a8e1, 
> resourceAddedAttributes=[Ljava.lang.String;@1447afb0, userid=admin}
> org.apache.sling.api.SlingException: Problem retrieving node based resource 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>       at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
>       at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
>       at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
>       at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResourceFromProviders(ResourceProviderEntry.java:401)
>       at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getInternalResource(ResourceProviderEntry.java:356)
>       at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResource(ResourceProviderEntry.java:138)
>       at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getAbsoluteResourceInternal(ResourceResolverImpl.java:988)
>       at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResourceInternal(ResourceResolverImpl.java:635)
>       at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResource(ResourceResolverImpl.java:590)
>       at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener.processOsgiEventQueue(JcrResourceListener.java:340)
>       at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener$1.run(JcrResourceListener.java:107)
>       at java.lang.Thread.run(Thread.java:744)
> Caused by: javax.jcr.PathNotFoundException: 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>       at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
>       at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
>       at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
>       at 
> org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
>       at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
>       at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
>       at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
>       at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.createResource(JcrResourceProvider.java:211)
>       at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
>       ... 11 common frames omitted{code}
> Moving to Oak might help with these issues, and it's anyway a good idea since 
> the default Launchpad only includes Sling ATM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to