-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-14017.SWE-bench_Lite_golden.eval.log
286 lines (276 loc) · 19.9 KB
/
django__django-14017.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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
[django__django__4.0] [django__django-14017] Task Metadata:
- Instance ID: django__django-14017
- Testbed: django__django__4.0
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.8.19
[django__django__4.0] [django__django-14017] Command: git -c advice.detachedHead=false checkout 466920f6d726eee90d5566e0a9948e92b33a122e
[django__django__4.0] [django__django-14017] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14017] Std. Output:
Previous HEAD position was 475cffd1d6 Fixed typo in docs/intro/reusable-apps.txt.
HEAD is now at 466920f6d7 Fixed #32450 -- Fixed crash when ANDing/ORing an empty Q() with not pickleable Q().
[django__django__4.0] [django__django-14017] Return Code: 0
[django__django__4.0] [django__django-14017] Command: git apply -v /opt/temp_django__django-14017_pred_try.patch
[django__django__4.0] [django__django-14017] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14017] Std. Output:
Checking patch django/db/models/query_utils.py...
Applied patch django/db/models/query_utils.py cleanly.
[django__django__4.0] [django__django-14017] Return Code: 0
[django__django__4.0] [django__django-14017] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-14017] Command: git apply -v -R /opt/temp_django__django-14017_pred_try.patch
[django__django__4.0] [django__django-14017] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14017] Std. Output:
Checking patch django/db/models/query_utils.py...
Applied patch django/db/models/query_utils.py cleanly.
[django__django__4.0] [django__django-14017] Return Code: 0
[django__django__4.0] [django__django-14017] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-14017] Command: git apply -v /opt/temp_django__django-14017_pred.patch
[django__django__4.0] [django__django-14017] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14017] Std. Output:
Checking patch django/db/models/query_utils.py...
Applied patch django/db/models/query_utils.py cleanly.
[django__django__4.0] [django__django-14017] Return Code: 0
[django__django__4.0] [django__django-14017] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.0] [django__django-14017] Command: git apply -v /opt/temp_django__django-14017_test.patch
[django__django__4.0] [django__django-14017] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14017] Std. Output:
Checking patch tests/expressions/tests.py...
Applied patch tests/expressions/tests.py cleanly.
[django__django__4.0] [django__django-14017] Return Code: 0
[django__django__4.0] [django__django-14017] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 expressions.tests;
[django__django__4.0] [django__django-14017] Command: ./tests/runtests.py --verbosity 2 expressions.tests
[django__django__4.0] [django__django-14017] 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-14017] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application expressions
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: auth, contenttypes, expressions, 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 expressions_manager
Creating table expressions_employee
Creating table expressions_remoteemployee
Creating table expressions_company
Creating table expressions_number
Creating table expressions_ExPeRiMeNt
Creating table expressions_result
Creating table expressions_time
Creating table expressions_simulationrun
Creating table expressions_uuidpk
Creating table expressions_uuid
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')...
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_deconstruct (expressions.tests.FTests) ... ok
test_deepcopy (expressions.tests.FTests) ... ok
test_equal (expressions.tests.FTests) ... ok
test_hash (expressions.tests.FTests) ... ok
test_not_equal_Value (expressions.tests.FTests) ... ok
test_and (expressions.tests.CombinableTests) ... ok
test_negation (expressions.tests.CombinableTests) ... ok
test_or (expressions.tests.CombinableTests) ... ok
test_reversed_and (expressions.tests.CombinableTests) ... ok
test_reversed_or (expressions.tests.CombinableTests) ... ok
test_empty_group_by (expressions.tests.ExpressionWrapperTests) ... ok
test_non_empty_group_by (expressions.tests.ExpressionWrapperTests) ... ok
test_optimizations (expressions.tests.ExistsTests) ... ok
test_equal (expressions.tests.SimpleExpressionTests) ... ok
test_hash (expressions.tests.SimpleExpressionTests) ... ok
test_aggregates (expressions.tests.ReprTests) ... ok
test_distinct_aggregates (expressions.tests.ReprTests) ... ok
test_expressions (expressions.tests.ReprTests) ... ok
test_filtered_aggregates (expressions.tests.ReprTests) ... ok
test_functions (expressions.tests.ReprTests) ... ok
test_resolve_output_field (expressions.tests.CombinedExpressionTests) ... ok
test_month_aggregation (expressions.tests.FieldTransformTests) ... ok
test_multiple_transforms_in_values (expressions.tests.FieldTransformTests) ... ok
test_transform_in_values (expressions.tests.FieldTransformTests) ... ok
test_F_reuse (expressions.tests.ExpressionsTests) ... ok
test_insensitive_patterns_escape (expressions.tests.ExpressionsTests)
Special characters (e.g. %, _ and \) stored in database are ... ok
test_patterns_escape (expressions.tests.ExpressionsTests)
Special characters (e.g. %, _ and \) stored in database are ... ok
test_complex_expressions (expressions.tests.ExpressionsNumericTests)
Complex expressions of different connection types are possible. ... ok
test_fill_with_value_from_same_object (expressions.tests.ExpressionsNumericTests)
We can fill a value in all objects with an other value of the ... ok
test_filter_not_equals_other_field (expressions.tests.ExpressionsNumericTests)
We can filter for objects, where a value is not equals the value ... ok
test_increment_value (expressions.tests.ExpressionsNumericTests)
We can increment a value of all objects in a query set. ... ok
test_compile_unresolved (expressions.tests.ValueTests) ... ok
test_deconstruct (expressions.tests.ValueTests) ... ok
test_deconstruct_output_field (expressions.tests.ValueTests) ... ok
test_equal (expressions.tests.ValueTests) ... ok
test_equal_output_field (expressions.tests.ValueTests) ... ok
test_hash (expressions.tests.ValueTests) ... ok
test_raise_empty_expressionlist (expressions.tests.ValueTests) ... ok
test_resolve_output_field (expressions.tests.ValueTests) ... ok
test_resolve_output_field_failure (expressions.tests.ValueTests) ... ok
test_update_TimeField_using_Value (expressions.tests.ValueTests) ... ok
test_update_UUIDField_using_Value (expressions.tests.ValueTests) ... ok
test_complex_expressions_do_not_introduce_sql_injection_via_untrusted_string_inclusion (expressions.tests.IterableLookupInnerExpressionsTests)
This tests that SQL injection isn't possible using compilation of ... ok
test_expressions_in_lookups_join_choice (expressions.tests.IterableLookupInnerExpressionsTests) ... ok
test_in_lookup_allows_F_expressions_and_expressions_for_datetimes (expressions.tests.IterableLookupInnerExpressionsTests) ... ok
test_in_lookup_allows_F_expressions_and_expressions_for_integers (expressions.tests.IterableLookupInnerExpressionsTests) ... ok
test_range_lookup_allows_F_expressions_and_expressions_for_integers (expressions.tests.IterableLookupInnerExpressionsTests) ... ok
test_range_lookup_namedtuple (expressions.tests.IterableLookupInnerExpressionsTests) ... ok
test_lefthand_addition (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_bitwise_and (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_bitwise_left_shift_operator (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_bitwise_or (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_bitwise_right_shift_operator (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_bitwise_xor (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_bitwise_xor_not_supported (expressions.tests.ExpressionOperatorTests) ... skipped "Oracle doesn't support bitwise XOR."
test_lefthand_bitwise_xor_null (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_division (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_modulo (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_multiplication (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_power (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_subtraction (expressions.tests.ExpressionOperatorTests) ... ok
test_lefthand_transformed_field_bitwise_or (expressions.tests.ExpressionOperatorTests) ... ok
test_right_hand_addition (expressions.tests.ExpressionOperatorTests) ... ok
test_right_hand_division (expressions.tests.ExpressionOperatorTests) ... ok
test_right_hand_modulo (expressions.tests.ExpressionOperatorTests) ... ok
test_right_hand_multiplication (expressions.tests.ExpressionOperatorTests) ... ok
test_right_hand_subtraction (expressions.tests.ExpressionOperatorTests) ... ok
test_righthand_power (expressions.tests.ExpressionOperatorTests) ... ok
test_date_case_subtraction (expressions.tests.FTimeDeltaTests) ... ok
test_date_comparison (expressions.tests.FTimeDeltaTests) ... ok
test_date_minus_duration (expressions.tests.FTimeDeltaTests) ... ok
test_date_subquery_subtraction (expressions.tests.FTimeDeltaTests) ... ok
test_date_subtraction (expressions.tests.FTimeDeltaTests) ... ok
test_datetime_subquery_subtraction (expressions.tests.FTimeDeltaTests) ... ok
test_datetime_subtraction (expressions.tests.FTimeDeltaTests) ... ok
test_datetime_subtraction_microseconds (expressions.tests.FTimeDeltaTests) ... ok
test_delta_add (expressions.tests.FTimeDeltaTests) ... ok
test_delta_subtract (expressions.tests.FTimeDeltaTests) ... ok
test_delta_update (expressions.tests.FTimeDeltaTests) ... ok
test_duration_expressions (expressions.tests.FTimeDeltaTests) ... ok
test_duration_with_datetime (expressions.tests.FTimeDeltaTests) ... ok
test_duration_with_datetime_microseconds (expressions.tests.FTimeDeltaTests) ... ok
test_durationfield_add (expressions.tests.FTimeDeltaTests) ... ok
test_exclude (expressions.tests.FTimeDeltaTests) ... ok
test_invalid_operator (expressions.tests.FTimeDeltaTests) ... ok
test_mixed_comparisons1 (expressions.tests.FTimeDeltaTests) ... skipped "Database doesn't support feature(s): supports_mixed_date_datetime_comparisons"
test_mixed_comparisons2 (expressions.tests.FTimeDeltaTests) ... ok
test_multiple_query_compilation (expressions.tests.FTimeDeltaTests) ... ok
test_negative_timedelta_update (expressions.tests.FTimeDeltaTests) ... ok
test_query_clone (expressions.tests.FTimeDeltaTests) ... ok
test_time_subquery_subtraction (expressions.tests.FTimeDeltaTests) ... ok
test_time_subtraction (expressions.tests.FTimeDeltaTests) ... ok
test_aggregate_rawsql_annotation (expressions.tests.BasicExpressionsTests) ... ok
test_aggregate_subquery_annotation (expressions.tests.BasicExpressionsTests) ... ok
test_annotate_values_aggregate (expressions.tests.BasicExpressionsTests) ... ok
test_annotate_values_count (expressions.tests.BasicExpressionsTests) ... ok
test_annotate_values_filter (expressions.tests.BasicExpressionsTests) ... ok
test_annotation_with_nested_outerref (expressions.tests.BasicExpressionsTests) ... ok
test_annotation_with_outerref (expressions.tests.BasicExpressionsTests) ... ok
test_annotations_within_subquery (expressions.tests.BasicExpressionsTests) ... ok
test_arithmetic (expressions.tests.BasicExpressionsTests) ... ok
test_boolean_expression_combined (expressions.tests.BasicExpressionsTests) ... ok
test_boolean_expression_combined_with_empty_Q (expressions.tests.BasicExpressionsTests) ... ok
test_case_in_filter_if_boolean_output_field (expressions.tests.BasicExpressionsTests) ... ok
test_exist_single_field_output_field (expressions.tests.BasicExpressionsTests) ... ok
test_exists_in_filter (expressions.tests.BasicExpressionsTests) ... ok
test_explicit_output_field (expressions.tests.BasicExpressionsTests) ... ok
test_filter_inter_attribute (expressions.tests.BasicExpressionsTests) ... ok
test_filter_with_join (expressions.tests.BasicExpressionsTests) ... ok
test_filtering_on_annotate_that_uses_q (expressions.tests.BasicExpressionsTests) ... ok
test_filtering_on_q_that_is_boolean (expressions.tests.BasicExpressionsTests) ... ok
test_filtering_on_rawsql_that_is_boolean (expressions.tests.BasicExpressionsTests) ... ok
test_in_subquery (expressions.tests.BasicExpressionsTests) ... ok
test_incorrect_field_in_F_expression (expressions.tests.BasicExpressionsTests) ... ok
test_incorrect_joined_field_in_F_expression (expressions.tests.BasicExpressionsTests) ... ok
test_nested_outerref_with_function (expressions.tests.BasicExpressionsTests) ... ok
test_nested_subquery (expressions.tests.BasicExpressionsTests) ... ok
test_nested_subquery_join_outer_ref (expressions.tests.BasicExpressionsTests) ... ok
test_nested_subquery_outer_ref_2 (expressions.tests.BasicExpressionsTests) ... ok
test_nested_subquery_outer_ref_with_autofield (expressions.tests.BasicExpressionsTests) ... ok
test_new_object_create (expressions.tests.BasicExpressionsTests) ... ok
test_new_object_save (expressions.tests.BasicExpressionsTests) ... ok
test_object_create_with_aggregate (expressions.tests.BasicExpressionsTests) ... ok
test_object_update (expressions.tests.BasicExpressionsTests) ... ok
test_object_update_fk (expressions.tests.BasicExpressionsTests) ... ok
test_object_update_unsaved_objects (expressions.tests.BasicExpressionsTests) ... ok
test_order_by_exists (expressions.tests.BasicExpressionsTests) ... ok
test_order_by_multiline_sql (expressions.tests.BasicExpressionsTests) ... ok
test_order_of_operations (expressions.tests.BasicExpressionsTests) ... ok
test_outerref (expressions.tests.BasicExpressionsTests) ... ok
test_outerref_mixed_case_table_name (expressions.tests.BasicExpressionsTests) ... ok
test_outerref_with_operator (expressions.tests.BasicExpressionsTests) ... ok
test_parenthesis_priority (expressions.tests.BasicExpressionsTests) ... ok
test_pickle_expression (expressions.tests.BasicExpressionsTests) ... ok
test_subquery (expressions.tests.BasicExpressionsTests) ... ok
test_subquery_eq (expressions.tests.BasicExpressionsTests) ... ok
test_subquery_filter_by_aggregate (expressions.tests.BasicExpressionsTests) ... ok
test_subquery_filter_by_lazy (expressions.tests.BasicExpressionsTests) ... ok
test_subquery_group_by_outerref_in_filter (expressions.tests.BasicExpressionsTests) ... ok
test_subquery_in_filter (expressions.tests.BasicExpressionsTests) ... ok
test_subquery_references_joined_table_twice (expressions.tests.BasicExpressionsTests) ... ok
test_ticket_11722_iexact_lookup (expressions.tests.BasicExpressionsTests) ... ok
test_ticket_16731_startswith_lookup (expressions.tests.BasicExpressionsTests) ... ok
test_ticket_18375_chained_filters (expressions.tests.BasicExpressionsTests) ... ok
test_ticket_18375_join_reuse (expressions.tests.BasicExpressionsTests) ... ok
test_ticket_18375_kwarg_ordering (expressions.tests.BasicExpressionsTests) ... ok
test_ticket_18375_kwarg_ordering_2 (expressions.tests.BasicExpressionsTests) ... ok
test_update (expressions.tests.BasicExpressionsTests) ... ok
test_update_inherited_field_value (expressions.tests.BasicExpressionsTests) ... ok
test_update_with_fk (expressions.tests.BasicExpressionsTests) ... ok
test_update_with_none (expressions.tests.BasicExpressionsTests) ... ok
test_uuid_pk_subquery (expressions.tests.BasicExpressionsTests) ... ok
----------------------------------------------------------------------
Ran 152 tests in 0.321s
OK (skipped=2)
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')...
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-14017] Return Code: 0
>>>>> All Tests Passed
[django__django__4.0] [django__django-14017] Test script run successful