Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt-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: true 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 Running on prd-centos7-docker-4c-2g-24866 in /w/workspace/gexfoundry_device-mqtt-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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 # timeout=10 Commit message: "Merge pull request #206 from weichou1229/issue-205" > git rev-list --no-walk 986676bd2495469ca6fabfae4bcb1d45a795bbbc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-04T04:47:04.636Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T04:47:04.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T04:47:04.990Z] ========================================================= [2021-02-04T04:47:04.990Z] EdgeX Global Pipelines Version Info [2021-02-04T04:47:04.990Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:47:09.256Z] ------------------- [2021-02-04T04:47:09.256Z] stable info: [2021-02-04T04:47:09.256Z] ------------------- [2021-02-04T04:47:09.256Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T04:47:09.256Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T04:47:09.256Z] Message: update stable to v1.0.179 [2021-02-04T04:47:10.410Z] ------------------- [2021-02-04T04:47:10.410Z] experimental info: [2021-02-04T04:47:10.410Z] ------------------- [2021-02-04T04:47:10.410Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T04:47:10.410Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T04:47:10.410Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T04:47:10.988Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-02-04T04:47:11.092Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-02-04T04:47:11.194Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T04:47:11.281Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T04:47:11.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T04:47:11.507Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T04:47:11.611Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T04:47:11.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T04:47:11.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-04T04:47:12.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T04:47:12.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T04:47:12.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-02-04T04:47:12.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T04:47:12.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T04:47:12.576Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T04:47:12.670Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T04:47:12.756Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T04:47:12.849Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T04:47:12.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T04:47:13.048Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-02-04T04:47:13.133Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-04T04:47:13.220Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-04T04:47:13.303Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T04:47:13.401Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T04:47:13.494Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-04T04:47:13.588Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T04:47:13.690Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T04:47:13.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-04T04:47:13.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-04T04:47:13.956Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-04T04:47:14.051Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [Pipeline] echo [2021-02-04T04:47:14.134Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5ef6ac [Pipeline] echo [2021-02-04T04:47:14.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T04:47:14.388Z] provisioning config files... [2021-02-04T04:47:14.528Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2561241923786055319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:47:15.110Z] ---> docker-login.sh [2021-02-04T04:47:15.110Z] nexus3.edgexfoundry.org:10001 [2021-02-04T04:47:16.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:47:16.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:47:16.417Z] Configure a credential helper to remove this warning. See [2021-02-04T04:47:16.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:47:16.417Z] [2021-02-04T04:47:16.417Z] Login Succeeded [2021-02-04T04:47:16.417Z] nexus3.edgexfoundry.org:10002 [2021-02-04T04:47:16.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:47:17.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:47:17.009Z] Configure a credential helper to remove this warning. See [2021-02-04T04:47:17.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:47:17.009Z] [2021-02-04T04:47:17.009Z] Login Succeeded [2021-02-04T04:47:17.009Z] nexus3.edgexfoundry.org:10003 [2021-02-04T04:47:17.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:47:17.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:47:17.292Z] Configure a credential helper to remove this warning. See [2021-02-04T04:47:17.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:47:17.292Z] [2021-02-04T04:47:17.292Z] Login Succeeded [2021-02-04T04:47:17.292Z] nexus3.edgexfoundry.org:10004 [2021-02-04T04:47:17.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:47:17.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:47:17.848Z] Configure a credential helper to remove this warning. See [2021-02-04T04:47:17.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:47:17.848Z] [2021-02-04T04:47:17.848Z] Login Succeeded [2021-02-04T04:47:17.848Z] docker.io [2021-02-04T04:47:18.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:47:18.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:47:18.417Z] Configure a credential helper to remove this warning. See [2021-02-04T04:47:18.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:47:18.417Z] [2021-02-04T04:47:18.417Z] Login Succeeded [2021-02-04T04:47:18.417Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T04:47:18.441Z] 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-04T04:47:19.446Z] + git log --format=format:%s -1 d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [Pipeline] echo [2021-02-04T04:47:19.660Z] GIT_COMMIT: d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4, Commit Message: Merge pull request #206 from weichou1229/issue-205 [Pipeline] echo [2021-02-04T04:47:19.712Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:47:20.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T04:47:21.019Z] [2021-02-04T04:47:21.019Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:47:21.491Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T04:47:21.771Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T04:47:21.771Z] 31603596830f: Pulling fs layer [2021-02-04T04:47:21.771Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T04:47:21.771Z] 6ca5941a6612: Pulling fs layer [2021-02-04T04:47:21.771Z] ecc8261a40a4: Pulling fs layer [2021-02-04T04:47:21.771Z] ecc8261a40a4: Waiting [2021-02-04T04:47:21.771Z] 2a8b12db71e7: Verifying Checksum [2021-02-04T04:47:21.771Z] 2a8b12db71e7: Download complete [2021-02-04T04:47:22.051Z] 31603596830f: Verifying Checksum [2021-02-04T04:47:22.051Z] 31603596830f: Download complete [2021-02-04T04:47:22.340Z] ecc8261a40a4: Verifying Checksum [2021-02-04T04:47:22.340Z] ecc8261a40a4: Download complete [2021-02-04T04:47:22.628Z] 31603596830f: Pull complete [2021-02-04T04:47:22.969Z] 2a8b12db71e7: Pull complete [2021-02-04T04:47:22.969Z] 6ca5941a6612: Verifying Checksum [2021-02-04T04:47:22.969Z] 6ca5941a6612: Download complete [2021-02-04T04:47:25.125Z] 6ca5941a6612: Pull complete [2021-02-04T04:47:26.279Z] ecc8261a40a4: Pull complete [2021-02-04T04:47:26.279Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T04:47:26.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T04:47:26.279Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T04:47:26.695Z] prd-centos7-docker-4c-2g-24866 does not seem to be running inside a container [2021-02-04T04:47:26.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-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-04T04:47:29.942Z] $ docker top 65006c3bb489091c79abafdacf5555a0cea08671d792d786f836f73ce722886d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T04:47:30.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T04:47:30.398Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T04:47:31.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T04:47:31.361Z] $ docker exec 65006c3bb489091c79abafdacf5555a0cea08671d792d786f836f73ce722886d ssh-agent [2021-02-04T04:47:32.039Z] SSH_AUTH_SOCK=/tmp/ssh-SsUPBxN6RUYD/agent.11 [2021-02-04T04:47:32.039Z] SSH_AGENT_PID=16 [2021-02-04T04:47:32.070Z] Running ssh-add (command line suppressed) [2021-02-04T04:47:32.354Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5980703591559803030.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5980703591559803030.key) [2021-02-04T04:47:32.649Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T04:47:33.388Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T04:47:33.423Z] $ docker exec --env ******** --env ******** 65006c3bb489091c79abafdacf5555a0cea08671d792d786f836f73ce722886d ssh-agent -k [2021-02-04T04:47:33.917Z] unset SSH_AUTH_SOCK; [2021-02-04T04:47:33.922Z] unset SSH_AGENT_PID; [2021-02-04T04:47:33.922Z] echo Agent pid 16 killed; [2021-02-04T04:47:34.159Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T04:47:34.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T04:47:34.295Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T04:47:34.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T04:47:34.815Z] $ docker exec 65006c3bb489091c79abafdacf5555a0cea08671d792d786f836f73ce722886d ssh-agent [2021-02-04T04:47:35.211Z] SSH_AUTH_SOCK=/tmp/ssh-0xF34YjkcnoJ/agent.45 [2021-02-04T04:47:35.211Z] SSH_AGENT_PID=50 [2021-02-04T04:47:35.233Z] Running ssh-add (command line suppressed) [2021-02-04T04:47:35.754Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7523795943417024346.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7523795943417024346.key) [2021-02-04T04:47:35.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T04:47:36.714Z] + git semver init [2021-02-04T04:47:36.714Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T04:47:36.714Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-04T04:47:36.714Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T04:47:36.714Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T04:47:36.714Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T04:47:36.714Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T04:47:36.714Z] # $SEMVER_BRANCH = master [2021-02-04T04:47:36.714Z] # $SEMVER_TEMP = /tmp/semver-356579154 [2021-02-04T04:47:36.714Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-02-04T04:47:36.997Z] # '/tmp/semver-356579154' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-02-04T04:47:37.270Z] # -> Force: false [2021-02-04T04:47:37.270Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-02-04T04:47:37.287Z] $ docker exec --env ******** --env ******** 65006c3bb489091c79abafdacf5555a0cea08671d792d786f836f73ce722886d ssh-agent -k [2021-02-04T04:47:37.530Z] unset SSH_AUTH_SOCK; [2021-02-04T04:47:37.536Z] unset SSH_AGENT_PID; [2021-02-04T04:47:37.536Z] echo Agent pid 50 killed; [2021-02-04T04:47:37.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T04:47:38.581Z] + git semver [Pipeline] } [2021-02-04T04:47:38.612Z] $ docker stop --time=1 65006c3bb489091c79abafdacf5555a0cea08671d792d786f836f73ce722886d [2021-02-04T04:47:40.270Z] $ docker rm -f 65006c3bb489091c79abafdacf5555a0cea08671d792d786f836f73ce722886d [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T04:47:40.900Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T04:47:41.624Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T04:47:41.627Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.2 [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-04T04:47:42.563Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24876 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-02-04T04:47:42.645Z] Running in /w/workspace/device-mqtt-go/32 [Pipeline] { [Pipeline] checkout [2021-02-04T04:47:47.827Z] using credential edgex-jenkins-ssh [2021-02-04T04:47:47.896Z] Cloning the remote Git repository [2021-02-04T04:47:47.961Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T04:47:48.101Z] > git init /w/workspace/device-mqtt-go/32 # timeout=10 [2021-02-04T04:47:48.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T04:47:48.185Z] > git --version # timeout=10 [2021-02-04T04:47:48.212Z] > git --version # 'git version 2.17.1' [2021-02-04T04:47:48.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T04:47:48.302Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T04:47:50.123Z] Checking out Revision d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 (master) [2021-02-04T04:47:49.567Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-04T04:47:49.586Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T04:47:49.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-04T04:47:49.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T04:47:49.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T04:47:49.661Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T04:47:50.145Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T04:47:50.165Z] > git checkout -f d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 # timeout=10 [2021-02-04T04:47:54.501Z] Commit message: "Merge pull request #206 from weichou1229/issue-205" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T04:47:55.922Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-04T04:47:56.345Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T04:47:56.692Z] + + true [2021-02-04T04:47:56.692Z] sudo service docker restart [2021-02-04T04:47:57.306Z] Still waiting to schedule task [2021-02-04T04:47:57.306Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T04:47:58.805Z] provisioning config files... [2021-02-04T04:47:58.907Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/32@tmp/config2475335460858698491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:47:59.373Z] ---> docker-login.sh [2021-02-04T04:47:59.374Z] nexus3.edgexfoundry.org:10001 [2021-02-04T04:48:00.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:48:00.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:48:00.642Z] Configure a credential helper to remove this warning. See [2021-02-04T04:48:00.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:48:00.642Z] [2021-02-04T04:48:00.642Z] Login Succeeded [2021-02-04T04:48:00.642Z] nexus3.edgexfoundry.org:10002 [2021-02-04T04:48:01.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:48:01.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:48:01.248Z] Configure a credential helper to remove this warning. See [2021-02-04T04:48:01.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:48:01.248Z] [2021-02-04T04:48:01.248Z] Login Succeeded [2021-02-04T04:48:01.248Z] nexus3.edgexfoundry.org:10003 [2021-02-04T04:48:01.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:48:01.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:48:01.864Z] Configure a credential helper to remove this warning. See [2021-02-04T04:48:01.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:48:01.864Z] [2021-02-04T04:48:01.864Z] Login Succeeded [2021-02-04T04:48:01.864Z] nexus3.edgexfoundry.org:10004 [2021-02-04T04:48:02.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:48:02.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:48:02.462Z] Configure a credential helper to remove this warning. See [2021-02-04T04:48:02.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:48:02.462Z] [2021-02-04T04:48:02.462Z] Login Succeeded [2021-02-04T04:48:02.462Z] docker.io [2021-02-04T04:48:03.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:48:03.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:48:03.342Z] Configure a credential helper to remove this warning. See [2021-02-04T04:48:03.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:48:03.342Z] [2021-02-04T04:48:03.342Z] Login Succeeded [2021-02-04T04:48:03.342Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T04:48:03.364Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T04:48:03.911Z] ========================================================= [2021-02-04T04:48:03.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T04:48:03.911Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:48:04.327Z] + 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-04T04:48:04.602Z] Sending build context to Docker daemon 499.7kB [2021-02-04T04:48:04.894Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T04:48:04.895Z] Step 2/8 : FROM ${BASE} [2021-02-04T04:48:04.895Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T04:48:04.895Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T04:48:04.895Z] a4357932f1b6: Pulling fs layer [2021-02-04T04:48:04.895Z] 18c013af1878: Pulling fs layer [2021-02-04T04:48:04.895Z] 00ac8860ef70: Pulling fs layer [2021-02-04T04:48:04.895Z] 63d7cb157983: Pulling fs layer [2021-02-04T04:48:04.895Z] b116817d02f9: Pulling fs layer [2021-02-04T04:48:04.895Z] 745a02a5169b: Pulling fs layer [2021-02-04T04:48:04.895Z] 63d7cb157983: Waiting [2021-02-04T04:48:04.895Z] b116817d02f9: Waiting [2021-02-04T04:48:04.895Z] 745a02a5169b: Waiting [2021-02-04T04:48:04.895Z] 00ac8860ef70: Waiting [2021-02-04T04:48:04.895Z] 18c013af1878: Verifying Checksum [2021-02-04T04:48:04.895Z] 18c013af1878: Download complete [2021-02-04T04:48:04.895Z] a4357932f1b6: Download complete [2021-02-04T04:48:04.895Z] 63d7cb157983: Verifying Checksum [2021-02-04T04:48:04.895Z] 63d7cb157983: Download complete [2021-02-04T04:48:04.895Z] b116817d02f9: Verifying Checksum [2021-02-04T04:48:04.895Z] b116817d02f9: Download complete [2021-02-04T04:48:04.895Z] 5f621e34cdf4: Verifying Checksum [2021-02-04T04:48:04.895Z] 5f621e34cdf4: Download complete [2021-02-04T04:48:05.897Z] 5f621e34cdf4: Pull complete [2021-02-04T04:48:06.176Z] a4357932f1b6: Pull complete [2021-02-04T04:48:06.785Z] 18c013af1878: Pull complete [2021-02-04T04:48:07.775Z] 745a02a5169b: Verifying Checksum [2021-02-04T04:48:07.775Z] 745a02a5169b: Download complete [2021-02-04T04:48:08.764Z] 00ac8860ef70: Verifying Checksum [2021-02-04T04:48:08.764Z] 00ac8860ef70: Download complete [2021-02-04T04:48:18.959Z] 00ac8860ef70: Pull complete [2021-02-04T04:48:18.959Z] 63d7cb157983: Pull complete [2021-02-04T04:48:18.959Z] b116817d02f9: Pull complete [2021-02-04T04:48:22.368Z] 745a02a5169b: Pull complete [2021-02-04T04:48:22.368Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T04:48:22.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T04:48:22.368Z] ---> b7e6874047d6 [2021-02-04T04:48:22.368Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-04T04:48:25.774Z] ---> Running in 0886fbc21c9b [2021-02-04T04:48:25.774Z] Removing intermediate container 0886fbc21c9b [2021-02-04T04:48:25.774Z] ---> 32b83bd0cb1f [2021-02-04T04:48:25.774Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T04:48:25.774Z] ---> Running in c4176eee1c96 [2021-02-04T04:48:28.397Z] Removing intermediate container c4176eee1c96 [2021-02-04T04:48:28.397Z] ---> d63aa5c32ad8 [2021-02-04T04:48:28.397Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-04T04:48:28.397Z] ---> Running in ba66d54cf2d9 [2021-02-04T04:48:29.394Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T04:48:30.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T04:48:31.803Z] (1/14) Installing libmagic (5.38-r0) [2021-02-04T04:48:32.077Z] (2/14) Installing file (5.38-r0) [2021-02-04T04:48:32.350Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-04T04:48:32.350Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-04T04:49:11.328Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-04T04:49:11.328Z] (6/14) Installing patch (2.7.6-r6) [2021-02-04T04:49:11.328Z] (7/14) Installing build-base (0.5-r2) [2021-02-04T04:49:11.328Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-04T04:49:11.328Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-04T04:49:11.328Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-04T04:49:14.713Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-04T04:49:14.713Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-04T04:49:14.984Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-04T04:49:15.592Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-04T04:49:16.194Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T04:49:16.194Z] OK: 221 MiB in 53 packages [2021-02-04T04:49:20.535Z] Removing intermediate container ba66d54cf2d9 [2021-02-04T04:49:20.535Z] ---> 127b063cb513 [2021-02-04T04:49:20.535Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-02-04T04:49:20.535Z] ---> Running in d97b8a41a87d [2021-02-04T04:49:20.535Z] Removing intermediate container d97b8a41a87d [2021-02-04T04:49:20.535Z] ---> f1d390f4c333 [2021-02-04T04:49:20.535Z] Step 7/8 : COPY . . [2021-02-04T04:49:21.535Z] ---> a6f65621d6bc [2021-02-04T04:49:21.535Z] Step 8/8 : RUN go mod download [2021-02-04T04:49:21.535Z] ---> Running in db77bfcacd55 [2021-02-04T04:49:48.331Z] Removing intermediate container db77bfcacd55 [2021-02-04T04:49:48.331Z] ---> 1d70ce434be3 [2021-02-04T04:49:48.331Z] Successfully built 1d70ce434be3 [2021-02-04T04:49:48.331Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:49:48.677Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T04:49:48.677Z] . [Pipeline] withDockerContainer [2021-02-04T04:49:48.972Z] prd-ubuntu18.04-docker-arm64-4c-16g-24876 does not seem to be running inside a container [2021-02-04T04:49:49.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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 ******** ci-base-image-arm64 cat [2021-02-04T04:49:50.699Z] $ docker top e15949edec60fcb285bb07647876d69f3497932c08c93991500755dff29fc7f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T04:49:51.797Z] + go version [2021-02-04T04:49:51.797Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T04:49:51.821Z] $ docker stop --time=1 e15949edec60fcb285bb07647876d69f3497932c08c93991500755dff29fc7f3 [2021-02-04T04:49:53.856Z] $ docker rm -f e15949edec60fcb285bb07647876d69f3497932c08c93991500755dff29fc7f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:49:54.966Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T04:49:54.966Z] . [Pipeline] withDockerContainer [2021-02-04T04:49:55.249Z] prd-ubuntu18.04-docker-arm64-4c-16g-24876 does not seem to be running inside a container [2021-02-04T04:49:55.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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 ******** ci-base-image-arm64 cat [2021-02-04T04:49:56.968Z] $ docker top 30d8a510c7b539517a51fa3034f266073984b7774eff61854c702b15e9da6c15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T04:49:58.036Z] + make test [2021-02-04T04:49:58.037Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-04T04:49:59.498Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-02-04T04:50:46.569Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-02-04T04:50:46.569Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.038s coverage: 26.5% of statements [2021-02-04T04:50:46.569Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-02-04T04:50:46.569Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T04:50:49.195Z] gofmt -l . [2021-02-04T04:50:49.195Z] ["`gofmt -l .`" = ""] [2021-02-04T04:50:49.195Z] ./bin/test-attribution-txt.sh [2021-02-04T04:50:49.793Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-04T04:50:50.464Z] $ docker stop --time=1 30d8a510c7b539517a51fa3034f266073984b7774eff61854c702b15e9da6c15 [2021-02-04T04:50:52.791Z] $ docker rm -f 30d8a510c7b539517a51fa3034f266073984b7774eff61854c702b15e9da6c15 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T04:50:53.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-04T04:50:54.923Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T04:50:57.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-04T04:50:57.966Z] + ls -al . [2021-02-04T04:50:57.966Z] total 132 [2021-02-04T04:50:57.966Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 4 04:50 . [2021-02-04T04:50:57.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 04:47 .. [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 04:47 .dockerignore [2021-02-04T04:50:57.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 04:47 .git [2021-02-04T04:50:57.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 04:47 .github [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 336 Feb 4 04:47 .gitignore [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 6165 Feb 4 04:47 Attribution.txt [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 1941 Feb 4 04:47 Dockerfile [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 957 Feb 4 04:47 Dockerfile.build [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 04:47 Jenkinsfile [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 4 04:47 LICENSE [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 902 Feb 4 04:47 Makefile [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 4 04:47 README.md [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 4 04:47 VERSION [2021-02-04T04:50:57.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 04:47 bin [2021-02-04T04:50:57.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 04:47 cmd [2021-02-04T04:50:57.966Z] -rw-r--r-- 1 jenkins jenkins 20209 Feb 4 04:50 coverage.out [2021-02-04T04:50:57.966Z] -rw-r--r-- 1 jenkins jenkins 495 Feb 4 04:50 go.mod [2021-02-04T04:50:57.966Z] -rw-r--r-- 1 jenkins jenkins 16072 Feb 4 04:50 go.sum [2021-02-04T04:50:57.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 04:47 internal [2021-02-04T04:50:57.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 04:47 mock [2021-02-04T04:50:57.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 04:47 snap [2021-02-04T04:50:57.966Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 4 04:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:50:58.307Z] + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 --label arch=arm64 --label version=1.3.2-dev.2 . [2021-02-04T04:50:58.580Z] Sending build context to Docker daemon 520.7kB [2021-02-04T04:50:58.580Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T04:50:58.580Z] Step 2/23 : FROM ${BASE} AS builder [2021-02-04T04:50:58.580Z] ---> 1d70ce434be3 [2021-02-04T04:50:58.580Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-02-04T04:50:58.853Z] ---> Running in f1f7c0aff99a [2021-02-04T04:50:59.446Z] Removing intermediate container f1f7c0aff99a [2021-02-04T04:50:59.446Z] ---> f9628079de0d [2021-02-04T04:50:59.446Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T04:50:59.446Z] ---> Running in 07a079850979 [2021-02-04T04:51:00.045Z] Removing intermediate container 07a079850979 [2021-02-04T04:51:00.045Z] ---> f7b846006440 [2021-02-04T04:51:00.045Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T04:51:00.045Z] ---> Running in a0ca8a666b77 [2021-02-04T04:51:02.663Z] Removing intermediate container a0ca8a666b77 [2021-02-04T04:51:02.663Z] ---> ff3c0c5093a8 [2021-02-04T04:51:02.663Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T04:51:02.663Z] ---> Running in 0dfb2fd2b78e [2021-02-04T04:51:03.647Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T04:51:05.069Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T04:51:06.041Z] OK: 221 MiB in 53 packages [2021-02-04T04:51:07.020Z] Removing intermediate container 0dfb2fd2b78e [2021-02-04T04:51:07.020Z] ---> d96c09f9c3df [2021-02-04T04:51:07.020Z] Step 7/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2021-02-04T04:51:07.298Z] ---> Running in cd47782b304f [2021-02-04T04:51:07.579Z] Removing intermediate container cd47782b304f [2021-02-04T04:51:07.579Z] ---> 8b1bfd625342 [2021-02-04T04:51:07.579Z] Step 8/23 : COPY . . [2021-02-04T04:51:08.574Z] ---> b664f7783c42 [2021-02-04T04:51:08.574Z] Step 9/23 : ARG MAKE='make build' [2021-02-04T04:51:08.851Z] ---> Running in 23cd8f9b8b18 [2021-02-04T04:51:09.139Z] Removing intermediate container 23cd8f9b8b18 [2021-02-04T04:51:09.139Z] ---> 3a4cb5697284 [2021-02-04T04:51:09.139Z] Step 10/23 : RUN $MAKE [2021-02-04T04:51:09.412Z] ---> Running in 5419b62385da [2021-02-04T04:51:10.399Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.2" -o cmd/device-mqtt ./cmd [2021-02-04T04:51:38.363Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-04T04:51:45.768Z] Running on prd-centos7-docker-4c-2g-24884 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-02-04T04:51:45.822Z] Running in /w/workspace/device-mqtt-go/32 [Pipeline] { [Pipeline] checkout [2021-02-04T04:51:46.667Z] Removing intermediate container 5419b62385da [2021-02-04T04:51:46.668Z] ---> b0b9135b8433 [2021-02-04T04:51:46.668Z] Step 11/23 : FROM alpine:3.12 [2021-02-04T04:51:46.668Z] 3.12: Pulling from library/alpine [2021-02-04T04:51:46.668Z] 159e5727ea61: Pulling fs layer [2021-02-04T04:51:46.668Z] 159e5727ea61: Verifying Checksum [2021-02-04T04:51:46.668Z] 159e5727ea61: Download complete [2021-02-04T04:51:46.668Z] 159e5727ea61: Pull complete [2021-02-04T04:51:46.668Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-04T04:51:46.668Z] Status: Downloaded newer image for alpine:3.12 [2021-02-04T04:51:46.668Z] ---> afeebe901d6b [2021-02-04T04:51:46.668Z] Step 12/23 : RUN apk add --update --no-cache dumb-init [2021-02-04T04:51:46.950Z] ---> Running in e652b57cc4c0 [2021-02-04T04:51:47.934Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T04:51:48.215Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T04:51:48.234Z] using credential edgex-jenkins-ssh [2021-02-04T04:51:48.286Z] Cloning the remote Git repository [2021-02-04T04:51:48.493Z] (1/1) Installing dumb-init (1.2.2-r1) [2021-02-04T04:51:48.493Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T04:51:48.493Z] OK: 5 MiB in 15 packages [2021-02-04T04:51:49.375Z] Checking out Revision d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 (master) [2021-02-04T04:51:48.312Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T04:51:48.376Z] > git init /w/workspace/device-mqtt-go/32 # timeout=10 [2021-02-04T04:51:48.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T04:51:48.435Z] > git --version # timeout=10 [2021-02-04T04:51:48.442Z] > git --version # 'git version 2.24.3' [2021-02-04T04:51:48.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T04:51:48.470Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T04:51:48.925Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-04T04:51:48.934Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T04:51:48.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-02-04T04:51:48.963Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-02-04T04:51:48.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T04:51:48.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T04:51:49.385Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T04:51:49.390Z] > git checkout -f d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 # timeout=10 [2021-02-04T04:51:49.933Z] Removing intermediate container e652b57cc4c0 [2021-02-04T04:51:49.933Z] ---> 488300de0e3a [2021-02-04T04:51:49.933Z] Step 13/23 : ENV APP_PORT=49982 [2021-02-04T04:51:49.933Z] ---> Running in 32724fbbadec [2021-02-04T04:51:50.217Z] Removing intermediate container 32724fbbadec [2021-02-04T04:51:50.217Z] ---> b7c12e5f91ca [2021-02-04T04:51:50.217Z] Step 14/23 : EXPOSE $APP_PORT [2021-02-04T04:51:50.491Z] ---> Running in 124ea44b7d5b [2021-02-04T04:51:51.088Z] Removing intermediate container 124ea44b7d5b [2021-02-04T04:51:51.088Z] ---> 74d7593afe75 [2021-02-04T04:51:51.088Z] Step 15/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2021-02-04T04:51:52.066Z] ---> 3a2b64c7e027 [2021-02-04T04:51:52.066Z] Step 16/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2021-02-04T04:51:52.661Z] ---> 69739546a9cc [2021-02-04T04:51:52.661Z] Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2021-02-04T04:51:53.205Z] Commit message: "Merge pull request #206 from weichou1229/issue-205" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-02-04T04:51:53.649Z] ---> e22aad48fa46 [2021-02-04T04:51:53.649Z] Step 18/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2021-02-04T04:51:53.649Z] ---> Running in 9457db84d5b9 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T04:51:54.253Z] Removing intermediate container 9457db84d5b9 [2021-02-04T04:51:54.253Z] ---> 1827782262ee [2021-02-04T04:51:54.253Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-02-04T04:51:54.253Z] ---> Running in 614a16da141b [2021-02-04T04:51:54.353Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T04:51:54.680Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T04:51:54.850Z] Removing intermediate container 614a16da141b [2021-02-04T04:51:54.850Z] ---> 26ae1b02b989 [2021-02-04T04:51:54.850Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-04T04:51:54.850Z] ---> Running in e1ba3aa95317 [2021-02-04T04:51:54.981Z] + true [2021-02-04T04:51:54.981Z] + sudo service docker restart [2021-02-04T04:51:54.981Z] Redirecting to /bin/systemctl restart docker.service [2021-02-04T04:51:55.456Z] Removing intermediate container e1ba3aa95317 [2021-02-04T04:51:55.456Z] ---> ba3b57ff3162 [2021-02-04T04:51:55.457Z] Step 21/23 : LABEL arch=arm64 [2021-02-04T04:51:55.457Z] ---> Running in 9941b8856044 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T04:51:55.990Z] provisioning config files... [2021-02-04T04:51:56.021Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/32@tmp/config885240527795037102tmp [Pipeline] { [2021-02-04T04:51:56.058Z] Removing intermediate container 9941b8856044 [2021-02-04T04:51:56.058Z] ---> f8c1494983d3 [2021-02-04T04:51:56.058Z] Step 22/23 : LABEL git_sha=d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [2021-02-04T04:51:56.058Z] ---> Running in c5eb329b2859 [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:51:56.333Z] Removing intermediate container c5eb329b2859 [2021-02-04T04:51:56.333Z] ---> 5916f0449982 [2021-02-04T04:51:56.333Z] Step 23/23 : LABEL version=1.3.2-dev.2 [2021-02-04T04:51:56.393Z] ---> docker-login.sh [2021-02-04T04:51:56.393Z] nexus3.edgexfoundry.org:10001 [2021-02-04T04:51:56.609Z] ---> Running in 4c8a6d8d6cd4 [2021-02-04T04:51:56.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:51:56.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:51:56.658Z] Configure a credential helper to remove this warning. See [2021-02-04T04:51:56.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:51:56.658Z] [2021-02-04T04:51:56.658Z] Login Succeeded [2021-02-04T04:51:56.658Z] nexus3.edgexfoundry.org:10002 [2021-02-04T04:51:56.884Z] Removing intermediate container 4c8a6d8d6cd4 [2021-02-04T04:51:56.884Z] ---> 99fb23b61f10 [2021-02-04T04:51:56.884Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-04T04:51:56.884Z] Successfully built 99fb23b61f10 [2021-02-04T04:51:56.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:51:56.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:51:56.922Z] Configure a credential helper to remove this warning. See [2021-02-04T04:51:56.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:51:56.922Z] [2021-02-04T04:51:56.922Z] Login Succeeded [2021-02-04T04:51:56.922Z] nexus3.edgexfoundry.org:10003 [2021-02-04T04:51:57.155Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [2021-02-04T04:51:57.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:51:57.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:51:57.185Z] Configure a credential helper to remove this warning. See [2021-02-04T04:51:57.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:51:57.185Z] [2021-02-04T04:51:57.185Z] Login Succeeded [2021-02-04T04:51:57.185Z] nexus3.edgexfoundry.org:10004 [2021-02-04T04:51:57.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:51:57.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:51:57.185Z] Configure a credential helper to remove this warning. See [2021-02-04T04:51:57.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:51:57.185Z] [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-02-04T04:51:57.452Z] Login Succeeded [2021-02-04T04:51:57.452Z] docker.io [2021-02-04T04:51:57.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T04:51:57.639Z] provisioning config files... [2021-02-04T04:51:57.674Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/32@tmp/config6705960352851852581tmp [Pipeline] { [2021-02-04T04:51:57.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:51:57.716Z] Configure a credential helper to remove this warning. See [2021-02-04T04:51:57.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:51:57.716Z] [2021-02-04T04:51:57.716Z] Login Succeeded [2021-02-04T04:51:57.716Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T04:51:57.739Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-02-04T04:51:58.066Z] ---> docker-login.sh [2021-02-04T04:51:58.066Z] nexus3.edgexfoundry.org:10001 [Pipeline] echo [2021-02-04T04:51:58.129Z] ========================================================= [2021-02-04T04:51:58.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T04:51:58.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:51:58.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:51:58.475Z] + 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-04T04:51:58.475Z] Sending build context to Docker daemon 496.6kB [2021-02-04T04:51:58.475Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T04:51:58.475Z] Step 2/8 : FROM ${BASE} [2021-02-04T04:51:58.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:51:58.612Z] Configure a credential helper to remove this warning. See [2021-02-04T04:51:58.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:51:58.612Z] [2021-02-04T04:51:58.612Z] Login Succeeded [2021-02-04T04:51:58.612Z] nexus3.edgexfoundry.org:10002 [2021-02-04T04:51:58.741Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T04:51:58.742Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T04:51:58.742Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T04:51:58.742Z] de9db76c5a1d: Pulling fs layer [2021-02-04T04:51:58.742Z] bca2f99d35d6: Pulling fs layer [2021-02-04T04:51:58.742Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T04:51:58.742Z] 7c6f9722023f: Pulling fs layer [2021-02-04T04:51:58.742Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T04:51:58.742Z] 93359f2a8cfa: Waiting [2021-02-04T04:51:58.742Z] 7c6f9722023f: Waiting [2021-02-04T04:51:58.742Z] a35cf1a2eb13: Waiting [2021-02-04T04:51:58.742Z] bca2f99d35d6: Waiting [2021-02-04T04:51:58.742Z] de9db76c5a1d: Verifying Checksum [2021-02-04T04:51:58.742Z] de9db76c5a1d: Download complete [2021-02-04T04:51:58.742Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T04:51:58.742Z] 0ef7d3d256c8: Download complete [2021-02-04T04:51:58.742Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T04:51:58.742Z] 93359f2a8cfa: Download complete [2021-02-04T04:51:58.742Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T04:51:58.742Z] 188c0c94c7c5: Download complete [2021-02-04T04:51:58.742Z] 7c6f9722023f: Verifying Checksum [2021-02-04T04:51:58.742Z] 7c6f9722023f: Download complete [2021-02-04T04:51:58.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:51:59.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:51:59.159Z] Configure a credential helper to remove this warning. See [2021-02-04T04:51:59.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:51:59.159Z] [2021-02-04T04:51:59.159Z] Login Succeeded [2021-02-04T04:51:59.159Z] nexus3.edgexfoundry.org:10003 [2021-02-04T04:51:59.322Z] 188c0c94c7c5: Pull complete [2021-02-04T04:51:59.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:51:59.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:51:59.708Z] Configure a credential helper to remove this warning. See [2021-02-04T04:51:59.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:51:59.708Z] [2021-02-04T04:51:59.708Z] Login Succeeded [2021-02-04T04:51:59.708Z] nexus3.edgexfoundry.org:10004 [2021-02-04T04:51:59.897Z] 0ef7d3d256c8: Pull complete [2021-02-04T04:52:00.168Z] de9db76c5a1d: Pull complete [2021-02-04T04:52:00.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:52:00.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:52:00.306Z] Configure a credential helper to remove this warning. See [2021-02-04T04:52:00.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:52:00.306Z] [2021-02-04T04:52:00.306Z] Login Succeeded [2021-02-04T04:52:00.306Z] docker.io [2021-02-04T04:52:00.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:52:00.752Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T04:52:00.752Z] a35cf1a2eb13: Download complete [2021-02-04T04:52:01.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:52:01.174Z] Configure a credential helper to remove this warning. See [2021-02-04T04:52:01.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:52:01.174Z] [2021-02-04T04:52:01.174Z] Login Succeeded [2021-02-04T04:52:01.174Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T04:52:01.192Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-02-04T04:52:01.343Z] bca2f99d35d6: Verifying Checksum [2021-02-04T04:52:01.343Z] bca2f99d35d6: Download complete [Pipeline] // withEnv [Pipeline] echo [2021-02-04T04:52:01.442Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2021-02-04T04:52:01.442Z] d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [2021-02-04T04:52:01.442Z] latest [2021-02-04T04:52:01.442Z] 1.3.2-dev.2 [2021-02-04T04:52:01.442Z] d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2 [2021-02-04T04:52:01.442Z] master [2021-02-04T04:52:01.442Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:01.982Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:02.326Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [2021-02-04T04:52:02.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T04:52:02.326Z] 73cafea5f26c: Preparing [2021-02-04T04:52:02.326Z] 8d26397d2a7c: Preparing [2021-02-04T04:52:02.326Z] eaf1fe4d2ecb: Preparing [2021-02-04T04:52:02.326Z] bcc764c274f4: Preparing [2021-02-04T04:52:02.326Z] 379067d0cb53: Preparing [2021-02-04T04:52:02.599Z] 379067d0cb53: Layer already exists [2021-02-04T04:52:02.599Z] bcc764c274f4: Pushed [2021-02-04T04:52:02.870Z] 73cafea5f26c: Pushed [2021-02-04T04:52:02.870Z] 8d26397d2a7c: Pushed [2021-02-04T04:52:05.493Z] eaf1fe4d2ecb: Pushed [2021-02-04T04:52:05.493Z] d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4: digest: sha256:763cf0fbeaa1bd9b5e67c9c5e7329f87ccd8da2e0e828215829780991f656f6a size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:05.860Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:06.195Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-02-04T04:52:06.195Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T04:52:06.195Z] 73cafea5f26c: Preparing [2021-02-04T04:52:06.195Z] 8d26397d2a7c: Preparing [2021-02-04T04:52:06.195Z] eaf1fe4d2ecb: Preparing [2021-02-04T04:52:06.195Z] bcc764c274f4: Preparing [2021-02-04T04:52:06.195Z] 379067d0cb53: Preparing [2021-02-04T04:52:06.195Z] eaf1fe4d2ecb: Layer already exists [2021-02-04T04:52:06.195Z] bcc764c274f4: Layer already exists [2021-02-04T04:52:06.195Z] 73cafea5f26c: Layer already exists [2021-02-04T04:52:06.195Z] 379067d0cb53: Layer already exists [2021-02-04T04:52:06.195Z] 8d26397d2a7c: Layer already exists [2021-02-04T04:52:06.467Z] latest: digest: sha256:763cf0fbeaa1bd9b5e67c9c5e7329f87ccd8da2e0e828215829780991f656f6a size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:06.809Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:07.145Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.2 [2021-02-04T04:52:07.145Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T04:52:07.145Z] 73cafea5f26c: Preparing [2021-02-04T04:52:07.145Z] 8d26397d2a7c: Preparing [2021-02-04T04:52:07.145Z] eaf1fe4d2ecb: Preparing [2021-02-04T04:52:07.145Z] bcc764c274f4: Preparing [2021-02-04T04:52:07.145Z] 379067d0cb53: Preparing [2021-02-04T04:52:07.145Z] eaf1fe4d2ecb: Layer already exists [2021-02-04T04:52:07.145Z] 8d26397d2a7c: Layer already exists [2021-02-04T04:52:07.145Z] 379067d0cb53: Layer already exists [2021-02-04T04:52:07.145Z] bcc764c274f4: Layer already exists [2021-02-04T04:52:07.145Z] 73cafea5f26c: Layer already exists [2021-02-04T04:52:07.417Z] 1.3.2-dev.2: digest: sha256:763cf0fbeaa1bd9b5e67c9c5e7329f87ccd8da2e0e828215829780991f656f6a size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:07.759Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:07.987Z] bca2f99d35d6: Pull complete [2021-02-04T04:52:08.098Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2 [2021-02-04T04:52:08.098Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T04:52:08.098Z] 73cafea5f26c: Preparing [2021-02-04T04:52:08.098Z] 8d26397d2a7c: Preparing [2021-02-04T04:52:08.098Z] eaf1fe4d2ecb: Preparing [2021-02-04T04:52:08.098Z] bcc764c274f4: Preparing [2021-02-04T04:52:08.098Z] 379067d0cb53: Preparing [2021-02-04T04:52:08.098Z] bcc764c274f4: Layer already exists [2021-02-04T04:52:08.098Z] 379067d0cb53: Layer already exists [2021-02-04T04:52:08.098Z] eaf1fe4d2ecb: Layer already exists [2021-02-04T04:52:08.098Z] 73cafea5f26c: Layer already exists [2021-02-04T04:52:08.098Z] 8d26397d2a7c: Layer already exists [2021-02-04T04:52:08.249Z] 93359f2a8cfa: Pull complete [2021-02-04T04:52:08.369Z] d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2: digest: sha256:763cf0fbeaa1bd9b5e67c9c5e7329f87ccd8da2e0e828215829780991f656f6a size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:08.715Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:52:09.053Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2021-02-04T04:52:09.053Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-02-04T04:52:09.053Z] 73cafea5f26c: Preparing [2021-02-04T04:52:09.053Z] 8d26397d2a7c: Preparing [2021-02-04T04:52:09.053Z] eaf1fe4d2ecb: Preparing [2021-02-04T04:52:09.053Z] bcc764c274f4: Preparing [2021-02-04T04:52:09.053Z] 379067d0cb53: Preparing [2021-02-04T04:52:09.053Z] eaf1fe4d2ecb: Layer already exists [2021-02-04T04:52:09.053Z] 73cafea5f26c: Layer already exists [2021-02-04T04:52:09.053Z] 379067d0cb53: Layer already exists [2021-02-04T04:52:09.053Z] 8d26397d2a7c: Layer already exists [2021-02-04T04:52:09.053Z] bcc764c274f4: Layer already exists [2021-02-04T04:52:09.324Z] master: digest: sha256:763cf0fbeaa1bd9b5e67c9c5e7329f87ccd8da2e0e828215829780991f656f6a size: 1364 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T04:52:09.517Z] ===================================================== [Pipeline] echo [2021-02-04T04:52:09.562Z] taggedImages: [2021-02-04T04:52:09.562Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [2021-02-04T04:52:09.562Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-02-04T04:52:09.562Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.2 [2021-02-04T04:52:09.562Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2 [2021-02-04T04:52:09.562Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [2021-02-04T04:52:09.647Z] 7c6f9722023f: Pull complete [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-04T04:52:13.917Z] a35cf1a2eb13: Pull complete [2021-02-04T04:52:13.917Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T04:52:13.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T04:52:13.917Z] ---> a62c8e92a672 [2021-02-04T04:52:13.917Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-04T04:52:13.917Z] ---> Running in 54ba0e4c0a52 [2021-02-04T04:52:14.181Z] Removing intermediate container 54ba0e4c0a52 [2021-02-04T04:52:14.181Z] ---> 34552f06b258 [2021-02-04T04:52:14.181Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T04:52:14.447Z] ---> Running in 16b4759d9e67 [2021-02-04T04:52:16.387Z] Removing intermediate container 16b4759d9e67 [2021-02-04T04:52:16.387Z] ---> 781800e5b9e3 [2021-02-04T04:52:16.387Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-04T04:52:16.387Z] ---> Running in 19a13297a4c9 [2021-02-04T04:52:16.968Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T04:52:18.363Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T04:52:19.315Z] (1/14) Installing libmagic (5.38-r0) [2021-02-04T04:52:19.315Z] (2/14) Installing file (5.38-r0) [2021-02-04T04:52:19.579Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-04T04:52:19.579Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-04T04:52:46.234Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-04T04:52:46.234Z] (6/14) Installing patch (2.7.6-r6) [2021-02-04T04:52:46.234Z] (7/14) Installing build-base (0.5-r2) [2021-02-04T04:52:46.234Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-04T04:52:46.234Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-04T04:52:46.234Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-04T04:52:46.234Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-04T04:52:46.234Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-04T04:52:46.234Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-04T04:52:46.234Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-04T04:52:46.234Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T04:52:46.234Z] OK: 237 MiB in 53 packages [2021-02-04T04:52:47.634Z] Removing intermediate container 19a13297a4c9 [2021-02-04T04:52:47.634Z] ---> f888e9d46c04 [2021-02-04T04:52:47.634Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-02-04T04:52:47.897Z] ---> Running in c70d83ef0051 [2021-02-04T04:52:48.160Z] Removing intermediate container c70d83ef0051 [2021-02-04T04:52:48.160Z] ---> 9f9aea2ef6c9 [2021-02-04T04:52:48.160Z] Step 7/8 : COPY . . [2021-02-04T04:52:49.110Z] ---> cdfec92eab7d [2021-02-04T04:52:49.110Z] Step 8/8 : RUN go mod download [2021-02-04T04:52:49.373Z] ---> Running in 6e373f5f0246 [2021-02-04T04:53:16.128Z] Removing intermediate container 6e373f5f0246 [2021-02-04T04:53:16.128Z] ---> 27977be30044 [2021-02-04T04:53:16.128Z] Successfully built 27977be30044 [2021-02-04T04:53:16.128Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:53:16.456Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T04:53:16.457Z] . [Pipeline] withDockerContainer [2021-02-04T04:53:16.666Z] prd-centos7-docker-4c-2g-24884 does not seem to be running inside a container [2021-02-04T04:53:16.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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 ******** ci-base-image-x86_64 cat [2021-02-04T04:53:17.477Z] $ docker top d514dc7c80afeed196bab9d792bacd044d197c0747a05846f413afc89a10d77d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T04:53:18.046Z] + go version [2021-02-04T04:53:18.046Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T04:53:18.063Z] $ docker stop --time=1 d514dc7c80afeed196bab9d792bacd044d197c0747a05846f413afc89a10d77d [2021-02-04T04:53:19.456Z] $ docker rm -f d514dc7c80afeed196bab9d792bacd044d197c0747a05846f413afc89a10d77d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:53:20.256Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T04:53:20.256Z] . [Pipeline] withDockerContainer [2021-02-04T04:53:20.369Z] prd-centos7-docker-4c-2g-24884 does not seem to be running inside a container [2021-02-04T04:53:20.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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 ******** ci-base-image-x86_64 cat [2021-02-04T04:53:21.211Z] $ docker top 4a575673682d70609063094d0a32e3cbfc26d99b0187dbc338ab11c14e83d3fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T04:53:21.767Z] + make test [2021-02-04T04:53:21.767Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-04T04:53:23.178Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-02-04T04:53:35.719Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-02-04T04:53:36.296Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 26.5% of statements [2021-02-04T04:53:36.296Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-02-04T04:53:36.875Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T04:53:40.240Z] gofmt -l . [2021-02-04T04:53:40.240Z] ["`gofmt -l .`" = ""] [2021-02-04T04:53:40.240Z] ./bin/test-attribution-txt.sh [2021-02-04T04:53:40.814Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-04T04:53:40.832Z] $ docker stop --time=1 4a575673682d70609063094d0a32e3cbfc26d99b0187dbc338ab11c14e83d3fe [2021-02-04T04:53:43.488Z] $ docker rm -f 4a575673682d70609063094d0a32e3cbfc26d99b0187dbc338ab11c14e83d3fe [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T04:53:44.077Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-04T04:53:44.091Z] Warning: overwriting stash ‘coverage-report’ [2021-02-04T04:53:44.378Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-04T04:53:44.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-04T04:53:45.247Z] + ls -al . [2021-02-04T04:53:45.247Z] total 100 [2021-02-04T04:53:45.247Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 4 04:53 . [2021-02-04T04:53:45.247Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 4 04:51 .. [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 6165 Feb 4 04:51 Attribution.txt [2021-02-04T04:53:45.247Z] drwxrwxr-x. 2 jenkins jenkins 87 Feb 4 04:51 bin [2021-02-04T04:53:45.247Z] drwxrwxr-x. 3 jenkins jenkins 32 Feb 4 04:51 cmd [2021-02-04T04:53:45.247Z] -rw-r--r--. 1 jenkins jenkins 20209 Feb 4 04:53 coverage.out [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 1941 Feb 4 04:51 Dockerfile [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 957 Feb 4 04:51 Dockerfile.build [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 4 04:51 .dockerignore [2021-02-04T04:53:45.247Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 4 04:51 .git [2021-02-04T04:53:45.247Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 4 04:51 .github [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 336 Feb 4 04:51 .gitignore [2021-02-04T04:53:45.247Z] -rw-r--r--. 1 jenkins jenkins 495 Feb 4 04:53 go.mod [2021-02-04T04:53:45.247Z] -rw-r--r--. 1 jenkins jenkins 16072 Feb 4 04:53 go.sum [2021-02-04T04:53:45.247Z] drwxrwxr-x. 3 jenkins jenkins 20 Feb 4 04:51 internal [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 4 04:51 Jenkinsfile [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 11340 Feb 4 04:51 LICENSE [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 902 Feb 4 04:51 Makefile [2021-02-04T04:53:45.247Z] drwxrwxr-x. 2 jenkins jenkins 23 Feb 4 04:51 mock [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 4 04:51 README.md [2021-02-04T04:53:45.247Z] drwxrwxr-x. 4 jenkins jenkins 71 Feb 4 04:51 snap [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 4 04:47 VERSION [2021-02-04T04:53:45.247Z] -rw-rw-r--. 1 jenkins jenkins 227 Feb 4 04:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:53:45.558Z] + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 --label arch=amd64 --label version=1.3.2-dev.2 . [2021-02-04T04:53:45.559Z] Sending build context to Docker daemon 517.6kB [2021-02-04T04:53:45.559Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T04:53:45.559Z] Step 2/23 : FROM ${BASE} AS builder [2021-02-04T04:53:45.559Z] ---> 27977be30044 [2021-02-04T04:53:45.559Z] Step 3/23 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-02-04T04:53:45.821Z] ---> Running in 95750f11343c [2021-02-04T04:53:45.821Z] Removing intermediate container 95750f11343c [2021-02-04T04:53:45.821Z] ---> 8826d86e24f2 [2021-02-04T04:53:45.821Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T04:53:46.083Z] ---> Running in 7c82cc6ce019 [2021-02-04T04:53:46.083Z] Removing intermediate container 7c82cc6ce019 [2021-02-04T04:53:46.083Z] ---> 7559e70ff331 [2021-02-04T04:53:46.083Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T04:53:46.344Z] ---> Running in b6fc488c5f41 [2021-02-04T04:53:47.305Z] Removing intermediate container b6fc488c5f41 [2021-02-04T04:53:47.305Z] ---> 51f59fde26b2 [2021-02-04T04:53:47.305Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T04:53:47.305Z] ---> Running in 3306e7a00ee6 [2021-02-04T04:53:47.883Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T04:53:49.287Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T04:53:50.237Z] OK: 237 MiB in 53 packages [2021-02-04T04:53:50.823Z] Removing intermediate container 3306e7a00ee6 [2021-02-04T04:53:50.823Z] ---> 537d26efac90 [2021-02-04T04:53:50.823Z] Step 7/23 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2021-02-04T04:53:50.823Z] ---> Running in 58066aa8472e [2021-02-04T04:53:50.823Z] Removing intermediate container 58066aa8472e [2021-02-04T04:53:50.823Z] ---> 3ba3cd74827a [2021-02-04T04:53:50.823Z] Step 8/23 : COPY . . [2021-02-04T04:53:51.780Z] ---> f7d6eacdce73 [2021-02-04T04:53:51.780Z] Step 9/23 : ARG MAKE='make build' [2021-02-04T04:53:51.780Z] ---> Running in 5501b2894da0 [2021-02-04T04:53:52.046Z] Removing intermediate container 5501b2894da0 [2021-02-04T04:53:52.046Z] ---> 46be4d127eb1 [2021-02-04T04:53:52.046Z] Step 10/23 : RUN $MAKE [2021-02-04T04:53:52.046Z] ---> Running in 17d71833a00b [2021-02-04T04:53:52.623Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.2" -o cmd/device-mqtt ./cmd [2021-02-04T04:54:02.751Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-04T04:54:06.069Z] Removing intermediate container 17d71833a00b [2021-02-04T04:54:06.069Z] ---> dcdb1200ef93 [2021-02-04T04:54:06.069Z] Step 11/23 : FROM alpine:3.12 [2021-02-04T04:54:06.069Z] 3.12: Pulling from library/alpine [2021-02-04T04:54:06.069Z] 801bfaa63ef2: Pulling fs layer [2021-02-04T04:54:06.331Z] 801bfaa63ef2: Verifying Checksum [2021-02-04T04:54:06.331Z] 801bfaa63ef2: Download complete [2021-02-04T04:54:06.595Z] 801bfaa63ef2: Pull complete [2021-02-04T04:54:06.595Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-04T04:54:06.595Z] Status: Downloaded newer image for alpine:3.12 [2021-02-04T04:54:06.595Z] ---> 389fef711851 [2021-02-04T04:54:06.595Z] Step 12/23 : RUN apk add --update --no-cache dumb-init [2021-02-04T04:54:06.881Z] ---> Running in 917648298eb6 [2021-02-04T04:54:07.143Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T04:54:07.406Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T04:54:07.406Z] (1/1) Installing dumb-init (1.2.2-r1) [2021-02-04T04:54:07.406Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T04:54:07.406Z] OK: 6 MiB in 15 packages [2021-02-04T04:54:07.982Z] Removing intermediate container 917648298eb6 [2021-02-04T04:54:07.982Z] ---> 02fb63962705 [2021-02-04T04:54:07.982Z] Step 13/23 : ENV APP_PORT=49982 [2021-02-04T04:54:07.982Z] ---> Running in 01585130611f [2021-02-04T04:54:08.244Z] Removing intermediate container 01585130611f [2021-02-04T04:54:08.244Z] ---> e2ba95b56069 [2021-02-04T04:54:08.244Z] Step 14/23 : EXPOSE $APP_PORT [2021-02-04T04:54:08.244Z] ---> Running in 15cad920e87e [2021-02-04T04:54:08.506Z] Removing intermediate container 15cad920e87e [2021-02-04T04:54:08.507Z] ---> e93f2d1f2186 [2021-02-04T04:54:08.507Z] Step 15/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2021-02-04T04:54:09.082Z] ---> 42cf10b85b08 [2021-02-04T04:54:09.082Z] Step 16/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2021-02-04T04:54:09.666Z] ---> b5fda207d7b4 [2021-02-04T04:54:09.666Z] Step 17/23 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2021-02-04T04:54:09.933Z] ---> e491320149c4 [2021-02-04T04:54:09.933Z] Step 18/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2021-02-04T04:54:09.933Z] ---> Running in bf256d7d764c [2021-02-04T04:54:10.197Z] Removing intermediate container bf256d7d764c [2021-02-04T04:54:10.197Z] ---> 0ca198f26273 [2021-02-04T04:54:10.197Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-02-04T04:54:10.197Z] ---> Running in aecdd7669141 [2021-02-04T04:54:10.459Z] Removing intermediate container aecdd7669141 [2021-02-04T04:54:10.459Z] ---> 3d4a6bb7f76f [2021-02-04T04:54:10.459Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-04T04:54:10.459Z] ---> Running in 06ccea67da4b [2021-02-04T04:54:10.722Z] Removing intermediate container 06ccea67da4b [2021-02-04T04:54:10.722Z] ---> 9c664babfc36 [2021-02-04T04:54:10.722Z] Step 21/23 : LABEL arch=amd64 [2021-02-04T04:54:10.722Z] ---> Running in 1adf5b08eb31 [2021-02-04T04:54:10.985Z] Removing intermediate container 1adf5b08eb31 [2021-02-04T04:54:10.985Z] ---> c7cd7aec332c [2021-02-04T04:54:10.985Z] Step 22/23 : LABEL git_sha=d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [2021-02-04T04:54:10.985Z] ---> Running in 304520d97f13 [2021-02-04T04:54:11.248Z] Removing intermediate container 304520d97f13 [2021-02-04T04:54:11.248Z] ---> e7607160e94c [2021-02-04T04:54:11.248Z] Step 23/23 : LABEL version=1.3.2-dev.2 [2021-02-04T04:54:11.248Z] ---> Running in d8459dfb776e [2021-02-04T04:54:11.513Z] Removing intermediate container d8459dfb776e [2021-02-04T04:54:11.513Z] ---> bbe3402e7dac [2021-02-04T04:54:11.513Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-04T04:54:11.513Z] Successfully built bbe3402e7dac [2021-02-04T04:54:11.513Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T04:54:11.823Z] provisioning config files... [2021-02-04T04:54:11.849Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/32@tmp/config8035559372185536151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:54:12.234Z] ---> docker-login.sh [2021-02-04T04:54:12.234Z] nexus3.edgexfoundry.org:10001 [2021-02-04T04:54:12.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:54:12.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:54:12.498Z] Configure a credential helper to remove this warning. See [2021-02-04T04:54:12.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:54:12.498Z] [2021-02-04T04:54:12.498Z] Login Succeeded [2021-02-04T04:54:12.498Z] nexus3.edgexfoundry.org:10002 [2021-02-04T04:54:12.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:54:12.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:54:12.498Z] Configure a credential helper to remove this warning. See [2021-02-04T04:54:12.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:54:12.498Z] [2021-02-04T04:54:12.498Z] Login Succeeded [2021-02-04T04:54:12.498Z] nexus3.edgexfoundry.org:10003 [2021-02-04T04:54:12.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:54:12.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:54:12.761Z] Configure a credential helper to remove this warning. See [2021-02-04T04:54:12.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:54:12.761Z] [2021-02-04T04:54:12.761Z] Login Succeeded [2021-02-04T04:54:12.761Z] nexus3.edgexfoundry.org:10004 [2021-02-04T04:54:12.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:54:13.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:54:13.025Z] Configure a credential helper to remove this warning. See [2021-02-04T04:54:13.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:54:13.025Z] [2021-02-04T04:54:13.025Z] Login Succeeded [2021-02-04T04:54:13.025Z] docker.io [2021-02-04T04:54:13.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T04:54:13.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T04:54:13.291Z] Configure a credential helper to remove this warning. See [2021-02-04T04:54:13.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T04:54:13.291Z] [2021-02-04T04:54:13.291Z] Login Succeeded [2021-02-04T04:54:13.291Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T04:54:13.302Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T04:54:13.507Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2021-02-04T04:54:13.507Z] d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [2021-02-04T04:54:13.507Z] latest [2021-02-04T04:54:13.507Z] 1.3.2-dev.2 [2021-02-04T04:54:13.507Z] d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2 [2021-02-04T04:54:13.507Z] master [2021-02-04T04:54:13.507Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:13.972Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:14.280Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [2021-02-04T04:54:14.280Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T04:54:14.280Z] 45470a7c5ca8: Preparing [2021-02-04T04:54:14.280Z] 89e2cfec7be9: Preparing [2021-02-04T04:54:14.280Z] 3e359546ebdb: Preparing [2021-02-04T04:54:14.280Z] a3932b64851d: Preparing [2021-02-04T04:54:14.280Z] 777b2c648970: Preparing [2021-02-04T04:54:14.280Z] 777b2c648970: Layer already exists [2021-02-04T04:54:14.549Z] 45470a7c5ca8: Pushed [2021-02-04T04:54:14.549Z] 89e2cfec7be9: Pushed [2021-02-04T04:54:14.549Z] a3932b64851d: Pushed [2021-02-04T04:54:15.500Z] 3e359546ebdb: Pushed [2021-02-04T04:54:15.765Z] d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4: digest: sha256:64eda1b6fb6685fc318ea522b8f981e1984b0a2e7325e9479919a51ea3144dcf size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:16.072Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:16.375Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-02-04T04:54:16.375Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T04:54:16.375Z] 45470a7c5ca8: Preparing [2021-02-04T04:54:16.375Z] 89e2cfec7be9: Preparing [2021-02-04T04:54:16.375Z] 3e359546ebdb: Preparing [2021-02-04T04:54:16.375Z] a3932b64851d: Preparing [2021-02-04T04:54:16.375Z] 777b2c648970: Preparing [2021-02-04T04:54:16.375Z] 89e2cfec7be9: Layer already exists [2021-02-04T04:54:16.375Z] 45470a7c5ca8: Layer already exists [2021-02-04T04:54:16.375Z] 777b2c648970: Layer already exists [2021-02-04T04:54:16.375Z] 3e359546ebdb: Layer already exists [2021-02-04T04:54:16.375Z] a3932b64851d: Layer already exists [2021-02-04T04:54:16.375Z] latest: digest: sha256:64eda1b6fb6685fc318ea522b8f981e1984b0a2e7325e9479919a51ea3144dcf size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:16.682Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:16.984Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.2 [2021-02-04T04:54:16.984Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T04:54:16.984Z] 45470a7c5ca8: Preparing [2021-02-04T04:54:16.984Z] 89e2cfec7be9: Preparing [2021-02-04T04:54:16.984Z] 3e359546ebdb: Preparing [2021-02-04T04:54:16.984Z] a3932b64851d: Preparing [2021-02-04T04:54:16.984Z] 777b2c648970: Preparing [2021-02-04T04:54:16.984Z] 45470a7c5ca8: Layer already exists [2021-02-04T04:54:16.984Z] 3e359546ebdb: Layer already exists [2021-02-04T04:54:16.984Z] 777b2c648970: Layer already exists [2021-02-04T04:54:16.984Z] 89e2cfec7be9: Layer already exists [2021-02-04T04:54:16.984Z] a3932b64851d: Layer already exists [2021-02-04T04:54:16.984Z] 1.3.2-dev.2: digest: sha256:64eda1b6fb6685fc318ea522b8f981e1984b0a2e7325e9479919a51ea3144dcf size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:17.295Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:17.603Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2 [2021-02-04T04:54:17.603Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T04:54:17.603Z] 45470a7c5ca8: Preparing [2021-02-04T04:54:17.603Z] 89e2cfec7be9: Preparing [2021-02-04T04:54:17.603Z] 3e359546ebdb: Preparing [2021-02-04T04:54:17.603Z] a3932b64851d: Preparing [2021-02-04T04:54:17.603Z] 777b2c648970: Preparing [2021-02-04T04:54:17.603Z] 777b2c648970: Layer already exists [2021-02-04T04:54:17.603Z] 3e359546ebdb: Layer already exists [2021-02-04T04:54:17.603Z] a3932b64851d: Layer already exists [2021-02-04T04:54:17.603Z] 89e2cfec7be9: Layer already exists [2021-02-04T04:54:17.603Z] 45470a7c5ca8: Layer already exists [2021-02-04T04:54:17.603Z] d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2: digest: sha256:64eda1b6fb6685fc318ea522b8f981e1984b0a2e7325e9479919a51ea3144dcf size: 1364 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:17.916Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:18.222Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2021-02-04T04:54:18.222Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-02-04T04:54:18.222Z] 45470a7c5ca8: Preparing [2021-02-04T04:54:18.222Z] 89e2cfec7be9: Preparing [2021-02-04T04:54:18.222Z] 3e359546ebdb: Preparing [2021-02-04T04:54:18.222Z] a3932b64851d: Preparing [2021-02-04T04:54:18.222Z] 777b2c648970: Preparing [2021-02-04T04:54:18.222Z] 89e2cfec7be9: Layer already exists [2021-02-04T04:54:18.222Z] 45470a7c5ca8: Layer already exists [2021-02-04T04:54:18.222Z] 3e359546ebdb: Layer already exists [2021-02-04T04:54:18.222Z] 777b2c648970: Layer already exists [2021-02-04T04:54:18.222Z] a3932b64851d: Layer already exists [2021-02-04T04:54:18.222Z] master: digest: sha256:64eda1b6fb6685fc318ea522b8f981e1984b0a2e7325e9479919a51ea3144dcf size: 1364 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T04:54:18.406Z] ===================================================== [Pipeline] echo [2021-02-04T04:54:18.451Z] taggedImages: [2021-02-04T04:54:18.451Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [2021-02-04T04:54:18.451Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-02-04T04:54:18.451Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.2 [2021-02-04T04:54:18.451Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4-1.3.2-dev.2 [2021-02-04T04:54:18.451Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-04T04:54:19.830Z] provisioning config files... [2021-02-04T04:54:19.857Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config8723929657242196902tmp [Pipeline] { [Pipeline] sh [2021-02-04T04:54:20.348Z] + set +x [2021-02-04T04:54:20.349Z] + curl -s https://codecov.io/bash [2021-02-04T04:54:20.349Z] + bash -s -- [2021-02-04T04:54:20.622Z] [2021-02-04T04:54:20.622Z] _____ _ [2021-02-04T04:54:20.622Z] / ____| | | [2021-02-04T04:54:20.622Z] | | ___ __| | ___ ___ _____ __ [2021-02-04T04:54:20.622Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-04T04:54:20.622Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-04T04:54:20.622Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-04T04:54:20.622Z] Bash-20210129-7c25fce [2021-02-04T04:54:20.622Z] [2021-02-04T04:54:20.622Z] [2021-02-04T04:54:20.622Z] ==> git version 2.24.3 found [2021-02-04T04:54:20.622Z] ==> 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-04T04:54:20.622Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-04T04:54:20.622Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-04T04:54:20.622Z] ==> Jenkins CI detected. [2021-02-04T04:54:20.622Z] project root: . [2021-02-04T04:54:20.622Z] --> token set from env [2021-02-04T04:54:20.622Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-04T04:54:20.622Z] ==> Running gcov in . (disable via -X gcov) [2021-02-04T04:54:20.890Z] ==> Python coveragepy not found [2021-02-04T04:54:20.890Z] ==> Searching for coverage reports in: [2021-02-04T04:54:20.890Z] + . [2021-02-04T04:54:20.890Z] -> Found 1 reports [2021-02-04T04:54:20.890Z] ==> Detecting git/mercurial file structure [2021-02-04T04:54:20.890Z] ==> Reading reports [2021-02-04T04:54:20.890Z] + ./coverage.out bytes=20209 [2021-02-04T04:54:20.890Z] ==> Appending adjustments [2021-02-04T04:54:20.890Z] https://docs.codecov.io/docs/fixing-reports [2021-02-04T04:54:20.890Z] + Found adjustments [2021-02-04T04:54:20.890Z] ==> Gzipping contents [2021-02-04T04:54:20.890Z] 4.0K /tmp/codecov.ElRfBn.gz [2021-02-04T04:54:20.890Z] ==> Uploading reports [2021-02-04T04:54:20.890Z] url: https://codecov.io [2021-02-04T04:54:20.890Z] query: branch=master&commit=d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-04T04:54:20.890Z] -> Pinging Codecov [2021-02-04T04:54:20.890Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-04T04:54:21.866Z] -> Uploading to [2021-02-04T04:54:21.866Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-04/7D719EC7BBE17E464838252E33014C33/d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4/6ba27254-d60d-4a8e-bcaa-7eb0dca7b3bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210204T045421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b75f6e3a36774ce19eb177f29750ebb38e109aa377092bdfad16e9836afb7993 [2021-02-04T04:54:21.866Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-04T04:54:21.866Z] Dload Upload Total Spent Left Speed [2021-02-04T04:54:22.146Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3453 0 0 100 3453 0 7925 --:--:-- --:--:-- --:--:-- 7937 [2021-02-04T04:54:22.146Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [Pipeline] } [2021-02-04T04:54:22.171Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-04T04:54:22.577Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-04T04:54:22.624Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:23.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T04:54:23.294Z] [2021-02-04T04:54:23.294Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:54:23.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T04:54:23.964Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-04T04:54:23.964Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T04:54:23.964Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T04:54:23.964Z] de9db76c5a1d: Pulling fs layer [2021-02-04T04:54:23.964Z] 0eba1c9be4d2: Pulling fs layer [2021-02-04T04:54:23.964Z] 0d57e429df01: Pulling fs layer [2021-02-04T04:54:23.964Z] 4e4be7b47b0d: Pulling fs layer [2021-02-04T04:54:23.964Z] e1f770b5df2f: Pulling fs layer [2021-02-04T04:54:23.964Z] 85a0685a4137: Pulling fs layer [2021-02-04T04:54:23.964Z] 0d57e429df01: Waiting [2021-02-04T04:54:23.964Z] 4e4be7b47b0d: Waiting [2021-02-04T04:54:23.964Z] 85a0685a4137: Waiting [2021-02-04T04:54:23.964Z] e1f770b5df2f: Waiting [2021-02-04T04:54:23.964Z] 0eba1c9be4d2: Waiting [2021-02-04T04:54:23.964Z] de9db76c5a1d: Verifying Checksum [2021-02-04T04:54:23.964Z] de9db76c5a1d: Download complete [2021-02-04T04:54:23.964Z] 0ef7d3d256c8: Download complete [2021-02-04T04:54:23.964Z] 0d57e429df01: Verifying Checksum [2021-02-04T04:54:23.964Z] 0d57e429df01: Download complete [2021-02-04T04:54:23.964Z] 4e4be7b47b0d: Download complete [2021-02-04T04:54:23.964Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T04:54:23.964Z] 188c0c94c7c5: Download complete [2021-02-04T04:54:24.565Z] 188c0c94c7c5: Pull complete [2021-02-04T04:54:25.162Z] 0ef7d3d256c8: Pull complete [2021-02-04T04:54:25.437Z] de9db76c5a1d: Pull complete [2021-02-04T04:54:26.030Z] e1f770b5df2f: Verifying Checksum [2021-02-04T04:54:26.030Z] e1f770b5df2f: Download complete [2021-02-04T04:54:29.453Z] 0eba1c9be4d2: Verifying Checksum [2021-02-04T04:54:29.453Z] 0eba1c9be4d2: Download complete [2021-02-04T04:54:30.915Z] 85a0685a4137: Verifying Checksum [2021-02-04T04:54:30.915Z] 85a0685a4137: Download complete [2021-02-04T04:54:39.264Z] 0eba1c9be4d2: Pull complete [2021-02-04T04:54:39.264Z] 0d57e429df01: Pull complete [2021-02-04T04:54:39.548Z] 4e4be7b47b0d: Pull complete [2021-02-04T04:54:42.220Z] e1f770b5df2f: Pull complete [2021-02-04T04:54:52.532Z] 85a0685a4137: Pull complete [2021-02-04T04:54:52.532Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-04T04:54:52.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T04:54:52.532Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-04T04:54:53.198Z] prd-centos7-docker-4c-2g-24866 does not seem to be running inside a container [2021-02-04T04:54:53.274Z] $ 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-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-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-04T04:54:55.519Z] $ docker top 0e2a45c5ca4113cb61196dea0426384b176e65fb77e1ce65e3573770f6c576f0 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-04T04:54:55.993Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-04T04:54:56.410Z] + set -o pipefail [2021-02-04T04:54:56.410Z] + snyk monitor '--org=edgex-jenkins' [2021-02-04T04:55:14.720Z] [2021-02-04T04:55:14.720Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-02-04T04:55:14.720Z] [2021-02-04T04:55:14.720Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/cf2ee726-4641-405a-8f3b-310299c60bf7 [2021-02-04T04:55:14.720Z] [2021-02-04T04:55:14.720Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-04T04:55:14.720Z] [2021-02-04T04:55:14.720Z] [Pipeline] } [2021-02-04T04:55:14.738Z] $ docker stop --time=1 0e2a45c5ca4113cb61196dea0426384b176e65fb77e1ce65e3573770f6c576f0 [2021-02-04T04:55:17.517Z] $ docker rm -f 0e2a45c5ca4113cb61196dea0426384b176e65fb77e1ce65e3573770f6c576f0 [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-04T04:55:19.914Z] + git log --format=format:%s -1 d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:55:20.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T04:55:20.267Z] . [Pipeline] withDockerContainer [2021-02-04T04:55:20.474Z] prd-centos7-docker-4c-2g-24866 does not seem to be running inside a container [2021-02-04T04:55:20.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-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-04T04:55:22.105Z] $ docker top 1064414947b21ae8b8d0fb1b1b33d2361bf72e9f8dc3547b13c4ec46cabf4ba5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T04:55:22.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T04:55:22.496Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T04:55:22.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T04:55:22.953Z] $ docker exec 1064414947b21ae8b8d0fb1b1b33d2361bf72e9f8dc3547b13c4ec46cabf4ba5 ssh-agent [2021-02-04T04:55:23.381Z] SSH_AUTH_SOCK=/tmp/ssh-sGZWTlzMcWLK/agent.11 [2021-02-04T04:55:23.381Z] SSH_AGENT_PID=16 [2021-02-04T04:55:23.398Z] Running ssh-add (command line suppressed) [2021-02-04T04:55:23.661Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4342271423144545684.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4342271423144545684.key) [2021-02-04T04:55:23.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T04:55:24.147Z] + git semver tag [2021-02-04T04:55:24.429Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T04:55:24.430Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-04T04:55:24.430Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T04:55:24.430Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T04:55:24.430Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T04:55:24.430Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T04:55:24.430Z] # $SEMVER_BRANCH = master [2021-02-04T04:55:24.430Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-02-04T04:55:24.430Z] # d5ef6aceaa20df75d28f5e1ed8312e2f24c8f2e4 HEAD [2021-02-04T04:55:24.430Z] # -> Force: false [2021-02-04T04:55:24.430Z] # 684c51c7df31994eb27a9755f22ef6873899b81e refs/tags/v1.3.2-dev.2 [Pipeline] } [2021-02-04T04:55:24.451Z] $ docker exec --env ******** --env ******** 1064414947b21ae8b8d0fb1b1b33d2361bf72e9f8dc3547b13c4ec46cabf4ba5 ssh-agent -k [2021-02-04T04:55:24.670Z] unset SSH_AUTH_SOCK; [2021-02-04T04:55:24.670Z] unset SSH_AGENT_PID; [2021-02-04T04:55:24.670Z] echo Agent pid 16 killed; [2021-02-04T04:55:24.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T04:55:25.270Z] + git semver [Pipeline] } [2021-02-04T04:55:25.293Z] $ docker stop --time=1 1064414947b21ae8b8d0fb1b1b33d2361bf72e9f8dc3547b13c4ec46cabf4ba5 [2021-02-04T04:55:26.815Z] $ docker rm -f 1064414947b21ae8b8d0fb1b1b33d2361bf72e9f8dc3547b13c4ec46cabf4ba5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:55:27.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T04:55:27.558Z] [2021-02-04T04:55:27.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:55:28.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T04:55:28.015Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-04T04:55:28.015Z] ab5ef0e58194: Pulling fs layer [2021-02-04T04:55:28.015Z] 9712f1f96733: Pulling fs layer [2021-02-04T04:55:28.015Z] 63f879dbbcfc: Pulling fs layer [2021-02-04T04:55:28.015Z] 0d9ebad4ef96: Pulling fs layer [2021-02-04T04:55:28.015Z] e9a5061849ea: Pulling fs layer [2021-02-04T04:55:28.015Z] d747dcd14b5f: Pulling fs layer [2021-02-04T04:55:28.015Z] 2de7ff778b66: Pulling fs layer [2021-02-04T04:55:28.015Z] e9a5061849ea: Waiting [2021-02-04T04:55:28.015Z] d747dcd14b5f: Waiting [2021-02-04T04:55:28.015Z] 2de7ff778b66: Waiting [2021-02-04T04:55:28.015Z] 0d9ebad4ef96: Waiting [2021-02-04T04:55:28.015Z] 9712f1f96733: Verifying Checksum [2021-02-04T04:55:28.015Z] 9712f1f96733: Download complete [2021-02-04T04:55:31.438Z] 63f879dbbcfc: Verifying Checksum [2021-02-04T04:55:31.438Z] 63f879dbbcfc: Download complete [2021-02-04T04:55:31.438Z] e9a5061849ea: Download complete [2021-02-04T04:55:31.438Z] d747dcd14b5f: Verifying Checksum [2021-02-04T04:55:31.438Z] d747dcd14b5f: Download complete [2021-02-04T04:55:32.435Z] 0d9ebad4ef96: Verifying Checksum [2021-02-04T04:55:32.435Z] ab5ef0e58194: Verifying Checksum [2021-02-04T04:55:32.435Z] ab5ef0e58194: Download complete [2021-02-04T04:55:32.435Z] 2de7ff778b66: Verifying Checksum [2021-02-04T04:55:32.435Z] 2de7ff778b66: Download complete [2021-02-04T04:55:40.810Z] ab5ef0e58194: Pull complete [2021-02-04T04:55:40.810Z] 9712f1f96733: Pull complete [2021-02-04T04:55:42.227Z] 63f879dbbcfc: Pull complete [2021-02-04T04:55:52.513Z] 0d9ebad4ef96: Pull complete [2021-02-04T04:55:53.980Z] e9a5061849ea: Pull complete [2021-02-04T04:55:54.597Z] d747dcd14b5f: Pull complete [2021-02-04T04:55:58.969Z] 2de7ff778b66: Pull complete [2021-02-04T04:55:58.969Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-04T04:55:58.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T04:55:58.969Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-04T04:55:59.374Z] prd-centos7-docker-4c-2g-24866 does not seem to be running inside a container [2021-02-04T04:55:59.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-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-04T04:56:03.183Z] $ docker top e91fd7853427950ea08fea9109cb36faeac0852bc67ce38e837c0be48edef4af -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-04T04:56:03.637Z] provisioning config files... [2021-02-04T04:56:03.673Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config4278765719922715900tmp [2021-02-04T04:56:03.779Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config935833108696763538tmp [2021-02-04T04:56:03.815Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3003846184390510083tmp [Pipeline] { [Pipeline] echo [2021-02-04T04:56:03.875Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:56:04.944Z] ---> sigul-configuration.sh [2021-02-04T04:56:04.944Z] gpg: directory `/root/.gnupg' created [2021-02-04T04:56:04.944Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-04T04:56:04.944Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-04T04:56:04.944Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-04T04:56:04.944Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-04T04:56:04.944Z] gpg: CAST5 encrypted data [2021-02-04T04:56:05.211Z] gpg: encrypted with 1 passphrase [2021-02-04T04:56:05.211Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-04T04:56:05.885Z] + mkdir /home/jenkins [2021-02-04T04:56:05.885Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-04T04:56:06.232Z] + 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-04T04:56:06.262Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:56:06.634Z] ---> sigul-install.sh [2021-02-04T04:56:16.855Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-04T04:56:17.597Z] + git tag --list [2021-02-04T04:56:17.597Z] 0.7.1 [2021-02-04T04:56:17.597Z] v1.0.0 [2021-02-04T04:56:17.597Z] v1.1.0 [2021-02-04T04:56:17.597Z] v1.1.1 [2021-02-04T04:56:17.597Z] v1.2.2 [2021-02-04T04:56:17.597Z] v1.3.0 [2021-02-04T04:56:17.597Z] v1.3.1 [2021-02-04T04:56:17.597Z] v1.3.1-dev.1 [2021-02-04T04:56:17.597Z] v1.3.1-dev.2 [2021-02-04T04:56:17.597Z] v1.3.1-dev.3 [2021-02-04T04:56:17.597Z] v1.3.1-dev.4 [2021-02-04T04:56:17.597Z] v1.3.2-dev.1 [2021-02-04T04:56:17.597Z] v1.3.2-dev.2 [Pipeline] sh [2021-02-04T04:56:17.935Z] + lftools sign git-tag v1.3.2-dev.2 [2021-02-04T04:56:20.560Z] Signing Git tag with Sigul... [2021-02-04T04:56:20.560Z] Signing v1.3.2-dev.2 [Pipeline] echo [2021-02-04T04:56:21.552Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:56:22.241Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-04T04:56:22.254Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-04T04:56:22.377Z] $ docker stop --time=1 e91fd7853427950ea08fea9109cb36faeac0852bc67ce38e837c0be48edef4af [2021-02-04T04:56:24.444Z] $ docker rm -f e91fd7853427950ea08fea9109cb36faeac0852bc67ce38e837c0be48edef4af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:56:25.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T04:56:25.693Z] . [Pipeline] withDockerContainer [2021-02-04T04:56:25.963Z] prd-centos7-docker-4c-2g-24866 does not seem to be running inside a container [2021-02-04T04:56:26.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-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-04T04:56:27.749Z] $ docker top bbea85f8d6e326ef61ed995d81a0272bb8d81bec773db3855403e135ac3069ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T04:56:28.652Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T04:56:28.652Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T04:56:29.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T04:56:29.144Z] $ docker exec bbea85f8d6e326ef61ed995d81a0272bb8d81bec773db3855403e135ac3069ae ssh-agent [2021-02-04T04:56:29.510Z] SSH_AUTH_SOCK=/tmp/ssh-BcAvyKZvsYzT/agent.11 [2021-02-04T04:56:29.510Z] SSH_AGENT_PID=16 [2021-02-04T04:56:29.521Z] Running ssh-add (command line suppressed) [2021-02-04T04:56:29.752Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_953093638554774752.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_953093638554774752.key) [2021-02-04T04:56:29.844Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T04:56:30.204Z] + git semver bump pre [2021-02-04T04:56:30.204Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T04:56:30.204Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-04T04:56:30.204Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T04:56:30.204Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T04:56:30.204Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T04:56:30.204Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T04:56:30.204Z] # $SEMVER_BRANCH = master [2021-02-04T04:56:30.204Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-02-04T04:56:30.204Z] 1.3.2-dev.3 [Pipeline] } [2021-02-04T04:56:30.219Z] $ docker exec --env ******** --env ******** bbea85f8d6e326ef61ed995d81a0272bb8d81bec773db3855403e135ac3069ae ssh-agent -k [2021-02-04T04:56:30.483Z] unset SSH_AUTH_SOCK; [2021-02-04T04:56:30.483Z] unset SSH_AGENT_PID; [2021-02-04T04:56:30.483Z] echo Agent pid 16 killed; [2021-02-04T04:56:30.613Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T04:56:31.154Z] + git semver [Pipeline] } [2021-02-04T04:56:31.177Z] $ docker stop --time=1 bbea85f8d6e326ef61ed995d81a0272bb8d81bec773db3855403e135ac3069ae [2021-02-04T04:56:32.874Z] $ docker rm -f bbea85f8d6e326ef61ed995d81a0272bb8d81bec773db3855403e135ac3069ae [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:56:33.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T04:56:33.552Z] . [Pipeline] withDockerContainer [2021-02-04T04:56:33.787Z] prd-centos7-docker-4c-2g-24866 does not seem to be running inside a container [2021-02-04T04:56:34.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-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-04T04:56:35.332Z] $ docker top 409915bfe3a9c251f790233af41381715e142eb474ab5c0e264f59a7377d8c2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T04:56:35.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T04:56:35.739Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T04:56:36.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T04:56:36.067Z] $ docker exec 409915bfe3a9c251f790233af41381715e142eb474ab5c0e264f59a7377d8c2e ssh-agent [2021-02-04T04:56:36.425Z] SSH_AUTH_SOCK=/tmp/ssh-DJIoEUkEwBV0/agent.11 [2021-02-04T04:56:36.425Z] SSH_AGENT_PID=16 [2021-02-04T04:56:36.437Z] Running ssh-add (command line suppressed) [2021-02-04T04:56:36.639Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5329047088618855124.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5329047088618855124.key) [2021-02-04T04:56:36.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T04:56:37.433Z] + git semver push [2021-02-04T04:56:37.433Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T04:56:37.433Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-02-04T04:56:37.433Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T04:56:37.433Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T04:56:37.433Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T04:56:37.433Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T04:56:37.433Z] # $SEMVER_BRANCH = master [2021-02-04T04:56:37.433Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-02-04T04:56:44.109Z] $ docker exec --env ******** --env ******** 409915bfe3a9c251f790233af41381715e142eb474ab5c0e264f59a7377d8c2e ssh-agent -k [2021-02-04T04:56:44.401Z] unset SSH_AUTH_SOCK; [2021-02-04T04:56:44.412Z] unset SSH_AGENT_PID; [2021-02-04T04:56:44.412Z] echo Agent pid 16 killed; [2021-02-04T04:56:44.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T04:56:45.401Z] + git semver [Pipeline] } [2021-02-04T04:56:45.421Z] $ docker stop --time=1 409915bfe3a9c251f790233af41381715e142eb474ab5c0e264f59a7377d8c2e [2021-02-04T04:56:47.261Z] $ docker rm -f 409915bfe3a9c251f790233af41381715e142eb474ab5c0e264f59a7377d8c2e [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-04T04:56:49.055Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:56:50.121Z] ---> package-listing.sh [2021-02-04T04:56:50.121Z] ++ facter osfamily [2021-02-04T04:56:50.121Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T04:56:50.121Z] + OS_FAMILY=redhat [2021-02-04T04:56:50.121Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-02-04T04:56:50.121Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T04:56:50.121Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T04:56:50.121Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T04:56:50.121Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T04:56:50.121Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-02-04T04:56:50.121Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T04:56:50.121Z] + case "${OS_FAMILY}" in [2021-02-04T04:56:50.121Z] + rpm -qa [2021-02-04T04:56:50.121Z] + sort [2021-02-04T04:56:58.477Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T04:56:58.477Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T04:56:58.477Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T04:56:58.477Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-02-04T04:56:58.477Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-02-04T04:56:58.477Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-02-04T04:56:58.491Z] 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-mqtt-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-04T04:56:58.828Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:56:59.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T04:56:59.505Z] [2021-02-04T04:56:59.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T04:56:59.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T04:56:59.889Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T04:56:59.889Z] df20fa9351a1: Pulling fs layer [2021-02-04T04:56:59.889Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T04:56:59.889Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T04:56:59.889Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T04:56:59.889Z] 93b61091891f: Pulling fs layer [2021-02-04T04:56:59.889Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T04:56:59.889Z] 5e14af77c1be: Pulling fs layer [2021-02-04T04:56:59.889Z] 01666e4c0597: Pulling fs layer [2021-02-04T04:56:59.889Z] aa168da1d23b: Pulling fs layer [2021-02-04T04:56:59.889Z] 93b9cdb0e59b: Waiting [2021-02-04T04:56:59.889Z] 5e14af77c1be: Waiting [2021-02-04T04:56:59.889Z] 01666e4c0597: Waiting [2021-02-04T04:56:59.889Z] aa168da1d23b: Waiting [2021-02-04T04:56:59.889Z] 93b61091891f: Waiting [2021-02-04T04:56:59.889Z] 46f8f816bc3b: Waiting [2021-02-04T04:57:00.183Z] 36b3adc4ff6f: Verifying Checksum [2021-02-04T04:57:00.183Z] 36b3adc4ff6f: Download complete [2021-02-04T04:57:00.183Z] 46f8f816bc3b: Verifying Checksum [2021-02-04T04:57:00.183Z] 46f8f816bc3b: Download complete [2021-02-04T04:57:00.183Z] df20fa9351a1: Verifying Checksum [2021-02-04T04:57:00.183Z] 93b61091891f: Download complete [2021-02-04T04:57:00.183Z] 5e14af77c1be: Verifying Checksum [2021-02-04T04:57:00.183Z] 5e14af77c1be: Download complete [2021-02-04T04:57:00.183Z] 93b9cdb0e59b: Verifying Checksum [2021-02-04T04:57:00.183Z] 93b9cdb0e59b: Download complete [2021-02-04T04:57:00.816Z] df20fa9351a1: Pull complete [2021-02-04T04:57:01.093Z] 36b3adc4ff6f: Pull complete [2021-02-04T04:57:01.093Z] 01666e4c0597: Verifying Checksum [2021-02-04T04:57:01.093Z] 01666e4c0597: Download complete [2021-02-04T04:57:03.082Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T04:57:03.082Z] 8ad3a11d3b57: Download complete [2021-02-04T04:57:04.594Z] 8ad3a11d3b57: Pull complete [2021-02-04T04:57:04.594Z] 46f8f816bc3b: Pull complete [2021-02-04T04:57:05.774Z] 93b61091891f: Pull complete [2021-02-04T04:57:06.811Z] 93b9cdb0e59b: Pull complete [2021-02-04T04:57:06.811Z] 5e14af77c1be: Pull complete [2021-02-04T04:57:07.408Z] 01666e4c0597: Pull complete [2021-02-04T04:57:09.544Z] aa168da1d23b: Verifying Checksum [2021-02-04T04:57:09.544Z] aa168da1d23b: Download complete [2021-02-04T04:57:28.504Z] aa168da1d23b: Pull complete [2021-02-04T04:57:28.505Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T04:57:28.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T04:57:28.505Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T04:57:28.956Z] prd-centos7-docker-4c-2g-24866 does not seem to be running inside a container [2021-02-04T04:57:29.175Z] $ 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-mqtt-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-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-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-04T04:57:32.616Z] $ docker top 5a97f5461b3b4c7facacf639066234d3cddb37fe987a5482067a6926bfdcfce4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T04:57:33.641Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T04:57:34.010Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T04:57:34.424Z] + ls /var/log/sa-host [2021-02-04T04:57:34.424Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T04:57:34.424Z] file_magic: OK [2021-02-04T04:57:34.424Z] HZ: Using current value: 100 [2021-02-04T04:57:34.424Z] file_header: OK [2021-02-04T04:57:34.424Z] 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-04T04:57:34.424Z] Statistics: [2021-02-04T04:57:34.424Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T04:57:34.424Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T04:57:34.424Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T04:57:34.424Z] file_magic: OK [2021-02-04T04:57:34.424Z] HZ: Using current value: 100 [2021-02-04T04:57:34.424Z] file_header: OK [2021-02-04T04:57:34.424Z] 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-04T04:57:34.424Z] Statistics: [2021-02-04T04:57:34.424Z] Hnuu...uuuununununu... [2021-02-04T04:57:34.424Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T04:57:34.613Z] provisioning config files... [2021-02-04T04:57:34.636Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3918026781043852676tmp [Pipeline] { [Pipeline] echo [2021-02-04T04:57:34.706Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:57:35.372Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T04:57:35.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T04:57:35.478Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:57:36.030Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T04:57:36.085Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:57:36.798Z] ---> sudo-logs.sh [2021-02-04T04:57:36.798Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T04:57:36.813Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:57:37.672Z] ---> job-cost.sh [2021-02-04T04:57:37.672Z] lf-activate-venv: SKIPPING [2021-02-04T04:57:37.672Z] INFO: No Stack... [2021-02-04T04:57:39.110Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T04:57:39.384Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T04:57:39.406Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T04:57:40.273Z] ---> logs-deploy.sh [2021-02-04T04:57:40.273Z] lf-activate-venv: SKIPPING [2021-02-04T04:57:40.273Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/32 [2021-02-04T04:57:40.273Z] INFO: archiving workspace using pattern(s): [2021-02-04T04:57:43.103Z] Archives upload complete. [2021-02-04T04:57:43.103Z] INFO: archiving logs to Nexus