You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Babak Vahdat <ba...@swissonline.ch> on 2012/11/18 14:56:00 UTC

Re: JMX component options

Hi Bilgin,

I think you have not checked-in monitorNotificationLong.xml yet, causing the
test to fail. I just noticed this right before as I was running a full build
on my box (because of another issue):

~/dev/workspace/camel/components/camel-jmx>mvn test
-Dtest=JMXMonitorTypeLongCounterTest
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building Camel :: JMX 2.11-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-jmx
---
[INFO] 
[INFO] --- maven-jaxb2-plugin:0.8.1:generate (default) @ camel-jmx ---
[INFO] Skipped XJC execution. Generated sources were up-to-date.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ camel-jmx
---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
camel-jmx ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ camel-jmx
---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] >>> camel-package-maven-plugin:2.11-SNAPSHOT:package (default) @
camel-jmx >>>
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-jmx
---
[INFO] 
[INFO] --- maven-jaxb2-plugin:0.8.1:generate (default) @ camel-jmx ---
[INFO] Skipped XJC execution. Generated sources were up-to-date.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ camel-jmx
---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
camel-jmx ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ camel-jmx
---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< camel-package-maven-plugin:2.11-SNAPSHOT:package (default) @
camel-jmx <<<
[INFO] 
[INFO] --- camel-package-maven-plugin:2.11-SNAPSHOT:package (default) @
camel-jmx ---
[INFO] Generated
/Users/bvahdat/dev/workspace/camel/components/camel-jmx/target/classes/META-INF/services/org/apache/camel/component.properties
containing camel components jmx
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ camel-jmx ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 21 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
camel-jmx ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ camel-jmx ---
[INFO] Surefire report directory:
/Users/bvahdat/dev/workspace/camel/components/camel-jmx/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.camel.component.jmx.JMXMonitorTypeLongCounterTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.158 sec
<<< FAILURE!

Results :

Tests in error: 
  counter(org.apache.camel.component.jmx.JMXMonitorTypeLongCounterTest):
/Users/bvahdat/dev/workspace/camel/components/camel-jmx/src/test/resources/monitor-consumer/monitorNotificationLong.xml
(No such file or directory)

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

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.204s
[INFO] Finished at: Sun Nov 18 14:51:28 CET 2012
[INFO] Final Memory: 12M/1011M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.8:test (default-test) on
project camel-jmx: There are test failures.
[ERROR] 
[ERROR] Please refer to
/Users/bvahdat/dev/workspace/camel/components/camel-jmx/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

Babak



--
View this message in context: http://camel.465427.n5.nabble.com/JMX-component-options-tp5721795p5722923.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: JMX component options

Posted by Bilgin Ibryam <bi...@gmail.com>.
Thanks for the temp fix Babak.

I will checking that file as soon as I come back from my holiday (in two
weeks) and get access to my intelliJ

Bilgin

On 19 November 2012 20:22, Babak Vahdat <ba...@swissonline.ch> wrote:

> I temporarily disabled this test failing by all the CI profiles again &
> again. Feel free to re-enable it again after your commit.
>
> Babak
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/JMX-component-options-tp5721795p5722967.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>

Re: JMX component options

Posted by Babak Vahdat <ba...@swissonline.ch>.
I temporarily disabled this test failing by all the CI profiles again &
again. Feel free to re-enable it again after your commit.

Babak 



--
View this message in context: http://camel.465427.n5.nabble.com/JMX-component-options-tp5721795p5722967.html
Sent from the Camel Development mailing list archive at Nabble.com.