Skip to content

android-interop-testing: align AndroidX Test Runner version to 1.7.0#12703

Merged
shivaspeaks merged 1 commit intogrpc:masterfrom
shivaspeaks:fix-android-test-issue
Mar 18, 2026
Merged

android-interop-testing: align AndroidX Test Runner version to 1.7.0#12703
shivaspeaks merged 1 commit intogrpc:masterfrom
shivaspeaks:fix-android-test-issue

Conversation

@shivaspeaks
Copy link
Copy Markdown
Member

Fixes android failure discussed in #12689 (comment)

@shivaspeaks shivaspeaks added kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary and removed kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run labels Mar 17, 2026
@grpc-kokoro grpc-kokoro removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Mar 17, 2026
@shivaspeaks shivaspeaks marked this pull request as ready for review March 18, 2026 16:09
@shivaspeaks shivaspeaks merged commit 1f8af94 into grpc:master Mar 18, 2026
22 of 24 checks passed
@shivaspeaks
Copy link
Copy Markdown
Member Author

We are seeing a new error now:
https://firebase.corp.google.com/u/0/project/grpc-testing/testlab/histories/bh.6e2cfdde264f9eb3/matrices/8610605656647595667/executions/bs.3fd5d8830650b36a

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/test/internal/util/Checks;
     FATAL EXCEPTION: main
Process: io.grpc.android.integrationtest.test, PID: 7998
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/test/internal/util/Checks;
	at androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity.onResume(InstrumentationActivityInvoker.java:169)
	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1446)
	at android.app.Activity.performResume(Activity.java:7939)
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4195)
	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)
	at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7356)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.test.internal.util.Checks" on path: DexPathList[[zip file "/data/app/io.grpc.android.integrationtest.test-DYFaHrF4uMZvkQrJs3ID6A==/base.apk"],nativeLibraryDirectories=[/data/app/io.grpc.android.integrationtest.test-DYFaHrF4uMZvkQrJs3ID6A==/lib/arm64, /system/lib64, /system/product/lib64]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
	... 15 more

shivaspeaks added a commit that referenced this pull request Mar 23, 2026
…2718)

This alignment resolves a version skew issue that caused
NoClassDefFoundError crashes during instrumentation tests on Firebase
Test Lab.

Fixes
#12703 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants