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

CI/CD Broken After Ubuntu Runner Image Upgrade #9913

Closed
2 of 14 tasks
satishmscict opened this issue May 22, 2024 · 1 comment
Closed
2 of 14 tasks

CI/CD Broken After Ubuntu Runner Image Upgrade #9913

satishmscict opened this issue May 22, 2024 · 1 comment

Comments

@satishmscict
Copy link

Description

CICD workflow is broken after the runner image of Ubuntu 22.04 was upgraded from 20240422.1 to 20240516.1

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Image: ubuntu-22.04
Version: 20240516.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240516.1/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240516.1

Is it regression?

Yes, Image: ubuntu-22.04 Version: 20240422.1.0 Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240422.1/images/ubuntu/Ubuntu2204-Readme.md Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240422.1

Expected behavior

A unit test should be pass be passed without error.

Actual behavior

Traceback (most recent call last):
File "/usr/bin/extractReport.py", line 51, in
main()
File "/usr/bin/extractReport.py", line 48, in main
parseXML(path)
File "/usr/bin/extractReport.py", line 37, in parseXML
print(message)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u25bc' in position 47: ordinal not in range(128)
./modules/authentication-auth0/build/test-results/testDebugUnitTest/TEST-com.xxx.authentication.auth0.Auth0WrapperTest.xml

Repro steps

Actual code:

 override fun generateRsaKeyPair(): KeyPair = KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_RSA).let { keyPairGenerator ->
        keyPairGenerator.initialize(KEY_SIZE_IN_BITS_FOR_RSA, SecureRandom())
        keyPairGenerator.genKeyPair()
    }

Unit test code. Android + Kotlin dsl + Strikt

@Test
   fun `Generate RSA key pair`() {
       val rsaKeyPair = with(CryptographyImpl()) {
           generateRsaKeyPair()
       }

       expectThat(rsaKeyPair.private.algorithm).isEqualTo("RSA")
       expectThat(rsaKeyPair.private.toString()).startsWith("SunRsaSign RSA private CRT key, 4096 bits")
   }
@sergei-pyshnoi
Copy link
Contributor

Hello @satishmscict . It looks like the problem is an unsupported ascii character. In your case it is ▼. This behavior is independent of the version of runner-images. Unfortunately we can't do anything from our side.

@sergei-pyshnoi sergei-pyshnoi closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants