-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-11019.SWE-bench_Lite_golden.eval.log
266 lines (256 loc) · 16.7 KB
/
django__django-11019.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
255
256
257
258
259
260
261
262
263
264
265
266
[django__django__3.0] [django__django-11019] Task Metadata:
- Instance ID: django__django-11019
- Testbed: django__django__3.0
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.6.15
[django__django__3.0] [django__django-11019] Command: git -c advice.detachedHead=false checkout 93e892bb645b16ebaf287beb5fe7f3ffe8d10408
[django__django__3.0] [django__django-11019] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.0] [django__django-11019] Std. Output:
Previous HEAD position was 419a78300f [3.0.x] Fixed typo in docs/ref/contrib/postgres/forms.txt.
HEAD is now at 93e892bb64 Refs #29523 -- Updated admin's collapse.min.js.
[django__django__3.0] [django__django-11019] Return Code: 0
[django__django__3.0] [django__django-11019] Command: git apply -v /opt/temp_django__django-11019_pred_try.patch
[django__django__3.0] [django__django-11019] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.0] [django__django-11019] Std. Output:
Checking patch django/forms/widgets.py...
Applied patch django/forms/widgets.py cleanly.
[django__django__3.0] [django__django-11019] Return Code: 0
[django__django__3.0] [django__django-11019] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.0] [django__django-11019] Command: git apply -v -R /opt/temp_django__django-11019_pred_try.patch
[django__django__3.0] [django__django-11019] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.0] [django__django-11019] Std. Output:
Checking patch django/forms/widgets.py...
Applied patch django/forms/widgets.py cleanly.
[django__django__3.0] [django__django-11019] Return Code: 0
[django__django__3.0] [django__django-11019] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.0] [django__django-11019] Command: git apply -v /opt/temp_django__django-11019_pred.patch
[django__django__3.0] [django__django-11019] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.0] [django__django-11019] Std. Output:
Checking patch django/forms/widgets.py...
Applied patch django/forms/widgets.py cleanly.
[django__django__3.0] [django__django-11019] Return Code: 0
[django__django__3.0] [django__django-11019] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__3.0] [django__django-11019] Command: git apply -v /opt/temp_django__django-11019_test.patch
[django__django__3.0] [django__django-11019] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.0] [django__django-11019] Std. Output:
Checking patch tests/admin_inlines/tests.py...
Checking patch tests/admin_widgets/test_autocomplete_widget.py...
Checking patch tests/forms_tests/tests/test_media.py...
Applied patch tests/admin_inlines/tests.py cleanly.
Applied patch tests/admin_widgets/test_autocomplete_widget.py cleanly.
Applied patch tests/forms_tests/tests/test_media.py cleanly.
[django__django__3.0] [django__django-11019] Return Code: 0
[django__django__3.0] [django__django-11019] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 admin_inlines.tests admin_widgets.test_autocomplete_widget forms_tests.tests.test_media;
[django__django__3.0] [django__django-11019] Command: ./tests/runtests.py --verbosity 2 admin_inlines.tests admin_widgets.test_autocomplete_widget forms_tests.tests.test_media
[django__django__3.0] [django__django-11019] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[django__django__3.0] [django__django-11019] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application admin_widgets
Importing application admin_inlines
Importing application forms_tests
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: admin_inlines, admin_widgets, auth, contenttypes, forms_tests, 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_widgets_member
Creating table admin_widgets_band
Creating table admin_widgets_album
Creating table admin_widgets_inventory
Creating table admin_widgets_event
Creating table admin_widgets_car
Creating table admin_widgets_cartire
Creating table admin_widgets_honeycomb
Creating table admin_widgets_bee
Creating table admin_widgets_individual
Creating table admin_widgets_company
Creating table admin_widgets_advisor
Creating table admin_widgets_student
Creating table admin_widgets_school
Creating table admin_widgets_profile
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_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_profilecollection
Creating table admin_inlines_profile
Creating table forms_tests_boundarymodel
Creating table forms_tests_defaults
Creating table forms_tests_choicemodel
Creating table forms_tests_choiceoptionmodel
Creating table forms_tests_choicefieldmodel
Creating table forms_tests_optionalmultichoicemodel
Creating table forms_tests_filemodel
Creating table forms_tests_article
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
System check identified no issues (0 silenced).
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')...
test_add_inlines (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_add_stackeds (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_alternating_rows (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_stackeds (admin_inlines.tests.SeleniumTests) ... skipped 'No browsers specified.'
test_immutable_content_type (admin_inlines.tests.TestInlineAdminForm)
Regression for #9362 ... ok
test_combine_media (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_construction (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_form_media (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_html_safe (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_media_deduplication (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_media_dsl (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_media_inheritance (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_media_inheritance_extends (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_media_inheritance_from_property (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_media_inheritance_single_type (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_media_property (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_media_property_parent_references (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_merge (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_merge_css_three_way (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_merge_js_three_way (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_merge_js_three_way2 (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_merge_warning (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_multi_media (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_multi_widget (forms_tests.tests.test_media.FormsMediaTestCase) ... ok
test_build_attrs (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests) ... ok
test_build_attrs_no_custom_class (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests) ... ok
test_build_attrs_not_required_field (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests) ... ok
test_build_attrs_required_field (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests) ... ok
test_get_url (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests) ... ok
test_media (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests) ... ok
test_render_options (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests) ... ok
test_render_options_not_required_field (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests)
Empty option isn't present if the field isn't required. ... ok
test_render_options_required_field (admin_widgets.test_autocomplete_widget.AutocompleteMixinTests)
Empty option is present if the field isn't required. ... 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_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_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_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) ... ok
test_create_inlines_on_inherited_model (admin_inlines.tests.TestInline) ... ok
test_custom_form_tabular_inline_label (admin_inlines.tests.TestInline) ... ok
test_custom_form_tabular_inline_overridden_label (admin_inlines.tests.TestInline) ... 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) ... ok
test_help_text (admin_inlines.tests.TestInline) ... 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_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_localize_pk_shortcut (admin_inlines.tests.TestInline) ... 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) ... ok
test_no_parent_callable_lookup (admin_inlines.tests.TestInline)
Admin inline `readonly_field` shouldn't invoke parent ModelAdmin callable ... ok
test_non_related_name_inline (admin_inlines.tests.TestInline) ... 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) ... 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) ... ok
test_tabular_non_field_errors (admin_inlines.tests.TestInline) ... ok
----------------------------------------------------------------------
Ran 80 tests in 1.843s
OK (skipped=6)
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__3.0] [django__django-11019] Return Code: 0
>>>>> All Tests Passed
[django__django__3.0] [django__django-11019] Test script run successful