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"
67 # Tests that are skipped (note that these tests should be fixed).
70 # get_e2uuid: /dev/vdc: [no error message]
71 # get_e2label: /dev/vda1: [no error message]
72 # Diagnosis: either mkjournal is not writing a UUID or blkid is
73 # unable to pick it up.
74 export SKIP_TEST_GET_E2UUID=1
75 export SKIP_TEST_SET_E2UUID=1
76 export SKIP_TEST_SET_E2LABEL=1
79 # device-mapper: ioctl: unable to remove open device temporary-cryptsetup-661
80 # device-mapper: remove ioctl failed: Device or resource busy
81 # guestfsd: error: Device lukstest is busy.
82 # Diagnosis: appears to be a bug in cryptsetup on Ubuntu.
83 # https://bugzilla.redhat.com/show_bug.cgi?id=527056
84 export SKIP_TEST_LUKS_SH=1