Issue #960
closedNectar - Issue #1210: ConnectionError - BadStatusLine during repo sync
Sync sometimes fetches partial files
Description
Rephrased from a downstream bug...
If you sync ~50GB of packages (RHEL 6 + RHEV 3.5)
- on some runs, everything syncs successfully, yet it's fairly common to see a sync error in the RHEVM repo.
- I've seen errors with the below packages this week:
jasperreports-server-pro, "expected_size"=>473115020, "actual_size"=>312700
rhev-guest-tools-iso, 'expected_size': 261383164, 'actual_size': 88080384
- a re-sync is successful
Example error:
{"expected_size"=>119814460,
"error_code"=>"size_mismatch",
"actual_size"=>1110812,
"unit_key"=>
{"name"=>"rhevm-webadmin-portal",
"checksum"=>"fbfa34e6cf6dc4259bc02dacb41c9a40cf88e3cf",
"epoch"=>"0",
"version"=>"3.5.0",
"release"=>"0.32.el6ev",
"arch"=>"noarch",
"checksumtype"=>"sha1"}}
So somehow it looks like a download is not failing during the transfer when it probably should. It finishes getting an HTTP response, tries to validate the file it got, and the file is too small. If the transfer were interrupted, I would expect to see a connection error of some kind.
Updated by ipanova@redhat.com over 9 years ago
- Status changed from NEW to CLOSED - DUPLICATE
- Parent issue set to #1210
I think this a dup of #1210