rpm-software-management / mock

Mock is a tool for a reproducible build of RPM packages.
GNU General Public License v2.0
386 stars 235 forks source link

Fix the Testing Farm testsuite #1405

Closed praiskup closed 4 months ago

praiskup commented 4 months ago

Mock has a build-in abstraction for in-bootstrap DNF version (or YUM), there's no need to check if DNF exists on host (this whole dropped test code comes from the pre-bootstrap era).

packit-as-a-service[bot] commented 4 months ago

We were not able to find or create Copr project packit/rpm-software-management-mock-1405 specified in the config with the following error:

Cannot create a new Copr project (owner=packit project=rpm-software-management-mock-1405 chroots=['fedora-40-x86_64', 'fedora-rawhide-x86_64']): Response is not in JSON format, there is probably a bug in the API code.

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
praiskup commented 4 months ago

The one that needs a fix is:

* FAILED: /tmp/tmp.xIhyeOkcoZ-mock-old-tests/mock/integration-tests/22-rootdir.tst

praiskup commented 4 months ago

Ready for merge:


*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/001-orphanskill-explicit.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/002-copyin.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/01-shell.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/02-argpassing.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/03-chroot-one-arg.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/04-offline-tmpfs.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/05-orphanskill-std.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/06-retcode.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/07-init-clean.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/08-oldstyle-cmd.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/09-mockchain-fail.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/10-mockchain-partial.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/11-mockchain-success.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/12-mockchain-recurse.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/13-mockchain-gen-br.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/14-mock-multiple.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/15-overlayfs-layers.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/16-spec-and-multiple-srpms-fail.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/17-spec-and-rebuild.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/18-spec-sources-and-rebuild.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/19-sign-plugin.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/20-lvm-plugin.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/21-mockchain-image.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/22-rootdir.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/23-local-mirrorlist.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/24-postinstall.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/25-postupdate-root-cache.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/26-external-deps.tst
*  PASSED: /tmp/tmp.w3I9VKoNCZ-mock-old-tests/mock/integration-tests/27-nspawn.tst