@@ -18,7 +18,7 @@ def do_test(log):
18
18
result file with the same prefix.
19
19
"""
20
20
21
- url = add_log_response (f"{ log } .txt .gz" )
21
+ url = add_log_response (f"{ log } .log .gz" )
22
22
23
23
builder = LogViewerArtifactBuilder (url )
24
24
lpc = ArtifactBuilderCollection (url , builders = builder )
@@ -38,148 +38,73 @@ def do_test(log):
38
38
39
39
def test_mochitest_fail ():
40
40
"""Process a job with a single log reference."""
41
-
42
- do_test ("mozilla-esr17_xp_test_pgo-mochitest-browser-chrome-bm74-tests1-windows-build12" )
41
+ do_test ("mochitest-fail" )
43
42
44
43
45
44
def test_mochitest_process_crash ():
46
45
"""Test a mochitest log that has PROCESS-CRASH"""
47
-
48
- do_test ("mozilla-inbound_ubuntu64_vm-debug_test-mochitest-other-bm53-tests1-linux-build122" )
49
-
50
-
51
- def test_crash_1 ():
52
- """Test from old log parser"""
53
- do_test ("crash-1" )
46
+ do_test ("mochitest-crash" )
54
47
55
48
56
- def test_opt_objc_exception ():
57
- """Test from old log parser"""
58
- do_test ("opt-objc-exception" )
49
+ def test_wpt_multiple ():
50
+ do_test ("wpt-multiple" )
59
51
60
52
61
- def test_jsreftest_fail ():
62
- """Test from old log parser"""
63
- do_test ("jsreftest-fail" )
64
-
65
-
66
- # TODO remove old tests and update active tests with current live backing logs
67
- @skip
68
- def test_jetpack_fail ():
69
- """Process a job with a single log reference."""
70
-
71
- do_test ("ux_ubuntu32_vm_test-jetpack-bm67-tests1-linux-build16" )
53
+ def test_build_failure ():
54
+ do_test ("build-fail" )
72
55
73
56
74
- @skip
75
- def test_crash_2 ():
76
- """Test from old log parser"""
77
- do_test ("crash-2" )
57
+ def test_xpcshell_crash ():
58
+ do_test ("xpcshell-crash" )
78
59
79
60
80
- @skip
81
- def test_crash_mac_1 ():
82
- """Test from old log parser"""
83
- do_test ("crash-mac-1" )
61
+ def test_win_crash ():
62
+ do_test ("windows-stuff" )
84
63
85
64
86
- @skip
87
65
def test_crashtest_timeout ():
88
- """Test from old log parser"""
89
66
do_test ("crashtest-timeout" )
90
67
91
68
92
- @skip
93
- def test_jsreftest_timeout_crash ():
94
- """Test from old log parser"""
95
- do_test ("jsreftest-timeout-crash" )
96
-
97
-
98
- @skip
99
69
def test_leaks_1 ():
100
70
"""Test from old log parser"""
101
- do_test ("leaks-1 " )
71
+ do_test ("leak " )
102
72
103
73
104
- @skip
105
74
def test_mochitest_test_end ():
106
- """Test from old log parser"""
107
- do_test ("mochitest-test-end" )
75
+ do_test ("mochitest-end" )
108
76
109
77
110
- @skip
111
- def test_multiple_timeouts ():
112
- """Test from old log parser"""
113
- do_test ("multiple-timeouts" )
78
+ def test_reftest_fail ():
79
+ do_test ("reftest-fail" )
114
80
115
81
116
- @skip
117
- def test_reftest_fail_crash ():
118
- """Test from old log parser"""
119
- do_test ("reftest-fail-crash" )
120
-
121
-
122
- @skip
123
- def test_reftest_jserror ():
124
- """Test from old log parser"""
125
- do_test ("reftest-jserror" )
126
-
127
-
128
- @skip
129
- def test_reftest_opt_fail ():
130
- """Test from old log parser"""
131
- do_test ("reftest-opt-fail" )
132
-
133
-
134
- @skip
135
82
def test_reftest_timeout ():
136
- """Test from old log parser"""
137
83
do_test ("reftest-timeout" )
138
84
139
85
140
- @skip
141
- def test_tinderbox_exception ():
142
- """Test from old log parser"""
143
- do_test ("tinderbox-exception" )
144
-
145
-
146
- @skip
147
- def test_xpcshell_crash ():
148
- """Test from old log parser"""
149
- do_test ("xpcshell-crash" )
150
-
86
+ def test_timeout_crash ():
87
+ do_test ("timeout-crash" )
151
88
152
- @skip
153
- def test_xpcshell_multiple ():
154
- """Test from old log parser"""
155
- do_test ("xpcshell-multiple" )
156
89
157
-
158
- @skip
159
- def test_xpcshell_timeout ():
160
- """Test from old log parser"""
161
- do_test ("xpcshell-timeout" )
90
+ def test_taskcuster_timeout ():
91
+ do_test ("taskcluster-timeout" )
162
92
163
93
164
- @skip
165
- # This test is not actually testing truncation of lines - remove
166
- def test_extreme_log_line_length_truncation ():
167
- """This log has lines that are huge. Ensure we truncate the lines to 100"""
168
- do_test ("mozilla-central_ubuntu64_hw_test-androidx86-set-4-bm103-tests1-linux-build369" )
94
+ def test_asan_too_large ():
95
+ do_test ("asan_too_large" )
169
96
170
97
171
- @skip
172
98
def test_too_many_error_lines_truncation ():
173
99
"""This log has a large number of lines that match the error regex. Ensure we truncate to 100 lines."""
174
- do_test ("large-number-of-error-lines " )
100
+ do_test ("too_many_failures " )
175
101
176
102
177
- @skip
178
103
def test_taskcluster_missing_finish_marker ():
179
104
"""
180
105
A log from a Taskcluster job, where there was an infrastructure problem,
181
106
and so the final step finish marker is missing. There is also log content
182
107
between the step markers that should result in unnamed steps being created
183
108
to house any errors within them.
184
109
"""
185
- do_test ("taskcluster-missing-finish-step-marker " )
110
+ do_test ("taskcluster-only " )
0 commit comments