Disable one more test and clean up a bit.

I'm still trying to get a build through without failures related to
timeouts in the test code on the slowest build hosts.  The failures are
not consistent, which is what makes this so difficult.
This commit is contained in:
Jason Tibbitts 2017-06-06 11:19:27 -05:00
parent 07a932cada
commit ab4aa66f01

View File

@ -421,28 +421,27 @@ mkdir -p imaptest/src
ln -s /usr/bin/imaptest imaptest/src ln -s /usr/bin/imaptest imaptest/src
ln -s /usr/share/imaptest/tests imaptest/src ln -s /usr/share/imaptest/tests imaptest/src
# Build the syslog interposer; not currently working
# Build the syslog interposer #gcc -fPIC -shared -Wl,-soname,-libredirectsyslog.so.0 -ldl -o libredirectsyslog.so.0.0 redirect-syslog.c
gcc -fPIC -shared -Wl,-soname,-libredirectsyslog.so.0 -ldl -o libredirectsyslog.so.0.0 redirect-syslog.c
export LD_LIBRARY_PATH=%buildroot/%_libdir export LD_LIBRARY_PATH=%buildroot/%_libdir
export CYRUS_USER=$USER export CYRUS_USER=$USER
# Most Cassandane tests pass, but using snapshots includes new tests which # Construct the set of excluded tests to pass to Cassandane
# aren't supposed to pass on released versions of cyrus. So we have a big # ---------------------------------------------------------
# exclusion list.
# Note that Cassandane::Test::Core must always be excluded; it can't possibly # Note that Cassandane::Test::Core must always be excluded; it can't possibly
# work. The others are expected on 3.0.1 and should be removed and re-checked # work.
# at each release. # Upstream says that the Metronome tests won't be reliable on shared hardware
exclude=('!Cassandane::Test::Core') # and are more for testing system performance than for testing Cyrus itself.
exclude=('!Cassandane::Test::Core' '!Metronome')
# The below non-arch-specific excluded tests are expected to fail n 3.0.1 and
# should be removed and re-checked at each release.
tests=( tests=(
Admin.imap_admins Fetch.fetch_flags_before_exists Quota.num_folders_rename Admin.imap_admins Fetch.fetch_flags_before_exists Quota.num_folders_rename
SearchFuzzy.cjk_words SearchFuzzy.xattachmentname SearchFuzzy.cjk_words SearchFuzzy.xattachmentname
) )
for i in ${tests[@]}; do exclude+=("!$i"); done for i in ${tests[@]}; do exclude+=("!$i"); done
tests=( tests=(
creationids creationids
getcalendareventlist getcalendareventlist
@ -475,7 +474,6 @@ tests=(
setcalendarevents_simple setcalendarevents_simple
) )
for i in ${tests[@]}; do exclude+=("!JMAPCalendars.$i"); done for i in ${tests[@]}; do exclude+=("!JMAPCalendars.$i"); done
tests=( tests=(
getmessagelist_attachments getmessagelist_attachments
getmessagelist_window getmessagelist_window
@ -499,13 +497,18 @@ for i in ${tests[@]}; do exclude+=("!$i"); done
%endif %endif
%ifarch s390x %ifarch s390x
exclude+=("!Master.maxforkrate") # Our s390x hosts are too slow to complete this test properly # This one test fails occasionally on s390x because the hosts are just too slow
# to complete it. It's testing something valid (that the fork rate limiting
# settings work properly) but s399x can'f fork quickly enough to exceeed the
# limits it's testing.
exclude+=("!Master.maxforkrate")
%endif %endif
%ifarch i686 armv7hl %ifarch i686 armv7hl
# Some additional failures only on 32-bit machines. # Some additional failures only on 32-bit machines.
# 14 failures are due to Fedora's perl not supporting quad types in unpack. # 14 failures are due to Fedora's perl not supporting quad types in unpack.
# This is due to be fixed in rawhide soon, so some of these can go away. # This is due to be fixed in rawhide soon, so some of these can go away but
# only on rawhide, not F26.
tests=( tests=(
JMAPContacts.setcontacts_importance_later JMAPContacts.setcontacts_importance_later
Metadata.expunge_messages Metadata.expunge_messages
@ -630,6 +633,8 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
- Use proper path to ctl_mboxlist in cron file. - Use proper path to ctl_mboxlist in cron file.
- Add patch to increase individual test timeout. Sometimes armv7hl can't - Add patch to increase individual test timeout. Sometimes armv7hl can't
complete a single test in 20 seconds. complete a single test in 20 seconds.
- Disable the Metronome tests; upstream says that they just won't reliably on
shared hardware.
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0.1-4 * Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0.1-4
- Perl 5.26 rebuild - Perl 5.26 rebuild