Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2562

Automated Doc Build failing in develop

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: Build System
    • Labels:
      None
    • Rank:
      1|hzytrz:

      Description

      When the develop doc build runs, I see these errors:

      ========================================================
      build	22-May-2015 19:24:33	Building "developers-manual", target "docs"...
      build	22-May-2015 19:24:33	--------------------------------------------------------
      build	22-May-2015 19:24:33	
      build	22-May-2015 19:24:33	Downloading and checking includes.
      build	22-May-2015 19:24:33	Downloading source files includes from GitHub...
      build	22-May-2015 19:24:33	Downloading using curl README.rst from https://raw.githubusercontent.com/caskdata/cdap-clients/release/1.2.0
      build	22-May-2015 19:24:34	MD5 Hash for cdap-authentication-clients-java.rst matches
      build	22-May-2015 19:24:34	Downloading using curl README.rst from https://raw.githubusercontent.com/caskdata/cdap-clients/release/1.2.0
      build	22-May-2015 19:24:34	MD5 Hash for cdap-authentication-clients-javascript.rst matches
      build	22-May-2015 19:24:34	Downloading using curl README.rst from https://raw.githubusercontent.com/caskdata/cdap-clients/release/1.2.0
      build	22-May-2015 19:24:34	MD5 Hash for cdap-authentication-clients-python.rst matches
      build	22-May-2015 19:24:34	Downloading using curl README.rst from https://raw.githubusercontent.com/caskdata/cdap-clients/release/1.2.0
      build	22-May-2015 19:24:34	MD5 Hash for cdap-authentication-clients-ruby.rst matches
      build	22-May-2015 19:24:34	Downloading using curl README.rst from https://raw.githubusercontent.com/caskdata/cdap-ingest/release/cdap-3.1-compatible
      build	22-May-2015 19:24:35	WARNING: MD5 Hash for cdap-flume.rst has changed! Compare files and update hash!
      build	22-May-2015 19:24:35	file: /var/bamboo/xml-data/build-dir/CDAP-DDBD-JOB1/cdap/cdap-docs/developers-manual/build/_includes/cdap-flume.rst
      build	22-May-2015 19:24:35	Old MD5 Hash: c9b6db1741afa823c362237488c2d8f0 New MD5 Hash: 9d1ead73e678fa2f51a70a933b0bf017
      build	22-May-2015 19:24:35	Downloading using curl README.rst from https://raw.githubusercontent.com/caskdata/cdap-ingest/release/cdap-3.1-compatible
      build	22-May-2015 19:24:35	WARNING: MD5 Hash for cdap-stream-clients-java.rst has changed! Compare files and update hash!
      build	22-May-2015 19:24:35	file: /var/bamboo/xml-data/build-dir/CDAP-DDBD-JOB1/cdap/cdap-docs/developers-manual/build/_includes/cdap-stream-clients-java.rst
      build	22-May-2015 19:24:35	Old MD5 Hash: f300df291b910f0bd416a5ea160fdbe1 New MD5 Hash: 9d1ead73e678fa2f51a70a933b0bf017
      build	22-May-2015 19:24:35	Downloading using curl README.rst from https://raw.githubusercontent.com/caskdata/cdap-ingest/release/cdap-3.1-compatible
      build	22-May-2015 19:24:35	WARNING: MD5 Hash for cdap-stream-clients-python.rst has changed! Compare files and update hash!
      build	22-May-2015 19:24:35	file: /var/bamboo/xml-data/build-dir/CDAP-DDBD-JOB1/cdap/cdap-docs/developers-manual/build/_includes/cdap-stream-clients-python.rst
      build	22-May-2015 19:24:35	Old MD5 Hash: b6dedd629c708dbc68bc918b768edda5 New MD5 Hash: 9d1ead73e678fa2f51a70a933b0bf017
      build	22-May-2015 19:24:35	Downloading using curl README.rst from https://raw.githubusercontent.com/caskdata/cdap-ingest/release/cdap-3.1-compatible
      build	22-May-2015 19:24:35	WARNING: MD5 Hash for cdap-stream-clients-ruby.rst has changed! Compare files and update hash!
      build	22-May-2015 19:24:35	file: /var/bamboo/xml-data/build-dir/CDAP-DDBD-JOB1/cdap/cdap-docs/developers-manual/build/_includes/cdap-stream-clients-ruby.rst
      build	22-May-2015 19:24:35	Old MD5 Hash: 5fc88ec3a658062775403f5be30afbe9 New MD5 Hash: 9d1ead73e678fa2f51a70a933b0bf017
      

      What's happening is that the build is setting the version of the file to be downloaded to an incorrect version. It's trying to download something called "cdap-3.1-compatible", which doesn't yet exist (it should be using "develop" instead).

      Though there are some other issues with the build script, it looks like this test is failing:

      if [ "x${GIT_BRANCH_TYPE:0:7}" == "xdevelop" ]; then
      

      causing it to not set the path correctly to "develop".

      The other issues concern a fix in release/3.0 to correct the path for the "ingest_branch" to be similar to "client_branch". It will be ported shortly.

        Attachments

          Activity

            People

            • Assignee:
              John John Jackson
              Reporter:
              John John Jackson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: