[Webkit-unassigned] [Bug 246471] New: [GTK] Accessibility API test fails with AT-SPI failing to read sockets not exposed to the SDK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 13 13:58:54 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=246471

            Bug ID: 246471
           Summary: [GTK] Accessibility API test fails with AT-SPI failing
                    to read sockets not exposed to the SDK
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Tests affected:

/WebKitGTK/TestWebKitAccessibility
    /webkit/WebKitAccessibility/accessible/basic-hierarchy
    /webkit/WebKitAccessibility/accessible/children-changed
    /webkit/WebKitAccessibility/accessible/attributes

Example log from EWS: https://ews-build.webkit.org/#/builders/34/builds/71271/steps/26/logs/stdio

Sample output:

TEST: /app/webkit/Tools/glib/../../WebKitBuild/Release/bin/TestWebKitAPI/WebKitGTK/TestWebKitAccessibility...
  /webkit/WebKitAccessibility/accessible/basic-hierarchy:             FAIL
GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
dbind-FATAL-WARNING: AT-SPI: Unable to open bus connection: Failed to connect to socket /run/user/104/at-spi2-LB05T1/socket: No such file or directory


When finding the `AtSpiAccessible` for the test application[1], fatal warnings are ignored[2] while getting the child count. This works mostly fine to avoid issues with AT-SPI sockets not exposed to the SDK. But in some cases, the socket check is delayed and a fatal warning is issued as described above. Sometimes, happening even well after returning from the function, inside the actual test code.

[1] https://github.com/WebKit/WebKit/blob/48f8da125ce496a5dbe81cf7b7e06476565b7128/Tools/TestWebKitAPI/Tests/WebKitGtk/TestWebKitAccessibility.cpp#L51
[2] https://github.com/WebKit/WebKit/blob/48f8da125ce496a5dbe81cf7b7e06476565b7128/Tools/TestWebKitAPI/Tests/WebKitGtk/TestWebKitAccessibility.cpp#L57

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221013/7db22c11/attachment.htm>


More information about the webkit-unassigned mailing list