Skip to content

Instantly share code, notes, and snippets.

@rjnienaber
Created August 22, 2014 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjnienaber/24489d2925a0d0652876 to your computer and use it in GitHub Desktop.
Save rjnienaber/24489d2925a0d0652876 to your computer and use it in GitHub Desktop.
vagrant go test
$ toolset/run-tests.py --install server --test go
FWROOT is /home/vagrant/FrameworkBenchmarks
WARNING:root:results.json for test ec2 not found.
INSTALL: Installing server software (strategy=unified)
INSTALL: . $FWROOT/toolset/setup/linux/bash_functions.sh && . $FWROOT/toolset/setup/linux/prerequisites.sh (cwd=$FWROOTinstalls)
Prerequisites installed!
INFO:root:Running installation for directory /home/vagrant/FrameworkBenchmarks/frameworks/Go/go (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Go/go)
INFO:root:Loading environment from /home/vagrant/FrameworkBenchmarks/frameworks/Go/go/bash_profile.sh (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Go/go)
INSTALL:
export TROOT=/home/vagrant/FrameworkBenchmarks/frameworks/Go/go &&
export IROOT=/home/vagrant/FrameworkBenchmarks/installs &&
source $FWROOT/toolset/setup/linux/bash_functions.sh &&
source /home/vagrant/FrameworkBenchmarks/frameworks/Go/go/install.sh (cwd=$FWROOT/installs)
Searching for go
Installing language: go in $FWROOT/installs
--2014-08-22 21:23:48-- https://storage.googleapis.com/golang/go1.3.linux-amd64.tar.gz
Resolving storage.googleapis.com (storage.googleapis.com)... 173.194.41.171, 173.194.41.172, 173.194.41.170, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|173.194.41.171|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51123994 (49M) [application/x-gzip]
Saving to: 'go1.3.linux-amd64.tar.gz'
100%[==================================================================================================================================================================>] 51,123,994 11.2MB/s in 4.4s
2014-08-22 21:23:58 (11.2 MB/s) - 'go1.3.linux-amd64.tar.gz' saved [51123994/51123994]
Running 'tar xf go1.3.linux-amd64.tar.gz'...please wait
Removing compressed tar file
go is installed!
INSTALL: sudo apt-get -y autoremove (cwd=$FWROOTinstalls)
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
INSTALL: Finished installing server software
================================================================================
Preparing Server, Database, and Client ...
================================================================================
bash: cpu0/cpufreq/scaling_governor: No such file or directory
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-34-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Aug 22 21:23:35 UTC 2014
System load: 0.38 Processes: 83
Usage of /: 7.3% of 39.34GB Users logged in: 0
Memory usage: 15% IP address for eth0: 10.0.2.15
Swap usage: 0% IP address for eth1: 172.16.16.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
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-34-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Fri Aug 22 21:23:59 UTC 2014
System load: 0.34 Processes: 89
Usage of /: 7.8% of 39.34GB Users logged in: 1
Memory usage: 16% IP address for eth0: 10.0.2.15
Swap usage: 0% IP address for eth1: 172.16.16.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...
================================================================================
--------------------------------------------------------------------------------
Running Test: go
--------------------------------------------------------------------------------
INFO:root:Running setup module start (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Go)
INFO:root:Start completed, running benchmark
{'results': [{'latencyAvg': '15.51ms', 'latencyMax': '745.99ms', 'latencyStdev': '105.92ms', 'totalRequests': 505546, 'startTime': 1408742767, 'endTime': 1408742782}, {'latencyAvg': '26.44ms', 'latencyMax': '947.20ms', 'latencyStdev': '155.40ms', 'totalRequests': 500665, 'startTime': 1408742784, 'endTime': 1408742799}, {'latencyAvg': '1.27s', 'latencyMax': '1.91s', 'latencyStdev': '901.31ms', 'totalRequests': 503205, 'startTime': 1408742801, 'endTime': 1408742816}, {'latencyAvg': '1.91s', 'latencyMax': '2.57s', 'latencyStdev': '1.12s', 'totalRequests': 490713, 'startTime': 1408742818, 'endTime': 1408742833}, {'latencyAvg': '2.91s', 'latencyMax': '3.26s', 'latencyStdev': '1.02s', 'totalRequests': 464609, 'startTime': 1408742835, 'endTime': 1408742850}, {'latencyAvg': '3.92s', 'latencyMax': '4.27s', 'latencyStdev': '1.16s', 'totalRequests': 455988, 'startTime': 1408742852, 'endTime': 1408742867}]}
Process Test Runner (go):
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/vagrant/FrameworkBenchmarks/toolset/benchmark/benchmarker.py", line 596, in __run_test
test.benchmark(out, err)
File "/home/vagrant/FrameworkBenchmarks/toolset/benchmark/framework_test.py", line 804, in benchmark
self.benchmarker.report_verify_results(framework=self, test=self.QUERY, results=None)
TypeError: report_verify_results() got an unexpected keyword argument 'results'
================================================================================
Parsing Results ...
================================================================================
Time to complete: 381 seconds
Results are saved in results/ec2/20140822212348
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment