From: Ian Campbell <ian.campbell@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Jan Beulich <JBeulich@suse.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>, osstest-admin@xenproject.org
Subject: Re: [xen-4.4-testing test] 66583: regressions - FAIL
Date: Mon, 4 Jan 2016 10:09:58 +0000 [thread overview]
Message-ID: <1451902198.13361.13.camel@citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1512221425370.3096@kaball.uk.xensource.com>
On Tue, 2015-12-22 at 14:40 +0000, Stefano Stabellini wrote:
> On Tue, 22 Dec 2015, Jan Beulich wrote:
> > > > > On 22.12.15 at 14:55, <stefano.stabellini@eu.citrix.com> wrote:
> > > On Mon, 21 Dec 2015, Jan Beulich wrote:
> > > > > > > On 20.12.15 at 13:25, <osstest-admin@xenproject.org> wrote:
> > > > > flight 66583 xen-4.4-testing real [real]
> > > > > http://logs.test-lab.xenproject.org/osstest/logs/66583/
> > > > >
> > > > > Regressions :-(
> > > > >
> > > > > Tests which did not succeed and are blocking,
> > > > > including tests which could not be run:
> > > > > build-amd64-prev 5 xen-build fail
> > > > > REGR. vs.
> > > 66458
> > > > > build-i386-prev 5 xen-build fail
> > > > > REGR. vs.
> > > 66458
> > > >
> > > > Ian, Stefano,
> > > >
> > > > is one of you two looking into this?
> > > >
> > > > block-qcow.c: In function 'get_cluster_offset':
> > > > block-qcow.c:444:3: error: 'tmp_ptr' may be used uninitialized in
> > > > this
> > > function [-Werror=maybe-uninitialized]
> > > > memcpy(tmp_ptr, l1_ptr, 4096);
> > > > ^
> > > > block-qcow.c:619:7: error: 'tmp_ptr2' may be used uninitialized in
> > > > this
> > > function [-Werror=maybe-uninitialized]
> > > > if (write(s->fd, tmp_ptr2, 4096) != 4096) {
> > > > ^
> > > > cc1: all warnings being treated as errors
> > > >
> > > /home/osstest/build.66583.build-amd64-
> > > prev/xen/tools/blktap/drivers/../../../to
> > > ols/Rules.mk:89: recipe for target 'block-qcow.o' failed
> > > > make[5]: *** [block-qcow.o] Error 1
> > >
> > > What does build-amd64-prev means? I cannot find the explanation of
> > > the
> > > test anywhere.
> >
> > Iiuc it's the build pf the previous version, needed to test n-1 -> n
> > migration. I.e. (in line with the respective 4.3 failure) it indicates
> > that 4.3's qemu doesn't build.
>
> Thanks for the explanation, it was very helpful.
>
> From the logs what is not building is actually tools/blktap, not QEMU
> though, but I cannot reproduce the failure.
I think we want to backport:
commit 345e44a85d71a1a910385f33c7f1ba3683026d18
Author: Dario Faggioli <dario.faggioli@citrix.com>
Date: Fri Jun 20 16:09:00 2014 +0200
blktap2: Fix two 'maybe uninitialized' variables
for which gcc 4.9.0 complains about, like this:
block-qcow.c: In function `get_cluster_offset':
block-qcow.c:431:3: error: `tmp_ptr' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
memcpy(tmp_ptr, l1_ptr, 4096);
^
block-qcow.c:606:7: error: `tmp_ptr2' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
if (write(s->fd, tmp_ptr2, 4096) != 4096) {
^
cc1: all warnings being treated as errors
/home/dario/Sources/xen/xen/xen.git/tools/blktap2/drivers/../../../tools/Rules.mk:89:
recipe for target 'block-qcow.o' failed
make[5]: *** [block-qcow.o] Error 1
The proper behavior is to return upon allocation failure.
About what to return, 0 seems the best option, looking
at both the function and the call sites.
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
(this will have been exposed by the update to Jessie's compiler)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-01-04 10:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-20 12:25 [xen-4.4-testing test] 66583: regressions - FAIL osstest service owner
2015-12-21 11:52 ` Jan Beulich
2015-12-22 13:55 ` Stefano Stabellini
2015-12-22 14:24 ` Jan Beulich
2015-12-22 14:40 ` Stefano Stabellini
2016-01-04 10:09 ` Ian Campbell [this message]
2016-01-04 14:54 ` Ian Jackson
2016-01-04 15:03 ` Ian Campbell
2016-01-04 15:15 ` Ian Campbell
2016-01-04 15:22 ` Ian Campbell
2016-01-06 11:41 ` Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1451902198.13361.13.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=osstest-admin@xenproject.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.