Skip to content

Permission denied (os error 13) #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
plebhash opened this issue Feb 28, 2025 · 2 comments
Closed

Permission denied (os error 13) #73

plebhash opened this issue Feb 28, 2025 · 2 comments

Comments

@plebhash
Copy link

corepc-node is being used for Integration Testing on Stratum V2 Reference Implementation

for a while we have been noticing a puzzling behavior, which we are tracking here stratum-mining/stratum#1278

the error logs usually look like this:

running 2 tests
thread 'success_pool_template_provider_connection' panicked at tests-integration/tests/common/mod.rs:143:61:
called `Result::unwrap()` on an `Err` value: Error while executing "/tmp/.template-provider/bitcoin-sv2-tp-0.1.9/bin/bitcoind"

Caused by:
    Permission denied (os error 13)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

we tried fixing this in many different ways but never got to the root cause of the issue

it's important to highlight that this behavior is not deterministic... sometimes it doesn't happen at all

it seems to be somewhat related to rust-bitcoin/bitcoind#90

@apoelstra
Copy link
Member

Can you directly try to execute that path to bitcoind?

@plebhash
Copy link
Author

plebhash commented Mar 1, 2025

after some deeper investigation, it seems this is likely related to some kind of race-condition in our test stack and not necessarily some bug on corepc-node

stratum-mining/stratum#1278 (comment)

@plebhash plebhash closed this as completed Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants