Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-4794

Get ddl parse error when running maven with tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 1.8.1.Final
    • test-infrastructure
    • None
    • False
    • False

      when execute compile with tests by maven, got ddl parse error like this:

      [root@dbz-test debezium]# git branch -vv
      * 1.8           d77e1bc72 [origin/1.8] DBZ-4744 Correctly parse signal table name when using domain name
        1.9           99fe79af8 [origin/1.9] [release] Update antora.yml
      ... ...
      
      [root@dbz-test debezium]# mvn clean package -Denforcer.skip
      [INFO] Scanning for projects...
      [INFO] Inspecting build with total of 38 modules...
      [INFO] Installing Nexus Staging features:
      [INFO]   ... total of 38 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin  
      
      ... ...
      
      [INFO] Debezium IDE Formatting Rules ...................... SUCCESS [  1.075 s]
      [INFO] Debezium Checkstyle Rules .......................... SUCCESS [  1.719 s]
      [INFO] Debezium Revapi Rules .............................. SUCCESS [  0.053 s]
      [INFO] Debezium Parent POM ................................ SUCCESS [  0.697 s]
      [INFO] Debezium API ....................................... SUCCESS [  4.325 s]
      [INFO] Debezium Core ...................................... SUCCESS [ 46.209 s]
      [INFO] Debezium ANTLR DDL parsers ......................... FAILURE [01:03 min]
      [INFO] Debezium Assembly Descriptors ...................... SKIPPED
      [INFO] Debezium Embedded .................................. SKIPPED
      [INFO] Debezium Connector for MySQL ....................... SKIPPED
      [INFO] Debezium Schema Generator .......................... SKIPPED
      [INFO] Debezium Connector for PostgreSQL .................. SKIPPED
      [INFO] Debezium Connector for MongoDB ..................... SKIPPED
      [INFO] Debezium Connector for MS SQL Server ............... SKIPPED
      [INFO] Debezium Scripting ................................. SKIPPED
      [INFO] Debezium Microbenchmark Tests ...................... SKIPPED
      [INFO] Debezium Quarkus :: Outbox ......................... SKIPPED
      [INFO] Debezium Quarkus :: Outbox :: Runtime .............. SKIPPED
      [INFO] Debezium Quarkus :: Outbox :: Deployment ........... SKIPPED
      [INFO] Debezium Quarkus :: Outbox :: Integration Tests .... SKIPPED
      [INFO] Debezium Server BOM ................................ SKIPPED
      [INFO] Debezium Testing ................................... SKIPPED
      [INFO] Debezium Testing Testcontainers .................... SKIPPED
      [INFO] Debezium Server Parent ............................. SKIPPED
      [INFO] Debezium Server Core ............................... SKIPPED
      [INFO] Debezium Server Amazon Kinesis Sink Adapter ........ SKIPPED
      [INFO] Debezium Server Google Cloud Pub/Sub Sink Adapter .. SKIPPED
      [INFO] Debezium Server Pulsar Sink Adapter ................ SKIPPED
      [INFO] Debezium Server Azure Event Hubs Adapter ........... SKIPPED
      [INFO] Debezium Server Redis Sink Adapter ................. SKIPPED
      [INFO] Debezium Server Distribution ....................... SKIPPED
      [INFO] Debezium Server Kafka Sink Adapter ................. SKIPPED
      [INFO] Debezium Server Pravega Sink Adapter ............... SKIPPED
      [INFO] Debezium Server NATS Streaming Sink Adapter ........ SKIPPED
      [INFO] Debezium system integration test-suite ............. SKIPPED
      [INFO] Debezium Kafka Connect REST Extension .............. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  02:01 min
      [INFO] Finished at: 2022-02-24T19:48:57+08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.khubla.antlr:antlr4test-maven-plugin:1.18:test (Oracle) on project debezium-ddl-parser: Unable execute mojo: ddl_create.sql.errors : expected 0 errors, but was 3 errors -> [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/MojoExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :debezium-ddl-parser

              Unassigned Unassigned
              seekingua eric z (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: