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

ASF GitHub Bot commented on MINIFI-416:
---------------------------------------

GitHub user apiri opened a pull request:

    https://github.com/apache/nifi-minifi/pull/106

    MINIFI-416 Adjusting Docker based integration tests to run with Alpine 
based images

    MINIFI-416 Adjusting Docker based integration tests to run with the 
conversion of images to use the Alpine based base image.
    
    Thank you for submitting a contribution to Apache NiFi - MiNiFi.
    
    In order to streamline the review of the contribution we ask you
    to ensure the following steps have been taken:
    
    ### For all changes:
    - [X] Is there a JIRA ticket associated with this PR? Is it referenced 
         in the commit message?
    
    - [X] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
    
    - [X] Has your PR been rebased against the latest commit within the target 
branch (typically master)?
    
    - [X] Is your initial contribution a single, squashed commit?
    
    ### For code changes:
    - [X] Have you ensured that the full suite of tests is executed via mvn 
-Pcontrib-check clean install at the root nifi-minifi folder?
    - [X] Have you written or updated unit tests to verify your changes?


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apiri/nifi-minifi minifi-416

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-minifi/pull/106.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #106
    
----
commit 9692dc1927973491f20977393d229255e2d374a0
Author: Aldrin Piri <[email protected]>
Date:   2017-12-14T04:38:31Z

    MINIFI-416 Adjusting Docker based integration tests to run with the
    conversion of images to use the Alpine based base image.

----


> Integration tests fail with "Cannot start service minifi: oci runtime error"
> ----------------------------------------------------------------------------
>
>                 Key: MINIFI-416
>                 URL: https://issues.apache.org/jira/browse/MINIFI-416
>             Project: Apache NiFi MiNiFi
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Joseph Percivall
>            Assignee: Aldrin Piri
>             Fix For: 0.3.0
>
>
> I am attempting to run the MiNiFi integration tests and they all fail with 
> the following error:
> {quote}verifyLogEntries[6: Schema Version: v2 Name: 
> StressTestFramework](org.apache.nifi.minifi.integration.standalone.test.StandaloneYamlTest)
>   Time elapsed: 17.289 sec  <<< ERROR!
> com.palantir.docker.compose.execution.DockerExecutionException: 
> 'docker-compose up -d' returned exit code 1
> The output was:
> Starting c39d2544_minifi_1 ... 
> Starting c39d2544_minifi_1 ... error
> ERROR: for c39d2544_minifi_1  Cannot start service minifi: oci runtime error: 
> container_linux.go:265: starting container process caused "exec: \"bash\": 
> executable file not found in $PATH"
> ERROR: for minifi  Cannot start service minifi: oci runtime error: 
> container_linux.go:265: starting container process caused "exec: \"bash\": 
> executable file not found in $PATH"
> Encountered errors while bringing up the project.
>       at 
> com.palantir.docker.compose.execution.Command.lambda$throwingOnError$12(Command.java:60)
>       at 
> com.palantir.docker.compose.execution.Command.execute(Command.java:50)
>       at 
> com.palantir.docker.compose.execution.DefaultDockerCompose.up(DefaultDockerCompose.java:79)
>       at 
> com.palantir.docker.compose.execution.DelegatingDockerCompose.up(DelegatingDockerCompose.java:45)
>       at 
> com.palantir.docker.compose.execution.RetryingDockerCompose.lambda$up$27(RetryingDockerCompose.java:37)
>       at 
> com.palantir.docker.compose.execution.Retryer.runWithRetries(Retryer.java:44)
>       at 
> com.palantir.docker.compose.execution.RetryingDockerCompose.up(RetryingDockerCompose.java:36)
>       at 
> com.palantir.docker.compose.execution.ConflictingContainerRemovingDockerCompose.up(ConflictingContainerRemovingDockerCompose.java:51)
>       at 
> com.palantir.docker.compose.DockerComposeRule.before(DockerComposeRule.java:149)
>       at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
>       at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>       at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>       at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>       at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>       at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>       at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>       at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>       at org.junit.runners.Suite.runChild(Suite.java:128)
>       at org.junit.runners.Suite.runChild(Suite.java:27)
>       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>       at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>       at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>       at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>       at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>       at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> {quote}
> I am able to run all the other tests just fine. I'm running the RC-1 for 
> 0.3.0.
> On one hand, I'm not convinced that it's not something local on my end since 
> all the tests are failing. On the other, I see a similar error here[1] and 
> that's supposedly due to the base layer not having any tooling.
> A complete output of all the tests failing:
> {quote}Tests in error: 
>   HierarchicalC2IntegrationTest.initCertificates:94 » DockerExecution 
> 'docker-co...
>   StandaloneXmlTest.verifyLogEntries[0: Schema Version: v1 Name: CsvToJson] » 
> DockerExecution
>   StandaloneXmlTest.verifyLogEntries[1: Schema Version: v1 Name: 
> DecompressionCircularFlow] » DockerExecution
>   StandaloneXmlTest.verifyLogEntries[2: Schema Version: v1 Name: 
> MiNiFiTailLogAttribute] » DockerExecution
>   StandaloneXmlTest.verifyLogEntries[3: Schema Version: v1 Name: 
> ReplaceTextExpressionLanguageCSVReformatting] » DockerExecution
>   StandaloneXmlTest.verifyLogEntries[4: Schema Version: v2 Name: 
> MultipleRelationships] » DockerExecution
>   StandaloneXmlTest.verifyLogEntries[5: Schema Version: v2 Name: 
> ProcessGroups] » DockerExecution
>   StandaloneXmlTest.verifyLogEntries[6: Schema Version: v2 Name: 
> StressTestFramework] » DockerExecution
>   StandaloneYamlTest.verifyLogEntries[0: Schema Version: v1 Name: CsvToJson] 
> » DockerExecution
>   StandaloneYamlTest.verifyLogEntries[1: Schema Version: v1 Name: 
> DecompressionCircularFlow] » DockerExecution
>   StandaloneYamlTest.verifyLogEntries[2: Schema Version: v1 Name: 
> MiNiFiTailLogAttribute] » DockerExecution
>   StandaloneYamlTest.verifyLogEntries[3: Schema Version: v1 Name: 
> ReplaceTextExpressionLanguageCSVReformatting] » DockerExecution
>   StandaloneYamlTest.verifyLogEntries[4: Schema Version: v2 Name: 
> MultipleRelationships] » DockerExecution
>   StandaloneYamlTest.verifyLogEntries[5: Schema Version: v2 Name: 
> ProcessGroups] » DockerExecution
>   StandaloneYamlTest.verifyLogEntries[6: Schema Version: v2 Name: 
> StressTestFramework] » DockerExecution{quote}
> [1] https://github.com/jaegertracing/jaeger/issues/264



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to