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