Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-16004

When jvm dtest apis differ Circle CI's dtest_jars_build can fail to detect this and will use the jars from the older version

    XMLWordPrintableJSON

Details

    Description

      https://app.circleci.com/pipelines/github/dcapwell/cassandra/389/workflows/ea7776ac-5be0-4cb4-ab4c-61f524397c07/jobs/2019

      build-test:
          [javac] Compiling 510 source files to /home/cassandra/cassandra/build/test/classes
          [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'org.openjdk.jmh.generators.BenchmarkProcessor' less than -source '1.8'
          [javac] /home/cassandra/cassandra/test/distributed/org/apache/cassandra/distributed/impl/RowUtil.java:49: error: no suitable constructor found for SimpleQueryResult(String[],Object[][],warnings =[...]nings)
          [javac]             return new SimpleQueryResult(names, results, warnings == null ? Collections.emptyList() : warnings);
          [javac]                    ^
          [javac]     constructor SimpleQueryResult.SimpleQueryResult(String[],Object[][]) is not applicable
          [javac]       (actual and formal argument lists differ in length)
          [javac]     constructor SimpleQueryResult.SimpleQueryResult(String[],Object[][],Predicate<Row>,int) is not applicable
          [javac]       (actual and formal argument lists differ in length)
          [javac] /home/cassandra/cassandra/test/distributed/org/apache/cassandra/distributed/test/ReplicaFilteringProtectionTest.java:212: error: cannot find symbol
          [javac]         List<String> futureWarnings = futureResult.warnings();
          [javac]                                                   ^
          [javac]   symbol:   method warnings()
          [javac]   location: variable futureResult of type SimpleQueryResult
          [javac] Note: Some input files use or override a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 2 errors
          [javac] 1 warning
      
      BUILD FAILED
      /home/cassandra/cassandra/build.xml:1176: Compile failed; see the compiler error output for details.
      

      cassandra-3.0 compiled against the dtest jar provided by cassandra-2.2, so failed.

      Attachments

        Activity

          People

            dcapwell David Capwell
            dcapwell David Capwell
            David Capwell
            Caleb Rackliffe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: