Closed thoom76 closed 1 year ago
It appears that TMPDIR
env variable is not defined in AWS instances (which is strange). A quick fix would be to simply add this variable and point it to some folder where Maestro can store temp files
This indeed solves the issue for now 💯
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. Thank you for helping keep us our issue tracker clean!
Maestro version: 1.21.1 OS: Mac OS X OS version: 13.0.1 Architecture: aarch64 Shell: Bash Xcode version: 14.2
For the apps we build we run the build and test steps of our CI/CD pipelines on AWS EC2 machines (mac1.metal & mac2.metal machines). We want to use Maestro to run some regression tests. However when trying to run Maestro tests on these machines we get the following error 80% of the time:
The other 20% of the time we get instant failing Maestro tests:
NOTE: These errors are also reproduced by: downloading the maestro samples (
maestro download-samples
), extract the sample.zip within the samples folder; installing the Wikipedia.app on the simulator ( iPhone 14 - iOS 16.2 - 98BD2C10-40E7-49B0-8E63-57965D286EBC ) and running the 'ios-flow.yaml' test.When running the tests locally everything runs smooth.