leanprover-community / leanprover-community/lean

leanittest_complete_trailing_period.lean test fails (99% tests passed, 1 tests failed out of 1441)

Open
#816 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
434
Forks
79
PR merge metrics
No merged PRs in 30d

Description

One test in the suite fails for me:

1366/1441 Testing: leanittest_complete_trailing_period.lean
1366/1441 Test: leanittest_complete_trailing_period.lean
Command: "/opt/local/bin/bash" "./test_single.sh" "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_lean/lean/work/build/shell/lean" "complete_trailing_period.lean"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_lean/lean/work/lean-3.51.1/src/../tests/lean/interactive
"leanittest_complete_trailing_period.lean" start time: Sep 03 17:55 CST
Output:
----------------------------------------------------------
--- complete_trailing_period.lean.expected.out	2023-05-25 01:58:24.000000000 +0800
+++ complete_trailing_period.lean.produced.out	2024-09-03 17:55:06.000000000 +0800
@@ -1,2 +1,2 @@
 {"message":"file invalidated","response":"ok","seq_num":0}
-{"completions":[{"kind":"definition","source":,"text":"foo.rec","type":"Π (motive : foo → Sort l) (n : foo), motive n"},{"kind":"definition","source":{"column":10,"line":3},"text":"foo.rec_on","type":"Π (motive : foo → Sort l) (n : foo), motive n"},{"kind":"inductive","source":{"column":10,"line":3},"text":"foo","type":"Type"}],"prefix":"foo.","response":"ok","seq_num":6}
+{"completions":[],"prefix":"foo.","response":"ok","seq_num":6}
ERROR: file complete_trailing_period.lean.produced.out does not match complete_trailing_period.lean.expected.out
<end of output>
Test time =   0.37 sec
----------------------------------------------------------
Test Failed.
"leanittest_complete_trailing_period.lean" end time: Sep 03 17:55 CST
"leanittest_complete_trailing_period.lean" time elapsed: 00:00:00

System info:

36-25% lean --version
Lean (version 3.51.1, Release)
36-25% sw_vers
ProductName:	Mac OS X
ProductVersion:	10.6
BuildVersion:	10A190
36-25% uname -p
powerpc
36-25% /opt/local/bin/gcc-mp-14 -v
Using built-in specs.
COLLECT_GCC=/opt/local/bin/gcc-mp-14
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/powerpc-apple-darwin10/14.2.0/lto-wrapper
Target: powerpc-apple-darwin10
Configured with: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc14/gcc14/work/gcc-14.2.0/configure --prefix=/opt/local --build=powerpc-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc14 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-14 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-14 --with-gxx-include-dir=/opt/local/include/gcc14/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --with-zstd=/opt/local --enable-checking=release --disable-multilib --enable-lto --enable-libstdcxx-time --without-build-config --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-host-shared --with-darwin-extra-rpath=/opt/local/lib/libgcc --with-libiconv-prefix=/opt/local --disable-tls --with-gxx-libcxx-include-dir=/opt/local/libexec/gcc14/libc++/include/c++/v1 --with-pkgversion='MacPorts gcc14 14.2.0_1+stdlib_flag'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.0 (MacPorts gcc14 14.2.0_1+stdlib_flag)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tests/lean/interactive/complete_trailing_period.lean and the test_single.sh command shown in the report, then run leanittest_complete_trailing_period.lean on the reported environment. Trace why the completion response is empty instead of matching the expected output, and finish when the test passes or the platform-specific cause is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.