Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] DataTypePKSuite failed because of assertion failed #1047

Closed
marsishandsome opened this issue Aug 20, 2019 · 1 comment · Fixed by #1066
Closed

[BUG] DataTypePKSuite failed because of assertion failed #1047

marsishandsome opened this issue Aug 20, 2019 · 1 comment · Fixed by #1066
Assignees
Labels

Comments

@marsishandsome
Copy link
Collaborator

Describe the bug
https://internal.pingcap.net/idc-jenkins/blue/rest/organizations/jenkins/pipelines/tispark_regression_test_daily/runs/47/nodes/1418/steps/1732/log/?start=0

INFO SharedSQLContext: generate data is enabled and seed is 1566243556784
org.apache.spark.sql.types.pk.DataTypePKSuite *** ABORTED ***
[2019-08-19T19:43:10.452Z]   java.lang.RuntimeException: Unable to load a Suite class that was discovered in the runpath: org.apache.spark.sql.types.pk.DataTypePKSuite
[2019-08-19T19:43:10.452Z]   at org.scalatest.tools.DiscoverySuite$.getSuiteInstance(DiscoverySuite.scala:81)
[2019-08-19T19:43:10.452Z]   at org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:38)
[2019-08-19T19:43:10.452Z]   at org.scalatest.tools.DiscoverySuite$$anonfun$1.apply(DiscoverySuite.scala:37)
[2019-08-19T19:43:10.452Z]   at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
[2019-08-19T19:43:10.452Z]   at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
[2019-08-19T19:43:10.452Z]   at scala.collection.Iterator$class.foreach(Iterator.scala:891)
[2019-08-19T19:43:10.452Z]   at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
[2019-08-19T19:43:10.452Z]   at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
[2019-08-19T19:43:10.452Z]   at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
[2019-08-19T19:43:10.452Z]   at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
[2019-08-19T19:43:10.452Z]   ...
[2019-08-19T19:43:10.452Z]   Cause: java.lang.AssertionError: assertion failed: Generated random values(50) is less than needed(51).
[2019-08-19T19:43:10.452Z]   at scala.Predef$.assert(Predef.scala:170)
[2019-08-19T19:43:10.452Z]   at org.apache.spark.sql.test.generator.ColumnValueGenerator.next(ColumnValueGenerator.scala:281)
[2019-08-19T19:43:10.452Z]   at org.apache.spark.sql.test.generator.ColumnValueGenerator.next(ColumnValueGenerator.scala:269)
[2019-08-19T19:43:10.452Z]   at org.apache.spark.sql.test.generator.TestDataGenerator$.org$apache$spark$sql$test$generator$TestDataGenerator$$generateRandomColValue(TestDataGenerator.scala:277)
[2019-08-19T19:43:10.452Z]   at org.apache.spark.sql.test.generator.TestDataGenerator$$anonfun$org$apache$spark$sql$test$generator$TestDataGenerator$$generateRandomRow$1.apply$mcVI$sp(TestDataGenerator.scala:322)
[2019-08-19T19:43:10.452Z]   at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
[2019-08-19T19:43:10.452Z]   at org.apache.spark.sql.test.generator.TestDataGenerator$.org$apache$spark$sql$test$generator$TestDataGenerator$$generateRandomRow(TestDataGenerator.scala:319)
[2019-08-19T19:43:10.452Z]   at org.apache.spark.sql.test.generator.TestDataGenerator$$anonfun$generateRandomRows$2.apply(TestDataGenerator.scala:355)
[2019-08-19T19:43:10.452Z]   at org.apache.spark.sql.test.generator.TestDataGenerator$$anonfun$generateRandomRows$2.apply(TestDataGenerator.scala:354)
[2019-08-19T19:43:10.452Z]   at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants