We forget to change home for posix user when we renamed
'sems' to 'ngcp-sems' somewhere in ~mr3.2
It is too late to change it now. Also there is no big deal to have
home pointed to non-existed folder as nobody login under user sems.
Change-Id: I59c722150f7156b07f8a625dae9a72fe8da27e42
Recent goss versions provide template support, rely on this
to support different Debian versions at the same time.
NOTE: https://deb.sipwise.com/files/goss-0.3.1-linux-amd64
is available now
Change-Id: I9b51f9799f20626c376e1966f8a587abee3dba58
It will fix the error on Debian stretch:
> User: sshd: home: doesn't match, expect: ["/var/run/sshd"] found: ["/run/sshd"] 0 ms
Change-Id: I1688699663ccb72681772fdcd80df8b4991caba6
Freshly installed systems use IDs 10000/10001 nowadays,
while systems that are upgraded from old(er) releases use IDs 1000/1001.
It happens because in the past users sipwise/cdrexport were
created by installer directly, while currently ngcp-support-access
cares about sipwise/cdrexport user using new id based 10000+
Change-Id: I1a08aa722d1648ebef451c111dea4ff8750a54eb
On Debian/stretch we get /nonexistent as the home
for user mysql, while on Debian/jessie it's /var/lib/mysql.
Change-Id: I87d6db988c5d973d5ef814a89e658080e0bd7e50
coreutils on jessie behaves like:
| sipwise@spce:~$ ls -la /var/cores/core.*
| ls: cannot access /var/cores/core.*: No such file or directory
... while on stretch we get:
| root@spce:~# ls -la /var/cores/core.*
| ls: cannot access '/var/cores/core.*': No such file or directory
Change-Id: Idb26193f28d0003a42a9fddf59dc5d06d630b6cf
It doesn't work as expected. I was not able to force goss validate
empty output on stdout/stderr. I will contact goss maintainer here.
Reverted this to have nightly tests fixed.
This reverts commit 71ba85f157.
Change-Id: I555954dbfd173bcdfccaaa80792316d5b681e09b
Binary built via:
cd $GOPATH/src/github.com/aelsabbahy/goss/
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=mika~git804995a8_with_tap_and_junit" -o release/goss-linux-amd64 github.com/aelsabbahy/goss/cmd/goss
using goss.git based on 804995a8 and including my PRs
https://github.com/aelsabbahy/goss/pull/48 (junit support) +
https://github.com/aelsabbahy/goss/pull/47 (TAP support)
Also use /usr/sbin/goss if it's present and only if it's not
yet there download the according version. This makes
development and testing of custom goss versions easier.
While at it fix string<->integer issues like:
| DEPRICATION WARNING: false: command.exit-status should be an integer not a string
Change-Id: I3dadc0b604db565b11adf1839b11e29437856fd1
The Jenkins test 'netinstall-test-ngcp-installer' restores plain Debian VM
and install NGCP using ngcp-installer only.
In this case the test should skip some strict host/names checks.
Change-Id: I9b84784ebed0a54ff51aa2baef274f5466879352
Checking only for *.tt2 files isn't enough, we also have
*.services + *.postbuild files and want to also catch
any files that don't match our file suffix.
Change-Id: Ia7477ac45b4fc9e1ab3cc0188c35424bffeceedb