OPPIA-1369, OPPIA-1383: Migrate widgets package #1343
Cirrus CI / Run Android instrumented tests API_LEVEL:30 container:reactivecircus/android-emulator-30:latest
failed
Sep 27, 2023 in 52m 51s
Task Summary
Instruction run_instrumented_tests failed in 47:48
Details
✅ 00:08 clone
✅ 00:01 gradle
✅ 00:01 create_device
✅ 00:00 start_emulator
✅ 04:46 assemble_instrumented_tests
✅ 00:01 wait_for_emulator
✅ 00:01 disable_animations
❌ 47:48 run_instrumented_tests
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class org.digitalcampus.oppia.model.QuizAttemptRepository
androidTestFiles.widgets.quiz.NumericWithFeedbackTest > incorrectAnswer[api-30(AVD) - 11] �[31mFAILED �[0m
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class org.digitalcampus.oppia.model.QuizAttemptRepository
androidTestFiles.widgets.quiz.NumericWithFeedbackTest > correctAnswer[api-30(AVD) - 11] �[31mFAILED �[0m
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class org.digitalcampus.oppia.model.QuizAttemptRepository
androidTestFiles.widgets.quiz.ShortAnswerNoFeedbackTest > incorrectAnswer[api-30(AVD) - 11] �[31mFAILED �[0m
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class org.digitalcampus.oppia.model.QuizAttemptRepository
[DDMLIB]: An unexpected packet was received before the handshake.
> Task :app:connectedNormalDebugAndroidTest
androidTestFiles.widgets.quiz.ShortAnswerNoFeedbackTest > correctAnswer[api-30(AVD) - 11] �[31mFAILED �[0m
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class org.digitalcampus.oppia.model.QuizAttemptRepository
androidTestFiles.widgets.quiz.ShortAnswerWithFeedbackTest > incorrectAnswer[api-30(AVD) - 11] �[31mFAILED �[0m
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class org.digitalcampus.oppia.model.QuizAttemptRepository
androidTestFiles.widgets.quiz.ShortAnswerWithFeedbackTest > correctAnswer[api-30(AVD) - 11] �[31mFAILED �[0m
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class org.digitalcampus.oppia.model.QuizAttemptRepository
Tests on api-30(AVD) - 11 failed: There was 299 failure(s).
Test run failed to complete. Instrumentation run failed due to Process crashed.
> Task :app:connectedNormalDebugAndroidTest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:connectedNormalDebugAndroidTest'.
> There were failing tests. See the report at: file:///tmp/cirrus-ci-build/app/build/reports/androidTests/connected/flavors/normal/index.html
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 47m 48s
65 actionable tasks: 27 executed, 38 up-to-date
Loading