-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-13710.gpt-4-0125-preview.eval.log
184 lines (176 loc) · 10.8 KB
/
django__django-13710.gpt-4-0125-preview.eval.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
[django__django__4.0] [django__django-13710] Task Metadata:
- Instance ID: django__django-13710
- Testbed: django__django__4.0
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.8.19
[django__django__4.0] [django__django-13710] Command: git -c advice.detachedHead=false checkout 1bd6a7a0acc11e249fca11c017505ad39f15ebf6
[django__django__4.0] [django__django-13710] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-13710] Std. Output:
Previous HEAD position was 475cffd1d6 Fixed typo in docs/intro/reusable-apps.txt.
HEAD is now at 1bd6a7a0ac Refs #32219 -- Added admin model inline tests for verbose names.
[django__django__4.0] [django__django-13710] Return Code: 0
[django__django__4.0] [django__django-13710] Command: git apply -v /opt/temp_django__django-13710_pred_try.patch
[django__django__4.0] [django__django-13710] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-13710] Std. Output:
Checking patch django/contrib/admin/options.py...
Applied patch django/contrib/admin/options.py cleanly.
[django__django__4.0] [django__django-13710] Return Code: 0
[django__django__4.0] [django__django-13710] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-13710] Command: git apply -v -R /opt/temp_django__django-13710_pred_try.patch
[django__django__4.0] [django__django-13710] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-13710] Std. Output:
Checking patch django/contrib/admin/options.py...
Applied patch django/contrib/admin/options.py cleanly.
[django__django__4.0] [django__django-13710] Return Code: 0
[django__django__4.0] [django__django-13710] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-13710] Command: git apply -v /opt/temp_django__django-13710_pred.patch
[django__django__4.0] [django__django-13710] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-13710] Std. Output:
Checking patch django/contrib/admin/options.py...
Applied patch django/contrib/admin/options.py cleanly.
[django__django__4.0] [django__django-13710] Return Code: 0
[django__django__4.0] [django__django-13710] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.0] [django__django-13710] Command: git apply -v /opt/temp_django__django-13710_test.patch
[django__django__4.0] [django__django-13710] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-13710] Std. Output:
Checking patch tests/admin_inlines/tests.py...
Applied patch tests/admin_inlines/tests.py cleanly.
[django__django__4.0] [django__django-13710] Return Code: 0
[django__django__4.0] [django__django-13710] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 admin_inlines.tests;
[django__django__4.0] [django__django-13710] Command: ./tests/runtests.py --verbosity 2 admin_inlines.tests
[django__django__4.0] [django__django-13710] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[django__django__4.0] [django__django-13710] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 12 processes
Importing application admin_inlines
Found 75 test(s).
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: admin_inlines, auth, contenttypes, messages, sessions, staticfiles
Apply all migrations: admin, sites
Synchronizing apps without migrations:
Creating tables...
Creating table django_content_type
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table django_session
Creating table admin_inlines_parent
Creating table admin_inlines_teacher
Creating table admin_inlines_child
Creating table admin_inlines_book
Creating table admin_inlines_author
Creating table admin_inlines_nonautopkbook
Creating table admin_inlines_nonautopkbookchild
Creating table admin_inlines_editablepkbook
Creating table admin_inlines_holder
Creating table admin_inlines_inner
Creating table admin_inlines_holder2
Creating table admin_inlines_inner2
Creating table admin_inlines_holder3
Creating table admin_inlines_inner3
Creating table admin_inlines_holder4
Creating table admin_inlines_inner4stacked
Creating table admin_inlines_inner4tabular
Creating table admin_inlines_holder5
Creating table admin_inlines_inner5stacked
Creating table admin_inlines_inner5tabular
Creating table admin_inlines_person
Creating table admin_inlines_outfititem
Creating table admin_inlines_fashionista
Creating table admin_inlines_shoppingweakness
Creating table admin_inlines_titlecollection
Creating table admin_inlines_title
Creating table admin_inlines_poll
Creating table admin_inlines_question
Creating table admin_inlines_novel
Creating table admin_inlines_chapter
Creating table admin_inlines_footnote
Creating table admin_inlines_capofamiglia
Creating table admin_inlines_consigliere
Creating table admin_inlines_sottocapo
Creating table admin_inlines_readonlyinline
Creating table admin_inlines_parentmodelwithcustompk
Creating table admin_inlines_childmodel1
Creating table admin_inlines_childmodel2
Creating table admin_inlines_binarytree
Creating table admin_inlines_lifeform
Creating table admin_inlines_extraterrestrial
Creating table admin_inlines_sighting
Creating table admin_inlines_someparentmodel
Creating table admin_inlines_somechildmodel
Creating table admin_inlines_course
Creating table admin_inlines_class
Creating table admin_inlines_profilecollection
Creating table admin_inlines_profile
Creating table admin_inlines_verbosenameprofile
Creating table admin_inlines_verbosenamepluralprofile
Creating table admin_inlines_bothverbosenameprofile
Running deferred SQL...
Running migrations:
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying sites.0001_initial... OK
Applying sites.0002_alter_domain_unique... OK
Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Traceback (most recent call last):
File "./tests/runtests.py", line 666, in <module>
failures = django_tests(
File "./tests/runtests.py", line 386, in django_tests
failures = test_runner.run_tests(test_labels)
File "/opt/django__django/django/test/runner.py", line 928, in run_tests
self.run_checks(databases)
File "/opt/django__django/django/test/runner.py", line 847, in run_checks
call_command('check', verbosity=self.verbosity, databases=databases)
File "/opt/django__django/django/core/management/__init__.py", line 181, in call_command
return command.execute(*args, **defaults)
File "/opt/django__django/django/core/management/base.py", line 417, in execute
output = self.handle(*args, **options)
File "/opt/django__django/django/core/management/commands/check.py", line 63, in handle
self.check(
File "/opt/django__django/django/core/management/base.py", line 438, in check
all_issues = checks.run_checks(
File "/opt/django__django/django/core/checks/registry.py", line 77, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/opt/django__django/django/contrib/admin/checks.py", line 54, in check_admin_app
errors.extend(site.check(app_configs))
File "/opt/django__django/django/contrib/admin/sites.py", line 96, in check
errors.extend(modeladmin.check())
File "/opt/django__django/django/contrib/admin/options.py", line 121, in check
return self.checks_class().check(self, **kwargs)
File "/opt/django__django/django/contrib/admin/checks.py", line 653, in check
*self._check_inlines(admin_obj),
File "/opt/django__django/django/contrib/admin/checks.py", line 691, in _check_inlines
return list(chain.from_iterable(
File "/opt/django__django/django/contrib/admin/checks.py", line 692, in <genexpr>
self._check_inlines_item(obj, item, "inlines[%d]" % index)
File "/opt/django__django/django/contrib/admin/checks.py", line 730, in _check_inlines_item
return inline(obj.model, obj.admin_site).check()
File "/opt/django__django/django/contrib/admin/options.py", line 2046, in __init__
from django.utils.text import pluralize
ImportError: cannot import name 'pluralize' from 'django.utils.text' (/opt/django__django/django/utils/text.py)
[django__django__4.0] [django__django-13710] Return Code: 1
>>>>> Some Tests Failed
[django__django__4.0] [django__django-13710] Test script run successful