Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2189

bigtop/slave:ubuntu-14.04 image does not support ppc64le

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: docker
    • Labels:
      None
    • Environment:

      Ubuntu 14.04 on ppc64le

      Description

      bigtop/slave:ubuntu-14.04 image does not support ppc64le

      1. BIGTOP-2189
        2 kB
        Amir Sanjar
      2. BIGTOP-2189.patch
        2 kB
        Amir Sanjar
      3. log
        41 kB
        Amir Sanjar

        Issue Links

          Activity

          Hide
          asanjar Amir Sanjar added a comment -

          requires bigtop/puppet:ubunut-14.04-ppc64le image saved at the docker hub bigtop repository to build

          Show
          asanjar Amir Sanjar added a comment - requires bigtop/puppet:ubunut-14.04-ppc64le image saved at the docker hub bigtop repository to build
          Hide
          cos Konstantin Boudnik added a comment -

          Looks good. You might take BIGTOP-2171 into consideration because in the current form only root will be able to use Gradle without an issue.

          Show
          cos Konstantin Boudnik added a comment - Looks good. You might take BIGTOP-2171 into consideration because in the current form only root will be able to use Gradle without an issue.
          Hide
          oflebbe Olaf Flebbe added a comment -

          somethings wrong here

          ./gradlew --debug -POS=ubuntu-14.04-ppc64le -Pprefix=trunk bigtop-slaves
          

          gives

              .888.                                 `888                  `888'   `Y8b `"'             .o8                     
              .8"888.    oo.ooooo.  .oooo.   .ooooo.  888 .oo.   .ooooo.    888     888oooo  .oooooooo.o888oo .ooooo. oo.ooooo. 
             .8' `888.    888' `88b`P  )88b d88' `"Y8 888P"Y88b d88' `88b   888oooo888'`888 888' `88b   888  d88' `88b 888' `88b
            .88ooo8888.   888   888 .oP"888 888       888   888 888ooo888   888    `88b 888 888   888   888  888   888 888   888
           .8'     `888.  888   888d8(  888 888   .o8 888   888 888    .o   888    .88P 888 `88bod8P'   888 .888   888 888   888
          o88o     o8888o 888bod8P'`Y888""8o`Y8bod8P'o888o o888o`Y8bod8P'  o888bood8P' o888o`8oooooo.   "888"`Y8bod8P' 888bod8P'
                          888                                                               d"     YD                  888      
                         o888o                                                              "Y88888P'                 o888o     
          
          
          Welcome to Gradle 2.7.
          
          To run a build, run gradlew <task> ...
          
          To see a list of available tasks, run gradlew tasks
          
          To see a list of command-line options, run gradlew --help
          
          To see more detail about a task, run gradlew help --task <task>
          
          BUILD SUCCESSFUL
          
          Total time: 1.686 secs
          :bigtop-slaves
          Sending build context to Docker daemon 204.6 MB
          Sending build context to Docker daemon 
          Step 0 : FROM bigtop/puppet:ubuntu-14.04-ppc64le
           ---> dfda6998fbf3
          Step 1 : MAINTAINER Amir Sanjar
           ---> Running in f97d3f5fc992
           ---> 4845abe9a604
          Removing intermediate container f97d3f5fc992
          Step 2 : COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
           ---> 3b95b4716506
          Removing intermediate container 7e14b0c804ca
          Step 3 : COPY gradle.home /usr/share/gradle.home
          time="2015-12-24T17:50:39Z" level=info msg="gradle.home: no such file or directory" 
          :bigtop-slaves FAILED
          
          FAILURE: Build failed with an exception.
          
          * What went wrong:
          Execution failed for task ':bigtop-slaves'.
          > Process 'command 'docker'' finished with non-zero exit value 1
          
          * Try:
          Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
          
          BUILD FAILED
          
          Show
          oflebbe Olaf Flebbe added a comment - somethings wrong here ./gradlew --debug -POS=ubuntu-14.04-ppc64le -Pprefix=trunk bigtop-slaves gives .888. `888 `888' `Y8b `"' .o8 .8"888. oo.ooooo. .oooo. .ooooo. 888 .oo. .ooooo. 888 888oooo .oooooooo.o888oo .ooooo. oo.ooooo. .8' `888. 888' `88b`P )88b d88' ` "Y8 888P" Y88b d88' `88b 888oooo888'`888 888' `88b 888 d88' `88b 888' `88b .88ooo8888. 888 888 .oP"888 888 888 888 888ooo888 888 `88b 888 888 888 888 888 888 888 888 .8' `888. 888 888d8( 888 888 .o8 888 888 888 .o 888 .88P 888 `88bod8P' 888 .888 888 888 888 o88o o8888o 888bod8P'`Y888 ""8o`Y8bod8P'o888o o888o`Y8bod8P' o888bood8P' o888o`8oooooo. " 888"`Y8bod8P' 888bod8P' 888 d" YD 888 o888o "Y88888P' o888o Welcome to Gradle 2.7. To run a build, run gradlew <task> ... To see a list of available tasks, run gradlew tasks To see a list of command-line options, run gradlew --help To see more detail about a task, run gradlew help --task <task> BUILD SUCCESSFUL Total time: 1.686 secs :bigtop-slaves Sending build context to Docker daemon 204.6 MB Sending build context to Docker daemon Step 0 : FROM bigtop/puppet:ubuntu-14.04-ppc64le ---> dfda6998fbf3 Step 1 : MAINTAINER Amir Sanjar ---> Running in f97d3f5fc992 ---> 4845abe9a604 Removing intermediate container f97d3f5fc992 Step 2 : COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain ---> 3b95b4716506 Removing intermediate container 7e14b0c804ca Step 3 : COPY gradle.home /usr/share/gradle.home time= "2015-12-24T17:50:39Z" level=info msg= "gradle.home: no such file or directory" :bigtop-slaves FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':bigtop-slaves'. > Process 'command 'docker'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED
          Hide
          oflebbe Olaf Flebbe added a comment -

          I am baffled. The gradle on the ppc64le machine shows a totally different behaviour than the amd64 ... Have to look deeper into it.

          Show
          oflebbe Olaf Flebbe added a comment - I am baffled. The gradle on the ppc64le machine shows a totally different behaviour than the amd64 ... Have to look deeper into it.
          Hide
          cos Konstantin Boudnik added a comment -

          Could it be a version-specific issue?

          Show
          cos Konstantin Boudnik added a comment - Could it be a version-specific issue?
          Hide
          oflebbe Olaf Flebbe added a comment -

          Seems unrelated, but blocking . IMHO the build.gradle is broken

          Show
          oflebbe Olaf Flebbe added a comment - Seems unrelated, but blocking . IMHO the build.gradle is broken
          Hide
          asanjar Amir Sanjar added a comment -

          I get the following error (bellow). Does bellow condition happens before or after checking for gradle.home
          This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html
          :bigtop-slaves
          Sending build context to Docker daemon 81.39 MB
          Sending build context to Docker daemon
          Step 0 : FROM bigtop/puppet:ubuntu-14.04-ppc64le
          Pulling repository bigtop/puppet
          time="2015-12-24T20:29:09Z" level=info msg="Tag ubuntu-14.04-ppc64le not found in repository bigtop/puppet"
          :bigtop-slaves FAILED

          FAILURE: Build failed with an exception.

          • What went wrong:
          Show
          asanjar Amir Sanjar added a comment - I get the following error (bellow). Does bellow condition happens before or after checking for gradle.home This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html :bigtop-slaves Sending build context to Docker daemon 81.39 MB Sending build context to Docker daemon Step 0 : FROM bigtop/puppet:ubuntu-14.04-ppc64le Pulling repository bigtop/puppet time="2015-12-24T20:29:09Z" level=info msg="Tag ubuntu-14.04-ppc64le not found in repository bigtop/puppet" :bigtop-slaves FAILED FAILURE: Build failed with an exception. What went wrong:
          Hide
          oflebbe Olaf Flebbe added a comment -

          The reason why this fails is that the bigtop-puppet isn't pushed to dockerhub right now (You'll have to remove --pull from the docker command line)

          The erroneous behaviour is a mixture of sideeffect of BIGTOP-2110 patch and the GRADLE_OPTS=-Dorg.gradle.daemon=true setting.

          I had a post on dev@bigtop.apache.org about it before.

          Show
          oflebbe Olaf Flebbe added a comment - The reason why this fails is that the bigtop-puppet isn't pushed to dockerhub right now (You'll have to remove --pull from the docker command line) The erroneous behaviour is a mixture of sideeffect of BIGTOP-2110 patch and the GRADLE_OPTS=-Dorg.gradle.daemon=true setting. I had a post on dev@bigtop.apache.org about it before.
          Hide
          asanjar Amir Sanjar added a comment -

          thanks Olaf,
          using "sudo ./gradlew -POS=ubuntu-14.04-ppc64le -Pprefix=trunk bigtop-slaves " command and removing --pull from build.gradle, thanks for suggestion, I was able to
          get a successful build.. attaching the build log for review.

          Show
          asanjar Amir Sanjar added a comment - thanks Olaf, using "sudo ./gradlew -POS=ubuntu-14.04-ppc64le -Pprefix=trunk bigtop-slaves " command and removing --pull from build.gradle, thanks for suggestion, I was able to get a successful build.. attaching the build log for review.
          Hide
          asanjar Amir Sanjar added a comment -

          slaves build log file

          Show
          asanjar Amir Sanjar added a comment - slaves build log file
          Hide
          oflebbe Olaf Flebbe added a comment -

          I like to have this patch reworked before committing.

          Please change to patch issue to "BIGTOP-2189: bigtop/slave:ubuntu-14.04 image does not support ppc64le"

          And please append a ".patch" suffix to the filename uploaded.

          There is a tailing whitespace error in the line: "MAINTAINER Amir Sanjar "

          Sorry to be nitpicking.

          Show
          oflebbe Olaf Flebbe added a comment - I like to have this patch reworked before committing. Please change to patch issue to " BIGTOP-2189 : bigtop/slave:ubuntu-14.04 image does not support ppc64le" And please append a ".patch" suffix to the filename uploaded. There is a tailing whitespace error in the line: "MAINTAINER Amir Sanjar " Sorry to be nitpicking.
          Hide
          asanjar Amir Sanjar added a comment - - edited

          no problem

          Show
          asanjar Amir Sanjar added a comment - - edited no problem
          Hide
          asanjar Amir Sanjar added a comment -

          patch for review..

          Show
          asanjar Amir Sanjar added a comment - patch for review..

            People

            • Assignee:
              asanjar Amir Sanjar
              Reporter:
              asanjar Amir Sanjar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Development