Issue 8683 in angleproject: angle_end2end_tests failing on newer Linux/Intel config

1 view
Skip to first unread message

bshe… via monorail

unread,
Apr 30, 2024, 6:20:12 PM4/30/24
to angleproj...@googlegroups.com
Status: Available
Owner: ----
CC: ynovi...@chromium.org
OS: Linux
Priority: Medium
Type: Defect

New issue 8683 by bsh...@chromium.org: angle_end2end_tests failing on newer Linux/Intel config
https://bugs.chromium.org/p/angleproject/issues/detail?id=8683

We're in the process of qualifying Ubuntu 22 with Mesa 23.2.1 for our Intel UHD 630 GPUs (up from Ubuntu 18 with Mesa 20.0.8), but a number of tests in angle_end2end_tests are failing as a result of the new configuration.

Sample failed build: https://ci.chromium.org/ui/p/angle/builders/try/linux-exp-test/8/infra

Failed tests, grouped by failure reason:

AtomicCounterBufferTest31.AtomicCounterReadCompute/ES3_1_OpenGL

../../src/tests/test_utils/ANGLETest.cpp:65: Failure
ProgramLinkedResources.cpp:1604 (link): ! Assert failed in link (../../src/libANGLE/ProgramLinkedResources.cpp:1604): bufferSize != sizeMap.end()
angle::PrintStackBacktrace() at crash_handler_posix.cpp:498
angle::(anonymous namespace)::TestPlatform_logError(angle::PlatformMethods*, char const*) at ANGLETest.cpp:?
angle::LoggingAnnotator::logMessage(gl::LogMessage const&) const at string:1793
gl::LogMessage::~LogMessage() at debug.cpp:?
gl::AtomicCounterBufferLinker::link(std::__Cr::map<int, unsigned int, std::__Cr::less<int>, std::__Cr::allocator<std::__Cr::pair<int const, unsigned int> > > const&) const at ProgramLinkedResources.cpp:?
rx::ProgramGL::linkResources(gl::ProgramLinkedResources const&) at __tree:968
rx::ProgramGL::postLinkJobImpl(gl::ProgramLinkedResources const&) at ProgramGL.h:69
rx::ProgramGL::LinkTaskGL::getResult(gl::Context const*, gl::InfoLog&) at ProgramGL.cpp:137
gl::Program::MainLinkLoadEvent::wait(gl::Context const*) at Error.h:181
gl::Program::resolveLinkImpl(gl::Context const*) at Program.cpp:1219
gl::ValidateGetProgramivBase(gl::Context const*, angle::EntryPoint, gl::ShaderProgramID, unsigned int, int*) at Program.h:?
GL_GetProgramiv at entry_points_gles_2_0_autogen.cpp:1997
CheckLinkStatusAndReturnProgram(unsigned int, bool) at shader_utils.cpp:209
(anonymous namespace)::AtomicCounterBufferTest31_AtomicCounterReadCompute_Test::TestBody() at gl_raii.h:180
testing::Test::Run() at gtest.cc:6213
testing::TestInfo::Run() at gtest.cc:2888
testing::TestSuite::Run() at gtest.cc:3040
testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5898
testing::UnitTest::Run() at gtest.cc:5464
angle::TestSuite::run() at gtest.h:2492
main at angle_end2end_tests_main.cpp:75
__libc_start_call_main at libc_start_call_main.h:58
call_init at libc-start.c:128
_start at ??:?


ClipControlTest.OriginFragCoord/ES2_OpenGL
ClipControlTest.OriginFragCoord/ES3_OpenGL

../../src/tests/gl_tests/ClipControlTest.cpp:366: Failure
Expected equality of these values:
GLColor::black
Which is: Black
angle::ReadColor(0, 0)
Which is: Green
../../src/tests/gl_tests/ClipControlTest.cpp:367: Failure
Expected equality of these values:
GLColor::red
Which is: Red
angle::ReadColor(w - 1, 0)
Which is: Yellow
../../src/tests/gl_tests/ClipControlTest.cpp:368: Failure
Expected equality of these values:
GLColor::green
Which is: Green
angle::ReadColor(0, h - 1)
Which is: Black
../../src/tests/gl_tests/ClipControlTest.cpp:369: Failure
Expected equality of these values:
GLColor::yellow
Which is: Yellow
angle::ReadColor(w - 1, h - 1)
Which is: Red
../../src/tests/gl_tests/ClipControlTest.cpp:366: Failure
Expected equality of these values:
GLColor::black
Which is: Black
angle::ReadColor(0, 0)
Which is: Green
../../src/tests/gl_tests/ClipControlTest.cpp:367: Failure
Expected equality of these values:
GLColor::red
Which is: Red
angle::ReadColor(w - 1, 0)
Which is: Yellow
../../src/tests/gl_tests/ClipControlTest.cpp:368: Failure
Expected equality of these values:
GLColor::green
Which is: Green
angle::ReadColor(0, h - 1)
Which is: Black
../../src/tests/gl_tests/ClipControlTest.cpp:369: Failure
Expected equality of these values:
GLColor::yellow
Which is: Yellow
angle::ReadColor(w - 1, h - 1)
Which is: Red


CubeMapTextureTest.SampleCoordinateTransformGrad/ES2_Vulkan

../../src/tests/gl_tests/CubeMapTextureTest.cpp:224: Failure
Expected equality of these values:
sectionColor
Which is: (0, 127, 191, 255)
angle::ReadColor(face, section)
Which is: (0, 63, 255, 255)
face 4, section 0
../../src/tests/gl_tests/CubeMapTextureTest.cpp:224: Failure
Expected equality of these values:
sectionColor
Which is: (0, 255, 63, 255)
angle::ReadColor(face, section)
Which is: (0, 191, 127, 255)
face 4, section 2
../../src/tests/gl_tests/CubeMapTextureTest.cpp:224: Failure
Expected equality of these values:
sectionColor
Which is: (191, 0, 127, 255)
angle::ReadColor(face, section)
Which is: (255, 0, 63, 255)
face 5, section 1
../../src/tests/gl_tests/CubeMapTextureTest.cpp:224: Failure
Expected equality of these values:
sectionColor
Which is: (63, 0, 255, 255)
angle::ReadColor(face, section)
Which is: (127, 0, 191, 255)
face 5, section 3


EGLMultiContextTest.ReuseUnterminatedDisplay/ES3_1_OpenGL

X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 42
Current serial number in output stream: 42


GLSLTest.FragCoordConsistency/ES2_OpenGL
GLSLTest.FragCoordConsistency/ES3_OpenGL
GLSLTest.FragCoordConsistency/ES3_OpenGL_ScalarizeVecAndMatConstructorArgs

../../src/tests/gl_tests/GLSLTest.cpp:10246: Failure
Expected equality of these values:
userFBOViewportData
Which is: { (65, 65, 0, 255), (67, 65, 0, 255), (69, 65, 0, 255), (71, 65, 0, 255), (73, 65, 0, 255), (75, 65, 0, 255), (77, 65, 0, 255), (79, 65, 0, 255), (81, 65, 0, 255), (83, 65, 0, 255), (85, 65, 0, 255), (87, 65, 0, 255), (89, 65, 0, 255), (91, 65, 0, 255), (93, 65, 0, 255), (95, 65, 0, 255), (97, 65, 0, 255), (99, 65, 0, 255), (101, 65, 0, 255), (103, 65, 0, 255), (105, 65, 0, 255), (107, 65, 0, 255), (109, 65, 0, 255), (111, 65, 0, 255), (113, 65, 0, 255), (115, 65, 0, 255), (117, 65, 0, 255), (119, 65, 0, 255), (121, 65, 0, 255), (123, 65, 0, 255), (125, 65, 0, 255), (127, 65, 0, 255), ... }
defaultFBOViewportData
Which is: { (65, 190, 0, 255), (67, 190, 0, 255), (69, 190, 0, 255), (71, 190, 0, 255), (73, 190, 0, 255), (75, 190, 0, 255), (77, 190, 0, 255), (79, 190, 0, 255), (81, 190, 0, 255), (83, 190, 0, 255), (85, 190, 0, 255), (87, 190, 0, 255), (89, 190, 0, 255), (91, 190, 0, 255), (93, 190, 0, 255), (95, 190, 0, 255), (97, 190, 0, 255), (99, 190, 0, 255), (101, 190, 0, 255), (103, 190, 0, 255), (105, 190, 0, 255), (107, 190, 0, 255), (109, 190, 0, 255), (111, 190, 0, 255), (113, 190, 0, 255), (115, 190, 0, 255), (117, 190, 0, 255), (119, 190, 0, 255), (121, 190, 0, 255), (123, 190, 0, 255), (125, 190, 0, 255), (127, 190, 0, 255), ... }
FragCoord should be the same to default and user FBO even with a custom viewport
../../src/tests/gl_tests/GLSLTest.cpp:10253: Failure
Value of: SubrectEquals(backbufferData, defaultFBOViewportData, getWindowWidth(), kQuarterSize, kQuarterSize * 2)
Actual: false
Expected: true


GLSLTest_ES31.StructAndArrayEqualOperator/ES3_1_OpenGL

../../src/tests/gl_tests/GLSLTest.cpp:3437: Failure
Expected: (uloc) != (-1), actual: -1 vs -1


TransformFeedbackTest.BufferOutOfMemory/ES3_Vulkan
TransformFeedbackTest.BufferOutOfMemory/ES3_Vulkan_EnableParallelCompileAndLink
TransformFeedbackTest.BufferOutOfMemory/ES3_Vulkan_NoSupportsTransformFeedbackExtension

../../src/tests/test_utils/ANGLETest.cpp:65: Failure
vk_renderer.cpp:829 (DebugUtilsMessenger): [ ../src/intel/vulkan/anv_device.c:4447 ] VK_ERROR_OUT_OF_DEVICE_MEMORY
Object: 0x59b69c63aa60 (type = Device(3))

angle::PrintStackBacktrace() at crash_handler_posix.cpp:498
angle::(anonymous namespace)::TestPlatform_logError(angle::PlatformMethods*, char const*) at ANGLETest.cpp:?
angle::LoggingAnnotator::logMessage(gl::LogMessage const&) const at string:1793
gl::LogMessage::~LogMessage() at debug.cpp:?
rx::vk::(anonymous namespace)::DebugUtilsMessenger(VkDebugUtilsMessageSeverityFlagBitsEXT, unsigned int, VkDebugUtilsMessengerCallbackDataEXT const*, void*) at string:1793
vk_icdNegotiateLoaderICDInterfaceVersion at ??:?
vk_icdNegotiateLoaderICDInterfaceVersion at ??:?
vk_icdNegotiateLoaderICDInterfaceVersion at ??:?
vk_icdNegotiateLoaderICDInterfaceVersion at ??:?
DispatchCreateBuffer(VkDevice_T*, VkBufferCreateInfo const*, VkAllocationCallbacks const*, VkBuffer_T**) at layer_chassis_dispatch.cpp:940
vulkan_layer_chassis::CreateBuffer(VkDevice_T*, VkBufferCreateInfo const*, VkAllocationCallbacks const*, VkBuffer_T**) at chassis.cpp:1015
vmaFindMemoryTypeIndexForBufferInfo at vk_mem_alloc.h:16404
vma::FindMemoryTypeIndexForBufferInfo(VmaAllocator_T*, VkBufferCreateInfo const*, unsigned int, unsigned int, bool, unsigned int*) at vk_mem_alloc_wrapper.cpp:168
rx::BufferVk::setDataWithMemoryType(gl::Context const*, gl::BufferBinding, void const*, unsigned long, unsigned int, gl::BufferUsage) at BufferVk.cpp:229
gl::Buffer::bufferDataImpl(gl::Context*, gl::BufferBinding, void const*, long, gl::BufferUsage, unsigned int) at Buffer.cpp:159
gl::Buffer::bufferData(gl::Context*, gl::BufferBinding, void const*, long, gl::BufferUsage) at Buffer.cpp:123
gl::Context::bufferData(gl::BufferBinding, long, void const*, gl::BufferUsage) at Context.cpp:6092
GL_BufferData at ??:?
(anonymous namespace)::TransformFeedbackTest_BufferOutOfMemory_Test::TestBody() at TransformFeedbackTest.cpp:2470
testing::Test::Run() at gtest.cc:6213
testing::TestInfo::Run() at gtest.cc:2888
testing::TestSuite::Run() at gtest.cc:3040
testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5898
testing::UnitTest::Run() at gtest.cc:5464
angle::TestSuite::run() at gtest.h:2492
main at angle_end2end_tests_main.cpp:75
__libc_start_call_main at libc_start_call_main.h:58
call_init at libc-start.c:128
_start at ??:?
ERR: vk_renderer.cpp:829 (DebugUtilsMessenger): [ ../src/intel/vulkan/anv_device.c:4447 ] VK_ERROR_OUT_OF_DEVICE_MEMORY
Object: 0x59b69c63aa60 (type = Device(3))

WARN: MemoryTracking.cpp:50 (OutputMemoryLogStream): Currently allocated size for memory allocation type (OffscreenSurfaceAttachmentImage): 532520 | Count: 2
--> Heap index 0: 532520 | Count: 2

WARN: MemoryTracking.cpp:50 (OutputMemoryLogStream): Currently allocated size for memory allocation type (TextureImage): 16424 | Count: 2
--> Heap index 0: 16424 | Count: 2

WARN: MemoryTracking.cpp:50 (OutputMemoryLogStream): Currently allocated size for memory allocation type (Buffer): 29409344 | Count: 11
--> Heap index 0: 29409344 | Count: 11

WARN: MemoryTracking.cpp:50 (OutputMemoryLogStream): Memory heap info

* Available memory heaps:
0 | Heap size: 25009115136 | Flags: 0x1

* Available memory budget and usage per heap:
0 | Heap budget: 25008537600 | Heap usage: 31047680

* Available memory types:
0 | Heap index: 0 | Property flags: 0x1
1 | Heap index: 0 | Property flags: 0x7
2 | Heap index: 0 | Property flags: 0xf

WARN: Debug.cpp:186 (insertMessage): GL error: HIGH: Error: 0x00000505, in ../../src/libANGLE/renderer/vulkan/BufferVk.cpp, GetMemoryTypeIndex:231. Internal Vulkan error (-2): A device memory allocation has failed.


WEBGLVideoTextureTest.VerifySamplerVideoWEBGL/ES2_OpenGL
WEBGLVideoTextureTest.VerifySamplerVideoWEBGL/ES3_OpenGL
WEBGLVideoTextureTest.VerifySamplerVideoWEBGLAsParameter/ES2_OpenGL
WEBGLVideoTextureTest.VerifySamplerVideoWEBGLAsParameter/ES3_OpenGL
WEBGLVideoTextureTest.VerifyStateManagerKnowsBindingVideoImage/ES2_OpenGL
WEBGLVideoTextureTest.VerifyStateManagerKnowsBindingVideoImage/ES3_OpenGL

../../src/tests/test_utils/ANGLETest.cpp:65: Failure
RendererGL.cpp:114 (LogGLDebugMessage):
Source: Shader Compiler
Type: Error
ID: 0x00000001
Severity: High
Message: 0:6(9): error: no function with name 'texture2D'
angle::PrintStackBacktrace() at crash_handler_posix.cpp:498
angle::(anonymous namespace)::TestPlatform_logError(angle::PlatformMethods*, char const*) at ANGLETest.cpp:?
angle::LoggingAnnotator::logMessage(gl::LogMessage const&) const at string:1793
gl::LogMessage::~LogMessage() at debug.cpp:?
LogGLDebugMessage(unsigned int, unsigned int, unsigned int, unsigned int, int, char const*, void const*) at string:1793
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
__driDriverGetExtensions_d3d12 at ??:?
rx::(anonymous namespace)::ShaderTranslateTaskGL::postTranslate(void*, gl::CompiledShaderState const&) at ShaderGL.cpp:43
gl::(anonymous namespace)::CompileTask::operator()() at Shader.cpp:?
angle::SingleThreadedWorkerPool::postWorkerTask(std::__Cr::shared_ptr<angle::Closure> const&) at new:271
gl::Context::postCompileLinkTask(std::__Cr::shared_ptr<angle::Closure> const&, angle::JobThreadSafety, angle::JobResultExpectancy) const at Context.cpp:9308
gl::Shader::compile(gl::Context const*, angle::JobResultExpectancy) at Shader.cpp:?
GL_CompileShader at entry_points_gles_2_0_autogen.cpp:?
CompileShader(unsigned int, char const*) at shader_utils.cpp:160
(anonymous namespace)::CompileProgramInternal(char const*, char const*, char const*, char const*, char const*, std::__Cr::function<void (unsigned int)> const&) at shader_utils.cpp:29
CompileProgram(char const*, char const*) at shader_utils.cpp:285
(anonymous namespace)::WEBGLVideoTextureTest_VerifySamplerVideoWEBGLAsParameter_Test::TestBody() at WEBGLVideoTextureTest.cpp:119
testing::Test::Run() at gtest.cc:6213
testing::TestInfo::Run() at gtest.cc:2888
testing::TestSuite::Run() at gtest.cc:3040
testing::internal::UnitTestImpl::RunAllTests() at gtest.cc:5898
testing::UnitTest::Run() at gtest.cc:5464
angle::TestSuite::run() at gtest.h:2492
main at angle_end2end_tests_main.cpp:75
__libc_start_call_main at libc_start_call_main.h:58
call_init at libc-start.c:128
_start at ??:?

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

bshe… via monorail

unread,
May 1, 2024, 1:32:50 PM5/1/24
to angleproj...@googlegroups.com

Comment #1 on issue 8683 by bsh...@chromium.org: angle_end2end_tests failing on newer Linux/Intel config
https://bugs.chromium.org/p/angleproject/issues/detail?id=8683#c1

Also seeing ClearTest.ChangeFramebufferAttachmentFromRGBAtoRGB/ES3_OpenGL fail in https://chromium-swarm.appspot.com/task?id=694a55a6a22a9310:

[ RUN ] ClearTest.ChangeFramebufferAttachmentFromRGBAtoRGB/ES3_OpenGL
../../src/tests/gl_tests/ClearTest.cpp:534: Failure

Expected equality of these values:
expectedColors
Which is: { Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, ... }
actualColors
Which is: { White, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, White, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, White, Magenta, Magenta, Magenta, White, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, Magenta, ... }
[ FAILED ] ClearTest.ChangeFramebufferAttachmentFromRGBAtoRGB/ES3_OpenGL, where GetParam() = ES3_OpenGL (24 ms)

Git Watcher via monorail

unread,
May 2, 2024, 2:47:29 PM5/2/24
to angleproj...@googlegroups.com

Comment #2 on issue 8683 by Git Watcher: angle_end2end_tests failing on newer Linux/Intel config
https://bugs.chromium.org/p/angleproject/issues/detail?id=8683#c2

The following revision refers to this bug:
https://chromium.googlesource.com/angle/angle/+/e560647104bef1f2fe99e772b71bc36ac7f6efa0

commit e560647104bef1f2fe99e772b71bc36ac7f6efa0
Author: Brian Sheedy <bsh...@chromium.org>
Date: Thu Apr 25 21:48:53 2024

Start Linux/Intel experiment

Bug: chromium:41496254, angleproject:8680, angleproject:8682
Bug: angleproject:8683
Change-Id: I1956ac642969cae0c17fff87388e899237b9df2d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5491789
Auto-Submit: Brian Sheedy <bsh...@chromium.org>
Reviewed-by: Yuly Novikov <ynov...@chromium.org>
Commit-Queue: Brian Sheedy <bsh...@chromium.org>

[modify] https://crrev.com/e560647104bef1f2fe99e772b71bc36ac7f6efa0/infra/specs/angle.json
[modify] https://crrev.com/e560647104bef1f2fe99e772b71bc36ac7f6efa0/src/libANGLE/renderer/vulkan/vk_renderer.cpp
[modify] https://crrev.com/e560647104bef1f2fe99e772b71bc36ac7f6efa0/infra/config/generated/luci-milo.cfg
[modify] https://crrev.com/e560647104bef1f2fe99e772b71bc36ac7f6efa0/src/tests/perf_tests/TracePerfTest.cpp
[modify] https://crrev.com/e560647104bef1f2fe99e772b71bc36ac7f6efa0/src/tests/angle_end2end_tests_expectations.txt
[modify] https://crrev.com/e560647104bef1f2fe99e772b71bc36ac7f6efa0/infra/specs/waterfalls.pyl
[modify] https://crrev.com/e560647104bef1f2fe99e772b71bc36ac7f6efa0/infra/config/main.star
[modify] https://crrev.com/e560647104bef1f2fe99e772b71bc36ac7f6efa0/infra/specs/mixins.pyl

Git Watcher via monorail

unread,
May 7, 2024, 7:10:15 PM5/7/24
to angleproj...@googlegroups.com

Comment #3 on issue 8683 by Git Watcher: angle_end2end_tests failing on newer Linux/Intel config
https://bugs.chromium.org/p/angleproject/issues/detail?id=8683#c3


The following revision refers to this bug:
https://chromium.googlesource.com/angle/angle/+/1dc836141ff044e3ba851ede5c94c200a357350c

commit 1dc836141ff044e3ba851ede5c94c200a357350c
Author: Brian Sheedy <bsh...@chromium.org>
Date: Tue May 07 21:54:06 2024

Suppress experimental Linux/Intel failure

Adds a test skip for a flaky test that was accidentally omitted when
enabling the Linux/Intel experiment.

Bug: angleproject:8683
Change-Id: I28dea9cb9617f5b8e4cb26d4626a5472608ac398
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5523916
Commit-Queue: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
Auto-Submit: Brian Sheedy <bsh...@chromium.org>
Commit-Queue: Brian Sheedy <bsh...@chromium.org>

[modify] https://crrev.com/1dc836141ff044e3ba851ede5c94c200a357350c/src/tests/angle_end2end_tests_expectations.txt
Reply all
Reply to author
Forward
0 new messages