Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIRCT Regression tests Failed in nixpkgs #8000

Open
unlsycn opened this issue Dec 17, 2024 · 0 comments
Open

CIRCT Regression tests Failed in nixpkgs #8000

unlsycn opened this issue Dec 17, 2024 · 0 comments

Comments

@unlsycn
Copy link
Contributor

unlsycn commented Dec 17, 2024

To reproduce: https://github.com/unlsycn/nixpkgs/tree/circt-test

nix build .#circt

Log:

-- Testing: 878 tests, 16 workers --
Testing:  0.. 10.. 20.. 
FAIL: CIRCT :: Dialect/FIRRTL/SFCTests/ExtractSeqMems/Compose.fir (270 of 878)
******************** TEST 'CIRCT :: Dialect/FIRRTL/SFCTests/ExtractSeqMems/Compose.fir' FAILED ********************
Exit Code: 139

Command Output (stderr):
--
RUN: at line 3: rm -rf /build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Compose.fir.tmp
+ rm -rf /build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Compose.fir.tmp
RUN: at line 4: /build/source/build/bin/firtool --repl-seq-mem --repl-seq-mem-file=mems.conf --split-verilog -o=/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Compose.fir.tmp /build/source/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Compose.fir
+ /build/source/build/bin/firtool --repl-seq-mem --repl-seq-mem-file=mems.conf --split-verilog -o=/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Compose.fir.tmp /build/source/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Compose.fir
PLEASE submit a bug report to https://github.com/llvm/circt and include the crash backtrace.
Stack dump:
0.	Program arguments: /build/source/build/bin/firtool --repl-seq-mem --repl-seq-mem-file=mems.conf --split-verilog -o=/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Compose.fir.tmp /build/source/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Compose.fir
 #0 0x00007ffff57e8b5e llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libLLVMSupport.so.20.0git+0x1e8b5e)
 #1 0x00007ffff57e5fdb SignalHandler(int) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libLLVMSupport.so.20.0git+0x1e5fdb)
 #2 0x00007ffff5047620 __restore_rt (/nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libc.so.6+0x40620)
 #3 0x00007ffff7ac97ba (anonymous namespace)::ExtractInstancesPass::createTraceFiles(circt::firrtl::ClassOp&) ExtractInstances.cpp:0:0
 #4 0x00007ffff7ad2edd (anonymous namespace)::ExtractInstancesPass::runOnOperation() ExtractInstances.cpp:0:0
 #5 0x00007ffff5e3f2ce mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x222ce)
 #6 0x00007ffff5e3f7c9 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x227c9)
 #7 0x00007ffff5e3e7b0 mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x217b0)
 #8 0x00007ffff5e3efee mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x21fee)
 #9 0x00007ffff5e3f7c9 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x227c9)
#10 0x00007ffff5e406e3 mlir::PassManager::run(mlir::Operation*) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x236e3)
#11 0x000000000041cd13 processBuffer(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, llvm::SourceMgr&, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>>&) firtool.cpp:0:0
#12 0x000000000041d64e processInputSplit(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>>&) firtool.cpp:0:0
#13 0x000000000040f703 main (/build/source/build/bin/firtool+0x40f703)
#14 0x00007ffff503127e __libc_start_call_main (/nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libc.so.6+0x2a27e)
#15 0x00007ffff5031339 __libc_start_main@GLIBC_2.2.5 (/nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libc.so.6+0x2a339)
#16 0x000000000040f8d5 _start (/build/source/build/bin/firtool+0x40f8d5)
/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Compose.fir.script: line 10: 13836 Segmentation fault      (core dumped) /build/source/build/bin/firtool --repl-seq-mem --repl-seq-mem-file=mems.conf --split-verilog -o=/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Compose.fir.tmp /build/source/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Compose.fir

--

********************
Testing:  0.. 10.. 20.. 
FAIL: CIRCT :: Dialect/FIRRTL/SFCTests/ExtractSeqMems/Simple2.fir (271 of 878)
******************** TEST 'CIRCT :: Dialect/FIRRTL/SFCTests/ExtractSeqMems/Simple2.fir' FAILED ********************
Exit Code: 139

Command Output (stderr):
--
RUN: at line 3: rm -rf /build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Simple2.fir.tmp
+ rm -rf /build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Simple2.fir.tmp
RUN: at line 4: /build/source/build/bin/firtool --repl-seq-mem --repl-seq-mem-file=mems.conf --split-verilog -o=/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Simple2.fir.tmp /build/source/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Simple2.fir
+ /build/source/build/bin/firtool --repl-seq-mem --repl-seq-mem-file=mems.conf --split-verilog -o=/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Simple2.fir.tmp /build/source/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Simple2.fir
PLEASE submit a bug report to https://github.com/llvm/circt and include the crash backtrace.
Stack dump:
0.	Program arguments: /build/source/build/bin/firtool --repl-seq-mem --repl-seq-mem-file=mems.conf --split-verilog -o=/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Simple2.fir.tmp /build/source/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Simple2.fir
 #0 0x00007ffff57e8b5e llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libLLVMSupport.so.20.0git+0x1e8b5e)
 #1 0x00007ffff57e5fdb SignalHandler(int) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libLLVMSupport.so.20.0git+0x1e5fdb)
 #2 0x00007ffff5047620 __restore_rt (/nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libc.so.6+0x40620)
 #3 0x00007ffff7ac97ba (anonymous namespace)::ExtractInstancesPass::createTraceFiles(circt::firrtl::ClassOp&) ExtractInstances.cpp:0:0
 #4 0x00007ffff7ad2edd (anonymous namespace)::ExtractInstancesPass::runOnOperation() ExtractInstances.cpp:0:0
 #5 0x00007ffff5e3f2ce mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x222ce)
 #6 0x00007ffff5e3f7c9 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x227c9)
 #7 0x00007ffff5e3e7b0 mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x217b0)
 #8 0x00007ffff5e3efee mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x21fee)
 #9 0x00007ffff5e3f7c9 mlir::detail::OpToOpPassAdaptor::runPipeline(mlir::OpPassManager&, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x227c9)
#10 0x00007ffff5e406e3 mlir::PassManager::run(mlir::Operation*) (/nix/store/l2img55yrslmskc3qscv89a9s58xylf6-circt-llvm-1.98.0-lib/lib/libMLIRPass.so.20.0git+0x236e3)
#11 0x000000000041cd13 processBuffer(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, llvm::SourceMgr&, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>>&) firtool.cpp:0:0
#12 0x000000000041d64e processInputSplit(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>>&) firtool.cpp:0:0
#13 0x000000000040f703 main (/build/source/build/bin/firtool+0x40f703)
#14 0x00007ffff503127e __libc_start_call_main (/nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libc.so.6+0x2a27e)
#15 0x00007ffff5031339 __libc_start_main@GLIBC_2.2.5 (/nix/store/3bvxjkkmwlymr0fssczhgi39c3aj1l7i-glibc-2.40-36/lib/libc.so.6+0x2a339)
#16 0x000000000040f8d5 _start (/build/source/build/bin/firtool+0x40f8d5)
/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Simple2.fir.script: line 7: 13835 Segmentation fault      (core dumped) /build/source/build/bin/firtool --repl-seq-mem --repl-seq-mem-file=mems.conf --split-verilog -o=/build/source/build/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Output/Simple2.fir.tmp /build/source/test/Dialect/FIRRTL/SFCTests/ExtractSeqMems/Simple2.fir

--

********************
Testing:  0.. 10.. 20.. 30..
FAIL: CIRCT :: Dialect/FIRRTL/extract-instances.mlir (343 of 878)
******************** TEST 'CIRCT :: Dialect/FIRRTL/extract-instances.mlir' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /build/source/build/bin/circt-opt --firrtl-extract-instances /build/source/test/Dialect/FIRRTL/extract-instances.mlir | /nix/store/i0bxhd7awfg20xvixdsn069m2npzk126-circt-llvm-1.98.0/bin/FileCheck /build/source/test/Dialect/FIRRTL/extract-instances.mlir
+ /build/source/build/bin/circt-opt --firrtl-extract-instances /build/source/test/Dialect/FIRRTL/extract-instances.mlir
+ /nix/store/i0bxhd7awfg20xvixdsn069m2npzk126-circt-llvm-1.98.0/bin/FileCheck /build/source/test/Dialect/FIRRTL/extract-instances.mlir
PLEASE submit a bug report to https://github.com/llvm/circt and include the crash backtrace.
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /nix/store/i0bxhd7awfg20xvixdsn069m2npzk126-circt-llvm-1.98.0/bin/FileCheck /build/source/test/Dialect/FIRRTL/extract-instances.mlir

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (3):
  CIRCT :: Dialect/FIRRTL/SFCTests/ExtractSeqMems/Compose.fir
  CIRCT :: Dialect/FIRRTL/SFCTests/ExtractSeqMems/Simple2.fir
  CIRCT :: Dialect/FIRRTL/extract-instances.mlir


Testing Time: 15.52s

Total Discovered Tests: 878
  Unsupported      :  24 (2.73%)
  Passed           : 846 (96.36%)
  Expectedly Failed:   5 (0.57%)
  Failed           :   3 (0.34%)
FAILED: test/CMakeFiles/check-circt /build/source/build/test/CMakeFiles/check-circt 
cd /build/source/build/test && /nix/store/w8szqkb6j2hzp33n9hqlcbky4rgnwc16-python3-3.12.7-env/bin/python3.12 /nix/store/k3ijg8fi5c5ng1mnlbvhg3m9qm19xi56-python3.12-lit-18.1.8/bin/.lit-wrapped -sv /build/source/build/test
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant