[ https://issues.apache.org/jira/browse/CASSANDRA-18267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17711559#comment-17711559 ]
Ekaterina Dimitrova commented on CASSANDRA-18267: ------------------------------------------------- ||Patch||CI|| |[4.1|https://github.com/ekaterinadimitrova2/cassandra/commit/83eec9cf272a9e77635bca01e84142e913de8df3]|[CircleCI|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2332/workflows/ee3072a7-6fe3-4f53-b13a-41945ab760ed]| |[trunk|https://github.com/ekaterinadimitrova2/cassandra/commit/39c27dd1282b7776cd95722b432b7a16ad628b2a]|[CircleCI|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2333/workflows/8dc524ff-5c0e-4f31-89de-dcc6624c903e]| Reran everything locally also with 4.1 to ensure I did not miss anything. Pushed CI only JDK11 as it is for sanity check. Tested also quickly the task works with Java 17 as expected. CI shows only 1 failure and the console output for unit and in-jvm tests looks as expected. I opened a ticket for the 4.1 flaky test, seen also in butler - CASSANDRA-18445 - Fix flaky paxosRepairHistoryIsntUpdatedInForcedRepair > keepbrief is not called > ----------------------- > > Key: CASSANDRA-18267 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18267 > Project: Cassandra > Issue Type: Bug > Components: Build > Reporter: Michael Semb Wever > Assignee: Ekaterina Dimitrova > Priority: Normal > Fix For: 4.1.x, 5.x > > > Discovered in CASSANDRA-18179 > The keepbrief macro is never called in build.xml > And attempts to use it result in > {noformat} > Buildfile: /Users/mick/src/apache/cassandra/build.xml > [javac] Compiling 5 source files to > /Users/mick/src/apache/cassandra/build/test/classes > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/EchoEclipseProjectLibs.java:21: > error: package org.apache.cassandra.io.util does not exist > [javac] import org.apache.cassandra.io.util.File; > [javac] ^ > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/EchoEclipseProjectLibs.java:23: > error: package org.apache.commons.io does not exist > [javac] import org.apache.commons.io.FilenameUtils; > [javac] ^ > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:26: > error: package org.junit does not exist > [javac] import org.junit.Test; > [javac] ^ > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:30: > error: package org.reflections does not exist > [javac] import org.reflections.Reflections; > [javac] ^ > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:31: > error: package org.reflections.scanners does not exist > [javac] import org.reflections.scanners.Scanners; > [javac] ^ > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:32: > error: package org.reflections.util does not exist > [javac] import org.reflections.util.ConfigurationBuilder; > [javac] ^ > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:38: > error: cannot find symbol > [javac] private static final Reflections reflections = new > Reflections(new ConfigurationBuilder() > [javac] ^ > [javac] symbol: class Reflections > [javac] location: class TestNameCheckTask > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/EchoEclipseProjectLibs.java:38: > error: cannot find symbol > [javac] echo.setFile(new File(".classpath").toJavaIOFile()); > [javac] ^ > [javac] symbol: class File > [javac] location: class EchoEclipseProjectLibs > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/EchoEclipseProjectLibs.java:52: > error: cannot find symbol > [javac] String srcJar = FilenameUtils.getBaseName(jars[i]) + > "-sources.jar"; > [javac] ^ > [javac] symbol: variable FilenameUtils > [javac] location: class EchoEclipseProjectLibs > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/EchoEclipseProjectLibs.java:53: > error: cannot find symbol > [javac] String srcDir = > FilenameUtils.concat(project.getProperty("build.test.dir"), "sources"); > [javac] ^ > [javac] symbol: variable FilenameUtils > [javac] location: class EchoEclipseProjectLibs > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/EchoEclipseProjectLibs.java:54: > error: cannot find symbol > [javac] File srcFile = new File(FilenameUtils.concat(srcDir, > srcJar)); > [javac] ^ > [javac] symbol: class File > [javac] location: class EchoEclipseProjectLibs > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/EchoEclipseProjectLibs.java:54: > error: cannot find symbol > [javac] File srcFile = new File(FilenameUtils.concat(srcDir, > srcJar)); > [javac] ^ > [javac] symbol: class File > [javac] location: class EchoEclipseProjectLibs > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/EchoEclipseProjectLibs.java:54: > error: cannot find symbol > [javac] File srcFile = new File(FilenameUtils.concat(srcDir, > srcJar)); > [javac] ^ > [javac] symbol: variable FilenameUtils > [javac] location: class EchoEclipseProjectLibs > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:38: > error: cannot find symbol > [javac] private static final Reflections reflections = new > Reflections(new ConfigurationBuilder() > [javac] ^ > [javac] symbol: class Reflections > [javac] location: class TestNameCheckTask > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:40: > error: cannot find symbol > [javac] > .setScanners(Scanners.MethodsAnnotated, Scanners.SubTypes) > [javac] > ^ > [javac] symbol: variable Scanners > [javac] location: class TestNameCheckTask > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:40: > error: cannot find symbol > [javac] > .setScanners(Scanners.MethodsAnnotated, Scanners.SubTypes) > [javac] > ^ > [javac] symbol: variable Scanners > [javac] location: class TestNameCheckTask > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:38: > error: cannot find symbol > [javac] private static final Reflections reflections = new > Reflections(new ConfigurationBuilder() > [javac] > ^ > [javac] symbol: class ConfigurationBuilder > [javac] location: class TestNameCheckTask > [javac] > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java:51: > error: cannot find symbol > [javac] Set<Method> methodsAnnotatedWith = > reflections.getMethodsAnnotatedWith(Test.class); > [javac] > ^ > [javac] symbol: class Test > [javac] location: class TestNameCheckTask > [javac] Note: > /Users/mick/src/apache/cassandra/test/anttasks/org/apache/cassandra/anttasks/TestNameCheckTask.java > uses unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 18 errors > BUILD FAILED > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org