Age | Commit message (Collapse) | Author |
|
We no longer have working fugu devices.
Change-Id: I9cc60017027dd49cfa267c5bab95108217e8a1fd
|
|
Create missed rootfs directory required by JitLogger
This fixes 913-heaps test
Test: ./art/test/run-test --target --jit-on-first-use --64 913-heaps
Change-Id: I3a481533b0759dea0af9aee7d601a1cbcab1567c
|
|
It allows atrace to work from inside the chroot.
Test: art/test/testrunner/testrunner.py --target --64
Test: art/tools/run-gtests.sh -j4
Test: Manually running buildbot-{setup,cleanup,teardown}-device.sh on
Pixel6.
Test: Testing with perfetto with dalvik atrace category enabled, on
Pixel6 with 4k (aosp_oriole_64) and 16k (aosp_oriole_16k_64)
images.
Change-Id: Ib032f631a794a7709963c96149d305368a9f70c8
|
|
The command currently takes just over 2s on
`aosp_cf_riscv64_phone-userdebug` to complete.
Test: m
Bug: 283082089
Change-Id: Ibb70f1068a24b4f797aea5ac15b63b8c8113491a
|
|
Test: modify ART_TEST_CHROOT_BASENAME in buildbot-utils.sh, run a test
Change-Id: I20aceefa9e773c91847a7552a85485f3d41b59d4
|
|
Test: build, sync, run, then GDB
$ art/tools/buildbot-build.sh --target --installclean
$ art/tools/buildbot-cleanup-device.sh
$ art/tools/buildbot-setup-device.sh
$ art/tools/buildbot-sync.sh
$ art/test/run-test --chroot $ART_TEST_CHROOT --64 -O --never-clean --no-relocate --no-image 001-HelloWorld
$ art/tools/buildbot-vm.sh connect
% unshare --user --map-root-user chroot art-test-chroot
% cd /data/run-test/test-986090
% cat run.sh
% (paste env export commands)
% gdb --args <paste command>
Change-Id: I4a929ba9dab353507e08ae648558b6282576b498
|
|
Test: setup a local VM and run ART tests on it:
lunch aosp_arm64-userdebug
export ART_TEST_SSH_USER=ubuntu
export ART_TEST_SSH_HOST=localhost
export ART_TEST_SSH_PORT=10001
export ART_TEST_ON_VM=true
. art/tools/buildbot-utils.sh
art/tools/buildbot-build.sh --target
# Create, boot and configure the VM.
art/tools/buildbot-vm.sh create
art/tools/buildbot-vm.sh boot
art/tools/buildbot-vm.sh setup-ssh # password: 'ubuntu'
art/tools/buildbot-cleanup-device.sh
art/tools/buildbot-setup-device.sh
art/tools/buildbot-sync.sh
art/test.py --target -r 001-HelloWorld
art/tools/run-gtests.sh
Test: check that non-VM testing still works:
lunch aosp_arm32-userdebug
. art/tools/buildbot-utils.sh
art/tools/buildbot-build.sh --target
export ART_TEST_CHROOT=/data/local/art-test-chroot
art/tools/buildbot-cleanup-device.sh
art/tools/buildbot-setup-device.sh
art/tools/buildbot-sync.sh
art/test.py --target -r --32 001-HelloWorld
Change-Id: I1393f8132b0b5d6ad10e291504550a5e7751f8e2
|
|
Helps with debugging flakes.
Test: ./art/tools/buildbot-setup-device.sh
Change-Id: Iddbfb2499242529872e12d3553dedf927e2c020f
|
|
The output of the date command on older devices can include CRLF and
this otherwise breaks the time comparisons in this script.
Bug: 224733324
Test: manual
Change-Id: I2e0bccceef95abbb8304184c404fedb05052a5cc
|
|
This mount point was used by ArtExecTest, and the test is being changed
to depending on /dev/cpuset.
Bug: 240930874
Test: art/tools/run-gtests.sh \
/apex/com.android.art/bin/art/arm64/art_libarttools_tests
Change-Id: Ibe9539f8423d418da2b7a5d6185188cf212e5ba5
Merged-In: Ibe9539f8423d418da2b7a5d6185188cf212e5ba5
|
|
This directory is needed by ArtExecTest#SetTaskProfiles.
Bug: 229268202
Test: art/tools/run-gtests.sh \
/apex/com.android.art/bin/art/x86_64/art_libarttools_tests
Change-Id: Id05ad398dd0fbbe66a4bcacc9408245d505464b1
Merged-In: Id05ad398dd0fbbe66a4bcacc9408245d505464b1
(cherry picked from commit bfeb47a98a0cf5fef0bc7bf09acb210cd4ab6d43)
|
|
Change-Id: I966b860f43f62deb8b713d93bff1d629e51c11ef
|
|
This is necessary for lldb-server to work.
Change-Id: I5bf05fd29cb8b03a6458f9a4e96cd414dd9b4883
|
|
Add helper functions `msginfo`, `msgwarning`, `msgerror`, `msgnote` and
use them in the buildbot scripts.
Bug: none
Test: ran tests in chroot as described in art/test/README.chroot.md,
observed no changes in the colored output
Change-Id: Ibd577c80ddabef2c04d4f814c46a0d70829f8946
|
|
Bug: none
Test: ran tests in chroot as described in art/test/README.chroot.md,
observed no changes in the colored output
Change-Id: I205349d1c4e6344176ce4b49385554e187b22760
|
|
I think this might be causing "no devices/emulators found"
issues in our long running gcstress tests if adbd gets killed.
Bug: 187295147
Bug: 142039427
Test: art/tools/buildbot-sync.sh
Change-Id: I0b5de3cd13cfde35f031f632760aa1dd679baf0d
|
|
Increases timeouts for ARM FVP runs as on FVP it
may take significally longer to finish the test (due
to emulation). Also rename the environment variable.
Test: art tests on FVP (steps in test/README.arm_fvp.md)
Change-Id: I0890dd85697bf901538694d28db3ffdd1bd4e0c4
|
|
Check for existing symlinks before creating them.
Test: Run `art/tools/buildbot-setup-device.sh` twice and check for errors
Bug: 160559664
Change-Id: I777e9677c47e9c1003f1a1e18f9a8d1fd85cc7bc
|
|
Adds a flag to prevent the device from rebooting
during buildbot-setup-device.sh. This is useful when
running on Arm FVP - 'adb reboot' doesn't restart it
properly.
Test: test-art-target.
Change-Id: I9ff85c974da8248d35af0c9360fd38ace3c27f7e
|
|
Because there are still some that don't use bash as login shell.
Also fix /bin symlink in the chroot setup, like in the real root.
Test: Golem-style art invocation with silvermont target
Test: Vogar tests (run-libcore-tests.sh), which use the art script, in
chroot on device
Test: m out/host/linux-x86/bin/art && \
out/host/linux-x86/bin/art -showversion
with shebang "#!/bin/sh" and "#!/usr/bin/posh" (Policy-compliant
Ordinary SHell)
Change-Id: I7445b07f121eaa947e187ab822c7c098d5957f92
|
|
This property is set from the script but there is no effective code to
use this property. Removing this property as it is no longer in use.
Bug: 149335054
Bug: 147737840
Test: m -j passed
Test: art/test/testrunner/testrunner.py --target --64
--optimizing -t 525 passed
Change-Id: I2721bbd7794c7b7ff21bee21e64a1f91d18db57a
|
|
Build `/system/bin/linkerconfig` as part of ART chroot-based target
testing builds, include it in sync'd files, and invoke it in
`tools/buildbot-sync.sh` to generate a linker configuration file for
the chroot environment. Adjust the linker configuration file path
logic in `tools/buildbot-sync.sh` to match the one in top-of-tree
Bionic linker code.
Test: Run ART tests in a chroot environment on an Android R "host device"
Test: Run ART tests in a chroot environment on an Android Q "host device"
Bug: 34729697
Bug: 147737840
Bug: 148171362
Change-Id: I457d8c75988b6a9254b7ac9db3642f40f4271f1d
|
|
Rename buildbot scripts so they all begin with the prefix "buildbot-"
as this lets autocomplete make life easy for you when working with
device tests from the command line.
Temporarily add symlinks for keep other infra working until that is
updated too.
Test: manual
Change-Id: I5c14448ca4ce36eff7fa3ee149cee7f822e0ca86
|