Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Get results/logs from Firebase Test Lab  #6218

Closed

Description

@tobrun

Capturing from conversation with @brunoabinader and request from @jfirebaugh:

Since #6073 we are running instrumentation tests on the Android platform to prevent regressions. While the basic configuration is there to run the tests, we are not receiving any immediate feedback in our CI when a tests fails. The only way to get that information right now is to log into the Google service account. This is not ideal for an opensource project or for a team that is continually scaling.

I see two possible solutions:

  • download result files and make them part of the artefacts Bitrise produces during a build
  • configure Firebase test lab to show testresults without authentication

At this point the former seems to be more feasible than the latter. Reading up on the docs related to Firebase, it seems this should be possible using gsutil:

You can also add a gsutil command to the shell command shown above to copy the test results data to your local computer.

The problem is that this is the only documentation Google offers on this so I need to figure a couple if things out first.

Activity

  1. added
    Android
    on Aug 31, 2016
  2. self-assigned this
    on Aug 31, 2016
  3. tobrun commented on Aug 31, 2016

    @tobrun
    MemberAuthor

    At this point I was able to verify that gs://test-lab-wrrntqk05p31w-h3y1qk44vuunw/ is the correct uri for our project. We should be able to use this with gsutil to fetch the google cloud storage results.

    update:
    More concrete information, the url below also contains our run id, if we can extract this from our output we can gsutil -m cp -r -U <uri> that to get all the files.

    Raw results will be stored in your GCS bucket at [https://console.developers.google.com/storage/browser/test-lab-wrrntqk05p31w-h3y1qk44vuunw/2016-08-31_08:11:38.818949_octD/]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Androidbuild

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions