acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

Fixes #3645, sed errors in dns_linode_v4.sh

Open ddribin opened this issue 4 years ago • 17 comments

Use "{" instead of "{".

ddribin avatar Aug 07 '21 06:08 ddribin

I spend at least an hour trying to get the Actions to pass, but TokenName1 = TokenValue1 was never getting set as an environment variable, and I could not set an Linode API key from a secret.

ddribin avatar Aug 07 '21 06:08 ddribin

please set up and make the CI pass.

Neilpang avatar Aug 07 '21 12:08 Neilpang

As I mentioned above, I could not get it to work, following this link:

https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test

I get this error:

[Sat Aug  7 05:33:43 UTC 2021] You didn't specify the Linode v4 API key yet.

Even though I did set:

TokenName1 = LINODE_V4_API_KEY
TokenValue1 = <my-api-key>

@Neilpang, can you help me figure out why? I have not used GitHub Actions very much.

ddribin avatar Aug 07 '21 14:08 ddribin

no, I don't know why. it should be easy.

Neilpang avatar Aug 07 '21 15:08 Neilpang

I think a recent change in acmetest is causing Linode in Docker not to work. See https://github.com/acmesh-official/acmetest/commit/8af6bcf45b81602818a21e1725520c4712c70dc0#r54561469

ddribin avatar Aug 07 '21 16:08 ddribin

Sorry, it's fixed now.

please rebase and try again.

Thanks.

Neilpang avatar Aug 08 '21 00:08 Neilpang

The straight dev branch failed two tests, DNS and Linux:

Screen Shot 2021-08-10 at 12 28 30 AM

But my commit failed three, DNS, Linux, and Ubunutu:

Screen Shot 2021-08-10 at 12 28 39 AM

Looking at the logs it says:

Ubuntu (ZeroSSL.com, ZeroSSL ECC Domain Secure Site CA, ZeroSSL RSA Domain Secure Site CA, github...
The job was canceled because "LetsEncrypt_org_test" failed.
Screen Shot 2021-08-10 at 12 31 15 AM

@Neilpang: Seems unrelated to my change, no?

ddribin avatar Aug 10 '21 05:08 ddribin

re-run it.

Neilpang avatar Aug 10 '21 05:08 Neilpang

Failed again:

/home/runner/.acme.sh/acme.sh --revoke -d obtaining-guitars-pick-beautiful.trycloudflare.com [PASS]
124
------------------------------------------
125
Progress: 10/0/19
126
==Running le_test_standandalone_listen_v6_v2 please wait
127
Skipped by TEST_IPV6
128
------------------------------------------
129
Progress: 11/0/19
130
==Running le_test_standandalone_deactivate_v2 please wait
131
 [FAIL] 
132
Run Failed
133
/home/runner/.acme.sh/acme.sh  --server "ZeroSSL.com"  --issue -d obtaining-guitars-pick-beautiful.trycloudflare.com --standalone --certpath '/home/runner/work/acme.sh/acmetest/certs/domain.cer' --keypath '/home/runner/work/acme.sh/acmetest/certs/domain.key'  --capath '/home/runner/work/acme.sh/acmetest/certs/ca.cer'  --reloadcmd 'echo this is reload'  --fullchainpath  '/home/runner/work/acme.sh/acmetest/certs/full.cer'------------------------------------------
134
==Running le_test_standandalone_deactivate_v2 please wait
135

Should I upload the whole log file?

ddribin avatar Aug 10 '21 05:08 ddribin

Attached a log archive of the Ubuntu. I'm afraid I don't know what's going on, so you'll have to accept/deny this PR as-is, unless you can figure out the CI issues. All I know is this solves the problem for me. Solaris did pass in CI, which is good since Solaris is the only reason the _egrep_o() exists.

logs_32.zip

ddribin avatar Aug 11 '21 04:08 ddribin

Just click the "Rerun" button on the CI jobs to run your tests again, it sometimes fails.

Neilpang avatar Aug 11 '21 05:08 Neilpang

Looks like Ubuntu finally passed. @Neilpang: Is there anything else you're looking for, in order to merge?

ddribin avatar Aug 14 '21 16:08 ddribin

please rebase and check the tests again.

Neilpang avatar Aug 21 '21 14:08 Neilpang

It's already rebased on current dev ?

* b17acf1 - (HEAD -> sed-error-3645) Fixes #3645, sed errors in dns_linode_v4.sh (4 weeks ago) <Dave Dribin>
* 72e3f33 - (dev) fix docker test (4 weeks ago) <neilpang>

ddribin avatar Sep 02 '21 23:09 ddribin

I just checked and there's nothing new on the dev branch. @Neilpang: What is holding this PR back from getting merged?

ddribin avatar Oct 24 '21 15:10 ddribin

https://github.com/ddribin/acme.sh/actions/runs/1109369260

Neilpang avatar Oct 25 '21 01:10 Neilpang

My Linode key had expired, and I needed to rebase to dev. I've updated everything, and it It all works locally. Yet the the DNS API Test action still fails https://github.com/ddribin/acme.sh/actions/runs/1408717835

I cannot figure out why it's failing. I've spent many hours trying to get this DNS API Test action passing for a straightforward two line change. Unfortunately, I cannot spend any more time in this PR. Hopefully you can take it from here.

ddribin avatar Nov 02 '21 03:11 ddribin