-
Notifications
You must be signed in to change notification settings - Fork 24
/
django__django-11905.gpt-4-0125-preview.eval.log
187 lines (173 loc) · 10.2 KB
/
django__django-11905.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
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
[django__django__3.1] [django__django-11905] Task Metadata:
- Instance ID: django__django-11905
- Testbed: django__django__3.1
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.6.15
[django__django__3.1] [django__django-11905] Command: git -c advice.detachedHead=false checkout 2f72480fbd27896c986c45193e1603e35c0b19a7
[django__django__3.1] [django__django-11905] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11905] Std. Output:
Previous HEAD position was 0668164b4a Fixed E128, E741 flake8 warnings.
HEAD is now at 2f72480fbd Replaced deprecated assertEquals() with assertEqual().
[django__django__3.1] [django__django-11905] Return Code: 0
[django__django__3.1] [django__django-11905] Command: git apply -v /opt/temp_django__django-11905_pred_try.patch
[django__django__3.1] [django__django-11905] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11905] Std. Output:
Checking patch django/db/models/sql/query.py...
Applied patch django/db/models/sql/query.py cleanly.
[django__django__3.1] [django__django-11905] Return Code: 0
[django__django__3.1] [django__django-11905] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.1] [django__django-11905] Command: git apply -v -R /opt/temp_django__django-11905_pred_try.patch
[django__django__3.1] [django__django-11905] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11905] Std. Output:
Checking patch django/db/models/sql/query.py...
Applied patch django/db/models/sql/query.py cleanly.
[django__django__3.1] [django__django-11905] Return Code: 0
[django__django__3.1] [django__django-11905] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.1] [django__django-11905] Command: git apply -v /opt/temp_django__django-11905_pred.patch
[django__django__3.1] [django__django-11905] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11905] Std. Output:
Checking patch django/db/models/sql/query.py...
Applied patch django/db/models/sql/query.py cleanly.
[django__django__3.1] [django__django-11905] Return Code: 0
[django__django__3.1] [django__django-11905] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__3.1] [django__django-11905] Command: git apply -v /opt/temp_django__django-11905_test.patch
[django__django__3.1] [django__django-11905] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11905] Std. Output:
Checking patch tests/lookup/models.py...
Checking patch tests/lookup/tests.py...
Applied patch tests/lookup/models.py cleanly.
Applied patch tests/lookup/tests.py cleanly.
[django__django__3.1] [django__django-11905] Return Code: 0
[django__django__3.1] [django__django-11905] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 lookup.models lookup.tests;
[django__django__3.1] [django__django-11905] Command: ./tests/runtests.py --verbosity 2 lookup.models lookup.tests
[django__django__3.1] [django__django-11905] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[django__django__3.1] [django__django-11905] Std. Output:
Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
test_chain_date_time_lookups (lookup.tests.LookupTests) ... ok
test_count (lookup.tests.LookupTests) ... ok
test_custom_field_none_rhs (lookup.tests.LookupTests) ... ok
test_custom_lookup_none_rhs (lookup.tests.LookupTests)
Lookup.can_use_none_as_rhs=True allows None as a lookup value. ... ok
test_error_messages (lookup.tests.LookupTests) ... ok
test_escaping (lookup.tests.LookupTests) ... ok
test_exact_exists (lookup.tests.LookupTests) ... ok
test_exact_none_transform (lookup.tests.LookupTests)
Transforms are used for __exact=None. ... ok
test_exact_query_rhs_with_selected_columns (lookup.tests.LookupTests) ... ok
test_exact_sliced_queryset_limit_one (lookup.tests.LookupTests) ... ok
test_exact_sliced_queryset_limit_one_offset (lookup.tests.LookupTests) ... ok
test_exact_sliced_queryset_not_limited_to_one (lookup.tests.LookupTests) ... ok
test_exclude (lookup.tests.LookupTests) ... ok
test_exists (lookup.tests.LookupTests) ... ok
test_get_next_previous_by (lookup.tests.LookupTests) ... ok
test_in (lookup.tests.LookupTests) ... ok
test_in_bulk (lookup.tests.LookupTests) ... ok
test_in_bulk_lots_of_ids (lookup.tests.LookupTests) ... ok
test_in_bulk_non_unique_field (lookup.tests.LookupTests) ... ok
test_in_bulk_with_field (lookup.tests.LookupTests) ... ok
test_in_different_database (lookup.tests.LookupTests) ... ok
test_in_keeps_value_ordering (lookup.tests.LookupTests) ... ok
test_isnull_non_boolean_value (lookup.tests.LookupTests) ... test_iterator (lookup.tests.LookupTests) ... ok
test_lookup_collision (lookup.tests.LookupTests) ... ok
test_lookup_date_as_str (lookup.tests.LookupTests) ... ok
test_lookup_int_as_str (lookup.tests.LookupTests) ... ok
test_nested_outerref_lhs (lookup.tests.LookupTests) ... ok
test_none (lookup.tests.LookupTests) ... ok
test_nonfield_lookups (lookup.tests.LookupTests) ... ok
test_pattern_lookups_with_substr (lookup.tests.LookupTests) ... ok
test_regex (lookup.tests.LookupTests) ... ok
test_regex_backreferencing (lookup.tests.LookupTests) ... ok
test_regex_non_ascii (lookup.tests.LookupTests) ... ok
test_regex_non_string (lookup.tests.LookupTests) ... ok
test_regex_null (lookup.tests.LookupTests) ... ok
test_relation_nested_lookup_error (lookup.tests.LookupTests) ... ok
test_unsupported_lookups (lookup.tests.LookupTests) ... ok
test_values (lookup.tests.LookupTests) ... ok
test_values_list (lookup.tests.LookupTests) ... ok
======================================================================
FAIL: test_isnull_non_boolean_value (lookup.tests.LookupTests) (qs=<QuerySet []>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/lookup/tests.py", line 993, in test_isnull_non_boolean_value
qs.exists()
File "/opt/pyenv/versions/3.6.15/lib/python3.6/contextlib.py", line 88, in __exit__
next(self.gen)
File "/opt/django__django/django/test/testcases.py", line 682, in _assert_raises_or_warns_cm
yield cm
AssertionError: RemovedInDjango40Warning not triggered
======================================================================
FAIL: test_isnull_non_boolean_value (lookup.tests.LookupTests) (qs=<QuerySet []>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/lookup/tests.py", line 993, in test_isnull_non_boolean_value
qs.exists()
File "/opt/pyenv/versions/3.6.15/lib/python3.6/contextlib.py", line 88, in __exit__
next(self.gen)
File "/opt/django__django/django/test/testcases.py", line 682, in _assert_raises_or_warns_cm
yield cm
AssertionError: RemovedInDjango40Warning not triggered
======================================================================
FAIL: test_isnull_non_boolean_value (lookup.tests.LookupTests) (qs=<QuerySet []>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/lookup/tests.py", line 993, in test_isnull_non_boolean_value
qs.exists()
File "/opt/pyenv/versions/3.6.15/lib/python3.6/contextlib.py", line 88, in __exit__
next(self.gen)
File "/opt/django__django/django/test/testcases.py", line 682, in _assert_raises_or_warns_cm
yield cm
AssertionError: RemovedInDjango40Warning not triggered
======================================================================
FAIL: test_isnull_non_boolean_value (lookup.tests.LookupTests) (qs=<QuerySet []>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/django__django/tests/lookup/tests.py", line 993, in test_isnull_non_boolean_value
qs.exists()
File "/opt/pyenv/versions/3.6.15/lib/python3.6/contextlib.py", line 88, in __exit__
next(self.gen)
File "/opt/django__django/django/test/testcases.py", line 682, in _assert_raises_or_warns_cm
yield cm
AssertionError: RemovedInDjango40Warning not triggered
----------------------------------------------------------------------
Ran 40 tests in 0.334s
FAILED (failures=4)
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Testing against Django installed in '/opt/django__django/django' with up to 12 processes
Importing application lookup
Skipping setup of unused database(s): other.
Operations to perform:
Synchronize unmigrated apps: auth, contenttypes, lookup, 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 lookup_alarm
Creating table lookup_author
Creating table lookup_article
Creating table lookup_tag
Creating table lookup_season
Creating table lookup_game
Creating table lookup_player
Creating table lookup_product
Creating table lookup_stock
Creating table lookup_freebie
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).
[django__django__3.1] [django__django-11905] Return Code: 1
>>>>> Some Tests Failed
[django__django__3.1] [django__django-11905] Test script run successful