Integration tests stuck on iOS (still)

This issue has been created since 2022-11-24.

The problem was reported in #99246 and in #112174 but gets closed without resolution

Steps to Reproduce

  1. Find project with iOS harness provisioned in Flutter <3.0.0
  2. Port example https://github.com/flutter/flutter/blob/master/dev/integration_tests/flavors/integration_test/integration_test.dart into it
  3. Run Integration_tests from CLI and Observe that in both integration_test/flavor and "old-based" projects tests are passing successfully. However the "old-based" project is awaiting for something else and gets killed by the default timeout of 12 minutes.

Logs

Logs

Successful termination (with --verbose) integration_test_flavors.log
Failing termination (with --verbose) old_project_with_flavors.log

[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6 21G115 darwin-arm, locale en-CH)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.73.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!
[email protected] flavors % flutter doctor -v
[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6 21G115 darwin-arm, locale en-CH)
    • Flutter version 3.3.8 on channel stable at /Users/aliaksei/fvm/versions/3.3.8
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (2 weeks ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/aliaksei/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (2 available)
    • iPhone 14 Plus (mobile) • 616D35F8-577D-4944-9575-197E1576C6F0 • ios          • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)         • macos                                • darwin-arm64 • macOS 12.6 21G115 darwin-arm

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
huycozy wrote this answer on 2022-11-25

(A snippet from your failed test):

11:59 +0: loading /Users/aliaksei/workspace/carity-app/integration_test/smoke_test.dart                                                                                                                
12:00 +0: loading /Users/aliaksei/workspace/carity-app/integration_test/smoke_test.dart                                                                                                                
12:00 +0 -1: loading /Users/aliaksei/workspace/carity-app/integration_test/smoke_test.dart [E]                                                                                                         
  TimeoutException after 0:12:00.000000: Test timed out after 12 minutes.
  package:test_api/src/backend/invoker.dart 334:28  Invoker._handleError.<fn>
  dart:async/zone.dart 1383:47                      _rootRun
  dart:async/zone.dart 1293:19                      _CustomZone.run
  package:test_api/src/backend/invoker.dart 332:10  Invoker._handleError
  package:test_api/src/backend/invoker.dart 288:9   Invoker.heartbeat.<fn>.<fn>
  dart:async/zone.dart 1391:13                      _rootRun
  dart:async/zone.dart 1293:19                      _CustomZone.run
  package:test_api/src/backend/invoker.dart 287:38  Invoker.heartbeat.<fn>
  dart:async-patch/timer_patch.dart 18:15           Timer._createTimer.<fn>
  dart:isolate-patch/timer_impl.dart 398:19         _Timer._runTimers
  dart:isolate-patch/timer_impl.dart 429:5          _Timer._handleMessage
  dart:isolate-patch/isolate_patch.dart 192:12      _RawReceivePortImpl._handleMessage

Hi @AliakseiT, thanks for filing the issue. You may try running the test with --timeout none to check if there is another result.

Also, this is a known issue being tracked at #105913. Closing this issue as a duplicate, so please follow up on it for further updates. If you disagree, please write in the comments and I will reopen it. Thanks!

AliakseiT wrote this answer on 2022-11-27

Thanks, @huycozy, I've tried. But the timeout parameter does not impact the run at all.
I believe following the fix proposal advice from @IgoByBobbyorPro (#112174 (comment)) may solve the case.

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-12-10
Star Count 147243
Watcher Count 3561
Fork Count 23950
Issue Count 11325

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Unable to use command line `winxp` component 10 2022-08-12 2022-10-02
No way to update session environment in Windows runners 1 2022-08-14 2022-10-02
It only works for the current request 4 2019-02-18 2022-10-07
[README.md] Checklist for required further software? 4 2021-11-01 2022-11-04
Single selection without checkboxes 6 2018-08-24 2022-03-20
Engineering - M4 - Compute Providers 0 2022-11-21 2022-11-16
Clarification on Architecture 0 2022-06-03 2022-11-22
STUN errors with libdatachannel 8 2022-07-29 2022-12-03
Add Parser of STAB1 and fix description 0 2022-05-31 2022-10-01
[INCIDENT][MOC Zero] cluster unattached from from ArgoCD 6 2021-06-16 2021-12-26
Would you like to participate in our SRE on-call duty? 13 2021-06-17 2021-12-26
File is 10Bit error? 7 2021-02-10 2022-11-24
java.lang.IllegalArgumentException: Called removeDetachedView with a view which is not flagged as tmp detached.FooterContainerViewHolde 0 2021-01-25 2022-11-10
java.lang.IllegalArgumentException: Wrong type! Position = -1 2 2020-04-10 2022-12-09
Preload samples to choose in the Mapshaper GUI 1 2021-11-04 2022-12-09
db.executeSql does not work 0 2021-01-21 2022-11-28
the format of NLI dataset for training 1 2021-05-13 2022-11-05
Checkpointing in nlopt 1 2021-09-08 2022-11-06
Suspicious use of long double in slsqp.c 2 2021-09-14 2022-11-13
ReactNativeConfig.h file not found error occurs while importing, to access the .env variable 4 2020-12-24 2022-11-13
[Fuzzer] Order with force external assertion error 0 2022-09-06 2022-09-22
请问Efficientnet-b0到Efficientnet-b7的权重到哪里下载? 1 2021-03-16 2022-10-10
termwiz: WindowsTerminal doesn't implement alt screen mode 1 2021-10-20 2022-01-09
v2 feature: Use app.Description in templates 0 2021-06-30 2022-11-29
Using Vegeta for writing to an EventStore stream 3 2016-10-15 2022-11-20
timer::test::test_timer test segfaults in rust 1.56.1 1 2021-11-14 2022-11-22
feign-mock is too strict with request headers when matching requests 0 2021-12-20 2022-11-23
quaternion not right hand 1 2021-12-19 2022-02-15
[ios] Undefined symbols for architecture x86_64 7 2021-05-10 2022-09-17
Retain the Order By preference when viewing links. 0 2022-01-10 2022-09-28
The "Get group info" paragraph needs the following detail: 1 2022-05-27 2022-12-05
没有php demo差评 3 2020-11-05 2022-01-14
敏感词库包含 `(` 左括号就报错 2 2021-09-20 2022-01-14
阻塞队列这章中的例子说System.out.println语句没有加锁,但是println不是加锁的吗 2 2022-04-26 2022-11-22
Manifest webhook silently ignores invalid configuration values 0 2022-09-26 2022-12-02
Improve partition management 0 2022-09-20 2022-11-04
Confusing output of tuner.search() 2 2021-06-30 2022-11-30
Question: Why does LZ4BlockOutputStream use a checksum? 5 2020-01-21 2022-10-15
drop python 2 1 2021-06-10 2022-01-16
Corresponding install files not included in releases 2 2021-08-17 2022-10-04
Application Error 6 2017-05-31 2022-01-13
[g-plugin-rough-canvas-renderer] 选择 dots 样式时抖动 1 2022-05-30 2022-11-29
3.12 no longer supports fields named load 3 2021-06-23 2022-10-24
DYNAMIC TX/RX Buffer (GIT8266O-711) 0 2021-09-08 2022-12-02
Automatic monitoring of HTTP/S network requests from Firebase Performance is flooding Firebase Crashlytics 3 2022-04-26 2022-12-03
[3.24.0] Regression - Cannot specify both api_user_service_key and api_token 22 2022-09-21 2022-11-02
Set locale without context 2 2020-05-13 2022-10-27
Support for aws s3 provider 7 2019-06-03 2022-12-09
[YCQL] Support Rich Aggregations of Time Series data 0 2021-11-10 2022-10-13
verify-checksums does not list all added files 9 2020-01-13 2022-11-22