Skip to content

Instantly share code, notes, and snippets.

from globusonline.graph import data_store
import globusonline.graph
from globusonline.graph.request import TestRequest
from globusonline.graph.users import resources as users
from globusonline.graph import groups
from ConfigParser import RawConfigParser
from sys import argv
# Setup:
config = RawConfigParser()
from globusonline.graph import data_store
import globusonline.graph
from globusonline.graph.request import TestRequest
from globusonline.graph.users import resources as users
from globusonline.graph import groups
from ConfigParser import RawConfigParser
from sys import argv
# Setup:
config = RawConfigParser()
Doctest: globusonline.graph.tests.user_rest_test.TestRequest ... ok
test_create_user_json (globusonline.graph.tests.user_rest_test.TestUserGroup) ... FAIL
test_create_user_json_birn (globusonline.graph.tests.user_rest_test.TestUserGroup) ... FAIL
test_create_user_json_blacklisted_username (globusonline.graph.tests.user_rest_test.TestUserGroup) ... ok
test_create_user_json_invalid_username (globusonline.graph.tests.user_rest_test.TestUserGroup) ... ok
test_create_user_missing_params (globusonline.graph.tests.user_rest_test.TestUserGroup) ... ok
test_delete_user_and_creds (globusonline.graph.tests.user_rest_test.TestUserGroup) ... ok
test_get_policies_for_user (globusonline.graph.tests.user_rest_test.TestUserGroup) ... ok
test_get_user (globusonline.graph.tests.user_rest_test.TestUserGroup) ... ok
test_get_user_groups (globusonline.graph.tests.user_rest_test.TestUserGroup) ... ok
======================================================================
FAIL: test_add_openid (globusonline.graph.tests.openid_tests.AddOpenIdTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mattias/virtualenv/globusonline-graph/globusonline/graph/tests/openid_tests.py", line 90, in test_add_openid
self.failUnlessEqual(3, auth_tkt_count)
AssertionError: 3 != 2
-------------------- >> begin captured logging << --------------------
root: INFO: Creating DataStore
initializer: INFO:
======================================================================
ERROR: test_migrate_birn_failure (globusonline.graph.tests.birn_migrate_account_test.TestBirnMigration)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mattias/temp/globusonline-graph/globusonline/graph/tests/birn_migrate_account_test.py", line 48, in setUp
fixture_loader.instantiate_fixtures(self.store, self.crypto, fixture_dir)
File "/home/mattias/temp/globusonline-graph/globusonline/graph/test_utils/fixture_loader.py", line 63, in instantiate_fixtures
instantiate_fixtures_from_rdf(store, fixture_dir)
File "/home/mattias/temp/globusonline-graph/globusonline/graph/test_utils/fixture_loader.py", line 75, in instantiate_fixtures_from_rdf
graph.store.flush_cache()
Generated at Mon Feb 27 19:22:29 +0000 2012
Chef::Exceptions::FileNotFound: deploy_revision[/usr/share/globusonline] (globusonline::graph line 117) had an error: Cannot create directory config: File exists - /usr/share/globusonline/releases/76117938cc6521083bf3fd1bf64561c0ed7e1a15/config
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/provider/deploy.rb:250:in `link_tempfiles_to_current_release'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/provider/deploy.rb:246:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/provider/deploy.rb:246:in `link_tempfiles_to_current_release'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/provider/deploy.rb:161:in `symlink'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/provider/deploy.rb:116:in `deploy'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/provider/deploy.rb:79:in `action_force_deploy'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/resource.rb:417:in `send'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bi
Installed /usr/share/globusonline/releases/c513c1cbfd86dfe71540ec539487a05c752c6f2a/lib/python2.6/site-packages/globusonline-RELEASE_2011_06_06-py2.6.egg
Processing dependencies for globusonline==RELEASE-2011-06-06
Finished processing dependencies for globusonline==RELEASE-2011-06-06
STDERR: Traceback (most recent call last):
File "/usr/share/globusonline/releases/c513c1cbfd86dfe71540ec539487a05c752c6f2a/bin/create_column_families", line 5, in <module>
pkg_resources.run_script('globusonline==RELEASE-2011-06-06', 'create_column_families')
File "/usr/share/globusonline/releases/c513c1cbfd86dfe71540ec539487a05c752c6f2a/lib/python2.6/site-packages/pkg_resources.py", line 467, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/share/globusonline/releases/c513c1cbfd86dfe71540ec539487a05c752c6f2a/lib/python2.6/site-packages/pkg_resources.py", line 1200, in run_script
execfile(script_filename, namespace, namespace)
[Fri, 02 Mar 2012 22:17:07 +0100] ERROR: template[/etc/weave/config.json] (gostpy::default line 47) has had an error
[Fri, 02 Mar 2012 22:17:07 +0100] ERROR: template[/etc/weave/config.json] (/chef-repo/cookbooks/gostpy/recipes/default.rb:47:in `from_file') had an error:
template[/etc/weave/config.json] (gostpy::default line 47) had an error: Chef::Exceptions::UserIDNotFound: cannot determine user id for 'gostpy', does the user exist on this system?
/var/lib/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/file_access_control.rb:82:in `target_uid'
/var/lib/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/file_access_control.rb:86:in `set_owner'
/var/lib/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/file_access_control.rb:55:in `set_all'
/var/lib/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/provider/template.rb:89:in `set_all_access_controls'
/var/lib/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/provider/template.rb:46:in `action_create'
/var/lib/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/template.rb:48:in `render_template'
/usr
PYTHONPATH=/home/mattias/go_repos2/globusonline-graph python globusonline/graph/test_utils/fixture_loader.py -c ./development.ini -d -f ~/temp/review726data/
PYTHONPATH=/home/mattias/go_repos2/globusonline-graph ./globusonline/graph/admin/dump_linked_account_names | python -mjson.tool > review_dump_linked_account_names.json
PYTHONPATH=/home/mattias/go_repos2/globusonline-graph ./globusonline/graph/admin/load_memberships_from_linked_account_data -i review_dump_linked_account_names.json | python -mjson.tool > review_load_memberships_from_linked_account_data.json
2012-03-26_19:55:48.04704 2012-03-26 19:55:48,046 DEBUG [globusonline.graph.auth.authentication][MainThread] "07edebef-ca19-4876-83c0-b65a7c8f8367" "/authenticate" "128.135.250.224" Authenticating user mattias using username and password
2012-03-26_19:55:48.08036 2012-03-26 19:55:48,079 INFO [pycassa.pool][MainThread] "07edebef-ca19-4876-83c0-b65a7c8f8367" "/authenticate" "128.135.250.224" Connection 134843200 (10.46.58.146:9160) in None (id = 136682636) failed: Could not connect to 10.46.58.146:9160
2012-03-26_19:55:48.08175 2012-03-26 19:55:48,081 INFO [pycassa.pool][MainThread] "07edebef-ca19-4876-83c0-b65a7c8f8367" "/authenticate" "128.135.250.224" Connection 134843200 (10.46.58.146:9160) in None (id = 136682636) failed: Could not connect to 10.46.58.146:9160
2012-03-26_19:55:48.08285 2012-03-26 19:55:48,081 ERROR [globusonline.graph.auth.authentication][MainThread] "07edebef-ca19-4876-83c0-b65a7c8f8367" "/authenticate" "128.135.250.224" Internal error: Failed to look up user mattias in datastore.
2012-