I'm building af2a730 "some tests for c.c.io byte-level support" of clojure-contrib.
I'm seeing clojure.contrib.test-complex-numbers error out the maven build with 4 failures and 253 errors on two of the five platforms at my disposal. Only my linux-based netbooks fail the build. JDK version does not seem to explain the failures. (Apologies to those not reading this in a mono-spaced font.) |---+--------+---------------+------------------------+-------| | | Mvn | JDK | OS/Kernel | Build | |---+--------+---------------+------------------------+-------| | W | 2.2.1 | 1.6.0_16 | Ubuntu 9.10, 2.6.31-20 | FAIL | | P | 2.2.1 | 1.6.0_15 | Ubuntu 9.10, 2.6.31-20 | FAIL | | P | 2.2.1 | 1.6.0_19 | Ubuntu 9.10, 2.6.31-20 | FAIL | | P | 2.2.1 | OpenJDK 1.6.0 | Ubuntu 9.10, 2.6.31-20 | FAIL | |---+--------+---------------+------------------------+-------| | O | 2.2.1 | 1.6.0_10 | Ubuntu 9.04, 2.6.28-18 | PASS | | M | 2.2.1 | 1.6.0_17 | Mac OS X 10.6.3 x86_64 | PASS | | G | 2.0.10 | 1.5.0_13 | Mac OS X 10.6.3 x86_64 | PASS | |---+--------+---------------+------------------------+-------| |---+---------------+------------------------+-------+-------| | | Model | Processor | RAM | Build | |---+---------------+------------------------+-------+-------| | W | Dell Mini 9 | Atom, 1.66 GHz | 2 GiB | FAIL | | P | Eee PC 1005HA | Atom, 1.6 GHz | 2 GiB | FAIL | | O | Desktop | Core2Duo Quad, 2.5 GHz | 4 GiB | PASS | | M | MacBook | Core2Duo, 2.2 GHz | 4 GiB | PASS | | G | PowerBook | PowerPC G4, 1 GHz | 1 GiB | PASS | |---+---------------+------------------------+-------+-------| Commonalities of the Failing platforms: - Ubuntu 9.10 - Linux Kernel 2.6.31-20-generic - Intel Atom processor (though different models: "Wesley" runs at 1.66GHz while "Pepper" uses a slightly newer model at 1.6 GHz) These failures don't appear related to the underlying clojure version. M (which passes) and P (which fails) were both using clojure-1.2.0-master-20100415.170113-27.jar (md5:43db78bcc5461156c80fee9434f2ff28) A few representative examples of the failures I'm seeing ======================================================== ERROR in (complex-sqrt) (run-test1347341999632195512.clj:44) Uncaught exception, not in assertion. expected: nil actual: java.lang.IllegalArgumentException: No method in multimethod 'sqrt' for dispatch value: :clojure.contrib.complex-numbers/complex ... FAIL in (complex-conjugate) (run-test1347341999632195512.clj:44) expected: (= (conjugate (complex 1 2)) (complex 1 -2)) actual: false ERROR in (complex-subtraction) (run-test1347341999632195512.clj:44) expected: (= (- -1 (complex -3 -7)) (complex 2 7)) actual: java.lang.IllegalArgumentException: No method in multimethod '-' for dispatch value: :clojure.contrib.complex-numbers/complex ... ERROR in (complex-division) (run-test1347341999632195512.clj:44) expected: (= (/ (imaginary 5) (imaginary 5)) 1) actual: java.lang.IllegalArgumentException: No method in multimethod '/' for dispatch value: :clojure.contrib.complex-numbers/pure-imaginary ... ERROR in (complex-abs) (run-test5245007338919107779.clj:44) expected: (approx= (* c (conjugate c)) (sqr (abs c)) 1.0E-14) actual: java.lang.IllegalArgumentException: No method in multimethod '*' for dispatch value: [:clojure.contrib.complex-numbers/complex :clojure.contrib.complex-numbers/complex] at clojure.lang.MultiFn.getFn (MultiFn.java:115) clojure.lang.MultiFn.invoke (MultiFn.java:161) clojure.contrib.test_complex_numbers$fn__10168$fn__10173.invoke (test_complex_numbers.clj:284) clojure.contrib.test_complex_numbers/fn (test_complex_numbers.clj:284) clojure.test$test_var__6644$fn__6645.invoke (test.clj:644) clojure.test/test_var (test.clj:644) clojure.test$test_all_vars__6649$fn__6650$fn__6657.invoke (test.clj:659) clojure.test/default_fixture (test.clj:617) clojure.test$test_all_vars__6649$fn__6650.invoke (test.clj:659) clojure.test/default_fixture (test.clj:617) clojure.test/test_all_vars (test.clj:655) clojure.test/test_ns (test.clj:677) clojure.core$map__3989$fn__3990.invoke (core.clj:1885) clojure.lang.LazySeq.sval (LazySeq.java:42) clojure.lang.LazySeq.seq (LazySeq.java:56) clojure.lang.Cons.next (Cons.java:37) clojure.lang.RT.next (RT.java:566) clojure.core/next (core.clj:54) clojure.core/reduce (core.clj:715) clojure.core/reduce (core.clj:706) clojure.core$merge_with__4079.doInvoke (core.clj:2061) clojure.lang.RestFn.applyTo (RestFn.java:140) clojure.core/apply (core.clj:480) clojure.test$run_tests__6666.doInvoke (test.clj:691) clojure.lang.RestFn.invoke (RestFn.java:1261) user$eval__12082$fn__12085.invoke (run-test5245007338919107779.clj:46) user/eval (run-test5245007338919107779.clj:44) clojure.lang.Compiler.eval (Compiler.java:5363) clojure.lang.Compiler.load (Compiler.java:5773) clojure.lang.Compiler.loadFile (Compiler.java:5736) clojure.main/load_script (main.clj:213) clojure.main/script_opt (main.clj:265) clojure.main$main__6119.doInvoke (main.clj:346) clojure.lang.RestFn.invoke (RestFn.java:409) clojure.lang.Var.invoke (Var.java:365) clojure.lang.AFn.applyToHelper (AFn.java:165) clojure.lang.Var.applyTo (Var.java:482) clojure.main.main (main.java:37) What's going on here? Any ideas? // Ben -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en