Commit 328a5c89 by Jamie Madill Committed by Commit Bot

infra: Add tests to Android Pixel 4 bot.

Only angle_end2end_tests and angle_unittests to start. Also adds test expectations for the Pixel 4 end2end_tests. Patch Series: 1. http://crrev.com/c/2885381 2. http://crrev.com/c/2885346 3. http://crrev.com/c/2885383 4. This CL Bug: angleproject:5941 Bug: angleproject:5946 Bug: angleproject:5947 Bug: angleproject:5981 Change-Id: Iaaea0b427513804575d0ad7773a81379ea932eb5 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2885384 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
parent cc9d0f75
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
/third_party/qemu-mac-x64 /third_party/qemu-mac-x64
/third_party/r8/lib /third_party/r8/lib
/third_party/rapidjson/src /third_party/rapidjson/src
/third_party/requests/src
/third_party/six /third_party/six
/third_party/SwiftShader /third_party/SwiftShader
/third_party/turbine/*.jar /third_party/turbine/*.jar
......
...@@ -473,6 +473,11 @@ deps = { ...@@ -473,6 +473,11 @@ deps = {
'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63', 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
}, },
'third_party/requests/src': {
'url': '{chromium_git}/external/github.com/kennethreitz/requests@refs/tags/v2.23.0',
'condition': 'checkout_android and not build_with_chromium',
},
'third_party/six': { 'third_party/six': {
'url': '{chromium_git}/chromium/src/third_party/six@c96255caa80a7e0e45de07ce9af088a2ce984b68', 'url': '{chromium_git}/chromium/src/third_party/six@c96255caa80a7e0e45de07ce9af088a2ce984b68',
'condition': 'checkout_android and not build_with_chromium', 'condition': 'checkout_android and not build_with_chromium',
......
...@@ -3,7 +3,81 @@ ...@@ -3,7 +3,81 @@
"AAAAA2 See generate_buildbot_json.py to make changes": {}, "AAAAA2 See generate_buildbot_json.py to make changes": {},
"android-arm-builder": {}, "android-arm-builder": {},
"android-arm64-builder": {}, "android-arm64-builder": {},
"android-arm64-pixel4": {}, "android-arm64-pixel4": {
"gtest_tests": [
{
"args": [
"angle_end2end_tests",
"--gtest_filter=-*Vulkan_SwiftShader*",
"--shard-timeout=180",
"-v"
],
"merge": {
"args": [],
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"containment_type": "AUTO",
"dimension_sets": [
{
"device_os": "R",
"device_os_type": "userdebug",
"device_type": "flame",
"os": "Android",
"pool": "chromium.tests.gpu"
}
],
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
"shards": 4
},
"test": "angle_end2end_tests",
"test_id_prefix": "ninja://src/tests:angle_end2end_tests/",
"use_isolated_scripts_api": true
},
{
"args": [
"angle_unittests",
"-v"
],
"merge": {
"args": [],
"script": "//testing/merge_scripts/standard_isolated_script_merge.py"
},
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"containment_type": "AUTO",
"dimension_sets": [
{
"device_os": "R",
"device_os_type": "userdebug",
"device_type": "flame",
"os": "Android",
"pool": "chromium.tests.gpu"
}
],
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
},
"test": "angle_unittests",
"test_id_prefix": "ninja://src/tests:angle_unittests/",
"use_isolated_scripts_api": true
}
]
},
"linux-builder": {}, "linux-builder": {},
"linux-intel": { "linux-intel": {
"gtest_tests": [ "gtest_tests": [
......
...@@ -729,6 +729,11 @@ ...@@ -729,6 +729,11 @@
}, },
'compound_suites': { 'compound_suites': {
'android_gtests': [
'angle_end2end_gtests',
'angle_unit_gtests',
],
'common_isolated_scripts': [ 'common_isolated_scripts': [
'angle_perf_smoke_isolated_scripts', 'angle_perf_smoke_isolated_scripts',
'angle_restricted_trace_gold_isolated_scripts', 'angle_restricted_trace_gold_isolated_scripts',
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
'gpu-swarming-pool', 'gpu-swarming-pool',
], ],
'test_suites': { 'test_suites': {
# TODO(jmadill): Add Android tests. http://anglebug.com/5941 'gtest_tests': 'android_gtests',
}, },
}, },
'linux-builder': {}, 'linux-builder': {},
......
{ {
"infra/specs/angle.json": "infra/specs/angle.json":
"496412deb7ddbf1daf81be291a372b39", "bde8eac706afbf81ab1cb28a6434ee69",
"infra/specs/generate_test_spec_json.py": "infra/specs/generate_test_spec_json.py":
"e1c8a771f751adad715d7bea900fc8e1", "e1c8a771f751adad715d7bea900fc8e1",
"infra/specs/mixins.pyl": "infra/specs/mixins.pyl":
...@@ -8,11 +8,11 @@ ...@@ -8,11 +8,11 @@
"infra/specs/test_suite_exceptions.pyl": "infra/specs/test_suite_exceptions.pyl":
"aad1a4aed801277cc531733deab221b5", "aad1a4aed801277cc531733deab221b5",
"infra/specs/test_suites.pyl": "infra/specs/test_suites.pyl":
"70132906d90e248ca8f11bc3249e7956", "ec96a4f3a31e66f13836ea44d17e6119",
"infra/specs/variants.pyl": "infra/specs/variants.pyl":
"8cfcaa99fa07ad2a2d5d14f220fd5037", "8cfcaa99fa07ad2a2d5d14f220fd5037",
"infra/specs/waterfalls.pyl": "infra/specs/waterfalls.pyl":
"680dc1603dd1078cca12fcf59157d25c", "103b325e1d970e116a4f1ba1cf2b6b52",
"testing/buildbot/generate_buildbot_json.py": "testing/buildbot/generate_buildbot_json.py":
"1e81e9c9e086c49b14ba038a49e4bab9", "1e81e9c9e086c49b14ba038a49e4bab9",
"testing/buildbot/mixins.pyl": "testing/buildbot/mixins.pyl":
......
...@@ -69,6 +69,7 @@ ANGLE_CHROMIUM_DEPS = [ ...@@ -69,6 +69,7 @@ ANGLE_CHROMIUM_DEPS = [
'third_party/qemu-linux-x64', 'third_party/qemu-linux-x64',
'third_party/qemu-mac-x64', 'third_party/qemu-mac-x64',
'third_party/r8', 'third_party/r8',
'third_party/requests/src',
'third_party/six', 'third_party/six',
'third_party/turbine', 'third_party/turbine',
'third_party/zlib', 'third_party/zlib',
......
...@@ -9,3 +9,85 @@ ...@@ -9,3 +9,85 @@
4092 WIN OPENGL : BufferDataOverflowTest.VertexBufferIntegerOverflow/ES3_OpenGL = SKIP 4092 WIN OPENGL : BufferDataOverflowTest.VertexBufferIntegerOverflow/ES3_OpenGL = SKIP
4092 WIN GLES : BufferDataOverflowTest.VertexBufferIntegerOverflow/ES3_OpenGLES = SKIP 4092 WIN GLES : BufferDataOverflowTest.VertexBufferIntegerOverflow/ES3_OpenGLES = SKIP
// Pixel 4 expectations.
5981 PIXEL4ORXL GLES : BlitFramebufferTest.BlitSRGBToRGBOversizedDestArea/* = SKIP
5981 PIXEL4ORXL GLES : CopyTexImageTest.CopyTexSubImageFrom3DTexureOES/* = SKIP
5981 PIXEL4ORXL GLES : CubeMapTextureTest.SampleCoordinateTransform/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.Source2DTarget2D_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.Source2DTargetExternal_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.Source2DTargetRenderbuffer_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.Source3DTargetExternal_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.Source3DTargetTexture_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceAHBTarget2D_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceAHBTarget2DArray_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceAHBTargetExternal_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceCubeTarget2D_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceCubeTargetExternal_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceCubeTargetRenderbuffer_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceNativeClientBufferTargetExternal_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceNativeClientBufferTargetRenderbuffer_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceRenderbufferTargetRenderbuffer_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceRenderbufferTargetTexture_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTest.SourceRenderbufferTargetTextureExternal_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTestES3.Source2DTargetExternalESSL3_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTestES3.Source3DTargetExternalESSL3_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTestES3.SourceAHBTargetExternalESSL3_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTestES3.SourceCubeTargetExternalESSL3_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : ImageTestES3.SourceRenderbufferTargetTextureExternalESSL3_Colorspace/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.DefineValidExtraLevelAndUseItLater/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.GenerateMipmapAfterModifyingBaseLevel/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.GenerateMipmapAfterSingleLevelDraw/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.GenerateMipmapFromInitDataThenRender/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.GenerateMipmapFromRenderedImage/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.MipMapGenerationD3D9Bug/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.MipmapsForTexture3DOES/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.RenderOntoLevelZeroAfterGenerateMipmap/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.TextureCubeGeneralLevelZero/* = SKIP
5981 PIXEL4ORXL GLES : MipmapTest.TextureCubeRenderToLevelZero/* = SKIP
5981 PIXEL4ORXL GLES : MultithreadingTestES3.MultithreadFenceTexImage/* = SKIP
5981 PIXEL4ORXL GLES : PbufferTest.ClearAndBindTexImageSrgb/* = SKIP
5981 PIXEL4ORXL GLES : ReadPixelsPBOTest.ExistingDataPreserved/* = SKIP
5981 PIXEL4ORXL GLES : SimpleStateChangeTestES31.ClearThenSampleWithCompute/* = SKIP
5981 PIXEL4ORXL GLES : SimpleStateChangeTestES31.InvalidateThenStorageWriteThenBlend/* = SKIP
5981 PIXEL4ORXL GLES : SimpleStateChangeTestES31.TransformFeedbackThenReadWithCompute/* = SKIP
5981 PIXEL4ORXL GLES : Texture3DTestES2.CopySubImageAlpha/* = SKIP
5981 PIXEL4ORXL GLES : Texture3DTestES2.CopySubImageLuminance/* = SKIP
5981 PIXEL4ORXL GLES : Texture3DTestES2.CopySubImageRGBA/* = SKIP
5981 PIXEL4ORXL GLES : Texture3DTestES2.Luminance/* = SKIP
5981 PIXEL4ORXL GLES : Texture3DTestES2.RGBA/* = SKIP
5981 PIXEL4ORXL GLES : TextureBufferTestES31.UseAsUBOThenUpdateThenAsTextureBuffer/* = SKIP
5981 PIXEL4ORXL GLES : TransformFeedbackTestES31.IOBlocksInterleaved/* = SKIP
5981 PIXEL4ORXL GLES : TransformFeedbackTestES31.IOBlocksSeparate/* = SKIP
5981 PIXEL4ORXL GLES : VulkanExternalImageTest.ShouldClearOpaqueFdRGBA8/* = SKIP
5981 PIXEL4ORXL GLES : VulkanExternalImageTest.TextureFormatCompatChromiumFd/* = SKIP
5946 PIXEL4ORXL VULKAN : TransformFeedbackTestES32.PrimitivesWrittenAndGenerated/* = SKIP
5947 PIXEL4ORXL VULKAN : FramebufferFetchNonCoherentES31.DrawFetchBlitDrawFetch/* = SKIP
5947 PIXEL4ORXL VULKAN : FramebufferFetchNonCoherentES31.DrawNonFetchDrawFetchWithDifferentAttachments/* = SKIP
5947 PIXEL4ORXL VULKAN : FramebufferFetchNonCoherentES31.DrawNonFetchDrawFetchWithDifferentPrograms/* = SKIP
5981 PIXEL4ORXL VULKAN : BlitFramebufferANGLETest.BlitWithDepthDefaultToUser/* = SKIP
5981 PIXEL4ORXL VULKAN : BlitFramebufferANGLETest.BlitWithDepthUserToDefault/* = SKIP
5981 PIXEL4ORXL VULKAN : ClearTestES3.MaskedClearHeterogeneousAttachments/* = SKIP
5981 PIXEL4ORXL VULKAN : ClearTestES3.MaskedIndexedClearMultipleAttachments/* = SKIP
5981 PIXEL4ORXL VULKAN : ClearTestES3.MaskedScissoredClearMultipleAttachments/* = SKIP
5981 PIXEL4ORXL VULKAN : ClearTestES3.ScissoredClearHeterogeneousAttachments/* = SKIP
5981 PIXEL4ORXL VULKAN : ColorMaskForDrawBuffersTest.ScissoredClear/* = SKIP
5981 PIXEL4ORXL VULKAN : CubeMapTextureTest.SampleCoordinateTransform/* = SKIP
5981 PIXEL4ORXL VULKAN : DepthStencilFormatsTest.DepthTextureRender/* = SKIP
5981 PIXEL4ORXL VULKAN : EGLSyncTest.AndroidNativeFence_ClientWait/* = SKIP
5981 PIXEL4ORXL VULKAN : EXTBlendFuncExtendedDrawTest.FragData/* = SKIP
5981 PIXEL4ORXL VULKAN : EXTBlendFuncExtendedDrawTestES3.FragmentArrayOutputLocationsAPI/* = SKIP
5981 PIXEL4ORXL VULKAN : EXTBlendFuncExtendedDrawTestES3.FragmentOutputLocationAPI/* = SKIP
5981 PIXEL4ORXL VULKAN : EXTBlendFuncExtendedDrawTestES3.FragmentOutputLocationsAPIAndAutomatic/* = SKIP
5981 PIXEL4ORXL VULKAN : EXTBlendFuncExtendedDrawTestES3.FragmentOutputLocationsInShader/* = SKIP
5981 PIXEL4ORXL VULKAN : EXTBlendFuncExtendedDrawTestES31.UseProgramPipeline/* = SKIP
5981 PIXEL4ORXL VULKAN : EXTBlendFuncExtendedDrawTestES31.UseTwoProgramStages/* = SKIP
5981 PIXEL4ORXL VULKAN : GLSLTest_ES31.ParameterArrayArrayArraySampler/* = SKIP
5981 PIXEL4ORXL VULKAN : MultisampledRenderToTextureES3Test.ClearThenMaskedClearFramebufferTest/* = SKIP
5981 PIXEL4ORXL VULKAN : PointSpriteTest.TrianglesNotTreatedAsPointSprites/* = SKIP
5981 PIXEL4ORXL VULKAN : ProgramBinaryTransformFeedbackTest.GetTransformFeedbackVarying/* = SKIP
5981 PIXEL4ORXL VULKAN : Texture2DArrayCopy.UnsignedByteFormats/* = SKIP
5981 PIXEL4ORXL VULKAN : Texture2DArrayCopy.UnsizedFormats/* = SKIP
5981 PIXEL4ORXL VULKAN : Texture3DCopy.UnsignedByteFormats/* = SKIP
5981 PIXEL4ORXL VULKAN : Texture3DCopy.UnsizedFormats/* = SKIP
5981 PIXEL4ORXL VULKAN : TransformFeedbackTestES31.IOBlocksInterleaved/* = SKIP
...@@ -471,6 +471,16 @@ inline bool IsPixel2XL() ...@@ -471,6 +471,16 @@ inline bool IsPixel2XL()
return IsAndroidDevice("Pixel 2 XL"); return IsAndroidDevice("Pixel 2 XL");
} }
inline bool IsPixel4()
{
return IsAndroidDevice("Pixel 4");
}
inline bool IsPixel4XL()
{
return IsAndroidDevice("Pixel 4 XL");
}
// Check whether the active GPU is a specific device based on the string device ID. // Check whether the active GPU is a specific device based on the string device ID.
inline bool IsDeviceIdGPU(const std::string &gpuDeviceId) inline bool IsDeviceIdGPU(const std::string &gpuDeviceId)
{ {
...@@ -582,6 +592,7 @@ GPUTestConfig::GPUTestConfig(bool isSwiftShader) ...@@ -582,6 +592,7 @@ GPUTestConfig::GPUTestConfig(bool isSwiftShader)
// Devices are irrelevent if we are running on SW // Devices are irrelevent if we are running on SW
mConditions[kConditionNexus5X] = !isSwiftShader && IsNexus5X(); mConditions[kConditionNexus5X] = !isSwiftShader && IsNexus5X();
mConditions[kConditionPixel2OrXL] = !isSwiftShader && (IsPixel2() || IsPixel2XL()); mConditions[kConditionPixel2OrXL] = !isSwiftShader && (IsPixel2() || IsPixel2XL());
mConditions[kConditionPixel4OrXL] = !isSwiftShader && (IsPixel4() || IsPixel4XL());
mConditions[kConditionNVIDIAQuadroP400] = !isSwiftShader && IsNVIDIAQuadroP400(); mConditions[kConditionNVIDIAQuadroP400] = !isSwiftShader && IsNVIDIAQuadroP400();
mConditions[kConditionPreRotation] = false; mConditions[kConditionPreRotation] = false;
......
...@@ -64,6 +64,7 @@ struct GPUTestConfig ...@@ -64,6 +64,7 @@ struct GPUTestConfig
kConditionMetal, kConditionMetal,
kConditionNexus5X, kConditionNexus5X,
kConditionPixel2OrXL, kConditionPixel2OrXL,
kConditionPixel4OrXL,
kConditionNVIDIAQuadroP400, kConditionNVIDIAQuadroP400,
kConditionSwiftShader, kConditionSwiftShader,
kConditionPreRotation, kConditionPreRotation,
......
...@@ -74,6 +74,7 @@ enum Token ...@@ -74,6 +74,7 @@ enum Token
// Android devices // Android devices
kConfigNexus5X, kConfigNexus5X,
kConfigPixel2, kConfigPixel2,
kConfigPixel4,
// GPU devices // GPU devices
kConfigNVIDIAQuadroP400, kConfigNVIDIAQuadroP400,
// PreRotation // PreRotation
...@@ -171,6 +172,7 @@ constexpr TokenInfo kTokenData[kNumberOfTokens] = { ...@@ -171,6 +172,7 @@ constexpr TokenInfo kTokenData[kNumberOfTokens] = {
{"metal", GPUTestConfig::kConditionMetal}, {"metal", GPUTestConfig::kConditionMetal},
{"nexus5x", GPUTestConfig::kConditionNexus5X}, {"nexus5x", GPUTestConfig::kConditionNexus5X},
{"pixel2orxl", GPUTestConfig::kConditionPixel2OrXL}, {"pixel2orxl", GPUTestConfig::kConditionPixel2OrXL},
{"pixel4orxl", GPUTestConfig::kConditionPixel4OrXL},
{"quadrop400", GPUTestConfig::kConditionNVIDIAQuadroP400}, {"quadrop400", GPUTestConfig::kConditionNVIDIAQuadroP400},
{"prerotation", GPUTestConfig::kConditionPreRotation}, {"prerotation", GPUTestConfig::kConditionPreRotation},
{"prerotation90", GPUTestConfig::kConditionPreRotation90}, {"prerotation90", GPUTestConfig::kConditionPreRotation90},
...@@ -487,6 +489,7 @@ bool GPUTestExpectationsParser::parseLine(const GPUTestConfig *config, ...@@ -487,6 +489,7 @@ bool GPUTestExpectationsParser::parseLine(const GPUTestConfig *config,
case kConfigMetal: case kConfigMetal:
case kConfigNexus5X: case kConfigNexus5X:
case kConfigPixel2: case kConfigPixel2:
case kConfigPixel4:
case kConfigNVIDIAQuadroP400: case kConfigNVIDIAQuadroP400:
case kConfigPreRotation: case kConfigPreRotation:
case kConfigPreRotation90: case kConfigPreRotation90:
......
...@@ -331,6 +331,11 @@ bool IsPixel2XL() ...@@ -331,6 +331,11 @@ bool IsPixel2XL()
return IsAndroidDevice("Pixel 2 XL"); return IsAndroidDevice("Pixel 2 XL");
} }
bool IsPixel4()
{
return IsAndroidDevice("Pixel 4");
}
bool IsNVIDIAShield() bool IsNVIDIAShield()
{ {
return IsAndroidDevice("SHIELD Android TV"); return IsAndroidDevice("SHIELD Android TV");
......
...@@ -38,6 +38,7 @@ bool IsNexus9(); ...@@ -38,6 +38,7 @@ bool IsNexus9();
bool IsPixelXL(); bool IsPixelXL();
bool IsPixel2(); bool IsPixel2();
bool IsPixel2XL(); bool IsPixel2XL();
bool IsPixel4();
bool IsNVIDIAShield(); bool IsNVIDIAShield();
// GPU vendors. // GPU vendors.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment