DPDK CI discussions
 help / color / mirror / Atom feed
From: Jeremy Plsek <jplsek@iol.unh.edu>
To: David Marchand <david.marchand@redhat.com>
Cc: ci@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>,
	 Aaron Conole <aconole@redhat.com>
Subject: Re: [dpdk-ci] Meson failing on master
Date: Wed, 4 Dec 2019 10:01:29 -0500	[thread overview]
Message-ID: <CA+xUZB4yz5VMP7xTNbB7k7+-NLsU6AshDK9x+GZcxgeYoWpcyg@mail.gmail.com> (raw)
In-Reply-To: <CAJFAV8wCtZG_GgMg7x0QELStRi+KeNpYhXvivDnkvfy0k-8gag@mail.gmail.com>

On Wed, Dec 4, 2019 at 6:09 AM David Marchand <david.marchand@redhat.com> wrote:
>
> Hello Jeremy,
>
> I noticed that meson is failing for a patch on master.
> Example: https://lab.dpdk.org/results/dashboard/patchsets/8804/
>
> The artifact gives the non-obvious (to me) error log:
>
> Build targets in project: 810
> Option default_library is: shared [default: static]
> Found ninja-1.8.2 at /usr/bin/ninja
> ninja: error: manifest 'build.ninja' still dirty after 100 tries
>
> [1] Error running command.
>
> Talked to Bruce, and he suspects something on the filesystem level.
> Is this issue happening on a system with the overlayfs stuff you mentioned?
>

Hi David,

This started happening last week as well
(https://lab.dpdk.org/results/dashboard/patchsets/8711/), so I
disabled it temporarily.
I enabled it yesterday, and it was fine for a few patch sets
(https://lab.dpdk.org/results/dashboard/patchsets/8803/), but, as you
mentioned, it broke again. I've disabled it again for future tests
until it can be resolved.

This is not related to overlayfs work I've been working on (the
overlayfs work was for the bare metal machines). These tests run in a
container, using podman, with a mount to the jenkins workspace. The
containers run on a no-so-special Ubuntu 18.04 VM.

I've noticed similar issues for other CI
(https://github.com/ninja-build/ninja/issues/1599,
https://github.com/neovim/neovim/issues/10213), which, for the most
part, wasn't really resolved or gave a solution, and may not be
related to our issue.

Hmmm... I was able to reproduce it with the tarball that "failed" most
recently (ps 8804), but it passed with the older "failed" tarball (ps
8711). The difference between them that I noticed, was that when
untarring, it (ps 8804) would complain that the date was in the
future.

$ date
Wed Dec  4 14:28:18 UTC 2019
$ ls -l --full-time
...
-rw-rw-r--  1 jenkins-local jenkins-local   12 2019-12-04
15:03:12.000000000 +0000 VERSION

I tried to just update the files to the current time...

$ find . -exec touch {} +

And now it compiles... Hmmm... Yes, it seems that causes it? Updating
the date fixed it? Interesting bug.

So there are a few issues to look into:
1. Why the dates in the tarball are wrong in the first place (my
issue. or just add a dirty fix to the compile script to just update
the date after extracting)
2. Why the date of the file matters so much in meson/ninja (I
understand that build systems typically use the date to check whether
to recompile a file, but it should be more graceful about handling
this type of in-the-future problem)

I'll see if I can make a simple example and maybe make a bug report.
(At the minimum meson/ninja should fail gracefully rather than retry
100 times.)

>
> --
> David Marchand
>


-- 
Jeremy Plsek
UNH InterOperability Laboratory

  reply	other threads:[~2019-12-04 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-04 11:08 David Marchand
2019-12-04 15:01 ` Jeremy Plsek [this message]
2019-12-04 15:09   ` Richardson, Bruce

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=CA+xUZB4yz5VMP7xTNbB7k7+-NLsU6AshDK9x+GZcxgeYoWpcyg@mail.gmail.com \
    --to=jplsek@iol.unh.edu \
    --cc=aconole@redhat.com \
    --cc=bruce.richardson@intel.com \
    --cc=ci@dpdk.org \
    --cc=david.marchand@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).