github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 3327 tests passed
* 8 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clangd Unit Tests
<details>
<summary>Clangd Unit Tests._/ClangdTests/71/88</summary>

```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/unittests/./ClangdTests-Clangd
 Unit Tests-321042-71-88.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=88 
GTEST_SHARD_INDEX=71 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/unittests/./ClangdTests
--

Note: This is test shard 72 of 88.
[==========] Running 16 tests from 16 test suites.
[----------] Global test environment set-up.
[----------] 1 test from LSPTest
[ RUN      ] LSPTest.GoToDefinition
[0;34m<<< initialize: {}
[0m[0;33m<-- initialize(0)
[0m[0;34mAuto-detected standard resource directory 
'/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/lib/clang/24'
 doesn't exist
[0m[0;34mAuto-detected using clang path '/opt/llvm/bin/clang-22' resource 
directory '/opt/llvm/lib/clang/24' doesn't exist
[0m[0;31mFailed to auto-detect resource directory, specify it manually via 
--resource-dir command line argument
[0m[0;33m--> reply:initialize(0) 0 ms
[0m[0;34m>>> reply: {
  "capabilities": {
    "astProvider": true,
    "callHierarchyProvider": true,
    "clangdInlayHintsProvider": true,
    "codeActionProvider": true,
    "compilationDatabase": {
      "automaticReload": true
    },
    "completionProvider": {
      "resolveProvider": false,
      "triggerCharacters": [
        ".",
        "<",
        ">",
        ":",
        "\"",
        "/",
        "*"
      ]
    },
    "declarationProvider": true,
    "definitionProvider": true,
    "documentFormattingProvider": true,
    "documentHighlightProvider": true,
    "documentLinkProvider": {
      "resolveProvider": false
    },
    "documentOnTypeFormattingProvider": {
      "firstTriggerCharacter": "\n",
      "moreTriggerCharacter": []
    },
    "documentRangeFormattingProvider": {
      "rangesSupport": true
    },
    "documentSymbolProvider": true,
    "executeCommandProvider": {
      "commands": [
        "clangd.applyFix",
        "clangd.applyRename",
        "clangd.applyTweak"
      ]
    },
    "foldingRangeProvider": true,
    "hoverProvider": true,
    "implementationProvider": true,
    "inactiveRegionsProvider": true,
    "inlayHintProvider": true,
    "memoryUsageProvider": true,
    "referencesProvider": true,
    "renameProvider": true,
    "selectionRangeProvider": true,
    "semanticTokensProvider": {
      "full": {
        "delta": true
      },
      "legend": {
        "tokenModifiers": [
          "declaration",
          "definition",
          "deprecated",
          "deduced",
          "readonly",
          "static",
          "abstract",
          "virtual",
          "dependentName",
          "defaultLibrary",
          "usedAsMutableReference",
          "usedAsMutablePointer",
          "constructorOrDestructor",
          "userDefined",
          "functionScope",
          "classScope",
          "fileScope",
          "globalScope"
        ],
        "tokenTypes": [
          "variable",
          "variable",
          "parameter",
          "function",
          "method",
          "function",
          "property",
          "variable",
          "class",
          "interface",
          "enum",
          "enumMember",
          "type",
          "type",
          "unknown",
          "namespace",
          "typeParameter",
          "concept",
          "type",
          "macro",
          "modifier",
          "operator",
          "bracket",
          "label",
          "comment"
        ]
      },
      "range": false
    },
    "signatureHelpProvider": {
      "triggerCharacters": [
        "(",
        ")",
        "{",
        "}",
        "<",
        ">",
        ","
      ]
    },
    "standardTypeHierarchyProvider": true,
    "textDocumentSync": {
      "change": 2,
      "openClose": true,
      "save": true
    },
    "typeDefinitionProvider": true,
    "typeHierarchyProvider": true,
    "workspaceSymbolProvider": true
  },
  "serverInfo": {
    "name": "clangd",
    "version": "clangd version 24.0.0git (https://github.com/llvm/llvm-project 
49e0c4ee61c30f845a08868ba474107c2c58c4b3) linux+debug x86_64-unknown-linux-gnu"
  }
}
[0m[0;34m<<< textDocument/didOpen: {
  "textDocument": {
    "languageId": "cpp",
    "text": "\n    int fib(int n) {\n      return n >= 2 ? fib(n - 1) + fib(n - 
2) : 1;\n    }\n  ",
    "uri": "file:///clangd-test/foo.cpp"
  }
}
[0m[0;33m<-- textDocument/didOpen
[0m[0;34m<<< textDocument/definition: {
  "position": {
    "character": 22,
    "line": 2
  },
  "textDocument": {
    "uri": "file:///clangd-test/foo.cpp"
  }
}
[0m[0;3[       OK ] LSPTest.GoToDefinition (41 ms)
[----------] 1 test from LSPTest (41 ms total)

[----------] 1 test from CompletionTest
[ RUN      ] CompletionTest.RenderWithFixItMerged
[       OK ] CompletionTest.RenderWithFixItMerged (0 ms)
[----------] 1 test from CompletionTest (0 ms total)

[----------] 1 test from SignatureHelpTest
[ RUN      ] SignatureHelpTest.VariadicType
Built preamble of size 210396 for file /clangd-test/TestTU.cpp version null in 
0.01 seconds
Built preamble of size 210396 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 210396 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
[       OK ] SignatureHelpTest.VariadicType (29 ms)
[----------] 1 test from SignatureHelpTest (29 ms total)

[----------] 1 test from ParseYAML
[ RUN      ] ParseYAML.ExternalBlockNone
Loading config file at config.yaml
[       OK ] ParseYAML.ExternalBlockNone (0 ms)
[----------] 1 test from ParseYAML (0 ms total)

[----------] 1 test from DiagnosticTest
[ RUN      ] DiagnosticTest.ClangTidyNoLiteralDataInMacroToken
Built preamble of size 210476 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
[       OK ] DiagnosticTest.ClangTidyNoLiteralDataInMacroToken (8 ms)
[----------] 1 test from DiagnosticTest (8 ms total)

[----------] 1 test from FileIndexTest
[ RUN      ] FileIndexTest.NoLocal
Built preamble of size 211468 for file /clangd-test/f1.cpp version null in 0.01 
seconds
indexed preamble AST for /clangd-test/f1.cpp version null:
  symbol slab: 3 symbols, 4904 bytes
  ref slab: 0 symbols, 0 refs, 120 bytes
  relations slab: 0 relations, 24 bytes
Build dynamic index for header symbols with estimated memory usage of 8464 bytes
Dex query tree: true
[       OK ] FileIndexTest.NoLocal (10 ms)
[----------] 1 test from FileIndexTest (10 ms total)

[----------] 1 test from FindExplicitReferencesTest
[ RUN      ] FindExplicitReferencesTest.AllRefsInFoo
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.01 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212496 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
Built preamble of size 212316 for file /clangd-test/TestTU.cpp version null in 
0.00 seconds
[       OK ] FindExplicitReferencesTest.AllRefsInFoo (548 ms)
[----------] 1 test from FindExplicitReferencesTest (548 ms total)

[----------] 1 test from Hover
[ RUN      ] Hover.HLSLVectorAndMatrixSwizzle
Dropped diagnostic: : 'hlsl.h' file not found
Built preamble of size 101228 for file /clangd-test/TestTU.hlsl version null in 
0.00 seconds
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/optional:479: _Tp 
&std::_Optional_base_impl<clang::clangd::HoverInfo, 
std::_Optional_base<clang::clangd::HoverInfo>>::_M_get() [_Tp = 
clang::clangd::HoverInfo, _Dp = std::_Optional_base<clang::clangd::HoverInfo>]: 
Assertion 'this->_M_is_engaged()' failed.
 #0 0x0000000001f9fe5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) 
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
 #1 0x0000000001f9cd35 llvm::sys::RunSignalHandlers() 
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
 #2 0x0000000001fa0c7b SignalHandler(int, siginfo_t*, void*) 
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
 #3 0x00007ed8af076330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
 #4 0x00007ed8af0cfb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
 #5 0x00007ed8af07627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
 #6 0x00007ed8af0598ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
 #7 0x00007ed8af35290d (/lib/x86_64-linux-gnu/libstdc++.so.6+0xdf90d)
 #8 0x00000000038922c3 
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/unittests/./ClangdTests+0x38922c3)
 #9 0x000000000388c374 clang::clangd::getHover(clang::clangd::ParsedAST&, 
clang::clangd::Position, clang::format::FormatStyle const&, 
clang::clangd::SymbolIndex const*) 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/Hover.cpp:0:14
#10 0x0000000001afb9ca clang::clangd::(anonymous 
namespace)::Hover_HLSLVectorAndMatrixSwizzle_Test::TestBody() 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/unittests/HoverTests.cpp:5373:14
#11 0x0000000001fce4e0 os_stack_trace_getter 
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#12 0x0000000001fce4e0 testing::Test::Run() 
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#13 0x0000000001fcf8e0 os_stack_trace_getter 
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#14 0x0000000001fcf8e0 testing::TestInfo::Run() 
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#15 0x0000000001fd04f3 testing::TestSuite::Run() 
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#16 0x0000000001fe1704 testing::internal::UnitTestImpl::RunAllTests() 
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#17 0x0000000001fe0ab9 testing::UnitTest::Run() 
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#18 0x0000000001fb82aa main 
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#19 0x00007ed8af05b1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#20 0x00007ed8af05b28b __libc_start_main 
(/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#21 0x000000000158cb25 _start 
(/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/unittests/./ClangdTests+0x158cb25)

--
exit: -6
--
shard JSON output does not exist: 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/unittests/./ClangdTests-Clangd
 Unit Tests-321042-71-88.json
```
</details>

If these failures are unrelated to your changes (for example tests are broken 
or flaky at HEAD), please open an issue at 
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/212741
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to