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

How to NOT show asterisks for parameters in log output of test scripts #5329

Open
lifeboy opened this issue Oct 14, 2024 · 3 comments
Open

Comments

@lifeboy
Copy link
Contributor

lifeboy commented Oct 14, 2024

When I run the automated tests on the dns api script (dns_pmiab.sh), I get asterisks for the parameters in the output log, which makes it practically impossible to find a problem or see why the test fails. How can one instruct the tests to show the actual values?

@acmesh-official acmesh-official deleted a comment from github-actions bot Oct 15, 2024
@Neilpang
Copy link
Member

example ?

@lifeboy
Copy link
Contributor Author

lifeboy commented Oct 15, 2024

Below is a sample from the log:

Run cd ../acmetest && ./rundocker.sh  testall
##[debug]/usr/bin/bash -e /home/runner/work/_temp/a589070b-5b80-40bc-8c7f-1f6163c145f8.sh
Test for case: le_test_dnsapi
[Mon Oct 14 19:11:18 UTC 2024] Running ubuntu:latest, this may take a few minutes, please wait.
Mon, 14 Oct 2024 19:11:34 UTC
TEST_LOCAL skip setup.
==Running le_test_dnsapi please wait
no crontab for root
no crontab for root
Testing wildcard domain. 
TestingDomain='***'
 [FAIL] 
Run Failed
/root/.acme.sh/acme.sh --server "letsencrypt_test"  --issue -d "***" -d "*.***" --dns *** --dnssleep "***" ------------------------------------------
==Running le_test_dnsapi please wait
Testing wildcard domain. 
TestingDomain='***'
[Mon Oct 14 19:11:[35](https://github.com/lifeboy/acme.sh/actions/runs/11333608729/job/31518116520#step:5:36) UTC 2024] _is_idn_d='***'
[Mon Oct 14 19:11:35 UTC 2024] _idn_temp
[Mon Oct 14 19:11:35 UTC 2024] _is_idn_d='*.***'
[Mon Oct 14 19:11:35 UTC 2024] _idn_temp

I would like to see for example what the value of TestingDomain is.

Also /root/.acme.sh/acme.sh --server "letsencrypt_test" --issue -d "" -d "." --dns *** --dnssleep "**" doesn't help mucbh to debug.

Is there a way to tell the system to net output asterisks, but the actual values?

@lifeboy
Copy link
Contributor Author

lifeboy commented Oct 16, 2024

Does anyone have advice on how to see these values?

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