Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: build
    • Labels:
    • Environment:

      Debian 8, Java 7

    • Flags:
      Patch

      Description

      Gradle 2.7 fails to download the latest components due to the Cloudflare SSL. Upgrading to gradle 2.12 fixes it. Patch enclosed.

      • What went wrong:
        Error resolving plugin [id: 'de.undercouch.download', version: '2.0.0']
        > Could not GET 'https://plugins.gradle.org/api/gradle/2.7/plugin/use/de.undercouch.download/2.0.0'.
        > peer not authenticated
      1. 0001-BIGTOP-2648-Gradle-2.7-SSL-Problems.patch
        1 kB
        Arnaud Launay
      2. patch-gradle.diff
        0.9 kB
        Arnaud Launay

        Issue Links

          Activity

          Hide
          oflebbe Olaf Flebbe added a comment -

          This patch is not sufficient: bigtop_toolchain/manifests/gradle.pp have to be patched, too.

          Show
          oflebbe Olaf Flebbe added a comment - This patch is not sufficient: bigtop_toolchain/manifests/gradle.pp have to be patched, too.
          Hide
          asl Arnaud Launay added a comment -

          Ah, correct. Complete patch enclosed.

          Show
          asl Arnaud Launay added a comment - Ah, correct. Complete patch enclosed.
          Hide
          oflebbe Olaf Flebbe added a comment - - edited

          Ok, I quickly double checked it: It works ok, at least for building packages. +1

          Would it possible for you to generate a git format-patch which I can apply with git am to the source as is ? Please be sure to have the subject "BIGTOP-2648: Gradle 2.7 SSL Problems" included, since we like to have the subjects and the commits sync'ed.

          Show
          oflebbe Olaf Flebbe added a comment - - edited Ok, I quickly double checked it: It works ok, at least for building packages. +1 Would it possible for you to generate a git format-patch which I can apply with git am to the source as is ? Please be sure to have the subject " BIGTOP-2648 : Gradle 2.7 SSL Problems" included, since we like to have the subjects and the commits sync'ed.
          Hide
          asl Arnaud Launay added a comment -

          git format-patch enclosed

          Show
          asl Arnaud Launay added a comment - git format-patch enclosed
          Hide
          oflebbe Olaf Flebbe added a comment -

          Thank you very much! Committed.

          Show
          oflebbe Olaf Flebbe added a comment - Thank you very much! Committed.
          Hide
          asl Arnaud Launay added a comment -

          BIGTOP-2225 should be closed.

          Show
          asl Arnaud Launay added a comment - BIGTOP-2225 should be closed.
          Hide
          oflebbe Olaf Flebbe added a comment - - edited

          The patch is missing to update the gradlew command itself.

          Show
          oflebbe Olaf Flebbe added a comment - - edited The patch is missing to update the gradlew command itself.
          Hide
          oflebbe Olaf Flebbe added a comment -

          Maybe this isn't necessary, but why is Docker-Toolchaon-trunk broken

          + ./gradlew -POS=ubuntu-16.04 bigtop-slaves
            % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                           Dload  Upload   Total   Spent    Left  Speed
          
            0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
            0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
            0   355    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
          
           24 44.7M   24 11.1M    0     0  10.9M      0  0:00:04  0:00:01  0:00:03 10.9M
           77 44.7M   77 34.6M    0     0  17.1M      0  0:00:02  0:00:02 --:--:-- 23.5M
          100 44.7M  100 44.7M    0     0  18.2M      0  0:00:02  0:00:02 --:--:-- 23.4M
          ~/.gradle/wrapper/dists/gradle-2.12-bin/b7aff38312562bf551204a74707109af ~/workspace/Docker-Toolchain-Trunk/BUILD_ENVIRONMENTS/ubuntu-16.04/label/docker-slave-06
          replace gradle-2.12/lib/commons-collections-3.2.1.jar? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
          (EOF or read error, treating as "[N]one" ...)
          Build step 'Execute shell' marked build as failure
          
          Show
          oflebbe Olaf Flebbe added a comment - Maybe this isn't necessary, but why is Docker-Toolchaon-trunk broken + ./gradlew -POS=ubuntu-16.04 bigtop-slaves % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 355 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 24 44.7M 24 11.1M 0 0 10.9M 0 0:00:04 0:00:01 0:00:03 10.9M 77 44.7M 77 34.6M 0 0 17.1M 0 0:00:02 0:00:02 --:--:-- 23.5M 100 44.7M 100 44.7M 0 0 18.2M 0 0:00:02 0:00:02 --:--:-- 23.4M ~/.gradle/wrapper/dists/gradle-2.12-bin/b7aff38312562bf551204a74707109af ~/workspace/Docker-Toolchain-Trunk/BUILD_ENVIRONMENTS/ubuntu-16.04/label/docker-slave-06 replace gradle-2.12/lib/commons-collections-3.2.1.jar? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL (EOF or read error, treating as "[N]one" ...) Build step 'Execute shell' marked build as failure
          Hide
          asl Arnaud Launay added a comment -

          No, there's no need to upgrade gradlew. It's a simple wrapper with no version numbers.

          Show
          asl Arnaud Launay added a comment - No, there's no need to upgrade gradlew. It's a simple wrapper with no version numbers.
          Hide
          asl Arnaud Launay added a comment -

          That's a good question... Did you clean entirely your environment before ? As we don't use docker, I've not tested that...

          Show
          asl Arnaud Launay added a comment - That's a good question... Did you clean entirely your environment before ? As we don't use docker, I've not tested that...
          Hide
          asl Arnaud Launay added a comment -

          I just tried, it seems to build just fine:

          $ ./gradlew -POS=ubuntu-16.04 bigtop-slaves

          (...)

          Removing intermediate container 1a8a27698aaf
          Successfully built f79265648fe0

          BUILD SUCCESSFUL

          Show
          asl Arnaud Launay added a comment - I just tried, it seems to build just fine: $ ./gradlew -POS=ubuntu-16.04 bigtop-slaves (...) Removing intermediate container 1a8a27698aaf Successfully built f79265648fe0 BUILD SUCCESSFUL
          Hide
          oflebbe Olaf Flebbe added a comment -

          Running the job a second time resolved the problem

          Show
          oflebbe Olaf Flebbe added a comment - Running the job a second time resolved the problem

            People

            • Assignee:
              asl Arnaud Launay
              Reporter:
              asl Arnaud Launay
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development