-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-12908.gpt-4-0125-preview.eval.log
251 lines (238 loc) · 13.7 KB
/
django__django-12908.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
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
[django__django__3.2] [django__django-12908] Task Metadata:
- Instance ID: django__django-12908
- Testbed: django__django__3.2
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.6.15
[django__django__3.2] [django__django-12908] Command: git -c advice.detachedHead=false checkout 49ae7ce50a874f8a04cd910882fb9571ff3a0d7a
[django__django__3.2] [django__django-12908] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12908] Std. Output:
Previous HEAD position was 65dfb06a1a [3.2.x] Fixed #32648 -- Fixed VariableDoesNotExist rendering sitemaps template.
HEAD is now at 49ae7ce50a Removed redundant assertions in fixtures tests.
[django__django__3.2] [django__django-12908] Return Code: 0
[django__django__3.2] [django__django-12908] Command: git apply -v /opt/temp_django__django-12908_pred_try.patch
[django__django__3.2] [django__django-12908] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12908] Std. Output:
Checking patch django/db/models/query.py...
Applied patch django/db/models/query.py cleanly.
[django__django__3.2] [django__django-12908] Return Code: 0
[django__django__3.2] [django__django-12908] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.2] [django__django-12908] Command: git apply -v -R /opt/temp_django__django-12908_pred_try.patch
[django__django__3.2] [django__django-12908] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12908] Std. Output:
Checking patch django/db/models/query.py...
Applied patch django/db/models/query.py cleanly.
[django__django__3.2] [django__django-12908] Return Code: 0
[django__django__3.2] [django__django-12908] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.2] [django__django-12908] Command: git apply -v /opt/temp_django__django-12908_pred.patch
[django__django__3.2] [django__django-12908] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12908] Std. Output:
Checking patch django/db/models/query.py...
Applied patch django/db/models/query.py cleanly.
[django__django__3.2] [django__django-12908] Return Code: 0
[django__django__3.2] [django__django-12908] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__3.2] [django__django-12908] Command: git apply -v /opt/temp_django__django-12908_test.patch
[django__django__3.2] [django__django-12908] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12908] Std. Output:
Checking patch tests/queries/test_qs_combinators.py...
Applied patch tests/queries/test_qs_combinators.py cleanly.
[django__django__3.2] [django__django-12908] Return Code: 0
[django__django__3.2] [django__django-12908] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 queries.test_qs_combinators;
[django__django__3.2] [django__django-12908] Command: ./tests/runtests.py --verbosity 2 queries.test_qs_combinators
[django__django__3.2] [django__django-12908] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[django__django__3.2] [django__django-12908] Std. Output:
Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
test_combining_multiple_models (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_count_difference (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_count_intersection (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_count_union (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_count_union_empty_result (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_difference_with_empty_qs (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_difference_with_values (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_intersection_with_empty_qs (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_intersection_with_values (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_limits (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_order_by_same_type (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_order_raises_on_non_selected_column (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_ordering (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_ordering_by_f_expression (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_ordering_subqueries (queries.test_qs_combinators.QuerySetSetOperationTests) ... skipped "Database doesn't support feature(s): supports_slicing_ordering_in_compound"
test_qs_with_subcompound_qs (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_simple_difference (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_simple_intersection (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_simple_union (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_union_distinct (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_union_with_empty_qs (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_union_with_extra_and_values_list (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_union_with_two_annotated_values_list (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_union_with_values (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_union_with_values_list_and_order (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_union_with_values_list_on_annotated_and_unannotated (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
test_unsupported_intersection_raises_db_error (queries.test_qs_combinators.QuerySetSetOperationTests) ... skipped 'Database has feature(s) supports_select_intersection'
test_unsupported_operations_on_combined_qs (queries.test_qs_combinators.QuerySetSetOperationTests) ... test_unsupported_ordering_slicing_raises_db_error (queries.test_qs_combinators.QuerySetSetOperationTests) ... ok
======================================================================
FAIL: test_unsupported_operations_on_combined_qs (queries.test_qs_combinators.QuerySetSetOperationTests) (combinator='union', operation='distinct')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/queries/test_qs_combinators.py", line 289, in test_unsupported_operations_on_combined_qs
getattr(getattr(qs, combinator)(qs), operation)()
File "/opt/pyenv/versions/3.6.15/lib/python3.6/contextlib.py", line 88, in __exit__
next(self.gen)
File "/opt/django__django/django/test/testcases.py", line 691, in _assert_raises_or_warns_cm
yield cm
AssertionError: NotSupportedError not raised
======================================================================
FAIL: test_unsupported_operations_on_combined_qs (queries.test_qs_combinators.QuerySetSetOperationTests) (combinator='difference', operation='distinct')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/queries/test_qs_combinators.py", line 289, in test_unsupported_operations_on_combined_qs
getattr(getattr(qs, combinator)(qs), operation)()
File "/opt/pyenv/versions/3.6.15/lib/python3.6/contextlib.py", line 88, in __exit__
next(self.gen)
File "/opt/django__django/django/test/testcases.py", line 691, in _assert_raises_or_warns_cm
yield cm
AssertionError: NotSupportedError not raised
======================================================================
FAIL: test_unsupported_operations_on_combined_qs (queries.test_qs_combinators.QuerySetSetOperationTests) (combinator='intersection', operation='distinct')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/queries/test_qs_combinators.py", line 289, in test_unsupported_operations_on_combined_qs
getattr(getattr(qs, combinator)(qs), operation)()
File "/opt/pyenv/versions/3.6.15/lib/python3.6/contextlib.py", line 88, in __exit__
next(self.gen)
File "/opt/django__django/django/test/testcases.py", line 691, in _assert_raises_or_warns_cm
yield cm
AssertionError: NotSupportedError not raised
----------------------------------------------------------------------
Ran 29 tests in 0.131s
FAILED (failures=3, skipped=2)
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Testing against Django installed in '/opt/django__django/django' with up to 12 processes
Importing application queries
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: auth, contenttypes, messages, queries, 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 queries_dumbcategory
Creating table queries_namedcategory
Creating table queries_tag
Creating table queries_note
Creating table queries_annotation
Creating table queries_datetimepk
Creating table queries_extrainfo
Creating table queries_author
Creating table queries_item
Creating table queries_report
Creating table queries_reportcomment
Creating table queries_ranking
Creating table queries_cover
Creating table queries_number
Creating table queries_valid
Creating table queries_x
Creating table queries_y
Creating table queries_loopx
Creating table queries_loopy
Creating table queries_loopz
Creating table queries_managedmodel
Creating table queries_detail
Creating table queries_member
Creating table queries_child
Creating table queries_custompk
Creating table queries_related
Creating table queries_custompktag
Creating table queries_celebrity
Creating table queries_tvchef
Creating table queries_fan
Creating table queries_leafa
Creating table queries_leafb
Creating table queries_join
Creating table queries_reservedname
Creating table queries_sharedconnection
Creating table queries_pointera
Creating table queries_pointerb
Creating table queries_singleobject
Creating table queries_relatedobject
Creating table queries_plaything
Creating table queries_article
Creating table queries_food
Creating table queries_eaten
Creating table queries_node
Creating table queries_objecta
Creating table queries_childobjecta
Creating table queries_objectb
Creating table queries_objectc
Creating table queries_simplecategory
Creating table queries_specialcategory
Creating table queries_categoryitem
Creating table queries_mixedcasefieldcategoryitem
Creating table queries_mixedcasedbcolumncategoryitem
Creating table queries_onetoonecategory
Creating table queries_categoryrelationship
Creating table queries_commonmixedcaseforeignkeys
Creating table queries_nullablename
Creating table queries_modeld
Creating table queries_modelc
Creating table queries_modelb
Creating table queries_modela
Creating table queries_job
Creating table queries_jobresponsibilities
Creating table queries_responsibility
Creating table queries_fk1
Creating table queries_fk2
Creating table queries_fk3
Creating table queries_basea
Creating table queries_identifier
Creating table queries_program
Creating table queries_channel
Creating table queries_book
Creating table queries_chapter
Creating table queries_paragraph
Creating table queries_page
Creating table queries_myobject
Creating table queries_order
Creating table queries_orderitem
Creating table queries_baseuser
Creating table queries_task
Creating table queries_staff
Creating table queries_staffuser
Creating table queries_ticket21203parent
Creating table queries_ticket21203child
Creating table queries_person
Creating table queries_company
Creating table queries_employment
Creating table queries_school
Creating table queries_student
Creating table queries_classroom
Creating table queries_teacher
Creating table queries_ticket23605aparent
Creating table queries_ticket23605a
Creating table queries_ticket23605b
Creating table queries_ticket23605c
Creating table Individual
Creating table RelatedIndividual
Creating table queries_customdbcolumn
Creating table queries_returningmodel
Creating table queries_nonintegerpkreturningmodel
Creating table queries_jsonfieldnullable
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 (1 silenced).
[django__django__3.2] [django__django-12908] Return Code: 1
>>>>> Some Tests Failed
[django__django__3.2] [django__django-12908] Test script run successful