[Fuego] Failure on trial run of Fuego
Doug Crawford
dcrawford at zonoff.com
Fri Sep 23 17:29:28 UTC 2016
> On Sep 23, 2016, at 12:46 PM, Bird, Timothy <Tim.Bird at am.sony.com> wrote:
>
>
>
>> From: Doug Crawford [mailto:dcrawford at zonoff.com]
>> I ran through the installation from
>> https://bitbucket.org/tbird20d/fuego/
>>
>> And followed quick start here:
>> http://bird.org/fuego/Fuego_Quickstart_Guide
>>
>> Excellent documentation- what a pleasure!
>>
>> I think the quick start misses the “git pull” on /home/jenkins/fuego that the installation instructions covered, perhaps
>> intentional, perhaps oversight.
>>
>> I progressed through the Quick start well, setting up for Raspberry Pi3, all the way to running a test.
>> The system seemed happy with the new target.
>>
>> I proceeded to try to run the .bc test recommended in the quick start and ran into a deviation from the expected:
>> On the functional tab of the test listing, I only have two tests-
>> .netsurf
>> .stress
>> … and no .bc test.
>
> Hmmm. That's not right at all. There should be about 29 tests on the Functional tab in the test view.
> The first one should be Functional.aiostress, and the last one Functional.zlib.
>
> Can you, at the shell inside the container, do an 'ls -l /var/lib/jenkins/jobs'
> and a 'ls -l /var/lib/jenkins/jobs/*/config.xml'?
>
> This is the directory Jenkins should see the test definitions in. It should
> be symlinked to:
> /home/jenkins/fuego/jobs (which is inside the fuego-core git repository).
>
>> I went back and double checked that the “git pull” was done on /home/jenkins/fuego. It was.
>
> Can you do 'git log -n 1' in /home/jenkins/fuego?
>
>> So I substituted .stress instead of the .bc that the instructions said would be listed, and ran it.
>> I got the following failure:
>
>> ---------
>> Probably doesn’t like that “anonymous” user?
>> Something must have been assumed on the quick start that was different for me…
>
> No, the anonymous user is OK. It looks like something wrong with the permissions
> or the setup. That first 'mkdir -p' to create the log directory for the test should never fail.
>
> Please do an 'ls -l /home/jenkins/logs', and 'ls -la /userdata/logs'
> and send the results to me (and the list).
>
> Here are the first few lines of my test output:
> ------
> Started by user anonymous
> Running remotely on bbb-poky-sdk in workspace /home/jenkins/buildzone
> [buildzone] $ /bin/sh -xe /tmp/hudson1421222459709266870.sh
> + '[' '!' -d /home/jenkins/logs/Functional.stress ']'
> + mkdir -p /home/jenkins/logs/Functional.stress
> + echo testplan_default
> + TESTPLAN=testplans/testplan_default.json
> + source /home/jenkins/tests/Functional.stress/stress.sh
> ++ tarball=stress-1.0.4.tar.gz
> ++ . /home/jenkins/scripts/functional.sh
> +++ source /home/jenkins/scripts/overlays.sh
> ...
>
> I hope it's not something with the extra --pid="host", messing with the permissions. The fact that only some
> of the tests are visible is interesting.
>
> Sorry you're having problems. But thanks for hanging in there. I'd like to figure out what went wrong.
> -- Tim
Here’s the whole session from the requested commands(in bold):
root at vagrant-ubuntu-trusty-64:/home/jenkins/fuego# git pull (OK you didn’t ask for it, but wanted to show I did it :)
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 3), reused 0 (delta 0)
Unpacking objects: 100% (5/5), done.
From https://bitbucket.org/tbird20d/fuego-core
2dd5187..de894e9 master -> origin/master
Updating 2dd5187..de894e9
Fast-forward
engine/scripts/functions.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
root at vagrant-ubuntu-trusty-64:/home/jenkins/fuego# 'ls -l /var/lib/jenkins/jobs'
bash: ls -l /var/lib/jenkins/jobs: No such file or directory
root at vagrant-ubuntu-trusty-64:/home/jenkins/fuego# ls -l /var/lib/jenkins/jobs/*/config.xml
-rw-r--r-- 1 jenkins root 7759 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.Dhrystone/config.xml
-rw-r--r-- 1 jenkins root 7758 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.GLMark/config.xml
-rw-r--r-- 1 jenkins root 7851 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.IOzone/config.xml
-rw-r--r-- 1 jenkins root 7791 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.Interbench/config.xml
-rw-r--r-- 1 jenkins root 7639 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.Java/config.xml
-rw-r--r-- 1 jenkins root 7632 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.OpenSSL/config.xml
-rw-r--r-- 1 jenkins root 7770 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.Stream/config.xml
-rw-r--r-- 1 jenkins root 7752 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.Whetstone/config.xml
-rw-r--r-- 1 jenkins root 7785 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.aim7/config.xml
-rw-r--r-- 1 jenkins root 7873 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.blobsallad/config.xml
-rw-r--r-- 1 jenkins root 7438 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.bonnie/config.xml
-rw-r--r-- 1 jenkins root 7427 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.cyclictest/config.xml
-rw-r--r-- 1 jenkins root 7833 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.dbench/config.xml
-rw-r--r-- 1 jenkins root 7488 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.ebizzy/config.xml
-rw-r--r-- 1 jenkins root 7712 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.ffsb/config.xml
-rw-r--r-- 1 jenkins root 7872 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.fio/config.xml
-rw-r--r-- 1 jenkins root 7760 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.gtkperf/config.xml
-rw-r--r-- 1 jenkins root 7400 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.hackbench/config.xml
-rw-r--r-- 1 jenkins root 7742 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.himeno/config.xml
-rw-r--r-- 1 jenkins root 7851 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.iperf/config.xml
-rw-r--r-- 1 jenkins root 7740 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.linpack/config.xml
-rw-r--r-- 1 jenkins root 7770 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.lmbench2/config.xml
-rw-r--r-- 1 jenkins root 7856 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.nbench-byte/config.xml
-rw-r--r-- 1 jenkins root 7795 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.netperf/config.xml
-rw-r--r-- 1 jenkins root 7861 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.netpipe/config.xml
-rw-r--r-- 1 jenkins root 7207 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.reboot/config.xml
-rw-r--r-- 1 jenkins root 7267 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.signaltest/config.xml
-rw-r--r-- 1 jenkins root 7849 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.tiobench/config.xml
-rw-r--r-- 1 jenkins root 7720 Sep 22 12:25 /var/lib/jenkins/jobs/Benchmark.x11perf/config.xml
-rw-r--r-- 1 jenkins root 6997 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.LTP.Devices/config.xml
-rw-r--r-- 1 jenkins root 7269 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.LTP.Filesystem/config.xml
-rw-r--r-- 1 jenkins root 7615 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.LTP.Open_Posix/config.xml
-rw-r--r-- 1 jenkins root 6946 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.OpenSSL/config.xml
-rw-r--r-- 1 jenkins root 7131 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.aiostress/config.xml
-rw-r--r-- 1 jenkins root 7121 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.arch_timer/config.xml
-rw-r--r-- 1 jenkins root 7135 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.bc/config.xml
-rw-r--r-- 1 jenkins root 7232 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.bzip2/config.xml
-rw-r--r-- 1 jenkins root 7107 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.cmt/config.xml
-rw-r--r-- 1 jenkins root 7153 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.crashme/config.xml
-rw-r--r-- 1 jenkins root 7269 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.expat/config.xml
-rw-r--r-- 1 jenkins root 7238 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.fontconfig/config.xml
-rw-r--r-- 1 jenkins root 6938 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.ft2demos/config.xml
-rw-r--r-- 1 jenkins root 7143 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.glib/config.xml
-rw-r--r-- 1 jenkins root 7133 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.hello_world/config.xml
-rw-r--r-- 1 jenkins root 7221 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.ipv6connect/config.xml
-rw-r--r-- 1 jenkins root 6929 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.jpeg/config.xml
-rw-r--r-- 1 jenkins root 7673 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.libpng/config.xml
-rw-r--r-- 1 jenkins root 7139 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.linus_stress/config.xml
-rw-r--r-- 1 jenkins root 7243 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.netperf/config.xml
-rw-r--r-- 1 jenkins root 7157 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.pi_tests/config.xml
-rw-r--r-- 1 jenkins root 7248 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.posixtestsuite/config.xml
-rw-r--r-- 1 jenkins root 7206 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.rmaptest/config.xml
-rw-r--r-- 1 jenkins root 7115 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.scifab/config.xml
-rw-r--r-- 1 jenkins root 7130 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.scrashme/config.xml
-rw-r--r-- 1 jenkins root 7115 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.sdhi_0/config.xml
-rw-r--r-- 1 jenkins root 7322 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.stress/config.xml
-rw-r--r-- 1 jenkins root 7130 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.synctest/config.xml
-rw-r--r-- 1 jenkins root 6924 Sep 22 12:25 /var/lib/jenkins/jobs/Functional.zlib/config.xml
-rw-r--r-- 1 jenkins root 7004 Sep 22 12:25 /var/lib/jenkins/jobs/Matrix.Nightly/config.xml
-rw-r--r-- 1 jenkins root 6635 Sep 22 12:25 /var/lib/jenkins/jobs/Matrix.Official/config.xml
-rw-r--r-- 1 jenkins root 1559 Sep 22 12:25 /var/lib/jenkins/jobs/Reports.make_pdf/config.xml
-rw-r--r-- 1 jenkins root 11405 Sep 22 12:25 /var/lib/jenkins/jobs/Run ALL tests on ALL targets/config.xml
-rw-r--r-- 1 jenkins root 12164 Sep 22 12:25 /var/lib/jenkins/jobs/Run ALL tests on SELECTED targets/config.xml
-rw-r--r-- 1 jenkins root 11555 Sep 22 12:25 /var/lib/jenkins/jobs/Run SELECTED tests on SELECTED targets/config.xml
-rw-r--r-- 1 root root 1548 Sep 22 12:36 /var/lib/jenkins/jobs/Service.ReloadConfiguration/config.xml
root at vagrant-ubuntu-trusty-64:/home/jenkins/fuego# ls -l /var/lib/jenkins/jobs
lrwxrwxrwx 1 jenkins root 24 Sep 22 12:25 /var/lib/jenkins/jobs -> /home/jenkins/fuego/jobs
root at vagrant-ubuntu-trusty-64:/home/jenkins/fuego# git log -n 1
commit de894e90b2d5c8d5d630a08d6a22cbcddc16686b
Author: Tim Bird <tim.bird at am.sony.com>
Date: Fri Sep 23 00:04:22 2016 +0000
Allow absence of test_pre_check
Add '|| true' to test_pre_check test, to allow its absence
without problems.
root at vagrant-ubuntu-trusty-64:/home/jenkins/fuego# ls -l /home/jenkins/logs
lrwxrwxrwx 1 jenkins root 14 Sep 22 12:25 /home/jenkins/logs -> /userdata/logs
root at vagrant-ubuntu-trusty-64:/home/jenkins/fuego# ls -la /userdata/logs
total 8
drwxr-xr-x 1 dc dc 170 Sep 22 12:09 .
drwxr-xr-x 1 dc dc 238 Sep 22 12:09 ..
-rw-r--r-- 1 dc dc 144 Sep 22 12:09 README
drwxr-xr-x 1 dc dc 102 Sep 22 12:09 logruns
-rw-r--r-- 1 dc dc 1622 Sep 22 12:09 tests.info
root at vagrant-ubuntu-trusty-64:/home/jenkins/fuego#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20160923/1826e8fd/attachment-0001.html>
More information about the Fuego
mailing list