New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 735546 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

eCTS: Run tests nightly and publish results

Project Member Reported by dnojiri@chromium.org, Jun 21 2017

Issue description

This is an umbrella bug for running eCTS nightly in the lab and publishing the results.

Hardware requirements:
- a workstation
- Test harness (stm32l476g-eval)
- a DUT (nucleo-f072rb)
- micro USB cable
- USB-A to -B cable
- Jumper wires

Software requirements:
- cros_sdk
- a script which does:
  - repo sync
  - run cts.py
  - publish results

GoldenEye requirements:
TBD
 
Cc: rspangler@chromium.org reinauer@chromium.org
Cc: twreid@chromium.org
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/9069d0ff28b2a77dc5b8db3d8e968df12b9f275f

commit 9069d0ff28b2a77dc5b8db3d8e968df12b9f275f
Author: Daisuke Nojiri <dnojiri@chromium.org>
Date: Fri Jun 23 10:14:51 2017

eCTS: Add script to run tests and publish results

This script will run nightly in the lab and publish the results.
Publishing results will be implemented later.

BUG=chromium:735546
BRANCH=none
TEST=Run run_ects.sh inside & outside chroot and verify all tests pass.

Change-Id: I405ea601eff33f1a4328f2606c8bb4050ff8d253
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/543681

[add] https://crrev.com/9069d0ff28b2a77dc5b8db3d8e968df12b9f275f/util/run_ects.sh

To run 'lsusb' and get  iSerial for the boards, it seems a machine needs to have a udev rule (e.g. /etc/udev/rules.d/60-openocd.rule) on the host not in the chroot.
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/681b6fdf1f3ed049324403da3f6125b0cf21a2df

commit 681b6fdf1f3ed049324403da3f6125b0cf21a2df
Author: Daisuke Nojiri <dnojiri@chromium.org>
Date: Thu Jun 29 04:50:50 2017

eCTS: Rewrite run_ects.sh in Python

Since the script is expected to upload results and probably send
alerts by e-mail, it's better to be written in Python so that we
can utilize chromite library. It will no longer run outside chroot
because of imports from chromite.lib.

BUG=chromium:735546
BRANCH=none
TEST=Run run_ects.py and verify all tests pass.

Change-Id: I6c79b061cdaef4d30305cf531f37b6734d18b7d9
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/546579
Reviewed-by: Randall Spangler <rspangler@chromium.org>

[add] https://crrev.com/681b6fdf1f3ed049324403da3f6125b0cf21a2df/util/run_ects.py
[delete] https://crrev.com/7771c52368e03bb63fd49eb303b3152b557b897b/util/run_ects.sh

Cc: dnojiri@chromium.org
Owner: mcchen@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment