From: "Marcin Niestrój" <m.niestroj@grinn-global.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] support/testing: add netdata test
Date: Wed, 30 Oct 2019 10:31:36 +0100 [thread overview]
Message-ID: <87k18mpojr.fsf@grinn-global.com> (raw)
In-Reply-To: <CANQCQpb4UAU96+Jx+mtw=ZGdYWqxv2kZ5vpFGR7LDoPLfT82Cw@mail.gmail.com>
Hi Matt,
Matthew Weber <matthew.weber@collins.com> writes:
> Marcin,
>
> On Mon, Oct 28, 2019 at 11:14 AM Marcin Niestroj
> <m.niestroj@grinn-global.com> wrote:
>>
>> Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
>
> $ ./support/testing/run-tests -d dl -k -o test_build_runtest
> tests.package.test_netdata.TestNetdata
> 17:11:55 TestNetdata Starting
> 17:11:57 TestNetdata Building
> E
> ======================================================================
> ERROR: test_run (tests.package.test_netdata.TestNetdata)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/user/tmp.X4roUERz2n-buildroot/support/testing/infra/basetest.py",
> line 77, in setUp
> self.b.build()
> File "/home/user/tmp.X4roUERz2n-buildroot/support/testing/infra/builder.py",
> line 75, in build
> raise SystemError("Build failed")
> SystemError: Build failed
>
> ----------------------------------------------------------------------
> Ran 1 test in 250.961s
>
> FAILED (errors=1)
>
> When I look at the build log, here's the last 20 lines.
>
> /usr/bin/install -c -m 644 packaging/installer/.keep
> '/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata/target/var/lib/netdata/registry'
> /usr/bin/install -c -m 644 packaging/installer/.keep
> '/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata/target/var/cache/netdata'
> /usr/bin/install -c -m 644 packaging/installer/.keep
> '/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata/target/var/lib/netdata'
> /usr/bin/install -c netdata
> '/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata/target/usr/sbin'
> /usr/bin/install: cannot create regular file
> '/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata/target/var/log/netdata/.keep':
> File exists
> /usr/bin/install -c apps.plugin cgroup-network perf.plugin
> slabinfo.plugin
> '/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata/target/usr/libexec/netdata/plugins.d'
> Makefile:3319: recipe for target 'install-dist_logDATA' failed
> make[5]: *** [install-dist_logDATA] Error 1
> make[5]: *** Waiting for unfinished jobs....
> Makefile:3864: recipe for target 'install-am' failed
> make[4]: *** [install-am] Error 2
> Makefile:3389: recipe for target 'install-recursive' failed
> make[3]: *** [install-recursive] Error 1
> Makefile:3858: recipe for target 'install' failed
> make[2]: *** [install] Error 2
> package/pkg-generic.mk:331: recipe for target
> '/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata/build/netdata-1.18.1/.stamp_target_installed'
> failed
> make[1]: *** [/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata/build/netdata-1.18.1/.stamp_target_installed]
> Error 2
> Makefile:23: recipe for target '_all' failed
> make: *** [_all] Error 2
> make: Leaving directory
> '/home/user/tmp.X4roUERz2n-buildroot/test_build_runtest/TestNetdata'
First of all thank you for review and testing this package!
Howeve I was not able to reproduce this issue on my PC as well as inside
Docker image for Gitlab CI. What I understand from the logs is that
'cannot create regular file' is the reason for failure. But I still have
no clue why this file could not be created... In the meantime I will
send v2 of this patch series. Do you have some idea what could go wrong
with your test build?
--
Marcin Niestr?j
next prev parent reply other threads:[~2019-10-30 9:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 16:14 [Buildroot] [PATCH 1/3] package/netdata: new package Marcin Niestroj
2019-10-28 16:14 ` [Buildroot] [PATCH 2/3] support/testing: add netdata test Marcin Niestroj
2019-10-28 22:21 ` Matthew Weber
2019-10-30 9:31 ` Marcin Niestrój [this message]
2019-10-30 9:54 ` [Buildroot] [External] " Matthew Weber
2019-10-30 12:19 ` Matthew Weber
2019-10-30 14:07 ` Matthew Weber
2019-10-28 16:14 ` [Buildroot] [PATCH 3/3] DEVELOPERS: add Marcin Niestroj for netdata Marcin Niestroj
2019-10-28 22:57 ` Arnout Vandecappelle
2019-10-29 20:25 ` Marcin Niestrój
2019-10-28 22:39 ` [Buildroot] [PATCH 1/3] package/netdata: new package Matthew Weber
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=87k18mpojr.fsf@grinn-global.com \
--to=m.niestroj@grinn-global.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