Skip to content

Failed

org.eclipse.tracecompass.tmf.ctf.ui.swtbot.tests.TestInvalidCtfTrace.testOpen[7: ../../ctf/org.eclipse.tracecompass.ctf.core.tests/traces/ctf-testsuite/tests/1.8/regression/metadata/fail/array-size-type]

Failing for the past 3 builds (Since #165 )
Took 0.85 sec.

Error Message

Expected: a string containing "Is not an integer: uint32_t"
     but: was ""

Stacktrace

java.lang.AssertionError: 

Expected: a string containing "Is not an integer: uint32_t"
     but: was ""
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at org.eclipse.swtbot.swt.finder.SWTBotAssert.assertContains(SWTBotAssert.java:99)
	at org.eclipse.tracecompass.tmf.ctf.ui.swtbot.tests.TestInvalidCtfTrace.testOpen(TestInvalidCtfTrace.java:208)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
	at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:206)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:161)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:84)
	at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:128)
	at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.runTests(AbstractUITestApplication.java:46)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Testable.lambda$0(E4Testable.java:76)
	at java.base/java.lang.Thread.run(Thread.java:833)

Standard Output

DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched ViewReference with text "", using matcher: with title '"Project Explorer"'
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Tree with text "", using matcher: of type 'Tree'
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Tree with text "", using matcher: (of type 'Tree')
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Tree with text "", using matcher: of type 'Tree'
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Tree with text "", using matcher: (of type 'Tree')
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTree - Attempting to set focus on Tree with text {}
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 6 to [MouseEnter [6]: MouseEvent{TreeItem {TestInvalidCtfTraces} time=-1343766708 data=null button=0 stateMask=0x0 x=107 y=12 count=0}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 26 to [Activate [26]: ShellEvent{TreeItem {TestInvalidCtfTraces} time=-1343766707 data=null doit=true}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 15 to [FocusIn [15]: FocusEvent{TreeItem {TestInvalidCtfTraces} time=-1343766707 data=null}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 3 to [MouseDown [3]: MouseEvent{TreeItem {TestInvalidCtfTraces} time=-1343766707 data=null button=1 stateMask=0x0 x=107 y=12 count=1}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 13 to [Selection [13]: SelectionEvent{Tree {} time=-1343766707 data=null item=TreeItem {TestInvalidCtfTraces} detail=0 x=0 y=0 width=0 height=0 stateMask=0x80000 text=null doit=true}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 4 to [MouseUp [4]: MouseEvent{TreeItem {TestInvalidCtfTraces} time=-1343766653 data=null button=1 stateMask=0x80000 x=107 y=12 count=1}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTree - Attempting to set focus on Tree with text {}
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 6 to [MouseEnter [6]: MouseEvent{TreeItem {TestInvalidCtfTraces} time=-1343766653 data=null button=0 stateMask=0x0 x=107 y=12 count=0}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 26 to [Activate [26]: ShellEvent{TreeItem {TestInvalidCtfTraces} time=-1343766652 data=null doit=true}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 15 to [FocusIn [15]: FocusEvent{TreeItem {TestInvalidCtfTraces} time=-1343766652 data=null}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 3 to [MouseDown [3]: MouseEvent{TreeItem {TestInvalidCtfTraces} time=-1343766652 data=null button=1 stateMask=0x0 x=107 y=12 count=1}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 13 to [Selection [13]: SelectionEvent{Tree {} time=-1343766652 data=null item=TreeItem {TestInvalidCtfTraces} detail=0 x=0 y=0 width=0 height=0 stateMask=0x80000 text=null doit=true}, TreeItem with text {TestInvalidCtfTraces}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 4 to [MouseUp [4]: MouseEvent{TreeItem {TestInvalidCtfTraces} time=-1343766647 data=null button=1 stateMask=0x80000 x=107 y=12 count=1}, TreeItem with text {TestInvalidCtfTraces}]
WARN org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Tree item TreeItem with text {TestInvalidCtfTraces} is already expanded. Won''t expand it again.
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTree - Attempting to set focus on Tree with text {}
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 6 to [MouseEnter [6]: MouseEvent{TreeItem {Traces [1]} time=-1343766646 data=null button=0 stateMask=0x0 x=92 y=58 count=0}, TreeItem with text {Traces [1]}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 26 to [Activate [26]: ShellEvent{TreeItem {Traces [1]} time=-1343766646 data=null doit=true}, TreeItem with text {Traces [1]}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 15 to [FocusIn [15]: FocusEvent{TreeItem {Traces [1]} time=-1343766646 data=null}, TreeItem with text {Traces [1]}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 3 to [MouseDown [3]: MouseEvent{TreeItem {Traces [1]} time=-1343766646 data=null button=1 stateMask=0x0 x=92 y=58 count=1}, TreeItem with text {Traces [1]}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 13 to [Selection [13]: SelectionEvent{Tree {} time=-1343766646 data=null item=TreeItem {Traces [1]} detail=0 x=0 y=0 width=0 height=0 stateMask=0x80000 text=null doit=true}, TreeItem with text {Traces [1]}]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem - Sent event 4 to [MouseUp [4]: MouseEvent{TreeItem {Traces [1]} time=-1343766633 data=null button=1 stateMask=0x80000 x=92 y=58 count=1}, TreeItem with text {Traces [1]}]

!ENTRY org.eclipse.tracecompass.tmf.ui 4 0 2024-04-05 20:16:24.558
!MESSAGE Error initializing trace.

org.eclipse.tracecompass.tmf.core.exceptions.TmfTraceException: org.eclipse.tracecompass.internal.ctf.core.event.metadata.ParseException: Is not an integer: uint32_t
!STACK 0
org.eclipse.tracecompass.ctf.core.CTFException: org.eclipse.tracecompass.internal.ctf.core.event.metadata.ParseException: Is not an integer: uint32_t
	at org.eclipse.tracecompass.ctf.core.trace.Metadata.parseFile(Metadata.java:197)
	at org.eclipse.tracecompass.ctf.core.trace.CTFTrace.<init>(CTFTrace.java:196)
	at org.eclipse.tracecompass.ctf.core.trace.CTFTrace.<init>(CTFTrace.java:167)
	at org.eclipse.tracecompass.tmf.ctf.core.trace.CtfTmfTrace.initTrace(CtfTmfTrace.java:227)
	at org.eclipse.tracecompass.tmf.core.trace.TmfTrace.initTrace(TmfTrace.java:227)
	at org.eclipse.tracecompass.tmf.ui.project.model.TmfOpenTraceHelper.openTraceElement(TmfOpenTraceHelper.java:264)
	at org.eclipse.tracecompass.tmf.ui.project.model.TmfOpenTraceHelper.openProjectElement(TmfOpenTraceHelper.java:323)
	at org.eclipse.tracecompass.tmf.ui.project.model.TmfOpenTraceHelper$OpenProjectElementJob.run(TmfOpenTraceHelper.java:448)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.tracecompass.internal.ctf.core.event.metadata.ParseException: Is not an integer: uint32_t
	at org.eclipse.tracecompass.internal.ctf.core.event.metadata.tsdl.TypeDeclaratorParser.isSignedIntegerField(TypeDeclaratorParser.java:237)
	at org.eclipse.tracecompass.internal.ctf.core.event.metadata.tsdl.TypeDeclaratorParser.parse(TypeDeclaratorParser.java:174)
	at org.eclipse.tracecompass.internal.ctf.core.event.metadata.tsdl.TypedefParser.parse(TypedefParser.java:101)
	at org.eclipse.tracecompass.internal.ctf.core.event.metadata.IOStructGen.parseRootDeclaration(IOStructGen.java:283)
	at org.eclipse.tracecompass.internal.ctf.core.event.metadata.IOStructGen.parseRoot(IOStructGen.java:148)
	at org.eclipse.tracecompass.internal.ctf.core.event.metadata.IOStructGen.generate(IOStructGen.java:101)
	at org.eclipse.tracecompass.ctf.core.trace.Metadata.readMetaDataText(Metadata.java:386)
	at org.eclipse.tracecompass.ctf.core.trace.Metadata.parseFile(Metadata.java:192)
	... 8 more
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Shell with text "Open Trace", using matcher: with text 'Open Trace'
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotShell - Sent event 26 to [Activate [26]: ShellEvent{Shell {Open Trace} time=-1343766045 data=null doit=true}, Shell with text {Open Trace}]
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Label with text "Error initializing t...", using matcher: of type 'Label'
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Label with text "Error initializing t...", using matcher: (of type 'Label')
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Label with text "", using matcher: of type 'Label'
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Label with text "", using matcher: (of type 'Label')
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Button with text "OK", using matcher: of type 'Button'
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Button with text "OK", using matcher: with style 'SWT.PUSH'
DEBUG org.eclipse.swtbot.swt.finder.matchers.AbstractMatcher - matched Button with text "OK", using matcher: (of type 'Button' and with style 'SWT.PUSH')
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Clicking on OK
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Sent event 6 to [MouseEnter [6]: MouseEvent{Button {OK} time=-1343766044 data=null button=0 stateMask=0x0 x=0 y=0 count=0}, (of type 'Button' and with style 'SWT.PUSH')]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Sent event 5 to [MouseMove [5]: MouseEvent{Button {OK} time=-1343766043 data=null button=0 stateMask=0x0 x=0 y=0 count=0}, (of type 'Button' and with style 'SWT.PUSH')]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Sent event 26 to [Activate [26]: ShellEvent{Button {OK} time=-1343766043 data=null doit=true}, (of type 'Button' and with style 'SWT.PUSH')]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Sent event 15 to [FocusIn [15]: FocusEvent{Button {OK} time=-1343766043 data=null}, (of type 'Button' and with style 'SWT.PUSH')]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Sent event 3 to [MouseDown [3]: MouseEvent{Button {OK} time=-1343766043 data=null button=0 stateMask=0x0 x=0 y=0 count=0}, (of type 'Button' and with style 'SWT.PUSH')]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Sent event 4 to [MouseUp [4]: MouseEvent{Button {OK} time=-1343766043 data=null button=0 stateMask=0x0 x=0 y=0 count=0}, (of type 'Button' and with style 'SWT.PUSH')]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Sent event 13 to [Selection [13]: SelectionEvent{Button {OK} time=-1343766043 data=null item=null detail=0 x=0 y=0 width=0 height=0 stateMask=0x0 text=null doit=true}, (of type 'Button' and with style 'SWT.PUSH')]
DEBUG org.eclipse.swtbot.swt.finder.widgets.SWTBotButton - Clicked on