-
Notifications
You must be signed in to change notification settings - Fork 23
/
django__django-16527.SWE-bench_Lite_golden.eval.log
232 lines (222 loc) · 12.1 KB
/
django__django-16527.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
[django__django__5.0] [django__django-16527] Task Metadata:
- Instance ID: django__django-16527
- Testbed: django__django__5.0
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.11.9
[django__django__5.0] [django__django-16527] Command: git -c advice.detachedHead=false checkout bd366ca2aeffa869b7dbc0b0aa01caea75e6dc31
[django__django__5.0] [django__django-16527] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16527] Std. Output:
Previous HEAD position was 4a72da7100 Refs #27471 -- Made admin's filter choice arrows use cursor pointers.
HEAD is now at bd366ca2ae Made PostgreSQL's SchemaEditor._create_index_sql() respect the "sql" argument.
[django__django__5.0] [django__django-16527] Return Code: 0
[django__django__5.0] [django__django-16527] Command: git apply -v /opt/temp_django__django-16527_pred_try.patch
[django__django__5.0] [django__django-16527] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16527] Std. Output:
Checking patch django/contrib/admin/templatetags/admin_modify.py...
Applied patch django/contrib/admin/templatetags/admin_modify.py cleanly.
[django__django__5.0] [django__django-16527] Return Code: 0
[django__django__5.0] [django__django-16527] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__5.0] [django__django-16527] Command: git apply -v -R /opt/temp_django__django-16527_pred_try.patch
[django__django__5.0] [django__django-16527] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16527] Std. Output:
Checking patch django/contrib/admin/templatetags/admin_modify.py...
Applied patch django/contrib/admin/templatetags/admin_modify.py cleanly.
[django__django__5.0] [django__django-16527] Return Code: 0
[django__django__5.0] [django__django-16527] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__5.0] [django__django-16527] Command: git apply -v /opt/temp_django__django-16527_pred.patch
[django__django__5.0] [django__django-16527] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16527] Std. Output:
Checking patch django/contrib/admin/templatetags/admin_modify.py...
Applied patch django/contrib/admin/templatetags/admin_modify.py cleanly.
[django__django__5.0] [django__django-16527] Return Code: 0
[django__django__5.0] [django__django-16527] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__5.0] [django__django-16527] Command: git apply -v /opt/temp_django__django-16527_test.patch
[django__django__5.0] [django__django-16527] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__5.0] [django__django-16527] Std. Output:
Checking patch tests/admin_views/test_templatetags.py...
Applied patch tests/admin_views/test_templatetags.py cleanly.
[django__django__5.0] [django__django-16527] Return Code: 0
[django__django__5.0] [django__django-16527] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 admin_views.test_templatetags;
[django__django__5.0] [django__django-16527] Command: ./tests/runtests.py --verbosity 2 admin_views.test_templatetags
[django__django__5.0] [django__django-16527] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[django__django__5.0] [django__django-16527] Std. Output:
Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application admin_views
Found 7 test(s).
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: admin_views, 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_views_section
Creating table admin_views_article
Creating table admin_views_book
Creating table admin_views_promo
Creating table admin_views_chapter
Creating table admin_views_chapterxtra1
Creating table admin_views_chapterxtra2
Creating table admin_views_rowlevelchangepermissionmodel
Creating table admin_views_customarticle
Creating table admin_views_modelwithstringprimarykey
Creating table admin_views_color
Creating table admin_views_thing
Creating table admin_views_actor
Creating table admin_views_inquisition
Creating table admin_views_sketch
Creating table admin_views_character
Creating table admin_views_stumpjoke
Creating table admin_views_fabric
Creating table admin_views_person
Creating table admin_views_persona
Creating table admin_views_account
Creating table admin_views_fooaccount
Creating table admin_views_baraccount
Creating table admin_views_subscriber
Creating table admin_views_externalsubscriber
Creating table admin_views_oldsubscriber
Creating table admin_views_media
Creating table admin_views_podcast
Creating table admin_views_vodcast
Creating table admin_views_parent
Creating table admin_views_child
Creating table admin_views_pkchild
Creating table admin_views_toy
Creating table admin_views_emptymodel
Creating table admin_views_gallery
Creating table admin_views_picture
Creating table admin_views_language
Creating table admin_views_title
Creating table admin_views_titletranslation
Creating table admin_views_recommender
Creating table admin_views_recommendation
Creating table admin_views_collector
Creating table admin_views_widget
Creating table admin_views_doohickey
Creating table admin_views_grommet
Creating table admin_views_whatsit
Creating table admin_views_doodad
Creating table admin_views_fancydoodad
Creating table admin_views_category
Creating table admin_views_link
Creating table admin_views_prepopulatedpost
Creating table admin_views_prepopulatedsubpost
Creating table admin_views_post
Creating table admin_views_gadget
Creating table admin_views_villain
Creating table admin_views_supervillain
Creating table admin_views_funkytag
Creating table admin_views_plot
Creating table admin_views_plotdetails
Creating table admin_views_secrethideout
Creating table admin_views_supersecrethideout
Creating table admin_views_bookmark
Creating table admin_views_cyclicone
Creating table admin_views_cyclictwo
Creating table admin_views_topping
Creating table admin_views_pizza
Creating table admin_views_album
Creating table admin_views_song
Creating table admin_views_employee
Creating table admin_views_workhour
Creating table admin_views_manager
Creating table admin_views_bonus
Creating table admin_views_question
Creating table admin_views_answer
Creating table admin_views_reservation
Creating table admin_views_fooddelivery
Creating table admin_views_coverletter
Creating table admin_views_paper
Creating table admin_views_shortmessage
Creating table admin_views_telegram
Creating table admin_views_story
Creating table admin_views_otherstory
Creating table admin_views_complexsortedperson
Creating table admin_views_pluggablesearchperson
Creating table admin_views_prepopulatedpostlargeslug
Creating table admin_views_adminorderedfield
Creating table admin_views_adminorderedmodelmethod
Creating table admin_views_adminorderedadminmethod
Creating table admin_views_adminorderedcallable
Creating table admin_views_report
Creating table admin_views_mainprepopulated
Creating table admin_views_relatedprepopulated
Creating table admin_views_unorderedobject
Creating table admin_views_undeletableobject
Creating table admin_views_unchangeableobject
Creating table admin_views_usermessenger
Creating table admin_views_simple
Creating table admin_views_choice
Creating table admin_views_parentwithdependentchildren
Creating table admin_views_dependentchild
Creating table admin_views_filteredmanager
Creating table admin_views_emptymodelvisible
Creating table admin_views_emptymodelhidden
Creating table admin_views_emptymodelmixin
Creating table admin_views_state
Creating table admin_views_city
Creating table admin_views_restaurant
Creating table admin_views_worker
Creating table admin_views_referencedbyparent
Creating table admin_views_parentwithfk
Creating table admin_views_childofreferer
Creating table admin_views_inlinereferer
Creating table admin_views_referencedbyinline
Creating table admin_views_inlinereference
Creating table admin_views_recipe
Creating table admin_views_ingredient
Creating table admin_views_recipeingredient
Creating table admin_views_notreferenced
Creating table admin_views_explicitlyprovidedpk
Creating table admin_views_implicitlygeneratedpk
Creating table admin_views_referencedbygenrel
Creating table admin_views_genrelreference
Creating table admin_views_parentwithuuidpk
Creating table admin_views_relatedwithuuidpkmodel
Creating table admin_views_author
Creating table admin_views_authorship
Creating table admin_views_readonlyrelatedfield
Creating table admin_views_héllo
Creating table admin_views_box
Creating table admin_views_country
Creating table admin_views_traveler
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
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')...
System check identified no issues (1 silenced).
test_choice_links (admin_views.test_templatetags.DateHierarchyTests.test_choice_links) ... ok
test_choice_links_datetime (admin_views.test_templatetags.DateHierarchyTests.test_choice_links_datetime) ... ok
test_override_change_form_template_tags (admin_views.test_templatetags.AdminTemplateTagsTest.test_override_change_form_template_tags)
admin_modify template tags follow the standard search pattern ... ok
test_override_change_list_template_tags (admin_views.test_templatetags.AdminTemplateTagsTest.test_override_change_list_template_tags)
admin_list template tags follow the standard search pattern ... ok
test_override_show_save_and_add_another (admin_views.test_templatetags.AdminTemplateTagsTest.test_override_show_save_and_add_another) ... ok
test_submit_row (admin_views.test_templatetags.AdminTemplateTagsTest.test_submit_row)
submit_row template tag should pass whole context. ... ok
test_submit_row_save_as_new_add_permission_required (admin_views.test_templatetags.AdminTemplateTagsTest.test_submit_row_save_as_new_add_permission_required) ... ok
----------------------------------------------------------------------
Ran 7 tests in 0.654s
OK
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__5.0] [django__django-16527] Return Code: 0
>>>>> All Tests Passed
[django__django__5.0] [django__django-16527] Test script run successful