-
Notifications
You must be signed in to change notification settings - Fork 24
/
psf__requests-863.SWE-bench_Lite_golden.eval.log
152 lines (140 loc) · 10.9 KB
/
psf__requests-863.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
[psf__requests__0.14] [psf__requests-863] Task Metadata:
- Instance ID: psf__requests-863
- Testbed: psf__requests__0.14
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.9.19
[psf__requests__0.14] [psf__requests-863] Command: git -c advice.detachedHead=false checkout a0df2cbb10419037d11d04352b3175405ab52941
[psf__requests__0.14] [psf__requests-863] Subprocess args: {"cwd": "/opt/psf__requests", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[psf__requests__0.14] [psf__requests-863] Std. Output:
HEAD is now at a0df2cbb Merge pull request #853 from plaes/docs-license-missing-ref
[psf__requests__0.14] [psf__requests-863] Return Code: 0
[psf__requests__0.14] [psf__requests-863] Command: git apply -v /opt/temp_psf__requests-863_pred_try.patch
[psf__requests__0.14] [psf__requests-863] Subprocess args: {"cwd": "/opt/psf__requests", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[psf__requests__0.14] [psf__requests-863] Std. Output:
Checking patch requests/models.py...
Applied patch requests/models.py cleanly.
[psf__requests__0.14] [psf__requests-863] Return Code: 0
[psf__requests__0.14] [psf__requests-863] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[psf__requests__0.14] [psf__requests-863] Command: git apply -v -R /opt/temp_psf__requests-863_pred_try.patch
[psf__requests__0.14] [psf__requests-863] Subprocess args: {"cwd": "/opt/psf__requests", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[psf__requests__0.14] [psf__requests-863] Std. Output:
Checking patch requests/models.py...
Applied patch requests/models.py cleanly.
[psf__requests__0.14] [psf__requests-863] Return Code: 0
[psf__requests__0.14] [psf__requests-863] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[psf__requests__0.14] [psf__requests-863] Command: git apply -v /opt/temp_psf__requests-863_pred.patch
[psf__requests__0.14] [psf__requests-863] Subprocess args: {"cwd": "/opt/psf__requests", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[psf__requests__0.14] [psf__requests-863] Std. Output:
Checking patch requests/models.py...
Applied patch requests/models.py cleanly.
[psf__requests__0.14] [psf__requests-863] Return Code: 0
[psf__requests__0.14] [psf__requests-863] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[psf__requests__0.14] [psf__requests-863] Command: git restore tests/test_requests.py
[psf__requests__0.14] [psf__requests-863] Subprocess args: {"cwd": "/opt/psf__requests", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[psf__requests__0.14] [psf__requests-863] Std. Output:
[psf__requests__0.14] [psf__requests-863] Return Code: 0
[psf__requests__0.14] [psf__requests-863] Command: git apply -v /opt/temp_psf__requests-863_test.patch
[psf__requests__0.14] [psf__requests-863] Subprocess args: {"cwd": "/opt/psf__requests", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[psf__requests__0.14] [psf__requests-863] Std. Output:
Checking patch tests/test_requests.py...
Applied patch tests/test_requests.py cleanly.
[psf__requests__0.14] [psf__requests-863] Return Code: 0
[psf__requests__0.14] [psf__requests-863] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: pytest --no-header -rA --tb=no -p no:cacheprovider tests/test_requests.py;
[psf__requests__0.14] [psf__requests-863] Command: pytest --no-header -rA --tb=no -p no:cacheprovider tests/test_requests.py
[psf__requests__0.14] [psf__requests-863] Subprocess args: {"cwd": "/opt/psf__requests", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[psf__requests__0.14] [psf__requests-863] Std. Output:
============================= test session starts ==============================
collected 76 items
tests/test_requests.py ..FF..............F.............................. [ 64%]
.......FF.....F.F.......... [100%]
=============================== warnings summary ===============================
../pyenv/versions/3.9.19/lib/python3.9/site-packages/requests/packages/urllib3/_collections.py:7
/opt/pyenv/versions/3.9.19/lib/python3.9/site-packages/requests/packages/urllib3/_collections.py:7: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import MutableMapping
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
PASSED tests/test_requests.py::RequestsTestSuite::test_BASICAUTH_HTTP_200_OK_GET
PASSED tests/test_requests.py::RequestsTestSuite::test_BASICAUTH_TUPLE_HTTP_200_OK_GET
PASSED tests/test_requests.py::RequestsTestSuite::test_GET_no_redirect
PASSED tests/test_requests.py::RequestsTestSuite::test_HEAD_no_redirect
PASSED tests/test_requests.py::RequestsTestSuite::test_HTTP_200_OK_GET
PASSED tests/test_requests.py::RequestsTestSuite::test_HTTP_200_OK_GET_WITH_MIXED_PARAMS
PASSED tests/test_requests.py::RequestsTestSuite::test_HTTP_200_OK_GET_WITH_PARAMS
PASSED tests/test_requests.py::RequestsTestSuite::test_HTTP_200_OK_HEAD
PASSED tests/test_requests.py::RequestsTestSuite::test_HTTP_200_OK_PUT
PASSED tests/test_requests.py::RequestsTestSuite::test_HTTP_302_ALLOW_REDIRECT_GET
PASSED tests/test_requests.py::RequestsTestSuite::test_HTTP_302_GET
PASSED tests/test_requests.py::RequestsTestSuite::test_POSTBIN_GET_POST_FILES
PASSED tests/test_requests.py::RequestsTestSuite::test_POSTBIN_GET_POST_FILES_STRINGS
PASSED tests/test_requests.py::RequestsTestSuite::test_POSTBIN_GET_POST_FILES_WITH_HEADERS
PASSED tests/test_requests.py::RequestsTestSuite::test_POSTBIN_GET_POST_FILES_WITH_PARAMS
PASSED tests/test_requests.py::RequestsTestSuite::test_accept_objects_with_string_representations_as_urls
PASSED tests/test_requests.py::RequestsTestSuite::test_bytes_files
PASSED tests/test_requests.py::RequestsTestSuite::test_cached_response
PASSED tests/test_requests.py::RequestsTestSuite::test_can_have_none_in_header_values
PASSED tests/test_requests.py::RequestsTestSuite::test_connection_error
PASSED tests/test_requests.py::RequestsTestSuite::test_connection_error_with_safe_mode
PASSED tests/test_requests.py::RequestsTestSuite::test_connection_keepalive_and_close
PASSED tests/test_requests.py::RequestsTestSuite::test_danger_mode_redirects
PASSED tests/test_requests.py::RequestsTestSuite::test_decompress_gzip
PASSED tests/test_requests.py::RequestsTestSuite::test_default_status_raising
PASSED tests/test_requests.py::RequestsTestSuite::test_empty_response
PASSED tests/test_requests.py::RequestsTestSuite::test_entry_points
PASSED tests/test_requests.py::RequestsTestSuite::test_file_post_data
PASSED tests/test_requests.py::RequestsTestSuite::test_head_content
PASSED tests/test_requests.py::RequestsTestSuite::test_httpauth_recursion
PASSED tests/test_requests.py::RequestsTestSuite::test_invalid_url
PASSED tests/test_requests.py::RequestsTestSuite::test_invalid_urls_throw_requests_exception
PASSED tests/test_requests.py::RequestsTestSuite::test_iter_lines
PASSED tests/test_requests.py::RequestsTestSuite::test_max_redirects
PASSED tests/test_requests.py::RequestsTestSuite::test_multiple_hooks
PASSED tests/test_requests.py::RequestsTestSuite::test_none_vals_in_data_are_deleted
PASSED tests/test_requests.py::RequestsTestSuite::test_nonurlencoded_post_data
PASSED tests/test_requests.py::RequestsTestSuite::test_nonurlencoded_postdata
PASSED tests/test_requests.py::RequestsTestSuite::test_nonzero_evaluation
PASSED tests/test_requests.py::RequestsTestSuite::test_params_accepts_kv_list
PASSED tests/test_requests.py::RequestsTestSuite::test_params_are_added_before_fragment
PASSED tests/test_requests.py::RequestsTestSuite::test_path_is_not_double_encoded
PASSED tests/test_requests.py::RequestsTestSuite::test_permissive_iter_content
PASSED tests/test_requests.py::RequestsTestSuite::test_post_fields_with_multiple_values_and_files
PASSED tests/test_requests.py::RequestsTestSuite::test_post_fields_with_multiple_values_and_files_as_tuples
PASSED tests/test_requests.py::RequestsTestSuite::test_prefetch_redirect_bug
PASSED tests/test_requests.py::RequestsTestSuite::test_prefetch_return_response_interaction
PASSED tests/test_requests.py::RequestsTestSuite::test_redirect_history
PASSED tests/test_requests.py::RequestsTestSuite::test_relative_redirect_history
PASSED tests/test_requests.py::RequestsTestSuite::test_request_ok_set
PASSED tests/test_requests.py::RequestsTestSuite::test_response_has_unicode_url
PASSED tests/test_requests.py::RequestsTestSuite::test_response_sent
PASSED tests/test_requests.py::RequestsTestSuite::test_session_HTTP_200_OK_GET
PASSED tests/test_requests.py::RequestsTestSuite::test_session_persistent_headers
PASSED tests/test_requests.py::RequestsTestSuite::test_session_persistent_params
PASSED tests/test_requests.py::RequestsTestSuite::test_session_pickling
PASSED tests/test_requests.py::RequestsTestSuite::test_single_hook
PASSED tests/test_requests.py::RequestsTestSuite::test_status_raising
PASSED tests/test_requests.py::RequestsTestSuite::test_unicode_get
PASSED tests/test_requests.py::RequestsTestSuite::test_upload_binary_data
PASSED tests/test_requests.py::RequestsTestSuite::test_urlencoded_get_query_multivalued_param
PASSED tests/test_requests.py::RequestsTestSuite::test_urlencoded_post_data
PASSED tests/test_requests.py::RequestsTestSuite::test_urlencoded_post_query_and_data
PASSED tests/test_requests.py::RequestsTestSuite::test_urlencoded_post_query_multivalued_and_data
PASSED tests/test_requests.py::RequestsTestSuite::test_urlencoded_post_querystring
PASSED tests/test_requests.py::RequestsTestSuite::test_urlencoded_post_querystring_multivalued
PASSED tests/test_requests.py::RequestsTestSuite::test_useful_exception_for_invalid_port
PASSED tests/test_requests.py::RequestsTestSuite::test_useful_exception_for_invalid_scheme
PASSED tests/test_requests.py::RequestsTestSuite::test_user_agent_transfers
FAILED tests/test_requests.py::RequestsTestSuite::test_DIGESTAUTH_HTTP_200_OK_GET
FAILED tests/test_requests.py::RequestsTestSuite::test_DIGESTAUTH_WRONG_HTTP_401_GET
FAILED tests/test_requests.py::RequestsTestSuite::test_allow_list_of_hooks_to_register_hook
FAILED tests/test_requests.py::RequestsTestSuite::test_session_cookies_with_return_response_false
FAILED tests/test_requests.py::RequestsTestSuite::test_session_persistent_cookies
FAILED tests/test_requests.py::RequestsTestSuite::test_str_data_content_type
FAILED tests/test_requests.py::RequestsTestSuite::test_unpickled_session_requests
============== 7 failed, 69 passed, 1 warning in 76.47s (0:01:16) ==============
[psf__requests__0.14] [psf__requests-863] Return Code: 1
>>>>> Some Tests Failed
[psf__requests__0.14] [psf__requests-863] Test script run successful