Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created March 14, 2014 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/9555817 to your computer and use it in GitHub Desktop.
Save peterbe/9555817 to your computer and use it in GitHub Desktop.
(socorro)peterbe@mpb:~/dev/MOZILLA/SOCORRO/socorro (master %>)$ PYTHONPATH=. python socorro/external/postgresql/setupdb_app.py --dropdb --database_name=socorro_integration_test --database_username=peterbe --database_password=test123 --database_superusername=peterbe --database_superuserpassword=test123
2014-03-14 13:11:14,085 INFO - MainThread - - MainThread - app_name: setupdb
2014-03-14 13:11:14,085 INFO - MainThread - - MainThread - app_version: 0.2
2014-03-14 13:11:14,085 INFO - MainThread - - MainThread - current configuration:
2014-03-14 13:11:14,085 INFO - MainThread - - MainThread - alembic_config: /Users/peterbe/dev/MOZILLA/SOCORRO/socorro/config/alembic.ini
2014-03-14 13:11:14,085 INFO - MainThread - - MainThread - application: <class '__main__.SocorroDB'>
2014-03-14 13:11:14,085 INFO - MainThread - - MainThread - database_hostname: localhost
2014-03-14 13:11:14,085 INFO - MainThread - - MainThread - database_name: socorro_integration_test
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - database_password: *********
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - database_port:
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - database_superusername: peterbe
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - database_superuserpassword: *********
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - database_username: peterbe
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - default_password: *********
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - dropdb: True
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - fakedata: False
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - fakedata_days: 7
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - force: False
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - logger: <socorro.app.generic_app.LoggerWrapper object at 0x105820210>
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - logging.stderr_error_logging_level: 10
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - logging.stderr_line_format_string: {asctime} {levelname} - {threadName} - {message}
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - logging.syslog_error_logging_level: 40
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - logging.syslog_facility_string: user
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - logging.syslog_host: localhost
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - logging.syslog_line_format_string: setupdb (pid {process}): {asctime} {levelname} - {threadName} - {message}
2014-03-14 13:11:14,086 INFO - MainThread - - MainThread - logging.syslog_port: 514
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - no_schema: False
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - read_only_users: breakpad_ro, breakpad, analyst
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - read_write_users: postgres, breakpad_rw, monitor
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - resource.logging.stderr_error_logging_level: 10
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - resource.logging.stderr_line_format_string: {asctime} {levelname} - {threadName} - {message}
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - resource.logging.syslog_error_logging_level: 40
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - resource.logging.syslog_facility_string: user
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - resource.logging.syslog_host: localhost
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - resource.logging.syslog_line_format_string: setupdb (pid {process}): {asctime} {levelname} - {threadName} - {message}
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - resource.logging.syslog_port: 514
2014-03-14 13:11:14,087 INFO - MainThread - - MainThread - unlogged: False
INFO [alembic.migration] Context impl PostgresqlImpl.
INFO [alembic.migration] Will assume transactional DDL.
(socorro)peterbe@mpb:~/dev/MOZILLA/SOCORRO/socorro (master %>)$ nosetests socorro/unittest/cron/jobs/.............................................................----------------------------------------------------------------------
Ran 61 tests in 10.174s
OK
(socorro)peterbe@mpb:~/dev/MOZILLA/SOCORRO/socorro (master %>)$ nosetests socorro/unittest/cron/jobs/
........................................................EEEE...
======================================================================
ERROR: Simple test of reprocessing
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/unittest/cron/jobs/test_reprocessingjobs.py", line 67, in test_reprocessing
""")
ProgrammingError: relation "reprocessing_jobs" does not exist
LINE 2: INSERT into reprocessing_jobs
^
======================================================================
ERROR: Simple test of reprocessing
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/unittest/cron/jobs/test_reprocessingjobs.py", line 39, in tearDown
self._clear_tables()
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/unittest/cron/jobs/test_reprocessingjobs.py", line 25, in _clear_tables
""")
InternalError: current transaction is aborted, commands ignored until end of transaction block
======================================================================
ERROR: test_reprocessing_exception (socorro.unittest.cron.jobs.test_reprocessingjobs.IntegrationTestReprocessingJobs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/unittest/cron/jobs/test_reprocessingjobs.py", line 88, in test_reprocessing_exception
cursor.execute('drop table reprocessing_jobs')
ProgrammingError: table "reprocessing_jobs" does not exist
======================================================================
ERROR: test_reprocessing_exception (socorro.unittest.cron.jobs.test_reprocessingjobs.IntegrationTestReprocessingJobs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/unittest/cron/jobs/test_reprocessingjobs.py", line 39, in tearDown
self._clear_tables()
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/socorro/unittest/cron/jobs/test_reprocessingjobs.py", line 25, in _clear_tables
""")
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
Ran 61 tests in 9.703s
FAILED (errors=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment