bc-java icon indicating copy to clipboard operation
bc-java copied to clipboard

CI on pull requests

Open hannesa2 opened this issue 4 years ago • 14 comments

Some test are failing with OutOfMemoryException I started to find workarounds or exclude them, but I stopped this, because for me it's a bigger question:

What are you doing to have that much memory consumption ? Is this really practicable ?

hannesa2 avatar Feb 15 '21 11:02 hannesa2

I'm guessing but are the tests related to Argon2 and Scrypt?

dghgit avatar Feb 17 '21 03:02 dghgit

Yes, one of them is Argon2Test the others I forgot

hannesa2 avatar Feb 17 '21 05:02 hannesa2

As long as it's not merged, you see no output. But you can download report from my test-pull request here https://github.com/hannesa2/bouncycastle/pull/1/checks?check_run_id=1902628057

image

This is the first error

java.lang.OutOfMemoryError: Java heap space
	at org.bouncycastle.crypto.generators.Argon2BytesGenerator$Block.<init>(Argon2BytesGenerator.java:630)
	at org.bouncycastle.crypto.generators.Argon2BytesGenerator$Block.<init>(Argon2BytesGenerator.java:621)
	at org.bouncycastle.crypto.generators.Argon2BytesGenerator.initMemory(Argon2BytesGenerator.java:153)
	at org.bouncycastle.crypto.generators.Argon2BytesGenerator.doInit(Argon2BytesGenerator.java:144)
	at org.bouncycastle.crypto.generators.Argon2BytesGenerator.init(Argon2BytesGenerator.java:74)

hannesa2 avatar Feb 17 '21 08:02 hannesa2