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

Missing wget binary #655

Open
ojecborec opened this issue Sep 15, 2024 · 13 comments
Open

Missing wget binary #655

ojecborec opened this issue Sep 15, 2024 · 13 comments
Labels
💎 Bounty bug Something isn't working

Comments

@ojecborec
Copy link

When running the latest permitio/opal-client:0.7.12 image as docker compose with following command

sh -c "exec ./wait-for.sh http://opal-server:7002/healthcheck --timeout=60 -- ./start.sh"

the ./start.sh script is never executed. The reason is that wget binary does not exists therefor

wget --timeout=1 -q "$HOST" -O /dev/null > /dev/null 2>&1

returns 127 exit code.

@ojecborec ojecborec added the bug Something isn't working label Sep 15, 2024
@gemanor
Copy link
Collaborator

gemanor commented Sep 18, 2024

/bounty $100

Copy link

algora-pbc bot commented Sep 18, 2024

💎 $100 bounty • Permit.io

Steps to solve:

  1. Start working: Comment /attempt #655 with your implementation plan
  2. Submit work: Create a pull request including /claim #655 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to permitio/opal!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @ojecborec Sep 18, 2024, 10:57:17 AM #662

Copy link

algora-pbc bot commented Sep 18, 2024

💡 @ojecborec submitted a pull request that claims the bounty. You can visit your bounty board to reward.

@ojecborec
Copy link
Author

ojecborec commented Sep 18, 2024

/attempt #655 #662

@Abiji-2020
Copy link

@ojecborec @gemanor any progress on this issue?

@ojecborec
Copy link
Author

@Abiji-2020 Still waiting for @obsd to help us with failing tests on #662

@Abiji-2020
Copy link

@Abiji-2020 Still waiting for @obsd to help us with failing tests on #662

okay, incase if you need another hand, i am ready for it .

@ojecborec
Copy link
Author

The log file reads

- Create .env file
- Clone tests policy repo to create test's branch
Cloning into 'opal-tests-policy-repo'...
Load key "/home/runner/work/opal/opal/app-tests/opal-tests-policy-repo-key": error in libcrypto
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

I've only added wget package to apt-get install statement. This fail seems to be unrelated to my change. Do you have any idea what is going on?

@Abiji-2020
Copy link

The log file reads

- Create .env file
- Clone tests policy repo to create test's branch
Cloning into 'opal-tests-policy-repo'...
Load key "/home/runner/work/opal/opal/app-tests/opal-tests-policy-repo-key": error in libcrypto
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

I've only added wget package to apt-get install statement. This fail seems to be unrelated to my change. Do you have any idea what is going on?

I had checked several PR's in the repo and all of them has this issue, it is not a problem with the code, it is a problem with the docker workflow:

https://github.com/permitio/opal/blob/master/.github/workflows/tests.yml#117
the error is that issue with the SSH key used to clone the repository, which is likely caused by a missing or misconfigured SSH key.

@ojecborec
Copy link
Author

Thank you for the explanation. Is there anything I can help with?

@Abiji-2020
Copy link

Thank you for the explanation. Is there anything I can help with?

we can ask the maintainers to check on the secrets the correct values are given in the repository. As all the PR currently opened are facing this issue in the docker test.

@danyi1212
Copy link
Collaborator

Hey, we have an issue with the CI at the moment, some expired token of some sort.
I'm waiting for someone else's help, hopefully I will be able to resolve it soon and get this merged 🌟

@ojecborec
Copy link
Author

It is pending 1 reviewer at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants