Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3f382fce060f16c10d6f597981912fab355381a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 f3f382fce060f16c10d6f597981912fab355381a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-9455 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34 (#54)" > git rev-list --no-walk cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-28T11:23:49.294Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-28T11:23:49.616Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-28T11:23:49.716Z] ========================================================= [2020-10-28T11:23:49.717Z] EdgeX Global Pipelines Version Info [2020-10-28T11:23:49.717Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:23:51.909Z] ------------------- [2020-10-28T11:23:51.909Z] stable info: [2020-10-28T11:23:51.909Z] ------------------- [2020-10-28T11:23:51.909Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-28T11:23:51.909Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-28T11:23:51.909Z] Message: update stable to v1.0.148 [2020-10-28T11:23:53.446Z] ------------------- [2020-10-28T11:23:53.446Z] experimental info: [2020-10-28T11:23:53.446Z] ------------------- [2020-10-28T11:23:53.446Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-28T11:23:53.446Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-28T11:23:53.446Z] Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-28T11:23:54.036Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-10-28T11:23:54.140Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-10-28T11:23:54.240Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-28T11:23:54.336Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-28T11:23:54.431Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-28T11:23:54.546Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-28T11:23:54.678Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-28T11:23:54.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-28T11:23:54.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-28T11:23:54.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-28T11:23:55.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-28T11:23:55.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-10-28T11:23:55.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-28T11:23:55.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-28T11:23:55.457Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T11:23:55.549Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-28T11:23:55.640Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T11:23:55.739Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-28T11:23:55.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-28T11:23:55.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-28T11:23:56.037Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-28T11:23:56.125Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-28T11:23:56.214Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-28T11:23:56.332Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-28T11:23:56.425Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-28T11:23:56.523Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-10-28T11:23:56.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-10-28T11:23:56.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-10-28T11:23:56.794Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [Pipeline] echo [2020-10-28T11:23:56.888Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f6fe4f [Pipeline] echo [2020-10-28T11:23:56.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T11:23:57.739Z] + git log --format=format:%s -1 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [Pipeline] echo [2020-10-28T11:23:57.849Z] GIT_COMMIT: 4f6fe4f9eeeb2b13b70d00045467dd3723511a77, Commit Message: refactor: Upgrade SDK to v1.2.4-dev.34 (#54) [Pipeline] echo [2020-10-28T11:23:57.898Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:23:58.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T11:23:59.197Z] [2020-10-28T11:23:59.197Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:23:59.632Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T11:23:59.919Z] latest: Pulling from edgex-devops/git-semver [2020-10-28T11:23:59.919Z] 31603596830f: Pulling fs layer [2020-10-28T11:23:59.919Z] 2a8b12db71e7: Pulling fs layer [2020-10-28T11:23:59.919Z] 6ca5941a6612: Pulling fs layer [2020-10-28T11:23:59.919Z] ecc8261a40a4: Pulling fs layer [2020-10-28T11:23:59.919Z] ecc8261a40a4: Waiting [2020-10-28T11:23:59.919Z] 2a8b12db71e7: Verifying Checksum [2020-10-28T11:23:59.919Z] 2a8b12db71e7: Download complete [2020-10-28T11:24:00.214Z] 31603596830f: Verifying Checksum [2020-10-28T11:24:00.214Z] 31603596830f: Download complete [2020-10-28T11:24:00.497Z] ecc8261a40a4: Verifying Checksum [2020-10-28T11:24:00.497Z] ecc8261a40a4: Download complete [2020-10-28T11:24:00.497Z] 6ca5941a6612: Verifying Checksum [2020-10-28T11:24:00.497Z] 6ca5941a6612: Download complete [2020-10-28T11:24:00.805Z] 31603596830f: Pull complete [2020-10-28T11:24:01.105Z] 2a8b12db71e7: Pull complete [2020-10-28T11:24:02.600Z] 6ca5941a6612: Pull complete [2020-10-28T11:24:02.600Z] ecc8261a40a4: Pull complete [2020-10-28T11:24:02.600Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-28T11:24:02.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T11:24:02.600Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-28T11:24:02.852Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:24:03.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-28T11:24:05.670Z] $ docker top 12239267edf5eb71056bbea24e7a48dfdf259f75287adaae41d601391f802f54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T11:24:06.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T11:24:06.122Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T11:24:06.408Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T11:24:06.415Z] $ docker exec 12239267edf5eb71056bbea24e7a48dfdf259f75287adaae41d601391f802f54 ssh-agent [2020-10-28T11:24:06.599Z] SSH_AUTH_SOCK=/tmp/ssh-PNlO73BaYbYG/agent.12 [2020-10-28T11:24:06.599Z] SSH_AGENT_PID=18 [2020-10-28T11:24:06.618Z] Running ssh-add (command line suppressed) [2020-10-28T11:24:06.777Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_194190187151593310.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_194190187151593310.key) [2020-10-28T11:24:06.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T11:24:07.387Z] + git tag --points-at HEAD [Pipeline] } [2020-10-28T11:24:07.412Z] $ docker exec --env ******** --env ******** 12239267edf5eb71056bbea24e7a48dfdf259f75287adaae41d601391f802f54 ssh-agent -k [2020-10-28T11:24:07.545Z] unset SSH_AUTH_SOCK; [2020-10-28T11:24:07.546Z] unset SSH_AGENT_PID; [2020-10-28T11:24:07.546Z] echo Agent pid 18 killed; [2020-10-28T11:24:07.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-28T11:24:07.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T11:24:07.744Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T11:24:07.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T11:24:07.981Z] $ docker exec 12239267edf5eb71056bbea24e7a48dfdf259f75287adaae41d601391f802f54 ssh-agent [2020-10-28T11:24:08.177Z] SSH_AUTH_SOCK=/tmp/ssh-WoTVqSzM2vL4/agent.47 [2020-10-28T11:24:08.177Z] SSH_AGENT_PID=53 [2020-10-28T11:24:08.199Z] Running ssh-add (command line suppressed) [2020-10-28T11:24:08.426Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2170120244722340938.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2170120244722340938.key) [2020-10-28T11:24:08.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T11:24:08.934Z] + git semver init [2020-10-28T11:24:09.251Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T11:24:09.251Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-10-28T11:24:09.251Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-10-28T11:24:09.251Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T11:24:09.251Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T11:24:09.251Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T11:24:09.251Z] # $SEMVER_BRANCH = master [2020-10-28T11:24:09.251Z] # $SEMVER_TEMP = /tmp/semver-499413572 [2020-10-28T11:24:09.251Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-10-28T11:24:10.785Z] # '/tmp/semver-499413572' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-10-28T11:24:10.785Z] # -> Force: false [2020-10-28T11:24:10.785Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-10-28T11:24:10.810Z] $ docker exec --env ******** --env ******** 12239267edf5eb71056bbea24e7a48dfdf259f75287adaae41d601391f802f54 ssh-agent -k [2020-10-28T11:24:11.083Z] unset SSH_AUTH_SOCK; [2020-10-28T11:24:11.085Z] unset SSH_AGENT_PID; [2020-10-28T11:24:11.085Z] echo Agent pid 53 killed; [2020-10-28T11:24:11.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T11:24:11.694Z] + git semver [Pipeline] } [2020-10-28T11:24:11.727Z] $ docker stop --time=1 12239267edf5eb71056bbea24e7a48dfdf259f75287adaae41d601391f802f54 [2020-10-28T11:24:13.331Z] $ docker rm -f 12239267edf5eb71056bbea24e7a48dfdf259f75287adaae41d601391f802f54 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T11:24:13.949Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-28T11:24:14.696Z] Stashed 1 file(s) [Pipeline] echo [2020-10-28T11:24:14.698Z] [edgeXSemver]: initialized semver on version 1.1.3-dev.8 [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 [2020-10-28T11:24:30.256Z] Still waiting to schedule task [2020-10-28T11:24:30.256Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-9457’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-28T11:24:30.258Z] Still waiting to schedule task [2020-10-28T11:24:30.258Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-28T11:25:44.854Z] Running on prd-centos7-docker-4c-2g-9460 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-10-28T11:25:44.909Z] Running in /w/workspace/device-rest-go/24 [Pipeline] { [Pipeline] checkout [2020-10-28T11:25:47.408Z] using credential edgex-jenkins-ssh [2020-10-28T11:25:47.460Z] Cloning the remote Git repository [2020-10-28T11:25:47.484Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-10-28T11:25:47.550Z] > git init /w/workspace/device-rest-go/24 # timeout=10 [2020-10-28T11:25:47.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-10-28T11:25:47.599Z] > git --version # timeout=10 [2020-10-28T11:25:47.606Z] > git --version # 'git version 2.16.5' [2020-10-28T11:25:47.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T11:25:47.634Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T11:25:49.180Z] Checking out Revision 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 (master) [2020-10-28T11:25:48.762Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-10-28T11:25:48.770Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T11:25:48.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-10-28T11:25:48.798Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-10-28T11:25:48.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T11:25:48.803Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-28T11:25:49.190Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T11:25:49.194Z] > git checkout -f 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 [2020-10-28T11:25:52.853Z] Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34 (#54)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T11:25:53.599Z] ========================================================= [2020-10-28T11:25:53.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-28T11:25:53.599Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:25:54.230Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-28T11:25:54.230Z] Sending build context to Docker daemon 79.87kB [2020-10-28T11:25:54.496Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-10-28T11:25:54.496Z] Step 2/10 : FROM ${BASE} [2020-10-28T11:25:54.763Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-28T11:25:54.763Z] df20fa9351a1: Pulling fs layer [2020-10-28T11:25:54.763Z] ed8968b2872e: Pulling fs layer [2020-10-28T11:25:54.763Z] a92cc7c5fd73: Pulling fs layer [2020-10-28T11:25:54.763Z] e871e8e8d7a9: Pulling fs layer [2020-10-28T11:25:54.763Z] e73272ec9a57: Pulling fs layer [2020-10-28T11:25:54.763Z] 1e910a182e73: Pulling fs layer [2020-10-28T11:25:54.763Z] 4e634b169226: Pulling fs layer [2020-10-28T11:25:54.763Z] 4e634b169226: Waiting [2020-10-28T11:25:54.763Z] e73272ec9a57: Waiting [2020-10-28T11:25:54.763Z] 1e910a182e73: Waiting [2020-10-28T11:25:54.763Z] e871e8e8d7a9: Waiting [2020-10-28T11:25:54.763Z] a92cc7c5fd73: Verifying Checksum [2020-10-28T11:25:54.763Z] a92cc7c5fd73: Download complete [2020-10-28T11:25:54.763Z] ed8968b2872e: Download complete [2020-10-28T11:25:54.763Z] e73272ec9a57: Verifying Checksum [2020-10-28T11:25:54.763Z] e73272ec9a57: Download complete [2020-10-28T11:25:54.763Z] 1e910a182e73: Verifying Checksum [2020-10-28T11:25:54.763Z] 1e910a182e73: Download complete [2020-10-28T11:25:54.763Z] df20fa9351a1: Download complete [2020-10-28T11:25:55.024Z] df20fa9351a1: Pull complete [2020-10-28T11:25:55.289Z] ed8968b2872e: Pull complete [2020-10-28T11:25:55.553Z] a92cc7c5fd73: Pull complete [2020-10-28T11:25:57.510Z] 4e634b169226: Verifying Checksum [2020-10-28T11:25:57.510Z] 4e634b169226: Download complete [2020-10-28T11:25:58.092Z] e871e8e8d7a9: Verifying Checksum [2020-10-28T11:25:58.092Z] e871e8e8d7a9: Download complete [2020-10-28T11:26:03.414Z] e871e8e8d7a9: Pull complete [2020-10-28T11:26:03.414Z] e73272ec9a57: Pull complete [2020-10-28T11:26:03.415Z] 1e910a182e73: Pull complete [2020-10-28T11:26:07.659Z] 4e634b169226: Pull complete [2020-10-28T11:26:07.659Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-28T11:26:07.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-28T11:26:07.659Z] ---> f7629b54cfaa [2020-10-28T11:26:07.659Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-10-28T11:26:07.659Z] ---> Running in c112ef3bc5be [2020-10-28T11:26:07.922Z] Removing intermediate container c112ef3bc5be [2020-10-28T11:26:07.922Z] ---> 01e88d450941 [2020-10-28T11:26:07.922Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T11:26:07.922Z] ---> Running in d7b9d8d18636 [2020-10-28T11:26:08.185Z] Removing intermediate container d7b9d8d18636 [2020-10-28T11:26:08.185Z] ---> ebc1f0b5df02 [2020-10-28T11:26:08.185Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-28T11:26:08.185Z] ---> Running in b97146ab7fbb [2020-10-28T11:26:08.185Z] Removing intermediate container b97146ab7fbb [2020-10-28T11:26:08.185Z] ---> f5ac14dc0a2a [2020-10-28T11:26:08.185Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T11:26:08.449Z] ---> Running in 5f5030f2f166 [2020-10-28T11:26:09.406Z] Removing intermediate container 5f5030f2f166 [2020-10-28T11:26:09.406Z] ---> 7b2dcdcea317 [2020-10-28T11:26:09.406Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T11:26:09.406Z] ---> Running in 480266d3558f [2020-10-28T11:26:10.358Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T11:26:11.307Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T11:26:11.572Z] OK: 166 MiB in 39 packages [2020-10-28T11:26:12.147Z] Removing intermediate container 480266d3558f [2020-10-28T11:26:12.147Z] ---> 87d91c377c00 [2020-10-28T11:26:12.147Z] Step 8/10 : WORKDIR /device-rest-go [2020-10-28T11:26:12.147Z] ---> Running in d3a896767d32 [2020-10-28T11:26:12.410Z] Removing intermediate container d3a896767d32 [2020-10-28T11:26:12.410Z] ---> 12ff27443bbd [2020-10-28T11:26:12.410Z] Step 9/10 : COPY . . [2020-10-28T11:26:12.675Z] ---> 226b14ac39c7 [2020-10-28T11:26:12.675Z] Step 10/10 : RUN go mod download [2020-10-28T11:26:12.675Z] ---> Running in 81631826d392 [2020-10-28T11:26:18.712Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9459 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-10-28T11:26:18.766Z] Running in /w/workspace/device-rest-go/24 [Pipeline] { [Pipeline] checkout [2020-10-28T11:26:24.184Z] using credential edgex-jenkins-ssh [2020-10-28T11:26:24.245Z] Cloning the remote Git repository [2020-10-28T11:26:24.309Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-10-28T11:26:24.451Z] > git init /w/workspace/device-rest-go/24 # timeout=10 [2020-10-28T11:26:24.532Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-10-28T11:26:24.532Z] > git --version # timeout=10 [2020-10-28T11:26:24.563Z] > git --version # 'git version 2.17.1' [2020-10-28T11:26:24.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T11:26:24.627Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T11:26:26.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-10-28T11:26:26.150Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-28T11:26:26.185Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-10-28T11:26:26.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-10-28T11:26:26.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-28T11:26:26.243Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-28T11:26:26.719Z] Checking out Revision 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 (master) [2020-10-28T11:26:26.743Z] > git config core.sparsecheckout # timeout=10 [2020-10-28T11:26:26.756Z] > git checkout -f 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 [2020-10-28T11:26:31.190Z] Commit message: "refactor: Upgrade SDK to v1.2.4-dev.34 (#54)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-28T11:26:32.111Z] ========================================================= [2020-10-28T11:26:32.111Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-28T11:26:32.111Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:26:33.139Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-28T11:26:33.747Z] Sending build context to Docker daemon 79.87kB [2020-10-28T11:26:33.747Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-10-28T11:26:33.747Z] Step 2/10 : FROM ${BASE} [2020-10-28T11:26:34.351Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-28T11:26:34.351Z] b538f80385f9: Pulling fs layer [2020-10-28T11:26:34.351Z] 74f711af9a0d: Pulling fs layer [2020-10-28T11:26:34.351Z] 99f96fe45779: Pulling fs layer [2020-10-28T11:26:34.351Z] 8529a6b9a6be: Pulling fs layer [2020-10-28T11:26:34.351Z] 45590311c82a: Pulling fs layer [2020-10-28T11:26:34.351Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-28T11:26:34.351Z] 209524e5b208: Pulling fs layer [2020-10-28T11:26:34.351Z] 8529a6b9a6be: Waiting [2020-10-28T11:26:34.351Z] 45590311c82a: Waiting [2020-10-28T11:26:34.351Z] 69ca0ff8b7b3: Waiting [2020-10-28T11:26:34.351Z] 209524e5b208: Waiting [2020-10-28T11:26:34.351Z] 99f96fe45779: Verifying Checksum [2020-10-28T11:26:34.351Z] 99f96fe45779: Download complete [2020-10-28T11:26:34.351Z] 74f711af9a0d: Verifying Checksum [2020-10-28T11:26:34.351Z] 74f711af9a0d: Download complete [2020-10-28T11:26:34.351Z] 45590311c82a: Verifying Checksum [2020-10-28T11:26:34.351Z] 45590311c82a: Download complete [2020-10-28T11:26:34.351Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-28T11:26:34.351Z] 69ca0ff8b7b3: Download complete [2020-10-28T11:26:34.351Z] b538f80385f9: Verifying Checksum [2020-10-28T11:26:34.351Z] b538f80385f9: Download complete [2020-10-28T11:26:34.691Z] Removing intermediate container 81631826d392 [2020-10-28T11:26:34.692Z] ---> 59e731f91c4f [2020-10-28T11:26:34.692Z] Successfully built 59e731f91c4f [2020-10-28T11:26:34.692Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:26:34.968Z] b538f80385f9: Pull complete [2020-10-28T11:26:35.063Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-28T11:26:35.063Z] . [Pipeline] withDockerContainer [2020-10-28T11:26:35.165Z] prd-centos7-docker-4c-2g-9460 does not seem to be running inside a container [2020-10-28T11:26:35.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/24 -v /w/workspace/device-rest-go/24:/w/workspace/device-rest-go/24:rw,z -v /w/workspace/device-rest-go/24@tmp:/w/workspace/device-rest-go/24@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 ******** ci-base-image-x86_64 cat [2020-10-28T11:26:35.906Z] $ docker top 9912742cf820e71ffbf4bdccbe988680898f99f981d37072719df48dd40951c1 -eo pid,comm [2020-10-28T11:26:36.017Z] 74f711af9a0d: Pull complete [Pipeline] { [Pipeline] sh [2020-10-28T11:26:36.303Z] 99f96fe45779: Pull complete [2020-10-28T11:26:36.303Z] 209524e5b208: Verifying Checksum [2020-10-28T11:26:36.303Z] 209524e5b208: Download complete [2020-10-28T11:26:36.444Z] + go version [2020-10-28T11:26:36.444Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-28T11:26:36.467Z] $ docker stop --time=1 9912742cf820e71ffbf4bdccbe988680898f99f981d37072719df48dd40951c1 [2020-10-28T11:26:37.776Z] $ docker rm -f 9912742cf820e71ffbf4bdccbe988680898f99f981d37072719df48dd40951c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [2020-10-28T11:26:38.302Z] 8529a6b9a6be: Verifying Checksum [2020-10-28T11:26:38.302Z] 8529a6b9a6be: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-28T11:26:40.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T11:26:41.339Z] + ls -al . [2020-10-28T11:26:41.340Z] total 68 [2020-10-28T11:26:41.340Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 28 11:25 . [2020-10-28T11:26:41.340Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 28 11:25 .. [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 5294 Oct 28 11:25 Attribution.txt [2020-10-28T11:26:41.340Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 28 11:25 bin [2020-10-28T11:26:41.340Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 11:25 cmd [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 1519 Oct 28 11:25 Dockerfile [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 989 Oct 28 11:25 Dockerfile.build [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 28 11:25 .dockerignore [2020-10-28T11:26:41.340Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 28 11:25 driver [2020-10-28T11:26:41.340Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 28 11:25 .git [2020-10-28T11:26:41.340Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 11:25 .github [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 339 Oct 28 11:25 .gitignore [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 273 Oct 28 11:25 go.mod [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 28 11:25 Jenkinsfile [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 11:25 LICENSE [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 951 Oct 28 11:25 Makefile [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 5917 Oct 28 11:25 README.md [2020-10-28T11:26:41.340Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 11:25 snap [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 28 11:24 VERSION [2020-10-28T11:26:41.340Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 28 11:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:26:41.655Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=4f6fe4f9eeeb2b13b70d00045467dd3723511a77 --label arch=amd64 --label version=1.1.3-dev.8 . [2020-10-28T11:26:41.655Z] Sending build context to Docker daemon 80.38kB [2020-10-28T11:26:41.655Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-10-28T11:26:41.655Z] Step 2/25 : FROM ${BASE} AS builder [2020-10-28T11:26:41.655Z] ---> 59e731f91c4f [2020-10-28T11:26:41.655Z] Step 3/25 : ARG MAKE='make build' [2020-10-28T11:26:41.655Z] ---> Running in 8e62e2d07dab [2020-10-28T11:26:41.927Z] Removing intermediate container 8e62e2d07dab [2020-10-28T11:26:41.927Z] ---> 8c92b5558166 [2020-10-28T11:26:41.927Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-10-28T11:26:41.927Z] ---> Running in 194a6507713d [2020-10-28T11:26:42.191Z] Removing intermediate container 194a6507713d [2020-10-28T11:26:42.191Z] ---> 8e9a49b888cd [2020-10-28T11:26:42.191Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T11:26:42.191Z] ---> Running in 72f0b5f4b35b [2020-10-28T11:26:42.458Z] Removing intermediate container 72f0b5f4b35b [2020-10-28T11:26:42.458Z] ---> 216a5ccc29b1 [2020-10-28T11:26:42.458Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T11:26:42.458Z] ---> Running in 8be8e1acff37 [2020-10-28T11:26:43.412Z] Removing intermediate container 8be8e1acff37 [2020-10-28T11:26:43.412Z] ---> f3f5d5406ef5 [2020-10-28T11:26:43.412Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T11:26:43.412Z] ---> Running in b897f4bf1d87 [2020-10-28T11:26:43.998Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-28T11:26:45.404Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-28T11:26:45.984Z] OK: 166 MiB in 39 packages [2020-10-28T11:26:46.560Z] Removing intermediate container b897f4bf1d87 [2020-10-28T11:26:46.560Z] ---> ffe573d1f2fa [2020-10-28T11:26:46.560Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-10-28T11:26:46.560Z] ---> Running in 49e4b94a51a7 [2020-10-28T11:26:46.560Z] Removing intermediate container 49e4b94a51a7 [2020-10-28T11:26:46.560Z] ---> c6af18db165a [2020-10-28T11:26:46.560Z] Step 9/25 : COPY go.mod . [2020-10-28T11:26:46.824Z] ---> 79c9b481dab9 [2020-10-28T11:26:46.824Z] Step 10/25 : COPY Makefile . [2020-10-28T11:26:47.093Z] ---> 0b6df8b2f0ec [2020-10-28T11:26:47.093Z] Step 11/25 : RUN make update [2020-10-28T11:26:47.093Z] ---> Running in f3a13585446d [2020-10-28T11:26:47.676Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-10-28T11:26:47.943Z] Removing intermediate container f3a13585446d [2020-10-28T11:26:47.943Z] ---> 2fdc2af905f3 [2020-10-28T11:26:47.943Z] Step 12/25 : COPY . . [2020-10-28T11:26:48.205Z] ---> 4993e8727ae3 [2020-10-28T11:26:48.205Z] Step 13/25 : RUN $MAKE [2020-10-28T11:26:48.205Z] ---> Running in 98c6c252459b [2020-10-28T11:26:48.581Z] 8529a6b9a6be: Pull complete [2020-10-28T11:26:48.581Z] 45590311c82a: Pull complete [2020-10-28T11:26:48.790Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.8" -o cmd/device-rest-go ./cmd [2020-10-28T11:26:48.853Z] 69ca0ff8b7b3: Pull complete [2020-10-28T11:26:53.187Z] 209524e5b208: Pull complete [2020-10-28T11:26:53.187Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-28T11:26:53.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-28T11:26:53.187Z] ---> 5bddaf1c2fca [2020-10-28T11:26:53.187Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-10-28T11:26:55.814Z] ---> Running in 9fdb50ca44c4 [2020-10-28T11:26:55.814Z] Removing intermediate container 9fdb50ca44c4 [2020-10-28T11:26:55.814Z] ---> 01ae74678596 [2020-10-28T11:26:55.814Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T11:26:56.088Z] ---> Running in 22166959385f [2020-10-28T11:26:56.362Z] Removing intermediate container 22166959385f [2020-10-28T11:26:56.362Z] ---> 35a29a8836be [2020-10-28T11:26:56.362Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-28T11:26:56.643Z] ---> Running in 912bee348c3b [2020-10-28T11:26:57.241Z] Removing intermediate container 912bee348c3b [2020-10-28T11:26:57.241Z] ---> c8af93748d7f [2020-10-28T11:26:57.241Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T11:26:57.241Z] ---> Running in 8c74de1fbbe8 [2020-10-28T11:26:58.894Z] Removing intermediate container 98c6c252459b [2020-10-28T11:26:58.894Z] ---> 9d3fb43d5f4d [2020-10-28T11:26:58.894Z] Step 14/25 : FROM alpine:latest [2020-10-28T11:26:59.475Z] latest: Pulling from library/alpine [2020-10-28T11:26:59.475Z] 188c0c94c7c5: Pulling fs layer [2020-10-28T11:26:59.475Z] 188c0c94c7c5: Download complete [2020-10-28T11:26:59.740Z] 188c0c94c7c5: Pull complete [2020-10-28T11:26:59.740Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-28T11:26:59.740Z] Status: Downloaded newer image for alpine:latest [2020-10-28T11:26:59.740Z] ---> d6e46aa2470d [2020-10-28T11:26:59.740Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-28T11:27:00.003Z] ---> Running in b2d54c8c8212 [2020-10-28T11:27:00.003Z] Removing intermediate container b2d54c8c8212 [2020-10-28T11:27:00.003Z] ---> 587a51062401 [2020-10-28T11:27:00.003Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-10-28T11:27:00.268Z] ---> Running in 765926a32870 [2020-10-28T11:27:00.268Z] Removing intermediate container 765926a32870 [2020-10-28T11:27:00.268Z] ---> df4df96eaffa [2020-10-28T11:27:00.268Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-10-28T11:27:00.531Z] ---> 16a982034dce [2020-10-28T11:27:00.531Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-10-28T11:27:00.645Z] Removing intermediate container 8c74de1fbbe8 [2020-10-28T11:27:00.645Z] ---> 07f7b94c3696 [2020-10-28T11:27:00.645Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T11:27:00.645Z] ---> Running in aa46060164a4 [2020-10-28T11:27:00.794Z] ---> cf06eacc2797 [2020-10-28T11:27:00.794Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-10-28T11:27:01.370Z] ---> e54e0d4b167e [2020-10-28T11:27:01.370Z] Step 20/25 : EXPOSE 49986 [2020-10-28T11:27:01.370Z] ---> Running in 9d64bcf2a351 [2020-10-28T11:27:01.620Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T11:27:01.635Z] Removing intermediate container 9d64bcf2a351 [2020-10-28T11:27:01.635Z] ---> 22f744ec064d [2020-10-28T11:27:01.635Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-10-28T11:27:01.635Z] ---> Running in 47b44c2b21c8 [2020-10-28T11:27:01.635Z] Removing intermediate container 47b44c2b21c8 [2020-10-28T11:27:01.635Z] ---> f1a205919dea [2020-10-28T11:27:01.635Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-10-28T11:27:01.903Z] ---> Running in ae2fa5bed583 [2020-10-28T11:27:01.903Z] Removing intermediate container ae2fa5bed583 [2020-10-28T11:27:01.903Z] ---> c25bdfe8c29b [2020-10-28T11:27:01.903Z] Step 23/25 : LABEL arch=amd64 [2020-10-28T11:27:02.166Z] ---> Running in bedcc56a5f82 [2020-10-28T11:27:02.166Z] Removing intermediate container bedcc56a5f82 [2020-10-28T11:27:02.166Z] ---> ce8cc9fc9fa5 [2020-10-28T11:27:02.166Z] Step 24/25 : LABEL git_sha=4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:27:02.166Z] ---> Running in c2af940dffd2 [2020-10-28T11:27:02.428Z] Removing intermediate container c2af940dffd2 [2020-10-28T11:27:02.428Z] ---> fa556654aaa1 [2020-10-28T11:27:02.428Z] Step 25/25 : LABEL version=1.1.3-dev.8 [2020-10-28T11:27:02.428Z] ---> Running in 342b959bcb3f [2020-10-28T11:27:02.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T11:27:02.691Z] Removing intermediate container 342b959bcb3f [2020-10-28T11:27:02.691Z] ---> 48cf2f3aa2ca [2020-10-28T11:27:02.691Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T11:27:02.691Z] Successfully built 48cf2f3aa2ca [2020-10-28T11:27:02.691Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-10-28T11:27:03.152Z] provisioning config files... [2020-10-28T11:27:03.184Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/24@tmp/config8064622479359089327tmp [2020-10-28T11:27:03.191Z] OK: 142 MiB in 39 packages [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:27:03.551Z] ---> docker-login.sh [2020-10-28T11:27:03.551Z] nexus3.edgexfoundry.org:10001 [2020-10-28T11:27:03.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:27:03.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:27:03.816Z] Configure a credential helper to remove this warning. See [2020-10-28T11:27:03.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:27:03.816Z] [2020-10-28T11:27:04.080Z] Login Succeeded [2020-10-28T11:27:04.080Z] nexus3.edgexfoundry.org:10002 [2020-10-28T11:27:04.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:27:04.170Z] Removing intermediate container aa46060164a4 [2020-10-28T11:27:04.170Z] ---> c5afac269cc2 [2020-10-28T11:27:04.170Z] Step 8/10 : WORKDIR /device-rest-go [2020-10-28T11:27:04.170Z] ---> Running in ed634834f5cf [2020-10-28T11:27:04.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:27:04.345Z] Configure a credential helper to remove this warning. See [2020-10-28T11:27:04.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:27:04.345Z] [2020-10-28T11:27:04.345Z] Login Succeeded [2020-10-28T11:27:04.345Z] nexus3.edgexfoundry.org:10003 [2020-10-28T11:27:04.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:27:04.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:27:04.345Z] Configure a credential helper to remove this warning. See [2020-10-28T11:27:04.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:27:04.345Z] [2020-10-28T11:27:04.345Z] Login Succeeded [2020-10-28T11:27:04.345Z] nexus3.edgexfoundry.org:10004 [2020-10-28T11:27:04.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:27:04.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:27:04.608Z] Configure a credential helper to remove this warning. See [2020-10-28T11:27:04.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:27:04.608Z] [2020-10-28T11:27:04.608Z] Login Succeeded [2020-10-28T11:27:04.608Z] docker.io [2020-10-28T11:27:04.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:27:04.771Z] Removing intermediate container ed634834f5cf [2020-10-28T11:27:04.771Z] ---> 95f260611c2c [2020-10-28T11:27:04.771Z] Step 9/10 : COPY . . [2020-10-28T11:27:04.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:27:04.870Z] Configure a credential helper to remove this warning. See [2020-10-28T11:27:04.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:27:04.870Z] [2020-10-28T11:27:04.870Z] Login Succeeded [2020-10-28T11:27:04.870Z] ---> docker-login.sh ends [Pipeline] } [2020-10-28T11:27:04.882Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-28T11:27:05.098Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-10-28T11:27:05.098Z] 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:27:05.098Z] latest [2020-10-28T11:27:05.098Z] 1.1.3-dev.8 [2020-10-28T11:27:05.098Z] 4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8 [2020-10-28T11:27:05.098Z] master [2020-10-28T11:27:05.098Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:05.371Z] ---> 138f7bf679bb [2020-10-28T11:27:05.371Z] Step 10/10 : RUN go mod download [2020-10-28T11:27:05.608Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:05.649Z] ---> Running in d33d999879f0 [2020-10-28T11:27:05.913Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:27:05.913Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-10-28T11:27:05.913Z] ebb0cbdb36c5: Preparing [2020-10-28T11:27:05.913Z] a66553fd0786: Preparing [2020-10-28T11:27:05.913Z] 95dda964823a: Preparing [2020-10-28T11:27:05.913Z] ace0eda3e3be: Preparing [2020-10-28T11:27:05.913Z] ace0eda3e3be: Layer already exists [2020-10-28T11:27:06.175Z] a66553fd0786: Pushed [2020-10-28T11:27:06.175Z] 95dda964823a: Pushed [2020-10-28T11:27:07.127Z] ebb0cbdb36c5: Pushed [2020-10-28T11:27:07.389Z] 4f6fe4f9eeeb2b13b70d00045467dd3723511a77: digest: sha256:207d2697abbf184953b0ab628cfc3e19b6291a45301047f6c00052813c3c4207 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:07.699Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:08.009Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-10-28T11:27:08.009Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-10-28T11:27:08.009Z] ebb0cbdb36c5: Preparing [2020-10-28T11:27:08.009Z] a66553fd0786: Preparing [2020-10-28T11:27:08.009Z] 95dda964823a: Preparing [2020-10-28T11:27:08.009Z] ace0eda3e3be: Preparing [2020-10-28T11:27:08.009Z] a66553fd0786: Layer already exists [2020-10-28T11:27:08.009Z] ebb0cbdb36c5: Layer already exists [2020-10-28T11:27:08.009Z] ace0eda3e3be: Layer already exists [2020-10-28T11:27:08.009Z] 95dda964823a: Layer already exists [2020-10-28T11:27:08.009Z] latest: digest: sha256:207d2697abbf184953b0ab628cfc3e19b6291a45301047f6c00052813c3c4207 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:08.317Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.8 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:08.621Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.8 [2020-10-28T11:27:08.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-10-28T11:27:08.621Z] ebb0cbdb36c5: Preparing [2020-10-28T11:27:08.621Z] a66553fd0786: Preparing [2020-10-28T11:27:08.621Z] 95dda964823a: Preparing [2020-10-28T11:27:08.621Z] ace0eda3e3be: Preparing [2020-10-28T11:27:08.621Z] 95dda964823a: Layer already exists [2020-10-28T11:27:08.621Z] ebb0cbdb36c5: Layer already exists [2020-10-28T11:27:08.621Z] ace0eda3e3be: Layer already exists [2020-10-28T11:27:08.621Z] a66553fd0786: Layer already exists [2020-10-28T11:27:08.621Z] 1.1.3-dev.8: digest: sha256:207d2697abbf184953b0ab628cfc3e19b6291a45301047f6c00052813c3c4207 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:08.932Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:09.238Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8 [2020-10-28T11:27:09.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-10-28T11:27:09.238Z] ebb0cbdb36c5: Preparing [2020-10-28T11:27:09.238Z] a66553fd0786: Preparing [2020-10-28T11:27:09.238Z] 95dda964823a: Preparing [2020-10-28T11:27:09.238Z] ace0eda3e3be: Preparing [2020-10-28T11:27:09.238Z] ace0eda3e3be: Layer already exists [2020-10-28T11:27:09.238Z] a66553fd0786: Layer already exists [2020-10-28T11:27:09.238Z] 95dda964823a: Layer already exists [2020-10-28T11:27:09.238Z] ebb0cbdb36c5: Layer already exists [2020-10-28T11:27:09.238Z] 4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8: digest: sha256:207d2697abbf184953b0ab628cfc3e19b6291a45301047f6c00052813c3c4207 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:09.546Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:09.854Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-10-28T11:27:09.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-10-28T11:27:09.854Z] ebb0cbdb36c5: Preparing [2020-10-28T11:27:09.854Z] a66553fd0786: Preparing [2020-10-28T11:27:09.854Z] 95dda964823a: Preparing [2020-10-28T11:27:09.854Z] ace0eda3e3be: Preparing [2020-10-28T11:27:09.854Z] ace0eda3e3be: Layer already exists [2020-10-28T11:27:09.854Z] a66553fd0786: Layer already exists [2020-10-28T11:27:09.854Z] ebb0cbdb36c5: Layer already exists [2020-10-28T11:27:09.854Z] 95dda964823a: Layer already exists [2020-10-28T11:27:09.854Z] master: digest: sha256:207d2697abbf184953b0ab628cfc3e19b6291a45301047f6c00052813c3c4207 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-28T11:27:10.126Z] ===================================================== [Pipeline] echo [2020-10-28T11:27:10.239Z] taggedImages: [2020-10-28T11:27:10.239Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:27:10.239Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-10-28T11:27:10.239Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.3-dev.8 [2020-10-28T11:27:10.239Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8 [2020-10-28T11:27:10.239Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-28T11:27:27.821Z] Removing intermediate container d33d999879f0 [2020-10-28T11:27:27.821Z] ---> 4edd416ef788 [2020-10-28T11:27:27.821Z] Successfully built 4edd416ef788 [2020-10-28T11:27:27.821Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:28.226Z] + docker inspect -f . ci-base-image-arm64 [2020-10-28T11:27:28.227Z] . [Pipeline] withDockerContainer [2020-10-28T11:27:28.501Z] prd-ubuntu18.04-docker-arm64-4c-16g-9459 does not seem to be running inside a container [2020-10-28T11:27:28.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/24 -v /w/workspace/device-rest-go/24:/w/workspace/device-rest-go/24:rw,z -v /w/workspace/device-rest-go/24@tmp:/w/workspace/device-rest-go/24@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 ******** ci-base-image-arm64 cat [2020-10-28T11:27:30.432Z] $ docker top 85e12d2cac943d80970bec6795c078ff8b5035a3f7a5ae50a6d506494abe1cdb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T11:27:31.858Z] + go version [2020-10-28T11:27:31.858Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-28T11:27:31.885Z] $ docker stop --time=1 85e12d2cac943d80970bec6795c078ff8b5035a3f7a5ae50a6d506494abe1cdb [2020-10-28T11:27:33.874Z] $ docker rm -f 85e12d2cac943d80970bec6795c078ff8b5035a3f7a5ae50a6d506494abe1cdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-28T11:27:35.126Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-28T11:27:35.460Z] + ls -al . [2020-10-28T11:27:35.460Z] total 96 [2020-10-28T11:27:35.460Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 11:26 . [2020-10-28T11:27:35.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 11:26 .. [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 28 11:26 .dockerignore [2020-10-28T11:27:35.460Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 11:26 .git [2020-10-28T11:27:35.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 11:26 .github [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 339 Oct 28 11:26 .gitignore [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 5294 Oct 28 11:26 Attribution.txt [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 1519 Oct 28 11:26 Dockerfile [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 989 Oct 28 11:26 Dockerfile.build [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 28 11:26 Jenkinsfile [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 11:26 LICENSE [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 951 Oct 28 11:26 Makefile [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 5917 Oct 28 11:26 README.md [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 28 11:24 VERSION [2020-10-28T11:27:35.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 11:26 bin [2020-10-28T11:27:35.460Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 11:26 cmd [2020-10-28T11:27:35.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 11:26 driver [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 273 Oct 28 11:26 go.mod [2020-10-28T11:27:35.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 11:26 snap [2020-10-28T11:27:35.460Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 28 11:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:27:35.804Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4f6fe4f9eeeb2b13b70d00045467dd3723511a77 --label arch=arm64 --label version=1.1.3-dev.8 . [2020-10-28T11:27:35.804Z] Sending build context to Docker daemon 80.38kB [2020-10-28T11:27:36.086Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-10-28T11:27:36.086Z] Step 2/25 : FROM ${BASE} AS builder [2020-10-28T11:27:36.086Z] ---> 4edd416ef788 [2020-10-28T11:27:36.086Z] Step 3/25 : ARG MAKE='make build' [2020-10-28T11:27:36.360Z] ---> Running in 1cef422c72dd [2020-10-28T11:27:36.954Z] Removing intermediate container 1cef422c72dd [2020-10-28T11:27:36.954Z] ---> c8fc9f17834b [2020-10-28T11:27:36.954Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-10-28T11:27:36.954Z] ---> Running in efcdbf68e93b [2020-10-28T11:27:37.552Z] Removing intermediate container efcdbf68e93b [2020-10-28T11:27:37.553Z] ---> 91a4265a228a [2020-10-28T11:27:37.553Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-10-28T11:27:37.553Z] ---> Running in 07c576a877b9 [2020-10-28T11:27:38.145Z] Removing intermediate container 07c576a877b9 [2020-10-28T11:27:38.145Z] ---> 509a0f09cfac [2020-10-28T11:27:38.145Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-28T11:27:38.145Z] ---> Running in 71d538c5748b [2020-10-28T11:27:40.779Z] Removing intermediate container 71d538c5748b [2020-10-28T11:27:40.779Z] ---> 4b4d6d86a35e [2020-10-28T11:27:40.779Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-28T11:27:40.779Z] ---> Running in 3fbf3b9bfc56 [2020-10-28T11:27:42.211Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-28T11:27:43.188Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-28T11:27:43.461Z] OK: 142 MiB in 39 packages [2020-10-28T11:27:44.896Z] Removing intermediate container 3fbf3b9bfc56 [2020-10-28T11:27:44.896Z] ---> 215b35e097ee [2020-10-28T11:27:44.896Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-10-28T11:27:44.896Z] ---> Running in c1b031fabd02 [2020-10-28T11:27:45.491Z] Removing intermediate container c1b031fabd02 [2020-10-28T11:27:45.491Z] ---> cdc909634fb6 [2020-10-28T11:27:45.491Z] Step 9/25 : COPY go.mod . [2020-10-28T11:27:46.086Z] ---> 85036ab2cab3 [2020-10-28T11:27:46.086Z] Step 10/25 : COPY Makefile . [2020-10-28T11:27:46.686Z] ---> bb5fc5ea216f [2020-10-28T11:27:46.686Z] Step 11/25 : RUN make update [2020-10-28T11:27:46.686Z] ---> Running in 91bb21d7a704 [2020-10-28T11:27:48.124Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-10-28T11:27:49.557Z] Removing intermediate container 91bb21d7a704 [2020-10-28T11:27:49.557Z] ---> aaa04dce290e [2020-10-28T11:27:49.557Z] Step 12/25 : COPY . . [2020-10-28T11:27:50.168Z] ---> 4b20f6ca93d1 [2020-10-28T11:27:50.168Z] Step 13/25 : RUN $MAKE [2020-10-28T11:27:50.441Z] ---> Running in efffb768ff0b [2020-10-28T11:27:51.876Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.3-dev.8" -o cmd/device-rest-go ./cmd [2020-10-28T11:28:18.697Z] Removing intermediate container efffb768ff0b [2020-10-28T11:28:18.697Z] ---> 455962583d7e [2020-10-28T11:28:18.697Z] Step 14/25 : FROM alpine:latest [2020-10-28T11:28:18.697Z] latest: Pulling from library/alpine [2020-10-28T11:28:18.973Z] 5f621e34cdf4: Pulling fs layer [2020-10-28T11:28:18.973Z] 5f621e34cdf4: Verifying Checksum [2020-10-28T11:28:18.973Z] 5f621e34cdf4: Download complete [2020-10-28T11:28:19.581Z] 5f621e34cdf4: Pull complete [2020-10-28T11:28:19.581Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-10-28T11:28:19.581Z] Status: Downloaded newer image for alpine:latest [2020-10-28T11:28:19.581Z] ---> 2e77e061c27f [2020-10-28T11:28:19.581Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-10-28T11:28:19.853Z] ---> Running in a22fee47f2b7 [2020-10-28T11:28:20.128Z] Removing intermediate container a22fee47f2b7 [2020-10-28T11:28:20.128Z] ---> 6e98f3893066 [2020-10-28T11:28:20.128Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-10-28T11:28:20.402Z] ---> Running in 5e92822cf8b0 [2020-10-28T11:28:20.996Z] Removing intermediate container 5e92822cf8b0 [2020-10-28T11:28:20.996Z] ---> d977f00801bd [2020-10-28T11:28:20.996Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-10-28T11:28:21.591Z] ---> 54fbae41091c [2020-10-28T11:28:21.591Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-10-28T11:28:22.187Z] ---> 48e428228199 [2020-10-28T11:28:22.187Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-10-28T11:28:23.636Z] ---> 08a1adc9a2a2 [2020-10-28T11:28:23.636Z] Step 20/25 : EXPOSE 49986 [2020-10-28T11:28:23.919Z] ---> Running in 6cfd6bfb5c0d [2020-10-28T11:28:24.194Z] Removing intermediate container 6cfd6bfb5c0d [2020-10-28T11:28:24.194Z] ---> 656b094c5c13 [2020-10-28T11:28:24.194Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-10-28T11:28:24.467Z] ---> Running in 5fac19a0c523 [2020-10-28T11:28:24.739Z] Removing intermediate container 5fac19a0c523 [2020-10-28T11:28:24.739Z] ---> 7758a54f3243 [2020-10-28T11:28:24.739Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-10-28T11:28:25.013Z] ---> Running in 958e3c925cb3 [2020-10-28T11:28:25.287Z] Removing intermediate container 958e3c925cb3 [2020-10-28T11:28:25.287Z] ---> 59fa6be53162 [2020-10-28T11:28:25.287Z] Step 23/25 : LABEL arch=arm64 [2020-10-28T11:28:25.564Z] ---> Running in 9d626b7a02a7 [2020-10-28T11:28:25.836Z] Removing intermediate container 9d626b7a02a7 [2020-10-28T11:28:25.836Z] ---> a5514d8806b0 [2020-10-28T11:28:25.836Z] Step 24/25 : LABEL git_sha=4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:28:26.110Z] ---> Running in b5147a932c97 [2020-10-28T11:28:26.708Z] Removing intermediate container b5147a932c97 [2020-10-28T11:28:26.708Z] ---> 089b77bac4de [2020-10-28T11:28:26.708Z] Step 25/25 : LABEL version=1.1.3-dev.8 [2020-10-28T11:28:26.708Z] ---> Running in 8b8e43d5b4e7 [2020-10-28T11:28:26.983Z] Removing intermediate container 8b8e43d5b4e7 [2020-10-28T11:28:26.983Z] ---> 0b6da320c134 [2020-10-28T11:28:26.983Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-28T11:28:26.983Z] Successfully built 0b6da320c134 [2020-10-28T11:28:26.983Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-10-28T11:28:27.435Z] provisioning config files... [2020-10-28T11:28:27.478Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/24@tmp/config8350283530182271454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:28:27.881Z] ---> docker-login.sh [2020-10-28T11:28:27.882Z] nexus3.edgexfoundry.org:10001 [2020-10-28T11:28:28.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:28:28.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:28:28.427Z] Configure a credential helper to remove this warning. See [2020-10-28T11:28:28.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:28:28.427Z] [2020-10-28T11:28:28.427Z] Login Succeeded [2020-10-28T11:28:28.427Z] nexus3.edgexfoundry.org:10002 [2020-10-28T11:28:28.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:28:28.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:28:28.975Z] Configure a credential helper to remove this warning. See [2020-10-28T11:28:28.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:28:28.975Z] [2020-10-28T11:28:28.975Z] Login Succeeded [2020-10-28T11:28:28.975Z] nexus3.edgexfoundry.org:10003 [2020-10-28T11:28:29.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:28:29.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:28:29.574Z] Configure a credential helper to remove this warning. See [2020-10-28T11:28:29.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:28:29.574Z] [2020-10-28T11:28:29.574Z] Login Succeeded [2020-10-28T11:28:29.574Z] nexus3.edgexfoundry.org:10004 [2020-10-28T11:28:30.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:28:30.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:28:30.170Z] Configure a credential helper to remove this warning. See [2020-10-28T11:28:30.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:28:30.170Z] [2020-10-28T11:28:30.170Z] Login Succeeded [2020-10-28T11:28:30.170Z] docker.io [2020-10-28T11:28:30.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-10-28T11:28:31.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-10-28T11:28:31.039Z] Configure a credential helper to remove this warning. See [2020-10-28T11:28:31.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-10-28T11:28:31.039Z] [2020-10-28T11:28:31.039Z] Login Succeeded [2020-10-28T11:28:31.039Z] ---> docker-login.sh ends [Pipeline] } [2020-10-28T11:28:31.057Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-28T11:28:31.277Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-10-28T11:28:31.277Z] 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:28:31.277Z] latest [2020-10-28T11:28:31.277Z] 1.1.3-dev.8 [2020-10-28T11:28:31.277Z] 4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8 [2020-10-28T11:28:31.277Z] master [2020-10-28T11:28:31.277Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:31.950Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:32.285Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:28:32.285Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-10-28T11:28:32.285Z] 11bde7382d5b: Preparing [2020-10-28T11:28:32.285Z] 1888f15ef43b: Preparing [2020-10-28T11:28:32.285Z] 7c6bf9093769: Preparing [2020-10-28T11:28:32.285Z] cd3761cfa1d9: Preparing [2020-10-28T11:28:32.557Z] cd3761cfa1d9: Layer already exists [2020-10-28T11:28:32.557Z] 7c6bf9093769: Pushed [2020-10-28T11:28:32.557Z] 1888f15ef43b: Pushed [2020-10-28T11:28:35.164Z] 11bde7382d5b: Pushed [2020-10-28T11:28:35.164Z] 4f6fe4f9eeeb2b13b70d00045467dd3723511a77: digest: sha256:8a190c0226c375489af9edc26a3614fb15976495dd6a0e165c5d8b0cd7e128f7 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:35.505Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:35.971Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-10-28T11:28:35.971Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-10-28T11:28:35.971Z] 11bde7382d5b: Preparing [2020-10-28T11:28:35.971Z] 1888f15ef43b: Preparing [2020-10-28T11:28:35.971Z] 7c6bf9093769: Preparing [2020-10-28T11:28:35.971Z] cd3761cfa1d9: Preparing [2020-10-28T11:28:36.267Z] cd3761cfa1d9: Layer already exists [2020-10-28T11:28:36.267Z] 11bde7382d5b: Layer already exists [2020-10-28T11:28:36.267Z] 1888f15ef43b: Layer already exists [2020-10-28T11:28:36.267Z] 7c6bf9093769: Layer already exists [2020-10-28T11:28:36.267Z] latest: digest: sha256:8a190c0226c375489af9edc26a3614fb15976495dd6a0e165c5d8b0cd7e128f7 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:36.674Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.8 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:37.031Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.8 [2020-10-28T11:28:37.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-10-28T11:28:37.031Z] 11bde7382d5b: Preparing [2020-10-28T11:28:37.031Z] 1888f15ef43b: Preparing [2020-10-28T11:28:37.031Z] 7c6bf9093769: Preparing [2020-10-28T11:28:37.031Z] cd3761cfa1d9: Preparing [2020-10-28T11:28:37.388Z] 11bde7382d5b: Layer already exists [2020-10-28T11:28:37.388Z] 7c6bf9093769: Layer already exists [2020-10-28T11:28:37.388Z] 1888f15ef43b: Layer already exists [2020-10-28T11:28:37.388Z] cd3761cfa1d9: Layer already exists [2020-10-28T11:28:37.388Z] 1.1.3-dev.8: digest: sha256:8a190c0226c375489af9edc26a3614fb15976495dd6a0e165c5d8b0cd7e128f7 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:37.781Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:38.180Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8 [2020-10-28T11:28:38.181Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-10-28T11:28:38.456Z] 11bde7382d5b: Preparing [2020-10-28T11:28:38.456Z] 1888f15ef43b: Preparing [2020-10-28T11:28:38.456Z] 7c6bf9093769: Preparing [2020-10-28T11:28:38.456Z] cd3761cfa1d9: Preparing [2020-10-28T11:28:38.456Z] 1888f15ef43b: Layer already exists [2020-10-28T11:28:38.456Z] 7c6bf9093769: Layer already exists [2020-10-28T11:28:38.456Z] 11bde7382d5b: Layer already exists [2020-10-28T11:28:38.456Z] cd3761cfa1d9: Layer already exists [2020-10-28T11:28:38.456Z] 4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8: digest: sha256:8a190c0226c375489af9edc26a3614fb15976495dd6a0e165c5d8b0cd7e128f7 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:38.803Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:39.141Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-10-28T11:28:39.141Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-10-28T11:28:39.141Z] 11bde7382d5b: Preparing [2020-10-28T11:28:39.141Z] 1888f15ef43b: Preparing [2020-10-28T11:28:39.141Z] 7c6bf9093769: Preparing [2020-10-28T11:28:39.141Z] cd3761cfa1d9: Preparing [2020-10-28T11:28:39.141Z] cd3761cfa1d9: Layer already exists [2020-10-28T11:28:39.141Z] 7c6bf9093769: Layer already exists [2020-10-28T11:28:39.141Z] 11bde7382d5b: Layer already exists [2020-10-28T11:28:39.141Z] 1888f15ef43b: Layer already exists [2020-10-28T11:28:39.415Z] master: digest: sha256:8a190c0226c375489af9edc26a3614fb15976495dd6a0e165c5d8b0cd7e128f7 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-10-28T11:28:39.629Z] ===================================================== [Pipeline] echo [2020-10-28T11:28:39.677Z] taggedImages: [2020-10-28T11:28:39.677Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:28:39.677Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-10-28T11:28:39.677Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.3-dev.8 [2020-10-28T11:28:39.677Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f6fe4f9eeeb2b13b70d00045467dd3723511a77-1.1.3-dev.8 [2020-10-28T11:28:39.677Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-10-28T11:28:41.524Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-10-28T11:28:41.527Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-10-28T11:28:41.584Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:42.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-10-28T11:28:42.290Z] [2020-10-28T11:28:42.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:28:42.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-10-28T11:28:42.719Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-10-28T11:28:42.719Z] cbdbe7a5bc2a: Pulling fs layer [2020-10-28T11:28:42.719Z] 408f87550127: Pulling fs layer [2020-10-28T11:28:42.719Z] fe522b08c979: Pulling fs layer [2020-10-28T11:28:42.719Z] 221eaa008020: Pulling fs layer [2020-10-28T11:28:42.719Z] 2a4607e5d6b9: Pulling fs layer [2020-10-28T11:28:42.719Z] 8f79b27c4fd2: Pulling fs layer [2020-10-28T11:28:42.719Z] e5c8dbe1645b: Pulling fs layer [2020-10-28T11:28:42.719Z] 23e8b3b47431: Pulling fs layer [2020-10-28T11:28:42.719Z] 5c568d65a230: Pulling fs layer [2020-10-28T11:28:42.719Z] 221eaa008020: Waiting [2020-10-28T11:28:42.719Z] 2a4607e5d6b9: Waiting [2020-10-28T11:28:42.719Z] 8f79b27c4fd2: Waiting [2020-10-28T11:28:42.719Z] e5c8dbe1645b: Waiting [2020-10-28T11:28:42.719Z] 23e8b3b47431: Waiting [2020-10-28T11:28:42.719Z] 5c568d65a230: Waiting [2020-10-28T11:28:42.719Z] fe522b08c979: Verifying Checksum [2020-10-28T11:28:42.719Z] fe522b08c979: Download complete [2020-10-28T11:28:42.719Z] 408f87550127: Download complete [2020-10-28T11:28:43.038Z] 2a4607e5d6b9: Verifying Checksum [2020-10-28T11:28:43.038Z] 2a4607e5d6b9: Download complete [2020-10-28T11:28:43.038Z] 8f79b27c4fd2: Verifying Checksum [2020-10-28T11:28:43.038Z] 8f79b27c4fd2: Download complete [2020-10-28T11:28:43.490Z] cbdbe7a5bc2a: Verifying Checksum [2020-10-28T11:28:43.490Z] cbdbe7a5bc2a: Download complete [2020-10-28T11:28:44.118Z] cbdbe7a5bc2a: Pull complete [2020-10-28T11:28:44.736Z] 408f87550127: Pull complete [2020-10-28T11:28:45.020Z] e5c8dbe1645b: Download complete [2020-10-28T11:28:45.299Z] fe522b08c979: Pull complete [2020-10-28T11:28:46.848Z] 23e8b3b47431: Verifying Checksum [2020-10-28T11:28:46.848Z] 23e8b3b47431: Download complete [2020-10-28T11:28:47.876Z] 5c568d65a230: Verifying Checksum [2020-10-28T11:28:47.876Z] 5c568d65a230: Download complete [2020-10-28T11:28:50.546Z] 221eaa008020: Verifying Checksum [2020-10-28T11:28:50.546Z] 221eaa008020: Download complete [2020-10-28T11:28:58.860Z] 221eaa008020: Pull complete [2020-10-28T11:28:58.860Z] 2a4607e5d6b9: Pull complete [2020-10-28T11:28:58.860Z] 8f79b27c4fd2: Pull complete [2020-10-28T11:29:00.915Z] e5c8dbe1645b: Pull complete [2020-10-28T11:29:04.287Z] 23e8b3b47431: Pull complete [2020-10-28T11:29:06.256Z] 5c568d65a230: Pull complete [2020-10-28T11:29:06.256Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-10-28T11:29:06.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-10-28T11:29:06.256Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-10-28T11:29:06.523Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:29:06.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-10-28T11:29:08.541Z] $ docker top f2033053d7b178ec6a86cab5370549cd197d38b950348e03d87e5f705b2dd7f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T11:29:09.112Z] + snyk monitor '--org=edgex-jenkins' [2020-10-28T11:30:17.308Z] [2020-10-28T11:30:17.308Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2020-10-28T11:30:17.308Z] [2020-10-28T11:30:17.308Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/cd054892-9156-4cb7-8b85-daec48d4dd09 [2020-10-28T11:30:17.308Z] [2020-10-28T11:30:17.308Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-10-28T11:30:17.308Z] [2020-10-28T11:30:17.308Z] [2020-10-28T11:30:17.308Z] Snyk CLI supports Node.js 8 and higher. [2020-10-28T11:30:17.308Z] Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. [2020-10-28T11:30:17.308Z] Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. [2020-10-28T11:30:17.308Z] [2020-10-28T11:30:17.308Z] The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. [2020-10-28T11:30:17.308Z] The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. [2020-10-28T11:30:17.308Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-10-28T11:30:17.308Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-10-28T11:30:17.352Z] $ docker stop --time=1 f2033053d7b178ec6a86cab5370549cd197d38b950348e03d87e5f705b2dd7f6 [2020-10-28T11:30:19.118Z] $ docker rm -f f2033053d7b178ec6a86cab5370549cd197d38b950348e03d87e5f705b2dd7f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:30:20.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T11:30:20.737Z] [2020-10-28T11:30:20.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:30:21.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T11:30:21.209Z] latest: Pulling from edgex-devops/edgex-klar [2020-10-28T11:30:21.209Z] e7c96db7181b: Pulling fs layer [2020-10-28T11:30:21.209Z] 1868ca2cb446: Pulling fs layer [2020-10-28T11:30:21.209Z] 136be5d0fe8e: Pulling fs layer [2020-10-28T11:30:21.209Z] 894bfe63afcb: Pulling fs layer [2020-10-28T11:30:21.209Z] 894bfe63afcb: Waiting [2020-10-28T11:30:21.489Z] 1868ca2cb446: Verifying Checksum [2020-10-28T11:30:21.489Z] 1868ca2cb446: Download complete [2020-10-28T11:30:21.489Z] 136be5d0fe8e: Download complete [2020-10-28T11:30:21.782Z] e7c96db7181b: Verifying Checksum [2020-10-28T11:30:21.782Z] e7c96db7181b: Download complete [2020-10-28T11:30:21.782Z] 894bfe63afcb: Verifying Checksum [2020-10-28T11:30:21.782Z] 894bfe63afcb: Download complete [2020-10-28T11:30:22.393Z] e7c96db7181b: Pull complete [2020-10-28T11:30:22.393Z] 1868ca2cb446: Pull complete [2020-10-28T11:30:22.663Z] 136be5d0fe8e: Pull complete [2020-10-28T11:30:23.293Z] 894bfe63afcb: Pull complete [2020-10-28T11:30:23.293Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-10-28T11:30:23.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T11:30:23.293Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-10-28T11:30:23.497Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:30:23.570Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-10-28T11:30:24.827Z] $ docker top 1db7bb89bb91b613eaf208f57173598dc20fda0a0d53648ade75ab2482d14dd6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-28T11:30:25.485Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:30:25.485Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-28T11:30:29.922Z] $ docker stop --time=1 1db7bb89bb91b613eaf208f57173598dc20fda0a0d53648ade75ab2482d14dd6 [2020-10-28T11:30:31.380Z] $ docker rm -f 1db7bb89bb91b613eaf208f57173598dc20fda0a0d53648ade75ab2482d14dd6 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:30:31.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T11:30:31.947Z] . [Pipeline] withDockerContainer [2020-10-28T11:30:32.150Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:30:32.303Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-10-28T11:30:33.600Z] $ docker top f602d418e4fe8762f3946cd704beac526a3fb9cc9961fce36c64dc33e3ffc09f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-28T11:30:34.330Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:30:34.330Z] + tee [2020-10-28T11:30:34.330Z] clair timeout 1m0s [2020-10-28T11:30:34.330Z] docker timeout: 1m0s [2020-10-28T11:30:34.330Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-28T11:30:35.440Z] $ docker stop --time=1 f602d418e4fe8762f3946cd704beac526a3fb9cc9961fce36c64dc33e3ffc09f [2020-10-28T11:30:37.005Z] $ docker rm -f f602d418e4fe8762f3946cd704beac526a3fb9cc9961fce36c64dc33e3ffc09f [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T11:30:37.912Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-10-28T11:30:37.984Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go_4f6fe4f9eeeb2b13b70d00045467dd3723511a77.html [Pipeline] writeFile [Pipeline] step [2020-10-28T11:30:38.057Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:30:39.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T11:30:39.512Z] . [Pipeline] withDockerContainer [2020-10-28T11:30:39.770Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:30:39.870Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-10-28T11:30:41.195Z] $ docker top d3577af6a333185cba734c02a4e54ea43ce6d141bf47060bcb06bc1df5aba2f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-28T11:30:42.160Z] + tee [2020-10-28T11:30:42.160Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-28T11:30:45.769Z] $ docker stop --time=1 d3577af6a333185cba734c02a4e54ea43ce6d141bf47060bcb06bc1df5aba2f7 [2020-10-28T11:30:47.271Z] $ docker rm -f d3577af6a333185cba734c02a4e54ea43ce6d141bf47060bcb06bc1df5aba2f7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:30:47.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-10-28T11:30:47.864Z] . [Pipeline] withDockerContainer [2020-10-28T11:30:48.034Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:30:48.202Z] $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-10-28T11:30:48.973Z] $ docker top 457088597a398adef7b9b4597f96a3995ccd400aa214d90186e30aa0c233c88c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-28T11:30:50.060Z] + /klar nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [2020-10-28T11:30:50.060Z] + tee [2020-10-28T11:30:50.060Z] clair timeout 1m0s [2020-10-28T11:30:50.060Z] docker timeout: 1m0s [2020-10-28T11:30:50.060Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-10-28T11:30:50.778Z] $ docker stop --time=1 457088597a398adef7b9b4597f96a3995ccd400aa214d90186e30aa0c233c88c [2020-10-28T11:30:52.423Z] $ docker rm -f 457088597a398adef7b9b4597f96a3995ccd400aa214d90186e30aa0c233c88c [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-28T11:30:53.041Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/clair-reports [Pipeline] echo [2020-10-28T11:30:53.059Z] Generated HTML Table Report. Writing to /w/workspace/gexfoundry_device-rest-go_master/clair-reports/clair_results_docker-device-rest-go-arm64_4f6fe4f9eeeb2b13b70d00045467dd3723511a77.html [Pipeline] writeFile [Pipeline] step [2020-10-28T11:30:53.117Z] Archiving artifacts [Pipeline] } [Pipeline] // script [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 [2020-10-28T11:30:54.589Z] + git log --format=format:%s -1 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:30:54.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T11:30:54.933Z] . [Pipeline] withDockerContainer [2020-10-28T11:30:55.062Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:30:55.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-28T11:30:56.298Z] $ docker top 651042c5519c37f037c9fe14701e7fe842c347ac06fe3be3cf261ef67b87f89c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T11:30:56.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T11:30:56.725Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T11:30:56.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T11:30:56.998Z] $ docker exec 651042c5519c37f037c9fe14701e7fe842c347ac06fe3be3cf261ef67b87f89c ssh-agent [2020-10-28T11:30:57.356Z] SSH_AUTH_SOCK=/tmp/ssh-0byOnkUH59sW/agent.12 [2020-10-28T11:30:57.356Z] SSH_AGENT_PID=18 [2020-10-28T11:30:57.630Z] Running ssh-add (command line suppressed) [2020-10-28T11:30:57.921Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3473515251637443668.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_3473515251637443668.key) [2020-10-28T11:30:58.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T11:30:58.544Z] + git semver tag [2020-10-28T11:30:58.544Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T11:30:58.544Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-10-28T11:30:58.544Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-10-28T11:30:58.544Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T11:30:58.544Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T11:30:58.544Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T11:30:58.544Z] # $SEMVER_BRANCH = master [2020-10-28T11:30:58.544Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-10-28T11:30:58.544Z] # 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 HEAD [2020-10-28T11:30:58.544Z] # -> Force: false [2020-10-28T11:30:58.544Z] # 479c21b2d5cd16cf04d5570bd6da8eb7513cc4d4 refs/tags/v1.1.3-dev.8 [Pipeline] } [2020-10-28T11:30:58.719Z] $ docker exec --env ******** --env ******** 651042c5519c37f037c9fe14701e7fe842c347ac06fe3be3cf261ef67b87f89c ssh-agent -k [2020-10-28T11:30:58.974Z] unset SSH_AUTH_SOCK; [2020-10-28T11:30:58.975Z] unset SSH_AGENT_PID; [2020-10-28T11:30:58.975Z] echo Agent pid 18 killed; [2020-10-28T11:30:59.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T11:30:59.701Z] + git semver [Pipeline] } [2020-10-28T11:30:59.980Z] $ docker stop --time=1 651042c5519c37f037c9fe14701e7fe842c347ac06fe3be3cf261ef67b87f89c [2020-10-28T11:31:01.572Z] $ docker rm -f 651042c5519c37f037c9fe14701e7fe842c347ac06fe3be3cf261ef67b87f89c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:31:02.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-10-28T11:31:02.321Z] [2020-10-28T11:31:02.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:31:02.784Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-10-28T11:31:02.784Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-10-28T11:31:02.784Z] ab5ef0e58194: Pulling fs layer [2020-10-28T11:31:02.784Z] 9712f1f96733: Pulling fs layer [2020-10-28T11:31:02.784Z] 63f879dbbcfc: Pulling fs layer [2020-10-28T11:31:02.784Z] 0d9ebad4ef96: Pulling fs layer [2020-10-28T11:31:02.784Z] e9a5061849ea: Pulling fs layer [2020-10-28T11:31:02.784Z] d747dcd14b5f: Pulling fs layer [2020-10-28T11:31:02.784Z] 2de7ff778b66: Pulling fs layer [2020-10-28T11:31:02.784Z] e9a5061849ea: Waiting [2020-10-28T11:31:02.784Z] d747dcd14b5f: Waiting [2020-10-28T11:31:02.784Z] 2de7ff778b66: Waiting [2020-10-28T11:31:02.784Z] 0d9ebad4ef96: Waiting [2020-10-28T11:31:03.068Z] 9712f1f96733: Verifying Checksum [2020-10-28T11:31:03.068Z] 9712f1f96733: Download complete [2020-10-28T11:31:05.744Z] 63f879dbbcfc: Verifying Checksum [2020-10-28T11:31:05.744Z] 63f879dbbcfc: Download complete [2020-10-28T11:31:06.010Z] e9a5061849ea: Verifying Checksum [2020-10-28T11:31:06.010Z] e9a5061849ea: Download complete [2020-10-28T11:31:06.604Z] d747dcd14b5f: Verifying Checksum [2020-10-28T11:31:06.604Z] d747dcd14b5f: Download complete [2020-10-28T11:31:08.613Z] 2de7ff778b66: Verifying Checksum [2020-10-28T11:31:08.613Z] 2de7ff778b66: Download complete [2020-10-28T11:31:08.613Z] 0d9ebad4ef96: Verifying Checksum [2020-10-28T11:31:08.613Z] 0d9ebad4ef96: Download complete [2020-10-28T11:31:08.613Z] ab5ef0e58194: Download complete [2020-10-28T11:31:17.014Z] ab5ef0e58194: Pull complete [2020-10-28T11:31:17.014Z] 9712f1f96733: Pull complete [2020-10-28T11:31:19.776Z] 63f879dbbcfc: Pull complete [2020-10-28T11:31:28.541Z] 0d9ebad4ef96: Pull complete [2020-10-28T11:31:28.541Z] e9a5061849ea: Pull complete [2020-10-28T11:31:28.541Z] d747dcd14b5f: Pull complete [2020-10-28T11:31:31.937Z] 2de7ff778b66: Pull complete [2020-10-28T11:31:31.937Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-10-28T11:31:31.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-10-28T11:31:31.937Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-10-28T11:31:32.207Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:31:32.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-10-28T11:31:36.184Z] $ docker top e5f334c39a88a6af3e12bbf1c182327dbc2df627ddaf282a26194856ba161793 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-10-28T11:31:36.523Z] provisioning config files... [2020-10-28T11:31:36.545Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config776433011866904579tmp [2020-10-28T11:31:36.591Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7917573807581974975tmp [2020-10-28T11:31:36.615Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3777985716333030487tmp [Pipeline] { [Pipeline] echo [2020-10-28T11:31:36.704Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:31:37.471Z] ---> sigul-configuration.sh [2020-10-28T11:31:37.471Z] gpg: directory `/root/.gnupg' created [2020-10-28T11:31:37.471Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-10-28T11:31:37.471Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-10-28T11:31:37.471Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-10-28T11:31:37.471Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-10-28T11:31:37.471Z] gpg: CAST5 encrypted data [2020-10-28T11:31:37.471Z] gpg: encrypted with 1 passphrase [2020-10-28T11:31:37.471Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-10-28T11:31:38.020Z] + mkdir /home/jenkins [2020-10-28T11:31:38.021Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-10-28T11:31:38.426Z] + 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 [2020-10-28T11:31:38.439Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:31:38.795Z] ---> sigul-install.sh [2020-10-28T11:31:45.526Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-10-28T11:31:45.862Z] + git tag --list [2020-10-28T11:31:45.862Z] v1.0.0 [2020-10-28T11:31:45.862Z] v1.1.0 [2020-10-28T11:31:45.862Z] v1.1.1 [2020-10-28T11:31:45.862Z] v1.1.2 [2020-10-28T11:31:45.862Z] v1.1.2-dev.1 [2020-10-28T11:31:45.862Z] v1.1.2-dev.2 [2020-10-28T11:31:45.862Z] v1.1.3-dev.1 [2020-10-28T11:31:45.862Z] v1.1.3-dev.2 [2020-10-28T11:31:45.862Z] v1.1.3-dev.3 [2020-10-28T11:31:45.862Z] v1.1.3-dev.4 [2020-10-28T11:31:45.862Z] v1.1.3-dev.5 [2020-10-28T11:31:45.862Z] v1.1.3-dev.6 [2020-10-28T11:31:45.862Z] v1.1.3-dev.7 [2020-10-28T11:31:45.862Z] v1.1.3-dev.8 [Pipeline] sh [2020-10-28T11:31:46.239Z] + lftools sign git-tag v1.1.3-dev.8 [2020-10-28T11:31:47.677Z] Signing Git tag with Sigul... [2020-10-28T11:31:47.677Z] Signing v1.1.3-dev.8 [Pipeline] echo [2020-10-28T11:31:49.093Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:31:49.400Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-10-28T11:31:49.411Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-10-28T11:31:49.555Z] $ docker stop --time=1 e5f334c39a88a6af3e12bbf1c182327dbc2df627ddaf282a26194856ba161793 [2020-10-28T11:31:51.588Z] $ docker rm -f e5f334c39a88a6af3e12bbf1c182327dbc2df627ddaf282a26194856ba161793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:31:52.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T11:31:52.634Z] . [Pipeline] withDockerContainer [2020-10-28T11:31:52.794Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:31:52.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-28T11:31:53.968Z] $ docker top 561f1fee21823b2e035bc1efdaab6d3ce733b9a2f5054da24970413cec2aafa7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T11:31:54.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T11:31:54.439Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T11:31:54.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T11:31:54.787Z] $ docker exec 561f1fee21823b2e035bc1efdaab6d3ce733b9a2f5054da24970413cec2aafa7 ssh-agent [2020-10-28T11:31:55.186Z] SSH_AUTH_SOCK=/tmp/ssh-oFOcVRUblUOt/agent.13 [2020-10-28T11:31:55.186Z] SSH_AGENT_PID=19 [2020-10-28T11:31:55.197Z] Running ssh-add (command line suppressed) [2020-10-28T11:31:55.663Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1153739396920796276.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1153739396920796276.key) [2020-10-28T11:31:55.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T11:31:56.218Z] + git semver bump pre [2020-10-28T11:31:56.485Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T11:31:56.485Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-10-28T11:31:56.485Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-10-28T11:31:56.485Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T11:31:56.485Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T11:31:56.485Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T11:31:56.485Z] # $SEMVER_BRANCH = master [2020-10-28T11:31:56.485Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2020-10-28T11:31:56.485Z] 1.1.3-dev.9 [Pipeline] } [2020-10-28T11:31:56.514Z] $ docker exec --env ******** --env ******** 561f1fee21823b2e035bc1efdaab6d3ce733b9a2f5054da24970413cec2aafa7 ssh-agent -k [2020-10-28T11:31:56.732Z] unset SSH_AUTH_SOCK; [2020-10-28T11:31:56.733Z] unset SSH_AGENT_PID; [2020-10-28T11:31:56.733Z] echo Agent pid 19 killed; [2020-10-28T11:31:56.816Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T11:31:57.331Z] + git semver [Pipeline] } [2020-10-28T11:31:57.367Z] $ docker stop --time=1 561f1fee21823b2e035bc1efdaab6d3ce733b9a2f5054da24970413cec2aafa7 [2020-10-28T11:31:58.904Z] $ docker rm -f 561f1fee21823b2e035bc1efdaab6d3ce733b9a2f5054da24970413cec2aafa7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:31:59.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-28T11:31:59.667Z] . [Pipeline] withDockerContainer [2020-10-28T11:31:59.901Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:31:59.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-28T11:32:00.844Z] $ docker top a42a16e5a62997e2718e0d726ad446f772f3db191e97f2746565503f498def35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-28T11:32:01.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-28T11:32:01.213Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-28T11:32:01.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-28T11:32:01.683Z] $ docker exec a42a16e5a62997e2718e0d726ad446f772f3db191e97f2746565503f498def35 ssh-agent [2020-10-28T11:32:01.980Z] SSH_AUTH_SOCK=/tmp/ssh-syGZRkE7BlcG/agent.11 [2020-10-28T11:32:01.980Z] SSH_AGENT_PID=16 [2020-10-28T11:32:02.007Z] Running ssh-add (command line suppressed) [2020-10-28T11:32:02.290Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4588773327546001239.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4588773327546001239.key) [2020-10-28T11:32:02.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-28T11:32:02.752Z] + git semver push [2020-10-28T11:32:02.752Z] # -> Open(): unable to determine branch for HEAD [2020-10-28T11:32:02.752Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-10-28T11:32:02.752Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-10-28T11:32:02.752Z] # $SEMVER_REMOTE_NAME = origin [2020-10-28T11:32:02.752Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-28T11:32:02.752Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-28T11:32:02.752Z] # $SEMVER_BRANCH = master [2020-10-28T11:32:02.752Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-10-28T11:32:09.456Z] $ docker exec --env ******** --env ******** a42a16e5a62997e2718e0d726ad446f772f3db191e97f2746565503f498def35 ssh-agent -k [2020-10-28T11:32:09.673Z] unset SSH_AUTH_SOCK; [2020-10-28T11:32:09.673Z] unset SSH_AGENT_PID; [2020-10-28T11:32:09.673Z] echo Agent pid 16 killed; [2020-10-28T11:32:09.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-28T11:32:10.259Z] + git semver [Pipeline] } [2020-10-28T11:32:10.286Z] $ docker stop --time=1 a42a16e5a62997e2718e0d726ad446f772f3db191e97f2746565503f498def35 [2020-10-28T11:32:11.848Z] $ docker rm -f a42a16e5a62997e2718e0d726ad446f772f3db191e97f2746565503f498def35 [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] libraryResource [Pipeline] sh [2020-10-28T11:32:13.320Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:32:14.234Z] ---> package-listing.sh [2020-10-28T11:32:14.234Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-28T11:32:14.234Z] ++ facter osfamily [2020-10-28T11:32:14.234Z] + OS_FAMILY=redhat [2020-10-28T11:32:14.234Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-10-28T11:32:14.234Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-28T11:32:14.234Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-28T11:32:14.234Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-28T11:32:14.234Z] + PACKAGES=/tmp/packages_start.txt [2020-10-28T11:32:14.234Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-10-28T11:32:14.234Z] + PACKAGES=/tmp/packages_end.txt [2020-10-28T11:32:14.234Z] + case "${OS_FAMILY}" in [2020-10-28T11:32:14.234Z] + rpm -qa [2020-10-28T11:32:14.234Z] + sort [2020-10-28T11:32:19.601Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-28T11:32:19.601Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-28T11:32:19.601Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-28T11:32:19.601Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-10-28T11:32:19.601Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-10-28T11:32:19.601Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo [2020-10-28T11:32:19.615Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-28T11:32:19.936Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:32:20.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T11:32:20.829Z] [2020-10-28T11:32:20.829Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-28T11:32:21.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T11:32:21.199Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-28T11:32:21.199Z] df20fa9351a1: Pulling fs layer [2020-10-28T11:32:21.199Z] 36b3adc4ff6f: Pulling fs layer [2020-10-28T11:32:21.199Z] 8ad3a11d3b57: Pulling fs layer [2020-10-28T11:32:21.199Z] 46f8f816bc3b: Pulling fs layer [2020-10-28T11:32:21.199Z] 93b61091891f: Pulling fs layer [2020-10-28T11:32:21.199Z] 93b9cdb0e59b: Pulling fs layer [2020-10-28T11:32:21.199Z] 5e14af77c1be: Pulling fs layer [2020-10-28T11:32:21.199Z] 01666e4c0597: Pulling fs layer [2020-10-28T11:32:21.199Z] aa168da1d23b: Pulling fs layer [2020-10-28T11:32:21.199Z] 93b61091891f: Waiting [2020-10-28T11:32:21.199Z] 01666e4c0597: Waiting [2020-10-28T11:32:21.199Z] aa168da1d23b: Waiting [2020-10-28T11:32:21.199Z] 93b9cdb0e59b: Waiting [2020-10-28T11:32:21.199Z] 5e14af77c1be: Waiting [2020-10-28T11:32:21.199Z] 46f8f816bc3b: Waiting [2020-10-28T11:32:21.199Z] 36b3adc4ff6f: Download complete [2020-10-28T11:32:21.199Z] 46f8f816bc3b: Verifying Checksum [2020-10-28T11:32:21.199Z] 46f8f816bc3b: Download complete [2020-10-28T11:32:21.476Z] df20fa9351a1: Verifying Checksum [2020-10-28T11:32:21.476Z] 93b9cdb0e59b: Verifying Checksum [2020-10-28T11:32:21.476Z] 93b9cdb0e59b: Download complete [2020-10-28T11:32:21.476Z] 5e14af77c1be: Verifying Checksum [2020-10-28T11:32:21.476Z] 5e14af77c1be: Download complete [2020-10-28T11:32:21.476Z] 93b61091891f: Verifying Checksum [2020-10-28T11:32:21.476Z] 93b61091891f: Download complete [2020-10-28T11:32:21.476Z] 01666e4c0597: Verifying Checksum [2020-10-28T11:32:21.476Z] 01666e4c0597: Download complete [2020-10-28T11:32:21.742Z] 8ad3a11d3b57: Verifying Checksum [2020-10-28T11:32:21.742Z] 8ad3a11d3b57: Download complete [2020-10-28T11:32:22.013Z] df20fa9351a1: Pull complete [2020-10-28T11:32:22.298Z] 36b3adc4ff6f: Pull complete [2020-10-28T11:32:23.784Z] 8ad3a11d3b57: Pull complete [2020-10-28T11:32:23.784Z] 46f8f816bc3b: Pull complete [2020-10-28T11:32:24.383Z] 93b61091891f: Pull complete [2020-10-28T11:32:24.970Z] 93b9cdb0e59b: Pull complete [2020-10-28T11:32:24.970Z] 5e14af77c1be: Pull complete [2020-10-28T11:32:25.243Z] 01666e4c0597: Pull complete [2020-10-28T11:32:26.766Z] aa168da1d23b: Verifying Checksum [2020-10-28T11:32:26.766Z] aa168da1d23b: Download complete [2020-10-28T11:32:37.463Z] aa168da1d23b: Pull complete [2020-10-28T11:32:37.463Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-28T11:32:37.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-28T11:32:37.463Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-28T11:32:37.677Z] prd-centos7-docker-4c-2g-9455 does not seem to be running inside a container [2020-10-28T11:32:37.742Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-28T11:32:40.554Z] $ docker top fb19d3802ebd5819efab74de4528b5a8cc670c51d0e42e96c0783bee016a1c30 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-28T11:32:41.153Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-28T11:32:41.513Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-28T11:32:41.871Z] + ls /var/log/sa-host [2020-10-28T11:32:41.871Z] + sadf -c /var/log/sa-host/sa05 [2020-10-28T11:32:41.871Z] file_magic: OK [2020-10-28T11:32:41.871Z] HZ: Using current value: 100 [2020-10-28T11:32:41.871Z] file_header: OK [2020-10-28T11:32:41.871Z] 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 [2020-10-28T11:32:41.871Z] Statistics: [2020-10-28T11:32:41.871Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T11:32:41.871Z] File successfully converted to sysstat format version 12.2.1 [2020-10-28T11:32:41.871Z] + sadf -c /var/log/sa-host/sa28 [2020-10-28T11:32:41.871Z] file_magic: OK [2020-10-28T11:32:41.871Z] HZ: Using current value: 100 [2020-10-28T11:32:41.871Z] file_header: OK [2020-10-28T11:32:41.871Z] 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 [2020-10-28T11:32:41.871Z] Statistics: [2020-10-28T11:32:41.871Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-28T11:32:41.871Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-28T11:32:42.101Z] provisioning config files... [2020-10-28T11:32:42.117Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2838317143191906693tmp [Pipeline] { [Pipeline] echo [2020-10-28T11:32:42.186Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:32:42.514Z] ---> create-netrc.sh [Pipeline] } [2020-10-28T11:32:42.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-28T11:32:42.630Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:32:42.956Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-28T11:32:42.970Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:32:43.655Z] ---> sudo-logs.sh [2020-10-28T11:32:43.656Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-28T11:32:43.674Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:32:43.996Z] ---> job-cost.sh [2020-10-28T11:32:43.996Z] lf-activate-venv: SKIPPING [2020-10-28T11:32:43.996Z] INFO: No Stack... [2020-10-28T11:32:45.401Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-28T11:32:45.668Z] INFO: Archiving Costs [Pipeline] echo [2020-10-28T11:32:45.686Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-28T11:32:46.080Z] ---> logs-deploy.sh [2020-10-28T11:32:46.080Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/24 [2020-10-28T11:32:46.080Z] INFO: archiving workspace using pattern(s): [2020-10-28T11:32:48.742Z] Archives upload complete. [2020-10-28T11:32:48.743Z] INFO: archiving logs to Nexus