This site is an archive; learn more about 8 years of OpenHatch.

[Devel] Fwd: Test results for account base consulting customs profile search : FAIL f4ad607ab4c921e824e06845e81ffb095a9e8470

Raphael Krut-Landau raphael at openhatch.org
Fri Nov 13 21:34:44 UTC 2009


What's causing us to run out of queries? Something silly I imagine!

--r


---------- Forwarded message ----------
From: Mister Builder <builder at openhatch.org>
Date: Fri, Nov 13, 2009 at 4:32 PM
Subject: Test results for account base consulting customs profile
search : FAIL f4ad607ab4c921e824e06845e81ffb095a9e8470
To: Raphael Krut-Landau <raphael at openhatch.org>


commit f4ad607ab4c921e824e06845e81ffb095a9e8470
(refs/remotes/origin/master, refs/remotes/origin/HEAD)
Merge: 4cf6df0 2bba6f6
Author: Raphael Krut-Landau <raphael at openhatch.org>
Date:   Fri Nov 13 16:19:44 2009 -0500

   Merge branch 'grab_roundup_boogz' into
pf_import_handle_project_multiple_dupes

http://linode.openhatch.org/~builder/f4ad607ab4c921e824e06845e81ffb095a9e8470

Log file follows:

No packages found matching python-launchpad-bugs.
No packages found matching python-launchpad-bugs.
2009-11-13 16:26:32,883 edit_contact_info_do:154 DEBUG    Changing
email of user <paulproteus> to <new at ema.il>
2009-11-13 16:26:33,224 edit_contact_info_do:154 DEBUG    Changing
email of user <paulproteus> to <new at ema.il>
.../usr/lib/python2.5/site-packages/PIL/Image.py:1265:
DeprecationWarning: integer argument expected, got float
 im = self.im.stretch(size, resample)
./usr/lib/python2.5/site-packages/PIL/Image.py:1265:
DeprecationWarning: integer argument expected, got float
 im = self.im.stretch(size, resample)
............................EF.[INFO/MainProcess] Starting job for
<Attempt to import data, source = Ohloh, person = <username:
paulproteus, name: Asheesh Laroia>, query = queree>
EEE.EE.EE.EEEE..Tried to talk to http://ohloh.net/somewebsiteonohloh,
got 504, retrying 1 more times...
.....[INFO/MainProcess] Starting job for <Attempt to import data,
source = Launchpad, person = <username: paulproteus, name: Asheesh
Laroia>, query = paulproteus>
[INFO/MainProcess] Results: {'MOCK ccHost': {'url':
'http://launchpad.net/ccHost', 'languages': ['python', 'ruby'],
'involvement_types': ['Bug Management', 'Bazaar Branches']}}
.[INFO/MainProcess] Starting job for <Attempt to import data, source =
Ohloh, person = <username: paulproteus, name: Asheesh Laroia>, query =
paulproteus>
[INFO/MainProcess] Results: [{'man_months': 1, 'project': u'MOCK
ccHost', 'first_commit_time': '2008-04-03T23:51:45Z',
'project_homepage_url': u'http://wiki.creativecommons.org/CcHost',
'primary_language': u'shell script'}]
.[INFO/MainProcess] Starting job for <Attempt to import data, source =
Ohloh, person = <username: paulproteus, name: Asheesh Laroia>, query =
paulproteus>
[INFO/MainProcess] Results: [{'man_months': 1, 'project': u'MOCK
ccHost', 'project_homepage_url':
u'http://wiki.creativecommons.org/CcHost', 'primary_language':
u'Vala'}]
..................................2009-11-13 16:30:01,208
edit_contact_info_do:154 DEBUG    Changing email of user <paulproteus>
to <my at ema.il>
..............................
======================================================================
ERROR: test_ohloh_gives_us_an_icon (mysite.customs.tests.OhlohIconTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 184, in test_ohloh_gives_us_an_icon
   icon = oh.get_icon_for_project('f-spot')
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 336, in get_icon_for_project
   return self.get_icon_for_project_by_human_name(project)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 344, in get_icon_for_project_by_human_name
   raise ValueError
ValueError

======================================================================
ERROR: test_we_save_ohloh_data_in_success (mysite.customs.tests.OhlohLogging)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/eggs/mock-0.6.0-py2.5.egg/mock.py",
line 196, in patched
   return func(*args, **keywargs)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 424, in test_we_save_ohloh_data_in_success
   success_dia.do_what_it_says_on_the_tin() # go out to Ohloh
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/profile/models.py",
line 182, in do_what_it_says_on_the_tin
   FetchPersonDataFromOhloh.delay(self.id)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/profile/tests.py",
line 221, in delay
   task.run(*args, **kwargs)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/profile/tasks/__init__.py",
line 134, in run
   results = source2actual_action[dia.source](dia)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/profile/tasks/__init__.py",
line 90, in rs_action
   dia.query, person=dia.person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 185, in get_contribution_info_by_username
   params={'query': username}, many=True, person=person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: testFindByEmail (mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 124, in testFindByEmail
   projects = oh.get_contribution_info_by_email('asheesh at asheesh.org')
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 236, in get_contribution_info_by_email
   ret.extend(self.search_contribution_info_by_email(email))
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 315, in search_contribution_info_by_email
   {'query': email}, many=True)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: testFindByOhlohUsername (mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 106, in testFindByOhlohUsername
   projects, web_response =
oh.get_contribution_info_by_ohloh_username('paulproteus')
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 295, in get_contribution_info_by_ohloh_username
   c_fs, web_response = ohloh_url2data(url, 'result/contributor_fact',
many=True)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: testFindByUsername (mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 86, in testFindByUsername
   projects, web_response = oh.get_contribution_info_by_username('paulproteus')
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 185, in get_contribution_info_by_username
   params={'query': username}, many=True, person=person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: testFindByUsernameNotAsheesh (mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 163, in testFindByUsernameNotAsheesh
   projects, web_response = oh.get_contribution_info_by_username('keescook')
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 185, in get_contribution_info_by_username
   params={'query': username}, many=True, person=person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: testFindContributionsInOhlohAccountByEmail
(mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 145, in testFindContributionsInOhlohAccountByEmail
   projects, web_response = oh.get_contribution_info_by_ohloh_username(username)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 295, in get_contribution_info_by_ohloh_username
   c_fs, web_response = ohloh_url2data(url, 'result/contributor_fact',
many=True)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: testFindContributionsInOhlohAccountByUsername
(mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 134, in testFindContributionsInOhlohAccountByUsername
   projects, web_response =
oh.get_contribution_info_by_ohloh_username('paulproteus')
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 295, in get_contribution_info_by_ohloh_username
   c_fs, web_response = ohloh_url2data(url, 'result/contributor_fact',
many=True)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: testProjectDataById (mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 69, in testProjectDataById
   data = oh.project_id2projectdata(15329)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 139, in project_id2projectdata
   data, web_response = ohloh_url2data(url=url, selector='result/project')
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: testProjectNameByAnalysisId (mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 79, in testProjectNameByAnalysisId
   analysis_id = oh.get_latest_project_analysis_id(project_name);
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 128, in get_latest_project_analysis_id
   data, web_response = ohloh_url2data(url, 'result/analysis')
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: test_find_debian (mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 170, in test_find_debian
   project_data = oh.project_name2projectdata("Debian GNU/Linux")
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 146, in project_name2projectdata
   params=args, many=True)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
ERROR: test_find_empty_project_without_errors
(mysite.customs.tests.SlowlohTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 175, in test_find_empty_project_without_errors
   project_data = oh.project_name2projectdata("theres no PROJECT quite
LIKE THIS ONE two pound curry irrelevant keywords watch me fail please
if not god help us")
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 146, in project_name2projectdata
   params=args, many=True)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 81, in ohloh_url2data
   b = mechanize_get(url, person)
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/ohloh.py",
line 39, in mechanize_get
   b.open(url)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
203, in open
   return self._mech_open(url, data)
 File "/usr/lib/python2.5/site-packages/mechanize/_mechanize.py", line
254, in _mech_open
   raise response
httperror_seek_wrapper: HTTP Error 403: Forbidden

======================================================================
FAIL: test_populate_icon_from_ohloh (mysite.customs.tests.OhlohIconTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/builder/tmp/secret-staging-ground-builder/milestone-a/mysite/customs/tests.py",
line 209, in test_populate_icon_from_ohloh
   self.assert_(project.icon)
AssertionError

----------------------------------------------------------------------
Ran 122 tests in 359.734s

FAILED (failures=1, errors=12)
Creating test database...
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table registration_registrationprofile
Creating table django_authopenid_nonce
Creating table django_authopenid_association
Creating table django_authopenid_userassociation
Creating table south_migrationhistory
Creating table celery_taskmeta
Creating table celery_periodictaskmeta
Creating table invitation_invitationkey
Creating table search_project
Creating table search_bug
Creating table profile_repositorycommitter
Creating table profile_person
Creating table profile_dataimportattempt
Creating table profile_projectexp
Creating table profile_tagtype
Creating table profile_tag
Creating table profile_link_projectexp_tag
Creating table profile_link_project_tag
Creating table profile_link_person_tag
Creating table profile_sourceforgeperson
Creating table profile_sourceforgeproject
Creating table profile_link_sf_proj_dude_fm
Creating table profile_portfolioentry
Creating table profile_citation
Creating table customs_webresponse
Creating table customs_roundupbugtracker
Creating table account_invitationrequest
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model
Installing index for django_authopenid.UserAssociation model
Installing index for invitation.InvitationKey model
Installing index for search.Bug model
Installing index for profile.RepositoryCommitter model
Installing index for profile.DataImportAttempt model
Installing index for profile.ProjectExp model
Installing index for profile.Tag model
Installing index for profile.Link_ProjectExp_Tag model
Installing index for profile.Link_Project_Tag model
Installing index for profile.Link_Person_Tag model
Installing index for profile.Link_SF_Proj_Dude_FM model
Installing index for profile.PortfolioEntry model
Installing index for profile.Citation model
Installing index for customs.RoundupBugTracker model
Destroying test database...
[INFO/MainProcess] process shutting down


More information about the Devel mailing list