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

2014-02-04 Thread Mark Chu-Carroll
Pushed.


On Mon, Feb 3, 2014 at 6:48 PM, Kevin Sweeney  wrote:

>This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17457/
>
> Ship it!
>
> Ship It!
>
>
> - Kevin Sweeney
>
> On February 3rd, 2014, 3:43 p.m. PST, Mark Chu-Carroll wrote:
>   Review request for Aurora, Bill Farner and Brian Wickman.
> By Mark Chu-Carroll.
>
> *Updated Feb. 3, 2014, 3:43 p.m.*
>  *Bugs: * aurora-125 ,
> 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.
>
>   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 virtualenv-1.10.1/BOOTSTRAPPED
> ~/test_dev
> + popd
> + exec /usr/bin/python2.7 build-support/virtualenv-1.10.1/virtualenv.py 
> /tmp/pants.BqUkIw/tcp
> New python executable in /tmp/pants.BqUkIw/tcp/bin/python2.7
> Also creating executable in /tmp/pants.BqUkIw/tcp/bin/python
> Installing 
> Setuptools..done.
> Installing 
> Pip..

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/vir

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 v

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/#review33523
---


Almost there, just one issue remaining.


examples/vagrant/provision-dev-environment.sh


kill eol whitespace



examples/vagrant/provision-mesos-slave.sh


Escape exit status with \$? for lazy interpolation.


- Kevin Sweeney


On Feb. 3, 2014, 2:55 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, 2:55 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
> virtualenv-1.10.1/virtualenv.egg-info/not-zip-safe
> virtualenv-1.10.1/virtualenv.egg-info/PKG-INFO
> virtualenv-1.10.1/vir

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, 5:55 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

Addressed more 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
virtualenv-1.10.1/virtualenv_support/pip-1

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

2014-02-03 Thread Bill Farner


> On Feb. 3, 2014, 8:15 p.m., Mark Chu-Carroll wrote:
> > src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora, line 
> > 32
> > 
> >
> > Really? Shouldn't there be a newline at the end of the last line?

The file should indeed end with a newline, but reviewboard rendering a blank 
line at the end ~always means there's two newlines at the end IIRC.


- Bill


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


On Feb. 3, 2014, 8: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, 8: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/
> 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
> virt

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
> > 
> >
> > 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 "", line 1, in 
> > 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 cc3e8c929e7b2b614a6

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
> > 
> >
> > 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 "", line 1, in 
> > 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/

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/#review33510
---



examples/vagrant/provision-dev-environment.sh


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 "", line 1, in 
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.


- Kevin Sweeney


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 
>   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

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, 2:31 p.m., Kevin Sweeney wrote:
> > examples/vagrant/provision-mesos-slave.sh, line 9
> > 
> >
> > Rather than using sed here you can use interpolation as follows:
> > 
> > eager expansion with $SLAVE_IP_ADDRESS
> > lazy expansion with \$?
> 
> Mark Chu-Carroll wrote:
> Interpolation doesn't work in a here doc in a script. Try putting the 
> following into a shell script file:
> 
> export SLAVE_IP_ADDRESS="INTERPOLATE"
> cat >testfile <<"EOF"
> #!/bin/bash
> export 
> LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server
> (
>   while true
>   do
> # TODO(ksweeney): Scheduler assumes 'rack' and 'host' are present. 
> Make them optional.
> /usr/local/sbin/mesos-slave 
> --master=zk://192.168.33.2:2181/mesos/master --ip=$SLAVE_IP_ADDRESS \
>   --attributes='host:$SLAVE_IP_ADDRESS;rack:a' 
> --resources="cpus:4;mem:1024;disk:2"
> echo "Master exited with $?, restarting."
>   done
> ) & disown
> EOF
> 
> 
> -- Running that, and then looking in testfile:
> 
> 
> 
> #!/bin/bash
> export 
> LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server
> (
>   while true
>   do
> # TODO(ksweeney): Scheduler assumes 'rack' and 'host' are present. 
> Make them optional.
> /usr/local/sbin/mesos-slave 
> --master=zk://192.168.33.2:2181/mesos/master --ip=$SLAVE_IP_ADDRESS \
>   --attributes='host:$SLAVE_IP_ADDRESS;rack:a' 
> --resources="cpus:4;mem:1024;disk:2"
> echo "Master exited with $?, restarting."
>   done
> ) & disown
>
> 
> Kevin Sweeney wrote:
> Sorry I forgot to mention - "EOF" should be changed to just EOF.
> 
> From [1], "Quoting or escaping the 'limit string' at the head of a here 
> document disables parameter substitution within its body."
> 
> [1] http://tldp.org/LDP/abs/html/here-docs.html

God, how I hate shell programming! :-)


- Mark


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


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
> + 

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

2014-02-03 Thread Kevin Sweeney


> On Feb. 3, 2014, 11:31 a.m., Kevin Sweeney wrote:
> > examples/vagrant/provision-mesos-slave.sh, line 9
> > 
> >
> > Rather than using sed here you can use interpolation as follows:
> > 
> > eager expansion with $SLAVE_IP_ADDRESS
> > lazy expansion with \$?
> 
> Mark Chu-Carroll wrote:
> Interpolation doesn't work in a here doc in a script. Try putting the 
> following into a shell script file:
> 
> export SLAVE_IP_ADDRESS="INTERPOLATE"
> cat >testfile <<"EOF"
> #!/bin/bash
> export 
> LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server
> (
>   while true
>   do
> # TODO(ksweeney): Scheduler assumes 'rack' and 'host' are present. 
> Make them optional.
> /usr/local/sbin/mesos-slave 
> --master=zk://192.168.33.2:2181/mesos/master --ip=$SLAVE_IP_ADDRESS \
>   --attributes='host:$SLAVE_IP_ADDRESS;rack:a' 
> --resources="cpus:4;mem:1024;disk:2"
> echo "Master exited with $?, restarting."
>   done
> ) & disown
> EOF
> 
> 
> -- Running that, and then looking in testfile:
> 
> 
> 
> #!/bin/bash
> export 
> LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server
> (
>   while true
>   do
> # TODO(ksweeney): Scheduler assumes 'rack' and 'host' are present. 
> Make them optional.
> /usr/local/sbin/mesos-slave 
> --master=zk://192.168.33.2:2181/mesos/master --ip=$SLAVE_IP_ADDRESS \
>   --attributes='host:$SLAVE_IP_ADDRESS;rack:a' 
> --resources="cpus:4;mem:1024;disk:2"
> echo "Master exited with $?, restarting."
>   done
> ) & disown
>

Sorry I forgot to mention - "EOF" should be changed to just EOF.

>From [1], "Quoting or escaping the 'limit string' at the head of a here 
>document disables parameter substitution within its body."

[1] http://tldp.org/LDP/abs/html/here-docs.html


- Kevin


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


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 
>   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/pyt

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, 2:31 p.m., Kevin Sweeney wrote:
> > examples/vagrant/provision-mesos-slave.sh, line 9
> > 
> >
> > Rather than using sed here you can use interpolation as follows:
> > 
> > eager expansion with $SLAVE_IP_ADDRESS
> > lazy expansion with \$?

Interpolation doesn't work in a here doc in a script. Try putting the following 
into a shell script file:

export SLAVE_IP_ADDRESS="INTERPOLATE"
cat >testfile <<"EOF"
#!/bin/bash
export LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server
(
  while true
  do
# TODO(ksweeney): Scheduler assumes 'rack' and 'host' are present. Make 
them optional.
/usr/local/sbin/mesos-slave --master=zk://192.168.33.2:2181/mesos/master 
--ip=$SLAVE_IP_ADDRESS \
  --attributes='host:$SLAVE_IP_ADDRESS;rack:a' 
--resources="cpus:4;mem:1024;disk:2"
echo "Master exited with $?, restarting."
  done
) & disown
EOF


-- Running that, and then looking in testfile:


#!/bin/bash
export LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server
(
  while true
  do
# TODO(ksweeney): Scheduler assumes 'rack' and 'host' are present. Make 
them optional.
/usr/local/sbin/mesos-slave --master=zk://192.168.33.2:2181/mesos/master 
--ip=$SLAVE_IP_ADDRESS \
  --attributes='host:$SLAVE_IP_ADDRESS;rack:a' 
--resources="cpus:4;mem:1024;disk:2"
echo "Master exited with $?, restarting."
  done
) & disown


- Mark


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


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

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
virtualenv-1.10.1/virtualenv_support/pip-1.4.1.ta

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/#review33490
---



src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora


Really? Shouldn't there be a newline at the end of the last line?


- 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
> v

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


Revert. Looks like you might need to rebase?



examples/vagrant/provision-mesos-slave.sh


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
> v

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


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

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/#review33474
---



Vagrantfile


can you name these like mesos-slave1 and mesos-slave2? It's likely we'll 
want to perform operations on both frequently.



examples/vagrant/provision-dev-environment.sh


Why is python-setuptools being included here? The version that ships with 
ubuntu12.04 is old and buggy.


- 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/no

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/#review33453
---

Ship it!


LGTM mod formatting nits

- 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
> 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/v

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


extra newline



src/test/sh/org/apache/aurora/e2e/flask/flask_example_updated.aurora


extra newline



src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh


Please limit to 100 cols throughout



src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh


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

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
virtualenv-1.10.1/virtualenv_support

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


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

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/act

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
virtuale

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
virtualenv

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


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


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
> v

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


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/vi

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

2014-01-28 Thread Mark Chu-Carroll

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

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/
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 virtualenv-1.10.1/BOOTSTRAPPED
~/test_dev
+ popd
+ exec /usr/bin/python2.7 build-support/virtualenv-1.10.1/virtualenv.py 
/tmp/pants.BqUkIw/tcp
New python executable in /tmp/pants.BqUkIw/tcp/bin/python2.7
Also creating executable in /tmp/pants.BqUkIw/tcp/bin/python
Installing 
Setuptools