Hi, I will start by explaining how Artifactory manages checksums.
For each artifact, Artifactory stores the real (server calculated) checksum
and the original (client) checksum.
The client checksum is either deployed to local repositories (during maven
deploy or a UI deployment) or downloaded
from a remote repository.
On local repositories the checksum policy determines which checksum value to
return -
"Verify against client checksums" - will return the client deployed
checksum, might return 404 if client checksum is not deployed (or not
imported)
"Trust server generated checksums" - will return the server generated
checksums, will never return 404 if the file exists

In version 2.0.7, local repositories always returned the server calculated
checksums.

Is this artifact deployed to a local repository? If you change the policy to
server generated checksum, do you still see this warning?
Please also execute the following command to print the client and server
checksums:
curl -H "Accept:application/vnd.org.jfrog.artifactory.storage.FileInfo+json"
-X GET http://
{SERVER_URL}/artifactory/api/storage/{REPOSITORY_KEY}/org/apache/maven/shared/maven-
>
> osgi/0.2.0/maven-osgi-0.2.0.jar


Are the client checksums empty (they are under "originalChecksums")?

Yossi


On Mon, Apr 12, 2010 at 4:17 PM, fmt <[email protected]> wrote:

>
> Hi,
>
> I just upgraded our artifactory from 2.0.7 to 2.2.2.
> Everything worked fine and I'm very pleased of the enhancements of the new
> version.
>
> The only thing bothering me is that during a maven build, the artifacts are
> downloaded well, but I get checksum errors for some files. These warnings
> were not present with artifactory-2.0.7.
> E.g.: [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.jar - IGNORING
>
> There is no proxy between me and artifactory and no proxy specified in the
> maven config file.
> I tried to export all the artifacts, delete the repository and then import
> them back. I still get the same errors for the same artifacts. I'd like to
> know if there is a real problem with the download or if artifactory is
> bugged somewhere.
>
> The repository is configured with the option "Verify against client
> checksums (default)" but I think this option is only when there is a
> deployment on the artifactory server ? BTW I tried to deploy something and
> it worked well.
>
> Please tell me if you need more informations.
>
> Thanks in advance,
> Regards,
> Fmt
> --
> View this message in context:
> http://n2.nabble.com/Checksum-errors-when-downloading-artifacts-from-artifactory-2-2-2-tp4889968p4889968.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to