Skip to content

Commit

Permalink
[test] Add stress_snapshot test variant
Browse files Browse the repository at this point in the history
This variant passes the --stress-snapshot d8 flag. There's a large
initial list of skips, these should be removed as issues are fixed
over time. The variant is currently not enabled on any bots.

Bug: v8:10416
Change-Id: I80aea80600c51b2f5d28b8ec8a09ff0ba2ebaa7a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2179002
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67536}
  • Loading branch information
schuay authored and Commit Bot committed May 4, 2020
1 parent 22861ce commit fe8ff5f
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
74 changes: 74 additions & 0 deletions test/mjsunit/mjsunit.status
Original file line number Diff line number Diff line change
Expand Up @@ -1191,4 +1191,78 @@
'compiler/number-toboolean': [SKIP],
}], # variant == assert_types

##############################################################################
['variant == stress_snapshot', {
# TODO(jgruber): Remove this wildcard line ASAP.
'*': [SKIP],

# Crashes the serializer due to recursion.
'deep-recursion': [SKIP],
# Check failed: !field_type.NowStable() || field_type.NowContains(value).
'eval': [SKIP],
'regress/regress-737588': [SKIP],
'regress/regress-crbug-716520': [SKIP],
# Debug check failed:
# map == GetReadOnlyRoots(isolate).fixed_array_map() || map == GetReadOnlyRoots(isolate).fixed_cow_array_map().
# This means a mismatch of elements kinds / elements on the global object.
'es6/block-sloppy-function': [SKIP],
'es6/reflect-get-own-property-descriptor': [SKIP],
'es6/reflect': [SKIP],
'get-own-property-descriptor': [SKIP],
'global-properties': [SKIP],
'indexed-accessors': [SKIP],
'object-freeze-global': [SKIP],
'object-seal-global': [SKIP],
'regress/regress-1103': [SKIP],
'regress/regress-1112': [SKIP],
'regress/regress-1120': [SKIP],
'regress/regress-2346': [SKIP],
'regress/regress-489151': [SKIP],
'regress/regress-crbug-1002628': [SKIP],
'regress/regress-crbug-454091': [SKIP],
'regress/regress-crbug-663750': [SKIP],
'regress/regress-freeze-setter': [SKIP],
# TODO(v8:10495): Serialization now clears feedback vectors of the host
# isolate, but then execution cannot continue.
'compiler/regress-1028208': [SKIP],
'compiler/regress-1037771': [SKIP],
'es6/promises': [SKIP],
'serialize-deserialize-now': [SKIP],
'string-case': [SKIP],
# TODO(v8:10494): asm Code objects can't be flushed and end up in the isolate
# serializer.
'asm/*': [SKIP],
'compiler/regress-439743': [SKIP],
'regress/regress-441099': [SKIP],
'regress/regress-617526': [SKIP],
'regress/regress-6196': [SKIP],
'regress/regress-677685': [SKIP],
'regress/regress-7893': [SKIP],
'regress/regress-799690': [SKIP],
'regress/regress-8377': [SKIP],
'regress/regress-crbug-898974': [SKIP],
'regress/regress-crbug-935800': [SKIP],
'regress/regress-crbug-976934': [SKIP],
'regress/wasm/*': [SKIP],
'wasm/*': [SKIP],
# Investigate (IsScript).
'harmony/import-from-compilation-errored': [SKIP],
'harmony/private-fields-special-object': [SKIP],
# Investigate (JSFunction in startup serializer).
'regress/regress-1034394': [SKIP],
'regress/regress-863810': [SKIP],
'regress/regress-crbug-772056': [SKIP],
# Investigate (Check failed: buffer.byte_length() <= Smi::kMaxValue)
'regress/regress-319722-ArrayBuffer': [SKIP],
'regress/regress-599717': [SKIP],
'regress/regress-667603': [SKIP],
# Investigate (IsFixedArrayBase).
'regress/regress-786784': [SKIP],
'regress/regress-v8-9656': [SKIP],
# Investigate (startup_serializer_->ReferenceMapContains(obj)).
'regress/regress-813440': [SKIP],
# Investigate (segfault).
'regress/regress-crbug-397662': [SKIP],
}], # variant == stress_snapshot

]
2 changes: 2 additions & 0 deletions tools/testrunner/local/variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"stress_js_bg_compile_wasm_code_gc": [["--stress-background-compile",
"--stress-wasm-code-gc"]],
"stress_incremental_marking": [["--stress-incremental-marking"]],
"stress_snapshot": [["--stress-snapshot"]],
# Trigger stress sampling allocation profiler with sample interval = 2^14
"stress_sampling": [["--stress-sampling-allocation-profiler=16384"]],
"trusted": [["--no-untrusted-code-mitigations"]],
Expand All @@ -40,6 +41,7 @@

SLOW_VARIANTS = set([
'stress',
'stress_snapshot',
'nooptimization',
])

Expand Down

0 comments on commit fe8ff5f

Please sign in to comment.