Bug 1068867 - Please provide package for puppetdb
Summary: Please provide package for puppetdb
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: puppet
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: James (purpleidea)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1084668
Blocks: 1075766 1099559
TreeView+ depends on / blocked
 
Reported: 2014-02-22 17:30 UTC by John Florian
Modified: 2016-12-20 12:45 UTC (History)
24 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-20 12:45:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
pom.xml for puppetdb 2.2.2 (12.77 KB, application/xml)
2014-11-24 07:52 UTC, Jason Montleon
no flags Details
pom.xml for puppetdb 2.2.2 (12.80 KB, application/xml)
2014-11-24 20:19 UTC, Jason Montleon
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1151348 1 None None None 2023-09-14 23:57:54 UTC

Internal Links: 1151348

Description John Florian 2014-02-22 17:30:47 UTC
Description of problem:
puppetdb is becoming increasingly popular and is quickly becoming the recommended way to use storeconfigs[1].  Fedora would benefit from having a puppetdb package to compliment the extant puppet-server.


Additional info:
[1] http://puppetlabs.com/blog/introducing-puppetdb-put-your-data-to-work

Comment 1 Sam Kottler 2014-02-22 19:03:55 UTC
Packaging PuppetDB in a way that meets Fedora's guidelines for Java is almost impossible right now. It's distributed as a megajar and switching to BFS and removing the bundled libraries would be a huge amount of time and effort.

Comment 2 John Florian 2014-02-22 21:36:28 UTC
Okay, I understand.  Thanks for the rationale, at least.

Comment 3 Alan Pevec 2014-03-20 11:20:12 UTC
(In reply to Sam Kottler from comment #1)
> Packaging PuppetDB in a way that meets Fedora's guidelines for Java is
> almost impossible right now. It's distributed as a megajar and switching to
> BFS and removing the bundled libraries would be a huge amount of time and
> effort.

Interesting how opensuse "solved" BFS:
https://build.opensuse.org/package/view_file/systemsmanagement:puppet/puppetdb/puppetdb.changes?expand=1
...
- Build puppetdb from source, no more binary blobs
  * lein script and java dependencies found in
    offline-build-deps.tgz 

offline-build-deps.tgz 	32MB full of binaries...

Comment 4 Sam Kottler 2014-03-20 16:08:41 UTC
> Interesting how opensuse "solved" BFS:

'Interesting' is certainly one way to describe it ;-)

I don't think that would make it past the java-sig folks, but I would love to be proven wrong.

Comment 5 James (purpleidea) 2014-04-04 14:49:23 UTC
I did some research, hopefully this will help:

 18:32 < purpleidea> Hi, is PuppetDB 100% open source, and compile-able with
                    100% open source tools? (For GNU/Linux)
18:33 < rsenior> purpleidea: yes, you can compile it with openjdk
18:33 < grim_radical> https://github.com/puppetlabs/puppetdb/blob/master/LICENS
E.txt
18:33 < purpleidea> rsenior: are there some instructions or a hacking guide to
                    puppetdb ?
18:33 < grim_radical> hmm, a hacking guide would be a good idea. :)
18:33 < purpleidea> grim_radical: much appreciated... i thought so, but i
                    heard it was hard to compile, so I came here to get the
                    straight answer...
18:34 < purpleidea> (or maybe it's easy to compile, but hard to get all the
                    tools on a GNU/Linux box)
18:34 < grim_radical> purpleidea: you need openjdk + leiningen
                      (http://leiningen.org/)
18:34 < grim_radical> purpleidea: err, leiningen 2.x that is (some distros
                      have the older version)
18:35 < rsenior> purpleidea: yes, download leiningen from the source, don't
                 use the package
18:35 < grim_radical> purpleidea: then just clone the repo, cd into it, and
                      run "lein deps && lein test"
18:36 < rsenior> grim_radical: get with the times :-) don't need the lein deps
                 anymore
18:36 < grim_radical> rsenior: ah right, guess lein test will just
                      auto-trigger that. :)
18:37 < grim_radical> purpleidea: fyi, master will only run with openjdk 7+

So I'd like to get this re-opened please, as this is sorely needed in Fedora and downstream. Alternatively, if there is a different DB solution that is supported in Fedora, let me know :)

Comment 6 Sam Kottler 2014-04-05 05:54:44 UTC
> So I'd like to get this re-opened please, as this is sorely needed in Fedora
> and downstream. Alternatively, if there is a different DB solution that is
> supported in Fedora, let me know :)

If you want to package the dozens of java dependencies, monkey patch their loader, and generally deal with the annoyances of the way they distribute puppetdb, then feel free. We can't just run 'lein deps' because of rules around vendoring dependencies. Perhaps we can get an exception in this case, but it seems unlikely since this is really just an issue of an upstream not really thinking much about the distro's needs.

Comment 7 Sam Kottler 2014-04-05 06:10:11 UTC
purpleidea has volunteered to start working on this so I'm reopening it and assigning it to him.

Comment 8 James (purpleidea) 2014-04-05 06:18:55 UTC
Right, so I'm volunteering to be assignee for now, if only to keep this open and to get people working on it. I'll try to do a bit of hacking to determine what's missing, but this is really not my area of expertise, so if someone wants to take over please do, and feel free to charge my manager with the cost of a case of beverages.

Hack on!

Comment 9 James (purpleidea) 2014-04-05 07:12:58 UTC
Here are some more docs about how to do this:

https://github.com/puppetlabs/puppetdb/blob/master/documentation/install_from_source.markdown

Comment 10 James (purpleidea) 2014-04-05 07:13:33 UTC
Here is what I did so far:

# HACKING

james@computer:~$ cd tmp/puppetdb/
james@computer:~/tmp/puppetdb$ git clone https://github.com/puppetlabs/puppetdb/
james@computer:~/tmp/puppetdb$ ls
puppetdb/
james@computer:~/tmp/puppetdb$ wget https://raw.github.com/technomancy/leiningen/stable/bin/lein
--2014-04-05 02:57:39--  https://raw.github.com/technomancy/leiningen/stable/bin/lein
Resolving raw.github.com (raw.github.com)... 199.27.76.133
Connecting to raw.github.com (raw.github.com)|199.27.76.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11440 (11K) [text/plain]
Saving to: ‘lein’

100%[======================================>] 11,440      --.-K/s   in 0.01s   

2014-04-05 02:57:40 (1.01 MB/s) - ‘lein’ saved [11440/11440]

james@computer:~/tmp/puppetdb$ chmod u+x lein 
james@computer:~/tmp/puppetdb$ ./lein 
which: no lein in (/home/james/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/james/bin)
Downloading Leiningen to /home/james/.lein/self-installs/leiningen-2.3.4-standalone.jar now...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13.0M  100 13.0M    0     0   458k      0  0:00:29  0:00:29 --:--:--  484k
Retrieving org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.pom from central
Retrieving org/clojure/pom.contrib/0.1.2/pom.contrib-0.1.2.pom from central
Retrieving org/sonatype/oss/oss-parent/7/oss-parent-7.pom from central
Retrieving clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.pom from clojars
Retrieving org/clojure/tools.nrepl/0.2.3/tools.nrepl-0.2.3.jar from central
Retrieving clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.jar from clojars
Leiningen is a tool for working with Clojure projects.

Several tasks are available:
check               Check syntax and warn on reflection.
classpath           Write the classpath of the current project to output-file.
clean               Remove all files from paths in project's clean-targets.
compile             Compile Clojure source into .class files.
deploy              Deploy jar and pom to remote repository.
deps                Show details about dependencies.
do                  Higher-order task to perform other tasks in succession.
help                Display a list of tasks or help for a given task or subtask.
install             Install current project to the local repository.
jar                 Package up all the project's files into a jar file.
javac               Compile Java source files.
new                 Generate scaffolding for a new project based on a template.

james@computer:~/tmp/puppetdb$ cd puppetdb/
james@computer:~/tmp/puppetdb/puppetdb$ ./../lein deps
Retrieving org/clojure/clojure/1.6.0/clojure-1.6.0.pom from central
Retrieving cheshire/cheshire/5.2.0/cheshire-5.2.0.pom from clojars
Retrieving com/fasterxml/jackson/core/jackson-core/2.2.1/jackson-core-2.2.1.pom from central
Retrieving com/fasterxml/oss-parent/10/oss-parent-10.pom from central
Retrieving com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.2.1/jackson-dataformat-smile-2.2.1.pom from central
Retrieving tigris/tigris/0.1.1/tigris-0.1.1.pom from clojars
Retrieving org/clojure/clojure/1.5.1/clojure-1.5.1.pom from central
Retrieving org/sonatype/oss/oss-parent/5/oss-parent-5.pom from central
Retrieving org/clojure/core.match/0.2.0-rc5/core.match-0.2.0-rc5.pom from central
Retrieving org/clojure/core.logic/0.6.5/core.logic-0.6.5.pom from central
Retrieving org/clojure/pom.contrib/0.0.25/pom.contrib-0.0.25.pom from central
Retrieving org/clojure/clojure/1.3.0/clojure-1.3.0.pom from central
Retrieving org/clojure/clojure/1.4.0/clojure-1.4.0.pom from central
Retrieving org/clojure/math.combinatorics/0.0.4/math.combinatorics-0.0.4.pom from central
Retrieving org/clojure/tools.logging/0.2.6/tools.logging-0.2.6.pom from central
Retrieving puppetlabs/tools.namespace/0.2.4.1/tools.namespace-0.2.4.1.pom from clojars
Retrieving vimclojure/server/2.3.6/server-2.3.6.pom from clojars
Retrieving clj-stacktrace/clj-stacktrace/0.2.6/clj-stacktrace-0.2.6.pom from clojars
Retrieving metrics-clojure/metrics-clojure/0.7.0/metrics-clojure-0.7.0.pom from clojars
Retrieving com/yammer/metrics/metrics-core/2.0.1/metrics-core-2.0.1.pom from central
Retrieving com/yammer/metrics/metrics-parent/2.0.1/metrics-parent-2.0.1.pom from central
Retrieving clj-time/clj-time/0.5.1/clj-time-0.5.1.pom from clojars
Retrieving joda-time/joda-time/2.2/joda-time-2.2.pom from central
Retrieving org/clojure/java.jmx/0.2.0/java.jmx-0.2.0.pom from central
Retrieving org/clojure/pom.contrib/0.0.23/pom.contrib-0.0.23.pom from central
Retrieving org/clojure/clojure/1.3.0-beta1/clojure-1.3.0-beta1.pom from central
Retrieving fs/fs/1.1.2/fs-1.1.2.pom from clojars
Retrieving org/apache/commons/commons-compress/1.3/commons-compress-1.3.pom from central
Retrieving org/apache/commons/commons-parent/22/commons-parent-22.pom from central
Retrieving org/apache/apache/9/apache-9.pom from central
Retrieving trptcolin/versioneer/0.1.0/versioneer-0.1.0.pom from clojars
Retrieving overtone/at-at/1.2.0/at-at-1.2.0.pom from clojars
Retrieving slingshot/slingshot/0.10.3/slingshot-0.10.3.pom from clojars
Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.pom from central
Retrieving com/jolbox/bonecp/0.7.1.RELEASE/bonecp-0.7.1.RELEASE.pom from central
Retrieving com/jolbox/bonecp-parent/0.7.1.RELEASE/bonecp-parent-0.7.1.RELEASE.pom from central
Retrieving com/google/guava/guava/r08/guava-r08.pom from central
Retrieving com/google/google/5/google-5.pom from central
Retrieving org/clojure/java.jdbc/0.1.1/java.jdbc-0.1.1.pom from central
Retrieving org/hsqldb/hsqldb/2.2.8/hsqldb-2.2.8.pom from central
Retrieving org/postgresql/postgresql/9.2-1003-jdbc4/postgresql-9.2-1003-jdbc4.pom from central
Retrieving clojureql/clojureql/1.0.3/clojureql-1.0.3.pom from clojars
Retrieving org/clojure/core.incubator/0.1.0/core.incubator-0.1.0.pom from central
Retrieving org/clojure/pom.contrib/0.0.20/pom.contrib-0.0.20.pom from central
Retrieving org/clojure/clojure/1.3.0-alpha5/clojure-1.3.0-alpha5.pom from central
Retrieving org/clojure/contrib/mock/1.3.0-alpha4/mock-1.3.0-alpha4.pom from clojure-releases
Retrieving org/clojure/contrib/parent/1.3.0-alpha4/parent-1.3.0-alpha4.pom from clojure-releases
Retrieving org/clojure/contrib/def/1.3.0-alpha4/def-1.3.0-alpha4.pom from clojure-releases
Retrieving org/clojure/clojure/1.3.0-alpha4/clojure-1.3.0-alpha4.pom from clojure-releases
Retrieving org/clojure/contrib/seq/1.3.0-alpha4/seq-1.3.0-alpha4.pom from clojure-releases
Retrieving org/clojure/contrib/ns-utils/1.3.0-alpha4/ns-utils-1.3.0-alpha4.pom from clojure-releases
Retrieving org/clojure/contrib/except/1.3.0-alpha4/except-1.3.0-alpha4.pom from clojure-releases
Retrieving clamq/clamq-activemq/0.4/clamq-activemq-0.4.pom from clojars
Retrieving clamq/clamq-jms/0.4/clamq-jms-0.4.pom from clojars
Retrieving clamq/clamq-core/0.4/clamq-core-0.4.pom from clojars
Retrieving org/springframework/spring-context/3.0.5.RELEASE/spring-context-3.0.5.RELEASE.pom from central
Retrieving org/springframework/spring-parent/3.0.5.RELEASE/spring-parent-3.0.5.RELEASE.pom from central
Retrieving org/springframework/spring-aop/3.0.5.RELEASE/spring-aop-3.0.5.RELEASE.pom from central
Retrieving aopalliance/aopalliance/1.0/aopalliance-1.0.pom from central
Retrieving org/springframework/spring-asm/3.0.5.RELEASE/spring-asm-3.0.5.RELEASE.pom from central
Retrieving org/springframework/spring-beans/3.0.5.RELEASE/spring-beans-3.0.5.RELEASE.pom from central
Retrieving org/springframework/spring-core/3.0.5.RELEASE/spring-core-3.0.5.RELEASE.pom from central
Retrieving commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom from central
Retrieving org/apache/commons/commons-parent/5/commons-parent-5.pom from central
Retrieving org/apache/apache/4/apache-4.pom from central
Retrieving org/springframework/spring-expression/3.0.5.RELEASE/spring-expression-3.0.5.RELEASE.pom from central
Retrieving org/springframework/spring-jms/3.0.5.RELEASE/spring-jms-3.0.5.RELEASE.pom from central
Retrieving org/springframework/spring-tx/3.0.5.RELEASE/spring-tx-3.0.5.RELEASE.pom from central
Retrieving org/apache/activemq/activemq-core/5.5.0/activemq-core-5.5.0.pom from central
Retrieving org/apache/activemq/activemq-parent/5.5.0/activemq-parent-5.5.0.pom from central
Retrieving org/apache/apache/7/apache-7.pom from central
Retrieving org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.pom from central
Retrieving org/apache/geronimo/specs/specs/1.4/specs-1.4.pom from central
Retrieving org/apache/geronimo/genesis/config/project-config/1.2/project-config-1.2.pom from central
Retrieving org/apache/geronimo/genesis/config/config/1.2/config-1.2.pom from central
Retrieving org/apache/geronimo/genesis/genesis/1.2/genesis-1.2.pom from central
Retrieving org/apache/apache/3/apache-3.pom from central
Retrieving org/apache/activemq/activeio-core/3.1.2/activeio-core-3.1.2.pom from central
Retrieving org/apache/activemq/activeio-parent/3.1.2/activeio-parent-3.1.2.pom from central
Retrieving org/apache/apache/6/apache-6.pom from central
Retrieving org/apache/geronimo/specs/geronimo-j2ee-management_1.1_spec/1.0.1/geronimo-j2ee-management_1.1_spec-1.0.1.pom from central
Retrieving commons-logging/commons-logging/1.1/commons-logging-1.1.pom from central
Retrieving log4j/log4j/1.2.12/log4j-1.2.12.pom from central
Retrieving logkit/logkit/1.0.1/logkit-1.0.1.pom from central
Retrieving avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom from central
Retrieving javax/servlet/servlet-api/2.3/servlet-api-2.3.pom from central
Retrieving org/apache/activemq/kahadb/5.5.0/kahadb-5.5.0.pom from central
Retrieving org/apache/activemq/protobuf/activemq-protobuf/1.1/activemq-protobuf-1.1.pom from central
Retrieving org/apache/activemq/protobuf/activemq-protobuf-pom/1.1/activemq-protobuf-pom-1.1.pom from central
Retrieving org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.pom from central
Retrieving org/springframework/spring-context/3.0.3.RELEASE/spring-context-3.0.3.RELEASE.pom from central
Retrieving org/springframework/spring-parent/3.0.3.RELEASE/spring-parent-3.0.3.RELEASE.pom from central
Retrieving org/springframework/spring-aop/3.0.3.RELEASE/spring-aop-3.0.3.RELEASE.pom from central
Retrieving org/springframework/spring-asm/3.0.3.RELEASE/spring-asm-3.0.3.RELEASE.pom from central
Retrieving org/springframework/spring-beans/3.0.3.RELEASE/spring-beans-3.0.3.RELEASE.pom from central
Retrieving org/springframework/spring-core/3.0.3.RELEASE/spring-core-3.0.3.RELEASE.pom from central
Retrieving org/springframework/spring-expression/3.0.3.RELEASE/spring-expression-3.0.3.RELEASE.pom from central
Retrieving commons-net/commons-net/2.0/commons-net-2.0.pom from central
Retrieving org/apache/commons/commons-parent/11/commons-parent-11.pom from central
Retrieving org/jasypt/jasypt/1.7/jasypt-1.7.pom from central
Retrieving org/apache/activemq/activemq-core/5.6.0/activemq-core-5.6.0.pom from central
Retrieving org/apache/activemq/activemq-parent/5.6.0/activemq-parent-5.6.0.pom from central
Retrieving org/apache/activemq/kahadb/5.6.0/kahadb-5.6.0.pom from central
Retrieving org/fusesource/mqtt-client/mqtt-client/1.0/mqtt-client-1.0.pom from central
Retrieving org/fusesource/mqtt-client/mqtt-client-project/1.0/mqtt-client-project-1.0.pom from central
Retrieving org/fusesource/fusesource-pom/1.9/fusesource-pom-1.9.pom from central
Retrieving org/fusesource/hawtdispatch/hawtdispatch-transport/1.9/hawtdispatch-transport-1.9.pom from central
Retrieving org/fusesource/hawtdispatch/hawtdispatch-project/1.9/hawtdispatch-project-1.9.pom from central
Retrieving org/fusesource/hawtdispatch/hawtdispatch/1.9/hawtdispatch-1.9.pom from central
Retrieving org/fusesource/hawtbuf/hawtbuf/1.9/hawtbuf-1.9.pom from central
Retrieving org/fusesource/hawtbuf/hawtbuf-project/1.9/hawtbuf-project-1.9.pom from central
Retrieving org/springframework/spring-context/3.0.6.RELEASE/spring-context-3.0.6.RELEASE.pom from central
Retrieving org/springframework/spring-parent/3.0.6.RELEASE/spring-parent-3.0.6.RELEASE.pom from central
Retrieving org/springframework/spring-aop/3.0.6.RELEASE/spring-aop-3.0.6.RELEASE.pom from central
Retrieving org/springframework/spring-asm/3.0.6.RELEASE/spring-asm-3.0.6.RELEASE.pom from central
Retrieving org/springframework/spring-beans/3.0.6.RELEASE/spring-beans-3.0.6.RELEASE.pom from central
Retrieving org/springframework/spring-core/3.0.6.RELEASE/spring-core-3.0.6.RELEASE.pom from central
Retrieving org/springframework/spring-expression/3.0.6.RELEASE/spring-expression-3.0.6.RELEASE.pom from central
Retrieving commons-net/commons-net/2.2/commons-net-2.2.pom from central
Retrieving org/apache/commons/commons-parent/17/commons-parent-17.pom from central
Retrieving org/jasypt/jasypt/1.8/jasypt-1.8.pom from central
Retrieving org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5.pom from central
Retrieving org/slf4j/slf4j-parent/1.7.5/slf4j-parent-1.7.5.pom from central
Retrieving org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.pom from central
Retrieving net/cgrand/moustache/1.1.0/moustache-1.1.0.pom from clojars
Retrieving clj-http/clj-http/0.5.3/clj-http-0.5.3.pom from clojars
Retrieving org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.pom from central
Retrieving org/apache/httpcomponents/httpcomponents-client/4.2.1/httpcomponents-client-4.2.1.pom from central
Retrieving org/apache/httpcomponents/project/6/project-6.pom from central
Retrieving org/apache/httpcomponents/httpcore/4.2.1/httpcore-4.2.1.pom from central
Retrieving org/apache/httpcomponents/httpcomponents-core/4.2.1/httpcomponents-core-4.2.1.pom from central
Retrieving commons-codec/commons-codec/1.6/commons-codec-1.6.pom from central
Retrieving org/apache/httpcomponents/httpmime/4.2.1/httpmime-4.2.1.pom from central
Retrieving commons-io/commons-io/2.4/commons-io-2.4.pom from central
Retrieving org/apache/commons/commons-parent/25/commons-parent-25.pom from central
Retrieving cheshire/cheshire/4.0.1/cheshire-4.0.1.pom from clojars
Retrieving com/fasterxml/jackson/core/jackson-core/2.0.4/jackson-core-2.0.4.pom from central
Retrieving com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.0.4/jackson-dataformat-smile-2.0.4.pom from central
Retrieving ring/ring-core/1.2.1/ring-core-1.2.1.pom from clojars
Retrieving org/clojure/tools.reader/0.7.3/tools.reader-0.7.3.pom from central
Retrieving org/clojure/pom.contrib/0.0.26/pom.contrib-0.0.26.pom from central
Retrieving ring/ring-codec/1.0.0/ring-codec-1.0.0.pom from clojars
Retrieving commons-fileupload/commons-fileupload/1.3/commons-fileupload-1.3.pom from central
Retrieving org/apache/commons/commons-parent/28/commons-parent-28.pom from central
Retrieving org/apache/apache/13/apache-13.pom from central
Retrieving commons-io/commons-io/2.2/commons-io-2.2.pom from central
Retrieving org/apache/commons/commons-parent/24/commons-parent-24.pom from central
Retrieving clj-time/clj-time/0.4.4/clj-time-0.4.4.pom from clojars
Retrieving joda-time/joda-time/2.1/joda-time-2.1.pom from central
Retrieving org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.pom from central
Retrieving org/tukaani/xz/1.0/xz-1.0.pom from central
Retrieving puppetlabs/kitchensink/0.5.3/kitchensink-0.5.3.pom from clojars
Retrieving org/ini4j/ini4j/0.5.2/ini4j-0.5.2.pom from central
Retrieving org/clojure/tools.cli/0.3.0/tools.cli-0.3.0.pom from central
Retrieving org/tcrawley/dynapath/0.2.3/dynapath-0.2.3.pom from central
Retrieving digest/digest/1.4.3/digest-1.4.3.pom from clojars
Retrieving org/bouncycastle/bcpkix-jdk15on/1.50/bcpkix-jdk15on-1.50.pom from central
Retrieving org/bouncycastle/bcprov-jdk15on/1.50/bcprov-jdk15on-1.50.pom from central
Retrieving puppetlabs/trapperkeeper/0.3.4/trapperkeeper-0.3.4.pom from clojars
Retrieving prismatic/plumbing/0.2.1/plumbing-0.2.1.pom from clojars
Retrieving prismatic/schema/0.2.0/schema-0.2.0.pom from clojars
Retrieving potemkin/potemkin/0.3.2/potemkin-0.3.2.pom from clojars
Retrieving de/kotka/lazymap/3.1.0/lazymap-3.1.0.pom from clojars
Retrieving org/clojure/clojure/1.2.0/clojure-1.2.0.pom from central
Retrieving org/clojure/tools.macro/0.1.2/tools.macro-0.1.2.pom from central
Retrieving ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.pom from central
Retrieving ch/qos/logback/logback-parent/1.0.13/logback-parent-1.0.13.pom from central
Retrieving ch/qos/logback/logback-core/1.0.13/logback-core-1.0.13.pom from central
Retrieving com/typesafe/config/1.2.0/config-1.2.0.pom from central
Retrieving puppetlabs/trapperkeeper-webserver-jetty9/0.3.3/trapperkeeper-webserver-jetty9-0.3.3.pom from clojars
Retrieving puppetlabs/kitchensink/0.5.2/kitchensink-0.5.2.pom from clojars
Retrieving puppetlabs/trapperkeeper/0.3.3/trapperkeeper-0.3.3.pom from clojars
Retrieving puppetlabs/kitchensink/0.5.1/kitchensink-0.5.1.pom from clojars
Retrieving javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.pom from central
Retrieving net/java/jvnet-parent/3/jvnet-parent-3.pom from central
Retrieving org/eclipse/jetty/jetty-server/9.1.0.v20131115/jetty-server-9.1.0.v20131115.pom from central
Retrieving org/eclipse/jetty/jetty-project/9.1.0.v20131115/jetty-project-9.1.0.v20131115.pom from central
Retrieving org/eclipse/jetty/jetty-parent/20/jetty-parent-20.pom from central
Retrieving org/eclipse/jetty/jetty-http/9.1.0.v20131115/jetty-http-9.1.0.v20131115.pom from central
Retrieving org/eclipse/jetty/jetty-util/9.1.0.v20131115/jetty-util-9.1.0.v20131115.pom from central
Retrieving org/eclipse/jetty/jetty-io/9.1.0.v20131115/jetty-io-9.1.0.v20131115.pom from central
Retrieving org/eclipse/jetty/jetty-servlet/9.1.0.v20131115/jetty-servlet-9.1.0.v20131115.pom from central
Retrieving org/eclipse/jetty/jetty-security/9.1.0.v20131115/jetty-security-9.1.0.v20131115.pom from central
Retrieving org/eclipse/jetty/jetty-servlets/9.1.0.v20131115/jetty-servlets-9.1.0.v20131115.pom from central
Retrieving org/eclipse/jetty/jetty-continuation/9.1.0.v20131115/jetty-continuation-9.1.0.v20131115.pom from central
Retrieving ring/ring-servlet/1.1.8/ring-servlet-1.1.8.pom from clojars
Retrieving ring/ring-core/1.1.8/ring-core-1.1.8.pom from clojars
Retrieving commons-io/commons-io/2.1/commons-io-2.1.pom from central
Retrieving commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.pom from central
Retrieving org/apache/commons/commons-parent/7/commons-parent-7.pom from central
Retrieving clj-time/clj-time/0.3.7/clj-time-0.3.7.pom from clojars
Retrieving joda-time/joda-time/2.0/joda-time-2.0.pom from central
Retrieving org/clojure/tools.macro/0.1.5/tools.macro-0.1.5.pom from central
Retrieving com/novemberain/pantomime/2.1.0/pantomime-2.1.0.pom from clojars
Retrieving org/apache/tika/tika-core/1.5/tika-core-1.5.pom from central
Retrieving org/apache/tika/tika-parent/1.5/tika-parent-1.5.pom from central
Retrieving org/apache/apache/10/apache-10.pom from central
Retrieving ring-mock/ring-mock/0.1.5/ring-mock-0.1.5.pom from clojars
Retrieving org/flatland/ordered/1.5.2/ordered-1.5.2.pom from clojars
Retrieving org/flatland/useful/0.9.0/useful-0.9.0.pom from clojars
Retrieving org/clojure/tools.macro/0.1.1/tools.macro-0.1.1.pom from central
Retrieving org/clojure/clojure/1.6.0/clojure-1.6.0.jar from central
Retrieving com/fasterxml/jackson/core/jackson-core/2.2.1/jackson-core-2.2.1.jar from central
Retrieving com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.2.1/jackson-dataformat-smile-2.2.1.jar from central
Retrieving org/clojure/core.match/0.2.0-rc5/core.match-0.2.0-rc5.jar from central
Retrieving org/clojure/math.combinatorics/0.0.4/math.combinatorics-0.0.4.jar from central
Retrieving org/clojure/tools.logging/0.2.6/tools.logging-0.2.6.jar from central
Retrieving org/clojure/core.logic/0.6.5/core.logic-0.6.5.jar from central
Retrieving com/yammer/metrics/metrics-core/2.0.1/metrics-core-2.0.1.jar from central
Retrieving joda-time/joda-time/2.2/joda-time-2.2.jar from central
Retrieving org/clojure/java.jmx/0.2.0/java.jmx-0.2.0.jar from central
Retrieving com/jolbox/bonecp/0.7.1.RELEASE/bonecp-0.7.1.RELEASE.jar from central
Retrieving org/clojure/java.jdbc/0.1.1/java.jdbc-0.1.1.jar from central
Retrieving com/google/guava/guava/r08/guava-r08.jar from central
Retrieving org/hsqldb/hsqldb/2.2.8/hsqldb-2.2.8.jar from central
Retrieving org/postgresql/postgresql/9.2-1003-jdbc4/postgresql-9.2-1003-jdbc4.jar from central
Retrieving org/clojure/core.incubator/0.1.0/core.incubator-0.1.0.jar from central
Retrieving org/springframework/spring-jms/3.0.5.RELEASE/spring-jms-3.0.5.RELEASE.jar from central
Retrieving aopalliance/aopalliance/1.0/aopalliance-1.0.jar from central
Retrieving org/springframework/spring-tx/3.0.5.RELEASE/spring-tx-3.0.5.RELEASE.jar from central
Retrieving org/apache/activemq/activemq-core/5.6.0/activemq-core-5.6.0.jar from central
Retrieving org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar from central
Retrieving org/apache/activemq/kahadb/5.6.0/kahadb-5.6.0.jar from central
Retrieving org/apache/activemq/protobuf/activemq-protobuf/1.1/activemq-protobuf-1.1.jar from central
Retrieving org/fusesource/mqtt-client/mqtt-client/1.0/mqtt-client-1.0.jar from central
Retrieving org/fusesource/hawtdispatch/hawtdispatch-transport/1.9/hawtdispatch-transport-1.9.jar from central
Retrieving org/fusesource/hawtdispatch/hawtdispatch/1.9/hawtdispatch-1.9.jar from central
Retrieving org/fusesource/hawtbuf/hawtbuf/1.9/hawtbuf-1.9.jar from central
Retrieving org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar from central
Retrieving org/apache/geronimo/specs/geronimo-j2ee-management_1.1_spec/1.0.1/geronimo-j2ee-management_1.1_spec-1.0.1.jar from central
Retrieving org/springframework/spring-context/3.0.6.RELEASE/spring-context-3.0.6.RELEASE.jar from central
Retrieving org/springframework/spring-aop/3.0.6.RELEASE/spring-aop-3.0.6.RELEASE.jar from central
Retrieving org/springframework/spring-beans/3.0.6.RELEASE/spring-beans-3.0.6.RELEASE.jar from central
Retrieving org/springframework/spring-core/3.0.6.RELEASE/spring-core-3.0.6.RELEASE.jar from central
Retrieving org/springframework/spring-expression/3.0.6.RELEASE/spring-expression-3.0.6.RELEASE.jar from central
Retrieving org/springframework/spring-asm/3.0.6.RELEASE/spring-asm-3.0.6.RELEASE.jar from central
Retrieving commons-net/commons-net/2.2/commons-net-2.2.jar from central
Retrieving org/jasypt/jasypt/1.8/jasypt-1.8.jar from central
Retrieving org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5.jar from central
Retrieving org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar from central
Retrieving commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar from central
Retrieving org/apache/httpcomponents/httpmime/4.2.1/httpmime-4.2.1.jar from central
Retrieving commons-codec/commons-codec/1.6/commons-codec-1.6.jar from central
Retrieving commons-io/commons-io/2.4/commons-io-2.4.jar from central
Retrieving org/apache/httpcomponents/httpcore/4.2.1/httpcore-4.2.1.jar from central
Retrieving org/apache/httpcomponents/httpclient/4.2.1/httpclient-4.2.1.jar from central
Retrieving org/clojure/tools.reader/0.7.3/tools.reader-0.7.3.jar from central
Retrieving commons-fileupload/commons-fileupload/1.3/commons-fileupload-1.3.jar from central
Retrieving org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar from central
Retrieving org/tukaani/xz/1.0/xz-1.0.jar from central
Retrieving org/ini4j/ini4j/0.5.2/ini4j-0.5.2.jar from central
Retrieving org/clojure/tools.cli/0.3.0/tools.cli-0.3.0.jar from central
Retrieving org/tcrawley/dynapath/0.2.3/dynapath-0.2.3.jar from central
Retrieving org/bouncycastle/bcpkix-jdk15on/1.50/bcpkix-jdk15on-1.50.jar from central
Retrieving org/bouncycastle/bcprov-jdk15on/1.50/bcprov-jdk15on-1.50.jar from central
Retrieving ch/qos/logback/logback-classic/1.0.13/logback-classic-1.0.13.jar from central
Retrieving ch/qos/logback/logback-core/1.0.13/logback-core-1.0.13.jar from central
Retrieving com/typesafe/config/1.2.0/config-1.2.0.jar from central
Retrieving org/eclipse/jetty/jetty-server/9.1.0.v20131115/jetty-server-9.1.0.v20131115.jar from central
Retrieving javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar from central
Retrieving org/eclipse/jetty/jetty-http/9.1.0.v20131115/jetty-http-9.1.0.v20131115.jar from central
Retrieving org/eclipse/jetty/jetty-io/9.1.0.v20131115/jetty-io-9.1.0.v20131115.jar from central
Retrieving org/eclipse/jetty/jetty-servlet/9.1.0.v20131115/jetty-servlet-9.1.0.v20131115.jar from central
Retrieving org/eclipse/jetty/jetty-security/9.1.0.v20131115/jetty-security-9.1.0.v20131115.jar from central
Retrieving org/eclipse/jetty/jetty-servlets/9.1.0.v20131115/jetty-servlets-9.1.0.v20131115.jar from central
Retrieving org/eclipse/jetty/jetty-continuation/9.1.0.v20131115/jetty-continuation-9.1.0.v20131115.jar from central
Retrieving org/eclipse/jetty/jetty-util/9.1.0.v20131115/jetty-util-9.1.0.v20131115.jar from central
Retrieving org/clojure/tools.macro/0.1.5/tools.macro-0.1.5.jar from central
Retrieving org/apache/tika/tika-core/1.5/tika-core-1.5.jar from central
Retrieving tigris/tigris/0.1.1/tigris-0.1.1.jar from clojars
Retrieving cheshire/cheshire/5.2.0/cheshire-5.2.0.jar from clojars
Retrieving clj-stacktrace/clj-stacktrace/0.2.6/clj-stacktrace-0.2.6.jar from clojars
Retrieving vimclojure/server/2.3.6/server-2.3.6.jar from clojars
Retrieving puppetlabs/tools.namespace/0.2.4.1/tools.namespace-0.2.4.1.jar from clojars
Retrieving metrics-clojure/metrics-clojure/0.7.0/metrics-clojure-0.7.0.jar from clojars
Retrieving clj-time/clj-time/0.5.1/clj-time-0.5.1.jar from clojars
Retrieving fs/fs/1.1.2/fs-1.1.2.jar from clojars
Retrieving trptcolin/versioneer/0.1.0/versioneer-0.1.0.jar from clojars
Retrieving overtone/at-at/1.2.0/at-at-1.2.0.jar from clojars
Retrieving slingshot/slingshot/0.10.3/slingshot-0.10.3.jar from clojars
Retrieving clojureql/clojureql/1.0.3/clojureql-1.0.3.jar from clojars
Retrieving net/cgrand/moustache/1.1.0/moustache-1.1.0.jar from clojars
Retrieving clamq/clamq-activemq/0.4/clamq-activemq-0.4.jar from clojars
Retrieving clamq/clamq-jms/0.4/clamq-jms-0.4.jar from clojars
Retrieving clamq/clamq-core/0.4/clamq-core-0.4.jar from clojars
Retrieving ring/ring-core/1.2.1/ring-core-1.2.1.jar from clojars
Retrieving ring/ring-codec/1.0.0/ring-codec-1.0.0.jar from clojars
Retrieving digest/digest/1.4.3/digest-1.4.3.jar from clojars
Retrieving clj-http/clj-http/0.5.3/clj-http-0.5.3.jar from clojars
Retrieving puppetlabs/kitchensink/0.5.3/kitchensink-0.5.3.jar from clojars
Retrieving puppetlabs/trapperkeeper/0.3.4/trapperkeeper-0.3.4.jar from clojars
Retrieving de/kotka/lazymap/3.1.0/lazymap-3.1.0.jar from clojars
Retrieving puppetlabs/trapperkeeper-webserver-jetty9/0.3.3/trapperkeeper-webserver-jetty9-0.3.3.jar from clojars
Retrieving prismatic/plumbing/0.2.1/plumbing-0.2.1.jar from clojars
Retrieving ring/ring-servlet/1.1.8/ring-servlet-1.1.8.jar from clojars
Retrieving prismatic/schema/0.2.0/schema-0.2.0.jar from clojars
Retrieving potemkin/potemkin/0.3.2/potemkin-0.3.2.jar from clojars
Retrieving ring-mock/ring-mock/0.1.5/ring-mock-0.1.5.jar from clojars
Retrieving puppetlabs/trapperkeeper/0.3.4/trapperkeeper-0.3.4-test.jar from clojars
Retrieving puppetlabs/trapperkeeper-webserver-jetty9/0.3.3/trapperkeeper-webserver-jetty9-0.3.3-test.jar from clojars
Retrieving org/flatland/ordered/1.5.2/ordered-1.5.2.jar from clojars
Retrieving org/flatland/useful/0.9.0/useful-0.9.0.jar from clojars
Retrieving com/novemberain/pantomime/2.1.0/pantomime-2.1.0.jar from clojars
Retrieving org/clojure/contrib/except/1.3.0-alpha4/except-1.3.0-alpha4.jar from clojure-releases
Retrieving org/clojure/contrib/mock/1.3.0-alpha4/mock-1.3.0-alpha4.jar from clojure-releases
Retrieving org/clojure/contrib/seq/1.3.0-alpha4/seq-1.3.0-alpha4.jar from clojure-releases
Retrieving org/clojure/contrib/ns-utils/1.3.0-alpha4/ns-utils-1.3.0-alpha4.jar from clojure-releases
Retrieving org/clojure/contrib/def/1.3.0-alpha4/def-1.3.0-alpha4.jar from clojure-releases
james@computer:~/tmp/puppetdb/puppetdb$ # not sure what ^^^ this scary list is, let's hope it doesn't mean that many individual packages
james@computer:~/tmp/puppetdb/puppetdb$ ./../lein test

lein test com.puppetlabs.puppetdb.examples

lein test com.puppetlabs.puppetdb.examples.reports

lein test com.puppetlabs.puppetdb.fixtures

lein test com.puppetlabs.puppetdb.repl

lein test com.puppetlabs.puppetdb.test.anonymizer

lein test com.puppetlabs.puppetdb.test.archive

lein test com.puppetlabs.puppetdb.test.catalog.utils

lein test com.puppetlabs.puppetdb.test.catalogs

lein test com.puppetlabs.puppetdb.test.cli.anonymize
Anonymizing input data file: /tmp/input-facts752343012075791085.tar.gz with profile type: none to output file: /tmp/anon-facts7119030494880475291.tar.gz
Anonymizing facts from archive entry 'puppetdb-bak/facts/foo.com.json' to 'puppetdb-bak/facts/foo.com.json'
Anonymization complete. Check output file contents /tmp/anon-facts7119030494880475291.tar.gz to ensure anonymization was adequate before sharing data
Anonymizing input data file: /tmp/input-facts5220802402244993625.tar.gz with profile type: low to output file: /tmp/anon-facts2410430088670201460.tar.gz
Anonymizing facts from archive entry 'puppetdb-bak/facts/foo.com.json' to 'puppetdb-bak/facts/caihkltlxg.eqxivxcwnycdrxo.ann.json'
Anonymization complete. Check output file contents /tmp/anon-facts2410430088670201460.tar.gz to ensure anonymization was adequate before sharing data
Anonymizing input data file: /tmp/input-facts2535449458437408066.tar.gz with profile type: moderate to output file: /tmp/anon-facts7957339406769257573.tar.gz
Anonymizing facts from archive entry 'puppetdb-bak/facts/foo.com.json' to 'puppetdb-bak/facts/caihkltlxg.eqxivxcwnycdrxo.ann.json'
Anonymization complete. Check output file contents /tmp/anon-facts7957339406769257573.tar.gz to ensure anonymization was adequate before sharing data
Anonymizing input data file: /tmp/input-facts2532198992709739316.tar.gz with profile type: full to output file: /tmp/anon-facts7047608973664261208.tar.gz
Anonymizing facts from archive entry 'puppetdb-bak/facts/foo.com.json' to 'puppetdb-bak/facts/caihkltlxg.eqxivxcwnycdrxo.ann.json'
Anonymization complete. Check output file contents /tmp/anon-facts7047608973664261208.tar.gz to ensure anonymization was adequate before sharing data

lein test com.puppetlabs.puppetdb.test.cli.export

lein test com.puppetlabs.puppetdb.test.cli.services

lein test com.puppetlabs.puppetdb.test.command

lein test com.puppetlabs.puppetdb.test.command.dlo

lein test com.puppetlabs.puppetdb.test.config

lein test com.puppetlabs.puppetdb.test.core

lein test com.puppetlabs.puppetdb.test.http.command

lein test com.puppetlabs.puppetdb.test.http.experimental.planetarium-catalog

lein test com.puppetlabs.puppetdb.test.http.experimental.population

lein test com.puppetlabs.puppetdb.test.http.explore

lein test com.puppetlabs.puppetdb.test.http.fact-names

lein test com.puppetlabs.puppetdb.test.http.facts

lein test com.puppetlabs.puppetdb.test.http.metrics

lein test com.puppetlabs.puppetdb.test.http.nodes

lein test com.puppetlabs.puppetdb.test.http.paging

lein test com.puppetlabs.puppetdb.test.http.resources

lein test com.puppetlabs.puppetdb.test.http.server

lein test com.puppetlabs.puppetdb.test.http.v3.aggregate-event-counts

lein test com.puppetlabs.puppetdb.test.http.v3.catalogs

lein test com.puppetlabs.puppetdb.test.http.v3.event-counts

lein test com.puppetlabs.puppetdb.test.http.v3.events

lein test com.puppetlabs.puppetdb.test.http.v3.reports

lein test com.puppetlabs.puppetdb.test.http.v3.server-time

lein test com.puppetlabs.puppetdb.test.http.v4.aggregate-event-counts

lein test com.puppetlabs.puppetdb.test.http.v4.catalogs

lein test com.puppetlabs.puppetdb.test.http.v4.event-counts

lein test com.puppetlabs.puppetdb.test.http.v4.events

lein test com.puppetlabs.puppetdb.test.http.v4.reports

lein test com.puppetlabs.puppetdb.test.http.v4.server-time

lein test com.puppetlabs.puppetdb.test.http.version

lein test com.puppetlabs.puppetdb.test.query

lein test com.puppetlabs.puppetdb.test.query.aggregate-event-counts

lein test com.puppetlabs.puppetdb.test.query.catalogs

lein test com.puppetlabs.puppetdb.test.query.event-counts

lein test com.puppetlabs.puppetdb.test.query.events

lein test com.puppetlabs.puppetdb.test.query.fact-names

lein test com.puppetlabs.puppetdb.test.query.nodes

lein test com.puppetlabs.puppetdb.test.query.population

lein test com.puppetlabs.puppetdb.test.query.reports

lein test com.puppetlabs.puppetdb.test.query.resources

lein test com.puppetlabs.puppetdb.test.reports

lein test com.puppetlabs.puppetdb.test.scf.hash

lein test com.puppetlabs.puppetdb.test.scf.hash-debug

lein test com.puppetlabs.puppetdb.test.scf.migrate

lein test com.puppetlabs.puppetdb.test.scf.storage

lein test com.puppetlabs.puppetdb.test.scf.storage-utils

lein test com.puppetlabs.puppetdb.test.schema

lein test com.puppetlabs.puppetdb.test.utils

lein test com.puppetlabs.puppetdb.testutils

lein test com.puppetlabs.puppetdb.testutils.catalogs

lein test com.puppetlabs.puppetdb.testutils.event-counts

lein test com.puppetlabs.puppetdb.testutils.events

lein test com.puppetlabs.puppetdb.testutils.facts

lein test com.puppetlabs.puppetdb.testutils.nodes

lein test com.puppetlabs.puppetdb.testutils.repl

lein test com.puppetlabs.puppetdb.testutils.reports

lein test com.puppetlabs.puppetdb.testutils.resources

lein test com.puppetlabs.puppetdb.testutils.tar

lein test com.puppetlabs.test.cheshire

lein test com.puppetlabs.test.concurrent

lein test com.puppetlabs.test.http
2014-04-05 03:09:16,817 ERROR [c.p.t.http] Error streaming response
java.lang.ArithmeticException: Divide by zero
	at clojure.lang.Numbers.divide(Numbers.java:156) ~[clojure-1.6.0.jar:na]
	at clojure.lang.Numbers.divide(Numbers.java:3731) ~[clojure-1.6.0.jar:na]
	at com.puppetlabs.test.http$fn__33612$fn__33628.invoke(http.clj:151) [na:na]
	at ring.util.io$piped_input_stream$fn__2125.invoke(io.clj:25) [na:na]
	at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1910) [clojure-1.6.0.jar:na]
	at clojure.lang.AFn.call(AFn.java:18) [clojure-1.6.0.jar:na]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
	at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]

lein test com.puppetlabs.test.jdbc

lein test com.puppetlabs.test.middleware

lein test com.puppetlabs.test.mq

lein test com.puppetlabs.test.random

lein test com.puppetlabs.test.time

lein test com.puppetlabs.test.validation

lein test com.puppetlabs.testutils.db

lein test com.puppetlabs.utils.metrics

Ran 281 tests containing 4986 assertions.
0 failures, 0 errors.
james@computer:~/tmp/puppetdb/puppetdb$

Comment 11 James (purpleidea) 2014-04-09 04:30:42 UTC
There's another tracker here (RHEL):
https://bugzilla.redhat.com/show_bug.cgi?id=1085203

Comment 12 Lon Hohberger 2014-09-16 17:59:51 UTC
Note that I did a license analysis of each of the dependencies that lein downloaded.  One didn't have a license, and I followed up with upstream (puppetlabs) to get one added; that commit is here:

https://github.com/puppetlabs/trapperkeeper-webserver-jetty9/commit/0041e259a3e86a50a226647ac908cba70f88a39a

Comment 15 Jason Montleon 2014-11-21 20:20:56 UTC
I _think_ you can build puppetdb with maven. Run 'lein pom' to create a pom.xml.

You then need to add a plugins section so you can build clojure source and create what leiningen terms an uberjar. From there you can do:

mvn -B deploy -Dmaven.test.skip=true -DaltDeploymentRepository=local-output::default::file:///tmp/output

in particular the shade-plugin stuff I found here: http://www.dotkam.com/2014/07/02/pom-pom-clojure/

I get Uploaded: file:///tmp/output/puppetdb/puppetdb/0.0-dev-build/puppetdb-0.0-dev-build.jar (23432 KB at 46956.4 KB/sec) which looks about right. extracting the jar looks similar as well. I am not sure at the moment about the 0.0-dev version... this was built using the 2.2.2 tag.

Anyway clojure-maven-plugin and maven-shade-plugin are both in Fedora, whereas  leiningen 2.x is not and trying to make it work in the Fedora build system seems unlikely even if it were.

<plugins>
<plugin>
    <groupId>com.theoryinpractise</groupId>
    <artifactId>clojure-maven-plugin</artifactId>
    <version>1.3.10</version>
    <extensions>true</extensions>
    <executions>
        <execution>
            <id>compile</id>
            <phase>compile</phase>
            <goals>
                <goal>compile</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <namespaces>
            <namespace>whatsapp.core</namespace>
        </namespaces>
        <compileDeclaredNamespaceOnly>true</compileDeclaredNamespaceOnly>
        <sourceDirectories>
            <sourceDirectory>src</sourceDirectory>
        </sourceDirectories>
        <testSourceDirectories>
            <testSourceDirectory>test</testSourceDirectory>
        </testSourceDirectories>
    </configuration>
</plugin>
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-shade-plugin</artifactId>
    <version>2.3</version>
    <executions>
        <execution>
            <phase>package</phase>
            <goals>
                <goal>shade</goal>
            </goals>
            <configuration>
                <transformers>
                    <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                        <mainClass>org.gitpod.WhatsApp</mainClass>
                    </transformer>
                </transformers>
                <filters>
                    <filter>
                        <artifact>*:*</artifact>
                        <excludes>
                            <exclude>META-INF/*.SF</exclude>
                            <exclude>META-INF/*.DSA</exclude>
                            <exclude>META-INF/*.RSA</exclude>
                        </excludes>
                    </filter>
                </filters>
            </configuration>
        </execution>
    </executions>
</plugin>
</plugins>

Comment 16 Jason Montleon 2014-11-21 21:34:49 UTC
I believe it should actually be: 
<mainClass>com.puppetlabs.puppetdb.core</mainClass>

Comment 17 Jason Montleon 2014-11-24 07:51:44 UTC
Attached is a pom.xml that should work for puppetdb 2.2.2. The plugins sections is the only real changes from the 'lein pom' generated pom.xml

the maven-exec-plugin section might require some explaining. Basically this, but with the effect that it actually causes an exception:
http://mail-archives.apache.org/mod_mbox/maven-users/201310.mbox/%3CCAAuB-epb4cdpUYmGEPu7tHsB2bqCUjmgmnm1B4h1Ucmyr+UhVw@mail.gmail.com%3E

so you decrompess the jar, set the clj file timestamps to sometime in the past, archive it back up and it's fine. This is a difference in behaviour between 'lein uberjar' and maven-shade-plugin.

Output using the jar I generated by running:
mvn -B deploy -DaltDeploymentRepository=local-output::default::file:///tmp/output

os:
java -cp /tmp/output/puppetdb/puppetdb/2.2.2/puppetdb-2.2.2.jar clojure.main -m com.puppetlabs.puppetdb.core services -c /root/rpmbuild/SOURCES/puppetdb-2.2.2/ext/files/config.ini
2014-11-24 07:29:20,364 INFO  [p.t.s.w.jetty9-service] Initializing web server.
2014-11-24 07:29:20,389 INFO  [p.t.s.w.jetty9-service] Starting web server.
2014-11-24 07:29:20,392 INFO  [o.e.j.s.Server] jetty-9.1.z-SNAPSHOT
2014-11-24 07:29:20,429 INFO  [o.e.j.s.ServerConnector] Started ServerConnector@6f3af712{HTTP/1.1}{localhost:8080}
2014-11-24 07:29:20,499 INFO  [c.p.p.c.services] PuppetDB version 2.2.2
2014-11-24 07:29:20,506 WARN  [c.j.b.BoneCPConfig] JDBC username was not set in config!
2014-11-24 07:29:20,506 WARN  [c.j.b.BoneCPConfig] JDBC password was not set in config!
2014-11-24 07:29:21,328 INFO  [c.p.p.s.migrate] There are no pending migrations
2014-11-24 07:29:21,329 WARN  [c.p.p.s.migrate] Unable to install optimal indexing

We are unable to create optimal indexes for your database.
For maximum index performance, we recommend using PostgreSQL 9.3 or
greater.

2014-11-24 07:29:21,333 INFO  [c.p.p.c.services] Starting broker
2014-11-24 07:29:22,287 INFO  [o.a.a.s.k.MessageDatabase] KahaDB is version 4
2014-11-24 07:29:22,334 INFO  [o.a.a.s.k.MessageDatabase] Recovering from the journal ...
2014-11-24 07:29:22,335 INFO  [o.a.a.s.k.MessageDatabase] Recovery replayed 1 operations from the journal in 0.032 seconds.
2014-11-24 07:29:22,603 INFO  [o.a.k.j.Journal] ignoring zero length, partially initialised journal data file: db-1.log number = 1 , length = 0
2014-11-24 07:29:22,793 INFO  [c.p.p.c.services] Starting 4 command processor threads
2014-11-24 07:29:22,813 WARN  [c.j.b.BoneCPConfig] JDBC username was not set in config!
2014-11-24 07:29:22,817 WARN  [c.j.b.BoneCPConfig] JDBC password was not set in config!
2014-11-24 07:29:22,835 INFO  [c.p.p.c.services] Starting query server
2014-11-24 07:29:22,860 WARN  [o.e.j.s.h.ContextHandler] Empty contextPath
2014-11-24 07:29:22,872 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@b4d4d2f{/,null,AVAILABLE}
2014-11-24 07:29:22,910 INFO  [c.p.p.c.services] Starting sweep of stale reports (threshold: 14 days)
2014-11-24 07:29:22,945 INFO  [c.p.p.c.services] Finished sweep of stale reports (threshold: 14 days)
2014-11-24 07:29:22,946 INFO  [c.p.p.c.services] Starting database garbage collection
2014-11-24 07:29:23,016 INFO  [c.p.p.c.services] Finished database garbage collection
^C2014-11-24 07:30:25,589 INFO  [p.t.internal] Shutting down due to JVM shutdown hook.
2014-11-24 07:30:25,595 INFO  [p.t.internal] Beginning shutdown sequence
2014-11-24 07:30:25,602 INFO  [c.p.p.c.services] Shutdown request received; puppetdb exiting.
2014-11-24 07:30:25,603 INFO  [c.p.p.c.services] Shutting down message broker.

Comment 18 Jason Montleon 2014-11-24 07:52:34 UTC
Created attachment 960590 [details]
pom.xml for puppetdb 2.2.2

Comment 19 Jason Montleon 2014-11-24 20:19:30 UTC
Created attachment 960916 [details]
pom.xml for puppetdb 2.2.2

Minor changes; move exec to before install rather than after so install and deploy jars are the same. add ver for exec maven plugin

Comment 26 Fedora End Of Life 2015-05-29 11:01:12 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 27 Mark Chappell 2015-05-29 11:06:32 UTC
bumping back to rawhide sinde F20 is going EOL

Comment 29 Jan Kurik 2015-07-15 14:42:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 30 Erik Logtenberg 2015-07-24 09:39:35 UTC
Hi Jason,

Have you been able to continue this work, is there a puppetdb package underway?

Xixi pointed to a RHEL tracker bug, but it's not public.

Comment 31 Fedora End Of Life 2016-11-24 11:07:34 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 32 Fedora End Of Life 2016-12-20 12:45:31 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.