Skip to content
Success

#20814 (Mar 6, 2026, 9:28:24 PM)

Started 19 hr ago
Took 8 min 3 sec on build4-deb12build-ansible

Started by upstream project gerrit-osmo-s1gw build number 627
originally caused by:

This run spent:

  • 6 min 59 sec waiting;
  • 8 min 3 sec build duration;
  • 15 min total from scheduled to completion.
Revision: 6c2c5ef3471c93107e5382938cd372f4690f788f
Repository: $GERRIT_REPO_URL
  • master
enb_registry: fix duplicate registration check in enb_register/0

next_handle was bound in the function head and reused in the case
pattern {ok, Handle}, turning what looks like a binding into an
equality test against next_handle.  The duplicate check therefore
only fired if the previously assigned handle happened to equal the
current next_handle counter, which is essentially never true.

Fix by removing next_handle from the function head pattern and reading
it with S#state.next_handle inside the error branch, so that Handle in
{ok, Handle} is always a fresh binding that matches any existing handle.

Change-Id: Ia64f3e2e79bea055e5c37df9bce91a4bcbf7184c
Vadim Yanitskiy at