-
Notifications
You must be signed in to change notification settings - Fork 1
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
Thread-unsafety in tests #370
Comments
SimplifyMemorySystemTests:
- correct/basic_lock_security_read/clang_pic:BAP *** FAILED *** (51 milliseconds)
java.util.NoSuchElementException: key not found: %0000036b$1: Register(R8, bv64) := LocalVar(load20, bv64)
at scala.collection.MapOps.default(Map.scala:289)
at scala.collection.MapOps.default$(Map.scala:288)
at scala.collection.AbstractMap.default(Map.scala:420)
at scala.collection.mutable.HashMap.apply(HashMap.scala:440)
at analysis.data_structure_analysis.LocalPhase.visit(LocalPhase.scala:258)
at analysis.data_structure_analysis.LocalPhase.visitPointerArithmeticOperation$$anonfun$1(LocalPhase.scala:135)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.collection.immutable.Set$Set1.foreach(Set.scala:177)
at analysis.data_structure_analysis.LocalPhase.visitPointerArithmeticOperation(LocalPhase.scala:135)
at analysis.data_structure_analysis.LocalPhase.visit(LocalPhase.scala:317)
at analysis.data_structure_analysis.LocalPhase.analyze$$anonfun$1(LocalPhase.scala:377)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.collection.immutable.List.foreach(List.scala:334)
at analysis.data_structure_analysis.LocalPhase.analyze(LocalPhase.scala:377)
at analysis.data_structure_analysis.DataStructureAnalysis.analyze$$anonfun$1(DataStructureAnalysis.scala:86)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.collection.immutable.Set$Set1.foreach(Set.scala:177)
at analysis.data_structure_analysis.DataStructureAnalysis.analyze(DataStructureAnalysis.scala:76)
at util.RunUtils$.staticAnalysis(RunUtils.scala:1049)
at util.RunUtils$.$anonfun$20(RunUtils.scala:854)
at scala.Option.map(Option.scala:242)
at util.RunUtils$.loadAndTranslate(RunUtils.scala:853)
at test_util.BASILTest.runBASIL(BASILTest.scala:56)
at test_util.BASILTest.runBASIL$(BASILTest.scala:31)
at SimplifyMemorySystemTests.runBASIL(SystemTests.scala:380)
at SystemTests.runTest(SystemTests.scala:189)
at SystemTests.runTest$(SystemTests.scala:27)
at SimplifyMemorySystemTests.runTest(SystemTests.scala:380)
at SystemTests.testFun$proxy1$1(SystemTests.scala:83)
at SystemTests.runTests$$anonfun$1$$anonfun$1$$anonfun$1(SystemTests.scala:84)
at org.scalatest.Transformer.apply$$anonfun$1(Transformer.scala:22)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:31)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:21)
at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:206)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:138)
at SimplifyMemorySystemTests.test_util$TestCustomisation$$super$withFixture(SystemTests.scala:380)
at test_util.TestCustomisation.invokeTest$1(TestCustomisation.scala:56)
at test_util.TestCustomisation.withFixture(TestCustomisation.scala:63)
at test_util.TestCustomisation.withFixture$(TestCustomisation.scala:17)
at SimplifyMemorySystemTests.withFixture(SystemTests.scala:380) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are test suites which fail sporadically. I do not think the test cases are significant here. I do not know if these have the same cause.
Locally
https://github.com/UQ-PAC/BASIL/actions/runs/13827512001/job/38685075601
https://github.com/UQ-PAC/BASIL/actions/runs/13828662504/job/38688112951
To try and encounter the bugs yourself, the best way is to run the suites in a loop until they fail:
The text was updated successfully, but these errors were encountered: