camel-issues mailing list archives

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

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

Antoine DESSAIGNE commented on CAMEL-8442:
------------------------------------------

My default locale is fr_FR, same encoding. Here what I have for the same commands
{noformat}
U:\sources\camel\components\camel-univocity-parsers>mvn --version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00)
Maven home: T:\opt\apache-maven-3.2.5
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: T:\opt\jdk-1.7.0_76\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
U:\sources\camel\components\camel-univocity-parsers>mvn clean install
[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 U:\sources\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 U:\sources\camel\components\camel-univocity-parsers\target\generated\camel\dataformats\META-INF\services\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 U:\sources\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 U:\sources\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: U:\sources\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: 2.99 sec - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatMarshalTest
Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatTest
Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.988 sec - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec - in org.apache.camel.dataformat.univocity.UniVocityCsvDataFormatUnmarshalTest
Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.707 sec - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatMarshalTest
Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatTest
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatTest
Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.673 sec - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec - in org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormatUnmarshalTest
Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.569 sec - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatMarshalTest
Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatTest
Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalSpringTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.564 sec - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalSpringTest
Running org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec - in org.apache.camel.dataformat.univocity.UniVocityTsvDataFormatUnmarshalTest

Results :

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

[INFO]
[INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ camel-univocity-parsers ---
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for !org.apache.camel.dataformat.univocity.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for com.thoughtworks.xstream.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for freemarker.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for javax.persistence.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for net.sf.flatpack.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for net.sf.saxon.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.antlr.stringtemplate.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.abdera.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.commons.httpclient.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.commons.logging.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.cxf.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.lucene.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.qpid.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.solr.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.velocity.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.apache.xmlbeans.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.ccil.cowan.tagsoup.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.eclipse.jetty.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.mortbay.cometd.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.osgi.framework*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.slf4j.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.springframework.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.springframework.ws.*
[WARNING] Bundle org.apache.camel:camel-univocity-parsers:bundle:2.16-SNAPSHOT : Did not find
matching referal for org.springframework.xml.*
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ camel-univocity-parsers
---
[INFO]
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ camel-univocity-parsers
---
[INFO] Checking legal files in: camel-univocity-parsers-2.16-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ camel-univocity-parsers
---
[INFO] Installing U:\sources\camel\components\camel-univocity-parsers\target\camel-univocity-parsers-2.16-SNAPSHOT.jar
to C:\Users\adessaigne\.m2-camel\repository\org\apache\camel\camel-univocity-parsers\2.16-SNAPSHOT\camel-univocity-parsers-2.16-SNAPSHOT.jar
[INFO] Installing U:\sources\camel\components\camel-univocity-parsers\pom.xml to C:\Users\adessaigne\.m2-camel\repository\org\apache\camel\camel-univocity-parsers\2.16-SNAPSHOT\camel-univocity-parsers-2.16-SNAPSHOT.pom
[INFO] Installing U:\sources\camel\components\camel-univocity-parsers\target\generated\camel\dataformats\META-INF\services\org\apache\camel\dataformat.properties
to C:\Users\adessaigne\.m2-camel\repository\org\apache\camel\camel-univocity-parsers\2.16-SNAPSHOT\camel-univocity-parsers-2.16-SNAPSHOT-camelDataFormat.properties
[INFO]
[INFO] --- maven-bundle-plugin:2.3.7:install (default-install) @ camel-univocity-parsers ---
[INFO] Installing org/apache/camel/camel-univocity-parsers/2.16-SNAPSHOT/camel-univocity-parsers-2.16-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.841 s
[INFO] Finished at: 2015-03-23T18:58:13+01:00
[INFO] Final Memory: 28M/487M
[INFO] ------------------------------------------------------------------------
{noformat}

I don't know how the locale could change something here.

> 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