Skip to content

Instantly share code, notes, and snippets.

@borkdude
Created Oct 18, 2018
Embed
What would you like to do?
foo.clj
boot-bundle found bundle file: /Users/Borkdude/dre/DocSearch/app/../bundle.edn
Retrieving maven-metadata.xml from s3p://rotocode.dre/repo/
Retrieving maven-metadata.xml from s3p://rotocode.dre/repo/
Retrieving maven-metadata.xml from s3p://rotocode.dre/repo/
Retrieving maven-metadata.xml from s3p://rotocode.dre/repo/
Retrieving maven-metadata.xml from s3p://rotocode.dre/repo/
Retrieving maven-metadata.xml from s3p://rotocode.dre/repo/
18-10-18 18:30:04 borkdude.local INFO [dre.layout:18] - The fingerprint for this application run is 17180949f45a
Retrieving maven-metadata.xml from s3p://rotocode.dre/repo/
Retrieving maven-metadata.xml from s3p://rotocode.dre/repo/
Starting reload server on ws://localhost:63843
Writing boot_cljs_repl.cljs...
Sifting output files...
Sifting output files...
18-10-18 18:30:34 borkdude.local WARN [dre.standalone:70] - DEVELOPMENT MODE
18-10-18 18:30:34 borkdude.local INFO [dre.standalone:81] - Starting system components
[2018-10-18T20:30:35,035][INFO ][c.z.h.HikariDataSource ] HikariPool-1 - Starting...
[2018-10-18T20:30:35,184][INFO ][c.z.h.HikariDataSource ] HikariPool-1 - Start completed.
18-10-18 18:30:35 borkdude.local INFO [dre.system:266] - Starting cache component
18-10-18 18:30:35 borkdude.local DEBUG [dre.events:39] - starting events system
18-10-18 18:30:35 borkdude.local INFO [dre.app.redis:98] - Flushing Redis cache
18-10-18 18:30:35 borkdude.local INFO [dre.signals.core:271] - Starting signals component
18-10-18 18:30:35 borkdude.local INFO [dre.system:273] - Stopping cache component
[2018-10-18T20:30:35,609][INFO ][c.z.h.HikariDataSource ] HikariPool-1 - Shutdown initiated...
[2018-10-18T20:30:35,618][INFO ][c.z.h.HikariDataSource ] HikariPool-1 - Shutdown completed.
java.lang.Thread.run  Thread.java: 745
java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java: 617
java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java: 1142
java.util.concurrent.FutureTask.run  FutureTask.java: 266
...  
clojure.core/binding-conveyor-fn/fn  core.clj: 2022
boot.core/boot/fn  core.clj: 1032
boot.core/run-tasks  core.clj: 1022
boot.task.built-in/fn/fn/fn/fn  built_in.clj: 636 (repeats 2 times)
boot.user$eval64577$fn__64578$fn__64587$fn__64588.invoke  : 287
...  
clojure.core/with-bindings*  core.clj: 1965 (repeats 2 times)
clojure.core/apply  core.clj: 657
...  
boot.user$eval64577$fn__64578$fn__64587$fn__64588$fn__64589.invoke  : 288
dre.standalone/start-system!  standalone.clj: 113
dre.standalone/start-system!  standalone.clj: 115
dre.standalone/start-system*  standalone.clj: 82
dre.service/hard-reset  service.clj: 85
dre.service/hard-reset/fn  service.clj: 85
reloaded.repl/go  repl.clj: 48
reloaded.repl/start  repl.clj: 39
...  
clojure.core/alter-var-root  core.clj: 5497
clojure.core/alter-var-root  core.clj: 5502
...  
reloaded.repl/start/fn  repl.clj: 39
reloaded.repl/try-start-system  repl.clj: 28
com.stuartsierra.component/eval14998/fn/G  component.cljc: 5 (repeats 2 times)
com.stuartsierra.component.SystemMap/start  component.cljc: 178
com.stuartsierra.component/start-system  component.cljc: 161
com.stuartsierra.component/start-system  component.cljc: 163
...  
com.stuartsierra.component/update-system  component.cljc: 129
com.stuartsierra.component/update-system  component.cljc: 135
clojure.core/reduce  core.clj: 6799
...  
com.stuartsierra.component/update-system/fn  component.cljc: 139
com.stuartsierra.component/try-action  component.cljc: 117
clojure.core/apply  core.clj: 659
...  
com.stuartsierra.component/eval14998/fn/G  component.cljc: 5 (repeats 2 times)
dre.signals.core.SignalsComponent/start  core.clj: 275
clojure.spec.alpha/assert*  alpha.clj: 1966
clojure.lang.ExceptionInfo: Spec assertion failed
-- Spec failed --------------------
(:dre.app.cache/cache :dre.app.rabbitmq/rabbitmq :dre.app.auth/auth :dre.app.redis/redis :dre.app.signals/signals)
should contain keys: :dre.app.database/db
| key | spec |
|----------------------+----------------------|
| :dre.app.database/db | :dre.app.database/db |
-- Relevant specs -------
:dre.annotator/system:
(clojure.spec.alpha/keys
:req
[:dre.app.redis/redis
:dre.app.database/db
:dre.app.rabbitmq/rabbitmq
:dre.app.cache/cache])
:dre.author.disambiguate/system:
(clojure.spec.alpha/keys
:req
[:dre.app.cache/cache :dre.app.database/db])
:dre.dict/system:
(clojure.spec.alpha/keys
:req
[:dre.app.cache/cache :dre.app.database/db :dre.app.rabbitmq/rabbitmq])
:dre.article.search/system:
(clojure.spec.alpha/merge
:dre.dict/system
:dre.author.disambiguate/system
:dre.annotator/system
(clojure.spec.alpha/keys
:req
[:dre.app.database/db :dre.app.cache/cache]))
:dre.analytics.distribution/system:
(clojure.spec.alpha/merge
:dre.article.search/system
(clojure.spec.alpha/keys
:req
[:dre.app.database/db :dre.app.cache/cache]))
:dre.signals.core/system:
(clojure.spec.alpha/merge
:dre.analytics.distribution/system
:dre.article.search/system
(clojure.spec.alpha/keys
:req
[:dre.app.database/db
:dre.app.redis/redis
:dre.app.auth/auth
:dre.app.signals/signals]))
-------------------------
Detected 1 error

clojure.spec.alpha/failure: :assertion-failed
clojure.spec.alpha/problems: ({:path [],
:pred
(clojure.core/fn
[%]
(clojure.core/contains? % :dre.app.database/db)),
:val
{:dre.app.cache/cache
{:result-cache
#object[com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache 0x523122d9 "com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache@523122d9"],
:count-cache
#object[com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache 0x13c900b0 "com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache@13c900b0"],
:label-cache
#object[com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache 0x5b7518c8 "com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache@5b7518c8"],
:guid-cache
#object[com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache 0x4af0c95a "com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache@4af0c95a"],
:subj-cache
#object[com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache 0x6bee94e2 "com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache@6bee94e2"],
:result-cache-size 2000,
:count-cache-size 100000,
:label-cache-size 100000,
:guid-cache-size 100000,
:subj-cache-size 100000},
:dre.app.rabbitmq/rabbitmq
{:connection
#object[com.novemberain.langohr.Connection 0x3a72b7f "amqp://guest@127.0.0.1:5672/"],
:dict-rpc
{:dre.rabbitmq/qname "dict-rpc",
:dre.rabbitmq/content-type "text/json+zlib",
:dre.rabbitmq/channel
#object[com.rabbitmq.client.impl.recovery.AutorecoveringChannel 0x5ed5953 "com.rabbitmq.client.impl.recovery.AutorecoveringChannel@5ed5953"],
:dre.rabbitmq/pending-map {},
:dre.rabbitmq/response-channel
#object[com.rabbitmq.client.impl.recovery.AutorecoveringChannel 0x7bcf8125 "com.rabbitmq.client.impl.recovery.AutorecoveringChannel@7bcf8125"],
:dre.rabbitmq/cbq-ref
#<Atom@157d3bf: "amq.gen-Sm4z7rWr_OSCl8W1fFO8-Q">},
:annotator-batch
{:dre.rabbitmq/pending-map {},
:dre.rabbitmq/response
{:dre.rabbitmq/exname "annotations",
:dre.rabbitmq/routing-key "app",
:dre.rabbitmq/channel
#object[com.rabbitmq.client.impl.recovery.AutorecoveringChannel 0x4e288cb6 "com.rabbitmq.client.impl.recovery.AutorecoveringChannel@4e288cb6"]},
:dre.rabbitmq/request
{:dre.rabbitmq/qname "annotator",
:dre.rabbitmq/content-type "text/json+zlib",
:dre.rabbitmq/channel
#object[com.rabbitmq.client.impl.recovery.AutorecoveringChannel 0x16f136be "com.rabbitmq.client.impl.recovery.AutorecoveringChannel@16f136be"]}},
:connection-cfg
{:dre.rabbitmq/host "127.0.0.1",
:dre.rabbitmq/port 5672,
:dre.rabbitmq/vhost "/",
:dre.rabbitmq/username "guest",
:dre.rabbitmq/password "guest"},
:dict-rpc-cfg
{:dre.rabbitmq/qname "dict-rpc",
:dre.rabbitmq/content-type "text/json+zlib"},
:annotator-request-cfg
{:dre.rabbitmq/qname "annotator",
:dre.rabbitmq/content-type "text/json+zlib"},
:annotator-response-cfg
{:dre.rabbitmq/exname "annotations",
:dre.rabbitmq/routing-key "app"}},
... 2000 lines omitted ...
clojure.lang.ExceptionInfo: Error in component :signals in system com.stuartsierra.component.SystemMap calling #'com.stuartsierra.component/start
function: #'com.stuartsierra.component/start
reason: :com.stuartsierra.component/component-function-threw-exception
system-key: :signals
clojure.lang.ExceptionInfo: Error in component :signals in system com.stuartsierra.component.SystemMap calling #'com.stuartsierra.component/start
function: #'com.stuartsierra.component/start
line: 353
reason: :com.stuartsierra.component/component-function-threw-exception
system-key: :signals
18-10-18 18:30:36 borkdude.local WARN [dre.standalone:140] - Stopping the system components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment