-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-13710.SWE-bench_Lite_golden.eval.log
254 lines (244 loc) · 16.5 KB
/
django__django-13710.SWE-bench_Lite_golden.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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
[django__django__4.0] [django__django-13710] Task Metadata:
- Instance ID: django__django-13710
- Testbed: django__django__4.0
- Evaluation Model: SWE-bench_Lite_golden
- 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": 900}
[django__django__4.0] [django__django-13710] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 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')...
System check identified no issues (0 silenced).
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')...
test_add_inline_link_absent_for_view_only_parent_model (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_add_inlines (admin_inlines.tests.SeleniumTests)
The "Add another XXX" link correctly adds items to the inline form. ... skipped 'No browsers specified.'
test_add_stackeds (admin_inlines.tests.SeleniumTests)
The "Add another XXX" link correctly adds items to the stacked formset. ... skipped 'No browsers specified.'
test_added_stacked_inline_with_collapsed_fields (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_collapsed_inlines (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_delete_inlines (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_delete_invalid_stacked_inlines (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_delete_invalid_tabular_inlines (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_delete_stackeds (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_inline_formset_error (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_inline_formset_error_input_border (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_inlines_verbose_name (admin_inlines.tests.SeleniumTests)
The item added by the "Add another XXX" link must use the correct ... skipped 'No browsers specified.'
test_immutable_content_type (admin_inlines.tests.TestInlineAdminForm)
Regression for #9362 ... ok
test_deleting_inline_with_protected_delete_does_not_validate (admin_inlines.tests.TestInlineProtectedOnDelete) ... ok
test_all_inline_media (admin_inlines.tests.TestInlineMedia) ... ok
test_inline_media_only_base (admin_inlines.tests.TestInlineMedia) ... ok
test_inline_media_only_inline (admin_inlines.tests.TestInlineMedia) ... ok
test_both_verbose_names_inline (admin_inlines.tests.TestVerboseNameInlineForms) ... ok
test_verbose_name_inline (admin_inlines.tests.TestVerboseNameInlineForms) ... ok
test_verbose_name_plural_inline (admin_inlines.tests.TestVerboseNameInlineForms) ... ok
test_add_url_not_allowed (admin_inlines.tests.TestReadOnlyChangeViewInlinePermissions) ... ok
test_extra_inlines_are_not_shown (admin_inlines.tests.TestReadOnlyChangeViewInlinePermissions) ... ok
test_get_to_change_url_is_allowed (admin_inlines.tests.TestReadOnlyChangeViewInlinePermissions) ... ok
test_inline_delete_buttons_are_not_shown (admin_inlines.tests.TestReadOnlyChangeViewInlinePermissions) ... ok
test_inlines_are_rendered_as_read_only (admin_inlines.tests.TestReadOnlyChangeViewInlinePermissions) ... ok
test_main_model_is_rendered_as_read_only (admin_inlines.tests.TestReadOnlyChangeViewInlinePermissions) ... ok
test_post_to_change_url_not_allowed (admin_inlines.tests.TestReadOnlyChangeViewInlinePermissions) ... ok
test_submit_line_shows_only_close_button (admin_inlines.tests.TestReadOnlyChangeViewInlinePermissions) ... ok
test_inline_add_fk_add_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_add_fk_noperm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_add_m2m_add_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_add_m2m_noperm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_add_m2m_view_only_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_fk_add_change_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_fk_add_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_fk_all_perms (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_fk_change_del_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_fk_change_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_fk_noperm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_m2m_add_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_m2m_change_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_m2m_noperm (admin_inlines.tests.TestInlinePermissions) ... ok
test_inline_change_m2m_view_only_perm (admin_inlines.tests.TestInlinePermissions) ... ok
test_callable_lookup (admin_inlines.tests.TestInline)
Admin inline should invoke local callable when its name is listed in readonly_fields ... ok
test_can_delete (admin_inlines.tests.TestInline)
can_delete should be passed to inlineformset factory. ... ok
test_create_inlines_on_inherited_model (admin_inlines.tests.TestInline)
An object can be created with inlines when it inherits another class. ... ok
test_custom_form_tabular_inline_extra_field_label (admin_inlines.tests.TestInline) ... ok
test_custom_form_tabular_inline_label (admin_inlines.tests.TestInline)
A model form with a form field specified (TitleForm.title1) should have ... ok
test_custom_form_tabular_inline_overridden_label (admin_inlines.tests.TestInline)
SomeChildModelForm.__init__() overrides the label of a form field. ... ok
test_custom_get_extra_form (admin_inlines.tests.TestInline) ... ok
test_custom_min_num (admin_inlines.tests.TestInline) ... ok
test_custom_pk_shortcut (admin_inlines.tests.TestInline)
The "View on Site" link is correct for models with a custom primary key ... ok
test_help_text (admin_inlines.tests.TestInline)
The inlines' model field help texts are displayed when using both the ... ok
test_inline_editable_pk (admin_inlines.tests.TestInline) ... ok
test_inline_hidden_field_no_column (admin_inlines.tests.TestInline)
#18263 -- Make sure hidden fields don't get a column in tabular inlines ... ok
test_inline_nonauto_noneditable_inherited_pk (admin_inlines.tests.TestInline) ... ok
test_inline_nonauto_noneditable_pk (admin_inlines.tests.TestInline) ... ok
test_inline_primary (admin_inlines.tests.TestInline) ... ok
test_inlines_plural_heading_foreign_key (admin_inlines.tests.TestInline) ... ok
test_inlines_show_change_link_registered (admin_inlines.tests.TestInline)
Inlines `show_change_link` for registered models when enabled. ... ok
test_inlines_show_change_link_unregistered (admin_inlines.tests.TestInline)
Inlines `show_change_link` disabled for unregistered models. ... ok
test_inlines_singular_heading_one_to_one (admin_inlines.tests.TestInline) ... ok
test_localize_pk_shortcut (admin_inlines.tests.TestInline)
The "View on Site" link is correct for locales that use thousand ... ok
test_many_to_many_inlines (admin_inlines.tests.TestInline)
Autogenerated many-to-many inlines are displayed correctly (#13407) ... ok
test_min_num (admin_inlines.tests.TestInline)
min_num and extra determine number of forms. ... ok
test_no_parent_callable_lookup (admin_inlines.tests.TestInline)
Admin inline `readonly_field` shouldn't invoke parent ModelAdmin callable ... ok
test_non_editable_custom_form_tabular_inline_extra_field_label (admin_inlines.tests.TestInline) ... ok
test_non_related_name_inline (admin_inlines.tests.TestInline)
Multiple inlines with related_name='+' have correct form prefixes. ... ok
test_noneditable_inline_has_field_inputs (admin_inlines.tests.TestInline)
Inlines without change permission shows field inputs on add form. ... ok
test_readonly_stacked_inline_label (admin_inlines.tests.TestInline)
Bug #13174. ... ok
test_stacked_inline_edit_form_contains_has_original_class (admin_inlines.tests.TestInline) ... ok
test_tabular_inline_column_css_class (admin_inlines.tests.TestInline)
Field names are included in the context to output a field-specific ... ok
test_tabular_inline_show_change_link_false_registered (admin_inlines.tests.TestInline)
Inlines `show_change_link` disabled by default. ... ok
test_tabular_model_form_meta_readonly_field (admin_inlines.tests.TestInline)
Tabular inlines use ModelForm.Meta.help_texts and labels for read-only ... ok
test_tabular_non_field_errors (admin_inlines.tests.TestInline)
non_field_errors are displayed correctly, including the correct value ... ok
----------------------------------------------------------------------
Ran 75 tests in 1.684s
OK (skipped=12)
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')...
[django__django__4.0] [django__django-13710] Return Code: 0
>>>>> All Tests Passed
[django__django__4.0] [django__django-13710] Test script run successful