aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins-run.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-05-12Cmdline arg -c sets main configuration file (old paths.conf) instead of dir ↵Pau Espin Pedrol1-1/+1
containing it It has been notified that current configuration system is difficult to understand and to use, so it has been envisioned to refactor it a bit. The idea is that the user passes a -c path/to/main.conf file, which in turn contains whatever osmo-gsm-tester main settings supports (basically what old paths.conf used to be, plus some files harcoded to the same -c directory are now configurable through the main configuration file). Change-Id: Ieca65b71b543c44cfcec8e83efd0fe053c432e55
2020-05-07Deprecate envvar OSMO_GSM_TESTER_CONF and remove other onesPau Espin Pedrol1-1/+3
Environment variable OSMO_GSM_TESTER_CONF is marked as deprecated and an error is logged each time it's used. Same feature is available through "-c" command line parameters, so having the envvar only makes things more complex for no good reason. It cannot yet be completely dropped since some environemnt still make use of it. Give some time to users to adapt their setups. Other environment variables setting some config apths can be dropped since they are not being really used in any setup. Change-Id: I7eb69f870d0dcb5906d45ae067d6bed1aabf5862
2019-02-21jenkins: Fix the test for journalctl if it isn't presentHolger Hans Peter Freyther1-1/+1
test -x for an empty string is still true. Check if the result of command is empty or not. It seems to work for the negative case now. Change-Id: I7e4326df155dae776481bf7824694b3fb47abcad
2019-02-21jenkins: Only run journalctl if it is available on the machineHolger Hans Peter Freyther1-1/+3
It's not common to run journald inside containers and the journalctl command is not installed. Don't attempt to run it. Change-Id: I9dee3cb0d0ca203da77dfa1a793a4e4e5f8593c6
2017-10-17contrib/jenkins-run.sh: Log and archive ofono output during test timePau Espin Pedrol1-0/+3
Change-Id: Ie83b03cef4f3ca3a2d91ac4731b3ed602ab1eadf
2017-06-18jenkins-run: create bin.tgz separately from run.tgzNeels Hofmeyr1-1/+4
The binary tars are fairly large, and usually one wants to investigate the run dir logs without any need to download the binaries. Archive the binary tars separately from the run logs. Change-Id: I23e6df0d30fc9ea7c5b48bb2364be075d910bfcd
2017-05-15jenkins-run: clean up also upon errorNeels Hofmeyr1-1/+7
Change-Id: I949849d85d93cb47c839cd738788cf6f9b22fc12
2017-05-15contrib: rethink jenkins jobs with build slave approachNeels Hofmeyr1-29/+17
Previously, the idea was to run a test remotely via SSH. This has moved to operating an actual jenkins build slave on the main unit, which simplifies things. Also, previously (in the old osmo-gsm-tester), there was a daemon running, accepting new trials by a directory appearing. Now, we're directly launching a test run, which simplifies things. Remove all SSH stuff from the "run" script. Compose the checksums of the built binary-tars in the actual build jobs. In the "run" job, only combine those checksums to one file. (Otherwise we would compose the sums after transmitting over the network to the build slave.) Instead of storing trials in a common location on the system, just keep one trial in the workspace per run. After the run, tar up the trial dir to enable easy archiving of build results. The common location on the system might still be a good idea if we're one day going to move to concurrent runs with scheduling of hardware resources, but so far we're having simple one-shot runs. Change-Id: I129f5189ce2bebd761bc752b158fb8778b31010e
2017-05-11paths: have one common parent dir /var/tmp/osmo-gsm-testerNeels Hofmeyr1-2/+2
In the example config and the jenkins scripts, use paths below common parent dir /var/tmp/osmo-gsm-tester. 1. example: put the state dir in /var/tmp/osmo-gsm-tester/state, instead of in the config dir like /etc/osmo-gsm-tester. 2. contrib scripts: place trials in /var/tmp/osmo-gsm-tester/trials, and to move into place atomically, use /var/tmp/osmo-gsm-tester/.prep-trials as temporary location. The OsmoGSMTester manual is currently also being updated to setup these paths, with /var/tmp/osmo-gsm-tester owned by a common group and having group-sticky as well has group-writable access rules. Change-Id: I2961e9d1d9b14859b886058b54ffcb36f4d88bc1
2017-05-03jenkins-run: add env var to invocation to allow passing more opts from jenkinsNeels Hofmeyr1-1/+1
Change-Id: I6deaea178cb96bf1c105657091e8798993f7a405
2017-05-02jenkins: run python3 unbuffered to see log scrolling by on jenkinsNeels Hofmeyr1-1/+1
2017-04-09wipNeels Hofmeyr1-2/+3
Change-Id: Icce6bd83173db86a64fa621e641131758380c7cd
2017-04-08review jenkins scriptsNeels Hofmeyr1-0/+36
Change-Id: I420910bd2d30e96605ecf3acb779ce726c75d912