-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-12708.SWE-bench_Lite_golden.eval.log
232 lines (222 loc) · 16.1 KB
/
django__django-12708.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__3.1] [django__django-12708] Task Metadata:
- Instance ID: django__django-12708
- Testbed: django__django__3.1
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.6.15
[django__django__3.1] [django__django-12708] Command: git -c advice.detachedHead=false checkout 447980e72ac01da1594dd3373a03ba40b7ee6f80
[django__django__3.1] [django__django-12708] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12708] Std. Output:
Previous HEAD position was 0668164b4a Fixed E128, E741 flake8 warnings.
HEAD is now at 447980e72a Fixed #31500 -- Fixed detecting of unique fields in QuerySet.in_bulk() when using Meta.constraints.
[django__django__3.1] [django__django-12708] Return Code: 0
[django__django__3.1] [django__django-12708] Command: git apply -v /opt/temp_django__django-12708_pred_try.patch
[django__django__3.1] [django__django-12708] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12708] Std. Output:
Checking patch django/db/backends/base/schema.py...
Applied patch django/db/backends/base/schema.py cleanly.
[django__django__3.1] [django__django-12708] Return Code: 0
[django__django__3.1] [django__django-12708] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.1] [django__django-12708] Command: git apply -v -R /opt/temp_django__django-12708_pred_try.patch
[django__django__3.1] [django__django-12708] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12708] Std. Output:
Checking patch django/db/backends/base/schema.py...
Applied patch django/db/backends/base/schema.py cleanly.
[django__django__3.1] [django__django-12708] Return Code: 0
[django__django__3.1] [django__django-12708] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.1] [django__django-12708] Command: git apply -v /opt/temp_django__django-12708_pred.patch
[django__django__3.1] [django__django-12708] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12708] Std. Output:
Checking patch django/db/backends/base/schema.py...
Applied patch django/db/backends/base/schema.py cleanly.
[django__django__3.1] [django__django-12708] Return Code: 0
[django__django__3.1] [django__django-12708] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__3.1] [django__django-12708] Command: git apply -v /opt/temp_django__django-12708_test.patch
[django__django__3.1] [django__django-12708] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12708] Std. Output:
Checking patch tests/migrations/test_base.py...
Checking patch tests/migrations/test_operations.py...
Applied patch tests/migrations/test_base.py cleanly.
Applied patch tests/migrations/test_operations.py cleanly.
[django__django__3.1] [django__django-12708] Return Code: 0
[django__django__3.1] [django__django-12708] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 migrations.test_base migrations.test_operations;
[django__django__3.1] [django__django-12708] Command: ./tests/runtests.py --verbosity 2 migrations.test_base migrations.test_operations
[django__django__3.1] [django__django-12708] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[django__django__3.1] [django__django-12708] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application migrations
Operations to perform:
Synchronize unmigrated apps: auth, contenttypes, messages, migrations, 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 migrations_modelwithcustombase
Creating table migrations_unmigratedmodel
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
Operations to perform:
Synchronize unmigrated apps: auth, contenttypes, messages, migrations, 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 migrations_modelwithcustombase
Creating table migrations_unmigratedmodel
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 (0 silenced).
Creating 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')...
Creating test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
Cloning test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
Cloning test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
Cloning test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
Cloning test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
test_references_model_mixin (migrations.test_operations.TestCreateModel) ... ok
test_reference_field_by_through_fields (migrations.test_operations.FieldOperationTests) ... ok
test_references_field_by_from_fields (migrations.test_operations.FieldOperationTests) ... ok
test_references_field_by_name (migrations.test_operations.FieldOperationTests) ... ok
test_references_field_by_remote_field_model (migrations.test_operations.FieldOperationTests) ... ok
test_references_field_by_through (migrations.test_operations.FieldOperationTests) ... ok
test_references_field_by_to_fields (migrations.test_operations.FieldOperationTests) ... ok
test_references_model (migrations.test_operations.FieldOperationTests) ... ok
test_add_field_ignore_swapped (migrations.test_operations.SwappableOperationTests) ... ok
test_create_ignore_swapped (migrations.test_operations.SwappableOperationTests) ... ok
test_delete_ignore_swapped (migrations.test_operations.SwappableOperationTests) ... ok
test_indexes_ignore_swapped (migrations.test_operations.SwappableOperationTests) ... ok
test_add_binaryfield (migrations.test_operations.OperationTests) ... ok
test_add_charfield (migrations.test_operations.OperationTests) ... ok
test_add_constraint (migrations.test_operations.OperationTests) ... ok
test_add_constraint_combinable (migrations.test_operations.OperationTests) ... ok
test_add_constraint_percent_escaping (migrations.test_operations.OperationTests) ... ok
test_add_field (migrations.test_operations.OperationTests) ... ok
test_add_field_m2m (migrations.test_operations.OperationTests) ... ok
test_add_field_preserve_default (migrations.test_operations.OperationTests) ... ok
test_add_index (migrations.test_operations.OperationTests) ... ok
test_add_index_state_forwards (migrations.test_operations.OperationTests) ... ok
test_add_or_constraint (migrations.test_operations.OperationTests) ... ok
test_add_partial_unique_constraint (migrations.test_operations.OperationTests) ... ok
test_add_textfield (migrations.test_operations.OperationTests) ... ok
test_alter_field (migrations.test_operations.OperationTests) ... ok
test_alter_field_m2m (migrations.test_operations.OperationTests) ... ok
test_alter_field_pk (migrations.test_operations.OperationTests) ... ok
test_alter_field_pk_fk (migrations.test_operations.OperationTests) ... ok
test_alter_field_reloads_state_on_fk_target_changes (migrations.test_operations.OperationTests) ... ok
test_alter_field_reloads_state_on_fk_with_to_field_related_name_target_type_change (migrations.test_operations.OperationTests) ... ok
test_alter_field_reloads_state_on_fk_with_to_field_target_changes (migrations.test_operations.OperationTests) ... ok
test_alter_field_reloads_state_on_fk_with_to_field_target_type_change (migrations.test_operations.OperationTests) ... ok
test_alter_field_with_index (migrations.test_operations.OperationTests) ... ok
test_alter_fk (migrations.test_operations.OperationTests) ... ok
test_alter_fk_non_fk (migrations.test_operations.OperationTests) ... ok
test_alter_index_together (migrations.test_operations.OperationTests) ... ok
test_alter_index_together_remove (migrations.test_operations.OperationTests) ... ok
test_alter_index_together_remove_with_unique_together (migrations.test_operations.OperationTests) ... ok
test_alter_model_managers (migrations.test_operations.OperationTests) ... ok
test_alter_model_managers_emptying (migrations.test_operations.OperationTests) ... ok
test_alter_model_options (migrations.test_operations.OperationTests) ... ok
test_alter_model_options_emptying (migrations.test_operations.OperationTests) ... ok
test_alter_model_table (migrations.test_operations.OperationTests) ... ok
test_alter_model_table_m2m (migrations.test_operations.OperationTests) ... ok
test_alter_model_table_none (migrations.test_operations.OperationTests) ... ok
test_alter_model_table_noop (migrations.test_operations.OperationTests) ... ok
test_alter_order_with_respect_to (migrations.test_operations.OperationTests) ... ok
test_alter_unique_together (migrations.test_operations.OperationTests) ... ok
test_alter_unique_together_remove (migrations.test_operations.OperationTests) ... ok
test_autofield__bigautofield_foreignfield_growth (migrations.test_operations.OperationTests)
A field may be migrated from AutoField to BigAutoField. ... ok
test_column_name_quoting (migrations.test_operations.OperationTests) ... ok
test_create_model (migrations.test_operations.OperationTests) ... ok
test_create_model_inheritance (migrations.test_operations.OperationTests) ... ok
test_create_model_m2m (migrations.test_operations.OperationTests) ... ok
test_create_model_managers (migrations.test_operations.OperationTests) ... ok
test_create_model_with_constraint (migrations.test_operations.OperationTests) ... ok
test_create_model_with_duplicate_base (migrations.test_operations.OperationTests) ... ok
test_create_model_with_duplicate_field_name (migrations.test_operations.OperationTests) ... ok
test_create_model_with_duplicate_manager_name (migrations.test_operations.OperationTests) ... ok
test_create_model_with_partial_unique_constraint (migrations.test_operations.OperationTests) ... ok
test_create_model_with_unique_after (migrations.test_operations.OperationTests) ... ok
test_create_proxy_model (migrations.test_operations.OperationTests) ... ok
test_create_unmanaged_model (migrations.test_operations.OperationTests) ... ok
test_delete_model (migrations.test_operations.OperationTests) ... ok
test_delete_mti_model (migrations.test_operations.OperationTests) ... ok
test_delete_proxy_model (migrations.test_operations.OperationTests) ... ok
test_model_with_bigautofield (migrations.test_operations.OperationTests) ... ok
test_remove_constraint (migrations.test_operations.OperationTests) ... ok
test_remove_field (migrations.test_operations.OperationTests) ... ok
test_remove_field_m2m (migrations.test_operations.OperationTests) ... ok
test_remove_field_m2m_with_through (migrations.test_operations.OperationTests) ... ok
test_remove_fk (migrations.test_operations.OperationTests) ... ok
test_remove_index (migrations.test_operations.OperationTests) ... ok
test_remove_index_state_forwards (migrations.test_operations.OperationTests) ... ok
test_remove_partial_unique_constraint (migrations.test_operations.OperationTests) ... ok
test_rename_field (migrations.test_operations.OperationTests) ... ok
test_rename_field_reloads_state_on_fk_target_changes (migrations.test_operations.OperationTests) ... ok
test_rename_m2m_model_after_rename_field (migrations.test_operations.OperationTests)
RenameModel renames a many-to-many column after a RenameField. ... ok
test_rename_m2m_target_model (migrations.test_operations.OperationTests) ... ok
test_rename_m2m_through_model (migrations.test_operations.OperationTests) ... ok
test_rename_missing_field (migrations.test_operations.OperationTests) ... ok
test_rename_model (migrations.test_operations.OperationTests) ... ok
test_rename_model_state_forwards (migrations.test_operations.OperationTests) ... ok
test_rename_model_with_m2m (migrations.test_operations.OperationTests) ... ok
test_rename_model_with_self_referential_fk (migrations.test_operations.OperationTests) ... ok
test_rename_model_with_self_referential_m2m (migrations.test_operations.OperationTests) ... ok
test_rename_model_with_superclass_fk (migrations.test_operations.OperationTests) ... ok
test_rename_referenced_field_state_forward (migrations.test_operations.OperationTests) ... ok
test_repoint_field_m2m (migrations.test_operations.OperationTests) ... ok
test_run_python (migrations.test_operations.OperationTests) ... ok
test_run_python_atomic (migrations.test_operations.OperationTests) ... ok
test_run_python_noop (migrations.test_operations.OperationTests) ... ok
test_run_python_related_assignment (migrations.test_operations.OperationTests) ... ok
test_run_sql (migrations.test_operations.OperationTests) ... ok
test_run_sql_noop (migrations.test_operations.OperationTests) ... ok
test_run_sql_params (migrations.test_operations.OperationTests) ... ok
test_run_sql_params_invalid (migrations.test_operations.OperationTests) ... ok
test_separate_database_and_state (migrations.test_operations.OperationTests) ... ok
test_separate_database_and_state2 (migrations.test_operations.OperationTests) ... ok
test_smallfield_autofield_foreignfield_growth (migrations.test_operations.OperationTests)
A field may be migrated from SmallAutoField to AutoField. ... ok
test_smallfield_bigautofield_foreignfield_growth (migrations.test_operations.OperationTests)
A field may be migrated from SmallAutoField to BigAutoField. ... ok
----------------------------------------------------------------------
Ran 102 tests in 1.406s
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')...
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 'other' ('file:memorydb_other?mode=memory&cache=shared')...
Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
[django__django__3.1] [django__django-12708] Return Code: 0
>>>>> All Tests Passed
[django__django__3.1] [django__django-12708] Test script run successful