From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot defconfigs now being built on Travis CI
Date: Tue, 24 Nov 2015 18:52:21 +0100 [thread overview]
Message-ID: <20151124185221.16a4b432@free-electrons.com> (raw)
In-Reply-To: <874mgc4c6f.fsf@dell.be.48ers.dk>
Peter,
On Mon, 23 Nov 2015 22:51:20 +0100, Peter Korsgaard wrote:
> > The last build has been fully successful, with all 95 defconfigs
> > building fine. I have scheduled to rebuild all defconfigs every two
> > days, of course only if commits have been made to Buildroot.
>
> > For the moment, notifications of build working fine or failing are just
> > sent to some testing IRC channel. Once the mechanism has proven to work
> > well for a week or two, I'll adjust the notifications so that they are
> > sent to the official #buildroot IRC channel, and possibly by e-mail as
> > well (to the mailing list or directly to interested people).
> > Suggestions on this are welcome.
>
> I wouldn't mind getting a notification per email if something fails.
Sure, I'll add that soon.
> > Now, if you want the gory details of how this is implemented:
>
> Is that XFS issue something we want to fix before 2015.11?
I don't think we can fix it before 2015.11. The hack I've done in
Travis is just what it is: a crude hack. The underlying problem is that
we ask the host filesystem how many blocks are needed to store
output/target/. It works fine if your host filesystem == target
filesystem == ext2/3/4. And it probably works for most target
filesystems, by chance. But it is clearly not correct, since the
filesystem on your host may be different than the one used on your
target.
Specifically, XFS stores small files and symlinks directly inside the
inode instead of allocating a block for them. So the number of blocks
needed to store output/target on the host is much smaller than what is
needed on the target ext2 filesystem.
> What is that
> stupidpid thing about? Does travis stop if it doesn't get any output?
Travis is somewhat annoying in his handling of logs:
* Originally, I was just calling "make", so Travis was seeing the
entire make output. But Travis doesn't like to have more than 4 MB
of text displayed on the standard output, so it was killing the
builds when they reached 4 MB.
* So, I pipped the output into tee to keep the log, and then grep to
only show the ">>>" messages on stdout. But then, Travis is not
happy because stdout is sometimes quiet for "too long".
So, I ended up starting a stupid background process that just says
"Still building" every minute. A bit silly, but works.
> I see that results are copied to the autobuilder server? How are they
> visualized? Just together with the other autobuild results?
Right now they are not publicly available. However, they are indeed on
the machine that hosts autobuild.buildroot.org, so it's just a matter
of doing a bit of webserver configuration to provide access to them. My
plan is to add a message at the end of the build that tells the URL at
which the full log has been saved.
However, the logs are quite big, so I don't think I will be able to
keep them forever (just like I don't keep the full logs of the random
tests on autobuild.b.o, I only keep build-end.log).
Isn't the last 1000 lines of log already displayed in the Travis
console sufficient to debug most problems anyway?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-11-24 17:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 21:33 [Buildroot] Buildroot defconfigs now being built on Travis CI Thomas Petazzoni
2015-11-23 21:51 ` Peter Korsgaard
2015-11-24 17:52 ` Thomas Petazzoni [this message]
2015-11-24 20:53 ` Peter Korsgaard
2015-11-24 22:37 ` Yann E. MORIN
2015-11-24 22:42 ` Peter Korsgaard
2015-11-24 22:53 ` Yann E. MORIN
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=20151124185221.16a4b432@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox