Skip to content

flutter/plugins firebase-test-lab tests fail instead of skipping for non-committer PRs #76805

@stuartmorgan-g

Description

@stuartmorgan-g

Example run: https://github.com/flutter/plugins/pull/3625/checks?check_run_id=1973837748

Note the script at the end:

if [[ $GCLOUD_FIREBASE_TESTLAB_KEY == ENCRYPTED* ]]; then
echo "This user does not have permission to run Firebase Test Lab tests."
else
echo $GCLOUD_FIREBASE_TESTLAB_KEY > ${HOME}/gcloud-service-key.json
./script/incremental_build.sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26
fi
Checking for changed packages from f42e6c3ab292510acf3b929b14e392ec1fff7593
Detected changes in the following 1 package(s):
google_maps_flutter

running firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26
script/tool/lib/src/main.dart: Warning: Interpreting this as package URI, 'package:flutter_plugin_tools/src/main.dart'.

RUNNING FIREBASE TEST LAB TESTS for google_maps_flutter/google_maps_flutter
ERROR: Unable to execute "gcloud auth activate-service-account --key-file=/home/cirrus/gcloud-service-key.json". Stderr:

Clearly the intent (this script predates me) is that it should just print "This user does not have permission to run Firebase Test Lab tests." and exit with success, but that's no longer happening, and instead it tries to run and fails (unclear when it regressed).

Metadata

Metadata

Labels

P0Critical issues such as a build break or regressionpackageflutter/packages repository. See also p: labels.team-infraOwned by Infrastructure team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions