Project

General

Profile

Bug #2563

jenkins: Cannot write to artifact store

Added by laforge 11 days ago. Updated 4 days ago.

Status:
New
Priority:
Urgent
Assignee:
Category:
-
Start date:
10/10/2017
Due date:
% Done:

0%

Spec Reference:

Description

From e.g. https://jenkins.osmocom.org/jenkins/job/OpenBSC/3910/IU=--disable-iu,MGCP=--enable-mgcp-transcoding,SMPP=--enable-smpp,label=linux_amd64_debian8/console

+ echo openggsn.master.6045efb
+ x=libosmocore.master.f624546_libosmo-abis.master.01543a1_libosmo-netif.master.c98bf1b_libosmo-sccp.master.d966b0f_libsmpp34.master.4a82bb9_openggsn.master.6045efb
+ [ x--disable-iu = x--enable-iu ]
+ echo libosmocore.master.f624546_libosmo-abis.master.01543a1_libosmo-netif.master.c98bf1b_libosmo-sccp.master.d966b0f_libsmpp34.master.4a82bb9_openggsn.master.6045efb.tar.gz
+ cd /build
+ artifact=libosmocore.master.f624546_libosmo-abis.master.01543a1_libosmo-netif.master.c98bf1b_libosmo-sccp.master.d966b0f_libsmpp34.master.4a82bb9_openggsn.master.6045efb.tar.gz
+ temp_job_store=/artifact_store/tmp/OpenBSC_IU=--disable-iu,MGCP=--enable-mgcp-transcoding,SMPP=--enable-smpp,label=linux_amd64_debian8/
+ job_store=/artifact_store/OpenBSC_IU=--disable-iu,MGCP=--enable-mgcp-transcoding,SMPP=--enable-smpp,label=linux_amd64_debian8/
+ [ ! -f /artifact_store/tmp/OpenBSC_IU=--disable-iu,MGCP=--enable-mgcp-transcoding,SMPP=--enable-smpp,label=linux_amd64_debian8//libosmocore.master.f624546_libosmo-abis.master.01543a1_libosmo-netif.master.c98bf1b_libosmo-sccp.master.d966b0f_libsmpp34.master.4a82bb9_openggsn.master.6045efb.tar.gz ]
+ mkdir -p /artifact_store/OpenBSC_IU=--disable-iu,MGCP=--enable-mgcp-transcoding,SMPP=--enable-smpp,label=linux_amd64_debian8/ /artifact_store/tmp/OpenBSC_IU=--disable-iu,MGCP=--enable-mgcp-transcoding,SMPP=--enable-smpp,label=linux_amd64_debian8/
mkdir: cannot create directory '/artifact_store/OpenBSC_IU=--disable-iu,MGCP=--enable-mgcp-transcoding,SMPP=--enable-smpp,label=linux_amd64_debian8/': Permission denied
mkdir: cannot create directory '/artifact_store/tmp': Permission denied
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Finished: FAILURE

This has been happening for (it seems) 4 days or so. Any ideas what has changed to cause this?

History

#1 Updated by pespin 4 days ago

drwxr-xr-x 2 root root 4.0K Oct 5 17:22 jenkins_build_artifact_store

hmm, maybe I thought re-creating the dir was a good idea while I was freeing space on the file system.
Must be my fault, definitely not intended to be owned by root.

#2 Updated by pespin 4 days ago

I erased jenkins_build_artifact_store (it was empty) and re-run https://jenkins.osmocom.org/jenkins/job/OpenBSC-gerrit/, and it seems to create dir jenkins_build_artifact_store as osmocom-build and the build runs successfully. Let's see if that fixes completely the issue or if it appears again due to some bug somewhere.

Also available in: Atom PDF