Skip to content

Instantly share code, notes, and snippets.

@hamiltont
Created April 17, 2015 20:22
Show Gist options
  • Save hamiltont/2cf11af815191133a0c0 to your computer and use it in GitHub Desktop.
Save hamiltont/2cf11af815191133a0c0 to your computer and use it in GitHub Desktop.
zeromq is installed!
/home/vagrant/FrameworkBenchmarks/installs /home/vagrant/FrameworkBenchmarks/installs
Cloning into 'nawak'...
remote: Counting objects: 155, done.
remote: Total 155 (delta 0), reused 0 (delta 0), pack-reused 155
Receiving objects: 100% (155/155), 391.69 KiB | 0 bytes/s, done.
Resolving deltas: 100% (69/69), done.
Checking connectivity... done.
Note: checking out 'b34b0b5077541ae9671957452a70e2578894d3a8'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at b34b0b5... Update for Nim 0.10 and cleanup example app for redis/postgre
Downloading package list from https://github.com/nim-lang/packages/raw/master/packages.json
Done.
Looking for uuid (>= 0.1.0)...
None found, installing...
Downloading uuid into /tmp/nimble_16125/uuid_0.1.0 using git...
Found tags...
Cloning latest tagged version: expected SRV RR, found RR type 1
Initialized empty Git repository in /tmp/nimble_16125/uuid_0.1.0/.git/
warning: expected SRV RR, found RR type 1
fatal: Couldn't find remote ref expected
Traceback (most recent call last)
nimble.nim(836) nimble
nimble.nim(811) doAction
nimble.nim(588) install
nimble.nim(476) installFromDir
nimble.nim(393) processDeps
nimble.nim(607) install
nimble.nim(581) downloadPkg
download.nim(194) doDownload
download.nim(59) doClone
tools.nim(18) doCmd
Error: unhandled exception: Execution failed with exit code 128 [ENimble]
/home/vagrant/FrameworkBenchmarks/installs
INSTALL: sudo apt-get -yq autoremove (cwd=$FWROOT/installs)
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
INSTALL: Finished installing server software
================================================================================
Preparing Server, Database, and Client ...
================================================================================
bash: cpu0/cpufreq/scaling_governor: No such file or directory
bash: cpu1/cpufreq/scaling_governor: No such file or directory
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-45-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Apr 17 20:15:25 UTC 2015
System load: 0.04 Processes: 95
Usage of /: 8.5% of 39.34GB Users logged in: 0
Memory usage: 16% IP address for eth0: 10.0.2.15
Swap usage: 0% IP address for eth1: 172.16.0.16
Graph this data and manage this system at:
https://landscape.canonical.com/
Welcome to the FrameworkBenchmarks project!
To get started, perhaps try this:
$ cd FrameworkBenchmarks
$ toolset/run-tests.py --install server --test go
$ cat results/ec2/latest/logs/go/out.txt
You can get lots of help:
$ toolset/run-tests.py --help
This Vagrant environment is already setup and ready to go, so you
can safely ignore any flags about users, hosts, or identity files
net.ipv4.tcp_max_syn_backlog = 65535
net.core.somaxconn = 65535
kernel.sched_autogroup_enabled = 0
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
kernel.shmmax = 2147483648
kernel.shmall = 2097152
kernel.sem = 250 32000 256 512
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-45-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Apr 17 20:19:33 UTC 2015
System load: 1.56 Processes: 100
Usage of /: 9.7% of 39.34GB Users logged in: 1
Memory usage: 18% IP address for eth0: 10.0.2.15
Swap usage: 0% IP address for eth1: 172.16.0.16
Graph this data and manage this system at:
https://landscape.canonical.com/
Welcome to the FrameworkBenchmarks project!
To get started, perhaps try this:
$ cd FrameworkBenchmarks
$ toolset/run-tests.py --install server --test go
$ cat results/ec2/latest/logs/go/out.txt
You can get lots of help:
$ toolset/run-tests.py --help
This Vagrant environment is already setup and ready to go, so you
can safely ignore any flags about users, hosts, or identity files
net.ipv4.tcp_max_syn_backlog = 65535
net.core.somaxconn = 65535
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
kernel.shmmax = 2147483648
kernel.shmall = 2097152
================================================================================
Running Tests...
================================================================================
-------------------------------------------------------------------------------- | Rough ETA: --:--:--
Running Test: nawak
--------------------------------------------------------------------------------
database connection test results:
mysql: is GO!
mongodb: is GO!
redis: is GO!
postgresql: is GO!
cassandra: is GO!
elasticsearch: is GO!
INFO:root:Running setup module start (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Nim/nawak)
INFO:root:To run nawak manually, copy/paste this:
export FWROOT=/home/vagrant/FrameworkBenchmarks && \
export TROOT=/home/vagrant/FrameworkBenchmarks/frameworks/Nim/nawak && \
export IROOT=/home/vagrant/FrameworkBenchmarks/installs && \
export DBHOST=127.0.0.1 && \
export LOGDIR=/home/vagrant/FrameworkBenchmarks/results/ec2/latest/logs/nawak && \
export MAX_THREADS=2 && \
cd /home/vagrant/FrameworkBenchmarks/frameworks/Nim/nawak && \
sudo -u testrunner -E -H stdbuf -o0 -e0 bash -ex setup.sh
Setup nawak: + export PATH=/home/vagrant/FrameworkBenchmarks/installs/nim/bin:/home/vagrant/FrameworkBenchmarks/installs/mongrel2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Setup nawak: + PATH=/home/vagrant/FrameworkBenchmarks/installs/nim/bin:/home/vagrant/FrameworkBenchmarks/installs/mongrel2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Setup nawak: + sed -i 's|host=.* port=5432|host=127.0.0.1 port=5432|g' model_postgre.nim
Setup nawak: + echo '** Compiling app'
Setup nawak: ** Compiling app
Setup nawak: + nim c --threads:on -d:release -d:postgre_model -l:-Wl,-rpath,/home/vagrant/FrameworkBenchmarks/installs/zeromq-4.0.3/lib -o:nawak_postgre app.nim
Setup nawak: config/nim.cfg(45, 2) Hint: added path: '/home/testrunner/.babel/pkgs/' [Path]
Setup nawak: config/nim.cfg(46, 2) Hint: added path: '/home/testrunner/.nimble/pkgs/jester-0.1.0' [Path]
Setup nawak: config/nim.cfg(46, 2) Hint: added path: '/home/testrunner/.nimble/pkgs/' [Path]
Setup nawak: Hint: used config file '/FrameworkBenchmarks/installs/nim/config/nim.cfg' [Conf]
Setup nawak: Hint: system [Processing]
Setup nawak: Hint: app [Processing]
Setup nawak: Hint: os [Processing]
Setup nawak: Hint: strutils [Processing]
Setup nawak: Hint: parseutils [Processing]
Setup nawak: Hint: times [Processing]
Setup nawak: Hint: posix [Processing]
Setup nawak: Hint: strtabs [Processing]
Setup nawak: Hint: hashes [Processing]
Setup nawak: Hint: math [Processing]
Setup nawak: Hint: algorithm [Processing]
Setup nawak: app.nim(2, 7) Error: cannot open 'nawak_mongrel'
nawak: setup.sh and framework processes have terminated
Setup nawak: Setup has terminated
Setup nawak: setup.sh process exited naturally with 1
INFO:root:Executed setup.sh, returning 1
verify: 100% |######################################################################################################################################################################| Rough Time: 00:00:36
================================================================================
Verification Summary
| Test: nawak
| NO RESULTS (Did framework launch?)
================================================================================
Time to complete: 218 seconds
Results are saved in results/ec2/20150417201631
vagrant@TFB-all:~/FrameworkBenchmarks$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment