-
Notifications
You must be signed in to change notification settings - Fork 23
/
django__django-12747.SWE-bench_Lite_golden.eval.log
179 lines (169 loc) · 9.9 KB
/
django__django-12747.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
[django__django__3.1] [django__django-12747] Task Metadata:
- Instance ID: django__django-12747
- Testbed: django__django__3.1
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.6.15
[django__django__3.1] [django__django-12747] Command: git -c advice.detachedHead=false checkout c86201b6ed4f8256b0a0520c08aa674f623d4127
[django__django__3.1] [django__django-12747] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12747] Std. Output:
Previous HEAD position was 0668164b4a Fixed E128, E741 flake8 warnings.
HEAD is now at c86201b6ed Disabled management commands output with verbosity 0 in various tests.
[django__django__3.1] [django__django-12747] Return Code: 0
[django__django__3.1] [django__django-12747] Command: git apply -v /opt/temp_django__django-12747_pred_try.patch
[django__django__3.1] [django__django-12747] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12747] Std. Output:
Checking patch django/db/models/deletion.py...
Applied patch django/db/models/deletion.py cleanly.
[django__django__3.1] [django__django-12747] Return Code: 0
[django__django__3.1] [django__django-12747] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.1] [django__django-12747] Command: git apply -v -R /opt/temp_django__django-12747_pred_try.patch
[django__django__3.1] [django__django-12747] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12747] Std. Output:
Checking patch django/db/models/deletion.py...
Applied patch django/db/models/deletion.py cleanly.
[django__django__3.1] [django__django-12747] Return Code: 0
[django__django__3.1] [django__django-12747] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.1] [django__django-12747] Command: git apply -v /opt/temp_django__django-12747_pred.patch
[django__django__3.1] [django__django-12747] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12747] Std. Output:
Checking patch django/db/models/deletion.py...
Applied patch django/db/models/deletion.py cleanly.
[django__django__3.1] [django__django-12747] Return Code: 0
[django__django__3.1] [django__django-12747] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__3.1] [django__django-12747] Command: git apply -v /opt/temp_django__django-12747_test.patch
[django__django__3.1] [django__django-12747] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-12747] Std. Output:
Checking patch tests/delete/tests.py...
Applied patch tests/delete/tests.py cleanly.
[django__django__3.1] [django__django-12747] Return Code: 0
[django__django__3.1] [django__django-12747] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 delete.tests;
[django__django__3.1] [django__django-12747] Command: ./tests/runtests.py --verbosity 2 delete.tests
[django__django__3.1] [django__django-12747] 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-12747] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application delete
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: auth, contenttypes, delete, 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 delete_p
Creating table delete_r
Creating table delete_s
Creating table delete_t
Creating table delete_u
Creating table delete_rchild
Creating table delete_rchildchild
Creating table delete_a
Creating table delete_b
Creating table delete_m
Creating table delete_mr
Creating table delete_mrnull
Creating table delete_avatar
Creating table delete_user
Creating table delete_hiddenuser
Creating table delete_hiddenuserprofile
Creating table delete_m2mto
Creating table delete_m2mfrom
Creating table delete_parent
Creating table delete_child
Creating table delete_base
Creating table delete_reltobase
Creating table delete_origin
Creating table delete_referrer
Creating table delete_secondreferrer
Creating table delete_deletetop
Creating table delete_b1
Creating table delete_b2
Creating table delete_b3
Creating table delete_deletebottom
Creating table delete_genericb1
Creating table delete_genericb2
Creating table delete_genericdeletebottom
Creating table delete_genericdeletebottomparent
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')...
test_fast_delete_combined_relationships (delete.tests.FastDeleteTests) ... ok
test_fast_delete_empty_no_update_can_self_select (delete.tests.FastDeleteTests) ... ok
test_fast_delete_fk (delete.tests.FastDeleteTests) ... ok
test_fast_delete_inheritance (delete.tests.FastDeleteTests) ... ok
test_fast_delete_instance_set_pk_none (delete.tests.FastDeleteTests) ... ok
test_fast_delete_joined_qs (delete.tests.FastDeleteTests) ... ok
test_fast_delete_large_batch (delete.tests.FastDeleteTests) ... ok
test_fast_delete_m2m (delete.tests.FastDeleteTests) ... ok
test_fast_delete_qs (delete.tests.FastDeleteTests) ... ok
test_fast_delete_revm2m (delete.tests.FastDeleteTests) ... ok
test_auto (delete.tests.OnDeleteTests) ... ok
test_auto_nullable (delete.tests.OnDeleteTests) ... ok
test_cascade (delete.tests.OnDeleteTests) ... ok
test_cascade_from_child (delete.tests.OnDeleteTests) ... ok
test_cascade_from_parent (delete.tests.OnDeleteTests) ... ok
test_cascade_nullable (delete.tests.OnDeleteTests) ... ok
test_do_nothing (delete.tests.OnDeleteTests) ... ok
test_do_nothing_qscount (delete.tests.OnDeleteTests) ... ok
test_inheritance_cascade_down (delete.tests.OnDeleteTests) ... ok
test_inheritance_cascade_up (delete.tests.OnDeleteTests) ... ok
test_non_callable (delete.tests.OnDeleteTests) ... ok
test_o2o_setnull (delete.tests.OnDeleteTests) ... ok
test_protect (delete.tests.OnDeleteTests) ... ok
test_protect_multiple (delete.tests.OnDeleteTests) ... ok
test_protect_path (delete.tests.OnDeleteTests) ... ok
test_restrict (delete.tests.OnDeleteTests) ... ok
test_restrict_gfk_no_fast_delete (delete.tests.OnDeleteTests) ... ok
test_restrict_multiple (delete.tests.OnDeleteTests) ... ok
test_restrict_path_cascade_direct (delete.tests.OnDeleteTests) ... ok
test_restrict_path_cascade_indirect (delete.tests.OnDeleteTests) ... ok
test_restrict_path_cascade_indirect_diamond (delete.tests.OnDeleteTests) ... ok
test_setdefault (delete.tests.OnDeleteTests) ... ok
test_setdefault_none (delete.tests.OnDeleteTests) ... ok
test_setnull (delete.tests.OnDeleteTests) ... ok
test_setnull_from_child (delete.tests.OnDeleteTests) ... ok
test_setnull_from_parent (delete.tests.OnDeleteTests) ... ok
test_setvalue (delete.tests.OnDeleteTests) ... ok
test_bulk (delete.tests.DeletionTests) ... ok
test_can_defer_constraint_checks (delete.tests.DeletionTests) ... ok
test_cannot_defer_constraint_checks (delete.tests.DeletionTests) ... skipped 'Database has feature(s) can_defer_constraint_checks'
test_delete_with_keeping_parents (delete.tests.DeletionTests) ... ok
test_delete_with_keeping_parents_relationships (delete.tests.DeletionTests) ... ok
test_deletion_order (delete.tests.DeletionTests) ... ok
test_hidden_related (delete.tests.DeletionTests) ... ok
test_instance_update (delete.tests.DeletionTests) ... ok
test_large_delete (delete.tests.DeletionTests) ... ok
test_large_delete_related (delete.tests.DeletionTests) ... ok
test_m2m (delete.tests.DeletionTests) ... ok
test_model_delete_returns_num_rows (delete.tests.DeletionTests) ... ok
test_only_referenced_fields_selected (delete.tests.DeletionTests) ... ok
test_proxied_model_duplicate_queries (delete.tests.DeletionTests) ... ok
test_queryset_delete_returns_num_rows (delete.tests.DeletionTests) ... ok
test_relational_post_delete_signals_happen_before_parent_object (delete.tests.DeletionTests) ... ok
----------------------------------------------------------------------
Ran 53 tests in 0.916s
OK (skipped=1)
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__3.1] [django__django-12747] Return Code: 0
>>>>> All Tests Passed
[django__django__3.1] [django__django-12747] Test script run successful