New issue
Advanced search Search tips

Issue 704023 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Apr 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Build failed with package chromeos-base/autotest-tests-cheets-0.0.1-r355

Project Member Reported by yllin@chromium.org, Mar 22 2017

Issue description

Chrome Version: (copy from chrome://version)
OS: (e.g. Win7, OSX 10.9.5, etc...)

What steps will reproduce the problem?
(1) sync to HEAD
(2) cros_sdk
(3) ./setup_board --board=chell --force && ./build_packages --board=chell

What is the expected result?
build succeeds


What happens instead?
build failed with error below

Please use labels and text to provide additional information.

autotest-tests-cheets-0.0.1-r355: ERROR:root:cheets_PlayStoreOptIn: 'module' object has no attribute '_ARCP_URL'
autotest-tests-cheets-0.0.1-r355: Traceback (most recent call last):
autotest-tests-cheets-0.0.1-r355:   File "/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/work/autotest-work/client/bin/setup_job.py", line 75, in init_test
autotest-tests-cheets-0.0.1-r355:     exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
autotest-tests-cheets-0.0.1-r355:   File "<string>", line 2, in <module>
autotest-tests-cheets-0.0.1-r355:   File "/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/work/autotest-work/client/site_tests/cheets_PlayStoreOptIn/cheets_PlayStoreOptIn.py", line 47, in __init__
autotest-tests-cheets-0.0.1-r355:     file_utils.download_file(arc_util._ARCP_URL, pltp.name)
autotest-tests-cheets-0.0.1-r355: AttributeError: 'module' object has no attribute '_ARCP_URL'




autotest-tests-cheets-0.0.1-r355: INFO:root:############################# SUMMARY #############################
autotest-tests-cheets-0.0.1-r355: INFO:root:Finished setup -- The following tests failed
autotest-tests-cheets-0.0.1-r355: INFO:root:cheets_PlayStoreOptIn
autotest-tests-cheets-0.0.1-r355: INFO:root:######################### END SUMMARY ##############################
autotest-tests-cheets-0.0.1-r355:  * ERROR: chromeos-base/autotest-tests-cheets-0.0.1-r355::cheets-private failed (compile phase):
autotest-tests-cheets-0.0.1-r355:  *   Tests failed to build.
autotest-tests-cheets-0.0.1-r355:  * 
autotest-tests-cheets-0.0.1-r355:  * Call stack:
autotest-tests-cheets-0.0.1-r355:  *     ebuild.sh, line   93:  Called src_compile
autotest-tests-cheets-0.0.1-r355:  *   environment, line 3802:  Called autotest_src_compile
autotest-tests-cheets-0.0.1-r355:  *   environment, line  874:  Called die
autotest-tests-cheets-0.0.1-r355:  * The specific snippet of code:
autotest-tests-cheets-0.0.1-r355:  *           ( GRAPHICS_BACKEND="$graphics_backend" LOGNAME=${SUDO_USER} client/bin/autotest_client --quiet --client_test_setup=$(pythonify_test_list ${TESTS}) || ! use buildcheck || die "Tests failed to build." ) | sed -e "s/\(INFO:root:
setup\)/${GREEN}* \1${NORMAL}/" -e "s/\(ERROR:root:\[.*\]\)/${RED}\1${NORMAL}/";
autotest-tests-cheets-0.0.1-r355:  * 
autotest-tests-cheets-0.0.1-r355:  * If you need support, post the output of `emerge --info '=chromeos-base/autotest-tests-cheets-0.0.1-r355::cheets-private'`,
autotest-tests-cheets-0.0.1-r355:  * the complete build log and the output of `emerge -pqv '=chromeos-base/autotest-tests-cheets-0.0.1-r355::cheets-private'`.
autotest-tests-cheets-0.0.1-r355:  * The complete build log is located at '/build/chell/tmp/portage/logs/chromeos-base:autotest-tests-cheets-0.0.1-r355:20170322-064906.log'.
autotest-tests-cheets-0.0.1-r355:  * For convenience, a symlink to the build log is located at '/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/temp/build.log'.
autotest-tests-cheets-0.0.1-r355:  * The ebuild environment file is located at '/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/temp/environment'.
autotest-tests-cheets-0.0.1-r355:  * Working directory: '/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/work/autotest-work'
autotest-tests-cheets-0.0.1-r355:  * S: '/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/work/autotest-tests-cheets-0.0.1'
autotest-tests-cheets-0.0.1-r355: >>> Failed to emerge chromeos-base/autotest-tests-cheets-0.0.1-r355 for /build/chell/, Log file:
autotest-tests-cheets-0.0.1-r355: >>>  '/build/chell/tmp/portage/logs/chromeos-base:autotest-tests-cheets-0.0.1-r355:20170322-064906.log'
autotest-tests-cheets-0.0.1-r355: 
autotest-tests-cheets-0.0.1-r355:  * Messages for package chromeos-base/autotest-tests-cheets-0.0.1-r355 merged to /build/chell/:
autotest-tests-cheets-0.0.1-r355: 
autotest-tests-cheets-0.0.1-r355:  * ERROR: chromeos-base/autotest-tests-cheets-0.0.1-r355::cheets-private failed (compile phase):
autotest-tests-cheets-0.0.1-r355:  *   Tests failed to build.
autotest-tests-cheets-0.0.1-r355:  * 
autotest-tests-cheets-0.0.1-r355:  * Call stack:
autotest-tests-cheets-0.0.1-r355:  *     ebuild.sh, line   93:  Called src_compile
autotest-tests-cheets-0.0.1-r355:  *   environment, line 3802:  Called autotest_src_compile
autotest-tests-cheets-0.0.1-r355:  *   environment, line  874:  Called die
autotest-tests-cheets-0.0.1-r355:  * The specific snippet of code:
autotest-tests-cheets-0.0.1-r355:  *           ( GRAPHICS_BACKEND="$graphics_backend" LOGNAME=${SUDO_USER} client/bin/autotest_client --quiet --client_test_setup=$(pythonify_test_list ${TESTS}) || ! use buildcheck || die "Tests failed to build." ) | sed -e "s/\(INFO:root:
setup\)/${GREEN}* \1${NORMAL}/" -e "s/\(ERROR:root:\[.*\]\)/${RED}\1${NORMAL}/";
autotest-tests-cheets-0.0.1-r355:  * 
autotest-tests-cheets-0.0.1-r355:  * If you need support, post the output of `emerge --info '=chromeos-base/autotest-tests-cheets-0.0.1-r355::cheets-private'`,
autotest-tests-cheets-0.0.1-r355:  * the complete build log and the output of `emerge -pqv '=chromeos-base/autotest-tests-cheets-0.0.1-r355::cheets-private'`.
autotest-tests-cheets-0.0.1-r355:  * The complete build log is located at '/build/chell/tmp/portage/logs/chromeos-base:autotest-tests-cheets-0.0.1-r355:20170322-064906.log'.
autotest-tests-cheets-0.0.1-r355:  * For convenience, a symlink to the build log is located at '/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/temp/build.log'.
autotest-tests-cheets-0.0.1-r355:  * The ebuild environment file is located at '/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/temp/environment'.
autotest-tests-cheets-0.0.1-r355:  * Working directory: '/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/work/autotest-work'
autotest-tests-cheets-0.0.1-r355:  * S: '/build/chell/tmp/portage/chromeos-base/autotest-tests-cheets-0.0.1-r355/work/autotest-tests-cheets-0.0.1'
=== Complete: job autotest-tests-cheets-0.0.1-r355 (0m13.4s) ===
Failed chromeos-base/autotest-tests-cheets-0.0.1-r355 (in 0m13.4s). Your build has failed.
Pending 4/6, [Time 14:49:19 | Elapsed 1m7.6s | Load 1.2 0.96 0.72]
Packages failed:
        chromeos-base/autotest-tests-cheets-0.0.1-r355
ERROR   : Wed Mar 22 14:49:20 CST 2017
ERROR   :   PGID   PPID    PID     ELAPSED     TIME %CPU COMMAND
ERROR   :     10      6     10    02:24:09 00:00:00  0.0 -bash
ERROR   : 130428     10 130428       01:54 00:00:00  0.0  \_ /bin/bash ./build_packages --board=chell
ERROR   : 130428 130428 136898       00:00 00:00:00  0.0      \_ /bin/bash ./build_packages --board=chell
ERROR   : 130428 136898 136899       00:00 00:00:00  0.0          \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command
ERROR   : Arguments of 130428: ./build_packages '--board=chell'
ERROR   : Backtrace:  (most recent call is last)
ERROR   :  build_packages:279:main(), called: die_err_trap  
ERROR   : 
ERROR   : Command failed:
ERROR   :   Command '( set -o pipefail; sudo -E "${EMERGE_CMD[@]}" "${EMERGE_FLAGS[@]}" "${PACKAGES[@]}" | tee "${tmpfile}" )' exited with nonzero code: 1


 

Comment 1 by kinaba@chromium.org, Apr 28 2017

Status: Fixed (was: Untriaged)
https://chromium-review.googlesource.com/c/457253/ should have fixed this

Sign in to add a comment