[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-25 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

Reverted back to old mvn profile  implementation to skip test. i am keeping 
this jira open till we find a solution which will skip tests in all os( 
currently not skipping tests in mac)

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: pom.xml
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-25 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

Raise PR [PR|https://github.com/apache/camel/pull/3063]

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: pom.xml
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-23 Thread Claus Ibsen (JIRA)


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

Claus Ibsen commented on CAMEL-13454:
-

Yeah I think there is still an issue. Its sadly not so easy to just say, in an 
easy way

- run this test if docker is running, if not then just skip the test



> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-22 Thread Luca Burgazzoli (JIRA)


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

Luca Burgazzoli commented on CAMEL-13454:
-

btw, DockerMachineClient checks for the executable "docker-machine" afaik, not 
sure if it is the right solution as i.e. on linux docker-machine is not 
installed by default 

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-22 Thread Andrea Cosentino (JIRA)


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

Andrea Cosentino commented on CAMEL-13454:
--

We have problems with consul tests too 
[https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel/job/master/1414/#showFailuresLink]

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-20 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

done. 

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-20 Thread Alexandros Koufoudakis (JIRA)


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

Alexandros Koufoudakis commented on CAMEL-13454:


[~davsclaus]

I had the same issue with the pulsar on OS X. So, I think it is another 
candidate for the change above.

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-20 Thread Claus Ibsen (JIRA)


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

Claus Ibsen commented on CAMEL-13454:
-

Ramu, there are some other camel components that also use test-containers. Can 
we do the same change for those?

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-19 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

committed the changes. Removed the profiles from pom and added check in 
ContainerAwareTestSupport#setupResources
[~davsclaus] could you please test 

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-18 Thread Claus Ibsen (JIRA)


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

Claus Ibsen commented on CAMEL-13454:
-

Sounds good with Jan's suggestion, you are welcome to work on this.

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-15 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

[~akoufoudakis] I have tested [~bedla] suggestion. Could you please test it on 
your os x and let us know the results

if it works then i will  implement this change in rest of the bundles also

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-14 Thread Jan Bednar (JIRA)


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

Jan Bednar commented on CAMEL-13454:


IMHO the much better option would be dropping those two maven profiles and 
manage it in the test as JUnit Assumption. You can add this as first statement 
into ContainerAwareTestSupport#setupResources
{code:java}
Assume.assumeTrue("Skipping test because docker not installed", 
DockerMachineClient.instance().isInstalled());{code}
and it should be enough.

If we want to stay with current maven approach, we would need to add next 
activation for windows. Because env.DOCKER_HOST is not set out-of-box with 
docker installer and also /var/run/docker.sock does not exists on windows. 
Currently are tests always skipped on windows with docker installed.

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-12 Thread Alexandros Koufoudakis (JIRA)


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

Alexandros Koufoudakis commented on CAMEL-13454:


Another update. The only way (until now) I was able to make it working on 
Mojave, was the following:

{{}}
{{ testcontainers-skip-tests}}
{{ }}
{{ }}
{{ !integration-test}}
{{ }}
{{ }}
{{ }}
{{ }}
{{ }}
{{ maven-surefire-plugin}}
{{ }}
{{ true}}
{{ }}
{{ }}
{{ }}
{{ maven-failsafe-plugin}}
{{ }}
{{ true}}
{{ }}
{{ }}
{{ }}
{{ }}
{{}}

[~davsclaus] can you, please, check whether it works for you on your macOS?

If it works, what should we do next?

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-11 Thread Alexandros Koufoudakis (JIRA)


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

Alexandros Koufoudakis commented on CAMEL-13454:


An update. I tried Oracle JDK on Fedora (VM) and it runs perfectly. However, 
the problem still persists on OS X. As I mentioned in PR, the same issue occurs 
with camel-pulsar. Shall we consider opening a bug to Maven?

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-10 Thread Alexandros Koufoudakis (JIRA)


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

Alexandros Koufoudakis commented on CAMEL-13454:


Good morning!

A bit late today.

Sure. Thank you for attaching the file.

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-09 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

[~akoufoudakis] I do not have os x to test. I  have attached pom.xml. could you 
please test and  let us know the results

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-09 Thread Claus Ibsen (JIRA)


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

Claus Ibsen commented on CAMEL-13454:
-

Yeah on my osx the tests are also executed, when I run mvn clean install

[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 30.856 
s <<< FAILURE! - in 
org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
[ERROR] 
testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
  Time elapsed: 30.479 s  <<< ERROR!
java.lang.IllegalStateException: Could not find a valid Docker environment. 
Please see logs and check configuration
at 
org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)

And I have stopped my docker,

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-09 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

 I have tested. I do not see any issue(os is RHEL)  it is skipping tests

[~davsclaus] Could you please test 

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-08 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

Hi,

In my tests it skipped tests. 

[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ 
camel-testcontainers ---
[INFO] Tests are skipped.

anyway I will look into this tomorrow. Thanks for notifying

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-08 Thread Alexandros Koufoudakis (JIRA)


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

Alexandros Koufoudakis commented on CAMEL-13454:


Just tried the fix with the Maven 3.5.2 on OS X. It seems it still activates it.

Here's what worked out for me: https://issues.apache.org/jira/browse/CAMEL-13454
Apologies for disturbance...

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-08 Thread Ramu (JIRA)


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

Ramu commented on CAMEL-13454:
--

Added profile to skip tests if no docker to the pom.xml

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Assignee: Ramu
>Priority: Major
> Fix For: 3.0.0
>
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-05 Thread Claus Ibsen (JIRA)


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

Claus Ibsen commented on CAMEL-13454:
-

See for example camel-pulsar how it can skip running those tests that require 
docker by looking at its pom.xml file.

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Priority: Major
> Fix For: 3.0.0
>
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker

2019-07-04 Thread Alexandros Koufoudakis (JIRA)


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

Alexandros Koufoudakis commented on CAMEL-13454:


Will take a look at this one.

Does it have to be in a specific release?

 

> camel-testcontainers - Should build if no docker
> 
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
>  Issue Type: Improvement
>Reporter: Claus Ibsen
>Priority: Major
> Fix For: 3.0.0
>
>
> If you run mvn clean install then the following should still pass.
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 31.178 s <<< FAILURE! - in 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] 
> testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT)
>   Time elapsed: 30.805 s  <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. 
> Please see logs and check configuration
>   at 
> org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   
> ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37
>  » IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ 
> camel-testcontainers ---
> [INFO] 
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)