For now, the DistributedzkSNARKTest class runs 3 tests. One for a "fake" pairing group and one for BN254a, BN254b.
After bumping all plugins/dependency/JDK/Compiler versions the tests fail because of this test class (DistributedzkSNARKTest).
In fact, the execution of DistributedBN254bProofSystemTest throws a NullPtr exception, which after a close look to the code doesn't immediately make sense. After commenting the 2 first test cases (namely DistributedBN254aProofSystemTest and DistributedFakeProofSystemTest) the test pass nicely and the NullPtr isn't thrown. This is confirmed by the fact that when executing each function annotated with @Test in the class independently in an IDE, all functions pass. As such, it seems that the issue come from surefire. That being said, I can't pinpoint where things go wrong, it seems that the this.G1Parameters (where this is the g1Factory for the BN254b pairing group) become null as some point in the execution of the test when all tests of the DistributedzkSNARKTest class are executed. I can't think about any place where this object is modified...
This needs further investigation - and will probably translate into opening a ticket to surefire to see if this can come from there.
For now, the
DistributedzkSNARKTestclass runs 3 tests. One for a "fake" pairing group and one for BN254a, BN254b.After bumping all plugins/dependency/JDK/Compiler versions the tests fail because of this test class (
DistributedzkSNARKTest).In fact, the execution of
DistributedBN254bProofSystemTestthrows aNullPtrexception, which after a close look to the code doesn't immediately make sense. After commenting the 2 first test cases (namelyDistributedBN254aProofSystemTestandDistributedFakeProofSystemTest) the test pass nicely and the NullPtr isn't thrown. This is confirmed by the fact that when executing each function annotated with@Testin the class independently in an IDE, all functions pass. As such, it seems that the issue come fromsurefire. That being said, I can't pinpoint where things go wrong, it seems that thethis.G1Parameters(wherethisis theg1Factoryfor the BN254b pairing group) becomenullas some point in the execution of the test when all tests of theDistributedzkSNARKTestclass are executed. I can't think about any place where this object is modified...This needs further investigation - and will probably translate into opening a ticket to surefire to see if this can come from there.