Failing assertion & stacktrace:

    Type type4 = cas.getTypeSystem().getType("my.package.one.One.Mtwl2");
    AnnotationIndex<AnnotationFS> ai4 = cas.getAnnotationIndex(type4);
>  assertEquals(1, ai4.size());
    assertEquals("2", ai4.iterator().next().getCoveredText());


Running org.apache.uima.ruta.maven.OneEngineTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.307 sec
<<< FAILURE!
test(org.apache.uima.ruta.maven.OneEngineTest)  Time elapsed: 2.259 sec
 <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotEquals(Assert.java:618)
at org.junit.Assert.assertEquals(Assert.java:126)
at org.junit.Assert.assertEquals(Assert.java:443)
at org.junit.Assert.assertEquals(Assert.java:427)
at org.apache.uima.ruta.maven.OneEngineTest.test(OneEngineTest.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)


On Thu, May 4, 2017 at 10:18 AM, Burn Lewis <[email protected]> wrote:

> Keep getting the same test failure ... do I have to install UIMA & UIMAFit
> somewhere?
>
> ~Burn
>
> On Thu, May 4, 2017 at 9:10 AM, Marshall Schor <[email protected]> wrote:
>
>> The problem seems (somewhat) intermittent. Yesterday, solid failure.  This
>> morning, first time - it failed, 2nd time it worked (for me).  Burn
>> reports he
>> got past this, this morning, as well...
>>
>> -Marshall
>>
>>
>> On 5/4/2017 3:05 AM, Peter Klügl wrote:
>> > Hi,
>> >
>> >
>> > no idea yet. I successfully downloaded the file outside of our network.
>> >
>> > Any ideas how we can *reasonably* hotfix the problem for the review? Can
>> > you download it from somewhere else and manually add it to the local m2
>> > folder?
>> >
>> >
>> > Best,
>> >
>> >
>> > Peter
>> >
>> >
>> > Am 03.05.2017 um 19:47 schrieb Marshall Schor:
>> >> more info:
>> >>
>> >> That directory
>> >> (http://maven.averbis.com/m2/org/eclipse/swt/win32/win32/x86
>> _64/3.104.1/) has
>> >> .jar, .pom, and .md5 and .sha1 for both of those.  All of the files I
>> can
>> >> download except the .jar.
>> >>
>> >> In linux, doing a "curl" command on this site, it seems to get about
>> 105K bytes,
>> >> and then fail.
>> >>
>> >> Here's the output from curl:
>> >>
>> >> curl
>> >> http://maven.averbis.com/m2/org/eclipse/swt/win32/win32/x86_
>> 64/3.104.1/x86_64-3.104.1.jar
>> >>> t.jar
>> >>   % Total    % Received % Xferd  Average Speed   Time    Time
>>  Time  Current
>> >>                                  Dload  Upload   Total   Spent
>> Left  Speed
>> >>   3 2684k    3  105k    0     0   216k      0  0:00:12 --:--:--
>> 0:00:12  269k
>> >> curl: (56) Failure when receiving data from the peer
>> >>
>> >> Another go gives the same failure point: after receiving 105k:
>> >>
>> >> curl
>> >> http://maven.averbis.com/m2/org/eclipse/swt/win32/win32/x86_
>> 64/3.104.1/x86_64-3.104.1.jar
>> >>> t.jar
>> >>   % Total    % Received % Xferd  Average Speed   Time    Time
>>  Time  Current
>> >>                                  Dload  Upload   Total   Spent
>> Left  Speed
>> >>   3 2684k    3  105k    0     0   212k      0  0:00:12 --:--:--
>> 0:00:12  263k
>> >> curl: (56) Failure when receiving data from the peer
>> >>
>> >> -Marshall
>> >>
>> >> On 5/3/2017 10:39 AM, Peter Klügl wrote:
>> >>> Hi,
>> >>>
>> >>>
>> >>> I was able to download it (from within our network). I'll ask our IT
>> for
>> >>> advice...
>> >>>
>> >>>
>> >>> Peter
>> >>>
>> >>>
>> >>> Am 03.05.2017 um 16:34 schrieb Marshall Schor:
>> >>>> Hi,
>> >>>>
>> >>>> I just went to
>> >>>> http://maven.averbis.com/m2/org/eclipse/swt/win32/win32/x86_
>> 64/3.104.1/ in a
>> >>>> browser, and could see the jar file, but downloading it produced a
>> network error
>> >>>> (reported by my browser...)
>> >>>>
>> >>>> Would be good to get this fixed :-)
>> >>>>
>> >>>> -Marshall
>> >>>>
>> >>>>
>> >>>> On 5/3/2017 8:54 AM, Peter Klügl wrote:
>> >>>>> Could maybe some server maintenance (yesterday 18:00 CEST), or a
>> >>>>> timeout. The server is terribly slow.
>> >>>>>
>> >>>>>
>> >>>>> Peter
>> >>>>>
>> >>>>>
>> >>>>> Am 03.05.2017 um 14:51 schrieb Burn Lewis:
>> >>>>>> My build from the source zip on Linux failed with a reference to
>> win32:
>> >>>>>>
>> >>>>>> [ERROR] Failed to execute goal on project ruta-ep-parent: Could
>> not resolve
>> >>>>>> dependencies for project org.apache.uima:ruta-ep-parent:pom:2.6.1:
>> Could
>> >>>>>> not transfer artifact org.eclipse.swt.win32.win32:x8
>> 6_64:jar:3.104.1
>> >>>>>> from/to averbis-osgi-releases (http://maven.averbis.com/m2/): GET
>> request
>> >>>>>> of: org/eclipse/swt/win32/win32/x86_64/3.104.1/x86_64-3.104.1.jar
>> from
>> >>>>>> averbis-osgi-releases failed: Connection reset
>> >>>>>>
>> >>>>>> ~Burn
>> >>>>>>
>> >>>>>> On Tue, May 2, 2017 at 3:30 AM, Peter Klügl <
>> [email protected]>
>> >>>>>> wrote:
>> >>>>>>
>> >>>>>>> a gentle ping :-)
>> >>>>>>>
>> >>>>>>> The vote is now open for almost two weeks and only one vote is
>> missing.
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> Peter
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> Am 19.04.2017 um 17:32 schrieb Peter Klügl:
>> >>>>>>>> Hi,
>> >>>>>>>>
>> >>>>>>>> the first release candidate of Apache UIMA Ruta v2.6.1 is ready
>> for
>> >>>>>>> voting.
>> >>>>>>>> This bugfix release is not compatible with UIMA 3.0.0.
>> >>>>>>>>
>> >>>>>>>> Major changes in this release:
>> >>>>>>>>
>> >>>>>>>> UIMA Ruta Language and Analysis Engine:
>> >>>>>>>> * Fixed problem with empty annotation list expressions
>> >>>>>>>> * Fixed false positive match in conjunct rules
>> >>>>>>>> * Requires UIMA 2.10.0 and uimaFIT 2.3.0
>> >>>>>>>>
>> >>>>>>>> UIMA Ruta Workbench:
>> >>>>>>>> * Fixed Query View
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> Staging repository:
>> >>>>>>>> https://repository.apache.org/content/repositories/orgapache
>> uima-1138/
>> >>>>>>>>
>> >>>>>>>> SVN tag:
>> >>>>>>>> https://svn.apache.org/repos/asf/uima/ruta/tags/ruta-2.6.1
>> >>>>>>>>
>> >>>>>>>> Update site:
>> >>>>>>>> https://dist.apache.org/repos/dist/dev/uima/ruta-2.6.1-rc1/
>> >>>>>>> eclipse-update-site/ruta/
>> >>>>>>>> Archive with all sources:
>> >>>>>>>> https://dist.apache.org/repos/dist/dev/uima/ruta-2.6.1-rc1/
>> >>>>>>> ruta-2.6.1-source-release.zip
>> >>>>>>>> Overall 7 issues have been fixed for this release
>> >>>>>>>> They can be found in the RELEASE_NOTES.html.
>> >>>>>>>>
>> >>>>>>>> ... and here:
>> >>>>>>>>
>> >>>>>>>> https://issues.apache.org/jira/issues/?jql=project%20%
>> >>>>>>> 3D%20UIMA%20AND%20fixVersion%20%3D%202.6.1ruta%20AND%
>> >>>>>>> 20component%20%3D%20ruta%20ORDER%20BY%20created%20DESC
>> >>>>>>>> Please vote on release:
>> >>>>>>>>
>> >>>>>>>> [ ] +1 OK to release
>> >>>>>>>> [ ]  0 Don't care
>> >>>>>>>> [ ] -1 Not OK to release, because ...
>> >>>>>>>>
>> >>>>>>>> Thanks.
>> >>>>>>>>
>> >>>>>>>> Peter
>> >>>>>>>>
>> >>>>>>>>
>> >
>>
>>
>

Reply via email to