Skip to content

test failure #20

@opoplawski

Description

@opoplawski

Looking at packaging this in Fedora, a test is failing:

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.gisnVz
+ umask 022
+ cd /home/orion/fedora/zabbix/golang-github-dustin-gomemcached
+ cd gomemcached-a2284a01c143e355985d192edf3b62a053747c70
+ LDFLAGS=' -X github.com/dustin/gomemcached/version=0 -X github.com/dustin/gomemcached/version.commit=a2284a01c143e355985d192edf3b62a053747c70'
+ GO_TEST_FLAGS='-buildmode pie -compiler gc'
+ GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  '
+ go-rpm-integration check -i github.com/dustin/gomemcached -b /home/orion/fedora/zabbix/golang-github-dustin-gomemcached/gomemcached-a2284a01c143e355985d192edf3b62a053747c70/_build/bin -s /home/orion/fedora/zabbix/golang-github-dustin-gomemcached/gomemcached-a2284a01c143e355985d192edf3b62a053747c70/_build -V 0-0.1.20230224gita2284a0.fc39 -C a2284a01c143e355985d192edf3b62a053747c70 -p /home/orion/BUILDROOT/golang-github-dustin-gomemcached-0-0.1.20230224gita2284a0.fc39.x86_64 -g /usr/share/gocode -r '.*example.*'
Testing    in: /home/orion/fedora/zabbix/golang-github-dustin-gomemcached/gomemcached-a2284a01c143e355985d192edf3b62a053747c70/_build/src
         PATH: /home/orion/fedora/zabbix/golang-github-dustin-gomemcached/gomemcached-a2284a01c143e355985d192edf3b62a053747c70/_build/bin:/home/orion/.local/bin:/home/orion/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/sbin:/opt/local/rsi/idl/bin
       GOPATH: /home/orion/fedora/zabbix/golang-github-dustin-gomemcached/gomemcached-a2284a01c143e355985d192edf3b62a053747c70/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/dustin/gomemcached/version=0 -X github.com/dustin/gomemcached/version.commit=a2284a01c143e355985d192edf3b62a053747c70 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  '"
      testing: github.com/dustin/gomemcached
github.com/dustin/gomemcached
PASS
ok      github.com/dustin/gomemcached   0.004s
github.com/dustin/gomemcached
PASS
ok      github.com/dustin/gomemcached   0.004s
github.com/dustin/gomemcached/client
PASS
ok      github.com/dustin/gomemcached/client    0.003s
github.com/dustin/gomemcached/client
PASS
ok      github.com/dustin/gomemcached/client    0.003s
github.com/dustin/gomemcached/debug
?       github.com/dustin/gomemcached/debug     [no test files]
github.com/dustin/gomemcached/server
# github.com/dustin/gomemcached/server [github.com/dustin/gomemcached/server.test]
./server_test.go:149:2: errored declared and not used
FAIL    github.com/dustin/gomemcached/server [build failed]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions