4 FEBOOTSTRAP_PATH=$HOME/d/febootstrap
5 MAILTO=libguestfs@redhat.com
6 HOSTNAME="$(hostname -s)"
8 #----------------------------------------------------------------------
13 mail -s "$HOSTNAME $PROJECT FAILED $1 $gitsha" $MAILTO < local-log
18 mail -s "$HOSTNAME $PROJECT success $gitsha" $MAILTO < local-log
21 #----------------------------------------------------------------------
26 # Make sure we build and test against latest febootstrap.
27 PATH=$FEBOOTSTRAP_PATH:$FEBOOTSTRAP_PATH/helper:$PATH
29 # Remove any old cache directories.
30 rm -rf /tmp/guestfs.* ||:
35 This is an automatic message generated by the builder on
36 $HOSTNAME for $PROJECT. Log files from the build
45 exec >> local-log 2>&1
47 # Pull from the public repo so that we don't need ssh-agent.
48 git pull --rebase git://git.annexia.org/git/libguestfs.git master
51 # The git version we are building.
52 gitsha=$(git log|head -1|awk '{print $2}')
54 # Do the configure step.
56 ./autogen.sh --enable-gcc-warnings || {
57 failed "configure step"
69 # Tests that are skipped (note that these tests should be fixed).
72 # get_e2uuid: /dev/vdc: [no error message]
73 # get_e2label: /dev/vda1: [no error message]
74 # Diagnosis: either mkjournal is not writing a UUID or blkid is
75 # unable to pick it up.
76 export SKIP_TEST_GET_E2UUID=1
77 export SKIP_TEST_SET_E2UUID=1
78 export SKIP_TEST_SET_E2LABEL=1
81 # device-mapper: ioctl: unable to remove open device temporary-cryptsetup-661
82 # device-mapper: remove ioctl failed: Device or resource busy
83 # guestfsd: error: Device lukstest is busy.
84 # Diagnosis: appears to be a bug in cryptsetup on Ubuntu.
85 # https://bugzilla.redhat.com/show_bug.cgi?id=527056
86 export SKIP_TEST_LUKS_SH=1