1. 24 Aug, 2020 2 commits
  2. 15 Aug, 2020 2 commits
    • Oliver Smith's avatar
      sourcehut: no TLS for downloading signed WIP pkgs · 920e6ce7
      Oliver Smith authored
      Since the bpo server has been moved from the old debian stretch host to
      the new alpine 3.12 one, and the server software was changed from apache
      to nginx, we saw a strange segfault on builds.sr.ht when running an
      aarch64 build_package job.
      
      After hours of debugging, I found that libfetch in apk crashes when
      downloading files from the WIP repo via HTTPS, if it runs in aarch64
      qemu user mode emulation. I could not reproduce this locally, but I
      could reproduce it on builds.sr.ht (the attaching via SSH to failed jobs
      feature made reproducing and debugging feasible). More specifically, it
      crashed as it called openssl's SSL_read().
      
      It does not seem like a good use of time to go down this rabbit hole
      further while backlog of other things is piling up. As workaround,
      let apk download these packages from the WIP repo via HTTP instead of
      HTTPS. This is still secure, because apk verifies the signature of the
      APKINDEX (signed with WIP repository key), and the checksum of each .apk
      package it downloads from the repository against the checksum stored in
      the APKINDEX.
      
      The sign_index job is still using HTTPS. It uses wget instead of
      apk+qemu to download a single, unsigned APKINDEX from the URL.
      
      Fixes: pmbootstrap#1958
      920e6ce7
    • Oliver Smith's avatar
      Revert "bpo.config.const.no_build_strict: add phosh" · 58d057af
      Oliver Smith authored
      This didn't change the result:
      pmbootstrap#1958 (comment 395050594)
      
      This reverts commit 083430ed.
      58d057af
  3. 13 Aug, 2020 6 commits
  4. 12 Aug, 2020 1 commit
  5. 11 Aug, 2020 3 commits
    • Oliver Smith's avatar
      test_remove_delete_package_SLOW: increase timeout · 89807872
      Oliver Smith authored
      Keeps failing on my machine with 20s timeout, increase to 40s.
      89807872
    • Oliver Smith's avatar
      bpo.repo: repo with running build is incomplete · f81fb6af
      Oliver Smith authored
      Replace count_failed_builds() with has_unfinished_builds(). Instead of
      counting failed builds, return True if there is any package for the
      given arch and branch in the status failed _or_building_.
      
      This resolves a corner case, where bpo would fail to initialize if
      * a build for arch/branch is still running
      * all other packages of arch/branch can't be built
      
      Add a test for that case.
      f81fb6af
    • Oliver Smith's avatar
      bpo.repo.build_arch_branch: s/running/started/g · e168e8f1
      Oliver Smith authored
      The variable that is eventually returned does not indicate the currently
      running jobs, but the ones that were started in this function. Name the
      variable appropriately.
      e168e8f1
  6. 03 Aug, 2020 2 commits
  7. 30 Jul, 2020 1 commit
    • Oliver Smith's avatar
      bpo.repo.status.fix: fix iterate over all arches · 903cdd6d
      Oliver Smith authored
      Use a different name for the arch variable passed to the function
      (limit_arch), so it does not get overwritten by the loop iterator of the
      same name. Rename the branch function argument to limit_branch for
      consistency.
      
      This bug has caused bpo.repo.status.fix to only iterate over the armv7
      arch of the master branch with the current config:
      - it would iterate over v20.05 branch with arches x86_64, aarch64, armv7
      - while doing that, it would overwrite arch with the current iterator
      - the last one would be armv7
      - it would iterate over master branch with only the armv7 arch instead
        of using all available arches from the config
      903cdd6d
  8. 22 Jul, 2020 1 commit
  9. 21 Jul, 2020 1 commit
  10. 09 Jul, 2020 1 commit
  11. 26 May, 2020 1 commit
  12. 22 May, 2020 1 commit
  13. 18 May, 2020 1 commit
  14. 17 May, 2020 17 commits