Skip to content
Success

#20803 (Mar 6, 2026, 9:21:29 PM)

Started 1 day 1 hr ago
Took 6 min 32 sec on build5-deb12build-ansible

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

This run spent:

  • 9.7 sec waiting;
  • 6 min 32 sec build duration;
  • 6 min 42 sec 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