dotnet / dotnet/runtime

Test Failure: JIT/superpmi/superpmicollect/superpmicollect.cmd

Open
#130,440 2 comments 0 reactions 0 assignees View on GitHub
area-CodeGen-coreclr JIT-Infra
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

**Summary:**
superpmicollect: '[Logger::LogVprintf] Invoked the logging system before initializing it.

**Failed in (1):**
- [runtime-coreclr outerloop 20260709.1](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1500970)

**Console Log:** [Console Log](https://helix.dot.net/api/2019-06-17/jobs/ce9b5dfe-63c1-44c0-9800-5d29473e08b2/workitems/JIT_others/console)
**Source:** [runtime-coreclr outerloop / coreclr linux arm Checked @ (Debian.13.Arm32.Open)AzureLinux.3.Arm64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:cc5720152b9ddb1df305525253e31936794ffff0d440007bb170ec3bf6a5f7ae / JIT/superpmi/superpmicollect/superpmicollect.cmd](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1500970&view=ms.vss-test-web.build-test-results-tab)

**Failed tests:**
```
- coreclr linux arm Checked @ (Debian.13.Arm32.Open)AzureLinux.3.Arm64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:cc5720152b9ddb1df305525253e31936794ffff0d440007bb170ec3bf6a5f7ae
- JIT/superpmi/superpmicollect/superpmicollect.cmd
```

**Error Message:**
```
ERROR: [Logger::LogVprintf] Invoked the logging system before initializing it.
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/JIT/superpmi/superpmicollect/CscBench/CscBench.sh: line 453: 178 Aborted (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
ERROR: Test /root/helix/work/workitem/e/JIT/superpmi/superpmicollect/CscBench/CscBench.sh failed

Return code: 1
Raw output file: /root/helix/work/workitem/uploads/superpmi/superpmicollect/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true superpmicollect.dll ''
SuperPMI collection and playback - BEGIN
Setting environment variables:
SuperPMIShimLogPath=/tmp/3mea5u4r.qjtSPMI
SuperPMIShimPath=/root/helix/work/correlation/libclrjit.so
DOTNET_JitName=libsuperpmi-shim-collector.so
Running: /bin/chmod +x "/root/helix/work/workitem/e/JIT/superpmi/superpmicollect/Bytemark/Bytemark.sh"
Running: /usr/bin/env bash /root/helix/work/workitem/e/JIT/superpmi/superpmicollect/Bytemark/Bytemark.sh
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true Bytemark.dll ''
BBBBBB YYY Y TTTTTTT EEEEEEE
BBB B YYY Y TTT EEE
BBB B YYY Y TTT EEE
BBBBBB YYY Y TTT EEEEEEE
BBB B YYY TTT EEE
BBB B YYY TTT EEE
BBBBBB YYY TTT EEEEEEE

BYTEmark (tm) C# Mode Benchmark ver. 2 (06/99)
NUMERIC SORT(jagged): Iterations/sec: 1681.17622 Index: 43.11482
NUMERIC SORT(rectangle): Iterations/sec: 949.86308 Index: 24.35984
STRING SORT: Iterations/sec: 9238.03553 Index: 4127.80855
BITFIELD: Iterations/sec: 153545825.29987 Index: 26.33853
FP EMULATION(struct): Iterations/sec: 190.62916 Index: 91.47273
FP EMULATION(class): Iterations/sec: 189.46178 Index: 90.91256
FOURIER: Iterations/sec: 130752.88462 Index: 148.70483
ASSIGNMENT(jagged): Iterations/sec: 37.73416 Index: 143.58507
ASSIGNMENT(rectangle): Iterations/sec: 33.56353 Index: 127.71512
IDEA: Iterations/sec: 6215.17890 Index: 95.05948
HUFFMAN: Iterations/sec: 1516.78260 Index: 42.06041
NEURAL NET(jagged): Iterations/sec: 32.66696 Index: 52.47704
NEURAL NET(rectangle): Iterations/sec: 22.47855 Index: 36.11013
LU DECOMPOSITION: Iterations/sec: 1793.96457 Index: 92.93660
===========OVERALL============
INTEGER INDEX: 96.44391
FLOATING-POINT INDEX: 71.53648
(90 MHz Dell Pentium = 1.00)
==============================
Expected: 100
Actual: 100
END EXECUTION - PASSED
Running: /bin/chmod +x "/root/helix/work/workitem/e/JIT/superpmi/superpmicollect/CscBench/CscBench.sh"
Running: /usr/bin/env bash /root/helix/work/workitem/e/JIT/superpmi/superpmicollect/CscBench/CscBench.sh
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true CscBench.dll ''
[createdump] Gathering state for process 178 corerun
[createdump] Crashing thread 00bc signal 5 (0005)
[createdump] Writing crash report to file /datadisks/disk1/dumps/coredump.178.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /datadisks/disk1/dumps/coredump.178.dmp
[createdump] Written 178343936 bytes (43541 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 338ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
SuperPMI collection and playback - FAILED
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /root/helix/work/workitem/e/JIT/JIT_others/../superpmi/superpmicollect/superpmicollect.sh
```

**Stack Trace:**
```
at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
at Program.<$>g__TestExecutor14|0_15(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
```

Contributor guide

Open the contributing guide

Research direction

Start with JIT/superpmi/superpmicollect/superpmicollect.sh and its CscBench/CscBench.sh invocation. Reproduce with CORE_ROOT on the affected Linux ARM configuration, then inspect the console log and crash report for the pre-initialization logging failure. Done means the superpmicollect test completes successfully with CscBench and the overall test harness passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, linux, shell
Domain
compilers, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.