Attention is currently required from: osmith.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/37506?usp=email )
Change subject: jobs/various: clean workspace on success
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> are you sure jenkins doesn't already have some build-in function to do this?
wipe-workspace: true
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37506?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ibedef518782ea9f68c6386f1ce7fba216e1886bc
Gerrit-Change-Number: 37506
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 16 Jul 2024 12:40:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: osmith.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/37506?usp=email )
Change subject: jobs/various: clean workspace on success
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
are you sure jenkins doesn't already have some build-in function to do this?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37506?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ibedef518782ea9f68c6386f1ce7fba216e1886bc
Gerrit-Change-Number: 37506
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 16 Jul 2024 12:40:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: osmith.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/37505?usp=email )
Change subject: gerrit-verifications-dahdi: set concurrent: false
......................................................................
Patch Set 1:
(1 comment)
File jobs/gerrit-verifications-dahdi.yml:
https://gerrit.osmocom.org/c/osmo-ci/+/37505/comment/c6212c9e_b6895b3b
PS1, Line 26: concurrent: false
I'd add a comment explaining that the sole rationale to have this as false is disk space, nothing related to concurrency running problems.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37505?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I4fd4e85f0930b15b6c67e70fb2c140392c910bf5
Gerrit-Change-Number: 37505
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 16 Jul 2024 12:39:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: lynxis lazus, osmith.
Hello Jenkins Builder, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ci/+/37392?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review-1 by osmith, Verified+1 by Jenkins Builder
Change subject: obs: add package strongswan-epdg
......................................................................
obs: add package strongswan-epdg
Change-Id: I3c8ec3e04010c419e5be1bd0ac35b74888eb3cc6
---
M scripts/obs/lib/config.py
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/92/37392/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37392?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I3c8ec3e04010c419e5be1bd0ac35b74888eb3cc6
Gerrit-Change-Number: 37392
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-MessageType: newpatchset
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/37506?usp=email )
Change subject: jobs/various: clean workspace on success
......................................................................
jobs/various: clean workspace on success
When investigating why space run out on build4, I found that some of the
jenkins workspaces take up a lot of space after everything is built.
If the build was successful, we don't need to keep the workspaces around
so remove them.
Examples:
* ~3 GiB: gerrit-osmo-ttcn3-hacks-build
* ~1 GiB: Osmocom_OBS_nightly
* ~1 GiB: Osmocom-build-tags-against-master
* ~1 GiB: master-osmo-bts
Change-Id: Ibedef518782ea9f68c6386f1ce7fba216e1886bc
---
M jobs/gerrit-verifications.yml
M jobs/master-builds.yml
M jobs/osmocom-build-tags-against-master.yml
M jobs/osmocom-obs-nightly-asan.yml
M jobs/osmocom-obs.yml
5 files changed, 38 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/06/37506/1
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index 3f7f47f..a1a7c0c 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -720,6 +720,8 @@
builders:
- shell: '{obj:cmd}'
+ # Remove workspace on success to free up space
+ - shell: 'rm -rf "$WORKSPACE"'
publishers:
- warnings:
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index ff7307c..9a5c1f7 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -634,6 +634,11 @@
builders:
- shell: '{obj:cmd}'
+ - shell: |
+ # Remove workspace on success to free up space. Create an empty dir
+ # so the job does not abort when attempting to collect artifacts.
+ rm -rf "$WORKSPACE"
+ mkdir -p "$WORKSPACE"
publishers:
- archive:
diff --git a/jobs/osmocom-build-tags-against-master.yml b/jobs/osmocom-build-tags-against-master.yml
index e33c9a3..8ae4a63 100644
--- a/jobs/osmocom-build-tags-against-master.yml
+++ b/jobs/osmocom-build-tags-against-master.yml
@@ -32,6 +32,9 @@
-w /build \
"$USER/debian-bookworm-build" \
scripts/osmocom-build-old-tags-against-master.sh
+
+ # Remove workspace on success to free up space
+ rm -rf "$WORKSPACE"
scm:
- git:
branches:
diff --git a/jobs/osmocom-obs-nightly-asan.yml b/jobs/osmocom-obs-nightly-asan.yml
index 14ddbef..a08eefd 100644
--- a/jobs/osmocom-obs-nightly-asan.yml
+++ b/jobs/osmocom-obs-nightly-asan.yml
@@ -45,6 +45,9 @@
osmocom:nightly:asan \
ALL_OSMOCOM_PACKAGES \
--exclude-package $EXCLUDE_PACKAGES
+
+ # Remove workspace on success to free up space
+ rm -rf "$WORKSPACE"
scm:
- git:
branches:
diff --git a/jobs/osmocom-obs.yml b/jobs/osmocom-obs.yml
index eb77f4d..e61b16b 100644
--- a/jobs/osmocom-obs.yml
+++ b/jobs/osmocom-obs.yml
@@ -42,6 +42,10 @@
--feed {type} \
--meta \
osmocom:{type}
+
+ # Remove workspace on success to free up space
+ rm -rf "$WORKSPACE"
+
scm:
- git:
branches:
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37506?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ibedef518782ea9f68c6386f1ce7fba216e1886bc
Gerrit-Change-Number: 37506
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/37505?usp=email )
Change subject: gerrit-verifications-dahdi: set concurrent: false
......................................................................
gerrit-verifications-dahdi: set concurrent: false
Each of the gerrit-dahdi-linux-* jobs has a 3-4 GiB workspace directory
with a full linux tree. We keep them on disk so we don't need to clone
the linux tree with each build.
This makes sense, but set concurrent to false to not create more of
these than necessary. These directories stood out when investigating
why build4 was running out of space.
Change-Id: I4fd4e85f0930b15b6c67e70fb2c140392c910bf5
---
M jobs/gerrit-verifications-dahdi.yml
1 file changed, 18 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/05/37505/1
diff --git a/jobs/gerrit-verifications-dahdi.yml b/jobs/gerrit-verifications-dahdi.yml
index 5a8b3a6..29d37d9 100644
--- a/jobs/gerrit-verifications-dahdi.yml
+++ b/jobs/gerrit-verifications-dahdi.yml
@@ -23,7 +23,7 @@
name: 'gerrit-dahdi-linux-{type}-{linux-ver}'
project-type: freestyle
node: osmocom-gerrit
- concurrent: true
+ concurrent: false
retry-count: 0 # scm checkout
properties:
- build-discarder:
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/37505?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I4fd4e85f0930b15b6c67e70fb2c140392c910bf5
Gerrit-Change-Number: 37505
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange