galaxyproject / cargo-port

cache packages permanently
https://depot.galaxyproject.org/software/
MIT License
12 stars 34 forks source link

Bad hashes in log on jenkins #158

Closed epruesse closed 5 years ago

epruesse commented 5 years ago

https://jenkins.galaxyproject.org/job/cargo-port/lastBuild/console

E.g.

INFO:root:Mimetype of samtools/samtools_1.9_src_all.tar.bz2 is samtools/samtools_1.9_src_all.tar.bz2:   bzip2 compressed data , block size = 900k
ERROR:root:File has bad hash! Refusing to serve this to end users.
hexylena commented 5 years ago

Hi @epruesse,

Looks like something is wrong with the bioconda backup script. I'm not the author of that / not terribly familiar with its internals.

hexylena commented 5 years ago

It seems to be because the urls.tsv file produced by the bioconda is the wrong format, it is missing the hashes, so all verification fails after that.

hexylena commented 5 years ago

Hi @epruesse that seems to be a non-issue. The "bad hash" was from a 'dryrun' of the verifier. None of the hashes are present (I vaguely remember some discussion over this a long time ago with @bgruening) so the verifier complains. But there is nothing wrong with the packages. I've commented that out so the reports will be less confusing / full of "bad hash!"

epruesse commented 5 years ago

Thanks @erasche :)

I had just wanted to point it out. Logs like that have a tendency to remain ignored. Good to know everything is working as expected.