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

flake8 line length checking is catching shebangs

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: sconsUtils
    • Labels:
      None
    • Team:
      Architecture

      Description

      The nightly release build is failing on OSX with the error below. This appears to be due to flake8 line length checking catching constructed shebangs.

      =================================== FAILURES ===================================
      _____________ FLAKE8-check(ignoring E133 E226 E228 N802 N803 N806) _____________
      [gw3] darwin -- Python 3.5.2 /Users/square/jenkins/workspace/release/tarball/osx/10.9/clang-800.0.42.1/miniconda3-4.2.12-7c8e67/build/python/miniconda3-4.2.12/bin/python
      /Users/square/jenkins/workspace/release/tarball/osx/10.9/clang-800.0.42.1/miniconda3-4.2.12-7c8e67/build/stack/miniconda3-4.2.12-7c8e67/EupsBuildDir/DarwinX86/pex_policy-13.0-2-g4b114ac/pex_policy-13.0-2-g4b114ac/bin/validate.py:1:111: E501 line too long (142 > 110 characters)
       
      ===================== 1 failed, 83 passed in 3.66 seconds ======================
      Global pytest run: failed
      Failed test output:
      Global pytest output is in /Users/square/jenkins/workspace/release/tarball/osx/10.9/clang-800.0.42.1/miniconda3-4.2.12-7c8e67/build/stack/miniconda3-4.2.12-7c8e67/EupsBuildDir/DarwinX86/pex_policy-13.0-2-g4b114ac/pex_policy-13.0-2-g4b114ac/tests/.tests/pytest-pex_policy.xml.failed
      The following tests failed:
      /Users/square/jenkins/workspace/release/tarball/osx/10.9/clang-800.0.42.1/miniconda3-4.2.12-7c8e67/build/stack/miniconda3-4.2.12-7c8e67/EupsBuildDir/DarwinX86/pex_policy-13.0-2-g4b114ac/pex_policy-13.0-2-g4b114ac/tests/.tests/pytest-pex_policy.xml.failed
      1 tests failed
      scons: *** [checkTestStatus] Error 1
      scons: building terminated because of errors.
      + exit -4
      

        Attachments

          Issue Links

            Activity

            jhoblitt Joshua Hoblitt created issue -
            jhoblitt Joshua Hoblitt made changes -
            Field Original Value New Value
            Link This issue is triggered by DM-11777 [ DM-11777 ]
            jhoblitt Joshua Hoblitt made changes -
            Link This issue is triggering DM-11782 [ DM-11782 ]
            tjenness Tim Jenness made changes -
            Reviewers Joshua Hoblitt [ jhoblitt ]
            Status To Do [ 10001 ] In Review [ 10004 ]
            jhoblitt Joshua Hoblitt made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            tjenness Tim Jenness made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]

              People

              Assignee:
              tjenness Tim Jenness
              Reporter:
              jhoblitt Joshua Hoblitt
              Reviewers:
              Joshua Hoblitt
              Watchers:
              Joshua Hoblitt, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: