-
Notifications
You must be signed in to change notification settings - Fork 23
/
django__django-15213.SWE-bench_Lite_golden.eval.log
181 lines (171 loc) · 12.5 KB
/
django__django-15213.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
[django__django__4.1] [django__django-15213] Task Metadata:
- Instance ID: django__django-15213
- Testbed: django__django__4.1
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.9.19
[django__django__4.1] [django__django-15213] Command: git -c advice.detachedHead=false checkout 03cadb912c78b769d6bf4a943a2a35fc1d952960
[django__django__4.1] [django__django-15213] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15213] Std. Output:
Previous HEAD position was 647480166b Refs #33685 -- Doc'd that using PostgreSQL's service names for testing purposes is not supported.
HEAD is now at 03cadb912c Removed a Python error message dependency in test_questioner_no_default_bad_user_entry_code().
[django__django__4.1] [django__django-15213] Return Code: 0
[django__django__4.1] [django__django-15213] Command: git apply -v /opt/temp_django__django-15213_pred_try.patch
[django__django__4.1] [django__django-15213] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15213] Std. Output:
Checking patch django/db/models/fields/__init__.py...
Applied patch django/db/models/fields/__init__.py cleanly.
[django__django__4.1] [django__django-15213] Return Code: 0
[django__django__4.1] [django__django-15213] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.1] [django__django-15213] Command: git apply -v -R /opt/temp_django__django-15213_pred_try.patch
[django__django__4.1] [django__django-15213] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15213] Std. Output:
Checking patch django/db/models/fields/__init__.py...
Applied patch django/db/models/fields/__init__.py cleanly.
[django__django__4.1] [django__django-15213] Return Code: 0
[django__django__4.1] [django__django-15213] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.1] [django__django-15213] Command: git apply -v /opt/temp_django__django-15213_pred.patch
[django__django__4.1] [django__django-15213] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15213] Std. Output:
Checking patch django/db/models/fields/__init__.py...
Applied patch django/db/models/fields/__init__.py cleanly.
[django__django__4.1] [django__django-15213] Return Code: 0
[django__django__4.1] [django__django-15213] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.1] [django__django-15213] Command: git apply -v /opt/temp_django__django-15213_test.patch
[django__django__4.1] [django__django-15213] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15213] Std. Output:
Checking patch tests/annotations/tests.py...
Applied patch tests/annotations/tests.py cleanly.
[django__django__4.1] [django__django-15213] Return Code: 0
[django__django__4.1] [django__django-15213] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 annotations.tests;
[django__django__4.1] [django__django-15213] Command: ./tests/runtests.py --verbosity 2 annotations.tests
[django__django__4.1] [django__django-15213] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[django__django__4.1] [django__django-15213] 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 annotations
Found 77 test(s).
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: annotations, 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 annotations_author
Creating table annotations_publisher
Creating table annotations_book
Creating table annotations_store
Creating table annotations_departmentstore
Creating table annotations_employee
Creating table annotations_company
Creating table annotations_ticket
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 (0 silenced).
test_aggregate_alias (annotations.tests.AliasTests) ... ok
test_alias_after_annotation (annotations.tests.AliasTests) ... ok
test_alias_annotate_with_aggregation (annotations.tests.AliasTests) ... ok
test_alias_annotation_expression (annotations.tests.AliasTests) ... ok
test_alias_default_alias_expression (annotations.tests.AliasTests) ... ok
test_basic_alias (annotations.tests.AliasTests) ... ok
test_basic_alias_annotation (annotations.tests.AliasTests) ... ok
test_basic_alias_f_annotation (annotations.tests.AliasTests) ... ok
test_basic_alias_f_transform_annotation (annotations.tests.AliasTests) ... ok
test_dates_alias (annotations.tests.AliasTests) ... ok
test_datetimes_alias (annotations.tests.AliasTests) ... ok
test_defer_only_alias (annotations.tests.AliasTests) ... ok
test_distinct_on_alias (annotations.tests.AliasTests) ... skipped "Database doesn't support feature(s): can_distinct_on_fields"
test_filter_alias_agg_with_double_f (annotations.tests.AliasTests) ... ok
test_filter_alias_with_double_f (annotations.tests.AliasTests) ... ok
test_filter_alias_with_f (annotations.tests.AliasTests) ... ok
test_joined_alias_annotation (annotations.tests.AliasTests) ... ok
test_order_by_alias (annotations.tests.AliasTests) ... ok
test_order_by_alias_aggregate (annotations.tests.AliasTests) ... ok
test_overwrite_alias_with_annotation (annotations.tests.AliasTests) ... ok
test_overwrite_annotation_with_alias (annotations.tests.AliasTests) ... ok
test_update_with_alias (annotations.tests.AliasTests) ... ok
test_values_alias (annotations.tests.AliasTests) ... ok
test_aggregate_over_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_aggregate_over_full_expression_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotate_exists (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotate_with_aggregation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotation_aggregate_with_m2o (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotation_exists_aggregate_values_chaining (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotation_filter_with_subquery (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotation_in_f_grouped_by_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotation_reverse_m2m (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotation_subquery_and_aggregate_values_chaining (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotation_subquery_outerref_transform (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_annotation_with_m2m (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_arguments_must_be_expressions (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_basic_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_basic_f_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_boolean_value_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_chaining_annotation_filter_with_m2m (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_chaining_transforms (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_column_field_ordering (annotations.tests.NonAggregateAnnotationTestCase)
Columns are aligned in the correct order for resolve_columns. This test ... ok
test_column_field_ordering_with_deferred (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_combined_annotation_commutative (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_combined_expression_annotation_with_aggregation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_combined_f_expression_annotation_with_aggregation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_custom_functions (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_custom_functions_can_ref_other_functions (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_custom_transform_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_decimal_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_defer_annotation (annotations.tests.NonAggregateAnnotationTestCase)
Deferred attributes can be referenced by an annotation, ... ok
test_distinct_on_with_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... skipped "Database doesn't support feature(s): can_distinct_on_fields"
test_empty_expression_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_empty_queryset_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_filter_agg_with_double_f (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_filter_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_filter_annotation_with_double_f (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_filter_annotation_with_f (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_filter_decimal_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_filter_wrong_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_full_expression_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_full_expression_annotation_with_aggregation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_grouping_by_q_expression_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_joined_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_joined_transformed_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_mixed_type_annotation_date_interval (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_mixed_type_annotation_numbers (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_mti_annotations (annotations.tests.NonAggregateAnnotationTestCase)
Fields on an inherited model can be referenced by an ... ok
test_null_annotation (annotations.tests.NonAggregateAnnotationTestCase)
Annotating None onto a model round-trips ... ok
test_order_by_aggregate (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_order_by_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_q_expression_annotation_with_aggregation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_raw_sql_with_inherited_field (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_rawsql_group_by_collapse (annotations.tests.NonAggregateAnnotationTestCase) ... skipped "Database doesn't support feature(s): allows_group_by_pk"
test_update_with_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
test_values_annotation (annotations.tests.NonAggregateAnnotationTestCase)
Annotations can reference fields in a values clause, ... ok
test_values_with_pk_annotation (annotations.tests.NonAggregateAnnotationTestCase) ... ok
----------------------------------------------------------------------
Ran 77 tests in 0.121s
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.1] [django__django-15213] Return Code: 0
>>>>> All Tests Passed
[django__django__4.1] [django__django-15213] Test script run successful