Code Monkey home page Code Monkey logo

Comments (8)

fastjames avatar fastjames commented on August 21, 2024

I have tested a couple of combinations locally and observed the following results (version strings below are from asdf):

  • elixir 1.12.3-otp-22, erlang 22.3.4.26: PASS
  • elixir 1.12.3-otp-23, erlang 23.3.4.16: FAIL

from ex-gpgme.

fastjames avatar fastjames commented on August 21, 2024

I was able to get newer versions working in CI by updating rustler to 0.25.0. I am still unable to run tests locally on my m1 mac with any OTP above 22.

from ex-gpgme.

fastjames avatar fastjames commented on August 21, 2024

Elixir 1.13.x appears to work (with OTP 22), so that's progress.

from ex-gpgme.

fastjames avatar fastjames commented on August 21, 2024

I have updated all of the outdated dependencies, but the problem I originally observed where tests hang is still present with elixir 1.13.4 and OTP 23. I will ask a question on the relevant slack / matrix channels for rustler.

from ex-gpgme.

fastjames avatar fastjames commented on August 21, 2024

I tried running the test suite on a system running Ubuntu 22, under elixir 1.13.1 / OTP24. The tests ran, but I got several failures allo f which included the error "No secret key" or "Unusable secret key." I'm not sure why that would happen on this system, but perhaps there is a newer library here that's not compatible with our current dependency set.

from ex-gpgme.

fastjames avatar fastjames commented on August 21, 2024

I was able to run a linux VM locally (ubuntu 22 / arm64), and I got the same three test failures:

  • test/ex_gpgme/context_test.exs:221
  • test/ex_gpgme/context_test.exs:285
  • test/ex_gpgme/context_test.exs:198

Also, I was unable to get the library to build with OTP 23 as it returned several warnings and errors around OpenSSL function name conflicts. Switching to OTP 24 allowed the library to build as expected.

from ex-gpgme.

fastjames avatar fastjames commented on August 21, 2024

I ran mix test --trace in my local M1 mac setup, and I observed the following output:

❯ mix test --trace
Excluding tags: [:manual_pinentry]


ExGpgme.ContextTest [test/ex_gpgme/context_test.exs]
  * test delete_secret_key/2 really deletes key (excluded) [L#275]
  * test from_protocol/1 gives argument error on wrong params (2.8ms) [L#128]
  * test sign/3 creates correct signature [L#285]

It appears that one test ran successfully, but the test for sign/3 never completed or failed.

from ex-gpgme.

fastjames avatar fastjames commented on August 21, 2024

I opened rusterlium/rustler#480 since I had enough information to narrow the scope of the problem.

from ex-gpgme.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.