Q7

Improve detail level in case of Testcase/Context timeouts.

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.2.17
  • Fix Version/s: 1.2.x
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

Right now in some cases it is unclear why test is terminated by timeout:

<testcase name="DatabaseMetadataALLTests" time="615.974">
            <failure type="testcase" message="Timeout during testcase execution (DatabaseMetadataALLTests)
                Caused by: [get-editor &quot;MyDataSource.dataSource&quot;]">
            </failure>
        </testcase>
 <testcase name="RuleGeneralSetNextNumberIncrement" time="627.900">
        <failure type="testcase" message="Timeout during testcase execution (RuleGeneralSetNextNumberIncrement)
Caused by: [get-tree]

"><![CDATA[Warning in plugin: com.xored.tesla.swt
  message: ----->>> Waiting for Jobs during execution: click -----<<<< 
---> Standalone Jobs:
Job: Building workspace
	class: org.eclipse.core.internal.events.AutoBuildJob extends org.eclipse.core.runtime.jobs.Job, org.eclipse.core.internal.jobs.InternalJob, org.eclipse.core.runtime.PlatformObject
			implements org.eclipse.core.runtime.IAdaptable, java.lang.Comparable, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.Preferences$IPropertyChangeListener
	working time: 5244(ms)
	state: 4
	rule is resource: C:\hudson\workspace\ebi3_studio_zip_q7_win\ebistudio\aut-ws-0
	stack trace: 
		java.io.InputStreamReader.<init>:83 [InputStreamReader.java]
		org.eclipse.jdt.internal.compiler.impl.CompilerOptions.set:1358 [CompilerOptions.java]
		org.eclipse.jdt.internal.compiler.impl.CompilerOptions.<init>:469 [CompilerOptions.java]
		org.eclipse.jdt.core.dom.CompilationUnitResolver.getCompilerOptions:299 [CompilationUnitResolver.java]
		org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve:570 [CompilationUnitResolver.java]
		org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve:791 [CompilationUnitResolver.java]
		org.eclipse.jdt.core.dom.ASTParser.createBindings:1052 [ASTParser.java]
		org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.createType:93 [JdtBasedTypeFactory.java]
		org.eclipse.xtext.common.types.access.jdt.JdtBasedTypeFactory.createType:1 [JdtBasedTypeFactory.java]
		org.eclipse.xtext.common.types.access.jdt.JdtTypeMirror.initialize:36 [JdtTypeMirror.java]
		org.eclipse.xtext.common.types.access.TypeResource.doLoad:93 [TypeResource.java]
		org.eclipse.emf.ecore.resource.impl.ResourceImpl.load:1505 [ResourceImpl.java]
		org.eclipse.xtext.common.types.access.TypeResource.load:80 [TypeResource.java]
		org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad:259 [ResourceSetImpl.java]
		org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper:274 [ResourceSetImpl.java]
		org.eclipse.xtext.resource.XtextResourceSet.getResource:159 [XtextResourceSet.java]
		....


  Error in plugin: org.eclipse.core.resources
  message: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
  exception: 
      org.eclipse.emf.common.util.WrappedException:java.lang.IllegalArgumentException: The feature 'expression' is not a valid feature
          at org.eclipse.xtext.util.OnChangeEvictingCache.execWithoutCacheClear(OnChangeEvictingCache.java:126)
          at org.eclipse.xtext.xbase.resource.XbaseResource.getEObject(XbaseResource.java:237)
          at com.extol.ebi.util.ui.MarkerUtils.getObjectForMarker(MarkerUtils.java:59)
          at com.extol.ebi.ruleset.ui.controls.RulesetAnnotationManager.matchMarkersToRules(RulesetAnnotationManager.java:353)
          at com.extol.ebi.ruleset.ui.controls.RulesetAnnotationManager.updateErrorAnnotations(RulesetAnnotationManager.java:297)
          at com.extol.ebi.ruleset.ui.controls.RulesetRulerAdapter.resourceChanged(RulesetRulerAdapter.java:198)
          at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
          at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
          at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:381)
          at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:146)
          at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
          Caused by:
              java.lang.IllegalArgumentException:The feature 'expression' is not a valid feature
                  at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eStructuralFeature(BasicEObjectImpl.java:733)
                  at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eObjectForURIFragmentSegment(BasicEObjectImpl.java:551)
                  at org.eclipse.emf.ecore.resource.impl.ResourceImpl.getEObject(ResourceImpl.java:774)
                  at org.eclipse.emf.ecore.resource.impl.ResourceImpl.getEObject(ResourceImpl.java:750)
                  at org.eclipse.xtext.resource.XtextResource.access$1(XtextResource.java:1)
                  at org.eclipse.xtext.resource.XtextResource$1.getEObject(XtextResource.java:104)
                  at org.eclipse.xtext.resource.DefaultFragmentProvider.getEObject(DefaultFragmentProvider.java:26)
                  at org.eclipse.xtext.resource.XtextResource.getEObject(XtextResource.java:289)
                  at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:219)
                  at org.eclipse.xtext.xbase.resource.XbaseResource.access$0(XbaseResource.java:1)
                  at org.eclipse.xtext.xbase.resource.XbaseResource$2.exec(XbaseResource.java:239)
                  at org.eclipse.xtext.xbase.resource.XbaseResource$2.exec(XbaseResource.java:1)
                  at org.eclipse.xtext.util.OnChangeEvictingCache.execWithoutCacheClear(OnChangeEvictingCache.java:124)
                  at org.eclipse.xtext.xbase.resource.XbaseResource.getEObject(XbaseResource.java:237)
                  at com.extol.ebi.util.ui.MarkerUtils.getObjectForMarker(MarkerUtils.java:59)
                  at com.extol.ebi.ruleset.ui.controls.RulesetAnnotationManager.matchMarkersToRules(RulesetAnnotationManager.java:353)
                  at com.extol.ebi.ruleset.ui.controls.RulesetAnnotationManager.updateErrorAnnotations(RulesetAnnotationManager.java:297)
                  at com.extol.ebi.ruleset.ui.controls.RulesetRulerAdapter.resourceChanged(RulesetRulerAdapter.java:198)
                  at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
                  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
                  at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
                  at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
                  at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:381)
                  at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:146)
                  at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
                  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
.... same exception goes for 100 times more.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    18/Feb/13 7:43 PM
    Updated:
    28/Jun/13 7:02 PM