Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1109

Java situational test failing on jenkins

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Fix
    • Blocker
    • None
    • None
    • None
    • None

    Description

       

          JCBC-1069: Added union, intersect & except to DSL

          

          Motivation

          ----------

          DSL has union & unionAll methods in SelectResultPath interface. Even if they existed,

          it's not possible to join multiple queries by using existing method signatures. In my

          case, I'm joining dynamically generated queries assigned to variables. I think it's

          best to allow DSL to chain queries like below:

          

          result = query1.intersect(query2).except(query3)

          

          Modifications

          -------------

          Added 2 new elements: ExceptElement & IntersectElement.

          Changed UnionElement to allow a query to be added.

          Added new methods to SelectResultPath for missing intersect & except methods which uses

          the old method signature same as union & unionAll. Also added new chainable methods

          which takes & returns SelectResultPath objects. Added tests.

          

          Also added .gitreview file.

          

          Change-Id: I118a337da2a3d53edb5b1e908035c227eedca804

          Reviewed-on: http://review.couchbase.org/76561

          Reviewed-by: Alper Kanat <me@alperkan.at>

          Reviewed-by: Michael Nitschinger <michael@nitschinger.at>

          Tested-by: Michael Nitschinger <michael@nitschinger.at>

       

      commit 04c6ef1a7c00291f645a68d271714fc256cd72fb

      Author: Alper Kanat <me@alperkan.at>

      Date:   Mon Apr 10 18:34:38 2017 +0300

       

          JCBC-1070: Getter for object attributes added to DSL

          

          Motivation

          ----------

          When using convenience methods in DSL such as meta, there's no way

          for getting its attributes.

          

          Modifications

          -------------

          Added 2 new methods called "get" to the DSL which accepts either a

          string or an expression. Also added a unit test.

          

          Change-Id: Icd7c52c0c781248121f0c2c835312b7450994a1b

          Reviewed-on: http://review.couchbase.org/76560

          Reviewed-by: Alper Kanat <me@alperkan.at>

          Reviewed-by: Michael Nitschinger <michael@nitschinger.at>

          Tested-by: Michael Nitschinger <michael@nitschinger.at>

      + cd /root/jenkins/workspace/sdk-java-situational-release/java-situational-4-5

      + cp /root/jenkins/workspace/sdk-java-situational-release/java-situational-4-5/sdkd-java/util/buildSDKDJar.sh /root/jenkins/workspace/sdk-java-situational-release/java-situational-4-5/buildSDKDJar.sh

      + cp /root/jenkins/workspace/sdk-java-situational-release/java-situational-4-5/sdkd-java/util/build.xml /root/jenkins/workspace/sdk-java-situational-release/java-situational-4-5/build.xml

      + cd /root/jenkins/workspace/sdk-java-situational-release/java-situational-4-5

      + ./buildSDKDJar.sh

      [ERROR] Failed to execute goal on project java-client: Could not resolve dependencies for project com.couchbase.client:java-client:jar:2.4.8-SNAPSHOT: Could not find artifact com.couchbase.client:core-io:jar:1.4.8-SNAPSHOT -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

      could not build client

      Build step 'Execute shell' marked build as failure

      Archiving artifacts

      [htmlpublisher] Archiving HTML reports...

      [htmlpublisher] Archiving at PROJECT level /root/jenkins/workspace/sdk-java-situational-release/java-situational-4-5/sdkdclient-ng to /var/lib/jenkins/jobs/sdk-java-situational-release/jobs/java-situational-4-5/htmlreports/Report_Link

      ERROR: Specified HTML directory '/root/jenkins/workspace/sdk-java-situational-release/java-situational-4-5/sdkdclient-ng' does not exist.

      Recording test results

      ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?

      [description-setter] Description set:

      Finished: FAILURE

      Attachments

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

        Activity

          People

            akshata.trivedi Akshata Trivedi [X] (Inactive)
            akshata.trivedi Akshata Trivedi [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty