Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927633 - dev-libs/tree-sitter-javascript-0.20.3 fails test - Test suite failed
Summary: dev-libs/tree-sitter-javascript-0.20.3 fails test - Test suite failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Smith
URL: https://github.com/tree-sitter/tree-s...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-03-23 14:32 UTC by Toralf Förster
Modified: 2024-03-24 16:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.04 KB, text/plain)
2024-03-23 14:32 UTC, Toralf Förster
Details
dev-libs:tree-sitter-javascript-0.20.3:20240323-142729.log (dev-libs:tree-sitter-javascript-0.20.3:20240323-142729.log,6.73 KB, text/plain)
2024-03-23 14:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,67.54 KB, text/plain)
2024-03-23 14:32 UTC, Toralf Förster
Details
environment (environment,62.73 KB, text/plain)
2024-03-23 14:32 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,960 bytes, application/x-xz)
2024-03-23 14:32 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.54 KB, application/x-xz)
2024-03-23 14:32 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,123.34 KB, text/plain)
2024-03-23 14:32 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,16.70 KB, application/x-xz)
2024-03-23 14:32 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-03-23 14:32:14 UTC
    ✗ injection.js
      Failure - row: 0, column: 0, expected highlight 'function', actual highlights: 'variable'
    ✓ keywords.js (7 assertions)
    ✗ variables.js
      Failure - row: 0, column: 6, expected highlight 'constructor', actual highlights: 'variable'
 * ERROR: dev-libs/tree-sitter-javascript-0.20.3::gentoo failed (test phase):
 *   Test suite failed
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_test-20240321-184907

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.2
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.76.0
  [2]   rust-1.76.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit 8ed5428c1aecaf1b60ce20e74d906e0e7b2de5df
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Mar 23 14:04:35 2024 +0000

    2024-03-23 14:04:35 UTC

emerge -qpvO dev-libs/tree-sitter-javascript
[ebuild  N    ] dev-libs/tree-sitter-javascript-0.20.3  USE="test"
Comment 1 Toralf Förster gentoo-dev 2024-03-23 14:32:15 UTC
Created attachment 888278 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-23 14:32:17 UTC
Created attachment 888279 [details]
dev-libs:tree-sitter-javascript-0.20.3:20240323-142729.log
Comment 3 Toralf Förster gentoo-dev 2024-03-23 14:32:18 UTC
Created attachment 888280 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-03-23 14:32:19 UTC
Created attachment 888281 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-23 14:32:20 UTC
Created attachment 888282 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-23 14:32:21 UTC
Created attachment 888283 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-23 14:32:22 UTC
Created attachment 888284 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-03-23 14:32:23 UTC
Created attachment 888285 [details]
temp.tar.xz
Comment 9 Matthew Smith gentoo-dev 2024-03-24 16:21:05 UTC
There was a breaking change to highlight queries in tree-sitter 0.21, which I think caused this issue. Fixed in tree-sitter-javascript v0.20.4.
Comment 10 Larry the Git Cow gentoo-dev 2024-03-24 16:24:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9598b9ae15c3686c61756f6f7e53e6c1b78058c

commit b9598b9ae15c3686c61756f6f7e53e6c1b78058c
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2024-03-24 16:23:42 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2024-03-24 16:24:35 +0000

    dev-libs/tree-sitter-javascript: add 0.20.4
    
    Closes: https://bugs.gentoo.org/927633
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 dev-libs/tree-sitter-javascript/Manifest                    |  1 +
 .../tree-sitter-javascript-0.20.4.ebuild                    | 13 +++++++++++++
 2 files changed, 14 insertions(+)