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

Convert the CircleCI workflow to a GitHub Actions workflow #2762

Closed

Conversation

jk0
Copy link
Contributor

@jk0 jk0 commented Mar 15, 2024

Summary

This pull request converts the CircleCI workflows to GitHub actions workflows. Github Actions Importer was used to convert the workflows initially, then I edited them manually to correct errors in translation.

Issues

  1. facebook/fresco/build -> Run Tests
Execution failed for task ':animated-base:testDebugUnitTest'.
Full Error
com.facebook.fresco.animation.bitmap.cache.FrescoFrameCacheTest > testExtractAndClose_whenCloseableStaticBitmapNull_thenReturnNull FAILED
    org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
        Caused by: org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
            Caused by: java.lang.IllegalStateException at FrescoFrameCacheTest.java:40
                Caused by: java.lang.IllegalArgumentException at FrescoFrameCacheTest.java:40

com.facebook.fresco.animation.bitmap.cache.FrescoFrameCacheTest > testExtractAndClose_whenBitmapReferenceInvalid_thenReturnReference FAILED
org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalStateException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalArgumentException at FrescoFrameCacheTest.java:40

com.facebook.fresco.animation.bitmap.cache.FrescoFrameCacheTest > testExtractAndClose FAILED
org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalStateException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalArgumentException at FrescoFrameCacheTest.java:40

com.facebook.fresco.animation.bitmap.cache.FrescoFrameCacheTest > testExtractAndClose_whenBitmapRecycled_thenReturnReference FAILED
org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalStateException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalArgumentException at FrescoFrameCacheTest.java:40

com.facebook.fresco.animation.bitmap.cache.FrescoFrameCacheTest > testExtractAndClose_whenImageReferenceInvalid_thenReturnNull FAILED
org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalStateException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalArgumentException at FrescoFrameCacheTest.java:40

com.facebook.fresco.animation.bitmap.cache.FrescoFrameCacheTest > testExtractAndClose_whenInputNull_thenReturnNull FAILED
org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalStateException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalArgumentException at FrescoFrameCacheTest.java:40

com.facebook.fresco.animation.bitmap.cache.FrescoFrameCacheTest > testExtractAndClose_whenCloseableStaticBitmapClosed_thenReturnNull FAILED
org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: org.mockito.exceptions.base.MockitoException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalStateException at FrescoFrameCacheTest.java:40
Caused by: java.lang.IllegalArgumentException at FrescoFrameCacheTest.java:40
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended

com.facebook.fresco.animation.bitmap.wrapper.AnimatedDrawableBackendFrameRendererTest > testRenderFrameUnsuccessful FAILED
org.mockito.exceptions.base.MockitoException at AnimatedDrawableBackendFrameRendererTest.java:104
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedDrawableBackendFrameRendererTest.java:104
Caused by: java.lang.IllegalStateException at AnimatedDrawableBackendFrameRendererTest.java:104
Caused by: java.lang.IllegalArgumentException at AnimatedDrawableBackendFrameRendererTest.java:104

com.facebook.fresco.animation.bitmap.wrapper.AnimatedDrawableBackendFrameRendererTest > testSetBounds FAILED
org.mockito.exceptions.base.MockitoException at AnimatedDrawableBackendFrameRendererTest.java:52
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedDrawableBackendFrameRendererTest.java:52
Caused by: java.lang.IllegalStateException at AnimatedDrawableBackendFrameRendererTest.java:52
Caused by: java.lang.IllegalArgumentException at AnimatedDrawableBackendFrameRendererTest.java:52

com.facebook.fresco.animation.bitmap.wrapper.AnimatedDrawableBackendFrameRendererTest > testRenderFrame FAILED
org.mockito.exceptions.base.MockitoException at AnimatedDrawableBackendFrameRendererTest.java:104
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedDrawableBackendFrameRendererTest.java:104
Caused by: java.lang.IllegalStateException at AnimatedDrawableBackendFrameRendererTest.java:104
Caused by: java.lang.IllegalArgumentException at AnimatedDrawableBackendFrameRendererTest.java:104

com.facebook.imagepipeline.animated.impl.AnimatedDrawableBackendImplTest > testOffsets FAILED
java.lang.RuntimeException at AbstractClassloaderExecutor.java:108
Caused by: java.lang.reflect.InvocationTargetException at DirectConstructorHandleAccessor.java:79
Caused by: java.lang.ExceptionInInitializerError at XStream.java:989
Caused by: java.lang.reflect.InaccessibleObjectException at AccessibleObject.java:354

com.facebook.imagepipeline.animated.impl.AnimatedDrawableBackendImplTest > testNoUpscaling FAILED
java.lang.RuntimeException at AbstractClassloaderExecutor.java:108
Caused by: java.lang.reflect.InvocationTargetException at DirectConstructorHandleAccessor.java:79
Caused by: java.lang.NoClassDefFoundError at XStream.java:989
Caused by: java.lang.ExceptionInInitializerError at AccessibleObject.java:354

com.facebook.imagepipeline.animated.impl.AnimatedDrawableBackendImplTest > testNarrow FAILED
java.lang.RuntimeException at AbstractClassloaderExecutor.java:108
Caused by: java.lang.reflect.InvocationTargetException at DirectConstructorHandleAccessor.java:79
Caused by: java.lang.NoClassDefFoundError at XStream.java:989
Caused by: java.lang.ExceptionInInitializerError at AccessibleObject.java:354

com.facebook.imagepipeline.animated.impl.AnimatedDrawableBackendImplTest > testSimple FAILED
java.lang.RuntimeException at AbstractClassloaderExecutor.java:108
Caused by: java.lang.reflect.InvocationTargetException at DirectConstructorHandleAccessor.java:79
Caused by: java.lang.NoClassDefFoundError at XStream.java:989
Caused by: java.lang.ExceptionInInitializerError at AccessibleObject.java:354

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testContainsFullReuseFlowWithMultipleItems FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testBasic FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testReuse FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testCantReuseIfNotClosed FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testStillThereIfClosed FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testMultipleFrames FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testContains FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testReplace FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.animated.impl.AnimatedFrameCacheTest > testContainsWhenReused FAILED
org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalStateException at AnimatedFrameCacheTest.java:53
Caused by: java.lang.IllegalArgumentException at AnimatedFrameCacheTest.java:53

com.facebook.imagepipeline.producers.AnimatedRepeatedPostprocessorProducerTest > testNonStaticBitmapIsPassedOn FAILED
org.mockito.exceptions.base.MockitoException at AnimatedRepeatedPostprocessorProducerTest.java:76
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedRepeatedPostprocessorProducerTest.java:76
Caused by: java.lang.IllegalStateException at AnimatedRepeatedPostprocessorProducerTest.java:76
Caused by: java.lang.IllegalArgumentException at AnimatedRepeatedPostprocessorProducerTest.java:76

com.facebook.imagepipeline.producers.AnimatedSingleUsePostprocessorProducerTest > testNonStaticBitmapIsPassedOn FAILED
org.mockito.exceptions.base.MockitoException at AnimatedSingleUsePostprocessorProducerTest.java:69
Caused by: org.mockito.exceptions.base.MockitoException at AnimatedSingleUsePostprocessorProducerTest.java:69
Caused by: java.lang.IllegalStateException at AnimatedSingleUsePostprocessorProducerTest.java:69
Caused by: java.lang.IllegalArgumentException at AnimatedSingleUsePostprocessorProducerTest.java:69

35 tests completed, 25 failed

Task :animated-base:testDebugUnitTest FAILED
454 actionable tasks: 454 executed

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':animated-base:testDebugUnitTest'.

How did you test this change?

I tested these changes in a forked repo.

https://fburl.com/workplace/f6mz6tmw

@facebook-github-bot
Copy link
Contributor

@bigfootjon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@steelrooter merged this pull request in a3960d1.

@steelrooter steelrooter self-assigned this 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

Successfully merging this pull request may close these issues.

None yet

3 participants