Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14630 closed (fixed)

Oracle test tablespace disk datafile not big enough for running full Django test suite

Reported by: Ramiro Morales Owned by: nobody
Component: Testing framework Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ramiro Morales)

While setting up Oracle XE to run the Django tests I found that individual tests or a small subgroup of them can be run without major problems. But while trying to run the entire suite this error happens:

Creating test database 'default'...
Creating test user...
Traceback (most recent call last):
  File "./runtests.py", line 314, in <module>
    failures = django_tests(int(options.verbosity), options.interactive, options.failfast, args)
  File "./runtests.py", line 183, in django_tests
    failures = test_runner.run_tests(test_labels, extra_tests=extra_tests)
  File "django/upstream/django/test/simple.py", line 276, in run_tests
    old_config = self.setup_databases()
  File "django/upstream/django/test/simple.py", line 232, in setup_databases
    connection.creation.create_test_db(self.verbosity, autoclobber=not self.interactive)
  File "django/upstream/django/db/backends/creation.py", line 357, in create_test_db
    call_command('syncdb', verbosity=max(verbosity - 1, 0), interactive=False, database=self.connection.alias)
  File "django/upstream/django/core/management/__init__.py", line 166, in call_command
    return klass.execute(*args, **defaults)
  File "django/upstream/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "django/upstream/django/core/management/base.py", line 351, in handle
    return self.handle_noargs(**options)
  File "django/upstream/django/core/management/commands/syncdb.py", line 97, in handle_noargs
    cursor.execute(statement)
  File "django/upstream/django/db/backends/oracle/base.py", line 522, in execute
    return self.cursor.execute(query, self._param_generator(params))
django.db.utils.DatabaseError: ORA-01658: unable to create INITIAL extent for segment in tablespace TEST_XE

The TEST_XE tablespace left shows when seen through the Oracle XE Web administrative interface the Django test suite currently needs 140/150 MB of space.

Attachments (1)

14630.diff (577 bytes ) - added by Ramiro Morales 14 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Ramiro Morales, 14 years ago

Description: modified (diff)

by Ramiro Morales, 14 years ago

Attachment: 14630.diff added

comment:2 by Ramiro Morales, 14 years ago

Has patch: set

comment:3 by Ramiro Morales, 14 years ago

Resolution: fixed
Status: newclosed

(In [14468]) Fixed #14630 -- Increased maximum size of the Oracle tablespace datafile used for tests from 100MB to 200MB.
This allows the execution of the full Django test suite without running out of allocated space.

comment:4 by Ramiro Morales, 14 years ago

(In [14469]) [1.2.X] Fixed #14630 -- Increased maximum size of the Oracle tablespace datafile used for tests from 100MB to 200MB.
This allows the execution of the full Django test suite without running out of allocated space.

Backport of [14468] from trunk

Note: See TracTickets for help on using tickets.
Back to Top