Skip to content

[ci-scan] Test failure: JNI NewObjectV pending InvalidKeySpecException / Creating RSA key failed on Android #128660

Closed

Description

@vitek-karas

Note

This issue draft was prepared with GitHub Copilot assistance and reviewed by the submitting developer.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1436900
Build error leg or test failing: android-arm Release AllSubsets_Mono - System.Security.Cryptography.Tests
Pull request: #128438

Error Details

JNI DETECTED ERROR IN APPLICATION: JNI NewObjectV called with pending exception java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: Creating RSA key failed
Caused by: java.lang.RuntimeException: Creating RSA key failed
native: #16 ... libSystem.Security.Cryptography.Native.Android.so (AndroidCryptoNative_SetRsaParameters+362)
Fatal signal 6 (SIGABRT)

Error Message

{
  "ErrorMessage": "JNI DETECTED ERROR IN APPLICATION: JNI NewObjectV called with pending exception java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: Creating RSA key failed",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Failure details:

The Helix work item failed with APP_CRASH / exit code 80. The concrete signature comes from adb logcat for the failing Android Mono work item and points at AndroidCryptoNative_SetRsaParameters in libSystem.Security.Cryptography.Native.Android.so.

Affected legs:

  • android-arm Release AllSubsets_Mono - System.Security.Cryptography.Tests

Console Log:

  • adb logcat artifact from the failing Helix work item for System.Security.Cryptography.Tests

First build in window:

  • 1436900 (current PR run; no earlier matching KBE found during this triage)

Recommended action:
Create a KBE only after human review confirms the JNI/conscrypt RSA crash is a stable failure family worth matching on this literal logcat signature. The exact managed test that triggered the crash was not identified from the available logs.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1436900
Error message validated: [JNI DETECTED ERROR IN APPLICATION: JNI NewObjectV called with pending exception java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: Creating RSA key failed]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 5/27/2026 6:50:30 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on May 27, 2026
  2. dotnet-policy-service commented on May 27, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
    See info in area-owners.md if you want to be subscribed.

  3. added
    untriaged
    on May 27, 2026
  4. dotnet-policy-service commented on May 27, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
    See info in area-owners.md if you want to be subscribed.

  5. jeffschwMSFT commented on May 29, 2026

    @jeffschwMSFT
    Member

    closing as the pattern was not found in the original logs

  6. removed
    untriaged
    on May 29, 2026
  7. added a commit that references this issue on May 30, 2026
    9bde778
  8. locked and limited conversation to collaborators on Jun 29, 2026
  9. added a commit that references this issue on Jul 15, 2026
    cadb1cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build Errorarch-arm32area-System.Securityblocking-clean-cios-android

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions