[jira] [Comment Edited] (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 edited comment on CAMEL-13454 at 7/25/19 4:19 PM:
---

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)


was (Author: ramu11):
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] [Comment Edited] (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 edited comment on CAMEL-13454 at 7/25/19 12:05 PM:


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


was (Author: ramu11):
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] [Comment Edited] (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 edited comment on CAMEL-13454 at 7/20/19 12:21 PM:
--

[~davsclaus]

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


was (Author: akoufoudakis):
[~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] [Comment Edited] (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 edited comment on CAMEL-13454 at 7/12/19 12:04 PM:
--

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?


was (Author: akoufoudakis):
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)