namecoin / pkcs11mod

Go library for creating pkcs11 modules
GNU Lesser General Public License v2.1
7 stars 11 forks source link

Add Softtoken Tests #89 #145

Closed robertmin1 closed 2 years ago

robertmin1 commented 2 years ago

Fix #89 The test was done using a debian as an image. Depending on the feedback I will add more softtoken tests. I am not sure if I can combine this container with the first one, since they both use fedora, but knowing which one failed might be a foreseeable issue.

robertmin1 commented 2 years ago

Test failed - Let me look into it

robertmin1 commented 2 years ago

Managed to fix the error : Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket By installing and configuring dbus

JeremyRand commented 2 years ago

Cirrus YML files support multiple matrix instructions. So I think you can simplify this by simply adding a 2nd matrix instruction below the first one, and move the CI_MAIN_MODULE and CI_BAK_MODULE variables to the 2nd matrix. If the dbus change is still useful after doing that, adding it to the first matrix (so that it runs regardless of CKBI/Softoken) as a 2nd commit seems reasonable.

robertmin1 commented 2 years ago

Okay, implemented. The OOM score is read-only, hence it causes the error "[1023/101542.384179:ERROR:zygote_host_impl_linux.cc(262)] Failed to adjust OOM score of renderer with pid 6888: Permission denied (13)"