-
Notifications
You must be signed in to change notification settings - Fork 23
/
django__django-15498.SWE-bench_Lite_golden.eval.log
109 lines (99 loc) · 6.98 KB
/
django__django-15498.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
[django__django__4.1] [django__django-15498] Task Metadata:
- Instance ID: django__django-15498
- Testbed: django__django__4.1
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.9.19
[django__django__4.1] [django__django-15498] Command: git -c advice.detachedHead=false checkout d90e34c61b27fba2527834806639eebbcfab9631
[django__django__4.1] [django__django-15498] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15498] 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 d90e34c61b Fixed #33561 -- Allowed synchronization of user attributes in RemoteUserBackend.
[django__django__4.1] [django__django-15498] Return Code: 0
[django__django__4.1] [django__django-15498] Command: git apply -v /opt/temp_django__django-15498_pred_try.patch
[django__django__4.1] [django__django-15498] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15498] Std. Output:
Checking patch django/views/static.py...
Applied patch django/views/static.py cleanly.
[django__django__4.1] [django__django-15498] Return Code: 0
[django__django__4.1] [django__django-15498] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.1] [django__django-15498] Command: git apply -v -R /opt/temp_django__django-15498_pred_try.patch
[django__django__4.1] [django__django-15498] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15498] Std. Output:
Checking patch django/views/static.py...
Applied patch django/views/static.py cleanly.
[django__django__4.1] [django__django-15498] Return Code: 0
[django__django__4.1] [django__django-15498] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.1] [django__django-15498] Command: git apply -v /opt/temp_django__django-15498_pred.patch
[django__django__4.1] [django__django-15498] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15498] Std. Output:
Checking patch django/views/static.py...
Applied patch django/views/static.py cleanly.
[django__django__4.1] [django__django-15498] Return Code: 0
[django__django__4.1] [django__django-15498] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.1] [django__django-15498] Command: git apply -v /opt/temp_django__django-15498_test.patch
[django__django__4.1] [django__django-15498] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15498] Std. Output:
Checking patch tests/view_tests/tests/test_static.py...
Applied patch tests/view_tests/tests/test_static.py cleanly.
[django__django__4.1] [django__django-15498] Return Code: 0
[django__django__4.1] [django__django-15498] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 view_tests.tests.test_static;
[django__django__4.1] [django__django-15498] Command: ./tests/runtests.py --verbosity 2 view_tests.tests.test_static
[django__django__4.1] [django__django-15498] 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-15498] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application view_tests
Found 30 test(s).
Skipping setup of unused database(s): default, other.
System check identified no issues (0 silenced).
test_was_modified_since_empty_string (view_tests.tests.test_static.StaticUtilsTests) ... ok
test_was_modified_since_fp (view_tests.tests.test_static.StaticUtilsTests)
A floating point mtime does not disturb was_modified_since (#18675). ... ok
test_404 (view_tests.tests.test_static.StaticTests) ... ok
test_chunked (view_tests.tests.test_static.StaticTests)
The static view should stream files in chunks to avoid large memory usage ... ok
test_copes_with_empty_path_component (view_tests.tests.test_static.StaticTests) ... ok
test_index (view_tests.tests.test_static.StaticTests) ... ok
test_index_custom_template (view_tests.tests.test_static.StaticTests) ... ok
test_index_subdir (view_tests.tests.test_static.StaticTests) ... ok
test_invalid_if_modified_since (view_tests.tests.test_static.StaticTests)
Handle bogus If-Modified-Since values gracefully ... ok
test_invalid_if_modified_since2 (view_tests.tests.test_static.StaticTests)
Handle even more bogus If-Modified-Since values gracefully ... ok
test_is_modified_since (view_tests.tests.test_static.StaticTests) ... ok
test_not_modified_since (view_tests.tests.test_static.StaticTests) ... ok
test_serve (view_tests.tests.test_static.StaticTests)
The static view can serve static media ... ok
test_unknown_mime_type (view_tests.tests.test_static.StaticTests) ... ok
test_404 (view_tests.tests.test_static.StaticHelperTest) ... ok
test_chunked (view_tests.tests.test_static.StaticHelperTest)
The static view should stream files in chunks to avoid large memory usage ... ok
test_copes_with_empty_path_component (view_tests.tests.test_static.StaticHelperTest) ... ok
test_debug_off (view_tests.tests.test_static.StaticHelperTest)
No URLs are served if DEBUG=False. ... ok
test_empty_prefix (view_tests.tests.test_static.StaticHelperTest) ... ok
test_index (view_tests.tests.test_static.StaticHelperTest) ... ok
test_index_custom_template (view_tests.tests.test_static.StaticHelperTest) ... ok
test_index_subdir (view_tests.tests.test_static.StaticHelperTest) ... ok
test_invalid_if_modified_since (view_tests.tests.test_static.StaticHelperTest)
Handle bogus If-Modified-Since values gracefully ... ok
test_invalid_if_modified_since2 (view_tests.tests.test_static.StaticHelperTest)
Handle even more bogus If-Modified-Since values gracefully ... ok
test_is_modified_since (view_tests.tests.test_static.StaticHelperTest) ... ok
test_not_modified_since (view_tests.tests.test_static.StaticHelperTest) ... ok
test_prefix (view_tests.tests.test_static.StaticHelperTest) ... ok
test_serve (view_tests.tests.test_static.StaticHelperTest)
The static view can serve static media ... ok
test_special_prefix (view_tests.tests.test_static.StaticHelperTest)
No URLs are served if prefix contains a netloc part. ... ok
test_unknown_mime_type (view_tests.tests.test_static.StaticHelperTest) ... ok
----------------------------------------------------------------------
Ran 30 tests in 0.079s
OK
[django__django__4.1] [django__django-15498] Return Code: 0
>>>>> All Tests Passed
[django__django__4.1] [django__django-15498] Test script run successful