camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8442) camel-univocity-parsers - Fails unit test on windows
Date Mon, 23 Mar 2015 17:13:11 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376218#comment-14376218
] 

Claus Ibsen commented on CAMEL-8442:
------------------------------------

Yes I wonder if I use a different platform encoding that you.

> Default locale: en_US, platform encoding: Cp1252



{code}
E:\workspace\camel\components\camel-univocity-parsers [master]> mvn --version
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=512m; support was removed
in 8.0
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00)
Maven home: c:\maven
Java version: 1.8.0_40, vendor: Oracle Corporation
Java home: C:\Java\jdk1.8.0_40\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "dos"
E:\workspace\camel\components\camel-univocity-parsers [master]> mvn clean install
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=512m; support was removed
in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: UniVocity Parsers 2.16-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ camel-univocity-parsers ---
[INFO] Deleting E:\workspace\camel\components\camel-univocity-parsers\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ camel-univocity-parsers ---
[INFO]
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-univocity-parsers ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ camel-univocity-parsers ---
[INFO]
[INFO] --- camel-package-maven-plugin:2.16-SNAPSHOT:prepare-components (default) @ camel-univocity-parsers
---
[INFO] Generated E:\workspace\camel\components\camel-univocity-parsers\target\generated\camel\dataformats\META-INF\servi
ces\org\apache\camel\dataformat.properties containing 3 Camel dataformats: univocity-csv univocity-fixed
univocity-tsv
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ camel-univocity-parsers
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ camel-univocity-parsers
---
[INFO] Compiling 7 source files to E:\workspace\camel\components\camel-univocity-parsers\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ camel-univocity-parsers
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ camel-univocity-parsers
---
[INFO] Compiling 16 source files to E:\workspace\camel\components\camel-univocity-parsers\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ camel-univocity-parsers ---
[INFO] Surefire report directory: E:\workspace\camel\components\camel-univocity-parsers\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.843 sec - in org.apache.camel.dataformat.univocity.Uni
VocityCsvDataFormatMarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec - in org.apache.camel.dataformat.univocity.Uni
VocityCsvDataFormatMarshalTest
Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.camel.dataformat.univocity.UniVoc
ityCsvDataFormatTest
Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalSpringTest
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.594 sec <<< FAILURE!
- in org.apache.camel.dataformat.
univocity.UniVocityCsvDataFormatUnmarshalSpringTest
shouldUnmarshalUsingIterator(org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalSpringTest)
 Time elap
sed: 0.265 sec  <<< ERROR!
com.univocity.parsers.common.TextParsingException: Error processing input: , line=3, char=29.
Content parsed: [three]
        at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at com.univocity.parsers.common.input.DefaultCharInputReader.reloadBuffer(DefaultCharInputReader.java:71)
        at com.univocity.parsers.common.input.AbstractCharInputReader.updateBuffer(AbstractCharInputReader.java:103)
        at com.univocity.parsers.common.input.AbstractCharInputReader.nextChar(AbstractCharInputReader.java:141)
        at com.univocity.parsers.csv.CsvParser.parseValue(CsvParser.java:81)
        at com.univocity.parsers.csv.CsvParser.parseField(CsvParser.java:125)
        at com.univocity.parsers.csv.CsvParser.parseRecord(CsvParser.java:67)
        at com.univocity.parsers.common.AbstractParser.parseNext(AbstractParser.java:181)
        at org.apache.camel.dataformat.univocity.Unmarshaller$RowIterator.next(Unmarshaller.java:118)
        at org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIterator(
UniVocityCsvDataFormatUnmarshalSpringTest.java:117)

Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalTest
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
- in org.apache.camel.dataformat.
univocity.UniVocityCsvDataFormatUnmarshalTest
shouldUnmarshalUsingIterator(org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalTest)
 Time elapsed: 0
.016 sec  <<< ERROR!
com.univocity.parsers.common.TextParsingException: Error processing input: , line=3, char=29.
Content parsed: [three]
        at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at com.univocity.parsers.common.input.DefaultCharInputReader.reloadBuffer(DefaultCharInputReader.java:71)
        at com.univocity.parsers.common.input.AbstractCharInputReader.updateBuffer(AbstractCharInputReader.java:103)
        at com.univocity.parsers.common.input.AbstractCharInputReader.nextChar(AbstractCharInputReader.java:141)
        at com.univocity.parsers.csv.CsvParser.parseValue(CsvParser.java:81)
        at com.univocity.parsers.csv.CsvParser.parseField(CsvParser.java:125)
        at com.univocity.parsers.csv.CsvParser.parseRecord(CsvParser.java:67)
        at com.univocity.parsers.common.AbstractParser.parseNext(AbstractParser.java:181)
        at org.apache.camel.dataformat.univocity.Unmarshaller$RowIterator.next(Unmarshaller.java:118)
        at org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalTest.shouldUnmarshalUsingIterator(UniVoc
ityCsvDataFormatUnmarshalTest.java:119)

Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.703 sec - in org.apache.camel.dataformat.univocity.Uni
VocityFixedWidthDataFormatMarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec - in org.apache.camel.dataformat.univocity.Uni
VocityFixedWidthDataFormatMarshalTest
Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatTest
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.camel.dataformat.univocity.UniVoc
ityFixedWidthDataFormatTest
Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalSpringTest
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.516 sec <<< FAILURE!
- in org.apache.camel.dataformat.
univocity.UniVocityFixedWidthDataFormatUnmarshalSpringTest
shouldUnmarshalUsingIterator(org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalSpringTest)
 Ti
me elapsed: 0.094 sec  <<< ERROR!
com.univocity.parsers.common.TextParsingException: Error processing input: , line=3, char=39.
Content parsed: [three]
        at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at com.univocity.parsers.common.input.DefaultCharInputReader.reloadBuffer(DefaultCharInputReader.java:71)
        at com.univocity.parsers.common.input.AbstractCharInputReader.updateBuffer(AbstractCharInputReader.java:103)
        at com.univocity.parsers.common.input.AbstractCharInputReader.nextChar(AbstractCharInputReader.java:141)
        at com.univocity.parsers.fixed.FixedWidthParser.readValue(FixedWidthParser.java:138)
        at com.univocity.parsers.fixed.FixedWidthParser.parseRecord(FixedWidthParser.java:91)
        at com.univocity.parsers.common.AbstractParser.parseNext(AbstractParser.java:181)
        at org.apache.camel.dataformat.univocity.Unmarshaller$RowIterator.next(Unmarshaller.java:118)
        at org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIt
erator(UniVocityFixedWidthDataFormatUnmarshalSpringTest.java:117)

Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalTest
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE!
- in org.apache.camel.dataformat.
univocity.UniVocityFixedWidthDataFormatUnmarshalTest
shouldUnmarshalUsingIterator(org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalTest)
 Time ela
psed: 0 sec  <<< ERROR!
com.univocity.parsers.common.TextParsingException: Error processing input: , line=3, char=39.
Content parsed: [three]
        at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at com.univocity.parsers.common.input.DefaultCharInputReader.reloadBuffer(DefaultCharInputReader.java:71)
        at com.univocity.parsers.common.input.AbstractCharInputReader.updateBuffer(AbstractCharInputReader.java:103)
        at com.univocity.parsers.common.input.AbstractCharInputReader.nextChar(AbstractCharInputReader.java:141)
        at com.univocity.parsers.fixed.FixedWidthParser.readValue(FixedWidthParser.java:138)
        at com.univocity.parsers.fixed.FixedWidthParser.parseRecord(FixedWidthParser.java:91)
        at com.univocity.parsers.common.AbstractParser.parseNext(AbstractParser.java:181)
        at org.apache.camel.dataformat.univocity.Unmarshaller$RowIterator.next(Unmarshaller.java:118)
        at org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalTest.shouldUnmarshalUsingIterator
(UniVocityFixedWidthDataFormatUnmarshalTest.java:118)

Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.671 sec - in org.apache.camel.dataformat.univocity.Uni
VocityTsvDataFormatMarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec - in org.apache.camel.dataformat.univocity.Uni
VocityTsvDataFormatMarshalTest
Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.camel.dataformat.univocity.UniVoc
ityTsvDataFormatTest
Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalSpringTest
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.313 sec <<< FAILURE!
- in org.apache.camel.dataformat.
univocity.UniVocityTsvDataFormatUnmarshalSpringTest
shouldUnmarshalUsingIterator(org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalSpringTest)
 Time elap
sed: 0 sec  <<< ERROR!
com.univocity.parsers.common.TextParsingException: Error processing input: , line=3, char=29.
Content parsed: [three]
        at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at com.univocity.parsers.common.input.DefaultCharInputReader.reloadBuffer(DefaultCharInputReader.java:71)
        at com.univocity.parsers.common.input.AbstractCharInputReader.updateBuffer(AbstractCharInputReader.java:103)
        at com.univocity.parsers.common.input.AbstractCharInputReader.nextChar(AbstractCharInputReader.java:141)
        at com.univocity.parsers.tsv.TsvParser.parseField(TsvParser.java:103)
        at com.univocity.parsers.tsv.TsvParser.parseRecord(TsvParser.java:63)
        at com.univocity.parsers.common.AbstractParser.parseNext(AbstractParser.java:181)
        at org.apache.camel.dataformat.univocity.Unmarshaller$RowIterator.next(Unmarshaller.java:118)
        at org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIterator(
UniVocityTsvDataFormatUnmarshalSpringTest.java:117)

Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalTest
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE!
- in org.apache.camel.dataformat.
univocity.UniVocityTsvDataFormatUnmarshalTest
shouldUnmarshalUsingIterator(org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalTest)
 Time elapsed: 0
 sec  <<< ERROR!
com.univocity.parsers.common.TextParsingException: Error processing input: , line=3, char=29.
Content parsed: [three]
        at sun.nio.cs.StreamDecoder.ensureOpen(StreamDecoder.java:46)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:148)
        at java.io.InputStreamReader.read(InputStreamReader.java:184)
        at com.univocity.parsers.common.input.DefaultCharInputReader.reloadBuffer(DefaultCharInputReader.java:71)
        at com.univocity.parsers.common.input.AbstractCharInputReader.updateBuffer(AbstractCharInputReader.java:103)
        at com.univocity.parsers.common.input.AbstractCharInputReader.nextChar(AbstractCharInputReader.java:141)
        at com.univocity.parsers.tsv.TsvParser.parseField(TsvParser.java:103)
        at com.univocity.parsers.tsv.TsvParser.parseRecord(TsvParser.java:63)
        at com.univocity.parsers.common.AbstractParser.parseNext(AbstractParser.java:181)
        at org.apache.camel.dataformat.univocity.Unmarshaller$RowIterator.next(Unmarshaller.java:118)
        at org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalTest.shouldUnmarshalUsingIterator(UniVoc
ityTsvDataFormatUnmarshalTest.java:118)


Results :

Tests in error:
  UniVocityCsvDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIterator:117 » TextParsing
  UniVocityCsvDataFormatUnmarshalTest.shouldUnmarshalUsingIterator:119 » TextParsing
  UniVocityFixedWidthDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIterator:117 » TextParsing
  UniVocityFixedWidthDataFormatUnmarshalTest.shouldUnmarshalUsingIterator:118 » TextParsing
  UniVocityTsvDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIterator:117 » TextParsing
  UniVocityTsvDataFormatUnmarshalTest.shouldUnmarshalUsingIterator:118 » TextParsing

Tests run: 115, Failures: 0, Errors: 6, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.344 s
[INFO] Finished at: 2015-03-23T18:13:22+01:00
[INFO] Final Memory: 16M/46M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "jube" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test)
on project camel-
univocity-parsers: There are test failures.
[ERROR]
[ERROR] Please refer to E:\workspace\camel\components\camel-univocity-parsers\target\surefire-reports
for the individual
 test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
E:\workspace\camel\components\camel-univocity-parsers [master]>
{code}

> camel-univocity-parsers - Fails unit test on windows
> ----------------------------------------------------
>
>                 Key: CAMEL-8442
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8442
>             Project: Camel
>          Issue Type: Test
>    Affects Versions: 2.15.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: Future
>
>         Attachments: console.txt, log.txt
>
>
> Tests in error:
>   UniVocityCsvDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIterator:117 » TextParsing
>   UniVocityCsvDataFormatUnmarshalTest.shouldUnmarshalUsingIterator:119 » TextParsing
>   UniVocityFixedWidthDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIterator:117 »
TextParsing
>   UniVocityFixedWidthDataFormatUnmarshalTest.shouldUnmarshalUsingIterator:118 » TextParsing
>   UniVocityTsvDataFormatUnmarshalSpringTest.shouldUnmarshalUsingIterator:117 » TextParsing
>   UniVocityTsvDataFormatUnmarshalTest.shouldUnmarshalUsingIterator:118 » TextParsing
> Tests run: 115, Failures: 0, Errors: 6, Skipped: 0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message