[Bug 1482657] New: The current version of kubernetes should not be compiled with golang >= 1.8
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1482657
Bug ID: 1482657
Summary: The current version of kubernetes should not be
compiled with golang >= 1.8
Product: Fedora
Version: 26
Component: kubernetes
Severity: high
Assignee: jchaloup(a)redhat.com
Reporter: mbayser(a)br.ibm.com
QA Contact: extras-qa(a)fedoraproject.org
CC: eparis(a)redhat.com,
golang-updates(a)lists.fedoraproject.org,
ichavero(a)redhat.com, jbrooks(a)redhat.com,
jcajka(a)redhat.com, jchaloup(a)redhat.com,
nhorman(a)redhat.com, tstclair(a)heptio.com,
vbatts(a)redhat.com
Description of problem:
Because of a change in the go system library from version 1.8, the kubelet has
trouble removing volumes. The issue is described here:
https://github.com/kubernetes/kubernetes/issues/43534 . I've rebuilt the fedora
25 golang-1.7 packages on my fedora 26 server to rebuild the kubernetes
packages and after that this problem was gone.
Version-Release number of selected component (if applicable):
kubernetes-1.6.7-1
How reproducible:
Always
Steps to Reproduce:
Delete pods with volumes.
Actual results:
The pod will be stuck in Terminating state.
Expected results:
The pod should be removed cleanly
Additional info:
A workaround is to remove the pods from /var/lib/kubelet/pods manually and
restart the kubelet
--
You are receiving this mail because:
You are on the CC list for the bug.
5 years, 11 months
[Bug 1367740] New: golang-github-go-fsnotify-fsnotify FTBFS due to failing tests on aarch64 d
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1367740
Bug ID: 1367740
Summary: golang-github-go-fsnotify-fsnotify FTBFS due to
failing tests on aarch64 d
Product: Fedora
Version: 25
Component: golang-github-go-fsnotify-fsnotify
Assignee: fpokorny(a)redhat.com
Reporter: pbrobinson(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: fpokorny(a)redhat.com,
golang-updates(a)lists.fedoraproject.org,
jchaloup(a)redhat.com
Blocks: 922257 (ARM64,F-ExcludeArch-aarch64)
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3677865
golang-github-go-fsnotify-fsnotify-1.2.0-0.4.git96c060f.fc25
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1pPWD0
+ umask 022
+ cd /builddir/build/BUILD
+ cd fsnotify-96c060f6a6b7e0d6f75fddd10efeaca3e5d1bcb0
+ export
GOPATH=/builddir/build/BUILDROOT/golang-github-go-fsnotify-fsnotify-1.2.0-0.4.git96c060f.fc25.aarch64//usr/share/gocode:/usr/share/gocode
+
GOPATH=/builddir/build/BUILDROOT/golang-github-go-fsnotify-fsnotify-1.2.0-0.4.git96c060f.fc25.aarch64//usr/share/gocode:/usr/share/gocode
+ go test -compiler gc -ldflags '' github.com/go-fsnotify/fsnotify
--- FAIL: TestPollerWithBadFd (0.14s)
inotify_poller_test.go:70: Expected EBADF, got: function not implemented
--- FAIL: TestPollerWithData (0.14s)
inotify_poller_test.go:62: Failed to create poller: function not
implemented
--- FAIL: TestPollerWithWakeup (0.14s)
inotify_poller_test.go:62: Failed to create poller: function not
implemented
--- FAIL: TestPollerWithClose (0.14s)
inotify_poller_test.go:62: Failed to create poller: function not
implemented
--- FAIL: TestPollerWithWakeupAndData (0.14s)
inotify_poller_test.go:62: Failed to create poller: function not
implemented
--- FAIL: TestPollerConcurrent (0.14s)
inotify_poller_test.go:62: Failed to create poller: function not
implemented
--- FAIL: TestInotifyCloseRightAway (0.14s)
inotify_test.go:20: Failed to create watcher
--- FAIL: TestInotifyCloseSlightlyLater (0.14s)
inotify_test.go:34: Failed to create watcher
--- FAIL: TestInotifyCloseSlightlyLaterWithWatch (0.14s)
inotify_test.go:52: Failed to create watcher
--- FAIL: TestInotifyCloseAfterRead (0.14s)
inotify_test.go:71: Failed to create watcher
--- FAIL: TestInotifyCloseCreate (0.00s)
inotify_test.go:117: Failed to create watcher: function not implemented
--- FAIL: TestInotifyStress (0.00s)
inotify_test.go:162: Failed to create watcher: function not implemented
--- FAIL: TestInotifyRemoveTwice (0.00s)
inotify_test.go:269: Failed to create watcher: function not implemented
--- FAIL: TestFsnotifyMultipleOperations (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyMultipleCreates (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyDirOnly (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyDeleteWatchedDir (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifySubDir (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyRename (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyRenameToCreate (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyRenameToOverwrite (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestRemovalOfWatch (0.09s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyAttrib (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyClose (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestFsnotifyFakeSymlink (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
--- FAIL: TestClose (0.00s)
integration_test.go:50: NewWatcher() failed: function not implemented
FAIL
FAIL github.com/go-fsnotify/fsnotify 1.466s
RPM build errors:
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=922257
[Bug 922257] Tracker for ARM64 support
--
You are receiving this mail because:
You are on the CC list for the bug.
5 years, 11 months
[Bug 1378972] New: golang fails openshift origin 1.3.0 build for armv7hl
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1378972
Bug ID: 1378972
Summary: golang fails openshift origin 1.3.0 build for armv7hl
Product: Fedora
Version: rawhide
Component: golang
Assignee: vbatts(a)redhat.com
Reporter: admiller(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, amurdaca(a)redhat.com,
golang-updates(a)lists.fedoraproject.org,
jcajka(a)redhat.com, lemenkov(a)gmail.com,
renich(a)woralelandia.com, s(a)shk.io, vbatts(a)redhat.com
Description of problem:
Mock Version: 1.2.21
Mock Version: 1.2.21
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl
--nodeps /builddir/build/SPECS/origin.spec'], gid=425timeout=172800env={'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash',
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$
'}uid=1000chrootPath='/var/lib/mock/f26-build-6492446-642185/root'logger=<mockbuild.trace_decorator.getLog
object at 0xb5e6ffd0>printOutput=Falseuser='mockbuild'shell=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target
armv7hl --nodeps /builddir/build/SPECS/origin.spec'] with env {'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash',
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ '}
and shell False
warning: Could not canonicalize hostname: arm02-builder15.arm.fedoraproject.org
Building target platforms: armv7hl
Building for target armv7hl
Wrote: /builddir/build/SRPMS/origin-1.3.0-2.fc26.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl
--nodeps /builddir/build/SPECS/origin.spec'],
gid=425timeout=172800uid=1000shell=Falseprivate_network=TruechrootPath='/var/lib/mock/f26-build-6492446-642185/root'logger=<mockbuild.trace_decorator.getLog
object at 0xb5e6ffd0>printOutput=Falseenv={'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash',
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$
'}user='mockbuild')
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target
armv7hl --nodeps /builddir/build/SPECS/origin.spec'] with env {'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash',
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ '}
and shell False
Building target platforms: armv7hl
Building for target armv7hl
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ORHkve
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf origin-d45151824821195c9d3db7e5d2da0a1c982a614c
+ /usr/bin/gzip -dc /builddir/build/SOURCES/origin-1.3.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd origin-d45151824821195c9d3db7e5d2da0a1c982a614c
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (origin-1.3.0-build-platform.patch):'
Patch #0 (origin-1.3.0-build-platform.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file Makefile
patching file hack/build-platform.sh
patching file origin.spec
+ chmod +x hack/build-platform.sh
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.knwheP
+ umask 022
+ cd /builddir/build/BUILD
+ cd origin-d45151824821195c9d3db7e5d2da0a1c982a614c
+ OS_GIT_TREE_STATE=clean
+ OS_GIT_VERSION=v1.3.0
+ OS_GIT_COMMIT=d451518
+ OS_GIT_MAJOR=1
+ OS_GIT_MINOR=3
+ hack/build-platform.sh
++ Building go targets for linux/arm: cmd/openshift cmd/oc
++ Building go targets for linux/arm: images/pod cmd/dockerregistry
cmd/gitserver examples/hello-openshift examples/deployment
++ Placing binaries
++ ERROR: No release type defined for linux/arm
++ Placing binaries
++ ERROR: No release type defined for linux/arm
hack/build-platform.sh took 934 seconds
+ OS_GIT_TREE_STATE=clean
+ OS_GIT_VERSION=v1.3.0
+ OS_GIT_COMMIT=d451518
+ OS_GIT_MAJOR=1
+ OS_GIT_MINOR=3
+ hack/build-go.sh test/extended/extended.test
++ Building go targets for linux/arm: test/extended/extended.test
++ Placing binaries
hack/build-go.sh took 515 seconds
+ OS_GIT_TREE_STATE=clean
+ OS_GIT_VERSION=v1.3.0
+ OS_GIT_COMMIT=d451518
+ OS_GIT_MAJOR=1
+ OS_GIT_MINOR=3
+ hack/update-generated-docs.sh
++ Building go targets for linux/arm: tools/gendocs tools/genman
++ Placing binaries
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/hack/build-go.sh
took 626 seconds
Assets generated in
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c//docs/generated
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x4 pc=0x7ab4c]
goroutine 1 [running]:
panic(0x297b3a0, 0x15928008)
/usr/lib/golang/src/runtime/panic.go:500 +0x33c
encoding/gob.newTypeObject(0x25f3a18, 0x8, 0x1599f7c0, 0x456f8c0, 0x2ba8918,
0x2ba8918, 0x456f8c0, 0x2ba8918, 0x246a0f4)
/usr/lib/golang/src/encoding/gob/type.go:448 +0x24
encoding/gob.getType(0x25f3a18, 0x8, 0x1599f7c0, 0x456f8c0, 0x2ba8918, 0x0,
0x0, 0x0, 0x0)
/usr/lib/golang/src/encoding/gob/type.go:608 +0xc0
encoding/gob.getBaseType(0x25f3a18, 0x8, 0x456f8c0, 0x2ba8918, 0x0, 0x0, 0x0,
0x0)
/usr/lib/golang/src/encoding/gob/type.go:595 +0x78
encoding/gob.buildTypeInfo(0x1599f7c0, 0x456f8c0, 0x2ba8918, 0x0, 0x0, 0x0)
/usr/lib/golang/src/encoding/gob/type.go:725 +0xe8
encoding/gob.getTypeInfo(0x1599f7c0, 0x2ba8918, 0x0, 0x0)
/usr/lib/golang/src/encoding/gob/type.go:712 +0xa4
encoding/gob.mustGetTypeInfo(0x456f8c0, 0x2ba8918, 0x456f8c0)
/usr/lib/golang/src/encoding/gob/type.go:776 +0x34
encoding/gob.init()
/usr/lib/golang/src/encoding/gob/type.go:269 +0x1be0
net/rpc.init()
/usr/lib/golang/src/net/rpc/server.go:713 +0x50
github.com/openshift/origin/vendor/github.com/ugorji/go/codec.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/github.com/ugorji/go/codec/time.go:234
+0x9c
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializ...
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/json/meta.go:62
+0x58
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializ...
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/protobuf_extension.go:53
+0x54
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/api.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/api/types.go:3076
+0xa4
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/version.go:56
+0x6c
github.com/openshift/origin/pkg/cmd/admin.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/pkg/cmd/admin/oadm_bashcomp_func.go:17
+0x58
main.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/tools/genman/gen_man.go:198
+0x60
[ERROR] PID 896: hack/common.sh:910: `${cmd} "${tmpdir}" "${cmdName}"` exited
with status 2.
[INFO] Stack Trace:
[INFO] 1: hack/common.sh:910: `${cmd} "${tmpdir}" "${cmdName}"`
[INFO] 2: hack/update-generated-docs.sh:41: os::build::gen-man
[INFO] Exiting with code 2.
error: Bad exit status from /var/tmp/rpm-tmp.knwheP (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.knwheP (%build)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line
88, in trace
result = func(*args, **kw)
File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 562, in do
raise exception.Error("Command failed. See logs for output.\n # %s" %
(command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps
/builddir/build/SPECS/origin.spec
Version-Release number of selected component (if applicable):
golang.armv7hl 1.7.1-1.fc26
How reproducible:
Always
Steps to Reproduce:
1. Rebuild this package in koji or mock for armv7hl
https://maxamillion.fedorapeople.org/origin-1.3.0-2.fc24.src.rpm
2. Scratch build here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=15770239
--
You are receiving this mail because:
You are on the CC list for the bug.
5 years, 11 months
[Bug 1480766] New: kubectl 1.7.3 bash completion has invalid options
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1480766
Bug ID: 1480766
Summary: kubectl 1.7.3 bash completion has invalid options
Product: Fedora
Version: 26
Component: kubernetes
Assignee: jchaloup(a)redhat.com
Reporter: giovanni.tirloni(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: eparis(a)redhat.com,
golang-updates(a)lists.fedoraproject.org,
ichavero(a)redhat.com, jbrooks(a)redhat.com,
jcajka(a)redhat.com, jchaloup(a)redhat.com,
nhorman(a)redhat.com, tstclair(a)heptio.com,
vbatts(a)redhat.com
Description of problem:
kubectl bash completion has invalid options
Version-Release number of selected component (if applicable):
kubernetes-client-1.6.7-1.fc26.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Type: kubectl get <tab>
2. See options available
3. Try `kubectl get status` or `kubectl get thirdpartyresourcedata` or `kubectl
get cluster`
Actual results:
Error message is displayed: the server doesn't have a resource type "status"
Expected results:
These options are not available in completion options
Additional info:
Tested against minikube 1.7.3
--
You are receiving this mail because:
You are on the CC list for the bug.
5 years, 11 months
[Bug 1426790] New: Explain how to use the packaged files in Fedora, maybe in a README.Fedora file
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1426790
Bug ID: 1426790
Summary: Explain how to use the packaged files in Fedora, maybe
in a README.Fedora file
Product: Fedora
Version: rawhide
Component: golang
Assignee: vbatts(a)redhat.com
Reporter: opensource(a)till.name
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, amurdaca(a)redhat.com,
golang-updates(a)lists.fedoraproject.org,
jcajka(a)redhat.com, lemenkov(a)gmail.com,
renich(a)woralelandia.com, s(a)shk.io, vbatts(a)redhat.com
Description of problem:
I installed golang and golang-github-kr-pty-devel from Fedora as described in
https://developer.fedoraproject.org/tech/languages/go/go-installation.html
https://developer.fedoraproject.org/tech/languages/go/go-packages.html
but go does not use golang-github-kr-pty-devel without /usr/share/gocode being
added to $GOPATH. But if it is there, go complains that it cannot mkdir/write
to /usr/share/gocode/pkg.
$ export GOPATH=/usr/share/gocode:/home/till/work
$ go install till/test/pty
go install github.com/kr/pty: mkdir /usr/share/gocode/pkg: permission denied
$ export GOPATH=/home/till/work:/usr/share/gocode
$ go install till/test/pty
go install github.com/kr/pty: mkdir /usr/share/gocode/pkg: permission denied
Version-Release number of selected component (if applicable):
golang-1.6.4-3.fc24
How reproducible:
always
Steps to Reproduce:
1. dnf install golang-github-kr-pty-devel golang
2. mkdir -p $HOME/work/src/till/test/pty
export GOPATH=$HOME/work
cat > $HOME/work/src/till/test/pty <<EOF
package main
import (
"github.com/kr/pty"
"io"
"os"
"os/exec"
)
func main() {
c := exec.Command("grep", "--color=auto", "bar")
f, err := pty.Start(c)
if err != nil {
panic(err)
}
go func() {
f.Write([]byte("foo\n"))
f.Write([]byte("bar\n"))
f.Write([]byte("baz\n"))
f.Write([]byte{4}) // EOT
}()
io.Copy(os.Stdout, f)
}
EOF
3. go install till/test/pty
Actual results:
src/till/test/pty/pty.go:4:5: cannot find package "github.com/kr/pty" in any
of:
/usr/lib/golang/src/github.com/kr/pty (from $GOROOT)
/home/till/work/src/github.com/kr/pty (from $GOPATH)
Expected results:
It should install pty to $HOME/work/bin
Additional info:
It works when I do:
mkdir -p $HOME/system-golang
ln -s /usr/share/gocode/src/ $HOME/system-golang/src
export GOPATH=$GOPATH:$HOME/system-golang
If this is the recommended way of using Fedora go packages it should be
documented.
--
You are receiving this mail because:
You are on the CC list for the bug.
5 years, 11 months
[Bug 1413669] New: README.md included in all subpackages
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1413669
Bug ID: 1413669
Summary: README.md included in all subpackages
Product: Fedora
Version: rawhide
Component: gofed
Assignee: jchaloup(a)redhat.com
Reporter: fkluknav(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: fale(a)redhat.com,
golang-updates(a)lists.fedoraproject.org,
jchaloup(a)redhat.com
Description of problem:
spec file generated by gofed contains "%doc README.md" in all subpackages.
Fedora packaging guidelines state that:
MUST: A Fedora package must not list a file more than once in the spec file's
%files listings. (Notable exception: license texts in specific situations)
If I understand it correctly, this is in conflict.
--
You are receiving this mail because:
You are on the CC list for the bug.
5 years, 11 months