azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

systemd: fix ptest build

Open rakshaa2000 opened this issue 3 years ago • 1 comments

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • [x] The toolchain has been rebuilt successfully (or no changes were made to it)
  • [x] The toolchain/worker package manifests are up-to-date
  • [x] Any updated packages successfully build (or no packages were changed)
  • [x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • [x] All package sources are available
  • [x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • [x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • [x] All source files have up-to-date hashes in the *.signatures.json files
  • [x] sudo make go-tidy-all and sudo make go-test-coverage pass
  • [x] Documentation has been updated to match any changes to the build system
  • [x] Ready to merge

Summary

What does the PR accomplish, why was it needed? Fixes 23 systemd p-test failures, skips 5 tests

Change Log
  • Add BR: dbus, mariner-release, tzdata, sudo to systemd.spec
  • Generate machine-id using dbus-uuidgen
  • Set UTF8 encoding in %check section of systemd.spec
  • Include patch testsskipped.patch to skip test-mountpoint-util, test-mount-util, test-fileio, test-fd-util, and test-repart
Does this affect the toolchain?

NO

Associated issues
  • NA
Links to CVEs
  • NA
Test Methodology
  • Local build with RUN_CHECK=y

rakshaa2000 avatar Aug 01 '22 06:08 rakshaa2000

CLA assistant check
All CLA requirements met.

ghost avatar Aug 01 '22 06:08 ghost