-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI is broken and fails for trivial PR #2197
Comments
Looking more closely now, 2 checks are failing, and I suspect those are totally unrelated issues:
|
This increases the size of the VM [used for CI](https://github.com/google/android-fhir/actions/workflows/build.yml) jobs runs from [GitHub's default](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) from / to: * 2-core CPU (x86_64) => 64-cores * 7 GB of RAM => 256 GB RAM * 14 GB of SSD space => 2040 GB SSD This should fix the `Error: The operation was canceled` problem described in issue #2197. This is a worthwhile trade off of expensive engineering time VS infrastructure cost. Thank You Sundar for paying for this to enable this project to productively produce an Open Health Stack!
|
…2198) This increases the size of the VM [used for CI](https://github.com/google/android-fhir/actions/workflows/build.yml) jobs runs from [GitHub's default](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) from / to: * 2-core CPU (x86_64) => 64-cores * 7 GB of RAM => 256 GB RAM * 14 GB of SSD space => 2040 GB SSD This should fix the `Error: The operation was canceled` problem described in issue #2197. This is a worthwhile trade off of expensive engineering time VS infrastructure cost. Thank You Sundar for paying for this to enable this project to productively produce an Open Health Stack!
Yes, GitHub Actions regularly fails with that error, and developers are aware that they have to look at the Kokoro logs. We do not have it blocking PRs being submitted though. I see you submitted a PR to increase the machine size, and we can see if that helps.
This is a regularly occurring flaky test. It only is flaky for API Level 24. Outside of adding |
@omarismail94 the flakyness would have to be fixed... I have no idea how, unfortunately. But the way I would go about is to disable it ASAP, because (IMHO) CI is broken and fails for trivial PR due to that, but have an open bug to re-enable it - and prioritize that based on how much value doing that adds. I spent a bit more time to learn exactly which test this is, and after a while of staring at logs found this Gradle Build Scan, from where I found the Nexus6P-24-en_US-portrait : com.google.android.fhir.datacapture.test.views.QuestionnaireItemDialogMultiSelectViewHolderFactoryEspressoTest#selectOther_shouldScrollDownToShowAddAnotherAnswer (1) androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: view.getId() is <2131230791/com.google.android.fhir.datacapture.test:id/add_another> Looks like #1482 might be the bug that's already open for this? I'll raise a PR proposing to |
Describe the bug
My trivial PR #2196, which only adds a
.github/dependabot.yaml
file, which IMHO is "impossible" to affect test runs and such things, failed to pass CI and is red instead of green.This can discourage contributions (because you never clearly know if the change proposed in a PR breaks CI, or if it was "just already broken anyway"), and therefore perhaps should be fixed with top priority, over everything else?
IMHO any project should intentionally set itself a relatively high bar in this matter, and aim for CI on its main branch to always be green. Any PRs that break it and turn it red should be immediately be reverted by maintainers.
Glancing over https://github.com/google/android-fhir/commits/master this historically does not seem to be the case in this project.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It can never say Some checks were not successful for such trivial PR changes.
Would you like to work on the issue?
I am happy to help "drive" this, but suspect it will need input from more people.
/Cc @fredhersch @jingtang10 @omarismail94 @williamito FYA
The text was updated successfully, but these errors were encountered: