Skip to content

Commit 56ea501

Browse files
dependabot[bot]Archaeopteryx
authored andcommitted
Bump serialize-javascript from 6.0.1 to 6.0.2 (#8488)
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](yahoo/serialize-javascript@v6.0.1...v6.0.2) --- updated-dependencies: - dependency-name: serialize-javascript dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent fd99d4d commit 56ea501

File tree

107 files changed

+966
-2396
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+966
-2396
lines changed

Diff for: tests/log_parser/test_artifact_builder_collection.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ def test_default_builders():
3636
@responses.activate
3737
def test_all_builders_complete():
3838
"""test when parse.complete is true creates correct structure"""
39-
url = add_log_response(
40-
"mozilla-central_fedora-b2g_test-crashtest-1-bm54-tests1-linux-build50.txt.gz"
41-
)
39+
url = add_log_response("win-aarch64-build.txt.gz")
4240
lpc = ArtifactBuilderCollection(url)
4341
for builder in lpc.builders:
4442
builder.parser.complete = True

Diff for: tests/log_parser/test_log_view_artifact_builder.py

+23-98
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def do_test(log):
1818
result file with the same prefix.
1919
"""
2020

21-
url = add_log_response(f"{log}.txt.gz")
21+
url = add_log_response(f"{log}.log.gz")
2222

2323
builder = LogViewerArtifactBuilder(url)
2424
lpc = ArtifactBuilderCollection(url, builders=builder)
@@ -38,148 +38,73 @@ def do_test(log):
3838

3939
def test_mochitest_fail():
4040
"""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")
4342

4443

4544
def test_mochitest_process_crash():
4645
"""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")
5447

5548

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")
5951

6052

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")
7255

7356

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")
7859

7960

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")
8463

8564

86-
@skip
8765
def test_crashtest_timeout():
88-
"""Test from old log parser"""
8966
do_test("crashtest-timeout")
9067

9168

92-
@skip
93-
def test_jsreftest_timeout_crash():
94-
"""Test from old log parser"""
95-
do_test("jsreftest-timeout-crash")
96-
97-
98-
@skip
9969
def test_leaks_1():
10070
"""Test from old log parser"""
101-
do_test("leaks-1")
71+
do_test("leak")
10272

10373

104-
@skip
10574
def test_mochitest_test_end():
106-
"""Test from old log parser"""
107-
do_test("mochitest-test-end")
75+
do_test("mochitest-end")
10876

10977

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")
11480

11581

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
13582
def test_reftest_timeout():
136-
"""Test from old log parser"""
13783
do_test("reftest-timeout")
13884

13985

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")
15188

152-
@skip
153-
def test_xpcshell_multiple():
154-
"""Test from old log parser"""
155-
do_test("xpcshell-multiple")
15689

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")
16292

16393

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")
16996

17097

171-
@skip
17298
def test_too_many_error_lines_truncation():
17399
"""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")
175101

176102

177-
@skip
178103
def test_taskcluster_missing_finish_marker():
179104
"""
180105
A log from a Taskcluster job, where there was an infrastructure problem,
181106
and so the final step finish marker is missing. There is also log content
182107
between the step markers that should result in unnamed steps being created
183108
to house any errors within them.
184109
"""
185-
do_test("taskcluster-missing-finish-step-marker")
110+
do_test("taskcluster-only")

Diff for: tests/log_parser/test_performance_artifact_builder.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ def test_performance_log_parsing():
1515

1616
# first two have only one artifact, second has two artifacts
1717
for logfile, num_perf_artifacts in [
18-
("mozilla-inbound-android-api-11-debug-bm91-build1-build1317.txt.gz", 1),
19-
("try_ubuntu64_hw_test-chromez-bm103-tests1-linux-build1429.txt.gz", 1),
20-
("mozilla-inbound-linux64-bm72-build1-build225.txt.gz", 2),
18+
("android-opt-build.txt.gz", 5),
19+
("win-aarch64-build.txt.gz", 4),
20+
("linux-awsy.txt.gz", 2),
2121
]:
2222
url = add_log_response(logfile)
2323

Diff for: tests/log_parser/test_tasks.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
@pytest.fixture
1515
def jobs_with_local_log(activate_responses):
1616
sample_data = SampleData()
17-
url = add_log_response(
18-
"mozilla-inbound_ubuntu64_vm-debug_test-mochitest-other-bm53-tests1-linux-build122.txt.gz"
19-
)
17+
url = add_log_response("crashtest-timeout.log.gz")
2018

2119
job = sample_data.job_data[0]
2220

Diff for: tests/sample_data/logs/adjacent_identic_failure_lines.logview.json

-65
This file was deleted.
-59.5 KB
Binary file not shown.

Diff for: tests/sample_data/logs/android-opt-build.txt.gz

1.44 MB
Binary file not shown.

Diff for: tests/sample_data/logs/asan_too_large.log.gz

134 KB
Binary file not shown.

Diff for: tests/sample_data/logs/asan_too_large.logview.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"logurl": "http://my-log.mozilla.org/asan_too_large.log.gz",
3+
"errors": [
4+
{
5+
"linenumber": 5438,
6+
"line": "22:10:07 ERROR - PID 16211 | ==16211==ERROR: AddressSanitizer: heap-use-after-free on address 0x512000dacef0 at pc 0x7f5f778257ff bp 0x7fff65bbc1b0 sp 0x7fff65bbc1a8"
7+
},
8+
{
9+
"linenumber": 5542,
10+
"line": "22:10:09 INFO - PID 16211 | SUMMARY: AddressSanitizer: heap-use-after-free /builds/worker/workspace/obj-build/dist/include/nsISupportsImpl.h:388:19 in operator++"
11+
}
12+
]
13+
}
Binary file not shown.
Binary file not shown.

Diff for: tests/sample_data/logs/build-fail.log.gz

1.71 MB
Binary file not shown.

0 commit comments

Comments
 (0)