Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-1040

rpm autobake major upgrade - wget test of EOL distros incorrect

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • BB V1.06
    • BB V1.07
    • Buildbot
    • None

    Description

      https://buildbot.mariadb.org/#/builders/688/builds/720/steps/4/logs/stdio

      + wget -q --spider https://rpm.mariadb.org/10.10/fedora40-aarch64
      INFO: setup MariaDB repository for 10.10 branch
      + baseurl=https://rpm.mariadb.org/10.10/fedora40-aarch64
      

      10.10 is EOL and no longer on the rpm mirror.

      $  wget  --spider --server-response --max-redirect=10    https://rpm.mariadb.org/10.10/fedora40-aarch64
      [0] Checking 'https://rpm.mariadb.org/10.10/fedora40-aarch64' ...
      HTTP response 301 Moved Permanently [https://rpm.mariadb.org/10.10/fedora40-aarch64]
      (null) 100% [========================================================================================================================>]     242     --.-KB/s
                                [Headers: 1 (1 redirects & 0 errors) Bytes: 0  [0 B/s] Todo: 0                                                            ]
      (base) 
      ~/repos/build-mariadb-server-10.11 
      $ echo $?
      0
      

      wget --spider is the wrong way to test this as it a non-fail on the 302 redirect.

      Correct using:

      $  wget  --quiet --method=HEAD    https://rpm.mariadb.org/10.10/fedora40-aarch64
      $ echo $?
      8
      

      Attachments

        Activity

          People

            faust Faustin Lammler
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1h
                1h