cromwell icon indicating copy to clipboard operation
cromwell copied to clipboard

what are the reasons for "Could not copy a suitable cache hit"

Open gudeqing opened this issue 2 years ago • 1 comments

Hi, I am using cromwell-59.jar, and run in local backend mode.
Used command: java -Dconfig.file=cromwell.examples.conf -jar ~/softwares/cromwell-59.jar run example.wdl -i input_detail.json

however, when I try to re-run a successed workflow to validate the cache calling function, I got the following information that confused me. very much. Would you be kind to give me some ideas on what's going on?

a588e03e-a4fc-4809-b5f5-bb540cac9ca3-EngineJobExecutionActor-rnaseq_pipeline.fastp:NA:1 [UUID(a588e03e)]: Could not copy a suitable cache hit for a588e03e:rnaseq_pipeline.fastp:-1:1. No copy attempts were made.

following is the source code related I fetched, but still cannot understand it.

if (data.cacheHitFailureCount > 0) { val totalHits = data.cacheHitFailureCount val copyFails = data.failedCopyAttempts val blacklisted = totalHits - copyFails workflowLogger.info( s"Could not copy a suitable cache hit for $jobTag. " + s"EJEA attempted to copy $totalHits cache hits before failing. " + s"Of these $copyFails failed to copy and $blacklisted were already blacklisted from previous attempts). " + s"Falling back to running job." ) val template = s"BT-322 {} cache hit copying failure: {} failed copy attempts of maximum {} with {}." log.info(template, jobTag, data.failedCopyAttempts, callCachingParameters.maxFailedCopyAttempts, data.aggregatedHashString) } else { log.info(s"BT-322 {} cache hit copying nomatch: could not find a suitable cache hit.", jobTag) workflowLogger.info("Could not copy a suitable cache hit for {}. No copy attempts were made.", jobTag) }

gudeqing avatar Sep 03 '21 12:09 gudeqing

Hello @gudeqing May I know if you solve this problem or find out what's going on with this issue? I also encountered this, and have no idea about it. It would be really helpful if you can provide some suggestions.

Thanks~

hiiiyilingzhang avatar Aug 26 '22 01:08 hiiiyilingzhang

So sorry for the late response. To the best of my understanding, mysql database is needed to be configured to support the cache function.
cromwell_mysql.pdf

gudeqing avatar Oct 24 '22 16:10 gudeqing