-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathdjango__django-11797.gpt-4-0125-preview.eval.log
136 lines (128 loc) · 7.98 KB
/
django__django-11797.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
[django__django__3.1] [django__django-11797] Task Metadata:
- Instance ID: django__django-11797
- Testbed: django__django__3.1
- Evaluation Model: gpt-4-0125-preview
- Python version: Python 3.6.15
[django__django__3.1] [django__django-11797] Command: git -c advice.detachedHead=false checkout 3346b78a8a872286a245d1e77ef4718fc5e6be1a
[django__django__3.1] [django__django-11797] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11797] Std. Output:
Previous HEAD position was 0668164b4a Fixed E128, E741 flake8 warnings.
HEAD is now at 3346b78a8a Fixed #30786 -- Used CONVERT_TZ to check if the time zone definitions are installed on MySQL.
[django__django__3.1] [django__django-11797] Return Code: 0
[django__django__3.1] [django__django-11797] Command: git apply -v /opt/temp_django__django-11797_pred_try.patch
[django__django__3.1] [django__django-11797] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11797] Std. Output:
Checking patch django/db/models/sql/compiler.py...
Checking patch django/db/models/sql/query.py...
Applied patch django/db/models/sql/compiler.py cleanly.
Applied patch django/db/models/sql/query.py cleanly.
[django__django__3.1] [django__django-11797] Return Code: 0
[django__django__3.1] [django__django-11797] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.1] [django__django-11797] Command: git apply -v -R /opt/temp_django__django-11797_pred_try.patch
[django__django__3.1] [django__django-11797] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11797] Std. Output:
Checking patch django/db/models/sql/query.py...
Checking patch django/db/models/sql/compiler.py...
Applied patch django/db/models/sql/query.py cleanly.
Applied patch django/db/models/sql/compiler.py cleanly.
[django__django__3.1] [django__django-11797] Return Code: 0
[django__django__3.1] [django__django-11797] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.1] [django__django-11797] Command: git apply -v /opt/temp_django__django-11797_pred.patch
[django__django__3.1] [django__django-11797] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11797] Std. Output:
Checking patch django/db/models/sql/compiler.py...
Checking patch django/db/models/sql/query.py...
Applied patch django/db/models/sql/compiler.py cleanly.
Applied patch django/db/models/sql/query.py cleanly.
[django__django__3.1] [django__django-11797] Return Code: 0
[django__django__3.1] [django__django-11797] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__3.1] [django__django-11797] Command: git apply -v /opt/temp_django__django-11797_test.patch
[django__django__3.1] [django__django-11797] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.1] [django__django-11797] Std. Output:
Checking patch tests/lookup/tests.py...
Applied patch tests/lookup/tests.py cleanly.
[django__django__3.1] [django__django-11797] Return Code: 0
[django__django__3.1] [django__django-11797] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 lookup.tests;
[django__django__3.1] [django__django-11797] Command: ./tests/runtests.py --verbosity 2 lookup.tests
[django__django__3.1] [django__django-11797] 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-11797] Std. Output:
Creating 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
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
Traceback (most recent call last):
File "./tests/runtests.py", line 566, in <module>
options.start_at, options.start_after, options.pdb,
File "./tests/runtests.py", line 308, in django_tests
extra_tests=extra_tests,
File "/opt/django__django/django/test/runner.py", line 684, in run_tests
old_config = self.setup_databases(aliases=databases)
File "/opt/django__django/django/test/runner.py", line 606, in setup_databases
self.parallel, **kwargs
File "/opt/django__django/django/test/utils.py", line 173, in setup_databases
serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
File "/opt/django__django/django/db/backends/base/creation.py", line 72, in create_test_db
run_syncdb=True,
File "/opt/django__django/django/core/management/__init__.py", line 168, in call_command
return command.execute(*args, **defaults)
File "/opt/django__django/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
File "/opt/django__django/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
File "/opt/django__django/django/core/management/commands/migrate.py", line 233, in handle
fake_initial=fake_initial,
File "/opt/django__django/django/db/migrations/executor.py", line 123, in migrate
self.check_replacements()
File "/opt/django__django/django/db/migrations/executor.py", line 292, in check_replacements
applied = self.recorder.applied_migrations()
File "/opt/django__django/django/db/migrations/recorder.py", line 77, in applied_migrations
return {(migration.app, migration.name): migration for migration in self.migration_qs}
File "/opt/django__django/django/db/models/query.py", line 276, in __iter__
self._fetch_all()
File "/opt/django__django/django/db/models/query.py", line 1261, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/opt/django__django/django/db/models/query.py", line 57, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File "/opt/django__django/django/db/models/sql/compiler.py", line 1080, in execute_sql
sql, params = self.as_sql()
File "/opt/django__django/django/db/models/sql/compiler.py", line 483, in as_sql
extra_select, order_by, group_by = self.pre_sql_setup()
File "/opt/django__django/django/db/models/sql/compiler.py", line 53, in pre_sql_setup
group_by = self.get_group_by(self.select + extra_select, order_by)
File "/opt/django__django/django/db/models/sql/compiler.py", line 95, in get_group_by
if self.query.is_subquery and self.query.subquery_group_by:
AttributeError: 'Query' object has no attribute 'is_subquery'
[django__django__3.1] [django__django-11797] Return Code: 1
>>>>> Some Tests Failed
[django__django__3.1] [django__django-11797] Test script run successful