Changes between Version 92 and Version 93 of SettingUpBuildslave


Ignore:
Timestamp:
06/29/22 11:13:19 (23 months ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpBuildslave

    v92 v93  
    119119instead.
    120120
    121 = List of existing buildslaves =
     121= List of existing workers =
    122122
    123 Here's a comprehensive list of Buildslaves already running (as of Apr 2014). There can be several buildslaves that have the same OS/architecture combination, but this is seldom necessary.
     123Here's a comprehensive list of workers already running (as of June 2022):
    124124
    125 ||'''Operating system'''||'''Version'''||'''Architecture'''||'''24/7'''||'''Connection tests'''||'''Provided by'''||'''Notes'''||
    126 ||Debian||7 (wheezy)||i386||Yes||Yes^1^||mattock||||
    127 ||Ubuntu||12.04||i386||Yes||Yes^1^||mattock||||
    128 ||Ubuntu||14.04||amd64||Yes||Yes^1^||mattock||||
    129 ||Ubuntu||16.04||amd64||Yes||Yes^1^||mattock||||
    130 ||CentOS||6||amd64||No||Yes^1^||mattock||||
    131 ||Fedora||24||amd64||No||Yes^1^||mattock||||
    132 ||FreeBSD||7.4||amd64||Yes||Yes||cron2||||
    133 ||FreeBSD||9.3||amd64||Yes||Yes||cron2||||
    134 ||FreeBSD||10.3||amd64||Yes||Yes||cron2||||
    135 ||OpenBSD||4.9||i386||Yes||Yes||cron2||||
    136 ||OpenBSD||6.0||i386||Yes||Yes||cron2||||
    137 ||NetBSD||5.1||amd64||Yes||Yes||cron2||||
    138 ||NetBSD||7.0.1||amd64||Yes||Yes||cron2||||
    139 ||Opensolaris||10||i386||Yes||Yes||cron2||||
    140 ||MacOS X||||amd64||No||Yes||plaisthos||||
    141 ||Archlinux|| ||amd64||No^2^||Yes^1^||tincantech||||
    142 ||CentOS||7||amd64||No^2^||Yes^1^||tincantech||||
    143 
    144 
    145 Notes:
    146 
    147 1. These buildslaves run tests 1-6 without the "a" variants. In practice this means that proxy and IPv6 transport are untested.
    148 
    149 2. These buildslaves are Virtual Machines and may be temporarily unavailable.
    150 
    151 = List of build permutations =
    152 
    153 Each commit triggers several builds of OpenVPN, each with a different set of configure options:
    154 
    155 {{{
    156 config_opt_combos = [
    157     "",
    158     "--disable-crypto",
    159     "--disable-crypto --disable-lzo",
    160     "--disable-crypto --disable-lzo --disable-management",
    161     "--disable-crypto --disable-management",
    162     "--disable-lz4",
    163     "--disable-lzo",
    164     "--disable-lzo --disable-lz4 --enable-comp-stub",
    165     "--disable-lzo --disable-management",
    166     "--disable-management",
    167     "--disable-server --enable-small",
    168     "--enable-small",
    169     "--with-crypto-library=mbedtls --enable-crypto",
    170 ]
    171 }}}
    172 Most of the builds just build OpenVPN to ensure the buildsystem works. However, two of them also trigger a suite of t_client.sh connectivity tests:
    173 
    174 * ./configure
    175 * ./configure --with-crypto-library=mbedtls --enable-crypto
    176 
    177 The connectivity tests help ensure that basic functionality in OpenVPN is never completely broken.
     125* debian-10
     126* debian-11
     127* debian-unstable
     128* arch
     129* fedora-34
     130* opensuse-leap-15
     131* ubuntu-1804
     132* ubuntu-2004
     133* ubuntu-2110
     134* cron2-fbsd74
     135* cron2-fbsd11
     136* cron2-fbsd12
     137* cron2-fbsd13
     138* cron2-nbsd81
     139* cron2-obsd68
     140* cron2-oi2019
    178141
    179142= Troubleshooting =
     
    181144In case your build fails, try running the same build steps manually to see what the problem is.
    182145
    183 == Source checkout ==
     146== Workers running out of disk or inodes ==
    184147
    185 If you're running into odd problems with buildslave Git checkouts you can try manually running the same commands the buildslave would run. The exact steps can be found from the buildslave's Git logs (in the buildmaster web interface), but they should be similar to these:
    186 
    187 {{{
    188 $ mkdir /tmp/openvpntest
    189 $ cd /tmp/openvpntest
    190 $ git init
    191 $ git fetch -t git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn.git +master
    192 $ git reset --hard FETCH_HEAD
    193 $ git branch -M master
    194 }}}
    195 
    196 If you're unable to run these commands manually then the buildslave won't be able to do it either.
    197 
    198 == Additional Enviroment variables ==
    199 
    200 It is possible to add additional environment variables to buildbot.tac:
    201 
    202 {{{
    203 for e in  ['LZO_CFLAGS=-I/usr/local/include',
    204            'LZO_LIBS=-llzo2 -L/usr/local/lib',
    205            'MBEDTLS_CFLAGS=-I/usr/local/Cellar/mbedtls/2.3.0_1/include',
    206            'MBEDTLS_LIBS=-L/usr/local/Cellar/mbedtls/2.3.0_1/lib/ -lmbedtls -lmbedx509 -lmbedcrypto',
    207            'OPENSSL_CFLAGS=-I/usr/local/Cellar/openssl/1.0.2h_1/include/',
    208            'OPENSSL_LIBS=-L/usr/local/Cellar/openssl/1.0.2h_1/lib/ -lcrypto -lssl']:
    209            var, value = e.split('=',1)
    210            os.environ[var]=value
    211 }}}
    212 This method is  a bit hackish but works fine.
    213 
    214 == Buildslaves running out of disk or inodes ==
    215 
    216 The buildslaves consume large amount of diskspace and inodes:
     148The workers consume large amount of diskspace and inodes:
    217149
    218150{{{
     
    226158}}}
    227159
    228 Because buildslave leaves obsolete build directories laying around, removing them can help free up some space and inodes:
     160This happens because workers leaves obsolete build directories laying around, removing them can help free up some space and inodes:
    229161
    230162{{{
     
    238170}}}
    239171
    240 == Buildslave not connecting to buildmaster ==
     172== Worker not connecting to buildmaster ==
    241173
    242 The buildslave directory (e.g. ''/var/lib/buildbot/slaves/openvpn'') contains a logfile, ''twistd.log'', which will help you figure out what went wrong. Usually there is an authentication problem, so double-check the buildslave username and password, and edit ''buildbot.tac'' as necessary.
     174The worker directory (e.g. ''/var/lib/buildbot/slaves/openvpn'') contains a logfile, ''twistd.log'', which will help you figure out what went wrong. Usually there is an authentication problem, so double-check the worker username and password, and edit ''buildbot.tac'' as necessary.