# These are fakes due to printout of the current message level
ignore'Output level\s*=.*'
ignore'LOGLEVEL.*=.*'
# Ignore message count summary from MessageSvc
ignore'.*?\|\s*WARNING\s*\|.*'
ignore'.*?\|\s*ERROR\s*\|.*'
ignore'.*?\|\s*FATAL\s*\|.*'
# This is really a warning
ignore'IOVSvc\s+WARNING setRange\(CLID,key,range\) for unregistered proxies is deprecated'
# this concerns file names
ignore'PoolSvc + WARNING Do not allow this ERROR to propagate to physics jobs.'
# For HelloWorld test
ignore'HelloWorld\s*FATAL A FATAL error message'
ignore'HelloWorld\s*ERROR An ERROR message'
ignore'HelloWorld\s*WARNING A WARNING message'
# Ignore other messages that contain the string "ERROR"
ignore'.*VERBOSE.*ERROR.*'
ignore'.*DEBUG.*ERROR.*'
ignore'.*INFO.*ERROR.*'
# Ignore error string in histogram names
ignore'.*Histograms.*ERROR.*'
# Ignore some printouts from ERS
ignore'.*L2PSC_ERROR_UNCLASSIFIED.*'
# Ignores for warning checks
ignore'.*EventLoopMgr.*WARNING Run number changed from'
# Ignore warning from histmon (bug #48797, bug #88042)
ignore'.*was caused by: ERROR.*The object "RunParams" of the "is/repository" type is not published'
ignore'.*was caused by: ERROR.*Partition "athena_mon" does not exist'
ignore'.*was caused by: ERROR.*ipc::util::resolveInitialReference.* Can not open.*'
# Ignore error/warning from athenaMT/PT
ignore'.*WARNING\s*Could not configure the user command server.*'
ignore'.*WARNING\s*The hlt command server will not be available.*'
# Ignore some ipcproxyicp plugin erros
ignore'ERROR.*Loading of the.*ipcproxyicp.*unknown exception in the plugin constructor'
# Ignore warning and error messages
ignore'WARNING\s*[void EventStorage::DataWriter::openNextFile(...) at EventStorage/src/DataWriter.cxx:*] EventStorage writing problem: found an existing file with name.*'
ignore'WARNING\s*[void EventStorage::DataWriter::openNextFile(...) at EventStorage/src/DataWriter.cxx:*] EventStorage writing problem: increase file number to.*'
ignore'HistogramPersistencySvc\s*WARNING Histograms saving not required.*'
ignore'.*ERROR (pool):.*'
ignore'^.ERROR (pool):.$'
ignore'WARNING\s*The property JobProperties.Rec.Trigger.doLVL2 is being unlocked'
ignore'WARNING\s*The property JobProperties.Rec.Trigger.doEF is being unlocked'
# bug 90593
ignore'.*wrong interface id IID_3596816672 for service JobIDSvc.*'
# did athena finish okay? ( it would be nice to also have the athena status code)
#
#egrep " ERROR "\|" FATAL"\|" CRITICAL"\|"^Exception:"\|"Traceback"\|"Shortened traceback"\|"stack trace"\|"^Algorithm stack:"\|".IncludeError"\|"inconsistent use of tabs and spaces in indentation" atn_test.log &> /dev/null
# egrep " ERROR "\|" FATAL"\|" CRITICAL"\|"^Exception:"\|"Traceback"\|"Shortened traceback"\|"stack trace"\|"^Algorithm stack:"\|".IncludeError"\|"inconsistent use of tabs and spaces in indentation" atn_test.log
fi
#
# how big is the output file
#
outputRaw=`readlink-f$1`
size=`ls-s$outputRaw | awk'{print $1}'`
# make sure file is atleat 1 MB (1000kB)
if[[$size-gt 1000 ]]
then
echo"File looks size okay: $size"
ls-l$outputRaw
else
echo"File too small, not copied, $size"
ls-l$outputRaw
fi
### override prevention when not running in AtlasP1HLT