Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.11k stars 2.61k forks source link

Investigate workflow job failing on main: e2ePerformanceTests / Run E2E tests in AWS device farm #44522

Open github-actions[bot] opened 1 week ago

github-actions[bot] commented 1 week ago

🚨 Failure Summary 🚨:

⚠️ Action Required ⚠️:

🛠️ A recent merge appears to have caused a failure in the job named e2ePerformanceTests / Run E2E tests in AWS device farm. This issue has been automatically created and labeled with Workflow Failure for investigation.

👀 Please look into the following:

  1. Why the PR caused the job to fail?
  2. Address any underlying issues.

🐛 We appreciate your help in squashing this bug!

hayata-suenaga commented 1 week ago

I messaged in Slack in an already existing thread about this failure.

hayata-suenaga commented 1 week ago

I'll change the priority of this issue to daily for now

kirillzyusko commented 1 week ago

The problem is in the fact, that we can not install a profiler:

[05:21:21] ℹ️  Installing C++ profiler for arm64-v8a architecture
[Thu Jun 27 2024 05:21:21 GMT+0000 (Coordinated Universal Time)]  ▶️ 

E2E test suite failed due to error: Error: ENOENT: no such file or directory, copyfile '/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/../../../cpp-profiler/bin/BAMPerfProfiler-arm64-v8a' -> '/tmp/flashlight-BAMPerfProfiler-arm64-v8a'
    at Object.copyFileSync (node:fs:2847:3)
    at AndroidProfiler.installCppProfilerOnDevice (/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/testRunner.ts:623:22)
    at AndroidProfiler.installProfilerOnDevice (/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/testRunner.ts:591:18)
    at AndroidProfiler.installProfilerOnDevice (/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/testRunner.ts:401:15)
    at AndroidProfiler.getCpuClockTick (/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/testRunner.ts:604:14)
    at AndroidProfiler.pollPerformanceMeasures (/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/testRunner.ts:632:90)
    at Object.start (/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/testRunner.ts:28404:35)
    at runTestIteration (/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/testRunner.ts:27961:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async runTests (/tmp/scratchm_9pF2.scratch/test-packagenH33tM/zip/testRunner.ts:28031:13) 

Trying to figure out what's blocking that 👍

hayata-suenaga commented 1 week ago

thank you for the update!