#22483: Oracle test failures due to InterfaceError
-------------------------------------+-------------------------------------
               Reporter:  timo       |          Owner:  nobody
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  1.7-beta-1
  layer (models, ORM)                |       Keywords:
               Severity:  Release    |      Has patch:  0
  blocker                            |    Needs tests:  0
           Triage Stage:  Accepted   |  Easy pickings:  0
    Needs documentation:  0          |
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Bisected to 2e42c859da42a871244aca36162a0aad2b63c02b (#21239)

 Example:
 {{{
 $ ./runtests.py --settings=test_oracle migrations
 ======================================================================
 ERROR: test_migrate (migrations.test_commands.MigrateTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/tim/code/django/django/test/utils.py", line 316, in inner
     return test_func(*args, **kwargs)
   File "/home/tim/code/django/django/test/utils.py", line 216, in inner
     return test_func(*args, **kwargs)
   File "/home/tim/code/django/tests/migrations/test_commands.py", line 44,
 in test_migrate
     call_command("migrate", verbosity=0)
   File "/home/tim/code/django/django/core/management/__init__.py", line
 167, in call_command
     return klass.execute(*args, **defaults)
   File "/home/tim/code/django/django/core/management/base.py", line 337,
 in execute
     output = self.handle(*args, **options)
   File "/home/tim/code/django/django/core/management/commands/migrate.py",
 line 145, in handle
     executor.migrate(targets, plan, fake=options.get("fake", False))
   File "/home/tim/code/django/django/db/migrations/executor.py", line 60,
 in migrate
     self.apply_migration(migration, fake=fake)
   File "/home/tim/code/django/django/db/migrations/executor.py", line 94,
 in apply_migration
     migration.apply(project_state, schema_editor)
   File "/home/tim/code/django/django/db/migrations/migration.py", line 97,
 in apply
     operation.database_forwards(self.app_label, schema_editor,
 project_state, new_state)
   File "/home/tim/code/django/django/db/migrations/operations/fields.py",
 line 36, in database_forwards
     field,
   File "/home/tim/code/django/django/db/backends/schema.py", line 392, in
 add_field
     self.execute(sql, params)
   File "/home/tim/code/django/django/db/backends/schema.py", line 95, in
 execute
     cursor.execute(sql, params)
   File "/home/tim/code/django/django/db/backends/utils.py", line 40, in
 __exit__
     self.close()
 InterfaceError: not connected
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22483>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.63155fcb1dade55698c50caf50b8a648%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to