Skip to contentSkip to conversation

complete build-i386

xen-unstable bisection xen.org 2 participants 3 messages Nov 23, 2011

lore
Share & tools
lore

xen.org

author
#0 lore raw

branch xen-unstable
xen branch xen-unstable
job build-i386
test xen-build

Tree: xen http://xenbits.xen.org/staging/xen-unstable.hg

*** Found and reproduced problem changeset ***

Bug is in tree: xen http://xenbits.xen.org/staging/xen-unstable.hg
Bug introduced: 4ecd3615e726
Bug not present: 53bec838bb08

  changeset:   24184:4ecd3615e726
  tag:         tip
  user:        Ian Campbell <[email protected]>
  date:        Tue Nov 22 17:24:51 2011 +0000

tools: use system installed libaio by default.

I could have sworn I did this years ago.

IIRC the need for our own copy was due to the use of io_set_eventfd which is not present in version 0.3.106. However it is in 0.3.107 the first version of which was uploaded to Debian in June 2008 (I can't find a better reference for the release date).

The necessary version is available in Debian Lenny onwards and is in at least RHEL 6, Fedora 13 and OpenSuSE 11.3. The necessary version appears to not be available in RHEL 5 or SLES 11 which is why I haven't simply nuked the in tree version.

This is based on tools-system-libaio.diff from the Debian packaging although I have made it optional (but default on).

For bisection revision-tuple graph see:
http://www.chiark.greenend.org.uk/~xensrcts/results/bisect.xen-unstable.build-i386.xen-build.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Searching for failure / basis pass:
9978 fail [host=leaf-beetle] / 9958 ok.
Failure / basis pass flights: 9978 / 9958
(tree in basispass but not in latest: qemu)
Tree: xen http://xenbits.xen.org/staging/xen-unstable.hg
Latest 4ecd3615e726
Basis pass d3859e348951
Generating revisions with ./adhoc-revtuple-generator http://xenbits.xen.org/staging/xen-unstable.hg#d3859e348951-4ecd3615e726
pulling from ssh://[email protected]/HG/staging/xen-unstable.hg
searching for changes
no changes found
pulling from ssh://[email protected]/HG/staging/xen-unstable.hg
searching for changes
no changes found
Loaded 1001 nodes in revision graph
Searching for test results:
9988 pass 53bec838bb08
9989 fail 4ecd3615e726
9990 pass 53bec838bb08
9991 fail 4ecd3615e726
9958 pass d3859e348951
9992 pass 53bec838bb08
9959 fail 4ecd3615e726
9993 fail 4ecd3615e726
9978 fail 4ecd3615e726
9962 fail 4ecd3615e726
9983 pass d3859e348951
9984 fail 4ecd3615e726
9985 pass 8edcd2e3f3f1
9986 pass b21b6c91c1f4
9987 pass 2b5c6fff0e5b
Searching for interesting versions
Result found: flight 9958 (pass), for basis pass
Result found: flight 9959 (fail), for basis failure
Repro found: flight 9983 (pass), for basis pass
Repro found: flight 9984 (fail), for basis failure
0 revisions at 53bec838bb08
No revisions left to test, checking graph state.
Result found: flight 9988 (pass), for last pass
Result found: flight 9989 (fail), for first failure
Repro found: flight 9990 (pass), for last pass
Repro found: flight 9991 (fail), for first failure
Repro found: flight 9992 (pass), for last pass
Repro found: flight 9993 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: xen http://xenbits.xen.org/staging/xen-unstable.hg
Bug introduced: 4ecd3615e726
Bug not present: 53bec838bb08

pulling from ssh://[email protected]/HG/staging/xen-unstable.hg searching for changes
no changes found

  changeset:   24184:4ecd3615e726
  tag:         tip
  user:        Ian Campbell <[email protected]>
  date:        Tue Nov 22 17:24:51 2011 +0000

tools: use system installed libaio by default.

I could have sworn I did this years ago.

IIRC the need for our own copy was due to the use of io_set_eventfd which is not present in version 0.3.106. However it is in 0.3.107 the first version of which was uploaded to Debian in June 2008 (I can't find a better reference for the release date).

The necessary version is available in Debian Lenny onwards and is in at least RHEL 6, Fedora 13 and OpenSuSE 11.3. The necessary version appears to not be available in RHEL 5 or SLES 11 which is why I haven't simply nuked the in tree version.

This is based on tools-system-libaio.diff from the Debian packaging although I have made it optional (but default on).

Revision graph left in /home/xc_osstest/results/bisect.xen-unstable.build-i386.xen-build.{dot,ps,png,html}.
----------------------------------------
9993: ALL FAIL

flight 9993 xen-unstable real-bisect [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/9993/

jobs:
build-i386 fail

------------------------------------------------------------
sg-report-flight on woking.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images

Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs

Test harness code can be found at
http://xenbits.xensource.com/gitweb?p=osstest.git;a=summary

#1 lore raw
Quoted 14 lines · xen.org

branch xen-unstable
xen branch xen-unstable
job build-i386
test xen-build

Tree: xen http://xenbits.xen.org/staging/xen-unstable.hg

*** Found and reproduced problem changeset ***

Bug is in tree: xen http://xenbits.xen.org/staging/xen-unstable.hg
Bug introduced: 4ecd3615e726
Bug not present: 53bec838bb08

Quoted 6 lines
  changeset:   24184:4ecd3615e726
  tag:         tip
  user:        Ian Campbell <[email protected]>
  date:        Tue Nov 22 17:24:51 2011 +0000

tools: use system installed libaio by default.

I somehow didn't see this in my testing but it's pretty obvious that tools/blktap needs the same treatment as tools/blktap2. Patch is forthcoming.

Ian.

Quoted 137 lines

I could have sworn I did this years ago.

IIRC the need for our own copy was due to the use of io_set_eventfd which is not present in version 0.3.106. However it is in 0.3.107 the first version of which was uploaded to Debian in June 2008 (I can't find a better reference for the release date).

The necessary version is available in Debian Lenny onwards and is in at least RHEL 6, Fedora 13 and OpenSuSE 11.3. The necessary version appears to not be available in RHEL 5 or SLES 11 which is why I haven't simply nuked the in tree version.

This is based on tools-system-libaio.diff from the Debian packaging although I have made it optional (but default on).

For bisection revision-tuple graph see:
http://www.chiark.greenend.org.uk/~xensrcts/results/bisect.xen-unstable.build-i386.xen-build.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Searching for failure / basis pass:
9978 fail [host=leaf-beetle] / 9958 ok.
Failure / basis pass flights: 9978 / 9958
(tree in basispass but not in latest: qemu)
Tree: xen http://xenbits.xen.org/staging/xen-unstable.hg
Latest 4ecd3615e726
Basis pass d3859e348951
Generating revisions with ./adhoc-revtuple-generator http://xenbits.xen.org/staging/xen-unstable.hg#d3859e348951-4ecd3615e726
pulling from ssh://[email protected]/HG/staging/xen-unstable.hg
searching for changes
no changes found
pulling from ssh://[email protected]/HG/staging/xen-unstable.hg
searching for changes
no changes found
Loaded 1001 nodes in revision graph
Searching for test results:
9988 pass 53bec838bb08
9989 fail 4ecd3615e726
9990 pass 53bec838bb08
9991 fail 4ecd3615e726
9958 pass d3859e348951
9992 pass 53bec838bb08
9959 fail 4ecd3615e726
9993 fail 4ecd3615e726
9978 fail 4ecd3615e726
9962 fail 4ecd3615e726
9983 pass d3859e348951
9984 fail 4ecd3615e726
9985 pass 8edcd2e3f3f1
9986 pass b21b6c91c1f4
9987 pass 2b5c6fff0e5b
Searching for interesting versions
Result found: flight 9958 (pass), for basis pass
Result found: flight 9959 (fail), for basis failure
Repro found: flight 9983 (pass), for basis pass
Repro found: flight 9984 (fail), for basis failure
0 revisions at 53bec838bb08
No revisions left to test, checking graph state.
Result found: flight 9988 (pass), for last pass
Result found: flight 9989 (fail), for first failure
Repro found: flight 9990 (pass), for last pass
Repro found: flight 9991 (fail), for first failure
Repro found: flight 9992 (pass), for last pass
Repro found: flight 9993 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: xen http://xenbits.xen.org/staging/xen-unstable.hg
Bug introduced: 4ecd3615e726
Bug not present: 53bec838bb08

pulling from ssh://[email protected]/HG/staging/xen-unstable.hg searching for changes
no changes found

  changeset:   24184:4ecd3615e726
  tag:         tip
  user:        Ian Campbell <[email protected]>
  date:        Tue Nov 22 17:24:51 2011 +0000

tools: use system installed libaio by default.

I could have sworn I did this years ago.

IIRC the need for our own copy was due to the use of io_set_eventfd which is not present in version 0.3.106. However it is in 0.3.107 the first version of which was uploaded to Debian in June 2008 (I can't find a better reference for the release date).

The necessary version is available in Debian Lenny onwards and is in at least RHEL 6, Fedora 13 and OpenSuSE 11.3. The necessary version appears to not be available in RHEL 5 or SLES 11 which is why I haven't simply nuked the in tree version.

This is based on tools-system-libaio.diff from the Debian packaging although I have made it optional (but default on).

Revision graph left in /home/xc_osstest/results/bisect.xen-unstable.build-i386.xen-build.{dot,ps,png,html}.
----------------------------------------
9993: ALL FAIL

flight 9993 xen-unstable real-bisect [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/9993/

jobs:
build-i386 fail

------------------------------------------------------------
sg-report-flight on woking.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images

Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs

Test harness code can be found at
http://xenbits.xensource.com/gitweb?p=osstest.git;a=summary

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 15 lines · Ian Campbell
Quoted 14 lines · xen.org

branch xen-unstable
xen branch xen-unstable
job build-i386
test xen-build

Tree: xen http://xenbits.xen.org/staging/xen-unstable.hg

*** Found and reproduced problem changeset ***

Bug is in tree: xen http://xenbits.xen.org/staging/xen-unstable.hg
Bug introduced: 4ecd3615e726
Bug not present: 53bec838bb08

Quoted 8 lines
Quoted 6 lines
  changeset:   24184:4ecd3615e726
  tag:         tip
  user:        Ian Campbell <[email protected]>
  date:        Tue Nov 22 17:24:51 2011 +0000

tools: use system installed libaio by default.

I somehow didn't see this in my testing

Testing with a .config with CONFIG_SYSTEM_LIBAIO=n in it can't have helped. Oops!

Quoted 3 lines

but it's pretty obvious that
tools/blktap needs the same treatment as tools/blktap2. Patch is forthcoming.

8<------------------------------------------------------

# HG changeset patch
# User Ian Campbell <[email protected]> # Date 1322041076 0
# Node ID c6286bb841ea754fb30319aea6c3d663a06dce19 # Parent f883f41eb18ec2259afd8a2be43c7d3f2278ce93
tools: use system libaio for blktap1 as well.

24184:4ecd3615e726 missed this because I was accidentally testing with a .config containing CONFIG_SYSTEM_LIBAIO=n. Tools tree now fully rebuilt without this. There were no other issues.

tools/blktap/drivers/Makefile +9 -3
diff -r f883f41eb18e -r c6286bb841ea tools/blktap/drivers/Makefile
@@ -3,7 +3,6 @@ include $(XEN_ROOT)/tools/Rules.mk
 
 IBIN         = blktapctrl tapdisk
 QCOW_UTIL    = img2qcow qcow2raw qcow-create
-LIBAIO_DIR   = ../../libaio/src
 MEMSHR_DIR   = ../../memshr
 
 CFLAGS   += -Werror
@@ -11,7 +10,6 @@ CFLAGS   += -Wno-unused
 CFLAGS   += -I../lib
 CFLAGS   += $(CFLAGS_libxenctrl)
 CFLAGS   += $(CFLAGS_libxenstore)
-CFLAGS   += -I $(LIBAIO_DIR)
 CFLAGS   += -I $(MEMSHR_DIR)
 CFLAGS   += -D_GNU_SOURCE
 
@@ -29,8 +27,16 @@ CFLAGS += -DMEMSHR
 MEMSHRLIBS += $(MEMSHR_DIR)/libmemshr.a
 endif
 
+ifneq ($(CONFIG_SYSTEM_LIBAIO),y)
+LIBAIO_DIR   = ../../libaio/src
+CFLAGS      += -I $(LIBAIO_DIR)
+AIOLIBS     := $(LIBAIO_DIR)/libaio.a
+else
+AIOLIBS     := -laio
+endif
+
 LDLIBS_blktapctrl := $(MEMSHRLIBS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenstore) -L../lib -lblktap -lrt -lm -lpthread
-LDLIBS_img := $(LIBAIO_DIR)/libaio.a $(CRYPT_LIB) -lpthread -lz
+LDLIBS_img := $(AIOLIBS) $(CRYPT_LIB) -lpthread -lz
 
 BLK-OBJS-y  := block-aio.o
 BLK-OBJS-y  += block-sync.o