Script to list most common build failures
Script to list most common build failures

Bug: 176835028
Test: ./listTopBuildFailures.sh

Sample output:

  Most common build failures:
        2  Detected these failing tasks: [':compose:material3:material3:compileReleaseKotlin'] > Task :compose:material3:material3:compileReleaseKotlin
        2  Detected these failing tasks: [':compose:ui:ui:compileReleaseKotlin'] > Task :compose:ui:ui:compileReleaseKotlin
        3  Detected these failing tasks: [':benchmark:benchmark-macro:checkApi'] FAILURE: Build failed with an exception.
        3  Detected these failing tasks: [':compose:runtime:runtime:compileReleaseKotlin'] > Task :compose:runtime:runtime:compileReleaseKotlin
        3  Detected these failing tasks: [':wear:compose:compose-material:compileReleaseKotlin'] > Task :wear:compose:compose-material:compileReleaseKotlin
        3  To reproduce this failure:   Try $ ./gradlew -Pandroidx.validateNoUnrecognizedMessages --rerun-tasks :compose:integration-tests:material-catalog:mergeReleaseResources
        4  To reproduce this failure:   Try $ ./gradlew -Pandroidx.validateNoUnrecognizedMessages --rerun-tasks :camera:integration-tests:camera-testapp-uiwidgets:mergeReleaseResources
        5  Detected these failing tasks: [':camera:camera-core:configureCMakeDebug[arm64-v8a]'] > Task :camera:camera-core:configureCMakeDebug[arm64-v8a]
        7  Detected these failing tasks: [':docs-public:dackkaDocs'] > Task :docs-public:dackkaDocs
       40  Detected these failing tasks: [] > Configure project :appsearch:appsearch-local-storage

Change-Id: I15ba26946be9ec128909f53e57b156c9d6531029

androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx