source: issm/oecreview/Archive/24684-25833/ISSM-25300-25301.diff

Last change on this file was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 5.6 KB
  • ../trunk-jpl/packagers/linux/package-issm-linux-binaries-solid_earth.sh

     
    9696
    9797# Check that MATLAB did not exit in error
    9898matlabExitCode=`echo $?`
    99 matlabExitedInError=`grep -E "Activation cannot proceed|license|Error" matlab.log | wc -l`
     99matlabExitedInError=`grep -E "Error|Standard exception|Traceback|bad interpreter" matlab.log | wc -l`
    100100
    101101if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then
    102102        echo "----------MATLAB exited in error!----------"
  • ../trunk-jpl/packagers/linux/package-issm-linux-binaries-with_dakota.sh

     
    106106
    107107# Check that Python did not exit in error
    108108pythonExitCode=`echo $?`
    109 pythonExitedInError=`grep -E "Error|Traceback|bad interpreter" python.log | wc -l`
     109pythonExitedInError=`grep -E "Error|Standard exception|Traceback|bad interpreter" python.log | wc -l`
    110110
    111111if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
    112112        echo "----------Python exited in error!----------"
  • ../trunk-jpl/packagers/mac/package-issm-mac-binaries-solid_earth.sh

     
    126126
    127127# Check that Python did not exit in error
    128128pythonExitCode=`echo $?`
    129 pythonExitedInError=`grep -E "Error|Traceback|bad interpreter" python.log | wc -l`
     129pythonExitedInError=`grep -E "Error|Standard exception|Traceback|bad interpreter" python.log | wc -l`
    130130
    131131if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
    132132        echo "----------Python exited in error!----------"
  • ../trunk-jpl/packagers/mac/package-issm-mac-binaries-with_dakota.sh

     
    100100
    101101# Check that Python did not exit in error
    102102pythonExitCode=`echo $?`
    103 pythonExitedInError=`grep -E "Error|Traceback|bad interpreter" python.log | wc -l`
     103pythonExitedInError=`grep -E "Error|Standard exception|Traceback|bad interpreter" python.log | wc -l`
    104104
    105105if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
    106106        echo "----------Python exited in error!----------"
  • ../trunk-jpl/jenkins/jenkins.sh

     
    574574        done
    575575
    576576        # Check that Python did not exit in error
    577         pythonExitedInError=`grep -E "Error|Traceback|bad interpreter" python_log.log | wc -l`
     577        pythonExitedInError=`grep -E "Error|Standard exception|Traceback|bad interpreter" python_log.log | wc -l`
    578578
    579579        if [ $pythonExitedInError -ne 0 ]
    580580        then
  • ../trunk-jpl/test/NightlyRun/runme.py

     
    6060            runme(id = [[101, 102], ['Dakota', 'Slr']])
    6161
    6262        TODO:
    63         - At '#disp test result', make sure precision of output matches
     63        - At '#disp test result', make sure precision of output matches that of
     64        MATLAB.
     65        - Check for failures that do not raise exceptions (for example, 'Standard exception'; see also jenkins/jenkins.sh). These should be counted as failures.
    6466        """
    6567    #Get ISSM_DIR variable
    6668    ISSM_DIR = os.environ['ISSM_DIR']
     
    200202                            print(('ERROR   difference: {:7.2g} > {:7.2g} test id: {} test name: {} field: {}'.format(error_diff, tolerance, id, id_string, fieldname)))
    201203                            errorcount += 1
    202204                            erroredtest_list.append(id)
     205                        elif :
     206                            print('FAILURE')
    203207                        else:
    204208                            print(('SUCCESS difference: {:7.2g} < {:7.2g} test id: {} test name: {} field: {}'.format(error_diff, tolerance, id, id_string, fieldname)))
    205209
  • ../trunk-jpl/src/m/solve/WriteData.py

     
    3939    #               data = full(data)
    4040    #       end
    4141
    42     # Always make a copy of the the data so that we do not accidently overwrite
    43     # any model fields.
    44     data = deepcopy(data)
     42    # Make a copy of the the data so that we do not accidently overwrite any
     43    # model fields.
     44    #
     45    # NOTE: This is a temporary fix to get builds green in Jenkins: without it,
     46    #       there still exists a bug wherein model fields are being modified
     47    #       (see https://ross.ics.uci.edu/jenkins/view/All/job/Debian_Linux-Python/1036).
     48    #
     49    if mattype != 0:
     50        data = deepcopy(data)
    4551
    4652    #Scale data if necesarry
    4753    if options.exist('scale'):
Note: See TracBrowser for help on using the repository browser.