Started by upstream project STX_build_layer_all_master_master build number 1154 http:jenkins-STX_build_layer_all_master_master-1154.log.html
originally caused by:
Started by timer
Started by user Scott Little
Started by upstream project STX_build_layer_all_master_master build number 1153 http:jenkins-STX_build_layer_all_master_master-1153.log.html
originally caused by:
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/workspace/STX_build_layer_flock_master_master
No emails were triggered.
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Executing and processing the following script content:
export BRANCH=master
export OPENSTACK_RELEASE=master
export LAYER=flock
export MANIFEST=flock.xml
export OS=centos
export OS_VERSION=7.5.1804
export BUILD_ISO=true
export BUILD_IMG=true
export PUBLISH_URL=http://mirror.starlingx.cengn.ca
export MAIN_HELM_CHART_RPM_NAME=stx-openstack-helm-fluxcd

export TIMESTAMP=$BUILD_TIMESTAMP
export MASTER_BUILD_NUMBER=$BUILD_NUMBER
export MASTER_JOB_NAME=$JOB_NAME
export DISTRO=$OS

export PUBLISH_BRANCH=""
export PUBLISH_TIMESTAMP=""
export MUNGED_BRANCH=$(echo $BRANCH | tr '/' '-')

if [ "$BRANCH" == "master" ]; then
PUBLISH_BRANCH=$BRANCH
PUBLISH_TIMESTAMP=$TIMESTAMP
elif [[ $BRANCH == f/* ]]; then
# feature branch
PUBLISH_BRANCH=$(echo $BRANCH | sed 's#^f/#feature/#')
PUBLISH_TIMESTAMP=$TIMESTAMP
elif [[ $BRANCH == m/[0-9][0-9][0-9][0-9][.][0-9][0-9]* ]]; then
# milestone tag m/2018.10.b3
PUBLISH_BRANCH=$(echo $BRANCH | sed 's#^m/\([0-9][0-9][0-9][0-9][.][0-9][0-9]\).*#milestone/\1#')
PUBLISH_TIMESTAMP=$(echo $BRANCH | sed 's#^m/\([0-9][0-9][0-9][0-9][.][0-9][0-9]\)\([.][Bb][0-9]*\)$#\1\2#')
elif [[ $BRANCH == m[0-9][0-9][0-9][0-9][.][0-9][0-9]* ]]; then
# milestone tag m2018.10.b3
PUBLISH_BRANCH=$(echo $BRANCH | sed 's#^m\([0-9][0-9][0-9][0-9][.][0-9][0-9]\).*#milestone/\1#')
PUBLISH_TIMESTAMP=$(echo $BRANCH | sed 's#^m\([0-9][0-9][0-9][0-9][.][0-9][0-9]\)\([.][Bb][0-9]*\)$#\1\2#')
MUNGED_BRANCH=$(echo $BRANCH | sed 's#^m\([0-9][0-9][0-9][0-9][.][0-9][0-9]\)\([.][Bb][0-9]*\)$#m-\1\2#')
elif [[ $BRANCH == [0-9][0-9][0-9][0-9][.][0-9][0-9][.][Bb][0-9]* ]]; then
# milestone tag 2018.10.b3
PUBLISH_BRANCH=$(echo $BRANCH | sed 's#^\([0-9][0-9][0-9][0-9][.][0-9][0-9]\).*#milestone/\1#')
PUBLISH_TIMESTAMP=$(echo $BRANCH | sed 's#^\([0-9][0-9][0-9][0-9][.][0-9][0-9]\)\([.][Bb][0-9]*\)$#\1\2#')
MUNGED_BRANCH="m-$BRANCH"
elif [[ $BRANCH == r/stx[.]@([0-9])[.]@([0-9]) ]]; then
# release candidate branch r/stx.2.0
PUBLISH_BRANCH=$(echo $BRANCH | sed 's#^r/stx[.]\([0-9]*[.][0-9]*\).*$#rc/\1#')
PUBLISH_TIMESTAMP=$TIMESTAMP
MUNGED_BRANCH=$(echo $BRANCH | sed 's#^r/stx[.]#rc-#')
elif [[ $BRANCH == r/[0-9][0-9][0-9][0-9][.][0-9][0-9]* ]]; then
# release branch r/2018.10.5
PUBLISH_BRANCH=$(echo $BRANCH | sed 's#^r/\([0-9][0-9][0-9][0-9][.][0-9][0-9]\).*#release/\1#')
PUBLISH_TIMESTAMP=$(echo $BRANCH | sed 's#^r/\([0-9][0-9][0-9][0-9][.][0-9][0-9]\)\([.][0-9]*\)\{0,1\}$#\1\2#')
elif [[ $BRANCH == r[0-9][0-9][0-9][0-9][.]* ]]; then
# release branch r2018.10.5
PUBLISH_BRANCH=$(echo $BRANCH | sed 's#^r\([0-9][0-9][0-9][0-9][.][0-9][0-9]\).*#release/\1#')
PUBLISH_TIMESTAMP=$(echo $BRANCH | sed 's#^r\([0-9][0-9][0-9][0-9][.][0-9][0-9]\)\([.][0-9]*\)\{0,1\}$#\1\2#')
MUNGED_BRANCH=$(echo $BRANCH | sed 's#^r\([0-9][0-9][0-9][0-9][.][0-9][0-9]\)\([.][0-9]*\)\{0,1\}$#r-\1\2#')
elif [[ $BRANCH == [0-9][0-9][0-9][0-9][.][0-9][0-9] ]] || [[ $BRANCH == [0-9][0-9][0-9][0-9][.][0-9][0-9].[0-9]* ]] ; then
# Release branch 2018.10.1
PUBLISH_BRANCH=$(echo $BRANCH | sed 's#\([0-9][0-9][0-9][0-9][.][0-9][0-9]\).*#release/\1#')
PUBLISH_TIMESTAMP=$BRANCH
MUNGED_BRANCH="r-$BRANCH"
fi

# Assertions, did we get a BRANCH we understand how to parse
[ -n "$PUBLISH_BRANCH" ]
[ -n "$PUBLISH_TIMESTAMP" ]

export PROJECT=$MUNGED_BRANCH-$LAYER

export MY_REPO_ROOT=/localdisk/designer/$USER/$PROJECT
export MY_REPO=$MY_REPO_ROOT/cgcs-root
export MY_WORKSPACE=/localdisk/loadbuild/$USER/$PROJECT/$TIMESTAMP

# if [ "$OS" == "centos" ] && [ -f $MY_REPO_ROOT/stx-tools/centos-mirror-tools/yum.conf.sample ] ; then
# export OS_VERSION=$( cd $MY_REPO_ROOT/stx-tools/centos-mirror-tools/;
# yum --config=./yum.conf.sample --showduplicates list centos-release | \
# grep '^centos-release' | awk '{print $2}' | sort --unique | \
# tail -n 1 | tr '-' '.' | cut -d '.' -f -3 )
# fi

export DOCKER_BUILD_ID=$USER-$PROJECT-$TIMESTAMP-builder
export DOCKER_BUILD_TAG=$PROJECT-$TIMESTAMP-builder-image

export PUBLISH_DISTRO_BASE=/export/mirror/starlingx/$PUBLISH_BRANCH/$DISTRO/$LAYER
export PUBLISH_BUILD_BASE=$PUBLISH_DISTRO_BASE/$PUBLISH_TIMESTAMP
export PUBLISH_INPUTS_BASE=$PUBLISH_BUILD_BASE/inputs
export PUBLISH_OUTPUTS_BASE=$PUBLISH_BUILD_BASE/outputs
export PUBLISH_LOGS_BASE=$PUBLISH_BUILD_BASE/logs
export PUBLISH_LOGS_URL=$PUBLISH_URL/$(echo $PUBLISH_LOGS_BASE | sed 's#^/export/##')

echo FORCE_BUILD=$FORCE_BUILD > env.properties
echo FULL_BUILD=$FULL_BUILD >> env.properties
echo TIMESTAMP=$TIMESTAMP >> env.properties
echo PUBLISH_TIMESTAMP=$PUBLISH_TIMESTAMP >> env.properties
echo BRANCH=$BRANCH >> env.properties
echo PROJECT=$PROJECT >> env.properties
echo MUNGED_BRANCH=$MUNGED_BRANCH >> env.properties
echo OPENSTACK_RELEASE=$OPENSTACK_RELEASE >> env.properties
echo LAYER=$LAYER >> env.properties
echo MANIFEST=$MANIFEST >> env.properties
echo DISTRO=$DISTRO >> env.properties
echo OS=$OS >> env.properties
echo OS_VERSION=$OS_VERSION >> env.properties
echo BUILD_ISO=$BUILD_ISO >> env.properties
echo BUILD_IMG=$BUILD_IMG >> env.properties
echo MASTER_BUILD_NUMBER=$MASTER_BUILD_NUMBER >> env.properties
echo MASTER_JOB_NAME=$MASTER_JOB_NAME >> env.properties
echo MY_REPO_ROOT=$MY_REPO_ROOT >> env.properties
echo MY_REPO=$MY_REPO >> env.properties
echo MY_WORKSPACE=$MY_WORKSPACE >> env.properties
echo DOCKER_BUILD_ID=$DOCKER_BUILD_ID >> env.properties
echo DOCKER_BUILD_TAG=$DOCKER_BUILD_TAG >> env.properties
echo PUBLISH_DISTRO_BASE=$PUBLISH_DISTRO_BASE >> env.properties
echo PUBLISH_BUILD_BASE=$PUBLISH_BUILD_BASE >> env.properties
echo PUBLISH_INPUTS_BASE=$PUBLISH_INPUTS_BASE >> env.properties
echo PUBLISH_OUTPUTS_BASE=$PUBLISH_OUTPUTS_BASE >> env.properties
echo PUBLISH_LOGS_BASE=$PUBLISH_LOGS_BASE >> env.properties
echo PUBLISH_LOGS_URL=$PUBLISH_LOGS_URL >> env.properties
echo BUILD_NM=$JOB_NAME >> env.properties
echo BUILD_NUM=$BUILD_NUMBER >> env.properties
echo MAIN_HELM_CHART_RPM_NAME=$MAIN_HELM_CHART_RPM_NAME >> env.properties

[STX_build_layer_flock_master_master] $ /bin/sh -xe /tmp/jenkins433022193563485436.sh
+ export BRANCH=master
+ BRANCH=master
+ export OPENSTACK_RELEASE=master
+ OPENSTACK_RELEASE=master
+ export LAYER=flock
+ LAYER=flock
+ export MANIFEST=flock.xml
+ MANIFEST=flock.xml
+ export OS=centos
+ OS=centos
+ export OS_VERSION=7.5.1804
+ OS_VERSION=7.5.1804
+ export BUILD_ISO=true
+ BUILD_ISO=true
+ export BUILD_IMG=true
+ BUILD_IMG=true
+ export PUBLISH_URL=http://mirror.starlingx.cengn.ca
+ PUBLISH_URL=http://mirror.starlingx.cengn.ca
+ export MAIN_HELM_CHART_RPM_NAME=stx-openstack-helm-fluxcd
+ MAIN_HELM_CHART_RPM_NAME=stx-openstack-helm-fluxcd
+ export TIMESTAMP=20230206T192645Z
+ TIMESTAMP=20230206T192645Z
+ export MASTER_BUILD_NUMBER=1088
+ MASTER_BUILD_NUMBER=1088
+ export MASTER_JOB_NAME=STX_build_layer_flock_master_master
+ MASTER_JOB_NAME=STX_build_layer_flock_master_master
+ export DISTRO=centos
+ DISTRO=centos
+ export PUBLISH_BRANCH=
+ PUBLISH_BRANCH=
+ export PUBLISH_TIMESTAMP=
+ PUBLISH_TIMESTAMP=
++ echo master
++ tr / -
+ export MUNGED_BRANCH=master
+ MUNGED_BRANCH=master
+ '[' master == master ']'
+ PUBLISH_BRANCH=master
+ PUBLISH_TIMESTAMP=20230206T192645Z
+ '[' -n master ']'
+ '[' -n 20230206T192645Z ']'
+ export PROJECT=master-flock
+ PROJECT=master-flock
+ export MY_REPO_ROOT=/localdisk/designer/jenkins/master-flock
+ MY_REPO_ROOT=/localdisk/designer/jenkins/master-flock
+ export MY_REPO=/localdisk/designer/jenkins/master-flock/cgcs-root
+ MY_REPO=/localdisk/designer/jenkins/master-flock/cgcs-root
+ export MY_WORKSPACE=/localdisk/loadbuild/jenkins/master-flock/20230206T192645Z
+ MY_WORKSPACE=/localdisk/loadbuild/jenkins/master-flock/20230206T192645Z
+ export DOCKER_BUILD_ID=jenkins-master-flock-20230206T192645Z-builder
+ DOCKER_BUILD_ID=jenkins-master-flock-20230206T192645Z-builder
+ export DOCKER_BUILD_TAG=master-flock-20230206T192645Z-builder-image
+ DOCKER_BUILD_TAG=master-flock-20230206T192645Z-builder-image
+ export PUBLISH_DISTRO_BASE=/export/mirror/starlingx/master/centos/flock
+ PUBLISH_DISTRO_BASE=/export/mirror/starlingx/master/centos/flock
+ export PUBLISH_BUILD_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z
+ PUBLISH_BUILD_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z
+ export PUBLISH_INPUTS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/inputs
+ PUBLISH_INPUTS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/inputs
+ export PUBLISH_OUTPUTS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/outputs
+ PUBLISH_OUTPUTS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/outputs
+ export PUBLISH_LOGS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/logs
+ PUBLISH_LOGS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/logs
++ echo /export/mirror/starlingx/master/centos/flock/20230206T192645Z/logs
++ sed 's#^/export/##'
+ export PUBLISH_LOGS_URL=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20230206T192645Z/logs
+ PUBLISH_LOGS_URL=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20230206T192645Z/logs
+ echo FORCE_BUILD=false
+ echo FULL_BUILD=false
+ echo TIMESTAMP=20230206T192645Z
+ echo PUBLISH_TIMESTAMP=20230206T192645Z
+ echo BRANCH=master
+ echo PROJECT=master-flock
+ echo MUNGED_BRANCH=master
+ echo OPENSTACK_RELEASE=master
+ echo LAYER=flock
+ echo MANIFEST=flock.xml
+ echo DISTRO=centos
+ echo OS=centos
+ echo OS_VERSION=7.5.1804
+ echo BUILD_ISO=true
+ echo BUILD_IMG=true
+ echo MASTER_BUILD_NUMBER=1088
+ echo MASTER_JOB_NAME=STX_build_layer_flock_master_master
+ echo MY_REPO_ROOT=/localdisk/designer/jenkins/master-flock
+ echo MY_REPO=/localdisk/designer/jenkins/master-flock/cgcs-root
+ echo MY_WORKSPACE=/localdisk/loadbuild/jenkins/master-flock/20230206T192645Z
+ echo DOCKER_BUILD_ID=jenkins-master-flock-20230206T192645Z-builder
+ echo DOCKER_BUILD_TAG=master-flock-20230206T192645Z-builder-image
+ echo PUBLISH_DISTRO_BASE=/export/mirror/starlingx/master/centos/flock
+ echo PUBLISH_BUILD_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z
+ echo PUBLISH_INPUTS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/inputs
+ echo PUBLISH_OUTPUTS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/outputs
+ echo PUBLISH_LOGS_BASE=/export/mirror/starlingx/master/centos/flock/20230206T192645Z/logs
+ echo PUBLISH_LOGS_URL=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20230206T192645Z/logs
+ echo BUILD_NM=STX_build_layer_flock_master_master
+ echo BUILD_NUM=1088
+ echo MAIN_HELM_CHART_RPM_NAME=stx-openstack-helm-fluxcd
[EnvInject] - Script executed successfully.
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'env.properties'
[EnvInject] - Variables injected successfully.
Waiting for the completion of mirror_download_sync
mirror_download_sync 11594 http:jenkins-mirror_download_sync-11594.log.html completed. Result was SUCCESS
Build step 'Trigger/call builds on other projects' changed build result to SUCCESS
Waiting for the completion of STX_repo_sync_layered
STX_repo_sync_layered 4809 http:jenkins-STX_repo_sync_layered-4809.log.html completed. Result was SUCCESS
Waiting for the completion of STX_change_log
STX_change_log 6452 http:jenkins-STX_change_log-6452.log.html completed. Result was SUCCESS
Waiting for the completion of STX_BUILD_container_setup_layered
STX_BUILD_container_setup_layered 4202 http:jenkins-STX_BUILD_container_setup_layered-4202.log.html completed. Result was SUCCESS
Waiting for the completion of STX_download_mirror_layered
STX_download_mirror_layered 4197 http:jenkins-STX_download_mirror_layered-4197.log.html completed. Result was SUCCESS
Waiting for the completion of STX_build_populate
STX_build_populate 4062 http:jenkins-STX_build_populate-4062.log.html completed. Result was SUCCESS
Waiting for the completion of STX_build_info_file
STX_build_info_file 5652 http:jenkins-STX_build_info_file-5652.log.html completed. Result was SUCCESS
Waiting for the completion of STX_build_pre_installer_layered
STX_build_pre_installer_layered 3629 http:jenkins-STX_build_pre_installer_layered-3629.log.html completed. Result was SUCCESS
Waiting for the completion of STX_build_installer_layered
STX_build_installer_layered 1106 http:jenkins-STX_build_installer_layered-1106.log.html completed. Result was SUCCESS
Waiting for the completion of STX_build_post_installer
STX_build_post_installer 2580 http:jenkins-STX_build_post_installer-2580.log.html completed. Result was SUCCESS
Waiting for the completion of STX_build_helm_charts
STX_build_helm_charts 3086 http:jenkins-STX_build_helm_charts-3086.log.html completed. Result was SUCCESS
Waiting for the completion of STX_last_commits
STX_last_commits 5371 http:jenkins-STX_last_commits-5371.log.html completed. Result was SUCCESS
Waiting for the completion of STX_publish
STX_publish 5450 http:jenkins-STX_publish-5450.log.html completed. Result was SUCCESS
Waiting for the completion of STX_publish_success
STX_publish_success 3324 http:jenkins-STX_publish_success-3324.log.html completed. Result was SUCCESS
Sending e-mails to: scott.little@windriver.com
No emails were triggered.
Triggering a new build of copy_logs
Triggering a new build of STX_BUILD_container_teardown
Triggering a new build of STX_delete_root_owned
Finished: SUCCESS