-
Notifications
You must be signed in to change notification settings - Fork 23
/
django__django-12856.20240402_sweagent_gpt4.eval.log
121 lines (109 loc) · 8.11 KB
/
django__django-12856.20240402_sweagent_gpt4.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
[django__django__3.2] [django__django-12856] Task Metadata:
- Instance ID: django__django-12856
- Testbed: django__django__3.2
- Evaluation Model: 20240402_sweagent_gpt4
- Python version: Python 3.6.15
[django__django__3.2] [django__django-12856] Command: git -c advice.detachedHead=false checkout 8328811f048fed0dd22573224def8c65410c9f2e
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
Previous HEAD position was 65dfb06a1a [3.2.x] Fixed #32648 -- Fixed VariableDoesNotExist rendering sitemaps template.
HEAD is now at 8328811f04 Refs #31607 -- Added release notes for a125da6a7c79b1d4c55677d0bed6f9b1d7d77353.
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Command: git diff > /opt/temp_django__django-12856_pred_try_init.patch
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Command: git apply -v /opt/temp_django__django-12856_pred_try.patch
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
Checking patch django/db/migrations/graph.py...
Checking patch test_unique_constraint_field_existence.py...
Checking patch tests/testapp/__init__.py...
Applied patch django/db/migrations/graph.py cleanly.
Applied patch test_unique_constraint_field_existence.py cleanly.
Applied patch tests/testapp/__init__.py cleanly.
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.2] [django__django-12856] Command: git diff > /opt/temp_django__django-12856_pred_try_init.patch
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Command: git apply -v -R /opt/temp_django__django-12856_pred_try.patch
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
Checking patch tests/testapp/__init__.py...
Checking patch test_unique_constraint_field_existence.py...
Checking patch django/db/migrations/graph.py...
Applied patch tests/testapp/__init__.py cleanly.
Applied patch test_unique_constraint_field_existence.py cleanly.
Applied patch django/db/migrations/graph.py cleanly.
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__3.2] [django__django-12856] Command: git diff > /opt/temp_django__django-12856_pred_init.patch
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Command: git apply -v /opt/temp_django__django-12856_pred.patch
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
Checking patch django/db/migrations/graph.py...
Checking patch test_unique_constraint_field_existence.py...
Checking patch tests/testapp/__init__.py...
Applied patch django/db/migrations/graph.py cleanly.
Applied patch test_unique_constraint_field_existence.py cleanly.
Applied patch tests/testapp/__init__.py cleanly.
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__3.2] [django__django-12856] Command: git diff > /opt/temp_django__django-12856_test_init.patch
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Command: git apply -v /opt/temp_django__django-12856_test.patch
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__3.2] [django__django-12856] Std. Output:
Checking patch tests/invalid_models_tests/test_models.py...
Applied patch tests/invalid_models_tests/test_models.py cleanly.
[django__django__3.2] [django__django-12856] Return Code: 0
[django__django__3.2] [django__django-12856] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 invalid_models_tests.test_models;
[django__django__3.2] [django__django-12856] Command: ./tests/runtests.py --verbosity 2 invalid_models_tests.test_models
[django__django__3.2] [django__django-12856] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[django__django__3.2] [django__django-12856] 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 128 processes
Importing application invalid_models_tests
Traceback (most recent call last):
File "./tests/runtests.py", line 577, in <module>
options.start_at, options.start_after, options.pdb, options.buffer,
File "./tests/runtests.py", line 315, in django_tests
extra_tests=extra_tests,
File "/opt/django__django/django/test/runner.py", line 695, in run_tests
old_config = self.setup_databases(aliases=databases)
File "/opt/django__django/django/test/runner.py", line 616, in setup_databases
self.parallel, **kwargs
File "/opt/django__django/django/test/utils.py", line 174, in setup_databases
serialize=connection.settings_dict['TEST'].get('SERIALIZE', True),
File "/opt/django__django/django/db/backends/base/creation.py", line 70, 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 371, in execute
output = self.handle(*args, **options)
File "/opt/django__django/django/core/management/base.py", line 85, in wrapped
res = handle_func(*args, **kwargs)
File "/opt/django__django/django/core/management/commands/migrate.py", line 92, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
File "/opt/django__django/django/db/migrations/executor.py", line 18, in __init__
self.loader = MigrationLoader(self.connection)
File "/opt/django__django/django/db/migrations/loader.py", line 53, in __init__
self.build_graph()
File "/opt/django__django/django/db/migrations/loader.py", line 280, in build_graph
self.graph.ensure_not_cyclic()
AttributeError: 'MigrationGraph' object has no attribute 'ensure_not_cyclic'
[django__django__3.2] [django__django-12856] Return Code: 1
>>>>> Some Tests Failed
[django__django__3.2] [django__django-12856] Test script run successful