Project

Profile

Help

Issue #8357

Updated by daviddavis over 3 years ago

Run this code: 

 ``` 
 #!/bin/bash 

 set -ev 

 repo_name="repo$RANDOM" 
 remote_name="remote$RANDOM" 
 url="https://fixtures.pulpproject.org/file-invalid/PULP_MANIFEST" 

 pulp file remote create --name $remote_name --url $url 
 pulp file repository create --name $repo_name --remote $remote_name 
 pulp file repository sync --name $repo_name 
 ``` 

 It'll error and you'll get a stack trace (`pulpcore.exceptions.validation.DigestValidationError: A file failed validation due to checksum.`). However, but it doesn't tell you much information like what the problematic file is.

Back