Closed Bug 1514288 Opened 5 years ago Closed 5 years ago

Suppress non-fatal JavaScript error messages generated during build process, e.g. JavaScript error: chrome://extensions/content/parent/ext-webRequest.js, line 102: TypeError: context.xulBrowser is null

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mshal)

References

Details

(Keywords: in-triage, intermittent-failure)

Attachments

(1 file)

Filed by: rmaries [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=216999399&repo=try

https://queue.taskcluster.net/v1/task/GTKOFr04TnSKzUgOOHMEfw/runs/0/artifacts/public/logs/live_backing.log

13:22:07     INFO -  z:/build/build/src/obj-firefox/_virtualenvs/init/Scripts/python.exe -m mozbuild.action.jar_maker   -d ../../../../dist/xpi-stage/locale-en-US/browser -t z:/build/build/src -f flat  --relativesrcdir=browser/branding/official/locales -c z:/build/build/src/browser/branding/official/locales/en-US --root-manifest-entry-appid='{ec8030f7-c20a-464f-9b0e-13a3a9e97384}' -DNDEBUG=1 -DTRIMMED=1 -DACCESSIBILITY=1 -DBROWSER_CHROME_URL=chrome://browser/content/browser.xul -DBROWSER_CHROME_URL_QUOTED='"chrome://browser/content/browser.xul"' -DBUILD_CTYPES=1 -DCROSS_COMPILE='' -DEARLY_BETA_OR_EARLIER=1 -DENABLE_INTL_API=1 -DENABLE_SYSTEM_EXTENSION_DIRS=1 -DENABLE_TESTS=1 -DEXPOSE_INTL_API=1 -DFORCE_PR_LOG=1 -DGTEST_HAS_RTTI=0 -DHAVE_64BIT_BUILD=1 -DHAVE_CPUID_H=1 -DHAVE_FORCEINLINE=1 -DHAVE_INTTYPES_H=1 -DHAVE_IO_H=1 -DHAVE_ISATTY=1 -DHAVE_LOCALECONV=1 -DHAVE_MALLOC_H=1 -DHAVE_SEH_EXCEPTIONS=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UINT64_T=1 -DJS_64BIT=1 -DJS_CODEGEN_X64=1 -DJS_DEFAULT_JITREPORT_GRANULARITY=3 -DJS_PUNBOX64=1 -DMALLOC_H='<malloc.h>' -DMALLOC_USABLE_SIZE_CONST_PTR=const -DMOZILLA_OFFICIAL=1 -DMOZILLA_UAVERSION='"66.0"' -DMOZILLA_VERSION='"66.0"' -DMOZILLA_VERSION_U=66.0 -DMOZ_APP_UA_NAME='""' -DMOZ_APP_UA_VERSION='"66.0"' -DMOZ_AV1=1 -DMOZ_BLOCK_PROFILE_DOWNGRADE=1 -DMOZ_BUILD_APP=browser -DMOZ_BUILD_WEBRENDER=1 -DMOZ_BUNDLED_FONTS=1 -DMOZ_CLANG_PLUGIN=1 -DMOZ_CONTENT_SANDBOX=1 -DMOZ_CRASHREPORTER=1 -DMOZ_DATA_REPORTING=1 -DMOZ_DEDICATED_PROFILES=1 -DMOZ_DISTRIBUTION_ID='"org.mozilla"' -DMOZ_DLL_PREFIX='""' -DMOZ_DLL_SUFFIX='".dll"' -DMOZ_ENABLE_SIGNMAR=1 -DMOZ_ENABLE_SKIA=1 -DMOZ_FEEDS=1 -DMOZ_FFVPX=1 -DMOZ_FMP4=1 -DMOZ_GECKO_PROFILER=1 -DMOZ_GMP_SANDBOX=1 -DMOZ_INSTRUMENT_EVENT_LOOP=1 -DMOZ_LIBAV_FFT=1 -DMOZ_LOGGING=1 -DMOZ_LTO=1 -DMOZ_MACBUNDLE_ID=org.mozilla.firefox -DMOZ_MAINTENANCE_SERVICE=1 -DMOZ_MEMORY=1 -DMOZ_OFFICIAL_BRANDING=1 -DMOZ_PEERCONNECTION=1 -DMOZ_PHOENIX=1 -DMOZ_PLACES=1 -DMOZ_PROFILER_MEMORY=1 -DMOZ_RAW=1 -DMOZ_REQUIRE_SIGNING=1 -DMOZ_RUST_SIMD=1 -DMOZ_SAMPLE_TYPE_FLOAT32=1 -DMOZ_SANDBOX=1 -DMOZ_SCTP=1 -DMOZ_SERVICES_HEALTHREPORT=1 -DMOZ_SRTP=1 -DMOZ_STATIC_JS=1 -DMOZ_TELEMETRY_REPORTING=1 -DMOZ_TREE_CAIRO=1 -DMOZ_TREE_PIXMAN=1 -DMOZ_UPDATER=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_USER_DIR='"Mozilla"' -DMOZ_VERIFY_MAR_SIGNATURE=1 -DMOZ_VORBIS=1 -DMOZ_VPX_NO_MEM_REPORTING=1 -DMOZ_WEBM_ENCODER=1 -DMOZ_WEBRTC=1 -DMOZ_WEBRTC_ASSERT_ALWAYS=1 -DMOZ_WEBRTC_SIGNALING=1 -DMOZ_WEBSPEECH=1 -DMOZ_WEBSPEECH_TEST_BACKEND=1 -DMOZ_WMF=1 -DMOZ_XUL=1 -DMSVC_HAS_DIA_SDK=1 -DNOMINMAX=1 -DNO_NSPR_10_SUPPORT=1 -DNS_ENABLE_TSF=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DRELEASE_OR_BETA=1 -DSTATIC_JS_API=1 -DSTDC_HEADERS=1 -DTARGET_XPCOM_ABI='"x86_64-msvc"' -DUSE_SKIA=1 -DUSE_SKIA_GPU=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DVPX_X86_ASM=1 -DWIN32=1 -DWIN32_LEAN_AND_MEAN=1 -DWINVER=0x601 -DXP_WIN=1 -DXP_WIN32=1 -DX_DISPLAY_MISSING=1 -D_AMD64_=1 -D_CRT_NONSTDC_NO_WARNINGS=1 -D_CRT_SECURE_NO_WARNINGS=1 -D_USE_MATH_DEFINES=1 -D_WIN32_IE=0x0800 -D_WIN32_WINNT=0x601 -D_WINDOWS=1 -DXPI_NAME=locale-en-US -DAB_CD=en-US z:/build/build/src/browser/branding/official/locales/jar.mn
13:22:07     INFO -  processing z:/build/build/src/browser/branding/official/locales/jar.mn
13:22:07     INFO -  adding 'browser' entry to root chrome manifest appid={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
13:22:07     INFO -  mozmake.EXE[8]: Leaving directory 'z:/build/build/src/obj-firefox/browser/branding/official/locales'
13:22:07     INFO -  mozmake.EXE[8]: Nothing to be done for 'tools'.
13:22:07     INFO -  mozmake.EXE[6]: Entering directory 'z:/build/build/src/obj-firefox/browser/locales'
13:22:07     INFO -  z:/build/build/src/obj-firefox/_virtualenvs/init/Scripts/python.exe z:/build/build/src/config/nsinstall.py -D ../../dist/
13:22:07     INFO -  mozmake.EXE[6]: Leaving directory 'z:/build/build/src/obj-firefox/browser/locales'
13:22:07     INFO -  mozmake.EXE[6]: Entering directory 'z:/build/build/src/obj-firefox/browser/locales'
13:22:07     INFO -  z:/build/build/src/obj-firefox/_virtualenvs/init/Scripts/python.exe -m mozbuild.action.langpack_manifest --locales en-US --min-app-ver 66.0 --max-app-ver 66.* --app-name "Firefox" --l10n-basedir "z:/build/.mozbuild/l10n-central" --defines z:/build/build/src/toolkit/locales/en-US/defines.inc z:/build/build/src/browser/locales/en-US/defines.inc  --langpack-eid "langpack-en-US@firefox.mozilla.org" --input ../../dist/xpi-stage/locale-en-US
13:22:07     INFO -  mozmake.EXE[6]: Leaving directory 'z:/build/build/src/obj-firefox/browser/locales'
13:22:08     INFO -  mozmake.EXE[6]: Entering directory 'z:/build/build/src/obj-firefox/browser/locales'
13:22:08     INFO -  z:/build/build/src/obj-firefox/_virtualenvs/init/Scripts/python.exe -m mozbuild.action.zip -C ../../dist/xpi-stage/locale-en-US -x **/*.manifest -x **/*.js -x **/*.ini z:/build/build/src/obj-firefox/dist/target.langpack.xpi chrome localization browser manifest.json
13:22:08     INFO -  mozmake.EXE[6]: Leaving directory 'z:/build/build/src/obj-firefox/browser/locales'
13:22:08     INFO -  mozmake.EXE[4]: Nothing to be done for 'tools'.
13:22:08     INFO -  mozmake.EXE[1]: Entering directory 'z:/build/build/src/obj-firefox'
13:22:08     INFO -  rm -f jarlog/en-US.log
13:22:08     INFO -  mozmake.EXE[1]: Leaving directory 'z:/build/build/src/obj-firefox'
13:22:08     INFO -  mozmake.EXE[1]: Entering directory 'z:/build/build/src/obj-firefox'
13:22:08     INFO -  mozmake.EXE[1]: Leaving directory 'z:/build/build/src/obj-firefox'
13:22:08     INFO -  mozmake.EXE[1]: Entering directory 'z:/build/build/src/obj-firefox'
13:22:08     INFO -  mozmake.EXE[1]: Leaving directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  mozmake.EXE[1]: Entering directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  JARLOG_FILE=jarlog/en-US.log z:/build/build/src/obj-firefox/_virtualenvs/init/Scripts/python.exe z:/build/build/src/build/pgo/profileserver.py 10
13:24:59     INFO -  1544793730325	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid host permission: resource://pdf.js/
13:24:59     INFO -  1544793730325	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid host permission: about:reader*
13:24:59    ERROR -  JavaScript error: chrome://extensions/content/parent/ext-webRequest.js, line 102: TypeError: context.xulBrowser is null
13:24:59    ERROR -  JavaScript error: chrome://extensions/content/parent/ext-webRequest.js, line 102: TypeError: context.xulBrowser is null
13:24:59     INFO -  jarlog: z:\build\build\src\obj-firefox\jarlog\en-US.log
13:24:59     INFO -  *** WIFI GEO: shutdown called
13:24:59     INFO -  mozmake.EXE[1]: Leaving directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  mozmake.EXE[1]: Entering directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  mozmake.EXE[1]: Leaving directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  mozmake.EXE[1]: Entering directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  mozmake.EXE[1]: Leaving directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  z:/build/build/src/mozmake.EXE maybe_clobber_profiledbuild
13:24:59     INFO -  mozmake.EXE[3]: Entering directory 'z:/build/build/src/obj-firefox/browser/installer'
13:24:59     INFO -  rm -f .md core     Templates.DB ./module.res ./module.rc ../../dist/target.zip target.zip make-package           LOGS TAGS a.out        so_locations _gen _stubs
13:24:59     INFO -  mozmake.EXE[3]: Leaving directory 'z:/build/build/src/obj-firefox/browser/installer'
13:24:59     INFO -  mozmake.EXE[3]: Entering directory 'z:/build/build/src/obj-firefox/browser/installer'
13:24:59     INFO -  rm -f -r z:/build/build/src/obj-firefox/browser/installer/.deps /no-such-file
13:24:59     INFO -  mozmake.EXE[3]: Leaving directory 'z:/build/build/src/obj-firefox/browser/installer'
13:24:59     INFO -  mozmake.EXE[2]: Entering directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  rm -f mozilla-config.h .deps/mozilla-config.h.stub buildid.h .deps/buildid.h.stub source-repo.h .deps/source-repo.h.stub .md core     Templates.DB dist/target.zip target.zip reftest.log crashtest.log jstestbrowser.log ./module.res ./module.rc           LOGS TAGS a.out        so_locations _gen _stubs
13:24:59     INFO -  mozmake.EXE[2]: Leaving directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  mozmake.EXE[2]: Entering directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  rm -f -r _javagen _profile staticlib z:/build/build/src/obj-firefox/.deps /no-such-file
13:24:59     INFO -  mozmake.EXE[2]: Leaving directory 'z:/build/build/src/obj-firefox'
13:24:59     INFO -  mozmake.EXE[3]: Entering directory 'z:/build/build/src/obj-firefox/build/clang-plugin'
13:24:59     INFO -  rm -f ThirdPartyPaths.cpp .deps/ThirdPartyPaths.cpp.stub .md core     Templates.DB ./module.res ./module.rc        clang-plugin.dll   LOGS TAGS a.out     host_ArithmeticArgChecker.obj host_AssertAssignmentChecker.obj host_CanRunScriptChecker.obj host_CustomAttributes.obj host_CustomTypeAnnotation.obj host_DanglingOnTemporaryChecker.obj host_DiagnosticsMatcher.obj host_ExplicitImplicitChecker.obj host_ExplicitOperatorBoolChecker.obj host_KungFuDeathGripChecker.obj host_LoadLibraryUsageChecker.obj host_MozCheckAction.obj host_MustOverrideChecker.obj host_MustReturnFromCallerChecker.obj host_MustUseChecker.obj host_NaNExprChecker.obj host_NeedsNoVTableTypeChecker.obj host_NoAddRefReleaseOnReturnChecker.obj host_NoAutoTypeChecker.obj host_NoDuplicateRefCntMemberChecker.obj host_NoExplicitMoveConstructorChecker.obj host_NonMemMovableMemberChecker.obj host_NonMemMovableTemplateArgChecker.obj host_NonParamInsideFunctionDeclChecker.obj host_OverrideBaseCallChecker.obj host_OverrideBaseCallUsageChecker.obj host_ParamTraitsEnumChecker.obj host_RefCountedCopyConstructorChecker.obj host_RefCountedInsideLambdaChecker.obj host_ScopeChecker.obj host_SprintfLiteralChecker.obj host_TrivialCtorDtorChecker.obj host_VariableUsageHelpers.obj host_ThirdPartyPaths.obj host_ArithmeticArgChecker.obj host_AssertAssignmentChecker.obj host_CanRunScriptChecker.obj host_CustomAttributes.obj host_CustomTypeAnnotation.obj host_DanglingOnTemporaryChecker.obj host_DiagnosticsMatcher.obj host_ExplicitImplicitChecker.obj host_ExplicitOperatorBoolChecker.obj host_KungFuDeathGripChecker.obj host_LoadLibraryUsageChecker.obj host_MozCheckAction.obj host_MustOverrideChecker.obj host_MustReturnFromCallerChecker.obj host_MustUseChecker.obj host_NaNExprChecker.obj host_NeedsNoVTableTypeChecker.obj host_NoAddRefReleaseOnReturnChecker.obj host_NoAutoTypeChecker.obj host_NoDuplicateRefCntMemberChecker.obj host_NoExplicitMoveConstructorChecker.obj host_NonMemMovableMemberChecker.obj host_NonMemMovableTemplateArgChecker.obj host_NonParamInsideFunctionDeclChecker.obj host_OverrideBaseCallChecker.obj host_OverrideBaseCallUsageChecker.obj host_ParamTraitsEnumChecker.obj host_RefCountedCopyConstructorChecker.obj host_RefCountedInsideLambdaChecker.obj host_ScopeChecker.obj host_SprintfLiteralChecker.obj host_TrivialCtorDtorChecker.obj host_VariableUsageHelpers.obj host_ThirdPartyPaths.obj  so_locations _gen _stubs
Those failure messages are not fatal but irritate sheriffs when they have to identify why a build job failed.
Summary: Intermittent JavaScript error: chrome://extensions/content/parent/ext-webRequest.js, line 102: TypeError: context.xulBrowser is null → Suppress non-fatal JavaScript error messages generated during build process, e.g. JavaScript error: chrome://extensions/content/parent/ext-webRequest.js, line 102: TypeError: context.xulBrowser is null
Keywords: in-triage
I'll take this since I'm already doing related PGO work.
Assignee: nobody → mshal
The output from running the browser during PGO builds can have innocuous
error messages in them, but show up in treeherder as potential messages
to include when filing bugs. We can just save the output from these runs
as files and upload them as artifacts instead, so they don't show up in
the build log but are available for inspection if necessary.

MozReview-Commit-ID: 3VdVCKVkZNI
Pushed by mshal@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/db9b64fdb7d1
save profile run output to log files rather than stdout; r=chmanchester
https://hg.mozilla.org/mozilla-central/rev/db9b64fdb7d1
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Depends on: 1518170
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: