[
https://issues.apache.org/jira/browse/DAFFODIL-2580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Thompson closed DAFFODIL-2580.
-----------------------------------
Verified the specified commit (commit fcae7b978704cbdf5505d5752754e040ddf5e3e8)
is included in the latest pull from the daffodil repository.
Verified changes identified in commit comment were implemented.
Rolled repo back to suspect commit and verified the error occurred. Updated
repo to current and the error no longer occurs.
Verified all affected daffodil subproject sbt test suites execute successfully,
including the added tests.
Verified the nightly test schemas compile and save successfully.
Verified the nightly test suite executes successfully.
> EDIFACT test hits Assert.impossible abort
> -----------------------------------------
>
> Key: DAFFODIL-2580
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2580
> Project: Daffodil
> Issue Type: Bug
> Components: Front End
> Affects Versions: 3.2.0
> Reporter: Mike Beckerle
> Assignee: Josh Adams
> Priority: Blocker
> Fix For: 3.2.0
>
>
> Running the EDIFACT 'sbt test' using 3.2.0-SNAPSHOT
> (037fb9913f8cb50c60c6e377227bc8bbd325964f) aborts as follows.
> (Note: using Java 16 for daffodil build, and for EDIFACT)
> {code:java}
> [info] Test EDIFACT.TestEDIFACT.test_edifact2 started
> [error] Test EDIFACT.TestEDIFACT.test_edifact2 failed:
> org.apache.daffodil.exceptions.Abort: Should have SDE before reaching this
> [error] org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:137)
> [error] org.apache.daffodil.exceptions.Assert$.impossible(Assert.scala:153)
> [error]
> org.apache.daffodil.processors.VariableInstance.reset(VariableMap1.scala:158)
> [error]
> org.apache.daffodil.processors.parsers.PState.$anonfun$reset$1(PState.scala:269),
> took 12.533 sec
> [error] at org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:137)
> [error] at
> org.apache.daffodil.exceptions.Assert$.impossible(Assert.scala:153)
> [error] at
> org.apache.daffodil.processors.VariableInstance.reset(VariableMap1.scala:158)
> [error] at
> org.apache.daffodil.processors.parsers.PState.$anonfun$reset$1(PState.scala:269)
> [error] at
> org.apache.daffodil.processors.parsers.PState.$anonfun$reset$1$adapted(PState.scala:266)
> [error] at
> scala.collection.LinearSeqOptimized.foreach(LinearSeqOptimized.scala:75)
> [error] at
> scala.collection.LinearSeqOptimized.foreach$(LinearSeqOptimized.scala:72)
> [error] at
> scala.collection.mutable.MutableList.foreach(MutableList.scala:33)
> [error] at
> org.apache.daffodil.processors.parsers.PState.reset(PState.scala:266)
> [error] at
> org.apache.daffodil.processors.parsers.PState.resetToPointOfUncertainty(PState.scala:394)
> [error] at
> org.apache.daffodil.processors.parsers.SequenceParserBase.parseOneInstanceWithMaybePoU(SequenceParserBases.scala:485)
> [error] at
> org.apache.daffodil.processors.parsers.SequenceParserBase.parseOneInstance(SequenceParserBases.scala:417)
> [error] at
> org.apache.daffodil.processors.parsers.SequenceParserBase.parse(SequenceParserBases.scala:157)
> [error] at
> org.apache.daffodil.processors.parsers.Parser.parse1(Parser.scala:82)
> [error] at
> org.apache.daffodil.processors.parsers.Parser.parse1$(Parser.scala:76)
> [error] at
> org.apache.daffodil.processors.parsers.CombinatorParser.parse1(Parser.scala:161)
> [error] at
> org.apache.daffodil.processors.parsers.DynamicEscapeSchemeParser.parse(ElementKindParsers.scala:112)
> [error] at
> org.apache.daffodil.processors.parsers.Parser.parse1(Parser.scala:82)
> [error] at
> org.apache.daffodil.processors.parsers.Parser.parse1$(Parser.scala:76)
> [error] at
> org.apache.daffodil.processors.parsers.CombinatorParser.parse1(Parser.scala:161)
> [error] at
> org.apache.daffodil.processors.parsers.ElementParserBase.parse(ElementCombinator1.scala:135)
> [error] at
> org.apache.daffodil.processors.parsers.Parser.parse1(Parser.scala:82)
> [error] at
> org.apache.daffodil.processors.parsers.Parser.parse1$(Parser.scala:76)
> [error] at
> org.apache.daffodil.processors.parsers.CombinatorParser.parse1(Parser.scala:161)
> [error] at
> org.apache.daffodil.processors.DataProcessor.doParse(DataProcessor.scala:502)
> [error] at
> org.apache.daffodil.processors.DataProcessor.parse(DataProcessor.scala:446)
> [error] at
> org.apache.daffodil.tdml.processor.DaffodilTDMLDFDLProcessor.doParseWithBothApis(DaffodilTDMLDFDLProcessor.scala:311)
> [error] at
> org.apache.daffodil.tdml.processor.DaffodilTDMLDFDLProcessor.parse(DaffodilTDMLDFDLProcessor.scala:247)
> [error] at
> org.apache.daffodil.tdml.processor.DaffodilTDMLDFDLProcessor.parse(DaffodilTDMLDFDLProcessor.scala:252)
> [error] at
> org.apache.daffodil.tdml.ParserTestCase.doParseExpectSuccess(TDMLRunner.scala:1059)
> [error] at
> org.apache.daffodil.tdml.ParserTestCase.runParseExpectSuccess(TDMLRunner.scala:1202)
> [error] at
> org.apache.daffodil.tdml.ParserTestCase.$anonfun$runProcessor$2(TDMLRunner.scala:953)
> [error] at
> org.apache.daffodil.tdml.ParserTestCase.$anonfun$runProcessor$2$adapted(TDMLRunner.scala:950)
> [error] at scala.util.Either$RightProjection.foreach(Either.scala:652)
> [error] at
> org.apache.daffodil.tdml.ParserTestCase.runProcessor(TDMLRunner.scala:950)
> [error] at org.apache.daffodil.tdml.TestCase.run(TDMLRunner.scala:903)
> [error] at
> org.apache.daffodil.tdml.DFDLTestSuite.runOneTest(TDMLRunner.scala:418)
> [error] at
> org.apache.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:191)
> [error] at
> org.apache.daffodil.tdml.Runner.runOneTest(RunnerFactory.scala:197)
> [error] at EDIFACT.TestEDIFACT.test_edifact2(TestEDIFACT.scala:54)
> [error] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [error] at
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
> [error] at
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [error] at java.lang.reflect.Method.invoke(Method.java:567)
> [error] ...
> [debug] Test EDIFACT.TestEDIFACT.test_edifact2 finished, took 12.542 sec
> [info] Test run finished: 1 failed, 0 ignored, 2 total, 31.255s
> [error] Failed: Total 2, Failed 1, Errors 0, Passed 1
> [error] Failed tests:
> [error] EDIFACT.TestEDIFACT
> [error] (Test / test) sbt.TestsFailedException: Tests unsuccessful
> [error] Total time: 35 s, completed Nov 3, 2021, 3:23:21 PM
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)