Pull request #108 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Loading trusted files from base branch master at a0a7eec39b0c4269a0e577821221e71b45f7e5c7 rather than 5707fd0befa9ee79ba06c165168a7ace18f23a8d Obtained Jenkinsfile from a0a7eec39b0c4269a0e577821221e71b45f7e5c7 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3161587481398442254.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6738213553195154094.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh935418992459837256.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2343327988180359772.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-108/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8366063413133657276.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-433 in /w/workspace/gexfoundry_device-rest-go_PR-108 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-108 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/jenkins-gitclient-ssh1918462672792547978.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit 5707fd0befa9ee79ba06c165168a7ace18f23a8d Merge succeeded, producing 5707fd0befa9ee79ba06c165168a7ace18f23a8d Checking out Revision 5707fd0befa9ee79ba06c165168a7ace18f23a8d (PR-108) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/jenkins-gitclient-ssh2918856829422147183.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5707fd0befa9ee79ba06c165168a7ace18f23a8d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/jenkins-gitclient-ssh6396921679729078380.key > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5707fd0befa9ee79ba06c165168a7ace18f23a8d # timeout=10 Commit message: "fix(snap): update environment overrides for device and profile dir" > git rev-list --no-walk 8b5b60a7870f91dc9f24498af2c9e08cdcac521a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-26T17:14:43.743Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T17:14:43.849Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T17:14:43.880Z] ========================================================= [2021-05-26T17:14:43.880Z] EdgeX Global Pipelines Version Info [2021-05-26T17:14:43.880Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:14:45.348Z] ------------------- [2021-05-26T17:14:45.349Z] stable info: [2021-05-26T17:14:45.349Z] ------------------- [2021-05-26T17:14:45.349Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T17:14:45.349Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T17:14:45.349Z] Message: update stable to v1.0.192 [2021-05-26T17:14:45.924Z] ------------------- [2021-05-26T17:14:45.924Z] experimental info: [2021-05-26T17:14:45.924Z] ------------------- [2021-05-26T17:14:45.924Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T17:14:45.924Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T17:14:45.924Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T17:14:46.066Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-26T17:14:46.091Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-26T17:14:46.116Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T17:14:46.150Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T17:14:46.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T17:14:46.199Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T17:14:46.226Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T17:14:46.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T17:14:46.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-26T17:14:46.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T17:14:46.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T17:14:46.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-26T17:14:46.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T17:14:46.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T17:14:46.497Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T17:14:46.521Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T17:14:46.545Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T17:14:46.570Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T17:14:46.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T17:14:46.618Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-26T17:14:46.642Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-26T17:14:46.668Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-26T17:14:46.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-26T17:14:46.731Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-26T17:14:46.756Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-26T17:14:46.781Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T17:14:46.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-108 [Pipeline] echo [2021-05-26T17:14:46.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-108 [Pipeline] echo [2021-05-26T17:14:46.854Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-108 [Pipeline] echo [2021-05-26T17:14:46.879Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5707fd0befa9ee79ba06c165168a7ace18f23a8d [Pipeline] echo [2021-05-26T17:14:46.905Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5707fd0 [Pipeline] echo [2021-05-26T17:14:46.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T17:14:47.008Z] provisioning config files... [2021-05-26T17:14:47.029Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/config8070631735159347245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:14:47.381Z] ---> docker-login.sh [2021-05-26T17:14:47.381Z] nexus3.edgexfoundry.org:10001 [2021-05-26T17:14:47.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:14:47.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:14:47.651Z] Configure a credential helper to remove this warning. See [2021-05-26T17:14:47.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:14:47.651Z] [2021-05-26T17:14:47.651Z] Login Succeeded [2021-05-26T17:14:47.651Z] nexus3.edgexfoundry.org:10002 [2021-05-26T17:14:47.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:14:47.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:14:47.917Z] Configure a credential helper to remove this warning. See [2021-05-26T17:14:47.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:14:47.917Z] [2021-05-26T17:14:47.917Z] Login Succeeded [2021-05-26T17:14:47.917Z] nexus3.edgexfoundry.org:10003 [2021-05-26T17:14:47.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:14:47.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:14:47.917Z] Configure a credential helper to remove this warning. See [2021-05-26T17:14:47.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:14:47.917Z] [2021-05-26T17:14:47.917Z] Login Succeeded [2021-05-26T17:14:47.917Z] nexus3.edgexfoundry.org:10004 [2021-05-26T17:14:47.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:14:48.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:14:48.181Z] Configure a credential helper to remove this warning. See [2021-05-26T17:14:48.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:14:48.181Z] [2021-05-26T17:14:48.181Z] Login Succeeded [2021-05-26T17:14:48.181Z] docker.io [2021-05-26T17:14:48.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:14:48.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:14:48.444Z] Configure a credential helper to remove this warning. See [2021-05-26T17:14:48.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:14:48.444Z] [2021-05-26T17:14:48.444Z] Login Succeeded [2021-05-26T17:14:48.444Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T17:14:48.454Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T17:14:48.908Z] + git log --format=format:%s -1 5707fd0befa9ee79ba06c165168a7ace18f23a8d [Pipeline] echo [2021-05-26T17:14:48.942Z] GIT_COMMIT: 5707fd0befa9ee79ba06c165168a7ace18f23a8d, Commit Message: fix(snap): update environment overrides for device and profile dir [Pipeline] echo [2021-05-26T17:14:48.958Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:14:49.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T17:14:49.952Z] [2021-05-26T17:14:49.952Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:14:50.271Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T17:14:50.272Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T17:14:50.272Z] 31603596830f: Pulling fs layer [2021-05-26T17:14:50.272Z] 54011a49482f: Pulling fs layer [2021-05-26T17:14:50.272Z] a6820b24f6d8: Pulling fs layer [2021-05-26T17:14:50.272Z] f581987b2513: Pulling fs layer [2021-05-26T17:14:50.272Z] f581987b2513: Waiting [2021-05-26T17:14:50.272Z] 54011a49482f: Verifying Checksum [2021-05-26T17:14:50.272Z] 54011a49482f: Download complete [2021-05-26T17:14:50.534Z] 31603596830f: Verifying Checksum [2021-05-26T17:14:50.534Z] 31603596830f: Download complete [2021-05-26T17:14:50.534Z] a6820b24f6d8: Verifying Checksum [2021-05-26T17:14:50.534Z] a6820b24f6d8: Download complete [2021-05-26T17:14:50.534Z] f581987b2513: Verifying Checksum [2021-05-26T17:14:50.534Z] f581987b2513: Download complete [2021-05-26T17:14:50.534Z] 31603596830f: Pull complete [2021-05-26T17:14:50.800Z] 54011a49482f: Pull complete [2021-05-26T17:14:51.385Z] a6820b24f6d8: Pull complete [2021-05-26T17:14:51.656Z] f581987b2513: Pull complete [2021-05-26T17:14:51.656Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T17:14:51.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T17:14:51.657Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T17:14:51.738Z] prd-centos7-docker-4c-2g-433 does not seem to be running inside a container [2021-05-26T17:14:51.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-108 -v /w/workspace/gexfoundry_device-rest-go_PR-108:/w/workspace/gexfoundry_device-rest-go_PR-108:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-108@tmp:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T17:14:52.870Z] $ docker top 3f32d03da1054b1a4945c362cf88750662300fc515597af82b17e664848fc06d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T17:14:53.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T17:14:53.004Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T17:14:53.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T17:14:53.126Z] $ docker exec 3f32d03da1054b1a4945c362cf88750662300fc515597af82b17e664848fc06d ssh-agent [2021-05-26T17:14:53.237Z] SSH_AUTH_SOCK=/tmp/ssh-8XINwJuBHGR2/agent.14 [2021-05-26T17:14:53.237Z] SSH_AGENT_PID=20 [2021-05-26T17:14:53.244Z] Running ssh-add (command line suppressed) [2021-05-26T17:14:53.327Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/private_key_3990773240874436266.key (/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/private_key_3990773240874436266.key) [2021-05-26T17:14:53.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T17:14:53.650Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T17:14:53.661Z] $ docker exec --env ******** --env ******** 3f32d03da1054b1a4945c362cf88750662300fc515597af82b17e664848fc06d ssh-agent -k [2021-05-26T17:14:53.757Z] unset SSH_AUTH_SOCK; [2021-05-26T17:14:53.760Z] unset SSH_AGENT_PID; [2021-05-26T17:14:53.760Z] echo Agent pid 20 killed; [2021-05-26T17:14:53.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T17:14:53.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T17:14:53.824Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T17:14:53.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T17:14:53.920Z] $ docker exec 3f32d03da1054b1a4945c362cf88750662300fc515597af82b17e664848fc06d ssh-agent [2021-05-26T17:14:54.035Z] SSH_AUTH_SOCK=/tmp/ssh-SOj73PtOuD1v/agent.52 [2021-05-26T17:14:54.035Z] SSH_AGENT_PID=59 [2021-05-26T17:14:54.040Z] Running ssh-add (command line suppressed) [2021-05-26T17:14:54.132Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-108@tmp/private_key_4130692163991416288.key (/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/private_key_4130692163991416288.key) [2021-05-26T17:14:54.149Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T17:14:54.458Z] + git semver init [2021-05-26T17:14:54.458Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T17:14:54.458Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-108/.git [2021-05-26T17:14:54.458Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-108 [2021-05-26T17:14:54.458Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T17:14:54.458Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T17:14:54.458Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T17:14:54.458Z] # $SEMVER_BRANCH = PR-108 [2021-05-26T17:14:54.458Z] # $SEMVER_TEMP = /tmp/semver-476414212 [2021-05-26T17:14:54.458Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-26T17:14:55.418Z] # '/tmp/semver-476414212' -> '/w/workspace/gexfoundry_device-rest-go_PR-108/.semver' [2021-05-26T17:14:55.418Z] # -> Force: false [2021-05-26T17:14:55.418Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-108/.semver [Pipeline] } [2021-05-26T17:14:55.433Z] $ docker exec --env ******** --env ******** 3f32d03da1054b1a4945c362cf88750662300fc515597af82b17e664848fc06d ssh-agent -k [2021-05-26T17:14:55.523Z] unset SSH_AUTH_SOCK; [2021-05-26T17:14:55.523Z] unset SSH_AGENT_PID; [2021-05-26T17:14:55.523Z] echo Agent pid 59 killed; [2021-05-26T17:14:55.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T17:14:55.880Z] + git semver [Pipeline] } [2021-05-26T17:14:55.895Z] $ docker stop --time=1 3f32d03da1054b1a4945c362cf88750662300fc515597af82b17e664848fc06d [2021-05-26T17:14:57.344Z] $ docker rm -f 3f32d03da1054b1a4945c362cf88750662300fc515597af82b17e664848fc06d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T17:14:57.729Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T17:14:57.975Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T17:14:57.979Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-26T17:15:13.149Z] Still waiting to schedule task [2021-05-26T17:15:13.150Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-26T17:15:13.151Z] Still waiting to schedule task [2021-05-26T17:15:13.151Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-26T17:17:17.878Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-434 in /w/workspace/gexfoundry_device-rest-go_PR-108 [Pipeline] { [Pipeline] ws [2021-05-26T17:17:17.899Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-26T17:17:18.125Z] The recommended git tool is: git [2021-05-26T17:17:23.592Z] using credential edgex-jenkins-ssh [2021-05-26T17:17:23.610Z] Cloning the remote Git repository [2021-05-26T17:17:23.666Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T17:17:23.772Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-26T17:17:23.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T17:17:23.835Z] > git --version # timeout=10 [2021-05-26T17:17:23.849Z] > git --version # 'git version 2.17.1' [2021-05-26T17:17:23.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T17:17:23.976Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T17:17:26.269Z] Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit 5707fd0befa9ee79ba06c165168a7ace18f23a8d [2021-05-26T17:17:26.456Z] Merge succeeded, producing 5707fd0befa9ee79ba06c165168a7ace18f23a8d [2021-05-26T17:17:26.457Z] Checking out Revision 5707fd0befa9ee79ba06c165168a7ace18f23a8d (PR-108) [2021-05-26T17:17:25.603Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T17:17:25.633Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T17:17:25.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T17:17:25.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T17:17:25.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T17:17:25.706Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-26T17:17:26.281Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T17:17:26.301Z] > git checkout -f 5707fd0befa9ee79ba06c165168a7ace18f23a8d # timeout=10 [2021-05-26T17:17:26.371Z] > git remote # timeout=10 [2021-05-26T17:17:26.386Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T17:17:26.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T17:17:26.408Z] > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [2021-05-26T17:17:26.428Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T17:17:26.457Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T17:17:26.473Z] > git checkout -f 5707fd0befa9ee79ba06c165168a7ace18f23a8d # timeout=10 [2021-05-26T17:17:30.599Z] Commit message: "fix(snap): update environment overrides for device and profile dir" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T17:17:31.994Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T17:17:32.416Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T17:17:32.757Z] + sudo service docker restart [2021-05-26T17:17:32.757Z] + true [2021-05-26T17:17:40.690Z] Running on prd-centos7-docker-4c-2g-435 in /w/workspace/gexfoundry_device-rest-go_PR-108 [Pipeline] { [Pipeline] ws [2021-05-26T17:17:40.710Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-26T17:17:40.822Z] The recommended git tool is: git [2021-05-26T17:17:43.308Z] using credential edgex-jenkins-ssh [2021-05-26T17:17:43.322Z] Cloning the remote Git repository [2021-05-26T17:17:43.337Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T17:17:43.407Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-26T17:17:43.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T17:17:43.431Z] > git --version # timeout=10 [2021-05-26T17:17:43.441Z] > git --version # 'git version 2.24.4' [2021-05-26T17:17:43.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T17:17:43.469Z] [INFO] Currently running in a labeled security context [2021-05-26T17:17:43.469Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T17:17:43.469Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh2569665059486346430.key [2021-05-26T17:17:43.491Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T17:17:45.103Z] Merging remotes/origin/master commit a0a7eec39b0c4269a0e577821221e71b45f7e5c7 into PR head commit 5707fd0befa9ee79ba06c165168a7ace18f23a8d [2021-05-26T17:17:45.178Z] Merge succeeded, producing 5707fd0befa9ee79ba06c165168a7ace18f23a8d [2021-05-26T17:17:45.179Z] Checking out Revision 5707fd0befa9ee79ba06c165168a7ace18f23a8d (PR-108) [2021-05-26T17:17:44.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T17:17:44.651Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T17:17:44.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-26T17:17:44.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-26T17:17:44.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T17:17:44.679Z] [INFO] Currently running in a labeled security context [2021-05-26T17:17:44.679Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T17:17:44.679Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh6510946303798886726.key [2021-05-26T17:17:44.685Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-26T17:17:45.107Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T17:17:45.114Z] > git checkout -f 5707fd0befa9ee79ba06c165168a7ace18f23a8d # timeout=10 [2021-05-26T17:17:45.140Z] > git remote # timeout=10 [2021-05-26T17:17:45.146Z] > git config --get remote.origin.url # timeout=10 [2021-05-26T17:17:45.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T17:17:45.152Z] [INFO] Currently running in a labeled security context [2021-05-26T17:17:45.152Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T17:17:45.152Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh731758761682508302.key [2021-05-26T17:17:45.157Z] > git merge a0a7eec39b0c4269a0e577821221e71b45f7e5c7 # timeout=10 [2021-05-26T17:17:45.168Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-26T17:17:45.177Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T17:17:45.187Z] > git checkout -f 5707fd0befa9ee79ba06c165168a7ace18f23a8d # timeout=10 [2021-05-26T17:17:48.776Z] Commit message: "fix(snap): update environment overrides for device and profile dir" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T17:17:49.842Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T17:17:50.161Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T17:17:50.462Z] + sudo service docker restart [2021-05-26T17:17:50.462Z] + true [2021-05-26T17:17:50.462Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T17:17:51.104Z] provisioning config files... [2021-05-26T17:17:51.130Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5816976309043717096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:17:51.505Z] ---> docker-login.sh [2021-05-26T17:17:51.505Z] nexus3.edgexfoundry.org:10001 [2021-05-26T17:17:52.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:17:53.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:17:53.092Z] Configure a credential helper to remove this warning. See [2021-05-26T17:17:53.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:17:53.092Z] [2021-05-26T17:17:53.092Z] Login Succeeded [2021-05-26T17:17:53.092Z] nexus3.edgexfoundry.org:10002 [2021-05-26T17:17:53.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:17:53.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:17:53.367Z] Configure a credential helper to remove this warning. See [2021-05-26T17:17:53.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:17:53.367Z] [2021-05-26T17:17:53.367Z] Login Succeeded [2021-05-26T17:17:53.661Z] nexus3.edgexfoundry.org:10003 [2021-05-26T17:17:53.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:17:53.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:17:53.935Z] Configure a credential helper to remove this warning. See [2021-05-26T17:17:53.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:17:53.935Z] [2021-05-26T17:17:53.935Z] Login Succeeded [2021-05-26T17:17:53.935Z] nexus3.edgexfoundry.org:10004 [2021-05-26T17:17:54.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:17:54.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:17:54.534Z] Configure a credential helper to remove this warning. See [2021-05-26T17:17:54.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:17:54.534Z] [2021-05-26T17:17:54.534Z] Login Succeeded [2021-05-26T17:17:54.534Z] docker.io [2021-05-26T17:17:55.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:17:55.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:17:55.725Z] Configure a credential helper to remove this warning. See [2021-05-26T17:17:55.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:17:55.725Z] [2021-05-26T17:17:55.725Z] Login Succeeded [2021-05-26T17:17:55.725Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T17:17:55.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T17:17:56.059Z] ========================================================= [2021-05-26T17:17:56.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T17:17:56.059Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:17:56.429Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-26T17:17:56.429Z] Sending build context to Docker daemon 92.16kB [2021-05-26T17:17:56.702Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T17:17:56.702Z] Step 2/10 : FROM ${BASE} [2021-05-26T17:17:56.977Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T17:17:56.977Z] 595b0fe564bb: Pulling fs layer [2021-05-26T17:17:56.977Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T17:17:56.977Z] 316046926c0a: Pulling fs layer [2021-05-26T17:17:56.977Z] 4ebd0625c992: Pulling fs layer [2021-05-26T17:17:56.977Z] 207e8628e3a3: Pulling fs layer [2021-05-26T17:17:56.977Z] c791037a9be2: Pulling fs layer [2021-05-26T17:17:56.977Z] ffd874e62e21: Pulling fs layer [2021-05-26T17:17:56.977Z] 207e8628e3a3: Waiting [2021-05-26T17:17:56.977Z] c791037a9be2: Waiting [2021-05-26T17:17:56.977Z] ffd874e62e21: Waiting [2021-05-26T17:17:56.977Z] 4ebd0625c992: Waiting [2021-05-26T17:17:56.977Z] 316046926c0a: Verifying Checksum [2021-05-26T17:17:56.977Z] 316046926c0a: Download complete [2021-05-26T17:17:56.977Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T17:17:56.977Z] 7186ed65a4f7: Download complete [2021-05-26T17:17:57.254Z] 207e8628e3a3: Verifying Checksum [2021-05-26T17:17:57.254Z] 207e8628e3a3: Download complete [2021-05-26T17:17:57.254Z] 595b0fe564bb: Verifying Checksum [2021-05-26T17:17:57.254Z] 595b0fe564bb: Download complete [2021-05-26T17:17:57.254Z] c791037a9be2: Download complete [2021-05-26T17:17:57.866Z] 595b0fe564bb: Pull complete [2021-05-26T17:17:58.469Z] 7186ed65a4f7: Pull complete [2021-05-26T17:17:59.066Z] 316046926c0a: Pull complete [2021-05-26T17:17:59.341Z] ffd874e62e21: Download complete [2021-05-26T17:18:00.321Z] 4ebd0625c992: Verifying Checksum [2021-05-26T17:18:00.321Z] 4ebd0625c992: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T17:18:08.639Z] provisioning config files... [2021-05-26T17:18:08.653Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1405421608026519912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:18:08.970Z] ---> docker-login.sh [2021-05-26T17:18:08.970Z] nexus3.edgexfoundry.org:10001 [2021-05-26T17:18:08.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:18:09.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:18:09.231Z] Configure a credential helper to remove this warning. See [2021-05-26T17:18:09.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:18:09.231Z] [2021-05-26T17:18:09.231Z] Login Succeeded [2021-05-26T17:18:09.231Z] nexus3.edgexfoundry.org:10002 [2021-05-26T17:18:09.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:18:09.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:18:09.231Z] Configure a credential helper to remove this warning. See [2021-05-26T17:18:09.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:18:09.231Z] [2021-05-26T17:18:09.231Z] Login Succeeded [2021-05-26T17:18:09.231Z] nexus3.edgexfoundry.org:10003 [2021-05-26T17:18:09.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:18:09.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:18:09.494Z] Configure a credential helper to remove this warning. See [2021-05-26T17:18:09.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:18:09.494Z] [2021-05-26T17:18:09.494Z] Login Succeeded [2021-05-26T17:18:09.494Z] nexus3.edgexfoundry.org:10004 [2021-05-26T17:18:09.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:18:09.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:18:09.494Z] Configure a credential helper to remove this warning. See [2021-05-26T17:18:09.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:18:09.494Z] [2021-05-26T17:18:09.494Z] Login Succeeded [2021-05-26T17:18:09.494Z] docker.io [2021-05-26T17:18:09.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T17:18:09.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T17:18:09.757Z] Configure a credential helper to remove this warning. See [2021-05-26T17:18:09.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T17:18:09.757Z] [2021-05-26T17:18:09.757Z] Login Succeeded [2021-05-26T17:18:09.757Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T17:18:09.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T17:18:09.971Z] ========================================================= [2021-05-26T17:18:09.971Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T17:18:09.971Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:18:10.305Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-26T17:18:10.305Z] Sending build context to Docker daemon 92.16kB [2021-05-26T17:18:10.305Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T17:18:10.305Z] Step 2/10 : FROM ${BASE} [2021-05-26T17:18:10.488Z] 4ebd0625c992: Pull complete [2021-05-26T17:18:10.567Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T17:18:10.567Z] 540db60ca938: Pulling fs layer [2021-05-26T17:18:10.567Z] adcc1eea9eea: Pulling fs layer [2021-05-26T17:18:10.567Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T17:18:10.567Z] 0510c868ecb4: Pulling fs layer [2021-05-26T17:18:10.567Z] afea3b2eda06: Pulling fs layer [2021-05-26T17:18:10.567Z] 7809a108b3ef: Pulling fs layer [2021-05-26T17:18:10.567Z] f706445af74f: Pulling fs layer [2021-05-26T17:18:10.567Z] afea3b2eda06: Waiting [2021-05-26T17:18:10.567Z] 7809a108b3ef: Waiting [2021-05-26T17:18:10.567Z] f706445af74f: Waiting [2021-05-26T17:18:10.567Z] 0510c868ecb4: Waiting [2021-05-26T17:18:10.567Z] 4c4ab2625f07: Verifying Checksum [2021-05-26T17:18:10.567Z] 4c4ab2625f07: Download complete [2021-05-26T17:18:10.567Z] adcc1eea9eea: Verifying Checksum [2021-05-26T17:18:10.567Z] adcc1eea9eea: Download complete [2021-05-26T17:18:10.567Z] afea3b2eda06: Verifying Checksum [2021-05-26T17:18:10.567Z] afea3b2eda06: Download complete [2021-05-26T17:18:10.567Z] 7809a108b3ef: Verifying Checksum [2021-05-26T17:18:10.567Z] 7809a108b3ef: Download complete [2021-05-26T17:18:10.567Z] 540db60ca938: Verifying Checksum [2021-05-26T17:18:10.567Z] 540db60ca938: Download complete [2021-05-26T17:18:10.830Z] 540db60ca938: Pull complete [2021-05-26T17:18:11.089Z] 207e8628e3a3: Pull complete [2021-05-26T17:18:11.094Z] adcc1eea9eea: Pull complete [2021-05-26T17:18:11.094Z] 4c4ab2625f07: Pull complete [2021-05-26T17:18:11.367Z] c791037a9be2: Pull complete [2021-05-26T17:18:11.666Z] f706445af74f: Verifying Checksum [2021-05-26T17:18:11.666Z] f706445af74f: Download complete [2021-05-26T17:18:12.238Z] 0510c868ecb4: Verifying Checksum [2021-05-26T17:18:12.238Z] 0510c868ecb4: Download complete [2021-05-26T17:18:14.760Z] ffd874e62e21: Pull complete [2021-05-26T17:18:15.043Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T17:18:15.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T17:18:15.043Z] ---> cfc18b08335c [2021-05-26T17:18:15.043Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T17:18:15.566Z] 0510c868ecb4: Pull complete [2021-05-26T17:18:15.566Z] afea3b2eda06: Pull complete [2021-05-26T17:18:15.833Z] 7809a108b3ef: Pull complete [2021-05-26T17:18:17.059Z] ---> Running in 824fcc754fe2 [2021-05-26T17:18:17.241Z] f706445af74f: Pull complete [2021-05-26T17:18:17.242Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T17:18:17.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T17:18:17.242Z] ---> b068be0155e3 [2021-05-26T17:18:17.242Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T17:18:17.653Z] Removing intermediate container 824fcc754fe2 [2021-05-26T17:18:17.653Z] ---> 7c94214fea34 [2021-05-26T17:18:17.653Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T17:18:17.653Z] ---> Running in 59429dafb32a [2021-05-26T17:18:18.248Z] Removing intermediate container 59429dafb32a [2021-05-26T17:18:18.248Z] ---> 17c70e62f302 [2021-05-26T17:18:18.248Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T17:18:18.248Z] ---> Running in 2f0494ca5797 [2021-05-26T17:18:18.842Z] Removing intermediate container 2f0494ca5797 [2021-05-26T17:18:18.842Z] ---> 202de0ea4cc0 [2021-05-26T17:18:18.842Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T17:18:18.842Z] ---> Running in 22251584cb95 [2021-05-26T17:18:21.461Z] Removing intermediate container 22251584cb95 [2021-05-26T17:18:21.461Z] ---> b052788cbaad [2021-05-26T17:18:21.461Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T17:18:21.461Z] ---> Running in 73e4a5efb910 [2021-05-26T17:18:22.434Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T17:18:23.833Z] ---> Running in 789ea58838c2 [2021-05-26T17:18:23.833Z] Removing intermediate container 789ea58838c2 [2021-05-26T17:18:23.833Z] ---> 71bef668a5ec [2021-05-26T17:18:23.833Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T17:18:23.833Z] ---> Running in f7bcbcf61e7b [2021-05-26T17:18:23.833Z] Removing intermediate container f7bcbcf61e7b [2021-05-26T17:18:23.833Z] ---> 7a27630edbb8 [2021-05-26T17:18:23.833Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T17:18:23.833Z] ---> Running in b9ad0ce38f4e [2021-05-26T17:18:23.833Z] Removing intermediate container b9ad0ce38f4e [2021-05-26T17:18:23.833Z] ---> cc405941577b [2021-05-26T17:18:23.833Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T17:18:23.833Z] ---> Running in 68f098fb0bb1 [2021-05-26T17:18:23.833Z] Removing intermediate container 68f098fb0bb1 [2021-05-26T17:18:23.833Z] ---> 3d8efae44b70 [2021-05-26T17:18:23.833Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T17:18:23.857Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T17:18:24.103Z] ---> Running in efb9fd2b6502 [2021-05-26T17:18:24.367Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T17:18:24.456Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-26T17:18:24.456Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-26T17:18:24.456Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-26T17:18:24.726Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-26T17:18:24.726Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T17:18:24.726Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-26T17:18:24.998Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-26T17:18:25.268Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-26T17:18:25.268Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-26T17:18:25.310Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T17:18:25.540Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T17:18:25.540Z] OK: 144 MiB in 49 packages [2021-05-26T17:18:25.571Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-26T17:18:25.571Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-26T17:18:25.831Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-26T17:18:25.831Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-26T17:18:25.831Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T17:18:26.091Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-26T17:18:26.091Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-26T17:18:26.351Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-26T17:18:26.612Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-26T17:18:26.612Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T17:18:26.612Z] OK: 154 MiB in 49 packages [2021-05-26T17:18:26.873Z] Removing intermediate container efb9fd2b6502 [2021-05-26T17:18:26.873Z] ---> dabf5d3ad1ea [2021-05-26T17:18:26.873Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-26T17:18:26.981Z] Removing intermediate container 73e4a5efb910 [2021-05-26T17:18:26.981Z] ---> f9c522d6fbc0 [2021-05-26T17:18:26.981Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-26T17:18:26.981Z] ---> Running in 77725295c628 [2021-05-26T17:18:27.137Z] ---> Running in f9224dd47ba8 [2021-05-26T17:18:27.137Z] Removing intermediate container f9224dd47ba8 [2021-05-26T17:18:27.137Z] ---> 5ac7d2169cfa [2021-05-26T17:18:27.137Z] Step 9/10 : COPY . . [2021-05-26T17:18:27.404Z] ---> 1c03ae803872 [2021-05-26T17:18:27.404Z] Step 10/10 : RUN go mod download [2021-05-26T17:18:27.404Z] ---> Running in 5a00361350a6 [2021-05-26T17:18:27.592Z] Removing intermediate container 77725295c628 [2021-05-26T17:18:27.592Z] ---> acdf6a713976 [2021-05-26T17:18:27.592Z] Step 9/10 : COPY . . [2021-05-26T17:18:28.581Z] ---> 048c6e5f31f5 [2021-05-26T17:18:28.581Z] Step 10/10 : RUN go mod download [2021-05-26T17:18:28.581Z] ---> Running in 2c56e22dfd73 [2021-05-26T17:18:42.336Z] Removing intermediate container 5a00361350a6 [2021-05-26T17:18:42.337Z] ---> 2857df9677c3 [2021-05-26T17:18:42.337Z] Successfully built 2857df9677c3 [2021-05-26T17:18:42.337Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:18:42.640Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T17:18:42.640Z] . [Pipeline] withDockerContainer [2021-05-26T17:18:42.721Z] prd-centos7-docker-4c-2g-435 does not seem to be running inside a container [2021-05-26T17:18:42.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T17:18:43.135Z] $ docker top 42afb5cdf76693e1c6654c6b07c26a02f592532ce84937e4a3587dfed71569c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T17:18:43.535Z] + go version [2021-05-26T17:18:43.536Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T17:18:43.543Z] $ docker stop --time=1 42afb5cdf76693e1c6654c6b07c26a02f592532ce84937e4a3587dfed71569c2 [2021-05-26T17:18:44.720Z] $ docker rm -f 42afb5cdf76693e1c6654c6b07c26a02f592532ce84937e4a3587dfed71569c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:18:45.189Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T17:18:45.189Z] . [Pipeline] withDockerContainer [2021-05-26T17:18:45.267Z] prd-centos7-docker-4c-2g-435 does not seem to be running inside a container [2021-05-26T17:18:45.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-26T17:18:45.644Z] $ docker top d8a5713760a193fac68005b7c294109da6921fa267de1cdc7c26adc9ae2f4ce2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T17:18:46.054Z] + go mod tidy [Pipeline] sh [2021-05-26T17:18:46.634Z] + make test [2021-05-26T17:18:46.634Z] go mod tidy [2021-05-26T17:18:46.634Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-26T17:18:47.210Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-26T17:18:55.387Z] Removing intermediate container 2c56e22dfd73 [2021-05-26T17:18:55.387Z] ---> 66fe95154a92 [2021-05-26T17:18:55.387Z] Successfully built 66fe95154a92 [2021-05-26T17:18:55.387Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:18:55.733Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T17:18:55.733Z] . [Pipeline] withDockerContainer [2021-05-26T17:18:56.006Z] prd-ubuntu18.04-docker-arm64-4c-16g-434 does not seem to be running inside a container [2021-05-26T17:18:56.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T17:18:57.635Z] $ docker top 40969b2d0ef9291378f8e0c8a1d7b620a276ecc83afc4f93a57acfdc630293a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T17:18:58.654Z] + go version [2021-05-26T17:18:58.654Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-26T17:18:58.669Z] $ docker stop --time=1 40969b2d0ef9291378f8e0c8a1d7b620a276ecc83afc4f93a57acfdc630293a0 [2021-05-26T17:19:00.493Z] $ docker rm -f 40969b2d0ef9291378f8e0c8a1d7b620a276ecc83afc4f93a57acfdc630293a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:19:01.200Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T17:19:01.200Z] . [Pipeline] withDockerContainer [2021-05-26T17:19:01.442Z] prd-ubuntu18.04-docker-arm64-4c-16g-434 does not seem to be running inside a container [2021-05-26T17:19:01.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-26T17:19:02.456Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-26T17:19:03.179Z] $ docker top c4c5d185202859ab1311ebb7413102971083e9432d76875b2b6d52c529df835e -eo pid,comm [2021-05-26T17:19:03.352Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-05-26T17:19:03.352Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] { [Pipeline] sh [2021-05-26T17:19:04.123Z] + go mod tidy [Pipeline] sh [2021-05-26T17:19:05.388Z] + make test [2021-05-26T17:19:05.388Z] go mod tidy [2021-05-26T17:19:05.985Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-26T17:19:06.968Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-26T17:19:11.543Z] gofmt -l . [2021-05-26T17:19:11.543Z] [ "`gofmt -l .`" = "" ] [2021-05-26T17:19:11.543Z] ./bin/test-go-mod-tidy.sh [2021-05-26T17:19:11.543Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T17:19:11.550Z] $ docker stop --time=1 d8a5713760a193fac68005b7c294109da6921fa267de1cdc7c26adc9ae2f4ce2 [2021-05-26T17:19:13.328Z] $ docker rm -f d8a5713760a193fac68005b7c294109da6921fa267de1cdc7c26adc9ae2f4ce2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T17:19:13.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T17:19:13.962Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-26T17:19:16.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T17:19:16.724Z] + ls -al . [2021-05-26T17:19:16.724Z] total 104 [2021-05-26T17:19:16.724Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 26 17:19 . [2021-05-26T17:19:16.724Z] drwxrwxr-x. 4 jenkins jenkins 28 May 26 17:17 .. [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 26 17:17 Attribution.txt [2021-05-26T17:19:16.724Z] drwxrwxr-x. 2 jenkins jenkins 64 May 26 17:17 bin [2021-05-26T17:19:16.724Z] drwxrwxr-x. 3 jenkins jenkins 32 May 26 17:17 cmd [2021-05-26T17:19:16.724Z] -rw-r--r--. 1 jenkins jenkins 8513 May 26 17:19 coverage.out [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 26 17:17 Dockerfile [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 26 17:17 Dockerfile.build [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 151 May 26 17:17 .dockerignore [2021-05-26T17:19:16.724Z] drwxrwxr-x. 2 jenkins jenkins 76 May 26 17:17 driver [2021-05-26T17:19:16.724Z] drwxrwxr-x. 8 jenkins jenkins 179 May 26 17:17 .git [2021-05-26T17:19:16.724Z] drwxrwxr-x. 2 jenkins jenkins 103 May 26 17:17 .github [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 336 May 26 17:17 .gitignore [2021-05-26T17:19:16.724Z] -rw-r--r--. 1 jenkins jenkins 285 May 26 17:19 go.mod [2021-05-26T17:19:16.724Z] -rw-r--r--. 1 jenkins jenkins 21177 May 26 17:18 go.sum [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 680 May 26 17:17 Jenkinsfile [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 26 17:17 LICENSE [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 996 May 26 17:17 Makefile [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 26 17:17 README.md [2021-05-26T17:19:16.724Z] drwxrwxr-x. 4 jenkins jenkins 71 May 26 17:17 snap [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 5 May 26 17:14 VERSION [2021-05-26T17:19:16.724Z] -rw-rw-r--. 1 jenkins jenkins 713 May 26 17:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:19:17.034Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5707fd0befa9ee79ba06c165168a7ace18f23a8d --label arch=amd64 --label version=0.0.0 . [2021-05-26T17:19:17.034Z] Sending build context to Docker daemon 101.9kB [2021-05-26T17:19:17.034Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T17:19:17.034Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-26T17:19:17.034Z] ---> 2857df9677c3 [2021-05-26T17:19:17.034Z] Step 3/25 : ARG MAKE='make build' [2021-05-26T17:19:17.034Z] ---> Running in 32fd72fc1ad0 [2021-05-26T17:19:17.294Z] Removing intermediate container 32fd72fc1ad0 [2021-05-26T17:19:17.294Z] ---> e5cffc61f57d [2021-05-26T17:19:17.294Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T17:19:17.294Z] ---> Running in 3f097ad79b35 [2021-05-26T17:19:17.294Z] Removing intermediate container 3f097ad79b35 [2021-05-26T17:19:17.294Z] ---> efe6cce6219f [2021-05-26T17:19:17.294Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T17:19:17.554Z] ---> Running in a0fc093de144 [2021-05-26T17:19:17.554Z] Removing intermediate container a0fc093de144 [2021-05-26T17:19:17.554Z] ---> 18dfe2f7b5c9 [2021-05-26T17:19:17.554Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T17:19:17.554Z] ---> Running in 65d2e1f51c11 [2021-05-26T17:19:18.129Z] Removing intermediate container 65d2e1f51c11 [2021-05-26T17:19:18.129Z] ---> 58a10900067b [2021-05-26T17:19:18.129Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T17:19:18.129Z] ---> Running in 308c2608c4ea [2021-05-26T17:19:18.389Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T17:19:19.340Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T17:19:19.602Z] OK: 154 MiB in 49 packages [2021-05-26T17:19:19.868Z] Removing intermediate container 308c2608c4ea [2021-05-26T17:19:19.868Z] ---> 25b93ef363e4 [2021-05-26T17:19:19.868Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-26T17:19:19.868Z] ---> Running in f42b026a1f1e [2021-05-26T17:19:20.129Z] Removing intermediate container f42b026a1f1e [2021-05-26T17:19:20.129Z] ---> 3e5912e98e38 [2021-05-26T17:19:20.129Z] Step 9/25 : COPY . . [2021-05-26T17:19:20.129Z] ---> c1bb19271197 [2021-05-26T17:19:20.129Z] Step 10/25 : RUN go mod tidy [2021-05-26T17:19:20.390Z] ---> Running in dad5ae7e670b [2021-05-26T17:19:20.961Z] Removing intermediate container dad5ae7e670b [2021-05-26T17:19:20.961Z] ---> 2e8a2395ef71 [2021-05-26T17:19:20.961Z] Step 11/25 : RUN make update [2021-05-26T17:19:20.961Z] ---> Running in c312c783b09c [2021-05-26T17:19:21.226Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T17:19:21.496Z] Removing intermediate container c312c783b09c [2021-05-26T17:19:21.496Z] ---> 5bef6c474ef1 [2021-05-26T17:19:21.496Z] Step 12/25 : RUN $MAKE [2021-05-26T17:19:21.496Z] ---> Running in 5db558c1087b [2021-05-26T17:19:21.760Z] go mod tidy [2021-05-26T17:19:21.760Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-05-26T17:19:34.112Z] Removing intermediate container 5db558c1087b [2021-05-26T17:19:34.112Z] ---> 016d6b9ed396 [2021-05-26T17:19:34.112Z] Step 13/25 : FROM alpine:3.12 [2021-05-26T17:19:34.112Z] 3.12: Pulling from library/alpine [2021-05-26T17:19:34.112Z] 339de151aab4: Pulling fs layer [2021-05-26T17:19:34.112Z] 339de151aab4: Download complete [2021-05-26T17:19:34.112Z] 339de151aab4: Pull complete [2021-05-26T17:19:34.112Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T17:19:34.112Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T17:19:34.112Z] ---> 13621d1b12d4 [2021-05-26T17:19:34.112Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T17:19:34.112Z] ---> Running in 4ca242f70141 [2021-05-26T17:19:34.112Z] Removing intermediate container 4ca242f70141 [2021-05-26T17:19:34.112Z] ---> 53d405ee3717 [2021-05-26T17:19:34.112Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-26T17:19:34.112Z] ---> Running in b152e4484f93 [2021-05-26T17:19:34.112Z] Removing intermediate container b152e4484f93 [2021-05-26T17:19:34.112Z] ---> e7a7e3f4b480 [2021-05-26T17:19:34.112Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T17:19:34.112Z] ---> Running in c9af550b1e3a [2021-05-26T17:19:34.374Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-26T17:19:34.636Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-26T17:19:34.636Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T17:19:34.636Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T17:19:34.636Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T17:19:34.636Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T17:19:34.636Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T17:19:34.636Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T17:19:34.636Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T17:19:34.636Z] OK: 8 MiB in 20 packages [2021-05-26T17:19:34.897Z] Removing intermediate container c9af550b1e3a [2021-05-26T17:19:34.897Z] ---> b64c49f2b696 [2021-05-26T17:19:34.897Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-26T17:19:35.469Z] ---> e716dcba5aba [2021-05-26T17:19:35.469Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-26T17:19:35.731Z] ---> 9682b3a50437 [2021-05-26T17:19:35.731Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-26T17:19:35.991Z] ---> a457addb5995 [2021-05-26T17:19:35.992Z] Step 20/25 : EXPOSE 59986 [2021-05-26T17:19:35.992Z] ---> Running in a3c13c121606 [2021-05-26T17:19:35.992Z] Removing intermediate container a3c13c121606 [2021-05-26T17:19:35.992Z] ---> b0d763f20ac2 [2021-05-26T17:19:35.992Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-26T17:19:35.992Z] ---> Running in bdf56a9db4e3 [2021-05-26T17:19:36.253Z] Removing intermediate container bdf56a9db4e3 [2021-05-26T17:19:36.253Z] ---> 65012d45fac4 [2021-05-26T17:19:36.253Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T17:19:36.253Z] ---> Running in c352bb4b439d [2021-05-26T17:19:36.253Z] Removing intermediate container c352bb4b439d [2021-05-26T17:19:36.253Z] ---> d439afd30ff8 [2021-05-26T17:19:36.253Z] Step 23/25 : LABEL arch=amd64 [2021-05-26T17:19:36.253Z] ---> Running in a9f196399eba [2021-05-26T17:19:36.515Z] Removing intermediate container a9f196399eba [2021-05-26T17:19:36.515Z] ---> 8c665c77a562 [2021-05-26T17:19:36.515Z] Step 24/25 : LABEL git_sha=5707fd0befa9ee79ba06c165168a7ace18f23a8d [2021-05-26T17:19:36.515Z] ---> Running in e92bf3bfc893 [2021-05-26T17:19:36.515Z] Removing intermediate container e92bf3bfc893 [2021-05-26T17:19:36.515Z] ---> f3f1a5f9844e [2021-05-26T17:19:36.515Z] Step 25/25 : LABEL version=0.0.0 [2021-05-26T17:19:36.515Z] ---> Running in 369934f5bb62 [2021-05-26T17:19:36.515Z] Removing intermediate container 369934f5bb62 [2021-05-26T17:19:36.515Z] ---> 495c4eb730ba [2021-05-26T17:19:36.515Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T17:19:36.515Z] Successfully built 495c4eb730ba [2021-05-26T17:19:36.515Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:19:37.162Z] ---> job-cost.sh [2021-05-26T17:19:37.162Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-10AU [2021-05-26T17:19:45.354Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T17:20:00.304Z] lf-activate-venv(): INFO: Adding /tmp/venv-10AU/bin to PATH [2021-05-26T17:20:00.304Z] INFO: No Stack... [2021-05-26T17:20:00.878Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T17:20:01.451Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T17:20:01.750Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-26T17:20:01.750Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T17:20:01.786Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-108-2-stack-cost] [2021-05-26T17:20:01.794Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-108-2-stack-cost] did not exist. Created. [2021-05-26T17:20:01.794Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-108-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T17:20:02.130Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-26T17:20:02.201Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T17:20:02.214Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-108-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-26T17:20:03.567Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-26T17:20:03.567Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements [2021-05-26T17:20:03.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T17:20:25.789Z] gofmt -l . [2021-05-26T17:20:25.789Z] [ "`gofmt -l .`" = "" ] [2021-05-26T17:20:25.789Z] ./bin/test-go-mod-tidy.sh [2021-05-26T17:20:25.789Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T17:20:25.805Z] $ docker stop --time=1 c4c5d185202859ab1311ebb7413102971083e9432d76875b2b6d52c529df835e [2021-05-26T17:20:27.769Z] $ docker rm -f c4c5d185202859ab1311ebb7413102971083e9432d76875b2b6d52c529df835e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T17:20:28.649Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T17:20:28.681Z] Warning: overwriting stash ‘coverage-report’ [2021-05-26T17:20:29.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T17:20:29.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T17:20:29.997Z] + ls -al . [2021-05-26T17:20:29.998Z] total 132 [2021-05-26T17:20:29.998Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 17:20 . [2021-05-26T17:20:29.998Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 17:17 .. [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 151 May 26 17:17 .dockerignore [2021-05-26T17:20:29.998Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 17:17 .git [2021-05-26T17:20:29.998Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 17:17 .github [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 336 May 26 17:17 .gitignore [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 26 17:17 Attribution.txt [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 26 17:17 Dockerfile [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 26 17:17 Dockerfile.build [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 680 May 26 17:17 Jenkinsfile [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 26 17:17 LICENSE [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 996 May 26 17:17 Makefile [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 26 17:17 README.md [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 5 May 26 17:14 VERSION [2021-05-26T17:20:29.998Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 17:17 bin [2021-05-26T17:20:29.998Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 17:17 cmd [2021-05-26T17:20:29.998Z] -rw-r--r-- 1 jenkins jenkins 8513 May 26 17:19 coverage.out [2021-05-26T17:20:29.998Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 17:17 driver [2021-05-26T17:20:29.998Z] -rw-r--r-- 1 jenkins jenkins 285 May 26 17:20 go.mod [2021-05-26T17:20:29.998Z] -rw-r--r-- 1 jenkins jenkins 21177 May 26 17:19 go.sum [2021-05-26T17:20:29.998Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 17:17 snap [2021-05-26T17:20:29.998Z] -rw-rw-r-- 1 jenkins jenkins 713 May 26 17:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:20:30.339Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5707fd0befa9ee79ba06c165168a7ace18f23a8d --label arch=arm64 --label version=0.0.0 . [2021-05-26T17:20:30.340Z] Sending build context to Docker daemon 101.9kB [2021-05-26T17:20:30.613Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T17:20:30.613Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-26T17:20:30.613Z] ---> 66fe95154a92 [2021-05-26T17:20:30.613Z] Step 3/25 : ARG MAKE='make build' [2021-05-26T17:20:30.892Z] ---> Running in 2aa9d4d36aab [2021-05-26T17:20:31.492Z] Removing intermediate container 2aa9d4d36aab [2021-05-26T17:20:31.492Z] ---> 3e409da0d3af [2021-05-26T17:20:31.492Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T17:20:31.492Z] ---> Running in c104e7fa8127 [2021-05-26T17:20:32.096Z] Removing intermediate container c104e7fa8127 [2021-05-26T17:20:32.096Z] ---> abbaa17ec861 [2021-05-26T17:20:32.096Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T17:20:32.096Z] ---> Running in 1d5570cf2230 [2021-05-26T17:20:32.701Z] Removing intermediate container 1d5570cf2230 [2021-05-26T17:20:32.701Z] ---> 17f4abd67fe1 [2021-05-26T17:20:32.701Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T17:20:32.701Z] ---> Running in 5c413a144cfa [2021-05-26T17:20:35.319Z] Removing intermediate container 5c413a144cfa [2021-05-26T17:20:35.319Z] ---> 6d5e3bb0306a [2021-05-26T17:20:35.319Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T17:20:35.319Z] ---> Running in b2d45195e0a8 [2021-05-26T17:20:35.916Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T17:20:36.889Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T17:20:37.882Z] OK: 144 MiB in 49 packages [2021-05-26T17:20:38.880Z] Removing intermediate container b2d45195e0a8 [2021-05-26T17:20:38.880Z] ---> d9c778d297c0 [2021-05-26T17:20:38.880Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-26T17:20:38.880Z] ---> Running in 954751c605e5 [2021-05-26T17:20:39.479Z] Removing intermediate container 954751c605e5 [2021-05-26T17:20:39.479Z] ---> 57231cf89f3a [2021-05-26T17:20:39.479Z] Step 9/25 : COPY . . [2021-05-26T17:20:40.462Z] ---> 5a0c6f0dd511 [2021-05-26T17:20:40.462Z] Step 10/25 : RUN go mod tidy [2021-05-26T17:20:40.462Z] ---> Running in c2e6620d03d6 [2021-05-26T17:20:43.101Z] Removing intermediate container c2e6620d03d6 [2021-05-26T17:20:43.101Z] ---> da12dd4574de [2021-05-26T17:20:43.101Z] Step 11/25 : RUN make update [2021-05-26T17:20:43.376Z] ---> Running in 5ff080b10a3d [2021-05-26T17:20:44.358Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T17:20:45.803Z] Removing intermediate container 5ff080b10a3d [2021-05-26T17:20:45.804Z] ---> 6c3e5a05ef3c [2021-05-26T17:20:45.804Z] Step 12/25 : RUN $MAKE [2021-05-26T17:20:45.804Z] ---> Running in 2599022d307d [2021-05-26T17:20:46.780Z] go mod tidy [2021-05-26T17:20:47.378Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-05-26T17:21:26.421Z] Removing intermediate container 2599022d307d [2021-05-26T17:21:26.421Z] ---> 62da1f121f05 [2021-05-26T17:21:26.421Z] Step 13/25 : FROM alpine:3.12 [2021-05-26T17:21:26.421Z] 3.12: Pulling from library/alpine [2021-05-26T17:21:26.421Z] d2f70382dc9a: Pulling fs layer [2021-05-26T17:21:26.421Z] d2f70382dc9a: Verifying Checksum [2021-05-26T17:21:26.421Z] d2f70382dc9a: Download complete [2021-05-26T17:21:26.421Z] d2f70382dc9a: Pull complete [2021-05-26T17:21:26.421Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T17:21:26.421Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T17:21:26.421Z] ---> 9852663dfa18 [2021-05-26T17:21:26.421Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-26T17:21:26.421Z] ---> Running in e21428006175 [2021-05-26T17:21:26.421Z] Removing intermediate container e21428006175 [2021-05-26T17:21:26.421Z] ---> a0f055c16832 [2021-05-26T17:21:26.421Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-26T17:21:26.421Z] ---> Running in 657a3bc100b0 [2021-05-26T17:21:26.421Z] Removing intermediate container 657a3bc100b0 [2021-05-26T17:21:26.421Z] ---> 737a9795fcec [2021-05-26T17:21:26.421Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T17:21:26.421Z] ---> Running in d698ac34b656 [2021-05-26T17:21:26.421Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-26T17:21:26.421Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-26T17:21:26.692Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T17:21:26.692Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T17:21:26.692Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T17:21:26.692Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T17:21:26.692Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T17:21:26.692Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T17:21:26.692Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T17:21:26.692Z] OK: 8 MiB in 20 packages [2021-05-26T17:21:28.145Z] Removing intermediate container d698ac34b656 [2021-05-26T17:21:28.145Z] ---> fbcf1e0d1f2a [2021-05-26T17:21:28.145Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-26T17:21:29.124Z] ---> 7bceb09034f5 [2021-05-26T17:21:29.124Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-26T17:21:29.721Z] ---> b33772be8ea0 [2021-05-26T17:21:29.721Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-26T17:21:30.318Z] ---> b59e628b55ab [2021-05-26T17:21:30.318Z] Step 20/25 : EXPOSE 59986 [2021-05-26T17:21:30.590Z] ---> Running in 3b552806e12d [2021-05-26T17:21:30.861Z] Removing intermediate container 3b552806e12d [2021-05-26T17:21:30.861Z] ---> e7fb48095934 [2021-05-26T17:21:30.861Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-26T17:21:31.133Z] ---> Running in 85783def1ff9 [2021-05-26T17:21:31.732Z] Removing intermediate container 85783def1ff9 [2021-05-26T17:21:31.732Z] ---> f0ac9a026555 [2021-05-26T17:21:31.732Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T17:21:31.732Z] ---> Running in 600dded54b9c [2021-05-26T17:21:32.328Z] Removing intermediate container 600dded54b9c [2021-05-26T17:21:32.328Z] ---> 8d8496173c95 [2021-05-26T17:21:32.328Z] Step 23/25 : LABEL arch=arm64 [2021-05-26T17:21:32.328Z] ---> Running in 78e0e0026fc6 [2021-05-26T17:21:32.925Z] Removing intermediate container 78e0e0026fc6 [2021-05-26T17:21:32.925Z] ---> 8cc2dfd15fa1 [2021-05-26T17:21:32.925Z] Step 24/25 : LABEL git_sha=5707fd0befa9ee79ba06c165168a7ace18f23a8d [2021-05-26T17:21:32.925Z] ---> Running in 7d5d387e8ac9 [2021-05-26T17:21:33.520Z] Removing intermediate container 7d5d387e8ac9 [2021-05-26T17:21:33.520Z] ---> 1972673f9225 [2021-05-26T17:21:33.520Z] Step 25/25 : LABEL version=0.0.0 [2021-05-26T17:21:33.520Z] ---> Running in af94be64726b [2021-05-26T17:21:34.114Z] Removing intermediate container af94be64726b [2021-05-26T17:21:34.115Z] ---> 36827d461857 [2021-05-26T17:21:34.115Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T17:21:34.115Z] Successfully built 36827d461857 [2021-05-26T17:21:34.115Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:21:34.633Z] ---> job-cost.sh [2021-05-26T17:21:34.634Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iCRb [2021-05-26T17:22:13.611Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T17:23:35.354Z] lf-activate-venv(): INFO: Adding /tmp/venv-iCRb/bin to PATH [2021-05-26T17:23:35.354Z] INFO: No Stack... [2021-05-26T17:23:35.354Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T17:23:35.949Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T17:23:36.314Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-26T17:23:36.314Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T17:23:36.382Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-108-2-stack-cost] [2021-05-26T17:23:36.393Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-108-2-stack-cost] did not exist. Created. [2021-05-26T17:23:36.393Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-108-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T17:23:36.783Z] /w/workspace/device-rest-go/2@tmp/durable-f8b65909/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-f8b65909/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-26T17:23:37.135Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T17:23:37.171Z] Warning: overwriting stash ‘stack-cost’ [2021-05-26T17:23:37.321Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T17:23:37.333Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-108-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-26T17:23:38.045Z] provisioning config files... [2021-05-26T17:23:38.057Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/config2118355416017346938tmp [Pipeline] { [Pipeline] sh [2021-05-26T17:23:38.388Z] + set +x [2021-05-26T17:23:38.388Z] + curl -s https://codecov.io/bash [2021-05-26T17:23:38.388Z] + bash -s -- [2021-05-26T17:23:38.388Z] [2021-05-26T17:23:38.388Z] _____ _ [2021-05-26T17:23:38.388Z] / ____| | | [2021-05-26T17:23:38.388Z] | | ___ __| | ___ ___ _____ __ [2021-05-26T17:23:38.388Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-26T17:23:38.388Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-26T17:23:38.388Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-26T17:23:38.388Z] Bash-1.0.3 [2021-05-26T17:23:38.388Z] [2021-05-26T17:23:38.388Z] [2021-05-26T17:23:38.388Z] ==> git version 2.24.4 found [2021-05-26T17:23:38.388Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-26T17:23:38.388Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-26T17:23:38.388Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-26T17:23:38.388Z] ==> Jenkins CI detected. [2021-05-26T17:23:38.388Z] project root: . [2021-05-26T17:23:38.388Z] --> token set from env [2021-05-26T17:23:38.388Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-26T17:23:38.388Z] ==> Running gcov in . (disable via -X gcov) [2021-05-26T17:23:38.388Z] ==> Python coveragepy not found [2021-05-26T17:23:38.388Z] ==> Searching for coverage reports in: [2021-05-26T17:23:38.388Z] + . [2021-05-26T17:23:38.388Z] -> Found 1 reports [2021-05-26T17:23:38.388Z] ==> Detecting git/mercurial file structure [2021-05-26T17:23:38.388Z] ==> Reading reports [2021-05-26T17:23:38.388Z] + ./coverage.out bytes=8513 [2021-05-26T17:23:38.651Z] ==> Appending adjustments [2021-05-26T17:23:38.651Z] https://docs.codecov.io/docs/fixing-reports [2021-05-26T17:23:38.651Z] + Found adjustments [2021-05-26T17:23:38.651Z] ==> Gzipping contents [2021-05-26T17:23:38.651Z] 4.0K /tmp/codecov.wcXj5W.gz [2021-05-26T17:23:38.651Z] ==> Uploading reports [2021-05-26T17:23:38.651Z] url: https://codecov.io [2021-05-26T17:23:38.651Z] query: branch=PR-108&commit=5707fd0befa9ee79ba06c165168a7ace18f23a8d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-108%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=108&job=&cmd_args= [2021-05-26T17:23:38.651Z] -> Pinging Codecov [2021-05-26T17:23:38.651Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-108&commit=5707fd0befa9ee79ba06c165168a7ace18f23a8d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-108%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=108&job=&cmd_args= [2021-05-26T17:23:38.914Z] -> Uploading to [2021-05-26T17:23:38.914Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-26/4E5D53B4F1F92C436F7061BF334D961C/5707fd0befa9ee79ba06c165168a7ace18f23a8d/c79f00da-5dd4-4919-ba37-4731c7b1a0f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T172338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62b98a4cbe14d84bf0c9e0918ef44d4dd66a8d161b1e6969f8b870e97ecf4ad0 [2021-05-26T17:23:38.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-26T17:23:38.914Z] Dload Upload Total Spent Left Speed [2021-05-26T17:23:39.487Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 5249 --:--:-- --:--:-- --:--:-- 5264 [2021-05-26T17:23:39.487Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5707fd0befa9ee79ba06c165168a7ace18f23a8d [Pipeline] } [2021-05-26T17:23:39.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:23:40.889Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:23:41.462Z] ---> package-listing.sh [2021-05-26T17:23:41.462Z] ++ facter osfamily [2021-05-26T17:23:41.462Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T17:23:41.739Z] + OS_FAMILY=redhat [2021-05-26T17:23:41.739Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-108 [2021-05-26T17:23:41.739Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T17:23:41.739Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T17:23:41.739Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T17:23:41.739Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T17:23:41.739Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-108 ']' [2021-05-26T17:23:41.739Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T17:23:41.739Z] + case "${OS_FAMILY}" in [2021-05-26T17:23:41.739Z] + sort [2021-05-26T17:23:41.739Z] + rpm -qa [2021-05-26T17:23:42.315Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T17:23:42.315Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T17:23:42.315Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T17:23:42.315Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-108 ']' [2021-05-26T17:23:42.315Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-108/archives/ [2021-05-26T17:23:42.315Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-108/archives/ [Pipeline] echo [2021-05-26T17:23:42.330Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-108/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-26T17:23:42.621Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:23:43.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T17:23:43.184Z] [2021-05-26T17:23:43.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T17:23:43.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T17:23:43.511Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T17:23:43.511Z] df20fa9351a1: Pulling fs layer [2021-05-26T17:23:43.511Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T17:23:43.511Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T17:23:43.511Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T17:23:43.511Z] 93b61091891f: Pulling fs layer [2021-05-26T17:23:43.511Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T17:23:43.511Z] 5e14af77c1be: Pulling fs layer [2021-05-26T17:23:43.511Z] 01666e4c0597: Pulling fs layer [2021-05-26T17:23:43.511Z] aa168da1d23b: Pulling fs layer [2021-05-26T17:23:43.511Z] 93b61091891f: Waiting [2021-05-26T17:23:43.511Z] 93b9cdb0e59b: Waiting [2021-05-26T17:23:43.511Z] 5e14af77c1be: Waiting [2021-05-26T17:23:43.511Z] 01666e4c0597: Waiting [2021-05-26T17:23:43.511Z] aa168da1d23b: Waiting [2021-05-26T17:23:43.511Z] 46f8f816bc3b: Waiting [2021-05-26T17:23:43.511Z] 36b3adc4ff6f: Verifying Checksum [2021-05-26T17:23:43.511Z] 36b3adc4ff6f: Download complete [2021-05-26T17:23:43.511Z] 46f8f816bc3b: Verifying Checksum [2021-05-26T17:23:43.511Z] 46f8f816bc3b: Download complete [2021-05-26T17:23:43.511Z] df20fa9351a1: Verifying Checksum [2021-05-26T17:23:43.511Z] df20fa9351a1: Download complete [2021-05-26T17:23:43.511Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T17:23:43.511Z] 93b9cdb0e59b: Download complete [2021-05-26T17:23:43.777Z] 5e14af77c1be: Verifying Checksum [2021-05-26T17:23:43.778Z] 5e14af77c1be: Download complete [2021-05-26T17:23:43.778Z] 93b61091891f: Verifying Checksum [2021-05-26T17:23:43.778Z] 93b61091891f: Download complete [2021-05-26T17:23:43.778Z] 01666e4c0597: Verifying Checksum [2021-05-26T17:23:43.778Z] 01666e4c0597: Download complete [2021-05-26T17:23:43.778Z] df20fa9351a1: Pull complete [2021-05-26T17:23:44.043Z] 36b3adc4ff6f: Pull complete [2021-05-26T17:23:44.043Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T17:23:44.043Z] 8ad3a11d3b57: Download complete [2021-05-26T17:23:44.627Z] 8ad3a11d3b57: Pull complete [2021-05-26T17:23:44.627Z] 46f8f816bc3b: Pull complete [2021-05-26T17:23:44.891Z] 93b61091891f: Pull complete [2021-05-26T17:23:45.152Z] 93b9cdb0e59b: Pull complete [2021-05-26T17:23:45.152Z] 5e14af77c1be: Pull complete [2021-05-26T17:23:45.152Z] 01666e4c0597: Pull complete [2021-05-26T17:23:45.724Z] aa168da1d23b: Verifying Checksum [2021-05-26T17:23:45.724Z] aa168da1d23b: Download complete [2021-05-26T17:23:49.949Z] aa168da1d23b: Pull complete [2021-05-26T17:23:49.949Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T17:23:49.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T17:23:49.949Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T17:23:50.024Z] prd-centos7-docker-4c-2g-433 does not seem to be running inside a container [2021-05-26T17:23:50.066Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-108/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-108 -v /w/workspace/gexfoundry_device-rest-go_PR-108:/w/workspace/gexfoundry_device-rest-go_PR-108:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-108@tmp:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-26T17:23:52.537Z] $ docker top 9c520321305125da68852fe72c6d0f5aae0ad805ff4654f931695ebeaa50954b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T17:23:52.933Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T17:23:53.256Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T17:23:53.555Z] + ls /var/log/sa-host [2021-05-26T17:23:53.555Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T17:23:53.555Z] file_magic: OK [2021-05-26T17:23:53.555Z] HZ: Using current value: 100 [2021-05-26T17:23:53.555Z] file_header: OK [2021-05-26T17:23:53.555Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-26T17:23:53.555Z] Statistics: [2021-05-26T17:23:53.555Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T17:23:53.555Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T17:23:53.555Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T17:23:53.555Z] file_magic: OK [2021-05-26T17:23:53.555Z] HZ: Using current value: 100 [2021-05-26T17:23:53.555Z] file_header: OK [2021-05-26T17:23:53.555Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-26T17:23:53.555Z] Statistics: [2021-05-26T17:23:53.555Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T17:23:53.555Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T17:23:54.124Z] provisioning config files... [2021-05-26T17:23:54.142Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-108@tmp/config3617970789479445239tmp [Pipeline] { [Pipeline] echo [2021-05-26T17:23:54.178Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:23:54.499Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T17:23:54.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T17:23:54.537Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:23:54.832Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T17:23:54.842Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:23:55.140Z] ---> sudo-logs.sh [2021-05-26T17:23:55.141Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T17:23:55.173Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:23:55.465Z] ---> job-cost.sh [2021-05-26T17:23:55.465Z] lf-activate-venv: SKIPPING [2021-05-26T17:23:55.465Z] DEBUG: total: 0.18000000715255737 [2021-05-26T17:23:55.465Z] INFO: Retrieving Stack Cost... [2021-05-26T17:23:57.379Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T17:23:57.952Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T17:23:57.964Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T17:23:58.258Z] ---> logs-deploy.sh [2021-05-26T17:23:58.258Z] lf-activate-venv: SKIPPING [2021-05-26T17:23:58.258Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-108/2 [2021-05-26T17:23:58.258Z] INFO: archiving workspace using pattern(s): [2021-05-26T17:23:59.200Z] Archives upload complete. [2021-05-26T17:23:59.200Z] INFO: archiving logs to Nexus