Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1961

Aurora build is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The current Aurora build is flaky. This is causing unnecessary headache for our contributors.

      Affected patches right now:

      Observed issues:

      a) Build prints hundreds of lines of spotbugs output rather than capping it at 40 lines as configured in Jenkins.

      Pass 2: Analyzing classes (0 / 59) - 00% complete
      Pass 2: Analyzing classes (1 / 59) - 01% complete
      Pass 2: Analyzing classes (2 / 59) - 03% complete
      Pass 2: Analyzing classes (3 / 59) - 05% complete
      

      There is an upstream issue mean to reduce the output itself. In any case, our build script should properly tail only the last lines of it.

      b) Failing webhooks test. The attempted fix does not seem to work

      org.apache.aurora.scheduler.events.WebhookTest > testTaskChangedWithOldStateError FAILED
          java.lang.AssertionError at WebhookTest.java:193
      

      c) Kerberos development header missing on some build slaces

                         Invalidated 1 target.**** Failed to install pykerberos-1.1.14 (caused by: NonZeroExit("received exit code 1 during execution of `[u'/usr/bin/python2.7', '-', 'bdist_wheel', '--dist-dir=/tmp/tmpoky0pr']` while trying to execute `[u'/usr/bin/python2.7', '-', 'bdist_wheel', '--dist-dir=/tmp/tmpoky0pr']`",)
      ):
      stdout:
      running bdist_wheel
      running build
      running build_ext
      building 'kerberos' extension
      creating build
      creating build/temp.linux-x86_64-2.7
      creating build/temp.linux-x86_64-2.7/src
      x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/kerberos.c -o build/temp.linux-x86_64-2.7/src/kerberos.o
      
      stderr:
      In file included from src/kerberos.c:19:0:
      src/kerberosbasic.h:17:27: fatal error: gssapi/gssapi.h: No such file or directory
      compilation terminated.
      error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
      
      
      
      07:19:10 00:02   [complete]
                     FAILURE
      Exception caught: (<class 'pex.resolver.Untranslateable'>)
      
      Exception message: Package SourcePackage(u'file:///home/jenkins/jenkins-slave/workspace/AuroraBot/.pants.d/python-setup/resolved_requirements/CPython-2.7.12/pykerberos-1.1.14.tar.gz') is not translateable by ChainedTranslator(WheelTranslator, EggTranslator, SourceTranslator)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            StephanErb Stephan Erb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: