Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab80832e8fa331645ec332aa024eb9f07585cb40 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-ssh6443603119679212056.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh6930357692269005480.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh6245438591453416156.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh800467692193549868.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-ssh4762774656645851531.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1375 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-ssh8949519741131502696.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 ab80832e8fa331645ec332aa024eb9f07585cb40 (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 ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 Commit message: "Merge pull request #139 from siggiskulason/snap-fix-version" > git rev-list --no-walk dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T08:34:04.825Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T08:34:04.857Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T08:34:04.870Z] ========================================================= [2021-10-14T08:34:04.870Z] EdgeX Global Pipelines Version Info [2021-10-14T08:34:04.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:34:06.016Z] ------------------- [2021-10-14T08:34:06.016Z] stable info: [2021-10-14T08:34:06.016Z] ------------------- [2021-10-14T08:34:06.016Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T08:34:06.016Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:34:06.016Z] Message: update stable to v1.0.210 [2021-10-14T08:34:06.590Z] ------------------- [2021-10-14T08:34:06.590Z] experimental info: [2021-10-14T08:34:06.590Z] ------------------- [2021-10-14T08:34:06.590Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T08:34:06.590Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:34:06.590Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T08:34:06.676Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-14T08:34:06.690Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-14T08:34:06.703Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T08:34:06.720Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T08:34:06.736Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T08:34:06.746Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T08:34:06.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T08:34:06.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-14T08:34:06.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T08:34:06.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T08:34:06.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T08:34:06.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-14T08:34:06.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T08:34:06.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T08:34:06.851Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T08:34:06.861Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T08:34:06.874Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:34:06.887Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:34:06.898Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T08:34:06.910Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T08:34:06.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-14T08:34:06.933Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-14T08:34:06.944Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T08:34:06.957Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T08:34:06.968Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T08:34:06.979Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T08:34:06.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-14T08:34:07.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-14T08:34:07.015Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-14T08:34:07.028Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] echo [2021-10-14T08:34:07.039Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab80832 [Pipeline] echo [2021-10-14T08:34:07.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:34:07.090Z] provisioning config files... [2021-10-14T08:34:07.103Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4137336258580270258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:34:07.434Z] ---> docker-login.sh [2021-10-14T08:34:07.434Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:34:07.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:34:07.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:34:07.434Z] Configure a credential helper to remove this warning. See [2021-10-14T08:34:07.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:34:07.434Z] [2021-10-14T08:34:07.434Z] Login Succeeded [2021-10-14T08:34:07.434Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:34:07.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:34:07.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:34:07.696Z] Configure a credential helper to remove this warning. See [2021-10-14T08:34:07.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:34:07.696Z] [2021-10-14T08:34:07.696Z] Login Succeeded [2021-10-14T08:34:07.696Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:34:07.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:34:07.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:34:07.696Z] Configure a credential helper to remove this warning. See [2021-10-14T08:34:07.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:34:07.696Z] [2021-10-14T08:34:07.696Z] Login Succeeded [2021-10-14T08:34:07.696Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:34:07.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:34:07.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:34:07.957Z] Configure a credential helper to remove this warning. See [2021-10-14T08:34:07.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:34:07.957Z] [2021-10-14T08:34:07.957Z] Login Succeeded [2021-10-14T08:34:07.957Z] docker.io [2021-10-14T08:34:07.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:34:08.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:34:08.218Z] Configure a credential helper to remove this warning. See [2021-10-14T08:34:08.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:34:08.218Z] [2021-10-14T08:34:08.218Z] Login Succeeded [2021-10-14T08:34:08.218Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:34:08.226Z] 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-14T08:34:08.657Z] + git log --format=format:%s -1 ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] echo [2021-10-14T08:34:08.695Z] GIT_COMMIT: ab80832e8fa331645ec332aa024eb9f07585cb40, Commit Message: Merge pull request #139 from siggiskulason/snap-fix-version [Pipeline] echo [2021-10-14T08:34:08.704Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:34:09.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:34:09.134Z] [2021-10-14T08:34:09.134Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:34:09.444Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:34:09.444Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T08:34:09.444Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:34:09.444Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T08:34:09.444Z] 4c7163046ea9: Pulling fs layer [2021-10-14T08:34:09.444Z] 0c2d73faf560: Pulling fs layer [2021-10-14T08:34:09.444Z] 0c2d73faf560: Waiting [2021-10-14T08:34:09.444Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T08:34:09.444Z] 3e5f54012d9b: Download complete [2021-10-14T08:34:09.444Z] a0d0a0d46f8b: Download complete [2021-10-14T08:34:09.710Z] 4c7163046ea9: Verifying Checksum [2021-10-14T08:34:09.710Z] 4c7163046ea9: Download complete [2021-10-14T08:34:09.710Z] 0c2d73faf560: Verifying Checksum [2021-10-14T08:34:09.710Z] 0c2d73faf560: Download complete [2021-10-14T08:34:09.710Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:34:09.710Z] 3e5f54012d9b: Pull complete [2021-10-14T08:34:09.978Z] 4c7163046ea9: Pull complete [2021-10-14T08:34:10.243Z] 0c2d73faf560: Pull complete [2021-10-14T08:34:10.243Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T08:34:10.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:34:10.243Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T08:34:10.312Z] prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container [2021-10-14T08:34:10.188Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:34:10.827Z] $ docker top ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:34:11.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:34:11.037Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:34:11.138Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:34:11.041Z] $ docker exec ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa ssh-agent [2021-10-14T08:34:11.242Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjnaDfN/agent.14 [2021-10-14T08:34:11.242Z] SSH_AGENT_PID=22 [2021-10-14T08:34:11.249Z] Running ssh-add (command line suppressed) [2021-10-14T08:34:11.253Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4158961939727186513.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4158961939727186513.key) [2021-10-14T08:34:11.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:34:11.637Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T08:34:11.595Z] $ docker exec --env ******** --env ******** ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa ssh-agent -k [2021-10-14T08:34:11.685Z] unset SSH_AUTH_SOCK; [2021-10-14T08:34:11.686Z] unset SSH_AGENT_PID; [2021-10-14T08:34:11.686Z] echo Agent pid 22 killed; [2021-10-14T08:34:11.750Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T08:34:11.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:34:11.776Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:34:11.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:34:11.863Z] $ docker exec ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa ssh-agent [2021-10-14T08:34:11.992Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKiLMJp/agent.55 [2021-10-14T08:34:11.992Z] SSH_AGENT_PID=61 [2021-10-14T08:34:11.998Z] Running ssh-add (command line suppressed) [2021-10-14T08:34:12.068Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7403638482347697327.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7403638482347697327.key) [2021-10-14T08:34:12.102Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:34:12.398Z] + git semver init [2021-10-14T08:34:12.398Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:34:12.398Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-14T08:34:12.398Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-14T08:34:12.398Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:34:12.398Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:34:12.398Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:34:12.398Z] # $SEMVER_BRANCH = main [2021-10-14T08:34:12.398Z] # $SEMVER_TEMP = /tmp/semver-491879856 [2021-10-14T08:34:12.398Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-14T08:34:13.340Z] # '/tmp/semver-491879856' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-10-14T08:34:13.340Z] # -> Force: false [2021-10-14T08:34:13.340Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-14T08:34:13.350Z] $ docker exec --env ******** --env ******** ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa ssh-agent -k [2021-10-14T08:34:13.444Z] unset SSH_AUTH_SOCK; [2021-10-14T08:34:13.444Z] unset SSH_AGENT_PID; [2021-10-14T08:34:13.444Z] echo Agent pid 61 killed; [2021-10-14T08:34:13.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:34:13.764Z] + git semver [Pipeline] } [2021-10-14T08:34:13.776Z] $ docker stop --time=1 ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa [2021-10-14T08:34:15.009Z] $ docker rm -f ececc561419d6b2c1317d8397ee786bf959e046ff2ab2ae7aa638864fe1428fa [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:34:15.354Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T08:34:15.572Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T08:34:15.574Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.10 [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-14T08:34:30.801Z] Still waiting to schedule task [2021-10-14T08:34:30.801Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-14T08:34:30.804Z] Still waiting to schedule task [2021-10-14T08:34:30.804Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-14T08:37:17.526Z] Running on prd-centos7-docker-4c-2g-1390 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-14T08:37:17.539Z] Running in /w/workspace/device-rest-go/15 [Pipeline] { [Pipeline] checkout [2021-10-14T08:37:17.645Z] The recommended git tool is: git [2021-10-14T08:37:19.663Z] using credential edgex-jenkins-ssh [2021-10-14T08:37:19.679Z] Cloning the remote Git repository [2021-10-14T08:37:18.603Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-14T08:37:18.661Z] > git init /w/workspace/device-rest-go/15 # timeout=10 [2021-10-14T08:37:18.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-14T08:37:18.699Z] > git --version # timeout=10 [2021-10-14T08:37:18.714Z] > git --version # 'git version 2.24.4' [2021-10-14T08:37:18.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:37:18.736Z] [INFO] Currently running in a labeled security context [2021-10-14T08:37:18.737Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:37:18.745Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/15@tmp/jenkins-gitclient-ssh9049372023439693191.key [2021-10-14T08:37:18.765Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:37:20.906Z] Avoid second fetch [2021-10-14T08:37:20.906Z] Checking out Revision ab80832e8fa331645ec332aa024eb9f07585cb40 (main) [2021-10-14T08:37:19.797Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-14T08:37:19.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:37:19.822Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:37:19.828Z] > git checkout -f ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [2021-10-14T08:37:24.573Z] Commit message: "Merge pull request #139 from siggiskulason/snap-fix-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:37:25.043Z] provisioning config files... [2021-10-14T08:37:25.054Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/15@tmp/config1378067037691716372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:37:25.460Z] ---> docker-login.sh [2021-10-14T08:37:25.460Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:37:25.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:37:25.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:37:25.460Z] Configure a credential helper to remove this warning. See [2021-10-14T08:37:25.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:37:25.460Z] [2021-10-14T08:37:25.460Z] Login Succeeded [2021-10-14T08:37:25.460Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:37:25.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:37:25.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:37:25.724Z] Configure a credential helper to remove this warning. See [2021-10-14T08:37:25.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:37:25.724Z] [2021-10-14T08:37:25.724Z] Login Succeeded [2021-10-14T08:37:25.724Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:37:25.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:37:25.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:37:25.724Z] Configure a credential helper to remove this warning. See [2021-10-14T08:37:25.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:37:25.724Z] [2021-10-14T08:37:25.724Z] Login Succeeded [2021-10-14T08:37:25.724Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:37:25.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:37:25.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:37:25.986Z] Configure a credential helper to remove this warning. See [2021-10-14T08:37:25.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:37:25.986Z] [2021-10-14T08:37:25.986Z] Login Succeeded [2021-10-14T08:37:25.986Z] docker.io [2021-10-14T08:37:25.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:37:26.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:37:26.248Z] Configure a credential helper to remove this warning. See [2021-10-14T08:37:26.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:37:26.248Z] [2021-10-14T08:37:26.248Z] Login Succeeded [2021-10-14T08:37:26.248Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:37:26.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:37:26.425Z] ========================================================= [2021-10-14T08:37:26.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T08:37:26.425Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:26.753Z] + 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-14T08:37:26.753Z] Sending build context to Docker daemon 118.8kB [2021-10-14T08:37:26.753Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:37:26.753Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-14T08:37:26.753Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T08:37:26.753Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:37:26.753Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T08:37:26.753Z] b8b176561691: Pulling fs layer [2021-10-14T08:37:26.753Z] 4527c011a84f: Pulling fs layer [2021-10-14T08:37:26.753Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T08:37:26.753Z] e0aca202a116: Pulling fs layer [2021-10-14T08:37:26.753Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T08:37:26.753Z] 34cad66bf833: Pulling fs layer [2021-10-14T08:37:26.753Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T08:37:26.753Z] 5d74067f8e1e: Waiting [2021-10-14T08:37:26.753Z] e0aca202a116: Waiting [2021-10-14T08:37:26.753Z] 3a43be97a3b4: Waiting [2021-10-14T08:37:26.753Z] 34cad66bf833: Waiting [2021-10-14T08:37:26.753Z] b4e3c513aaa6: Waiting [2021-10-14T08:37:26.753Z] 4527c011a84f: Waiting [2021-10-14T08:37:26.753Z] b8b176561691: Verifying Checksum [2021-10-14T08:37:26.753Z] b8b176561691: Download complete [2021-10-14T08:37:26.753Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T08:37:26.753Z] 31adcdaf11c8: Download complete [2021-10-14T08:37:26.753Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T08:37:26.753Z] 5d74067f8e1e: Download complete [2021-10-14T08:37:26.753Z] e0aca202a116: Verifying Checksum [2021-10-14T08:37:26.753Z] e0aca202a116: Download complete [2021-10-14T08:37:26.753Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:37:26.753Z] a0d0a0d46f8b: Download complete [2021-10-14T08:37:26.753Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T08:37:26.753Z] 3a43be97a3b4: Download complete [2021-10-14T08:37:27.032Z] 34cad66bf833: Verifying Checksum [2021-10-14T08:37:27.032Z] 34cad66bf833: Download complete [2021-10-14T08:37:27.310Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:37:27.581Z] 4527c011a84f: Verifying Checksum [2021-10-14T08:37:27.581Z] 4527c011a84f: Download complete [2021-10-14T08:37:27.581Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T08:37:27.581Z] b4e3c513aaa6: Download complete [2021-10-14T08:37:27.581Z] 31adcdaf11c8: Pull complete [2021-10-14T08:37:27.581Z] b8b176561691: Pull complete [2021-10-14T08:37:31.809Z] 4527c011a84f: Pull complete [2021-10-14T08:37:31.809Z] 5d74067f8e1e: Pull complete [2021-10-14T08:37:31.809Z] e0aca202a116: Pull complete [2021-10-14T08:37:31.809Z] 3a43be97a3b4: Pull complete [2021-10-14T08:37:31.809Z] 34cad66bf833: Pull complete [2021-10-14T08:37:33.758Z] b4e3c513aaa6: Pull complete [2021-10-14T08:37:33.758Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T08:37:33.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T08:37:33.758Z] ---> 9f6097aaca64 [2021-10-14T08:37:33.758Z] Step 3/11 : ARG MAKE='make build' [2021-10-14T08:37:35.690Z] ---> Running in 76e20d918e3d [2021-10-14T08:37:35.690Z] Removing intermediate container 76e20d918e3d [2021-10-14T08:37:35.690Z] ---> 55a6f75ef73c [2021-10-14T08:37:35.690Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-14T08:37:35.690Z] ---> Running in 1d6c99184ac8 [2021-10-14T08:37:35.690Z] Removing intermediate container 1d6c99184ac8 [2021-10-14T08:37:35.690Z] ---> 241a365c7b6c [2021-10-14T08:37:35.690Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-14T08:37:35.690Z] ---> Running in dc16dea6e3a9 [2021-10-14T08:37:35.690Z] Removing intermediate container dc16dea6e3a9 [2021-10-14T08:37:35.690Z] ---> 3f0bd484c91f [2021-10-14T08:37:35.690Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:37:35.690Z] ---> Running in 2531cdd5979c [2021-10-14T08:37:36.261Z] Removing intermediate container 2531cdd5979c [2021-10-14T08:37:36.261Z] ---> 37a0d92f5700 [2021-10-14T08:37:36.261Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-14T08:37:36.261Z] ---> Running in b324b7ee0579 [2021-10-14T08:37:36.261Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:37:37.200Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:37:37.466Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-14T08:37:37.730Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-14T08:37:37.730Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-14T08:37:37.992Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-14T08:37:37.992Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:37:37.992Z] OK: 224 MiB in 56 packages [2021-10-14T08:37:38.252Z] Removing intermediate container b324b7ee0579 [2021-10-14T08:37:38.252Z] ---> 1373e0200506 [2021-10-14T08:37:38.252Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-14T08:37:38.252Z] ---> Running in b53687c56898 [2021-10-14T08:37:38.252Z] Removing intermediate container b53687c56898 [2021-10-14T08:37:38.252Z] ---> 42bc31776b0e [2021-10-14T08:37:38.252Z] Step 9/11 : COPY . . [2021-10-14T08:37:38.521Z] ---> ead2e0120635 [2021-10-14T08:37:38.521Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:37:38.521Z] ---> Running in 99114f04d8a6 [2021-10-14T08:37:46.690Z] Removing intermediate container 99114f04d8a6 [2021-10-14T08:37:46.690Z] ---> a972afdb0c47 [2021-10-14T08:37:46.690Z] Step 11/11 : RUN $MAKE [2021-10-14T08:37:46.690Z] ---> Running in 946c353e9539 [2021-10-14T08:37:46.690Z] noop [2021-10-14T08:37:46.950Z] Removing intermediate container 946c353e9539 [2021-10-14T08:37:46.950Z] ---> 70485b463b6f [2021-10-14T08:37:46.950Z] Successfully built 70485b463b6f [2021-10-14T08:37:46.950Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:47.252Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:37:47.252Z] . [Pipeline] withDockerContainer [2021-10-14T08:37:47.323Z] prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container [2021-10-14T08:37:47.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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-14T08:37:47.712Z] $ docker top e09e7aa073928ff4e95e5f7034bed151f26db0bf0a551d63e31970df2ce20fb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:37:48.073Z] + go version [2021-10-14T08:37:48.073Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T08:37:48.083Z] $ docker stop --time=1 e09e7aa073928ff4e95e5f7034bed151f26db0bf0a551d63e31970df2ce20fb8 [2021-10-14T08:37:49.265Z] $ docker rm -f e09e7aa073928ff4e95e5f7034bed151f26db0bf0a551d63e31970df2ce20fb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:49.727Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:37:49.727Z] . [Pipeline] withDockerContainer [2021-10-14T08:37:49.787Z] prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container [2021-10-14T08:37:49.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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-14T08:37:50.166Z] $ docker top 39dff00b9247a44f88a66c19f9e8f9a86a3aa0256157df536be7ed57b5c18aec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:37:50.526Z] + make test [2021-10-14T08:37:50.526Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-14T08:37:50.790Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-14T08:38:09.057Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-14T08:38:09.057Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-10-14T08:38:09.057Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-14T08:38:14.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:38:14.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:38:14.394Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:38:14.407Z] $ docker stop --time=1 39dff00b9247a44f88a66c19f9e8f9a86a3aa0256157df536be7ed57b5c18aec [2021-10-14T08:38:15.862Z] $ docker rm -f 39dff00b9247a44f88a66c19f9e8f9a86a3aa0256157df536be7ed57b5c18aec [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:38:16.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:38:16.425Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T08:38:17.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:38:17.479Z] + ls -al . [2021-10-14T08:38:17.479Z] total 116 [2021-10-14T08:38:17.479Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 14 08:38 . [2021-10-14T08:38:17.479Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 08:37 .. [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 6792 Oct 14 08:37 Attribution.txt [2021-10-14T08:38:17.479Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 08:37 bin [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 14 08:37 CHANGELOG.md [2021-10-14T08:38:17.479Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 14 08:37 cmd [2021-10-14T08:38:17.479Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 14 08:38 coverage.out [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 1649 Oct 14 08:37 Dockerfile [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 14 08:37 .dockerignore [2021-10-14T08:38:17.479Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 14 08:37 driver [2021-10-14T08:38:17.479Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 14 08:37 .git [2021-10-14T08:38:17.479Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 14 08:37 .github [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 329 Oct 14 08:37 .gitignore [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 271 Oct 14 08:37 go.mod [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 20570 Oct 14 08:37 go.sum [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 08:37 GOVERNANCE.md [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 14 08:37 Jenkinsfile [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 14 08:37 LICENSE [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 1078 Oct 14 08:37 Makefile [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 14 08:37 OWNERS.md [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 14 08:37 README.md [2021-10-14T08:38:17.479Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 14 08:37 snap [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 14 08:34 VERSION [2021-10-14T08:38:17.479Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 14 08:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:17.790Z] + 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=ab80832e8fa331645ec332aa024eb9f07585cb40 --label arch=amd64 --label version=2.0.1-dev.10 . [2021-10-14T08:38:17.790Z] Sending build context to Docker daemon 128kB [2021-10-14T08:38:17.790Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:38:17.790Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T08:38:17.790Z] ---> 70485b463b6f [2021-10-14T08:38:17.790Z] Step 3/24 : ARG MAKE='make build' [2021-10-14T08:38:17.790Z] ---> Running in 12d36064ce72 [2021-10-14T08:38:17.790Z] Removing intermediate container 12d36064ce72 [2021-10-14T08:38:17.790Z] ---> fcde0b35f122 [2021-10-14T08:38:17.790Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-14T08:38:17.790Z] ---> Running in 285c44851eef [2021-10-14T08:38:18.056Z] Removing intermediate container 285c44851eef [2021-10-14T08:38:18.056Z] ---> 6a083edc66ae [2021-10-14T08:38:18.056Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-14T08:38:18.056Z] ---> Running in e5231723ecb5 [2021-10-14T08:38:18.056Z] Removing intermediate container e5231723ecb5 [2021-10-14T08:38:18.056Z] ---> 485668a9c6e0 [2021-10-14T08:38:18.056Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:38:18.056Z] ---> Running in 29d3dbd712d5 [2021-10-14T08:38:18.631Z] Removing intermediate container 29d3dbd712d5 [2021-10-14T08:38:18.631Z] ---> b61a77304d58 [2021-10-14T08:38:18.631Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-14T08:38:18.631Z] ---> Running in 4e6b415c91d7 [2021-10-14T08:38:18.631Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:38:19.576Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:38:19.840Z] OK: 224 MiB in 56 packages [2021-10-14T08:38:20.099Z] Removing intermediate container 4e6b415c91d7 [2021-10-14T08:38:20.099Z] ---> f5915b5f6c5d [2021-10-14T08:38:20.099Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-14T08:38:20.099Z] ---> Running in dd490a764bf5 [2021-10-14T08:38:20.362Z] Removing intermediate container dd490a764bf5 [2021-10-14T08:38:20.362Z] ---> 70d552c8d35d [2021-10-14T08:38:20.362Z] Step 9/24 : COPY . . [2021-10-14T08:38:20.362Z] ---> c63a23d17366 [2021-10-14T08:38:20.362Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:38:20.362Z] ---> Running in 2047d0f07d02 [2021-10-14T08:38:20.933Z] Removing intermediate container 2047d0f07d02 [2021-10-14T08:38:20.933Z] ---> b2b4662edb2d [2021-10-14T08:38:20.933Z] Step 11/24 : RUN $MAKE [2021-10-14T08:38:20.933Z] ---> Running in 58df610aaadb [2021-10-14T08:38:21.201Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.10" -o cmd/device-rest ./cmd [2021-10-14T08:38:32.958Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1386 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-14T08:38:32.970Z] Running in /w/workspace/device-rest-go/15 [Pipeline] { [Pipeline] checkout [2021-10-14T08:38:33.304Z] The recommended git tool is: git [2021-10-14T08:38:33.490Z] Removing intermediate container 58df610aaadb [2021-10-14T08:38:33.490Z] ---> 203e4141999f [2021-10-14T08:38:33.490Z] Step 12/24 : FROM alpine:3.14 [2021-10-14T08:38:33.490Z] 3.14: Pulling from library/alpine [2021-10-14T08:38:33.490Z] a0d0a0d46f8b: Already exists [2021-10-14T08:38:33.490Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:38:33.490Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:38:33.490Z] ---> 14119a10abf4 [2021-10-14T08:38:33.490Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-14T08:38:33.490Z] ---> Running in 01014274388b [2021-10-14T08:38:33.490Z] Removing intermediate container 01014274388b [2021-10-14T08:38:33.490Z] ---> 5b6244b31021 [2021-10-14T08:38:33.490Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-14T08:38:33.490Z] ---> Running in b89fdb743ce9 [2021-10-14T08:38:33.750Z] Removing intermediate container b89fdb743ce9 [2021-10-14T08:38:33.750Z] ---> b2d8d1406e8f [2021-10-14T08:38:33.750Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-14T08:38:33.750Z] ---> Running in 6a5859282bbf [2021-10-14T08:38:34.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:38:34.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:38:34.277Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-14T08:38:34.277Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:38:34.277Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-14T08:38:34.277Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:38:34.277Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-14T08:38:34.277Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-14T08:38:34.277Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:38:34.277Z] OK: 8 MiB in 20 packages [2021-10-14T08:38:34.537Z] Removing intermediate container 6a5859282bbf [2021-10-14T08:38:34.537Z] ---> a3c65d4568b1 [2021-10-14T08:38:34.537Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-14T08:38:35.106Z] ---> daa2a7814976 [2021-10-14T08:38:35.106Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-14T08:38:35.106Z] ---> 8db7e5874287 [2021-10-14T08:38:35.106Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-14T08:38:35.106Z] ---> 177d95623769 [2021-10-14T08:38:35.106Z] Step 19/24 : EXPOSE 59986 [2021-10-14T08:38:35.106Z] ---> Running in 741cbaae23f4 [2021-10-14T08:38:35.372Z] Removing intermediate container 741cbaae23f4 [2021-10-14T08:38:35.372Z] ---> 8ec4a1c4938c [2021-10-14T08:38:35.372Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-14T08:38:35.372Z] ---> Running in 1df497a6c378 [2021-10-14T08:38:35.372Z] Removing intermediate container 1df497a6c378 [2021-10-14T08:38:35.372Z] ---> ed1e2d503587 [2021-10-14T08:38:35.372Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-14T08:38:35.372Z] ---> Running in 3b23f49c77e4 [2021-10-14T08:38:35.639Z] Removing intermediate container 3b23f49c77e4 [2021-10-14T08:38:35.639Z] ---> 4e3baebed074 [2021-10-14T08:38:35.639Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T08:38:35.639Z] ---> Running in a823e8e6d819 [2021-10-14T08:38:35.639Z] Removing intermediate container a823e8e6d819 [2021-10-14T08:38:35.639Z] ---> 97907e5b29ff [2021-10-14T08:38:35.639Z] Step 23/24 : LABEL git_sha=ab80832e8fa331645ec332aa024eb9f07585cb40 [2021-10-14T08:38:35.639Z] ---> Running in a6e2c157a86e [2021-10-14T08:38:35.639Z] Removing intermediate container a6e2c157a86e [2021-10-14T08:38:35.639Z] ---> 789f7c182572 [2021-10-14T08:38:35.639Z] Step 24/24 : LABEL version=2.0.1-dev.10 [2021-10-14T08:38:35.639Z] ---> Running in 9af95c678e3e [2021-10-14T08:38:35.899Z] Removing intermediate container 9af95c678e3e [2021-10-14T08:38:35.899Z] ---> ed7144827db0 [2021-10-14T08:38:35.899Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:38:35.899Z] Successfully built ed7144827db0 [2021-10-14T08:38:35.899Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:38:36.025Z] provisioning config files... [2021-10-14T08:38:36.034Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/15@tmp/config4500516884940062914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:38:36.342Z] ---> docker-login.sh [2021-10-14T08:38:36.342Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:38:36.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:38:36.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:38:36.342Z] Configure a credential helper to remove this warning. See [2021-10-14T08:38:36.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:38:36.342Z] [2021-10-14T08:38:36.342Z] Login Succeeded [2021-10-14T08:38:36.342Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:38:36.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:38:36.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:38:36.342Z] Configure a credential helper to remove this warning. See [2021-10-14T08:38:36.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:38:36.342Z] [2021-10-14T08:38:36.342Z] Login Succeeded [2021-10-14T08:38:36.342Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:38:36.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:38:36.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:38:36.602Z] Configure a credential helper to remove this warning. See [2021-10-14T08:38:36.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:38:36.602Z] [2021-10-14T08:38:36.602Z] Login Succeeded [2021-10-14T08:38:36.602Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:38:36.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:38:36.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:38:36.863Z] Configure a credential helper to remove this warning. See [2021-10-14T08:38:36.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:38:36.863Z] [2021-10-14T08:38:36.863Z] Login Succeeded [2021-10-14T08:38:36.863Z] docker.io [2021-10-14T08:38:36.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:38:37.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:38:37.126Z] Configure a credential helper to remove this warning. See [2021-10-14T08:38:37.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:38:37.126Z] [2021-10-14T08:38:37.126Z] Login Succeeded [2021-10-14T08:38:37.126Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:38:37.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:38:37.194Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-10-14T08:38:37.194Z] ab80832e8fa331645ec332aa024eb9f07585cb40 [2021-10-14T08:38:37.194Z] latest [2021-10-14T08:38:37.194Z] 2.0.1-dev.10 [2021-10-14T08:38:37.194Z] ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [2021-10-14T08:38:37.194Z] main [2021-10-14T08:38:37.194Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:37.515Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:37.818Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40 [2021-10-14T08:38:37.818Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-14T08:38:37.818Z] 9fe4351ff06d: Preparing [2021-10-14T08:38:37.818Z] 1e4046cb3732: Preparing [2021-10-14T08:38:37.818Z] d9b420c6e578: Preparing [2021-10-14T08:38:37.818Z] bf6fa0b6e437: Preparing [2021-10-14T08:38:37.818Z] e2eb06d8af82: Preparing [2021-10-14T08:38:37.818Z] e2eb06d8af82: Layer already exists [2021-10-14T08:38:38.078Z] 1e4046cb3732: Pushed [2021-10-14T08:38:38.078Z] 9fe4351ff06d: Pushed [2021-10-14T08:38:38.078Z] bf6fa0b6e437: Pushed [2021-10-14T08:38:39.023Z] d9b420c6e578: Pushed [2021-10-14T08:38:39.283Z] ab80832e8fa331645ec332aa024eb9f07585cb40: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:39.581Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:39.872Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-14T08:38:39.872Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-14T08:38:39.872Z] 9fe4351ff06d: Preparing [2021-10-14T08:38:39.872Z] 1e4046cb3732: Preparing [2021-10-14T08:38:39.872Z] d9b420c6e578: Preparing [2021-10-14T08:38:39.872Z] bf6fa0b6e437: Preparing [2021-10-14T08:38:39.872Z] e2eb06d8af82: Preparing [2021-10-14T08:38:39.872Z] d9b420c6e578: Layer already exists [2021-10-14T08:38:39.872Z] e2eb06d8af82: Layer already exists [2021-10-14T08:38:39.872Z] 9fe4351ff06d: Layer already exists [2021-10-14T08:38:39.872Z] bf6fa0b6e437: Layer already exists [2021-10-14T08:38:39.872Z] 1e4046cb3732: Layer already exists [2021-10-14T08:38:39.872Z] latest: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:40.166Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:40.462Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.10 [2021-10-14T08:38:40.462Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-14T08:38:40.462Z] 9fe4351ff06d: Preparing [2021-10-14T08:38:40.462Z] 1e4046cb3732: Preparing [2021-10-14T08:38:40.462Z] d9b420c6e578: Preparing [2021-10-14T08:38:40.462Z] bf6fa0b6e437: Preparing [2021-10-14T08:38:40.462Z] e2eb06d8af82: Preparing [2021-10-14T08:38:40.462Z] 1e4046cb3732: Layer already exists [2021-10-14T08:38:40.462Z] d9b420c6e578: Layer already exists [2021-10-14T08:38:40.462Z] e2eb06d8af82: Layer already exists [2021-10-14T08:38:40.462Z] bf6fa0b6e437: Layer already exists [2021-10-14T08:38:40.462Z] 9fe4351ff06d: Layer already exists [2021-10-14T08:38:40.462Z] 2.0.1-dev.10: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:40.763Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:41.053Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [2021-10-14T08:38:41.053Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-14T08:38:41.053Z] 9fe4351ff06d: Preparing [2021-10-14T08:38:41.053Z] 1e4046cb3732: Preparing [2021-10-14T08:38:41.053Z] d9b420c6e578: Preparing [2021-10-14T08:38:41.053Z] bf6fa0b6e437: Preparing [2021-10-14T08:38:41.053Z] e2eb06d8af82: Preparing [2021-10-14T08:38:41.053Z] 9fe4351ff06d: Layer already exists [2021-10-14T08:38:41.053Z] 1e4046cb3732: Layer already exists [2021-10-14T08:38:41.053Z] bf6fa0b6e437: Layer already exists [2021-10-14T08:38:41.053Z] e2eb06d8af82: Layer already exists [2021-10-14T08:38:41.053Z] d9b420c6e578: Layer already exists [2021-10-14T08:38:41.053Z] ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:41.135Z] using credential edgex-jenkins-ssh [2021-10-14T08:38:41.168Z] Cloning the remote Git repository [2021-10-14T08:38:41.349Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:41.641Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-10-14T08:38:41.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-14T08:38:41.641Z] 9fe4351ff06d: Preparing [2021-10-14T08:38:41.641Z] 1e4046cb3732: Preparing [2021-10-14T08:38:41.641Z] d9b420c6e578: Preparing [2021-10-14T08:38:41.641Z] bf6fa0b6e437: Preparing [2021-10-14T08:38:41.641Z] e2eb06d8af82: Preparing [2021-10-14T08:38:41.641Z] 9fe4351ff06d: Layer already exists [2021-10-14T08:38:41.641Z] bf6fa0b6e437: Layer already exists [2021-10-14T08:38:41.641Z] d9b420c6e578: Layer already exists [2021-10-14T08:38:41.641Z] 1e4046cb3732: Layer already exists [2021-10-14T08:38:41.641Z] e2eb06d8af82: Layer already exists [2021-10-14T08:38:41.641Z] main: digest: sha256:f7f3e1ab47de7fd2500b6253e573a70742a41f6248720e5bf0b18f850ce8c561 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:38:41.672Z] ===================================================== [Pipeline] echo [2021-10-14T08:38:41.679Z] taggedImages: [2021-10-14T08:38:41.679Z] - nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40 [2021-10-14T08:38:41.679Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-14T08:38:41.679Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.10 [2021-10-14T08:38:41.679Z] - nexus3.edgexfoundry.org:10004/device-rest:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [2021-10-14T08:38:41.679Z] - 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-14T08:38:42.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:38:42.209Z] [2021-10-14T08:38:42.209Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:38:41.287Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-14T08:38:41.401Z] > git init /w/workspace/device-rest-go/15 # timeout=10 [2021-10-14T08:38:41.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-14T08:38:41.486Z] > git --version # timeout=10 [2021-10-14T08:38:41.501Z] > git --version # 'git version 2.17.1' [2021-10-14T08:38:41.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:38:41.589Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:38:42.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:38:42.506Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:38:42.506Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:38:42.506Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:38:42.506Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:38:42.506Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:38:42.506Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:38:42.506Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:38:42.506Z] d287ab97295c: Pulling fs layer [2021-10-14T08:38:42.506Z] dc539afda2c1: Waiting [2021-10-14T08:38:42.506Z] 77bc0d833cb6: Waiting [2021-10-14T08:38:42.506Z] 9065ff56babe: Waiting [2021-10-14T08:38:42.506Z] d287ab97295c: Waiting [2021-10-14T08:38:42.506Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:38:42.506Z] a1111a8f2ec3: Download complete [2021-10-14T08:38:42.506Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:38:42.506Z] dc539afda2c1: Download complete [2021-10-14T08:38:42.506Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:38:42.507Z] ed53099fbce6: Download complete [2021-10-14T08:38:42.771Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:38:42.771Z] 9065ff56babe: Download complete [2021-10-14T08:38:42.771Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:38:42.771Z] 77bc0d833cb6: Download complete [2021-10-14T08:38:42.771Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:38:42.771Z] b4d181a07f80: Download complete [2021-10-14T08:38:43.341Z] d287ab97295c: Verifying Checksum [2021-10-14T08:38:43.341Z] d287ab97295c: Download complete [2021-10-14T08:38:43.506Z] Avoid second fetch [2021-10-14T08:38:43.507Z] Checking out Revision ab80832e8fa331645ec332aa024eb9f07585cb40 (main) [2021-10-14T08:38:43.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-14T08:38:43.477Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:38:43.543Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:38:43.571Z] > git checkout -f ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [2021-10-14T08:38:44.280Z] b4d181a07f80: Pull complete [2021-10-14T08:38:44.545Z] a1111a8f2ec3: Pull complete [2021-10-14T08:38:45.120Z] ed53099fbce6: Pull complete [2021-10-14T08:38:45.120Z] dc539afda2c1: Pull complete [2021-10-14T08:38:45.379Z] 77bc0d833cb6: Pull complete [2021-10-14T08:38:45.379Z] 9065ff56babe: Pull complete [2021-10-14T08:38:48.563Z] Commit message: "Merge pull request #139 from siggiskulason/snap-fix-version" [2021-10-14T08:38:48.882Z] [2021-10-14T08:38:48.882Z] GitHub has been notified of this commit’s build result [2021-10-14T08:38:48.882Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:38:49.511Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T08:38:49.511Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:38:49.511Z] Dload Upload Total Spent Left Speed [2021-10-14T08:38:49.511Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 169k 0 --:--:-- --:--:-- --:--:-- 169k [Pipeline] sh [2021-10-14T08:38:49.995Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T08:38:50.356Z] + sudo tee /etc/docker/daemon.new [2021-10-14T08:38:50.356Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T08:38:50.356Z] { [2021-10-14T08:38:50.356Z] "registry-mirrors": [ [2021-10-14T08:38:50.356Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T08:38:50.356Z] ], [2021-10-14T08:38:50.356Z] "bip": "10.250.0.254/24", [2021-10-14T08:38:50.356Z] "hosts": [ [2021-10-14T08:38:50.356Z] "tcp://0.0.0.0:5555", [2021-10-14T08:38:50.356Z] "unix:///var/run/docker.sock" [2021-10-14T08:38:50.356Z] ], [2021-10-14T08:38:50.356Z] "mtu": 1458, [2021-10-14T08:38:50.356Z] "selinux-enabled": true, [2021-10-14T08:38:50.356Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T08:38:50.356Z] } [Pipeline] sh [2021-10-14T08:38:50.696Z] d287ab97295c: Pull complete [2021-10-14T08:38:50.696Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:38:50.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:38:50.697Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:38:50.731Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2021-10-14T08:38:50.765Z] prd-centos7-docker-4c-2g-1390 does not seem to be running inside a container [2021-10-14T08:38:50.797Z] $ 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/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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-14T08:38:52.867Z] $ docker top 3b5554427223c13084675604ea1266b25635d074fce8cd8d674905ac9db13ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:38:53.282Z] + sudo service docker restart [2021-10-14T08:38:53.330Z] ---> job-cost.sh [2021-10-14T08:38:53.330Z] lf-activate-venv: SKIPPING [2021-10-14T08:38:53.330Z] INFO: No Stack... [2021-10-14T08:38:53.590Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:38:53.850Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:38:54.144Z] + cut -d, -f6 [2021-10-14T08:38:54.144Z] + cat /w/workspace/device-rest-go/15/archives/cost.csv [Pipeline] lock [2021-10-14T08:38:54.171Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [2021-10-14T08:38:54.176Z] Resource [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] did not exist. Created. [2021-10-14T08:38:54.176Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:38:54.490Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T08:38:54.529Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:38:54.537Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:38:54.554Z] $ docker stop --time=1 3b5554427223c13084675604ea1266b25635d074fce8cd8d674905ac9db13ae0 [2021-10-14T08:38:55.686Z] $ docker rm -f 3b5554427223c13084675604ea1266b25635d074fce8cd8d674905ac9db13ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:39:15.666Z] provisioning config files... [2021-10-14T08:39:15.696Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/15@tmp/config3278949533955607557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:39:16.087Z] ---> docker-login.sh [2021-10-14T08:39:16.087Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:39:17.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:18.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:18.208Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:18.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:18.208Z] [2021-10-14T08:39:18.208Z] Login Succeeded [2021-10-14T08:39:18.208Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:39:18.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:18.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:18.771Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:18.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:18.771Z] [2021-10-14T08:39:18.771Z] Login Succeeded [2021-10-14T08:39:18.772Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:39:19.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:19.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:19.387Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:19.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:19.387Z] [2021-10-14T08:39:19.387Z] Login Succeeded [2021-10-14T08:39:19.387Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:39:19.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:20.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:20.280Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:20.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:20.280Z] [2021-10-14T08:39:20.280Z] Login Succeeded [2021-10-14T08:39:20.280Z] docker.io [2021-10-14T08:39:20.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:21.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:21.181Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:21.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:21.181Z] [2021-10-14T08:39:21.181Z] Login Succeeded [2021-10-14T08:39:21.181Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:39:21.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:39:21.885Z] ========================================================= [2021-10-14T08:39:21.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T08:39:21.885Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:39:22.288Z] + 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-14T08:39:22.288Z] Sending build context to Docker daemon 118.8kB [2021-10-14T08:39:22.914Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:39:22.914Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-14T08:39:22.914Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T08:39:22.914Z] 552d1f2373af: Pulling fs layer [2021-10-14T08:39:22.914Z] ea3f2d53f512: Pulling fs layer [2021-10-14T08:39:22.914Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T08:39:22.914Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T08:39:22.914Z] 72dc09318566: Pulling fs layer [2021-10-14T08:39:22.914Z] f4f7b4309257: Pulling fs layer [2021-10-14T08:39:22.914Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T08:39:22.914Z] b78e95d17946: Pulling fs layer [2021-10-14T08:39:22.914Z] 72dc09318566: Waiting [2021-10-14T08:39:22.914Z] f4f7b4309257: Waiting [2021-10-14T08:39:22.914Z] 0ac9a79272e3: Waiting [2021-10-14T08:39:22.914Z] b78e95d17946: Waiting [2021-10-14T08:39:22.914Z] 7a9cfe048b4a: Waiting [2021-10-14T08:39:23.203Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T08:39:23.203Z] 9e70ebbbe112: Download complete [2021-10-14T08:39:23.203Z] ea3f2d53f512: Verifying Checksum [2021-10-14T08:39:23.203Z] ea3f2d53f512: Download complete [2021-10-14T08:39:23.203Z] 72dc09318566: Verifying Checksum [2021-10-14T08:39:23.203Z] 72dc09318566: Download complete [2021-10-14T08:39:23.203Z] f4f7b4309257: Verifying Checksum [2021-10-14T08:39:23.203Z] f4f7b4309257: Download complete [2021-10-14T08:39:23.203Z] 552d1f2373af: Verifying Checksum [2021-10-14T08:39:23.203Z] 552d1f2373af: Download complete [2021-10-14T08:39:23.203Z] 0ac9a79272e3: Verifying Checksum [2021-10-14T08:39:23.203Z] 0ac9a79272e3: Download complete [2021-10-14T08:39:24.236Z] 552d1f2373af: Pull complete [2021-10-14T08:39:24.869Z] ea3f2d53f512: Pull complete [2021-10-14T08:39:25.490Z] 9e70ebbbe112: Pull complete [2021-10-14T08:39:25.490Z] b78e95d17946: Verifying Checksum [2021-10-14T08:39:25.490Z] b78e95d17946: Download complete [2021-10-14T08:39:26.099Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T08:39:26.099Z] 7a9cfe048b4a: Download complete [2021-10-14T08:39:36.411Z] 7a9cfe048b4a: Pull complete [2021-10-14T08:39:37.033Z] 72dc09318566: Pull complete [2021-10-14T08:39:37.317Z] f4f7b4309257: Pull complete [2021-10-14T08:39:37.929Z] 0ac9a79272e3: Pull complete [2021-10-14T08:39:43.383Z] b78e95d17946: Pull complete [2021-10-14T08:39:43.383Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T08:39:43.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T08:39:43.383Z] ---> 8b459fc5aaf0 [2021-10-14T08:39:43.383Z] Step 3/11 : ARG MAKE='make build' [2021-10-14T08:39:48.858Z] ---> Running in f413d306fb0b [2021-10-14T08:39:48.858Z] Removing intermediate container f413d306fb0b [2021-10-14T08:39:48.858Z] ---> d42845d00bc8 [2021-10-14T08:39:48.858Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-14T08:39:48.858Z] ---> Running in 29616d8614bb [2021-10-14T08:39:48.858Z] Removing intermediate container 29616d8614bb [2021-10-14T08:39:48.858Z] ---> 461f588948ea [2021-10-14T08:39:48.858Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-14T08:39:49.467Z] ---> Running in 0f27d8bccce4 [2021-10-14T08:39:49.754Z] Removing intermediate container 0f27d8bccce4 [2021-10-14T08:39:49.754Z] ---> 310105901696 [2021-10-14T08:39:49.754Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:39:50.034Z] ---> Running in c2fef6a20f51 [2021-10-14T08:39:53.483Z] Removing intermediate container c2fef6a20f51 [2021-10-14T08:39:53.483Z] ---> 51b07a60e9f9 [2021-10-14T08:39:53.483Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-14T08:39:53.483Z] ---> Running in 1f3b1528e077 [2021-10-14T08:39:54.477Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:39:55.467Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:39:56.069Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-14T08:39:56.347Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-14T08:39:56.348Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-14T08:39:56.627Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-14T08:39:56.627Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:39:56.627Z] OK: 223 MiB in 56 packages [2021-10-14T08:39:58.079Z] Removing intermediate container 1f3b1528e077 [2021-10-14T08:39:58.079Z] ---> a712c2be980d [2021-10-14T08:39:58.079Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-14T08:39:58.357Z] ---> Running in 757ecd086d63 [2021-10-14T08:39:58.964Z] Removing intermediate container 757ecd086d63 [2021-10-14T08:39:58.964Z] ---> 7234c6248878 [2021-10-14T08:39:58.964Z] Step 9/11 : COPY . . [2021-10-14T08:39:59.578Z] ---> 6e18ad9ed47a [2021-10-14T08:39:59.578Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:39:59.859Z] ---> Running in 3219ac017d3d [2021-10-14T08:40:26.774Z] Removing intermediate container 3219ac017d3d [2021-10-14T08:40:26.774Z] ---> 53ef484fa951 [2021-10-14T08:40:26.774Z] Step 11/11 : RUN $MAKE [2021-10-14T08:40:26.774Z] ---> Running in b29c0ab2758e [2021-10-14T08:40:27.381Z] noop [2021-10-14T08:40:28.392Z] Removing intermediate container b29c0ab2758e [2021-10-14T08:40:28.392Z] ---> bccdfbaaa1a7 [2021-10-14T08:40:28.392Z] Successfully built bccdfbaaa1a7 [2021-10-14T08:40:28.392Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:40:28.754Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:40:28.754Z] . [Pipeline] withDockerContainer [2021-10-14T08:40:29.006Z] prd-ubuntu18.04-docker-arm64-4c-16g-1386 does not seem to be running inside a container [2021-10-14T08:40:29.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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-14T08:40:30.715Z] $ docker top 700fa36fe871be7b17f6534fd709665e1c7ffb319b244449986c1439f975b6c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:40:31.674Z] + go version [2021-10-14T08:40:31.674Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T08:40:31.703Z] $ docker stop --time=1 700fa36fe871be7b17f6534fd709665e1c7ffb319b244449986c1439f975b6c6 [2021-10-14T08:40:33.605Z] $ docker rm -f 700fa36fe871be7b17f6534fd709665e1c7ffb319b244449986c1439f975b6c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:40:34.283Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:40:34.283Z] . [Pipeline] withDockerContainer [2021-10-14T08:40:34.548Z] prd-ubuntu18.04-docker-arm64-4c-16g-1386 does not seem to be running inside a container [2021-10-14T08:40:34.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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-14T08:40:36.241Z] $ docker top 723ed265b34ea1ffd967a0d4b8bb34224c3a1b91b096074c224bc5e839909e20 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:40:37.238Z] + make test [2021-10-14T08:40:37.238Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-14T08:40:38.699Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-14T08:41:35.477Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-14T08:41:37.488Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 53.8% of statements [2021-10-14T08:41:37.488Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-14T08:42:09.970Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:42:09.970Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:42:09.970Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:42:10.001Z] $ docker stop --time=1 723ed265b34ea1ffd967a0d4b8bb34224c3a1b91b096074c224bc5e839909e20 [2021-10-14T08:42:11.960Z] $ docker rm -f 723ed265b34ea1ffd967a0d4b8bb34224c3a1b91b096074c224bc5e839909e20 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:42:12.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:42:12.869Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T08:42:13.487Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:42:14.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:42:14.407Z] + ls -al . [2021-10-14T08:42:14.407Z] total 144 [2021-10-14T08:42:14.407Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:42 . [2021-10-14T08:42:14.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:38 .. [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 08:38 .dockerignore [2021-10-14T08:42:14.407Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:38 .git [2021-10-14T08:42:14.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 .github [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 14 08:38 .gitignore [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 6792 Oct 14 08:38 Attribution.txt [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 7459 Oct 14 08:38 CHANGELOG.md [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 1649 Oct 14 08:38 Dockerfile [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:38 GOVERNANCE.md [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 08:38 Jenkinsfile [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 08:38 LICENSE [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 1078 Oct 14 08:38 Makefile [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 08:38 OWNERS.md [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 7661 Oct 14 08:38 README.md [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 08:34 VERSION [2021-10-14T08:42:14.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 bin [2021-10-14T08:42:14.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:38 cmd [2021-10-14T08:42:14.407Z] -rw-r--r-- 1 jenkins jenkins 8435 Oct 14 08:41 coverage.out [2021-10-14T08:42:14.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 driver [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 271 Oct 14 08:38 go.mod [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 20570 Oct 14 08:38 go.sum [2021-10-14T08:42:14.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:38 snap [2021-10-14T08:42:14.407Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 08:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:42:14.821Z] + 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=ab80832e8fa331645ec332aa024eb9f07585cb40 --label arch=arm64 --label version=2.0.1-dev.10 . [2021-10-14T08:42:14.821Z] Sending build context to Docker daemon 128kB [2021-10-14T08:42:15.129Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:42:15.129Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T08:42:15.129Z] ---> bccdfbaaa1a7 [2021-10-14T08:42:15.129Z] Step 3/24 : ARG MAKE='make build' [2021-10-14T08:42:15.448Z] ---> Running in d56beef451e9 [2021-10-14T08:42:16.063Z] Removing intermediate container d56beef451e9 [2021-10-14T08:42:16.063Z] ---> 37adbd51bee0 [2021-10-14T08:42:16.063Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-14T08:42:16.063Z] ---> Running in f9747eae944f [2021-10-14T08:42:16.671Z] Removing intermediate container f9747eae944f [2021-10-14T08:42:16.671Z] ---> 0bb225290bfc [2021-10-14T08:42:16.671Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-14T08:42:16.671Z] ---> Running in 8e67fd25cf4e [2021-10-14T08:42:17.278Z] Removing intermediate container 8e67fd25cf4e [2021-10-14T08:42:17.278Z] ---> 73114f89f767 [2021-10-14T08:42:17.278Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:42:17.278Z] ---> Running in f0923923ca60 [2021-10-14T08:42:19.939Z] Removing intermediate container f0923923ca60 [2021-10-14T08:42:19.939Z] ---> b592eb7506c1 [2021-10-14T08:42:19.939Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-14T08:42:19.939Z] ---> Running in 740944a7dbea [2021-10-14T08:42:21.388Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:42:22.381Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:42:23.837Z] OK: 223 MiB in 56 packages [2021-10-14T08:42:25.291Z] Removing intermediate container 740944a7dbea [2021-10-14T08:42:25.291Z] ---> 9455e81eb684 [2021-10-14T08:42:25.291Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-14T08:42:25.291Z] ---> Running in 86cec00f612d [2021-10-14T08:42:25.899Z] Removing intermediate container 86cec00f612d [2021-10-14T08:42:25.899Z] ---> 37a04f704033 [2021-10-14T08:42:25.899Z] Step 9/24 : COPY . . [2021-10-14T08:42:26.893Z] ---> 638d4d3e7b7d [2021-10-14T08:42:26.893Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:42:26.893Z] ---> Running in 56cf77a31bce [2021-10-14T08:42:29.541Z] Removing intermediate container 56cf77a31bce [2021-10-14T08:42:29.541Z] ---> c267f0202017 [2021-10-14T08:42:29.541Z] Step 11/24 : RUN $MAKE [2021-10-14T08:42:29.541Z] ---> Running in d6846f76400a [2021-10-14T08:42:30.544Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.10" -o cmd/device-rest ./cmd [2021-10-14T08:43:17.722Z] Removing intermediate container d6846f76400a [2021-10-14T08:43:17.722Z] ---> d7c180cc3385 [2021-10-14T08:43:17.722Z] Step 12/24 : FROM alpine:3.14 [2021-10-14T08:43:17.722Z] 3.14: Pulling from library/alpine [2021-10-14T08:43:17.722Z] 552d1f2373af: Already exists [2021-10-14T08:43:17.722Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:43:17.722Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:43:17.722Z] ---> bb3de5531c18 [2021-10-14T08:43:17.722Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-14T08:43:17.722Z] ---> Running in a9057dac4298 [2021-10-14T08:43:17.722Z] Removing intermediate container a9057dac4298 [2021-10-14T08:43:17.722Z] ---> d239293c304a [2021-10-14T08:43:17.722Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-14T08:43:17.722Z] ---> Running in 25f8ca33bd5c [2021-10-14T08:43:17.722Z] Removing intermediate container 25f8ca33bd5c [2021-10-14T08:43:17.722Z] ---> b9dbc1cd3da9 [2021-10-14T08:43:17.722Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-14T08:43:17.722Z] ---> Running in 2914e56778f2 [2021-10-14T08:43:17.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:43:17.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:43:17.722Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-14T08:43:17.722Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:43:17.722Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-14T08:43:17.722Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:43:17.722Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-14T08:43:17.722Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-14T08:43:17.722Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:43:17.722Z] OK: 8 MiB in 20 packages [2021-10-14T08:43:18.721Z] Removing intermediate container 2914e56778f2 [2021-10-14T08:43:18.721Z] ---> a74a6a097010 [2021-10-14T08:43:18.721Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-14T08:43:20.214Z] ---> dd39c7a772fe [2021-10-14T08:43:20.214Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-14T08:43:20.817Z] ---> 7bccda6a8fc8 [2021-10-14T08:43:20.817Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-14T08:43:21.418Z] ---> ce9bc61d4597 [2021-10-14T08:43:21.418Z] Step 19/24 : EXPOSE 59986 [2021-10-14T08:43:21.692Z] ---> Running in 91876e46c316 [2021-10-14T08:43:21.971Z] Removing intermediate container 91876e46c316 [2021-10-14T08:43:21.971Z] ---> 5423f50ce38c [2021-10-14T08:43:21.971Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-14T08:43:22.248Z] ---> Running in 13892af552ec [2021-10-14T08:43:22.854Z] Removing intermediate container 13892af552ec [2021-10-14T08:43:22.854Z] ---> c5df36e8ae94 [2021-10-14T08:43:22.854Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-14T08:43:22.854Z] ---> Running in 00737ce4d48b [2021-10-14T08:43:23.459Z] Removing intermediate container 00737ce4d48b [2021-10-14T08:43:23.459Z] ---> 07618c375051 [2021-10-14T08:43:23.459Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T08:43:23.459Z] ---> Running in 26b974a6bd4b [2021-10-14T08:43:24.062Z] Removing intermediate container 26b974a6bd4b [2021-10-14T08:43:24.062Z] ---> acac047dfd3e [2021-10-14T08:43:24.062Z] Step 23/24 : LABEL git_sha=ab80832e8fa331645ec332aa024eb9f07585cb40 [2021-10-14T08:43:24.062Z] ---> Running in 046eb2e6c568 [2021-10-14T08:43:24.663Z] Removing intermediate container 046eb2e6c568 [2021-10-14T08:43:24.664Z] ---> c9f4d36d0af8 [2021-10-14T08:43:24.664Z] Step 24/24 : LABEL version=2.0.1-dev.10 [2021-10-14T08:43:24.664Z] ---> Running in b2b6c68e1c4b [2021-10-14T08:43:24.941Z] Removing intermediate container b2b6c68e1c4b [2021-10-14T08:43:24.941Z] ---> 004e4e5331d3 [2021-10-14T08:43:24.941Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:43:24.941Z] Successfully built 004e4e5331d3 [2021-10-14T08:43:24.941Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:43:25.087Z] provisioning config files... [2021-10-14T08:43:25.109Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/15@tmp/config4305242444194717342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:43:25.467Z] ---> docker-login.sh [2021-10-14T08:43:25.467Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:43:25.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:25.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:25.743Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:25.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:25.743Z] [2021-10-14T08:43:25.743Z] Login Succeeded [2021-10-14T08:43:25.743Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:43:26.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:26.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:26.344Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:26.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:26.344Z] [2021-10-14T08:43:26.344Z] Login Succeeded [2021-10-14T08:43:26.344Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:43:26.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:26.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:26.894Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:26.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:26.894Z] [2021-10-14T08:43:26.894Z] Login Succeeded [2021-10-14T08:43:26.894Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:43:27.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:27.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:27.445Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:27.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:27.445Z] [2021-10-14T08:43:27.445Z] Login Succeeded [2021-10-14T08:43:27.445Z] docker.io [2021-10-14T08:43:27.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:28.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:28.326Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:28.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:28.326Z] [2021-10-14T08:43:28.326Z] Login Succeeded [2021-10-14T08:43:28.326Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:43:28.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:43:28.400Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-10-14T08:43:28.400Z] ab80832e8fa331645ec332aa024eb9f07585cb40 [2021-10-14T08:43:28.400Z] latest [2021-10-14T08:43:28.400Z] 2.0.1-dev.10 [2021-10-14T08:43:28.400Z] ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [2021-10-14T08:43:28.400Z] main [2021-10-14T08:43:28.400Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:28.777Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:29.142Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40 [2021-10-14T08:43:29.142Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-14T08:43:29.142Z] aef49e71d31d: Preparing [2021-10-14T08:43:29.142Z] 8bee8d829649: Preparing [2021-10-14T08:43:29.142Z] ef083ae85171: Preparing [2021-10-14T08:43:29.142Z] 07829c36f2e3: Preparing [2021-10-14T08:43:29.142Z] ee420dfed78a: Preparing [2021-10-14T08:43:29.418Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:29.418Z] aef49e71d31d: Pushed [2021-10-14T08:43:29.418Z] 8bee8d829649: Pushed [2021-10-14T08:43:30.018Z] 07829c36f2e3: Pushed [2021-10-14T08:43:32.009Z] ef083ae85171: Pushed [2021-10-14T08:43:32.290Z] ab80832e8fa331645ec332aa024eb9f07585cb40: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:32.647Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:33.004Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-10-14T08:43:33.005Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-14T08:43:33.005Z] aef49e71d31d: Preparing [2021-10-14T08:43:33.005Z] 8bee8d829649: Preparing [2021-10-14T08:43:33.005Z] ef083ae85171: Preparing [2021-10-14T08:43:33.005Z] 07829c36f2e3: Preparing [2021-10-14T08:43:33.005Z] ee420dfed78a: Preparing [2021-10-14T08:43:33.280Z] ef083ae85171: Layer already exists [2021-10-14T08:43:33.280Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:33.280Z] 8bee8d829649: Layer already exists [2021-10-14T08:43:33.280Z] aef49e71d31d: Layer already exists [2021-10-14T08:43:33.280Z] 07829c36f2e3: Layer already exists [2021-10-14T08:43:33.280Z] latest: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:33.636Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:33.984Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.10 [2021-10-14T08:43:33.984Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-14T08:43:33.984Z] aef49e71d31d: Preparing [2021-10-14T08:43:33.984Z] 8bee8d829649: Preparing [2021-10-14T08:43:33.984Z] ef083ae85171: Preparing [2021-10-14T08:43:33.984Z] 07829c36f2e3: Preparing [2021-10-14T08:43:33.984Z] ee420dfed78a: Preparing [2021-10-14T08:43:33.984Z] aef49e71d31d: Layer already exists [2021-10-14T08:43:33.984Z] ef083ae85171: Layer already exists [2021-10-14T08:43:33.984Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:33.984Z] 07829c36f2e3: Layer already exists [2021-10-14T08:43:33.984Z] 8bee8d829649: Layer already exists [2021-10-14T08:43:34.262Z] 2.0.1-dev.10: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:34.626Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:34.985Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [2021-10-14T08:43:34.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-14T08:43:34.985Z] aef49e71d31d: Preparing [2021-10-14T08:43:34.985Z] 8bee8d829649: Preparing [2021-10-14T08:43:34.985Z] ef083ae85171: Preparing [2021-10-14T08:43:34.985Z] 07829c36f2e3: Preparing [2021-10-14T08:43:34.985Z] ee420dfed78a: Preparing [2021-10-14T08:43:35.263Z] aef49e71d31d: Layer already exists [2021-10-14T08:43:35.263Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:35.263Z] 07829c36f2e3: Layer already exists [2021-10-14T08:43:35.263Z] 8bee8d829649: Layer already exists [2021-10-14T08:43:35.263Z] ef083ae85171: Layer already exists [2021-10-14T08:43:35.263Z] ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:35.625Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:35.981Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-10-14T08:43:35.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-14T08:43:35.981Z] aef49e71d31d: Preparing [2021-10-14T08:43:35.981Z] 8bee8d829649: Preparing [2021-10-14T08:43:35.981Z] ef083ae85171: Preparing [2021-10-14T08:43:35.981Z] 07829c36f2e3: Preparing [2021-10-14T08:43:35.981Z] ee420dfed78a: Preparing [2021-10-14T08:43:36.268Z] 8bee8d829649: Layer already exists [2021-10-14T08:43:36.268Z] ef083ae85171: Layer already exists [2021-10-14T08:43:36.268Z] aef49e71d31d: Layer already exists [2021-10-14T08:43:36.268Z] 07829c36f2e3: Layer already exists [2021-10-14T08:43:36.268Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:36.268Z] main: digest: sha256:20bda12c617398a20fc26c3b3bdd89521bfe8abbb635c5b064558c9d6c5356dc size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:43:36.337Z] ===================================================== [Pipeline] echo [2021-10-14T08:43:36.346Z] taggedImages: [2021-10-14T08:43:36.346Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40 [2021-10-14T08:43:36.346Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-10-14T08:43:36.346Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.10 [2021-10-14T08:43:36.346Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ab80832e8fa331645ec332aa024eb9f07585cb40-2.0.1-dev.10 [2021-10-14T08:43:36.346Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:36.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:43:36.871Z] [2021-10-14T08:43:36.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:37.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:43:37.860Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T08:43:37.860Z] 448f6bf000e3: Pulling fs layer [2021-10-14T08:43:37.860Z] f757da607395: Pulling fs layer [2021-10-14T08:43:37.860Z] 05883995daec: Pulling fs layer [2021-10-14T08:43:37.860Z] 8603b9c90790: Pulling fs layer [2021-10-14T08:43:37.860Z] 1560dd03e051: Pulling fs layer [2021-10-14T08:43:37.860Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T08:43:37.860Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T08:43:37.860Z] 1560dd03e051: Waiting [2021-10-14T08:43:37.860Z] 27f5ce0e4adf: Waiting [2021-10-14T08:43:37.860Z] c2d8d7efcc4b: Waiting [2021-10-14T08:43:37.860Z] 8603b9c90790: Waiting [2021-10-14T08:43:37.860Z] f757da607395: Verifying Checksum [2021-10-14T08:43:37.860Z] f757da607395: Download complete [2021-10-14T08:43:37.860Z] 8603b9c90790: Download complete [2021-10-14T08:43:38.170Z] 1560dd03e051: Verifying Checksum [2021-10-14T08:43:38.170Z] 1560dd03e051: Download complete [2021-10-14T08:43:38.170Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T08:43:38.170Z] 27f5ce0e4adf: Download complete [2021-10-14T08:43:38.170Z] 05883995daec: Verifying Checksum [2021-10-14T08:43:38.170Z] 05883995daec: Download complete [2021-10-14T08:43:38.463Z] 448f6bf000e3: Verifying Checksum [2021-10-14T08:43:38.463Z] 448f6bf000e3: Download complete [2021-10-14T08:43:41.152Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T08:43:41.152Z] c2d8d7efcc4b: Download complete [2021-10-14T08:43:42.612Z] 448f6bf000e3: Pull complete [2021-10-14T08:43:43.222Z] f757da607395: Pull complete [2021-10-14T08:43:44.681Z] 05883995daec: Pull complete [2021-10-14T08:43:44.961Z] 8603b9c90790: Pull complete [2021-10-14T08:43:45.957Z] 1560dd03e051: Pull complete [2021-10-14T08:43:46.565Z] 27f5ce0e4adf: Pull complete [2021-10-14T08:44:01.772Z] c2d8d7efcc4b: Pull complete [2021-10-14T08:44:01.772Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T08:44:01.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:44:01.772Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T08:44:02.070Z] prd-ubuntu18.04-docker-arm64-4c-16g-1386 does not seem to be running inside a container [2021-10-14T08:44:02.167Z] $ 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/15 -v /w/workspace/device-rest-go/15:/w/workspace/device-rest-go/15:rw,z -v /w/workspace/device-rest-go/15@tmp:/w/workspace/device-rest-go/15@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-14T08:44:06.852Z] $ docker top e33873e127f7d3977ea3e26dadd96c29526c18057c71002a973ea0bcd29c3407 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:07.878Z] ---> job-cost.sh [2021-10-14T08:44:07.878Z] lf-activate-venv: SKIPPING [2021-10-14T08:44:07.878Z] INFO: No Stack... [2021-10-14T08:44:08.488Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T08:44:09.099Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:44:09.790Z] + cat /w/workspace/device-rest-go/15/archives/cost.csv [2021-10-14T08:44:09.790Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T08:44:09.869Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [2021-10-14T08:44:09.874Z] Resource [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] did not exist. Created. [2021-10-14T08:44:09.874Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:44:10.582Z] /w/workspace/device-rest-go/15@tmp/durable-9976e83e/script.sh: 1: /w/workspace/device-rest-go/15@tmp/durable-9976e83e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T08:44:11.280Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T08:44:11.312Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T08:44:11.363Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:44:11.371Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:44:11.395Z] $ docker stop --time=1 e33873e127f7d3977ea3e26dadd96c29526c18057c71002a973ea0bcd29c3407 [2021-10-14T08:44:13.109Z] $ docker rm -f e33873e127f7d3977ea3e26dadd96c29526c18057c71002a973ea0bcd29c3407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-14T08:44:13.802Z] provisioning config files... [2021-10-14T08:44:13.811Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4230042441283501114tmp [Pipeline] { [Pipeline] sh [2021-10-14T08:44:14.116Z] + set +x [2021-10-14T08:44:14.116Z] + curl -s https://codecov.io/bash [2021-10-14T08:44:14.116Z] + bash -s -- [2021-10-14T08:44:14.116Z] [2021-10-14T08:44:14.116Z] _____ _ [2021-10-14T08:44:14.116Z] / ____| | | [2021-10-14T08:44:14.116Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T08:44:14.116Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T08:44:14.116Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T08:44:14.116Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T08:44:14.116Z] Bash-1.0.6 [2021-10-14T08:44:14.116Z] [2021-10-14T08:44:14.116Z] [2021-10-14T08:44:14.116Z] ==> git version 2.24.4 found [2021-10-14T08:44:14.116Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-14T08:44:14.116Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T08:44:14.116Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T08:44:14.116Z] ==> Jenkins CI detected. [2021-10-14T08:44:14.116Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-10-14T08:44:14.116Z] project root: . [2021-10-14T08:44:14.116Z] --> token set from env [2021-10-14T08:44:14.116Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T08:44:14.116Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T08:44:14.116Z] ==> Python coveragepy not found [2021-10-14T08:44:14.116Z] ==> Searching for coverage reports in: [2021-10-14T08:44:14.116Z] + . [2021-10-14T08:44:14.384Z] -> Found 1 reports [2021-10-14T08:44:14.384Z] ==> Detecting git/mercurial file structure [2021-10-14T08:44:14.384Z] ==> Reading reports [2021-10-14T08:44:14.384Z] + ./coverage.out bytes=8435 [2021-10-14T08:44:14.384Z] ==> Appending adjustments [2021-10-14T08:44:14.384Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T08:44:14.384Z] + Found adjustments [2021-10-14T08:44:14.384Z] ==> Gzipping contents [2021-10-14T08:44:14.384Z] 4.0K /tmp/codecov.4r0BWD.gz [2021-10-14T08:44:14.384Z] ==> Uploading reports [2021-10-14T08:44:14.384Z] url: https://codecov.io [2021-10-14T08:44:14.384Z] query: branch=main&commit=ab80832e8fa331645ec332aa024eb9f07585cb40&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T08:44:14.384Z] -> Pinging Codecov [2021-10-14T08:44:14.384Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=ab80832e8fa331645ec332aa024eb9f07585cb40&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T08:44:14.643Z] -> Uploading to [2021-10-14T08:44:14.643Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/4E5D53B4F1F92C436F7061BF334D961C/ab80832e8fa331645ec332aa024eb9f07585cb40/9fa36f0c-0dd5-4b5b-8b01-70b0750ae9cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T084414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ffce773533f5ec77445bd9cab7ee688458f167ebf2b0a9fe95108f8b1a766885 [2021-10-14T08:44:14.643Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:44:14.643Z] Dload Upload Total Spent Left Speed [2021-10-14T08:44:14.903Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 5883 --:--:-- --:--:-- --:--:-- 5901 [2021-10-14T08:44:14.904Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] } [2021-10-14T08:44:14.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-14T08:44:15.102Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-14T08:44:15.114Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:15.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:15.432Z] [2021-10-14T08:44:15.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:15.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:15.731Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-14T08:44:15.731Z] 188c0c94c7c5: Pulling fs layer [2021-10-14T08:44:15.731Z] 0ef7d3d256c8: Pulling fs layer [2021-10-14T08:44:15.731Z] de9db76c5a1d: Pulling fs layer [2021-10-14T08:44:15.731Z] 0eba1c9be4d2: Pulling fs layer [2021-10-14T08:44:15.731Z] 0d57e429df01: Pulling fs layer [2021-10-14T08:44:15.731Z] 4e4be7b47b0d: Pulling fs layer [2021-10-14T08:44:15.731Z] e1f770b5df2f: Pulling fs layer [2021-10-14T08:44:15.731Z] 85a0685a4137: Pulling fs layer [2021-10-14T08:44:15.731Z] 0d57e429df01: Waiting [2021-10-14T08:44:15.731Z] 4e4be7b47b0d: Waiting [2021-10-14T08:44:15.731Z] e1f770b5df2f: Waiting [2021-10-14T08:44:15.731Z] 85a0685a4137: Waiting [2021-10-14T08:44:15.731Z] 0eba1c9be4d2: Waiting [2021-10-14T08:44:15.731Z] de9db76c5a1d: Verifying Checksum [2021-10-14T08:44:15.731Z] de9db76c5a1d: Download complete [2021-10-14T08:44:15.731Z] 0ef7d3d256c8: Verifying Checksum [2021-10-14T08:44:15.731Z] 0ef7d3d256c8: Download complete [2021-10-14T08:44:15.731Z] 0d57e429df01: Verifying Checksum [2021-10-14T08:44:15.731Z] 0d57e429df01: Download complete [2021-10-14T08:44:15.731Z] 4e4be7b47b0d: Verifying Checksum [2021-10-14T08:44:15.731Z] 4e4be7b47b0d: Download complete [2021-10-14T08:44:15.993Z] 188c0c94c7c5: Verifying Checksum [2021-10-14T08:44:15.993Z] 188c0c94c7c5: Download complete [2021-10-14T08:44:16.267Z] 188c0c94c7c5: Pull complete [2021-10-14T08:44:16.267Z] e1f770b5df2f: Verifying Checksum [2021-10-14T08:44:16.267Z] e1f770b5df2f: Download complete [2021-10-14T08:44:16.267Z] 0ef7d3d256c8: Pull complete [2021-10-14T08:44:16.530Z] de9db76c5a1d: Pull complete [2021-10-14T08:44:16.530Z] 85a0685a4137: Verifying Checksum [2021-10-14T08:44:16.530Z] 85a0685a4137: Download complete [2021-10-14T08:44:16.800Z] 0eba1c9be4d2: Verifying Checksum [2021-10-14T08:44:16.800Z] 0eba1c9be4d2: Download complete [2021-10-14T08:44:21.032Z] 0eba1c9be4d2: Pull complete [2021-10-14T08:44:21.032Z] 0d57e429df01: Pull complete [2021-10-14T08:44:21.032Z] 4e4be7b47b0d: Pull complete [2021-10-14T08:44:21.604Z] e1f770b5df2f: Pull complete [2021-10-14T08:44:25.822Z] 85a0685a4137: Pull complete [2021-10-14T08:44:25.822Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-14T08:44:25.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:25.822Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-14T08:44:25.883Z] prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container [2021-10-14T08:44:25.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-14T08:44:28.386Z] $ docker top 227f4ba256b594865d3e47e338f38c97c9a22810dc2e067984fb1e45bf145759 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-14T08:44:28.463Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-14T08:44:28.755Z] + set -o pipefail [2021-10-14T08:44:28.755Z] + snyk monitor '--org=edgex-jenkins' [2021-10-14T08:44:32.965Z] [2021-10-14T08:44:32.965Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-10-14T08:44:32.965Z] [2021-10-14T08:44:32.965Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/c7999a8d-c2c9-4b02-8da7-49cab73c32d2 [2021-10-14T08:44:32.965Z] [2021-10-14T08:44:32.965Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-10-14T08:44:32.965Z] [2021-10-14T08:44:32.965Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-14T08:44:32.965Z] [2021-10-14T08:44:32.965Z] [2021-10-14T08:44:32.965Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-14T08:44:32.965Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-14T08:44:32.976Z] $ docker stop --time=1 227f4ba256b594865d3e47e338f38c97c9a22810dc2e067984fb1e45bf145759 [2021-10-14T08:44:34.729Z] $ docker rm -f 227f4ba256b594865d3e47e338f38c97c9a22810dc2e067984fb1e45bf145759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:44:35.692Z] + git log --format=format:%s -1 ab80832e8fa331645ec332aa024eb9f07585cb40 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:35.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:44:35.993Z] . [Pipeline] withDockerContainer [2021-10-14T08:44:36.069Z] prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container [2021-10-14T08:44:36.109Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:44:36.494Z] $ docker top ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:44:36.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:44:36.580Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:44:36.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:44:36.691Z] $ docker exec ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 ssh-agent [2021-10-14T08:44:36.782Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXACIpkC/agent.14 [2021-10-14T08:44:36.782Z] SSH_AGENT_PID=20 [2021-10-14T08:44:36.786Z] Running ssh-add (command line suppressed) [2021-10-14T08:44:36.882Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6416634030521333922.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6416634030521333922.key) [2021-10-14T08:44:36.894Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:44:37.189Z] + git semver tag [2021-10-14T08:44:37.189Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:44:37.189Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-14T08:44:37.189Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-14T08:44:37.189Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:44:37.189Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:44:37.189Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:44:37.189Z] # $SEMVER_BRANCH = main [2021-10-14T08:44:37.189Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-10-14T08:44:37.189Z] # ab80832e8fa331645ec332aa024eb9f07585cb40 HEAD [2021-10-14T08:44:37.189Z] # -> Force: false [2021-10-14T08:44:37.189Z] # e89a8bd8e1091746d256bedaa4d1616c5c78df0b refs/tags/v2.0.1-dev.10 [Pipeline] } [2021-10-14T08:44:37.200Z] $ docker exec --env ******** --env ******** ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 ssh-agent -k [2021-10-14T08:44:37.287Z] unset SSH_AUTH_SOCK; [2021-10-14T08:44:37.288Z] unset SSH_AGENT_PID; [2021-10-14T08:44:37.288Z] echo Agent pid 20 killed; [2021-10-14T08:44:37.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:44:37.605Z] + git semver [Pipeline] } [2021-10-14T08:44:37.619Z] $ docker stop --time=1 ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 [2021-10-14T08:44:38.787Z] $ docker rm -f ed836ccc0974141bb442c1742fbe849be09e693b8b59b76609c88e435c19e7e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:39.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:44:39.174Z] [2021-10-14T08:44:39.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:39.482Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:44:39.482Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-14T08:44:39.482Z] ab5ef0e58194: Pulling fs layer [2021-10-14T08:44:39.482Z] 9712f1f96733: Pulling fs layer [2021-10-14T08:44:39.482Z] 63f879dbbcfc: Pulling fs layer [2021-10-14T08:44:39.482Z] 0d9ebad4ef96: Pulling fs layer [2021-10-14T08:44:39.482Z] e9a5061849ea: Pulling fs layer [2021-10-14T08:44:39.482Z] d747dcd14b5f: Pulling fs layer [2021-10-14T08:44:39.482Z] 2de7ff778b66: Pulling fs layer [2021-10-14T08:44:39.482Z] d747dcd14b5f: Waiting [2021-10-14T08:44:39.482Z] 0d9ebad4ef96: Waiting [2021-10-14T08:44:39.482Z] e9a5061849ea: Waiting [2021-10-14T08:44:39.482Z] 2de7ff778b66: Waiting [2021-10-14T08:44:39.482Z] 9712f1f96733: Verifying Checksum [2021-10-14T08:44:39.482Z] 9712f1f96733: Download complete [2021-10-14T08:44:39.749Z] 63f879dbbcfc: Verifying Checksum [2021-10-14T08:44:39.749Z] 63f879dbbcfc: Download complete [2021-10-14T08:44:40.016Z] 0d9ebad4ef96: Verifying Checksum [2021-10-14T08:44:40.016Z] 0d9ebad4ef96: Download complete [2021-10-14T08:44:40.016Z] e9a5061849ea: Verifying Checksum [2021-10-14T08:44:40.016Z] e9a5061849ea: Download complete [2021-10-14T08:44:40.016Z] d747dcd14b5f: Verifying Checksum [2021-10-14T08:44:40.016Z] d747dcd14b5f: Download complete [2021-10-14T08:44:40.287Z] ab5ef0e58194: Verifying Checksum [2021-10-14T08:44:40.287Z] ab5ef0e58194: Download complete [2021-10-14T08:44:40.287Z] 2de7ff778b66: Verifying Checksum [2021-10-14T08:44:40.287Z] 2de7ff778b66: Download complete [2021-10-14T08:44:42.869Z] ab5ef0e58194: Pull complete [2021-10-14T08:44:42.869Z] 9712f1f96733: Pull complete [2021-10-14T08:44:43.852Z] 63f879dbbcfc: Pull complete [2021-10-14T08:44:48.089Z] 0d9ebad4ef96: Pull complete [2021-10-14T08:44:48.089Z] e9a5061849ea: Pull complete [2021-10-14T08:44:48.089Z] d747dcd14b5f: Pull complete [2021-10-14T08:44:49.476Z] 2de7ff778b66: Pull complete [2021-10-14T08:44:49.476Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-14T08:44:49.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:44:49.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-14T08:44:49.549Z] prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container [2021-10-14T08:44:49.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-14T08:44:53.020Z] $ docker top bc044259e1f99b15d0bb2a965b6ecde5913ba8f3106dbe43422a7b351b814449 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:44:53.091Z] provisioning config files... [2021-10-14T08:44:53.100Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4929744127474214239tmp [2021-10-14T08:44:53.111Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8045219547901721845tmp [2021-10-14T08:44:53.122Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2391657920977172611tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:44:53.155Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:53.455Z] ---> sigul-configuration.sh [2021-10-14T08:44:53.455Z] gpg: directory `/root/.gnupg' created [2021-10-14T08:44:53.455Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-14T08:44:53.455Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-14T08:44:53.455Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-14T08:44:53.455Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-14T08:44:53.455Z] gpg: CAST5 encrypted data [2021-10-14T08:44:53.455Z] gpg: encrypted with 1 passphrase [2021-10-14T08:44:53.455Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-14T08:44:53.742Z] + mkdir /home/jenkins [2021-10-14T08:44:53.742Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-14T08:44:54.032Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-10-14T08:44:54.042Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:54.334Z] ---> sigul-install.sh [2021-10-14T08:44:54.334Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-14T08:44:54.626Z] + git tag --list [2021-10-14T08:44:54.626Z] v1.0.0 [2021-10-14T08:44:54.626Z] v1.1.0 [2021-10-14T08:44:54.626Z] v1.1.1 [2021-10-14T08:44:54.626Z] v1.1.2 [2021-10-14T08:44:54.626Z] v1.2.0 [2021-10-14T08:44:54.626Z] v1.2.1 [2021-10-14T08:44:54.626Z] v2.0.0 [2021-10-14T08:44:54.626Z] v2.0.1-dev.1 [2021-10-14T08:44:54.626Z] v2.0.1-dev.10 [2021-10-14T08:44:54.626Z] v2.0.1-dev.2 [2021-10-14T08:44:54.626Z] v2.0.1-dev.3 [2021-10-14T08:44:54.626Z] v2.0.1-dev.4 [2021-10-14T08:44:54.626Z] v2.0.1-dev.5 [2021-10-14T08:44:54.626Z] v2.0.1-dev.6 [2021-10-14T08:44:54.626Z] v2.0.1-dev.7 [2021-10-14T08:44:54.626Z] v2.0.1-dev.8 [2021-10-14T08:44:54.626Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-14T08:44:54.921Z] + lftools sign git-tag v2.0.1-dev.10 [2021-10-14T08:44:55.492Z] Signing Git tag with Sigul... [2021-10-14T08:44:55.492Z] Signing v2.0.1-dev.10 [Pipeline] echo [2021-10-14T08:44:56.898Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:57.187Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-14T08:44:57.194Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-14T08:44:57.212Z] $ docker stop --time=1 bc044259e1f99b15d0bb2a965b6ecde5913ba8f3106dbe43422a7b351b814449 [2021-10-14T08:44:58.399Z] $ docker rm -f bc044259e1f99b15d0bb2a965b6ecde5913ba8f3106dbe43422a7b351b814449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:58.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:44:58.957Z] . [Pipeline] withDockerContainer [2021-10-14T08:44:59.020Z] prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container [2021-10-14T08:44:59.051Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:44:59.376Z] $ docker top a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:44:59.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:44:59.454Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:44:59.552Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:44:59.555Z] $ docker exec a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e ssh-agent [2021-10-14T08:44:59.649Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkcjCbB/agent.13 [2021-10-14T08:44:59.649Z] SSH_AGENT_PID=19 [2021-10-14T08:44:59.654Z] Running ssh-add (command line suppressed) [2021-10-14T08:44:59.755Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8446848921230005489.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8446848921230005489.key) [2021-10-14T08:44:59.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:45:00.053Z] + git semver bump pre [2021-10-14T08:45:00.053Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:45:00.053Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-14T08:45:00.053Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-14T08:45:00.053Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:45:00.053Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:45:00.053Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:45:00.053Z] # $SEMVER_BRANCH = main [2021-10-14T08:45:00.053Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-10-14T08:45:00.053Z] 2.0.1-dev.11 [Pipeline] } [2021-10-14T08:45:00.063Z] $ docker exec --env ******** --env ******** a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e ssh-agent -k [2021-10-14T08:45:00.145Z] unset SSH_AUTH_SOCK; [2021-10-14T08:45:00.146Z] unset SSH_AGENT_PID; [2021-10-14T08:45:00.146Z] echo Agent pid 19 killed; [2021-10-14T08:45:00.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:45:00.462Z] + git semver [Pipeline] } [2021-10-14T08:45:00.474Z] $ docker stop --time=1 a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e [2021-10-14T08:45:01.652Z] $ docker rm -f a4e26c6f644857a3c008f2ab8a280e330b302a02532e02c0a91e0fa304d95c6e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:45:02.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:45:02.125Z] . [Pipeline] withDockerContainer [2021-10-14T08:45:02.328Z] prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container [2021-10-14T08:45:02.392Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:45:02.743Z] $ docker top fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:45:02.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:45:02.827Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:45:02.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:45:02.942Z] $ docker exec fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d ssh-agent [2021-10-14T08:45:03.050Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfpJJNf/agent.14 [2021-10-14T08:45:03.050Z] SSH_AGENT_PID=20 [2021-10-14T08:45:03.057Z] Running ssh-add (command line suppressed) [2021-10-14T08:45:03.161Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7803360207389736005.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7803360207389736005.key) [2021-10-14T08:45:03.176Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:45:03.474Z] + git semver push [2021-10-14T08:45:03.474Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:45:03.474Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-14T08:45:03.474Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-14T08:45:03.474Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:45:03.474Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:45:03.474Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:45:03.474Z] # $SEMVER_BRANCH = main [2021-10-14T08:45:03.474Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-14T08:45:06.020Z] $ docker exec --env ******** --env ******** fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d ssh-agent -k [2021-10-14T08:45:06.109Z] unset SSH_AUTH_SOCK; [2021-10-14T08:45:06.109Z] unset SSH_AGENT_PID; [2021-10-14T08:45:06.110Z] echo Agent pid 20 killed; [2021-10-14T08:45:06.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:45:06.419Z] + git semver [Pipeline] } [2021-10-14T08:45:06.432Z] $ docker stop --time=1 fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d [2021-10-14T08:45:07.634Z] $ docker rm -f fce9e86ebb9f5e79fea140cc45a00bf6678ce7299618d0c6075da471347a518d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-14T08:45:08.353Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:08.644Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:09.195Z] ---> package-listing.sh [2021-10-14T08:45:09.195Z] ++ facter osfamily [2021-10-14T08:45:09.195Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T08:45:09.456Z] + OS_FAMILY=redhat [2021-10-14T08:45:09.456Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-10-14T08:45:09.456Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T08:45:09.456Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T08:45:09.456Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T08:45:09.456Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T08:45:09.456Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-14T08:45:09.456Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T08:45:09.456Z] + case "${OS_FAMILY}" in [2021-10-14T08:45:09.456Z] + rpm -qa [2021-10-14T08:45:09.456Z] + sort [2021-10-14T08:45:10.394Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T08:45:10.394Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T08:45:10.394Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T08:45:10.394Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-14T08:45:10.394Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-10-14T08:45:10.394Z] + 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-14T08:45:10.404Z] 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-14T08:45:10.686Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:45:11.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:45:11.241Z] [2021-10-14T08:45:11.241Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:45:11.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:45:11.537Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:45:11.537Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:45:11.537Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:45:11.537Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:45:11.537Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:45:11.537Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:45:11.537Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:45:11.537Z] d287ab97295c: Pulling fs layer [2021-10-14T08:45:11.537Z] dc539afda2c1: Waiting [2021-10-14T08:45:11.537Z] 77bc0d833cb6: Waiting [2021-10-14T08:45:11.537Z] 9065ff56babe: Waiting [2021-10-14T08:45:11.537Z] d287ab97295c: Waiting [2021-10-14T08:45:11.537Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:45:11.537Z] a1111a8f2ec3: Download complete [2021-10-14T08:45:11.537Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:45:11.537Z] dc539afda2c1: Download complete [2021-10-14T08:45:11.800Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:45:11.800Z] 77bc0d833cb6: Download complete [2021-10-14T08:45:11.800Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:45:11.800Z] ed53099fbce6: Download complete [2021-10-14T08:45:11.800Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:45:11.800Z] 9065ff56babe: Download complete [2021-10-14T08:45:11.800Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:45:11.800Z] b4d181a07f80: Download complete [2021-10-14T08:45:12.382Z] d287ab97295c: Verifying Checksum [2021-10-14T08:45:12.382Z] d287ab97295c: Download complete [2021-10-14T08:45:13.338Z] b4d181a07f80: Pull complete [2021-10-14T08:45:13.338Z] a1111a8f2ec3: Pull complete [2021-10-14T08:45:13.910Z] ed53099fbce6: Pull complete [2021-10-14T08:45:14.170Z] dc539afda2c1: Pull complete [2021-10-14T08:45:14.432Z] 77bc0d833cb6: Pull complete [2021-10-14T08:45:14.432Z] 9065ff56babe: Pull complete [2021-10-14T08:45:19.730Z] d287ab97295c: Pull complete [2021-10-14T08:45:19.730Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:45:19.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:45:19.730Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:45:19.798Z] prd-centos7-docker-4c-2g-1375 does not seem to be running inside a container [2021-10-14T08:45:19.837Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T08:45:22.235Z] $ docker top c96f4f1d090b22698100240afdec2854ad3ed230449ecd4843b4af64d9f75bc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:45:22.591Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T08:45:22.880Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T08:45:23.173Z] + ls /var/log/sa-host [2021-10-14T08:45:23.173Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T08:45:23.173Z] file_magic: OK [2021-10-14T08:45:23.173Z] HZ: Using current value: 100 [2021-10-14T08:45:23.173Z] file_header: OK [2021-10-14T08:45:23.173Z] 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-14T08:45:23.173Z] Statistics: [2021-10-14T08:45:23.174Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:45:23.174Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T08:45:23.174Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T08:45:23.174Z] file_magic: OK [2021-10-14T08:45:23.174Z] HZ: Using current value: 100 [2021-10-14T08:45:23.174Z] file_header: OK [2021-10-14T08:45:23.174Z] 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-14T08:45:23.174Z] Statistics: [2021-10-14T08:45:23.174Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:45:23.174Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:45:23.253Z] provisioning config files... [2021-10-14T08:45:23.266Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1601353921819627006tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:45:23.281Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:23.592Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T08:45:23.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:23.921Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T08:45:23.931Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:24.218Z] ---> sudo-logs.sh [2021-10-14T08:45:24.218Z] Archiving 'sudo' log.. [2021-10-14T08:45:24.218Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1375.novalocal: Name or service not known [2021-10-14T08:45:24.218Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1375.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T08:45:24.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:24.524Z] ---> job-cost.sh [2021-10-14T08:45:24.524Z] lf-activate-venv: SKIPPING [2021-10-14T08:45:24.524Z] DEBUG: total: 0.10999999940395355 [2021-10-14T08:45:24.524Z] INFO: Retrieving Stack Cost... [2021-10-14T08:45:25.095Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:45:25.354Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T08:45:25.367Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:25.662Z] ---> logs-deploy.sh [2021-10-14T08:45:25.662Z] lf-activate-venv: SKIPPING [2021-10-14T08:45:25.662Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/15 [2021-10-14T08:45:25.662Z] INFO: archiving workspace using pattern(s): [2021-10-14T08:45:26.607Z] Archives upload complete. [2021-10-14T08:45:26.873Z] INFO: archiving logs to Nexus