Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Mark Chu-Carroll

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/
---

(Updated Feb. 3, 2014, 11:30 a.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

Addressed wickman's review comments.


Bugs: aurora-125 and aurora-80
https://issues.apache.org/jira/browse/aurora-125
https://issues.apache.org/jira/browse/aurora-80


Repository: aurora


Description
---

Got an initial version of the end-to-end test working. 

Currently creates a job, probes it via the scheduler pages,  updates it, and 
kills it. 
AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
this to use
aurora run and aurora ssh to probe the running tasks.


Diffs (updated)
-

  3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
  Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
  examples/vagrant/provision-aurora-scheduler.sh 
e48291a8673aeb169747486b7d50a54f5a56 
  examples/vagrant/provision-dev-environment.sh 
7fc11bf523a054f6d068cf676e87bb043d854a25 
  examples/vagrant/provision-mesos-slave.sh 
c2548a268e0fad7aa4f84d3fa48aea012007502b 
  src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 

Diff: https://reviews.apache.org/r/17457/diff/


Testing
---

[sun-wukong incubator-aurora (e2e)]$ sh 
src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
Bringing machine 'devtools' up with 'virtualbox' provider...
Bringing machine 'zookeeper' up with 'virtualbox' provider...
Bringing machine 'mesos-master' up with 'virtualbox' provider...
Bringing machine 'mesos-slave' up with 'virtualbox' provider...
Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
[devtools] VirtualBox VM is already running.
[zookeeper] VirtualBox VM is already running.
[mesos-master] VirtualBox VM is already running.
[mesos-slave] VirtualBox VM is already running.
[aurora-scheduler] VirtualBox VM is already running.
Cloning into '/home/vagrant/test_dev'...
done.
Already on 'e2e'
Already up-to-date.
+ VIRTUALENV_VERSION=1.10.1
+ which python2.7
++ which python2.7
+ PY=/usr/bin/python2.7
+ echo 'Using /usr/bin/python2.7'
Using /usr/bin/python2.7
+ '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
+ pushd build-support
~/test_dev/build-support ~/test_dev
+ curl -O 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
+ tar zxvf virtualenv-1.10.1.tar.gz
virtualenv-1.10.1/
virtualenv-1.10.1/AUTHORS.txt
virtualenv-1.10.1/bin/
virtualenv-1.10.1/bin/rebuild-script.py
virtualenv-1.10.1/docs/
virtualenv-1.10.1/docs/_theme/
virtualenv-1.10.1/docs/_theme/nature/
virtualenv-1.10.1/docs/_theme/nature/static/
virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
virtualenv-1.10.1/docs/_theme/nature/theme.conf
virtualenv-1.10.1/docs/conf.py
virtualenv-1.10.1/docs/index.rst
virtualenv-1.10.1/docs/make.bat
virtualenv-1.10.1/docs/Makefile
virtualenv-1.10.1/docs/news.rst
virtualenv-1.10.1/LICENSE.txt
virtualenv-1.10.1/MANIFEST.in
virtualenv-1.10.1/PKG-INFO
virtualenv-1.10.1/README.rst
virtualenv-1.10.1/scripts/
virtualenv-1.10.1/scripts/virtualenv
virtualenv-1.10.1/setup.cfg
virtualenv-1.10.1/setup.py
virtualenv-1.10.1/virtualenv.egg-info/
virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
virtualenv-1.10.1/virtualenv.py
virtualenv-1.10.1/virtualenv_embedded/
virtualenv-1.10.1/virtualenv_embedded/activate.bat
virtualenv-1.10.1/virtualenv_embedded/activate.csh
virtualenv-1.10.1/virtualenv_embedded/activate.fish
virtualenv-1.10.1/virtualenv_embedded/activate.ps1
virtualenv-1.10.1/virtualenv_embedded/activate.sh
virtualenv-1.10.1/virtualenv_embedded/activate_this.py
virtualenv-1.10.1/virtualenv_embedded/deactivate.bat
virtualenv-1.10.1/virtualenv_embedded/distutils-init.py
virtualenv-1.10.1/virtualenv_embedded/distutils.cfg
virtualenv-1.10.1/virtualenv_embedded/site.py
virtualenv-1.10.1/virtualenv_support/
virtualenv-1.10.1/virtualenv_support/__init__.py

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Bill Farner

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33452
---



src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora
https://reviews.apache.org/r/17457/#comment62888

extra newline



src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora
https://reviews.apache.org/r/17457/#comment62889

extra newline



src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
https://reviews.apache.org/r/17457/#comment62887

Please limit to 100 cols throughout



src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
https://reviews.apache.org/r/17457/#comment62890

extra newline


- Bill Farner


On Feb. 3, 2014, 4:30 p.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Feb. 3, 2014, 4:30 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-125 and aurora-80
 https://issues.apache.org/jira/browse/aurora-125
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
   Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
   examples/vagrant/provision-aurora-scheduler.sh 
 e48291a8673aeb169747486b7d50a54f5a56 
   examples/vagrant/provision-dev-environment.sh 
 7fc11bf523a054f6d068cf676e87bb043d854a25 
   examples/vagrant/provision-mesos-slave.sh 
 c2548a268e0fad7aa4f84d3fa48aea012007502b 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 virtualenv-1.10.1/docs/_theme/nature/
 virtualenv-1.10.1/docs/_theme/nature/static/
 virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
 virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
 virtualenv-1.10.1/docs/_theme/nature/theme.conf
 virtualenv-1.10.1/docs/conf.py
 virtualenv-1.10.1/docs/index.rst
 virtualenv-1.10.1/docs/make.bat
 virtualenv-1.10.1/docs/Makefile
 virtualenv-1.10.1/docs/news.rst
 virtualenv-1.10.1/LICENSE.txt
 virtualenv-1.10.1/MANIFEST.in
 virtualenv-1.10.1/PKG-INFO
 virtualenv-1.10.1/README.rst
 virtualenv-1.10.1/scripts/
 virtualenv-1.10.1/scripts/virtualenv
 virtualenv-1.10.1/setup.cfg
 virtualenv-1.10.1/setup.py
 virtualenv-1.10.1/virtualenv.egg-info/
 virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
 virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Mark Chu-Carroll

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33476
---



examples/vagrant/provision-dev-environment.sh
https://reviews.apache.org/r/17457/#comment62917

Because in the vmware precise64 image, git and python-setuptools aren't 
included.
With these added to the list, the test works on both vmware and virtualbox.


- Mark Chu-Carroll


On Feb. 3, 2014, 11:30 a.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Feb. 3, 2014, 11:30 a.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-125 and aurora-80
 https://issues.apache.org/jira/browse/aurora-125
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
   Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
   examples/vagrant/provision-aurora-scheduler.sh 
 e48291a8673aeb169747486b7d50a54f5a56 
   examples/vagrant/provision-dev-environment.sh 
 7fc11bf523a054f6d068cf676e87bb043d854a25 
   examples/vagrant/provision-mesos-slave.sh 
 c2548a268e0fad7aa4f84d3fa48aea012007502b 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 virtualenv-1.10.1/docs/_theme/nature/
 virtualenv-1.10.1/docs/_theme/nature/static/
 virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
 virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
 virtualenv-1.10.1/docs/_theme/nature/theme.conf
 virtualenv-1.10.1/docs/conf.py
 virtualenv-1.10.1/docs/index.rst
 virtualenv-1.10.1/docs/make.bat
 virtualenv-1.10.1/docs/Makefile
 virtualenv-1.10.1/docs/news.rst
 virtualenv-1.10.1/LICENSE.txt
 virtualenv-1.10.1/MANIFEST.in
 virtualenv-1.10.1/PKG-INFO
 virtualenv-1.10.1/README.rst
 virtualenv-1.10.1/scripts/
 virtualenv-1.10.1/scripts/virtualenv
 virtualenv-1.10.1/setup.cfg
 virtualenv-1.10.1/setup.py
 virtualenv-1.10.1/virtualenv.egg-info/
 virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
 virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
 virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
 virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
 virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
 virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
 virtualenv-1.10.1/virtualenv.py
 virtualenv-1.10.1/virtualenv_embedded/
 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Kevin Sweeney

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33475
---



examples/vagrant/provision-mesos-slave.sh
https://reviews.apache.org/r/17457/#comment62916

Revert. Looks like you might need to rebase?



examples/vagrant/provision-mesos-slave.sh
https://reviews.apache.org/r/17457/#comment62918

Rather than using sed here you can use interpolation as follows:

eager expansion with $SLAVE_IP_ADDRESS
lazy expansion with \$?


- Kevin Sweeney


On Feb. 3, 2014, 8:30 a.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Feb. 3, 2014, 8:30 a.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-125 and aurora-80
 https://issues.apache.org/jira/browse/aurora-125
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
   Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
   examples/vagrant/provision-aurora-scheduler.sh 
 e48291a8673aeb169747486b7d50a54f5a56 
   examples/vagrant/provision-dev-environment.sh 
 7fc11bf523a054f6d068cf676e87bb043d854a25 
   examples/vagrant/provision-mesos-slave.sh 
 c2548a268e0fad7aa4f84d3fa48aea012007502b 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 virtualenv-1.10.1/docs/_theme/nature/
 virtualenv-1.10.1/docs/_theme/nature/static/
 virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
 virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
 virtualenv-1.10.1/docs/_theme/nature/theme.conf
 virtualenv-1.10.1/docs/conf.py
 virtualenv-1.10.1/docs/index.rst
 virtualenv-1.10.1/docs/make.bat
 virtualenv-1.10.1/docs/Makefile
 virtualenv-1.10.1/docs/news.rst
 virtualenv-1.10.1/LICENSE.txt
 virtualenv-1.10.1/MANIFEST.in
 virtualenv-1.10.1/PKG-INFO
 virtualenv-1.10.1/README.rst
 virtualenv-1.10.1/scripts/
 virtualenv-1.10.1/scripts/virtualenv
 virtualenv-1.10.1/setup.cfg
 virtualenv-1.10.1/setup.py
 virtualenv-1.10.1/virtualenv.egg-info/
 virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
 virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
 virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
 virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
 virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Mark Chu-Carroll

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/
---

(Updated Feb. 3, 2014, 3:16 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

Address review comments.


Bugs: aurora-125 and aurora-80
https://issues.apache.org/jira/browse/aurora-125
https://issues.apache.org/jira/browse/aurora-80


Repository: aurora


Description
---

Got an initial version of the end-to-end test working. 

Currently creates a job, probes it via the scheduler pages,  updates it, and 
kills it. 
AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
this to use
aurora run and aurora ssh to probe the running tasks.


Diffs (updated)
-

  3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
  Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
  examples/vagrant/provision-aurora-scheduler.sh 
e48291a8673aeb169747486b7d50a54f5a56 
  examples/vagrant/provision-dev-environment.sh 
7fc11bf523a054f6d068cf676e87bb043d854a25 
  examples/vagrant/provision-mesos-slave.sh 
c2548a268e0fad7aa4f84d3fa48aea012007502b 
  src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 

Diff: https://reviews.apache.org/r/17457/diff/


Testing
---

[sun-wukong incubator-aurora (e2e)]$ sh 
src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
Bringing machine 'devtools' up with 'virtualbox' provider...
Bringing machine 'zookeeper' up with 'virtualbox' provider...
Bringing machine 'mesos-master' up with 'virtualbox' provider...
Bringing machine 'mesos-slave' up with 'virtualbox' provider...
Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
[devtools] VirtualBox VM is already running.
[zookeeper] VirtualBox VM is already running.
[mesos-master] VirtualBox VM is already running.
[mesos-slave] VirtualBox VM is already running.
[aurora-scheduler] VirtualBox VM is already running.
Cloning into '/home/vagrant/test_dev'...
done.
Already on 'e2e'
Already up-to-date.
+ VIRTUALENV_VERSION=1.10.1
+ which python2.7
++ which python2.7
+ PY=/usr/bin/python2.7
+ echo 'Using /usr/bin/python2.7'
Using /usr/bin/python2.7
+ '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
+ pushd build-support
~/test_dev/build-support ~/test_dev
+ curl -O 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
+ tar zxvf virtualenv-1.10.1.tar.gz
virtualenv-1.10.1/
virtualenv-1.10.1/AUTHORS.txt
virtualenv-1.10.1/bin/
virtualenv-1.10.1/bin/rebuild-script.py
virtualenv-1.10.1/docs/
virtualenv-1.10.1/docs/_theme/
virtualenv-1.10.1/docs/_theme/nature/
virtualenv-1.10.1/docs/_theme/nature/static/
virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
virtualenv-1.10.1/docs/_theme/nature/theme.conf
virtualenv-1.10.1/docs/conf.py
virtualenv-1.10.1/docs/index.rst
virtualenv-1.10.1/docs/make.bat
virtualenv-1.10.1/docs/Makefile
virtualenv-1.10.1/docs/news.rst
virtualenv-1.10.1/LICENSE.txt
virtualenv-1.10.1/MANIFEST.in
virtualenv-1.10.1/PKG-INFO
virtualenv-1.10.1/README.rst
virtualenv-1.10.1/scripts/
virtualenv-1.10.1/scripts/virtualenv
virtualenv-1.10.1/setup.cfg
virtualenv-1.10.1/setup.py
virtualenv-1.10.1/virtualenv.egg-info/
virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
virtualenv-1.10.1/virtualenv.py
virtualenv-1.10.1/virtualenv_embedded/
virtualenv-1.10.1/virtualenv_embedded/activate.bat
virtualenv-1.10.1/virtualenv_embedded/activate.csh
virtualenv-1.10.1/virtualenv_embedded/activate.fish
virtualenv-1.10.1/virtualenv_embedded/activate.ps1
virtualenv-1.10.1/virtualenv_embedded/activate.sh
virtualenv-1.10.1/virtualenv_embedded/activate_this.py
virtualenv-1.10.1/virtualenv_embedded/deactivate.bat
virtualenv-1.10.1/virtualenv_embedded/distutils-init.py
virtualenv-1.10.1/virtualenv_embedded/distutils.cfg
virtualenv-1.10.1/virtualenv_embedded/site.py
virtualenv-1.10.1/virtualenv_support/
virtualenv-1.10.1/virtualenv_support/__init__.py

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Mark Chu-Carroll


 On Feb. 3, 2014, 4:47 p.m., Kevin Sweeney wrote:
  examples/vagrant/provision-dev-environment.sh, line 5
  https://reviews.apache.org/r/17457/diff/4/?file=463503#file463503line5
 
  git is already on this commandline and setuptools shouldn't be needed. 
  From the virtualbox environment
  
  % vagrant ssh devtools
  Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
  
   * Documentation:  https://help.ubuntu.com/
  Welcome to your Vagrant-built virtual machine.
  Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
  vagrant@precise64:~$ python
  Python 2.7.3 (default, Sep 26 2013, 20:03:06)
  [GCC 4.6.3] on linux2
  Type help, copyright, credits or license for more information.
   import setuptools
  Traceback (most recent call last):
File stdin, line 1, in module
  ImportError: No module named setuptools
  
  vagrant@precise64:~$ dpkg -L python-setuptools
  Package `python-setuptools' is not installed.
  Use dpkg --info (= dpkg-deb --info) to examine archive files,
  and dpkg --contents (= dpkg-deb --contents) to list their contents.

I'll fix the double-git. 

But setuptools is necessary for vmware. In the vmware precise64 image default, 
pants doesn't work due to missing python packages. With setuptools, pants is 
able to bootstrap itself.


- Mark


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33510
---


On Feb. 3, 2014, 3:16 p.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Feb. 3, 2014, 3:16 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-125 and aurora-80
 https://issues.apache.org/jira/browse/aurora-125
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
   Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
   examples/vagrant/provision-aurora-scheduler.sh 
 e48291a8673aeb169747486b7d50a54f5a56 
   examples/vagrant/provision-dev-environment.sh 
 7fc11bf523a054f6d068cf676e87bb043d854a25 
   examples/vagrant/provision-mesos-slave.sh 
 c2548a268e0fad7aa4f84d3fa48aea012007502b 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Kevin Sweeney


 On Feb. 3, 2014, 1:47 p.m., Kevin Sweeney wrote:
  examples/vagrant/provision-dev-environment.sh, line 5
  https://reviews.apache.org/r/17457/diff/4/?file=463503#file463503line5
 
  git is already on this commandline and setuptools shouldn't be needed. 
  From the virtualbox environment
  
  % vagrant ssh devtools
  Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
  
   * Documentation:  https://help.ubuntu.com/
  Welcome to your Vagrant-built virtual machine.
  Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
  vagrant@precise64:~$ python
  Python 2.7.3 (default, Sep 26 2013, 20:03:06)
  [GCC 4.6.3] on linux2
  Type help, copyright, credits or license for more information.
   import setuptools
  Traceback (most recent call last):
File stdin, line 1, in module
  ImportError: No module named setuptools
  
  vagrant@precise64:~$ dpkg -L python-setuptools
  Package `python-setuptools' is not installed.
  Use dpkg --info (= dpkg-deb --info) to examine archive files,
  and dpkg --contents (= dpkg-deb --contents) to list their contents.
 
 Mark Chu-Carroll wrote:
 I'll fix the double-git. 
 
 But setuptools is necessary for vmware. In the vmware precise64 image 
 default, pants doesn't work due to missing python packages. With setuptools, 
 pants is able to bootstrap itself.
 


system-wide setuptools isn't necessary - pants downloads a bootstrap 
distribution of virtualenv directly.

vagrant@precise64:~/aurora$ ./pants
+ VIRTUALENV_VERSION=1.10.1
+ which python2.7
++ which python2.7
+ PY=/usr/bin/python2.7
+ echo 'Using /usr/bin/python2.7'
Using /usr/bin/python2.7
+ '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
+ pushd build-support
~/aurora/build-support ~/aurora
+ curl -O 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100 1294k  100 1294k0 0   411k  0  0:00:03  0:00:03 --:--:--  413k
+ tar zxvf virtualenv-1.10.1.tar.gz
[...]
virtualenv-1.10.1/virtualenv_support/pip-1.4.1.tar.gz
virtualenv-1.10.1/virtualenv_support/setuptools-0.9.8.tar.gz
[...]
+ exec /usr/bin/python2.7 build-support/virtualenv-1.10.1/virtualenv.py 
/tmp/pants.NR8A1C/tcp
New python executable in /tmp/pants.NR8A1C/tcp/bin/python2.7
Also creating executable in /tmp/pants.NR8A1C/tcp/bin/python
Installing 
Setuptools..done.
Installing 
Pip.done.
[...]
Pants 0.0.13 @ PANTS_BUILD_ROOT: /home/vagrant/aurora

Available subcommands:
py  Python chroot manipulation.
helpProvides help for available commands or a single specified 
command.
build   Builds a specified target.
setup_pyGenerate setup.py-based Python projects from 
python_library targets.
goalLists installed goals or else executes a named goal.

Default subcommand flags can be stored in ~/.pantsrc using the 'options' key of 
a
section named for the subcommand in ini style format, ie:
  [build]
  options: --log-exit


- Kevin


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33510
---


On Feb. 3, 2014, 12:16 p.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Feb. 3, 2014, 12:16 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-125 and aurora-80
 https://issues.apache.org/jira/browse/aurora-125
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
   Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
   

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Mark Chu-Carroll

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/
---

(Updated Feb. 3, 2014, 6:43 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

hopefully, last round of review changes!


Bugs: aurora-125 and aurora-80
https://issues.apache.org/jira/browse/aurora-125
https://issues.apache.org/jira/browse/aurora-80


Repository: aurora


Description
---

Got an initial version of the end-to-end test working. 

Currently creates a job, probes it via the scheduler pages,  updates it, and 
kills it. 
AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
this to use
aurora run and aurora ssh to probe the running tasks.


Diffs (updated)
-

  3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
  Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
  examples/vagrant/provision-aurora-scheduler.sh 
e48291a8673aeb169747486b7d50a54f5a56 
  examples/vagrant/provision-mesos-slave.sh 
c2548a268e0fad7aa4f84d3fa48aea012007502b 
  src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 

Diff: https://reviews.apache.org/r/17457/diff/


Testing
---

[sun-wukong incubator-aurora (e2e)]$ sh 
src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
Bringing machine 'devtools' up with 'virtualbox' provider...
Bringing machine 'zookeeper' up with 'virtualbox' provider...
Bringing machine 'mesos-master' up with 'virtualbox' provider...
Bringing machine 'mesos-slave' up with 'virtualbox' provider...
Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
[devtools] VirtualBox VM is already running.
[zookeeper] VirtualBox VM is already running.
[mesos-master] VirtualBox VM is already running.
[mesos-slave] VirtualBox VM is already running.
[aurora-scheduler] VirtualBox VM is already running.
Cloning into '/home/vagrant/test_dev'...
done.
Already on 'e2e'
Already up-to-date.
+ VIRTUALENV_VERSION=1.10.1
+ which python2.7
++ which python2.7
+ PY=/usr/bin/python2.7
+ echo 'Using /usr/bin/python2.7'
Using /usr/bin/python2.7
+ '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
+ pushd build-support
~/test_dev/build-support ~/test_dev
+ curl -O 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
+ tar zxvf virtualenv-1.10.1.tar.gz
virtualenv-1.10.1/
virtualenv-1.10.1/AUTHORS.txt
virtualenv-1.10.1/bin/
virtualenv-1.10.1/bin/rebuild-script.py
virtualenv-1.10.1/docs/
virtualenv-1.10.1/docs/_theme/
virtualenv-1.10.1/docs/_theme/nature/
virtualenv-1.10.1/docs/_theme/nature/static/
virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
virtualenv-1.10.1/docs/_theme/nature/theme.conf
virtualenv-1.10.1/docs/conf.py
virtualenv-1.10.1/docs/index.rst
virtualenv-1.10.1/docs/make.bat
virtualenv-1.10.1/docs/Makefile
virtualenv-1.10.1/docs/news.rst
virtualenv-1.10.1/LICENSE.txt
virtualenv-1.10.1/MANIFEST.in
virtualenv-1.10.1/PKG-INFO
virtualenv-1.10.1/README.rst
virtualenv-1.10.1/scripts/
virtualenv-1.10.1/scripts/virtualenv
virtualenv-1.10.1/setup.cfg
virtualenv-1.10.1/setup.py
virtualenv-1.10.1/virtualenv.egg-info/
virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
virtualenv-1.10.1/virtualenv.py
virtualenv-1.10.1/virtualenv_embedded/
virtualenv-1.10.1/virtualenv_embedded/activate.bat
virtualenv-1.10.1/virtualenv_embedded/activate.csh
virtualenv-1.10.1/virtualenv_embedded/activate.fish
virtualenv-1.10.1/virtualenv_embedded/activate.ps1
virtualenv-1.10.1/virtualenv_embedded/activate.sh
virtualenv-1.10.1/virtualenv_embedded/activate_this.py
virtualenv-1.10.1/virtualenv_embedded/deactivate.bat
virtualenv-1.10.1/virtualenv_embedded/distutils-init.py
virtualenv-1.10.1/virtualenv_embedded/distutils.cfg
virtualenv-1.10.1/virtualenv_embedded/site.py
virtualenv-1.10.1/virtualenv_support/
virtualenv-1.10.1/virtualenv_support/__init__.py
virtualenv-1.10.1/virtualenv_support/pip-1.4.1.tar.gz
virtualenv-1.10.1/virtualenv_support/setuptools-0.9.8.tar.gz
+ touch 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-02-03 Thread Kevin Sweeney

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33530
---

Ship it!


Ship It!

- Kevin Sweeney


On Feb. 3, 2014, 3:43 p.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Feb. 3, 2014, 3:43 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-125 and aurora-80
 https://issues.apache.org/jira/browse/aurora-125
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   3rdparty/python/BUILD cc3e8c929e7b2b614a6ea3dbbb4e70d2f8d22586 
   Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
   examples/vagrant/provision-aurora-scheduler.sh 
 e48291a8673aeb169747486b7d50a54f5a56 
   examples/vagrant/provision-mesos-slave.sh 
 c2548a268e0fad7aa4f84d3fa48aea012007502b 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 virtualenv-1.10.1/docs/_theme/nature/
 virtualenv-1.10.1/docs/_theme/nature/static/
 virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
 virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
 virtualenv-1.10.1/docs/_theme/nature/theme.conf
 virtualenv-1.10.1/docs/conf.py
 virtualenv-1.10.1/docs/index.rst
 virtualenv-1.10.1/docs/make.bat
 virtualenv-1.10.1/docs/Makefile
 virtualenv-1.10.1/docs/news.rst
 virtualenv-1.10.1/LICENSE.txt
 virtualenv-1.10.1/MANIFEST.in
 virtualenv-1.10.1/PKG-INFO
 virtualenv-1.10.1/README.rst
 virtualenv-1.10.1/scripts/
 virtualenv-1.10.1/scripts/virtualenv
 virtualenv-1.10.1/setup.cfg
 virtualenv-1.10.1/setup.py
 virtualenv-1.10.1/virtualenv.egg-info/
 virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
 virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
 virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
 virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
 virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
 virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
 virtualenv-1.10.1/virtualenv.py
 virtualenv-1.10.1/virtualenv_embedded/
 virtualenv-1.10.1/virtualenv_embedded/activate.bat
 virtualenv-1.10.1/virtualenv_embedded/activate.csh
 virtualenv-1.10.1/virtualenv_embedded/activate.fish
 virtualenv-1.10.1/virtualenv_embedded/activate.ps1
 virtualenv-1.10.1/virtualenv_embedded/activate.sh
 virtualenv-1.10.1/virtualenv_embedded/activate_this.py
 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-01-31 Thread Mark Chu-Carroll

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33359
---


ping?

- Mark Chu-Carroll


On Jan. 30, 2014, 4:09 p.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Jan. 30, 2014, 4:09 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-125 and aurora-80
 https://issues.apache.org/jira/browse/aurora-125
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   3rdparty/python/BUILD 735a0631f2a6e5ae14ab6417fc5f6fac381a2742 
   Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
   examples/vagrant/provision-aurora-scheduler.sh 
 f96c2e79305aab882af9c2f8219b723fe8aab0eb 
   examples/vagrant/provision-dev-environment.sh 
 d8cc1fe9333cd607b0373d9cc49b3a71c683edcc 
   examples/vagrant/provision-mesos-slave.sh 
 5170b4076fc6e4424914493208c779f4494ed097 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 virtualenv-1.10.1/docs/_theme/nature/
 virtualenv-1.10.1/docs/_theme/nature/static/
 virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
 virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
 virtualenv-1.10.1/docs/_theme/nature/theme.conf
 virtualenv-1.10.1/docs/conf.py
 virtualenv-1.10.1/docs/index.rst
 virtualenv-1.10.1/docs/make.bat
 virtualenv-1.10.1/docs/Makefile
 virtualenv-1.10.1/docs/news.rst
 virtualenv-1.10.1/LICENSE.txt
 virtualenv-1.10.1/MANIFEST.in
 virtualenv-1.10.1/PKG-INFO
 virtualenv-1.10.1/README.rst
 virtualenv-1.10.1/scripts/
 virtualenv-1.10.1/scripts/virtualenv
 virtualenv-1.10.1/setup.cfg
 virtualenv-1.10.1/setup.py
 virtualenv-1.10.1/virtualenv.egg-info/
 virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
 virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
 virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
 virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
 virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
 virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
 virtualenv-1.10.1/virtualenv.py
 virtualenv-1.10.1/virtualenv_embedded/
 virtualenv-1.10.1/virtualenv_embedded/activate.bat
 virtualenv-1.10.1/virtualenv_embedded/activate.csh
 virtualenv-1.10.1/virtualenv_embedded/activate.fish
 virtualenv-1.10.1/virtualenv_embedded/activate.ps1
 virtualenv-1.10.1/virtualenv_embedded/activate.sh
 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-01-31 Thread Brian Wickman

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33364
---


the rest of the review lgtm


examples/vagrant/provision-aurora-scheduler.sh
https://reviews.apache.org/r/17457/#comment62807

slave_root should probably be /var/lib/mesos and slave_run_directory should 
probably be 'latest'

the executor path is synthesized in command_runner.py:


return posixpath.join(
'%(slave_root)s',
'slaves/*/frameworks/*/executors/%(executor_name)s/runs',
'%(slave_run_directory)s'
) % parameters



- Brian Wickman


On Jan. 30, 2014, 9:09 p.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Jan. 30, 2014, 9:09 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-125 and aurora-80
 https://issues.apache.org/jira/browse/aurora-125
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   3rdparty/python/BUILD 735a0631f2a6e5ae14ab6417fc5f6fac381a2742 
   Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
   examples/vagrant/provision-aurora-scheduler.sh 
 f96c2e79305aab882af9c2f8219b723fe8aab0eb 
   examples/vagrant/provision-dev-environment.sh 
 d8cc1fe9333cd607b0373d9cc49b3a71c683edcc 
   examples/vagrant/provision-mesos-slave.sh 
 5170b4076fc6e4424914493208c779f4494ed097 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 virtualenv-1.10.1/docs/_theme/nature/
 virtualenv-1.10.1/docs/_theme/nature/static/
 virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
 virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
 virtualenv-1.10.1/docs/_theme/nature/theme.conf
 virtualenv-1.10.1/docs/conf.py
 virtualenv-1.10.1/docs/index.rst
 virtualenv-1.10.1/docs/make.bat
 virtualenv-1.10.1/docs/Makefile
 virtualenv-1.10.1/docs/news.rst
 virtualenv-1.10.1/LICENSE.txt
 virtualenv-1.10.1/MANIFEST.in
 virtualenv-1.10.1/PKG-INFO
 virtualenv-1.10.1/README.rst
 virtualenv-1.10.1/scripts/
 virtualenv-1.10.1/scripts/virtualenv
 virtualenv-1.10.1/setup.cfg
 virtualenv-1.10.1/setup.py
 virtualenv-1.10.1/virtualenv.egg-info/
 virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
 virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
 virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-01-30 Thread Mark Chu-Carroll

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/
---

(Updated Jan. 30, 2014, 3:49 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

- Addressed review comments;
- Updated vagrant so that the test uses 2 slaves;
- Fixed glitches that caused aurora run to crash.


Bugs: aurora-80
https://issues.apache.org/jira/browse/aurora-80


Repository: aurora


Description
---

Got an initial version of the end-to-end test working. 

Currently creates a job, probes it via the scheduler pages,  updates it, and 
kills it. 
AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
this to use
aurora run and aurora ssh to probe the running tasks.


Diffs (updated)
-

  3rdparty/python/BUILD 735a0631f2a6e5ae14ab6417fc5f6fac381a2742 
  Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
  examples/vagrant/provision-aurora-scheduler.sh 
f96c2e79305aab882af9c2f8219b723fe8aab0eb 
  examples/vagrant/provision-dev-environment.sh 
d8cc1fe9333cd607b0373d9cc49b3a71c683edcc 
  examples/vagrant/provision-mesos-slave.sh 
5170b4076fc6e4424914493208c779f4494ed097 
  src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 

Diff: https://reviews.apache.org/r/17457/diff/


Testing
---

[sun-wukong incubator-aurora (e2e)]$ sh 
src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
Bringing machine 'devtools' up with 'virtualbox' provider...
Bringing machine 'zookeeper' up with 'virtualbox' provider...
Bringing machine 'mesos-master' up with 'virtualbox' provider...
Bringing machine 'mesos-slave' up with 'virtualbox' provider...
Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
[devtools] VirtualBox VM is already running.
[zookeeper] VirtualBox VM is already running.
[mesos-master] VirtualBox VM is already running.
[mesos-slave] VirtualBox VM is already running.
[aurora-scheduler] VirtualBox VM is already running.
Cloning into '/home/vagrant/test_dev'...
done.
Already on 'e2e'
Already up-to-date.
+ VIRTUALENV_VERSION=1.10.1
+ which python2.7
++ which python2.7
+ PY=/usr/bin/python2.7
+ echo 'Using /usr/bin/python2.7'
Using /usr/bin/python2.7
+ '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
+ pushd build-support
~/test_dev/build-support ~/test_dev
+ curl -O 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
+ tar zxvf virtualenv-1.10.1.tar.gz
virtualenv-1.10.1/
virtualenv-1.10.1/AUTHORS.txt
virtualenv-1.10.1/bin/
virtualenv-1.10.1/bin/rebuild-script.py
virtualenv-1.10.1/docs/
virtualenv-1.10.1/docs/_theme/
virtualenv-1.10.1/docs/_theme/nature/
virtualenv-1.10.1/docs/_theme/nature/static/
virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
virtualenv-1.10.1/docs/_theme/nature/theme.conf
virtualenv-1.10.1/docs/conf.py
virtualenv-1.10.1/docs/index.rst
virtualenv-1.10.1/docs/make.bat
virtualenv-1.10.1/docs/Makefile
virtualenv-1.10.1/docs/news.rst
virtualenv-1.10.1/LICENSE.txt
virtualenv-1.10.1/MANIFEST.in
virtualenv-1.10.1/PKG-INFO
virtualenv-1.10.1/README.rst
virtualenv-1.10.1/scripts/
virtualenv-1.10.1/scripts/virtualenv
virtualenv-1.10.1/setup.cfg
virtualenv-1.10.1/setup.py
virtualenv-1.10.1/virtualenv.egg-info/
virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
virtualenv-1.10.1/virtualenv.py
virtualenv-1.10.1/virtualenv_embedded/
virtualenv-1.10.1/virtualenv_embedded/activate.bat
virtualenv-1.10.1/virtualenv_embedded/activate.csh
virtualenv-1.10.1/virtualenv_embedded/activate.fish
virtualenv-1.10.1/virtualenv_embedded/activate.ps1
virtualenv-1.10.1/virtualenv_embedded/activate.sh
virtualenv-1.10.1/virtualenv_embedded/activate_this.py
virtualenv-1.10.1/virtualenv_embedded/deactivate.bat
virtualenv-1.10.1/virtualenv_embedded/distutils-init.py
virtualenv-1.10.1/virtualenv_embedded/distutils.cfg
virtualenv-1.10.1/virtualenv_embedded/site.py
virtualenv-1.10.1/virtualenv_support/
virtualenv-1.10.1/virtualenv_support/__init__.py

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-01-30 Thread Mark Chu-Carroll

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/
---

(Updated Jan. 30, 2014, 4:09 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

Updated issues link.


Bugs: aurora-125 and aurora-80
https://issues.apache.org/jira/browse/aurora-125
https://issues.apache.org/jira/browse/aurora-80


Repository: aurora


Description
---

Got an initial version of the end-to-end test working. 

Currently creates a job, probes it via the scheduler pages,  updates it, and 
kills it. 
AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
this to use
aurora run and aurora ssh to probe the running tasks.


Diffs
-

  3rdparty/python/BUILD 735a0631f2a6e5ae14ab6417fc5f6fac381a2742 
  Vagrantfile 98dcf439aed53da5e78440de04562baf63c7272f 
  examples/vagrant/provision-aurora-scheduler.sh 
f96c2e79305aab882af9c2f8219b723fe8aab0eb 
  examples/vagrant/provision-dev-environment.sh 
d8cc1fe9333cd607b0373d9cc49b3a71c683edcc 
  examples/vagrant/provision-mesos-slave.sh 
5170b4076fc6e4424914493208c779f4494ed097 
  src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
  src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 

Diff: https://reviews.apache.org/r/17457/diff/


Testing
---

[sun-wukong incubator-aurora (e2e)]$ sh 
src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
Bringing machine 'devtools' up with 'virtualbox' provider...
Bringing machine 'zookeeper' up with 'virtualbox' provider...
Bringing machine 'mesos-master' up with 'virtualbox' provider...
Bringing machine 'mesos-slave' up with 'virtualbox' provider...
Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
[devtools] VirtualBox VM is already running.
[zookeeper] VirtualBox VM is already running.
[mesos-master] VirtualBox VM is already running.
[mesos-slave] VirtualBox VM is already running.
[aurora-scheduler] VirtualBox VM is already running.
Cloning into '/home/vagrant/test_dev'...
done.
Already on 'e2e'
Already up-to-date.
+ VIRTUALENV_VERSION=1.10.1
+ which python2.7
++ which python2.7
+ PY=/usr/bin/python2.7
+ echo 'Using /usr/bin/python2.7'
Using /usr/bin/python2.7
+ '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
+ pushd build-support
~/test_dev/build-support ~/test_dev
+ curl -O 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
+ tar zxvf virtualenv-1.10.1.tar.gz
virtualenv-1.10.1/
virtualenv-1.10.1/AUTHORS.txt
virtualenv-1.10.1/bin/
virtualenv-1.10.1/bin/rebuild-script.py
virtualenv-1.10.1/docs/
virtualenv-1.10.1/docs/_theme/
virtualenv-1.10.1/docs/_theme/nature/
virtualenv-1.10.1/docs/_theme/nature/static/
virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
virtualenv-1.10.1/docs/_theme/nature/theme.conf
virtualenv-1.10.1/docs/conf.py
virtualenv-1.10.1/docs/index.rst
virtualenv-1.10.1/docs/make.bat
virtualenv-1.10.1/docs/Makefile
virtualenv-1.10.1/docs/news.rst
virtualenv-1.10.1/LICENSE.txt
virtualenv-1.10.1/MANIFEST.in
virtualenv-1.10.1/PKG-INFO
virtualenv-1.10.1/README.rst
virtualenv-1.10.1/scripts/
virtualenv-1.10.1/scripts/virtualenv
virtualenv-1.10.1/setup.cfg
virtualenv-1.10.1/setup.py
virtualenv-1.10.1/virtualenv.egg-info/
virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
virtualenv-1.10.1/virtualenv.py
virtualenv-1.10.1/virtualenv_embedded/
virtualenv-1.10.1/virtualenv_embedded/activate.bat
virtualenv-1.10.1/virtualenv_embedded/activate.csh
virtualenv-1.10.1/virtualenv_embedded/activate.fish
virtualenv-1.10.1/virtualenv_embedded/activate.ps1
virtualenv-1.10.1/virtualenv_embedded/activate.sh
virtualenv-1.10.1/virtualenv_embedded/activate_this.py
virtualenv-1.10.1/virtualenv_embedded/deactivate.bat
virtualenv-1.10.1/virtualenv_embedded/distutils-init.py
virtualenv-1.10.1/virtualenv_embedded/distutils.cfg
virtualenv-1.10.1/virtualenv_embedded/site.py
virtualenv-1.10.1/virtualenv_support/
virtualenv-1.10.1/virtualenv_support/__init__.py
virtualenv-1.10.1/virtualenv_support/pip-1.4.1.tar.gz

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-01-29 Thread Jonathan Boulle

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review33122
---



src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
https://reviews.apache.org/r/17457/#comment62404

to ensure this is a sane environment, git -fdx? 
and/or rm -fr ~/test_dev; git clone --depth 1 --branch ${branch}



src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
https://reviews.apache.org/r/17457/#comment62405

what's broken? add TODO?


- Jonathan Boulle


On Jan. 28, 2014, 4:24 p.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Jan. 28, 2014, 4:24 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-80
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 virtualenv-1.10.1/docs/_theme/nature/
 virtualenv-1.10.1/docs/_theme/nature/static/
 virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
 virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
 virtualenv-1.10.1/docs/_theme/nature/theme.conf
 virtualenv-1.10.1/docs/conf.py
 virtualenv-1.10.1/docs/index.rst
 virtualenv-1.10.1/docs/make.bat
 virtualenv-1.10.1/docs/Makefile
 virtualenv-1.10.1/docs/news.rst
 virtualenv-1.10.1/LICENSE.txt
 virtualenv-1.10.1/MANIFEST.in
 virtualenv-1.10.1/PKG-INFO
 virtualenv-1.10.1/README.rst
 virtualenv-1.10.1/scripts/
 virtualenv-1.10.1/scripts/virtualenv
 virtualenv-1.10.1/setup.cfg
 virtualenv-1.10.1/setup.py
 virtualenv-1.10.1/virtualenv.egg-info/
 virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
 virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
 virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
 virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
 virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
 virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
 virtualenv-1.10.1/virtualenv.py
 virtualenv-1.10.1/virtualenv_embedded/
 virtualenv-1.10.1/virtualenv_embedded/activate.bat
 virtualenv-1.10.1/virtualenv_embedded/activate.csh
 virtualenv-1.10.1/virtualenv_embedded/activate.fish
 virtualenv-1.10.1/virtualenv_embedded/activate.ps1
 virtualenv-1.10.1/virtualenv_embedded/activate.sh
 virtualenv-1.10.1/virtualenv_embedded/activate_this.py
 virtualenv-1.10.1/virtualenv_embedded/deactivate.bat
 

Re: Review Request 17457: Initial version of an end-to-end test using vagrant

2014-01-28 Thread Jake Farrell

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17457/#review32997
---



src/test/sh/org/apache/aurora/e2e/flask/BUILD
https://reviews.apache.org/r/17457/#comment62126

requirements moved to global location in AURORA-30 to 3rdparty/python/BUILD


- Jake Farrell


On Jan. 28, 2014, 4:24 p.m., Mark Chu-Carroll wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/17457/
 ---
 
 (Updated Jan. 28, 2014, 4:24 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: aurora-80
 https://issues.apache.org/jira/browse/aurora-80
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Got an initial version of the end-to-end test working. 
 
 Currently creates a job, probes it via the scheduler pages,  updates it, and 
 kills it. 
 AURORA-127 will extend this to run multiple instances; AURORA-125 will extend 
 this to use
 aurora run and aurora ssh to probe the running tasks.
 
 
 Diffs
 -
 
   src/test/sh/org/apache/aurora/e2e/flask/BUILD PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.aurora PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example.py PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora 
 PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_common.sh PRE-CREATION 
   src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/17457/diff/
 
 
 Testing
 ---
 
 [sun-wukong incubator-aurora (e2e)]$ sh 
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
 Bringing machine 'devtools' up with 'virtualbox' provider...
 Bringing machine 'zookeeper' up with 'virtualbox' provider...
 Bringing machine 'mesos-master' up with 'virtualbox' provider...
 Bringing machine 'mesos-slave' up with 'virtualbox' provider...
 Bringing machine 'aurora-scheduler' up with 'virtualbox' provider...
 [devtools] VirtualBox VM is already running.
 [zookeeper] VirtualBox VM is already running.
 [mesos-master] VirtualBox VM is already running.
 [mesos-slave] VirtualBox VM is already running.
 [aurora-scheduler] VirtualBox VM is already running.
 Cloning into '/home/vagrant/test_dev'...
 done.
 Already on 'e2e'
 Already up-to-date.
 + VIRTUALENV_VERSION=1.10.1
 + which python2.7
 ++ which python2.7
 + PY=/usr/bin/python2.7
 + echo 'Using /usr/bin/python2.7'
 Using /usr/bin/python2.7
 + '[' -f build-support/virtualenv-1.10.1/BOOTSTRAPPED ']'
 + pushd build-support
 ~/test_dev/build-support ~/test_dev
 + curl -O 
 https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
   % Total% Received % Xferd  Average Speed   TimeTime Time  
 Current
  Dload  Upload   Total   SpentLeft  Speed
 100 1294k  100 1294k0 0  3261k  0 --:--:-- --:--:-- --:--:-- 3817k
 + tar zxvf virtualenv-1.10.1.tar.gz
 virtualenv-1.10.1/
 virtualenv-1.10.1/AUTHORS.txt
 virtualenv-1.10.1/bin/
 virtualenv-1.10.1/bin/rebuild-script.py
 virtualenv-1.10.1/docs/
 virtualenv-1.10.1/docs/_theme/
 virtualenv-1.10.1/docs/_theme/nature/
 virtualenv-1.10.1/docs/_theme/nature/static/
 virtualenv-1.10.1/docs/_theme/nature/static/nature.css_t
 virtualenv-1.10.1/docs/_theme/nature/static/pygments.css
 virtualenv-1.10.1/docs/_theme/nature/theme.conf
 virtualenv-1.10.1/docs/conf.py
 virtualenv-1.10.1/docs/index.rst
 virtualenv-1.10.1/docs/make.bat
 virtualenv-1.10.1/docs/Makefile
 virtualenv-1.10.1/docs/news.rst
 virtualenv-1.10.1/LICENSE.txt
 virtualenv-1.10.1/MANIFEST.in
 virtualenv-1.10.1/PKG-INFO
 virtualenv-1.10.1/README.rst
 virtualenv-1.10.1/scripts/
 virtualenv-1.10.1/scripts/virtualenv
 virtualenv-1.10.1/setup.cfg
 virtualenv-1.10.1/setup.py
 virtualenv-1.10.1/virtualenv.egg-info/
 virtualenv-1.10.1/virtualenv.egg-info/dependency_links.txt
 virtualenv-1.10.1/virtualenv.egg-info/entry_points.txt
 virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
 virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
 virtualenv-1.10.1/virtualenv.egg-info/SOURCES.txt
 virtualenv-1.10.1/virtualenv.egg-info/top_level.txt
 virtualenv-1.10.1/virtualenv.py
 virtualenv-1.10.1/virtualenv_embedded/
 virtualenv-1.10.1/virtualenv_embedded/activate.bat
 virtualenv-1.10.1/virtualenv_embedded/activate.csh
 virtualenv-1.10.1/virtualenv_embedded/activate.fish
 virtualenv-1.10.1/virtualenv_embedded/activate.ps1
 virtualenv-1.10.1/virtualenv_embedded/activate.sh
 virtualenv-1.10.1/virtualenv_embedded/activate_this.py
 virtualenv-1.10.1/virtualenv_embedded/deactivate.bat
 virtualenv-1.10.1/virtualenv_embedded/distutils-init.py
 virtualenv-1.10.1/virtualenv_embedded/distutils.cfg
 virtualenv-1.10.1/virtualenv_embedded/site.py
 virtualenv-1.10.1/virtualenv_support/