Last active
August 29, 2015 14:19
-
-
Save hamiltont/f1b269592d5afad0b48c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:root:Running setup module start (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Clojure/compojure) | |
INFO:root:To run compojure manually, copy/paste this: | |
export FWROOT=/home/vagrant/FrameworkBenchmarks && \ | |
export TROOT=/home/vagrant/FrameworkBenchmarks/frameworks/Clojure/compojure && \ | |
export IROOT=/home/vagrant/FrameworkBenchmarks/installs && \ | |
export DBHOST=127.0.0.1 && \ | |
export LOGDIR=/home/vagrant/FrameworkBenchmarks/results/ec2/latest/logs/compojure && \ | |
export MAX_THREADS=2 && \ | |
cd /home/vagrant/FrameworkBenchmarks/frameworks/Clojure/compojure && \ | |
sudo -u testrunner -E -H stdbuf -o0 -e0 bash -ex setup.sh | |
Setup compojure: + source /home/vagrant/FrameworkBenchmarks/installs/java7.installed | |
Setup compojure: ++ export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64 | |
Setup compojure: ++ JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64 | |
Setup compojure: ++ export PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
Setup compojure: ++ PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
Setup compojure: + export RESIN_HOME=/home/vagrant/FrameworkBenchmarks/installs/resin-4.0.41 | |
Setup compojure: + RESIN_HOME=/home/vagrant/FrameworkBenchmarks/installs/resin-4.0.41 | |
Setup compojure: + export LEIN_HOME=/home/vagrant/FrameworkBenchmarks/installs/lein | |
Setup compojure: + LEIN_HOME=/home/vagrant/FrameworkBenchmarks/installs/lein | |
Setup compojure: + export PATH=/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
Setup compojure: + PATH=/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
Setup compojure: + sed -i 's|:subname "//.*:3306|:subname "//127.0.0.1:3306|g' hello/src/hello/handler.clj | |
Setup compojure: + cd hello | |
Setup compojure: + /home/vagrant/FrameworkBenchmarks/installs/lein/bin/lein clean | |
Setup compojure: Downloading Leiningen to /home/vagrant/FrameworkBenchmarks/installs/lein/self-installs/leiningen-2.5.1-standalone.jar now... | |
Setup compojure: % Total % Received % Xferd Average Speed Time Time Time Current | |
Setup compojure: Dload Upload Total Spent Left Speed | |
100 408 0 408 0 0 1047 0 --:--:-- --:--:-- --:--:-- 1048 | |
100 14.5M 100 14.5M 0 0 586k 0 0:00:25 0:00:25 --:--:-- 703k | |
Setup compojure: Retrieving lein-ring/lein-ring/0.8.10/lein-ring-0.8.10.pom from clojars | |
Setup compojure: Retrieving org/clojure/data.xml/0.0.6/data.xml-0.0.6.pom from central | |
Setup compojure: Retrieving leinjacker/leinjacker/0.4.1/leinjacker-0.4.1.pom from clojars | |
Setup compojure: Retrieving org/clojure/core.contracts/0.0.1/core.contracts-0.0.1.pom from central | |
Setup compojure: Retrieving org/clojure/pom.contrib/0.0.26/pom.contrib-0.0.26.pom from central | |
Setup compojure: Retrieving org/clojure/core.unify/0.5.3/core.unify-0.5.3.pom from central | |
Setup compojure: Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central | |
Setup compojure: Retrieving org/clojure/data.xml/0.0.6/data.xml-0.0.6.jar from central | |
Setup compojure: Retrieving org/clojure/core.contracts/0.0.1/core.contracts-0.0.1.jar from central | |
Setup compojure: Retrieving org/clojure/core.unify/0.5.3/core.unify-0.5.3.jar from central | |
Setup compojure: Retrieving leinjacker/leinjacker/0.4.1/leinjacker-0.4.1.jar from clojars | |
Setup compojure: Retrieving lein-ring/lein-ring/0.8.10/lein-ring-0.8.10.jar from clojars | |
Setup compojure: + /home/vagrant/FrameworkBenchmarks/installs/lein/bin/lein ring uberwar | |
Setup compojure: Retrieving ring/ring-servlet/1.2.1/ring-servlet-1.2.1.pom from clojars | |
Setup compojure: Retrieving ring/ring-core/1.2.1/ring-core-1.2.1.pom from clojars | |
Setup compojure: Retrieving org/clojure/tools.reader/0.7.3/tools.reader-0.7.3.pom from central | |
Setup compojure: Retrieving commons-io/commons-io/2.4/commons-io-2.4.pom from central | |
Setup compojure: Retrieving org/apache/commons/commons-parent/25/commons-parent-25.pom from central | |
Setup compojure: Retrieving commons-fileupload/commons-fileupload/1.3/commons-fileupload-1.3.pom from central | |
Setup compojure: Retrieving org/apache/commons/commons-parent/28/commons-parent-28.pom from central | |
Setup compojure: Retrieving org/apache/apache/13/apache-13.pom from central | |
Setup compojure: Retrieving commons-io/commons-io/2.2/commons-io-2.2.pom from central | |
Setup compojure: Retrieving org/apache/commons/commons-parent/24/commons-parent-24.pom from central | |
Setup compojure: Retrieving clj-time/clj-time/0.4.4/clj-time-0.4.4.pom from clojars | |
Setup compojure: Retrieving joda-time/joda-time/2.1/joda-time-2.1.pom from central | |
Setup compojure: Retrieving compojure/compojure/1.1.6/compojure-1.1.6.pom from clojars | |
Setup compojure: Retrieving clout/clout/1.1.0/clout-1.1.0.pom from clojars | |
Setup compojure: Retrieving korma/korma/0.3.0-RC6/korma-0.3.0-RC6.pom from clojars | |
Setup compojure: Retrieving c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.pom from central | |
Setup compojure: Retrieving org/clojure/java.jdbc/0.3.0-alpha1/java.jdbc-0.3.0-alpha1.pom from central | |
Setup compojure: Retrieving hiccup/hiccup/1.0.4/hiccup-1.0.4.pom from clojars | |
Setup compojure: Retrieving commons-io/commons-io/2.4/commons-io-2.4.jar from central | |
Setup compojure: Retrieving org/clojure/tools.reader/0.7.3/tools.reader-0.7.3.jar from central | |
Setup compojure: Retrieving commons-fileupload/commons-fileupload/1.3/commons-fileupload-1.3.jar from central | |
Setup compojure: Retrieving joda-time/joda-time/2.1/joda-time-2.1.jar from central | |
Setup compojure: Retrieving c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.jar from central | |
Setup compojure: Retrieving org/clojure/java.jdbc/0.3.0-alpha1/java.jdbc-0.3.0-alpha1.jar from central | |
Setup compojure: Retrieving ring/ring-core/1.2.1/ring-core-1.2.1.jar from clojars | |
Setup compojure: Retrieving korma/korma/0.3.0-RC6/korma-0.3.0-RC6.jar from clojars | |
Setup compojure: Retrieving clj-time/clj-time/0.4.4/clj-time-0.4.4.jar from clojars | |
Setup compojure: Retrieving compojure/compojure/1.1.6/compojure-1.1.6.jar from clojars | |
Setup compojure: Retrieving ring/ring-servlet/1.2.1/ring-servlet-1.2.1.jar from clojars | |
Setup compojure: Retrieving clout/clout/1.1.0/clout-1.1.0.jar from clojars | |
Setup compojure: Retrieving hiccup/hiccup/1.0.4/hiccup-1.0.4.jar from clojars | |
Setup compojure: Created /FrameworkBenchmarks/frameworks/Clojure/compojure/hello/target/hello-compojure-standalone.war | |
Setup compojure: + rm -rf /home/vagrant/FrameworkBenchmarks/installs/resin-4.0.41/webapps/ROOT | |
Setup compojure: + cp target/hello-compojure-standalone.war /home/vagrant/FrameworkBenchmarks/installs/resin-4.0.41/webapps/compojure.war | |
Setup compojure: + /home/vagrant/FrameworkBenchmarks/installs/resin-4.0.41/bin/resinctl start | |
Setup compojure: Resin/4.0.41 launching watchdog at 127.0.0.1:6600 | |
Setup compojure: Resin/4.0.41 started -server 'default' with watchdog at 127.0.0.1:6600 | |
compojure: setup.sh and framework processes have terminated | |
Setup compojure: Setup has terminated | |
Setup compojure: Bound port detected on 8080 | |
INFO:root:Executed setup.sh, returning 0 | |
INFO:root:Sleeping 10 seconds to ensure framework is ready | |
INFO:root:Verifying framework URLs | |
Accessing URL http://127.0.0.1:8080/compojure/db | |
Response (trimmed to 40 bytes): "{"randomNumber":8424,"id":6921}" | |
WARNING:root:Verifying test db for compojure caused an exception: 'NoneType' object has no attribute 'lower' | |
FAIL for http://127.0.0.1:8080 | |
Caused Exception in TFB | |
This almost certainly means your return value is incorrect, | |
but also that you have found a bug. Please submit an issue | |
including this message: 'NoneType' object has no attribute 'lower' | |
Traceback (most recent call last): | |
File "/FrameworkBenchmarks/toolset/benchmark/framework_test.py", line 370, in verify_type | |
results = test.verify(base_url) | |
File "/FrameworkBenchmarks/toolset/benchmark/test_types/db_type.py", line 53, in verify | |
if any(v.lower() not in full_response.lower() for v in ('Server','Date','Content-Type: application/json')) \ | |
File "/FrameworkBenchmarks/toolset/benchmark/test_types/db_type.py", line 53, in <genexpr> | |
if any(v.lower() not in full_response.lower() for v in ('Server','Date','Content-Type: application/json')) \ | |
AttributeError: 'NoneType' object has no attribute 'lower' | |
Accessing URL http://127.0.0.1:8080/compojure/json | |
Response (trimmed to 40 bytes): "{"message":"Hello, World!"}" | |
PASS for http://127.0.0.1:8080/compojure/json | |
Accessing URL http://127.0.0.1:8080/compojure/db/ | |
Response (trimmed to 40 bytes): "[{"randomNumber":573,"id":7859},{"random" | |
Accessing URL http://127.0.0.1:8080/compojure/db/ | |
Response (trimmed to 40 bytes): "[{"randomNumber":3966,"id":4018}]" | |
Accessing URL http://127.0.0.1:8080/compojure/db/ | |
Response (trimmed to 40 bytes): "[{"randomNumber":7311,"id":8285}]" | |
Accessing URL http://127.0.0.1:8080/compojure/db/ | |
Response (trimmed to 40 bytes): "[{"randomNumber":86,"id":125},{"randomNu" | |
WARN for http://127.0.0.1:8080/compojure/db/2 | |
Required response header missing. | |
WARN for http://127.0.0.1:8080/compojure/db/0 | |
Required response header missing. | |
WARN for http://127.0.0.1:8080/compojure/db/foo | |
Required response header missing. | |
WARN for http://127.0.0.1:8080/compojure/db/501 | |
Required response header missing. | |
Accessing URL http://127.0.0.1:8080/compojure/fortune-hiccup | |
Response (trimmed to 40 bytes): "<!DOCTYPE html> | |
<html><head><title>Fortu" | |
PASS for http://127.0.0.1:8080/compojure/fortune-hiccup | |
Accessing URL http://127.0.0.1:8080/compojure/plaintext | |
Response (trimmed to 40 bytes): "Hello, World!" | |
PASS for http://127.0.0.1:8080/compojure/plaintext | |
Failed verify! | |
verify: 100% |###############################################################| Rough Time: 00:03:22 | |
================================================================================ | |
Verification Summary | |
| Test: compojure | |
| plaintext : PASS | |
| query : WARN | |
| json : PASS | |
| db : FAIL | |
| fortune : PASS | |
================================================================================ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment