{"action":"created","issue":{"url":"https://api.github.com/repos/rhiot/rhiot/issues/559","repository_url":"https://api.github.com/repos/rhiot/rhiot","labels_url":"https://api.github.com/repos/rhiot/rhiot/issues/559/labels{/name}","comments_url":"https://api.github.com/repos/rhiot/rhiot/issues/559/comments","events_url":"https://api.github.com/repos/rhiot/rhiot/issues/559/events","html_url":"https://github.com/rhiot/rhiot/issues/559","id":143071100,"number":559,"title":"build fails when running on OSX due to docker integration","user":{"login":"gautric","id":437723,"avatar_url":"https://avatars.githubusercontent.com/u/437723?v=3","gravatar_id":"","url":"https://api.github.com/users/gautric","html_url":"https://github.com/gautric","followers_url":"https://api.github.com/users/gautric/followers","following_url":"https://api.github.com/users/gautric/following{/other_user}","gists_url":"https://api.github.com/users/gautric/gists{/gist_id}","starred_url":"https://api.github.com/users/gautric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautric/subscriptions","organizations_url":"https://api.github.com/users/gautric/orgs","repos_url":"https://api.github.com/users/gautric/repos","events_url":"https://api.github.com/users/gautric/events{/privacy}","received_events_url":"https://api.github.com/users/gautric/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rhiot/rhiot/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/rhiot/rhiot/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/rhiot/rhiot/labels/r&d","name":"r&d","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"gautric","id":437723,"avatar_url":"https://avatars.githubusercontent.com/u/437723?v=3","gravatar_id":"","url":"https://api.github.com/users/gautric","html_url":"https://github.com/gautric","followers_url":"https://api.github.com/users/gautric/followers","following_url":"https://api.github.com/users/gautric/following{/other_user}","gists_url":"https://api.github.com/users/gautric/gists{/gist_id}","starred_url":"https://api.github.com/users/gautric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautric/subscriptions","organizations_url":"https://api.github.com/users/gautric/orgs","repos_url":"https://api.github.com/users/gautric/repos","events_url":"https://api.github.com/users/gautric/events{/privacy}","received_events_url":"https://api.github.com/users/gautric/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rhiot/rhiot/milestones/8","html_url":"https://github.com/rhiot/rhiot/milestones/0.1.5","labels_url":"https://api.github.com/repos/rhiot/rhiot/milestones/8/labels","id":1605183,"number":8,"title":"0.1.5","description":"","creator":{"login":"gautric","id":437723,"avatar_url":"https://avatars.githubusercontent.com/u/437723?v=3","gravatar_id":"","url":"https://api.github.com/users/gautric","html_url":"https://github.com/gautric","followers_url":"https://api.github.com/users/gautric/followers","following_url":"https://api.github.com/users/gautric/following{/other_user}","gists_url":"https://api.github.com/users/gautric/gists{/gist_id}","starred_url":"https://api.github.com/users/gautric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautric/subscriptions","organizations_url":"https://api.github.com/users/gautric/orgs","repos_url":"https://api.github.com/users/gautric/repos","events_url":"https://api.github.com/users/gautric/events{/privacy}","received_events_url":"https://api.github.com/users/gautric/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":17,"state":"open","created_at":"2016-02-25T13:31:26Z","updated_at":"2016-03-29T08:04:00Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-03-23T20:27:02Z","updated_at":"2016-03-29T09:56:09Z","closed_at":null,"body":"```\r\nRunning io.rhiot.cloudplatform.camel.openalpr.OpenalprProducerIntegrationTest\r\n21:22:36.026 [main] INFO  i.r.c.c.o.OpenalprProducerIntegrationTest - ********************************************************************************\r\n21:22:36.029 [main] INFO  i.r.c.c.o.OpenalprProducerIntegrationTest - Testing: shouldFindPlate(io.rhiot.cloudplatform.camel.openalpr.OpenalprProducerIntegrationTest)\r\n21:22:36.029 [main] INFO  i.r.c.c.o.OpenalprProducerIntegrationTest - ********************************************************************************\r\n21:22:36.029 [main] DEBUG i.r.c.c.o.OpenalprProducerIntegrationTest - setUp test\r\n21:22:36.054 [main] DEBUG i.r.c.c.o.OpenalprProducerIntegrationTest - Using jndi.properties from classpath root\r\n21:22:36.076 [main] DEBUG org.eclipse.jetty.util.log - Logging to Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog\r\n21:22:36.077 [main] DEBUG jndi - InitialContextFactory.getInitialContext()\r\n21:22:36.081 [main] DEBUG jndi - Created initial context delegate for local namespace:org.eclipse.jetty.jndi.local.localContextRoot@42eca56e\r\n21:22:36.256 [main] DEBUG o.a.c.impl.SharedProducerServicePool - Starting service pool: org.apache.camel.impl.SharedProducerServicePool@3d3fcdb0\r\n21:22:36.259 [main] DEBUG o.a.camel.impl.DefaultCamelContext - Using ComponentResolver: org.apache.camel.impl.DefaultComponentResolver@3c0a50da to resolve component with name: properties\r\n21:22:36.260 [main] DEBUG jndi - Looking up name=\"properties\"\r\n21:22:36.260 [main] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: properties in registry: null\r\n21:22:36.263 [main] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: properties via type: org.apache.camel.component.properties.PropertiesComponent via: META-INF/services/org/apache/camel/component/properties\r\n21:22:36.277 [main] DEBUG i.r.c.c.o.OpenalprProducerIntegrationTest - Using created route builder: Routes: []\r\n21:22:36.278 [main] DEBUG o.a.camel.impl.DefaultCamelContext - Adding routes from builder: Routes: []\r\n21:22:36.279 [main] INFO  o.a.camel.impl.DefaultCamelContext - Apache Camel 2.16.2 (CamelContext: camel-1) is starting\r\n21:22:36.279 [main] DEBUG o.a.camel.impl.DefaultCamelContext - Using ClassResolver=org.apache.camel.impl.DefaultClassResolver@568bf312, PackageScanClassResolver=org.apache.camel.impl.DefaultPackageScanClassResolver@ca263c2, ApplicationContextClassLoader=null\r\n21:22:36.279 [main] INFO  o.a.c.m.DefaultManagementStrategy - JMX is disabled\r\n21:22:36.290 [main] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - Found 3 packages with 16 @Converter classes to load\r\n21:22:36.325 [main] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - Loading file META-INF/services/org/apache/camel/TypeConverter to retrieve list of packages, from url: jar:file:/Users/gautric/.m2/repository/org/apache/camel/camel-netty4-http/2.16.2/camel-netty4-http-2.16.2.jar!/META-INF/services/org/apache/camel/TypeConverter\r\n21:22:36.326 [main] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - Loading file META-INF/services/org/apache/camel/TypeConverter to retrieve list of packages, from url: jar:file:/Users/gautric/.m2/repository/org/apache/camel/camel-netty4/2.16.2/camel-netty4-2.16.2.jar!/META-INF/services/org/apache/camel/TypeConverter\r\n21:22:36.326 [main] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - Loading file META-INF/services/org/apache/camel/TypeConverter to retrieve list of packages, from url: jar:file:/Users/gautric/.m2/repository/org/apache/camel/camel-core/2.16.2/camel-core-2.16.2.jar!/META-INF/services/org/apache/camel/TypeConverter\r\n21:22:36.327 [main] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - Loading file META-INF/services/org/apache/camel/TypeConverter to retrieve list of packages, from url: jar:file:/Users/gautric/.m2/repository/org/apache/camel/camel-spring/2.16.2/camel-spring-2.16.2.jar!/META-INF/services/org/apache/camel/TypeConverter\r\n21:22:36.334 [main] DEBUG o.a.c.i.c.AnnotationTypeConverterLoader - Loaded 3 @Converter classes\r\n21:22:36.339 [main] INFO  o.a.c.i.c.DefaultTypeConverter - Loaded 197 type converters\r\n21:22:36.340 [main] DEBUG o.a.c.i.SharedPollingConsumerServicePool - Starting service pool: org.apache.camel.impl.SharedPollingConsumerServicePool@5ccddd20\r\n21:22:36.341 [main] INFO  o.a.camel.impl.DefaultCamelContext - AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.\r\n21:22:36.341 [main] INFO  o.a.camel.impl.DefaultCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html\r\n21:22:36.341 [main] INFO  o.a.camel.impl.DefaultCamelContext - Total 0 routes, of which 0 is started.\r\n21:22:36.345 [main] INFO  o.a.camel.impl.DefaultCamelContext - Apache Camel 2.16.2 (CamelContext: camel-1) started in 0.063 seconds\r\n21:22:36.345 [main] DEBUG i.r.c.c.o.OpenalprProducerIntegrationTest - Routing Rules are: []\r\n21:22:36.349 [main] DEBUG o.a.camel.impl.DefaultCamelContext - Using ComponentResolver: org.apache.camel.impl.DefaultComponentResolver@3c0a50da to resolve component with name: openalpr\r\n21:22:36.349 [main] DEBUG jndi - Looking up name=\"openalpr\"\r\n21:22:36.349 [main] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: openalpr in registry: null\r\n21:22:36.352 [main] DEBUG o.a.c.impl.DefaultComponentResolver - Found component: openalpr via type: io.rhiot.cloudplatform.camel.openalpr.OpenalprComponent via: META-INF/services/org/apache/camel/component/openalpr\r\n21:22:36.356 [main] DEBUG o.apache.camel.impl.DefaultComponent - Creating endpoint uri=[openalpr://plateReader], path=[plateReader]\r\n21:22:36.359 [main] DEBUG o.a.camel.impl.DefaultCamelContext - openalpr://plateReader converted to endpoint: Endpoint[openalpr://plateReader] by component: io.rhiot.cloudplatform.camel.openalpr.OpenalprComponent@1184ab05\r\n21:22:36.364 [main] DEBUG org.apache.camel.impl.ProducerCache - >>>> Endpoint[openalpr://plateReader] Exchange[][Message: [Body is instance of java.io.InputStream]]\r\n21:22:36.558 [main] DEBUG i.r.c.c.openalpr.OpenalprProducer - About to process image file: /tmp/openalpr-workdir/9f9e51c1-cf3c-4bc5-bab0-7ab1aab9b02a.jpg\r\n21:22:36.559 [main] DEBUG i.r.c.c.openalpr.OpenalprProducer - About to execute command: [docker, run, -t, -v, /tmp/openalpr-workdir:/data:ro, rhiot/openalpr:0.1.4-SNAPSHOT, -c, eu, 9f9e51c1-cf3c-4bc5-bab0-7ab1aab9b02a.jpg]\r\n21:22:56.662 [main] DEBUG i.r.c.c.openalpr.OpenalprProducer - Raw output of the alpr command: [Unable to find image 'rhiot/openalpr:0.1.4-SNAPSHOT' locally, Pulling repository docker.io/rhiot/openalpr, docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/rhiot/openalpr/images. You may want to check your internet connection or if you are behind a proxy.., See 'docker run --help'.]\r\n21:22:56.668 [main] DEBUG i.r.c.c.openalpr.OpenalprProducer - Deleting image file: /tmp/openalpr-workdir/9f9e51c1-cf3c-4bc5-bab0-7ab1aab9b02a.jpg\r\n21:22:56.670 [main] INFO  i.r.c.c.o.OpenalprProducerIntegrationTest - ********************************************************************************\r\n21:22:56.671 [main] INFO  i.r.c.c.o.OpenalprProducerIntegrationTest - Testing done: shouldFindPlate(io.rhiot.cloudplatform.camel.openalpr.OpenalprProducerIntegrationTest)\r\n21:22:56.671 [main] INFO  i.r.c.c.o.OpenalprProducerIntegrationTest - Took: 20.324 seconds (20324 millis)\r\n21:22:56.671 [main] INFO  i.r.c.c.o.OpenalprProducerIntegrationTest - ********************************************************************************\r\n21:22:56.671 [main] DEBUG o.a.c.test.junit4.CamelTestSupport - tearDown test\r\n21:22:56.671 [main] DEBUG o.a.c.i.SharedPollingConsumerServicePool - Stopping service pool: org.apache.camel.impl.SharedPollingConsumerServicePool@5ccddd20\r\n21:22:56.671 [main] INFO  o.a.camel.impl.DefaultCamelContext - Apache Camel 2.16.2 (CamelContext: camel-1) is shutting down\r\n21:22:56.672 [main] DEBUG o.a.c.i.DefaultAsyncProcessorAwaitManager - Shutting down with no inflight threads.\r\n21:22:56.672 [main] DEBUG o.a.c.impl.DefaultInflightRepository - Shutting down with no inflight exchanges.\r\n21:22:56.672 [main] DEBUG o.a.c.impl.SharedProducerServicePool - Stopping service pool: org.apache.camel.impl.SharedProducerServicePool@3d3fcdb0\r\n21:22:56.672 [main] DEBUG org.apache.camel.util.EventHelper - Ignoring notifying event Stopped CamelContext: camel-1. The EventNotifier has not been started yet: org.apache.camel.impl.DefaultRuntimeEndpointRegistry@2c1b194a\r\n21:22:56.674 [main] DEBUG o.a.camel.util.IntrospectionSupport - Clearing cache[size=0, hits=0, misses=0, evicted=0]\r\n21:22:56.674 [main] INFO  o.a.camel.impl.DefaultCamelContext - Apache Camel 2.16.2 (CamelContext: camel-1) uptime 20.396 seconds\r\n21:22:56.675 [main] INFO  o.a.camel.impl.DefaultCamelContext - Apache Camel 2.16.2 (CamelContext: camel-1) is shutdown in 0.003 seconds\r\n21:22:56.680 [main] DEBUG o.a.c.test.junit4.CamelTestSupport - tearDownAfterClass test\r\nTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 20.926 sec <<< FAILURE! - in io.rhiot.cloudplatform.camel.openalpr.OpenalprProducerIntegrationTest\r\nshouldFindPlate(io.rhiot.cloudplatform.camel.openalpr.OpenalprProducerIntegrationTest)  Time elapsed: 20.655 sec  <<< ERROR!\r\njava.lang.IndexOutOfBoundsException: Index: 0, Size: 0\r\n\tat io.rhiot.cloudplatform.camel.openalpr.OpenalprProducerIntegrationTest.shouldFindPlate(OpenalprProducerIntegrationTest.java:41)\r\n\r\n\r\nResults :\r\n\r\nTests in error: \r\n  OpenalprProducerIntegrationTest.shouldFindPlate:41 » IndexOutOfBounds Index: 0...\r\n\r\nTests run: 1, Failures: 0, Errors: 1, Skipped: 0\r\n```"},"comment":{"url":"https://api.github.com/repos/rhiot/rhiot/issues/comments/202812732","html_url":"https://github.com/rhiot/rhiot/issues/559#issuecomment-202812732","issue_url":"https://api.github.com/repos/rhiot/rhiot/issues/559","id":202812732,"user":{"login":"gautric","id":437723,"avatar_url":"https://avatars.githubusercontent.com/u/437723?v=3","gravatar_id":"","url":"https://api.github.com/users/gautric","html_url":"https://github.com/gautric","followers_url":"https://api.github.com/users/gautric/followers","following_url":"https://api.github.com/users/gautric/following{/other_user}","gists_url":"https://api.github.com/users/gautric/gists{/gist_id}","starred_url":"https://api.github.com/users/gautric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautric/subscriptions","organizations_url":"https://api.github.com/users/gautric/orgs","repos_url":"https://api.github.com/users/gautric/repos","events_url":"https://api.github.com/users/gautric/events{/privacy}","received_events_url":"https://api.github.com/users/gautric/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T09:56:09Z","updated_at":"2016-03-29T09:56:09Z","body":"Docker provides MacOs better integration soon\r\n<https://blog.docker.com/2016/03/docker-for-mac-windows-beta/>\r\n\r\nI stay tuned"}}