Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-3889

Multi-threaded matplotlib test issue in meas_algorithms

    Details

    • Templates:
    • Story Points:
      0.125
    • Team:
      SQuaRE

      Description

      A rare failure of matplotlib in meas_algorithms:

      [ 59/71 ]  meas_algorithms 11.0.rc2-1-gc0593fd+6 ...
       
      ***** error: from /home/vagrant/stack/EupsBuildDir/Linux64/meas_algorithms-11.0.rc2-1-gc0593fd+6/build.log:
          import matplotlib.colorbar
        File "/home/vagrant/stack/Linux64/anaconda/2.2.0/lib/python2.7/site-packages/matplotlib/colorbar.py", line 36, in <module>
          import matplotlib.contour as contour
        File "/home/vagrant/stack/Linux64/anaconda/2.2.0/lib/python2.7/site-packages/matplotlib/contour.py", line 27, in <module>
          import matplotlib.texmanager as texmanager
        File "/home/vagrant/stack/Linux64/anaconda/2.2.0/lib/python2.7/site-packages/matplotlib/texmanager.py", line 89, in <module>
          class TexManager:
        File "/home/vagrant/stack/Linux64/anaconda/2.2.0/lib/python2.7/site-packages/matplotlib/texmanager.py", line 124, in TexManager
          mkdirs(texcache)
        File "/home/vagrant/stack/Linux64/anaconda/2.2.0/lib/python2.7/site-packages/matplotlib/cbook.py", line 1003, in mkdirs
          os.makedirs(thispart, mode)
        File "/home/vagrant/stack/Linux64/anaconda/2.2.0/lib/python2.7/os.py", line 157, in makedirs
          mkdir(name, mode)
      OSError: [Errno 17] File exists: '/tmp/matplotlib-vagrant'
      The following tests failed:
      /home/vagrant/stack/EupsBuildDir/Linux64/meas_algorithms-11.0.rc2-1-gc0593fd+6/meas_algorithms-11.0.rc2-1-gc0593fd+6/tests/.tests/psfSelectTest.py.failed
      1 tests failed
      

      This is a race between multiple matplotlib processes trying to create a directory tree.

      matplotlib upstream has been notified in https://github.com/matplotlib/matplotlib/issues/2046

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhoblitt Joshua Hoblitt
                Reporter:
                tjenness Tim Jenness
                Watchers:
                Frossie Economou, Joshua Hoblitt, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel