Started by user Cherry Wang Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh560403435610604165.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6431760248711982287.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 f1d79d91c36788821211008368c3015072ca53ca 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1220158105702251119.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh861224757550397215.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9082641382459427233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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_BUILD_IMAGE_TARGET: builder 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-477’ is offline Running on prd-centos7-docker-4c-2g-599 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh3314559312725494615.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 Commit message: "Merge pull request #137 from hahattan/issue-136" > git rev-list --no-walk dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-12T06:33:04.715Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-12T06:33:04.772Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-12T06:33:04.788Z] ========================================================= [2021-10-12T06:33:04.788Z] EdgeX Global Pipelines Version Info [2021-10-12T06:33:04.788Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:33:05.935Z] ------------------- [2021-10-12T06:33:05.935Z] stable info: [2021-10-12T06:33:05.935Z] ------------------- [2021-10-12T06:33:05.935Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-12T06:33:05.935Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T06:33:05.935Z] Message: update stable to v1.0.209 [2021-10-12T06:33:06.510Z] ------------------- [2021-10-12T06:33:06.510Z] experimental info: [2021-10-12T06:33:06.510Z] ------------------- [2021-10-12T06:33:06.510Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-12T06:33:06.510Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T06:33:06.510Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-12T06:33:06.592Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-12T06:33:06.604Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-12T06:33:06.614Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-12T06:33:06.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-12T06:33:06.633Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-12T06:33:06.643Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-12T06:33:06.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-12T06:33:06.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-12T06:33:06.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-12T06:33:06.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-12T06:33:06.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-12T06:33:06.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-12T06:33:06.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-12T06:33:06.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-12T06:33:06.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-12T06:33:06.739Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-12T06:33:06.749Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T06:33:06.758Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T06:33:06.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-12T06:33:06.777Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-12T06:33:06.790Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-12T06:33:06.803Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-12T06:33:06.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-12T06:33:06.823Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-12T06:33:06.835Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-12T06:33:06.847Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-12T06:33:06.856Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-12T06:33:06.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-12T06:33:06.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-12T06:33:06.885Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo [2021-10-12T06:33:06.895Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfe1eec [Pipeline] echo [2021-10-12T06:33:06.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:33:06.946Z] provisioning config files... [2021-10-12T06:33:06.964Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1440320810193859676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:33:07.285Z] ---> docker-login.sh [2021-10-12T06:33:07.285Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:33:07.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:33:07.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:33:07.550Z] Configure a credential helper to remove this warning. See [2021-10-12T06:33:07.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:33:07.550Z] [2021-10-12T06:33:07.550Z] Login Succeeded [2021-10-12T06:33:07.550Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:33:07.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:33:07.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:33:07.550Z] Configure a credential helper to remove this warning. See [2021-10-12T06:33:07.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:33:07.550Z] [2021-10-12T06:33:07.550Z] Login Succeeded [2021-10-12T06:33:07.550Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:33:07.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:33:07.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:33:07.813Z] Configure a credential helper to remove this warning. See [2021-10-12T06:33:07.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:33:07.813Z] [2021-10-12T06:33:07.813Z] Login Succeeded [2021-10-12T06:33:07.813Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:33:07.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:33:07.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:33:07.813Z] Configure a credential helper to remove this warning. See [2021-10-12T06:33:07.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:33:07.813Z] [2021-10-12T06:33:07.813Z] Login Succeeded [2021-10-12T06:33:07.813Z] docker.io [2021-10-12T06:33:08.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:33:08.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:33:08.340Z] Configure a credential helper to remove this warning. See [2021-10-12T06:33:08.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:33:08.340Z] [2021-10-12T06:33:08.340Z] Login Succeeded [2021-10-12T06:33:08.340Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:33:08.350Z] 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-10-12T06:33:08.780Z] + git log --format=format:%s -1 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo [2021-10-12T06:33:08.817Z] GIT_COMMIT: dfe1eecf97bbb3fc78e576d46b1f52bb386bd406, Commit Message: Merge pull request #137 from hahattan/issue-136 [Pipeline] echo [2021-10-12T06:33:08.825Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:33:09.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T06:33:09.548Z] [2021-10-12T06:33:09.548Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:33:09.857Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T06:33:09.857Z] latest: Pulling from edgex-devops/git-semver [2021-10-12T06:33:09.857Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T06:33:09.857Z] 3e5f54012d9b: Pulling fs layer [2021-10-12T06:33:09.857Z] 4c7163046ea9: Pulling fs layer [2021-10-12T06:33:09.857Z] 0c2d73faf560: Pulling fs layer [2021-10-12T06:33:09.857Z] 0c2d73faf560: Waiting [2021-10-12T06:33:09.857Z] 3e5f54012d9b: Verifying Checksum [2021-10-12T06:33:09.857Z] 3e5f54012d9b: Download complete [2021-10-12T06:33:09.857Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T06:33:09.857Z] a0d0a0d46f8b: Download complete [2021-10-12T06:33:09.857Z] 0c2d73faf560: Verifying Checksum [2021-10-12T06:33:09.857Z] 0c2d73faf560: Download complete [2021-10-12T06:33:09.857Z] 4c7163046ea9: Verifying Checksum [2021-10-12T06:33:09.857Z] 4c7163046ea9: Download complete [2021-10-12T06:33:10.140Z] a0d0a0d46f8b: Pull complete [2021-10-12T06:33:10.140Z] 3e5f54012d9b: Pull complete [2021-10-12T06:33:10.404Z] 4c7163046ea9: Pull complete [2021-10-12T06:33:10.669Z] 0c2d73faf560: Pull complete [2021-10-12T06:33:10.669Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-12T06:33:10.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T06:33:10.669Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-12T06:33:10.757Z] prd-centos7-docker-4c-2g-599 does not seem to be running inside a container [2021-10-12T06:33:10.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T06:33:10.831Z] $ docker top 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T06:33:11.514Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T06:33:11.514Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T06:33:11.644Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T06:33:11.108Z] $ docker exec 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc ssh-agent [2021-10-12T06:33:11.756Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEJCHlI/agent.14 [2021-10-12T06:33:11.756Z] SSH_AGENT_PID=20 [2021-10-12T06:33:11.765Z] Running ssh-add (command line suppressed) [2021-10-12T06:33:11.352Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2930560786624679060.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2930560786624679060.key) [2021-10-12T06:33:11.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T06:33:12.192Z] + git tag --points-at HEAD [Pipeline] } [2021-10-12T06:33:11.715Z] $ docker exec --env ******** --env ******** 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc ssh-agent -k [2021-10-12T06:33:11.820Z] unset SSH_AUTH_SOCK; [2021-10-12T06:33:11.821Z] unset SSH_AGENT_PID; [2021-10-12T06:33:11.821Z] echo Agent pid 20 killed; [2021-10-12T06:33:12.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-12T06:33:12.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T06:33:12.342Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T06:33:12.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T06:33:11.981Z] $ docker exec 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc ssh-agent [2021-10-12T06:33:12.562Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgkjDGe/agent.53 [2021-10-12T06:33:12.562Z] SSH_AGENT_PID=59 [2021-10-12T06:33:12.569Z] Running ssh-add (command line suppressed) [2021-10-12T06:33:12.222Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7436619690098944029.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7436619690098944029.key) [2021-10-12T06:33:12.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T06:33:12.984Z] + git semver init [2021-10-12T06:33:12.984Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T06:33:12.984Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-12T06:33:12.985Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-12T06:33:12.985Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T06:33:12.985Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T06:33:12.985Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T06:33:12.985Z] # $SEMVER_BRANCH = main [2021-10-12T06:33:12.985Z] # $SEMVER_TEMP = /tmp/semver-814349815 [2021-10-12T06:33:12.985Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-12T06:33:14.391Z] # '/tmp/semver-814349815' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-10-12T06:33:14.391Z] # -> Force: false [2021-10-12T06:33:14.391Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-12T06:33:14.092Z] $ docker exec --env ******** --env ******** 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc ssh-agent -k [2021-10-12T06:33:14.194Z] unset SSH_AUTH_SOCK; [2021-10-12T06:33:14.195Z] unset SSH_AGENT_PID; [2021-10-12T06:33:14.195Z] echo Agent pid 59 killed; [2021-10-12T06:33:14.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T06:33:14.839Z] + git semver [Pipeline] } [2021-10-12T06:33:14.583Z] $ docker stop --time=1 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc [2021-10-12T06:33:15.876Z] $ docker rm -f 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T06:33:16.400Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-12T06:33:16.624Z] Stashed 1 file(s) [Pipeline] echo [2021-10-12T06:33:16.628Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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-10-12T06:33:31.906Z] Still waiting to schedule task [2021-10-12T06:33:31.906Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-12T06:33:31.909Z] Still waiting to schedule task [2021-10-12T06:33:31.909Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-12T06:35:49.053Z] Running on prd-centos7-docker-4c-2g-602 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-12T06:35:49.061Z] Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout [2021-10-12T06:35:49.150Z] The recommended git tool is: git [2021-10-12T06:35:51.367Z] using credential edgex-jenkins-ssh [2021-10-12T06:35:51.376Z] Cloning the remote Git repository [2021-10-12T06:35:50.411Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-12T06:35:50.467Z] > git init /w/workspace/device-rest-go/13 # timeout=10 [2021-10-12T06:35:50.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-12T06:35:50.517Z] > git --version # timeout=10 [2021-10-12T06:35:50.529Z] > git --version # 'git version 2.24.4' [2021-10-12T06:35:50.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T06:35:50.552Z] [INFO] Currently running in a labeled security context [2021-10-12T06:35:50.552Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T06:35:50.552Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/13@tmp/jenkins-gitclient-ssh8678146854058700615.key [2021-10-12T06:35:50.576Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T06:35:51.561Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-12T06:35:51.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T06:35:52.570Z] Avoid second fetch [2021-10-12T06:35:52.570Z] Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) [2021-10-12T06:35:51.589Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T06:35:51.598Z] > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [2021-10-12T06:35:56.090Z] Commit message: "Merge pull request #137 from hahattan/issue-136" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:35:57.519Z] provisioning config files... [2021-10-12T06:35:57.535Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config407158157468445514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:35:57.931Z] ---> docker-login.sh [2021-10-12T06:35:57.932Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:35:57.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:35:57.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:35:57.932Z] Configure a credential helper to remove this warning. See [2021-10-12T06:35:57.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:35:57.932Z] [2021-10-12T06:35:57.932Z] Login Succeeded [2021-10-12T06:35:57.932Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:35:58.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:35:58.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:35:58.201Z] Configure a credential helper to remove this warning. See [2021-10-12T06:35:58.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:35:58.201Z] [2021-10-12T06:35:58.201Z] Login Succeeded [2021-10-12T06:35:58.201Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:35:58.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:35:58.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:35:58.469Z] Configure a credential helper to remove this warning. See [2021-10-12T06:35:58.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:35:58.469Z] [2021-10-12T06:35:58.469Z] Login Succeeded [2021-10-12T06:35:58.469Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:35:58.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:35:58.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:35:58.469Z] Configure a credential helper to remove this warning. See [2021-10-12T06:35:58.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:35:58.469Z] [2021-10-12T06:35:58.469Z] Login Succeeded [2021-10-12T06:35:58.469Z] docker.io [2021-10-12T06:35:58.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:35:58.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:35:58.997Z] Configure a credential helper to remove this warning. See [2021-10-12T06:35:58.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:35:58.997Z] [2021-10-12T06:35:58.997Z] Login Succeeded [2021-10-12T06:35:58.997Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:35:59.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T06:35:59.157Z] ========================================================= [2021-10-12T06:35:59.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-12T06:35:59.157Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:35:59.480Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-12T06:35:59.480Z] Sending build context to Docker daemon 118.8kB [2021-10-12T06:35:59.480Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T06:35:59.480Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-12T06:35:59.480Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-12T06:35:59.480Z] 4e9f2cdf4387: Pulling fs layer [2021-10-12T06:35:59.480Z] 57d31006c564: Pulling fs layer [2021-10-12T06:35:59.480Z] bd5ccded8296: Pulling fs layer [2021-10-12T06:35:59.480Z] 304dd3a0f381: Pulling fs layer [2021-10-12T06:35:59.480Z] d37cda54a23b: Pulling fs layer [2021-10-12T06:35:59.480Z] bae75c0f2455: Pulling fs layer [2021-10-12T06:35:59.480Z] 806579b3d29a: Pulling fs layer [2021-10-12T06:35:59.480Z] c77eb801bf70: Pulling fs layer [2021-10-12T06:35:59.480Z] 6d0567d44e1a: Pulling fs layer [2021-10-12T06:35:59.480Z] 304dd3a0f381: Waiting [2021-10-12T06:35:59.480Z] d37cda54a23b: Waiting [2021-10-12T06:35:59.480Z] bae75c0f2455: Waiting [2021-10-12T06:35:59.480Z] 806579b3d29a: Waiting [2021-10-12T06:35:59.480Z] c77eb801bf70: Waiting [2021-10-12T06:35:59.480Z] 6d0567d44e1a: Waiting [2021-10-12T06:35:59.480Z] bd5ccded8296: Verifying Checksum [2021-10-12T06:35:59.480Z] bd5ccded8296: Download complete [2021-10-12T06:35:59.480Z] 57d31006c564: Verifying Checksum [2021-10-12T06:35:59.480Z] 57d31006c564: Download complete [2021-10-12T06:35:59.480Z] d37cda54a23b: Verifying Checksum [2021-10-12T06:35:59.480Z] d37cda54a23b: Download complete [2021-10-12T06:35:59.480Z] bae75c0f2455: Verifying Checksum [2021-10-12T06:35:59.480Z] bae75c0f2455: Download complete [2021-10-12T06:35:59.480Z] 806579b3d29a: Verifying Checksum [2021-10-12T06:35:59.480Z] 806579b3d29a: Download complete [2021-10-12T06:35:59.480Z] 4e9f2cdf4387: Verifying Checksum [2021-10-12T06:35:59.480Z] 4e9f2cdf4387: Download complete [2021-10-12T06:35:59.747Z] c77eb801bf70: Verifying Checksum [2021-10-12T06:35:59.747Z] c77eb801bf70: Download complete [2021-10-12T06:36:00.328Z] 6d0567d44e1a: Verifying Checksum [2021-10-12T06:36:00.328Z] 6d0567d44e1a: Download complete [2021-10-12T06:36:00.328Z] 4e9f2cdf4387: Pull complete [2021-10-12T06:36:00.328Z] 304dd3a0f381: Verifying Checksum [2021-10-12T06:36:00.328Z] 304dd3a0f381: Download complete [2021-10-12T06:36:00.328Z] 57d31006c564: Pull complete [2021-10-12T06:36:00.328Z] bd5ccded8296: Pull complete [2021-10-12T06:36:04.618Z] 304dd3a0f381: Pull complete [2021-10-12T06:36:04.618Z] d37cda54a23b: Pull complete [2021-10-12T06:36:04.883Z] bae75c0f2455: Pull complete [2021-10-12T06:36:04.883Z] 806579b3d29a: Pull complete [2021-10-12T06:36:04.883Z] c77eb801bf70: Pull complete [2021-10-12T06:36:07.472Z] 6d0567d44e1a: Pull complete [2021-10-12T06:36:07.472Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-12T06:36:07.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T06:36:07.472Z] ---> e839a31ac9d1 [2021-10-12T06:36:07.472Z] Step 3/11 : ARG MAKE='make build' [2021-10-12T06:36:09.401Z] ---> Running in 9ae67ba5761f [2021-10-12T06:36:09.401Z] Removing intermediate container 9ae67ba5761f [2021-10-12T06:36:09.401Z] ---> 73169b80bb83 [2021-10-12T06:36:09.401Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-12T06:36:09.401Z] ---> Running in 4861e9d0392c [2021-10-12T06:36:09.668Z] Removing intermediate container 4861e9d0392c [2021-10-12T06:36:09.668Z] ---> d7cf22f18bd1 [2021-10-12T06:36:09.668Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-12T06:36:09.668Z] ---> Running in 95d7a63fa5e7 [2021-10-12T06:36:09.668Z] Removing intermediate container 95d7a63fa5e7 [2021-10-12T06:36:09.668Z] ---> 0f7a68480ca1 [2021-10-12T06:36:09.668Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T06:36:09.668Z] ---> Running in 739abe22ab47 [2021-10-12T06:36:10.246Z] Removing intermediate container 739abe22ab47 [2021-10-12T06:36:10.246Z] ---> 5e1347111957 [2021-10-12T06:36:10.246Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-12T06:36:10.246Z] ---> Running in ae2110ae3022 [2021-10-12T06:36:10.509Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T06:36:11.458Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T06:36:11.718Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-12T06:36:11.980Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-12T06:36:11.980Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-12T06:36:12.252Z] Executing busybox-1.32.1-r6.trigger [2021-10-12T06:36:12.252Z] OK: 223 MiB in 55 packages [2021-10-12T06:36:12.517Z] Removing intermediate container ae2110ae3022 [2021-10-12T06:36:12.517Z] ---> d3f6ede26e9e [2021-10-12T06:36:12.517Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-12T06:36:12.517Z] ---> Running in 4f25451f978d [2021-10-12T06:36:12.517Z] Removing intermediate container 4f25451f978d [2021-10-12T06:36:12.517Z] ---> 80bf88bed9e9 [2021-10-12T06:36:12.517Z] Step 9/11 : COPY . . [2021-10-12T06:36:12.776Z] ---> ba90744a7025 [2021-10-12T06:36:12.776Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T06:36:12.776Z] ---> Running in 7366c7eb2c4f [2021-10-12T06:36:14.754Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-601 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-12T06:36:14.765Z] Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout [2021-10-12T06:36:15.019Z] The recommended git tool is: git [2021-10-12T06:36:21.154Z] using credential edgex-jenkins-ssh [2021-10-12T06:36:21.173Z] Cloning the remote Git repository [2021-10-12T06:36:21.234Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-12T06:36:21.340Z] > git init /w/workspace/device-rest-go/13 # timeout=10 [2021-10-12T06:36:21.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-12T06:36:21.417Z] > git --version # timeout=10 [2021-10-12T06:36:21.432Z] > git --version # 'git version 2.17.1' [2021-10-12T06:36:21.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T06:36:21.538Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T06:36:22.822Z] Removing intermediate container 7366c7eb2c4f [2021-10-12T06:36:22.822Z] ---> 164fbdefd116 [2021-10-12T06:36:22.822Z] Step 11/11 : RUN $MAKE [2021-10-12T06:36:22.822Z] ---> Running in 37ae926f7694 [2021-10-12T06:36:23.084Z] noop [2021-10-12T06:36:23.241Z] Avoid second fetch [2021-10-12T06:36:23.241Z] Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) [2021-10-12T06:36:23.343Z] Removing intermediate container 37ae926f7694 [2021-10-12T06:36:23.344Z] ---> 434907bfbe87 [2021-10-12T06:36:23.344Z] Successfully built 434907bfbe87 [2021-10-12T06:36:23.344Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:36:23.645Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T06:36:23.645Z] . [Pipeline] withDockerContainer [2021-10-12T06:36:23.727Z] prd-centos7-docker-4c-2g-602 does not seem to be running inside a container [2021-10-12T06:36:23.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** ci-base-image-x86_64 cat [2021-10-12T06:36:23.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-12T06:36:23.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T06:36:23.263Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T06:36:23.277Z] > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [2021-10-12T06:36:24.128Z] $ docker top 6a962149e3bfc990aec61de64853c616bbdaf431b5652e19460c979c71264d1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T06:36:24.524Z] + go version [2021-10-12T06:36:24.524Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-12T06:36:24.537Z] $ docker stop --time=1 6a962149e3bfc990aec61de64853c616bbdaf431b5652e19460c979c71264d1c [2021-10-12T06:36:25.757Z] $ docker rm -f 6a962149e3bfc990aec61de64853c616bbdaf431b5652e19460c979c71264d1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:36:26.208Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T06:36:26.208Z] . [Pipeline] withDockerContainer [2021-10-12T06:36:26.275Z] prd-centos7-docker-4c-2g-602 does not seem to be running inside a container [2021-10-12T06:36:26.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** ci-base-image-x86_64 cat [2021-10-12T06:36:26.658Z] $ docker top ddcdd37003b59391984646b7b77c7e8298ef6863b4dc15b34241faf4bbab9081 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T06:36:27.045Z] + make test [2021-10-12T06:36:27.045Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-12T06:36:27.308Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-12T06:36:27.540Z] Commit message: "Merge pull request #137 from hahattan/issue-136" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:36:27.848Z] provisioning config files... [2021-10-12T06:36:27.881Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config5800946017758690019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:36:28.467Z] ---> docker-login.sh [2021-10-12T06:36:28.467Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:36:29.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:36:30.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:36:30.071Z] Configure a credential helper to remove this warning. See [2021-10-12T06:36:30.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:36:30.071Z] [2021-10-12T06:36:30.071Z] Login Succeeded [2021-10-12T06:36:30.071Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:36:30.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:36:30.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:36:30.630Z] Configure a credential helper to remove this warning. See [2021-10-12T06:36:30.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:36:30.630Z] [2021-10-12T06:36:30.630Z] Login Succeeded [2021-10-12T06:36:30.630Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:36:30.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:36:31.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:36:31.191Z] Configure a credential helper to remove this warning. See [2021-10-12T06:36:31.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:36:31.191Z] [2021-10-12T06:36:31.191Z] Login Succeeded [2021-10-12T06:36:31.191Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:36:31.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:36:31.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:36:31.754Z] Configure a credential helper to remove this warning. See [2021-10-12T06:36:31.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:36:31.754Z] [2021-10-12T06:36:31.754Z] Login Succeeded [2021-10-12T06:36:31.754Z] docker.io [2021-10-12T06:36:32.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:36:32.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:36:32.639Z] Configure a credential helper to remove this warning. See [2021-10-12T06:36:32.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:36:32.639Z] [2021-10-12T06:36:32.639Z] Login Succeeded [2021-10-12T06:36:32.639Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:36:32.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T06:36:33.218Z] ========================================================= [2021-10-12T06:36:33.218Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-12T06:36:33.218Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:36:33.588Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-12T06:36:33.588Z] Sending build context to Docker daemon 118.8kB [2021-10-12T06:36:33.869Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T06:36:33.869Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-12T06:36:34.150Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-12T06:36:34.150Z] bbf911997326: Pulling fs layer [2021-10-12T06:36:34.150Z] 58ec367f63d7: Pulling fs layer [2021-10-12T06:36:34.150Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-12T06:36:34.150Z] fc5181fea5dc: Pulling fs layer [2021-10-12T06:36:34.150Z] 9c418107303f: Pulling fs layer [2021-10-12T06:36:34.150Z] 284eca6f2348: Pulling fs layer [2021-10-12T06:36:34.150Z] 842844d905b1: Pulling fs layer [2021-10-12T06:36:34.150Z] 901a3a57568e: Pulling fs layer [2021-10-12T06:36:34.150Z] fc5181fea5dc: Waiting [2021-10-12T06:36:34.150Z] 9c418107303f: Waiting [2021-10-12T06:36:34.150Z] 284eca6f2348: Waiting [2021-10-12T06:36:34.150Z] 842844d905b1: Waiting [2021-10-12T06:36:34.150Z] 901a3a57568e: Waiting [2021-10-12T06:36:34.150Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-12T06:36:34.150Z] 1b4a6ffa7d45: Download complete [2021-10-12T06:36:34.150Z] 58ec367f63d7: Verifying Checksum [2021-10-12T06:36:34.150Z] 58ec367f63d7: Download complete [2021-10-12T06:36:34.433Z] 9c418107303f: Verifying Checksum [2021-10-12T06:36:34.433Z] 9c418107303f: Download complete [2021-10-12T06:36:34.433Z] 284eca6f2348: Verifying Checksum [2021-10-12T06:36:34.433Z] 284eca6f2348: Download complete [2021-10-12T06:36:34.433Z] 842844d905b1: Verifying Checksum [2021-10-12T06:36:34.433Z] 842844d905b1: Download complete [2021-10-12T06:36:34.433Z] bbf911997326: Verifying Checksum [2021-10-12T06:36:34.433Z] bbf911997326: Download complete [2021-10-12T06:36:35.446Z] bbf911997326: Pull complete [2021-10-12T06:36:36.062Z] 58ec367f63d7: Pull complete [2021-10-12T06:36:36.344Z] 1b4a6ffa7d45: Pull complete [2021-10-12T06:36:36.344Z] 901a3a57568e: Verifying Checksum [2021-10-12T06:36:36.344Z] 901a3a57568e: Download complete [2021-10-12T06:36:36.625Z] fc5181fea5dc: Verifying Checksum [2021-10-12T06:36:36.625Z] fc5181fea5dc: Download complete [2021-10-12T06:36:45.559Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-12T06:36:45.559Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-10-12T06:36:45.559Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-12T06:36:46.875Z] fc5181fea5dc: Pull complete [2021-10-12T06:36:46.875Z] 9c418107303f: Pull complete [2021-10-12T06:36:47.480Z] 284eca6f2348: Pull complete [2021-10-12T06:36:47.767Z] 842844d905b1: Pull complete [2021-10-12T06:36:50.877Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T06:36:50.877Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T06:36:50.877Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T06:36:51.469Z] $ docker stop --time=1 ddcdd37003b59391984646b7b77c7e8298ef6863b4dc15b34241faf4bbab9081 [2021-10-12T06:36:52.869Z] $ docker rm -f ddcdd37003b59391984646b7b77c7e8298ef6863b4dc15b34241faf4bbab9081 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T06:36:53.207Z] 901a3a57568e: Pull complete [2021-10-12T06:36:53.207Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-12T06:36:53.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T06:36:53.207Z] ---> 72ade6ffb461 [2021-10-12T06:36:53.207Z] Step 3/11 : ARG MAKE='make build' [2021-10-12T06:36:53.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T06:36:53.452Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-12T06:36:54.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T06:36:55.060Z] + ls -al . [2021-10-12T06:36:55.060Z] total 116 [2021-10-12T06:36:55.060Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 12 06:36 . [2021-10-12T06:36:55.060Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 06:35 .. [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 6792 Oct 12 06:35 Attribution.txt [2021-10-12T06:36:55.060Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 12 06:35 bin [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 12 06:35 CHANGELOG.md [2021-10-12T06:36:55.060Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 12 06:35 cmd [2021-10-12T06:36:55.060Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 12 06:36 coverage.out [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 1649 Oct 12 06:35 Dockerfile [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 12 06:35 .dockerignore [2021-10-12T06:36:55.060Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 12 06:35 driver [2021-10-12T06:36:55.060Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 12 06:35 .git [2021-10-12T06:36:55.060Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 12 06:35 .github [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 329 Oct 12 06:35 .gitignore [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 271 Oct 12 06:35 go.mod [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 20570 Oct 12 06:35 go.sum [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 12 06:35 GOVERNANCE.md [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 12 06:35 Jenkinsfile [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 12 06:35 LICENSE [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 1078 Oct 12 06:35 Makefile [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 12 06:35 OWNERS.md [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 12 06:35 README.md [2021-10-12T06:36:55.060Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 12 06:35 snap [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 12 06:33 VERSION [2021-10-12T06:36:55.060Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 12 06:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:36:55.359Z] + 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=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 --label arch=amd64 --label version=2.0.1-dev.9 . [2021-10-12T06:36:55.359Z] Sending build context to Docker daemon 128kB [2021-10-12T06:36:55.359Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T06:36:55.359Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T06:36:55.359Z] ---> 434907bfbe87 [2021-10-12T06:36:55.359Z] Step 3/24 : ARG MAKE='make build' [2021-10-12T06:36:55.359Z] ---> Running in c2cdedee1cf4 [2021-10-12T06:36:55.359Z] Removing intermediate container c2cdedee1cf4 [2021-10-12T06:36:55.359Z] ---> 286eae1ce393 [2021-10-12T06:36:55.359Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-12T06:36:55.630Z] ---> Running in ed932a437534 [2021-10-12T06:36:55.630Z] Removing intermediate container ed932a437534 [2021-10-12T06:36:55.630Z] ---> 7bcf521eb585 [2021-10-12T06:36:55.630Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-12T06:36:55.630Z] ---> Running in ddbbeab09461 [2021-10-12T06:36:55.630Z] Removing intermediate container ddbbeab09461 [2021-10-12T06:36:55.630Z] ---> 1eb6f1d7b564 [2021-10-12T06:36:55.630Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T06:36:55.630Z] ---> Running in dee42ae55c8e [2021-10-12T06:36:56.207Z] Removing intermediate container dee42ae55c8e [2021-10-12T06:36:56.207Z] ---> 6b1927c8b7fb [2021-10-12T06:36:56.207Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-12T06:36:56.207Z] ---> Running in d29897d0cf16 [2021-10-12T06:36:56.471Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T06:36:57.413Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T06:36:57.558Z] ---> Running in 8e71df8d6948 [2021-10-12T06:36:57.674Z] OK: 223 MiB in 55 packages [2021-10-12T06:36:57.837Z] Removing intermediate container 8e71df8d6948 [2021-10-12T06:36:57.837Z] ---> 9b3dd90a69f1 [2021-10-12T06:36:57.837Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-12T06:36:57.837Z] ---> Running in 2409e89edf62 [2021-10-12T06:36:57.938Z] Removing intermediate container d29897d0cf16 [2021-10-12T06:36:57.938Z] ---> c073fa073dfb [2021-10-12T06:36:57.938Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-12T06:36:57.938Z] ---> Running in 98af8eab889a [2021-10-12T06:36:58.205Z] Removing intermediate container 98af8eab889a [2021-10-12T06:36:58.205Z] ---> ee3e818d5919 [2021-10-12T06:36:58.205Z] Step 9/24 : COPY . . [2021-10-12T06:36:58.205Z] ---> 38f13a49349e [2021-10-12T06:36:58.205Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T06:36:58.443Z] Removing intermediate container 2409e89edf62 [2021-10-12T06:36:58.443Z] ---> 3fc17aaef971 [2021-10-12T06:36:58.443Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-12T06:36:58.443Z] ---> Running in 72e249df6f03 [2021-10-12T06:36:58.463Z] ---> Running in ba73dff3a30a [2021-10-12T06:36:58.721Z] Removing intermediate container 72e249df6f03 [2021-10-12T06:36:58.721Z] ---> 7fce09f2fd21 [2021-10-12T06:36:58.721Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T06:36:59.008Z] ---> Running in e06e15e85df3 [2021-10-12T06:36:59.035Z] Removing intermediate container ba73dff3a30a [2021-10-12T06:36:59.035Z] ---> e4b48c9a1aaf [2021-10-12T06:36:59.035Z] Step 11/24 : RUN $MAKE [2021-10-12T06:36:59.035Z] ---> Running in c5d0c6d97519 [2021-10-12T06:36:59.303Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd [2021-10-12T06:37:01.669Z] Removing intermediate container e06e15e85df3 [2021-10-12T06:37:01.669Z] ---> 092441b82099 [2021-10-12T06:37:01.669Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-12T06:37:01.669Z] ---> Running in c57584643968 [2021-10-12T06:37:03.120Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T06:37:03.719Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T06:37:04.706Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-12T06:37:04.706Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-12T06:37:04.706Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-12T06:37:04.982Z] Executing busybox-1.32.1-r6.trigger [2021-10-12T06:37:04.982Z] OK: 222 MiB in 55 packages [2021-10-12T06:37:06.188Z] Removing intermediate container c57584643968 [2021-10-12T06:37:06.188Z] ---> d450c1293089 [2021-10-12T06:37:06.188Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-12T06:37:06.470Z] ---> Running in bf83743baa0b [2021-10-12T06:37:07.091Z] Removing intermediate container bf83743baa0b [2021-10-12T06:37:07.091Z] ---> 7d7698528583 [2021-10-12T06:37:07.091Z] Step 9/11 : COPY . . [2021-10-12T06:37:07.696Z] ---> ddd847b804cd [2021-10-12T06:37:07.696Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T06:37:07.976Z] ---> Running in 4ebe65061f8a [2021-10-12T06:37:11.653Z] Removing intermediate container c5d0c6d97519 [2021-10-12T06:37:11.653Z] ---> 10817bb19229 [2021-10-12T06:37:11.653Z] Step 12/24 : FROM alpine:3.14 [2021-10-12T06:37:11.653Z] 3.14: Pulling from library/alpine [2021-10-12T06:37:11.653Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T06:37:11.653Z] a0d0a0d46f8b: Download complete [2021-10-12T06:37:11.913Z] a0d0a0d46f8b: Pull complete [2021-10-12T06:37:11.913Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T06:37:11.913Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T06:37:11.913Z] ---> 14119a10abf4 [2021-10-12T06:37:11.913Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-12T06:37:11.913Z] ---> Running in d053f2ace82a [2021-10-12T06:37:12.176Z] Removing intermediate container d053f2ace82a [2021-10-12T06:37:12.176Z] ---> 670880509036 [2021-10-12T06:37:12.176Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-12T06:37:12.176Z] ---> Running in bf79aaf19143 [2021-10-12T06:37:12.176Z] Removing intermediate container bf79aaf19143 [2021-10-12T06:37:12.176Z] ---> ce16430eb03b [2021-10-12T06:37:12.176Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-12T06:37:12.176Z] ---> Running in e578bbf19939 [2021-10-12T06:37:12.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-12T06:37:12.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-12T06:37:12.699Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-12T06:37:12.699Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T06:37:12.699Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-12T06:37:12.962Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T06:37:12.962Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-12T06:37:12.962Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-12T06:37:12.962Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T06:37:12.962Z] OK: 8 MiB in 20 packages [2021-10-12T06:37:13.225Z] Removing intermediate container e578bbf19939 [2021-10-12T06:37:13.225Z] ---> f59166e687df [2021-10-12T06:37:13.225Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-12T06:37:13.485Z] ---> 41cf4721eac8 [2021-10-12T06:37:13.485Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-12T06:37:13.745Z] ---> 7fecf57aee8d [2021-10-12T06:37:13.745Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-12T06:37:13.745Z] ---> 0ac0e25ac0bd [2021-10-12T06:37:13.745Z] Step 19/24 : EXPOSE 59986 [2021-10-12T06:37:13.745Z] ---> Running in cb8b654b59d3 [2021-10-12T06:37:14.031Z] Removing intermediate container cb8b654b59d3 [2021-10-12T06:37:14.031Z] ---> 1cdbd2d0f17f [2021-10-12T06:37:14.031Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-12T06:37:14.031Z] ---> Running in da37cca391c9 [2021-10-12T06:37:14.031Z] Removing intermediate container da37cca391c9 [2021-10-12T06:37:14.031Z] ---> c4a9594557f9 [2021-10-12T06:37:14.031Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-12T06:37:14.031Z] ---> Running in 275e55c03e12 [2021-10-12T06:37:14.031Z] Removing intermediate container 275e55c03e12 [2021-10-12T06:37:14.031Z] ---> a13f2fcd3ac5 [2021-10-12T06:37:14.031Z] Step 22/24 : LABEL arch=amd64 [2021-10-12T06:37:14.031Z] ---> Running in 23086230163d [2021-10-12T06:37:14.292Z] Removing intermediate container 23086230163d [2021-10-12T06:37:14.292Z] ---> 3f9de621bad7 [2021-10-12T06:37:14.292Z] Step 23/24 : LABEL git_sha=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:37:14.292Z] ---> Running in 882f8987125f [2021-10-12T06:37:14.292Z] Removing intermediate container 882f8987125f [2021-10-12T06:37:14.292Z] ---> cdd036a1ca44 [2021-10-12T06:37:14.292Z] Step 24/24 : LABEL version=2.0.1-dev.9 [2021-10-12T06:37:14.292Z] ---> Running in dc0e22561779 [2021-10-12T06:37:14.552Z] Removing intermediate container dc0e22561779 [2021-10-12T06:37:14.552Z] ---> 720360f96c0b [2021-10-12T06:37:14.552Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T06:37:14.552Z] Successfully built 720360f96c0b [2021-10-12T06:37:14.552Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:37:14.770Z] provisioning config files... [2021-10-12T06:37:14.785Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config7283927666688688734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:37:15.088Z] ---> docker-login.sh [2021-10-12T06:37:15.088Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:37:15.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:37:15.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:37:15.088Z] Configure a credential helper to remove this warning. See [2021-10-12T06:37:15.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:37:15.088Z] [2021-10-12T06:37:15.088Z] Login Succeeded [2021-10-12T06:37:15.088Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:37:15.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:37:15.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:37:15.351Z] Configure a credential helper to remove this warning. See [2021-10-12T06:37:15.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:37:15.351Z] [2021-10-12T06:37:15.351Z] Login Succeeded [2021-10-12T06:37:15.351Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:37:15.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:37:15.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:37:15.351Z] Configure a credential helper to remove this warning. See [2021-10-12T06:37:15.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:37:15.351Z] [2021-10-12T06:37:15.351Z] Login Succeeded [2021-10-12T06:37:15.351Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:37:15.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:37:15.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:37:15.351Z] Configure a credential helper to remove this warning. See [2021-10-12T06:37:15.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:37:15.351Z] [2021-10-12T06:37:15.351Z] Login Succeeded [2021-10-12T06:37:15.351Z] docker.io [2021-10-12T06:37:15.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:37:15.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:37:15.879Z] Configure a credential helper to remove this warning. See [2021-10-12T06:37:15.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:37:15.879Z] [2021-10-12T06:37:15.879Z] Login Succeeded [2021-10-12T06:37:15.879Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:37:15.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-12T06:37:15.922Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-10-12T06:37:15.922Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:37:15.922Z] latest [2021-10-12T06:37:15.922Z] 2.0.1-dev.9 [2021-10-12T06:37:15.922Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:37:15.922Z] main [2021-10-12T06:37:15.922Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:16.227Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:16.525Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:37:16.525Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:37:16.525Z] ec7b34800dba: Preparing [2021-10-12T06:37:16.525Z] 05abcd7a0f1c: Preparing [2021-10-12T06:37:16.525Z] 3e19f36cabb2: Preparing [2021-10-12T06:37:16.525Z] 1ef32e3b7b07: Preparing [2021-10-12T06:37:16.525Z] e2eb06d8af82: Preparing [2021-10-12T06:37:16.525Z] e2eb06d8af82: Layer already exists [2021-10-12T06:37:16.786Z] 05abcd7a0f1c: Pushed [2021-10-12T06:37:16.786Z] ec7b34800dba: Pushed [2021-10-12T06:37:16.786Z] 1ef32e3b7b07: Pushed [2021-10-12T06:37:17.729Z] 3e19f36cabb2: Pushed [2021-10-12T06:37:17.729Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:18.031Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:18.323Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-12T06:37:18.324Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:37:18.324Z] ec7b34800dba: Preparing [2021-10-12T06:37:18.324Z] 05abcd7a0f1c: Preparing [2021-10-12T06:37:18.324Z] 3e19f36cabb2: Preparing [2021-10-12T06:37:18.324Z] 1ef32e3b7b07: Preparing [2021-10-12T06:37:18.324Z] e2eb06d8af82: Preparing [2021-10-12T06:37:18.324Z] 3e19f36cabb2: Layer already exists [2021-10-12T06:37:18.324Z] ec7b34800dba: Layer already exists [2021-10-12T06:37:18.324Z] 1ef32e3b7b07: Layer already exists [2021-10-12T06:37:18.324Z] e2eb06d8af82: Layer already exists [2021-10-12T06:37:18.324Z] 05abcd7a0f1c: Layer already exists [2021-10-12T06:37:18.324Z] latest: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:18.623Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:18.918Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [2021-10-12T06:37:18.918Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:37:18.918Z] ec7b34800dba: Preparing [2021-10-12T06:37:18.918Z] 05abcd7a0f1c: Preparing [2021-10-12T06:37:18.918Z] 3e19f36cabb2: Preparing [2021-10-12T06:37:18.918Z] 1ef32e3b7b07: Preparing [2021-10-12T06:37:18.918Z] e2eb06d8af82: Preparing [2021-10-12T06:37:18.918Z] 3e19f36cabb2: Layer already exists [2021-10-12T06:37:18.918Z] 05abcd7a0f1c: Layer already exists [2021-10-12T06:37:18.918Z] e2eb06d8af82: Layer already exists [2021-10-12T06:37:18.918Z] 1ef32e3b7b07: Layer already exists [2021-10-12T06:37:18.918Z] ec7b34800dba: Layer already exists [2021-10-12T06:37:18.918Z] 2.0.1-dev.9: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:19.225Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:19.521Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:37:19.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:37:19.521Z] ec7b34800dba: Preparing [2021-10-12T06:37:19.521Z] 05abcd7a0f1c: Preparing [2021-10-12T06:37:19.521Z] 3e19f36cabb2: Preparing [2021-10-12T06:37:19.521Z] 1ef32e3b7b07: Preparing [2021-10-12T06:37:19.521Z] e2eb06d8af82: Preparing [2021-10-12T06:37:19.521Z] e2eb06d8af82: Layer already exists [2021-10-12T06:37:19.521Z] 1ef32e3b7b07: Layer already exists [2021-10-12T06:37:19.521Z] 05abcd7a0f1c: Layer already exists [2021-10-12T06:37:19.521Z] 3e19f36cabb2: Layer already exists [2021-10-12T06:37:19.521Z] ec7b34800dba: Layer already exists [2021-10-12T06:37:19.521Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:19.827Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:20.128Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-10-12T06:37:20.128Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:37:20.128Z] ec7b34800dba: Preparing [2021-10-12T06:37:20.128Z] 05abcd7a0f1c: Preparing [2021-10-12T06:37:20.128Z] 3e19f36cabb2: Preparing [2021-10-12T06:37:20.128Z] 1ef32e3b7b07: Preparing [2021-10-12T06:37:20.128Z] e2eb06d8af82: Preparing [2021-10-12T06:37:20.128Z] 1ef32e3b7b07: Layer already exists [2021-10-12T06:37:20.128Z] e2eb06d8af82: Layer already exists [2021-10-12T06:37:20.128Z] ec7b34800dba: Layer already exists [2021-10-12T06:37:20.128Z] 3e19f36cabb2: Layer already exists [2021-10-12T06:37:20.128Z] 05abcd7a0f1c: Layer already exists [2021-10-12T06:37:20.128Z] main: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-12T06:37:20.162Z] ===================================================== [Pipeline] echo [2021-10-12T06:37:20.169Z] taggedImages: [2021-10-12T06:37:20.169Z] - nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:37:20.169Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-12T06:37:20.169Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [2021-10-12T06:37:20.169Z] - nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:37:20.169Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:20.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:37:20.827Z] [2021-10-12T06:37:20.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:21.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:37:21.131Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T06:37:21.131Z] b4d181a07f80: Pulling fs layer [2021-10-12T06:37:21.131Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T06:37:21.131Z] ed53099fbce6: Pulling fs layer [2021-10-12T06:37:21.131Z] dc539afda2c1: Pulling fs layer [2021-10-12T06:37:21.131Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T06:37:21.131Z] 9065ff56babe: Pulling fs layer [2021-10-12T06:37:21.131Z] d287ab97295c: Pulling fs layer [2021-10-12T06:37:21.131Z] d287ab97295c: Waiting [2021-10-12T06:37:21.131Z] 9065ff56babe: Waiting [2021-10-12T06:37:21.131Z] dc539afda2c1: Waiting [2021-10-12T06:37:21.131Z] 77bc0d833cb6: Waiting [2021-10-12T06:37:21.131Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T06:37:21.131Z] a1111a8f2ec3: Download complete [2021-10-12T06:37:21.131Z] dc539afda2c1: Verifying Checksum [2021-10-12T06:37:21.131Z] dc539afda2c1: Download complete [2021-10-12T06:37:21.395Z] ed53099fbce6: Verifying Checksum [2021-10-12T06:37:21.395Z] ed53099fbce6: Download complete [2021-10-12T06:37:21.395Z] 9065ff56babe: Verifying Checksum [2021-10-12T06:37:21.395Z] 9065ff56babe: Download complete [2021-10-12T06:37:21.395Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T06:37:21.395Z] 77bc0d833cb6: Download complete [2021-10-12T06:37:21.395Z] b4d181a07f80: Verifying Checksum [2021-10-12T06:37:21.395Z] b4d181a07f80: Download complete [2021-10-12T06:37:21.984Z] d287ab97295c: Verifying Checksum [2021-10-12T06:37:21.984Z] d287ab97295c: Download complete [2021-10-12T06:37:22.949Z] b4d181a07f80: Pull complete [2021-10-12T06:37:22.949Z] a1111a8f2ec3: Pull complete [2021-10-12T06:37:23.531Z] ed53099fbce6: Pull complete [2021-10-12T06:37:23.531Z] dc539afda2c1: Pull complete [2021-10-12T06:37:23.805Z] 77bc0d833cb6: Pull complete [2021-10-12T06:37:23.805Z] 9065ff56babe: Pull complete [2021-10-12T06:37:29.137Z] d287ab97295c: Pull complete [2021-10-12T06:37:29.137Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T06:37:29.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:37:29.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T06:37:29.205Z] prd-centos7-docker-4c-2g-602 does not seem to be running inside a container [2021-10-12T06:37:29.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T06:37:31.240Z] $ docker top 01d614020c46496f3c620047db5f518ed1032f6b3e48bb2f765c7b81f4803a47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:37:31.705Z] ---> job-cost.sh [2021-10-12T06:37:31.705Z] lf-activate-venv: SKIPPING [2021-10-12T06:37:31.705Z] INFO: No Stack... [2021-10-12T06:37:32.276Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T06:37:32.539Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T06:37:32.838Z] + cut -d, -f6 [2021-10-12T06:37:32.838Z] + cat /w/workspace/device-rest-go/13/archives/cost.csv [Pipeline] lock [2021-10-12T06:37:32.867Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [2021-10-12T06:37:32.875Z] Resource [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] did not exist. Created. [2021-10-12T06:37:32.875Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T06:37:33.201Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-12T06:37:33.244Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T06:37:33.250Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T06:37:33.265Z] $ docker stop --time=1 01d614020c46496f3c620047db5f518ed1032f6b3e48bb2f765c7b81f4803a47 [2021-10-12T06:37:34.413Z] $ docker rm -f 01d614020c46496f3c620047db5f518ed1032f6b3e48bb2f765c7b81f4803a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-12T06:37:34.850Z] Removing intermediate container 4ebe65061f8a [2021-10-12T06:37:34.850Z] ---> 9b379c59542e [2021-10-12T06:37:34.850Z] Step 11/11 : RUN $MAKE [2021-10-12T06:37:34.850Z] ---> Running in 4fc7b9063ec8 [2021-10-12T06:37:34.850Z] noop [2021-10-12T06:37:34.850Z] Removing intermediate container 4fc7b9063ec8 [2021-10-12T06:37:34.850Z] ---> 41e67f3a6289 [2021-10-12T06:37:34.850Z] Successfully built 41e67f3a6289 [2021-10-12T06:37:34.850Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:35.213Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T06:37:35.213Z] . [Pipeline] withDockerContainer [2021-10-12T06:37:35.463Z] prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container [2021-10-12T06:37:35.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** ci-base-image-arm64 cat [2021-10-12T06:37:37.068Z] $ docker top 956682a1986c931befbb4bfc9a3f65bddc0d735197b66f5a9f6e44bbe509d8e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T06:37:38.000Z] + go version [2021-10-12T06:37:38.000Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-12T06:37:38.030Z] $ docker stop --time=1 956682a1986c931befbb4bfc9a3f65bddc0d735197b66f5a9f6e44bbe509d8e9 [2021-10-12T06:37:39.851Z] $ docker rm -f 956682a1986c931befbb4bfc9a3f65bddc0d735197b66f5a9f6e44bbe509d8e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:37:40.515Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T06:37:40.515Z] . [Pipeline] withDockerContainer [2021-10-12T06:37:40.742Z] prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container [2021-10-12T06:37:40.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** ci-base-image-arm64 cat [2021-10-12T06:37:42.296Z] $ docker top 5d338db122bfa6883e3a6bd037f2770b896098b53c23a0264de66b41cfcb24f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T06:37:43.240Z] + make test [2021-10-12T06:37:43.240Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-12T06:37:44.235Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-12T06:38:40.924Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-12T06:38:40.924Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 53.8% of statements [2021-10-12T06:38:40.924Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-12T06:39:03.204Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T06:39:03.204Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T06:39:03.204Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T06:39:04.210Z] $ docker stop --time=1 5d338db122bfa6883e3a6bd037f2770b896098b53c23a0264de66b41cfcb24f3 [2021-10-12T06:39:06.027Z] $ docker rm -f 5d338db122bfa6883e3a6bd037f2770b896098b53c23a0264de66b41cfcb24f3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T06:39:06.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T06:39:06.875Z] Warning: overwriting stash ‘coverage-report’ [2021-10-12T06:39:07.428Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-12T06:39:08.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T06:39:08.388Z] + ls -al . [2021-10-12T06:39:08.388Z] total 144 [2021-10-12T06:39:08.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 06:39 . [2021-10-12T06:39:08.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 06:36 .. [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 12 06:36 .dockerignore [2021-10-12T06:39:08.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 06:36 .git [2021-10-12T06:39:08.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:36 .github [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 12 06:36 .gitignore [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 6792 Oct 12 06:36 Attribution.txt [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 7459 Oct 12 06:36 CHANGELOG.md [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 1649 Oct 12 06:36 Dockerfile [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 06:36 GOVERNANCE.md [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 06:36 Jenkinsfile [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 06:36 LICENSE [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 1078 Oct 12 06:36 Makefile [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 06:36 OWNERS.md [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 7661 Oct 12 06:36 README.md [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 12 06:33 VERSION [2021-10-12T06:39:08.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:36 bin [2021-10-12T06:39:08.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 06:36 cmd [2021-10-12T06:39:08.388Z] -rw-r--r-- 1 jenkins jenkins 8435 Oct 12 06:38 coverage.out [2021-10-12T06:39:08.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:36 driver [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 271 Oct 12 06:36 go.mod [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 20570 Oct 12 06:36 go.sum [2021-10-12T06:39:08.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 06:36 snap [2021-10-12T06:39:08.388Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 12 06:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:39:08.755Z] + 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=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 --label arch=arm64 --label version=2.0.1-dev.9 . [2021-10-12T06:39:08.755Z] Sending build context to Docker daemon 128kB [2021-10-12T06:39:09.038Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T06:39:09.038Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T06:39:09.038Z] ---> 41e67f3a6289 [2021-10-12T06:39:09.038Z] Step 3/24 : ARG MAKE='make build' [2021-10-12T06:39:09.317Z] ---> Running in da21e22c394b [2021-10-12T06:39:09.921Z] Removing intermediate container da21e22c394b [2021-10-12T06:39:09.921Z] ---> 6fad750d0128 [2021-10-12T06:39:09.921Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-12T06:39:09.921Z] ---> Running in 38e877070e32 [2021-10-12T06:39:10.526Z] Removing intermediate container 38e877070e32 [2021-10-12T06:39:10.526Z] ---> 0c59d0cb44e6 [2021-10-12T06:39:10.526Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-12T06:39:10.526Z] ---> Running in d2b32fc782f3 [2021-10-12T06:39:10.803Z] Removing intermediate container d2b32fc782f3 [2021-10-12T06:39:10.803Z] ---> 4a931fcf21cd [2021-10-12T06:39:10.803Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T06:39:11.082Z] ---> Running in ce148fe18e7a [2021-10-12T06:39:13.081Z] Removing intermediate container ce148fe18e7a [2021-10-12T06:39:13.081Z] ---> cef9e92df9e6 [2021-10-12T06:39:13.081Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-12T06:39:13.081Z] ---> Running in 13e4677b21bb [2021-10-12T06:39:14.544Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T06:39:15.533Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T06:39:16.142Z] OK: 222 MiB in 55 packages [2021-10-12T06:39:16.773Z] Removing intermediate container 13e4677b21bb [2021-10-12T06:39:16.773Z] ---> 74ff4f1a69d3 [2021-10-12T06:39:16.773Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-12T06:39:17.059Z] ---> Running in 0ae0e0605342 [2021-10-12T06:39:17.660Z] Removing intermediate container 0ae0e0605342 [2021-10-12T06:39:17.660Z] ---> 280a2e7051c4 [2021-10-12T06:39:17.660Z] Step 9/24 : COPY . . [2021-10-12T06:39:18.264Z] ---> c51ffcf2404f [2021-10-12T06:39:18.264Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T06:39:18.543Z] ---> Running in c26bbd996ef9 [2021-10-12T06:39:20.568Z] Removing intermediate container c26bbd996ef9 [2021-10-12T06:39:20.568Z] ---> f98349f0bff8 [2021-10-12T06:39:20.568Z] Step 11/24 : RUN $MAKE [2021-10-12T06:39:20.845Z] ---> Running in d9ee7e04b16f [2021-10-12T06:39:21.853Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd [2021-10-12T06:40:00.977Z] Removing intermediate container d9ee7e04b16f [2021-10-12T06:40:00.977Z] ---> 6a51adbb7faf [2021-10-12T06:40:00.977Z] Step 12/24 : FROM alpine:3.14 [2021-10-12T06:40:00.977Z] 3.14: Pulling from library/alpine [2021-10-12T06:40:00.977Z] 552d1f2373af: Pulling fs layer [2021-10-12T06:40:00.977Z] 552d1f2373af: Verifying Checksum [2021-10-12T06:40:00.977Z] 552d1f2373af: Download complete [2021-10-12T06:40:00.977Z] 552d1f2373af: Pull complete [2021-10-12T06:40:00.977Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T06:40:00.977Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T06:40:00.977Z] ---> bb3de5531c18 [2021-10-12T06:40:00.977Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-12T06:40:00.977Z] ---> Running in aacffc67574b [2021-10-12T06:40:00.977Z] Removing intermediate container aacffc67574b [2021-10-12T06:40:00.977Z] ---> 4f7b2505c7ec [2021-10-12T06:40:00.977Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-12T06:40:00.977Z] ---> Running in 57e601774b0e [2021-10-12T06:40:00.977Z] Removing intermediate container 57e601774b0e [2021-10-12T06:40:00.977Z] ---> f2738ac920d4 [2021-10-12T06:40:00.977Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-12T06:40:00.977Z] ---> Running in f63116863da1 [2021-10-12T06:40:01.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-12T06:40:07.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-12T06:40:07.004Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) [2021-10-12T06:40:11.335Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) [2021-10-12T06:40:11.335Z] ERROR: unable to select packages: [2021-10-12T06:40:11.335Z]  dumb-init (no such package): [2021-10-12T06:40:11.335Z] required by: world[dumb-init] [2021-10-12T06:40:11.335Z] zeromq (no such package): [2021-10-12T06:40:11.335Z] required by: world[zeromq] [2021-10-12T06:40:11.938Z] The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:40:12.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T06:40:12.541Z] [2021-10-12T06:40:12.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:40:13.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T06:40:13.460Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-12T06:40:13.460Z] 448f6bf000e3: Pulling fs layer [2021-10-12T06:40:13.460Z] f757da607395: Pulling fs layer [2021-10-12T06:40:13.460Z] 05883995daec: Pulling fs layer [2021-10-12T06:40:13.460Z] 8603b9c90790: Pulling fs layer [2021-10-12T06:40:13.460Z] 1560dd03e051: Pulling fs layer [2021-10-12T06:40:13.460Z] 27f5ce0e4adf: Pulling fs layer [2021-10-12T06:40:13.460Z] c2d8d7efcc4b: Pulling fs layer [2021-10-12T06:40:13.460Z] 1560dd03e051: Waiting [2021-10-12T06:40:13.460Z] 27f5ce0e4adf: Waiting [2021-10-12T06:40:13.460Z] c2d8d7efcc4b: Waiting [2021-10-12T06:40:13.460Z] 8603b9c90790: Waiting [2021-10-12T06:40:13.738Z] f757da607395: Download complete [2021-10-12T06:40:13.738Z] 8603b9c90790: Verifying Checksum [2021-10-12T06:40:13.738Z] 8603b9c90790: Download complete [2021-10-12T06:40:13.738Z] 05883995daec: Verifying Checksum [2021-10-12T06:40:13.738Z] 05883995daec: Download complete [2021-10-12T06:40:13.738Z] 1560dd03e051: Verifying Checksum [2021-10-12T06:40:13.738Z] 1560dd03e051: Download complete [2021-10-12T06:40:13.738Z] 27f5ce0e4adf: Verifying Checksum [2021-10-12T06:40:13.738Z] 27f5ce0e4adf: Download complete [2021-10-12T06:40:14.017Z] 448f6bf000e3: Verifying Checksum [2021-10-12T06:40:14.017Z] 448f6bf000e3: Download complete [2021-10-12T06:40:16.680Z] c2d8d7efcc4b: Verifying Checksum [2021-10-12T06:40:16.680Z] c2d8d7efcc4b: Download complete [2021-10-12T06:40:17.674Z] 448f6bf000e3: Pull complete [2021-10-12T06:40:18.281Z] f757da607395: Pull complete [2021-10-12T06:40:19.737Z] 05883995daec: Pull complete [2021-10-12T06:40:20.017Z] 8603b9c90790: Pull complete [2021-10-12T06:40:21.013Z] 1560dd03e051: Pull complete [2021-10-12T06:40:21.292Z] 27f5ce0e4adf: Pull complete [2021-10-12T06:40:36.439Z] c2d8d7efcc4b: Pull complete [2021-10-12T06:40:36.439Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-12T06:40:36.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T06:40:36.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-12T06:40:36.682Z] prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container [2021-10-12T06:40:36.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-12T06:40:40.701Z] $ docker top 71e1cd2d920a4e96a709bfdaa0898fee8c0cfe1add6d846c421dbf8600542531 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:40:41.661Z] ---> job-cost.sh [2021-10-12T06:40:41.661Z] lf-activate-venv: SKIPPING [2021-10-12T06:40:41.661Z] INFO: No Stack... [2021-10-12T06:40:47.091Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-12T06:40:47.368Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T06:40:48.051Z] + cat /w/workspace/device-rest-go/13/archives/cost.csv [2021-10-12T06:40:48.051Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T06:40:48.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [2021-10-12T06:40:48.128Z] Resource [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] did not exist. Created. [2021-10-12T06:40:48.128Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T06:40:48.820Z] /w/workspace/device-rest-go/13@tmp/durable-a51663ae/script.sh: 1: /w/workspace/device-rest-go/13@tmp/durable-a51663ae/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-12T06:40:49.503Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-12T06:40:49.533Z] Warning: overwriting stash ‘stack-cost’ [2021-10-12T06:40:49.579Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T06:40:49.585Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T06:40:49.601Z] $ docker stop --time=1 71e1cd2d920a4e96a709bfdaa0898fee8c0cfe1add6d846c421dbf8600542531 [2021-10-12T06:40:51.276Z] $ docker rm -f 71e1cd2d920a4e96a709bfdaa0898fee8c0cfe1add6d846c421dbf8600542531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-12T06:40:51.727Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-12T06:40:53.122Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:40:53.420Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:40:53.981Z] ---> package-listing.sh [2021-10-12T06:40:53.981Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-12T06:40:53.981Z] ++ facter osfamily [2021-10-12T06:40:54.243Z] + OS_FAMILY=redhat [2021-10-12T06:40:54.243Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-10-12T06:40:54.243Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-12T06:40:54.243Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-12T06:40:54.243Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-12T06:40:54.243Z] + PACKAGES=/tmp/packages_start.txt [2021-10-12T06:40:54.243Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-12T06:40:54.243Z] + PACKAGES=/tmp/packages_end.txt [2021-10-12T06:40:54.243Z] + case "${OS_FAMILY}" in [2021-10-12T06:40:54.243Z] + rpm -qa [2021-10-12T06:40:54.243Z] + sort [2021-10-12T06:40:54.816Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-12T06:40:54.816Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-12T06:40:54.816Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-12T06:40:54.816Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-12T06:40:54.816Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-10-12T06:40:54.816Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-10-12T06:40:54.827Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-12T06:40:55.118Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:40:55.687Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:40:55.687Z] [2021-10-12T06:40:55.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:40:56.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:40:56.000Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T06:40:56.000Z] b4d181a07f80: Pulling fs layer [2021-10-12T06:40:56.000Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T06:40:56.000Z] ed53099fbce6: Pulling fs layer [2021-10-12T06:40:56.000Z] dc539afda2c1: Pulling fs layer [2021-10-12T06:40:56.000Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T06:40:56.000Z] 9065ff56babe: Pulling fs layer [2021-10-12T06:40:56.000Z] d287ab97295c: Pulling fs layer [2021-10-12T06:40:56.000Z] dc539afda2c1: Waiting [2021-10-12T06:40:56.000Z] 77bc0d833cb6: Waiting [2021-10-12T06:40:56.000Z] 9065ff56babe: Waiting [2021-10-12T06:40:56.000Z] d287ab97295c: Waiting [2021-10-12T06:40:56.000Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T06:40:56.000Z] a1111a8f2ec3: Download complete [2021-10-12T06:40:56.000Z] dc539afda2c1: Verifying Checksum [2021-10-12T06:40:56.000Z] dc539afda2c1: Download complete [2021-10-12T06:40:56.000Z] ed53099fbce6: Verifying Checksum [2021-10-12T06:40:56.000Z] ed53099fbce6: Download complete [2021-10-12T06:40:56.271Z] 9065ff56babe: Verifying Checksum [2021-10-12T06:40:56.271Z] 9065ff56babe: Download complete [2021-10-12T06:40:56.271Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T06:40:56.271Z] 77bc0d833cb6: Download complete [2021-10-12T06:40:56.271Z] b4d181a07f80: Verifying Checksum [2021-10-12T06:40:56.271Z] b4d181a07f80: Download complete [2021-10-12T06:40:56.849Z] d287ab97295c: Verifying Checksum [2021-10-12T06:40:56.849Z] d287ab97295c: Download complete [2021-10-12T06:40:57.802Z] b4d181a07f80: Pull complete [2021-10-12T06:40:58.068Z] a1111a8f2ec3: Pull complete [2021-10-12T06:40:58.642Z] ed53099fbce6: Pull complete [2021-10-12T06:40:58.642Z] dc539afda2c1: Pull complete [2021-10-12T06:40:58.904Z] 77bc0d833cb6: Pull complete [2021-10-12T06:40:58.904Z] 9065ff56babe: Pull complete [2021-10-12T06:41:04.280Z] d287ab97295c: Pull complete [2021-10-12T06:41:04.280Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T06:41:04.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:41:04.280Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T06:41:04.345Z] prd-centos7-docker-4c-2g-599 does not seem to be running inside a container [2021-10-12T06:41:04.403Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T06:41:06.508Z] $ docker top e6126c52b9916c07b12dc3895b3988d5c78800ca7dc786ba08d2326c9d86c58e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T06:41:06.881Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-12T06:41:07.181Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-12T06:41:07.473Z] + ls /var/log/sa-host [2021-10-12T06:41:07.473Z] + sadf -c /var/log/sa-host/sa12 [2021-10-12T06:41:07.473Z] file_magic: OK [2021-10-12T06:41:07.473Z] HZ: Using current value: 100 [2021-10-12T06:41:07.473Z] file_header: OK [2021-10-12T06:41:07.473Z] 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-10-12T06:41:07.473Z] Statistics: [2021-10-12T06:41:07.473Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T06:41:07.473Z] File successfully converted to sysstat format version 12.0.3 [2021-10-12T06:41:07.473Z] + sadf -c /var/log/sa-host/sa30 [2021-10-12T06:41:07.473Z] file_magic: OK [2021-10-12T06:41:07.473Z] HZ: Using current value: 100 [2021-10-12T06:41:07.473Z] file_header: OK [2021-10-12T06:41:07.473Z] 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-10-12T06:41:07.473Z] Statistics: [2021-10-12T06:41:07.473Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T06:41:07.473Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:41:07.720Z] provisioning config files... [2021-10-12T06:41:07.728Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8726792686408022099tmp [Pipeline] { [Pipeline] echo [2021-10-12T06:41:07.743Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:41:08.033Z] ---> create-netrc.sh [Pipeline] } [2021-10-12T06:41:08.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:41:08.374Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-12T06:41:08.383Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:41:08.671Z] ---> sudo-logs.sh [2021-10-12T06:41:08.671Z] Archiving 'sudo' log.. [2021-10-12T06:41:08.934Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-599.novalocal: Name or service not known [2021-10-12T06:41:08.934Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-599.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-12T06:41:08.976Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:41:09.274Z] ---> job-cost.sh [2021-10-12T06:41:09.274Z] lf-activate-venv: SKIPPING [2021-10-12T06:41:09.274Z] DEBUG: total: 0.10999999940395355 [2021-10-12T06:41:09.274Z] INFO: Retrieving Stack Cost... [2021-10-12T06:41:09.854Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T06:41:10.117Z] INFO: Archiving Costs [Pipeline] echo [2021-10-12T06:41:10.131Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:41:10.426Z] ---> logs-deploy.sh [2021-10-12T06:41:10.426Z] lf-activate-venv: SKIPPING [2021-10-12T06:41:10.426Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/13 [2021-10-12T06:41:10.426Z] INFO: archiving workspace using pattern(s): [2021-10-12T06:41:10.998Z] Archives upload complete. [2021-10-12T06:41:11.260Z] INFO: archiving logs to Nexus