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

Knossos versioning issues #182

Closed
bdarnell opened this issue Jun 29, 2017 · 2 comments
Closed

Knossos versioning issues #182

bdarnell opened this issue Jun 29, 2017 · 2 comments
Labels

Comments

@bdarnell
Copy link
Contributor

After pulling #181, the CockroachDB tests are all failing.

$ cd jepsen/cockroachdb
$ lein run test ...
...
Retrieving jepsen/jepsen/0.1.5/jepsen-0.1.5.jar from clojars
...
Retrieving knossos/knossos/0.2.8/knossos-0.2.8.jar from clojars
...
Retrieving lein-localrepo/lein-localrepo/0.5.4/lein-localrepo-0.5.4.jar from clojars
Compiling jepsen.cockroach.runner
java.io.FileNotFoundException: Could not locate knossos/competition__init.class or knossos/competition.clj on classpath., compiling:(checker.clj:1:1)
Exception in thread "main" java.io.FileNotFoundException: Could not locate knossos/competition__init.class or knossos/competition.clj on classpath., compiling:(checker.clj:1:1)
	at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3657)
	at clojure.lang.Compiler.compile1(Compiler.java:7474)
	at clojure.lang.Compiler.compile1(Compiler.java:7464)
	at clojure.lang.Compiler.compile(Compiler.java:7541)
	at clojure.lang.RT.compile(RT.java:406)
...
Caused by: java.io.FileNotFoundException: Could not locate knossos/competition__init.class or knossos/competition.clj on classpath.
	at clojure.lang.RT.load(RT.java:456)
	at clojure.lang.RT.load(RT.java:419)
	at clojure.core$load$fn__5677.invoke(core.clj:5893)

It looks like it's pulling jepsen and knossos from the network, then ignoring the jepsen jar it downloaded and using the local source (which is incompatible with the downloaded knossos). I don't think I'm setting any classpath variables or anything that would cause it to look there (although there are a lot of layers in the scripts here and I don't know what variables to look for). Any idea what I might be doing wrong? Should I just bump the jepsen version in cockroachdb/project.clj to 0.1.6-SNAPSHOT?

@aphyr
Copy link
Collaborator

aphyr commented Jun 29, 2017

So the competition checker was introduced in Knossos 0.3.0, and is referred to by Jepsen 0.1.6-SNAPSHOT. Cockroach refers to 0.1.5, which means it shoooouldn't point to the competition checker. Possible answers:

  • Do you have a checkouts directory perhaps? It might be referring to the Jepsen copy there
  • Try running lein clean to wipe out cached state

@bdarnell
Copy link
Contributor Author

Yep, I have this checkouts directory. Sounds like I should just remove that.

bdarnell added a commit to cockroachdb/jepsen that referenced this issue Jun 29, 2017
This was useful when the tests were under development, but now it's
confusing since it prevents the `jepsen` version in
`cockroachdb/project.clj` from having an effect.

Fixes jepsen-io#182
@mkcp mkcp added the question label Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants