Skip to content

ReadOnlyMemoryError for julia/pycall when using asv on GHA #50

Open
@aaronspring

Description

@aaronspring

What I want to do?

  • run julia with asv on github actions and levante/supercomputer but not in pytest

What happens?

   Main.X = X
                 File "/home/runner/work/bitinformation_pipeline/bitinformation_pipeline/asv_bench/.asv/env/90d8778db9ad901392615fc50cb0cf4e/lib/python3.8/site-packages/julia/core.py", line 215, in __setattr__
                   self._julia.eval(setter)(value)
                 File "/home/runner/work/bitinformation_pipeline/bitinformation_pipeline/asv_bench/.asv/env/90d8778db9ad901392615fc50cb0cf4e/lib/python3.8/site-packages/julia/core.py", line 621, in eval
                   ans = self._call(src)
                 File "/home/runner/work/bitinformation_pipeline/bitinformation_pipeline/asv_bench/.asv/env/90d8778db9ad901392615fc50cb0cf4e/lib/python3.8/site-packages/julia/core.py", line 549, in _call
                   self.check_exception(src)
                 File "/home/runner/work/bitinformation_pipeline/bitinformation_pipeline/asv_bench/.asv/env/90d8778db9ad901392615fc50cb0cf4e/lib/python3.8/site-packages/julia/core.py", line 603, in check_exception
                   raise JuliaError(u'Exception \'{}\' occurred while calling julia code:\n{}'
               julia.core.JuliaError: Exception 'ReadOnlyMemoryError' occurred while calling julia code:
               
                           PyCall.pyfunctionret(
                               (x) -> Base.eval(Main, :(X = $x)),
                               Any,
                               PyCall.PyAny)
               asv: benchmark failed (exit status 1)

https://github.com/observingClouds/bitinformation_pipeline/runs/5970342909?check_suite_focus=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions