summaryrefslogtreecommitdiff
path: root/tcwg-benchmark.sh
AgeCommit message (Collapse)Author
2023-07-24Pass --security instead of --docker_opts to start-container-docker.sh.Prathamesh Kulkarni
Change-Id: Ibf530ba4a348cfb440df4f6f7a1db8517f13a394
2023-07-07tcwg-benchmark.sh: Use "reboot" in $PATHMaxim Kuvyrkov
We run reboot either from host container (where sudo is unrestricted) or as "root" user on the bare machine (where sudo is unrestricted). Change-Id: I5b78704f59ce064f97a975c3edea4b6b46217565
2023-06-29tcwg-benchmark.sh: Add results_dest parameter to specify the dir to move the ↵Laurent Alfonsi
results Change-Id: Ie47ac521ab114cb5daecc3036dc8e3c934acb22b
2023-06-23Revert "tcwg-benchmark.sh: Add results_dest parameter to specify the dir to ↵Laurent Alfonsi
move the results" This reverts commit 599ad553427ff256558f207e3cc4d9a9a0ca939d. Reason for revert: pb with ci job deployment make it bancal Change-Id: Ie6503beda3d754253fa453940b4d0b307edfd7ce
2023-06-22tcwg-benchmark.sh: Add results_dest parameter to specify the dir to move the ↵Laurent Alfonsi
results Change-Id: I62017ed6f00d63a9b7c3c31edeca01117cd5d4df
2023-05-31jenkins-helpers.sh (wait_for_ssh_server): Allow more ssh optionsMaxim Kuvyrkov
... as parameters, not just ssh port. This is necessary for upcoming patches. Change-Id: I988c263bc0732b451ed208033cfb5eb6225d35b5
2023-03-14tcwg_bmk-build.sh: Add project handling for QC boardLaurent Alfonsi
Change-Id: I0949daeeab3487ffb2a2c2820fb7d0e6bdc46f6f
2023-03-08Do not "<output> | grep -q", use "<output> | grep -q ... >/dev/null" insteadMaxim Kuvyrkov
When 'grep' in invoked with -q option, it exits with the first match, and closes the input pipe. This will break the pipe and scripts running with "-o pipefail" will get unexpected results. Replace "<output> | grep -q", with "<output> | grep -q ... >/dev/null" throught our scripts. Leave "grep -q ... <input_file>" intact, since pipes are not involved. Change-Id: I9438919276c0d0e235600384a979b511e1a4edff
2023-02-28tcwg-benchmark.sh: Improve reboot and recovery sequence againMaxim Kuvyrkov
Change-Id: I69cae2f56f936d647f44fdacf87c7a5495f5d350
2023-02-27tcwg-benchmark.sh: Fix reboot sequenceMaxim Kuvyrkov
Change-Id: Ie2928b47dcc418b715538c5f01e28a7220d5df10
2023-02-26tcwg-benchmark.sh: Reboot boards with kernel problemsMaxim Kuvyrkov
The immediate problem is with tcwg-sq-02.tcwglab, which is accessible, but unusable. Change-Id: I7756620e0d41b9e5c1262c472d21957c3c9f8e0b
2023-02-21tcwg-benchmark.sh: Use "train" input for code-size benchmarkingMaxim Kuvyrkov
... since "test" input doesn't make couple of benchmarks register on perf's profile, and perf doesn't copy their binaries to .debug directory, which is where we find them for code-size benchmarking. Change-Id: I337ae8af6f32f07bf1d91641dbfe4147d63f769c
2023-02-16Switch default distro from Ubuntu 20.04 Focal to Ubuntu 22.04 JammyMaxim Kuvyrkov
Change-Id: Ife8d4318ccd6347ef9713f721519934ad2083f8f
2022-12-23tcwg-benchmark.sh: wait_for_server waiting on default port after rebootLaurent Alfonsi
Change-Id: I38fe00d802e7c6d5632d2fb2fda8d76e87d28e76
2022-11-11tcwg_bmk-build.sh,tcwg-benchmark.sh: limit nb of parallel build/run jobsLaurent Alfonsi
Change-Id: Id17017a028e2f2e0a68ba2ac1cefd2ddec679485
2022-10-19tcwg-benchmark.sh: support-fortran option if flang is foundLaurent Alfonsi
Change-Id: I5e8a1a7d51aff153977b114282f0911d54d15296
2022-09-07tcwg-benchmark.sh: Put a timeout on initial ssh to a bmk boardMaxim Kuvyrkov
We can get a stuck machine that hasn't completely crashed and ssh server still replies, but can't complete a login. This can cause hours of waiting before the parent job times out. Change-Id: Iea2cde832c6794a6db5f7d663d45539e57eb770c
2022-09-05start-container-docker.sh: Switch lts_1 to Ubuntu 20.04 FocalMaxim Kuvyrkov
Change-Id: I4d142b3cf658c20551f9e5227e6b92e7079058f8
2022-05-26tcwg-benchmark.sh: Don't start host containers on machinesMaxim Kuvyrkov
... hosting bare-metal boards. Change-Id: Ie39b81546e8dcc159eccfa50dba115121fcbf818
2022-05-25tcwg-benchmark.sh: wait more after asking reboot.Laurent Alfonsi
FX700 boards takes more time to reboot Change-Id: Ib725c3ee077078e4a127e933d112802472c24883
2022-05-25tcwg-benchmark.sh: Remove ugly workaroundMaxim Kuvyrkov
... for lacking "sudo" access on the benchmarking boards. /usr/local/bin/benchmark.sh was the only command we could run as root on the benchmarking boards, and now, with switch to "host" containers, we finally have blanket sudo. Change-Id: Ifc20b360ce68dd0315b6684055be175efc4e6805
2022-05-24tcwg-benchmark.sh: Update after changes to dockerfiles and bmk-scriptsMaxim Kuvyrkov
Tcwg-benchmark user has now its keys installed in /root/.ssh/authorized_keys on benchmarking boards, so after reboot we can wait for ssh server on port 22, and then call tcwg-update-bmk-containers.sh to make sure docker and host container are functioning on the board. Change-Id: I6235bc75e285e8cb60002d7cc6bf12a86c36ae2f
2022-05-24tcwg_bmk-build.sh, tcwg-benchmark.sh: Handle fx hardwareLaurent Alfonsi
Change-Id: Id596937c4a194f5c70717e3104f3b7456fb8235c
2022-05-18tcwg-benchmark.sh: Use ssh port specified in .ssh/configMaxim Kuvyrkov
... for calling prepare-board.sh . Change-Id: I54adab500dc83c35058cd8a75c90c81677fa8946
2022-05-18tcwg-benchmark.sh: Use port specified in .ssh/configMaxim Kuvyrkov
... for empty $build_container_port . Change-Id: I2af315c15562fe5dadc771ac2e83ea8ab999e19f
2022-05-18tcwg-benchmark.sh: Wait for ssh server on port from .ssh/configMaxim Kuvyrkov
Now that we are switching to using host containers for benchmarking we need to wait on port 2222 for some board and on port 22 for the others. Make "wait_for_ssh_server" treat empty port as default port specified in .ssh/config . Change-Id: I25ff733185ec13beb3011b1b6908ae0071261e1e
2022-05-09Revert "tcwg-benchmark.sh: Enable bmk host for tk1 and tx1"Laurent Alfonsi
This reverts commit 7d57c673e9732d8cf8af5d88796f59aca1dda6e3. Reason for revert: Still failing. need further investigation Change-Id: Id2f58f6d4c73c07509815fe5ef1907b1be487571
2022-05-04tcwg-benchmark.sh: Enable bmk host for tk1 and tx1Laurent Alfonsi
Change-Id: I159ad62dcc76c41f84c4b44b4eb2ec09cb69f356
2022-04-22tcwg-benchmark : initialize the board from docker host (fx and apm)Laurent Alfonsi
Change-Id: I1181e291ab7823744717ebc41d971b4ef1e58f64
2022-04-21tcwg-benchmark: Create toolchain dir if not existing on bmk boardLaurent Alfonsi
Change-Id: I925a4b5bb901fb4a32613b1f6ffa370ee9056768
2022-04-16Revert "tcwg-benchmark : add fx board, that use docker host to prepare the ↵Laurent Alfonsi
board" This reverts commit 2698ce07da143bb3d605cea84df29b4328ca971f. Reason for revert: Revert this. As preparing the board from the host container needs a bmk_host container. Change-Id: I1356d9eee02d2a78f3b2c0ab2d9083e18db9f4a7
2022-04-13tcwg-benchmark : add fx board, that use docker host to prepare the boardLaurent Alfonsi
Change-Id: Ie1ea40cc4ea1ebabb203273f395a88642680151c
2021-08-02tcwg-benchmark.sh: Run coremark.sh in just-copied ~tcwg-benchmark/bmk-scriptsMaxim Kuvyrkov
Change-Id: I69d795a3346b6294d891f50606d5f28f95c401db
2021-07-31tcwg-benchmark.sh, tcwg_bmk-build.sh: Support benchmarking on APMsMaxim Kuvyrkov
Change-Id: Ie918996cfeacc881050b8f6ff995fbcebc4e59d4
2021-07-29tcwg-benchmark.sh: Fix handling of ccprefix for rsync:// protocolMaxim Kuvyrkov
Change-Id: I11cd5da279d8257fa897148dd3d60c749ea79a40
2021-07-29tcwg-benchmark.sh: Stop using $BUILD_NUMBERMaxim Kuvyrkov
Change-Id: I5551d97251b07080a67b717dadf853c11a01a30c
2021-07-29tcwg-benchmark.sh: Improve verbosity handlingMaxim Kuvyrkov
Change-Id: Iccb8a33379582f125c3cf3a767469fc619047a53
2021-07-29tcwg-benchmark.sh: Swap toolchain preparation and board preparationMaxim Kuvyrkov
... so that we can use board as a builder. Change-Id: Ib911b906c477bdd53d081b28c194c8f2074cbf83
2021-07-29tcwg-benchmark.sh: Add bits from tcwg-benchmark-bare.shMaxim Kuvyrkov
Change-Id: Ic9f0a88cf71314435ecafaf7941f6247b0071463
2021-07-28tcwg-benchmark.sh: Do not reboot dev-02 machines for bare-metal benchmarkingMaxim Kuvyrkov
Change-Id: Ia71c4cfb1845b1e94293fb0b837f34cc44c58613
2021-07-28tcwg-benchmark{-bare}.sh: Remove unnecessary levelMaxim Kuvyrkov
Change-Id: If48393a64061502ffc1651e39ef5ef55801c19d2
2021-07-28tcwg-benchmark.sh: Move handling of "builder" parameterMaxim Kuvyrkov
Change-Id: I5f5e2b31146785d2b1c9d57c76ddece4a1f871f9
2021-06-21tcwg-benchmark.sh: Return infrastructure error on problems with HWMaxim Kuvyrkov
Change-Id: Ic621c2a683c56267855bdec9706a87c280964b52
2021-06-19tcwg-benchmark.sh: Support tcwg-sq-* machinesMaxim Kuvyrkov
Change-Id: I6cb610ee01e9b592971dae36e343aec7d6350e47
2021-06-19tcwg-benchmark.sh: Update parameter handlingMaxim Kuvyrkov
Change-Id: Id741296cb5d7f68a21a3e83a5d0dcca04f97300c
2021-06-19tcwg-benchmark.sh: Stop using $NODE_NAMEMaxim Kuvyrkov
... use $boardname instead. Change-Id: Iddb92273402d03267e45edf16577ca66b447b10d
2021-06-19tcwg-benchmark.sh: Update power-cycle procedureMaxim Kuvyrkov
Change-Id: I11adaab039ae4abf593cfaa72253a8c48d306cd5
2021-06-18tcwg-benchmark.sh: UpdateMaxim Kuvyrkov
Change-Id: I3e3d42c4777528904a1c502bfb479fc466f9e261
2021-06-18tcwg-benchmark.sh: UpdateMaxim Kuvyrkov
Change-Id: I759fdf3e13c5b83a3ee68f1e9ccbd781a816803f
2021-06-17tcwg-benchmark.sh: Move resolution of @build_num@ and @hw_tag@ to yamlMaxim Kuvyrkov
Change-Id: I084c675ed5c5cfe9d7a0a6e8cef710406d7c94f8