junit.framework.AssertionFailedError: Number of rows is not the same: 3 and 0

Pentaho BI Platform Tracking | Pavel Sakun | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The test fails intermittently at our local CI, please see stderr/stdout excerpts below: Error Message Number of rows is not the same: 3 and 0 Stacktrace junit.framework.AssertionFailedError: Number of rows is not the same: 3 and 0 at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.checkRows(DatabaseLookupTest.java:225) at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.basicDatabaseLookup(DatabaseLookupTest.java:367) Standard Output 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 2014/02/08 03:17:10 - transname - transname 2014/02/08 03:17:10 - transname - transname 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=15, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=2, O=0, R=3, W=3, U=0, E=0) Standard Error 2014/02/08 03:17:10 - look up from [lookup_table1].0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2014-02-08 02.50.35 by jenkins) : Because of an error, this step can't continue: 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Couldn't get row from result set 2014/02/08 03:17:10 - look up from [lookup_table1].0 - 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Unable to get value 'String(30)' from database resultset, index 2 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Invalid value "3" for parameter "columnIndex" [90008-131]

    Pentaho BI Platform Tracking | 3 years ago | Pavel Sakun
    junit.framework.AssertionFailedError: Number of rows is not the same: 3 and 0
  2. 0

    The test fails intermittently at our local CI, please see stderr/stdout excerpts below: Error Message Number of rows is not the same: 3 and 0 Stacktrace junit.framework.AssertionFailedError: Number of rows is not the same: 3 and 0 at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.checkRows(DatabaseLookupTest.java:225) at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.basicDatabaseLookup(DatabaseLookupTest.java:367) Standard Output 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 2014/02/08 03:17:10 - transname - transname 2014/02/08 03:17:10 - transname - transname 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=15, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - transname - Dispatching started for transformation [transname] 2014/02/08 03:17:10 - injector step.0 - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Finished processing (I=2, O=0, R=3, W=3, U=0, E=0) Standard Error 2014/02/08 03:17:10 - look up from [lookup_table1].0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2014-02-08 02.50.35 by jenkins) : Because of an error, this step can't continue: 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Couldn't get row from result set 2014/02/08 03:17:10 - look up from [lookup_table1].0 - 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Unable to get value 'String(30)' from database resultset, index 2 2014/02/08 03:17:10 - look up from [lookup_table1].0 - Invalid value "3" for parameter "columnIndex" [90008-131]

    Pentaho BI Platform Tracking | 3 years ago | Pavel Sakun
    junit.framework.AssertionFailedError: Number of rows is not the same: 3 and 0

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      Number of rows is not the same: 3 and 0

      at org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.checkRows()
    2. org.pentaho.di
      DatabaseLookupTest.basicDatabaseLookup
      1. org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.checkRows(DatabaseLookupTest.java:225)
      2. org.pentaho.di.trans.steps.databaselookup.DatabaseLookupTest.basicDatabaseLookup(DatabaseLookupTest.java:367)
      2 frames