Skip to content
  • Thomas Haller's avatar
    gitlab-ci: run unit tests for n-acd with eBPF disabled · a5869d1b
    Thomas Haller authored
    Enabling eBPF causes src/devices/tests/test-acd to fail:
    
        strace: bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_HASH, key_size=4, value_size=1, max_entries=8, map_flags=0, inner_map_fd=0, map_name="", map_ifindex=0, btf_fd=0, btf_key_type_id=0, btf_value_type_id=0}, 112) = -1 EPERM (Operation not permitted)
    
        NetworkManager-Message: 10:07:04.404: <warn>  [1554631624.4046] acd[0xa2b400,10]: couldn't init ACD for announcing addresses on interface 'nm-test-veth0': Operation not permitted
    
    Interestingly it does not always fail. Seems to depend on the kernel
    which is used in the containerized test environments of gitlab-ci.
    
    For now, just disable eBPF and use the fallback implementation.
    a5869d1b