Synchronize repository Ubuntu 18.04 (Bionic) Failed

This looks like you configured a script to sign the metadata when publishing.
And that script returns with returncode 2.
Can you have a look at that script, make sure the signing key is not outdated and also available to the signing script.

Also please have a look at https://github.com/pulp/pulp_deb/tree/2-master#signing-support