Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 904314

Summary: dev-go/go-tools-0.1.10 fails test - FAIL golang.org/x/tools/cmd/bundle 0.110s
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal CC: matoro_gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 930160    
Attachments: emerge-info.txt
dev-go:go-tools-0.1.10:20230414-025313.log.bz2
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2

Description Toralf Förster gentoo-dev 2023-04-14 08:33:50 UTC
EOF
cd /var/tmp/portage/dev-go/go-tools-0.1.10/work/tools-0.1.10/go/pointer
TERM='dumb' /usr/lib/go/pkg/tool/linux_amd64/vet -atomic -bool -buildtags -errorsas -ifaceassert -nilfunc -printf -stringintconv $WORK/b233/vet.cfg
=== RUN   TestBundle
=== RUN   TestBundle/GOPATH
2023/04/14 02:53:47 internal error: package "fmt" without types was imported from "initial"
FAIL	golang.org/x/tools/cmd/bundle	0.110s
mkdir -p $WORK/b239/
mkdir -p $WORK/b238/

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4_test-20230410-083931

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 16.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.1
Python 3.10.11
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.68.2 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit c3815ddd3e0001f9b3c62fe175dea8f732115a23
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 14 01:47:00 2023 +0000

    2023-04-14 01:46:59 UTC

emerge -qpvO dev-go/go-tools
[ebuild  N    ] dev-go/go-tools-0.1.10
Comment 1 Toralf Förster gentoo-dev 2023-04-14 08:33:51 UTC
Created attachment 860071 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-14 08:33:53 UTC
Created attachment 860072 [details]
dev-go:go-tools-0.1.10:20230414-025313.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-04-14 08:33:54 UTC
Created attachment 860073 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-04-14 08:33:55 UTC
Created attachment 860074 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-04-14 08:33:56 UTC
Created attachment 860075 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-14 08:33:57 UTC
Created attachment 860076 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-14 08:33:59 UTC
The file size of ./files/temp.tar.bz2 is too big (98M) for an upload. For about 8 weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_no_multilib_systemd-j4_test-20230410-083931/var/tmp/tb/issues/20230414-025524-dev-go_go-tools-0.1.10/files/temp.tar.bz2 is valid.
Comment 8 matoro archtester 2024-05-01 22:04:30 UTC
Multiple fails in here.

$ grep -Ea "^--- FAIL: " build.log
--- FAIL: TestEndToEnd (0.91s)
--- FAIL: TestTags (0.69s)
--- FAIL: TestConstValueChange (1.11s)
--- FAIL: TestExitCode (3.85s)
--- FAIL: TestImportTestdata (0.02s)
--- FAIL: TestImportedTypes (0.00s)
--- FAIL: TestImportedConsts (0.00s)
--- FAIL: TestBuildPackageFailuresGo117 (0.00s)
--- FAIL: TestChanges (0.18s)
--- FAIL: TestExportedFields (0.02s)
--- FAIL: TestLSP (7.55s)
--- FAIL: TestCommandLine (5.90s)
--- FAIL: TestStructuralTerms (0.00s)

Quite a few segfaults with:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5f5b30ee54af]
Comment 9 Larry the Git Cow gentoo-dev 2024-05-02 04:20:00 UTC
The bug has been referenced in the following commit(s):

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

commit 334b68c9fbed092c3622e4d65a8ff2526ec5d3a4
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2024-05-02 04:11:02 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2024-05-02 04:19:55 +0000

    dev-go/go-tools: add 0.20.0
    
    Also set RESTRICT="test" because there are many failures.
    
    Bug: https://bugs.gentoo.org/904314
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 dev-go/go-tools/Manifest               |  2 ++
 dev-go/go-tools/go-tools-0.20.0.ebuild | 52 ++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2024-05-02 04:30:43 UTC
The bug has been closed via the following commit(s):

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

commit 611dc25065c7609af05675b9dec6deb79188a7b6
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2024-05-02 04:25:51 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2024-05-02 04:30:35 +0000

    dev-go/go-tools: RESTRICT test for 0.1.10
    
    Since we now have RESTRICT="test" in the newer 0.20.0 ebuild
    we should also do the same for the old version which we
    hopefully can drop soon anyway.
    
    Closes: https://bugs.gentoo.org/904314
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 dev-go/go-tools/go-tools-0.1.10.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)