CNCLI cargo test

after doing the CNCLI cargo test, I get a failure at
test test::test_ping_failure_address … FAILED

failures:

---- test::test_ping_failure_address stdout ----
thread ‘test::test_ping_failure_address’ panicked at 'assertion failed: (left == right)
left: "{\n \"status\": \"error\",\n \"host\": \"murrika.relays-new.cardano-testnet.iohkdev.io\",\n \"port\": 3001,\n \"errorMessage\": \"failed to lookup address information: Temporary failure in name resolution\"\n}",
right: "{\n \"status\": \"error\",\n \"host\": \"murrika.relays-new.cardano-testnet.iohkdev.io\",\n \"port\": 3001,\n \"errorMessage\": \"failed to lookup address information: Name or service not known\"\n}"', src/test.rs:58:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

failures:
test::test_ping_failure_address

all other 13 tests passed…

Any thoughts?

It looks is something related with the DNS… can u try with the IPv4 instead?

try on your local pc → open CMD (command prompt) and type
nslookup server_IP
or nslookup server_DNS
and check if the DNS solve the IP

Hello Alexd, thanks for repling…

Results:

nslookup server_IP
Server: 127.0.0.53
Address: 127.0.0.53#53

** server can’t find server_IP: SERVFAIL

$ nslookup server_DNS
Server: 127.0.0.53
Address: 127.0.0.53#53

** server can’t find server_DNS: SERVFAIL

I will work on this tomorrow, early morning…

Erndawg

1 Like

If you have time tonight, I would like to go over a couple of items with you… I just have three more days of work and off next week. If you have a tight schedule I can check back…

Erndawg

Hi, not tonight it’s already 2 am here…

Sounds good, I am off all day on Friday…

1 Like

Good Afternoon Alex, would you have some free time in the next few days to clear up these issues. I would like to fix this issue and make sure I don’t miss a block again as I did in epoch 307…

Erndawg

1 Like

We can try, what time is there now? Here is 19:11

just past noon, 12:06

just adjusted my router setting and going to try and run the tests again.

Which tests?

Contributing CNCLI README.md

Before submitting a pull request ensure that all tests pass, code is correctly formatted and linted, and that no common mistakes have been made, by running the following commands:
cargo check
cargo fmt --all – --check
cargo clippy – -D warnings
cargo test

test::test_ping_failure_address … FAILED
failures:

---- test::test_ping_failure_address stdout ----
thread ‘test::test_ping_failure_address’ panicked at 'assertion failed: (left == right)
left: "{\n \"status\": \"error\",\n \"host\": \"murrika.relays-new.cardano-testnet.iohkdev.io\",\n \"port\": 3001,\n \"errorMessage\": \"failed to lookup address information: Temporary failure in name resolution\"\n}",
right: "{\n \"status\": \"error\",\n \"host\": \"murrika.relays-new.cardano-testnet.iohkdev.io\",\n \"port\": 3001,\n \"errorMessage\": \"failed to lookup address information: Name or service not known\"\n}"', src/test.rs:58:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
failures:
test::test_ping_failure_address
test result: FAILED. 13 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.01s
error: test failed, to rerun pass ‘–bin cncli’

same result

I have been doing checks to make sure system will not miss another change to mint a block. Just looking for items to review and fix…

Is this test important?

What is the ticker?

Did u installed chrony?

LSSP is the ticker

yes, I did install chrony…

The node is up and running, only an issue with the metadata file, but it’s visible on pooltool.io and adapools.org

https://pool.vet/#Lssp

Are u sure u had a block assigned?

When epoch 307 ended I had a chance to mint a block but did not…

Just to confirm, as long as the current leaderlog shows
no": 21675, strong text
“slot”: 47692782,
“slotInEpoch”: 431982,
“at”: “2021-12-11T13:44:33-08:00” strong text
“NO” I should not be the leader during that slot… “OK” is leader for that slot?

What about this last entry, I received this… 21675 🎰 , 100.35% 🍀max, 21600` :brick:ideal
Is that showing slot lottery chance?

During that time from between 21600-21675 my "Missed Slot Leader Checks jumped from 164-467 at the end of the Epoch… 30 mins.

In the logs I see:
ChainDB:Notice:339] [2021-12-11 17:59:23.57 UTC] Chain extended, new tip: 462d09279f853713fa1a92d896a4063d41971c08c7230986d5b88cd2a3a5445e at slot 47679272
IpSubscription:Error:810794]
cardano.node.ErrorPolicy:Notice:355]

Block fits onto some fork: 0df1bb2db06168fbea3cba206d3a5bcc07c51db0cfa8d90e9e67de203154b3ff at slot 47691114
ChainDB:Notice:339] [2021-12-11 21:16:45.81 UTC] Switched to a fork, new tip: 0df1bb2db06168fbea3cba206d3a5bcc07c51db0cfa8d90e9e67de203154b3ff at slot 47691114

ApplicationExceptionTrace ExceededTimeLimit (ChainSync (Header (HardForkBlock (’: * ByronBlock (’: * (ShelleyBlock (ShelleyEra StandardCrypto)) (’: * (Sh>

(This is NOT my IP) from relay log…
Domain: “relay1.adagogo1.com” Connection Attempt Start, destination 13.82.194.214:3001
Dec 11 15:59:52 racknerd-f0ab12 cardano-node[653]: [racknerd:cardano.node.DnsSubscription:Warning:383] [2021-12-11 21:59:49.95 UTC] Domain: “relay1.adagogo1.com” Failed to start all required subscriptions

ErrorPolicy:Warning:376] [2021-12-11 22:12:56.81 UTC] IP 178.62.106.12:2001 ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (MuxError MuxBearerClosed “<socket: 69> closed when reading data, waiting on next header True”))) 20s 20s

cardano-node[648]: Error: Switchboard’s queue full, dropping log items!Error: Switchboard’s queue full, dropping log items!

ErrorPolicy:Notice:789] [2021-12-11 22:23:42.94 UTC] IP 66.94.96.202:6000 (NOT MY IP-address)

DnsSubscription:Warning:801] [2021-12-11 22:23:44.29 UTC] Domain: “relay2s-mub.sman8.com” (i dont use DNS)
DnsSubscription:Notice:144189] [2021-12-11 22:23:44.75 UTC] Domain: “relays-new.cardano-mainnet.iohk.io” Connection Attempt Start, destin>

Thanks in advance for any input

can u run cncli.sh init ?
Are u using cntools?