Hello,

I have noticed that the checker-emailer job doesn't send an email even when 
there is "Checksum comparison result : Checksum_no_match" in the checker.log 
file produced by the checker job.


What I have done to check the checker-emailer job :
- add the last (Jan 19, 2017) ResultsPruner.java to module in the source to 
avoid checksum checker error DS-3445 ( 
https://jira.duraspace.org/browse/DS-3445 )
- change the content of a bitsream in the assetstore to generate a checksum 
error
- run the checker job : \bin\dspace checker -d2m -p
The checksum error is written in the table most_recent_checksum in the database 
and in the checker.log report :
Bitstream ID: 74b60b6a-fc05-44df-aaa0-d03d77498ed4
Bitstream info found: false
Bitstream marked deleted: false
Bitstream found: true
To be processed: true
Previous checksum: 8a4605be74aa9ea9d79846c1fba20a33
Previous checksum date: 04/24/2017 10:29:31
New checksum: 12e7f0848be8f151c154d0000e5787f6
Checksum comparison result: CHECKSUM_NO_MATCH

- run the the checker-emailer job : \bin\dspace checker-emailer
No error but no email sent.
- When I add debug messages in DailyReportEmailer.java , I notice that 
numBitstreams stay null in if ((line.hasOption("a")) || 
(line.getOptions().length == 0)) so the bitstream with CHECKSUM_NO_MATCH is 
ignored. Because numberOfBitstreams is null, SendReport d'oesn't try to send an 
email.


I have also noticed a strange thing with the checker job.
When I delete a bitstream in the assetstore, the checker still return, in 
checker.log report and in most_recent_checksum table, Checksum comparison 
result: CHECKSUM_MATCH but with Bitstream found: false :

Bitstream ID: 1490b3b2-9490-4ac2-9c04-85c50bc4b314
Bitstream info found: false
Bitstream marked deleted: false
Bitstream found: false
To be processed: true
...
Previous checksum: 0455e45403ef7697b678166859f481aa
Previous checksum date: 04/24/2017 10:58:44
New checksum: 0455e45403ef7697b678166859f481aa
Checksum comparison result: CHECKSUM_MATCH

Problem with my installation or problem with checker-emailer and checker job ?

Best regards,
Cedric



-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to