Skip to content
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

fix(deps): Update dependencies (Kotlin 1.6) #521

Merged
merged 10 commits into from
Jul 27, 2022
Merged

Conversation

Filmaluco
Copy link

No description provided.

app/build.gradle Outdated Show resolved Hide resolved
app/build.gradle Outdated Show resolved Hide resolved
build.gradle Show resolved Hide resolved
build.gradle Show resolved Hide resolved
@gnarea
Copy link
Member

gnarea commented Jun 7, 2022

BTW @Filmaluco, have you tested this branch along with the other PRs for the gateway and ping?

@Filmaluco
Copy link
Author

BTW @Filmaluco, have you tested this branch along with the other PRs for the gateway and ping?

No. Courier is the one I have not tested. I plan on doing that today

@Filmaluco
Copy link
Author

@gnarea just made the final test on Courier with Ping and Gateway, everything is working :)

gnarea
gnarea previously approved these changes Jun 8, 2022
Copy link
Member

@gnarea gnarea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obrigado! We now just have to wait for GH to fix the issue with CI.

app/build.gradle Outdated Show resolved Hide resolved
app/lint.xml Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
@gnarea gnarea added the automerge Allow kodiak to automerge commit when all checks pass label Jun 9, 2022
Copy link
Member

@gnarea gnarea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Filmaluco, now that CI is working again it's reporting an issue with AppTest.

@gnarea gnarea changed the title fix(deps): Update dependencies fix(deps): Update dependencies (Kotlin 1.6) Jun 9, 2022
@Filmaluco Filmaluco force-pushed the update_dependencies branch 2 times, most recently from 2dbef33 to 5e395f1 Compare June 27, 2022 09:53
@gnarea
Copy link
Member

gnarea commented Jul 15, 2022

@Filmaluco, I just noticed that the instrumentation test is failing on Android 6, not 8 (I thought API 23 = Android 8 🤦🏾‍♂️). I don't have a physical Android 6 device (I only have 5, 8, 11 and 12).

I just pushed a change to use a physical Nexus 5 (Android 6) instead of the virtual one we've been using. If that still fails for the same reason, please go ahead and disable the test on Android 6 as discussed on Slack.

Also, can you please undo the changes you made to try to make the test work on Firebase Test Lab? There are 2-3 things that appear to be attempts to make the test pass but have no effect.

On that note, I noticed you introduced some changes to the Gradle config related to Orchestrator but you didn't enable the Orchestrator in firebase-test-lab.yml so those settings have no effect. We should probably enable the Orchestrator anyway in a separate PR though.

@gnarea
Copy link
Member

gnarea commented Jul 15, 2022

The physical Nexus 5 didn't fix the issue :( I'm going to make one more attempt with a non-Nexus device on API 23 and if that doesn't fix it, then let's definitely disable the test on API 23.

On the other hand, more bad news: I discovered that Firebase Test Lab wasn't actually running the tests on Android 5, so I fixed it in master (#532) but this branch is causing the app to crash before the tests run. Can you please look into it? Don't spend too much time on this because I can actually run the same APK on a physical Nexus 4 (Android 5) with no issues whatsoever... So if we can't get to the bottom of this issue within an hour or so, we should just disable Android 5 on Firebase Test Lab.

bloco added 6 commits July 20, 2022 10:37
updated: gradle tool version

fixed: lint

fixed: mockito issues

fixed: data extraction rules && added: lint commentary

fixed: room version

fixed: issue with gradle tool update

updated: removed unwanted maven repository

updated: PR(#521) feedback

fixed: issue with spotless ktlint version

chore: Empty commit to trigger CI

chore: Another empty commit to trigger CI

chore(CI): Upgrade to Java 11

chore(CI): Use PR title validator from shared workflows

fixed: deprecated sendBlocking methods now use trySendBlocking

fixed: spotless check issues

fixed: issue with coroutines scope changes
…ceptor

testing firebase CI on api 23

added: protobuf has dependency to keep same version has grpc

update: update awala cogrpc to java 11

updated: removed io.grpc:grpc dependency

updated: added io.grpc:grpc dependency back
@sdsantos sdsantos force-pushed the update_dependencies branch from cf729fb to db2950e Compare July 20, 2022 09:50
@sdsantos
Copy link
Collaborator

@gnarea talked with @Filmaluco and dropped all changes after bumping cogrpc

@sdsantos
Copy link
Collaborator

On the other hand, more bad news: I discovered that Firebase Test Lab wasn't actually running the tests on Android 5, so I fixed it in master (#532) but this branch is causing the app to crash before the tests run. Can you please look into it? Don't spend too much time on this because I can actually run the same APK on a physical Nexus 4 (Android 5) with no issues whatsoever... So if we can't get to the bottom of this issue within an hour or so, we should just disable Android 5 on Firebase Test Lab.

Investigated for a bit. The issue is reproducible locally, but there aren't many clues to go on. We only get an easy-to-miss log message: libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x28 in tid 8135 (roidJUnitRunner). So a native crash inside the AndroidJUnitRunner. Next steps would be changing/disabling things until we get a different behaviour happening, or try to get a assemble stack trace and go from there. All more than 1 hour tasks 😞

gnarea
gnarea previously approved these changes Jul 27, 2022
Copy link
Member

@gnarea gnarea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sdsantos! Sorry, I missed your reply 😬

Sounds good. So now I'm going to:

  1. Remove Android 5 and 6 from the test matrix on Firebase Test Lab.
  2. Create an issue to try to make it work again in the future.
  3. Fix the GitHub checks in CI because there's a required check that's blocking this PR, but it shouldn't be.

Then I'll merge this PR.

@gnarea gnarea added automerge Allow kodiak to automerge commit when all checks pass and removed automerge Allow kodiak to automerge commit when all checks pass labels Jul 27, 2022
@kodiakhq kodiakhq bot merged commit 66185b5 into master Jul 27, 2022
@kodiakhq kodiakhq bot deleted the update_dependencies branch July 27, 2022 14:10
@github-actions
Copy link

🎉 This PR is included in version 1.4.15 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Allow kodiak to automerge commit when all checks pass released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants