llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-solaris11-sparcv9` running on `solaris11-sparcv9` while building `clang` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/13/builds/3244 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 5 (ninja check 1) failure: stage 1 checked (failure) ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/read_file_config.cpp' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 2: mkdir -p /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/ + mkdir -p /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/ RUN: at line 3: cp /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-tidy/infrastructure/read_file_config.cpp /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp + cp /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-tidy/infrastructure/read_file_config.cpp /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp RUN: at line 4: echo 'Checks: "-*,modernize-use-nullptr"' > /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/.clang-tidy + echo 'Checks: "-*,modernize-use-nullptr"' RUN: at line 5: echo '[{"command": "cc -c -o test.o test.cpp", "directory": "/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config", "file": "/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp"}]' > /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/compile_commands.json + echo '[{"command": "cc -c -o test.o test.cpp", "directory": "/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config", "file": "/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp"}]' RUN: at line 6: clang-tidy /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp | not grep "warning: .*\[clang-analyzer-deadcode.DeadStores\]$" + clang-tidy /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp + not grep 'warning: .*\[clang-analyzer-deadcode.DeadStores\]$' RUN: at line 7: clang-tidy -checks="-*,clang-analyzer-*" /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp | grep "warning: .*\[clang-analyzer-deadcode.DeadStores\]$" + clang-tidy '-checks=-*,clang-analyzer-*' /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp + grep 'warning: .*\[clang-analyzer-deadcode.DeadStores\]$' Assertion failed: detail::isPresent(Val) && "dyn_cast on a non-existent value", file /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/include/llvm/Support/Casting.h, line 662 PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: clang-tidy -checks=-*,clang-analyzer-* /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/read-file-config/test.cpp 1. <eof> parser at end of file Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 clang-tidy 0x0000000105fc04d0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 36 1 clang-tidy 0x0000000105fc0e24 SignalHandler(int) + 896 2 libc.so.1 0xffffffff7dfc6368 __sighndlr + 12 3 libc.so.1 0xffffffff7dfb8c10 call_user_handler + 1024 4 libc.so.1 0xffffffff7dfb9000 sigacthandler + 208 5 libc.so.1 0xffffffff7dfcb480 __lwp_sigqueue + 8 6 libc.so.1 0xffffffff7dee953c abort + 252 7 libc.so.1 0xffffffff7deea370 _assert + 96 8 clang-tidy 0x0000000103e92040 clang::IgnoreParensSingleStep(clang::Expr*) + 628 9 clang-tidy 0x0000000104c1e6c0 clang::Expr::IgnoreParenCasts() + 8 10 clang-tidy 0x0000000102d566e0 clang::RecursiveASTVisitor<(anonymous namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) const::LocalVisitor>::TraverseDeclRefExpr(clang::DeclRefExpr*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) + 252 11 clang-tidy 0x0000000102d4af7c clang::RecursiveASTVisitor<(anonymous namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) const::LocalVisitor>::TraverseStmt(clang::Stmt*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) + 7620 12 clang-tidy 0x0000000102d6eda8 clang::RecursiveASTVisitor<(anonymous namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) const::LocalVisitor>::TraverseFunctionHelper(clang::FunctionDecl*) + 1468 13 clang-tidy 0x0000000102d41a84 clang::RecursiveASTVisitor<(anonymous namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) const::LocalVisitor>::TraverseFunctionDecl(clang::FunctionDecl*) + 12 14 clang-tidy 0x0000000102d3dcb4 clang::RecursiveASTVisitor<(anonymous namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) const::LocalVisitor>::TraverseDecl(clang::Decl*) + 2032 15 clang-tidy 0x0000000102d3e7dc clang::RecursiveASTVisitor<(anonymous namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) const::LocalVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*) + 524 16 clang-tidy 0x0000000102d3dfa0 clang::RecursiveASTVisitor<(anonymous namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) const::LocalVisitor>::TraverseDecl(clang::Decl*) + 2780 17 clang-tidy 0x0000000102d3d460 void clang::ento::check::ASTDecl<clang::TranslationUnitDecl>::_checkDecl<(anonymous namespace)::UncountedLambdaCapturesChecker>(void*, clang::Decl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) + 76 18 clang-tidy 0x0000000102e4628c clang::ento::CheckerManager::runCheckersOnASTDecl(clang::Decl const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) + 464 19 clang-tidy 0x000000010284eae4 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) + 520 20 clang-tidy 0x0000000103155968 clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 36 21 clang-tidy 0x000000010340814c clang::ParseAST(clang::Sema&, bool, bool) + 720 22 clang-tidy 0x00000001030f83e4 clang::ASTFrontendAction::ExecuteAction() + 248 23 clang-tidy 0x00000001030f7b24 clang::FrontendAction::Execute() + 92 24 clang-tidy 0x0000000103056f44 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1628 ... ``` </details> https://github.com/llvm/llvm-project/pull/113845 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits