-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-14752.SWE-bench_Lite_golden.eval.log
241 lines (231 loc) · 12.9 KB
/
django__django-14752.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
[django__django__4.0] [django__django-14752] Task Metadata:
- Instance ID: django__django-14752
- Testbed: django__django__4.0
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.8.19
[django__django__4.0] [django__django-14752] Command: git -c advice.detachedHead=false checkout b64db05b9cedd96905d637a2d824cbbf428e40e7
[django__django__4.0] [django__django-14752] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14752] Std. Output:
Previous HEAD position was 475cffd1d6 Fixed typo in docs/intro/reusable-apps.txt.
HEAD is now at b64db05b9c Removed unnecessary WhereNode.is_summary.
[django__django__4.0] [django__django-14752] Return Code: 0
[django__django__4.0] [django__django-14752] Command: git apply -v /opt/temp_django__django-14752_pred_try.patch
[django__django__4.0] [django__django-14752] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14752] Std. Output:
Checking patch django/contrib/admin/views/autocomplete.py...
Applied patch django/contrib/admin/views/autocomplete.py cleanly.
[django__django__4.0] [django__django-14752] Return Code: 0
[django__django__4.0] [django__django-14752] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-14752] Command: git apply -v -R /opt/temp_django__django-14752_pred_try.patch
[django__django__4.0] [django__django-14752] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14752] Std. Output:
Checking patch django/contrib/admin/views/autocomplete.py...
Applied patch django/contrib/admin/views/autocomplete.py cleanly.
[django__django__4.0] [django__django-14752] Return Code: 0
[django__django__4.0] [django__django-14752] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-14752] Command: git apply -v /opt/temp_django__django-14752_pred.patch
[django__django__4.0] [django__django-14752] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14752] Std. Output:
Checking patch django/contrib/admin/views/autocomplete.py...
Applied patch django/contrib/admin/views/autocomplete.py cleanly.
[django__django__4.0] [django__django-14752] Return Code: 0
[django__django__4.0] [django__django-14752] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.0] [django__django-14752] Command: git apply -v /opt/temp_django__django-14752_test.patch
[django__django__4.0] [django__django-14752] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14752] Std. Output:
Checking patch tests/admin_views/test_autocomplete_view.py...
Applied patch tests/admin_views/test_autocomplete_view.py cleanly.
[django__django__4.0] [django__django-14752] Return Code: 0
[django__django__4.0] [django__django-14752] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 admin_views.test_autocomplete_view;
[django__django__4.0] [django__django-14752] Command: ./tests/runtests.py --verbosity 2 admin_views.test_autocomplete_view
[django__django__4.0] [django__django-14752] 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-14752] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application admin_views
Found 19 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
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 (1 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')...
test_inline_add_another_widgets (admin_views.test_autocomplete_view.SeleniumTests) ... skipped 'No browsers specified.'
test_select (admin_views.test_autocomplete_view.SeleniumTests) ... skipped 'No browsers specified.'
test_select_multiple (admin_views.test_autocomplete_view.SeleniumTests) ... skipped 'No browsers specified.'
test_custom_to_field (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_custom_to_field_custom_pk (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_custom_to_field_permission_denied (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_field_does_not_allowed (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_field_does_not_exist (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_field_no_related_field (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_get_paginator (admin_views.test_autocomplete_view.AutocompleteJsonViewTests)
Search results are paginated. ... ok
test_has_view_or_change_permission_required (admin_views.test_autocomplete_view.AutocompleteJsonViewTests)
Users require the change permission for the related model to the ... ok
test_limit_choices_to (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_missing_search_fields (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_must_be_logged_in (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_search_use_distinct (admin_views.test_autocomplete_view.AutocompleteJsonViewTests)
Searching across model relations use QuerySet.distinct() to avoid ... ok
test_serialize_result (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_success (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_to_field_resolution_with_fk_pk (admin_views.test_autocomplete_view.AutocompleteJsonViewTests) ... ok
test_to_field_resolution_with_mti (admin_views.test_autocomplete_view.AutocompleteJsonViewTests)
to_field resolution should correctly resolve for target models using ... ok
----------------------------------------------------------------------
Ran 19 tests in 0.540s
OK (skipped=3)
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-14752] Return Code: 0
>>>>> All Tests Passed
[django__django__4.0] [django__django-14752] Test script run successful