phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The srsRAN Project's new repo name breaks download checksums

tad4 opened this issue · comments

commented

Dear @michaellarabel:

The srsRAN repo hosted on GitHub was recently renamed to srsRAN_4G;

  • Changing the repo name has changed the root folder name GitHub uses when serving downloads for releases.
  • As a result, downloads of source code releases for srsran-1.x test profiles will fail to pass PTS' checksum verification.

One potential fix for this issue would be to reresh the download checksums in the srsran-1.x profiles. Please let me know how you'd like to proceed on this issue.

Steps to reproduce

# Backup download cache (if present)
mkdir "${HOME}/.phoronix-test-suite/download-cache/srsRAN-release-backup"
mv "${HOME}/.phoronix-test-suite/download-cache/srsRAN-release_*.tar.gz" "${HOME}/.phoronix-test-suite/download-cache/srsRAN-release-backup"

# Backup previous downloads (if any)
mv "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.0.1/srsRAN-release_21_04.tar.gz" "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.0.1/srsRAN-release_21_04.tar.gz.bak"
mv "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.1.0/srsRAN-release_21_10.tar.gz" "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.1.0/srsRAN-release_21_10.tar.gz.bak"
mv "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.2.0/srsRAN-release_22_04_1.tar.gz" "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.2.0/srsRAN-release_22_04_1.tar.gz.bak"

phoronix-test-suite force-install srsran-1.0.1 srsran-1.1.0 srsran-1.2.0

What changed in the download files?

Changing the GitHub repo name from srsRAN to srsRAN_4G changes the root folder name used by GitHub when serving source code archive files on the project's release page—e.g., the root file folder of the tar'ed source code for release 22.04.1 changes from /srsRAN-release_22_04_1 to /srsRAN_4G-release_22_04_1.

  • URLs that use the old repo name are redirected by GitHub.
  • Checksum of downloads are different as folder names in the archive files has changed.
commented

Finally had time to implement changes that reflect the upstream repo name change. Please see #280. Ty!