cloudmesh / client

Deprecated: Version 3 of cloudmesh is a light weight cloud client to manage virtual clusters
http://cloudmesh.github.io/client
Other
3 stars 12 forks source link

travis failure #228

Closed laszewsk closed 8 years ago

laszewsk commented 8 years ago

Installed /home/travis/virtualenv/python2.7_with_system_site_packages/lib/python2.7/site-packages/pluggy-0.3.1-py2.7.egg error: requests 2.8.1 is installed but requests>=2.10.0 is required by set(['python-keystoneclient', 'keystoneauth1'])

badmutex commented 8 years ago

Which travis build is this coming from?

227 should solve this.

laszewsk commented 8 years ago

I replaced setup.py with pip install, but it still fails

fugangwang commented 8 years ago

The latest build #1921 failed with this error at the end. I have fixed this in the dev branch (not yet merged to master).

ERROR: tests.cm_basic.test_cloud_model.Test_cloud_model.test_002

Traceback (most recent call last): File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/travis/build/cloudmesh/client/client/tests/cm_basic/test_cloud_model.py", line 206, in test_002 result = self.run("cm refresh off") File "/home/travis/build/cloudmesh/client/client/tests/cm_basic/test_cloud_model.py", line 47, in run result = Shell.execute(shell_command, args) File "/home/travis/build/cloudmesh/client/client/cloudmesh_client/common/Shell.py", line 357, in execute if result is None: UnboundLocalError: local variable 'result' referenced before assignment


Ran 24 tests in 2.570s

FAILED (errors=2)  travis_time:end:0f5ac7c4:start=1464301918216925591,finish=1464301921828609635,duration=3611684044  The command "nosetests -v --nocapture tests/cm_basic" exited with 1.

Done. Your build exited with 1.

On May 26, 2016, at 6:34 PM, Gregor von Laszewski notifications@github.com wrote:

I replaced setup.py with pip install, but it still fails

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/client/issues/228#issuecomment-222014421, or mute the thread https://github.com/notifications/unsubscribe/ABS9UZyXdsWdN55mCW8iWPwkXyElQsWaks5qFh_tgaJpZM4ImdX5.

fugangwang commented 8 years ago

Although the version conflict error seems still there as well based on the log:

https://s3.amazonaws.com/archive.travis-ci.org/jobs/133243156/log.txt

$ cm version

<>Traceback (most recent call last):

<>……

<>pkg_resources.ContextualVersionConflict: (requests 2.8.1 (/home/travis/virtualenv/python2.7_with_system_site_packages/lib/python2.7/site-packages), Requirement.parse('requests>=2.10.0'), set(['python-keystoneclient', 'keystoneauth1']))

<> <> <>The command "cm version" exited with 1.

On May 26, 2016, at 7:52 PM, kevinwangfg@gmail.com wrote:

The latest build #1921 failed with this error at the end. I have fixed this in the dev branch (not yet merged to master).

ERROR: tests.cm_basic.test_cloud_model.Test_cloud_model.test_002

Traceback (most recent call last): File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/travis/build/cloudmesh/client/client/tests/cm_basic/test_cloud_model.py", line 206, in test_002 result = self.run("cm refresh off") File "/home/travis/build/cloudmesh/client/client/tests/cm_basic/test_cloud_model.py", line 47, in run result = Shell.execute(shell_command, args) File "/home/travis/build/cloudmesh/client/client/cloudmesh_client/common/Shell.py", line 357, in execute if result is None: UnboundLocalError: local variable 'result' referenced before assignment


Ran 24 tests in 2.570s

FAILED (errors=2)  travis_time:end:0f5ac7c4:start=1464301918216925591,finish=1464301921828609635,duration=3611684044  The command "nosetests -v --nocapture tests/cm_basic" exited with 1.

Done. Your build exited with 1.

On May 26, 2016, at 6:34 PM, Gregor von Laszewski <notifications@github.com mailto:notifications@github.com> wrote:

I replaced setup.py with pip install, but it still fails

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/client/issues/228#issuecomment-222014421, or mute the thread https://github.com/notifications/unsubscribe/ABS9UZyXdsWdN55mCW8iWPwkXyElQsWaks5qFh_tgaJpZM4ImdX5.

laszewsk commented 8 years ago

I am actually confused about this as Badi mentioned he fixed this and I think it shows up also in dev and not just master.

On May 26, 2016, at 7:56 PM, Fugang Wang notifications@github.com wrote:

Although the version conflict error seems still there as well based on the log:

https://s3.amazonaws.com/archive.travis-ci.org/jobs/133243156/log.txt

$ cm version

<>Traceback (most recent call last):

<>……

<>pkg_resources.ContextualVersionConflict: (requests 2.8.1 (/home/travis/virtualenv/python2.7_with_system_site_packages/lib/python2.7/site-packages), Requirement.parse('requests>=2.10.0'), set(['python-keystoneclient', 'keystoneauth1']))

<> <> <>The command "cm version" exited with 1.

On May 26, 2016, at 7:52 PM, kevinwangfg@gmail.com wrote:

The latest build #1921 failed with this error at the end. I have fixed this in the dev branch (not yet merged to master).

ERROR: tests.cm_basic.test_cloud_model.Test_cloud_model.test_002

Traceback (most recent call last): File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/travis/build/cloudmesh/client/client/tests/cm_basic/test_cloud_model.py", line 206, in test_002 result = self.run("cm refresh off") File "/home/travis/build/cloudmesh/client/client/tests/cm_basic/test_cloud_model.py", line 47, in run result = Shell.execute(shell_command, args) File "/home/travis/build/cloudmesh/client/client/cloudmesh_client/common/Shell.py", line 357, in execute if result is None: UnboundLocalError: local variable 'result' referenced before assignment


Ran 24 tests in 2.570s

FAILED (errors=2)  travis_time:end:0f5ac7c4:start=1464301918216925591,finish=1464301921828609635,duration=3611684044  The command "nosetests -v --nocapture tests/cm_basic" exited with 1.

Done. Your build exited with 1.

On May 26, 2016, at 6:34 PM, Gregor von Laszewski <notifications@github.com mailto:notifications@github.com> wrote:

I replaced setup.py with pip install, but it still fails

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/client/issues/228#issuecomment-222014421, or mute the thread https://github.com/notifications/unsubscribe/ABS9UZyXdsWdN55mCW8iWPwkXyElQsWaks5qFh_tgaJpZM4ImdX5.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/client/issues/228#issuecomment-222027178, or mute the thread https://github.com/notifications/unsubscribe/AAZ8Vd3NUBj_aVTSyKj-Nn9i-F7vNTwKks5qFjNDgaJpZM4ImdX5.

fugangwang commented 8 years ago

For the latest code in dev branch I can run both ‘pip install .’ and ‘python setup.py install’ without seeing any issue. In either case ‘cm version’ runs correctly as well.

For the latest code in master I see the same result - no issue at all.

So it must be some configuration in travis that caused the error.

On May 26, 2016, at 7:58 PM, Gregor von Laszewski notifications@github.com wrote:

I am actually confused about this as Badi mentioned he fixed this and I think it shows up also in dev and not just master.

On May 26, 2016, at 7:56 PM, Fugang Wang notifications@github.com wrote:

Although the version conflict error seems still there as well based on the log:

https://s3.amazonaws.com/archive.travis-ci.org/jobs/133243156/log.txt

$ cm version

<>Traceback (most recent call last):

<>……

<>pkg_resources.ContextualVersionConflict: (requests 2.8.1 (/home/travis/virtualenv/python2.7_with_system_site_packages/lib/python2.7/site-packages), Requirement.parse('requests>=2.10.0'), set(['python-keystoneclient', 'keystoneauth1']))

<> <> <>The command "cm version" exited with 1.

On May 26, 2016, at 7:52 PM, kevinwangfg@gmail.com wrote:

The latest build #1921 failed with this error at the end. I have fixed this in the dev branch (not yet merged to master).

ERROR: tests.cm_basic.test_cloud_model.Test_cloud_model.test_002

Traceback (most recent call last): File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/travis/build/cloudmesh/client/client/tests/cm_basic/test_cloud_model.py", line 206, in test_002 result = self.run("cm refresh off") File "/home/travis/build/cloudmesh/client/client/tests/cm_basic/test_cloud_model.py", line 47, in run result = Shell.execute(shell_command, args) File "/home/travis/build/cloudmesh/client/client/cloudmesh_client/common/Shell.py", line 357, in execute if result is None: UnboundLocalError: local variable 'result' referenced before assignment


Ran 24 tests in 2.570s

FAILED (errors=2)  travis_time:end:0f5ac7c4:start=1464301918216925591,finish=1464301921828609635,duration=3611684044  The command "nosetests -v --nocapture tests/cm_basic" exited with 1.

Done. Your build exited with 1.

On May 26, 2016, at 6:34 PM, Gregor von Laszewski <notifications@github.com mailto:notifications@github.com> wrote:

I replaced setup.py with pip install, but it still fails

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/client/issues/228#issuecomment-222014421, or mute the thread https://github.com/notifications/unsubscribe/ABS9UZyXdsWdN55mCW8iWPwkXyElQsWaks5qFh_tgaJpZM4ImdX5.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/client/issues/228#issuecomment-222027178, or mute the thread https://github.com/notifications/unsubscribe/AAZ8Vd3NUBj_aVTSyKj-Nn9i-F7vNTwKks5qFjNDgaJpZM4ImdX5.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cloudmesh/client/issues/228#issuecomment-222027343, or mute the thread https://github.com/notifications/unsubscribe/ABS9UTz_sRL6Kttlc5MYW3_AKyfvLNudks5qFjOZgaJpZM4ImdX5.

badmutex commented 8 years ago

Build #1922 is passing so I'm going to close this.