Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

2018-11-05 Thread osmith
osmith has posted comments on this change. ( https://gerrit.osmocom.org/11370 )

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
..


Patch Set 5:

> if you're not overwriting the manual jobs, have you tested that this yml file 
> works?

I have tested the "-latest" jobs several times, they were already generated.

> As soon as this file generates working jenkins jobs, let's drop the current 
> "manual" jobs completely.

Done. I've first checked that "ttcn3-mgw-test" is still working after replacing 
it. After updating it with jenkins job builder, I ran it once and except for 
"TC_two_crcx_and_one_mdcx_rtp_ho" which already failed sporadically 7 builds 
earlier, everything went through like the previous run.

Follow-up: https://gerrit.osmocom.org/#/c/osmo-ci/+/11600/


--
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 5
Gerrit-Owner: osmith 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: osmith 
Gerrit-Comment-Date: Mon, 05 Nov 2018 09:53:34 +
Gerrit-HasComments: No
Gerrit-HasLabels: No


Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

2018-11-05 Thread osmith
osmith has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/11370 )

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
..

jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

New JJB config, that is able to generate all jobs in the TTCN3 tab at
Jenkins: 

The new *-latest jobs test against the latest stable releases. Existing
jobs are not overwritten (this is commented out).
ttcn3-bsc-test-sccplite-latest is disabled for now, because it hangs
forever.

Related: OS#3268
Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
---
A jobs/ttcn3-testsuites.yml
1 file changed, 106 insertions(+), 0 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Max: Looks good to me, but someone else must approve
  osmith: Verified



diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml
new file mode 100644
index 000..b4c526c
--- /dev/null
+++ b/jobs/ttcn3-testsuites.yml
@@ -0,0 +1,106 @@
+---
+- project:
+name: 'ttcn3-testsuites'
+concurrent: false
+disabled: false
+timer: "@midnight"
+jobs:
+  - "{job-name}"
+# Folders from docker-playground.git
+job-name:
+  # nightly (overwrites the existing, manually created jobs!)
+  # - nplab-m3ua-test:
+  # timer: 00 03 * * *
+  # - nplab-sua-test:
+  # timer: 15 03 * * *
+  # - ttcn3-bsc-test:
+  # timer: 00 06 * * *
+  # - ttcn3-bsc-test-sccplite:
+  # timer: 30 08 * * *
+  # - ttcn3-bts-test:
+  # timer: 00 07 * * *
+  # - ttcn3-ggsn-test:
+  # timer: 00 04 * * *
+  # - ttcn3-hlr-test:
+  # timer: 45 06 * * *
+  # - ttcn3-mgw-test:
+  # timer: 30 06 * * *
+  # - ttcn3-msc-test:
+  # timer: 30 04 * * *
+  # - ttcn3-sgsn-test:
+  # timer: 30 05 * * *
+  # - ttcn3-sip-test:
+  # timer: 00 07 * * *
+
+  # latest stable
+  - nplab-m3ua-test-latest
+  - nplab-sua-test-latest
+  - ttcn3-bsc-test-latest
+  - ttcn3-bsc-test-sccplite-latest:
+  disabled: true
+  - ttcn3-bts-test-latest
+  - ttcn3-ggsn-test-latest
+  - ttcn3-hlr-test-latest
+  - ttcn3-mgw-test-latest
+  - ttcn3-msc-test-latest
+  - ttcn3-sgsn-test-latest
+  - ttcn3-sip-test-latest
+- job-template:
+name: '{job-name}'
+project-type: freestyle
+disabled: '{obj:disabled}'
+defaults: global
+description: |
+Run the {job-name} testsuite from
+https://git.osmocom.org/docker-playground/;>docker-playground.git.
+If this job ends in -latest, the job runs the latest 
stable versions of the Osmocom stack.
+Otherwise the nightly builds.
+Generated with the jenkins-job-builder config introduced in
+https://osmocom.org/issues/3268;>OS#3268.
+See https://osmocom.org/projects/cellular-infrastructure/wiki/Titan_TTCN3_Testsuites;>
+TTCN3 Testsuite for more information.
+node: ttcn3
+parameters:
+  - string:
+  name: BRANCH
+  description: |
+Branch of docker-playground.git.
+Only modify if you are hacking on the docker-playground 
scripts.
+  default: '*/master'
+
+builders:
+  - shell: |-
+  case "{job-name}" in
+  *-latest)
+  cd "$(echo "{job-name}" | sed s/\-latest$//)"
+  IMAGE_SUFFIX="latest" ./jenkins.sh
+  ;;
+  *)
+  cd "{job-name}"
+  IMAGE_SUFFIX="master" ./jenkins.sh
+  ;;
+  esac
+scm:
+  - git:
+  branches:
+- '$BRANCH'
+  url: git://git.osmocom.org/docker-playground
+  git-config-name: 'Jenkins Builder'
+  git-config-email: 'jenk...@osmocom.org'
+triggers:
+  - timed: "{obj:timer}"
+publishers:
+  - junit:
+  results: '**/junit-xml-*.log'
+  allow-empty-results: false
+  - email:
+  notify-every-unstable-build: true
+  recipients: lafo...@gnumonks.org
+  send-to-individuals: false
+properties:
+- build-blocker:
+use-build-blocker: true
+blocking-jobs:
+  - "^{job-name}.*"
+
+# vim: expandtab tabstop=2 shiftwidth=2

--
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 5
Gerrit-Owner: osmith 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: osmith 


Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

2018-11-05 Thread osmith
osmith has posted comments on this change. ( https://gerrit.osmocom.org/11370 )

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
..


Patch Set 4: Verified+1


--
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: osmith 
Gerrit-Comment-Date: Mon, 05 Nov 2018 09:28:25 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

2018-11-05 Thread Max
Max has posted comments on this change. ( https://gerrit.osmocom.org/11370 )

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
..


Patch Set 4: Code-Review+1

That's exactly the thing I've been looking for - will add corresponding pcu 
tests once this is merged.


--
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: osmith 
Gerrit-Comment-Date: Mon, 05 Nov 2018 09:11:05 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

2018-11-04 Thread Neels Hofmeyr
Neels Hofmeyr has posted comments on this change. ( 
https://gerrit.osmocom.org/11370 )

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
..


Patch Set 4: Code-Review+2

if you're not overwriting the manual jobs, have you tested that this yml file 
works?

As soon as this file generates working jenkins jobs, let's drop the current 
"manual" jobs completely.

In the meantime it is not harmful to add this file to osmo-ci.


--
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: osmith 
Gerrit-Comment-Date: Mon, 05 Nov 2018 01:34:41 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

2018-10-22 Thread osmith
osmith has posted comments on this change. ( https://gerrit.osmocom.org/11370 )

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
..


Patch Set 4:

(1 comment)

> I don't like the file name "testsuite.yml" -- we have so many different test 
> suites, better to indicate which one this is about in the name.

Fixed, it's called "ttcn3-testsuites.yml" now.

> What's "nplab"?

The m3ua and sua jobs are prefixed with that (the existing jobs). It seems to 
stand for "Network Programming Lab of Münster University of Applied Sciences", 
see  and .

https://gerrit.osmocom.org/#/c/11370/1/jobs/testsuite.yml
File jobs/testsuite.yml:

https://gerrit.osmocom.org/#/c/11370/1/jobs/testsuite.yml@26
PS1, Line 26:
> I've realized that in order to do that, I'll need to rewrite the file a bit - 
> right now it can only  […]
With the latest patchset, it should be possible to safely migrate the existing 
jobs (they won't be disabled, timers have been added based on existing configs, 
e-mail notifications for laforge have been enabled just like it was in all 
existing jobs). It is still commented out though, so it does not happen by 
accident.

So... after you guys have reviewed the patch, we could roll out it as follows:
* remove comments
* update the jobs
* update this patch to remove the comments as well

Is that alright?



--
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: osmith 
Gerrit-Comment-Date: Mon, 22 Oct 2018 14:45:20 +
Gerrit-HasComments: Yes
Gerrit-HasLabels: No


Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

2018-10-22 Thread osmith
Hello Neels Hofmeyr,

I'd like you to reexamine a change. Please visit

https://gerrit.osmocom.org/11370

to look at the new patch set (#4).

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
..

jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

New JJB config, that is able to generate all jobs in the TTCN3 tab at
Jenkins: 

The new *-latest jobs test against the latest stable releases. Existing
jobs are not overwritten (this is commented out).
ttcn3-bsc-test-sccplite-latest is disabled for now, because it hangs
forever.

Related: OS#3268
Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
---
A jobs/ttcn3-testsuites.yml
1 file changed, 106 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/70/11370/4
--
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: osmith 


Change in osmo-ci[master]: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

2018-10-22 Thread osmith
Hello Neels Hofmeyr,

I'd like you to reexamine a change. Please visit

https://gerrit.osmocom.org/11370

to look at the new patch set (#3).

Change subject: jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs
..

jobs: ttcn3-testsuites.yml for ttcn3/nplab jobs

New JJB config, that is able to generate all jobs in the TTCN3 tab at
Jenkins: 

The new *-latest jobs test against the latest stable releases. Existing
jobs are not overwritten (this is commented out).
ttcn3-bsc-test-sccplite-latest is disabled for now, because it hangs
forever.

Related: OS#3268
Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
---
A jobs/ttcn3-testsuites.yml
1 file changed, 106 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/70/11370/3
--
To view, visit https://gerrit.osmocom.org/11370
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
Gerrit-Change-Number: 11370
Gerrit-PatchSet: 3
Gerrit-Owner: osmith 
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: osmith