https://bugs.winehq.org/show_bug.cgi?id=54106
Bug ID: 54106 Summary: taskschd:scheduler - test_GetTask() fails on Windows 7 when it has insufficient privileges Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: taskschd Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
test_GetTask() fails on Windows 7 when it has insufficient privileges:
scheduler.c:802: Test failed: DeleteTask error 0x80070005 scheduler.c:798: Test failed: 1: expected 0, got 0x800700b7 scheduler.c:798: Test failed: 2: expected 0x80070002, got 0 scheduler.c:802: Test failed: DeleteTask error 0x80070005 scheduler.c:802: Test failed: DeleteTask error 0x80070005 scheduler.c:814: Test failed: RegisterTask error 0x800700b7 scheduler.c:960: Test failed: DeleteTask error 0x80070005 scheduler.c:962: Test failed: DeleteTask error 0x80070005 scheduler.c:965: Test failed: expected ERROR_FILE_NOT_FOUND, got 0x80070005 scheduler.c:993: Test failed: DeleteFolder error 0x80070091
This can be seen on the w7u_adm VM.
When run as part of the full WineTest run this test crashes in test_FolderCollection() which prevents seeing this failure in the nightly WineTest runs.
See https://test.winehq.org/data/patterns.html#taskschd:scheduler
But this set of failures is impacting merge requests such as MR!1732 and MR!1736.
https://bugs.winehq.org/show_bug.cgi?id=54106
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=54106
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Notes: 0x80070002 == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) 0x80070005 == HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED) 0x80070091 == HRESULT_FROM_WIN32(ERROR_DIR_NOT_EMPTY) 0x800700b7 == HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS)
https://bugs.winehq.org/show_bug.cgi?id=54106
--- Comment #2 from François Gouget fgouget@codeweavers.com --- This happens on Windows 8 too (see w8adm), but not on Windows 10 (see w1064-adm).
https://bugs.winehq.org/show_bug.cgi?id=54106
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |490e36c807f0bfbdcb80387bd23 | |cf0164372781e Resolution|--- |FIXED
--- Comment #3 from François Gouget fgouget@codeweavers.com --- This is fixed:
commit 490e36c807f0bfbdcb80387bd23cf0164372781e Author: François Gouget fgouget@codeweavers.com Date: Fri Mar 24 20:16:33 2023 +0100
taskschd/tests: Deleting tasks & folders requires elevated privileges on Windows 7.
This means skipping any test that requires creating a folder as the test would be unable to clean up after itself. Add a test to show that there is the same issue with tasks by creating one in the root folder.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54106
https://bugs.winehq.org/show_bug.cgi?id=54106
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.6.