Hi Zoran,

thanks for creating the INFRA issue and getting this fixed. :)

-Pascal

Am 30.04.2018 um 10:51 schrieb Zoran Regvart:
Hi Cameleers,
JDK upgrade fixed[1] this, thank you for looking after the tests :)

zoran

[1] 
https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel/job/master/256/testReport/org.apache.camel.component.milo/MonitorItemMultiConnectionsCertTest/testMonitorItem1/

On Fri, Apr 27, 2018 at 11:17 AM, Zoran Regvart <zo...@regvart.com> wrote:
Hello Jens and Pascal,
thank you for debugging this I've created an INFRA issue[1] to upgrade
the JDK 8 to 8u162 or newer. I think we can wait a bit and see if this
is something that INFRA can do quickly. An alternative would be to not
use "JDK 1.8 (latest)" JDK but to use "JDK 1.8.0_144 (unlimited
security)" JDK. I think it doesn't make much sense to go backwards a
version, so I suggest that we wait couple of days before doing that.

zoran

[1] https://issues.apache.org/jira/browse/INFRA-16452

On Fri, Apr 27, 2018 at 8:34 AM, Jens Reimann <jreim...@redhat.com> wrote:
Thanks Pascal,

I did receive the full log off list. And I think I know what is going on. I
do get an "Illegal Key Size" Exception, which probably means that the JVM
on that machine doesn't allow to use strong keys.

I am not sure if you can install the [1] "Unlimited Strength Jurisdiction
Policy Files" in this machine. So probably that means I have to downgrade
the keys for the Apache CI setup.

Let me know what you think.

Cheers

Jens

[1]
http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

On Tue, Apr 24, 2018 at 12:47 PM, Pascal Schumacher <
pascalschumac...@gmx.net> wrote:

Hi Jens,

thanks for lookin into this!

Here is the camel-milo part of the console output of the build:


[INFO] --------------------< org.apache.camel:camel-milo
---------------------
[INFO] Building Camel :: Milo 2.22.0-SNAPSHOT
  [201/765]
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
camel-milo ---
[INFO]
[INFO] --- maven-bundle-plugin:3.5.0:cleanVersions (versions) @
camel-milo ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ camel-milo ---
[INFO]
[INFO] --- camel-package-maven-plugin:2.22.0-SNAPSHOT:prepare-components
(prepare) @ camel-milo ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @
camel-milo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO] Copying 1 resource
[INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/
workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTC
SYDKOPJS46W5IZTMAS3I2Q/components/camel-milo/target/
generated/camel/dataformats
[INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/
workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTC
SYDKOPJS46W5IZTMAS3I2Q/components/camel-milo/target/
generated/camel/languages
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
camel-milo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to /home/jenkins/jenkins-slave/
workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTC
SYDKOPJS46W5IZTMAS3I2Q/components/camel-milo/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources
(default-testResources) @ camel-milo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile)
@ camel-milo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ camel-milo
---
[INFO] Surefire report directory: /home/jenkins/jenkins-slave/
workspace/Camel_master-CIGY56HHEDNGVJBWJRRHBZ64GKNJTC
SYDKOPJS46W5IZTMAS3I2Q/components/camel-milo/target/surefire-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.camel.component.milo.
MonitorItemMultiConnectionsCertTest
[ERROR] Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
115.399 s <<< FAILURE! - in org.apache.camel.component.milo.
MonitorItemMultiConnectionsCertTest
[ERROR] testMonitorItem1(org.apache.camel.component.milo.
MonitorItemMultiConnectionsCertTest)  Time elapsed: 41.293 s  <<< FAILURE!
java.lang.AssertionError: mock://test1 Received message count. Expected:
<1> but was: <0>
         at org.apache.camel.component.milo.MonitorItemMultiConnectionsCer
tTest.testMonitorItem1(MonitorItemMultiConnectionsCertTest.java:130)

[ERROR] testMonitorItem1(org.apache.camel.component.milo.
MonitorItemMultiConnectionsCertTest)  Time elapsed: 36.976 s  <<< FAILURE!
java.lang.AssertionError: mock://test1 Received message count. Expected:
<1> but was: <0>
         at org.apache.camel.component.milo.MonitorItemMultiConnectionsCer
tTest.testMonitorItem1(MonitorItemMultiConnectionsCertTest.java:130)

[ERROR] testMonitorItem1(org.apache.camel.component.milo.
MonitorItemMultiConnectionsCertTest)  Time elapsed: 36.578 s  <<< FAILURE!
java.lang.AssertionError: mock://test1 Received message count. Expected:
<1> but was: <0>
         at org.apache.camel.component.milo.MonitorItemMultiConnectionsCer
tTest.testMonitorItem1(MonitorItemMultiConnectionsCertTest.java:130)

[INFO] Running org.apache.camel.component.milo.
MonitorItemMultiConnectionsTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
15.389 s - in org.apache.camel.component.milo.
MonitorItemMultiConnectionsTest
[INFO] Running org.apache.camel.component.milo.MonitorItemTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
10.829 s - in org.apache.camel.component.milo.MonitorItemTest
[INFO] Running org.apache.camel.component.milo.WriteClientTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
6.566 s - in org.apache.camel.component.milo.WriteClientTest
[INFO] Running org.apache.camel.component.milo.call.CallClientTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
4.959 s - in org.apache.camel.component.milo.call.CallClientTest
[INFO] Running org.apache.camel.component.milo.client.NodeIdTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
5.44 s - in org.apache.camel.component.milo.client.NodeIdTest
[INFO] Running org.apache.camel.component.milo.converter.ConverterTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.987 s - in org.apache.camel.component.milo.converter.ConverterTest
[INFO] Running org.apache.camel.component.milo.server.ServerLocalTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
5.76 s - in org.apache.camel.component.milo.server.ServerLocalTest
[INFO] Running org.apache.camel.component.milo.server.
ServerSetCertificateManagerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
3.935 s - in org.apache.camel.component.milo.server.
ServerSetCertificateManagerTest
[INFO] Running org.apache.camel.component.milo.server.
ServerSetSecurityPoliciesTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1.755 s - in org.apache.camel.component.milo.server.
ServerSetSecurityPoliciesTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] org.apache.camel.component.milo.MonitorItemMultiConnectionsCer
tTest.testMonitorItem1(org.apache.camel.component.milo.
MonitorItemMultiConnectionsCertTest)
[ERROR]   Run 1: MonitorItemMultiConnectionsCer
tTest.testMonitorItem1:130->CamelTestSupport.assertMockEndpointsSatisfied:920
mock://test1 Received message count. Expected: <1> but was: <0>
[ERROR]   Run 2: MonitorItemMultiConnectionsCer
tTest.testMonitorItem1:130->CamelTestSupport.assertMockEndpointsSatisfied:920
mock://test1 Received message count. Expected: <1> but was: <0>
[ERROR]   Run 3: MonitorItemMultiConnectionsCer
tTest.testMonitorItem1:130->CamelTestSupport.assertMockEndpointsSatisfied:920
mock://test1 Received message count. Expected: <1> but was: <0>
[INFO]
[INFO]
[ERROR] Tests run: 27, Failures: 1, Errors: 0, Skipped: 0

Taken from https://builds.apache.org/view/C/view/Apache%20Camel/
job/Camel/job/master/245/consoleFull

I am not sure if there are further logs (if there are I do not have access
rights).

Cheers,
Pascal


Gesendet: Dienstag, 24. April 2018 um 10:44 Uhr
Von: "Jens Reimann" <jreim...@redhat.com>
An: dev@camel.apache.org
Betreff: Re: Milo test cases disabled
Hi Pascal,

thanks for your help.

As I don't have access to the resources of the build job, would it be
possible for your to send me the log files of the test.

Thanks

Jens

On Mon, Apr 23, 2018 at 7:26 PM, Pascal Schumacher <
pascalschumac...@gmx.net
wrote:
Hi Jens,

I disabled the test because at the time it was the only camel test that
always failed on builds.apache.org (with an assertion error).

Sadly I could not replicate the failure locally.

Currently there are no build results on builds.apache.org with the
assertion enabled.

I have just reverted the commit so you can check the tests results of the
camel-milo component on https://builds.apache.org/view
/C/view/Apache%20Camel/job/Camel/job/master/ in 6+ hours for details.

Cheers,
Pascal


Am 23.04.2018 um 16:42 schrieb Jens Reimann:

Hi,

I just saw that some of the Milo unit tests got disabled in a recent
commit:

->
https://github.com/apache/camel/commit/6cdfae2c1db963ab7cc07[https://
github.com/apache/camel/commit/6cdfae2c1db963ab7cc07]
e43bec2c4495bc6914c

The commit just says:

camel-milo: Disable MonitorItemMultiConnectionsCertTest because it
always
fails on builds.apache.org

I would like to fix this rather than to disable this. So any information
about that would be helpful to me.

Cheers

Jens



--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
____________________________________________________________
_________________

Red Hat GmbH, www.de.redhat.com[http://www.de.redhat.com],
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB
153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,
Michael O'Neill



--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB
153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,
Michael O'Neill


--
Zoran Regvart



Reply via email to