launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #16435
Re: [Merge] lp:~james-w/python-oops-tools/recent-oopses into lp:python-oops-tools
The attempt to merge lp:~james-w/python-oops-tools/recent-oopses into lp:python-oops-tools failed.Below is the output from the failed tests.
find . -type f -name '*.py[co]' -exec rm -f {} \;
rm -f bin/buildout
rm -f src/oopstools/settings.py
bzr clean-tree --unknown --force
bzr up download-cache
python bootstrap.py \
--setup-source=download-cache/ez_setup.py \
--download-base=download-cache/dist --eggs=eggs \
--version=1.5.2
Generated script '/home/pqm/pqm-workdir/oops-tools/bin/buildout'.
bin/buildout configuration:db-port=5433
Develop: '/home/pqm/pqm-workdir/oops-tools/.'
Uninstalling filetemplates.
Updating scripts.
Installing filetemplates.
Updating django.
Updating docs.
Updating tags.
bin/test
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
W: line 4 [buildbot-staging]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 2 [pqm]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 3 [pqm-oops-tools]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 1 [precise]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
I: [pqm-oops-tools chroot] Running command: "cd /home/pqm/pqm-workdir/oops-tools && make check"
Nothing to delete.
Tree is up to date at revision 569 of branch http://bazaar.launchpad.net/~launchpad/lp-source-dependencies/trunk
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/template/loaders/filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead.
DeprecationWarning
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/template/loaders/app_directories.py:71: DeprecationWarning: 'django.template.loaders.app_directories.load_template_source' is deprecated; use 'django.template.loaders.app_directories.Loader' instead.
DeprecationWarning
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_object_permissions` attribute are deprecated. Please define it in <class 'django_openid_auth.auth.OpenIDBackend'>.
DeprecationWarning)
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/__init__.py:31: DeprecationWarning: Authentication backends without a `supports_anonymous_user` attribute are deprecated. Please define it in <class 'django_openid_auth.auth.OpenIDBackend'>.
DeprecationWarning)
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/models.py:393: DeprecationWarning: The user messaging API is deprecated. Please update your code to use the new messages framework.
category=DeprecationWarning)
........................................E.EE
======================================================================
ERROR: test_no_recent_oopses (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 45, in test_no_recent_oopses
resp = self.client.get('/reports/%s/' % (report_name,))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
response = super(Client, self).get(path, data=data, **extra)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
return self.request(**r)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
recent = get_recent_oops_info(r)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 111, in get_recent_oops_info
""", [prefix_ids]))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/query.py", line 1324, in __iter__
query = iter(self.query)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 67, in __iter__
self._execute_query()
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 81, in _execute_query
self.cursor.execute(self.sql, self.params)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos
^
======================================================================
ERROR: test_number_of_queries (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 92, in test_number_of_queries
expected_queries, self.client.get, url)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/testcases.py", line 544, in assertNumQueries
func(*args, **kwargs)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
response = super(Client, self).get(path, data=data, **extra)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
return self.request(**r)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
recent = get_recent_oops_info(r)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 111, in get_recent_oops_info
""", [prefix_ids]))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/query.py", line 1324, in __iter__
query = iter(self.query)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 67, in __iter__
self._execute_query()
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 81, in _execute_query
self.cursor.execute(self.sql, self.params)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/backends/util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos
^
======================================================================
ERROR: test_recent_oopses (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 76, in test_recent_oopses
resp = self.client.get('/reports/%s/' % (report_name,))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
response = super(Client, self).get(path, data=data, **extra)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
return self.request(**r)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
recent = get_recent_oops_info(r)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 111, in get_recent_oops_info
""", [prefix_ids]))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/query.py", line 1324, in __iter__
query = iter(self.query)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 67, in __iter__
self._execute_query()
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 81, in _execute_query
self.cursor.execute(self.sql, self.params)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos
^
----------------------------------------------------------------------
Ran 44 tests in 9.056s
FAILED (errors=3)
make: *** [check] Error 1
--
https://code.launchpad.net/~james-w/python-oops-tools/recent-oopses/+merge/201639
Your team python-oops-tools reviewers is requested to review the proposed merge of lp:~james-w/python-oops-tools/recent-oopses into lp:python-oops-tools.
References