container-selinux icon indicating copy to clipboard operation
container-selinux copied to clipboard

TMT: Simplify tests

Open lsm5 opened this issue 1 year ago • 9 comments
trafficstars

lsm5 avatar Jul 18 '24 18:07 lsm5

We were not able to find or create Copr project packit/containers-container-selinux-321 specified in the config with the following error:

Packit received HTTP 500 Internal Server Error from Copr Service. Check the Copr status page: https://copr.fedorainfracloud.org/status/stats/, or ask for help in Fedora Build System matrix channel https://matrix.to/#/#buildsys:fedoraproject.org.

Unless the HTTP status code above is >= 500, please check your configuration for:

  1. typos in owner and project name (groups need to be prefixed with @)
  2. whether the project name doesn't contain not allowed characters (only letters, digits, underscores, dashes and dots must be used)
  3. whether the project itself exists (Packit creates projects only in its own namespace)
  4. whether Packit is allowed to build in your Copr project
  5. whether your Copr project/group is not private

/packit build

lsm5 avatar Jul 18 '24 18:07 lsm5

Tests failed. @containers/packit-build please check.

Failed to load packit config file:

Cannot parse package config. ValidationError({'jobs': {5: {'packages': defaultdict(<class 'dict'>, {'container-selinux-centos': {'value': {'targets': ["Unknown key 'tf_extra_params' in {'tf_extra_params': {'environments': [{'artifacts': [{'type': 'repository-file', 'id': 'https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-9/rhcontainerbot-podman-next-centos-stream-9.repo'}]}]}}"]}}})}}})

For more info, please check out the documentation or contact the Packit team. You can also use our CLI command validate-config or our pre-commit hooks for validation of the configuration.

Failed to load packit config file:

Cannot parse package config. ValidationError({'jobs': {5: {'packages': defaultdict(<class 'dict'>, {'container-selinux-centos': {'value': {'targets': ["Unknown key 'tf_extra_params' in {'tf_extra_params': {'environments': [{'artifacts': [{'type': 'repository-file', 'id': 'https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-9/rhcontainerbot-podman-next-centos-stream-9.repo'}]}]}}"]}}})}}})

For more info, please check out the documentation or contact the Packit team. You can also use our CLI command validate-config or our pre-commit hooks for validation of the configuration.

Failed to load packit config file:

Cannot parse package config. ValidationError({'jobs': {5: {'packages': defaultdict(<class 'dict'>, {'container-selinux-centos': {'value': {'targets': ["Unknown key 'tf_extra_params' in {'tf_extra_params': {'environments': [{'artifacts': [{'type': 'repository-file', 'id': 'https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-9/rhcontainerbot-podman-next-centos-stream-9.repo'}]}]}}"]}}})}}})

For more info, please check out the documentation or contact the Packit team. You can also use our CLI command validate-config or our pre-commit hooks for validation of the configuration.

Tests failed. @containers/packit-build please check.

/packit retest

lsm5 avatar Jul 29 '24 18:07 lsm5

/packit test

lsm5 avatar Jul 29 '24 18:07 lsm5

I'll retry this in another PR. something seems off with c9s test here.

lsm5 avatar Jul 31 '24 18:07 lsm5