charm-barbican fails to build: charmtools.build.tactics: Missing implementation for interface role: requires.py
As observed on https://review.opendev.org/#/c/685810/:
https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_smoke/openstack/charm-barbican/685810/2/12581/consoleText.charm_build_31318.txt
charmtools.build.fetchers: Cleaning up /var/lib/jenkins/.cache/charm/31342/interface/tmpt3cjo7hu
build: Processing layer: layer:options
build: Processing layer: layer:basic
build: Processing layer: layer:openstack
build: Processing layer: layer:openstack-principle
build: Processing layer: layer:openstack-api
build: Processing layer: barbican (from src)
build: Processing interface: tls-certificates
build: Processing interface: mysql-shared
build: Processing interface: rabbitmq
build: Processing interface: keystone
build: Processing interface: hacluster
build: Processing interface: openstack-ha
build: Processing interface: barbican-hsm
build: Processing interface: barbican-secrets
charmtools.build.tactics: Missing implementation for interface role: requires.py
build: Traceback (most recent call last):
File "/var/lib/jenkins/checkout/20/barbican/.tox/build/lib/python3.5/site-packages/charmtools/build/builder.py", line 941, in main
build()
File "/var/lib/jenkins/checkout/20/barbican/.tox/build/lib/python3.5/site-packages/charmtools/build/builder.py", line 649, in __call__
self.generate()
File "/var/lib/jenkins/checkout/20/barbican/.tox/build/lib/python3.5/site-packages/charmtools/build/builder.py", line 594, in generate
self.exec_plan(self.plan, self.layers)
File "/var/lib/jenkins/checkout/20/barbican/.tox/build/lib/python3.5/site-packages/charmtools/build/builder.py", line 561, in exec_plan
raise BuildError()
charmtools.build.errors.BuildError
ERROR: InvocationError: '/var/lib/jenkins/checkout/20/barbican/.tox/build/bin/charm-build --log-level DEBUG -o /var/lib/jenkins/checkout/20/barbican/build src'
Aha. The barbican-hsm interface repo moved to opendev/x, which is why the build is failing now.
https:/ /github. com/juju/ layer-index/ pull/90