Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-25010 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.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (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 --force --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 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 Commit message: "Merge pull request #69 from FelixTing/issue-65" > git rev-list --no-walk 9e4888f50a2a312870744f4f89808877d999d7c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-04T17:03:42.057Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T17:03:42.281Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T17:03:42.397Z] ========================================================= [2021-02-04T17:03:42.398Z] EdgeX Global Pipelines Version Info [2021-02-04T17:03:42.398Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:03:43.900Z] ------------------- [2021-02-04T17:03:43.900Z] stable info: [2021-02-04T17:03:43.900Z] ------------------- [2021-02-04T17:03:43.900Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T17:03:43.900Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T17:03:43.900Z] Message: update stable to v1.0.179 [2021-02-04T17:03:44.848Z] ------------------- [2021-02-04T17:03:44.848Z] experimental info: [2021-02-04T17:03:44.848Z] ------------------- [2021-02-04T17:03:44.848Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T17:03:44.848Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T17:03:44.848Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T17:03:45.118Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-02-04T17:03:45.225Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-02-04T17:03:45.320Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T17:03:45.440Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T17:03:45.573Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T17:03:45.656Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T17:03:45.743Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T17:03:45.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T17:03:45.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-04T17:03:46.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T17:03:46.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T17:03:46.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-02-04T17:03:46.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T17:03:46.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T17:03:46.499Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T17:03:46.625Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T17:03:46.756Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T17:03:46.870Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T17:03:46.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T17:03:47.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-04T17:03:47.220Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-04T17:03:47.316Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-04T17:03:47.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T17:03:47.511Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T17:03:47.598Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-04T17:03:47.687Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T17:03:47.806Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T17:03:47.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-04T17:03:48.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-04T17:03:48.106Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-04T17:03:48.255Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] echo [2021-02-04T17:03:48.371Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c106e3b [Pipeline] echo [2021-02-04T17:03:48.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T17:03:48.666Z] provisioning config files... [2021-02-04T17:03:48.707Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8033156731126491185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:03:49.076Z] ---> docker-login.sh [2021-02-04T17:03:49.076Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:03:49.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:03:49.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:03:49.340Z] Configure a credential helper to remove this warning. See [2021-02-04T17:03:49.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:03:49.340Z] [2021-02-04T17:03:49.340Z] Login Succeeded [2021-02-04T17:03:49.340Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:03:49.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:03:49.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:03:49.604Z] Configure a credential helper to remove this warning. See [2021-02-04T17:03:49.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:03:49.604Z] [2021-02-04T17:03:49.604Z] Login Succeeded [2021-02-04T17:03:49.604Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:03:49.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:03:49.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:03:49.871Z] Configure a credential helper to remove this warning. See [2021-02-04T17:03:49.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:03:49.871Z] [2021-02-04T17:03:49.871Z] Login Succeeded [2021-02-04T17:03:49.871Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:03:49.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:03:50.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:03:50.134Z] Configure a credential helper to remove this warning. See [2021-02-04T17:03:50.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:03:50.134Z] [2021-02-04T17:03:50.134Z] Login Succeeded [2021-02-04T17:03:50.134Z] docker.io [2021-02-04T17:03:50.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:03:50.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:03:50.396Z] Configure a credential helper to remove this warning. See [2021-02-04T17:03:50.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:03:50.396Z] [2021-02-04T17:03:50.396Z] Login Succeeded [2021-02-04T17:03:50.396Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:03:50.407Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T17:03:51.736Z] + git log --format=format:%s -1 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] echo [2021-02-04T17:03:51.804Z] GIT_COMMIT: c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584, Commit Message: Merge pull request #69 from FelixTing/issue-65 [Pipeline] echo [2021-02-04T17:03:51.848Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:03:52.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:03:52.454Z] [2021-02-04T17:03:52.454Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:03:52.839Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:03:52.839Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T17:03:52.839Z] 31603596830f: Pulling fs layer [2021-02-04T17:03:52.839Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T17:03:52.839Z] 6ca5941a6612: Pulling fs layer [2021-02-04T17:03:52.839Z] ecc8261a40a4: Pulling fs layer [2021-02-04T17:03:52.839Z] ecc8261a40a4: Waiting [2021-02-04T17:03:53.104Z] 31603596830f: Verifying Checksum [2021-02-04T17:03:53.104Z] 2a8b12db71e7: Verifying Checksum [2021-02-04T17:03:53.104Z] 2a8b12db71e7: Download complete [2021-02-04T17:03:53.368Z] ecc8261a40a4: Verifying Checksum [2021-02-04T17:03:53.368Z] ecc8261a40a4: Download complete [2021-02-04T17:03:53.368Z] 6ca5941a6612: Verifying Checksum [2021-02-04T17:03:53.368Z] 6ca5941a6612: Download complete [2021-02-04T17:03:53.368Z] 31603596830f: Pull complete [2021-02-04T17:03:53.639Z] 2a8b12db71e7: Pull complete [2021-02-04T17:03:54.587Z] 6ca5941a6612: Pull complete [2021-02-04T17:03:54.587Z] ecc8261a40a4: Pull complete [2021-02-04T17:03:54.587Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T17:03:54.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:03:54.587Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T17:03:54.704Z] prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container [2021-02-04T17:03:54.755Z] $ 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 [2021-02-04T17:03:57.350Z] $ docker top 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T17:03:57.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:03:57.662Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:03:57.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:03:57.887Z] $ docker exec 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a ssh-agent [2021-02-04T17:03:58.062Z] SSH_AUTH_SOCK=/tmp/ssh-O5ltfeti9pki/agent.12 [2021-02-04T17:03:58.062Z] SSH_AGENT_PID=17 [2021-02-04T17:03:58.072Z] Running ssh-add (command line suppressed) [2021-02-04T17:03:58.191Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1695571299410247267.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1695571299410247267.key) [2021-02-04T17:03:58.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:03:58.576Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T17:03:58.600Z] $ docker exec --env ******** --env ******** 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a ssh-agent -k [2021-02-04T17:03:58.714Z] unset SSH_AUTH_SOCK; [2021-02-04T17:03:58.714Z] unset SSH_AGENT_PID; [2021-02-04T17:03:58.714Z] echo Agent pid 17 killed; [2021-02-04T17:03:58.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T17:03:58.907Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:03:58.907Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:03:59.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:03:59.093Z] $ docker exec 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a ssh-agent [2021-02-04T17:03:59.266Z] SSH_AUTH_SOCK=/tmp/ssh-k59ekJZTjpY9/agent.46 [2021-02-04T17:03:59.266Z] SSH_AGENT_PID=52 [2021-02-04T17:03:59.275Z] Running ssh-add (command line suppressed) [2021-02-04T17:03:59.403Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_344679982442592150.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_344679982442592150.key) [2021-02-04T17:03:59.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:03:59.800Z] + git semver init [2021-02-04T17:03:59.800Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T17:03:59.800Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-02-04T17:03:59.800Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-02-04T17:03:59.800Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T17:03:59.800Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T17:03:59.800Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T17:03:59.800Z] # $SEMVER_BRANCH = master [2021-02-04T17:03:59.800Z] # $SEMVER_TEMP = /tmp/semver-381169389 [2021-02-04T17:03:59.801Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-02-04T17:04:00.774Z] # '/tmp/semver-381169389' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2021-02-04T17:04:00.774Z] # -> Force: false [2021-02-04T17:04:00.774Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-02-04T17:04:00.789Z] $ docker exec --env ******** --env ******** 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a ssh-agent -k [2021-02-04T17:04:00.904Z] unset SSH_AUTH_SOCK; [2021-02-04T17:04:00.904Z] unset SSH_AGENT_PID; [2021-02-04T17:04:00.904Z] echo Agent pid 52 killed; [2021-02-04T17:04:00.946Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T17:04:01.515Z] + git semver [Pipeline] } [2021-02-04T17:04:01.538Z] $ docker stop --time=1 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a [2021-02-04T17:04:03.017Z] $ docker rm -f 721b29c609a83eda12b77aa4466d78454322d04548c2a14c72f659d007b1cf2a [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T17:04:03.475Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T17:04:03.920Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T17:04:03.922Z] [edgeXSemver]: initialized semver on version 1.2.2-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-04T17:04:19.459Z] Still waiting to schedule task [2021-02-04T17:04:19.459Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-25014’ is offline; ‘prd-centos7-docker-4c-2g-25015’ is offline [2021-02-04T17:04:19.462Z] Still waiting to schedule task [2021-02-04T17:04:19.462Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-25007’ [2021-02-04T17:05:20.183Z] Running on prd-centos7-docker-4c-2g-25018 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-02-04T17:05:20.264Z] Running in /w/workspace/device-rest-go/33 [Pipeline] { [Pipeline] checkout [2021-02-04T17:05:23.087Z] using credential edgex-jenkins-ssh [2021-02-04T17:05:23.134Z] Cloning the remote Git repository [2021-02-04T17:05:23.160Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T17:05:23.231Z] > git init /w/workspace/device-rest-go/33 # timeout=10 [2021-02-04T17:05:23.292Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T17:05:23.292Z] > git --version # timeout=10 [2021-02-04T17:05:23.299Z] > git --version # 'git version 2.24.3' [2021-02-04T17:05:23.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T17:05:23.325Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T17:05:24.825Z] Checking out Revision c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (master) [2021-02-04T17:05:24.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T17:05:24.382Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T17:05:24.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T17:05:24.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T17:05:24.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T17:05:24.416Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T17:05:24.833Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T17:05:24.842Z] > git checkout -f c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 [2021-02-04T17:05:28.503Z] Commit message: "Merge pull request #69 from FelixTing/issue-65" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T17:05:29.537Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T17:05:29.875Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T17:05:30.182Z] + true [2021-02-04T17:05:30.182Z] + sudo service docker restart [2021-02-04T17:05:30.182Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T17:05:31.674Z] provisioning config files... [2021-02-04T17:05:31.706Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/33@tmp/config220770793711071975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:05:32.116Z] ---> docker-login.sh [2021-02-04T17:05:32.116Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:05:32.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:05:32.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:05:32.383Z] Configure a credential helper to remove this warning. See [2021-02-04T17:05:32.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:05:32.383Z] [2021-02-04T17:05:32.383Z] Login Succeeded [2021-02-04T17:05:32.383Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:05:32.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:05:32.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:05:32.646Z] Configure a credential helper to remove this warning. See [2021-02-04T17:05:32.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:05:32.646Z] [2021-02-04T17:05:32.646Z] Login Succeeded [2021-02-04T17:05:32.646Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:05:32.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:05:32.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:05:32.910Z] Configure a credential helper to remove this warning. See [2021-02-04T17:05:32.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:05:32.910Z] [2021-02-04T17:05:32.910Z] Login Succeeded [2021-02-04T17:05:32.910Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:05:32.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:05:33.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:05:33.178Z] Configure a credential helper to remove this warning. See [2021-02-04T17:05:33.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:05:33.178Z] [2021-02-04T17:05:33.178Z] Login Succeeded [2021-02-04T17:05:33.178Z] docker.io [2021-02-04T17:05:33.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:05:34.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:05:34.602Z] Configure a credential helper to remove this warning. See [2021-02-04T17:05:34.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:05:34.602Z] [2021-02-04T17:05:34.602Z] Login Succeeded [2021-02-04T17:05:34.602Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:05:34.613Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T17:05:35.087Z] ========================================================= [2021-02-04T17:05:35.087Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T17:05:35.087Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:05:35.470Z] + 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 . [2021-02-04T17:05:35.470Z] Sending build context to Docker daemon 89.09kB [2021-02-04T17:05:35.470Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T17:05:35.470Z] Step 2/10 : FROM ${BASE} [2021-02-04T17:05:35.470Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T17:05:35.470Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T17:05:35.470Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T17:05:35.470Z] de9db76c5a1d: Pulling fs layer [2021-02-04T17:05:35.470Z] bca2f99d35d6: Pulling fs layer [2021-02-04T17:05:35.470Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T17:05:35.470Z] 7c6f9722023f: Pulling fs layer [2021-02-04T17:05:35.470Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T17:05:35.470Z] 93359f2a8cfa: Waiting [2021-02-04T17:05:35.470Z] 7c6f9722023f: Waiting [2021-02-04T17:05:35.470Z] a35cf1a2eb13: Waiting [2021-02-04T17:05:35.470Z] bca2f99d35d6: Waiting [2021-02-04T17:05:35.751Z] de9db76c5a1d: Verifying Checksum [2021-02-04T17:05:35.751Z] de9db76c5a1d: Download complete [2021-02-04T17:05:35.751Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T17:05:35.751Z] 0ef7d3d256c8: Download complete [2021-02-04T17:05:35.751Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T17:05:35.751Z] 93359f2a8cfa: Download complete [2021-02-04T17:05:35.751Z] 7c6f9722023f: Verifying Checksum [2021-02-04T17:05:35.751Z] 7c6f9722023f: Download complete [2021-02-04T17:05:36.372Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T17:05:36.372Z] 188c0c94c7c5: Download complete [2021-02-04T17:05:36.372Z] 188c0c94c7c5: Pull complete [2021-02-04T17:05:36.650Z] 0ef7d3d256c8: Pull complete [2021-02-04T17:05:36.937Z] de9db76c5a1d: Pull complete [2021-02-04T17:05:37.952Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T17:05:37.952Z] a35cf1a2eb13: Download complete [2021-02-04T17:05:40.004Z] bca2f99d35d6: Verifying Checksum [2021-02-04T17:05:40.004Z] bca2f99d35d6: Download complete [2021-02-04T17:05:45.517Z] bca2f99d35d6: Pull complete [2021-02-04T17:05:45.517Z] 93359f2a8cfa: Pull complete [2021-02-04T17:05:45.517Z] 7c6f9722023f: Pull complete [2021-02-04T17:05:55.702Z] a35cf1a2eb13: Pull complete [2021-02-04T17:05:55.702Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T17:05:55.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T17:05:55.702Z] ---> a62c8e92a672 [2021-02-04T17:05:55.702Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-02-04T17:05:55.702Z] ---> Running in b4d22b67bf8b [2021-02-04T17:05:55.702Z] Removing intermediate container b4d22b67bf8b [2021-02-04T17:05:55.702Z] ---> 8e117a03703a [2021-02-04T17:05:55.702Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T17:05:55.702Z] ---> Running in 727d7add0ec6 [2021-02-04T17:05:55.702Z] Removing intermediate container 727d7add0ec6 [2021-02-04T17:05:55.702Z] ---> 1d357d8f0e28 [2021-02-04T17:05:55.702Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T17:05:55.702Z] ---> Running in 0486ed7c7fe2 [2021-02-04T17:05:55.702Z] Removing intermediate container 0486ed7c7fe2 [2021-02-04T17:05:55.702Z] ---> 83f566fbd5ed [2021-02-04T17:05:55.702Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T17:05:55.702Z] ---> Running in 95fa5efcee01 [2021-02-04T17:05:56.333Z] Removing intermediate container 95fa5efcee01 [2021-02-04T17:05:56.333Z] ---> 9265d81aaf16 [2021-02-04T17:05:56.333Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T17:05:56.333Z] ---> Running in 639c8b593079 [2021-02-04T17:05:56.919Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T17:05:58.397Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T17:05:59.713Z] OK: 166 MiB in 39 packages [2021-02-04T17:06:00.334Z] Removing intermediate container 639c8b593079 [2021-02-04T17:06:00.334Z] ---> 61db9ea43440 [2021-02-04T17:06:00.334Z] Step 8/10 : WORKDIR /device-rest-go [2021-02-04T17:06:00.334Z] ---> Running in 2f7220851cd8 [2021-02-04T17:06:00.956Z] Removing intermediate container 2f7220851cd8 [2021-02-04T17:06:00.956Z] ---> 3c58d58e5597 [2021-02-04T17:06:00.956Z] Step 9/10 : COPY . . [2021-02-04T17:06:01.239Z] ---> 6ba6c66143be [2021-02-04T17:06:01.239Z] Step 10/10 : RUN go mod download [2021-02-04T17:06:01.239Z] ---> Running in fb7090246b2f [2021-02-04T17:06:23.515Z] Removing intermediate container fb7090246b2f [2021-02-04T17:06:23.515Z] ---> 1355344a6434 [2021-02-04T17:06:23.515Z] Successfully built 1355344a6434 [2021-02-04T17:06:23.515Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:06:23.861Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T17:06:23.861Z] . [Pipeline] withDockerContainer [2021-02-04T17:06:24.285Z] prd-centos7-docker-4c-2g-25018 does not seem to be running inside a container [2021-02-04T17:06:24.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/33 -v /w/workspace/device-rest-go/33:/w/workspace/device-rest-go/33:rw,z -v /w/workspace/device-rest-go/33@tmp:/w/workspace/device-rest-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T17:06:25.221Z] $ docker top 708690183ffdefcbde7fe0c1979939ac4fad77df315c4982ecea23a494c0ff32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:06:25.813Z] + go version [2021-02-04T17:06:25.813Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T17:06:25.836Z] $ docker stop --time=1 708690183ffdefcbde7fe0c1979939ac4fad77df315c4982ecea23a494c0ff32 [2021-02-04T17:06:27.202Z] $ docker rm -f 708690183ffdefcbde7fe0c1979939ac4fad77df315c4982ecea23a494c0ff32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:06:28.278Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T17:06:28.278Z] . [Pipeline] withDockerContainer [2021-02-04T17:06:28.416Z] prd-centos7-docker-4c-2g-25018 does not seem to be running inside a container [2021-02-04T17:06:28.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/33 -v /w/workspace/device-rest-go/33:/w/workspace/device-rest-go/33:rw,z -v /w/workspace/device-rest-go/33@tmp:/w/workspace/device-rest-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T17:06:29.252Z] $ docker top a9b9e4fe44ac28d08bb908053c8b561b01d574849fdb2bb5009f42218b5f0262 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:06:29.854Z] + make test [2021-02-04T17:06:29.854Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-02-04T17:06:30.486Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-02-04T17:06:42.961Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-02-04T17:06:42.961Z] ok github.com/edgexfoundry/device-rest-go/driver 0.024s coverage: 56.3% of statements [2021-02-04T17:06:42.961Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T17:06:45.587Z] gofmt -l . [2021-02-04T17:06:45.587Z] [ "`gofmt -l .`" = "" ] [2021-02-04T17:06:45.587Z] ./bin/test-go-mod-tidy.sh [2021-02-04T17:06:45.860Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-02-04T17:06:46.146Z] $ docker stop --time=1 a9b9e4fe44ac28d08bb908053c8b561b01d574849fdb2bb5009f42218b5f0262 [2021-02-04T17:06:48.612Z] $ docker rm -f a9b9e4fe44ac28d08bb908053c8b561b01d574849fdb2bb5009f42218b5f0262 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T17:06:49.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-04T17:06:49.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-04T17:06:50.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-04T17:06:51.239Z] + ls -al . [2021-02-04T17:06:51.239Z] total 96 [2021-02-04T17:06:51.239Z] drwxrwxr-x. 8 jenkins jenkins 4096 Feb 4 17:06 . [2021-02-04T17:06:51.239Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 4 17:05 .. [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 5294 Feb 4 17:05 Attribution.txt [2021-02-04T17:06:51.239Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 4 17:05 bin [2021-02-04T17:06:51.239Z] drwxrwxr-x. 3 jenkins jenkins 32 Feb 4 17:05 cmd [2021-02-04T17:06:51.239Z] -rw-r--r--. 1 jenkins jenkins 9369 Feb 4 17:06 coverage.out [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 1530 Feb 4 17:05 Dockerfile [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 1002 Feb 4 17:05 Dockerfile.build [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 151 Feb 4 17:05 .dockerignore [2021-02-04T17:06:51.239Z] drwxrwxr-x. 2 jenkins jenkins 93 Feb 4 17:06 driver [2021-02-04T17:06:51.239Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 4 17:05 .git [2021-02-04T17:06:51.239Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 4 17:05 .github [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 339 Feb 4 17:05 .gitignore [2021-02-04T17:06:51.239Z] -rw-r--r--. 1 jenkins jenkins 267 Feb 4 17:06 go.mod [2021-02-04T17:06:51.239Z] -rw-r--r--. 1 jenkins jenkins 13985 Feb 4 17:06 go.sum [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 680 Feb 4 17:05 Jenkinsfile [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 11340 Feb 4 17:05 LICENSE [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 951 Feb 4 17:05 Makefile [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 5917 Feb 4 17:05 README.md [2021-02-04T17:06:51.239Z] drwxrwxr-x. 4 jenkins jenkins 71 Feb 4 17:05 snap [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 4 17:04 VERSION [2021-02-04T17:06:51.239Z] -rw-rw-r--. 1 jenkins jenkins 713 Feb 4 17:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:06:51.563Z] + 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=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 --label arch=amd64 --label version=1.2.2-dev.1 . [2021-02-04T17:06:51.563Z] Sending build context to Docker daemon 100.9kB [2021-02-04T17:06:51.563Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T17:06:51.563Z] Step 2/25 : FROM ${BASE} AS builder [2021-02-04T17:06:51.563Z] ---> 1355344a6434 [2021-02-04T17:06:51.563Z] Step 3/25 : ARG MAKE='make build' [2021-02-04T17:06:51.835Z] ---> Running in cf691bc73b1a [2021-02-04T17:06:52.098Z] Removing intermediate container cf691bc73b1a [2021-02-04T17:06:52.098Z] ---> fdd350919e02 [2021-02-04T17:06:52.098Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-02-04T17:06:52.098Z] ---> Running in 19598afef7ed [2021-02-04T17:06:52.098Z] Removing intermediate container 19598afef7ed [2021-02-04T17:06:52.098Z] ---> 0ebe8904c19c [2021-02-04T17:06:52.098Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T17:06:52.362Z] ---> Running in ba5d8750a75e [2021-02-04T17:06:52.362Z] Removing intermediate container ba5d8750a75e [2021-02-04T17:06:52.362Z] ---> 860bbea0fe59 [2021-02-04T17:06:52.362Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T17:06:52.627Z] ---> Running in d9b7e87f1b76 [2021-02-04T17:06:53.586Z] Removing intermediate container d9b7e87f1b76 [2021-02-04T17:06:53.586Z] ---> fca55ca547f3 [2021-02-04T17:06:53.586Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T17:06:53.586Z] ---> Running in 66da5d04e990 [2021-02-04T17:06:54.163Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T17:06:56.086Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T17:06:58.011Z] OK: 166 MiB in 39 packages [2021-02-04T17:06:58.589Z] Removing intermediate container 66da5d04e990 [2021-02-04T17:06:58.589Z] ---> b82a52946635 [2021-02-04T17:06:58.589Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-02-04T17:06:58.589Z] ---> Running in 2053c030bae2 [2021-02-04T17:06:58.589Z] Removing intermediate container 2053c030bae2 [2021-02-04T17:06:58.589Z] ---> 58a6ca088c19 [2021-02-04T17:06:58.589Z] Step 9/25 : COPY go.mod . [2021-02-04T17:06:58.854Z] ---> 63b84c23b0db [2021-02-04T17:06:58.854Z] Step 10/25 : COPY Makefile . [2021-02-04T17:06:59.130Z] ---> 696d29814203 [2021-02-04T17:06:59.130Z] Step 11/25 : RUN make update [2021-02-04T17:06:59.130Z] ---> Running in ad96dabc61c3 [2021-02-04T17:06:59.713Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-02-04T17:07:00.294Z] Removing intermediate container ad96dabc61c3 [2021-02-04T17:07:00.294Z] ---> 32d16e7d978d [2021-02-04T17:07:00.294Z] Step 12/25 : COPY . . [2021-02-04T17:07:00.566Z] ---> 380359b713b2 [2021-02-04T17:07:00.566Z] Step 13/25 : RUN $MAKE [2021-02-04T17:07:00.830Z] ---> Running in f8b68ab0bba4 [2021-02-04T17:07:01.098Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.1" -o cmd/device-rest-go ./cmd [2021-02-04T17:07:11.537Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25024 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2021-02-04T17:07:11.615Z] Running in /w/workspace/device-rest-go/33 [Pipeline] { [Pipeline] checkout [2021-02-04T17:07:13.548Z] Removing intermediate container f8b68ab0bba4 [2021-02-04T17:07:13.548Z] ---> 14aa135e846a [2021-02-04T17:07:13.548Z] Step 14/25 : FROM alpine:3.12 [2021-02-04T17:07:13.549Z] 3.12: Pulling from library/alpine [2021-02-04T17:07:13.815Z] 801bfaa63ef2: Pulling fs layer [2021-02-04T17:07:13.815Z] 801bfaa63ef2: Verifying Checksum [2021-02-04T17:07:13.815Z] 801bfaa63ef2: Download complete [2021-02-04T17:07:14.077Z] 801bfaa63ef2: Pull complete [2021-02-04T17:07:14.342Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-04T17:07:14.342Z] Status: Downloaded newer image for alpine:3.12 [2021-02-04T17:07:14.342Z] ---> 389fef711851 [2021-02-04T17:07:14.342Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T17:07:14.342Z] ---> Running in e3267a55cc7c [2021-02-04T17:07:14.607Z] Removing intermediate container e3267a55cc7c [2021-02-04T17:07:14.607Z] ---> 0638a1c03c21 [2021-02-04T17:07:14.607Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-02-04T17:07:14.607Z] ---> Running in 0a12276a139a [2021-02-04T17:07:14.607Z] Removing intermediate container 0a12276a139a [2021-02-04T17:07:14.607Z] ---> 6daf111883bb [2021-02-04T17:07:14.607Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-02-04T17:07:14.871Z] ---> 45bfd3c2b8bd [2021-02-04T17:07:14.871Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-02-04T17:07:15.150Z] ---> 40930798bef0 [2021-02-04T17:07:15.150Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-02-04T17:07:15.756Z] ---> ff33c3cde4b8 [2021-02-04T17:07:15.756Z] Step 20/25 : EXPOSE 49986 [2021-02-04T17:07:15.756Z] ---> Running in 4263015ba915 [2021-02-04T17:07:16.039Z] Removing intermediate container 4263015ba915 [2021-02-04T17:07:16.039Z] ---> 0b020c32c988 [2021-02-04T17:07:16.039Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-02-04T17:07:16.039Z] ---> Running in f88747801e87 [2021-02-04T17:07:16.369Z] Removing intermediate container f88747801e87 [2021-02-04T17:07:16.369Z] ---> d556335f7564 [2021-02-04T17:07:16.369Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-02-04T17:07:16.369Z] ---> Running in 4264ceb61783 [2021-02-04T17:07:16.369Z] Removing intermediate container 4264ceb61783 [2021-02-04T17:07:16.369Z] ---> 47c4b470a834 [2021-02-04T17:07:16.369Z] Step 23/25 : LABEL arch=amd64 [2021-02-04T17:07:16.641Z] ---> Running in 8baae8da1532 [2021-02-04T17:07:16.641Z] Removing intermediate container 8baae8da1532 [2021-02-04T17:07:16.641Z] ---> e8e3c649f64f [2021-02-04T17:07:16.641Z] Step 24/25 : LABEL git_sha=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [2021-02-04T17:07:16.641Z] ---> Running in 90362a166bdc [2021-02-04T17:07:16.910Z] Removing intermediate container 90362a166bdc [2021-02-04T17:07:16.910Z] ---> fdfb94e4d7ad [2021-02-04T17:07:16.910Z] Step 25/25 : LABEL version=1.2.2-dev.1 [2021-02-04T17:07:16.910Z] ---> Running in 2a9e20c023e8 [2021-02-04T17:07:17.172Z] Removing intermediate container 2a9e20c023e8 [2021-02-04T17:07:17.172Z] ---> 3d9b7b5a3d11 [2021-02-04T17:07:17.172Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-04T17:07:17.172Z] Successfully built 3d9b7b5a3d11 [2021-02-04T17:07:17.172Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-02-04T17:07:17.534Z] using credential edgex-jenkins-ssh [Pipeline] wrap [2021-02-04T17:07:17.568Z] provisioning config files... [2021-02-04T17:07:17.604Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/33@tmp/config3889742376957514745tmp [2021-02-04T17:07:17.612Z] Cloning the remote Git repository [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:07:17.681Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T17:07:17.795Z] > git init /w/workspace/device-rest-go/33 # timeout=10 [2021-02-04T17:07:17.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T17:07:17.872Z] > git --version # timeout=10 [2021-02-04T17:07:17.900Z] > git --version # 'git version 2.17.1' [2021-02-04T17:07:17.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T17:07:17.979Z] ---> docker-login.sh [2021-02-04T17:07:17.979Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:07:17.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:18.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:18.241Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:18.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:18.241Z] [2021-02-04T17:07:18.241Z] Login Succeeded [2021-02-04T17:07:18.241Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:07:18.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:18.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:18.241Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:18.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:18.241Z] [2021-02-04T17:07:18.241Z] Login Succeeded [2021-02-04T17:07:18.241Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:07:18.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:18.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:18.505Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:18.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:18.505Z] [2021-02-04T17:07:18.505Z] Login Succeeded [2021-02-04T17:07:18.505Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:07:18.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:18.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:18.769Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:18.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:18.769Z] [2021-02-04T17:07:18.769Z] Login Succeeded [2021-02-04T17:07:18.769Z] docker.io [2021-02-04T17:07:18.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:19.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:19.031Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:19.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:19.031Z] [2021-02-04T17:07:19.031Z] Login Succeeded [2021-02-04T17:07:19.031Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:07:19.041Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [2021-02-04T17:07:17.967Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] echo [2021-02-04T17:07:19.233Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2021-02-04T17:07:19.233Z] c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [2021-02-04T17:07:19.233Z] latest [2021-02-04T17:07:19.233Z] 1.2.2-dev.1 [2021-02-04T17:07:19.233Z] c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [2021-02-04T17:07:19.233Z] master [2021-02-04T17:07:19.233Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:19.727Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:20.038Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [2021-02-04T17:07:20.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-02-04T17:07:20.038Z] 544325e74e31: Preparing [2021-02-04T17:07:20.038Z] 24401381a7e5: Preparing [2021-02-04T17:07:20.038Z] 030c5e50c846: Preparing [2021-02-04T17:07:20.038Z] 777b2c648970: Preparing [2021-02-04T17:07:20.038Z] 777b2c648970: Layer already exists [2021-02-04T17:07:20.038Z] 030c5e50c846: Pushed [2021-02-04T17:07:20.038Z] 24401381a7e5: Pushed [2021-02-04T17:07:21.447Z] 544325e74e31: Pushed [2021-02-04T17:07:21.447Z] c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:21.764Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:21.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T17:07:21.663Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T17:07:21.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-02-04T17:07:21.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-02-04T17:07:21.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T17:07:21.743Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T17:07:22.107Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-02-04T17:07:22.107Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-02-04T17:07:22.107Z] 544325e74e31: Preparing [2021-02-04T17:07:22.107Z] 24401381a7e5: Preparing [2021-02-04T17:07:22.107Z] 030c5e50c846: Preparing [2021-02-04T17:07:22.107Z] 777b2c648970: Preparing [2021-02-04T17:07:22.107Z] 24401381a7e5: Layer already exists [2021-02-04T17:07:22.107Z] 030c5e50c846: Layer already exists [2021-02-04T17:07:22.107Z] 544325e74e31: Layer already exists [2021-02-04T17:07:22.107Z] 777b2c648970: Layer already exists [2021-02-04T17:07:22.107Z] latest: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:22.217Z] Checking out Revision c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 (master) [2021-02-04T17:07:22.421Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:22.731Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.1 [2021-02-04T17:07:22.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-02-04T17:07:22.731Z] 544325e74e31: Preparing [2021-02-04T17:07:22.731Z] 24401381a7e5: Preparing [2021-02-04T17:07:22.731Z] 030c5e50c846: Preparing [2021-02-04T17:07:22.731Z] 777b2c648970: Preparing [2021-02-04T17:07:22.731Z] 777b2c648970: Layer already exists [2021-02-04T17:07:22.731Z] 24401381a7e5: Layer already exists [2021-02-04T17:07:22.731Z] 030c5e50c846: Layer already exists [2021-02-04T17:07:22.731Z] 544325e74e31: Layer already exists [2021-02-04T17:07:22.731Z] 1.2.2-dev.1: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:23.049Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:23.364Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [2021-02-04T17:07:23.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-02-04T17:07:23.364Z] 544325e74e31: Preparing [2021-02-04T17:07:23.364Z] 24401381a7e5: Preparing [2021-02-04T17:07:23.364Z] 030c5e50c846: Preparing [2021-02-04T17:07:23.364Z] 777b2c648970: Preparing [2021-02-04T17:07:23.364Z] 777b2c648970: Layer already exists [2021-02-04T17:07:23.364Z] 544325e74e31: Layer already exists [2021-02-04T17:07:23.364Z] 24401381a7e5: Layer already exists [2021-02-04T17:07:23.364Z] 030c5e50c846: Layer already exists [2021-02-04T17:07:23.364Z] c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:22.227Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T17:07:22.242Z] > git checkout -f c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 # timeout=10 [2021-02-04T17:07:23.679Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:23.985Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2021-02-04T17:07:23.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2021-02-04T17:07:23.985Z] 544325e74e31: Preparing [2021-02-04T17:07:23.985Z] 24401381a7e5: Preparing [2021-02-04T17:07:23.985Z] 030c5e50c846: Preparing [2021-02-04T17:07:23.985Z] 777b2c648970: Preparing [2021-02-04T17:07:23.985Z] 777b2c648970: Layer already exists [2021-02-04T17:07:23.985Z] 24401381a7e5: Layer already exists [2021-02-04T17:07:23.985Z] 544325e74e31: Layer already exists [2021-02-04T17:07:23.985Z] 030c5e50c846: Layer already exists [2021-02-04T17:07:23.985Z] master: digest: sha256:879cab3861e2632a6f9d83b2fea86241723c9c1566d3ea3baeafdf57e4096949 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T17:07:24.220Z] ===================================================== [Pipeline] echo [2021-02-04T17:07:24.275Z] taggedImages: [2021-02-04T17:07:24.275Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [2021-02-04T17:07:24.275Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2021-02-04T17:07:24.275Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.2-dev.1 [2021-02-04T17:07:24.275Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [2021-02-04T17:07:24.275Z] - 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] } [2021-02-04T17:07:26.682Z] Commit message: "Merge pull request #69 from FelixTing/issue-65" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T17:07:28.110Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-04T17:07:28.520Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T17:07:28.864Z] + sudo service docker restart [2021-02-04T17:07:28.864Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T17:07:31.561Z] provisioning config files... [2021-02-04T17:07:31.606Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/33@tmp/config2150843366875789969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:07:32.019Z] ---> docker-login.sh [2021-02-04T17:07:32.019Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:07:32.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:33.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:33.246Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:33.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:33.246Z] [2021-02-04T17:07:33.246Z] Login Succeeded [2021-02-04T17:07:33.246Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:07:33.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:33.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:33.522Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:33.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:33.522Z] [2021-02-04T17:07:33.522Z] Login Succeeded [2021-02-04T17:07:33.522Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:07:34.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:34.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:34.123Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:34.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:34.123Z] [2021-02-04T17:07:34.123Z] Login Succeeded [2021-02-04T17:07:34.123Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:07:34.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:34.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:34.703Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:34.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:34.703Z] [2021-02-04T17:07:34.703Z] Login Succeeded [2021-02-04T17:07:34.703Z] docker.io [2021-02-04T17:07:34.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:35.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:35.583Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:35.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:35.583Z] [2021-02-04T17:07:35.583Z] Login Succeeded [2021-02-04T17:07:35.583Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:07:35.602Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T17:07:36.046Z] ========================================================= [2021-02-04T17:07:36.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T17:07:36.046Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:36.436Z] + 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 . [2021-02-04T17:07:36.436Z] Sending build context to Docker daemon 89.09kB [2021-02-04T17:07:36.719Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T17:07:36.719Z] Step 2/10 : FROM ${BASE} [2021-02-04T17:07:37.007Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T17:07:37.007Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T17:07:37.007Z] a4357932f1b6: Pulling fs layer [2021-02-04T17:07:37.007Z] 18c013af1878: Pulling fs layer [2021-02-04T17:07:37.007Z] 00ac8860ef70: Pulling fs layer [2021-02-04T17:07:37.007Z] 63d7cb157983: Pulling fs layer [2021-02-04T17:07:37.007Z] b116817d02f9: Pulling fs layer [2021-02-04T17:07:37.007Z] 745a02a5169b: Pulling fs layer [2021-02-04T17:07:37.007Z] 63d7cb157983: Waiting [2021-02-04T17:07:37.007Z] b116817d02f9: Waiting [2021-02-04T17:07:37.007Z] 745a02a5169b: Waiting [2021-02-04T17:07:37.007Z] 00ac8860ef70: Waiting [2021-02-04T17:07:37.007Z] 18c013af1878: Download complete [2021-02-04T17:07:37.007Z] a4357932f1b6: Download complete [2021-02-04T17:07:37.007Z] 63d7cb157983: Download complete [2021-02-04T17:07:37.007Z] 5f621e34cdf4: Verifying Checksum [2021-02-04T17:07:37.007Z] 5f621e34cdf4: Download complete [2021-02-04T17:07:37.007Z] b116817d02f9: Verifying Checksum [2021-02-04T17:07:37.007Z] b116817d02f9: Download complete [2021-02-04T17:07:38.005Z] 5f621e34cdf4: Pull complete [2021-02-04T17:07:38.280Z] a4357932f1b6: Pull complete [2021-02-04T17:07:38.883Z] 18c013af1878: Pull complete [2021-02-04T17:07:41.502Z] 745a02a5169b: Verifying Checksum [2021-02-04T17:07:41.502Z] 745a02a5169b: Download complete [2021-02-04T17:07:42.501Z] 00ac8860ef70: Download complete [2021-02-04T17:07:52.724Z] 00ac8860ef70: Pull complete [2021-02-04T17:07:52.724Z] 63d7cb157983: Pull complete [2021-02-04T17:07:53.002Z] b116817d02f9: Pull complete [2021-02-04T17:07:56.495Z] 745a02a5169b: Pull complete [2021-02-04T17:07:56.495Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T17:07:56.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T17:07:56.495Z] ---> b7e6874047d6 [2021-02-04T17:07:56.495Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-02-04T17:07:59.157Z] ---> Running in 0d7f94327b41 [2021-02-04T17:07:59.754Z] Removing intermediate container 0d7f94327b41 [2021-02-04T17:07:59.754Z] ---> ae8815be4c58 [2021-02-04T17:07:59.754Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T17:07:59.754Z] ---> Running in 2509d1bc2748 [2021-02-04T17:08:00.350Z] Removing intermediate container 2509d1bc2748 [2021-02-04T17:08:00.350Z] ---> bcf9b1d527be [2021-02-04T17:08:00.350Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T17:08:00.350Z] ---> Running in 003869342f23 [2021-02-04T17:08:00.946Z] Removing intermediate container 003869342f23 [2021-02-04T17:08:00.946Z] ---> 170343bd03ec [2021-02-04T17:08:00.946Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T17:08:00.946Z] ---> Running in 87f9030059bd [2021-02-04T17:08:03.595Z] Removing intermediate container 87f9030059bd [2021-02-04T17:08:03.595Z] ---> dcad69b69661 [2021-02-04T17:08:03.595Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T17:08:03.595Z] ---> Running in 698cae370a84 [2021-02-04T17:08:04.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T17:08:05.211Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T17:08:05.809Z] OK: 142 MiB in 39 packages [2021-02-04T17:08:07.289Z] Removing intermediate container 698cae370a84 [2021-02-04T17:08:07.289Z] ---> 3b22138bdfa6 [2021-02-04T17:08:07.289Z] Step 8/10 : WORKDIR /device-rest-go [2021-02-04T17:08:07.289Z] ---> Running in 6d381d8d295a [2021-02-04T17:08:07.926Z] Removing intermediate container 6d381d8d295a [2021-02-04T17:08:07.926Z] ---> ba37c4f169f3 [2021-02-04T17:08:07.926Z] Step 9/10 : COPY . . [2021-02-04T17:08:08.563Z] ---> df15134f0376 [2021-02-04T17:08:08.563Z] Step 10/10 : RUN go mod download [2021-02-04T17:08:08.563Z] ---> Running in 9d9044bb02fb [2021-02-04T17:08:30.845Z] Removing intermediate container 9d9044bb02fb [2021-02-04T17:08:30.845Z] ---> 140b1296fb32 [2021-02-04T17:08:30.845Z] Successfully built 140b1296fb32 [2021-02-04T17:08:30.845Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:08:31.203Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T17:08:31.203Z] . [Pipeline] withDockerContainer [2021-02-04T17:08:31.461Z] prd-ubuntu18.04-docker-arm64-4c-16g-25024 does not seem to be running inside a container [2021-02-04T17:08:31.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/33 -v /w/workspace/device-rest-go/33:/w/workspace/device-rest-go/33:rw,z -v /w/workspace/device-rest-go/33@tmp:/w/workspace/device-rest-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T17:08:32.989Z] $ docker top 8606e0e863aa47e9d91fd432c1b4b56dd692e10025ae4190e9ce50c719e87b6c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:08:34.053Z] + go version [2021-02-04T17:08:34.053Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T17:08:34.087Z] $ docker stop --time=1 8606e0e863aa47e9d91fd432c1b4b56dd692e10025ae4190e9ce50c719e87b6c [2021-02-04T17:08:36.059Z] $ docker rm -f 8606e0e863aa47e9d91fd432c1b4b56dd692e10025ae4190e9ce50c719e87b6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:08:37.171Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T17:08:37.171Z] . [Pipeline] withDockerContainer [2021-02-04T17:08:37.431Z] prd-ubuntu18.04-docker-arm64-4c-16g-25024 does not seem to be running inside a container [2021-02-04T17:08:37.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/33 -v /w/workspace/device-rest-go/33:/w/workspace/device-rest-go/33:rw,z -v /w/workspace/device-rest-go/33@tmp:/w/workspace/device-rest-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T17:08:39.039Z] $ docker top 803de21e35b463cf5ea790d40fc469b8f26b7b143dd9e2d8bccb1baea07033da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:08:40.020Z] + make test [2021-02-04T17:08:40.020Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-02-04T17:08:41.020Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-02-04T17:09:14.489Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-02-04T17:09:14.489Z] ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 56.3% of statements [2021-02-04T17:09:14.489Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T17:09:21.234Z] gofmt -l . [2021-02-04T17:09:21.234Z] [ "`gofmt -l .`" = "" ] [2021-02-04T17:09:21.234Z] ./bin/test-go-mod-tidy.sh [2021-02-04T17:09:21.234Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-02-04T17:09:21.538Z] $ docker stop --time=1 803de21e35b463cf5ea790d40fc469b8f26b7b143dd9e2d8bccb1baea07033da [2021-02-04T17:09:23.816Z] $ docker rm -f 803de21e35b463cf5ea790d40fc469b8f26b7b143dd9e2d8bccb1baea07033da [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T17:09:24.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-04T17:09:24.708Z] Warning: overwriting stash ‘coverage-report’ [2021-02-04T17:09:25.540Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T17:09:26.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-04T17:09:26.998Z] + ls -al . [2021-02-04T17:09:26.998Z] total 124 [2021-02-04T17:09:26.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 17:09 . [2021-02-04T17:09:26.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 17:07 .. [2021-02-04T17:09:26.998Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 4 17:07 .dockerignore [2021-02-04T17:09:26.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 17:07 .git [2021-02-04T17:09:26.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 17:07 .github [2021-02-04T17:09:26.998Z] -rw-rw-r-- 1 jenkins jenkins 339 Feb 4 17:07 .gitignore [2021-02-04T17:09:26.998Z] -rw-rw-r-- 1 jenkins jenkins 5294 Feb 4 17:07 Attribution.txt [2021-02-04T17:09:26.998Z] -rw-rw-r-- 1 jenkins jenkins 1530 Feb 4 17:07 Dockerfile [2021-02-04T17:09:26.998Z] -rw-rw-r-- 1 jenkins jenkins 1002 Feb 4 17:07 Dockerfile.build [2021-02-04T17:09:26.999Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 4 17:07 Jenkinsfile [2021-02-04T17:09:26.999Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 4 17:07 LICENSE [2021-02-04T17:09:26.999Z] -rw-rw-r-- 1 jenkins jenkins 951 Feb 4 17:07 Makefile [2021-02-04T17:09:26.999Z] -rw-rw-r-- 1 jenkins jenkins 5917 Feb 4 17:07 README.md [2021-02-04T17:09:26.999Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 4 17:04 VERSION [2021-02-04T17:09:26.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 17:07 bin [2021-02-04T17:09:26.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 17:07 cmd [2021-02-04T17:09:26.999Z] -rw-r--r-- 1 jenkins jenkins 9369 Feb 4 17:09 coverage.out [2021-02-04T17:09:26.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 17:09 driver [2021-02-04T17:09:26.999Z] -rw-r--r-- 1 jenkins jenkins 267 Feb 4 17:09 go.mod [2021-02-04T17:09:26.999Z] -rw-r--r-- 1 jenkins jenkins 13985 Feb 4 17:09 go.sum [2021-02-04T17:09:26.999Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 17:07 snap [2021-02-04T17:09:26.999Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 4 17:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:09:27.428Z] + 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=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 --label arch=arm64 --label version=1.2.2-dev.1 . [2021-02-04T17:09:27.428Z] Sending build context to Docker daemon 100.9kB [2021-02-04T17:09:27.711Z] Step 1/25 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T17:09:27.711Z] Step 2/25 : FROM ${BASE} AS builder [2021-02-04T17:09:27.711Z] ---> 140b1296fb32 [2021-02-04T17:09:27.711Z] Step 3/25 : ARG MAKE='make build' [2021-02-04T17:09:27.996Z] ---> Running in 96e72cc1d1e7 [2021-02-04T17:09:28.596Z] Removing intermediate container 96e72cc1d1e7 [2021-02-04T17:09:28.596Z] ---> 84a009d2c9e9 [2021-02-04T17:09:28.596Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2021-02-04T17:09:28.596Z] ---> Running in ff4bb107b19f [2021-02-04T17:09:29.191Z] Removing intermediate container ff4bb107b19f [2021-02-04T17:09:29.191Z] ---> 00461c385d72 [2021-02-04T17:09:29.191Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T17:09:29.191Z] ---> Running in 8298dae7071b [2021-02-04T17:09:29.785Z] Removing intermediate container 8298dae7071b [2021-02-04T17:09:29.785Z] ---> d602279c2bee [2021-02-04T17:09:29.785Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T17:09:29.785Z] ---> Running in 2d5d050ffd92 [2021-02-04T17:09:32.404Z] Removing intermediate container 2d5d050ffd92 [2021-02-04T17:09:32.404Z] ---> 706cadd77f6d [2021-02-04T17:09:32.404Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T17:09:32.404Z] ---> Running in fdbe4a75a21e [2021-02-04T17:09:33.000Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T17:09:33.969Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T17:09:34.558Z] OK: 142 MiB in 39 packages [2021-02-04T17:09:36.001Z] Removing intermediate container fdbe4a75a21e [2021-02-04T17:09:36.001Z] ---> b68c322530fc [2021-02-04T17:09:36.001Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2021-02-04T17:09:36.001Z] ---> Running in 22c42de55a5e [2021-02-04T17:09:36.279Z] Removing intermediate container 22c42de55a5e [2021-02-04T17:09:36.279Z] ---> 95f6a84dda20 [2021-02-04T17:09:36.279Z] Step 9/25 : COPY go.mod . [2021-02-04T17:09:37.255Z] ---> 8819408c40a9 [2021-02-04T17:09:37.255Z] Step 10/25 : COPY Makefile . [2021-02-04T17:09:37.850Z] ---> ae9090155a4e [2021-02-04T17:09:37.850Z] Step 11/25 : RUN make update [2021-02-04T17:09:38.126Z] ---> Running in 2aabc2989db4 [2021-02-04T17:09:39.110Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-02-04T17:09:40.542Z] Removing intermediate container 2aabc2989db4 [2021-02-04T17:09:40.542Z] ---> 9846d3eef57b [2021-02-04T17:09:40.542Z] Step 12/25 : COPY . . [2021-02-04T17:09:41.139Z] ---> b0c7cdcd6b55 [2021-02-04T17:09:41.139Z] Step 13/25 : RUN $MAKE [2021-02-04T17:09:41.139Z] ---> Running in fc4fef0eef1e [2021-02-04T17:09:42.118Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.2-dev.1" -o cmd/device-rest-go ./cmd [2021-02-04T17:10:08.909Z] Removing intermediate container fc4fef0eef1e [2021-02-04T17:10:08.909Z] ---> f16b2dcef16d [2021-02-04T17:10:08.909Z] Step 14/25 : FROM alpine:3.12 [2021-02-04T17:10:09.501Z] 3.12: Pulling from library/alpine [2021-02-04T17:10:09.772Z] 159e5727ea61: Pulling fs layer [2021-02-04T17:10:10.046Z] 159e5727ea61: Verifying Checksum [2021-02-04T17:10:10.640Z] 159e5727ea61: Pull complete [2021-02-04T17:10:10.640Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-04T17:10:10.640Z] Status: Downloaded newer image for alpine:3.12 [2021-02-04T17:10:10.640Z] ---> afeebe901d6b [2021-02-04T17:10:10.640Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T17:10:10.913Z] ---> Running in c7d598321ad6 [2021-02-04T17:10:11.189Z] Removing intermediate container c7d598321ad6 [2021-02-04T17:10:11.189Z] ---> 8de9a6dc1995 [2021-02-04T17:10:11.189Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-02-04T17:10:11.460Z] ---> Running in 835ac14a170b [2021-02-04T17:10:11.733Z] Removing intermediate container 835ac14a170b [2021-02-04T17:10:11.733Z] ---> 798d87c9ef55 [2021-02-04T17:10:11.733Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2021-02-04T17:10:12.724Z] ---> 10d4fbd71609 [2021-02-04T17:10:12.724Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2021-02-04T17:10:13.317Z] ---> 9820ae8a648b [2021-02-04T17:10:13.317Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2021-02-04T17:10:14.310Z] ---> bb069e4af7ae [2021-02-04T17:10:14.310Z] Step 20/25 : EXPOSE 49986 [2021-02-04T17:10:14.591Z] ---> Running in bae4645ce3a7 [2021-02-04T17:10:15.191Z] Removing intermediate container bae4645ce3a7 [2021-02-04T17:10:15.191Z] ---> dbf0ecd32026 [2021-02-04T17:10:15.191Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2021-02-04T17:10:15.191Z] ---> Running in cfd88309f643 [2021-02-04T17:10:15.488Z] Removing intermediate container cfd88309f643 [2021-02-04T17:10:15.488Z] ---> 63c7c266b8ce [2021-02-04T17:10:15.488Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-02-04T17:10:15.766Z] ---> Running in 9abc8aadd8e0 [2021-02-04T17:10:16.361Z] Removing intermediate container 9abc8aadd8e0 [2021-02-04T17:10:16.361Z] ---> 53d5ba606120 [2021-02-04T17:10:16.361Z] Step 23/25 : LABEL arch=arm64 [2021-02-04T17:10:16.361Z] ---> Running in 798e92897798 [2021-02-04T17:10:16.953Z] Removing intermediate container 798e92897798 [2021-02-04T17:10:16.953Z] ---> f7f0c5d24602 [2021-02-04T17:10:16.953Z] Step 24/25 : LABEL git_sha=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [2021-02-04T17:10:16.953Z] ---> Running in 731e0b66a5be [2021-02-04T17:10:17.223Z] Removing intermediate container 731e0b66a5be [2021-02-04T17:10:17.223Z] ---> ce05a68e2c6a [2021-02-04T17:10:17.223Z] Step 25/25 : LABEL version=1.2.2-dev.1 [2021-02-04T17:10:17.497Z] ---> Running in 9823d5f7cae2 [2021-02-04T17:10:17.776Z] Removing intermediate container 9823d5f7cae2 [2021-02-04T17:10:17.776Z] ---> 7eac2774f317 [2021-02-04T17:10:17.776Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-04T17:10:17.776Z] Successfully built 7eac2774f317 [2021-02-04T17:10:18.047Z] 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 [2021-02-04T17:10:18.566Z] provisioning config files... [2021-02-04T17:10:18.600Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/33@tmp/config2705359891723036237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:10:18.993Z] ---> docker-login.sh [2021-02-04T17:10:18.993Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:10:19.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:10:19.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:10:19.535Z] Configure a credential helper to remove this warning. See [2021-02-04T17:10:19.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:10:19.535Z] [2021-02-04T17:10:19.535Z] Login Succeeded [2021-02-04T17:10:19.535Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:10:19.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:10:20.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:10:20.084Z] Configure a credential helper to remove this warning. See [2021-02-04T17:10:20.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:10:20.084Z] [2021-02-04T17:10:20.084Z] Login Succeeded [2021-02-04T17:10:20.084Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:10:20.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:10:20.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:10:20.633Z] Configure a credential helper to remove this warning. See [2021-02-04T17:10:20.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:10:20.633Z] [2021-02-04T17:10:20.633Z] Login Succeeded [2021-02-04T17:10:20.633Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:10:20.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:10:21.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:10:21.181Z] Configure a credential helper to remove this warning. See [2021-02-04T17:10:21.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:10:21.181Z] [2021-02-04T17:10:21.181Z] Login Succeeded [2021-02-04T17:10:21.181Z] docker.io [2021-02-04T17:10:21.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:10:22.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:10:22.049Z] Configure a credential helper to remove this warning. See [2021-02-04T17:10:22.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:10:22.049Z] [2021-02-04T17:10:22.049Z] Login Succeeded [2021-02-04T17:10:22.049Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:10:22.068Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T17:10:22.454Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2021-02-04T17:10:22.454Z] c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [2021-02-04T17:10:22.454Z] latest [2021-02-04T17:10:22.454Z] 1.2.2-dev.1 [2021-02-04T17:10:22.454Z] c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [2021-02-04T17:10:22.454Z] master [2021-02-04T17:10:22.454Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:23.100Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:23.445Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [2021-02-04T17:10:23.446Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-02-04T17:10:23.446Z] 9f33a1f1a211: Preparing [2021-02-04T17:10:23.446Z] 25ca43f5c126: Preparing [2021-02-04T17:10:23.446Z] 67162f3b1ae9: Preparing [2021-02-04T17:10:23.446Z] 379067d0cb53: Preparing [2021-02-04T17:10:23.723Z] 379067d0cb53: Layer already exists [2021-02-04T17:10:23.723Z] 67162f3b1ae9: Pushed [2021-02-04T17:10:23.723Z] 25ca43f5c126: Pushed [2021-02-04T17:10:26.344Z] 9f33a1f1a211: Pushed [2021-02-04T17:10:26.344Z] c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:26.692Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:27.031Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-02-04T17:10:27.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-02-04T17:10:27.031Z] 9f33a1f1a211: Preparing [2021-02-04T17:10:27.031Z] 25ca43f5c126: Preparing [2021-02-04T17:10:27.031Z] 67162f3b1ae9: Preparing [2021-02-04T17:10:27.031Z] 379067d0cb53: Preparing [2021-02-04T17:10:27.031Z] 25ca43f5c126: Layer already exists [2021-02-04T17:10:27.031Z] 67162f3b1ae9: Layer already exists [2021-02-04T17:10:27.031Z] 9f33a1f1a211: Layer already exists [2021-02-04T17:10:27.031Z] 379067d0cb53: Layer already exists [2021-02-04T17:10:27.303Z] latest: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:27.642Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:27.978Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.1 [2021-02-04T17:10:27.978Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-02-04T17:10:27.978Z] 9f33a1f1a211: Preparing [2021-02-04T17:10:27.978Z] 25ca43f5c126: Preparing [2021-02-04T17:10:27.978Z] 67162f3b1ae9: Preparing [2021-02-04T17:10:27.978Z] 379067d0cb53: Preparing [2021-02-04T17:10:27.978Z] 379067d0cb53: Layer already exists [2021-02-04T17:10:27.978Z] 67162f3b1ae9: Layer already exists [2021-02-04T17:10:27.978Z] 25ca43f5c126: Layer already exists [2021-02-04T17:10:27.978Z] 9f33a1f1a211: Layer already exists [2021-02-04T17:10:28.275Z] 1.2.2-dev.1: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:28.629Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:28.967Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [2021-02-04T17:10:28.967Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-02-04T17:10:28.967Z] 9f33a1f1a211: Preparing [2021-02-04T17:10:28.967Z] 25ca43f5c126: Preparing [2021-02-04T17:10:28.967Z] 67162f3b1ae9: Preparing [2021-02-04T17:10:28.967Z] 379067d0cb53: Preparing [2021-02-04T17:10:28.967Z] 25ca43f5c126: Layer already exists [2021-02-04T17:10:28.967Z] 379067d0cb53: Layer already exists [2021-02-04T17:10:28.967Z] 67162f3b1ae9: Layer already exists [2021-02-04T17:10:28.967Z] 9f33a1f1a211: Layer already exists [2021-02-04T17:10:29.238Z] c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:29.583Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:29.920Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2021-02-04T17:10:29.920Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2021-02-04T17:10:29.920Z] 9f33a1f1a211: Preparing [2021-02-04T17:10:29.920Z] 25ca43f5c126: Preparing [2021-02-04T17:10:29.920Z] 67162f3b1ae9: Preparing [2021-02-04T17:10:29.920Z] 379067d0cb53: Preparing [2021-02-04T17:10:29.920Z] 9f33a1f1a211: Layer already exists [2021-02-04T17:10:29.920Z] 379067d0cb53: Layer already exists [2021-02-04T17:10:29.920Z] 67162f3b1ae9: Layer already exists [2021-02-04T17:10:29.920Z] 25ca43f5c126: Layer already exists [2021-02-04T17:10:30.191Z] master: digest: sha256:48f0271434da6568fcd999750b77be80f77427260572a77a8f552ecc95fe162f size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T17:10:30.405Z] ===================================================== [Pipeline] echo [2021-02-04T17:10:30.452Z] taggedImages: [2021-02-04T17:10:30.452Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [2021-02-04T17:10:30.452Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2021-02-04T17:10:30.452Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.2-dev.1 [2021-02-04T17:10:30.452Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584-1.2.2-dev.1 [2021-02-04T17:10:30.452Z] - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [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) [Pipeline] unstash [Pipeline] wrap [2021-02-04T17:10:32.000Z] provisioning config files... [2021-02-04T17:10:32.014Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6996780248650025363tmp [Pipeline] { [Pipeline] sh [2021-02-04T17:10:32.471Z] + set +x [2021-02-04T17:10:32.472Z] + curl -s https://codecov.io/bash [2021-02-04T17:10:32.472Z] + bash -s -- [2021-02-04T17:10:32.472Z] [2021-02-04T17:10:32.472Z] _____ _ [2021-02-04T17:10:32.472Z] / ____| | | [2021-02-04T17:10:32.472Z] | | ___ __| | ___ ___ _____ __ [2021-02-04T17:10:32.472Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-04T17:10:32.472Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-04T17:10:32.472Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-04T17:10:32.472Z] Bash-20210129-7c25fce [2021-02-04T17:10:32.472Z] [2021-02-04T17:10:32.472Z] [2021-02-04T17:10:32.736Z] ==> git version 2.24.3 found [2021-02-04T17:10:32.736Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-02-04T17:10:32.736Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-04T17:10:32.736Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-04T17:10:32.736Z] ==> Jenkins CI detected. [2021-02-04T17:10:32.736Z] project root: . [2021-02-04T17:10:32.736Z] --> token set from env [2021-02-04T17:10:32.736Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-04T17:10:32.736Z] ==> Running gcov in . (disable via -X gcov) [2021-02-04T17:10:32.736Z] ==> Python coveragepy not found [2021-02-04T17:10:32.736Z] ==> Searching for coverage reports in: [2021-02-04T17:10:32.736Z] + . [2021-02-04T17:10:32.736Z] -> Found 1 reports [2021-02-04T17:10:32.736Z] ==> Detecting git/mercurial file structure [2021-02-04T17:10:32.736Z] ==> Reading reports [2021-02-04T17:10:32.736Z] + ./coverage.out bytes=9369 [2021-02-04T17:10:32.736Z] ==> Appending adjustments [2021-02-04T17:10:32.736Z] https://docs.codecov.io/docs/fixing-reports [2021-02-04T17:10:32.736Z] + Found adjustments [2021-02-04T17:10:32.736Z] ==> Gzipping contents [2021-02-04T17:10:32.736Z] 4.0K /tmp/codecov.7SJMoZ.gz [2021-02-04T17:10:32.736Z] ==> Uploading reports [2021-02-04T17:10:32.736Z] url: https://codecov.io [2021-02-04T17:10:32.736Z] query: branch=master&commit=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-04T17:10:32.736Z] -> Pinging Codecov [2021-02-04T17:10:32.736Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-04T17:10:33.315Z] -> Uploading to [2021-02-04T17:10:33.315Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-04/4E5D53B4F1F92C436F7061BF334D961C/c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584/76c927b3-1117-4d50-80a3-5e298e63b73a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210204T171033Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b5c34833ecfc5660cc8e972bbd56149d1b02ee767082c9e41bd8640af5bec75 [2021-02-04T17:10:33.315Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-04T17:10:33.315Z] Dload Upload Total Spent Left Speed [2021-02-04T17:10:33.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4442 --:--:-- --:--:-- --:--:-- 4448 [2021-02-04T17:10:33.576Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] } [2021-02-04T17:10:33.589Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-04T17:10:34.107Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-04T17:10:34.163Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:34.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T17:10:34.507Z] [2021-02-04T17:10:34.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:34.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T17:10:34.860Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-04T17:10:34.860Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T17:10:34.860Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T17:10:34.860Z] de9db76c5a1d: Pulling fs layer [2021-02-04T17:10:34.860Z] 0eba1c9be4d2: Pulling fs layer [2021-02-04T17:10:34.860Z] 0d57e429df01: Pulling fs layer [2021-02-04T17:10:34.860Z] 4e4be7b47b0d: Pulling fs layer [2021-02-04T17:10:34.860Z] e1f770b5df2f: Pulling fs layer [2021-02-04T17:10:34.860Z] 85a0685a4137: Pulling fs layer [2021-02-04T17:10:34.860Z] 0eba1c9be4d2: Waiting [2021-02-04T17:10:34.860Z] 4e4be7b47b0d: Waiting [2021-02-04T17:10:34.860Z] 0d57e429df01: Waiting [2021-02-04T17:10:34.860Z] 85a0685a4137: Waiting [2021-02-04T17:10:34.861Z] e1f770b5df2f: Waiting [2021-02-04T17:10:34.861Z] de9db76c5a1d: Verifying Checksum [2021-02-04T17:10:34.861Z] de9db76c5a1d: Download complete [2021-02-04T17:10:34.861Z] 0ef7d3d256c8: Download complete [2021-02-04T17:10:34.861Z] 0d57e429df01: Verifying Checksum [2021-02-04T17:10:34.861Z] 0d57e429df01: Download complete [2021-02-04T17:10:34.861Z] 4e4be7b47b0d: Verifying Checksum [2021-02-04T17:10:34.861Z] 4e4be7b47b0d: Download complete [2021-02-04T17:10:34.861Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T17:10:34.861Z] 188c0c94c7c5: Download complete [2021-02-04T17:10:35.442Z] 188c0c94c7c5: Pull complete [2021-02-04T17:10:35.443Z] 0ef7d3d256c8: Pull complete [2021-02-04T17:10:35.718Z] de9db76c5a1d: Pull complete [2021-02-04T17:10:36.296Z] e1f770b5df2f: Verifying Checksum [2021-02-04T17:10:36.296Z] e1f770b5df2f: Download complete [2021-02-04T17:10:38.239Z] 0eba1c9be4d2: Verifying Checksum [2021-02-04T17:10:38.239Z] 0eba1c9be4d2: Download complete [2021-02-04T17:10:38.239Z] 85a0685a4137: Verifying Checksum [2021-02-04T17:10:38.239Z] 85a0685a4137: Download complete [2021-02-04T17:10:44.884Z] 0eba1c9be4d2: Pull complete [2021-02-04T17:10:44.884Z] 0d57e429df01: Pull complete [2021-02-04T17:10:44.884Z] 4e4be7b47b0d: Pull complete [2021-02-04T17:10:45.839Z] e1f770b5df2f: Pull complete [2021-02-04T17:10:54.012Z] 85a0685a4137: Pull complete [2021-02-04T17:10:54.012Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-04T17:10:54.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T17:10:54.012Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-04T17:10:54.239Z] prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container [2021-02-04T17:10:54.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-04T17:10:55.369Z] $ docker top 3bac824b45512edef276dad9c2d0aad9cfb3a303b4fea81e4401a11c4b152ede -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-04T17:10:55.612Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-04T17:10:55.912Z] + set -o pipefail [2021-02-04T17:10:55.912Z] + snyk monitor '--org=edgex-jenkins' [2021-02-04T17:11:04.069Z] [2021-02-04T17:11:04.069Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... [2021-02-04T17:11:04.069Z] [2021-02-04T17:11:04.069Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/e8f7eb6c-38ec-4783-a2af-5149ec13f66b [2021-02-04T17:11:04.069Z] [2021-02-04T17:11:04.069Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-04T17:11:04.069Z] [2021-02-04T17:11:04.647Z] [Pipeline] } [2021-02-04T17:11:04.664Z] $ docker stop --time=1 3bac824b45512edef276dad9c2d0aad9cfb3a303b4fea81e4401a11c4b152ede [2021-02-04T17:11:07.282Z] $ docker rm -f 3bac824b45512edef276dad9c2d0aad9cfb3a303b4fea81e4401a11c4b152ede [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-04T17:11:09.118Z] + git log --format=format:%s -1 c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:09.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:11:09.434Z] . [Pipeline] withDockerContainer [2021-02-04T17:11:09.557Z] prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container [2021-02-04T17:11:09.610Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T17:11:10.477Z] $ docker top 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T17:11:10.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:11:10.814Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:11:11.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:11:11.077Z] $ docker exec 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 ssh-agent [2021-02-04T17:11:11.251Z] SSH_AUTH_SOCK=/tmp/ssh-YVi8VoVbCT6D/agent.12 [2021-02-04T17:11:11.251Z] SSH_AGENT_PID=17 [2021-02-04T17:11:11.259Z] Running ssh-add (command line suppressed) [2021-02-04T17:11:11.395Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6848735120606963704.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_6848735120606963704.key) [2021-02-04T17:11:11.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:11:11.793Z] + git semver tag [2021-02-04T17:11:11.793Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T17:11:11.793Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-02-04T17:11:11.793Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-02-04T17:11:11.793Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T17:11:11.793Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T17:11:11.793Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T17:11:11.793Z] # $SEMVER_BRANCH = master [2021-02-04T17:11:11.793Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-02-04T17:11:11.793Z] # c106e3b7cdc74f36fa9af41cafdbf5af9d0ee584 HEAD [2021-02-04T17:11:11.793Z] # -> Force: false [2021-02-04T17:11:11.793Z] # e72ae075c480d67e1085592f7802fc7e51f975f3 refs/tags/v1.2.2-dev.1 [Pipeline] } [2021-02-04T17:11:11.809Z] $ docker exec --env ******** --env ******** 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 ssh-agent -k [2021-02-04T17:11:11.953Z] unset SSH_AUTH_SOCK; [2021-02-04T17:11:11.953Z] unset SSH_AGENT_PID; [2021-02-04T17:11:11.953Z] echo Agent pid 17 killed; [2021-02-04T17:11:12.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T17:11:12.521Z] + git semver [Pipeline] } [2021-02-04T17:11:12.540Z] $ docker stop --time=1 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 [2021-02-04T17:11:13.926Z] $ docker rm -f 6f5a9beda1719d3571afef947927b35755294d4bc02274fb307c5b05fa8e3cd8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:14.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T17:11:14.541Z] [2021-02-04T17:11:14.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:14.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T17:11:14.895Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-04T17:11:14.895Z] ab5ef0e58194: Pulling fs layer [2021-02-04T17:11:14.895Z] 9712f1f96733: Pulling fs layer [2021-02-04T17:11:14.895Z] 63f879dbbcfc: Pulling fs layer [2021-02-04T17:11:14.895Z] 0d9ebad4ef96: Pulling fs layer [2021-02-04T17:11:14.895Z] e9a5061849ea: Pulling fs layer [2021-02-04T17:11:14.895Z] d747dcd14b5f: Pulling fs layer [2021-02-04T17:11:14.895Z] 2de7ff778b66: Pulling fs layer [2021-02-04T17:11:14.895Z] e9a5061849ea: Waiting [2021-02-04T17:11:14.895Z] d747dcd14b5f: Waiting [2021-02-04T17:11:14.895Z] 2de7ff778b66: Waiting [2021-02-04T17:11:14.895Z] 0d9ebad4ef96: Waiting [2021-02-04T17:11:14.895Z] 9712f1f96733: Verifying Checksum [2021-02-04T17:11:14.895Z] 9712f1f96733: Download complete [2021-02-04T17:11:16.312Z] 63f879dbbcfc: Verifying Checksum [2021-02-04T17:11:16.312Z] 63f879dbbcfc: Download complete [2021-02-04T17:11:16.312Z] e9a5061849ea: Verifying Checksum [2021-02-04T17:11:16.312Z] e9a5061849ea: Download complete [2021-02-04T17:11:16.586Z] d747dcd14b5f: Verifying Checksum [2021-02-04T17:11:16.586Z] d747dcd14b5f: Download complete [2021-02-04T17:11:16.848Z] 2de7ff778b66: Verifying Checksum [2021-02-04T17:11:16.848Z] 2de7ff778b66: Download complete [2021-02-04T17:11:17.112Z] 0d9ebad4ef96: Verifying Checksum [2021-02-04T17:11:17.112Z] 0d9ebad4ef96: Download complete [2021-02-04T17:11:17.378Z] ab5ef0e58194: Verifying Checksum [2021-02-04T17:11:17.378Z] ab5ef0e58194: Download complete [2021-02-04T17:11:21.782Z] ab5ef0e58194: Pull complete [2021-02-04T17:11:21.782Z] 9712f1f96733: Pull complete [2021-02-04T17:11:24.359Z] 63f879dbbcfc: Pull complete [2021-02-04T17:11:31.006Z] 0d9ebad4ef96: Pull complete [2021-02-04T17:11:31.951Z] e9a5061849ea: Pull complete [2021-02-04T17:11:31.951Z] d747dcd14b5f: Pull complete [2021-02-04T17:11:34.526Z] 2de7ff778b66: Pull complete [2021-02-04T17:11:34.526Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-04T17:11:34.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T17:11:34.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-04T17:11:34.734Z] prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container [2021-02-04T17:11:34.806Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-04T17:11:38.610Z] $ docker top 2db0252d14bca85ef94bbe2b7ce4537d4a464b02e41b1017a5acc3768aaa21cb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-04T17:11:38.846Z] provisioning config files... [2021-02-04T17:11:38.856Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1641846948249900790tmp [2021-02-04T17:11:38.874Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config3659470160225810571tmp [2021-02-04T17:11:38.895Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4682986929860493255tmp [Pipeline] { [Pipeline] echo [2021-02-04T17:11:38.952Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:11:39.255Z] ---> sigul-configuration.sh [2021-02-04T17:11:39.255Z] gpg: directory `/root/.gnupg' created [2021-02-04T17:11:39.255Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-04T17:11:39.255Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-04T17:11:39.255Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-04T17:11:39.255Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-04T17:11:39.255Z] gpg: CAST5 encrypted data [2021-02-04T17:11:39.518Z] gpg: encrypted with 1 passphrase [2021-02-04T17:11:39.518Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-04T17:11:39.820Z] + mkdir /home/jenkins [2021-02-04T17:11:39.820Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-04T17:11:40.122Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-02-04T17:11:40.133Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:11:40.431Z] ---> sigul-install.sh [2021-02-04T17:11:45.736Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-04T17:11:46.036Z] + git tag --list [2021-02-04T17:11:46.036Z] v1.0.0 [2021-02-04T17:11:46.036Z] v1.1.0 [2021-02-04T17:11:46.036Z] v1.1.1 [2021-02-04T17:11:46.036Z] v1.1.2 [2021-02-04T17:11:46.036Z] v1.2.0 [2021-02-04T17:11:46.036Z] v1.2.1 [2021-02-04T17:11:46.036Z] v1.2.1-dev.1 [2021-02-04T17:11:46.036Z] v1.2.1-dev.2 [2021-02-04T17:11:46.036Z] v1.2.1-dev.3 [2021-02-04T17:11:46.036Z] v1.2.1-dev.4 [2021-02-04T17:11:46.036Z] v1.2.2-dev.1 [Pipeline] sh [2021-02-04T17:11:46.341Z] + lftools sign git-tag v1.2.2-dev.1 [2021-02-04T17:11:47.730Z] Signing Git tag with Sigul... [2021-02-04T17:11:47.731Z] Signing v1.2.2-dev.1 [Pipeline] echo [2021-02-04T17:11:48.698Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:11:49.000Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-04T17:11:49.010Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-04T17:11:49.103Z] $ docker stop --time=1 2db0252d14bca85ef94bbe2b7ce4537d4a464b02e41b1017a5acc3768aaa21cb [2021-02-04T17:11:51.183Z] $ docker rm -f 2db0252d14bca85ef94bbe2b7ce4537d4a464b02e41b1017a5acc3768aaa21cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:52.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:11:52.110Z] . [Pipeline] withDockerContainer [2021-02-04T17:11:52.209Z] prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container [2021-02-04T17:11:52.265Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T17:11:53.026Z] $ docker top 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T17:11:53.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:11:53.369Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:11:53.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:11:53.597Z] $ docker exec 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 ssh-agent [2021-02-04T17:11:53.773Z] SSH_AUTH_SOCK=/tmp/ssh-eftnvNQboEej/agent.12 [2021-02-04T17:11:53.773Z] SSH_AGENT_PID=17 [2021-02-04T17:11:53.781Z] Running ssh-add (command line suppressed) [2021-02-04T17:11:53.907Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4297914156888376730.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4297914156888376730.key) [2021-02-04T17:11:53.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:11:54.309Z] + git semver bump pre [2021-02-04T17:11:54.309Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T17:11:54.309Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-02-04T17:11:54.309Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-02-04T17:11:54.309Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T17:11:54.310Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T17:11:54.310Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T17:11:54.310Z] # $SEMVER_BRANCH = master [2021-02-04T17:11:54.310Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [2021-02-04T17:11:54.310Z] 1.2.2-dev.2 [Pipeline] } [2021-02-04T17:11:54.324Z] $ docker exec --env ******** --env ******** 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 ssh-agent -k [2021-02-04T17:11:54.446Z] unset SSH_AUTH_SOCK; [2021-02-04T17:11:54.446Z] unset SSH_AGENT_PID; [2021-02-04T17:11:54.446Z] echo Agent pid 17 killed; [2021-02-04T17:11:54.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T17:11:55.003Z] + git semver [Pipeline] } [2021-02-04T17:11:55.021Z] $ docker stop --time=1 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 [2021-02-04T17:11:56.379Z] $ docker rm -f 90196d3d848790000385f6d1fa0ecfcfddf8192acb4f03cae2858ca0abae1bc4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:56.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:11:56.935Z] . [Pipeline] withDockerContainer [2021-02-04T17:11:57.036Z] prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container [2021-02-04T17:11:57.088Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T17:11:57.667Z] $ docker top 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T17:11:57.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:11:57.955Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:11:58.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:11:58.138Z] $ docker exec 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 ssh-agent [2021-02-04T17:11:58.313Z] SSH_AUTH_SOCK=/tmp/ssh-fCPfks0f82zy/agent.12 [2021-02-04T17:11:58.313Z] SSH_AGENT_PID=17 [2021-02-04T17:11:58.320Z] Running ssh-add (command line suppressed) [2021-02-04T17:11:58.447Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_553554420209325953.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_553554420209325953.key) [2021-02-04T17:11:58.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:11:58.849Z] + git semver push [2021-02-04T17:11:58.850Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T17:11:58.850Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2021-02-04T17:11:58.850Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2021-02-04T17:11:58.850Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T17:11:58.850Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T17:11:58.850Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T17:11:58.850Z] # $SEMVER_BRANCH = master [2021-02-04T17:11:58.850Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2021-02-04T17:12:07.046Z] $ docker exec --env ******** --env ******** 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 ssh-agent -k [2021-02-04T17:12:07.185Z] unset SSH_AUTH_SOCK; [2021-02-04T17:12:07.185Z] unset SSH_AGENT_PID; [2021-02-04T17:12:07.186Z] echo Agent pid 17 killed; [2021-02-04T17:12:07.246Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T17:12:07.734Z] + git semver [Pipeline] } [2021-02-04T17:12:07.753Z] $ docker stop --time=1 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 [2021-02-04T17:12:09.212Z] $ docker rm -f 53cd0f1f46cca86306a61801346d4e73245aa408b99b4f742b3c03e5d7d861f4 [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 [2021-02-04T17:12:11.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:12:11.574Z] ---> package-listing.sh [2021-02-04T17:12:11.574Z] ++ facter osfamily [2021-02-04T17:12:11.574Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T17:12:11.574Z] + OS_FAMILY=redhat [2021-02-04T17:12:11.574Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2021-02-04T17:12:11.574Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T17:12:11.574Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T17:12:11.574Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T17:12:11.574Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T17:12:11.574Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-02-04T17:12:11.574Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T17:12:11.574Z] + case "${OS_FAMILY}" in [2021-02-04T17:12:11.574Z] + rpm -qa [2021-02-04T17:12:11.574Z] + sort [2021-02-04T17:12:16.885Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T17:12:16.885Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T17:12:16.885Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T17:12:16.885Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2021-02-04T17:12:16.885Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2021-02-04T17:12:16.886Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo [2021-02-04T17:12:16.902Z] 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 [2021-02-04T17:12:17.205Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:17.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T17:12:17.512Z] [2021-02-04T17:12:17.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:17.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T17:12:17.864Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T17:12:17.864Z] df20fa9351a1: Pulling fs layer [2021-02-04T17:12:17.864Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T17:12:17.864Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T17:12:17.864Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T17:12:17.864Z] 93b61091891f: Pulling fs layer [2021-02-04T17:12:17.864Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T17:12:17.864Z] 5e14af77c1be: Pulling fs layer [2021-02-04T17:12:17.864Z] 01666e4c0597: Pulling fs layer [2021-02-04T17:12:17.864Z] aa168da1d23b: Pulling fs layer [2021-02-04T17:12:17.864Z] 46f8f816bc3b: Waiting [2021-02-04T17:12:17.864Z] 93b61091891f: Waiting [2021-02-04T17:12:17.864Z] 93b9cdb0e59b: Waiting [2021-02-04T17:12:17.864Z] 5e14af77c1be: Waiting [2021-02-04T17:12:17.864Z] 01666e4c0597: Waiting [2021-02-04T17:12:17.864Z] aa168da1d23b: Waiting [2021-02-04T17:12:17.864Z] 36b3adc4ff6f: Verifying Checksum [2021-02-04T17:12:17.864Z] 36b3adc4ff6f: Download complete [2021-02-04T17:12:17.864Z] 46f8f816bc3b: Verifying Checksum [2021-02-04T17:12:17.864Z] 46f8f816bc3b: Download complete [2021-02-04T17:12:17.864Z] df20fa9351a1: Verifying Checksum [2021-02-04T17:12:17.864Z] df20fa9351a1: Download complete [2021-02-04T17:12:18.127Z] 93b61091891f: Verifying Checksum [2021-02-04T17:12:18.127Z] 93b61091891f: Download complete [2021-02-04T17:12:18.127Z] 93b9cdb0e59b: Verifying Checksum [2021-02-04T17:12:18.127Z] 93b9cdb0e59b: Download complete [2021-02-04T17:12:18.127Z] 5e14af77c1be: Verifying Checksum [2021-02-04T17:12:18.127Z] 5e14af77c1be: Download complete [2021-02-04T17:12:18.127Z] 01666e4c0597: Verifying Checksum [2021-02-04T17:12:18.127Z] 01666e4c0597: Download complete [2021-02-04T17:12:18.127Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T17:12:18.127Z] 8ad3a11d3b57: Download complete [2021-02-04T17:12:18.702Z] df20fa9351a1: Pull complete [2021-02-04T17:12:18.968Z] 36b3adc4ff6f: Pull complete [2021-02-04T17:12:20.375Z] aa168da1d23b: Verifying Checksum [2021-02-04T17:12:20.375Z] aa168da1d23b: Download complete [2021-02-04T17:12:20.375Z] 8ad3a11d3b57: Pull complete [2021-02-04T17:12:20.375Z] 46f8f816bc3b: Pull complete [2021-02-04T17:12:20.964Z] 93b61091891f: Pull complete [2021-02-04T17:12:20.964Z] 93b9cdb0e59b: Pull complete [2021-02-04T17:12:21.229Z] 5e14af77c1be: Pull complete [2021-02-04T17:12:21.229Z] 01666e4c0597: Pull complete [2021-02-04T17:12:27.867Z] aa168da1d23b: Pull complete [2021-02-04T17:12:27.867Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T17:12:27.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T17:12:27.867Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T17:12:28.093Z] prd-centos7-docker-4c-2g-25010 does not seem to be running inside a container [2021-02-04T17:12:28.147Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-04T17:12:31.733Z] $ docker top 4e7aea8bbc58ada14628a6305eaabe2c782372e8a2806f89bc5932a5d047a06f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:12:32.309Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T17:12:32.613Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T17:12:32.914Z] + ls /var/log/sa-host [2021-02-04T17:12:32.914Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T17:12:32.914Z] file_magic: OK [2021-02-04T17:12:32.914Z] HZ: Using current value: 100 [2021-02-04T17:12:32.914Z] file_header: OK [2021-02-04T17:12:32.914Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-04T17:12:32.914Z] Statistics: [2021-02-04T17:12:32.914Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T17:12:32.914Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T17:12:32.914Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T17:12:32.914Z] file_magic: OK [2021-02-04T17:12:32.914Z] HZ: Using current value: 100 [2021-02-04T17:12:32.914Z] file_header: OK [2021-02-04T17:12:32.914Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-04T17:12:32.914Z] Statistics: [2021-02-04T17:12:32.914Z] Hnuu...uuuununununu... [2021-02-04T17:12:32.914Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T17:12:33.117Z] provisioning config files... [2021-02-04T17:12:33.131Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7931907511704818490tmp [Pipeline] { [Pipeline] echo [2021-02-04T17:12:33.213Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:12:33.512Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T17:12:33.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T17:12:33.607Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:12:33.904Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T17:12:33.915Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:12:34.219Z] ---> sudo-logs.sh [2021-02-04T17:12:34.219Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T17:12:34.232Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:12:34.532Z] ---> job-cost.sh [2021-02-04T17:12:34.532Z] lf-activate-venv: SKIPPING [2021-02-04T17:12:34.532Z] INFO: No Stack... [2021-02-04T17:12:35.923Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T17:12:36.184Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T17:12:36.199Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:12:36.498Z] ---> logs-deploy.sh [2021-02-04T17:12:36.498Z] lf-activate-venv: SKIPPING [2021-02-04T17:12:36.498Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/33 [2021-02-04T17:12:36.498Z] INFO: archiving workspace using pattern(s): [2021-02-04T17:12:37.889Z] Archives upload complete. [2021-02-04T17:12:38.154Z] INFO: archiving logs to Nexus [2021-02-04T17:12:39.101Z] ---> uname -a: [2021-02-04T17:12:39.101Z] Linux prd-centos7-docker-4c-2g-25010.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z] ---> lscpu: [2021-02-04T17:12:39.101Z] Architecture: x86_64 [2021-02-04T17:12:39.101Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-04T17:12:39.101Z] Byte Order: Little Endian [2021-02-04T17:12:39.101Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-04T17:12:39.101Z] CPU(s): 4 [2021-02-04T17:12:39.101Z] On-line CPU(s) list: 0-3 [2021-02-04T17:12:39.101Z] Thread(s) per core: 1 [2021-02-04T17:12:39.101Z] Core(s) per socket: 1 [2021-02-04T17:12:39.101Z] Socket(s): 4 [2021-02-04T17:12:39.101Z] NUMA node(s): 1 [2021-02-04T17:12:39.101Z] Vendor ID: GenuineIntel [2021-02-04T17:12:39.101Z] CPU family: 6 [2021-02-04T17:12:39.101Z] Model: 44 [2021-02-04T17:12:39.101Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-04T17:12:39.101Z] Stepping: 1 [2021-02-04T17:12:39.101Z] CPU MHz: 2933.438 [2021-02-04T17:12:39.101Z] BogoMIPS: 5866.87 [2021-02-04T17:12:39.101Z] Virtualization: VT-x [2021-02-04T17:12:39.101Z] Hypervisor vendor: KVM [2021-02-04T17:12:39.101Z] Virtualization type: full [2021-02-04T17:12:39.101Z] L1d cache: 128 KiB [2021-02-04T17:12:39.101Z] L1i cache: 128 KiB [2021-02-04T17:12:39.101Z] L2 cache: 16 MiB [2021-02-04T17:12:39.101Z] L3 cache: 64 MiB [2021-02-04T17:12:39.101Z] NUMA node0 CPU(s): 0-3 [2021-02-04T17:12:39.101Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-04T17:12:39.101Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-04T17:12:39.101Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-04T17:12:39.101Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-04T17:12:39.101Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-04T17:12:39.101Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-04T17:12:39.101Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-04T17:12:39.101Z] Vulnerability Srbds: Not affected [2021-02-04T17:12:39.101Z] Vulnerability Tsx async abort: Not affected [2021-02-04T17:12:39.101Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z] ---> nproc: [2021-02-04T17:12:39.101Z] 4 [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z] ---> df -h: [2021-02-04T17:12:39.101Z] Filesystem Size Used Available Use% Mounted on [2021-02-04T17:12:39.101Z] overlay 50.0G 8.6G 41.4G 17% / [2021-02-04T17:12:39.101Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-04T17:12:39.101Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-04T17:12:39.101Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host [2021-02-04T17:12:39.101Z] /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z] ---> free -m: [2021-02-04T17:12:39.101Z] total used free shared buff/cache available [2021-02-04T17:12:39.101Z] Mem: 1837 827 145 0 864 944 [2021-02-04T17:12:39.101Z] Swap: 1023 3 1020 [2021-02-04T17:12:39.101Z] [2021-02-04T17:12:39.101Z]