-
Notifications
You must be signed in to change notification settings - Fork 23
/
django__django-15996.SWE-bench_Lite_golden.eval.log
129 lines (119 loc) · 8.33 KB
/
django__django-15996.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
[django__django__4.2] [django__django-15996] Task Metadata:
- Instance ID: django__django-15996
- Testbed: django__django__4.2
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.9.19
[django__django__4.2] [django__django-15996] Command: git -c advice.detachedHead=false checkout b30c0081d4d8a31ab7dc7f72a4c7099af606ef29
[django__django__4.2] [django__django-15996] Subprocess args: {"cwd": "/opt/django__django", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.2] [django__django-15996] Std. Output:
Previous HEAD position was 0fbdb9784d Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
HEAD is now at b30c0081d4 Refs #27412 -- Confirmed support for executing Coalesce(subquery).
[django__django__4.2] [django__django-15996] Return Code: 0
[django__django__4.2] [django__django-15996] Command: git apply -v /opt/temp_django__django-15996_pred_try.patch
[django__django__4.2] [django__django-15996] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.2] [django__django-15996] Std. Output:
Checking patch django/db/migrations/serializer.py...
Applied patch django/db/migrations/serializer.py cleanly.
[django__django__4.2] [django__django-15996] Return Code: 0
[django__django__4.2] [django__django-15996] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.2] [django__django-15996] Command: git apply -v -R /opt/temp_django__django-15996_pred_try.patch
[django__django__4.2] [django__django-15996] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.2] [django__django-15996] Std. Output:
Checking patch django/db/migrations/serializer.py...
Applied patch django/db/migrations/serializer.py cleanly.
[django__django__4.2] [django__django-15996] Return Code: 0
[django__django__4.2] [django__django-15996] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[django__django__4.2] [django__django-15996] Command: git apply -v /opt/temp_django__django-15996_pred.patch
[django__django__4.2] [django__django-15996] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.2] [django__django-15996] Std. Output:
Checking patch django/db/migrations/serializer.py...
Applied patch django/db/migrations/serializer.py cleanly.
[django__django__4.2] [django__django-15996] Return Code: 0
[django__django__4.2] [django__django-15996] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[django__django__4.2] [django__django-15996] Command: git apply -v /opt/temp_django__django-15996_test.patch
[django__django__4.2] [django__django-15996] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[django__django__4.2] [django__django-15996] Std. Output:
Checking patch tests/migrations/test_writer.py...
Applied patch tests/migrations/test_writer.py cleanly.
[django__django__4.2] [django__django-15996] Return Code: 0
[django__django__4.2] [django__django-15996] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: ./tests/runtests.py --verbosity 2 migrations.test_writer;
[django__django__4.2] [django__django-15996] Command: ./tests/runtests.py --verbosity 2 migrations.test_writer
[django__django__4.2] [django__django-15996] Subprocess args: {"cwd": "/opt/django__django", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[django__django__4.2] [django__django-15996] Std. Output:
Testing against Django installed in '/opt/django__django/django' with up to 128 processes
Importing application migrations
Found 52 test(s).
Skipping setup of unused database(s): default, other.
System check identified no issues (0 silenced).
test_args_kwargs_signature (migrations.test_writer.OperationWriterTests) ... ok
test_args_signature (migrations.test_writer.OperationWriterTests) ... ok
test_empty_signature (migrations.test_writer.OperationWriterTests) ... ok
test_expand_args_signature (migrations.test_writer.OperationWriterTests) ... ok
test_kwargs_signature (migrations.test_writer.OperationWriterTests) ... ok
test_multiline_args_signature (migrations.test_writer.OperationWriterTests) ... ok
test_nested_args_signature (migrations.test_writer.OperationWriterTests) ... ok
test_nested_operation_expand_args_signature (migrations.test_writer.OperationWriterTests) ... ok
test_custom_operation (migrations.test_writer.WriterTests) ... ok
test_deconstruct_class_arguments (migrations.test_writer.WriterTests) ... ok
test_migration_file_header_comments (migrations.test_writer.WriterTests)
Test comments at top of file. ... ok
test_migration_path (migrations.test_writer.WriterTests) ... ok
test_models_import_omitted (migrations.test_writer.WriterTests)
django.db.models shouldn't be imported if unused. ... ok
test_register_non_serializer (migrations.test_writer.WriterTests) ... ok
test_register_serializer (migrations.test_writer.WriterTests) ... ok
test_serialize_builtin_types (migrations.test_writer.WriterTests) ... ok
test_serialize_builtins (migrations.test_writer.WriterTests) ... ok
test_serialize_choices (migrations.test_writer.WriterTests) ... ok
test_serialize_class_based_validators (migrations.test_writer.WriterTests)
Ticket #22943: Test serialization of class-based validators, including ... ok
test_serialize_collections (migrations.test_writer.WriterTests) ... ok
test_serialize_compiled_regex (migrations.test_writer.WriterTests)
Make sure compiled regex can be serialized. ... ok
test_serialize_complex_func_index (migrations.test_writer.WriterTests) ... ok
test_serialize_constants (migrations.test_writer.WriterTests) ... ok
test_serialize_datetime (migrations.test_writer.WriterTests) ... ok
test_serialize_empty_nonempty_tuple (migrations.test_writer.WriterTests)
Ticket #22679: makemigrations generates invalid code for (an empty ... ok
test_serialize_enum_flags (migrations.test_writer.WriterTests) ... ok
test_serialize_enums (migrations.test_writer.WriterTests) ... ok
test_serialize_fields (migrations.test_writer.WriterTests) ... ok
test_serialize_frozensets (migrations.test_writer.WriterTests) ... ok
test_serialize_functions (migrations.test_writer.WriterTests) ... ok
test_serialize_functools_partial (migrations.test_writer.WriterTests) ... ok
test_serialize_functools_partialmethod (migrations.test_writer.WriterTests) ... ok
test_serialize_iterators (migrations.test_writer.WriterTests) ... ok
test_serialize_lazy_objects (migrations.test_writer.WriterTests) ... ok
test_serialize_local_function_reference (migrations.test_writer.WriterTests)
A reference in a local scope can't be serialized. ... ok
test_serialize_managers (migrations.test_writer.WriterTests) ... ok
test_serialize_multiline_strings (migrations.test_writer.WriterTests) ... ok
test_serialize_nested_class (migrations.test_writer.WriterTests) ... ok
test_serialize_numbers (migrations.test_writer.WriterTests) ... ok
test_serialize_path_like (migrations.test_writer.WriterTests) ... ok
test_serialize_pathlib (migrations.test_writer.WriterTests) ... ok
test_serialize_range (migrations.test_writer.WriterTests) ... ok
test_serialize_set (migrations.test_writer.WriterTests) ... ok
test_serialize_settings (migrations.test_writer.WriterTests) ... ok
test_serialize_strings (migrations.test_writer.WriterTests) ... ok
test_serialize_timedelta (migrations.test_writer.WriterTests) ... ok
test_serialize_type_model (migrations.test_writer.WriterTests) ... ok
test_serialize_type_none (migrations.test_writer.WriterTests) ... ok
test_serialize_unbound_method_reference (migrations.test_writer.WriterTests)
An unbound method used within a class body can be serialized. ... ok
test_serialize_uuid (migrations.test_writer.WriterTests) ... ok
test_simple_migration (migrations.test_writer.WriterTests)
Tests serializing a simple migration. ... ok
test_sorted_imports (migrations.test_writer.WriterTests)
#24155 - Tests ordering of imports. ... ok
----------------------------------------------------------------------
Ran 52 tests in 0.213s
OK
[django__django__4.2] [django__django-15996] Return Code: 0
>>>>> All Tests Passed
[django__django__4.2] [django__django-15996] Test script run successful