https://bugzilla.redhat.com/show_bug.cgi?id=1326366
Bug ID: 1326366 Summary: wrong epoll_event struct for ppc64le/ppc64 Product: Fedora Version: 24 Component: golang Severity: high Assignee: vbatts@redhat.com Reporter: than@redhat.com QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, amurdaca@redhat.com, golang@lists.fedoraproject.org, jcajka@redhat.com, lemenkov@gmail.com, renich@woralelandia.com, s@shk.io, vbatts@redhat.com
Description of problem: The epoll_event structure is defined incorrectly which causes the failures in fsnotify.
Version-Release number of selected component (if applicable): golang-1.6-1
How reproducible: rebuild golang-github-go-fsnotify-fsnotify on powerpc
Actual results: --- FAIL: TestPollerWithData (0.00s) inotify_poller_test.go:85: expected poller to return true --- FAIL: TestPollerWithClose (0.00s) inotify_poller_test.go:119: expected poller to return true --- FAIL: TestPollerWithWakeupAndData (0.00s) inotify_poller_test.go:140: expected poller to return true --- FAIL: TestPollerConcurrent (0.05s) inotify_poller_test.go:197: expected true --- FAIL: TestInotifyCloseCreate (0.05s) inotify_test.go:135: Took too long to wait for event --- FAIL: TestInotifyStress (5.00s) inotify_test.go:237: Expected at least 50 creates, got 0 --- FAIL: TestFsnotifyMultipleOperations (0.66s) integration_test.go:156: incorrect number of create events received after 500 ms (0 vs 2) --- FAIL: TestFsnotifyMultipleCreates (0.75s) integration_test.go:283: incorrect number of create events received after 500 ms (0 vs 2) --- FAIL: TestFsnotifyDirOnly (0.55s) integration_test.go:385: incorrect number of create events received after 500 ms (0 vs 1) --- FAIL: TestFsnotifyDeleteWatchedDir (0.50s) integration_test.go:463: did not receive at least 2 delete events, received 0 after 500 ms --- FAIL: TestFsnotifySubDir (0.71s) integration_test.go:542: incorrect number of create events received after 500 ms (0 vs 2) --- FAIL: TestFsnotifyRename (0.51s) integration_test.go:622: fsnotify rename events have not been received after 500 ms --- FAIL: TestFsnotifyRenameToCreate (0.52s) integration_test.go:698: fsnotify create events have not been received after 500 ms --- FAIL: TestFsnotifyRenameToOverwrite (0.50s) integration_test.go:786: fsnotify events have not been received after 500 ms --- FAIL: TestFsnotifyAttrib (0.51s) integration_test.go:925: fsnotify attribute events have not received after 500 ms --- FAIL: TestFsnotifyFakeSymlink (0.50s) integration_test.go:1042: Created bogus symlink integration_test.go:1057: fsnotify create events were not received after 500 ms
Expected results: it should be built fine on ppc64
Additional info: this issue is fixed in golang upstream. I also backported the fix for current golang-1.6 in fedora and confirmed that it fixes this epoll issue. The golang-github-go-fsnotify-fsnotify also built fine with new fixed golang. The backported fix will be attached in next comment
https://bugzilla.redhat.com/show_bug.cgi?id=1326366
--- Comment #1 from Ngo Than than@redhat.com --- Created attachment 1146469 --> https://bugzilla.redhat.com/attachment.cgi?id=1146469&action=edit attach the backported fix for epoll struct on power64
https://bugzilla.redhat.com/show_bug.cgi?id=1326366
Ngo Than than@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1071880 (PPCTracker)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1071880 [Bug 1071880] (PPCTracker) Fedora for PowerPC architectures (ppc64,ppc64le): Bug Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1326366
Jakub Čajka jcajka@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|vbatts@redhat.com |jcajka@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1326366
Jakub Čajka jcajka@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |golang-1.6.1-1.fc24
--- Comment #2 from Jakub Čajka jcajka@redhat.com --- upstream issue https://github.com/golang/go/issues/15135
https://bugzilla.redhat.com/show_bug.cgi?id=1326366
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- golang-1.6.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-2940ad5550
https://bugzilla.redhat.com/show_bug.cgi?id=1326366
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- golang-1.6.1-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-2940ad5550
https://bugzilla.redhat.com/show_bug.cgi?id=1326366
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- golang-1.6.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1326366
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed| |2016-04-17 19:42:01
golang@lists.fedoraproject.org