Commit Graph

20 Commits

Author SHA1 Message Date
Neels Hofmeyr 6dbe76a021 systemd service: add save_log_tail
Change-Id: Iceca2934a5451f27e94322ab76ef9336771fced0
2018-12-27 17:45:58 +01:00
Oliver Smith 959290be11 contrib: fix makedistcheck with disabled systemd
EXTRA_DIST files need to be distributed, no matter if the systemd option
is configured or not.

Change-Id: Ib848aa5ce03f45d4f8182a4e77b0130ccb261635
2018-12-06 13:43:26 +01:00
Oliver Smith 397903fdb7 contrib/jenkins.sh: build and publish manuals
Add new environment variables WITH_MANUALS and PUBLISH to control if
the manuals should be built and uploaded. Describe all environment vars
on top of the file.

When WITH_MANUALS is set, install osmo-gsm-manuals like any other
dependency and add --enable-manuals to the configure flags (for "make"
and "make distcheck"). Add the bin subdir of the installed files to
PATH, so osmo-gsm-manuals-check-depends can be used by ./configure.

Related: OS#3385
Change-Id: I5904c86c7e38d36d23df213f5a2ae1986647a051
2018-12-05 13:08:57 +01:00
Neels Hofmeyr 4a3e8f5b19 add tests/vty: VTY UI transcript testing
Add ss7_asp_vty_test, a shim test program with the sole purpose of exposing the
cs7 VTY nodes.

Add ss7_asp_test.vty, transcript for verifying VTY nodes using above program.

Add --enable-external-tests to configure.

Run jenkins.sh with --enable-external-tests.

Change-Id: I6a28684fa24d6e7de568623444297028eba2ab8c
2018-09-27 14:44:30 +02:00
Pau Espin 8c481d2825 Install systemd services with autotools
This commit re-adds ba3da6d725, plus fixes
two typos (sytemd->systemd) in that commit.

The commit is fine, we just need to add some extra configure flags in
osmo-ci.git.

Depends: https://gerrit.osmocom.org/#/c/osmo-ci/+/10857/
Change-Id: Ifc11d97c0c5fe1f7872b59147b1548b56951921b
2018-09-10 17:18:17 +02:00
Harald Welte c8143eccc2 Revert "Install systemd services with autotools"
This reverts commit ba3da6d725.

That commit broke master-{osmo-iuh,osmo-msc,osmo-sgsn,openbsc,osmo-bsc}
build jobs with

make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/lib/systemd/system'
 /usr/bin/install -c -m 644 osmo-stp.service '/lib/systemd/system'
/usr/bin/install: cannot create regular file '/lib/systemd/system/osmo-stp.service': Permission denied
make[4]: *** [install-systemdsystemunitDATA] Error 1

Change-Id: I009825d293e7e7a6c48d10452c10b3bb6da3e684
2018-09-09 20:20:38 +02:00
Pau Espin ba3da6d725 Install systemd services with autotools
Change-Id: Ie77ee4b32a75e2d207030ddc78d39fb664103d33
2018-09-07 20:29:04 +02:00
Neels Hofmeyr 58fcc5344e jenkins.sh: use --enable-werror configure flag, not CFLAGS
Change-Id: I5c3f11586d48a076479eb19ed80a11caad4251d8
2018-03-05 20:51:22 +01:00
Pau Espin 3137be99ef contrib: jenkins.sh: Disable doxygen in libosmocore build
Change-Id: I7abc8862a63d448408ae43802da689fe436a0ff0
2018-02-20 20:20:14 +01:00
Max 1aa2a42eae Enable sanitize for CI tests
Change-Id: Ida8cfcd9a9f86e65273452afa051381bc0c16421
2017-12-21 17:05:35 +01:00
Pau Espin 116dfb6621 contrib/test: Fix config of local/remote ports
The first port is the remote one, and the second port is the local one,
according to cs7_asp_cmd doc and code. In the same config, the ports for
the servers are used and for the local port in the client we don't care,
that's why we use 0 there.

Change-Id: I0fafd07614068a27c19bc2dfa6491b4b0c6737fb
2017-11-20 10:27:31 +00:00
Neels Hofmeyr ac9d0f53ab jenkins: use osmo-clean-workspace.sh before and after build
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale.

Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93
Change-Id: I6e3a24a32b8e06d89ac11b59bca052d56f00c78c
2017-10-28 15:08:21 +00:00
Pau Espin 54fa75b85c contrib: Add osmo-stp systemd service file
Change-Id: If6423222b5f1574701c48b5e93eb6c4918879d6c
2017-09-27 12:04:54 +02:00
Max 72dd761fe1 Use value string check from osmo-ci
Change-Id: I1a2223b1a059fbb832948decf11f9237fad389f2
2017-08-26 06:10:29 +00:00
Harald Welte e29888ab69 jenkins.sh: Proper error message if local environment isn't set up
Change-Id: I79c2302365824d9c8783dadfa378c8eaa07e2ee7
2017-07-10 15:01:03 +02:00
Pau Espin f356131808 contrib: Enable -Werror by default
Change-Id: I16a8ca7f0bfabeed6a9b58cda5e60bd58889f74d
2017-07-08 10:46:31 +00:00
Harald Welte 4c9041b9d3 stp: Add test scripts for executing m3ua-testtool and sua-testtool
You will need to have
* GNU/Linux with support for [network] namespaces
* the 'unshare' command line tool
* m3ua-testtool and sua-testtool repositories
  from git.osmocom.org/nplab installed adjacent to libosmo-sccp
* their requirements, i.e.
** guile
** guile-sctp from https://github.com/nplab/guile-sctp

When those are installed, you can do things like

(cd contrib/test && ./run-in-ns.sh test-m3ua.sh)
(cd contrib/test && ./run-in-ns.sh test-sua.sh)

to execute the test suite.

Change-Id: Ic36eafbb9868b2ec9ae2173f8d1b651b976ccf88
2017-05-14 22:59:33 +02:00
Neels Hofmeyr 8e708d1f2d jenkins: add value_string termination check
Change-Id: Ic06cb58061ba2d5698dd80df9777b9d3a825d5f7
Depends: libosmocore change-id I2bc93ab4781487e7685cfb63091a489cd126b1a8
2017-03-01 15:39:34 +01:00
Neels Hofmeyr 5606386bc9 jenkins.sh: use osmo-build-dep.sh, log test failures
Like in libosmo-abis' jenkins.sh

Change-Id: I4e462e2c92db14b6c2e18b212779761f2e1829af
2016-10-07 00:53:50 +02:00
Holger Hans Peter Freyther 37d5a3afcd jenkins: Add the build script from jenkins here
This can be used to replicate a build issue more easily.
2016-04-13 18:57:09 -04:00