mesa/src/freedreno/ci/freedreno-a630-skqp_unittes...

509 lines
12 KiB
Plaintext
Raw Normal View History

ci: Build skqp on ARM64 images This commit makes `kernel+rootfs_arm64` job build and install skqp on ARM64 devices rootfs. Skia repository has a tool to prepare skqp models located at `tools/skqp/cut-release`, which get files from [Skia Gold](https://skia.org/docs/dev/testing/skiagold/), generate files.checksum, rendertests.txt and unittests.txt. One gives a range of commits to let `cut-release` find the right resources to prepare skqp for the user. However, it is failing, since it fails when trying to get image packages from a range of commits via HTTPS from the host https://public-gold.skia.org but it responds with error 404 every time. I tried a range a thousand of commits, yet it still does not give results. The workaround employed was to recover the most recent `files.checksum` and `rendertests.txt` files from the git history and generate `unittests.txt` from `list_gpu_unit_tests` binary. `skqp` runs two lists of tests, `rendertests.txt` and `unittests.txt`. Both must be located inside the `skqp` assets folder. The first list uses GL and GLES to test rendering scenarios. The second runs some unit tests that do not render an image per se. In order to make the first `a630_skqp` to be green, the crashing tests were removed from the test lists and the expectations of the failing ones were updated. It is worth noting that `rendertests.txt` can bring some detail about each test expectation, so each test can have a max pixel error count, to tell `skqp` that it is OK to have at most that number of errors for that test. See also: https://github.com/google/skia/blob/main/tools/skqp/README_ALGORITHM.md As each render backend has a different error count, two different `rendertests.txt` files were created, `src/freedreno/ci/freedreno-a630-skqp-gl_rendertests.txt`, `src/freedreno/ci/freedreno-a630-skqp-gles_rendertests.txt` and , which one refers to GL and GLES tests respectfully. The unit tests file for a630 is located at `src/freedreno/ci/freedreno-a630-skqp_unittests.txt` ``` aaclip domain formats highcontrastfilter rectangle_texture yuv_make_color_space ``` ``` ProcessorOptimizationValidationTest VkProtectedContext_CreateNonprotectedContext VkYCbcrSampler_DrawImageWithYcbcrSampler VkYCbcrSampler_NoYcbcrSurface ``` Each test was updated with the max_error count equal to the first run result. ``` analytic_antialias_inverse async_rescale_and_read_dog_down async_rescale_and_read_dog_up async_rescale_and_read_rose async_rescale_and_read_text_down async_rescale_and_read_text_up async_rescale_and_read_text_up_large async_rescale_and_read_yuv420_rose complexclip2_path_bw encode-platform imageblur_large lcdtextsize onebadarc onefailarc scale-pixels surfaceprops textfilter_color textfilter_image ``` Considering all the following tests results as wrong. ``` async_rescale_and_read_no_bleed backdrop_imagefilter_croprect_persp complexclip2 imageblurrepeatmode mixerCF overdrawcolorfilter patch_alpha patch_primitive rrect_clip_bw scaledemoji_rendering yuv_splitter ``` v2: a) add link to HTML report on job log b) remove extraneous spaces diff c) remove unnecessary conditions from build-skqp.sh d) use fixed skqp source commit SHA v3: a) Use only main skia repository to fetch models and build skqp b) Use list_gpu_unit_tests binary to create a base unittests.txt file c) Remove crashing tests d) Set failing tests expectations for the first skqp run v4: a) Remove clang dependency b) Separate each skqp backend result into its folder c) Regroup a630_skqp in one job v5: a) Separate tests files per driver Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5580 Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14146>
2021-12-07 14:13:00 +00:00
AbandonedContextImage
AdvancedBlendTest
ApplyGamma
AsyncReadPixelsContextShutdown
BasicDrawOpAtlas
BlurMaskBiggerThanDest
BulkFillRectTest
BulkTextureRectTest
CharacterizationFBO0nessTest
CharacterizationVkSCBnessTest
ClearOp
ClipStack_SWMask
ColorTypeBackendAllocationTest
ComposedImageFilterBounds_Gpu
ComposedImageFilterOffset_Gpu
CompressedBackendAllocationTest
CopySurface
DDLCompatibilityTest
DDLCreateCharacterizationFailures
DDLInvalidRecorder
DDLMakeRenderTargetTest
DDLMultipleDDLs
DDLNonTextureabilityTest
DDLOperatorEqTest
DDLSkSurfaceFlush
DDLSurfaceCharacterizationTest
DDLTextureFlagsTest
DDLWrapBackendTest
DMSAA_aa_dst_read_after_dmsaa
DMSAA_dst_read
DMSAA_dst_read_with_existing_barrier
DMSAA_dual_source_blend_disable
DMSAA_preserve_contents
DSLBitwiseAnd
DSLBitwiseNot
DSLBitwiseOr
DSLBitwiseXor
DSLBlock
DSLBool
DSLBreak
DSLBuiltins
DSLCall
DSLComma
DSLContinue
DSLDeclare
DSLDeclareGlobal
DSLDecrement
DSLDiscard
DSLDivide
DSLDo
DSLES3Types
DSLEqual
DSLErrorLineNumbers
DSLExtension
DSLFlags
DSLFloat
DSLFor
DSLFunction
DSLGreaterThan
DSLGreaterThanOrEqual
DSLHalf
DSLIf
DSLImportOnly
DSLIncrement
DSLIndex
DSLInlining
DSLInt
DSLInterfaceBlock
DSLLayout
DSLLessThan
DSLLessThanOrEqual
DSLLogicalAnd
DSLLogicalNot
DSLLogicalOr
DSLLogicalXor
DSLMatrices
DSLMinus
DSLMod
DSLModifiers
DSLModifiersDeclaration
DSLMultiply
DSLNotEqual
DSLPlus
DSLPrototypes
DSLRTAdjust
DSLReleaseUnused
DSLReturn
DSLRuntimeEffectSimple_GPU
DSLSampleShader
DSLSelect
DSLShl
DSLShort
DSLShr
DSLStartup
DSLStruct
DSLSwitch
DSLSwizzle
DSLType
DSLUInt
DSLUShort
DSLVarSwap
DSLWhile
DSLWrapper
DefaultPathRendererTest
DeferredProxyTest
DefferredProxyConversionTest
EGLImageTest
ES2BlendWithNoTexture
EmptySurfaceSemaphoreTest
ExtendedSkColorTypeTests_gpu
FlushFinishedProcTest
FlushSubmittedProcTest
FullScreenClearWithLayers
GLBackendAllocationTest
GLReadPixelsUnbindPBO
GLTextureParameters
GPUMemorySize
GpuDrawPath
GpuRectanizer
Gr1x1TextureMipMappedTest
GrAtlasTextOpPreparation
GrBackendTextureImageMipMappedTest
GrContextDump
GrContextFactory_abandon
GrContextFactory_executorAndTaskGroup
GrContextFactory_sharedContexts
GrContext_abandonContext
GrContext_colorTypeSupportedAsImage
GrContext_colorTypeSupportedAsSurface
GrContext_maxSurfaceSamplesForColorType
GrContext_oomed
GrDDLImage_MakeSubset
GrDrawCollapsedPath
GrDrawOpAtlasConfig_Basic
GrImageSnapshotMipMappedTest
GrManyDependentsMipMappedTest
GrMeshTest
GrPipelineDynamicStateTest
GrPorterDuff
GrSkSLFP_Specialized
GrSkSLFP_UniformArray
GrSlug_empty
GrSurface
GrSurfaceRenderability
GrTextBlobMoveAround
GrTextBlobScaleAnimation
GrTextureMipMapInvalidationTest
GrThreadSafeCache10View
GrThreadSafeCache11Verts
GrThreadSafeCache11View
GrThreadSafeCache12Verts
GrThreadSafeCache12View
GrThreadSafeCache13Verts
GrThreadSafeCache13View
GrThreadSafeCache14
GrThreadSafeCache15Verts
GrThreadSafeCache15View
GrThreadSafeCache16Verts
GrThreadSafeCache1Verts
GrThreadSafeCache1View
GrThreadSafeCache2Verts
GrThreadSafeCache2View
GrThreadSafeCache3Verts
GrThreadSafeCache3View
GrThreadSafeCache4Verts
GrThreadSafeCache4View
GrThreadSafeCache4_5Verts
GrThreadSafeCache4_5View
GrThreadSafeCache4_75Verts
GrThreadSafeCache4_75View
GrThreadSafeCache5Verts
GrThreadSafeCache5View
GrThreadSafeCache6Verts
GrThreadSafeCache6View
GrThreadSafeCache7Verts
GrThreadSafeCache7View
GrThreadSafeCache8Verts
GrThreadSafeCache8View
GrThreadSafeCache9Verts
GrThreadSafeCache9View
GrWrappedMipMappedTest
HalfFloatAlphaTextureTest
HalfFloatRGBATextureTest
ImageAsyncReadPixels
ImageBackendAccessAbandoned_Gpu
ImageEncode_Gpu
ImageFilterBlurLargeImage_Gpu
ImageFilterCache_GPUBacked
ImageFilterCache_ImageBackedGPU
ImageFilterClippedPictureImageFilter_Gpu
ImageFilterCropRect_Gpu
ImageFilterFailAffectsTransparentBlack_Gpu
ImageFilterHugeBlur_Gpu
ImageFilterMakeWithFilter_Gpu
ImageFilterMatrixConvolutionBigKernel_Gpu
ImageFilterMergeResultSize_Gpu
ImageFilterNegativeBlurSigma_Gpu
ImageFilterZeroBlurSigma_Gpu
ImageFlush
ImageIsOpaqueTest_Gpu
ImageLegacyBitmap_Gpu
ImageNewShader_GPU
ImagePeek_Gpu
ImageReadPixels_Gpu
ImageScalePixels_Gpu
InitialTextureClear
LazyProxyFailedInstantiationTest
LazyProxyReleaseTest
LazyProxyTest
MatrixColorFilter_TransparentBlack
MorphologyFilterRadiusWithMirrorCTM_Gpu
OpChainTest
OpsTaskFlushCount
OverbudgetFlush
OverdrawSurface_Gpu
PathTest_CrBug1232834
PinnedImageTest
PorterDuffNoDualSourceBlending
PreinstantiatedProxyConversionTest
PremulAlphaRoundTrip_Gpu
ProcessorCloneTest
ProcessorRefTest
Programs
PromiseImageNullFulfill
PromiseImageTest
PromiseImageTextureFullCache
PromiseImageTextureShutdown
ProxyRefTest
PurgeToMakeHeadroom
ReadOnlyTexture
ReadPixels_InvalidRowBytes_Gpu
RectangleTexture
ReimportImageTextureWithMipLevels
RepeatedClippedBlurTest
ReplaceSurfaceBackendTexture
ResourceAllocatorMemoryBudgetTest
ResourceAllocatorStressTest
ResourceAllocatorTest
ResourceCacheCache
ResourceCacheMisc
ResourceCacheStencilBuffers
ResourceCacheWrappedResources
ResourceMessagesAfterAbandon
SRGBReadWritePixels
SkImage_CrossContextGrayAlphaConfigs
SkImage_Gpu2Cpu
SkImage_MakeCrossContextFromPixmapRelease
SkImage_NewFromTextureRelease
SkImage_makeNonTextureImage
SkImage_makeTextureImage
SkRemoteGlyphCache_CacheMissReporting
SkRemoteGlyphCache_DrawTextAsDFT
SkRemoteGlyphCache_DrawTextAsMaskWithPathFallback
SkRemoteGlyphCache_DrawTextAsPath
SkRemoteGlyphCache_DrawTextXY
SkRemoteGlyphCache_ReleaseTypeFace
SkRemoteGlyphCache_StrikeSerialization
SkRemoteGlyphCache_TypefaceWithNoPaths
SkRuntimeBlender_GPU
SkRuntimeEffectSimple_GPU
SkRuntimeEffect_Blender_GPU
SkRuntimeShaderImageFilter_GPU
SkRuntimeStructNameReuse_GPU
SkSLArrayCast_GPU
SkSLArrayComparison_GPU
SkSLArrayConstructors_GPU
SkSLArrayFollowedByScalar_GPU
SkSLArrayNarrowingConversions_GPU
SkSLArraySizeFolding_GPU
SkSLArrayTypes_GPU
SkSLAssignmentOps_GPU
SkSLAssignment_GPU
SkSLBoolFolding_GPU
SkSLCastFolding_GPU
SkSLCastsRoundTowardZero_GPU
SkSLCommaMixedTypes_GPU
SkSLConstArray_GPU
SkSLConstVariableComparison_GPU
SkSLConstantIf_GPU
SkSLCross
SkSLDeadIfStatement_GPU
SkSLDeadLoopVariable_GPU
SkSLDeadReturn_GPU
SkSLDeadStripFunctions_GPU
SkSLDependentInitializers_GPU
SkSLDoWhileBodyMustBeInlinedIntoAScope_GPU
SkSLDoWhileControlFlow_GPU
SkSLDoWhileTestCannotBeInlined_GPU
SkSLEmptyBlocksES2_GPU
SkSLEmptyBlocksES3_GPU
SkSLFloatFolding_GPU
SkSLForBodyMustBeInlinedIntoAScope_GPU
SkSLForInitializerExpressionsCanBeInlined_GPU
SkSLForLoopControlFlow_GPU
SkSLForWithReturnInsideCannotBeInlined_GPU
SkSLForWithoutReturnInsideCanBeInlined_GPU
SkSLFunctionArgTypeMatch_GPU
SkSLFunctionPrototype_GPU
SkSLFunctionReturnTypeMatch_GPU
SkSLFunctions_GPU
SkSLGeometricIntrinsics_GPU
SkSLHelloWorld_GPU
SkSLHexUnsigned_GPU
SkSLHex_GPU
SkSLIfBodyMustBeInlinedIntoAScope_GPU
SkSLIfElseBodyMustBeInlinedIntoAScope_GPU
SkSLIfElseChainWithReturnsCanBeInlined_GPU
SkSLIfTestCanBeInlined_GPU
SkSLIfWithReturnsCanBeInlined_GPU
SkSLInlineKeywordOverridesThreshold_GPU
SkSLInlineThreshold_GPU
SkSLInlineWithModifiedArgument_GPU
SkSLInlineWithNestedBigCalls_GPU
SkSLInlineWithUnmodifiedArgument_GPU
SkSLInlineWithUnnecessaryBlocks_GPU
SkSLInlinerAvoidsVariableNameOverlap_GPU
SkSLInlinerElidesTempVarForReturnsInsideBlock_GPU
SkSLInlinerUsesTempVarForMultipleReturns_GPU
SkSLInlinerUsesTempVarForReturnsInsideBlockWithVar_GPU
SkSLIntFoldingES2_GPU
SkSLIntFoldingES3_GPU
SkSLIntrinsicAbsFloat_GPU
SkSLIntrinsicCeil_GPU
SkSLIntrinsicClampInt_GPU
SkSLIntrinsicClampUInt_GPU
SkSLIntrinsicDFdx_GPU
SkSLIntrinsicDFdy_GPU
SkSLIntrinsicDeterminant_GPU
SkSLIntrinsicFloatBitsToInt_GPU
SkSLIntrinsicFloatBitsToUint_GPU
SkSLIntrinsicFwidth_GPU
SkSLIntrinsicIntBitsToFloat_GPU
SkSLIntrinsicIsInf_GPU
SkSLIntrinsicMatrixCompMultES2_GPU
SkSLIntrinsicMatrixCompMultES3_GPU
SkSLIntrinsicMaxFloat_GPU
SkSLIntrinsicMinFloat_GPU
SkSLIntrinsicModf_GPU
SkSLIntrinsicOuterProduct_GPU
SkSLIntrinsicRoundEven_GPU
SkSLIntrinsicRound_GPU
SkSLIntrinsicSignFloat_GPU
SkSLIntrinsicStep_GPU
SkSLIntrinsicTranspose_GPU
SkSLIntrinsicTrunc_GPU
SkSLIntrinsicUintBitsToFloat_GPU
SkSLLoopFloat_GPU
SkSLLoopInt_GPU
SkSLMatricesNonsquare_GPU
SkSLMatrices_GPU
SkSLMatrixEquality_GPU
SkSLMatrixFoldingES3_GPU
SkSLMatrixScalarSplat_GPU
SkSLMatrixToVectorCast_GPU
SkSLMultipleAssignments_GPU
SkSLNegation_GPU
SkSLNoInline_GPU
SkSLNumberCasts_GPU
SkSLOperatorsES2_GPU
SkSLOperatorsES3_GPU
SkSLOssfuzz36852_GPU
SkSLPrecisionQualifiers_GPU
SkSLQualifierOrder_GPU
SkSLResizeMatrixNonsquare_GPU
SkSLResizeMatrix_GPU
SkSLReturnsValueOnEveryPathES2_GPU
SkSLReturnsValueOnEveryPathES3_GPU
SkSLScalarConversionConstructorsES2_GPU
SkSLScalarConversionConstructorsES3_GPU
SkSLScopedSymbol_GPU
SkSLSelfAssignment_GPU
SkSLShortCircuitBoolFolding_GPU
SkSLShortCircuitEvaluationsCannotInlineRightHandSide_GPU
SkSLStackingVectorCasts_GPU
SkSLStaticIf_GPU
SkSLStaticSwitchInline_GPU
SkSLStaticSwitch_GPU
SkSLStructArrayFollowedByScalar_GPU
SkSLStructsCanBeInlinedSafely_GPU
SkSLStructsInFunctions_GPU
SkSLSwitchDefaultOnly_GPU
SkSLSwitchWithFallthrough_GPU
SkSLSwitchWithLoops_GPU
SkSLSwitch_GPU
SkSLSwizzleBoolConstants_GPU
SkSLSwizzleByConstantIndex_GPU
SkSLSwizzleByIndex_GPU
SkSLSwizzleCanBeInlinedDirectly_GPU
SkSLSwizzleConstants_GPU
SkSLSwizzleFolding_GPU
SkSLSwizzleLTRB_GPU
SkSLSwizzleOpt_GPU
SkSLSwizzleScalarBool_GPU
SkSLSwizzleScalarInt_GPU
SkSLSwizzleScalar_GPU
SkSLTernaryAsLValueEntirelyFoldable_GPU
SkSLTernaryAsLValueFoldableTest_GPU
SkSLTernaryExpression_GPU
SkSLTernaryResultsCannotBeInlined_GPU
SkSLTernaryTestCanBeInlined_GPU
SkSLTrivialArgumentsInlineDirectly_GPU
SkSLUnaryPositiveNegative_GPU
SkSLUniformArray_GPU
SkSLUnusedVariables_GPU
SkSLVectorConstructors_GPU
SkSLVectorScalarFolding_GPU
SkSLVectorToMatrixCast_GPU
SkSLVectorVectorFolding_GPU
SkSLWhileBodyMustBeInlinedIntoAScope_GPU
SkSLWhileLoopControlFlow_GPU
SkSLWhileTestCannotBeInlined_GPU
SkSL_ES2Conformance_Pass_GPU
SkTraceMemoryDump_ownedGLBuffer
SkTraceMemoryDump_ownedGLRenderTarget
SkTraceMemoryDump_ownedGLTexture
SkTraceMemoryDump_ownedGLTextureRenderTarget
SkTraceMemoryDump_unownedGLRenderTarget
SkTraceMemoryDump_unownedGLTexture
SkipCopyTaskTest
SkipOpsTaskTest
SmallBoxBlurBug
SoftwarePathRendererCacheTest
SpecialImage_GPUDevice
SpecialImage_Gpu
SpecialSurface_Gpu1
SrcSrcOverBatchTest
SurfaceAbandonPostFlush_Gpu
SurfaceAsyncReadPixels
SurfaceAttachStencil_Gpu
SurfaceBackendAccessAbandoned_Gpu
SurfaceBackendHandleAccessIDs_Gpu
SurfaceBackendSurfaceAccessCopyOnWrite_Gpu
SurfaceBudget
SurfaceCRBug263329_Gpu
SurfaceCanvasPeek_Gpu
SurfaceClear_Gpu
SurfaceContextReadPixels
SurfaceContextWritePixels
SurfaceContextWritePixelsMipped
SurfaceCopyOnWrite_Gpu
SurfaceDrawContextTest
SurfaceEmpty_Gpu
SurfaceNoCanvas_Gpu
SurfacePartialDraw_Gpu
SurfaceSemaphores
SurfaceSnapshotAlphaType_Gpu
SurfaceWrappedWithRelease_Gpu
SurfaceWriteableAfterSnapshotRelease_Gpu
SurfacepeekTexture_Gpu
TestGpuAllContexts
TestGpuFactory
TestGpuRenderingContexts
TestMockContext
TextBlobAbnormal
TextBlobCache
TextBlobJaggedGlyph
TextBlobSmoothScroll
TextBlobStressAbnormal
TextBlobStressCache
TextureBindingsResetTest
TextureOpTest
TextureProxyTest
TextureStripAtlasManagerColorFilterTest
TextureStripAtlasManagerGradientTest
TransferPixelsFromTextureTest
TransferPixelsToTextureTest
TriangulatingPathRendererCacheTest
TriangulatingPathRendererTests
UnpremulTextureImage
VertexAttributeCount
VkBackendAllocationTest
VkBackendSurfaceMutableStateTest
VkDRMModifierTest
VkDrawableImportTest
VkDrawableTest
VkImageLayoutTest
VkProtectedContext_AsyncReadFromProtectedSurface
VkProtectedContext_CreateNonprotectedTextureInProtectedContext
VkProtectedContext_CreateProtectedContext
VkProtectedContext_CreateProtectedSkSurface
VkProtectedContext_CreateProtectedTextureInNonprotectedContext
VkProtectedContext_DDLMakeRenderTargetTest
VkProtectedContext_DDLSurfaceCharacterizationTest
VkProtectedContext_DrawProtectedImageOnProtectedSurface
VkProtectedContext_DrawRectangle
VkProtectedContext_DrawRectangleWithAntiAlias
VkProtectedContext_DrawRectangleWithBlendMode
VkProtectedContext_DrawRectangleWithFilter
VkProtectedContext_DrawThinPath
VkProtectedContext_ReadFromProtectedSurface
VkProtectedContext_SaveLayer
VkWrapTests
VulkanPriorityExtension
WrappedProxyTest
WrappedSurfaceCopyOnWrite
WritePixelsMSAA_Gpu
WritePixelsNonTextureMSAA_Gpu
WritePixelsNonTexture_Gpu
WritePixelsPendingIO
WritePixels_Gpu
WritePixels_InvalidRowBytes_Gpu
XfermodeImageFilterCroppedInput_Gpu
ZeroSizedProxyTest
crbug_1271431
makeBackendTexture
skbug12214
skbug5221_GPU
skbug6653