Re: [chromium-dev] Unable to run "test_that" utility for chromium auto tests

20 views
Skip to first unread message

Thiago Farina

unread,
Jan 30, 2016, 5:41:01 AM1/30/16
to amshy...@gmail.com, Chromium OS dev
Lets move this discussion to ChromeOS mailing list.

On Sat, Jan 30, 2016 at 4:44 AM, Shyam sundar Kulkarni <amshy...@gmail.com> wrote:
Hi All,

I am able to build the chromium OS source and I want to give a try with auto tests using "test_that" utility but that utility launch is failing. Here is the error.


(cr) (amd-manifests/(948dba9...)) ssundark@andbang2 ~/trunk/src/scripts $ test_that -b $BOARD 10.136.6.178 video_VideoDecodeAccelerator.h264
INFO:root:Identity added: /tmp/test_that_results_uXFSOH/testing_rsa (/tmp/test_that_results_uXFSOH/testing_rsa)
11:43:44 INFO | Running autotest_quickmerge step.
11:43:46 INFO | quickmerge| 11:43:46: INFO: RunCommand: sudo -- /usr/bin/python2 /mnt/host/source/chromite/bin/autotest_quickmerge '--board=amd64-generic'
11:43:48 INFO | quickmerge| autotest_quickmerge: Unhandled exception:
11:43:48 INFO | quickmerge| Traceback (most recent call last):
11:43:48 INFO | quickmerge| File "/mnt/host/source/chromite/bin/autotest_quickmerge", line 164, in <module>
11:43:48 INFO | quickmerge| commandline.ScriptWrapperMain(FindTarget)
11:43:48 INFO | quickmerge| File "/mnt/host/source/chromite/lib/commandline.py", line 819, in ScriptWrapperMain
11:43:48 INFO | quickmerge| ret = target(argv[1:])
11:43:48 INFO | quickmerge| File "/mnt/host/source/chromite/scripts/autotest_quickmerge.py", line 342, in main
11:43:48 INFO | quickmerge| checkout = manifest.FindCheckout(AUTOTEST_PROJECT_NAME)
11:43:48 INFO | quickmerge| File "/mnt/host/source/chromite/lib/git.py", line 668, in FindCheckout
11:43:48 INFO | quickmerge| raise AssertionError('Could not find checkout of %s' % (project,))
11:43:48 INFO | quickmerge| AssertionError: Could not find checkout of chromiumos/third_party/autotest
Traceback (most recent call last):
  File "/mnt/host/source/src/third_party/autotest/files/site_utils/test_that.py", line 953, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/mnt/host/source/src/third_party/autotest/files/site_utils/test_that.py", line 949, in main
    return _main_for_local_run(argv, arguments)
  File "/mnt/host/source/src/third_party/autotest/files/site_utils/test_that.py", line 904, in _main_for_local_run
    arguments, autotest_path, argv)
  File "/mnt/host/source/src/third_party/autotest/files/site_utils/test_that.py", line 756, in _perform_bootstrap_into_autotest_root
    ' %s.' % return_code)
__main__.TestThatRunError: autotest_quickmerge failed with error code 1.


Can someone please take a look and give some pointers.

Thanks,
Shyam

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev



--
Thiago Farina

Simran Basi

unread,
Feb 1, 2016, 2:52:36 PM2/1/16
to Thiago Farina, amshy...@gmail.com, Chromium OS dev
Did you run ./build_packages --board=$BOARD?

--
--
Chromium OS Developers mailing list: chromiu...@chromium.org

View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en

---
You received this message because you are subscribed to the Google Groups "Chromium OS dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.

Shyam sundar Kulkarni

unread,
Feb 2, 2016, 3:57:47 AM2/2/16
to Chromium OS dev, tfa...@chromium.org, amshy...@gmail.com
Hi Simran,

Yes I have done that. I have followed the steps as per this page: http://www.chromium.org/chromium-os/developer-guide. For me build is fine and post install the device also boots. But I am unable to run autotest using that_test.

Any pointers for investigation will be very much helpful.

Thanks,
Shyam
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages