All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v9 11/14] buildman: Add an option to show which boards caused which errors
Date: Thu, 28 Aug 2014 08:51:42 -0400	[thread overview]
Message-ID: <20140828125142.GY19374@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ1_g7y6D1NOk+Z8+htNyjm8QUZGczuzMizSva5esKMYqg@mail.gmail.com>

On Tue, Aug 26, 2014 at 08:59:52PM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On 25 August 2014 13:14, Tom Rini <trini@ti.com> wrote:
> > On Mon, Aug 25, 2014 at 09:58:32AM -0600, Simon Glass wrote:
> >> Add a -l option to display a list of offending boards against each
> >> error/warning line. The information will be shown in brackets as below:
> >>
> >> 02: wip
> >>    sandbox: +   sandbox
> >>        arm: +   seaboard
> >> +(sandbox) arch/sandbox/cpu/cpu.c: In function 'timer_get_us':
> >> +(sandbox) arch/sandbox/cpu/cpu.c:40:9: warning: unused variable 'i' [-Wunused-variable]
> >> +(seaboard) board/nvidia/seaboard/seaboard.c: In function 'pin_mux_mmc':
> >> +(seaboard) board/nvidia/seaboard/seaboard.c:36:9: warning: unused variable 'fred' [-Wunused-variable]
> >> +(seaboard)      int fred;
> >> +(seaboard)          ^
> >>
> >> Signed-off-by: Simon Glass <sjg@chromium.org>
> >
> > Doing buildman ... ; buildman ... -svl (since I want to spit out the
> > summary at once due to how LSF mangles output to file), I don't see
> 
> What is -s?

summary.

> > anything for what caused powerpc failures say (where there's lot of
> > things complaining about generic board).  So something isn't right, is
> > this something you can reproduce locally?  I'm going to make sure that
> > -e really is implied like the doc says.  Thanks!
> 
>  ./tools/buildman/buildman -vl sandbox
> Building current source for 1 boards (1 thread, 4 jobs per thread)
>    sandbox: +   sandbox
> +(sandbox) arch/sandbox/cpu/cpu.c: In function ?__udelay?:
> +(sandbox) arch/sandbox/cpu/cpu.c:36:5: error: unknown type name ?oijew?
> +(sandbox) arch/sandbox/cpu/cpu.c:37:2: error: conflicting types for ?os_usleep?
> +(sandbox) include/os.h:155:6: note: previous declaration of
> ?os_usleep? was here
> +(sandbox) make[2]: *** [arch/sandbox/cpu/cpu.o] Error 1
> +(sandbox) make[1]: *** [arch/sandbox/cpu] Error 2
> +(sandbox) make: *** [sub-make] Error 2
> w+(sandbox) arch/sandbox/cpu/cpu.c: In function ?do_reset?:
> w+(sandbox) arch/sandbox/cpu/cpu.c:27:13: warning: unused variable ?i?
> [-Wunused-variable]
> w+(sandbox) arch/sandbox/cpu/cpu.c:37:2: warning: parameter names
> (without types) in function declaration [enabled by default]
>     0    0    1 /1      sandbox
> 
> This shows warnings and errors, and -e is implied (but note you should
> test with both series - I pushed 'buildman5' to u-boot-x86.git just in
> case you only have one).
> 
> I might be able to repeat your problem, except for the LSF part. What
> command line are you using?

I do:
./tools/buildman/buildman -b master -c 1 -T 1 -j 24 \
    -o /tmp/trini/eldk521 -G ~/.buildman.eldk521 'arm|powerpc'
./tools/buildman/buildman -b master -c 1 -T 1 -j 24 \
    -o /tmp/trini/eldk521 -G ~/.buildman.eldk521 'arm|powerpc' -svel

Doing '-svl' would omit the information I expected, adding in -e worked.
I do it this way since LSF only lets me log raw stdout to a file so
doing a build then a summary pass gives me more easily readable output.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140828/9df4ad82/attachment.pgp>

  reply	other threads:[~2014-08-28 12:51 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 15:58 [U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 01/14] patman: Support the 'reverse' option for 'git log' Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 02/14] patman: Fix indentation in terminal.py Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 03/14] patman: Correct unit tests to run correctly Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 04/14] patman: Remove the -a option Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 05/14] patman: Use --no-pager' to stop git from forking a pager Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 06/14] patman: Avoid changing the order of tags Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 07/14] buildman: Set the return code to indicate build result Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 08/14] buildman: Allow make-flags variables to include '-' and '_' Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 09/14] buildman: Implement an option to exclude boards from the build Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 10/14] buildman: Remove the directory prefix from each error line Simon Glass
2014-08-26 14:13   ` Tom Rini
2014-08-27  3:00     ` Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 11/14] buildman: Add an option to show which boards caused which errors Simon Glass
2014-08-25 19:14   ` Tom Rini
2014-08-26 14:09     ` Tom Rini
2014-08-27  2:59     ` Simon Glass
2014-08-28 12:51       ` Tom Rini [this message]
2014-09-01  5:09         ` Simon Glass
2014-09-01 11:23           ` Tom Rini
2014-09-02  0:18             ` Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 12/14] buildman: Separate out display of warnings and errors Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 13/14] patman: Fix detection of git version Simon Glass
2014-08-25 15:58 ` [U-Boot] [PATCH v9 14/14] RFC: Deprecate MAKEALL Simon Glass
2014-08-25 18:54 ` [U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL Tom Rini
2014-08-25 19:00   ` Simon Glass
2014-08-25 20:21     ` Tom Rini
2014-08-27  2:54       ` Simon Glass
2014-08-28 12:48         ` Tom Rini
2014-09-01  5:07           ` Simon Glass
2014-09-04 18:25             ` Simon Glass

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=20140828125142.GY19374@bill-the-cat \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /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.