Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-8110

couchdb make check fails with "couch_view_file_sorter command not found"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: build
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Jenkins build job 'couchdb-gerrit-master'

      Description

      Now making couch_view_file_sorter but not finding it on PATH.

      Tried "PATH=$PATH:../install/bin make check"

      Tried "export PATH=$PATH:../install/bin
      make check"
      --------------------------------------------
      Making check in couch_set_view
      make[2]: Entering directory `/home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view'
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/run /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/00-prepare.t
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/00-prepare.t .. ok
      All tests successful.
      Files=1, Tests=1, 2 wallclock secs ( 0.04 usr 0.01 sys + 0.37 cusr 0.10 csys = 0.52 CPU)
      Result: PASS
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/run -j3 /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/01-headers.t .............................. ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/01-load.t ................................. ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/00-prepare.t .............................. ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/01-collation.t ............................ ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/03-db-compaction-file-leaks.t ............. ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/04-handle-db-deletes.t .................... ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/02-old-index-cleanup.t .................... ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/06-main-compaction.t ...................... ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/07-replica-compaction.t ................... ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/08-deletes-cleanup.t ......................
      Failed 54/74 subtests
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/10-updates-cleanup.t ......................
      Failed 36/56 subtests
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/09-deletes-cleanup-many-views.t ...........
      Failed 114/154 subtests
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/12-errors.t ............................... ok
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/11-updates-cleanup-many-views.t ...........
      Failed 76/116 subtests
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/14-duplicated-keys-per-doc.t ..............
      Failed 145/163 subtests
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/15-passive-partitions.t ...................
      Failed 457/561 subtests
      /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view/test/16-pending-transition.t ...................
      Failed 27/73 subtests
      Bailout called. Further testing stopped: Client was not blocked, exit reason: badmatch,{error,<<"couch_view_file_sorter command not found">>,
      FAILED--Further testing stopped: Client was not blocked, exit reason: badmatch,{error,<<"couch_view_file_sorter command not found">>,
      make[2]: *** [check] Error 255
      make[2]: Leaving directory `/home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src/couch_set_view'
      make[1]: *** [check-recursive] Error 1
      make[1]: Leaving directory `/home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/src'
      make: *** [check-recursive] Error 1
      Build step 'Execute shell' marked build as failure
      Notifying upstream projects of job completion
      Finished: FAILURE

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        plabee Phil Labee (Inactive) added a comment -

        Changed build config to delete workspace before running, and __ gets built and installed. However, still failing, at:


        dialyzer --output_plt /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/../couchdb.plt --build_plt \
        -pa src/lhttpc \
        -pa src/couchdb \
        -pa src/couch_set_view \
        -pa src/couch_index_merger \
        -pa src/couch_view_parser \
        -pa src/mapreduce \
        --apps \
        compiler \
        crypto \
        erts \
        inets \
        kernel \
        os_mon \
        sasl \
        ssl \
        stdlib \
        xmerl \
        syntax_tools \
        public_key \
        tools \
        hipe \
        runtime_tools \
        -r \
        src/erlang-oauth \
        src/etap \
        src/mochiweb \
        src/snappy
        Compiling some key modules to native code... done in 0m39.56s

        Creating PLT /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/../couchdb.plt ...make: *** [/home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/../couchdb.plt] Killed
        Build step 'Execute shell' marked build as failure
        Notifying upstream projects of job completion
        Finished: FAILURE

        Show
        plabee Phil Labee (Inactive) added a comment - Changed build config to delete workspace before running, and __ gets built and installed. However, still failing, at: dialyzer --output_plt /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/../couchdb.plt --build_plt \ -pa src/lhttpc \ -pa src/couchdb \ -pa src/couch_set_view \ -pa src/couch_index_merger \ -pa src/couch_view_parser \ -pa src/mapreduce \ --apps \ compiler \ crypto \ erts \ inets \ kernel \ os_mon \ sasl \ ssl \ stdlib \ xmerl \ syntax_tools \ public_key \ tools \ hipe \ runtime_tools \ -r \ src/erlang-oauth \ src/etap \ src/mochiweb \ src/snappy Compiling some key modules to native code... done in 0m39.56s Creating PLT /home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/../couchdb.plt ...make: *** [/home/jenkins/jenkins/workspace/couchdb-gerrit-master/couchdb/../couchdb.plt] Killed Build step 'Execute shell' marked build as failure Notifying upstream projects of job completion Finished: FAILURE
        Hide
        FilipeManana Filipe Manana (Inactive) added a comment -

        You'll have to provide the full output to see if there's some message telling why dialyzer was killed. What you pasted doesn't show any dialyzer error, just a message that something (jenkins?) killed it.

        Perhaps jenkins kills tasks if they don't finish/progress after some period?

        Show
        FilipeManana Filipe Manana (Inactive) added a comment - You'll have to provide the full output to see if there's some message telling why dialyzer was killed. What you pasted doesn't show any dialyzer error, just a message that something (jenkins?) killed it. Perhaps jenkins kills tasks if they don't finish/progress after some period?
        Hide
        plabee Phil Labee (Inactive) added a comment -
        Show
        plabee Phil Labee (Inactive) added a comment - Now working as of build 1216 http://qa.hq.northscale.net/job/couchdb-gerrit-master/1216/
        Hide
        plabee Phil Labee (Inactive) added a comment -

        Now working in build 1216. Problem included having bad path specifier.

        Show
        plabee Phil Labee (Inactive) added a comment - Now working in build 1216. Problem included having bad path specifier.
        Hide
        plabee Phil Labee (Inactive) added a comment -

        Change in config also made to "couchdb-gerrit-2.0.2" so that if the code changes are merged to 2.0.2 the build will complete.

        Show
        plabee Phil Labee (Inactive) added a comment - Change in config also made to "couchdb-gerrit-2.0.2" so that if the code changes are merged to 2.0.2 the build will complete.

          People

          • Assignee:
            plabee Phil Labee (Inactive)
            Reporter:
            plabee Phil Labee (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes