Commit Graph

24 Commits

Author SHA1 Message Date
Stanislav Motylkov
2b07c9c3c1
[WORKER] Add workaround for VSCMD_* environment variables (#10)
Should fix MSVC_x64 build failing since 2ffcda90b2
2023-08-09 13:08:36 +03:00
Colin Finck
90f80a36f7 Unify run_rostests and submit_result 2023-02-02 14:25:01 +01:00
Mark Jansen
075fa65bf1 Add reason to Test_WHS and Test_Win2003_x64 2023-02-02 14:25:01 +01:00
Colin Finck
b7f59ec24d
[WORKER] Reboot Windows testers after every run of run_rostests
This works by putting the new `buildbot_start.cmd` into Scheduled Tasks (run on logon).
It launches the BuildBot worker and waits for it to finish, then reboots the Windows VM.

The BuildBot worker is reconfigured to watch the `shutdown.stamp` file in the basedir, and ask the Buildmaster for a graceful shutdown of the worker if that file's timestamp has changed.
This works via BuildBot's allow_shutdown Worker config option.

All of this together should gracefully reboot the Windows VM after every test, even when multiple tests are queued and without causing any BuildBot exceptions (which always happen on unexpected shutdowns).

Dedicated to Timo, who asked me about this for months and also found the allow_shutdown option :)
2022-07-13 18:29:08 +02:00
Colin Finck
45722e9a31
Export BISON_PKGDATADIR in config.inc now that we're building with Bison 2021-01-29 07:38:40 +01:00
Colin Finck
c050623ce6
[WORKER] Default to the RosBE-Unix installed via package manager. 2020-06-11 19:27:11 +02:00
Colin Finck
7ea5c055e3
Update VM templates for sysreg2
Similar settings have been running on the test machines for years, but were never committed.
2020-05-05 21:38:23 +02:00
Colin Finck
08caf913c4
[WORKER] Add missing executable bits for build_rostests and run_rostests 2020-04-05 12:58:37 +02:00
Colin Finck
1af950dd51
Update BuildBot to 2.7.0 and its treq dependency to 20.3.0 2020-04-05 12:40:20 +02:00
Colin Finck
92843a285c
Make the bootcdregtest upload directory configurable. 2020-01-26 15:15:34 +01:00
Colin Finck
05503cfe2f
Update builder_config.inc example for MSVC 2019. 2020-01-10 10:36:52 +01:00
Colin Finck
f8ddf11162
get_suffix (used as input for run_rostests) concatenates the revision suffix and the upload suffix, so we have to do that in build_rostests as well. 2020-01-08 08:54:44 +01:00
Colin Finck
c2d1af8717
Properly suppress all which console output. 2020-01-08 08:38:47 +01:00
Colin Finck
68be103b57
Use a better MSVC detection 2020-01-08 08:29:35 +01:00
Colin Finck
5dd6295d7d
Merge configure and configure_msvc to a single configure script that autodetects the environment.
Should help with `build_rostests`, which previously ran the wrong script in an MSVC environment.
2020-01-08 07:45:00 +01:00
Colin Finck
26a5342e91
CMake requires to run ninja rostests before ninja rostests_install 2020-01-08 07:42:24 +01:00
Colin Finck
053c8d0e55
Exit prematurely if certain commands fail. 2020-01-06 08:06:38 +01:00
Colin Finck
ce46f5709b
Use a Git revision-based suffix instead of the build number for identifying tests and run the "configure" script in build_rostests (after setting ROSTESTS_INSTALL).
Should fix building x64 tests on "Build MSVC_x64" and running them on "Test Win2003_x64".
2020-01-06 08:02:01 +01:00
Colin Finck
399c47aa8b
This fix should finally make "build_rostests" do what I want. 2020-01-05 17:21:23 +01:00
Colin Finck
c8dca1bd74
Add missing "ninja rostests" and a long comment explaining all the reasons behind that. 2020-01-05 17:05:17 +01:00
Colin Finck
3025437835
Add Carrier-Win2003-x64 and modify the scripts to support building rostests on one machine (Carrier-Win7) and running them on another (Carrier-Win2003-x64). 2019-12-26 09:05:57 +01:00
Colin Finck
42757d9801
Fix umask for build products of the new workers. 2019-06-29 14:15:57 +02:00
Colin Finck
1a63dd8908
Launching xvfb-run inside a detached screen seems to work even better than running it in the background of the current shell.
This fixes vbox_clean hanging at "Starting VirtualBox GUI" after the upgrade to BuildBot 2.3.1.
It may also help to fix the infamous "IVirtualBox object is null" bug.
2019-06-29 14:03:43 +02:00
Colin Finck
730b11c26d
Update workers to latest BuildBot release.
The directory name has been changed to reflect that.
2019-06-29 11:46:24 +02:00