Bug 1797260 (golang-github-cilium-ebpf)

Summary: Review Request: golang-github-cilium-ebpf - eBPF Library for Go
Product: [Fedora] Fedora Reporter: Robert-André Mauchin 🐧 <zebob.m>
Component: Package ReviewAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review, quantum.analyst
Target Milestone: ---Flags: quantum.analyst: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-14 00:36:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert-André Mauchin 🐧 2020-02-01 23:42:06 UTC
Spec URL: https://eclipseo.fedorapeople.org/for-review/golang-github-cilium-ebpf.spec
SRPM URL: https://eclipseo.fedorapeople.org/for-review/golang-github-cilium-ebpf-0-0.1.20200201git5d50e74.fc32.src.rpm

Description:
 eBPF is a pure Go library that provides utilities for loading, compiling, and debugging eBPF programs. It has minimal external dependencies and is intended to be used in long running processes.

Fedora Account System Username: eclipseo

Comment 1 Robert-André Mauchin 🐧 2020-02-01 23:53:25 UTC
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=41314877

Comment 2 Elliott Sales de Andrade 2020-02-15 09:27:34 UTC
Due to https://github.com/cilium/ebpf/issues/43, I'm not sure this will work on Rawhide or F32.

Is there a way you can run the other tests that don't require a special rlimit?

Comment 3 Robert-André Mauchin 🐧 2020-02-16 20:10:16 UTC
I've sent an ask upstream but I doubt it is possible.

Comment 4 Robert-André Mauchin 🐧 2020-03-03 00:02:24 UTC
Shall I do something more to fix the package? Tests need network per upstream answer so I can't enable them.

Comment 5 Elliott Sales de Andrade 2020-03-03 10:19:47 UTC
I also could not find any way to test it in mock. Do you have some user in mind that we can test with, because according to the link I posted, this package may not be working right now.

Comment 6 Robert-André Mauchin 🐧 2020-03-03 14:38:56 UTC
It's a new dependency for golang-github-opencontainers-runc. https://github.com/opencontainers/runc/blob/master/libcontainer/cgroups/ebpf/ebpf.go
I don't know where else its used.
I don't think https://github.com/cilium/ebpf/issues/43 is a problem, it's for people who built their ebpf with Clang 10. Maybe golang-github-cilium-ebpf is not compatible with it yet but that doesn't block ise in runc.

Comment 7 Elliott Sales de Andrade 2020-03-03 16:41:35 UTC
Clang 10 is in Fedora 32+, but it looks like that's only used for tests.

Approved.

Comment 8 Gwyn Ciesla 2020-03-04 17:31:43 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-cilium-ebpf

Comment 9 Fedora Update System 2020-03-05 15:18:08 UTC
FEDORA-2020-2377b2dc9a has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-2377b2dc9a

Comment 10 Fedora Update System 2020-03-05 19:36:39 UTC
golang-github-cilium-ebpf-0-0.1.20200305git5d50e74.fc32 has been pushed to the Fedora 32 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-2020-be2dfcff11

Comment 11 Fedora Update System 2020-03-06 03:39:13 UTC
golang-github-cilium-ebpf-0-0.1.20200305git5d50e74.fc31 has been pushed to the Fedora 31 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-2020-2377b2dc9a

Comment 12 Fedora Update System 2020-03-14 00:36:44 UTC
golang-github-cilium-ebpf-0-0.1.20200305git5d50e74.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2020-03-16 20:34:06 UTC
golang-github-cilium-ebpf-0-0.1.20200305git5d50e74.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.