Stephan Erb created AURORA-1961:
-----------------------------------
Summary: Aurora build is flaky
Key: AURORA-1961
URL: https://issues.apache.org/jira/browse/AURORA-1961
Project: Aurora
Issue Type: Bug
Reporter: Stephan Erb
The current Aurora build is flaky. This is causing unnecessary headache for our
contributors.
*Affected patches right now:*
* https://reviews.apache.org/r/64341/ by [~jingc]
* https://reviews.apache.org/r/64290/ by [~jsirois]
*Observed issues:*
a) Build prints hundreds of lines of spotbugs output rather than capping it at
40 lines as configured in Jenkins.
{code}
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
{code}
There is an [upstream issue|https://github.com/spotbugs/spotbugs/issues/506]
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|https://github.com/apache/aurora/commit/ef24c2ce355e857c4fcce531b4f16028a6c6e75d]
does not seem to work
{code}
org.apache.aurora.scheduler.events.WebhookTest >
testTaskChangedWithOldStateError FAILED
java.lang.AssertionError at WebhookTest.java:193
{code}
c) Kerberos development header missing on some build slaces
{code}
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)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)