Skip to content
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

Test TemplateProvider OS E13 #1278

Open
jbesraa opened this issue Dec 9, 2024 · 6 comments · Fixed by #1293 or #1359
Open

Test TemplateProvider OS E13 #1278

jbesraa opened this issue Dec 9, 2024 · 6 comments · Fixed by #1293 or #1359

Comments

@jbesraa
Copy link
Contributor

jbesraa commented Dec 9, 2024

TemplateProvider in integration-tests fails to start(sometimes) because it cant access OS folders

https://github.com/stratum-mining/stratum/actions/runs/12231267837/job/34113994881?pr=1242#step:4:377

@plebhash
Copy link
Collaborator

plebhash commented Jan 9, 2025

re-opening as this is still happening, unfortunately #1293 didn't fix it

also, this is not particular to the macos runner, it also happens on ubuntu

some recent failed executions (which went away by re-running):

@jbesraa
Copy link
Contributor Author

jbesraa commented Jan 22, 2025

If this issue is raised again, I suggest to create a user in the CI and give it the correct permissions for writing/creating files.
I would also try to make the integration tests more versatile by trying to re-start the template provider if it is not coming up in the first try.

@plebhash
Copy link
Collaborator

If this issue is raised again, I suggest to create a user in the CI and give it the correct permissions for writing/creating files. I would also try to make the integration tests more versatile by trying to re-start the template provider if it is not coming up in the first try.

what I reported on #1374 is not unique to CI runs, I also witnessed it locally

@plebhash
Copy link
Collaborator

possibly related: rust-bitcoin/bitcoind#90

@plebhash
Copy link
Collaborator

plebhash commented Jan 22, 2025

closing #1374 and re-opening this, as this is where the issue was originally reported and #1374 seems to be just another instance of the same problem

@plebhash plebhash reopened this Jan 22, 2025
@plebhash
Copy link
Collaborator

plebhash commented Jan 22, 2025

possibly related: rust-bitcoin/bitcoind#90

looks like bitcoind crate is on it's way to being deprecated: rust-bitcoin/bitcoind#165

we should be able to get similar functionality (and ongoing support) from https://crates.io/crates/corepc-node

perhaps switching dependencies could improve things? or at least if we continue getting this problem, we could eventually report it and get support from the maintainers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment