mc2-project / mc2-project/opaque-sql
Tests only run in simulation mode
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 190
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failures with SGX_MODE=HW, then inspect SGXEnclave.scala:22 and Utils.scala:236 in the stack trace. Use QEDSuite, OpaqueSinglePartitionSuite, and OpaqueMultiplePartitionSuite as the regression scope; done means all three pass in hardware mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala, spark
- Domain
- security, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100