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

ERROR [2023-05-09 17:09:55,481] main - jepsen.cli Oh jeez, I'm sorry, Jepsen broke. Here's why: com.jcraft.jsch.JSchException: java.net.UnknownHostException: n1 #4

Open
baofuhann opened this issue May 9, 2023 · 0 comments

Comments

@baofuhann
Copy link

After cloning the repository locally and installing the corresponding dependencies, when I ran the command lein run test --nemesis changing-validators --concurrency 2n --time-limit 3000 --workload cas-register according to the documentation, I got the following error, which has been bothering me for a long time.

imit 3000 --workload cas-register
Initializing core.typed ...
Building core.typed base environments ...
Finished building base environments
"Elapsed time: 8658.557043 msecs"
core.typed initialized.
241:  Not checking jepsen.tendermint.validator/byzantine-validators definition
WARNING:  (jepsen/tendermint/validator.clj:662:5)  Local became bottom when checking case default
WARNING:  (jepsen/tendermint/validator.clj:678:5)  Local became bottom when checking case default
792:  Not checking jepsen.tendermint.validator/rand-legal-transition definition
17:09:25.283 [main] INFO  jepsen.cli - Test options:
 {:concurrency 10,
 :ssh
 {:username "root",
  :password "root",
  :strict-host-key-checking false,
  :private-key-path nil},
 :nemesis :changing-validators,
 :abci-url
 "https://s3-us-west-2.amazonaws.com/tendermint/binaries/abci/v0.5.0/abci_0.5.0_linux_amd64.zip",
 :nodes ["n1" "n2" "n3" "n4" "n5"],
 :test-count 1,
 :merkleeyes-url
 "https://s3-us-west-2.amazonaws.com/tendermint/jepsen/merkleeyes_0.2.2-ngc.3_linux_amd64.zip",
 :tendermint-url
 "https://s3-us-west-2.amazonaws.com/tendermint/binaries/tendermint/v0.10.3/tendermint_0.10.3_linux_amd64.zip",
 :time-limit 3000,
 :workload :cas-register}

INFO [2023-05-09 17:09:25,419] jepsen test runner - jepsen.core Running test:
 {:concurrency 10,
 :nonserializable-keys [:validator-config],
 :db
 #object[jepsen.tendermint.db$db$reify__31247 0x7e8a0192 "jepsen.tendermint.db$db$reify__31247@7e8a0192"],
 :name "tendermint cas-register changing-validators",
 :start-time
 #object[org.joda.time.DateTime 0x79aab764 "2023-05-09T17:09:25.000+08:00"],
 :net
 #object[jepsen.net$reify__1097 0x38696886 "jepsen.net$reify__1097@38696886"],
 :client
 #object[jepsen.tendermint.core$cas_register_client$reify__31265 0x3cc6bfdb "jepsen.tendermint.core$cas_register_client$reify__31265@3cc6bfdb"],
 :barrier
 #object[java.util.concurrent.CyclicBarrier 0x27153ba2 "java.util.concurrent.CyclicBarrier@27153ba2"],
 :ssh
 {:username "root",
  :password "root",
  :strict-host-key-checking false,
  :private-key-path nil},
 :checker
 #object[jepsen.checker$compose$reify__3207 0x66a2bc61 "jepsen.checker$compose$reify__3207@66a2bc61"],
 :validator-config #<Atom@58a0b88e: nil>,
 :nemesis
 #object[jepsen.tendermint.core$changing_validators_nemesis$reify__31315 0x109d3527 "jepsen.tendermint.core$changing_validators_nemesis$reify__31315@109d3527"],
 :active-histories #<Atom@278e51f1: #{}>,
 :abci-url
 "https://s3-us-west-2.amazonaws.com/tendermint/binaries/abci/v0.5.0/abci_0.5.0_linux_amd64.zip",
 :nodes ["n1" "n2" "n3" "n4" "n5"],
 :test-count 1,
 :merkleeyes-url
 "https://s3-us-west-2.amazonaws.com/tendermint/jepsen/merkleeyes_0.2.2-ngc.3_linux_amd64.zip",
 :tendermint-url
 "https://s3-us-west-2.amazonaws.com/tendermint/binaries/tendermint/v0.10.3/tendermint_0.10.3_linux_amd64.zip",
 :generator
 #object[jepsen.generator$concat$reify__1922 0x62f2811 "jepsen.generator$concat$reify__1922@62f2811"],
 :os
 #object[jepsen.os.debian$reify__1374 0x962e8c5 "jepsen.os.debian$reify__1374@962e8c5"],
 :time-limit 3000,
 :workload :cas-register,
 :model {:value nil}}

ERROR [2023-05-09 17:09:55,481] main - jepsen.cli Oh jeez, I'm sorry, Jepsen broke. Here's why:
com.jcraft.jsch.JSchException: java.net.UnknownHostException: n1
	at com.jcraft.jsch.Util.createSocket(Util.java:349) ~[jsch-0.1.53.jar:na]
	at com.jcraft.jsch.Session.connect(Session.java:215) ~[jsch-0.1.53.jar:na]
	at com.jcraft.jsch.Session.connect(Session.java:183) ~[jsch-0.1.53.jar:na]
	at clj_ssh.ssh$fn__1395.invokeStatic(ssh.clj:118) ~[jepsen-0.1.6.jar:na]
	at clj_ssh.ssh$fn__1395.invoke(ssh.clj:115) ~[jepsen-0.1.6.jar:na]
	at clj_ssh.ssh.protocols$fn__1353$G__1320__1362.invoke(protocols.clj:4) ~[jepsen-0.1.6.jar:na]
	at clj_ssh.ssh$connect.invokeStatic(ssh.clj:401) ~[jepsen-0.1.6.jar:na]
	at clj_ssh.ssh$connect.invoke(ssh.clj:397) ~[jepsen-0.1.6.jar:na]
	at jepsen.control$clj_ssh_session.invokeStatic(control.clj:262) ~[jepsen-0.1.6.jar:na]
	at jepsen.control$clj_ssh_session.invoke(control.clj:254) ~[jepsen-0.1.6.jar:na]
	at jepsen.control$session$fn__1784.invoke(control.clj:276) ~[jepsen-0.1.6.jar:na]
	at jepsen.reconnect$open_BANG_$fn__1673.invoke(reconnect.clj:59) ~[jepsen-0.1.6.jar:na]
	at jepsen.reconnect$open_BANG_.invokeStatic(reconnect.clj:57) ~[jepsen-0.1.6.jar:na]
	at jepsen.reconnect$open_BANG_.invoke(reconnect.clj:54) ~[jepsen-0.1.6.jar:na]
	at jepsen.control$session.invokeStatic(control.clj:273) ~[jepsen-0.1.6.jar:na]
	at jepsen.control$session.invoke(control.clj:270) ~[jepsen-0.1.6.jar:na]
	at clojure.lang.AFn.applyToHelper(AFn.java:154) ~[clojure-1.8.0.jar:na]
	at clojure.lang.AFn.applyTo(AFn.java:144) ~[clojure-1.8.0.jar:na]
	at clojure.core$apply.invokeStatic(core.clj:646) ~[clojure-1.8.0.jar:na]
	at clojure.core$with_bindings_STAR_.invokeStatic(core.clj:1881) ~[clojure-1.8.0.jar:na]
	at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1881) ~[clojure-1.8.0.jar:na]
	at clojure.lang.RestFn.applyTo(RestFn.java:142) ~[clojure-1.8.0.jar:na]
	at clojure.core$apply.invokeStatic(core.clj:650) ~[clojure-1.8.0.jar:na]
	at clojure.core$bound_fn_STAR_$fn__4671.doInvoke(core.clj:1911) ~[clojure-1.8.0.jar:na]
	at clojure.lang.RestFn.applyTo(RestFn.java:137) ~[clojure-1.8.0.jar:na]
	at clojure.core$apply.invokeStatic(core.clj:646) ~[clojure-1.8.0.jar:na]
	at clojure.core$apply.invoke(core.clj:641) ~[clojure-1.8.0.jar:na]
	at jepsen.util$fcatch$wrapper__945.doInvoke(util.clj:28) ~[jepsen-0.1.6.jar:na]
	at clojure.lang.RestFn.invoke(RestFn.java:408) ~[clojure-1.8.0.jar:na]
	at jepsen.util$real_pmap$launcher__950$fn__951.invoke(util.clj:48) ~[jepsen-0.1.6.jar:na]
	at clojure.core$binding_conveyor_fn$fn__4676.invoke(core.clj:1938) ~[clojure-1.8.0.jar:na]
	at clojure.lang.AFn.call(AFn.java:18) ~[clojure-1.8.0.jar:na]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_371]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_371]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_371]
	at java.lang.Thread.run(Thread.java:750) ~[na:1.8.0_371]
Caused by: java.net.UnknownHostException: n1
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) ~[na:1.8.0_371]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) ~[na:1.8.0_371]
	at java.net.Socket.connect(Socket.java:606) ~[na:1.8.0_371]
	at java.net.Socket.connect(Socket.java:555) ~[na:1.8.0_371]
	at java.net.Socket.<init>(Socket.java:451) ~[na:1.8.0_371]
	at java.net.Socket.<init>(Socket.java:228) ~[na:1.8.0_371]
	at com.jcraft.jsch.Util.createSocket(Util.java:343) ~[jsch-0.1.53.jar:na]
	... 35 common frames omitted
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

1 participant