Skip to content

[HOLD for payment 2024-07-10] [HOLD for payment 2024-07-02] hermesc fails on ~50% of Android builds #44050

@AndrewGable

Description

@AndrewGable

Problem

Our Android CI/CD builds fail ~50% of the time when building Android since enabling New Architecture.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:createBundleProductionReleaseJsAndAssets'.
> A problem occurred starting process 'command '/home/runner/work/App/App/node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/bin/hermesc''

Latest build failure: https://github.com/Expensify/App/actions/runs/9588292696/job/26440031076

Raw Logs: 10_Run Fastlane beta.txt

We think we've confirmed that this can still happen without any caches enabled, but we are open to trying removing caching or any intermediate steps to try to reduce the number of failures. We usually are able to get it to build successfully on the second or third build try.

Solution

Fix it!

cc @WoLewicki @j-piasecki

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions