mmcc007 / sylph

Runs Flutter integration tests on real devices in cloud.
GNU General Public License v3.0
157 stars 43 forks source link

Sylph command results in fatal error #111

Open haverchuck opened 4 years ago

haverchuck commented 4 years ago

I am trying to run some very basic integration tests in Device Farm. Everything works fine on the Android side, but iOS builds fail with the following logs:

Building com.example.flutterdevicefarmtest for device (ios)...
Signing iOS app for device deployment using developer identity: "Apple Development: xyz@email.com (mydevid)"
Running Gradle task 'assembleDebug'...                             43.8s
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Uploading debug android app: build/app/outputs/apk/debug/app-debug.apk ...
Running Xcode build...
Xcode build done.                                           34.5s
Built /Users/dnnoyes/Projects/flutter_device_farm/flutter_device_farm/build/ios/iphoneos/Runner.app.
Updated 0 paths from the index
Recovered archive disabler in flutter
FATAL ERROR: removal of archive disabler failed. Please create issue in https://github.com/mmcc007/sylph/issues

Here is my sylph config, if that helps. As you can see, it's basic:


tmp_dir: /tmp/sylph
artifacts_dir: /tmp/sylph_artifacts
# local timeout per device farm run
sylph_timeout: 720 # seconds approx
# run on ios and android pools concurrently (for faster results)
concurrent_runs: true

# device farm config
project_name: App Integration Test
default_job_timeout: 25 # minutes, set at project creation

device_pools:

  - pool_name: android pool 1
    pool_type: android
    devices:
      - name: Samsung Galaxy Note5 (AT&T)
        model: SM-N9120A
        os: 7.0.0

  - pool_name: ios pool 1
    pool_type: ios
    devices:
      - name: Apple iPhone 5s
        model: A1533
        os: 10.2.0

test_suites:

  - test_suite: example tests 1
    main: test_driver/main.dart
    tests:
      - test_driver/main_test.dart
    pool_names:
      - android pool 1
      - ios pool 1
    job_timeout: 25 # minutes, set per job, over-rides default job timeout above