Closed
Bug 2035778
Opened 6 months ago
Closed 6 months ago
Perma mingw [tier 2] /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:X:14: error: no member named 'GetCurrentProcessId' in the global namespace | single tracking bug
Categories
(Core :: XPCOM, defect, P5)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
152 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox150 | --- | unaffected |
| firefox151 | --- | unaffected |
| firefox152 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: nika)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 external file)
Filed by: amarc [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=563253689&repo=mozilla-central&task=M9-2MSmWScWBXyRoMxLE1Q.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M9-2MSmWScWBXyRoMxLE1Q/runs/0/artifacts/public/logs/live_backing.log
[task 2026-04-29T09:50:53.350+00:00] 09:50:53 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/xpcom/tests/gtest'
[task 2026-04-29T09:50:53.356+00:00] 09:50:53 INFO - /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/x86_64-w64-mingw32-clang++ -std=gnu++20 -o TestAsyncPlatformPipes.o -c -I/builds/worker/workspace/obj-build/dist/stl_wrappers -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstrict-flex-arrays=1 -DNDEBUG=1 -DTRIMMED=1 -DUNICODE -D_UNICODE -D_CRT_RAND_S -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -D_SECURE_ATL -DCHROMIUM_BUILD -DU_STATIC_IMPLEMENTATION -DWIN32 -D_WIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_SUPPORT_LEAKCHECKING -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/xpcom/tests/gtest -I/builds/worker/workspace/obj-build/xpcom/tests/gtest -I/builds/worker/checkouts/gecko/xpcom/base -I/builds/worker/checkouts/gecko/toolkit/components/telemetry/tests/gtest -I/builds/worker/checkouts/gecko/xpcom/components -I/builds/worker/workspace/obj-build/ipc/ipdl/_ipdlheaders -I/builds/worker/checkouts/gecko/ipc/chromium/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -Wno-incompatible-ms-struct -fno-rtti -fno-sized-deallocation -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-extensions -fcrash-diagnostics-dir=/builds/worker/artifacts -include _mingw.h -g -gcodeview -O2 -fno-omit-frame-pointer -funwind-tables -Wall -Wbitfield-enum-conversion -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtautological-constant-in-range-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wdeprecated-literal-operator -Winvalid-utf8 -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wno-unknown-pragmas -Wno-unused-function -Wno-conversion-null -Wno-switch -Wno-enum-compare -Wno-psabi -Wthread-safety -Wno-error=builtin-macro-redefined -Wno-vla-cxx-extension -Wno-unknown-warning-option -fno-strict-aliasing -ffp-contract=off -MD -MP -MF .deps/TestAsyncPlatformPipes.o.pp /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp
[task 2026-04-29T09:50:53.360+00:00] 09:50:53 INFO - gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/xpcom/tests/gtest'
[task 2026-04-29T09:50:53.360+00:00] 09:50:53 INFO - In file included from /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:12:
[task 2026-04-29T09:50:53.361+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:38:14: error: no member named 'GetCurrentProcessId' in the global namespace
[task 2026-04-29T09:50:53.361+00:00] 09:50:53 INFO - 38 | ::GetCurrentProcessId(), mozilla::RandomUint64OrDie());
[task 2026-04-29T09:50:53.361+00:00] 09:50:53 INFO - | ~~^
[task 2026-04-29T09:50:53.362+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:42:24: error: use of undeclared identifier 'PIPE_ACCESS_INBOUND'
[task 2026-04-29T09:50:53.362+00:00] 09:50:53 INFO - 42 | PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED |
[task 2026-04-29T09:50:53.362+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.362+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:42:46: error: use of undeclared identifier 'FILE_FLAG_OVERLAPPED'
[task 2026-04-29T09:50:53.364+00:00] 09:50:53 INFO - 42 | PIPE_ACCESS_INBOUND | FILE_FLAG_OVERLAPPED |
[task 2026-04-29T09:50:53.364+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.364+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:43:28: error: use of undeclared identifier 'FILE_FLAG_FIRST_PIPE_INSTANCE'
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 INFO - 43 | FILE_FLAG_FIRST_PIPE_INSTANCE,
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:44:24: error: use of undeclared identifier 'PIPE_TYPE_BYTE'
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 INFO - 44 | PIPE_TYPE_BYTE | PIPE_WAIT, 1, 4096, 4096, 0, nullptr));
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:44:41: error: use of undeclared identifier 'PIPE_WAIT'
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 INFO - 44 | PIPE_TYPE_BYTE | PIPE_WAIT, 1, 4096, 4096, 0, nullptr));
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.365+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:48:25: error: use of undeclared identifier 'GENERIC_WRITE'
[task 2026-04-29T09:50:53.366+00:00] 09:50:53 INFO - 48 | CreateFileW(name, GENERIC_WRITE, 0, nullptr, OPEN_EXISTING,
[task 2026-04-29T09:50:53.366+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.366+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:48:52: error: use of undeclared identifier 'OPEN_EXISTING'
[task 2026-04-29T09:50:53.367+00:00] 09:50:53 INFO - 48 | CreateFileW(name, GENERIC_WRITE, 0, nullptr, OPEN_EXISTING,
[task 2026-04-29T09:50:53.367+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.368+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:49:19: error: use of undeclared identifier 'SECURITY_SQOS_PRESENT'
[task 2026-04-29T09:50:53.368+00:00] 09:50:53 INFO - 49 | SECURITY_SQOS_PRESENT | SECURITY_ANONYMOUS, nullptr));
[task 2026-04-29T09:50:53.368+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.369+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:49:43: error: use of undeclared identifier 'SECURITY_ANONYMOUS'
[task 2026-04-29T09:50:53.369+00:00] 09:50:53 INFO - 49 | SECURITY_SQOS_PRESENT | SECURITY_ANONYMOUS, nullptr));
[task 2026-04-29T09:50:53.370+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.370+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:52:23: error: use of undeclared identifier 'ConnectNamedPipe'
[task 2026-04-29T09:50:53.370+00:00] 09:50:53 INFO - 52 | MOZ_RELEASE_ASSERT(!ConnectNamedPipe(readHandle.get(), nullptr) &&
[task 2026-04-29T09:50:53.371+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.371+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:53:22: error: use of undeclared identifier 'GetLastError'
[task 2026-04-29T09:50:53.371+00:00] 09:50:53 INFO - 53 | GetLastError() == ERROR_PIPE_CONNECTED);
[task 2026-04-29T09:50:53.371+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.371+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:53:40: error: use of undeclared identifier 'ERROR_PIPE_CONNECTED'
[task 2026-04-29T09:50:53.371+00:00] 09:50:53 INFO - 53 | GetLastError() == ERROR_PIPE_CONNECTED);
[task 2026-04-29T09:50:53.371+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.372+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:52:23: error: use of undeclared identifier 'ConnectNamedPipe'
[task 2026-04-29T09:50:53.372+00:00] 09:50:53 INFO - 52 | MOZ_RELEASE_ASSERT(!ConnectNamedPipe(readHandle.get(), nullptr) &&
[task 2026-04-29T09:50:53.372+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.372+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:53:22: error: use of undeclared identifier 'GetLastError'
[task 2026-04-29T09:50:53.373+00:00] 09:50:53 INFO - 53 | GetLastError() == ERROR_PIPE_CONNECTED);
[task 2026-04-29T09:50:53.373+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.373+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:53:40: error: use of undeclared identifier 'ERROR_PIPE_CONNECTED'
[task 2026-04-29T09:50:53.374+00:00] 09:50:53 INFO - 53 | GetLastError() == ERROR_PIPE_CONNECTED);
[task 2026-04-29T09:50:53.374+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:70:3: error: unknown type name 'DWORD'
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 INFO - 70 | DWORD written = 0;
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 ERROR - /builds/worker/checkouts/gecko/xpcom/tests/gtest/TestAsyncPlatformPipes.cpp:71:3: error: unknown type name 'BOOL'
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 INFO - 71 | BOOL ok = WriteFile(aHandle.get(), aData, aCount, &written, nullptr);
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 INFO - | ^
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 INFO - 1 warning and 18 errors generated.
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 ERROR - gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:666: TestAsyncPlatformPipes.o] Error 1
[task 2026-04-29T09:50:53.376+00:00] 09:50:53 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/toolkit/xre/dllservices/tests/gtest/TestDllBlocklist_MatchByVersion'
[task 2026-04-29T09:50:53.377+00:00] 09:50:53 INFO - toolkit/xre/dllservices/tests/gtest/TestDllBlocklist_MatchByVersion/TestDllBlocklist_MatchByVersion.dll.res
[task 2026-04-29T09:50:53.377+00:00] 09:50:53 INFO - gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/xre/dllservices/tests/gtest/TestDllBlocklist_MatchByVersion'
[task 2026-04-29T09:50:53.420+00:00] 09:50:53 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/xpcom/tests/gtest'
[task 2026-04-29T09:50:53.422+00:00] 09:50:53 INFO - /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/x86_64-w64-mingw32-clang++ -std=gnu++20 -o Unified_cpp_xpcom_tests_gtest4.o -c -I/builds/worker/workspace/obj-build/dist/stl_wrappers -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstrict-flex-arrays=1 -DNDEBUG=1 -DTRIMMED=1 -DUNICODE -D_UNICODE -D_CRT_RAND_S -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -D_SECURE_ATL -DCHROMIUM_BUILD -DU_STATIC_IMPLEMENTATION -DWIN32 -D_WIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_SUPPORT_LEAKCHECKING -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/xpcom/tests/gtest -I/builds/worker/workspace/obj-build/xpcom/tests/gtest -I/builds/worker/checkouts/gecko/xpcom/base -I/builds/worker/checkouts/gecko/toolkit/components/telemetry/tests/gtest -I/builds/worker/checkouts/gecko/xpcom/components -I/builds/worker/workspace/obj-build/ipc/ipdl/_ipdlheaders -I/builds/worker/checkouts/gecko/ipc/chromium/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -Wno-incompatible-ms-struct -fno-rtti -fno-sized-deallocation -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno -fno-exceptions -D_HAS_EXCEPTIONS=0 -fms-extensions -fcrash-diagnostics-dir=/builds/worker/artifacts -include _mingw.h -g -gcodeview -O2 -fno-omit-frame-pointer -funwind-tables -Wall -Wbitfield-enum-conversion -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtautological-constant-in-range-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wdeprecated-literal-operator -Winvalid-utf8 -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wno-unknown-pragmas -Wno-unused-function -Wno-conversion-null -Wno-switch -Wno-enum-compare -Wno-psabi -Wthread-safety -Wno-error=builtin-macro-redefined -Wno-vla-cxx-extension -Wno-unknown-warning-option -fno-strict-aliasing -ffp-contract=off -MD -MP -MF .deps/Unified_cpp_xpcom_tests_gtest4.o.pp Unified_cpp_xpcom_tests_gtest4.cpp
[task 2026-04-29T09:50:53.423+00:00] 09:50:53 INFO - 1 warning generated.
[task 2026-04-29T09:50:53.423+00:00] 09:50:53 INFO - gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/xpcom/tests/gtest'
[task 2026-04-29T09:50:53.423+00:00] 09:50:53 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/xpcom/tests/gtest'
[task 2026-04-29T09:50:53.424+00:00] 09:50:53 INFO - gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/xpcom/tests/gtest'
[task 2026-04-29T09:50:53.425+00:00] 09:50:53 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/toolkit/xre/dllservices/tests/gtest/TestDllBlocklist_MultipleEntries_DifferentProcesses'
[task 2026-04-29T09:50:53.425+00:00] 09:50:53 INFO - toolkit/xre/dllservices/tests/gtest/TestDllBlocklist_MultipleEntries_DifferentProcesses/TestDllBlocklist_MultipleEntries_DifferentProcesses.dll.res
Keywords: regression
Regressed by: 2031881
Comment 1•6 months ago
|
||
Set release status flags based on info from the regressing bug 2031881
:nika, since you are the author of the regressor, bug 2031881, could you take a look?
For more information, please visit BugBot documentation.
status-firefox150:
--- → unaffected
status-firefox151:
--- → unaffected
status-firefox152:
--- → affected
status-firefox-esr140:
--- → unaffected
Flags: needinfo?(nika)
Comment 2•6 months ago
|
||
Including windows.h in TestAsyncPlatformPipes.cpp should fix the issue.
| Assignee | ||
Comment 3•6 months ago
|
||
Updated•6 months ago
|
Assignee: nobody → nika
Status: NEW → ASSIGNED
| Assignee | ||
Updated•6 months ago
|
Flags: needinfo?(nika)
Pushed by nlayzell@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/dbd3c25df17b
https://hg.mozilla.org/integration/autoland/rev/934e3bf254fc
Add missing windows.h include, r=xpcom-reviewers,mccr8
Comment 5•6 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
| Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•