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

flake8 line length checking is catching shebangs

    Details

    • Type: Story
    • Status: Done
    • Priority: Undefined
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: sconsUtils
    • Labels:
      None
    • Templates:
    • 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

          Container Issues

            Issue Links

              Activity

                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:

                    Summary Panel