In above file, "ensure-java" is added as a role which is used in compliance test.
It seems like in the process of installing Java, apt-get is used which is giving error for Centos Jobs.
Now in CentOs stream 9 testing in zuul, the jobs which are using centOs as their OS are failing because apt-get is giving error in CentOs instead of yum.
This error might be resolved if we specify OS(Ubuntu, CentOs etc) while installing java for ensure-java role.
https:/ /github. com/openstack/ tacker/ blob/master/ playbooks/ devstack/ pre.yaml
In above file, "ensure-java" is added as a role which is used in compliance test.
It seems like in the process of installing Java, apt-get is used which is giving error for Centos Jobs.
Now in CentOs stream 9 testing in zuul, the jobs which are using centOs as their OS are failing because apt-get is giving error in CentOs instead of yum.
This error might be resolved if we specify OS(Ubuntu, CentOs etc) while installing java for ensure-java role.