joergreichert / spray

Automatically exported from code.google.com/p/spray
1 stars 2 forks source link

Build fails while testing #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipselabs.spray.xtext.tests.Mod4jTest
0    [main] INFO  lipse.emf.mwe.utils.StandaloneSetup  - Registering platform 
uri 'C:\Users\FFI\git\spray\tests'
EMMA: collecting runtime coverage data ...
3635 [main] INFO  s.xtext.utils.unittesting.XtextTest  - testing 
mod4j/mod4j-busmod.spray in test method Mod4jTest.test_mod4j_busmod
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.908 sec
Running org.eclipselabs.spray.xtext.tests.ValidationRulesTest
5471 [main] INFO  s.xtext.utils.unittesting.XtextTest  - testing 
validation/alias-02.spray in test method ValidationRulesTest.test_alias_02
5652 [main] INFO  s.xtext.utils.unittesting.XtextTest  - testing 
validation/alias-01.spray in test method ValidationRulesTest.test_alias_01
5739 [main] DEBUG s.unittesting.FluentIssueCollection  -   line 7: Duplicate 
SprayElement '<unnamed>' / classpath:///validation/alias-01.spray#/0/@met
aClasses.0/@representedBy/@parts.0
5739 [main] DEBUG s.unittesting.FluentIssueCollection  -   line 8: Duplicate 
SprayElement '<unnamed>' / classpath:///validation/alias-01.spray#/0/@met
aClasses.0/@representedBy/@parts.1
5739 [main] DEBUG s.unittesting.FluentIssueCollection  -   line 8: Duplicate 
alias name line1 / classpath:///validation/alias-01.spray#/0/@metaClasses
.0/@representedBy/@parts.1
5740 [main] DEBUG s.unittesting.FluentIssueCollection  -   line 7: Duplicate 
SprayElement '<unnamed>' / classpath:///validation/alias-01.spray#/0/@met
aClasses.0/@representedBy/@parts.0
5740 [main] DEBUG s.unittesting.FluentIssueCollection  -   line 8: Duplicate 
SprayElement '<unnamed>' / classpath:///validation/alias-01.spray#/0/@met
aClasses.0/@representedBy/@parts.1
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.844 sec <<< 
FAILURE!
Running org.eclipselabs.spray.xtext.util.GenModelHelperTest
5753 [main] INFO  lipse.emf.mwe.utils.StandaloneSetup  - Registering platform 
uri 'C:\Users\FFI\git\spray\tests\org.eclipselabs.spray.xtext.tests'
5861 [main] WARN  clipse.emf.mwe.utils.GenModelHelper  - There is already a 
GenModel registered for NamespaceURI 'http://www.mod4j.org/busmod'. It wil
l be overwritten from 'classpath:/mod4j/BusinessDomainDsl.genmodel' to 
'platform:/resource/org.eclipselabs.spray.xtext.tests/model/mod4j/BusinessDomai
nDsl.genmodel'
5862 [main] INFO  clipse.emf.mwe.utils.GenModelHelper  - Registered GenModel 
'http://www.mod4j.org/busmod' from 'platform:/resource/org.eclipselabs.sp
ray.xtext.tests/model/mod4j/BusinessDomainDsl.genmodel'
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.724 sec
EMMA: runtime coverage data merged into 
[C:\Users\FFI\git\spray\tests\org.eclipselabs.spray.xtext.tests\coverage.ec] 
{in 43 ms}

Results :

Failed tests:   
test_alias_01(org.eclipselabs.spray.xtext.tests.ValidationRulesTest): <no id> 
failed

Tests run: 9, Failures: 1, Errors: 0, Skipped: 0

Original issue reported on code.google.com by fabio.filippelli on 15 Nov 2011 at 5:23

GoogleCodeExporter commented 9 years ago
same error on CI:
[https://spray.ci.cloudbees.com/job/spray-ci-build/org.eclipselabs.spray$org.ecl
ipselabs.spray.xtext.tests/159/testReport/org.eclipselabs.spray.xtext.tests/Vali
dationRulesTest/test_alias_01/]

Original comment by karsten....@googlemail.com on 15 Nov 2011 at 10:19

GoogleCodeExporter commented 9 years ago
This issue was closed by revision aba77a88823f.

Original comment by karsten....@googlemail.com on 15 Nov 2011 at 10:41

GoogleCodeExporter commented 9 years ago
The build is still failing.

[INFO] --- fornax-oaw-m2-plugin:3.3.0:run-workflow (generate) @ 
org.eclipselabs.spray.examples.one ---
[INFO] Fornax Model Workflow Maven2 Plugin V3.3.0
[ERROR] org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher  - Problems running 
workflow org.eclipselabs.spray.example.one.SprayGenerator: Validation pr
blems:
[ERROR] 1 error:
[ERROR]         mod4j-busmod.spray - 
C:\Users\FFI\git\spray\examples\one\org.eclipselabs.spray.examples.one\model\mod
4j-busmod.spray
[ERROR]                 25: Couldn't resolve reference to EReference 
'superclass'.
[ERROR] java.lang.RuntimeException: Problems running workflow 
org.eclipselabs.spray.example.one.SprayGenerator: Validation problems:
[ERROR] 1 error:
[ERROR]         mod4j-busmod.spray - 
C:\Users\FFI\git\spray\examples\one\org.eclipselabs.spray.examples.one\model\mod
4j-busmod.spray
[ERROR]                 25: Couldn't resolve reference to EReference 
'superclass'.
[ERROR]         at 
org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:99)
[ERROR]         at 
org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:73)
[ERROR]         at 
org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:76)
[ERROR]         at 
org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)
[ERROR] Caused by: org.eclipse.emf.mwe.core.WorkflowInterruptedException: 
Validation problems:
[ERROR] 1 error:
[ERROR]         mod4j-busmod.spray - 
C:\Users\FFI\git\spray\examples\one\org.eclipselabs.spray.examples.one\model\mod
4j-busmod.spray
[ERROR]                 25: Couldn't resolve reference to EReference 
'superclass'.
[ERROR]         at org.eclipse.xtext.mwe.Validator.validate(Validator.java:89)
[ERROR]         at org.eclipse.xtext.mwe.Reader.invokeInternal(Reader.java:165)
[ERROR]         at 
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowCo
mponent.java:126)
[ERROR]         at 
org.eclipse.emf.mwe.core.lib.Mwe2Bridge.invoke(Mwe2Bridge.java:34)
[ERROR]         at 
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowCo
mponent.java:201)
[ERROR]         at 
org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.invoke(
AbstractCompositeWorkflowComponent.java:35)
[ERROR]         at 
org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.invoke(
AbstractCompositeWorkflowComponent.java:35)
[ERROR]         at 
org.eclipse.emf.mwe2.runtime.workflow.Workflow.run(Workflow.java:19)
[ERROR]         at 
org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:97)
[ERROR]         ... 3 more
[ERROR] ExitStatusException occurred while running workflow: Java returned: 1

Original comment by fabio.filippelli on 16 Nov 2011 at 9:08

GoogleCodeExporter commented 9 years ago
sorry, my fault.

This is a scoping problem introduced while fixing issue#78

Original comment by karsten....@googlemail.com on 16 Nov 2011 at 9:44

GoogleCodeExporter commented 9 years ago
should be fixed now; waiting for next build

Original comment by karsten....@googlemail.com on 16 Nov 2011 at 10:14

GoogleCodeExporter commented 9 years ago

Original comment by karsten....@googlemail.com on 16 Nov 2011 at 10:54