opaque-sql
opaque-sql copied to clipboard
Tests only run in simulation mode
When trying to run the tests with SGX_MODE=HW, 3 tests fail with the following error message:
[info] Cause: java.lang.NoClassDefFoundError: Could not initialize class edu.berkeley.cs.rise.opaque.execution.SGXEnclave$
[info] at edu.berkeley.cs.rise.opaque.execution.SGXEnclave.<init>(SGXEnclave.scala:22)
[info] at edu.berkeley.cs.rise.opaque.Utils$.initEnclave(Utils.scala:236)
[info] at edu.berkeley.cs.rise.opaque.RA$$anonfun$initRA$1$$anonfun$2.apply(RA.scala:39)
[info] at edu.berkeley.cs.rise.opaque.RA$$anonfun$initRA$1$$anonfun$2.apply(RA.scala:38)
[info] at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$23.apply(RDD.scala:801)
[info] at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$23.apply(RDD.scala:801)
[info] at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
[info] at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:324)
[info] at org.apache.spark.rdd.RDD.iterator(RDD.scala:288)
[info] at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
Failing tests are:
[error] edu.berkeley.cs.rise.opaque.QEDSuite
[error] edu.berkeley.cs.rise.opaque.OpaqueSinglePartitionSuite
[error] edu.berkeley.cs.rise.opaque.OpaqueMultiplePartitionSuite