We get dangling symlink errors on a fresh installation as
/etc/ngcp-system-tests has not been generated yet, but we do not
currently have any users of the old /etc/ngcp-tests, so we can just
remove it.
Change-Id: I6c3369b6c4c948135ffcef608a1d358729b06e82
We are not matching to new prosody version 0.11.2-1 here as it can
be changed any time by Debian (as we migrated to upstream prosody version).
Also goss doesn't have support for regexps for 'versions' field,
so we cannot check something like:
> prosody:
> installed: true
> versions:
> - /0.11.2-.*/
After a long trying with goss 'matches/match-regexp/semver-constraint'
I decided to stop on the current version, where we inside old version is not available.
Change-Id: I626be7a23fd2b31d468f4cd9411530b24eb7216b
Let us introduce a system-wide symlink from /var/backup to /ngcp-data/backup, to
fix recurrent problems like the missing /var/backup/cdr or
/var/backup/ngcp-upgrade backups taking too much space.
This should have happened when changing the partition schema to use /ngcp-data/
and have a root partition with minimal amount of space, because there were
several paths migrated to /ngcp-data like /var/backup, and we failed to migrate
all those paths in sync with the change to the partitioning and also failed to
have a back-up solution like this symlink.
Some (hopefully most, or all!) of the problems have been sorted out by now, but
they've been biting us years after the change, like this TT#72908, so maybe it
can still save some pain in the future, and there's little cost to it.
Change-Id: Ief4ba33bf57bb5f02cc54b000b64540667ebba48
This new program is a wrapper to make running the tests easier, and it
will abstrat all necessary knowledge about the test runner.
We also remove the results file generation support, and let our caller
handle it as it simplifies the code overall.
Change-Id: Iad884429b00a94d5f3c9c3b37db31a523ab3c701
These are used by the tests themselves. We distinguish between core
and system dependencies for functionality we really want to check
which goes into Depends, and dependencies for stacks that are optional
and their missing presence will still emit an error due to the commands
not being available, these we add as Suggests.
Change-Id: I051dd388dab0a4a5c5f51f48dda54013298ba537
As the package is now installed by default, and we expect
«ngcpcfg build» to be executed after any installation upgrade anyway,
we can stop running this, more so now that we do not require any local
customization support.
Change-Id: Ic0984052f86e5aaddf384f36374fb259c946cb56
This is problematic because it can stomp over pre-existing host-specific
local files, which we'd end up removing. It also requires to run ngcpcfg
before being able to execute the tests.
We wwitch to use golang's text/template support for environment variables
so that we can stop using this hack.
Change-Id: I6c4d5b2efde2704d68a327d4df9af51bcb8fd964
Move the exporting of the variable to its own, and split the goss
execution into multiple lines to make it easier to modify and read.
Change-Id: I6bd1735dd3cb6e61807fafe1ccb54e48ca070dfb
The templates does not really contain any passwords, but the file
generated from it will, so having the template have restricted
permissions means the generated one will inherit them.
Change-Id: I0ed38509e2c17eb4fd174722a0d01d31f4ef2816
This makes it more obvious and discoverable what this files are about. We
install compat symlinks so that we do not break external components that
expect these pathnames.
Change-Id: I50643d08d19600767d14fa24e7da9b0f0be7eaef
As I can see Sipwise goss patches were accepted upstream and
we have new version there, let's use it for trunk/mr8.2+
Tested on CE/PRO and noticed no issues there with version 0.3.9.
Change-Id: Iceb858b1b3d0a575bfe6c6f2783ebb8d6bf1636f
It is staying here for a while and most probably is no longer necessary.
Let's remove it and see is it still topical, maybe we should consider to
fix it finally if it is topical. Anyway with muting here we are blind.
Change-Id: I87a8d65b5c7affebed027fc0b23983525d9b911d
- The /login/admin/ endpoint on web_int is on port 1443.
- The /login/subscriber/ endpoint on web_ext is on port 443.
- The /api/ endpoint check with user:pass on default ports should be
done on web_ext, as a similar test is already being done on web_int.
Change-Id: Ieb7f794288e52f3ac8a520d1cb3508f442648c36
These services are only supposed to be present on mgmt or li_dist nodes,
so there is no point in checking other nodes.
Change-Id: Ic7a83a30acc5078b6b2108d4393e73b7a4ce9612
Except for the mgmt nodes, each node exposes information only about
itself and its peer, so the keys and their indices depend on the nodes
involved.
Change-Id: I8562e87c246f98743d2e29e56da653da0b1b2bf6
These only make sense when they are at the end-of-line, so that no
newline gets included in the output, but never when surrounded by
other text.
Change-Id: Idd43b8e3d7de390cc1d8dc1e2c0b666012c66eba
These need to match, as the service is always going to be enabled or
disabled, depending on the conditions, in constrast to HA-handled
services, which are never enabled.
Change-Id: I1f733e3b3ccb149482e7f8577d874c3f22345724
The file t/tap-tests-docker/perlcriticrc has been moved from puppet-sipwise.git
into the current system-tests.git repository in commit fe76462022.
Unfortunately I forgot to update the help message inside the file. Fixed.
Change-Id: Ia365ffa90c7a8c13f1590cc9970185499d20791f
We had to downgrade prosody in mr7.5 and have to check it is
still old/pinned version in use until we are ready for the upgrade.
See workfront ticket 66583 for more details here.
Change-Id: I7cad16c1d08beb57d52eca5f83fbcc1d21dba7c9
On early upgrades mr5.5->mr6.5 GTID was not reconfigured on
the very first upgraded node... It is a test to ensure we
have covered all the upgrade scenarios.
Change-Id: I40433f536402c52b582911fc18bd4021ed050bbf
Currently Jenkins abort upgrade testing if unknown cores detected
to allow investigation. Right now rtpegine often fails but Richard
is going to the vacation and we need to continue LTS testing here.
Temporary disable rtpegine cores reporting until the issue is solved.
Change-Id: I77d2b55a89078804d60446e23dc7eef1e1921798
(cherry picked from commit 9401bc6013)