-
Notifications
You must be signed in to change notification settings - Fork 21
/
django__django-15202.gpt-4-0125-preview.eval.log
105 lines (93 loc) · 6.67 KB
/
django__django-15202.gpt-4-0125-preview.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
[django__django__4.1] [django__django-15202] Task Metadata:
- Instance ID: django__django-15202
- Testbed: django__django__4.1
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.9.19
[django__django__4.1] [django__django-15202] Command: git -c advice.detachedHead=false checkout 4fd3044ca0135da903a70dfb66992293f529ecf1
[django__django__4.1] [django__django-15202] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15202] 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 4fd3044ca0 Fixed #33368 -- Fixed parse_duration() crash on invalid separators for decimal fractions.
[django__django__4.1] [django__django-15202] Return Code: 0
[django__django__4.1] [django__django-15202] Command: git apply -v /opt/temp_django__django-15202_pred_try.patch
[django__django__4.1] [django__django-15202] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15202] Std. Output:
Checking patch django/core/validators.py...
Applied patch django/core/validators.py cleanly.
[django__django__4.1] [django__django-15202] Return Code: 0
[django__django__4.1] [django__django-15202] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.1] [django__django-15202] Command: git apply -v -R /opt/temp_django__django-15202_pred_try.patch
[django__django__4.1] [django__django-15202] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15202] Std. Output:
Checking patch django/core/validators.py...
Applied patch django/core/validators.py cleanly.
[django__django__4.1] [django__django-15202] Return Code: 0
[django__django__4.1] [django__django-15202] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.1] [django__django-15202] Command: git apply -v /opt/temp_django__django-15202_pred.patch
[django__django__4.1] [django__django-15202] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15202] Std. Output:
Checking patch django/core/validators.py...
Applied patch django/core/validators.py cleanly.
[django__django__4.1] [django__django-15202] Return Code: 0
[django__django__4.1] [django__django-15202] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.1] [django__django-15202] Command: git apply -v /opt/temp_django__django-15202_test.patch
[django__django__4.1] [django__django-15202] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.1] [django__django-15202] Std. Output:
Checking patch tests/forms_tests/field_tests/test_urlfield.py...
Applied patch tests/forms_tests/field_tests/test_urlfield.py cleanly.
[django__django__4.1] [django__django-15202] Return Code: 0
[django__django__4.1] [django__django-15202] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 forms_tests.field_tests.test_urlfield;
[django__django__4.1] [django__django-15202] Command: ./tests/runtests.py --verbosity 2 forms_tests.field_tests.test_urlfield
[django__django__4.1] [django__django-15202] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[django__django__4.1] [django__django-15202] Std. Output:
test_urlfield_clean (forms_tests.field_tests.test_urlfield.URLFieldTest) ... ok
test_urlfield_clean_invalid (forms_tests.field_tests.test_urlfield.URLFieldTest) ... test_urlfield_clean_not_required (forms_tests.field_tests.test_urlfield.URLFieldTest) ... ok
test_urlfield_clean_required (forms_tests.field_tests.test_urlfield.URLFieldTest) ... ok
test_urlfield_strip_on_none_value (forms_tests.field_tests.test_urlfield.URLFieldTest) ... ok
test_urlfield_unable_to_set_strip_kwarg (forms_tests.field_tests.test_urlfield.URLFieldTest) ... ok
test_urlfield_widget (forms_tests.field_tests.test_urlfield.URLFieldTest) ... ok
test_urlfield_widget_max_min_length (forms_tests.field_tests.test_urlfield.URLFieldTest) ... ok
======================================================================
ERROR: test_urlfield_clean_invalid (forms_tests.field_tests.test_urlfield.URLFieldTest) (value='////]@N.AN')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/forms_tests/field_tests/test_urlfield.py", line 112, in test_urlfield_clean_invalid
f.clean(value)
File "/opt/django__django/django/forms/fields.py", line 151, in clean
self.run_validators(value)
File "/opt/django__django/django/forms/fields.py", line 136, in run_validators
v(value)
File "/opt/django__django/django/core/validators.py", line 130, in __call__
host_match = re.search(r'^\[(.+)\](?::\d{1,5})?$', urlsplit(value).netloc)
File "/opt/pyenv/versions/3.9.19/lib/python3.9/urllib/parse.py", line 496, in urlsplit
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL
======================================================================
ERROR: test_urlfield_clean_invalid (forms_tests.field_tests.test_urlfield.URLFieldTest) (value='#@A.bO')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/forms_tests/field_tests/test_urlfield.py", line 112, in test_urlfield_clean_invalid
f.clean(value)
File "/opt/django__django/django/forms/fields.py", line 151, in clean
self.run_validators(value)
File "/opt/django__django/django/forms/fields.py", line 136, in run_validators
v(value)
File "/opt/django__django/django/core/validators.py", line 142, in __call__
if len(urlsplit(value).hostname) > 253:
TypeError: object of type 'NoneType' has no len()
----------------------------------------------------------------------
Ran 8 tests in 0.160s
FAILED (errors=2)
Testing against Django installed in '/opt/django__django/django' with up to 12 processes
Importing application forms_tests
Found 8 test(s).
Skipping setup of unused database(s): default, other.
System check identified no issues (0 silenced).
[django__django__4.1] [django__django-15202] Return Code: 1
>>>>> Some Tests Failed
[django__django__4.1] [django__django-15202] Test script run successful