cirruslabs/docker-images-flutter

flutter analyze crashes

aeropagz opened this issue · 3 comments

I am using your image in a gitlab pipeline and its crashed on flutter analyze. Any Ideas why?

...
Using docker image sha256:fec3d66e53a60146207368851ce563f0ba6ead59755e4c9ad1938b2fe3ff4074 for cirrusci/flutter:stable with digest cirrusci/flutter@sha256:8d169fe25433d504047b7e9d7838dd8fac14f9128fed9f4926e5b5ea71b4fddb ...
$ flutter pub get
Running "flutter pub get" in kochbuch-app...                       28.7s
$ flutter analyze
Analyzing kochbuch-app...                                       
Exception: analysis server exited with code -9 and output:
[stdout] {"event":"server.connected","params":{"version":"1.32.8","pid":[10](https://gitlab.iue.fh-kiel.de/kochbuch-aem-2022/kochbuch-app/-/jobs/8430#L10)5}}
[stdout] {"id":"1"}
[stdout] {"event":"analysis.errors","params":{"file":"/builds/kochbuch-aem-[20](https://gitlab.iue.fh-kiel.de/kochbuch-aem-2022/kochbuch-app/-/jobs/8430#L20)[22](https://gitlab.iue.fh-kiel.de/kochbuch-aem-2022/kochbuch-app/-/jobs/8430#L22)/kochbuch-app/android/app/src/main/AndroidManifest.xml","errors":[]}}
[stdout] {"event":"analysis.errors","params":{"file":"/builds/kochbuch-aem-2022/kochbuch-app/android/app/src/debug/AndroidManifest.xml","errors":[]}}
[stdout] {"event":"analysis.errors","params":{"file":"/builds/kochbuch-aem-2022/kochbuch-app/android/app/src/profile/AndroidManifest.xml","errors":[]}}
[stdout] {"event":"analysis.errors","params":{"file":"/builds/kochbuch-aem-2022/kochbuch-app/analysis_options.yaml","errors":[]}}
[stdout] {"event":"analysis.errors","params":{"file":"/builds/kochbuch-aem-2022/kochbuch-app/pubspec.yaml","errors":[]}}
[stdout] {"id":"2"}
[stdout] {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

having the same issue. Only happens in my pipeline with this image version cirrusci/flutter:3.3.5 .
Locally everything passes fine.

same for flutter:3.7.9

Not reproducible.