Project

General

Profile

Bug #9896

229 тестов провалились

Added by Alexander Protsenko about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
10/29/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
6bc98a24
Platform:
Published in build:
0.1.0-beta-191227

Description

Нужно вернуться хотя бы к (Fix 40 tests) #9845

History

#1

Updated by Alexander Protsenko about 1 year ago

  • Detected in build changed from svn to commit:6bc98a24
#2

Updated by Alexander Protsenko about 1 year ago

  • Detected in build changed from commit:6bc98a24 to 6bc98a24
#3

Updated by Alexander Kamkin about 1 year ago

В чем причина падения? Есть ли примеры логов?

#4

Updated by Alexander Protsenko about 1 year ago

Все примерно такие: "java.lang.IllegalArgumentException: GeneratorSettings are already initialized."

Лог сортировки пузырьком:

Command line: -od /srv/jenkins/workspace/MicroTESK_RISCV/build/test/algorithms/sorting/bubblesort_byte -ri RV64FULL -g -ae -tl -cfe s -cfp bubblesort_byte -dfe s riscv build/target/arch/riscv/templates/algorithms/sorting/bubblesort_byte.rb
Loaded template RiscVBaseTemplate defined in /srv/jenkins/workspace/MicroTESK_RISCV/build/target/arch/riscv/templates/riscv_base.rb
Loaded template BubbleSortByteTemplate defined in /srv/jenkins/workspace/MicroTESK_RISCV/build/target/arch/riscv/templates/algorithms/sorting/bubblesort_byte.rb
Processing template BubbleSortByteTemplate defined in /srv/jenkins/workspace/MicroTESK_RISCV/build/target/arch/riscv/templates/algorithms/sorting/bubblesort_byte.rb...
Instance number: 1
Generation Statistics
Generation time: 4.261 seconds
Generation rate: 19 instructions/second
Programs/stimuli/instructions: 1/0/82
Start compilation of bubblesort_byte_0000.s ...
done.
Start emulation ...
Timeout is expired for: "/srv/jenkins/workspace/MicroTESK_RISCV/build/tools/qemu/bin/qemu-system-riscv64 -M spike_v1.10 -cpu any -d unimp,nochain,in_asm -nographic -singlestep -trace-log -D /srv/jenkins/workspace/MicroTESK_RISCV/build/test/algorithms/sorting/bubblesort_byte/bubblesort_byte_0000-qemu.log -kernel /srv/jenkins/workspace/MicroTESK_RISCV/build/test/algorithms/sorting/bubblesort_byte/bubblesort_byte_0000.elf" 
done.
Start simulation on Spike ...
done.
Check traces ...
done.
Command line: -od /srv/jenkins/workspace/MicroTESK_RISCV/build/test/algorithms/sorting/bubblesort_word -ri RV64FULL -g -ae -tl -cfe s -cfp bubblesort_word -dfe s riscv build/target/arch/riscv/templates/algorithms/sorting/bubblesort_word.rb
********************************************************************************
ATTENTION! An unexpected error has occurred:
java.lang.IllegalArgumentException: GeneratorSettings are already initialized.

The program will be terminated. Please contact us at: 
microtesk-support@ispras.ru
We are sorry for the inconvenience.

Exception stack:

java.lang.IllegalArgumentException: GeneratorSettings are already initialized.
    at ru.ispras.fortress.util.InvariantChecks.checkTrue(InvariantChecks.java:53)
    at ru.ispras.microtesk.settings.GeneratorSettings.set(GeneratorSettings.java:36)
    at ru.ispras.microtesk.test.TestEngine.generate(TestEngine.java:157)
    at ru.ispras.microtesk.MicroTESK.generate(MicroTESK.java:284)
    at ru.ispras.microtesk.MicroTESK.runTask(MicroTESK.java:131)
    at ru.ispras.microtesk.MicroTESK.main(MicroTESK.java:79)
    at ru.ispras.microtesk.test.testutils.TemplateTest.run(TemplateTest.java:86)
    at ru.ispras.microtesk.model.riscv.RiscVTest.run(RiscVTest.java:224)
    at ru.ispras.microtesk.model.riscv.algorithms.SortingTestCase.test(SortingTestCase.java:27)
    at ru.ispras.microtesk.model.riscv.algorithms.SortingTestCase.testBubbleSortWord(SortingTestCase.java:43)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    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.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106)
    at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
    at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
    at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66)
    at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
    at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
    at com.sun.proxy.$Proxy5.processTestClass(Unknown Source)
    at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:117)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155)
    at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137)
    at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
    at java.base/java.lang.Thread.run(Thread.java:834)

********************************************************************************
Command line: -od /srv/jenkins/workspace/MicroTESK_RISCV/build/test/algorithms/sorting/bubblesort_hword -ri RV64FULL -g -ae -tl -cfe s -cfp bubblesort_hword -dfe s riscv build/target/arch/riscv/templates/algorithms/sorting/bubblesort_hword.rb
********************************************************************************
ATTENTION! An unexpected error has occurred:
java.lang.IllegalArgumentException: GeneratorSettings are already initialized.

The program will be terminated. Please contact us at: 
microtesk-support@ispras.ru
We are sorry for the inconvenience.

Exception stack:

java.lang.IllegalArgumentException: GeneratorSettings are already initialized.
    at ru.ispras.fortress.util.InvariantChecks.checkTrue(InvariantChecks.java:53)
    at ru.ispras.microtesk.settings.GeneratorSettings.set(GeneratorSettings.java:36)
    at ru.ispras.microtesk.test.TestEngine.generate(TestEngine.java:157)
    at ru.ispras.microtesk.MicroTESK.generate(MicroTESK.java:284)
    at ru.ispras.microtesk.MicroTESK.runTask(MicroTESK.java:131)
    at ru.ispras.microtesk.MicroTESK.main(MicroTESK.java:79)
    at ru.ispras.microtesk.test.testutils.TemplateTest.run(TemplateTest.java:86)
    at ru.ispras.microtesk.model.riscv.RiscVTest.run(RiscVTest.java:224)
    at ru.ispras.microtesk.model.riscv.algorithms.SortingTestCase.test(SortingTestCase.java:27)
    at ru.ispras.microtesk.model.riscv.algorithms.SortingTestCase.testBubbleSortHword(SortingTestCase.java:38)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    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.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106)
    at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
    at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
    at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66)
    at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
    at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
    at com.sun.proxy.$Proxy5.processTestClass(Unknown Source)
    at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:117)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155)
    at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137)
    at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
    at java.base/java.lang.Thread.run(Thread.java:834)

********************************************************************************

#5

Updated by Alexander Protsenko about 1 year ago

  • Status changed from New to Resolved

Причина оказалась в вводе TestCase для нескольких шаблонов (.rb).
Ошибки были исправлены в MicroTESK commit:053eb292. Но данное исправление носит поверхностный характер. Поэтому создаю новую задачу: #9937

#6

Updated by Alexander Kamkin about 1 year ago

  • Published in build set to 0.1.0-beta-191227
  • Target version set to 0.1
  • Assignee set to Alexander Protsenko
  • Status changed from Resolved to Closed

Also available in: Atom PDF