-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-14155.SWE-bench_Lite_golden.eval.log
247 lines (237 loc) · 17.2 KB
/
django__django-14155.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
[django__django__4.0] [django__django-14155] Task Metadata:
- Instance ID: django__django-14155
- Testbed: django__django__4.0
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.8.19
[django__django__4.0] [django__django-14155] Command: git -c advice.detachedHead=false checkout 2f13c476abe4ba787b6cb71131818341911f43cc
[django__django__4.0] [django__django-14155] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14155] Std. Output:
Previous HEAD position was 475cffd1d6 Fixed typo in docs/intro/reusable-apps.txt.
HEAD is now at 2f13c476ab Fixed #31487 -- Added precision argument to Round().
[django__django__4.0] [django__django-14155] Return Code: 0
[django__django__4.0] [django__django-14155] Command: git apply -v /opt/temp_django__django-14155_pred_try.patch
[django__django__4.0] [django__django-14155] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14155] Std. Output:
Checking patch django/urls/resolvers.py...
Applied patch django/urls/resolvers.py cleanly.
[django__django__4.0] [django__django-14155] Return Code: 0
[django__django__4.0] [django__django-14155] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-14155] Command: git apply -v -R /opt/temp_django__django-14155_pred_try.patch
[django__django__4.0] [django__django-14155] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14155] Std. Output:
Checking patch django/urls/resolvers.py...
Applied patch django/urls/resolvers.py cleanly.
[django__django__4.0] [django__django-14155] Return Code: 0
[django__django__4.0] [django__django-14155] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.0] [django__django-14155] Command: git apply -v /opt/temp_django__django-14155_pred.patch
[django__django__4.0] [django__django-14155] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14155] Std. Output:
Checking patch django/urls/resolvers.py...
Applied patch django/urls/resolvers.py cleanly.
[django__django__4.0] [django__django-14155] Return Code: 0
[django__django__4.0] [django__django-14155] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.0] [django__django-14155] Command: git apply -v /opt/temp_django__django-14155_test.patch
[django__django__4.0] [django__django-14155] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.0] [django__django-14155] Std. Output:
Checking patch tests/urlpatterns_reverse/tests.py...
Applied patch tests/urlpatterns_reverse/tests.py cleanly.
[django__django__4.0] [django__django-14155] Return Code: 0
[django__django__4.0] [django__django-14155] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 urlpatterns_reverse.tests;
[django__django__4.0] [django__django-14155] Command: ./tests/runtests.py --verbosity 2 urlpatterns_reverse.tests
[django__django__4.0] [django__django-14155] 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-14155] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application urlpatterns_reverse
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: auth, contenttypes, messages, sessions, staticfiles, urlpatterns_reverse
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
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')...
Cloning test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
test_include_2_tuple (urlpatterns_reverse.tests.IncludeTests) ... ok
test_include_2_tuple_namespace (urlpatterns_reverse.tests.IncludeTests) ... ok
test_include_3_tuple (urlpatterns_reverse.tests.IncludeTests) ... ok
test_include_3_tuple_namespace (urlpatterns_reverse.tests.IncludeTests) ... ok
test_include_4_tuple (urlpatterns_reverse.tests.IncludeTests) ... ok
test_include_app_name (urlpatterns_reverse.tests.IncludeTests) ... ok
test_include_app_name_namespace (urlpatterns_reverse.tests.IncludeTests) ... ok
test_include_namespace (urlpatterns_reverse.tests.IncludeTests) ... ok
test_include_urls (urlpatterns_reverse.tests.IncludeTests) ... ok
test_callable_handlers (urlpatterns_reverse.tests.ErrorHandlerResolutionTests) ... ok
test_named_handlers (urlpatterns_reverse.tests.ErrorHandlerResolutionTests) ... ok
test_no_urls_exception (urlpatterns_reverse.tests.NoURLPatternsTests)
URLResolver should raise an exception when no urlpatterns exist. ... ok
test_attributeerror_not_hidden (urlpatterns_reverse.tests.ViewLoadingTests) ... ok
test_module_does_not_exist (urlpatterns_reverse.tests.ViewLoadingTests) ... ok
test_non_string_value (urlpatterns_reverse.tests.ViewLoadingTests) ... ok
test_not_callable (urlpatterns_reverse.tests.ViewLoadingTests) ... ok
test_parent_module_does_not_exist (urlpatterns_reverse.tests.ViewLoadingTests) ... ok
test_string_without_dot (urlpatterns_reverse.tests.ViewLoadingTests) ... ok
test_view_does_not_exist (urlpatterns_reverse.tests.ViewLoadingTests) ... ok
test_view_loading (urlpatterns_reverse.tests.ViewLoadingTests) ... ok
test_invalid_regex (urlpatterns_reverse.tests.ErroneousViewTests) ... ok
test_noncallable_view (urlpatterns_reverse.tests.ErroneousViewTests) ... ok
test_invalid_resolve (urlpatterns_reverse.tests.LookaheadTests) ... ok
test_invalid_reverse (urlpatterns_reverse.tests.LookaheadTests) ... ok
test_valid_resolve (urlpatterns_reverse.tests.LookaheadTests) ... ok
test_valid_reverse (urlpatterns_reverse.tests.LookaheadTests) ... ok
test_no_illegal_imports (urlpatterns_reverse.tests.ReverseShortcutTests) ... ok
test_redirect_to_object (urlpatterns_reverse.tests.ReverseShortcutTests) ... ok
test_redirect_to_url (urlpatterns_reverse.tests.ReverseShortcutTests) ... ok
test_redirect_to_view_name (urlpatterns_reverse.tests.ReverseShortcutTests) ... ok
test_redirect_view_object (urlpatterns_reverse.tests.ReverseShortcutTests) ... ok
test_reverse_by_path_nested (urlpatterns_reverse.tests.ReverseShortcutTests) ... ok
test_repr (urlpatterns_reverse.tests.ResolverMatchTests) ... ok
test_repr_functools_partial (urlpatterns_reverse.tests.ResolverMatchTests) ... ok
test_resolver_match_on_request (urlpatterns_reverse.tests.ResolverMatchTests) ... ok
test_resolver_match_on_request_before_resolution (urlpatterns_reverse.tests.ResolverMatchTests) ... ok
test_urlpattern_resolve (urlpatterns_reverse.tests.ResolverMatchTests) ... ok
test_illegal_args_message (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_illegal_kwargs_message (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_mixing_args_and_kwargs (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_no_args_message (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_non_urlsafe_prefix_with_args (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_patterns_reported (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_prefix_braces (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_prefix_format_char (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_prefix_parenthesis (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_reverse_none (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_script_name_escaping (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_urlpattern_reverse (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_view_not_found_message (urlpatterns_reverse.tests.URLPatternReverse) ... ok
test_build_absolute_uri (urlpatterns_reverse.tests.ReverseLazyTest) ... ok
test_inserting_reverse_lazy_into_string (urlpatterns_reverse.tests.ReverseLazyTest) ... ok
test_redirect_with_lazy_reverse (urlpatterns_reverse.tests.ReverseLazyTest) ... ok
test_user_permission_with_lazy_reverse (urlpatterns_reverse.tests.ReverseLazyTest) ... ok
test_no_handler_exception (urlpatterns_reverse.tests.NoRootUrlConfTests) ... ok
test_default_handler (urlpatterns_reverse.tests.DefaultErrorHandlerTests)
If the urls.py doesn't specify handlers, the defaults are used ... ok
test_reverse_inner_in_response_middleware (urlpatterns_reverse.tests.RequestURLconfTests)
Test reversing an URL from the *overridden* URLconf from inside ... ok
test_reverse_inner_in_streaming (urlpatterns_reverse.tests.RequestURLconfTests)
Test reversing an URL from the *overridden* URLconf from inside ... ok
test_reverse_outer_in_response_middleware (urlpatterns_reverse.tests.RequestURLconfTests)
Test reversing an URL from the *default* URLconf from inside ... ok
test_reverse_outer_in_streaming (urlpatterns_reverse.tests.RequestURLconfTests)
Test reversing an URL from the *default* URLconf from inside ... ok
test_urlconf (urlpatterns_reverse.tests.RequestURLconfTests) ... ok
test_urlconf_is_reset_after_request (urlpatterns_reverse.tests.RequestURLconfTests)
The URLconf is reset after each request. ... ok
test_urlconf_overridden (urlpatterns_reverse.tests.RequestURLconfTests) ... ok
test_urlconf_overridden_with_null (urlpatterns_reverse.tests.RequestURLconfTests)
Overriding request.urlconf with None will fall back to the default ... ok
test_404_tried_urls_have_names (urlpatterns_reverse.tests.ResolverTests)
The list of URLs that come back from a Resolver404 exception contains ... ok
test_namespaced_view_detail (urlpatterns_reverse.tests.ResolverTests) ... ok
test_non_regex (urlpatterns_reverse.tests.ResolverTests)
A Resolver404 is raised if resolving doesn't meet the basic ... ok
test_populate_concurrency (urlpatterns_reverse.tests.ResolverTests)
URLResolver._populate() can be called concurrently, but not more ... ok
test_resolver_repr (urlpatterns_reverse.tests.ResolverTests)
Test repr of URLResolver, especially when urlconf_name is a list ... ok
test_resolver_reverse (urlpatterns_reverse.tests.ResolverTests) ... ok
test_resolver_reverse_conflict (urlpatterns_reverse.tests.ResolverTests)
URL pattern name arguments don't need to be unique. The last registered ... ok
test_reverse_lazy_object_coercion_by_resolve (urlpatterns_reverse.tests.ResolverTests)
Verifies lazy object returned by reverse_lazy is coerced to ... ok
test_view_detail_as_method (urlpatterns_reverse.tests.ResolverTests) ... ok
test_ambiguous_object (urlpatterns_reverse.tests.NamespaceTests)
Names deployed via dynamic URL objects that require namespaces can't ... ok
test_ambiguous_urlpattern (urlpatterns_reverse.tests.NamespaceTests)
Names deployed via dynamic URL objects that require namespaces can't ... ok
test_app_lookup_object (urlpatterns_reverse.tests.NamespaceTests)
A default application namespace can be used for lookup. ... ok
test_app_lookup_object_with_default (urlpatterns_reverse.tests.NamespaceTests)
A default application namespace is sensitive to the current app. ... ok
test_app_lookup_object_without_default (urlpatterns_reverse.tests.NamespaceTests)
An application namespace without a default is sensitive to the current ... ok
test_app_name_pattern (urlpatterns_reverse.tests.NamespaceTests)
Namespaces can be applied to include()'d urlpatterns that set an ... ok
test_app_object (urlpatterns_reverse.tests.NamespaceTests)
Dynamic URL objects can return a (pattern, app_name) 2-tuple, and ... ok
test_app_object_default_namespace (urlpatterns_reverse.tests.NamespaceTests)
Namespace defaults to app_name when including a (pattern, app_name) ... ok
test_current_app_no_partial_match (urlpatterns_reverse.tests.NamespaceTests)
current_app shouldn't be used unless it matches the whole path. ... ok
test_embedded_namespace_object (urlpatterns_reverse.tests.NamespaceTests)
Namespaces can be installed anywhere in the URL pattern tree. ... ok
test_multiple_namespace_pattern (urlpatterns_reverse.tests.NamespaceTests)
Namespaces can be embedded. ... ok
test_namespace_object (urlpatterns_reverse.tests.NamespaceTests)
Dynamic URL objects can be found using a namespace. ... ok
test_namespace_pattern (urlpatterns_reverse.tests.NamespaceTests)
Namespaces can be applied to include()'d urlpatterns. ... ok
test_namespace_pattern_with_variable_prefix (urlpatterns_reverse.tests.NamespaceTests)
Using include() with namespaces when there is a regex variable in front ... ok
test_namespaces_with_variables (urlpatterns_reverse.tests.NamespaceTests)
Namespace prefixes can capture variables. ... ok
test_nested_app_lookup (urlpatterns_reverse.tests.NamespaceTests)
A nested current_app should be split in individual namespaces (#24904). ... ok
test_nested_namespace_pattern (urlpatterns_reverse.tests.NamespaceTests)
Namespaces can be nested. ... ok
test_non_existent_namespace (urlpatterns_reverse.tests.NamespaceTests)
Nonexistent namespaces raise errors. ... ok
test_normal_name (urlpatterns_reverse.tests.NamespaceTests)
Normal lookups work as expected. ... ok
test_simple_included_name (urlpatterns_reverse.tests.NamespaceTests)
Normal lookups work on names included from other patterns. ... ok
test_special_chars_namespace (urlpatterns_reverse.tests.NamespaceTests) ... ok
test_lazy_in_settings (urlpatterns_reverse.tests.ReverseLazySettingsTest) ... ok
----------------------------------------------------------------------
Ran 95 tests in 0.504s
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 '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-14155] Return Code: 0
>>>>> All Tests Passed
[django__django__4.0] [django__django-14155] Test script run successful