Closed Bug 1710972 Opened 4 years ago Closed 2 years ago

Frequent Linux64 asan fuzzing noopt gmake[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:404: force-cargo-library-build] Error 101 | error: could not compile `gkrust`

Categories

(Firefox :: Sync, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- wontfix
firefox90 --- unaffected
firefox91 --- wontfix
firefox92 --- wontfix
firefox93 --- wontfix
firefox94 --- wontfix
firefox95 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered])

Filed by: apavel [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=339482215&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MH6l9RlUSe-YBoqTh7LUgQ/runs/0/artifacts/public/logs/live_backing.log


[task 2021-05-12T10:29:31.076Z]   running: "/builds/worker/fetches/clang/bin/llvm-ar" "crs" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out/libmesa.a" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out/glsl-optimizer/src/mesa/program/dummy_errors.o" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out/glsl-optimizer/src/mesa/program/symbol_table.o" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out/glsl-optimizer/src/mesa/main/extensions_table.o" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out/glsl-optimizer/src/compiler/shader_enums.o"
[task 2021-05-12T10:29:31.076Z]   exit code: 0
[task 2021-05-12T10:29:31.076Z]   cargo:rustc-link-lib=static=mesa
[task 2021-05-12T10:29:31.076Z]   cargo:rustc-link-search=native=/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out
[task 2021-05-12T10:29:31.076Z]   TARGET = Some("x86_64-unknown-linux-gnu")
[task 2021-05-12T10:29:31.076Z]   OPT_LEVEL = Some("1")
[task 2021-05-12T10:29:31.076Z]   HOST = Some("x86_64-unknown-linux-gnu")
[task 2021-05-12T10:29:31.077Z]   CXX_x86_64-unknown-linux-gnu = None
[task 2021-05-12T10:29:31.077Z]   CXX_x86_64_unknown_linux_gnu = Some("/builds/worker/fetches/clang/bin/clang++")
[task 2021-05-12T10:29:31.077Z]   CXXFLAGS_x86_64-unknown-linux-gnu = None
[task 2021-05-12T10:29:31.077Z]   CXXFLAGS_x86_64_unknown_linux_gnu = Some("--sysroot /builds/worker/fetches/sysroot -std=gnu++17 -I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /builds/worker/checkouts/gecko/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -ftrivial-auto-var-init=pattern -DDEBUG=1 -I/builds/worker/checkouts/gecko/toolkit/library/rust -I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/toolkit/library/rust -I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include -I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nspr -I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -Os -fno-omit-frame-pointer -funwind-tables -fexperimental-new-pass-manager -DMOZILLA_CONFIG_H")
[task 2021-05-12T10:29:31.077Z]   CRATE_CC_NO_DEFAULTS = None
[task 2021-05-12T10:29:31.077Z]   DEBUG = Some("true")
[task 2021-05-12T10:29:31.077Z]   running: "/builds/worker/fetches/clang/bin/clang++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "--sysroot" "/builds/worker/fetches/sysroot" "-std=gnu++17" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/stl_wrappers" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/system_wrappers" "-include" "/builds/worker/checkouts/gecko/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-ftrivial-auto-var-init=pattern" "-DDEBUG=1" "-I/builds/worker/checkouts/gecko/toolkit/library/rust" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/toolkit/library/rust" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nspr" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nss" "-DMOZILLA_CLIENT" "-include" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/mozilla-config.h" "-Qunused-arguments" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wunreachable-code-return" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wno-range-loop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wstring-conversion" "-Wtautological-overlap-compare" "-Wtautological-unsigned-enum-zero-compare" "-Wtautological-unsigned-zero-compare" "-Wno-error=tautological-type-limit-compare" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=backend-plugin" "-Wno-error=return-std-move" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments" "-Wno-unknown-warning-option" "-fno-sized-deallocation" "-fno-aligned-new" "-fno-exceptions" "-fno-strict-aliasing" "-fPIC" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-g" "-Os" "-fno-omit-frame-pointer" "-funwind-tables" "-fexperimental-new-pass-manager" "-DMOZILLA_CONFIG_H" "-I" "glsl-optimizer/include" "-I" "glsl-optimizer/src/mesa" "-I" "glsl-optimizer/src/mapi" "-I" "glsl-optimizer/src/compiler" "-I" "glsl-optimizer/src/compiler/glsl" "-I" "glsl-optimizer/src/gallium/auxiliary" "-I" "glsl-optimizer/src/gallium/include" "-I" "glsl-optimizer/src" "-I" "glsl-optimizer/src/util" "-D__STDC_FORMAT_MACROS" "-D_GNU_SOURCE" "-DHAVE_ENDIAN_H" "-DHAVE_PTHREAD" "-DHAVE_TIMESPEC_GET" "-DMOZ_INCLUDE_MOZALLOC_H" "-Dmozilla_throw_gcc_h" "-o" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out/glsl-optimizer/src/compiler/glsl/ast_type.o" "-c" "glsl-optimizer/src/compiler/glsl/ast_type.cpp"
[task 2021-05-12T10:29:31.077Z]   running: "/builds/worker/fetches/clang/bin/clang++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "--sysroot" "/builds/worker/fetches/sysroot" "-std=gnu++17" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/stl_wrappers" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/system_wrappers" "-include" "/builds/worker/checkouts/gecko/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-ftrivial-auto-var-init=pattern" "-DDEBUG=1" "-I/builds/worker/checkouts/gecko/toolkit/library/rust" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/toolkit/library/rust" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nspr" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nss" "-DMOZILLA_CLIENT" "-include" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/mozilla-config.h" "-Qunused-arguments" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wunreachable-code-return" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wno-range-loop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wstring-conversion" "-Wtautological-overlap-compare" "-Wtautological-unsigned-enum-zero-compare" "-Wtautological-unsigned-zero-compare" "-Wno-error=tautological-type-limit-compare" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=backend-plugin" "-Wno-error=return-std-move" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments" "-Wno-unknown-warning-option" "-fno-sized-deallocation" "-fno-aligned-new" "-fno-exceptions" "-fno-strict-aliasing" "-fPIC" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-g" "-Os" "-fno-omit-frame-pointer" "-funwind-tables" "-fexperimental-new-pass-manager" "-DMOZILLA_CONFIG_H" "-I" "glsl-optimizer/include" "-I" "glsl-optimizer/src/mesa" "-I" "glsl-optimizer/src/mapi" "-I" "glsl-optimizer/src/compiler" "-I" "glsl-optimizer/src/compiler/glsl" "-I" "glsl-optimizer/src/gallium/auxiliary" "-I" "glsl-optimizer/src/gallium/include" "-I" "glsl-optimizer/src" "-I" "glsl-optimizer/src/util" "-D__STDC_FORMAT_MACROS" "-D_GNU_SOURCE" "-DHAVE_ENDIAN_H" "-DHAVE_PTHREAD" "-DHAVE_TIMESPEC_GET" "-DMOZ_INCLUDE_MOZALLOC_H" "-Dmozilla_throw_gcc_h" "-o" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out/glsl-optimizer/src/compiler/glsl/ir_array_refcount.o" "-c" "glsl-optimizer/src/compiler/glsl/ir_array_refcount.cpp"
[task 2021-05-12T10:29:31.077Z]   running: "/builds/worker/fetches/clang/bin/clang++" "-O1" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=x86_64-unknown-linux-gnu" "--sysroot" "/builds/worker/fetches/sysroot" "-std=gnu++17" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/stl_wrappers" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/system_wrappers" "-include" "/builds/worker/checkouts/gecko/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-ftrivial-auto-var-init=pattern" "-DDEBUG=1" "-I/builds/worker/checkouts/gecko/toolkit/library/rust" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/toolkit/library/rust" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nspr" "-I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nss" "-DMOZILLA_CLIENT" "-include" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/mozilla-config.h" "-Qunused-arguments" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wunreachable-code-return" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wno-range-loop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wstring-conversion" "-Wtautological-overlap-compare" "-Wtautological-unsigned-enum-zero-compare" "-Wtautological-unsigned-zero-compare" "-Wno-error=tautological-type-limit-compare" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=backend-plugin" "-Wno-error=return-std-move" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments" "-Wno-unknown-warning-option" "-fno-sized-deallocation" "-fno-aligned-new" "-fno-exceptions" "-fno-strict-aliasing" "-fPIC" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-g" "-Os" "-fno-omit-frame-pointer" "-funwind-tables" "-fexperimental-new-pass-manager" "-DMOZILLA_CONFIG_H" "-I" "glsl-optimizer/include" "-I" "glsl-optimizer/src/mesa" "-I" "glsl-optimizer/src/mapi" "-I" "glsl-optimizer/src/compiler" "-I" "glsl-optimizer/src/compiler/glsl" "-I" "glsl-optimizer/src/gallium/auxiliary" "-I" "glsl-optimizer/src/gallium/include" "-I" "glsl-optimizer/src" "-I" "glsl-optimizer/src/util" "-D__STDC_FORMAT_MACROS" "-D_GNU_SOURCE" "-DHAVE_ENDIAN_H" "-DHAVE_PTHREAD" "-DHAVE_TIMESPEC_GET" "-DMOZ_INCLUDE_MOZALLOC_H" "-Dmozilla_throw_gcc_h" "-o" "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-070ba069d9a43bdc/out/glsl-optimizer/src/compiler/glsl/ir_expression_flattening.o" "-c" "glsl-optimizer/src/compiler/glsl/ir_expression_flattening.cpp"
[task 2021-05-12T10:29:31.077Z]   --- stderr
[task 2021-05-12T10:29:31.077Z]   [ERROR] capture: cannot update build log: Bad file descriptor
[task 2021-05-12T10:29:31.077Z] warning: build failed, waiting for other jobs to finish...
[task 2021-05-12T10:29:31.077Z] error: build failed
[task 2021-05-12T10:29:31.077Z] make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:391: force-cargo-library-build] Error 101
[task 2021-05-12T10:29:31.077Z] make[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: toolkit/library/rust/target] Error 2
[task 2021-05-12T10:29:31.077Z] make[3]: *** Waiting for unfinished jobs....
[task 2021-05-12T10:29:32.572Z] /builds/worker/checkouts/gecko/netwerk/sctp/src/netinet/sctp_usrreq.c:1051:11: warning: 'return' will never be executed [-Wunreachable-code-return]
[task 2021-05-12T10:29:32.572Z]                 return (0);
[task 2021-05-12T10:29:32.572Z]                         ^
[task 2021-05-12T10:29:32.573Z] /builds/worker/checkouts/gecko/netwerk/sctp/src/netinet/sctp_usrreq.c:6910:3: warning: code will never be executed [-Wunreachable-code]
[task 2021-05-12T10:29:32.573Z]                 sctp_bindx_delete_address(inp, sa, vrf_id, &error);
[task 2021-05-12T10:29:32.573Z]                 ^~~~~~~~~~~~~~~~~~~~~~~~~
[task 2021-05-12T10:29:32.573Z] /builds/worker/checkouts/gecko/netwerk/sctp/src/netinet/sctp_usrreq.c:6860:3: warning: code will never be executed [-Wunreachable-code]
[task 2021-05-12T10:29:32.574Z]                 sctp_bindx_add_address(so, inp, sa, vrf_id, &error, p);
[task 2021-05-12T10:29:32.574Z]                 ^~~~~~~~~~~~~~~~~~~~~~
[task 2021-05-12T10:29:32.574Z] 3 warnings generated.
[task 2021-05-12T10:29:35.081Z] security/manager/ssl/nsSTSPreloadListGenerated.inc.stub
[task 2021-05-12T10:29:36.938Z] /builds/worker/checkouts/gecko/security/nss/lib/pkcs7/certread.c:321:25: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
[task 2021-05-12T10:29:36.938Z]             if (certlen != (seqLen + seqLenLen + 2L)) {
[task 2021-05-12T10:29:36.938Z]                 ~~~~~~~ ^   ~~~~~~~~~~~~~~~~~~~~~~~
[task 2021-05-12T10:29:36.938Z] /builds/worker/checkouts/gecko/security/nss/lib/pkcs7/certread.c:322:29: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
[task 2021-05-12T10:29:36.938Z]                 if (certlen > (seqLen + seqLenLen + 2L))
[task 2021-05-12T10:29:36.938Z]                     ~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~
[task 2021-05-12T10:29:36.938Z] /builds/worker/checkouts/gecko/security/nss/lib/pkcs7/certread.c:405:15: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
[task 2021-05-12T10:29:36.938Z]     while (cl > NS_CERT_HEADER_LEN) {
[task 2021-05-12T10:29:36.938Z]            ~~ ^ ~~~~~~~~~~~~~~~~~~
[task 2021-05-12T10:29:36.938Z] /builds/worker/checkouts/gecko/security/nss/lib/pkcs7/certread.c:433:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
[task 2021-05-12T10:29:36.938Z]         while (cl >= NS_CERT_TRAILER_LEN) {
[task 2021-05-12T10:29:36.939Z]                ~~ ^  ~~~~~~~~~~~~~~~~~~~
[task 2021-05-12T10:29:36.939Z] 4 warnings generated.
[task 2021-05-12T10:29:46.393Z] /builds/worker/checkouts/gecko/security/nss/lib/pkcs7/p7local.c:666:34: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
[task 2021-05-12T10:29:46.393Z]             PORT_Assert(ofraglen == pcount);
[task 2021-05-12T10:29:46.393Z]                         ~~~~~~~~ ^  ~~~~~~
[task 2021-05-12T10:29:46.393Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nss/secport.h:123:21: note: expanded from macro 'PORT_Assert'
[task 2021-05-12T10:29:46.393Z] #define PORT_Assert PR_ASSERT
[task 2021-05-12T10:29:46.393Z]                     ^
[task 2021-05-12T10:29:46.393Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nspr/prlog.h:208:7: note: expanded from macro 'PR_ASSERT'
[task 2021-05-12T10:29:46.393Z]     ((_expr)?((void)0):PR_Assert(# _expr,__FILE__,__LINE__))
[task 2021-05-12T10:29:46.393Z]       ^~~~~
[task 2021-05-12T10:29:46.393Z] /builds/worker/checkouts/gecko/security/nss/lib/pkcs7/p7local.c:726:30: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
[task 2021-05-12T10:29:46.393Z]         PORT_Assert(ofraglen == (pcount + padlen));
[task 2021-05-12T10:29:46.393Z]                     ~~~~~~~~ ^   ~~~~~~~~~~~~~~~
[task 2021-05-12T10:29:46.393Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nss/secport.h:123:21: note: expanded from macro 'PORT_Assert'
[task 2021-05-12T10:29:46.393Z] #define PORT_Assert PR_ASSERT
[task 2021-05-12T10:29:46.393Z]                     ^
[task 2021-05-12T10:29:46.393Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nspr/prlog.h:208:7: note: expanded from macro 'PR_ASSERT'
[task 2021-05-12T10:29:46.393Z]     ((_expr)?((void)0):PR_Assert(# _expr,__FILE__,__LINE__))
[task 2021-05-12T10:29:46.393Z]       ^~~~~
[task 2021-05-12T10:29:46.393Z] 2 warnings generated.
[task 2021-05-12T10:29:51.905Z] /builds/worker/checkouts/gecko/security/nss/lib/smime/cmscipher.c:651:34: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
[task 2021-05-12T10:29:51.905Z]             PORT_Assert(ofraglen == pcount);
[task 2021-05-12T10:29:51.905Z]                         ~~~~~~~~ ^  ~~~~~~
[task 2021-05-12T10:29:51.905Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nss/secport.h:123:21: note: expanded from macro 'PORT_Assert'
[task 2021-05-12T10:29:51.905Z] #define PORT_Assert PR_ASSERT
[task 2021-05-12T10:29:51.905Z]                     ^
[task 2021-05-12T10:29:51.905Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nspr/prlog.h:208:7: note: expanded from macro 'PR_ASSERT'
[task 2021-05-12T10:29:51.905Z]     ((_expr)?((void)0):PR_Assert(# _expr,__FILE__,__LINE__))
[task 2021-05-12T10:29:51.905Z]       ^~~~~
[task 2021-05-12T10:29:51.905Z] /builds/worker/checkouts/gecko/security/nss/lib/smime/cmscipher.c:711:30: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
[task 2021-05-12T10:29:51.905Z]         PORT_Assert(ofraglen == (pcount + padlen));
[task 2021-05-12T10:29:51.905Z]                     ~~~~~~~~ ^   ~~~~~~~~~~~~~~~
[task 2021-05-12T10:29:51.905Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nss/secport.h:123:21: note: expanded from macro 'PORT_Assert'
[task 2021-05-12T10:29:51.905Z] #define PORT_Assert PR_ASSERT
[task 2021-05-12T10:29:51.905Z]                     ^
[task 2021-05-12T10:29:51.905Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/nspr/prlog.h:208:7: note: expanded from macro 'PR_ASSERT'
[task 2021-05-12T10:29:51.905Z]     ((_expr)?((void)0):PR_Assert(# _expr,__FILE__,__LINE__))
[task 2021-05-12T10:29:51.905Z]       ^~~~~
[task 2021-05-12T10:29:51.905Z] 2 warnings generated.
[task 2021-05-12T10:30:48.074Z] make[2]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:34: compile] Error 2
[task 2021-05-12T10:30:48.074Z] make[1]: *** [/builds/worker/checkouts/gecko/config/rules.mk:355: default] Error 2
[task 2021-05-12T10:30:48.074Z] make: *** [client.mk:65: build] Error 2
[task 2021-05-12T10:30:48.095Z] 180 compiler warnings present.```

Christian: Is there anything which can be done about this frequent failure?

Summary: Intermittent make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:391: force-cargo-library-build] Error 101 → Frequent Linux64 asan fuzzing noopt make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:391: force-cargo-library-build] Error 101

(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #7)

Christian: Is there anything which can be done about this frequent failure?

So, the actual error happening is here:

[task 2021-05-12T10:29:31.073Z] error: failed to run custom build command for `glslopt v0.1.9`
[task 2021-05-12T10:29:31.073Z] Caused by:
[task 2021-05-12T10:29:31.073Z]   process didn't exit successfully: `/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/debug/build/glslopt-8910a3f116988fae/build-script-build` (signal: 6, SIGABRT: process abort signal)

then it outputs stdout, and then it tries to output stderr (which would be way more interesting to see) but fails to do so:

[ERROR] capture: cannot update build log: Bad file descriptor

This could be an ASan failure happening in the build process but it would be weird for this to be intermittent.

I looked at another log and has a different error:

[task 2021-08-10T19:14:46.083Z] 19:14:46     INFO -  fatal runtime error: Rust cannot catch foreign exceptions
[task 2021-08-10T19:14:46.084Z] 19:14:46     INFO -  sccache: Compiler killed by signal 6
[task 2021-08-10T19:14:46.084Z] 19:14:46     INFO -  error: could not compile `gkrust`
[task 2021-08-10T19:14:46.084Z] 19:14:46     INFO -  Caused by:
[task 2021-08-10T19:14:46.086Z] 19:14:46     INFO -    process didn't exit successfully: `CARGO=/builds/worker/fetches/rustc/bin/cargo CARGO_CRATE_NAME=gkrust CARGO_MANIFEST_DIR=/builds/worker/checkouts/gecko/toolkit/library/rust CARGO_PKG_AUTHORS='nobody@mozilla.org' CARGO_PKG_DESCRIPTION='Rust code for libxul' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gkrust CARGO_PKG_REPOSITORY='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/builds/worker/workspace/obj-build/release/deps:/builds/worker/fetches/rustc/lib' /builds/worker/fetches/sccache/sccache /builds/worker/fetches/rustc/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type staticlib --emit=dep-info,link -C panic=abort -C embed-bitcode=no -Clto -C debug-assertions=off --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gecko_profiler_parse_elf"' --cfg 'feature="glean_disable_upload"' --cfg 'feature="glean_with_gecko"' --cfg 'feature="libfuzzer"' --cfg 'feature="moz_places"' --cfg 'feature="quantum_render"' --cfg 'feature="simd-accel"' --cfg 'feature="webgpu"' --cfg 'feature="webrtc"' --cfg 'feature="with_dbus"' -C metadata=2c01a0244d78e7e2 -C extra-filename=-2c01a0244d78e7e2 --out-dir /builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/builds/worker/checkouts/gecko/build/cargo-linker -L dependency=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builds/worker/workspace/obj-build/release/deps --extern gkrust_shared=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-f02ec6aee8fddd84.rlib --extern mozglue_static=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/deps/libmozglue_static-269964718c721a91.rlib --extern mozilla_central_workspace_hack=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-2e29aee84f6d23c3.rlib --extern swgl=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/deps/libswgl-f227a0cf782f96fe.rlib -C debug-assertions=no -C debuginfo=2 -C force-frame-pointers=yes -Dwarnings -Aproc-macro-back-compat -Cpasses=sancov -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-trace-compares -Cllvm-args=-sanitizer-coverage-pc-table -Zsanitizer=address -Cembed-bitcode=yes -C codegen-units=1 -L native=/builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/x86_64-linux-gnu -L native=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/build/audioipc-3d15cb448f12410e/out -L native=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-ddb49b750b346bff/out -L native=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/build/mozglue-static-8de828a4904a93ce/out -L native=/builds/worker/workspace/obj-build/dist/bin -L native=/builds/worker/workspace/obj-build/security/nss/lib/nss/nss_nss3 -L native=/builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3 -L native=/builds/worker/workspace/obj-build/config/external/nspr/pr -L native=/builds/worker/workspace/obj-build/x86_64-unknown-linux-gnu/release/build/swgl-b5d28204daa62d6b/out` (exit status: 254)
[task 2021-08-10T19:14:46.086Z] 19:14:46    ERROR -  make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:405: force-cargo-library-build] Error 101
[task 2021-08-10T19:14:46.086Z] 19:14:46     INFO -  make[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/library/rust'
[task 2021-08-10T19:14:46.086Z] 19:14:46    ERROR -  make[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: toolkit/library/rust/target] Error 2
[task 2021-08-10T19:14:46.087Z] 19:14:46    ERROR -  make[2]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:34: compile] Error 2
[task 2021-08-10T19:14:46.087Z] 19:14:46    ERROR -  make[1]: *** [/builds/worker/checkouts/gecko/config/rules.mk:360: default] Error 2
[task 2021-08-10T19:14:46.087Z] 19:14:46     INFO -  make: *** [client.mk:65: build] Error 2
[task 2021-08-10T19:14:46.087Z] 19:14:46     INFO -  258 compiler warnings present.
[task 2021-08-10T19:14:46.368Z] 19:14:46    ERROR - Return code: 2
[task 2021-08-10T19:14:46.368Z] 19:14:46  WARNING - setting return code to 2
[task 2021-08-10T19:14:46.368Z] 19:14:46    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2021-08-10T19:14:46.368Z] 19:14:46    FATAL - Running post_fatal callback...
[task 2021-08-10T19:14:46.368Z] 19:14:46    FATAL - Exiting -1

That seems totally unrelated to ASan.

Sebastian: If this is frequently happening, can we bisect back to where this got introduced?

Flags: needinfo?(choller) → needinfo?(aryx.bugmail)

Bug 1716450 landed shortly before the first time the fuzzing build was affected. I am trying to reproduce the issue with retriggers. Interestingly, the issue hasn't been observed for the last 11 days.

Flags: needinfo?(aryx.bugmail)
Regressed by: 1716450
Whiteboard: [retriggered]
Has Regression Range: --- → yes
Component: General → Sync
Product: Firefox Build System → Firefox
Summary: Frequent Linux64 asan fuzzing noopt make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:391: force-cargo-library-build] Error 101 → Frequent Linux64 asan fuzzing noopt make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:404: force-cargo-library-build] Error 101
Summary: Frequent Linux64 asan fuzzing noopt make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:404: force-cargo-library-build] Error 101 → Frequent Linux64 asan fuzzing noopt make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:404: force-cargo-library-build] Error 101 | error: could not compile `gkrust`
Summary: Frequent Linux64 asan fuzzing noopt make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:404: force-cargo-library-build] Error 101 | error: could not compile `gkrust` → Frequent Linux64 asan fuzzing noopt gmake[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:404: force-cargo-library-build] Error 101 | error: could not compile `gkrust`

Set release status flags based on info from the regressing bug 1716450

Mike, do you have any idea what might be going on here?

There are at least two different unrelated errors that are being bucketed here because of how limited our error log parsing is. The two are described in comment 15. The first I have no idea where it comes from. I couldn't find the error message in the tree, in cargo, in rustc or in clang source. The second looks like rustc catching an exception from non-rust code (so that would mean LLVM?). Other than that, your guess is as good as mine. Rust 1.56 is going to be released this week, and it upgrades its internal version of LLVM, so this could have some positive effect on this.

Flags: needinfo?(mh+mozilla)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.