Open ZacSweers opened 1 year ago
Actually it seems to not even be parallel dependent as it still fails with max parallelism set to 1. It does work if I set forkEvery
to 1, which suggests there's some bad state getting persisted across the JVM.
We're also running into this issue. forkEvery = 1
works as a workaround, but we can't accept the performance cost. Another workaround I found is removing test classes (not individual tests) from the Gradle module that's using Paparazzi. Deleting or moving the classes to another module both work. Pretty weird, but somewhat coincides with how forkEvery
works.
Some things that didn't work for me include:
I'm starting to suspect this is an issue with Layoutlib/Skia native rendering on macOS, as this doesn't seem to be an issue on our Linux CI workers.
For what it's worth, seeing the same issue with:
We are also facing this issue.
Description
We're unable to record new snapshots for a few tests locally due to a native crash, but unable to figure out why.
I've attached three logs (from three different tests)
hs_err_pid56075.log hs_err_pid56076.log hs_err_pid56077.log
The relevant bit from the trace is
Steps to Reproduce I'm unable to reproduce this in a public project so far :/. However, I can share a couple of example tests.
Where the binding is
SKIconView
is a simple framelayout that renders icon font internally.SlackPaparazzi
is a simple wrapper around Paparazzi with our own defaults.One thing we have figured out is that they pass when run individually and not in parallel. Another possible thing in common is that these three may be using an icon font under the hood. We're looking more into this as well, but no luck currently.
Expected behavior Not to crash
Additional information: