[Fuego] [Fuego Jenkins] anonymous is missing the Read permission
dhinakar k
dhinakar.k at gmail.com
Thu Mar 9 10:04:16 UTC 2017
Hi Bird,
Please find my comments inline.
Regards,
Dhinakar
On Thu, Mar 9, 2017 at 12:27 AM, Bird, Timothy <Tim.Bird at sony.com> wrote:
>
>
> > -----Original Message-----
> > From: dhinakar k [mailto:dhinakar.k at gmail.com]
> >
> > Thanks for the response.
> > The SSH works if I use another user (in host Ubuntu 16.04). For root
> user only
> > if is saying 'permission denied'. I tried tweaking sshd config and board
> file as
> > well.
> >
> > Also our target board is typically connected via USB (tty serial).
>
> Is the serial connection the ONLY connection you have to the board,
> or to you have any kind of networking on it?
>
> Does the board have adb on it (over USB) as well?
>
The board does not have android. Anyway this is just an evaluation, the
real board that I will be working on
will come a few months later and that will have Ethernet (ssh) support.
Do you have the procedure to run any simple job in Jenkins using qemu
emulator just for a demo purpose?
I tried the fix you gave before to fake the logging (please find below a
snippet of the log after changing the DISTRIB to distribs/nosyslogd.dist),
+++ echo 'cmd: echo Starting test Functional.hello_world >>
/tmp/fake-syslog'
+++ ov_transport_cmd 'echo Starting test Functional.hello_world >>
/tmp/fake-syslog'
but the test still fails with the below message,
+++ case "$TRANSPORT" in
+++ sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -o ConnectTimeout=30 -p 22 dhinakar at 172.17.0.1
sync
Warning: Permanently added '172.17.0.1' (ECDSA) to the list of known hosts.
+++ ov_rootfs_drop_caches
+++ cmd 'echo 3 > /proc/sys/vm/drop_caches'
+++ report_devlog 'cmd: echo 3 > /proc/sys/vm/drop_caches'
+++ mkdir -p /home/jenkins/logs/Functional.hello_world/devlogs
+++
devlog_file=/home/jenkins/logs/Functional.hello_world/devlogs/dhina-test-arm.2017-03-09_03-33-38.2.txt
+++ echo 'cmd: echo 3 > /proc/sys/vm/drop_caches'
+++ ov_transport_cmd 'echo 3 > /proc/sys/vm/drop_caches'
+++ case "$TRANSPORT" in
+++ sshpass -e ssh -o ServerAliveInterval=30 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -o ConnectTimeout=30 -p 22 dhinakar at 172.17.0.1
'echo 3 > /proc/sys/vm/drop_caches'
Warning: Permanently added '172.17.0.1' (ECDSA) to the list of known hosts.
bash: /proc/sys/vm/drop_caches: Permission denied
+++ abort_job 'Unable to drop filesystem caches'
+++ set +x
*** ABORTED ***
Fuego error reason: Unable to drop filesystem caches
Build step 'Execute shell' marked build as failure
Permission issue, but the ssh user 'dhinakar' has sudo permission.
What else could be the reason?
> > How I can
> > configure Jenkins to connect to target via USB? Can such targets be
> > interfaced remotely via Jenkins client or need to be directly connected
> to the
> > host? Does Fuego currently support such configurations?
>
> Our work to support a serial-only connection is in-progress. It is
> available
> now in my 'next' branch. You can try it out, and some tests should work.
> However, there are some known problems with the current support:
> * some tests have large datasets that have to be deployed to the target.
> These take so long to transfer over the serial port (using serio) that
> the
> test times out.
> * the serial transport currently does not gracefully handle a reboot
> during
> a test.
>
> You can try this out, but be warned that this is still alpha-level code,
> and
> you may encounter problems. As it stands now, it requires a little bit of
> manual intervention from time-to-time when used in Fuego.
> Let me know if you are interested and I can provide instructions.
>
Thanks a lot, at this point I will rather change the board or qemu instead
of making it work on serial.
I hope it will stabilize in a couple of month, I can probably try that time
if needed.
>
> -- Tim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20170309/47e39df9/attachment.html>
More information about the Fuego
mailing list