Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fcf415a52e09a542e74d978699b87b5b4fab4063 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14915 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 Checking out Revision fcf415a52e09a542e74d978699b87b5b4fab4063 (master) 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 > 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 fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 Commit message: "Merge pull request #186 from siggiskulason/feat-snap-add-startup-config" > git rev-list --no-walk 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-07T17:29:51.456Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-07T17:29:51.728Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-07T17:29:51.822Z] ========================================================= [2020-12-07T17:29:51.822Z] EdgeX Global Pipelines Version Info [2020-12-07T17:29:51.822Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:29:53.277Z] ------------------- [2020-12-07T17:29:53.277Z] stable info: [2020-12-07T17:29:53.277Z] ------------------- [2020-12-07T17:29:53.277Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-07T17:29:53.277Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-07T17:29:53.277Z] Message: update stable to v1.0.169 [2020-12-07T17:29:54.225Z] ------------------- [2020-12-07T17:29:54.225Z] experimental info: [2020-12-07T17:29:54.225Z] ------------------- [2020-12-07T17:29:54.225Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-07T17:29:54.225Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-07T17:29:54.225Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-07T17:29:54.505Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-12-07T17:29:54.592Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-12-07T17:29:54.684Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-07T17:29:54.768Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-07T17:29:54.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-07T17:29:54.958Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-07T17:29:55.065Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-07T17:29:55.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-07T17:29:55.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-07T17:29:55.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-07T17:29:55.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-07T17:29:55.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-12-07T17:29:55.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-07T17:29:55.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-07T17:29:55.822Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T17:29:55.910Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-07T17:29:56.000Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T17:29:56.106Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-07T17:29:56.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-07T17:29:56.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-07T17:29:56.357Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-07T17:29:56.445Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-07T17:29:56.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-07T17:29:56.612Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-07T17:29:56.693Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-07T17:29:56.777Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-07T17:29:56.864Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-07T17:29:56.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-07T17:29:57.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-07T17:29:57.122Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcf415a52e09a542e74d978699b87b5b4fab4063 [Pipeline] echo [2020-12-07T17:29:57.207Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcf415a [Pipeline] echo [2020-12-07T17:29:57.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:29:57.461Z] provisioning config files... [2020-12-07T17:29:57.489Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2272685604628659239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:29:57.893Z] ---> docker-login.sh [2020-12-07T17:29:57.893Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:29:58.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:29:58.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:29:58.155Z] Configure a credential helper to remove this warning. See [2020-12-07T17:29:58.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:29:58.155Z] [2020-12-07T17:29:58.155Z] Login Succeeded [2020-12-07T17:29:58.418Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:29:58.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:29:58.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:29:58.418Z] Configure a credential helper to remove this warning. See [2020-12-07T17:29:58.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:29:58.418Z] [2020-12-07T17:29:58.418Z] Login Succeeded [2020-12-07T17:29:58.418Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:29:58.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:29:58.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:29:58.681Z] Configure a credential helper to remove this warning. See [2020-12-07T17:29:58.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:29:58.681Z] [2020-12-07T17:29:58.681Z] Login Succeeded [2020-12-07T17:29:58.681Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:29:58.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:29:58.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:29:58.944Z] Configure a credential helper to remove this warning. See [2020-12-07T17:29:58.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:29:58.944Z] [2020-12-07T17:29:58.944Z] Login Succeeded [2020-12-07T17:29:58.944Z] docker.io [2020-12-07T17:29:58.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:29:59.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:29:59.206Z] Configure a credential helper to remove this warning. See [2020-12-07T17:29:59.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:29:59.206Z] [2020-12-07T17:29:59.206Z] Login Succeeded [2020-12-07T17:29:59.206Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:29:59.215Z] 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 [2020-12-07T17:30:00.024Z] + git log --format=format:%s -1 fcf415a52e09a542e74d978699b87b5b4fab4063 [Pipeline] echo [2020-12-07T17:30:00.091Z] GIT_COMMIT: fcf415a52e09a542e74d978699b87b5b4fab4063, Commit Message: Merge pull request #186 from siggiskulason/feat-snap-add-startup-config [Pipeline] echo [2020-12-07T17:30:00.135Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:30:00.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:30:00.730Z] [2020-12-07T17:30:00.730Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:30:01.082Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:30:01.082Z] latest: Pulling from edgex-devops/git-semver [2020-12-07T17:30:01.082Z] 31603596830f: Pulling fs layer [2020-12-07T17:30:01.082Z] 2a8b12db71e7: Pulling fs layer [2020-12-07T17:30:01.082Z] 6ca5941a6612: Pulling fs layer [2020-12-07T17:30:01.082Z] ecc8261a40a4: Pulling fs layer [2020-12-07T17:30:01.082Z] ecc8261a40a4: Waiting [2020-12-07T17:30:01.082Z] 2a8b12db71e7: Verifying Checksum [2020-12-07T17:30:01.082Z] 2a8b12db71e7: Download complete [2020-12-07T17:30:01.344Z] 31603596830f: Verifying Checksum [2020-12-07T17:30:01.344Z] 31603596830f: Download complete [2020-12-07T17:30:01.344Z] ecc8261a40a4: Verifying Checksum [2020-12-07T17:30:01.344Z] ecc8261a40a4: Download complete [2020-12-07T17:30:01.344Z] 6ca5941a6612: Verifying Checksum [2020-12-07T17:30:01.344Z] 6ca5941a6612: Download complete [2020-12-07T17:30:01.607Z] 31603596830f: Pull complete [2020-12-07T17:30:01.607Z] 2a8b12db71e7: Pull complete [2020-12-07T17:30:02.579Z] 6ca5941a6612: Pull complete [2020-12-07T17:30:02.849Z] ecc8261a40a4: Pull complete [2020-12-07T17:30:02.849Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-07T17:30:02.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:30:02.849Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-07T17:30:02.991Z] prd-centos7-docker-4c-2g-14915 does not seem to be running inside a container [2020-12-07T17:30:03.093Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-07T17:30:04.903Z] $ docker top 67e4a4779d21da1d9cee4e46a8d66da60129a386e2e21dfb7ab6ae7230b68737 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T17:30:05.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:30:05.202Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:30:05.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:30:05.421Z] $ docker exec 67e4a4779d21da1d9cee4e46a8d66da60129a386e2e21dfb7ab6ae7230b68737 ssh-agent [2020-12-07T17:30:05.585Z] SSH_AUTH_SOCK=/tmp/ssh-w3TFYEaMT1zy/agent.12 [2020-12-07T17:30:05.585Z] SSH_AGENT_PID=17 [2020-12-07T17:30:05.594Z] Running ssh-add (command line suppressed) [2020-12-07T17:30:05.717Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8133980748000914050.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8133980748000914050.key) [2020-12-07T17:30:05.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:30:06.113Z] + git tag --points-at HEAD [Pipeline] } [2020-12-07T17:30:06.135Z] $ docker exec --env ******** --env ******** 67e4a4779d21da1d9cee4e46a8d66da60129a386e2e21dfb7ab6ae7230b68737 ssh-agent -k [2020-12-07T17:30:06.258Z] unset SSH_AUTH_SOCK; [2020-12-07T17:30:06.258Z] unset SSH_AGENT_PID; [2020-12-07T17:30:06.258Z] echo Agent pid 17 killed; [2020-12-07T17:30:06.305Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-07T17:30:06.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:30:06.456Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:30:06.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:30:06.624Z] $ docker exec 67e4a4779d21da1d9cee4e46a8d66da60129a386e2e21dfb7ab6ae7230b68737 ssh-agent [2020-12-07T17:30:06.784Z] SSH_AUTH_SOCK=/tmp/ssh-YKeVGYsfjk4X/agent.47 [2020-12-07T17:30:06.784Z] SSH_AGENT_PID=52 [2020-12-07T17:30:06.791Z] Running ssh-add (command line suppressed) [2020-12-07T17:30:06.908Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4458107076877758555.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4458107076877758555.key) [2020-12-07T17:30:06.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:30:07.355Z] + git semver init [2020-12-07T17:30:07.355Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T17:30:07.355Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-12-07T17:30:07.355Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-12-07T17:30:07.355Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T17:30:07.355Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T17:30:07.355Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T17:30:07.355Z] # $SEMVER_BRANCH = master [2020-12-07T17:30:07.355Z] # $SEMVER_TEMP = /tmp/semver-599940401 [2020-12-07T17:30:07.355Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-12-07T17:30:07.934Z] # '/tmp/semver-599940401' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2020-12-07T17:30:07.934Z] # -> Force: false [2020-12-07T17:30:07.934Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2020-12-07T17:30:07.952Z] $ docker exec --env ******** --env ******** 67e4a4779d21da1d9cee4e46a8d66da60129a386e2e21dfb7ab6ae7230b68737 ssh-agent -k [2020-12-07T17:30:08.064Z] unset SSH_AUTH_SOCK; [2020-12-07T17:30:08.065Z] unset SSH_AGENT_PID; [2020-12-07T17:30:08.065Z] echo Agent pid 52 killed; [2020-12-07T17:30:08.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T17:30:08.591Z] + git semver [Pipeline] } [2020-12-07T17:30:08.610Z] $ docker stop --time=1 67e4a4779d21da1d9cee4e46a8d66da60129a386e2e21dfb7ab6ae7230b68737 [2020-12-07T17:30:10.002Z] $ docker rm -f 67e4a4779d21da1d9cee4e46a8d66da60129a386e2e21dfb7ab6ae7230b68737 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T17:30:10.565Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-07T17:30:10.982Z] Stashed 1 file(s) [Pipeline] echo [2020-12-07T17:30:10.984Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-07T17:30:26.698Z] Still waiting to schedule task [2020-12-07T17:30:26.699Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-07T17:30:26.701Z] Still waiting to schedule task [2020-12-07T17:30:26.701Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-07T17:33:13.734Z] Running on prd-centos7-docker-4c-2g-14919 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2020-12-07T17:33:13.790Z] Running in /w/workspace/device-mqtt-go/26 [Pipeline] { [Pipeline] checkout [2020-12-07T17:33:16.098Z] using credential edgex-jenkins-ssh [2020-12-07T17:33:16.158Z] Cloning the remote Git repository [2020-12-07T17:33:15.569Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T17:33:15.639Z] > git init /w/workspace/device-mqtt-go/26 # timeout=10 [2020-12-07T17:33:15.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T17:33:15.707Z] > git --version # timeout=10 [2020-12-07T17:33:15.716Z] > git --version # 'git version 2.24.3' [2020-12-07T17:33:15.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T17:33:15.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T17:33:16.350Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T17:33:16.361Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T17:33:16.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T17:33:16.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T17:33:16.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T17:33:16.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T17:33:17.370Z] Checking out Revision fcf415a52e09a542e74d978699b87b5b4fab4063 (master) [2020-12-07T17:33:16.862Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T17:33:16.867Z] > git checkout -f fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-07T17:33:20.824Z] Commit message: "Merge pull request #186 from siggiskulason/feat-snap-add-startup-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T17:33:22.033Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-07T17:33:22.359Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T17:33:22.660Z] + sudo service docker restart [2020-12-07T17:33:22.660Z] + true [2020-12-07T17:33:22.660Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:33:23.690Z] provisioning config files... [2020-12-07T17:33:23.728Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/26@tmp/config6740914046127362030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:33:24.139Z] ---> docker-login.sh [2020-12-07T17:33:24.139Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:33:24.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:24.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:24.405Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:24.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:24.405Z] [2020-12-07T17:33:24.405Z] Login Succeeded [2020-12-07T17:33:24.405Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:33:24.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:24.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:24.670Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:24.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:24.670Z] [2020-12-07T17:33:24.670Z] Login Succeeded [2020-12-07T17:33:24.670Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:33:24.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:24.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:24.933Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:24.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:24.933Z] [2020-12-07T17:33:24.933Z] Login Succeeded [2020-12-07T17:33:24.933Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:33:24.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:25.082Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14918 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2020-12-07T17:33:25.139Z] Running in /w/workspace/device-mqtt-go/26 [Pipeline] { [2020-12-07T17:33:25.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:25.197Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:25.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:25.197Z] [2020-12-07T17:33:25.197Z] Login Succeeded [2020-12-07T17:33:25.197Z] docker.io [2020-12-07T17:33:25.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] checkout [2020-12-07T17:33:25.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:25.461Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:25.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:25.461Z] [2020-12-07T17:33:25.461Z] Login Succeeded [2020-12-07T17:33:25.461Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:33:25.472Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T17:33:25.882Z] ========================================================= [2020-12-07T17:33:25.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-07T17:33:25.882Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:26.241Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-07T17:33:26.242Z] Sending build context to Docker daemon 478.2kB [2020-12-07T17:33:26.242Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-07T17:33:26.242Z] Step 2/8 : FROM ${BASE} [2020-12-07T17:33:26.508Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-07T17:33:26.508Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T17:33:26.508Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T17:33:26.508Z] de9db76c5a1d: Pulling fs layer [2020-12-07T17:33:26.508Z] bca2f99d35d6: Pulling fs layer [2020-12-07T17:33:26.508Z] 93359f2a8cfa: Pulling fs layer [2020-12-07T17:33:26.508Z] 7c6f9722023f: Pulling fs layer [2020-12-07T17:33:26.508Z] a35cf1a2eb13: Pulling fs layer [2020-12-07T17:33:26.508Z] 93359f2a8cfa: Waiting [2020-12-07T17:33:26.508Z] 7c6f9722023f: Waiting [2020-12-07T17:33:26.508Z] bca2f99d35d6: Waiting [2020-12-07T17:33:26.508Z] a35cf1a2eb13: Waiting [2020-12-07T17:33:26.508Z] de9db76c5a1d: Verifying Checksum [2020-12-07T17:33:26.508Z] de9db76c5a1d: Download complete [2020-12-07T17:33:26.508Z] 0ef7d3d256c8: Download complete [2020-12-07T17:33:26.508Z] 93359f2a8cfa: Verifying Checksum [2020-12-07T17:33:26.508Z] 93359f2a8cfa: Download complete [2020-12-07T17:33:26.508Z] 7c6f9722023f: Verifying Checksum [2020-12-07T17:33:26.508Z] 7c6f9722023f: Download complete [2020-12-07T17:33:26.508Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T17:33:26.508Z] 188c0c94c7c5: Download complete [2020-12-07T17:33:26.777Z] 188c0c94c7c5: Pull complete [2020-12-07T17:33:27.040Z] 0ef7d3d256c8: Pull complete [2020-12-07T17:33:27.040Z] de9db76c5a1d: Pull complete [2020-12-07T17:33:28.973Z] a35cf1a2eb13: Verifying Checksum [2020-12-07T17:33:28.973Z] a35cf1a2eb13: Download complete [2020-12-07T17:33:29.555Z] bca2f99d35d6: Verifying Checksum [2020-12-07T17:33:29.555Z] bca2f99d35d6: Download complete [2020-12-07T17:33:29.923Z] using credential edgex-jenkins-ssh [2020-12-07T17:33:29.988Z] Cloning the remote Git repository [2020-12-07T17:33:30.061Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T17:33:30.182Z] > git init /w/workspace/device-mqtt-go/26 # timeout=10 [2020-12-07T17:33:30.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T17:33:30.271Z] > git --version # timeout=10 [2020-12-07T17:33:30.295Z] > git --version # 'git version 2.17.1' [2020-12-07T17:33:30.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T17:33:30.383Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T17:33:31.177Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T17:33:31.203Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-07T17:33:31.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-07T17:33:31.262Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-07T17:33:31.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-07T17:33:31.275Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-07T17:33:31.731Z] Checking out Revision fcf415a52e09a542e74d978699b87b5b4fab4063 (master) [2020-12-07T17:33:31.755Z] > git config core.sparsecheckout # timeout=10 [2020-12-07T17:33:31.769Z] > git checkout -f fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-07T17:33:34.923Z] bca2f99d35d6: Pull complete [2020-12-07T17:33:34.923Z] 93359f2a8cfa: Pull complete [2020-12-07T17:33:35.186Z] 7c6f9722023f: Pull complete [2020-12-07T17:33:36.026Z] Commit message: "Merge pull request #186 from siggiskulason/feat-snap-add-startup-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T17:33:37.581Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-07T17:33:37.981Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-07T17:33:38.319Z] + true [2020-12-07T17:33:38.319Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:33:41.081Z] provisioning config files... [2020-12-07T17:33:41.119Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/26@tmp/config2446170373332741930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:33:41.665Z] ---> docker-login.sh [2020-12-07T17:33:41.665Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:33:42.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:42.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:42.925Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:42.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:42.925Z] [2020-12-07T17:33:42.925Z] Login Succeeded [2020-12-07T17:33:42.925Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:33:43.377Z] a35cf1a2eb13: Pull complete [2020-12-07T17:33:43.377Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-07T17:33:43.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-07T17:33:43.377Z] ---> a62c8e92a672 [2020-12-07T17:33:43.377Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-07T17:33:43.377Z] ---> Running in e8e94ab7ec98 [2020-12-07T17:33:43.377Z] Removing intermediate container e8e94ab7ec98 [2020-12-07T17:33:43.377Z] ---> b66db5ffc0cb [2020-12-07T17:33:43.377Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T17:33:43.377Z] ---> Running in 7070ff330a63 [2020-12-07T17:33:43.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:43.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:43.798Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:43.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:43.798Z] [2020-12-07T17:33:43.798Z] Login Succeeded [2020-12-07T17:33:43.798Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:33:43.956Z] Removing intermediate container 7070ff330a63 [2020-12-07T17:33:43.956Z] ---> 0b1218c823c2 [2020-12-07T17:33:43.956Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-07T17:33:43.956Z] ---> Running in ce464a93cd7b [2020-12-07T17:33:44.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:44.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:44.348Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:44.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:44.348Z] [2020-12-07T17:33:44.348Z] Login Succeeded [2020-12-07T17:33:44.348Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:33:44.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:44.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:44.901Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:44.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:44.901Z] [2020-12-07T17:33:44.901Z] Login Succeeded [2020-12-07T17:33:44.901Z] docker.io [2020-12-07T17:33:44.917Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T17:33:45.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:33:45.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:33:45.763Z] Configure a credential helper to remove this warning. See [2020-12-07T17:33:45.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:33:45.763Z] [2020-12-07T17:33:45.763Z] Login Succeeded [2020-12-07T17:33:45.763Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:33:45.779Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-07T17:33:46.267Z] ========================================================= [2020-12-07T17:33:46.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-07T17:33:46.267Z] ========================================================= [2020-12-07T17:33:46.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:33:46.682Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-07T17:33:46.954Z] Sending build context to Docker daemon 477.2kB [2020-12-07T17:33:47.231Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-07T17:33:47.231Z] Step 2/8 : FROM ${BASE} [2020-12-07T17:33:47.231Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-07T17:33:47.231Z] 5f621e34cdf4: Pulling fs layer [2020-12-07T17:33:47.231Z] a4357932f1b6: Pulling fs layer [2020-12-07T17:33:47.231Z] 18c013af1878: Pulling fs layer [2020-12-07T17:33:47.231Z] 00ac8860ef70: Pulling fs layer [2020-12-07T17:33:47.231Z] 63d7cb157983: Pulling fs layer [2020-12-07T17:33:47.231Z] b116817d02f9: Pulling fs layer [2020-12-07T17:33:47.231Z] 745a02a5169b: Pulling fs layer [2020-12-07T17:33:47.231Z] 00ac8860ef70: Waiting [2020-12-07T17:33:47.231Z] 63d7cb157983: Waiting [2020-12-07T17:33:47.231Z] b116817d02f9: Waiting [2020-12-07T17:33:47.231Z] 745a02a5169b: Waiting [2020-12-07T17:33:47.231Z] 18c013af1878: Verifying Checksum [2020-12-07T17:33:47.231Z] 18c013af1878: Download complete [2020-12-07T17:33:47.231Z] a4357932f1b6: Verifying Checksum [2020-12-07T17:33:47.231Z] a4357932f1b6: Download complete [2020-12-07T17:33:47.231Z] 63d7cb157983: Verifying Checksum [2020-12-07T17:33:47.231Z] 63d7cb157983: Download complete [2020-12-07T17:33:47.231Z] 5f621e34cdf4: Verifying Checksum [2020-12-07T17:33:47.231Z] 5f621e34cdf4: Download complete [2020-12-07T17:33:47.231Z] b116817d02f9: Verifying Checksum [2020-12-07T17:33:47.231Z] b116817d02f9: Download complete [2020-12-07T17:33:47.831Z] 5f621e34cdf4: Pull complete [2020-12-07T17:33:48.820Z] a4357932f1b6: Pull complete [2020-12-07T17:33:48.870Z] (1/14) Installing libmagic (5.38-r0) [2020-12-07T17:33:49.096Z] 18c013af1878: Pull complete [2020-12-07T17:33:49.096Z] 745a02a5169b: Verifying Checksum [2020-12-07T17:33:49.096Z] 745a02a5169b: Download complete [2020-12-07T17:33:49.817Z] (2/14) Installing file (5.38-r0) [2020-12-07T17:33:49.817Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-07T17:33:50.080Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-07T17:33:50.530Z] 00ac8860ef70: Verifying Checksum [2020-12-07T17:33:50.530Z] 00ac8860ef70: Download complete [2020-12-07T17:34:00.706Z] 00ac8860ef70: Pull complete [2020-12-07T17:34:00.706Z] 63d7cb157983: Pull complete [2020-12-07T17:34:00.976Z] b116817d02f9: Pull complete [2020-12-07T17:34:02.340Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-07T17:34:02.340Z] (6/14) Installing patch (2.7.6-r6) [2020-12-07T17:34:02.340Z] (7/14) Installing build-base (0.5-r2) [2020-12-07T17:34:02.340Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-07T17:34:02.340Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-07T17:34:02.340Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-07T17:34:02.604Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-07T17:34:02.604Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-07T17:34:02.604Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-07T17:34:02.867Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-07T17:34:02.867Z] Executing busybox-1.31.1-r19.trigger [2020-12-07T17:34:02.867Z] OK: 237 MiB in 53 packages [2020-12-07T17:34:04.377Z] 745a02a5169b: Pull complete [2020-12-07T17:34:04.377Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-07T17:34:04.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-07T17:34:04.377Z] ---> b7e6874047d6 [2020-12-07T17:34:04.377Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-07T17:34:06.184Z] Removing intermediate container ce464a93cd7b [2020-12-07T17:34:06.184Z] ---> a701126b840c [2020-12-07T17:34:06.184Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-07T17:34:06.184Z] ---> Running in 50f491c43213 [2020-12-07T17:34:06.184Z] Removing intermediate container 50f491c43213 [2020-12-07T17:34:06.184Z] ---> 5d2c473afc2a [2020-12-07T17:34:06.184Z] Step 7/8 : COPY . . [2020-12-07T17:34:07.132Z] ---> b4306910cf0a [2020-12-07T17:34:07.132Z] Step 8/8 : RUN go mod download [2020-12-07T17:34:07.132Z] ---> Running in a1674eceb2d1 [2020-12-07T17:34:07.772Z] ---> Running in 48301fc78bd2 [2020-12-07T17:34:07.772Z] Removing intermediate container 48301fc78bd2 [2020-12-07T17:34:07.772Z] ---> f1ef5ff77db3 [2020-12-07T17:34:07.772Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T17:34:08.067Z] ---> Running in da13e8f66b27 [2020-12-07T17:34:10.683Z] Removing intermediate container da13e8f66b27 [2020-12-07T17:34:10.683Z] ---> 9489e3fac448 [2020-12-07T17:34:10.683Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-07T17:34:10.683Z] ---> Running in fae419e2018c [2020-12-07T17:34:11.664Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T17:34:12.267Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T17:34:12.859Z] (1/14) Installing libmagic (5.38-r0) [2020-12-07T17:34:13.130Z] (2/14) Installing file (5.38-r0) [2020-12-07T17:34:13.400Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-07T17:34:13.400Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-07T17:34:21.658Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-07T17:34:21.658Z] (6/14) Installing patch (2.7.6-r6) [2020-12-07T17:34:21.658Z] (7/14) Installing build-base (0.5-r2) [2020-12-07T17:34:21.658Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-07T17:34:21.658Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-07T17:34:21.658Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-07T17:34:21.658Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-07T17:34:21.658Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-07T17:34:21.658Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-07T17:34:21.658Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-07T17:34:21.931Z] Executing busybox-1.31.1-r19.trigger [2020-12-07T17:34:21.931Z] OK: 221 MiB in 53 packages [2020-12-07T17:34:26.229Z] Removing intermediate container fae419e2018c [2020-12-07T17:34:26.229Z] ---> 857fe38bfbbd [2020-12-07T17:34:26.229Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-07T17:34:26.229Z] ---> Running in 73a1ba0f57bc [2020-12-07T17:34:26.504Z] Removing intermediate container 73a1ba0f57bc [2020-12-07T17:34:26.504Z] ---> 06efe79689d0 [2020-12-07T17:34:26.504Z] Step 7/8 : COPY . . [2020-12-07T17:34:27.495Z] ---> a956990e2fe6 [2020-12-07T17:34:27.496Z] Step 8/8 : RUN go mod download [2020-12-07T17:34:27.496Z] ---> Running in 670d342baac6 [2020-12-07T17:34:29.190Z] Removing intermediate container a1674eceb2d1 [2020-12-07T17:34:29.190Z] ---> 177de864fba6 [2020-12-07T17:34:29.190Z] Successfully built 177de864fba6 [2020-12-07T17:34:29.190Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:34:29.508Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T17:34:29.508Z] . [Pipeline] withDockerContainer [2020-12-07T17:34:29.632Z] prd-centos7-docker-4c-2g-14919 does not seem to be running inside a container [2020-12-07T17:34:29.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-07T17:34:30.540Z] $ docker top 10a83ced9264aa6da80bd3e0d60c8d06998374f98998cf7513dbe0504db74ac9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T17:34:31.039Z] + go version [2020-12-07T17:34:31.039Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-07T17:34:31.063Z] $ docker stop --time=1 10a83ced9264aa6da80bd3e0d60c8d06998374f98998cf7513dbe0504db74ac9 [2020-12-07T17:34:32.420Z] $ docker rm -f 10a83ced9264aa6da80bd3e0d60c8d06998374f98998cf7513dbe0504db74ac9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:34:33.294Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-07T17:34:33.294Z] . [Pipeline] withDockerContainer [2020-12-07T17:34:33.394Z] prd-centos7-docker-4c-2g-14919 does not seem to be running inside a container [2020-12-07T17:34:33.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-07T17:34:34.172Z] $ docker top ccf04b9208556efd74a91c0d3be52f05132d40aea5ed6b88df9d19c564e8ced9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T17:34:34.655Z] + make test [2020-12-07T17:34:34.655Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-07T17:34:36.077Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-07T17:34:48.437Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-12-07T17:34:48.437Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 28.3% of statements [2020-12-07T17:34:48.437Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-12-07T17:34:48.437Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-07T17:34:49.682Z] Removing intermediate container 670d342baac6 [2020-12-07T17:34:49.682Z] ---> f3b19af6bc79 [2020-12-07T17:34:49.682Z] Successfully built f3b19af6bc79 [2020-12-07T17:34:49.682Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:34:50.021Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T17:34:50.022Z] . [Pipeline] withDockerContainer [2020-12-07T17:34:50.255Z] prd-ubuntu18.04-docker-arm64-4c-16g-14918 does not seem to be running inside a container [2020-12-07T17:34:50.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@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 ******** ci-base-image-arm64 cat [2020-12-07T17:34:50.388Z] gofmt -l . [2020-12-07T17:34:50.388Z] ["`gofmt -l .`" = ""] [2020-12-07T17:34:50.388Z] ./bin/test-attribution-txt.sh [2020-12-07T17:34:51.338Z] ./bin/test-go-mod-tidy.sh [2020-12-07T17:34:51.753Z] $ docker top 7c4963a242155dc145f55f8e3e4d3edb99ce91c11bc07e5f63b29a893ef8fa03 -eo pid,comm [Pipeline] { [Pipeline] } [2020-12-07T17:34:52.133Z] $ docker stop --time=1 ccf04b9208556efd74a91c0d3be52f05132d40aea5ed6b88df9d19c564e8ced9 [2020-12-07T17:34:54.571Z] $ docker rm -f ccf04b9208556efd74a91c0d3be52f05132d40aea5ed6b88df9d19c564e8ced9 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2020-12-07T17:34:55.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-07T17:34:55.437Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2020-12-07T17:34:55.492Z] + go version [2020-12-07T17:34:55.492Z] go version go1.15.5 linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-07T17:34:55.636Z] $ docker stop --time=1 7c4963a242155dc145f55f8e3e4d3edb99ce91c11bc07e5f63b29a893ef8fa03 [2020-12-07T17:34:57.510Z] $ docker rm -f 7c4963a242155dc145f55f8e3e4d3edb99ce91c11bc07e5f63b29a893ef8fa03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:00.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-07T17:35:00.578Z] + docker inspect -f . ci-base-image-arm64 [2020-12-07T17:35:00.578Z] . [Pipeline] withDockerContainer [2020-12-07T17:35:00.793Z] + ls -al . [2020-12-07T17:35:00.793Z] total 100 [2020-12-07T17:35:00.793Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 7 17:34 . [2020-12-07T17:35:00.793Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 7 17:33 .. [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 5932 Dec 7 17:33 Attribution.txt [2020-12-07T17:35:00.793Z] drwxrwxr-x. 2 jenkins jenkins 87 Dec 7 17:33 bin [2020-12-07T17:35:00.793Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 7 17:33 cmd [2020-12-07T17:35:00.793Z] -rw-r--r--. 1 jenkins jenkins 18940 Dec 7 17:34 coverage.out [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 1784 Dec 7 17:33 Dockerfile [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 953 Dec 7 17:33 Dockerfile.build [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 7 17:33 .dockerignore [2020-12-07T17:35:00.793Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 7 17:33 .git [2020-12-07T17:35:00.793Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 7 17:33 .github [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 336 Dec 7 17:33 .gitignore [2020-12-07T17:35:00.793Z] -rw-r--r--. 1 jenkins jenkins 504 Dec 7 17:34 go.mod [2020-12-07T17:35:00.793Z] -rw-r--r--. 1 jenkins jenkins 14793 Dec 7 17:34 go.sum [2020-12-07T17:35:00.793Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 7 17:33 internal [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 7 17:33 Jenkinsfile [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 7 17:33 LICENSE [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 902 Dec 7 17:33 Makefile [2020-12-07T17:35:00.793Z] drwxrwxr-x. 2 jenkins jenkins 23 Dec 7 17:33 mock [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 444 Dec 7 17:33 README.md [2020-12-07T17:35:00.793Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 7 17:33 snap [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 7 17:30 VERSION [2020-12-07T17:35:00.793Z] -rw-rw-r--. 1 jenkins jenkins 227 Dec 7 17:33 version.go [2020-12-07T17:35:00.879Z] prd-ubuntu18.04-docker-arm64-4c-16g-14918 does not seem to be running inside a container [2020-12-07T17:35:00.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@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 ******** ci-base-image-arm64 cat [2020-12-07T17:35:02.296Z] $ docker top b88fa5f5282fd1edae27938fe792d08b3a0200e6336903ae125cdad91bf8c96e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:03.021Z] + 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=fcf415a52e09a542e74d978699b87b5b4fab4063 --label arch=amd64 --label version=1.3.1-dev.1 . [2020-12-07T17:35:03.280Z] + make test [2020-12-07T17:35:03.280Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-07T17:35:03.283Z] Sending build context to Docker daemon 497.7kB [2020-12-07T17:35:03.283Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-12-07T17:35:03.283Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-07T17:35:03.283Z] ---> 177de864fba6 [2020-12-07T17:35:03.283Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-07T17:35:03.549Z] ---> Running in d9bf119a332f [2020-12-07T17:35:03.813Z] Removing intermediate container d9bf119a332f [2020-12-07T17:35:03.813Z] ---> e8239551dda8 [2020-12-07T17:35:03.813Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T17:35:03.813Z] ---> Running in a182b6d6a0aa [2020-12-07T17:35:04.079Z] Removing intermediate container a182b6d6a0aa [2020-12-07T17:35:04.079Z] ---> 9cf89eab35b1 [2020-12-07T17:35:04.079Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T17:35:04.079Z] ---> Running in 5f3add525417 [2020-12-07T17:35:04.265Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-12-07T17:35:05.482Z] Removing intermediate container 5f3add525417 [2020-12-07T17:35:05.482Z] ---> b34ddcc46d98 [2020-12-07T17:35:05.482Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T17:35:05.482Z] ---> Running in fc9f28eda7d9 [2020-12-07T17:35:05.746Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-07T17:35:06.322Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-07T17:35:06.898Z] OK: 237 MiB in 53 packages [2020-12-07T17:35:07.474Z] Removing intermediate container fc9f28eda7d9 [2020-12-07T17:35:07.475Z] ---> 935d9323edfe [2020-12-07T17:35:07.475Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-12-07T17:35:07.475Z] ---> Running in cbc4b79a7635 [2020-12-07T17:35:07.738Z] Removing intermediate container cbc4b79a7635 [2020-12-07T17:35:07.738Z] ---> 1ed9c6f97362 [2020-12-07T17:35:07.738Z] Step 8/22 : COPY . . [2020-12-07T17:35:08.707Z] ---> 944c9578f978 [2020-12-07T17:35:08.707Z] Step 9/22 : ARG MAKE='make build' [2020-12-07T17:35:08.707Z] ---> Running in 8f6bc398c3cf [2020-12-07T17:35:08.707Z] Removing intermediate container 8f6bc398c3cf [2020-12-07T17:35:08.707Z] ---> 70e76cdc98cf [2020-12-07T17:35:08.707Z] Step 10/22 : RUN $MAKE [2020-12-07T17:35:08.707Z] ---> Running in acc76092e1eb [2020-12-07T17:35:09.287Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.1-dev.1" -o cmd/device-mqtt ./cmd [2020-12-07T17:35:19.434Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-07T17:35:21.989Z] Removing intermediate container acc76092e1eb [2020-12-07T17:35:21.989Z] ---> 5ceeee4b5437 [2020-12-07T17:35:21.989Z] Step 11/22 : FROM alpine [2020-12-07T17:35:22.565Z] latest: Pulling from library/alpine [2020-12-07T17:35:22.828Z] 188c0c94c7c5: Already exists [2020-12-07T17:35:22.828Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-07T17:35:23.090Z] Status: Downloaded newer image for alpine:latest [2020-12-07T17:35:23.090Z] ---> d6e46aa2470d [2020-12-07T17:35:23.090Z] Step 12/22 : ENV APP_PORT=49982 [2020-12-07T17:35:23.090Z] ---> Running in 28981c4cdedd [2020-12-07T17:35:23.090Z] Removing intermediate container 28981c4cdedd [2020-12-07T17:35:23.090Z] ---> 2df11a6fdb5a [2020-12-07T17:35:23.090Z] Step 13/22 : EXPOSE $APP_PORT [2020-12-07T17:35:23.353Z] ---> Running in 1f822c8c0f98 [2020-12-07T17:35:23.353Z] Removing intermediate container 1f822c8c0f98 [2020-12-07T17:35:23.353Z] ---> 8edf295ca5b3 [2020-12-07T17:35:23.353Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-12-07T17:35:23.929Z] ---> bff02d4bf8de [2020-12-07T17:35:23.929Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-12-07T17:35:24.192Z] ---> 3fc666d68467 [2020-12-07T17:35:24.192Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-12-07T17:35:24.454Z] ---> e6487d5f5288 [2020-12-07T17:35:24.454Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-12-07T17:35:24.454Z] ---> Running in 9afed4a6489e [2020-12-07T17:35:24.716Z] Removing intermediate container 9afed4a6489e [2020-12-07T17:35:24.716Z] ---> e5932b5f0f0e [2020-12-07T17:35:24.716Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-12-07T17:35:24.716Z] ---> Running in 5b0ce67a1e88 [2020-12-07T17:35:24.979Z] Removing intermediate container 5b0ce67a1e88 [2020-12-07T17:35:24.979Z] ---> 112301e8c956 [2020-12-07T17:35:24.979Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-07T17:35:24.979Z] ---> Running in 63f72d059f84 [2020-12-07T17:35:25.241Z] Removing intermediate container 63f72d059f84 [2020-12-07T17:35:25.241Z] ---> 7ebf432ca26b [2020-12-07T17:35:25.241Z] Step 20/22 : LABEL arch=amd64 [2020-12-07T17:35:25.241Z] ---> Running in b00c6da6d0d0 [2020-12-07T17:35:25.509Z] Removing intermediate container b00c6da6d0d0 [2020-12-07T17:35:25.509Z] ---> 61a7834b4826 [2020-12-07T17:35:25.509Z] Step 21/22 : LABEL git_sha=fcf415a52e09a542e74d978699b87b5b4fab4063 [2020-12-07T17:35:25.509Z] ---> Running in 816590f39a89 [2020-12-07T17:35:25.509Z] Removing intermediate container 816590f39a89 [2020-12-07T17:35:25.509Z] ---> 7c709d2d529d [2020-12-07T17:35:25.509Z] Step 22/22 : LABEL version=1.3.1-dev.1 [2020-12-07T17:35:25.772Z] ---> Running in 0ea0ed985123 [2020-12-07T17:35:25.772Z] Removing intermediate container 0ea0ed985123 [2020-12-07T17:35:25.772Z] ---> 53bae03609a6 [2020-12-07T17:35:25.772Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-07T17:35:25.772Z] Successfully built 53bae03609a6 [2020-12-07T17:35:25.772Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:35:26.152Z] provisioning config files... [2020-12-07T17:35:26.180Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/26@tmp/config1588391268063759337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:35:26.671Z] ---> docker-login.sh [2020-12-07T17:35:26.671Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:35:26.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:35:26.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:35:26.933Z] Configure a credential helper to remove this warning. See [2020-12-07T17:35:26.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:35:26.933Z] [2020-12-07T17:35:26.933Z] Login Succeeded [2020-12-07T17:35:26.934Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:35:26.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:35:26.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:35:26.934Z] Configure a credential helper to remove this warning. See [2020-12-07T17:35:26.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:35:26.934Z] [2020-12-07T17:35:26.934Z] Login Succeeded [2020-12-07T17:35:26.934Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:35:27.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:35:27.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:35:27.195Z] Configure a credential helper to remove this warning. See [2020-12-07T17:35:27.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:35:27.195Z] [2020-12-07T17:35:27.195Z] Login Succeeded [2020-12-07T17:35:27.195Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:35:27.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:35:27.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:35:27.457Z] Configure a credential helper to remove this warning. See [2020-12-07T17:35:27.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:35:27.457Z] [2020-12-07T17:35:27.457Z] Login Succeeded [2020-12-07T17:35:27.457Z] docker.io [2020-12-07T17:35:27.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:35:27.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:35:27.719Z] Configure a credential helper to remove this warning. See [2020-12-07T17:35:27.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:35:27.719Z] [2020-12-07T17:35:27.719Z] Login Succeeded [2020-12-07T17:35:27.720Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:35:27.730Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-07T17:35:27.951Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2020-12-07T17:35:27.952Z] fcf415a52e09a542e74d978699b87b5b4fab4063 [2020-12-07T17:35:27.952Z] latest [2020-12-07T17:35:27.952Z] 1.3.1-dev.1 [2020-12-07T17:35:27.952Z] fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1 [2020-12-07T17:35:27.952Z] master [2020-12-07T17:35:27.952Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:28.445Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:28.753Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063 [2020-12-07T17:35:28.753Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-12-07T17:35:28.753Z] 3652ec603e13: Preparing [2020-12-07T17:35:28.753Z] 23b560c993ad: Preparing [2020-12-07T17:35:28.753Z] 4b5331520852: Preparing [2020-12-07T17:35:28.753Z] ace0eda3e3be: Preparing [2020-12-07T17:35:28.753Z] ace0eda3e3be: Layer already exists [2020-12-07T17:35:28.753Z] 3652ec603e13: Pushed [2020-12-07T17:35:28.753Z] 23b560c993ad: Pushed [2020-12-07T17:35:30.157Z] 4b5331520852: Pushed [2020-12-07T17:35:30.157Z] fcf415a52e09a542e74d978699b87b5b4fab4063: digest: sha256:0263900f264e62dbcd2173b2d915b7c1a72a9fa570dda213f38c0218059b0c97 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:30.465Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:30.762Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2020-12-07T17:35:30.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-12-07T17:35:30.763Z] 3652ec603e13: Preparing [2020-12-07T17:35:30.763Z] 23b560c993ad: Preparing [2020-12-07T17:35:30.763Z] 4b5331520852: Preparing [2020-12-07T17:35:30.763Z] ace0eda3e3be: Preparing [2020-12-07T17:35:30.763Z] 4b5331520852: Layer already exists [2020-12-07T17:35:30.763Z] 3652ec603e13: Layer already exists [2020-12-07T17:35:30.763Z] ace0eda3e3be: Layer already exists [2020-12-07T17:35:30.763Z] 23b560c993ad: Layer already exists [2020-12-07T17:35:30.763Z] latest: digest: sha256:0263900f264e62dbcd2173b2d915b7c1a72a9fa570dda213f38c0218059b0c97 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:31.066Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:31.365Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.1 [2020-12-07T17:35:31.365Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-12-07T17:35:31.365Z] 3652ec603e13: Preparing [2020-12-07T17:35:31.365Z] 23b560c993ad: Preparing [2020-12-07T17:35:31.365Z] 4b5331520852: Preparing [2020-12-07T17:35:31.365Z] ace0eda3e3be: Preparing [2020-12-07T17:35:31.365Z] 23b560c993ad: Layer already exists [2020-12-07T17:35:31.365Z] ace0eda3e3be: Layer already exists [2020-12-07T17:35:31.365Z] 4b5331520852: Layer already exists [2020-12-07T17:35:31.365Z] 3652ec603e13: Layer already exists [2020-12-07T17:35:31.365Z] 1.3.1-dev.1: digest: sha256:0263900f264e62dbcd2173b2d915b7c1a72a9fa570dda213f38c0218059b0c97 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:31.671Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:31.971Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1 [2020-12-07T17:35:31.971Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-12-07T17:35:31.971Z] 3652ec603e13: Preparing [2020-12-07T17:35:31.971Z] 23b560c993ad: Preparing [2020-12-07T17:35:31.971Z] 4b5331520852: Preparing [2020-12-07T17:35:31.971Z] ace0eda3e3be: Preparing [2020-12-07T17:35:31.971Z] ace0eda3e3be: Layer already exists [2020-12-07T17:35:31.971Z] 23b560c993ad: Layer already exists [2020-12-07T17:35:31.971Z] 4b5331520852: Layer already exists [2020-12-07T17:35:31.971Z] 3652ec603e13: Layer already exists [2020-12-07T17:35:31.971Z] fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1: digest: sha256:0263900f264e62dbcd2173b2d915b7c1a72a9fa570dda213f38c0218059b0c97 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:32.274Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:32.569Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2020-12-07T17:35:32.569Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2020-12-07T17:35:32.569Z] 3652ec603e13: Preparing [2020-12-07T17:35:32.569Z] 23b560c993ad: Preparing [2020-12-07T17:35:32.569Z] 4b5331520852: Preparing [2020-12-07T17:35:32.569Z] ace0eda3e3be: Preparing [2020-12-07T17:35:32.569Z] 4b5331520852: Layer already exists [2020-12-07T17:35:32.569Z] 3652ec603e13: Layer already exists [2020-12-07T17:35:32.569Z] 23b560c993ad: Layer already exists [2020-12-07T17:35:32.569Z] ace0eda3e3be: Layer already exists [2020-12-07T17:35:32.569Z] master: digest: sha256:0263900f264e62dbcd2173b2d915b7c1a72a9fa570dda213f38c0218059b0c97 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-07T17:35:32.756Z] ===================================================== [Pipeline] echo [2020-12-07T17:35:32.802Z] taggedImages: [2020-12-07T17:35:32.802Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063 [2020-12-07T17:35:32.802Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2020-12-07T17:35:32.802Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.1-dev.1 [2020-12-07T17:35:32.802Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1 [2020-12-07T17:35:32.802Z] - 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] } [2020-12-07T17:35:43.271Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-12-07T17:35:43.271Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.039s coverage: 28.3% of statements [2020-12-07T17:35:43.271Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-12-07T17:35:43.271Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-07T17:35:48.688Z] gofmt -l . [2020-12-07T17:35:48.688Z] ["`gofmt -l .`" = ""] [2020-12-07T17:35:48.963Z] ./bin/test-attribution-txt.sh [2020-12-07T17:35:49.944Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-07T17:35:50.250Z] $ docker stop --time=1 b88fa5f5282fd1edae27938fe792d08b3a0200e6336903ae125cdad91bf8c96e [2020-12-07T17:35:52.384Z] $ docker rm -f b88fa5f5282fd1edae27938fe792d08b3a0200e6336903ae125cdad91bf8c96e [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-07T17:35:53.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-07T17:35:53.272Z] Warning: overwriting stash ‘coverage-report’ [2020-12-07T17:35:54.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-07T17:35:54.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-07T17:35:55.084Z] + ls -al . [2020-12-07T17:35:55.084Z] total 132 [2020-12-07T17:35:55.084Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 7 17:35 . [2020-12-07T17:35:55.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 17:33 .. [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 7 17:33 .dockerignore [2020-12-07T17:35:55.084Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 17:33 .git [2020-12-07T17:35:55.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:33 .github [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 336 Dec 7 17:33 .gitignore [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 5932 Dec 7 17:33 Attribution.txt [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 1784 Dec 7 17:33 Dockerfile [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 953 Dec 7 17:33 Dockerfile.build [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 7 17:33 Jenkinsfile [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 7 17:33 LICENSE [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 902 Dec 7 17:33 Makefile [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 7 17:33 README.md [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 7 17:30 VERSION [2020-12-07T17:35:55.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:33 bin [2020-12-07T17:35:55.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 17:33 cmd [2020-12-07T17:35:55.084Z] -rw-r--r-- 1 jenkins jenkins 18940 Dec 7 17:35 coverage.out [2020-12-07T17:35:55.084Z] -rw-r--r-- 1 jenkins jenkins 504 Dec 7 17:35 go.mod [2020-12-07T17:35:55.084Z] -rw-r--r-- 1 jenkins jenkins 14793 Dec 7 17:35 go.sum [2020-12-07T17:35:55.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 17:33 internal [2020-12-07T17:35:55.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:33 mock [2020-12-07T17:35:55.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 17:33 snap [2020-12-07T17:35:55.084Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 7 17:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:35:55.475Z] + 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=fcf415a52e09a542e74d978699b87b5b4fab4063 --label arch=arm64 --label version=1.3.1-dev.1 . [2020-12-07T17:35:55.767Z] Sending build context to Docker daemon 496.6kB [2020-12-07T17:35:56.069Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-12-07T17:35:56.069Z] Step 2/22 : FROM ${BASE} AS builder [2020-12-07T17:35:56.069Z] ---> f3b19af6bc79 [2020-12-07T17:35:56.069Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-12-07T17:35:56.069Z] ---> Running in 25ff7fc0ff51 [2020-12-07T17:35:56.684Z] Removing intermediate container 25ff7fc0ff51 [2020-12-07T17:35:56.684Z] ---> 9acf0be11c9d [2020-12-07T17:35:56.684Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-12-07T17:35:56.684Z] ---> Running in 1e7329677d71 [2020-12-07T17:35:57.280Z] Removing intermediate container 1e7329677d71 [2020-12-07T17:35:57.280Z] ---> 0861adb729b1 [2020-12-07T17:35:57.280Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-07T17:35:57.280Z] ---> Running in 7390471adb06 [2020-12-07T17:35:59.251Z] Removing intermediate container 7390471adb06 [2020-12-07T17:35:59.251Z] ---> e0dc16e63f28 [2020-12-07T17:35:59.251Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-07T17:35:59.525Z] ---> Running in 21a31a7d7ede [2020-12-07T17:36:00.516Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-07T17:36:01.109Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-07T17:36:02.083Z] OK: 221 MiB in 53 packages [2020-12-07T17:36:03.056Z] Removing intermediate container 21a31a7d7ede [2020-12-07T17:36:03.056Z] ---> dc28c7483126 [2020-12-07T17:36:03.056Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-12-07T17:36:03.342Z] ---> Running in e899e4da7f42 [2020-12-07T17:36:03.613Z] Removing intermediate container e899e4da7f42 [2020-12-07T17:36:03.613Z] ---> 2eac6cd63d2e [2020-12-07T17:36:03.613Z] Step 8/22 : COPY . . [2020-12-07T17:36:04.589Z] ---> 5819ac1fe243 [2020-12-07T17:36:04.589Z] Step 9/22 : ARG MAKE='make build' [2020-12-07T17:36:04.861Z] ---> Running in 62b175138875 [2020-12-07T17:36:05.134Z] Removing intermediate container 62b175138875 [2020-12-07T17:36:05.134Z] ---> bc81cad7442f [2020-12-07T17:36:05.134Z] Step 10/22 : RUN $MAKE [2020-12-07T17:36:05.407Z] ---> Running in d001e898bc3e [2020-12-07T17:36:06.385Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.1-dev.1" -o cmd/device-mqtt ./cmd [2020-12-07T17:36:33.202Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-07T17:36:39.957Z] Removing intermediate container d001e898bc3e [2020-12-07T17:36:39.957Z] ---> 216b8fe6a157 [2020-12-07T17:36:39.957Z] Step 11/22 : FROM alpine [2020-12-07T17:36:40.552Z] latest: Pulling from library/alpine [2020-12-07T17:36:40.552Z] 5f621e34cdf4: Already exists [2020-12-07T17:36:40.824Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-07T17:36:40.824Z] Status: Downloaded newer image for alpine:latest [2020-12-07T17:36:40.824Z] ---> 2e77e061c27f [2020-12-07T17:36:40.824Z] Step 12/22 : ENV APP_PORT=49982 [2020-12-07T17:36:40.824Z] ---> Running in 84e74c65f357 [2020-12-07T17:36:41.417Z] Removing intermediate container 84e74c65f357 [2020-12-07T17:36:41.418Z] ---> 664c468d313a [2020-12-07T17:36:41.418Z] Step 13/22 : EXPOSE $APP_PORT [2020-12-07T17:36:41.418Z] ---> Running in bd7d1f82f1ed [2020-12-07T17:36:42.013Z] Removing intermediate container bd7d1f82f1ed [2020-12-07T17:36:42.013Z] ---> 1587aa78010b [2020-12-07T17:36:42.013Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-12-07T17:36:42.989Z] ---> 45fa9ad1f6a4 [2020-12-07T17:36:42.989Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-12-07T17:36:43.966Z] ---> ed63d6dbd753 [2020-12-07T17:36:43.966Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-12-07T17:36:44.564Z] ---> 9725eecf8710 [2020-12-07T17:36:44.564Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-12-07T17:36:44.564Z] ---> Running in a2318637635b [2020-12-07T17:36:44.836Z] Removing intermediate container a2318637635b [2020-12-07T17:36:44.836Z] ---> 7f1c01327a7e [2020-12-07T17:36:44.836Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-12-07T17:36:45.109Z] ---> Running in 6f4992a664f6 [2020-12-07T17:36:45.382Z] Removing intermediate container 6f4992a664f6 [2020-12-07T17:36:45.382Z] ---> 7a1573fe1abb [2020-12-07T17:36:45.382Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-07T17:36:45.653Z] ---> Running in 782bdd9ab616 [2020-12-07T17:36:45.926Z] Removing intermediate container 782bdd9ab616 [2020-12-07T17:36:45.926Z] ---> 94529bf58df1 [2020-12-07T17:36:45.926Z] Step 20/22 : LABEL arch=arm64 [2020-12-07T17:36:46.199Z] ---> Running in 8596bf105d3a [2020-12-07T17:36:46.470Z] Removing intermediate container 8596bf105d3a [2020-12-07T17:36:46.471Z] ---> 19d554a7663d [2020-12-07T17:36:46.471Z] Step 21/22 : LABEL git_sha=fcf415a52e09a542e74d978699b87b5b4fab4063 [2020-12-07T17:36:46.743Z] ---> Running in fd743c9d519c [2020-12-07T17:36:47.015Z] Removing intermediate container fd743c9d519c [2020-12-07T17:36:47.015Z] ---> ec2721f5174f [2020-12-07T17:36:47.015Z] Step 22/22 : LABEL version=1.3.1-dev.1 [2020-12-07T17:36:47.287Z] ---> Running in f00602e7fab4 [2020-12-07T17:36:47.881Z] Removing intermediate container f00602e7fab4 [2020-12-07T17:36:47.881Z] ---> aaaa8c59fd66 [2020-12-07T17:36:47.881Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-07T17:36:47.881Z] Successfully built aaaa8c59fd66 [2020-12-07T17:36:47.881Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-07T17:36:48.377Z] provisioning config files... [2020-12-07T17:36:48.413Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/26@tmp/config1580405128548044921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:36:48.808Z] ---> docker-login.sh [2020-12-07T17:36:48.808Z] nexus3.edgexfoundry.org:10001 [2020-12-07T17:36:49.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:36:49.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:36:49.081Z] Configure a credential helper to remove this warning. See [2020-12-07T17:36:49.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:36:49.081Z] [2020-12-07T17:36:49.081Z] Login Succeeded [2020-12-07T17:36:49.081Z] nexus3.edgexfoundry.org:10002 [2020-12-07T17:36:49.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:36:49.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:36:49.677Z] Configure a credential helper to remove this warning. See [2020-12-07T17:36:49.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:36:49.677Z] [2020-12-07T17:36:49.677Z] Login Succeeded [2020-12-07T17:36:49.677Z] nexus3.edgexfoundry.org:10003 [2020-12-07T17:36:50.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:36:50.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:36:50.271Z] Configure a credential helper to remove this warning. See [2020-12-07T17:36:50.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:36:50.271Z] [2020-12-07T17:36:50.271Z] Login Succeeded [2020-12-07T17:36:50.271Z] nexus3.edgexfoundry.org:10004 [2020-12-07T17:36:50.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:36:50.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:36:50.869Z] Configure a credential helper to remove this warning. See [2020-12-07T17:36:50.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:36:50.869Z] [2020-12-07T17:36:50.869Z] Login Succeeded [2020-12-07T17:36:50.869Z] docker.io [2020-12-07T17:36:51.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-07T17:36:51.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-07T17:36:51.734Z] Configure a credential helper to remove this warning. See [2020-12-07T17:36:51.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-07T17:36:51.734Z] [2020-12-07T17:36:51.734Z] Login Succeeded [2020-12-07T17:36:51.734Z] ---> docker-login.sh ends [Pipeline] } [2020-12-07T17:36:51.751Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-07T17:36:51.988Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2020-12-07T17:36:51.989Z] fcf415a52e09a542e74d978699b87b5b4fab4063 [2020-12-07T17:36:51.989Z] latest [2020-12-07T17:36:51.989Z] 1.3.1-dev.1 [2020-12-07T17:36:51.989Z] fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1 [2020-12-07T17:36:51.989Z] master [2020-12-07T17:36:51.989Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:52.538Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:fcf415a52e09a542e74d978699b87b5b4fab4063 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:52.871Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:fcf415a52e09a542e74d978699b87b5b4fab4063 [2020-12-07T17:36:52.871Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-12-07T17:36:52.871Z] a4ec689a8992: Preparing [2020-12-07T17:36:52.871Z] 621a4ba4e1ab: Preparing [2020-12-07T17:36:52.871Z] 53c8840f33f5: Preparing [2020-12-07T17:36:52.871Z] cd3761cfa1d9: Preparing [2020-12-07T17:36:53.157Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:36:53.157Z] 621a4ba4e1ab: Pushed [2020-12-07T17:36:53.157Z] a4ec689a8992: Pushed [2020-12-07T17:36:55.760Z] 53c8840f33f5: Pushed [2020-12-07T17:36:56.033Z] fcf415a52e09a542e74d978699b87b5b4fab4063: digest: sha256:a4c575943e7e09c0d1e312f33b5e170b7368ca87227e7209f10b350d6bc30d50 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:56.376Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:56.713Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2020-12-07T17:36:56.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-12-07T17:36:56.713Z] a4ec689a8992: Preparing [2020-12-07T17:36:56.713Z] 621a4ba4e1ab: Preparing [2020-12-07T17:36:56.713Z] 53c8840f33f5: Preparing [2020-12-07T17:36:56.713Z] cd3761cfa1d9: Preparing [2020-12-07T17:36:56.713Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:36:56.713Z] a4ec689a8992: Layer already exists [2020-12-07T17:36:56.713Z] 621a4ba4e1ab: Layer already exists [2020-12-07T17:36:56.713Z] 53c8840f33f5: Layer already exists [2020-12-07T17:36:56.985Z] latest: digest: sha256:a4c575943e7e09c0d1e312f33b5e170b7368ca87227e7209f10b350d6bc30d50 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:57.330Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:57.667Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.1 [2020-12-07T17:36:57.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-12-07T17:36:57.667Z] a4ec689a8992: Preparing [2020-12-07T17:36:57.667Z] 621a4ba4e1ab: Preparing [2020-12-07T17:36:57.667Z] 53c8840f33f5: Preparing [2020-12-07T17:36:57.667Z] cd3761cfa1d9: Preparing [2020-12-07T17:36:57.667Z] 621a4ba4e1ab: Layer already exists [2020-12-07T17:36:57.667Z] 53c8840f33f5: Layer already exists [2020-12-07T17:36:57.667Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:36:57.667Z] a4ec689a8992: Layer already exists [2020-12-07T17:36:57.938Z] 1.3.1-dev.1: digest: sha256:a4c575943e7e09c0d1e312f33b5e170b7368ca87227e7209f10b350d6bc30d50 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:58.278Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:58.618Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1 [2020-12-07T17:36:58.618Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-12-07T17:36:58.618Z] a4ec689a8992: Preparing [2020-12-07T17:36:58.618Z] 621a4ba4e1ab: Preparing [2020-12-07T17:36:58.618Z] 53c8840f33f5: Preparing [2020-12-07T17:36:58.618Z] cd3761cfa1d9: Preparing [2020-12-07T17:36:58.618Z] a4ec689a8992: Layer already exists [2020-12-07T17:36:58.618Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:36:58.618Z] 53c8840f33f5: Layer already exists [2020-12-07T17:36:58.618Z] 621a4ba4e1ab: Layer already exists [2020-12-07T17:36:58.889Z] fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1: digest: sha256:a4c575943e7e09c0d1e312f33b5e170b7368ca87227e7209f10b350d6bc30d50 size: 1155 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:59.235Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:36:59.571Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2020-12-07T17:36:59.571Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2020-12-07T17:36:59.571Z] a4ec689a8992: Preparing [2020-12-07T17:36:59.571Z] 621a4ba4e1ab: Preparing [2020-12-07T17:36:59.571Z] 53c8840f33f5: Preparing [2020-12-07T17:36:59.571Z] cd3761cfa1d9: Preparing [2020-12-07T17:36:59.571Z] 53c8840f33f5: Layer already exists [2020-12-07T17:36:59.571Z] cd3761cfa1d9: Layer already exists [2020-12-07T17:36:59.571Z] 621a4ba4e1ab: Layer already exists [2020-12-07T17:36:59.571Z] a4ec689a8992: Layer already exists [2020-12-07T17:36:59.841Z] master: digest: sha256:a4c575943e7e09c0d1e312f33b5e170b7368ca87227e7209f10b350d6bc30d50 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-07T17:37:00.088Z] ===================================================== [Pipeline] echo [2020-12-07T17:37:00.144Z] taggedImages: [2020-12-07T17:37:00.144Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:fcf415a52e09a542e74d978699b87b5b4fab4063 [2020-12-07T17:37:00.144Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2020-12-07T17:37:00.144Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.1-dev.1 [2020-12-07T17:37:00.144Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:fcf415a52e09a542e74d978699b87b5b4fab4063-1.3.1-dev.1 [2020-12-07T17:37:00.144Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-07T17:37:02.069Z] provisioning config files... [2020-12-07T17:37:02.084Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5927877483714090247tmp [Pipeline] { [Pipeline] sh [2020-12-07T17:37:02.480Z] + set +x [2020-12-07T17:37:02.480Z] + curl -s https://codecov.io/bash [2020-12-07T17:37:02.480Z] + bash -s -- [2020-12-07T17:37:02.744Z] [2020-12-07T17:37:02.744Z] _____ _ [2020-12-07T17:37:02.744Z] / ____| | | [2020-12-07T17:37:02.744Z] | | ___ __| | ___ ___ _____ __ [2020-12-07T17:37:02.744Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-07T17:37:02.744Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-07T17:37:02.744Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-07T17:37:02.744Z] Bash-20201130-cc6d3fe [2020-12-07T17:37:02.744Z] [2020-12-07T17:37:02.744Z] [2020-12-07T17:37:02.744Z] ==> Jenkins CI detected. [2020-12-07T17:37:02.744Z] project root: . [2020-12-07T17:37:02.744Z] --> token set from env [2020-12-07T17:37:02.744Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-07T17:37:02.744Z] ==> Running gcov in . (disable via -X gcov) [2020-12-07T17:37:02.744Z] ==> Python coveragepy not found [2020-12-07T17:37:02.744Z] ==> Searching for coverage reports in: [2020-12-07T17:37:02.744Z] + . [2020-12-07T17:37:02.744Z] -> Found 1 reports [2020-12-07T17:37:02.744Z] ==> Detecting git/mercurial file structure [2020-12-07T17:37:02.744Z] ==> Reading reports [2020-12-07T17:37:02.744Z] + ./coverage.out bytes=18940 [2020-12-07T17:37:02.744Z] ==> Appending adjustments [2020-12-07T17:37:02.744Z] https://docs.codecov.io/docs/fixing-reports [2020-12-07T17:37:02.744Z] + Found adjustments [2020-12-07T17:37:02.744Z] ==> Gzipping contents [2020-12-07T17:37:02.744Z] 4.0K /tmp/codecov.rFRvxT.gz [2020-12-07T17:37:02.744Z] ==> Uploading reports [2020-12-07T17:37:02.744Z] url: https://codecov.io [2020-12-07T17:37:02.744Z] query: branch=master&commit=fcf415a52e09a542e74d978699b87b5b4fab4063&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-07T17:37:02.744Z] -> Pinging Codecov [2020-12-07T17:37:02.744Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=fcf415a52e09a542e74d978699b87b5b4fab4063&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-07T17:37:03.319Z] -> Uploading to [2020-12-07T17:37:03.319Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-07/7D719EC7BBE17E464838252E33014C33/fcf415a52e09a542e74d978699b87b5b4fab4063/e306b20f-00af-4e5f-8618-d833395370bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201207T173703Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1471a267a261d82040dfa920e8edde7db70a0856142731e5e54e706a802363ac [2020-12-07T17:37:03.319Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-07T17:37:03.319Z] Dload Upload Total Spent Left Speed [2020-12-07T17:37:03.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3313 0 0 100 3313 0 8577 --:--:-- --:--:-- --:--:-- 8582 [2020-12-07T17:37:03.582Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/fcf415a52e09a542e74d978699b87b5b4fab4063 [Pipeline] } [2020-12-07T17:37:03.592Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-07T17:37:04.515Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-07T17:37:04.721Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:37:05.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T17:37:05.068Z] [2020-12-07T17:37:05.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:37:05.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T17:37:05.425Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-07T17:37:05.425Z] 188c0c94c7c5: Pulling fs layer [2020-12-07T17:37:05.425Z] 0ef7d3d256c8: Pulling fs layer [2020-12-07T17:37:05.425Z] de9db76c5a1d: Pulling fs layer [2020-12-07T17:37:05.425Z] 0eba1c9be4d2: Pulling fs layer [2020-12-07T17:37:05.426Z] 0d57e429df01: Pulling fs layer [2020-12-07T17:37:05.426Z] 4e4be7b47b0d: Pulling fs layer [2020-12-07T17:37:05.426Z] e1f770b5df2f: Pulling fs layer [2020-12-07T17:37:05.426Z] 85a0685a4137: Pulling fs layer [2020-12-07T17:37:05.426Z] 0d57e429df01: Waiting [2020-12-07T17:37:05.426Z] 4e4be7b47b0d: Waiting [2020-12-07T17:37:05.426Z] e1f770b5df2f: Waiting [2020-12-07T17:37:05.426Z] 85a0685a4137: Waiting [2020-12-07T17:37:05.426Z] de9db76c5a1d: Verifying Checksum [2020-12-07T17:37:05.426Z] de9db76c5a1d: Download complete [2020-12-07T17:37:05.426Z] 0ef7d3d256c8: Verifying Checksum [2020-12-07T17:37:05.426Z] 0ef7d3d256c8: Download complete [2020-12-07T17:37:05.426Z] 0d57e429df01: Verifying Checksum [2020-12-07T17:37:05.426Z] 0d57e429df01: Download complete [2020-12-07T17:37:05.426Z] 4e4be7b47b0d: Verifying Checksum [2020-12-07T17:37:05.426Z] 4e4be7b47b0d: Download complete [2020-12-07T17:37:06.004Z] 188c0c94c7c5: Verifying Checksum [2020-12-07T17:37:06.004Z] 188c0c94c7c5: Download complete [2020-12-07T17:37:06.267Z] 188c0c94c7c5: Pull complete [2020-12-07T17:37:06.529Z] 0ef7d3d256c8: Pull complete [2020-12-07T17:37:06.792Z] de9db76c5a1d: Pull complete [2020-12-07T17:37:07.055Z] e1f770b5df2f: Verifying Checksum [2020-12-07T17:37:07.055Z] e1f770b5df2f: Download complete [2020-12-07T17:37:08.989Z] 0eba1c9be4d2: Verifying Checksum [2020-12-07T17:37:08.990Z] 0eba1c9be4d2: Download complete [2020-12-07T17:37:09.254Z] 85a0685a4137: Verifying Checksum [2020-12-07T17:37:09.255Z] 85a0685a4137: Download complete [2020-12-07T17:37:14.572Z] 0eba1c9be4d2: Pull complete [2020-12-07T17:37:14.572Z] 0d57e429df01: Pull complete [2020-12-07T17:37:14.833Z] 4e4be7b47b0d: Pull complete [2020-12-07T17:37:17.389Z] e1f770b5df2f: Pull complete [2020-12-07T17:37:25.571Z] 85a0685a4137: Pull complete [2020-12-07T17:37:25.571Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-07T17:37:25.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T17:37:25.571Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-07T17:37:25.814Z] prd-centos7-docker-4c-2g-14915 does not seem to be running inside a container [2020-12-07T17:37:25.867Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-07T17:37:26.831Z] $ docker top ffb9e85ff942dbbc45657f4fa4f18e064ee074d7a0eea6fdac2106e3218e9f28 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-07T17:37:27.069Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-07T17:37:27.365Z] + set -o pipefail [2020-12-07T17:37:27.365Z] + snyk monitor '--org=edgex-jenkins' [2020-12-07T17:37:33.985Z] [2020-12-07T17:37:33.985Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2020-12-07T17:37:33.985Z] [2020-12-07T17:37:33.985Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/b13b87ce-7b17-42d6-95a1-5eef08dd9640 [2020-12-07T17:37:33.985Z] [2020-12-07T17:37:33.985Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-07T17:37:33.985Z] [2020-12-07T17:37:33.985Z] [Pipeline] } [2020-12-07T17:37:34.005Z] $ docker stop --time=1 ffb9e85ff942dbbc45657f4fa4f18e064ee074d7a0eea6fdac2106e3218e9f28 [2020-12-07T17:37:36.839Z] $ docker rm -f ffb9e85ff942dbbc45657f4fa4f18e064ee074d7a0eea6fdac2106e3218e9f28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-07T17:37:37.699Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063, dockerFile=Dockerfile [Pipeline] echo [2020-12-07T17:37:37.702Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-12-07T17:37:37.994Z] + set -o pipefail [2020-12-07T17:37:37.994Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-12-07T17:37:37.994Z] + tee .snyk [2020-12-07T17:37:38.257Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-12-07T17:37:38.257Z] version: v1.14.1 [2020-12-07T17:37:38.257Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-12-07T17:37:38.257Z] ignore: [2020-12-07T17:37:38.257Z] SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. [2020-12-07T17:37:38.257Z] - '*': [2020-12-07T17:37:38.257Z] reason: does not apply # justification for ignoring [2020-12-07T17:37:38.257Z] expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 [2020-12-07T17:37:38.257Z] SNYK-ALPINE312-JQ-588886: [2020-12-07T17:37:38.257Z] - '*': [2020-12-07T17:37:38.257Z] reason: false positive [2020-12-07T17:37:38.257Z] expires: 2021-01-01T00:00:00 [2020-12-07T17:37:38.257Z] # patch: {} [Pipeline] withCredentials [2020-12-07T17:37:38.356Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:37:38.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-07T17:37:38.700Z] . [Pipeline] withDockerContainer [2020-12-07T17:37:38.798Z] prd-centos7-docker-4c-2g-14915 does not seem to be running inside a container [2020-12-07T17:37:38.849Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-07T17:37:39.497Z] $ docker top cb1e2fd09c064cc5dbb0651ddc9844a10d1d8c8896e091a13d28060b1a3e9074 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T17:37:39.962Z] + rm -f snykReport.html [Pipeline] echo [2020-12-07T17:37:39.973Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-12-07T17:37:40.260Z] + set -o pipefail [2020-12-07T17:37:40.260Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:fcf415a52e09a542e74d978699b87b5b4fab4063 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-12-07T17:37:40.260Z] + snyk-to-html -o snykReport.html [2020-12-07T17:37:46.858Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-12-07T17:37:46.873Z] $ docker stop --time=1 cb1e2fd09c064cc5dbb0651ddc9844a10d1d8c8896e091a13d28060b1a3e9074 [2020-12-07T17:37:48.207Z] $ docker rm -f cb1e2fd09c064cc5dbb0651ddc9844a10d1d8c8896e091a13d28060b1a3e9074 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-12-07T17:37:49.797Z] + git log --format=format:%s -1 fcf415a52e09a542e74d978699b87b5b4fab4063 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:37:50.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:37:50.102Z] . [Pipeline] withDockerContainer [2020-12-07T17:37:50.227Z] prd-centos7-docker-4c-2g-14915 does not seem to be running inside a container [2020-12-07T17:37:50.286Z] $ 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 [2020-12-07T17:37:50.942Z] $ docker top 1fa8b600f566e7990ecea0318c6f99f8280abbb6a1546c77a38fe196fcd13e1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T17:37:51.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:37:51.256Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:37:51.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:37:51.472Z] $ docker exec 1fa8b600f566e7990ecea0318c6f99f8280abbb6a1546c77a38fe196fcd13e1c ssh-agent [2020-12-07T17:37:51.647Z] SSH_AUTH_SOCK=/tmp/ssh-GX0lppxceCYu/agent.11 [2020-12-07T17:37:51.647Z] SSH_AGENT_PID=16 [2020-12-07T17:37:51.654Z] Running ssh-add (command line suppressed) [2020-12-07T17:37:51.794Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3808285128573743376.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3808285128573743376.key) [2020-12-07T17:37:51.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:37:52.192Z] + git semver tag [2020-12-07T17:37:52.192Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T17:37:52.192Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-12-07T17:37:52.192Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-12-07T17:37:52.192Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T17:37:52.192Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T17:37:52.192Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T17:37:52.192Z] # $SEMVER_BRANCH = master [2020-12-07T17:37:52.192Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2020-12-07T17:37:52.192Z] # fcf415a52e09a542e74d978699b87b5b4fab4063 HEAD [2020-12-07T17:37:52.192Z] # -> Force: false [2020-12-07T17:37:52.192Z] # b3bd49bca1221d73473b2b2a0e08cd9263676ba2 refs/tags/v1.3.1-dev.1 [Pipeline] } [2020-12-07T17:37:52.206Z] $ docker exec --env ******** --env ******** 1fa8b600f566e7990ecea0318c6f99f8280abbb6a1546c77a38fe196fcd13e1c ssh-agent -k [2020-12-07T17:37:52.363Z] unset SSH_AUTH_SOCK; [2020-12-07T17:37:52.363Z] unset SSH_AGENT_PID; [2020-12-07T17:37:52.364Z] echo Agent pid 16 killed; [2020-12-07T17:37:52.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T17:37:52.972Z] + git semver [Pipeline] } [2020-12-07T17:37:52.995Z] $ docker stop --time=1 1fa8b600f566e7990ecea0318c6f99f8280abbb6a1546c77a38fe196fcd13e1c [2020-12-07T17:37:54.364Z] $ docker rm -f 1fa8b600f566e7990ecea0318c6f99f8280abbb6a1546c77a38fe196fcd13e1c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:37:55.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T17:37:55.051Z] [2020-12-07T17:37:55.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:37:55.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T17:37:55.399Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-07T17:37:55.399Z] ab5ef0e58194: Pulling fs layer [2020-12-07T17:37:55.399Z] 9712f1f96733: Pulling fs layer [2020-12-07T17:37:55.399Z] 63f879dbbcfc: Pulling fs layer [2020-12-07T17:37:55.399Z] 0d9ebad4ef96: Pulling fs layer [2020-12-07T17:37:55.399Z] e9a5061849ea: Pulling fs layer [2020-12-07T17:37:55.399Z] d747dcd14b5f: Pulling fs layer [2020-12-07T17:37:55.399Z] 2de7ff778b66: Pulling fs layer [2020-12-07T17:37:55.399Z] e9a5061849ea: Waiting [2020-12-07T17:37:55.399Z] 0d9ebad4ef96: Waiting [2020-12-07T17:37:55.399Z] 2de7ff778b66: Waiting [2020-12-07T17:37:55.399Z] d747dcd14b5f: Waiting [2020-12-07T17:37:55.399Z] 9712f1f96733: Verifying Checksum [2020-12-07T17:37:55.399Z] 9712f1f96733: Download complete [2020-12-07T17:37:57.332Z] 63f879dbbcfc: Verifying Checksum [2020-12-07T17:37:57.332Z] 63f879dbbcfc: Download complete [2020-12-07T17:37:57.332Z] e9a5061849ea: Verifying Checksum [2020-12-07T17:37:57.332Z] e9a5061849ea: Download complete [2020-12-07T17:37:57.332Z] d747dcd14b5f: Verifying Checksum [2020-12-07T17:37:57.332Z] d747dcd14b5f: Download complete [2020-12-07T17:37:57.602Z] 2de7ff778b66: Verifying Checksum [2020-12-07T17:37:57.602Z] 2de7ff778b66: Download complete [2020-12-07T17:37:57.865Z] 0d9ebad4ef96: Verifying Checksum [2020-12-07T17:37:57.865Z] 0d9ebad4ef96: Download complete [2020-12-07T17:37:58.126Z] ab5ef0e58194: Verifying Checksum [2020-12-07T17:37:58.126Z] ab5ef0e58194: Download complete [2020-12-07T17:38:02.361Z] ab5ef0e58194: Pull complete [2020-12-07T17:38:02.361Z] 9712f1f96733: Pull complete [2020-12-07T17:38:04.292Z] 63f879dbbcfc: Pull complete [2020-12-07T17:38:10.946Z] 0d9ebad4ef96: Pull complete [2020-12-07T17:38:12.346Z] e9a5061849ea: Pull complete [2020-12-07T17:38:12.346Z] d747dcd14b5f: Pull complete [2020-12-07T17:38:14.914Z] 2de7ff778b66: Pull complete [2020-12-07T17:38:14.914Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-07T17:38:14.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-07T17:38:14.914Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-07T17:38:15.110Z] prd-centos7-docker-4c-2g-14915 does not seem to be running inside a container [2020-12-07T17:38:15.157Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-07T17:38:18.926Z] $ docker top 787189fd68f0bd30d77b887c401d7796937d057ac08922d4fa81a358ba80a0ec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-07T17:38:19.210Z] provisioning config files... [2020-12-07T17:38:19.223Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3436243272698213959tmp [2020-12-07T17:38:19.240Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2318044848456247167tmp [2020-12-07T17:38:19.255Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6164792318357666341tmp [Pipeline] { [Pipeline] echo [2020-12-07T17:38:19.357Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:38:19.665Z] ---> sigul-configuration.sh [2020-12-07T17:38:19.665Z] gpg: directory `/root/.gnupg' created [2020-12-07T17:38:19.665Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-07T17:38:19.665Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-07T17:38:19.665Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-07T17:38:19.665Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-07T17:38:19.665Z] gpg: CAST5 encrypted data [2020-12-07T17:38:19.927Z] gpg: encrypted with 1 passphrase [2020-12-07T17:38:19.927Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-07T17:38:20.231Z] + mkdir /home/jenkins [2020-12-07T17:38:20.231Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-07T17:38:20.533Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-12-07T17:38:20.551Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:38:20.854Z] ---> sigul-install.sh [2020-12-07T17:38:26.171Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-07T17:38:26.480Z] + git tag --list [2020-12-07T17:38:26.480Z] 0.7.1 [2020-12-07T17:38:26.480Z] v1.0.0 [2020-12-07T17:38:26.480Z] v1.1.0 [2020-12-07T17:38:26.480Z] v1.1.1 [2020-12-07T17:38:26.480Z] v1.2.1 [2020-12-07T17:38:26.480Z] v1.2.2 [2020-12-07T17:38:26.480Z] v1.2.2-dev.1 [2020-12-07T17:38:26.480Z] v1.2.2-dev.2 [2020-12-07T17:38:26.480Z] v1.2.3-dev.1 [2020-12-07T17:38:26.480Z] v1.2.3-dev.10 [2020-12-07T17:38:26.480Z] v1.2.3-dev.2 [2020-12-07T17:38:26.480Z] v1.2.3-dev.3 [2020-12-07T17:38:26.480Z] v1.2.3-dev.4 [2020-12-07T17:38:26.480Z] v1.2.3-dev.5 [2020-12-07T17:38:26.480Z] v1.2.3-dev.6 [2020-12-07T17:38:26.480Z] v1.2.3-dev.7 [2020-12-07T17:38:26.480Z] v1.2.3-dev.8 [2020-12-07T17:38:26.480Z] v1.2.3-dev.9 [2020-12-07T17:38:26.480Z] v1.3.0 [2020-12-07T17:38:26.480Z] v1.3.1-dev.1 [Pipeline] sh [2020-12-07T17:38:26.782Z] + lftools sign git-tag v1.3.1-dev.1 [2020-12-07T17:38:28.174Z] Signing Git tag with Sigul... [2020-12-07T17:38:28.174Z] Signing v1.3.1-dev.1 [Pipeline] echo [2020-12-07T17:38:29.590Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:38:29.887Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-07T17:38:29.898Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-07T17:38:29.998Z] $ docker stop --time=1 787189fd68f0bd30d77b887c401d7796937d057ac08922d4fa81a358ba80a0ec [2020-12-07T17:38:32.053Z] $ docker rm -f 787189fd68f0bd30d77b887c401d7796937d057ac08922d4fa81a358ba80a0ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:38:33.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:38:33.186Z] . [Pipeline] withDockerContainer [2020-12-07T17:38:33.291Z] prd-centos7-docker-4c-2g-14915 does not seem to be running inside a container [2020-12-07T17:38:33.343Z] $ 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 [2020-12-07T17:38:34.308Z] $ docker top 63319e98ac275b92999579f20cc189d2936b04a4493fdb49a25b43c4140d8828 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T17:38:34.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:38:34.616Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:38:34.834Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:38:34.840Z] $ docker exec 63319e98ac275b92999579f20cc189d2936b04a4493fdb49a25b43c4140d8828 ssh-agent [2020-12-07T17:38:35.027Z] SSH_AUTH_SOCK=/tmp/ssh-cLF3RrSH5UUp/agent.11 [2020-12-07T17:38:35.027Z] SSH_AGENT_PID=17 [2020-12-07T17:38:35.034Z] Running ssh-add (command line suppressed) [2020-12-07T17:38:35.164Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4656063773059657342.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4656063773059657342.key) [2020-12-07T17:38:35.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:38:35.554Z] + git semver bump pre [2020-12-07T17:38:35.554Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T17:38:35.554Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-12-07T17:38:35.554Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-12-07T17:38:35.554Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T17:38:35.554Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T17:38:35.554Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T17:38:35.554Z] # $SEMVER_BRANCH = master [2020-12-07T17:38:35.554Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2020-12-07T17:38:35.554Z] 1.3.1-dev.2 [Pipeline] } [2020-12-07T17:38:35.569Z] $ docker exec --env ******** --env ******** 63319e98ac275b92999579f20cc189d2936b04a4493fdb49a25b43c4140d8828 ssh-agent -k [2020-12-07T17:38:35.690Z] unset SSH_AUTH_SOCK; [2020-12-07T17:38:35.691Z] unset SSH_AGENT_PID; [2020-12-07T17:38:35.691Z] echo Agent pid 17 killed; [2020-12-07T17:38:35.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T17:38:36.202Z] + git semver [Pipeline] } [2020-12-07T17:38:36.220Z] $ docker stop --time=1 63319e98ac275b92999579f20cc189d2936b04a4493fdb49a25b43c4140d8828 [2020-12-07T17:38:37.569Z] $ docker rm -f 63319e98ac275b92999579f20cc189d2936b04a4493fdb49a25b43c4140d8828 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:38:38.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-07T17:38:38.120Z] . [Pipeline] withDockerContainer [2020-12-07T17:38:38.215Z] prd-centos7-docker-4c-2g-14915 does not seem to be running inside a container [2020-12-07T17:38:38.266Z] $ 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 [2020-12-07T17:38:38.870Z] $ docker top d0965926f7905ac98670f3aadb788d1e1e528b192d6480008ce56e51f2182daf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-07T17:38:39.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-07T17:38:39.161Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-07T17:38:39.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-07T17:38:39.342Z] $ docker exec d0965926f7905ac98670f3aadb788d1e1e528b192d6480008ce56e51f2182daf ssh-agent [2020-12-07T17:38:39.511Z] SSH_AUTH_SOCK=/tmp/ssh-0n1Iour7yQP6/agent.11 [2020-12-07T17:38:39.511Z] SSH_AGENT_PID=17 [2020-12-07T17:38:39.518Z] Running ssh-add (command line suppressed) [2020-12-07T17:38:39.652Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5314486896810337298.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5314486896810337298.key) [2020-12-07T17:38:39.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-07T17:38:40.048Z] + git semver push [2020-12-07T17:38:40.049Z] # -> Open(): unable to determine branch for HEAD [2020-12-07T17:38:40.049Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2020-12-07T17:38:40.049Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2020-12-07T17:38:40.049Z] # $SEMVER_REMOTE_NAME = origin [2020-12-07T17:38:40.049Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-07T17:38:40.049Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-07T17:38:40.049Z] # $SEMVER_BRANCH = master [2020-12-07T17:38:40.049Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2020-12-07T17:38:48.228Z] $ docker exec --env ******** --env ******** d0965926f7905ac98670f3aadb788d1e1e528b192d6480008ce56e51f2182daf ssh-agent -k [2020-12-07T17:38:48.347Z] unset SSH_AUTH_SOCK; [2020-12-07T17:38:48.347Z] unset SSH_AGENT_PID; [2020-12-07T17:38:48.347Z] echo Agent pid 17 killed; [2020-12-07T17:38:48.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-07T17:38:48.960Z] + git semver [Pipeline] } [2020-12-07T17:38:48.978Z] $ docker stop --time=1 d0965926f7905ac98670f3aadb788d1e1e528b192d6480008ce56e51f2182daf [2020-12-07T17:38:50.364Z] $ docker rm -f d0965926f7905ac98670f3aadb788d1e1e528b192d6480008ce56e51f2182daf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:38:52.189Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:38:53.070Z] ---> package-listing.sh [2020-12-07T17:38:53.070Z] ++ facter osfamily [2020-12-07T17:38:53.070Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-07T17:38:53.070Z] + OS_FAMILY=redhat [2020-12-07T17:38:53.070Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2020-12-07T17:38:53.070Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-07T17:38:53.070Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-07T17:38:53.070Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-07T17:38:53.070Z] + PACKAGES=/tmp/packages_start.txt [2020-12-07T17:38:53.070Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2020-12-07T17:38:53.070Z] + PACKAGES=/tmp/packages_end.txt [2020-12-07T17:38:53.070Z] + case "${OS_FAMILY}" in [2020-12-07T17:38:53.070Z] + rpm -qa [2020-12-07T17:38:53.070Z] + sort [2020-12-07T17:38:58.374Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-07T17:38:58.374Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-07T17:38:58.374Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-07T17:38:58.374Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2020-12-07T17:38:58.374Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2020-12-07T17:38:58.374Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2020-12-07T17:38:58.387Z] 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 [2020-12-07T17:38:58.678Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:38:58.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T17:38:58.984Z] [2020-12-07T17:38:58.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-07T17:38:59.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T17:38:59.336Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-07T17:38:59.336Z] df20fa9351a1: Pulling fs layer [2020-12-07T17:38:59.336Z] 36b3adc4ff6f: Pulling fs layer [2020-12-07T17:38:59.336Z] 8ad3a11d3b57: Pulling fs layer [2020-12-07T17:38:59.336Z] 46f8f816bc3b: Pulling fs layer [2020-12-07T17:38:59.336Z] 93b61091891f: Pulling fs layer [2020-12-07T17:38:59.336Z] 93b9cdb0e59b: Pulling fs layer [2020-12-07T17:38:59.336Z] 5e14af77c1be: Pulling fs layer [2020-12-07T17:38:59.336Z] 01666e4c0597: Pulling fs layer [2020-12-07T17:38:59.336Z] aa168da1d23b: Pulling fs layer [2020-12-07T17:38:59.336Z] 93b9cdb0e59b: Waiting [2020-12-07T17:38:59.336Z] 5e14af77c1be: Waiting [2020-12-07T17:38:59.336Z] 46f8f816bc3b: Waiting [2020-12-07T17:38:59.336Z] 93b61091891f: Waiting [2020-12-07T17:38:59.336Z] 36b3adc4ff6f: Verifying Checksum [2020-12-07T17:38:59.336Z] 36b3adc4ff6f: Download complete [2020-12-07T17:38:59.336Z] 46f8f816bc3b: Verifying Checksum [2020-12-07T17:38:59.336Z] 46f8f816bc3b: Download complete [2020-12-07T17:38:59.336Z] df20fa9351a1: Verifying Checksum [2020-12-07T17:38:59.336Z] df20fa9351a1: Download complete [2020-12-07T17:38:59.336Z] 93b9cdb0e59b: Verifying Checksum [2020-12-07T17:38:59.336Z] 93b9cdb0e59b: Download complete [2020-12-07T17:38:59.599Z] 5e14af77c1be: Verifying Checksum [2020-12-07T17:38:59.599Z] 5e14af77c1be: Download complete [2020-12-07T17:38:59.599Z] 01666e4c0597: Verifying Checksum [2020-12-07T17:38:59.599Z] 01666e4c0597: Download complete [2020-12-07T17:38:59.599Z] 93b61091891f: Download complete [2020-12-07T17:38:59.599Z] 8ad3a11d3b57: Verifying Checksum [2020-12-07T17:38:59.599Z] 8ad3a11d3b57: Download complete [2020-12-07T17:39:00.173Z] df20fa9351a1: Pull complete [2020-12-07T17:39:00.439Z] 36b3adc4ff6f: Pull complete [2020-12-07T17:39:01.391Z] 8ad3a11d3b57: Pull complete [2020-12-07T17:39:01.657Z] 46f8f816bc3b: Pull complete [2020-12-07T17:39:01.921Z] aa168da1d23b: Verifying Checksum [2020-12-07T17:39:01.921Z] aa168da1d23b: Download complete [2020-12-07T17:39:02.498Z] 93b61091891f: Pull complete [2020-12-07T17:39:02.498Z] 93b9cdb0e59b: Pull complete [2020-12-07T17:39:02.760Z] 5e14af77c1be: Pull complete [2020-12-07T17:39:03.024Z] 01666e4c0597: Pull complete [2020-12-07T17:39:11.239Z] aa168da1d23b: Pull complete [2020-12-07T17:39:11.239Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-07T17:39:11.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-07T17:39:11.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-07T17:39:11.388Z] prd-centos7-docker-4c-2g-14915 does not seem to be running inside a container [2020-12-07T17:39:11.433Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-07T17:39:14.266Z] $ docker top 7cbb145e6e369932fb2ec3d54d96ff6479de31fd0697566ab937fdc523a46308 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-07T17:39:14.829Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-07T17:39:15.127Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-07T17:39:15.428Z] + ls /var/log/sa-host [2020-12-07T17:39:15.428Z] + sadf -c /var/log/sa-host/sa07 [2020-12-07T17:39:15.428Z] file_magic: OK [2020-12-07T17:39:15.428Z] HZ: Using current value: 100 [2020-12-07T17:39:15.428Z] file_header: OK [2020-12-07T17:39:15.428Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-07T17:39:15.428Z] Statistics: [2020-12-07T17:39:15.428Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-07T17:39:15.428Z] File successfully converted to sysstat format version 12.2.1 [2020-12-07T17:39:15.428Z] + sadf -c /var/log/sa-host/sa23 [2020-12-07T17:39:15.428Z] file_magic: OK [2020-12-07T17:39:15.428Z] HZ: Using current value: 100 [2020-12-07T17:39:15.428Z] file_header: OK [2020-12-07T17:39:15.428Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-07T17:39:15.428Z] Statistics: [2020-12-07T17:39:15.428Z] Hnuu...uuuununununu... [2020-12-07T17:39:15.428Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-07T17:39:16.050Z] provisioning config files... [2020-12-07T17:39:16.074Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7118535166942430442tmp [Pipeline] { [Pipeline] echo [2020-12-07T17:39:16.188Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:39:16.489Z] ---> create-netrc.sh [Pipeline] } [2020-12-07T17:39:16.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-07T17:39:16.623Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:39:16.919Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-07T17:39:16.931Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:39:17.224Z] ---> sudo-logs.sh [2020-12-07T17:39:17.224Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-07T17:39:17.235Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:39:17.529Z] ---> job-cost.sh [2020-12-07T17:39:17.529Z] lf-activate-venv: SKIPPING [2020-12-07T17:39:17.529Z] INFO: No Stack... [2020-12-07T17:39:18.917Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-07T17:39:19.490Z] INFO: Archiving Costs [Pipeline] echo [2020-12-07T17:39:19.504Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-07T17:39:19.821Z] ---> logs-deploy.sh [2020-12-07T17:39:19.821Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/26 [2020-12-07T17:39:19.821Z] INFO: archiving workspace using pattern(s): [2020-12-07T17:39:21.741Z] Archives upload complete. [2020-12-07T17:39:21.741Z] INFO: archiving logs to Nexus