Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1627

Remove error from log "Could not validate integrity of download from file"

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.11
    • Fix Version/s: None
    • Component/s: Extension
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      We get a lot of these errors, especially in tests. AFAIR you also get it when you use your local Maven repo as the extension repository.

      For example from the org.xwiki.test.ui.repository.RepositoryTest output:

      parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=maven%3Aextension&repositoryId=maven-test] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from file:/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master/xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-test/xwiki-platform-repository-test-tests/target/test-1557134044500/maven/maven/extension/maven-metadata.xml: Checksum validation failed, no checksums available  
      2019-05-06 11:16:37,752 [Exec Stream Pumper] - 2019-05-06 11:16:37,752 [http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension?parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=maven%3Aextension&repositoryId=maven-test] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from file:/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master/xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-test/xwiki-platform-repository-test-tests/target/test-1557134044500/maven/maven/extension/2.0/extension-2.0.pom: Checksum validation failed, no checksums available  
      2019-05-06 11:16:37,791 [Exec Stream Pumper] - 2019-05-06 11:16:37,791 [http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension?parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=maven%3Aextension&repositoryId=maven-test] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from file:/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master/xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-test/xwiki-platform-repository-test-tests/target/test-1557134044500/maven/maven/oldextension/maven-metadata.xml: Checksum validation failed, no checksums available  
      2019-05-06 11:16:37,794 [Exec Stream Pumper] - 2019-05-06 11:16:37,794 [http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension?parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=maven%3Aextension&repositoryId=maven-test] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from file:/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master/xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-test/xwiki-platform-repository-test-tests/target/test-1557134044500/maven/maven/oldversionnedextension/maven-metadata.xml: Checksum validation failed, no checksums available  
      2019-05-06 11:16:37,819 [Exec Stream Pumper] - 2019-05-06 11:16:37,819 [http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension?parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=maven%3Aextension&repositoryId=maven-test] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from file:/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master/xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-test/xwiki-platform-repository-test-tests/target/test-1557134044500/maven/maven/oldextension/0.9/oldextension-0.9.pom: Checksum validation failed, no checksums available  
      2019-05-06 11:16:37,824 [Exec Stream Pumper] - 2019-05-06 11:16:37,824 [http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension?parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=maven%3Aextension&repositoryId=maven-test] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from file:/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master/xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-test/xwiki-platform-repository-test-tests/target/test-1557134044500/maven/maven/oldversionnedextension/10.0/oldversionnedextension-10.0.pom: Checksum validation failed, no checksums available  
      2019-05-06 11:16:37,829 [Exec Stream Pumper] - 2019-05-06 11:16:37,828 [http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension?parent=Extension.WebHome&template=ExtensionCode.ExtensionTemplate&importExtension=true&extensionId=maven%3Aextension&repositoryId=maven-test] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from file:/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master/xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-test/xwiki-platform-repository-test-tests/target/test-1557134044500/maven/maven/extension/1.0/extension-1.0.pom: Checksum validation failed, no checksums available 
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: