[ https://issues.apache.org/jira/browse/CASSANDRA-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McGuire resolved CASSANDRA-5929. ------------------------------------- Resolution: Duplicate nevermind, dupe. > gen-cli-grammar build step intermittently fails > ----------------------------------------------- > > Key: CASSANDRA-5929 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5929 > Project: Cassandra > Issue Type: Bug > Reporter: Ryan McGuire > Priority: Minor > > This does not happen often, but sometimes the gen-cli-grammar step in the > build process fails. This is a minor annoyance when building manually, just > build again and it's fixed. It's more of a problem when doing things from an > automated script. > Here's the failure: > {code} > gen-cli-grammar: > [echo] Building Grammar > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cli/Cli.g> > .... > check-gen-cql2-grammar: > gen-cql2-grammar: > [echo] Building Grammar > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g> > ... > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "'U'": K_UPDATE, K_USING, > K_USE, IDENT, COMPIDENT > [java] > [java] As a result, token(s) K_USING,K_USE,IDENT,COMPIDENT were disabled > for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'G'..'H', 'J', 'M'..'N', > 'X'..'Z', 'g'..'h', 'j', 'm'..'n', 'x'..'z'}": IDENT, COMPIDENT > [java] > [java] As a result, token(s) COMPIDENT were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'a'": T__89, K_AND, K_LEVEL, > K_APPLY, K_ALTER, K_ADD, IDENT, COMPIDENT, UUID > [java] > [java] As a result, token(s) > K_AND,K_LEVEL,K_APPLY,K_ALTER,K_ADD,IDENT,COMPIDENT,UUID were disabled for > that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'B'": K_BEGIN, K_BATCH, IDENT, > COMPIDENT, UUID > [java] > [java] As a result, token(s) K_BATCH,IDENT,COMPIDENT,UUID were disabled > for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'L', 'l'}": K_LIMIT, K_LEVEL, > IDENT, COMPIDENT > [java] > [java] As a result, token(s) K_LEVEL,IDENT,COMPIDENT were disabled for > that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'Q', 'q'}": K_LEVEL, IDENT, > COMPIDENT > [java] > [java] As a result, token(s) IDENT,COMPIDENT were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:654:1: > Multiple token rules can match input such as "'/'": COMMENT, > MULTILINE_COMMENT > [java] > [java] As a result, token(s) MULTILINE_COMMENT were disabled for that > input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'d'": T__100, T__101, > K_DELETE, K_DROP, IDENT, COMPIDENT, UUID > [java] > [java] As a result, token(s) T__101,K_DELETE,K_DROP,IDENT,COMPIDENT,UUID > were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "'V'": K_VALUES, IDENT, > COMPIDENT > [java] > [java] As a result, token(s) IDENT,COMPIDENT were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "'u'": T__95, K_UPDATE, > K_USING, K_USE, IDENT, COMPIDENT > [java] > [java] As a result, token(s) K_UPDATE,K_USING,K_USE,IDENT,COMPIDENT were > disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "'i'": T__92, K_INSERT, K_IN, > K_INDEX, K_INTO, IDENT, COMPIDENT > [java] > [java] As a result, token(s) > K_INSERT,K_IN,K_INDEX,K_INTO,IDENT,COMPIDENT were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:603:1: > Multiple token rules can match input such as "'.'": T__83, RANGEOP > [java] > [java] As a result, token(s) RANGEOP were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "'v'": T__91, T__93, K_VALUES, > IDENT, COMPIDENT > [java] > [java] As a result, token(s) T__93,K_VALUES,IDENT,COMPIDENT were > disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'F'": K_FROM, K_FIRST, IDENT, > COMPIDENT, UUID > [java] > [java] As a result, token(s) K_FIRST,IDENT,COMPIDENT,UUID were disabled > for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "{'E', 'e'}": K_LEVEL, IDENT, > COMPIDENT, UUID > [java] > [java] As a result, token(s) IDENT,COMPIDENT,UUID were disabled for that > input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'f'": T__99, K_FROM, K_FIRST, > IDENT, COMPIDENT, UUID > [java] > [java] As a result, token(s) K_FROM,K_FIRST,IDENT,COMPIDENT,UUID were > disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "'t'": T__90, T__98, K_LEVEL, > K_TRUNCATE, K_COLUMNFAMILY, K_TIMESTAMP, K_TTL, K_TYPE, IDENT, COMPIDENT > [java] > [java] As a result, token(s) > T__98,K_LEVEL,K_TRUNCATE,K_COLUMNFAMILY,K_TIMESTAMP,K_TTL,K_TYPE,IDENT,COMPIDENT > were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'S', 's'}": K_SELECT, K_SET, > K_KEYSPACE, IDENT, COMPIDENT > [java] > [java] As a result, token(s) K_SET,K_KEYSPACE,IDENT,COMPIDENT were > disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'W', 'w'}": K_WHERE, K_WITH, > IDENT, COMPIDENT > [java] > [java] As a result, token(s) K_WITH,IDENT,COMPIDENT were disabled for > that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'A'": K_AND, K_LEVEL, K_APPLY, > K_ALTER, K_ADD, IDENT, COMPIDENT, UUID > [java] > [java] As a result, token(s) > K_LEVEL,K_APPLY,K_ALTER,K_ADD,IDENT,COMPIDENT,UUID were disabled for that > input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'c'": T__96, K_CONSISTENCY, > K_COUNT, K_CREATE, K_COLUMNFAMILY, IDENT, COMPIDENT, UUID > [java] > [java] As a result, token(s) > K_CONSISTENCY,K_COUNT,K_CREATE,K_COLUMNFAMILY,IDENT,COMPIDENT,UUID were > disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'C'": K_CONSISTENCY, K_COUNT, > K_CREATE, K_COLUMNFAMILY, IDENT, COMPIDENT, UUID > [java] > [java] As a result, token(s) > K_COUNT,K_CREATE,K_COLUMNFAMILY,IDENT,COMPIDENT,UUID were disabled for that > input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'P', 'p'}": K_PRIMARY, IDENT, > COMPIDENT > [java] > [java] As a result, token(s) IDENT,COMPIDENT were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:71:1: > Multiple token rules can match input such as "'<'": T__104, T__105 > [java] > [java] As a result, token(s) T__105 were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'O', 'o'}": K_LEVEL, K_ON, > IDENT, COMPIDENT > [java] > [java] As a result, token(s) K_ON,IDENT,COMPIDENT were disabled for that > input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:73:1: > Multiple token rules can match input such as "'>'": T__106, T__107 > [java] > [java] As a result, token(s) T__107 were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:650:1: > Multiple token rules can match input such as "'-'": T__103, INTEGER, FLOAT, > COMMENT > [java] > [java] As a result, token(s) INTEGER,FLOAT,COMMENT were disabled for > that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'D'": K_DELETE, K_DROP, IDENT, > COMPIDENT, UUID > [java] > [java] As a result, token(s) K_DROP,IDENT,COMPIDENT,UUID were disabled > for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'b'": T__88, T__94, T__97, > K_BEGIN, K_BATCH, IDENT, COMPIDENT, UUID > [java] > [java] As a result, token(s) > T__94,T__97,K_BEGIN,K_BATCH,IDENT,COMPIDENT,UUID were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'K', 'k'}": K_KEY, > K_KEYSPACE, IDENT, COMPIDENT > [java] > [java] As a result, token(s) K_KEYSPACE,IDENT,COMPIDENT were disabled > for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:638:1: > Multiple token rules can match input such as "'0'..'9'": INTEGER, FLOAT, UUID > [java] > [java] As a result, token(s) FLOAT,UUID were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "'I'": K_INSERT, K_IN, K_INDEX, > K_INTO, IDENT, COMPIDENT > [java] > [java] As a result, token(s) K_IN,K_INDEX,K_INTO,IDENT,COMPIDENT were > disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "{'R', 'r'}": K_REVERSED, > IDENT, COMPIDENT > [java] > [java] As a result, token(s) IDENT,COMPIDENT were disabled for that input > [java] warning(209): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:634:1: > Multiple token rules can match input such as "'T'": K_LEVEL, K_TRUNCATE, > K_COLUMNFAMILY, K_TIMESTAMP, K_TTL, K_TYPE, IDENT, COMPIDENT > [java] > [java] As a result, token(s) > K_TRUNCATE,K_COLUMNFAMILY,K_TIMESTAMP,K_TTL,K_TYPE,IDENT,COMPIDENT were > disabled for that input > [java] error(208): > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/src/java/org/apache/cassandra/cql/Cql.g>:654:1: > The following token definitions can never be matched because prior tokens > match the same input: > T__93,T__94,T__97,T__98,T__101,T__105,T__107,K_WITH,K_USING,K_USE,K_FIRST,K_COUNT,K_SET,K_APPLY,K_BATCH,K_TRUNCATE,K_IN,K_CREATE,K_KEYSPACE,K_COLUMNFAMILY,K_INDEX,K_ON,K_DROP,K_INTO,K_TIMESTAMP,K_TTL,K_ALTER,K_ADD,K_TYPE,RANGEOP,FLOAT,COMPIDENT,UUID,MULTILINE_COMMENT > BUILD FAILED > <http://jenkins.dssunnyvale.lan:8080/job/Cassandra%20Coverity%20Scan/ws/build.xml>:217: > Java returned: 1 > Total time: 1 minute 4 seconds > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira