Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PropertyListFormatException when trying to run flank firebase test ios run #2361

Open
SeonJD opened this issue Apr 10, 2023 · 0 comments
Open

Comments

@SeonJD
Copy link

SeonJD commented Apr 10, 2023

This is the error I get when trying to run flank firebase test ios run.
I ran flank firebase test ios doctor before command above and it says that yml file is valid.

RunTests
com.dd.plist.PropertyListFormatException: The given data is not a property list of a supported format.
	at com.dd.plist.PropertyListParser.parse(PropertyListParser.java:246)
	at com.dd.plist.PropertyListParser.parse(PropertyListParser.java:195)
	at ftl.ios.xctest.common.UtilKt.parseToNSDictionary(Util.kt:79)
	at ftl.ios.xctest.XcTestDataKt.calculateXcTest(XcTestData.kt:38)
	at ftl.ios.xctest.XcTestDataKt.calculateXcTestRunData(XcTestData.kt:32)
	at ftl.args.IosArgs$xcTestRunData$2.invoke(IosArgs.kt:31)
	at ftl.args.IosArgs$xcTestRunData$2.invoke(IosArgs.kt:31)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at ftl.args.IosArgs.getXcTestRunData(IosArgs.kt:31)
	at ftl.run.DumpShardsKt.dumpShards(DumpShards.kt:41)
	at ftl.run.platform.RunIosTestsKt.dumpShardsIfXcTest(RunIosTests.kt:63)
	at ftl.run.platform.RunIosTestsKt.access$dumpShardsIfXcTest(RunIosTests.kt:1)
	at ftl.run.platform.RunIosTestsKt$runIosTests$2.invokeSuspend(RunIosTests.kt:39)
	at ftl.run.platform.RunIosTestsKt$runIosTests$2.invoke(RunIosTests.kt)
	at ftl.run.platform.RunIosTestsKt$runIosTests$2.invoke(RunIosTests.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
	at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
	at ftl.run.platform.RunIosTestsKt.runIosTests(RunIosTests.kt:35)
	at ftl.run.NewTestRunKt.runTests(NewTestRun.kt:54)
	at ftl.run.NewTestRunKt.access$runTests(NewTestRun.kt:1)
	at ftl.run.NewTestRunKt$newTestRun$2$1.invokeSuspend(NewTestRun.kt:30)
	at ftl.run.NewTestRunKt$newTestRun$2$1.invoke(NewTestRun.kt)
	at ftl.run.NewTestRunKt$newTestRun$2$1.invoke(NewTestRun.kt)
	at ftl.run.NewTestRunKt.cancelTestsOnTimeout(NewTestRun.kt:63)
	at ftl.run.NewTestRunKt.cancelTestsOnTimeout$default(NewTestRun.kt:58)
	at ftl.run.NewTestRunKt$newTestRun$2.invokeSuspend(NewTestRun.kt:30)
	at ftl.run.NewTestRunKt$newTestRun$2.invoke(NewTestRun.kt)
	at ftl.run.NewTestRunKt$newTestRun$2.invoke(NewTestRun.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:100)
	at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:146)
	at kotlinx.coroutines.TimeoutKt.withTimeoutOrNull(Timeout.kt:103)
	at ftl.run.NewTestRunKt.newTestRun(NewTestRun.kt:26)
	at ftl.domain.RunTestIosKt$invoke$2$1.invokeSuspend(RunTestIos.kt:57)
	at ftl.domain.RunTestIosKt$invoke$2$1.invoke(RunTestIos.kt)
	at ftl.domain.RunTestIosKt$invoke$2$1.invoke(RunTestIos.kt)
	at ftl.presentation.RunStateKt$runBlockingWithObservingRunState$1.invokeSuspend(RunState.kt:21)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at ftl.presentation.RunStateKt.runBlockingWithObservingRunState(RunState.kt:17)
	at ftl.domain.RunTestIosKt.invoke(RunTestIos.kt:55)
	at ftl.presentation.cli.firebase.test.ios.IosRunCommand.run(IosRunCommand.kt:58)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
	at picocli.CommandLine.access$1300(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
	at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
	at picocli.CommandLine.execute(CommandLine.java:2078)
	at ftl.Main$main$1.invoke(Main.kt:12)
	at ftl.Main$main$1.invoke(Main.kt:10)
	at ftl.run.exception.ExceptionHandlerKt.withGlobalExceptionHandling(ExceptionHandler.kt:24)
	at ftl.run.exception.ExceptionHandlerKt.withGlobalExceptionHandling(ExceptionHandler.kt:14)
	at ftl.Main.main(Main.kt:10)

My flank.ios.yml:

gcloud:
  type: xctest
  timeout: 45m
  async: true
  test: #path to zip#
  xctestrun-file: #path to zip with file#
  client-details:
    ENV: $ENV
    CLIENT_ID: $CLIENT_ID
    LIGHTBOX_VERSION: $LIGHTBOX_VERSION
  device:
    - model: "iphone8"
      version: "15.7"
    - model: "iphone11pro"
      version: "16.2"
    - model: "iphone13pro"
      version: "15.7"
  num-flaky-test-attempts: 1
flank:
  max-test-shards: 3
  num-test-runs: 1
  shard-time: 45
  disable-sharding: false

My gcloud_script file:

gcloud config set project #projectname#
gcloud auth activate-service-account #account# --key-file=$GC_FTL_AUTH

flank firebase test ios doctor
flank firebase test ios run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant