Project

General

Profile

Actions

Bug #63959

open

sha256sum mismatch for boost_1_82_0.tar.bz2 in Shaman builds

Added by Laura Flores 4 months ago. Updated 4 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
% Done:

0%

Source:
Tags:
backport_processed
Backport:
pacific quincy reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem

The boost jfrog mirror is broken and returns an HTML error page instead of the archive. The file size of this page is 11534 bytes.

When download_from() retries the download from download.ceph.com, the -c option tells it to resume the download of the existing file. The resulting boost_1_82_0.tar.bz2 ends up with the correct total file size of 121325129 bytes, but the first 11534 bytes still correspond to the HTML from jfrog. that causes the sha256sum mismatch.

How to reproduce

Steps:

  1. Trigger a build by pushing a branch to ceph-ci
  2. Observe the build fail in the "ceph-dev-new-setup" step in the Jenkins workflow: https://jenkins.ceph.com/job/ceph-dev-new-setup/

Time noticed / Event Window (in UTC)

Started happening about a day ago.

Actual results

~/ceph$ ./make-dist
...
2024-01-08 08:14:08 URL:https://landing.jfrog.com/reactivate-server/boostorg [11534/11534] -> "boost_1_82_0.tar.bz2" [1]            
Error: failed to download boost_1_82_0.tar.bz2: SHA256 mismatch.                                                                    
2024-01-08 08:14:13 URL:https://download.ceph.com/qa/boost_1_82_0.tar.bz2 [121325129/121325129] -> "boost_1_82_0.tar.bz2" [1]       
Error: failed to download boost_1_82_0.tar.bz2: SHA256 mismatch.                                                                    
Error: failed to download boost_1_82_0.tar.bz2.

~/ceph$ ls -l boost_1_82_0.tar.bz2 
-rw-rw-r-- 1 cbodley cbodley 121325129 Jun 23  2023 boost_1_82_0.tar.bz2

~/ceph$ sha256sum boost_1_82_0.tar.bz2 
c924dd5cf654a3e72e0d61138406f150c3c17cfab8bf9c120682d4c0e5338c44  boost_1_82_0.tar.bz2

~/ceph$ head -n 1 boost_1_82_0.tar.bz2 
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>JFrog Landing</title><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800&display=swap" rel="stylesheet"><script>VERSION = "2023.11.248";

Expected results

Successful download of boost.

Additional analysis

The fix involves removing the -c option so that wget fetches the archive in its entirety.


Related issues 3 (0 open3 closed)

Copied to Ceph - Backport #63963: pacific: sha256sum mismatch for boost_1_82_0.tar.bz2 in Shaman buildsResolvedCasey BodleyActions
Copied to Ceph - Backport #63964: reef: sha256sum mismatch for boost_1_82_0.tar.bz2 in Shaman buildsResolvedCasey BodleyActions
Copied to Ceph - Backport #63965: quincy: sha256sum mismatch for boost_1_82_0.tar.bz2 in Shaman buildsResolvedCasey BodleyActions
Actions

Also available in: Atom PDF