hashobject / perun

Programmable static site generator built with Clojure and Boot (HELP NEEDED!)
https://perun.io
Eclipse Public License 1.0
351 stars 38 forks source link

Fix Tests & Bump (most) Deps #224

Closed allentiak closed 5 years ago

allentiak commented 5 years ago

(WIP = Work In Progress :-)

podviaznikov commented 5 years ago

:) thank for reminder.

allentiak commented 5 years ago

I am having some problems making this work. Even though boot build works, boot runtests fails...

I get a ton of errors. Definitely, I am doing something wrong... I have switched to Java 8, so I can avoid #229 and any other Java 11-related error.

-> % java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment (build 11.0.2+9-Debian-3)
OpenJDK 64-Bit Server VM (build 11.0.2+9-Debian-3, mixed mode, sharing)

-> % boot build
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by dynapath.defaults$fn__1516$fn__1517 (file:/home/allentiak/.m2/repository/boot/pod/2.7.2/pod-2.7.2.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of dynapath.defaults$fn__1516$fn__1517
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Classpath conflict: org.clojure/clojure version 1.7.0 already loaded, NOT loading version 1.2.0
Writing pom.xml and pom.properties...
Writing perun-0.4.4-SNAPSHOT.jar...
Installing perun-0.4.4-SNAPSHOT.jar...

-> %  boot runtests
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by dynapath.defaults$fn__1516$fn__1517 (file:/home/allentiak/.m2/repository/boot/pod/2.7.2/pod-2.7.2.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of dynapath.defaults$fn__1516$fn__1517
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Classpath conflict: org.clojure/clojure version 1.7.0 already loaded, NOT loading version 1.2.0
Launching 6 parallel tasks...
[global-metadata] - read global metadata from perun.base.edn
[yaml-metadata] - rendered new or changed file 2017-01-01-test.md
[images-dimensions] - processed 1 image files

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-dimensions-test
`images-dimensions should set `:width` metadata on image file
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-dimensions-test
`images-dimensions should set `:height` metadata on image file
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-dimensions-test
`images-dimensions should add `:io.perun/images-dimensions` to `:io.perun/trace`
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-dimensions-test
`images-dimensions should set `:width` metadata on image file
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-dimensions-test
`images-dimensions should set `:height` metadata on image file
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-dimensions-test
`images-dimensions should add `:io.perun/images-dimensions` to `:io.perun/trace`
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false
[pandoc] - rendered new or changed file public/2017-01-01-test.html

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:59)
io.perun-test/default-tests
`pandoc` should populate HTML file with parsed content
expected: (f (.contains (slurp (boot/tmp-file (boot/tmp-get fileset path))) content))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-resize-test
`images-resize resize image file and set `:width` metadata
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-resize-test
[yaml-metadata] - rendered new or changed file test.html
`images-resize resize image file and set `:height` metadata
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-resize-test
`images-resize should add `:io.perun/images-resize` to `:io.perun/trace`
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-resize-test
`images-resize resize image file and set `:width` metadata
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-resize-test
`images-resize resize image file and set `:height` metadata
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:50)
io.perun-test/images-resize-test
`images-resize should add `:io.perun/images-resize` to `:io.perun/trace`
expected: (and (not (nil? file)) (value-fn fileset file))
  actual: false
[pandoc] - rendered new or changed file test.md

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:59)
io.perun-test/with-arguments-test
`pandoc` should parse HTML to markdown
expected: (f (.contains (slurp (boot/tmp-file (boot/tmp-get fileset path))) content))
  actual: false
[yaml-metadata] - rendered new or changed file 2017-01-01-test.adoc
[collection] - rendered new or changed file public/index.html
[yaml-metadata] - rendered new or changed file test.md
                                                    java.lang.Thread.run                        Thread.java:  834
                      java.util.concurrent.ThreadPoolExecutor$Worker.run            ThreadPoolExecutor.java:  628
                       java.util.concurrent.ThreadPoolExecutor.runWorker            ThreadPoolExecutor.java: 1128
                                     java.util.concurrent.FutureTask.run                    FutureTask.java:  264
                                                                     ...                                         
                                     clojure.core/binding-conveyor-fn/fn                           core.clj: 1916
                                                       boot.core/boot/fn                           core.clj: 1031
                                                     boot.core/run-tasks                           core.clj: 1021
                                                   boot.test/fn/fn/fn/fn                           test.clj:   93
                                                   boot.test/fn/fn/fn/fn                           test.clj:   81
                                                   boot.test/fn/fn/fn/fn                           test.clj:   85
                                         io.perun-test/eval2993/fn/fn/fn                     perun_test.clj:  297
                                         io.perun-test/eval2882/fn/fn/fn                     perun_test.clj:  142
                                             io.perun/content-task/fn/fn                          perun.clj:  274 (repeats 2 times)
                                         io.perun-test/eval2632/fn/fn/fn                     perun_test.clj:   57
                                         io.perun-test/eval2882/fn/fn/fn                     perun_test.clj:  142
                                             io.perun/content-task/fn/fn                          perun.clj:  274
                                             io.perun/content-task/fn/fn                          perun.clj:  239
                                          io.perun/content-task/fn/fn/fn                          perun.clj:  239
                                                        clojure.core/seq                           core.clj:  137
                                                                     ...                                         
                                                     clojure.core/map/fn                           core.clj: 2616
                                                        clojure.core/seq                           core.clj:  137
                                                                     ...                                         
                                          io.perun/render-in-pod/iter/fn                          perun.clj:  156
                                                       boot.pod/eval-in*                            pod.clj:  471
                                                                     ...                                         
                jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke  DelegatingMethodAccessorImpl.java:   43
                    jdk.internal.reflect.NativeMethodAccessorImpl.invoke      NativeMethodAccessorImpl.java:   62
                   jdk.internal.reflect.NativeMethodAccessorImpl.invoke0       NativeMethodAccessorImpl.java     
             org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke        ClojureRuntimeShimImpl.java:  102
             org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke        ClojureRuntimeShimImpl.java:  109
                                                                     ...                                         
                                                       boot.pod/eval-in*                            pod.clj:  468
                                                       clojure.core/eval                           core.clj: 3081
                                                                     ...                                         
                                                     pod$eval1157.invoke                      NO_SOURCE_FILE     
                                                                     ...                                         
                                                    clojure.core/require                           core.clj: 5832
                                                      clojure.core/apply                           core.clj:  632
                                                                     ...                                         
                                                  clojure.core/load-libs                           core.clj: 5749
                                                      clojure.core/apply                           core.clj:  632
                                                                     ...                                         
                                                   clojure.core/load-lib                           core.clj: 5710
                                                clojure.core/load-lib/fn                           core.clj: 5711
                                                   clojure.core/load-one                           core.clj: 5671
                                                                     ...                                         
                                                       clojure.core/load                           core.clj: 5865
                                                    clojure.core/load/fn                           core.clj: 5866
                                                                     ...                                         
                jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke  DelegatingMethodAccessorImpl.java:   43
                    jdk.internal.reflect.NativeMethodAccessorImpl.invoke      NativeMethodAccessorImpl.java:   62
                   jdk.internal.reflect.NativeMethodAccessorImpl.invoke0       NativeMethodAccessorImpl.java     
                              org.asciidoctor.Asciidoctor$Factory.create                   Asciidoctor.java:  726
                        org.asciidoctor.internal.JRubyAsciidoctor.create              JRubyAsciidoctor.java:   82
org.asciidoctor.internal.JRubyAsciidoctor.createJRubyAsciidoctorInstance              JRubyAsciidoctor.java:  131
                         org.jruby.javasupport.JavaEmbedUtils.initialize                JavaEmbedUtils.java:   79
                                              org.jruby.Ruby.newInstance                          Ruby.java:  363
                                                     org.jruby.Ruby.init                          Ruby.java: 1214
                                                org.jruby.Ruby.bootstrap                          Ruby.java: 1315
                                                 org.jruby.Ruby.initCore                          Ruby.java: 1544
                                      org.jruby.RubyFile.createFileClass                      RubyFile.java:  199
             java.lang.NoSuchFieldError: O_TMPFILE
clojure.lang.Compiler$CompilerException: java.lang.NoSuchFieldError: O_TMPFILE, compiling:(asciidoctor.clj:7:3)
             clojure.lang.ExceptionInfo: java.lang.NoSuchFieldError: O_TMPFILE, compiling:(asciidoctor.clj:7:3)
    line: 76
[yaml-metadata] - rendered new or changed file test.md
                                                    java.lang.Thread.run                        Thread.java:  834
                      java.util.concurrent.ThreadPoolExecutor$Worker.run            ThreadPoolExecutor.java:  628
                       java.util.concurrent.ThreadPoolExecutor.runWorker            ThreadPoolExecutor.java: 1128
                                     java.util.concurrent.FutureTask.run                    FutureTask.java:  264
                                                                     ...                                         
                                     clojure.core/binding-conveyor-fn/fn                           core.clj: 1916
                                                       boot.core/boot/fn                           core.clj: 1031
                                                     boot.core/run-tasks                           core.clj: 1021
                                                   boot.test/fn/fn/fn/fn                           test.clj:   93
                                                   boot.test/fn/fn/fn/fn                           test.clj:   81
                                                   boot.test/fn/fn/fn/fn                           test.clj:   85
                                         io.perun-test/eval3149/fn/fn/fn                     perun_test.clj:  483
                                         io.perun-test/eval2882/fn/fn/fn                     perun_test.clj:  142
                                             io.perun/content-task/fn/fn                          perun.clj:  274 (repeats 2 times)
                                         io.perun-test/eval2632/fn/fn/fn                     perun_test.clj:   57
                                         io.perun-test/eval2882/fn/fn/fn                     perun_test.clj:  142
                                             io.perun/content-task/fn/fn                          perun.clj:  274
                                             io.perun/content-task/fn/fn                          perun.clj:  239
                                          io.perun/content-task/fn/fn/fn                          perun.clj:  239
                                                        clojure.core/seq                           core.clj:  137
                                                                     ...                                         
                                                     clojure.core/map/fn                           core.clj: 2616
                                                        clojure.core/seq                           core.clj:  137
                                                                     ...                                         
                                          io.perun/render-in-pod/iter/fn                          perun.clj:  156
                                                       boot.pod/eval-in*                            pod.clj:  471
                                                                     ...                                         
                jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke  DelegatingMethodAccessorImpl.java:   43
                    jdk.internal.reflect.NativeMethodAccessorImpl.invoke      NativeMethodAccessorImpl.java:   62
                   jdk.internal.reflect.NativeMethodAccessorImpl.invoke0       NativeMethodAccessorImpl.java     
             org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke        ClojureRuntimeShimImpl.java:  102
             org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke        ClojureRuntimeShimImpl.java:  109
                                                                     ...                                         
                                                       boot.pod/eval-in*                            pod.clj:  468
                                                       clojure.core/eval                           core.clj: 3081
                                                                     ...                                         
                                                     pod$eval1157.invoke                      NO_SOURCE_FILE     
                                                                     ...                                         
                                                    clojure.core/require                           core.clj: 5832
                                                      clojure.core/apply                           core.clj:  632
                                                                     ...                                         
                                                  clojure.core/load-libs                           core.clj: 5749
                                                      clojure.core/apply                           core.clj:  632
                                                                     ...                                         
                                                   clojure.core/load-lib                           core.clj: 5710
                                                clojure.core/load-lib/fn                           core.clj: 5711
                                                   clojure.core/load-one                           core.clj: 5671
                                                                     ...                                         
                                                       clojure.core/load                           core.clj: 5865
                                                    clojure.core/load/fn                           core.clj: 5866
                                                                     ...                                         
                jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke  DelegatingMethodAccessorImpl.java:   43
                    jdk.internal.reflect.NativeMethodAccessorImpl.invoke      NativeMethodAccessorImpl.java:   62
                   jdk.internal.reflect.NativeMethodAccessorImpl.invoke0       NativeMethodAccessorImpl.java     
                              org.asciidoctor.Asciidoctor$Factory.create                   Asciidoctor.java:  726
                        org.asciidoctor.internal.JRubyAsciidoctor.create              JRubyAsciidoctor.java:   82
org.asciidoctor.internal.JRubyAsciidoctor.createJRubyAsciidoctorInstance              JRubyAsciidoctor.java:  131
                         org.jruby.javasupport.JavaEmbedUtils.initialize                JavaEmbedUtils.java:   79
                                              org.jruby.Ruby.newInstance                          Ruby.java:  363
                                                     org.jruby.Ruby.init                          Ruby.java: 1214
                                                org.jruby.Ruby.bootstrap                          Ruby.java: 1315
                                                 org.jruby.Ruby.initCore                          Ruby.java: 1544
                                      org.jruby.RubyFile.createFileClass                      RubyFile.java:  199
             java.lang.NoSuchFieldError: O_TMPFILE
clojure.lang.Compiler$CompilerException: java.lang.NoSuchFieldError: O_TMPFILE, compiling:(asciidoctor.clj:7:3)
             clojure.lang.ExceptionInfo: java.lang.NoSuchFieldError: O_TMPFILE, compiling:(asciidoctor.clj:7:3)
    line: 76
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file test2.md
[markdown] - rendered new or changed file public/test2.html
allentiak commented 5 years ago

I am quite lost about what to do next...

Could anyone give me a hand on this, please? @eccentric-j? @podviaznikov?

allentiak commented 5 years ago

I will try to undo the bumping one by one and see where the errors are.

jaidetree commented 5 years ago

It seems to be isolated to the asciidoctor deps? Can you try running it without that step to see what happens?

allentiak commented 5 years ago

Thanks for the pointer. I'll try it and let you know.

allentiak commented 5 years ago

Hi, Jay @eccentric-j, Thank you very much for your comment: using asciidoctorj's old version (1.5.4, instead of 1.6.1) allowed me to progress on this.

It seems there are two problems:

I will come back to this next week. For the record, I copy the log below.

Thanks again! Leandro

% boot runtests
Classpath conflict: org.clojure/clojure version 1.7.0 already loaded, NOT loading version 1.2.0
Launching 6 parallel tasks...
[global-metadata] - read global metadata from perun.base.edn
                                      java.lang.Thread.run              Thread.java:  748
        java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
         java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                       java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                       ...                               
                       clojure.core/binding-conveyor-fn/fn                 core.clj: 1916
                                         boot.core/boot/fn                 core.clj: 1031
                                       boot.core/run-tasks                 core.clj: 1021
                                     boot.test/fn/fn/fn/fn                 test.clj:   93
                                     boot.test/fn/fn/fn/fn                 test.clj:   81
                                     boot.test/fn/fn/fn/fn                 test.clj:   85
                           io.perun-test/eval2723/fn/fn/fn           perun_test.clj:   79
                                                       ...                               
                               javax.imageio.ImageIO.write             ImageIO.java: 1536
                             javax.imageio.ImageIO.doWrite             ImageIO.java: 1612
                           javax.imageio.ImageWriter.write         ImageWriter.java:  615
        com.sun.imageio.plugins.jpeg.JPEGImageWriter.write     JPEGImageWriter.java:  363
com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread     JPEGImageWriter.java: 1067
   com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage      JPEGImageWriter.java     
javax.imageio.IIOException: Invalid argument to native writeImage
clojure.lang.ExceptionInfo: Invalid argument to native writeImage
                                      java.lang.Thread.run              Thread.java:  748
        java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
         java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                           line: 76
java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                       ...                               
                       clojure.core/binding-conveyor-fn/fn                 core.clj: 1916
                                         boot.core/boot/fn                 core.clj: 1031
                                       boot.core/run-tasks                 core.clj: 1021
                                     boot.test/fn/fn/fn/fn                 test.clj:   93
                                     boot.test/fn/fn/fn/fn                 test.clj:   81
                                     boot.test/fn/fn/fn/fn                 test.clj:   85
                           io.perun-test/eval2723/fn/fn/fn           perun_test.clj:   79
                                                       ...                               
                               javax.imageio.ImageIO.write             ImageIO.java: 1536
                             javax.imageio.ImageIO.doWrite             ImageIO.java: 1612
                           javax.imageio.ImageWriter.write         ImageWriter.java:  615
        com.sun.imageio.plugins.jpeg.JPEGImageWriter.write     JPEGImageWriter.java:  363
com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread     JPEGImageWriter.java: 1067
   com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage      JPEGImageWriter.java     
javax.imageio.IIOException: Invalid argument to native writeImage
clojure.lang.ExceptionInfo: Invalid argument to native writeImage
    line: 76
[yaml-metadata] - rendered new or changed file test.html
[yaml-metadata] - rendered new or changed file 2017-01-01-test.md
[pandoc] - rendered new or changed file test.md

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:59)
io.perun-test/with-arguments-test
`pandoc` should parse HTML to markdown
expected: (f (.contains (slurp (boot/tmp-file (boot/tmp-get fileset path))) content))
  actual: false
[pandoc] - rendered new or changed file public/2017-01-01-test.html

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:59)
io.perun-test/default-tests
`pandoc` should populate HTML file with parsed content
expected: (f (.contains (slurp (boot/tmp-file (boot/tmp-get fileset path))) content))
  actual: false
[collection] - rendered new or changed file public/index.html
[yaml-metadata] - rendered new or changed file test.md
[yaml-metadata] - rendered new or changed file 2017-01-01-test.adoc
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file test.md
[asciidoctor] - rendered new or changed file public/2017-01-01-test.html
[asciidoctor] - rendered new or changed file test.html
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file 2017-01-01-test.adoc
[yaml-metadata] - rendered new or changed file test.adoc
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file test.md
[asciidoctor] - rendered new or changed file public/2017-01-01-test.html
[asciidoctor] - rendered new or changed file test.html
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file 2017-01-01-test.md
[yaml-metadata] - rendered new or changed file test.md
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/2017-01-01-test.html
[markdown] - rendered new or changed file hammock/test.html
Sifting output files...
[ttr] - added TTR to 1 files
[markdown] - rendered new or changed file public/test.html
[word-count] - rendered new or changed file hammock/test.htm
[yaml-metadata] - rendered new or changed file highlight-test.md
[gravatar] - added gravatar to 1 files
[build-date] - added date-build to 1 files
[slug] - Moved 1 files
[permalink] - Moved 1 files
[yaml-metadata] - rendered new or changed file test2.md
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Mar 01, 2019 6:17:30 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: JBIG2ImageReader not loaded. jbig2 files will be ignored
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
TIFFImageWriter not loaded. tiff files will not be processed
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

Mar 01, 2019 6:17:30 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.
[mime-type] - set `:mime-type` and `:file-type` on 1 files
[markdown] - rendered new or changed file public/highlight-test.html
[markdown] - rendered new or changed file public/test2.html
[sitemap] - generated sitemap and saved to foo/test.xml
[rss] - generated RSS feed and saved to foo/test.rss
[atom-feed] - rendered new or changed file foo/test-atom.xml
[yaml-metadata] - rendered 5 new or changed files
[highlight] - rendered 2 new or changed files
[markdown] - rendered 5 new or changed files
Sifting output files...
[yaml-metadata] - rendered new or changed file highlight-test.ad
[assortment] - rendered 3 new or changed files
[asciidoctor] - rendered new or changed file public/highlight-test.html
[collection] - rendered new or changed file bar/its-a-collection.html
[tags] - rendered 3 new or changed files
[paginate] - rendered 3 new or changed files
[static] - rendered new or changed file laphroiag/neat.html
[render] - rendered new or changed file bar/hammock/foo.htm
[inject-scripts] - rendered new or changed file bar/hammock/foo.htm
[highlight] - rendered 2 new or changed files
[ttr] - added TTR to 2 files
[inject-scripts] - rendered 6 new or changed files
[word-count] - rendered 2 new or changed files
[gravatar] - added gravatar to 2 files
[build-date] - added date-build to 2 files
[slug] - Moved 2 files
[permalink] - Moved 2 files
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Mar 01, 2019 6:18:13 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: JBIG2ImageReader not loaded. jbig2 files will be ignored
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
TIFFImageWriter not loaded. tiff files will not be processed
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

Mar 01, 2019 6:18:14 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.
                                       java.lang.Thread.run                  Thread.java:  748
         java.util.concurrent.ThreadPoolExecutor$Worker.run      ThreadPoolExecutor.java:  624
          java.util.concurrent.ThreadPoolExecutor.runWorker      ThreadPoolExecutor.java: 1149
                        java.util.concurrent.FutureTask.run              FutureTask.java:  266
                                                        ...                                   
                        clojure.core/binding-conveyor-fn/fn                     core.clj: 1916
                                          boot.core/boot/fn                     core.clj: 1031
                                        boot.core/run-tasks                     core.clj: 1021
                                      boot.test/fn/fn/fn/fn                     test.clj:   93
                                      boot.test/fn/fn/fn/fn                     test.clj:   81
                                      boot.test/fn/fn/fn/fn                     test.clj:   85
                            io.perun-test/eval3153/fn/fn/fn               perun_test.clj:  483
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                             boot.task.built-in/fn/fn/fn/fn                 built_in.clj:  627
                                  io.perun/eval788/fn/fn/fn                    perun.clj:  614
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                  io.perun/eval862/fn/fn/fn                    perun.clj:  661
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                  io.perun/eval940/fn/fn/fn                    perun.clj:  687
                            io.perun-test/eval2548/fn/fn/fn               perun_test.clj:   40
                                 io.perun/mv-pre-wrap/fn/fn                    perun.clj:  703
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                 io.perun/mv-pre-wrap/fn/fn                    perun.clj:  703
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48 (repeats 2 times)
                                  io.perun/eval237/fn/fn/fn                    perun.clj:  110
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                 io.perun/eval1106/fn/fn/fn                    perun.clj:  798
                            io.perun-test/eval2680/fn/fn/fn               perun_test.clj:   65
                                 io.perun/eval1560/fn/fn/fn                    perun.clj: 1245
                            io.perun-test/eval2680/fn/fn/fn               perun_test.clj:   65
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2680/fn/fn/fn               perun_test.clj:   65
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57 (repeats 3 times)
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142 (repeats 5 times)
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                             boot.task.built-in/fn/fn/fn/fn                 built_in.clj:  627
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57 (repeats 3 times)
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48 (repeats 3 times)
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57 (repeats 3 times)
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48 (repeats 3 times)
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57 (repeats 3 times)
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48 (repeats 3 times)
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142 (repeats 2 times)
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57 (repeats 2 times)
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142 (repeats 2 times)
                                io.perun/content-task/fn/fn                    perun.clj:  239
                             io.perun/content-task/fn/fn/fn                    perun.clj:  239
                                           clojure.core/seq                     core.clj:  137
                                                        ...                                   
                                        clojure.core/map/fn                     core.clj: 2616
                                           clojure.core/seq                     core.clj:  137
                                                        ...                                   
                             io.perun/render-in-pod/iter/fn                    perun.clj:  157
                                          boot.pod/call-in*                      pod.clj:  413
                                                        ...                                   
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  102
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  109
                                                        ...                                   
                                          boot.pod/call-in*                      pod.clj:  410
                                      boot.pod/eval-fn-call                      pod.clj:  359
                                         clojure.core/apply                     core.clj:  630
                                                        ...                                   
                                io.perun.lessc/compile-less                    lessc.clj:   12
                                         clojure.core/apply                     core.clj:  632
                                                        ...                                   
                             boot.from.me.raynes.conch/proc                    conch.clj:   40
                             java.lang.ProcessBuilder.start          ProcessBuilder.java: 1029
                                java.lang.ProcessImpl.start             ProcessImpl.java:  134
                               java.lang.UNIXProcess.<init>             UNIXProcess.java:  247
                          java.lang.UNIXProcess.forkAndExec              UNIXProcess.java     
       java.io.IOException: error=2, No such file or directory
       java.io.IOException: Cannot run program "lessc": error=2, No such file or directory
clojure.lang.ExceptionInfo: Cannot run program "lessc": error=2, No such file or directory
    line: 76
[mime-type] - set `:mime-type` and `:file-type` on 25 files
[sitemap] - generated sitemap and saved to public/sitemap.xml
[rss] - generated RSS feed and saved to public/feed.rss
[atom-feed] - rendered new or changed file public/atom.xml
[yaml-metadata] - rendered 4 new or changed files
[markdown] - rendered 4 new or changed files
[assortment] - rendered new or changed file public/index.html
[collection] - rendered new or changed file public/index.html
[tags] - rendered 3 new or changed files
[paginate] - rendered new or changed file public/page-1.html
[static] - rendered new or changed file public/index.html
[render] - rendered 11 new or changed files
[inject-scripts] - rendered 11 new or changed files
[draft] - removed 1 draft files
                                       java.lang.Thread.run                  Thread.java:  748
         java.util.concurrent.ThreadPoolExecutor$Worker.run      ThreadPoolExecutor.java:  624
          java.util.concurrent.ThreadPoolExecutor.runWorker      ThreadPoolExecutor.java: 1149
                        java.util.concurrent.FutureTask.run              FutureTask.java:  266
                                                        ...                                   
                        clojure.core/binding-conveyor-fn/fn                     core.clj: 1916
                                          boot.core/boot/fn                     core.clj: 1031
                                        boot.core/run-tasks                     core.clj: 1021
                                      boot.test/fn/fn/fn/fn                     test.clj:   93
                                      boot.test/fn/fn/fn/fn                     test.clj:   81
                                      boot.test/fn/fn/fn/fn                     test.clj:   85
                            io.perun-test/eval2997/fn/fn/fn               perun_test.clj:  297
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 2 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 3 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 3 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                                  io.perun/eval788/fn/fn/fn                    perun.clj:  614
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                  io.perun/eval862/fn/fn/fn                    perun.clj:  661
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                  io.perun/eval940/fn/fn/fn                    perun.clj:  687
                            io.perun-test/eval2548/fn/fn/fn               perun_test.clj:   40
                                 io.perun/mv-pre-wrap/fn/fn                    perun.clj:  703
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                 io.perun/mv-pre-wrap/fn/fn                    perun.clj:  703
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48 (repeats 2 times)
                                  io.perun/eval237/fn/fn/fn                    perun.clj:  110
                            io.perun-test/eval2592/fn/fn/fn               perun_test.clj:   48
                                 io.perun/eval1106/fn/fn/fn                    perun.clj:  798
                            io.perun-test/eval2680/fn/fn/fn               perun_test.clj:   65
                                 io.perun/eval1560/fn/fn/fn                    perun.clj: 1245
                            io.perun-test/eval2680/fn/fn/fn               perun_test.clj:   65
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2680/fn/fn/fn               perun_test.clj:   65
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142 (repeats 4 times)
                                io.perun/content-task/fn/fn                    perun.clj:  274 (repeats 3 times)
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57 (repeats 3 times)
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  274
                            io.perun-test/eval2636/fn/fn/fn               perun_test.clj:   57
                                  io.perun/eval902/fn/fn/fn                    perun.clj:  673
                            io.perun-test/eval2680/fn/fn/fn               perun_test.clj:   65
                            io.perun-test/eval2886/fn/fn/fn               perun_test.clj:  142
                                io.perun/content-task/fn/fn                    perun.clj:  239
                             io.perun/content-task/fn/fn/fn                    perun.clj:  239
                                           clojure.core/seq                     core.clj:  137
                                                        ...                                   
                                        clojure.core/map/fn                     core.clj: 2616
                                           clojure.core/seq                     core.clj:  137
                                                        ...                                   
                             io.perun/render-in-pod/iter/fn                    perun.clj:  157
                                          boot.pod/call-in*                      pod.clj:  413
                                                        ...                                   
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  102
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  109
                                                        ...                                   
                                          boot.pod/call-in*                      pod.clj:  410
                                      boot.pod/eval-fn-call                      pod.clj:  359
                                         clojure.core/apply                     core.clj:  630
                                                        ...                                   
                                io.perun.lessc/compile-less                    lessc.clj:   12
                                         clojure.core/apply                     core.clj:  632
                                                        ...                                   
                             boot.from.me.raynes.conch/proc                    conch.clj:   40
                             java.lang.ProcessBuilder.start          ProcessBuilder.java: 1029
                                java.lang.ProcessImpl.start             ProcessImpl.java:  134
                               java.lang.UNIXProcess.<init>             UNIXProcess.java:  247
                          java.lang.UNIXProcess.forkAndExec              UNIXProcess.java     
       java.io.IOException: error=2, No such file or directory
       java.io.IOException: Cannot run program "lessc": error=2, No such file or directory
clojure.lang.ExceptionInfo: Cannot run program "lessc": error=2, No such file or directory
    line: 76
allentiak commented 5 years ago

@eccentric-j, @podviaznikov

I'm still getting errors after installing leesc. (At least, now it seems I don't need any external files any more...)

After debugging the commit tree, it seems that the tests never actually worked(!). The last commit where they fail is 3aaef84. Before that one, I can only get a short lists of errors, related with bootlaces. It seems the tests themselves didn't work with old boot versions...

@bhagany (or @podviaznikov) My real question would be: Did the test actually work before 3aaef84?

I was unable to find the place where the tests actually work via git bisect... All I could find was that, at 3aaef84, they stopped working at all :-)

Even though this looks like a simple case of incorrect invocation, I would need to understand when/if the tests have actually worked in the past to define how to approach the problem...

Below are the errors I get using Java 8 (I won't get into the ones I get when using Java 11, as there are known problems with it...)

(master)
-> % boot -u
Retrieving maven-metadata.xml from https://repo.clojars.org/
#http://boot-clj.com
#Wed Mar 13 04:49:33 ART 2019
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_VERSION=2.8.2
BOOT_CLOJURE_VERSION=1.10.0
[04:49:33] [~/devel/projects/perun] (master)
-> % java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-2-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
[04:49:39] [~/devel/projects/perun] (master)
-> % boot runtests
Classpath conflict: org.clojure/clojure version 1.7.0 already loaded, NOT loading version 1.2.0
Launching 6 parallel tasks...
[global-metadata] - read global metadata from perun.base.edn
                                      java.lang.Thread.run              Thread.java:  748
        java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
         java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                       java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                       ...                               
                       clojure.core/binding-conveyor-fn/fn                 core.clj: 1916
                                         boot.core/boot/fn                 core.clj: 1031
                                       boot.core/run-tasks                 core.clj: 1021
                                     boot.test/fn/fn/fn/fn                 test.clj:   93
                                     boot.test/fn/fn/fn/fn                 test.clj:   81
                                     boot.test/fn/fn/fn/fn                 test.clj:   85
                           io.perun-test/eval2723/fn/fn/fn           perun_test.clj:   79
                                                       ...                               
                               javax.imageio.ImageIO.write             ImageIO.java: 1536
                             javax.imageio.ImageIO.doWrite             ImageIO.java: 1612
                           javax.imageio.ImageWriter.write         ImageWriter.java:  615
        com.sun.imageio.plugins.jpeg.JPEGImageWriter.write     JPEGImageWriter.java:  363
com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread     JPEGImageWriter.java: 1067
   com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage      JPEGImageWriter.java     
javax.imageio.IIOException: Invalid argument to native writeImage
clojure.lang.ExceptionInfo: Invalid argument to native writeImage
    line: 76
                                      java.lang.Thread.run              Thread.java:  748
        java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
         java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                       java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                       ...                               
                       clojure.core/binding-conveyor-fn/fn                 core.clj: 1916
                                         boot.core/boot/fn                 core.clj: 1031
                                       boot.core/run-tasks                 core.clj: 1021
                                     boot.test/fn/fn/fn/fn                 test.clj:   93
                                     boot.test/fn/fn/fn/fn                 test.clj:   81
                                     boot.test/fn/fn/fn/fn                 test.clj:   85
                           io.perun-test/eval2723/fn/fn/fn           perun_test.clj:   79
                                                       ...                               
                               javax.imageio.ImageIO.write             ImageIO.java: 1536
                             javax.imageio.ImageIO.doWrite             ImageIO.java: 1612
                           javax.imageio.ImageWriter.write         ImageWriter.java:  615
        com.sun.imageio.plugins.jpeg.JPEGImageWriter.write     JPEGImageWriter.java:  363
com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread     JPEGImageWriter.java: 1067
   com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage      JPEGImageWriter.java     
javax.imageio.IIOException: Invalid argument to native writeImage
clojure.lang.ExceptionInfo: Invalid argument to native writeImage
    line: 76
[yaml-metadata] - rendered new or changed file 2017-01-01-test.md
[yaml-metadata] - rendered new or changed file test.html
[pandoc] - rendered new or changed file public/2017-01-01-test.html

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:59)
io.perun-test/default-tests
`pandoc` should populate HTML file with parsed content
expected: (f (.contains (slurp (boot/tmp-file (boot/tmp-get fileset path))) content))
  actual: false
[pandoc] - rendered new or changed file test.md

FAIL in clojure.lang.PersistentList$EmptyList@1 (perun_test.clj:59)
io.perun-test/with-arguments-test
`pandoc` should parse HTML to markdown
expected: (f (.contains (slurp (boot/tmp-file (boot/tmp-get fileset path))) content))
  actual: false
[yaml-metadata] - rendered new or changed file 2017-01-01-test.adoc
[collection] - rendered new or changed file public/index.html
[yaml-metadata] - rendered new or changed file test.md
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/test.html
[asciidoctor] - rendered new or changed file public/2017-01-01-test.html
[yaml-metadata] - rendered new or changed file test.md
[asciidoctor] - rendered new or changed file test.html
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file 2017-01-01-test.adoc
[yaml-metadata] - rendered new or changed file test.adoc
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file test.md
[asciidoctor] - rendered new or changed file public/2017-01-01-test.html
[asciidoctor] - rendered new or changed file test.html
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file 2017-01-01-test.md
[yaml-metadata] - rendered new or changed file test.md
[yaml-metadata] - rendered new or changed file test.md
[markdown] - rendered new or changed file public/2017-01-01-test.html
[markdown] - rendered new or changed file hammock/test.html
Sifting output files...
[ttr] - added TTR to 1 files
[markdown] - rendered new or changed file public/test.html
[yaml-metadata] - rendered new or changed file highlight-test.md
[word-count] - rendered new or changed file hammock/test.htm
[gravatar] - added gravatar to 1 files
[build-date] - added date-build to 1 files
[slug] - Moved 1 files
[permalink] - Moved 1 files
[yaml-metadata] - rendered new or changed file test2.md
[markdown] - rendered new or changed file public/highlight-test.html
[mime-type] - set `:mime-type` and `:file-type` on 1 files
[sitemap] - generated sitemap and saved to foo/test.xml
[markdown] - rendered new or changed file public/test2.html
[rss] - generated RSS feed and saved to foo/test.rss
[atom-feed] - rendered new or changed file foo/test-atom.xml
[yaml-metadata] - rendered 5 new or changed files
[highlight] - rendered 2 new or changed files
[markdown] - rendered 5 new or changed files
Sifting output files...
[yaml-metadata] - rendered new or changed file highlight-test.ad
[assortment] - rendered 3 new or changed files
[asciidoctor] - rendered new or changed file public/highlight-test.html
[collection] - rendered new or changed file bar/its-a-collection.html
[tags] - rendered 3 new or changed files
[paginate] - rendered 3 new or changed files
[static] - rendered new or changed file laphroiag/neat.html
[render] - rendered new or changed file bar/hammock/foo.htm
[inject-scripts] - rendered new or changed file bar/hammock/foo.htm
[highlight] - rendered 2 new or changed files
[ttr] - added TTR to 2 files
[inject-scripts] - rendered 6 new or changed files
[word-count] - rendered 2 new or changed files
[gravatar] - added gravatar to 2 files
[build-date] - added date-build to 2 files
[slug] - Moved 2 files
[permalink] - Moved 2 files
[mime-type] - set `:mime-type` and `:file-type` on 25 files
[lessc] - rendered new or changed file foo/test.csss
[sitemap] - generated sitemap and saved to public/sitemap.xml
[rss] - generated RSS feed and saved to public/feed.rss
[atom-feed] - rendered new or changed file public/atom.xml
[yaml-metadata] - rendered 4 new or changed files
[markdown] - rendered 4 new or changed files
[assortment] - rendered new or changed file public/index.html
[collection] - rendered new or changed file public/index.html
[tags] - rendered 3 new or changed files
[paginate] - rendered new or changed file public/page-1.html
[static] - rendered new or changed file public/index.html
[render] - rendered 11 new or changed files
[inject-scripts] - rendered 11 new or changed files
[draft] - removed 1 draft files
[lessc] - rendered new or changed file public/test.css
(master)
allentiak commented 5 years ago

BTW: This is the boot-old-version error I get at 21eea4c, the first commit before 3aaef84 (where the tests fail). It's the same I get at 6596da4 (when the offending test was introduced --and last modified).

 (21eea4c)
-> % boot runtests      
      clojure.lang.ExceptionInfo: clojure/lang/AFunction
    data: {:file "adzerk/bootlaces.clj", :line 30}
  java.lang.NoClassDefFoundError: clojure/lang/AFunction
java.lang.ClassNotFoundException: clojure.lang.AFunction
                     ...                                        
 boot.core/task-options!                          core.clj: 1054
                     ...                                        
    clojure.core/load/fn                          core.clj: 5866
       clojure.core/load                          core.clj: 5865
                     ...                                        
   clojure.core/load-one                          core.clj: 5671
clojure.core/load-lib/fn                          core.clj: 5711
   clojure.core/load-lib                          core.clj: 5710
                     ...                                        
      clojure.core/apply                          core.clj:  632
  clojure.core/load-libs                          core.clj: 5749
                     ...                                        
      clojure.core/apply                          core.clj:  632
    clojure.core/require                          core.clj: 5832
                     ...                                        
      boot.user/eval1740  boot.user6722230523849234573.clj:   23
                     ...                                        
      boot.main/-main/fn                          main.clj:  196
         boot.main/-main                          main.clj:  196
                     ...                                        
        boot.App.runBoot                          App.java:  399
           boot.App.main                          App.java:  488
                     ...                                        
               Boot.main                         Boot.java:  257
allentiak commented 5 years ago

Ping? @eccentric-j @podviaznikov

podviaznikov commented 5 years ago

@allentiak so it works now? Or there is still a problem. If it works, I'm good with the change.

allentiak commented 5 years ago

No, it doesn't work yet... Could you please help me making the tests work? (Please, see messages above.)

allentiak commented 5 years ago

Specifically, this comment: https://github.com/hashobject/perun/pull/224#issuecomment-472328808

bhagany commented 5 years ago

Hi folks, sorry for the radio silence. I have a bit of time to work on this now, so as a preliminary matter, I ran boot runtests on my local repo as it was the last time I touched perun - my local master is here: https://github.com/hashobject/perun/commit/362b3130d84e774fcc19d8ff7d05a3acf14c3e85. The tests pass. I'm going to leave that as-is and do a fresh checkout of perun elsewhere, and continue investigating.

allentiak commented 5 years ago

Hi, Brent,

Thanks for the update! Please, do keep us updated.

--Leandro

On Sun, 21 Apr 2019 at 22:32, Brent Hagany notifications@github.com wrote:

Hi folks, sorry for the radio silence. I have a bit of time to work on this now, so as a preliminary matter, I ran boot runtests on my local repo as it was the last time I touched perun - my local master is here: 362b313 https://github.com/hashobject/perun/commit/362b3130d84e774fcc19d8ff7d05a3acf14c3e85. I'm going to leave that as-is and do a fresh checkout of perun elsewhere, and continue investigating.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hashobject/perun/pull/224#issuecomment-485299198, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOVJ6PD5UGGQUSOY35HENTPRUITTANCNFSM4GWRJJRA .

bhagany commented 5 years ago

Interesting, the tests also pass on my machine on a fresh checkout of master (here, for future reference: https://github.com/hashobject/perun/commit/52df37cdfda6d181b0c6982a3bf59dd6da50dff1)

bhagany commented 5 years ago

Running on this branch, I do get a few warnings that look like:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Apr 21, 2019 9:16:23 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: JBIG2ImageReader not loaded. jbig2 files will be ignored
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
TIFFImageWriter not loaded. tiff files will not be processed
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

Apr 21, 2019 9:16:23 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.

Still not getting the errors you're seeing though. I have also updated boot to the latest, though perun pins the version to 2.7.2. The only other big difference I see between your environment and mine is this:

java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

I'm going to try switching to openjdk and see if that changes anything.

bhagany commented 5 years ago

Okay, it looks like that's it. I installed this:

⪫λ java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)

and now I'm seeing many of the same errors you are. I'm going to dig a bit more, but this probably exceeds my abilities to fix this evening. For what it's worth, the first error I found is due to the fact that openjdk doesn't have a native JPEG encoder. Googling has yielded a bunch of people saying "use oracle's jdk" which isn't really a satisfying answer.

allentiak commented 5 years ago

On Sun, 21 Apr 2019 at 23:40, Brent Hagany notifications@github.com wrote:

For what it's worth, the first error I found is due to the fact that openjdk doesn't have a native JPEG encoder. Googling has yielded a bunch of people saying "use oracle's jdk" which isn't really a satisfying answer.

Interesting. I found this: https://blog.sixthpoint.com/bufferedimage-jpeg-transparency-using-openjdk/

bhagany commented 5 years ago

I think I've got it... I'll submit a PR to your branch

bhagany commented 5 years ago

Actually, it's even simpler than I thought. Do this:

diff --git a/test/io/perun_test.clj b/test/io/perun_test.clj
index 684f945..34de8e1 100644
--- a/test/io/perun_test.clj
+++ b/test/io/perun_test.clj
@@ -73,7 +73,7 @@
    g height HEIGHT int "height of the image"]
   (boot/with-pre-wrap fileset
     (let [tmp (boot/tmp-dir!)
-          buffered-image (BufferedImage. width height BufferedImage/TYPE_INT_ARGB)
+          buffered-image (BufferedImage. width height BufferedImage/TYPE_INT_RGB)
           file (io/file tmp path)]
       (io/make-parents file)
       (ImageIO/write buffered-image type file)
bhagany commented 5 years ago

That link you posted was instrumental :) thanks

allentiak commented 5 years ago

Thanks a lot, Brent!

I'll do it during today, and let you know.

Best, Leandro

allentiak commented 5 years ago

Thanks again, Brent!

Check ab22bc292f06e5a8d99f854c4065068b5671f291

bhagany commented 5 years ago

Nice! Glad I could help. On Apr 22, 2019, 5:13 PM -0400, Leandro Doctors notifications@github.com, wrote:

Thanks again, Brent!

Check ab22bc292f06e5a8d99f854c4065068b5671f291 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

allentiak commented 5 years ago

@eccentric-j Even though I am not done here yet, I could merge this one as it stands now, unblock #227 and continue from there. What do you think?

allentiak commented 5 years ago

Additionally, #227 would make things easier here...

jaidetree commented 5 years ago

Do you want to merge #227 into this then?

allentiak commented 5 years ago

I hadn't thought about it. Sounds good to me :-)

On Mon, 6 May 2019, 14:17 Jay, notifications@github.com wrote:

Do you want to merge #227 https://github.com/hashobject/perun/issues/227 into this then?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hashobject/perun/pull/224#issuecomment-489700301, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOVJ6L6HT4NEEXYP774RSTPUBR23ANCNFSM4GWRJJRA .

allentiak commented 5 years ago

Is #227 only lacking the sitemap dependency? If so, I think it's better if you review this, and merge it. It will be much easier for me to work on a new PR once #227 is also merged.

jaidetree commented 5 years ago

I'm having a bit of trouble following here.

So I need to finish #227 so it can be merged into master so you can make another branch and pull request from it with #227 merged in?

allentiak commented 5 years ago

No, just review this one (#224) as-is. If you think it's OK, you can merge it. Then, you can pull-rebase your branch and continue working on #227. (I know there are some dependencies that have not been bumped yet by this PR, but that's OK: I can always open a new PR for them :-)

On Mon, 6 May 2019 at 16:58, Jay notifications@github.com wrote:

I'm having a bit of trouble following here.

So I need to finish #227 https://github.com/hashobject/perun/issues/227 so it can be merged into master so you can make another branch and pull request from it with #227 https://github.com/hashobject/perun/issues/227 merged in?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hashobject/perun/pull/224#issuecomment-489754597, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOVJ6M4WQWCU7ZBC26JV4TPUCEX5ANCNFSM4GWRJJRA .

allentiak commented 5 years ago

@podviaznikov @eccentric-j I haven't had a reply about this for a week now, and I intend to keep on working on other features. Could anyone please review this? Otherwise, I will have no choice but to merge it as-is...

jaidetree commented 5 years ago

Sorry @allentiak, I should have mentioned I have family visiting last week and wouldn't have time to look at the PR. Anyway, I've got more free time the next two weeks so I will be more responsive.