Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3b22e0480bd67233e1fe9d34879779676ed28d7e 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4880 in /w/workspace/foundry_device-virtual-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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 3b22e0480bd67233e1fe9d34879779676ed28d7e (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 Commit message: "Merge pull request #205 from tonyespy/go116-update" > git rev-list --no-walk 969908695d9457bace8f724c7874c2a817cac062 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T20:41:49.472Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T20:41:49.710Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T20:41:49.749Z] ========================================================= [2021-05-12T20:41:49.749Z] EdgeX Global Pipelines Version Info [2021-05-12T20:41:49.749Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:41:51.333Z] ------------------- [2021-05-12T20:41:51.333Z] stable info: [2021-05-12T20:41:51.333Z] ------------------- [2021-05-12T20:41:51.333Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T20:41:51.333Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:41:51.333Z] Message: update stable to v1.0.192 [2021-05-12T20:41:52.279Z] ------------------- [2021-05-12T20:41:52.279Z] experimental info: [2021-05-12T20:41:52.279Z] ------------------- [2021-05-12T20:41:52.279Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T20:41:52.279Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T20:41:52.279Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T20:41:52.404Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-12T20:41:52.432Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-12T20:41:52.457Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T20:41:52.488Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T20:41:52.512Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T20:41:52.536Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T20:41:52.562Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T20:41:52.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T20:41:52.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T20:41:52.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T20:41:52.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T20:41:52.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-12T20:41:52.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T20:41:52.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T20:41:52.772Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:41:52.796Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-12T20:41:52.820Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:41:52.845Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T20:41:52.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T20:41:52.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T20:41:52.919Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-12T20:41:52.944Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-12T20:41:52.971Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T20:41:52.995Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T20:41:53.021Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-12T20:41:53.046Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T20:41:53.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-12T20:41:53.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-12T20:41:53.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-12T20:41:53.180Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b22e0480bd67233e1fe9d34879779676ed28d7e [Pipeline] echo [2021-05-12T20:41:53.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b22e04 [Pipeline] echo [2021-05-12T20:41:53.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:41:53.299Z] provisioning config files... [2021-05-12T20:41:53.352Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5552247438711230710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:41:53.675Z] ---> docker-login.sh [2021-05-12T20:41:53.675Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:41:53.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:41:53.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:41:53.937Z] Configure a credential helper to remove this warning. See [2021-05-12T20:41:53.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:41:53.937Z] [2021-05-12T20:41:53.937Z] Login Succeeded [2021-05-12T20:41:53.937Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:41:54.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:41:54.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:41:54.199Z] Configure a credential helper to remove this warning. See [2021-05-12T20:41:54.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:41:54.199Z] [2021-05-12T20:41:54.199Z] Login Succeeded [2021-05-12T20:41:54.199Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:41:54.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:41:54.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:41:54.462Z] Configure a credential helper to remove this warning. See [2021-05-12T20:41:54.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:41:54.462Z] [2021-05-12T20:41:54.462Z] Login Succeeded [2021-05-12T20:41:54.462Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:41:54.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:41:54.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:41:54.462Z] Configure a credential helper to remove this warning. See [2021-05-12T20:41:54.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:41:54.462Z] [2021-05-12T20:41:54.462Z] Login Succeeded [2021-05-12T20:41:54.462Z] docker.io [2021-05-12T20:41:54.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:41:54.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:41:54.989Z] Configure a credential helper to remove this warning. See [2021-05-12T20:41:54.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:41:54.989Z] [2021-05-12T20:41:54.989Z] Login Succeeded [2021-05-12T20:41:54.989Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:41:54.999Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:41:55.476Z] + git log --format=format:%s -1 3b22e0480bd67233e1fe9d34879779676ed28d7e [Pipeline] echo [2021-05-12T20:41:55.557Z] GIT_COMMIT: 3b22e0480bd67233e1fe9d34879779676ed28d7e, Commit Message: Merge pull request #205 from tonyespy/go116-update [Pipeline] echo [2021-05-12T20:41:55.571Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:41:56.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:41:56.574Z] [2021-05-12T20:41:56.574Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:41:56.890Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:41:56.890Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T20:41:56.890Z] 31603596830f: Pulling fs layer [2021-05-12T20:41:56.890Z] 54011a49482f: Pulling fs layer [2021-05-12T20:41:56.890Z] a6820b24f6d8: Pulling fs layer [2021-05-12T20:41:56.890Z] f581987b2513: Pulling fs layer [2021-05-12T20:41:56.890Z] f581987b2513: Waiting [2021-05-12T20:41:56.890Z] 54011a49482f: Verifying Checksum [2021-05-12T20:41:56.890Z] 54011a49482f: Download complete [2021-05-12T20:41:56.890Z] 31603596830f: Download complete [2021-05-12T20:41:57.155Z] a6820b24f6d8: Verifying Checksum [2021-05-12T20:41:57.155Z] a6820b24f6d8: Download complete [2021-05-12T20:41:57.155Z] f581987b2513: Verifying Checksum [2021-05-12T20:41:57.155Z] f581987b2513: Download complete [2021-05-12T20:41:57.419Z] 31603596830f: Pull complete [2021-05-12T20:41:57.419Z] 54011a49482f: Pull complete [2021-05-12T20:41:58.368Z] a6820b24f6d8: Pull complete [2021-05-12T20:41:58.631Z] f581987b2513: Pull complete [2021-05-12T20:41:58.631Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T20:41:58.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:41:58.631Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T20:41:58.733Z] prd-centos7-docker-4c-2g-4880 does not seem to be running inside a container [2021-05-12T20:41:58.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:42:00.579Z] $ docker top 5700af9788090e09ef91bfcbf0e5378b29b0d308f44ddc0e4edaaa828df86a17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:42:00.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:42:00.854Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:42:01.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:42:01.100Z] $ docker exec 5700af9788090e09ef91bfcbf0e5378b29b0d308f44ddc0e4edaaa828df86a17 ssh-agent [2021-05-12T20:42:01.270Z] SSH_AUTH_SOCK=/tmp/ssh-lzV8IxPRGSOi/agent.11 [2021-05-12T20:42:01.270Z] SSH_AGENT_PID=16 [2021-05-12T20:42:01.283Z] Running ssh-add (command line suppressed) [2021-05-12T20:42:01.404Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4145294698375737693.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4145294698375737693.key) [2021-05-12T20:42:01.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:42:01.791Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T20:42:01.813Z] $ docker exec --env ******** --env ******** 5700af9788090e09ef91bfcbf0e5378b29b0d308f44ddc0e4edaaa828df86a17 ssh-agent -k [2021-05-12T20:42:01.925Z] unset SSH_AUTH_SOCK; [2021-05-12T20:42:01.925Z] unset SSH_AGENT_PID; [2021-05-12T20:42:01.925Z] echo Agent pid 16 killed; [2021-05-12T20:42:01.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T20:42:02.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:42:02.022Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:42:02.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:42:02.201Z] $ docker exec 5700af9788090e09ef91bfcbf0e5378b29b0d308f44ddc0e4edaaa828df86a17 ssh-agent [2021-05-12T20:42:02.369Z] SSH_AUTH_SOCK=/tmp/ssh-zAvYJHX3FvdB/agent.45 [2021-05-12T20:42:02.369Z] SSH_AGENT_PID=51 [2021-05-12T20:42:02.375Z] Running ssh-add (command line suppressed) [2021-05-12T20:42:02.498Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1846913552022214860.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1846913552022214860.key) [2021-05-12T20:42:02.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:42:02.856Z] + git semver init [2021-05-12T20:42:02.856Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:42:02.856Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-12T20:42:02.856Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-12T20:42:02.856Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:42:02.856Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:42:02.856Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:42:02.856Z] # $SEMVER_BRANCH = master [2021-05-12T20:42:02.856Z] # $SEMVER_TEMP = /tmp/semver-739332782 [2021-05-12T20:42:02.856Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-12T20:42:05.447Z] # '/tmp/semver-739332782' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-05-12T20:42:05.447Z] # -> Force: false [2021-05-12T20:42:05.447Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-12T20:42:05.461Z] $ docker exec --env ******** --env ******** 5700af9788090e09ef91bfcbf0e5378b29b0d308f44ddc0e4edaaa828df86a17 ssh-agent -k [2021-05-12T20:42:05.620Z] unset SSH_AUTH_SOCK; [2021-05-12T20:42:05.620Z] unset SSH_AGENT_PID; [2021-05-12T20:42:05.620Z] echo Agent pid 51 killed; [2021-05-12T20:42:05.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:42:06.030Z] + git semver [Pipeline] } [2021-05-12T20:42:06.049Z] $ docker stop --time=1 5700af9788090e09ef91bfcbf0e5378b29b0d308f44ddc0e4edaaa828df86a17 [2021-05-12T20:42:07.501Z] $ docker rm -f 5700af9788090e09ef91bfcbf0e5378b29b0d308f44ddc0e4edaaa828df86a17 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T20:42:07.910Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T20:42:08.228Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T20:42:08.232Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-12T20:42:23.445Z] Still waiting to schedule task [2021-05-12T20:42:23.446Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4835’ is offline; ‘prd-centos7-docker-4c-2g-4841’ is offline; ‘prd-centos7-docker-4c-2g-4842’ is offline; ‘prd-centos7-docker-4c-2g-4843’ is offline; ‘prd-centos7-docker-4c-2g-4844’ is offline; ‘prd-centos7-docker-4c-2g-4845’ is offline; ‘prd-centos7-docker-4c-2g-4848’ is offline; ‘prd-centos7-docker-4c-2g-4856’ is offline; ‘prd-centos7-docker-4c-2g-4858’ is offline; ‘prd-centos7-docker-4c-2g-4861’ is offline; ‘prd-centos7-docker-4c-2g-4866’ is offline; ‘prd-centos7-docker-4c-2g-4871’ is offline; ‘prd-centos7-docker-4c-2g-4881’ is offline; ‘prd-centos7-docker-4c-2g-4882’ is offline; ‘prd-centos7-docker-4c-2g-4883’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4840’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4878’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4846’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4853’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4854’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4869’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4870’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4872’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-12T20:42:23.451Z] Still waiting to schedule task [2021-05-12T20:42:23.451Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-12T20:43:53.271Z] Running on prd-centos7-docker-4c-2g-4886 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-12T20:43:53.290Z] Running in /w/workspace/device-virtual-go/54 [Pipeline] { [Pipeline] checkout [2021-05-12T20:44:00.218Z] using credential edgex-jenkins-ssh [2021-05-12T20:44:00.237Z] Cloning the remote Git repository [2021-05-12T20:44:00.283Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:44:00.375Z] > git init /w/workspace/device-virtual-go/54 # timeout=10 [2021-05-12T20:44:00.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:44:00.467Z] > git --version # timeout=10 [2021-05-12T20:44:00.476Z] > git --version # 'git version 2.24.3' [2021-05-12T20:44:00.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:44:00.521Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:44:01.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:44:01.867Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:44:01.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:44:01.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:44:01.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:44:01.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:44:03.662Z] Checking out Revision 3b22e0480bd67233e1fe9d34879779676ed28d7e (master) [2021-05-12T20:44:03.676Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:44:03.691Z] > git checkout -f 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [2021-05-12T20:44:07.963Z] Commit message: "Merge pull request #205 from tonyespy/go116-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:44:09.501Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:44:09.909Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:44:10.253Z] + true [2021-05-12T20:44:10.253Z] + sudo service docker restart [2021-05-12T20:44:10.254Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:44:11.741Z] provisioning config files... [2021-05-12T20:44:11.795Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/54@tmp/config8680988656022489070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:44:12.208Z] ---> docker-login.sh [2021-05-12T20:44:12.208Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:44:12.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:44:13.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:44:13.056Z] Configure a credential helper to remove this warning. See [2021-05-12T20:44:13.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:44:13.056Z] [2021-05-12T20:44:13.056Z] Login Succeeded [2021-05-12T20:44:13.056Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:44:13.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:44:13.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:44:13.056Z] Configure a credential helper to remove this warning. See [2021-05-12T20:44:13.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:44:13.056Z] [2021-05-12T20:44:13.056Z] Login Succeeded [2021-05-12T20:44:13.056Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:44:13.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:44:13.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:44:13.642Z] Configure a credential helper to remove this warning. See [2021-05-12T20:44:13.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:44:13.642Z] [2021-05-12T20:44:13.642Z] Login Succeeded [2021-05-12T20:44:13.642Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:44:13.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:44:13.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:44:13.911Z] Configure a credential helper to remove this warning. See [2021-05-12T20:44:13.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:44:13.912Z] [2021-05-12T20:44:13.912Z] Login Succeeded [2021-05-12T20:44:13.912Z] docker.io [2021-05-12T20:44:14.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:44:14.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:44:14.451Z] Configure a credential helper to remove this warning. See [2021-05-12T20:44:14.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:44:14.451Z] [2021-05-12T20:44:14.451Z] Login Succeeded [2021-05-12T20:44:14.451Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:44:14.467Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-12T20:44:14.753Z] ========================================================= [2021-05-12T20:44:14.753Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T20:44:14.753Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:44:15.084Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T20:44:15.353Z] Sending build context to Docker daemon 8.572MB [2021-05-12T20:44:15.353Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:44:15.353Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:44:15.353Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T20:44:15.353Z] 540db60ca938: Pulling fs layer [2021-05-12T20:44:15.353Z] adcc1eea9eea: Pulling fs layer [2021-05-12T20:44:15.353Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T20:44:15.353Z] 0510c868ecb4: Pulling fs layer [2021-05-12T20:44:15.353Z] afea3b2eda06: Pulling fs layer [2021-05-12T20:44:15.353Z] 7809a108b3ef: Pulling fs layer [2021-05-12T20:44:15.353Z] f706445af74f: Pulling fs layer [2021-05-12T20:44:15.353Z] 7809a108b3ef: Waiting [2021-05-12T20:44:15.353Z] 0510c868ecb4: Waiting [2021-05-12T20:44:15.353Z] afea3b2eda06: Waiting [2021-05-12T20:44:15.353Z] f706445af74f: Waiting [2021-05-12T20:44:15.353Z] 4c4ab2625f07: Download complete [2021-05-12T20:44:15.353Z] adcc1eea9eea: Verifying Checksum [2021-05-12T20:44:15.353Z] adcc1eea9eea: Download complete [2021-05-12T20:44:15.629Z] afea3b2eda06: Verifying Checksum [2021-05-12T20:44:15.629Z] afea3b2eda06: Download complete [2021-05-12T20:44:15.629Z] 7809a108b3ef: Verifying Checksum [2021-05-12T20:44:15.629Z] 7809a108b3ef: Download complete [2021-05-12T20:44:15.629Z] 540db60ca938: Verifying Checksum [2021-05-12T20:44:15.629Z] 540db60ca938: Download complete [2021-05-12T20:44:15.902Z] 540db60ca938: Pull complete [2021-05-12T20:44:16.171Z] adcc1eea9eea: Pull complete [2021-05-12T20:44:16.452Z] 4c4ab2625f07: Pull complete [2021-05-12T20:44:19.048Z] f706445af74f: Verifying Checksum [2021-05-12T20:44:19.048Z] f706445af74f: Download complete [2021-05-12T20:44:19.048Z] 0510c868ecb4: Verifying Checksum [2021-05-12T20:44:19.048Z] 0510c868ecb4: Download complete [2021-05-12T20:44:29.285Z] 0510c868ecb4: Pull complete [2021-05-12T20:44:29.285Z] afea3b2eda06: Pull complete [2021-05-12T20:44:29.285Z] 7809a108b3ef: Pull complete [2021-05-12T20:44:31.902Z] f706445af74f: Pull complete [2021-05-12T20:44:31.903Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T20:44:31.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T20:44:31.903Z] ---> b068be0155e3 [2021-05-12T20:44:31.903Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:44:32.901Z] ---> Running in 3b26d7b051fe [2021-05-12T20:44:33.489Z] Removing intermediate container 3b26d7b051fe [2021-05-12T20:44:33.489Z] ---> 2a9f0f5dd4c4 [2021-05-12T20:44:33.489Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:44:33.489Z] ---> Running in e1cdc4050a85 [2021-05-12T20:44:36.082Z] Removing intermediate container e1cdc4050a85 [2021-05-12T20:44:36.083Z] ---> 7acaf0886fb3 [2021-05-12T20:44:36.083Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T20:44:36.083Z] ---> Running in 49cdda47875c [2021-05-12T20:44:37.060Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:44:37.643Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:44:38.240Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:44:38.240Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:44:38.504Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:44:38.504Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:44:38.504Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:44:38.768Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:44:38.768Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:44:39.033Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:44:39.033Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:44:39.298Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:44:39.298Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:44:39.298Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:44:39.573Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:44:39.573Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:44:39.573Z] OK: 156 MiB in 53 packages [2021-05-12T20:44:41.062Z] Removing intermediate container 49cdda47875c [2021-05-12T20:44:41.062Z] ---> 6a297e4222fe [2021-05-12T20:44:41.062Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T20:44:41.062Z] ---> Running in edd6888e784b [2021-05-12T20:44:41.339Z] Removing intermediate container edd6888e784b [2021-05-12T20:44:41.339Z] ---> 8b5714b6a121 [2021-05-12T20:44:41.339Z] Step 7/8 : COPY . . [2021-05-12T20:44:42.321Z] ---> fc181e002971 [2021-05-12T20:44:42.321Z] Step 8/8 : RUN go mod download [2021-05-12T20:44:42.321Z] ---> Running in 19a80ba1a87b [2021-05-12T20:45:04.485Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4890 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-05-12T20:45:04.510Z] Running in /w/workspace/device-virtual-go/54 [Pipeline] { [Pipeline] checkout [2021-05-12T20:45:09.986Z] using credential edgex-jenkins-ssh [2021-05-12T20:45:10.019Z] Cloning the remote Git repository [2021-05-12T20:45:10.074Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:45:10.176Z] > git init /w/workspace/device-virtual-go/54 # timeout=10 [2021-05-12T20:45:10.270Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:45:10.271Z] > git --version # timeout=10 [2021-05-12T20:45:10.286Z] > git --version # 'git version 2.17.1' [2021-05-12T20:45:10.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:45:10.351Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:45:12.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:45:12.637Z] Checking out Revision 3b22e0480bd67233e1fe9d34879779676ed28d7e (master) [2021-05-12T20:45:12.091Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T20:45:12.120Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-12T20:45:12.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-12T20:45:12.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T20:45:12.168Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T20:45:12.660Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T20:45:12.674Z] > git checkout -f 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [2021-05-12T20:45:16.876Z] Commit message: "Merge pull request #205 from tonyespy/go116-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T20:45:18.274Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:45:18.680Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T20:45:19.025Z] + sudo service docker restart [2021-05-12T20:45:19.025Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:45:21.692Z] provisioning config files... [2021-05-12T20:45:21.743Z] Removing intermediate container 19a80ba1a87b [2021-05-12T20:45:21.743Z] ---> 8c27f2c54934 [2021-05-12T20:45:21.743Z] Successfully built 8c27f2c54934 [2021-05-12T20:45:21.743Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-12T20:45:21.746Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/54@tmp/config6677379592649853404tmp [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:45:22.076Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:45:22.181Z] ---> docker-login.sh [2021-05-12T20:45:22.181Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:45:22.344Z] . [Pipeline] withDockerContainer [2021-05-12T20:45:22.671Z] prd-centos7-docker-4c-2g-4886 does not seem to be running inside a container [2021-05-12T20:45:22.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/54 -v /w/workspace/device-virtual-go/54:/w/workspace/device-virtual-go/54:rw,z -v /w/workspace/device-virtual-go/54@tmp:/w/workspace/device-virtual-go/54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T20:45:22.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:45:23.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:45:23.378Z] Configure a credential helper to remove this warning. See [2021-05-12T20:45:23.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:45:23.378Z] [2021-05-12T20:45:23.378Z] Login Succeeded [2021-05-12T20:45:23.378Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:45:23.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:45:23.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:45:23.650Z] Configure a credential helper to remove this warning. See [2021-05-12T20:45:23.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:45:23.650Z] [2021-05-12T20:45:23.650Z] Login Succeeded [2021-05-12T20:45:23.650Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:45:23.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:45:24.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:45:24.198Z] Configure a credential helper to remove this warning. See [2021-05-12T20:45:24.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:45:24.198Z] [2021-05-12T20:45:24.198Z] Login Succeeded [2021-05-12T20:45:24.198Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:45:24.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:45:24.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:45:24.796Z] Configure a credential helper to remove this warning. See [2021-05-12T20:45:24.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:45:24.796Z] [2021-05-12T20:45:24.796Z] Login Succeeded [2021-05-12T20:45:24.796Z] docker.io [2021-05-12T20:45:24.821Z] $ docker top 4fb1e03c10fc905abe7654dcafc890795ce28a869c7ee3c8bdbf73c6998bd117 -eo pid,comm [2021-05-12T20:45:25.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh [2021-05-12T20:45:25.484Z] + go version [2021-05-12T20:45:25.484Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T20:45:25.517Z] $ docker stop --time=1 4fb1e03c10fc905abe7654dcafc890795ce28a869c7ee3c8bdbf73c6998bd117 [2021-05-12T20:45:25.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:45:25.660Z] Configure a credential helper to remove this warning. See [2021-05-12T20:45:25.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:45:25.660Z] [2021-05-12T20:45:25.660Z] Login Succeeded [2021-05-12T20:45:25.660Z] ---> docker-login.sh ends [2021-05-12T20:45:26.966Z] $ docker rm -f 4fb1e03c10fc905abe7654dcafc890795ce28a869c7ee3c8bdbf73c6998bd117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-05-12T20:45:27.102Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-05-12T20:45:27.404Z] ========================================================= [2021-05-12T20:45:27.405Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T20:45:27.405Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:45:27.563Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T20:45:27.563Z] . [Pipeline] withDockerContainer [2021-05-12T20:45:27.683Z] prd-centos7-docker-4c-2g-4886 does not seem to be running inside a container [2021-05-12T20:45:27.760Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T20:45:27.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/54 -v /w/workspace/device-virtual-go/54:/w/workspace/device-virtual-go/54:rw,z -v /w/workspace/device-virtual-go/54@tmp:/w/workspace/device-virtual-go/54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-12T20:45:28.034Z] Sending build context to Docker daemon 8.571MB [2021-05-12T20:45:28.034Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:45:28.034Z] Step 2/8 : FROM ${BASE} [2021-05-12T20:45:28.314Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T20:45:28.314Z] 595b0fe564bb: Pulling fs layer [2021-05-12T20:45:28.314Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T20:45:28.314Z] 316046926c0a: Pulling fs layer [2021-05-12T20:45:28.314Z] 4ebd0625c992: Pulling fs layer [2021-05-12T20:45:28.314Z] 207e8628e3a3: Pulling fs layer [2021-05-12T20:45:28.314Z] c791037a9be2: Pulling fs layer [2021-05-12T20:45:28.314Z] ffd874e62e21: Pulling fs layer [2021-05-12T20:45:28.314Z] c791037a9be2: Waiting [2021-05-12T20:45:28.314Z] ffd874e62e21: Waiting [2021-05-12T20:45:28.314Z] 207e8628e3a3: Waiting [2021-05-12T20:45:28.314Z] 4ebd0625c992: Waiting [2021-05-12T20:45:28.314Z] 316046926c0a: Download complete [2021-05-12T20:45:28.314Z] 7186ed65a4f7: Verifying Checksum [2021-05-12T20:45:28.314Z] 7186ed65a4f7: Download complete [2021-05-12T20:45:28.314Z] 207e8628e3a3: Verifying Checksum [2021-05-12T20:45:28.314Z] 207e8628e3a3: Download complete [2021-05-12T20:45:28.314Z] c791037a9be2: Verifying Checksum [2021-05-12T20:45:28.314Z] c791037a9be2: Download complete [2021-05-12T20:45:28.314Z] 595b0fe564bb: Verifying Checksum [2021-05-12T20:45:28.314Z] 595b0fe564bb: Download complete [2021-05-12T20:45:28.806Z] $ docker top c16ab6bed6dbba782c83e55e99476346479567b268f66116956bb6c732c332e5 -eo pid,comm [2021-05-12T20:45:28.920Z] 595b0fe564bb: Pull complete [Pipeline] { [Pipeline] sh [2021-05-12T20:45:29.520Z] 7186ed65a4f7: Pull complete [2021-05-12T20:45:29.621Z] + go mod tidy [2021-05-12T20:45:29.796Z] 316046926c0a: Pull complete [2021-05-12T20:45:31.225Z] ffd874e62e21: Verifying Checksum [2021-05-12T20:45:31.225Z] ffd874e62e21: Download complete [Pipeline] sh [2021-05-12T20:45:31.988Z] + make test [2021-05-12T20:45:31.988Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:45:32.660Z] 4ebd0625c992: Verifying Checksum [2021-05-12T20:45:32.660Z] 4ebd0625c992: Download complete [2021-05-12T20:45:33.984Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-12T20:45:42.818Z] 4ebd0625c992: Pull complete [2021-05-12T20:45:42.818Z] 207e8628e3a3: Pull complete [2021-05-12T20:45:42.818Z] c791037a9be2: Pull complete [2021-05-12T20:45:46.225Z] ffd874e62e21: Pull complete [2021-05-12T20:45:46.225Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T20:45:46.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T20:45:46.226Z] ---> cfc18b08335c [2021-05-12T20:45:46.226Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-12T20:45:49.649Z] ---> Running in eb38f65e0a68 [2021-05-12T20:45:49.649Z] Removing intermediate container eb38f65e0a68 [2021-05-12T20:45:49.649Z] ---> 9433880cab2a [2021-05-12T20:45:49.649Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:45:49.922Z] ---> Running in 5ddb65cc3dd5 [2021-05-12T20:45:51.920Z] Removing intermediate container 5ddb65cc3dd5 [2021-05-12T20:45:51.920Z] ---> 977f4b2d439e [2021-05-12T20:45:51.920Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-12T20:45:52.196Z] ---> Running in 887d7c27dc09 [2021-05-12T20:45:53.631Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:45:54.224Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:45:55.206Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-12T20:45:55.206Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-12T20:45:55.206Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-12T20:45:55.476Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-12T20:45:55.476Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-12T20:45:55.476Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-12T20:45:55.747Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-12T20:45:56.019Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-12T20:45:56.019Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-12T20:45:56.290Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-12T20:45:56.290Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-12T20:45:56.290Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-12T20:45:56.565Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-12T20:45:56.565Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T20:45:56.565Z] OK: 145 MiB in 53 packages [2021-05-12T20:45:58.006Z] Removing intermediate container 887d7c27dc09 [2021-05-12T20:45:58.006Z] ---> 2f7f2b7f934e [2021-05-12T20:45:58.006Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-12T20:45:58.292Z] ---> Running in d79482c19761 [2021-05-12T20:45:58.891Z] Removing intermediate container d79482c19761 [2021-05-12T20:45:58.891Z] ---> 8b578b5622e7 [2021-05-12T20:45:58.891Z] Step 7/8 : COPY . . [2021-05-12T20:46:00.324Z] ---> 0a52d3e1c2c9 [2021-05-12T20:46:00.324Z] Step 8/8 : RUN go mod download [2021-05-12T20:46:00.324Z] ---> Running in c867748e54a8 [2021-05-12T20:46:14.704Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T20:46:15.324Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.360s coverage: 63.8% of statements [2021-05-12T20:46:15.613Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:46:27.136Z] Removing intermediate container c867748e54a8 [2021-05-12T20:46:27.136Z] ---> ab2deb3edc09 [2021-05-12T20:46:27.136Z] Successfully built ab2deb3edc09 [2021-05-12T20:46:27.136Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:46:27.480Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:46:27.480Z] . [Pipeline] withDockerContainer [2021-05-12T20:46:27.728Z] prd-ubuntu18.04-docker-arm64-4c-16g-4890 does not seem to be running inside a container [2021-05-12T20:46:27.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/54 -v /w/workspace/device-virtual-go/54:/w/workspace/device-virtual-go/54:rw,z -v /w/workspace/device-virtual-go/54@tmp:/w/workspace/device-virtual-go/54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:46:29.123Z] $ docker top ac33e68057b9cba66837ee47ca14c1a7c977caad2f0c8808618c04a713df3cef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:46:30.017Z] + go version [2021-05-12T20:46:30.017Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T20:46:30.043Z] $ docker stop --time=1 ac33e68057b9cba66837ee47ca14c1a7c977caad2f0c8808618c04a713df3cef [2021-05-12T20:46:30.721Z] gofmt -l . [2021-05-12T20:46:30.721Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:46:30.721Z] ./bin/test-attribution-txt.sh [2021-05-12T20:46:32.008Z] $ docker rm -f ac33e68057b9cba66837ee47ca14c1a7c977caad2f0c8808618c04a713df3cef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:46:32.679Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T20:46:32.679Z] . [Pipeline] withDockerContainer [2021-05-12T20:46:32.766Z] ./bin/test-go-mod-tidy.sh [2021-05-12T20:46:32.940Z] prd-ubuntu18.04-docker-arm64-4c-16g-4890 does not seem to be running inside a container [2021-05-12T20:46:33.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/54 -v /w/workspace/device-virtual-go/54:/w/workspace/device-virtual-go/54:rw,z -v /w/workspace/device-virtual-go/54@tmp:/w/workspace/device-virtual-go/54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-12T20:46:34.358Z] $ docker top 5a29059d814d78ac1184bb7cf23e9e22c432011cfdd78fabb6a02388331d3475 -eo pid,comm [Pipeline] { [Pipeline] } [2021-05-12T20:46:34.627Z] $ docker stop --time=1 c16ab6bed6dbba782c83e55e99476346479567b268f66116956bb6c732c332e5 [2021-05-12T20:46:36.858Z] $ docker rm -f c16ab6bed6dbba782c83e55e99476346479567b268f66116956bb6c732c332e5 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-05-12T20:46:37.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:46:37.950Z] + go mod tidy [2021-05-12T20:46:38.428Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh [2021-05-12T20:46:39.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:46:39.702Z] + make test [2021-05-12T20:46:39.702Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-12T20:46:39.933Z] + ls -al . [2021-05-12T20:46:39.933Z] total 132 [2021-05-12T20:46:39.933Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 12 20:46 . [2021-05-12T20:46:39.933Z] drwxrwxr-x. 4 jenkins jenkins 30 May 12 20:44 .. [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 12 20:44 Attribution.txt [2021-05-12T20:46:39.933Z] drwxrwxr-x. 2 jenkins jenkins 64 May 12 20:44 bin [2021-05-12T20:46:39.933Z] drwxrwxr-x. 3 jenkins jenkins 32 May 12 20:44 cmd [2021-05-12T20:46:39.933Z] -rw-r--r--. 1 jenkins jenkins 47247 May 12 20:46 coverage.out [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 12 20:44 Dockerfile [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 998 May 12 20:44 Dockerfile.build [2021-05-12T20:46:39.933Z] drwxrwxr-x. 8 jenkins jenkins 162 May 12 20:44 .git [2021-05-12T20:46:39.933Z] drwxrwxr-x. 2 jenkins jenkins 103 May 12 20:44 .github [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 277 May 12 20:44 .gitignore [2021-05-12T20:46:39.933Z] -rw-r--r--. 1 jenkins jenkins 809 May 12 20:46 go.mod [2021-05-12T20:46:39.933Z] -rw-r--r--. 1 jenkins jenkins 23265 May 12 20:45 go.sum [2021-05-12T20:46:39.933Z] drwxrwxr-x. 3 jenkins jenkins 20 May 12 20:44 internal [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 660 May 12 20:44 Jenkinsfile [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 12 20:44 LICENSE [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 901 May 12 20:44 Makefile [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 12 20:44 README.md [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 12 May 12 20:42 VERSION [2021-05-12T20:46:39.933Z] -rw-rw-r--. 1 jenkins jenkins 235 May 12 20:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:46:40.270Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=3b22e0480bd67233e1fe9d34879779676ed28d7e --label arch=amd64 --label version=1.3.2-dev.14 . [2021-05-12T20:46:40.679Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-12T20:46:40.906Z] Sending build context to Docker daemon 8.644MB [2021-05-12T20:46:41.275Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:46:41.275Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T20:46:41.275Z] ---> 8c27f2c54934 [2021-05-12T20:46:41.275Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:46:41.275Z] ---> Running in a6d151251bb3 [2021-05-12T20:46:41.562Z] Removing intermediate container a6d151251bb3 [2021-05-12T20:46:41.562Z] ---> c7b2cf445c9e [2021-05-12T20:46:41.562Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:46:41.843Z] ---> Running in f665fe44deb5 [2021-05-12T20:46:42.129Z] Removing intermediate container f665fe44deb5 [2021-05-12T20:46:42.129Z] ---> 80ec4c0c93b8 [2021-05-12T20:46:42.129Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T20:46:42.129Z] ---> Running in d76ba1c2ef00 [2021-05-12T20:46:42.836Z] Removing intermediate container d76ba1c2ef00 [2021-05-12T20:46:42.836Z] ---> e3f0f0568cb6 [2021-05-12T20:46:42.836Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:46:42.836Z] ---> Running in 632aa80219a1 [2021-05-12T20:46:44.897Z] Removing intermediate container 632aa80219a1 [2021-05-12T20:46:44.897Z] ---> 3f2d52fb908e [2021-05-12T20:46:44.897Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:46:44.897Z] ---> Running in daf6927f6709 [2021-05-12T20:46:46.977Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:46:47.647Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:46:48.811Z] OK: 156 MiB in 53 packages [2021-05-12T20:46:50.636Z] Removing intermediate container daf6927f6709 [2021-05-12T20:46:50.636Z] ---> 3571356c3c3a [2021-05-12T20:46:50.636Z] Step 8/25 : COPY . . [2021-05-12T20:46:52.300Z] ---> 8135cfe8a8f6 [2021-05-12T20:46:52.300Z] Step 9/25 : RUN go mod download [2021-05-12T20:46:52.300Z] ---> Running in d9e909fc67ca [2021-05-12T20:46:55.050Z] Removing intermediate container d9e909fc67ca [2021-05-12T20:46:55.050Z] ---> 7d9d0efd4d7f [2021-05-12T20:46:55.050Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T20:46:55.341Z] ---> Running in 371d5b3284de [2021-05-12T20:46:55.648Z] Removing intermediate container 371d5b3284de [2021-05-12T20:46:55.648Z] ---> fe76201a361e [2021-05-12T20:46:55.648Z] Step 11/25 : RUN $MAKE [2021-05-12T20:46:55.956Z] ---> Running in 3031db56b73f [2021-05-12T20:46:56.978Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.14" -o cmd/device-virtual ./cmd [2021-05-12T20:47:45.012Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:47:48.733Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-12T20:47:48.733Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.689s coverage: 63.8% of statements [2021-05-12T20:47:48.733Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T20:47:53.653Z] Removing intermediate container 3031db56b73f [2021-05-12T20:47:53.653Z] ---> 769a7e8e853e [2021-05-12T20:47:53.653Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T20:47:53.653Z] 3.12: Pulling from library/alpine [2021-05-12T20:47:53.653Z] 339de151aab4: Pulling fs layer [2021-05-12T20:47:53.959Z] 339de151aab4: Verifying Checksum [2021-05-12T20:47:53.959Z] 339de151aab4: Download complete [2021-05-12T20:47:54.583Z] 339de151aab4: Pull complete [2021-05-12T20:47:54.583Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:47:54.583Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:47:54.583Z] ---> 13621d1b12d4 [2021-05-12T20:47:54.583Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T20:47:54.881Z] ---> Running in 5cde49b36cca [2021-05-12T20:47:56.057Z] Removing intermediate container 5cde49b36cca [2021-05-12T20:47:56.057Z] ---> a9d5277557d0 [2021-05-12T20:47:56.057Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:47:56.057Z] ---> Running in 4d8b8724ef97 [2021-05-12T20:47:58.771Z] Removing intermediate container 4d8b8724ef97 [2021-05-12T20:47:58.771Z] ---> 1ba9fce8c812 [2021-05-12T20:47:58.771Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:47:58.771Z] ---> Running in 5f937e83013d [2021-05-12T20:47:59.039Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-12T20:47:59.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-12T20:48:00.216Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:48:00.216Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:48:00.216Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:48:00.484Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:48:01.454Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:48:01.454Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:48:01.454Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:48:01.454Z] OK: 8 MiB in 20 packages [2021-05-12T20:48:02.484Z] Removing intermediate container 5f937e83013d [2021-05-12T20:48:02.484Z] ---> 7f8d457ad091 [2021-05-12T20:48:02.484Z] Step 16/25 : WORKDIR / [2021-05-12T20:48:02.484Z] ---> Running in 873fdbd1ff0e [2021-05-12T20:48:02.749Z] Removing intermediate container 873fdbd1ff0e [2021-05-12T20:48:02.749Z] ---> a17002a2a7cc [2021-05-12T20:48:02.749Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T20:48:03.023Z] ---> a2039859a4b0 [2021-05-12T20:48:03.023Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T20:48:03.337Z] ---> 68ef58650593 [2021-05-12T20:48:03.647Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T20:48:04.626Z] ---> d0cd0b089430 [2021-05-12T20:48:04.626Z] Step 20/25 : EXPOSE 49990 [2021-05-12T20:48:04.626Z] ---> Running in 33816d2f8540 [2021-05-12T20:48:04.893Z] Removing intermediate container 33816d2f8540 [2021-05-12T20:48:04.893Z] ---> 3179465201bd [2021-05-12T20:48:04.893Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T20:48:04.893Z] ---> Running in a734d8e36777 [2021-05-12T20:48:05.162Z] Removing intermediate container a734d8e36777 [2021-05-12T20:48:05.162Z] ---> dc5ae9b1dfe1 [2021-05-12T20:48:05.162Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:48:05.445Z] ---> Running in 62c389e8a333 [2021-05-12T20:48:06.156Z] Removing intermediate container 62c389e8a333 [2021-05-12T20:48:06.156Z] ---> 602f4cd1cd65 [2021-05-12T20:48:06.156Z] Step 23/25 : LABEL arch=amd64 [2021-05-12T20:48:06.504Z] ---> Running in 6ed9810fa648 [2021-05-12T20:48:07.121Z] Removing intermediate container 6ed9810fa648 [2021-05-12T20:48:07.121Z] ---> 2a498c2824f0 [2021-05-12T20:48:07.121Z] Step 24/25 : LABEL git_sha=3b22e0480bd67233e1fe9d34879779676ed28d7e [2021-05-12T20:48:07.121Z] ---> Running in 0e62cc00bec8 [2021-05-12T20:48:07.723Z] Removing intermediate container 0e62cc00bec8 [2021-05-12T20:48:07.723Z] ---> fe0f9e10ab29 [2021-05-12T20:48:07.723Z] Step 25/25 : LABEL version=1.3.2-dev.14 [2021-05-12T20:48:07.723Z] ---> Running in 3143fb7ada84 [2021-05-12T20:48:07.988Z] Removing intermediate container 3143fb7ada84 [2021-05-12T20:48:07.989Z] ---> 09e55aca113f [2021-05-12T20:48:07.989Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:48:07.989Z] Successfully built 09e55aca113f [2021-05-12T20:48:07.989Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:48:08.138Z] provisioning config files... [2021-05-12T20:48:08.181Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/54@tmp/config6083631605934730850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:48:08.561Z] ---> docker-login.sh [2021-05-12T20:48:08.561Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:48:09.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:09.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:09.223Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:09.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:09.223Z] [2021-05-12T20:48:09.223Z] Login Succeeded [2021-05-12T20:48:09.223Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:48:09.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:09.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:09.860Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:09.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:09.860Z] [2021-05-12T20:48:09.860Z] Login Succeeded [2021-05-12T20:48:09.860Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:48:10.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:10.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:10.128Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:10.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:10.128Z] [2021-05-12T20:48:10.128Z] Login Succeeded [2021-05-12T20:48:10.128Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:48:10.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:10.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:10.413Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:10.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:10.413Z] [2021-05-12T20:48:10.413Z] Login Succeeded [2021-05-12T20:48:10.413Z] docker.io [2021-05-12T20:48:10.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:48:10.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:48:10.964Z] Configure a credential helper to remove this warning. See [2021-05-12T20:48:10.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:48:10.964Z] [2021-05-12T20:48:10.964Z] Login Succeeded [2021-05-12T20:48:10.964Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:48:11.003Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:48:11.069Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-05-12T20:48:11.069Z] 3b22e0480bd67233e1fe9d34879779676ed28d7e [2021-05-12T20:48:11.069Z] latest [2021-05-12T20:48:11.069Z] 1.3.2-dev.14 [2021-05-12T20:48:11.069Z] 3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14 [2021-05-12T20:48:11.069Z] master [2021-05-12T20:48:11.069Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:11.433Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3b22e0480bd67233e1fe9d34879779676ed28d7e [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:11.753Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3b22e0480bd67233e1fe9d34879779676ed28d7e [2021-05-12T20:48:11.753Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-12T20:48:11.753Z] d0043f5a56b0: Preparing [2021-05-12T20:48:11.753Z] 0eb4c4b0daf2: Preparing [2021-05-12T20:48:11.753Z] c16006dc9afb: Preparing [2021-05-12T20:48:11.753Z] 1ffdcfedd186: Preparing [2021-05-12T20:48:11.753Z] d893c5475a33: Preparing [2021-05-12T20:48:11.753Z] 32f366d666a5: Preparing [2021-05-12T20:48:11.753Z] 32f366d666a5: Waiting [2021-05-12T20:48:12.023Z] 0eb4c4b0daf2: Pushed [2021-05-12T20:48:12.023Z] c16006dc9afb: Pushed [2021-05-12T20:48:12.023Z] d893c5475a33: Pushed [2021-05-12T20:48:12.023Z] 32f366d666a5: Layer already exists [2021-05-12T20:48:12.303Z] 1ffdcfedd186: Pushed [2021-05-12T20:48:14.292Z] d0043f5a56b0: Pushed [2021-05-12T20:48:14.292Z] 3b22e0480bd67233e1fe9d34879779676ed28d7e: digest: sha256:a0a274a3cf0323f640a7e05b48d4695880d72625dfaaa7877b78a263d56e3830 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:14.645Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:15.002Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-12T20:48:15.002Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-12T20:48:15.302Z] d0043f5a56b0: Preparing [2021-05-12T20:48:15.302Z] 0eb4c4b0daf2: Preparing [2021-05-12T20:48:15.302Z] c16006dc9afb: Preparing [2021-05-12T20:48:15.302Z] 1ffdcfedd186: Preparing [2021-05-12T20:48:15.302Z] d893c5475a33: Preparing [2021-05-12T20:48:15.302Z] 32f366d666a5: Preparing [2021-05-12T20:48:15.302Z] 32f366d666a5: Waiting [2021-05-12T20:48:15.302Z] 0eb4c4b0daf2: Layer already exists [2021-05-12T20:48:15.302Z] 1ffdcfedd186: Layer already exists [2021-05-12T20:48:15.302Z] d893c5475a33: Layer already exists [2021-05-12T20:48:15.302Z] d0043f5a56b0: Layer already exists [2021-05-12T20:48:15.302Z] c16006dc9afb: Layer already exists [2021-05-12T20:48:15.302Z] 32f366d666a5: Layer already exists [2021-05-12T20:48:15.302Z] latest: digest: sha256:a0a274a3cf0323f640a7e05b48d4695880d72625dfaaa7877b78a263d56e3830 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:15.602Z] gofmt -l . [2021-05-12T20:48:15.603Z] [ "`gofmt -l .`" = "" ] [2021-05-12T20:48:15.603Z] ./bin/test-attribution-txt.sh [2021-05-12T20:48:15.603Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T20:48:15.659Z] $ docker stop --time=1 5a29059d814d78ac1184bb7cf23e9e22c432011cfdd78fabb6a02388331d3475 [2021-05-12T20:48:15.712Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.14 [2021-05-12T20:48:17.739Z] $ docker rm -f 5a29059d814d78ac1184bb7cf23e9e22c432011cfdd78fabb6a02388331d3475 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:18.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T20:48:18.705Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T20:48:18.770Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.14 [2021-05-12T20:48:18.770Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-12T20:48:18.770Z] d0043f5a56b0: Preparing [2021-05-12T20:48:18.770Z] 0eb4c4b0daf2: Preparing [2021-05-12T20:48:18.770Z] c16006dc9afb: Preparing [2021-05-12T20:48:18.770Z] 1ffdcfedd186: Preparing [2021-05-12T20:48:18.770Z] d893c5475a33: Preparing [2021-05-12T20:48:18.770Z] 32f366d666a5: Preparing [2021-05-12T20:48:18.770Z] 32f366d666a5: Waiting [2021-05-12T20:48:19.045Z] 0eb4c4b0daf2: Layer already exists [2021-05-12T20:48:19.046Z] d893c5475a33: Layer already exists [2021-05-12T20:48:19.046Z] c16006dc9afb: Layer already exists [2021-05-12T20:48:19.046Z] 1ffdcfedd186: Layer already exists [2021-05-12T20:48:19.046Z] d0043f5a56b0: Layer already exists [2021-05-12T20:48:19.046Z] 32f366d666a5: Layer already exists [2021-05-12T20:48:19.046Z] 1.3.2-dev.14: digest: sha256:a0a274a3cf0323f640a7e05b48d4695880d72625dfaaa7877b78a263d56e3830 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:19.645Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14 [2021-05-12T20:48:19.666Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:20.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-12T20:48:20.386Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14 [2021-05-12T20:48:20.386Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-12T20:48:20.386Z] d0043f5a56b0: Preparing [2021-05-12T20:48:20.386Z] 0eb4c4b0daf2: Preparing [2021-05-12T20:48:20.386Z] c16006dc9afb: Preparing [2021-05-12T20:48:20.386Z] 1ffdcfedd186: Preparing [2021-05-12T20:48:20.386Z] d893c5475a33: Preparing [2021-05-12T20:48:20.386Z] 32f366d666a5: Preparing [2021-05-12T20:48:20.386Z] 32f366d666a5: Waiting [2021-05-12T20:48:20.473Z] + ls -al . [2021-05-12T20:48:20.473Z] total 156 [2021-05-12T20:48:20.473Z] drwxrwxr-x 7 jenkins jenkins 4096 May 12 20:48 . [2021-05-12T20:48:20.473Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 20:45 .. [2021-05-12T20:48:20.473Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 20:45 .git [2021-05-12T20:48:20.473Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:45 .github [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 277 May 12 20:45 .gitignore [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 12 20:45 Attribution.txt [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 12 20:45 Dockerfile [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 998 May 12 20:45 Dockerfile.build [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 660 May 12 20:45 Jenkinsfile [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 12 20:45 LICENSE [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 901 May 12 20:45 Makefile [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 12 20:45 README.md [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 12 May 12 20:42 VERSION [2021-05-12T20:48:20.473Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 20:45 bin [2021-05-12T20:48:20.473Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:45 cmd [2021-05-12T20:48:20.473Z] -rw-r--r-- 1 jenkins jenkins 47247 May 12 20:47 coverage.out [2021-05-12T20:48:20.473Z] -rw-r--r-- 1 jenkins jenkins 809 May 12 20:48 go.mod [2021-05-12T20:48:20.473Z] -rw-r--r-- 1 jenkins jenkins 23265 May 12 20:46 go.sum [2021-05-12T20:48:20.473Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 20:45 internal [2021-05-12T20:48:20.473Z] -rw-rw-r-- 1 jenkins jenkins 235 May 12 20:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:20.743Z] d893c5475a33: Layer already exists [2021-05-12T20:48:20.743Z] 0eb4c4b0daf2: Layer already exists [2021-05-12T20:48:20.743Z] d0043f5a56b0: Layer already exists [2021-05-12T20:48:20.743Z] c16006dc9afb: Layer already exists [2021-05-12T20:48:20.743Z] 1ffdcfedd186: Layer already exists [2021-05-12T20:48:20.814Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3b22e0480bd67233e1fe9d34879779676ed28d7e --label arch=arm64 --label version=1.3.2-dev.14 . [2021-05-12T20:48:21.095Z] 32f366d666a5: Layer already exists [2021-05-12T20:48:21.409Z] Sending build context to Docker daemon 8.643MB [2021-05-12T20:48:21.410Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T20:48:21.410Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-12T20:48:21.410Z] ---> ab2deb3edc09 [2021-05-12T20:48:21.410Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-12T20:48:21.628Z] 3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14: digest: sha256:a0a274a3cf0323f640a7e05b48d4695880d72625dfaaa7877b78a263d56e3830 size: 1572 [2021-05-12T20:48:21.684Z] ---> Running in 938239006f12 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:21.956Z] Removing intermediate container 938239006f12 [2021-05-12T20:48:21.957Z] ---> 5763abdeadf4 [2021-05-12T20:48:21.957Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-12T20:48:22.121Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:48:22.229Z] ---> Running in 646eea1a9762 [2021-05-12T20:48:22.452Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:master [2021-05-12T20:48:22.452Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-05-12T20:48:22.452Z] d0043f5a56b0: Preparing [2021-05-12T20:48:22.452Z] 0eb4c4b0daf2: Preparing [2021-05-12T20:48:22.452Z] c16006dc9afb: Preparing [2021-05-12T20:48:22.452Z] 1ffdcfedd186: Preparing [2021-05-12T20:48:22.452Z] d893c5475a33: Preparing [2021-05-12T20:48:22.452Z] 32f366d666a5: Preparing [2021-05-12T20:48:22.452Z] 32f366d666a5: Waiting [2021-05-12T20:48:22.502Z] Removing intermediate container 646eea1a9762 [2021-05-12T20:48:22.502Z] ---> 1ee7e5fd28be [2021-05-12T20:48:22.502Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-12T20:48:22.727Z] 1ffdcfedd186: Layer already exists [2021-05-12T20:48:22.727Z] d893c5475a33: Layer already exists [2021-05-12T20:48:22.727Z] 0eb4c4b0daf2: Layer already exists [2021-05-12T20:48:22.727Z] c16006dc9afb: Layer already exists [2021-05-12T20:48:22.727Z] d0043f5a56b0: Layer already exists [2021-05-12T20:48:22.727Z] 32f366d666a5: Layer already exists [2021-05-12T20:48:22.727Z] master: digest: sha256:a0a274a3cf0323f640a7e05b48d4695880d72625dfaaa7877b78a263d56e3830 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [2021-05-12T20:48:22.775Z] ---> Running in 8be3e70a90de [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:48:22.816Z] ===================================================== [Pipeline] echo [2021-05-12T20:48:22.832Z] taggedImages: [2021-05-12T20:48:22.832Z] - nexus3.edgexfoundry.org:10004/device-virtual:3b22e0480bd67233e1fe9d34879779676ed28d7e [2021-05-12T20:48:22.832Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-05-12T20:48:22.832Z] - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.14 [2021-05-12T20:48:22.832Z] - nexus3.edgexfoundry.org:10004/device-virtual:3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14 [2021-05-12T20:48:22.832Z] - nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:48:23.048Z] Removing intermediate container 8be3e70a90de [2021-05-12T20:48:23.048Z] ---> adc434ac284d [2021-05-12T20:48:23.048Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:48:23.320Z] ---> Running in 0ef79383a043 [2021-05-12T20:48:23.350Z] ---> job-cost.sh [2021-05-12T20:48:23.350Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SLUi [2021-05-12T20:48:25.301Z] Removing intermediate container 0ef79383a043 [2021-05-12T20:48:25.301Z] ---> 446ef512b226 [2021-05-12T20:48:25.301Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-12T20:48:25.301Z] ---> Running in a2e70f1a44ab [2021-05-12T20:48:26.274Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:48:27.242Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:48:28.226Z] OK: 145 MiB in 53 packages [2021-05-12T20:48:29.225Z] Removing intermediate container a2e70f1a44ab [2021-05-12T20:48:29.225Z] ---> 17f3a24d7ec3 [2021-05-12T20:48:29.225Z] Step 8/25 : COPY . . [2021-05-12T20:48:30.198Z] ---> 51b7a351ca64 [2021-05-12T20:48:30.198Z] Step 9/25 : RUN go mod download [2021-05-12T20:48:30.198Z] ---> Running in ee46cc7ef446 [2021-05-12T20:48:32.818Z] Removing intermediate container ee46cc7ef446 [2021-05-12T20:48:32.818Z] ---> b9a8970f4816 [2021-05-12T20:48:32.818Z] Step 10/25 : ARG MAKE='make build' [2021-05-12T20:48:32.818Z] ---> Running in c299da968a90 [2021-05-12T20:48:32.818Z] Removing intermediate container c299da968a90 [2021-05-12T20:48:32.818Z] ---> 06bf5d8d04b5 [2021-05-12T20:48:32.818Z] Step 11/25 : RUN $MAKE [2021-05-12T20:48:33.092Z] ---> Running in ccb722badc2c [2021-05-12T20:48:34.071Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.14" -o cmd/device-virtual ./cmd [2021-05-12T20:48:55.907Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:49:21.095Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-12T20:49:31.222Z] Removing intermediate container ccb722badc2c [2021-05-12T20:49:31.222Z] ---> d0fe6ac9b8e2 [2021-05-12T20:49:31.222Z] Step 12/25 : FROM alpine:3.12 [2021-05-12T20:49:31.222Z] 3.12: Pulling from library/alpine [2021-05-12T20:49:31.222Z] d2f70382dc9a: Pulling fs layer [2021-05-12T20:49:31.222Z] d2f70382dc9a: Verifying Checksum [2021-05-12T20:49:31.222Z] d2f70382dc9a: Download complete [2021-05-12T20:49:31.222Z] d2f70382dc9a: Pull complete [2021-05-12T20:49:31.222Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-12T20:49:31.222Z] Status: Downloaded newer image for alpine:3.12 [2021-05-12T20:49:31.222Z] ---> 9852663dfa18 [2021-05-12T20:49:31.222Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-12T20:49:31.222Z] ---> Running in 75f02bfdc736 [2021-05-12T20:49:31.813Z] Removing intermediate container 75f02bfdc736 [2021-05-12T20:49:31.813Z] ---> b788d00d5575 [2021-05-12T20:49:31.813Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-12T20:49:31.813Z] ---> Running in 60c32f1da183 [2021-05-12T20:49:34.090Z] Removing intermediate container 60c32f1da183 [2021-05-12T20:49:34.090Z] ---> bb0bda97f672 [2021-05-12T20:49:34.090Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-12T20:49:34.090Z] ---> Running in 78a3de0e212e [2021-05-12T20:49:35.069Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-12T20:49:35.464Z] lf-activate-venv(): INFO: Adding /tmp/venv-SLUi/bin to PATH [2021-05-12T20:49:35.464Z] INFO: No Stack... [2021-05-12T20:49:36.044Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-12T20:49:36.448Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:49:37.429Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:49:37.796Z] + cat /w/workspace/device-virtual-go/54/archives/cost.csv [2021-05-12T20:49:37.796Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:49:37.909Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-54-stack-cost] [2021-05-12T20:49:37.916Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-54-stack-cost] did not exist. Created. [2021-05-12T20:49:37.916Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:49:38.001Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-12T20:49:38.001Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-12T20:49:38.001Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-12T20:49:38.271Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-12T20:49:38.282Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T20:49:38.460Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:49:38.473Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-54-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T20:49:39.252Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-12T20:49:39.520Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-12T20:49:39.792Z] Executing busybox-1.31.1-r20.trigger [2021-05-12T20:49:39.792Z] OK: 8 MiB in 20 packages [2021-05-12T20:49:40.762Z] Removing intermediate container 78a3de0e212e [2021-05-12T20:49:40.762Z] ---> 2b66ddc0230c [2021-05-12T20:49:40.762Z] Step 16/25 : WORKDIR / [2021-05-12T20:49:41.035Z] ---> Running in 921ef392ae70 [2021-05-12T20:49:41.311Z] Removing intermediate container 921ef392ae70 [2021-05-12T20:49:41.311Z] ---> 08d990727d48 [2021-05-12T20:49:41.311Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-12T20:49:42.285Z] ---> 776ab0889e07 [2021-05-12T20:49:42.285Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-12T20:49:42.875Z] ---> c42d1702fd68 [2021-05-12T20:49:42.875Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-12T20:49:44.299Z] ---> ece9d7c2817e [2021-05-12T20:49:44.299Z] Step 20/25 : EXPOSE 49990 [2021-05-12T20:49:44.299Z] ---> Running in 6c596c38b550 [2021-05-12T20:49:44.889Z] Removing intermediate container 6c596c38b550 [2021-05-12T20:49:44.889Z] ---> 55373a46dfa4 [2021-05-12T20:49:44.889Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-12T20:49:44.889Z] ---> Running in 8ba7c2a494e6 [2021-05-12T20:49:45.171Z] Removing intermediate container 8ba7c2a494e6 [2021-05-12T20:49:45.171Z] ---> bffe316f366a [2021-05-12T20:49:45.171Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-12T20:49:45.444Z] ---> Running in 8895ee8ec92e [2021-05-12T20:49:46.039Z] Removing intermediate container 8895ee8ec92e [2021-05-12T20:49:46.039Z] ---> cc11e06cb27c [2021-05-12T20:49:46.039Z] Step 23/25 : LABEL arch=arm64 [2021-05-12T20:49:46.039Z] ---> Running in f5ae34564029 [2021-05-12T20:49:46.634Z] Removing intermediate container f5ae34564029 [2021-05-12T20:49:46.634Z] ---> 54453cdb5683 [2021-05-12T20:49:46.634Z] Step 24/25 : LABEL git_sha=3b22e0480bd67233e1fe9d34879779676ed28d7e [2021-05-12T20:49:46.634Z] ---> Running in 45b96702c3ac [2021-05-12T20:49:46.905Z] Removing intermediate container 45b96702c3ac [2021-05-12T20:49:46.905Z] ---> ebb67dea7300 [2021-05-12T20:49:46.905Z] Step 25/25 : LABEL version=1.3.2-dev.14 [2021-05-12T20:49:47.183Z] ---> Running in 5f6c8cd2d8db [2021-05-12T20:49:47.777Z] Removing intermediate container 5f6c8cd2d8db [2021-05-12T20:49:47.777Z] ---> 4d8dcafbb3a8 [2021-05-12T20:49:47.777Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-12T20:49:47.777Z] Successfully built 4d8dcafbb3a8 [2021-05-12T20:49:47.777Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-12T20:49:48.001Z] provisioning config files... [2021-05-12T20:49:48.136Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/54@tmp/config4666032807471084038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:49:48.513Z] ---> docker-login.sh [2021-05-12T20:49:48.513Z] nexus3.edgexfoundry.org:10001 [2021-05-12T20:49:48.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:48.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:48.808Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:48.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:48.808Z] [2021-05-12T20:49:48.808Z] Login Succeeded [2021-05-12T20:49:49.079Z] nexus3.edgexfoundry.org:10002 [2021-05-12T20:49:49.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:49.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:49.621Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:49.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:49.621Z] [2021-05-12T20:49:49.621Z] Login Succeeded [2021-05-12T20:49:49.621Z] nexus3.edgexfoundry.org:10003 [2021-05-12T20:49:49.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:49.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:49.905Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:49.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:49.905Z] [2021-05-12T20:49:49.905Z] Login Succeeded [2021-05-12T20:49:49.905Z] nexus3.edgexfoundry.org:10004 [2021-05-12T20:49:50.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:50.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:50.446Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:50.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:50.446Z] [2021-05-12T20:49:50.446Z] Login Succeeded [2021-05-12T20:49:50.446Z] docker.io [2021-05-12T20:49:53.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-12T20:49:53.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-12T20:49:53.044Z] Configure a credential helper to remove this warning. See [2021-05-12T20:49:53.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-12T20:49:53.044Z] [2021-05-12T20:49:53.044Z] Login Succeeded [2021-05-12T20:49:53.044Z] ---> docker-login.sh ends [Pipeline] } [2021-05-12T20:49:53.062Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:49:53.135Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-05-12T20:49:53.135Z] 3b22e0480bd67233e1fe9d34879779676ed28d7e [2021-05-12T20:49:53.135Z] latest [2021-05-12T20:49:53.135Z] 1.3.2-dev.14 [2021-05-12T20:49:53.135Z] 3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14 [2021-05-12T20:49:53.135Z] master [2021-05-12T20:49:53.135Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:53.512Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3b22e0480bd67233e1fe9d34879779676ed28d7e [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:53.852Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3b22e0480bd67233e1fe9d34879779676ed28d7e [2021-05-12T20:49:53.852Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-12T20:49:53.852Z] c5fe1c0a78b7: Preparing [2021-05-12T20:49:53.852Z] 31a579f11ea9: Preparing [2021-05-12T20:49:53.852Z] 4b22ac9874da: Preparing [2021-05-12T20:49:53.852Z] 343c935dbc9d: Preparing [2021-05-12T20:49:53.852Z] fb9893d371bc: Preparing [2021-05-12T20:49:53.852Z] 3fbe34a1663b: Preparing [2021-05-12T20:49:53.852Z] 3fbe34a1663b: Waiting [2021-05-12T20:49:54.129Z] fb9893d371bc: Pushed [2021-05-12T20:49:54.129Z] 4b22ac9874da: Pushed [2021-05-12T20:49:54.129Z] 31a579f11ea9: Pushed [2021-05-12T20:49:54.130Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:49:54.737Z] 343c935dbc9d: Pushed [2021-05-12T20:49:57.340Z] c5fe1c0a78b7: Pushed [2021-05-12T20:49:57.611Z] 3b22e0480bd67233e1fe9d34879779676ed28d7e: digest: sha256:6c051c8c96847ef82ce26a919243b262776f59adda91c4d2ad2b3ffc6331f94a size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:57.954Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:58.290Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-12T20:49:58.290Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-12T20:49:58.290Z] c5fe1c0a78b7: Preparing [2021-05-12T20:49:58.290Z] 31a579f11ea9: Preparing [2021-05-12T20:49:58.290Z] 4b22ac9874da: Preparing [2021-05-12T20:49:58.290Z] 343c935dbc9d: Preparing [2021-05-12T20:49:58.290Z] fb9893d371bc: Preparing [2021-05-12T20:49:58.290Z] 3fbe34a1663b: Preparing [2021-05-12T20:49:58.290Z] 3fbe34a1663b: Waiting [2021-05-12T20:49:58.290Z] 343c935dbc9d: Layer already exists [2021-05-12T20:49:58.290Z] 4b22ac9874da: Layer already exists [2021-05-12T20:49:58.290Z] 31a579f11ea9: Layer already exists [2021-05-12T20:49:58.290Z] fb9893d371bc: Layer already exists [2021-05-12T20:49:58.290Z] c5fe1c0a78b7: Layer already exists [2021-05-12T20:49:58.561Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:49:58.561Z] latest: digest: sha256:6c051c8c96847ef82ce26a919243b262776f59adda91c4d2ad2b3ffc6331f94a size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:58.910Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:59.248Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.14 [2021-05-12T20:49:59.248Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-12T20:49:59.248Z] c5fe1c0a78b7: Preparing [2021-05-12T20:49:59.248Z] 31a579f11ea9: Preparing [2021-05-12T20:49:59.248Z] 4b22ac9874da: Preparing [2021-05-12T20:49:59.248Z] 343c935dbc9d: Preparing [2021-05-12T20:49:59.248Z] fb9893d371bc: Preparing [2021-05-12T20:49:59.248Z] 3fbe34a1663b: Preparing [2021-05-12T20:49:59.248Z] 3fbe34a1663b: Waiting [2021-05-12T20:49:59.248Z] 343c935dbc9d: Layer already exists [2021-05-12T20:49:59.248Z] fb9893d371bc: Layer already exists [2021-05-12T20:49:59.248Z] 31a579f11ea9: Layer already exists [2021-05-12T20:49:59.517Z] c5fe1c0a78b7: Layer already exists [2021-05-12T20:49:59.517Z] 4b22ac9874da: Layer already exists [2021-05-12T20:49:59.517Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:49:59.517Z] 1.3.2-dev.14: digest: sha256:6c051c8c96847ef82ce26a919243b262776f59adda91c4d2ad2b3ffc6331f94a size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:49:59.857Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:50:00.190Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14 [2021-05-12T20:50:00.190Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-12T20:50:00.190Z] c5fe1c0a78b7: Preparing [2021-05-12T20:50:00.190Z] 31a579f11ea9: Preparing [2021-05-12T20:50:00.190Z] 4b22ac9874da: Preparing [2021-05-12T20:50:00.190Z] 343c935dbc9d: Preparing [2021-05-12T20:50:00.190Z] fb9893d371bc: Preparing [2021-05-12T20:50:00.190Z] 3fbe34a1663b: Preparing [2021-05-12T20:50:00.190Z] 3fbe34a1663b: Waiting [2021-05-12T20:50:00.190Z] fb9893d371bc: Layer already exists [2021-05-12T20:50:00.190Z] 343c935dbc9d: Layer already exists [2021-05-12T20:50:00.190Z] 31a579f11ea9: Layer already exists [2021-05-12T20:50:00.190Z] 4b22ac9874da: Layer already exists [2021-05-12T20:50:00.190Z] c5fe1c0a78b7: Layer already exists [2021-05-12T20:50:00.459Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:50:00.460Z] 3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14: digest: sha256:6c051c8c96847ef82ce26a919243b262776f59adda91c4d2ad2b3ffc6331f94a size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:50:00.801Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:50:01.167Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [2021-05-12T20:50:01.167Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-05-12T20:50:01.167Z] c5fe1c0a78b7: Preparing [2021-05-12T20:50:01.167Z] 31a579f11ea9: Preparing [2021-05-12T20:50:01.167Z] 4b22ac9874da: Preparing [2021-05-12T20:50:01.167Z] 343c935dbc9d: Preparing [2021-05-12T20:50:01.167Z] fb9893d371bc: Preparing [2021-05-12T20:50:01.167Z] 3fbe34a1663b: Preparing [2021-05-12T20:50:01.167Z] 3fbe34a1663b: Waiting [2021-05-12T20:50:01.460Z] 4b22ac9874da: Layer already exists [2021-05-12T20:50:01.460Z] 31a579f11ea9: Layer already exists [2021-05-12T20:50:01.460Z] c5fe1c0a78b7: Layer already exists [2021-05-12T20:50:01.460Z] 343c935dbc9d: Layer already exists [2021-05-12T20:50:01.460Z] fb9893d371bc: Layer already exists [2021-05-12T20:50:01.460Z] 3fbe34a1663b: Layer already exists [2021-05-12T20:50:01.460Z] master: digest: sha256:6c051c8c96847ef82ce26a919243b262776f59adda91c4d2ad2b3ffc6331f94a size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-12T20:50:01.538Z] ===================================================== [Pipeline] echo [2021-05-12T20:50:01.558Z] taggedImages: [2021-05-12T20:50:01.558Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3b22e0480bd67233e1fe9d34879779676ed28d7e [2021-05-12T20:50:01.558Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-05-12T20:50:01.558Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.14 [2021-05-12T20:50:01.558Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3b22e0480bd67233e1fe9d34879779676ed28d7e-1.3.2-dev.14 [2021-05-12T20:50:01.558Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:50:01.966Z] ---> job-cost.sh [2021-05-12T20:50:01.966Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-23e4 [2021-05-12T20:50:40.942Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T20:52:02.656Z] lf-activate-venv(): INFO: Adding /tmp/venv-23e4/bin to PATH [2021-05-12T20:52:02.656Z] INFO: No Stack... [2021-05-12T20:52:02.656Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T20:52:02.656Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T20:52:02.991Z] + cat /w/workspace/device-virtual-go/54/archives/cost.csv [2021-05-12T20:52:02.991Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T20:52:03.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-54-stack-cost] [2021-05-12T20:52:03.107Z] Resource [jenkins-edgexfoundry-device-virtual-go-master-54-stack-cost] did not exist. Created. [2021-05-12T20:52:03.107Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:52:03.473Z] /w/workspace/device-virtual-go/54@tmp/durable-7553a84d/script.sh: 1: /w/workspace/device-virtual-go/54@tmp/durable-7553a84d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T20:52:03.810Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T20:52:03.839Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T20:52:03.988Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T20:52:04.000Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-54-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-12T20:52:04.724Z] provisioning config files... [2021-05-12T20:52:04.735Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7103335958740589568tmp [Pipeline] { [Pipeline] sh [2021-05-12T20:52:05.066Z] + set +x [2021-05-12T20:52:05.066Z] + curl -s https://codecov.io/bash [2021-05-12T20:52:05.066Z] + bash -s -- [2021-05-12T20:52:05.330Z] [2021-05-12T20:52:05.330Z] _____ _ [2021-05-12T20:52:05.331Z] / ____| | | [2021-05-12T20:52:05.331Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T20:52:05.331Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T20:52:05.331Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T20:52:05.331Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T20:52:05.331Z] Bash-1.0.2 [2021-05-12T20:52:05.331Z] [2021-05-12T20:52:05.331Z] [2021-05-12T20:52:05.331Z] ==> git version 2.24.3 found [2021-05-12T20:52:05.331Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-12T20:52:05.331Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T20:52:05.331Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T20:52:05.331Z] ==> Jenkins CI detected. [2021-05-12T20:52:05.331Z] project root: . [2021-05-12T20:52:05.331Z] --> token set from env [2021-05-12T20:52:05.331Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T20:52:05.331Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T20:52:05.331Z] ==> Python coveragepy not found [2021-05-12T20:52:05.331Z] ==> Searching for coverage reports in: [2021-05-12T20:52:05.331Z] + . [2021-05-12T20:52:05.331Z] -> Found 1 reports [2021-05-12T20:52:05.331Z] ==> Detecting git/mercurial file structure [2021-05-12T20:52:05.331Z] ==> Reading reports [2021-05-12T20:52:05.331Z] + ./coverage.out bytes=47247 [2021-05-12T20:52:05.331Z] ==> Appending adjustments [2021-05-12T20:52:05.331Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T20:52:05.595Z] + Found adjustments [2021-05-12T20:52:05.595Z] ==> Gzipping contents [2021-05-12T20:52:05.595Z] 8.0K /tmp/codecov.thdcrM.gz [2021-05-12T20:52:05.595Z] ==> Uploading reports [2021-05-12T20:52:05.595Z] url: https://codecov.io [2021-05-12T20:52:05.595Z] query: branch=master&commit=3b22e0480bd67233e1fe9d34879779676ed28d7e&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T20:52:05.595Z] -> Pinging Codecov [2021-05-12T20:52:05.595Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=3b22e0480bd67233e1fe9d34879779676ed28d7e&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T20:52:06.170Z] -> Uploading to [2021-05-12T20:52:06.170Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/5E52B4B073DB2E39498172D8E973AA87/3b22e0480bd67233e1fe9d34879779676ed28d7e/d24997ee-ccea-4d57-9ac2-51ef34786ea9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T205205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c8598c49ad3681ab83cb038cc11b130f3e379da0040631e2c652cdd9d1be46d [2021-05-12T20:52:06.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T20:52:06.170Z] Dload Upload Total Spent Left Speed [2021-05-12T20:52:06.746Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5734 0 0 100 5734 0 12078 --:--:-- --:--:-- --:--:-- 12097 [2021-05-12T20:52:06.746Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/3b22e0480bd67233e1fe9d34879779676ed28d7e [Pipeline] } [2021-05-12T20:52:06.756Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-12T20:52:07.443Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-12T20:52:07.462Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:52:07.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:52:07.769Z] [2021-05-12T20:52:07.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:52:08.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:52:08.089Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-12T20:52:08.089Z] 188c0c94c7c5: Pulling fs layer [2021-05-12T20:52:08.089Z] 0ef7d3d256c8: Pulling fs layer [2021-05-12T20:52:08.089Z] de9db76c5a1d: Pulling fs layer [2021-05-12T20:52:08.089Z] 0eba1c9be4d2: Pulling fs layer [2021-05-12T20:52:08.089Z] 0d57e429df01: Pulling fs layer [2021-05-12T20:52:08.089Z] 4e4be7b47b0d: Pulling fs layer [2021-05-12T20:52:08.089Z] e1f770b5df2f: Pulling fs layer [2021-05-12T20:52:08.089Z] 85a0685a4137: Pulling fs layer [2021-05-12T20:52:08.089Z] 0d57e429df01: Waiting [2021-05-12T20:52:08.089Z] 4e4be7b47b0d: Waiting [2021-05-12T20:52:08.089Z] e1f770b5df2f: Waiting [2021-05-12T20:52:08.089Z] 85a0685a4137: Waiting [2021-05-12T20:52:08.089Z] 0eba1c9be4d2: Waiting [2021-05-12T20:52:08.089Z] de9db76c5a1d: Verifying Checksum [2021-05-12T20:52:08.089Z] de9db76c5a1d: Download complete [2021-05-12T20:52:08.089Z] 0ef7d3d256c8: Verifying Checksum [2021-05-12T20:52:08.089Z] 0ef7d3d256c8: Download complete [2021-05-12T20:52:08.089Z] 0d57e429df01: Verifying Checksum [2021-05-12T20:52:08.089Z] 0d57e429df01: Download complete [2021-05-12T20:52:08.089Z] 188c0c94c7c5: Verifying Checksum [2021-05-12T20:52:08.089Z] 188c0c94c7c5: Download complete [2021-05-12T20:52:08.089Z] 4e4be7b47b0d: Verifying Checksum [2021-05-12T20:52:08.089Z] 4e4be7b47b0d: Download complete [2021-05-12T20:52:08.671Z] 188c0c94c7c5: Pull complete [2021-05-12T20:52:08.934Z] 0ef7d3d256c8: Pull complete [2021-05-12T20:52:08.934Z] de9db76c5a1d: Pull complete [2021-05-12T20:52:09.513Z] e1f770b5df2f: Verifying Checksum [2021-05-12T20:52:09.513Z] e1f770b5df2f: Download complete [2021-05-12T20:52:11.455Z] 0eba1c9be4d2: Verifying Checksum [2021-05-12T20:52:11.455Z] 0eba1c9be4d2: Download complete [2021-05-12T20:52:11.719Z] 85a0685a4137: Verifying Checksum [2021-05-12T20:52:11.719Z] 85a0685a4137: Download complete [2021-05-12T20:52:18.362Z] 0eba1c9be4d2: Pull complete [2021-05-12T20:52:18.362Z] 0d57e429df01: Pull complete [2021-05-12T20:52:18.362Z] 4e4be7b47b0d: Pull complete [2021-05-12T20:52:20.285Z] e1f770b5df2f: Pull complete [2021-05-12T20:52:28.496Z] 85a0685a4137: Pull complete [2021-05-12T20:52:28.496Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-12T20:52:28.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T20:52:28.496Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-12T20:52:28.714Z] prd-centos7-docker-4c-2g-4880 does not seem to be running inside a container [2021-05-12T20:52:28.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-12T20:52:29.841Z] $ docker top 106c0efc010eb4c97fc0842041e37e79a77a1bed4f176f2634ebf436cbb902c3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-12T20:52:29.986Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-12T20:52:30.287Z] + set -o pipefail [2021-05-12T20:52:30.287Z] + snyk monitor '--org=edgex-jenkins' [2021-05-12T20:52:45.280Z] [2021-05-12T20:52:45.280Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-05-12T20:52:45.280Z] [2021-05-12T20:52:45.280Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/47d50f4d-6698-482b-a9b2-ae75db08ba05 [2021-05-12T20:52:45.280Z] [2021-05-12T20:52:45.280Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-12T20:52:45.280Z] [2021-05-12T20:52:45.280Z] [Pipeline] } [2021-05-12T20:52:45.298Z] $ docker stop --time=1 106c0efc010eb4c97fc0842041e37e79a77a1bed4f176f2634ebf436cbb902c3 [2021-05-12T20:52:47.403Z] $ docker rm -f 106c0efc010eb4c97fc0842041e37e79a77a1bed4f176f2634ebf436cbb902c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T20:52:48.579Z] + git log --format=format:%s -1 3b22e0480bd67233e1fe9d34879779676ed28d7e [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:52:48.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:52:48.902Z] . [Pipeline] withDockerContainer [2021-05-12T20:52:49.012Z] prd-centos7-docker-4c-2g-4880 does not seem to be running inside a container [2021-05-12T20:52:49.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:52:50.015Z] $ docker top f8afe164f4901c3877809668956e660b03b6b56dedf9f15711a4d7e03bee3cd9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:52:50.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:52:50.197Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:52:50.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:52:50.464Z] $ docker exec f8afe164f4901c3877809668956e660b03b6b56dedf9f15711a4d7e03bee3cd9 ssh-agent [2021-05-12T20:52:50.650Z] SSH_AUTH_SOCK=/tmp/ssh-UZJs4KrJs58Y/agent.11 [2021-05-12T20:52:50.650Z] SSH_AGENT_PID=16 [2021-05-12T20:52:50.659Z] Running ssh-add (command line suppressed) [2021-05-12T20:52:50.805Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8769472569806924524.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8769472569806924524.key) [2021-05-12T20:52:50.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:52:51.187Z] + git semver tag [2021-05-12T20:52:51.187Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:52:51.187Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-12T20:52:51.187Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-12T20:52:51.187Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:52:51.187Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:52:51.187Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:52:51.187Z] # $SEMVER_BRANCH = master [2021-05-12T20:52:51.187Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-12T20:52:51.187Z] # 3b22e0480bd67233e1fe9d34879779676ed28d7e HEAD [2021-05-12T20:52:51.187Z] # -> Force: false [2021-05-12T20:52:51.187Z] # abd60bd3606a369a3d0dee5319a2eb7ec449998b refs/tags/v1.3.2-dev.14 [Pipeline] } [2021-05-12T20:52:51.203Z] $ docker exec --env ******** --env ******** f8afe164f4901c3877809668956e660b03b6b56dedf9f15711a4d7e03bee3cd9 ssh-agent -k [2021-05-12T20:52:51.332Z] unset SSH_AUTH_SOCK; [2021-05-12T20:52:51.332Z] unset SSH_AGENT_PID; [2021-05-12T20:52:51.332Z] echo Agent pid 16 killed; [2021-05-12T20:52:51.381Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:52:51.717Z] + git semver [Pipeline] } [2021-05-12T20:52:51.739Z] $ docker stop --time=1 f8afe164f4901c3877809668956e660b03b6b56dedf9f15711a4d7e03bee3cd9 [2021-05-12T20:52:53.093Z] $ docker rm -f f8afe164f4901c3877809668956e660b03b6b56dedf9f15711a4d7e03bee3cd9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:52:53.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:52:53.606Z] [2021-05-12T20:52:53.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:52:53.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:52:53.925Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-12T20:52:53.925Z] ab5ef0e58194: Pulling fs layer [2021-05-12T20:52:53.925Z] 9712f1f96733: Pulling fs layer [2021-05-12T20:52:53.925Z] 63f879dbbcfc: Pulling fs layer [2021-05-12T20:52:53.925Z] 0d9ebad4ef96: Pulling fs layer [2021-05-12T20:52:53.925Z] e9a5061849ea: Pulling fs layer [2021-05-12T20:52:53.925Z] d747dcd14b5f: Pulling fs layer [2021-05-12T20:52:53.925Z] 2de7ff778b66: Pulling fs layer [2021-05-12T20:52:53.925Z] e9a5061849ea: Waiting [2021-05-12T20:52:53.925Z] d747dcd14b5f: Waiting [2021-05-12T20:52:53.925Z] 2de7ff778b66: Waiting [2021-05-12T20:52:53.925Z] 0d9ebad4ef96: Waiting [2021-05-12T20:52:53.925Z] 9712f1f96733: Download complete [2021-05-12T20:52:55.320Z] 63f879dbbcfc: Verifying Checksum [2021-05-12T20:52:55.320Z] 63f879dbbcfc: Download complete [2021-05-12T20:52:55.585Z] e9a5061849ea: Verifying Checksum [2021-05-12T20:52:55.585Z] e9a5061849ea: Download complete [2021-05-12T20:52:55.585Z] d747dcd14b5f: Verifying Checksum [2021-05-12T20:52:55.585Z] d747dcd14b5f: Download complete [2021-05-12T20:52:56.159Z] 2de7ff778b66: Verifying Checksum [2021-05-12T20:52:56.159Z] 2de7ff778b66: Download complete [2021-05-12T20:52:56.422Z] ab5ef0e58194: Verifying Checksum [2021-05-12T20:52:56.422Z] ab5ef0e58194: Download complete [2021-05-12T20:52:56.422Z] 0d9ebad4ef96: Download complete [2021-05-12T20:53:01.756Z] ab5ef0e58194: Pull complete [2021-05-12T20:53:01.756Z] 9712f1f96733: Pull complete [2021-05-12T20:53:03.164Z] 63f879dbbcfc: Pull complete [2021-05-12T20:53:09.780Z] 0d9ebad4ef96: Pull complete [2021-05-12T20:53:10.360Z] e9a5061849ea: Pull complete [2021-05-12T20:53:10.360Z] d747dcd14b5f: Pull complete [2021-05-12T20:53:13.679Z] 2de7ff778b66: Pull complete [2021-05-12T20:53:13.679Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-12T20:53:13.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T20:53:13.679Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-12T20:53:13.927Z] prd-centos7-docker-4c-2g-4880 does not seem to be running inside a container [2021-05-12T20:53:13.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-12T20:53:17.954Z] $ docker top ad01421653b186cf9e583d79949714ed82d1ed084964236982486d4b5d1fa0f6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:53:18.187Z] provisioning config files... [2021-05-12T20:53:18.197Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3498484307368922205tmp [2021-05-12T20:53:18.215Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config307917443686738462tmp [2021-05-12T20:53:18.230Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config138888991438672260tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:53:18.255Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:53:18.571Z] ---> sigul-configuration.sh [2021-05-12T20:53:18.571Z] gpg: directory `/root/.gnupg' created [2021-05-12T20:53:18.571Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-12T20:53:18.571Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-12T20:53:18.571Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-12T20:53:18.571Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-12T20:53:18.571Z] gpg: CAST5 encrypted data [2021-05-12T20:53:18.837Z] gpg: encrypted with 1 passphrase [2021-05-12T20:53:18.837Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-12T20:53:19.144Z] + mkdir /home/jenkins [2021-05-12T20:53:19.144Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-12T20:53:19.444Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-05-12T20:53:19.506Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:53:19.938Z] ---> sigul-install.sh [2021-05-12T20:53:26.605Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-12T20:53:26.908Z] + git tag --list [2021-05-12T20:53:26.908Z] v1.0.0 [2021-05-12T20:53:26.908Z] v1.1.0 [2021-05-12T20:53:26.908Z] v1.1.1 [2021-05-12T20:53:26.908Z] v1.2.1 [2021-05-12T20:53:26.908Z] v1.2.2 [2021-05-12T20:53:26.908Z] v1.2.3 [2021-05-12T20:53:26.908Z] v1.3.0 [2021-05-12T20:53:26.908Z] v1.3.1 [2021-05-12T20:53:26.908Z] v1.3.1-dev.1 [2021-05-12T20:53:26.908Z] v1.3.1-dev.2 [2021-05-12T20:53:26.908Z] v1.3.1-dev.3 [2021-05-12T20:53:26.908Z] v1.3.1-dev.4 [2021-05-12T20:53:26.908Z] v1.3.1-dev.5 [2021-05-12T20:53:26.908Z] v1.3.2-dev.1 [2021-05-12T20:53:26.908Z] v1.3.2-dev.10 [2021-05-12T20:53:26.908Z] v1.3.2-dev.11 [2021-05-12T20:53:26.908Z] v1.3.2-dev.12 [2021-05-12T20:53:26.908Z] v1.3.2-dev.13 [2021-05-12T20:53:26.908Z] v1.3.2-dev.14 [2021-05-12T20:53:26.908Z] v1.3.2-dev.2 [2021-05-12T20:53:26.908Z] v1.3.2-dev.3 [2021-05-12T20:53:26.908Z] v1.3.2-dev.4 [2021-05-12T20:53:26.908Z] v1.3.2-dev.5 [2021-05-12T20:53:26.908Z] v1.3.2-dev.6 [2021-05-12T20:53:26.908Z] v1.3.2-dev.7 [2021-05-12T20:53:26.908Z] v1.3.2-dev.8 [2021-05-12T20:53:26.908Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-12T20:53:27.210Z] + lftools sign git-tag v1.3.2-dev.14 [2021-05-12T20:53:28.600Z] Signing Git tag with Sigul... [2021-05-12T20:53:28.600Z] Signing v1.3.2-dev.14 [Pipeline] echo [2021-05-12T20:53:30.001Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:53:30.300Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-12T20:53:30.310Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-12T20:53:30.345Z] $ docker stop --time=1 ad01421653b186cf9e583d79949714ed82d1ed084964236982486d4b5d1fa0f6 [2021-05-12T20:53:32.249Z] $ docker rm -f ad01421653b186cf9e583d79949714ed82d1ed084964236982486d4b5d1fa0f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:53:32.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:53:32.795Z] . [Pipeline] withDockerContainer [2021-05-12T20:53:32.901Z] prd-centos7-docker-4c-2g-4880 does not seem to be running inside a container [2021-05-12T20:53:32.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:53:33.628Z] $ docker top 66594d1c3759961d8e8282f456ebb8ac23d376afd3adcc80e8697d42b73e9e0d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:53:33.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:53:33.794Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:53:34.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:53:34.011Z] $ docker exec 66594d1c3759961d8e8282f456ebb8ac23d376afd3adcc80e8697d42b73e9e0d ssh-agent [2021-05-12T20:53:34.200Z] SSH_AUTH_SOCK=/tmp/ssh-3ZOxzzftmExw/agent.12 [2021-05-12T20:53:34.200Z] SSH_AGENT_PID=17 [2021-05-12T20:53:34.208Z] Running ssh-add (command line suppressed) [2021-05-12T20:53:34.348Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_368187562019886911.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_368187562019886911.key) [2021-05-12T20:53:34.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:53:34.715Z] + git semver bump pre [2021-05-12T20:53:34.715Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:53:34.715Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-12T20:53:34.715Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-12T20:53:34.715Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:53:34.715Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:53:34.715Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:53:34.715Z] # $SEMVER_BRANCH = master [2021-05-12T20:53:34.715Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-05-12T20:53:34.715Z] 1.3.2-dev.15 [Pipeline] } [2021-05-12T20:53:34.731Z] $ docker exec --env ******** --env ******** 66594d1c3759961d8e8282f456ebb8ac23d376afd3adcc80e8697d42b73e9e0d ssh-agent -k [2021-05-12T20:53:34.861Z] unset SSH_AUTH_SOCK; [2021-05-12T20:53:34.862Z] unset SSH_AGENT_PID; [2021-05-12T20:53:34.862Z] echo Agent pid 17 killed; [2021-05-12T20:53:34.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:53:35.260Z] + git semver [Pipeline] } [2021-05-12T20:53:35.280Z] $ docker stop --time=1 66594d1c3759961d8e8282f456ebb8ac23d376afd3adcc80e8697d42b73e9e0d [2021-05-12T20:53:36.640Z] $ docker rm -f 66594d1c3759961d8e8282f456ebb8ac23d376afd3adcc80e8697d42b73e9e0d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:53:37.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T20:53:37.092Z] . [Pipeline] withDockerContainer [2021-05-12T20:53:37.196Z] prd-centos7-docker-4c-2g-4880 does not seem to be running inside a container [2021-05-12T20:53:37.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T20:53:38.002Z] $ docker top 2f0aea5d53d6330b64665668132bcae2a405476edf41f43928ace77e851fee43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T20:53:38.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T20:53:38.220Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T20:53:38.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T20:53:38.448Z] $ docker exec 2f0aea5d53d6330b64665668132bcae2a405476edf41f43928ace77e851fee43 ssh-agent [2021-05-12T20:53:38.635Z] SSH_AUTH_SOCK=/tmp/ssh-w6d06gkWlD73/agent.11 [2021-05-12T20:53:38.635Z] SSH_AGENT_PID=16 [2021-05-12T20:53:38.644Z] Running ssh-add (command line suppressed) [2021-05-12T20:53:38.784Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3243174080657566612.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3243174080657566612.key) [2021-05-12T20:53:38.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T20:53:39.151Z] + git semver push [2021-05-12T20:53:39.151Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T20:53:39.151Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-05-12T20:53:39.151Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-05-12T20:53:39.151Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T20:53:39.151Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T20:53:39.151Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T20:53:39.151Z] # $SEMVER_BRANCH = master [2021-05-12T20:53:39.151Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-05-12T20:53:44.470Z] $ docker exec --env ******** --env ******** 2f0aea5d53d6330b64665668132bcae2a405476edf41f43928ace77e851fee43 ssh-agent -k [2021-05-12T20:53:44.626Z] unset SSH_AUTH_SOCK; [2021-05-12T20:53:44.628Z] unset SSH_AGENT_PID; [2021-05-12T20:53:44.628Z] echo Agent pid 16 killed; [2021-05-12T20:53:44.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T20:53:45.042Z] + git semver [Pipeline] } [2021-05-12T20:53:45.062Z] $ docker stop --time=1 2f0aea5d53d6330b64665668132bcae2a405476edf41f43928ace77e851fee43 [2021-05-12T20:53:46.458Z] $ docker rm -f 2f0aea5d53d6330b64665668132bcae2a405476edf41f43928ace77e851fee43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:53:47.405Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:53:47.976Z] ---> package-listing.sh [2021-05-12T20:53:47.976Z] ++ facter osfamily [2021-05-12T20:53:47.976Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T20:53:47.976Z] + OS_FAMILY=redhat [2021-05-12T20:53:47.976Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-05-12T20:53:47.976Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T20:53:47.976Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T20:53:47.976Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T20:53:47.976Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T20:53:47.976Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-12T20:53:47.976Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T20:53:47.976Z] + case "${OS_FAMILY}" in [2021-05-12T20:53:47.976Z] + rpm -qa [2021-05-12T20:53:47.976Z] + sort [2021-05-12T20:53:53.275Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T20:53:53.275Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T20:53:53.275Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T20:53:53.275Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-05-12T20:53:53.275Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-05-12T20:53:53.275Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo [2021-05-12T20:53:53.290Z] 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/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-12T20:53:53.583Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:53:53.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:53:53.896Z] [2021-05-12T20:53:53.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T20:53:54.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:53:54.211Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T20:53:54.211Z] df20fa9351a1: Pulling fs layer [2021-05-12T20:53:54.211Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T20:53:54.211Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T20:53:54.211Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T20:53:54.211Z] 93b61091891f: Pulling fs layer [2021-05-12T20:53:54.211Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T20:53:54.211Z] 5e14af77c1be: Pulling fs layer [2021-05-12T20:53:54.211Z] 01666e4c0597: Pulling fs layer [2021-05-12T20:53:54.211Z] aa168da1d23b: Pulling fs layer [2021-05-12T20:53:54.211Z] 93b9cdb0e59b: Waiting [2021-05-12T20:53:54.211Z] 5e14af77c1be: Waiting [2021-05-12T20:53:54.211Z] 01666e4c0597: Waiting [2021-05-12T20:53:54.211Z] aa168da1d23b: Waiting [2021-05-12T20:53:54.211Z] 46f8f816bc3b: Waiting [2021-05-12T20:53:54.211Z] 93b61091891f: Waiting [2021-05-12T20:53:54.211Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T20:53:54.211Z] 36b3adc4ff6f: Download complete [2021-05-12T20:53:54.211Z] 46f8f816bc3b: Download complete [2021-05-12T20:53:54.476Z] df20fa9351a1: Verifying Checksum [2021-05-12T20:53:54.476Z] df20fa9351a1: Download complete [2021-05-12T20:53:54.476Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T20:53:54.476Z] 93b9cdb0e59b: Download complete [2021-05-12T20:53:54.476Z] 5e14af77c1be: Verifying Checksum [2021-05-12T20:53:54.476Z] 5e14af77c1be: Download complete [2021-05-12T20:53:54.476Z] 01666e4c0597: Verifying Checksum [2021-05-12T20:53:54.476Z] 01666e4c0597: Download complete [2021-05-12T20:53:54.476Z] 93b61091891f: Verifying Checksum [2021-05-12T20:53:54.476Z] 93b61091891f: Download complete [2021-05-12T20:53:54.476Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T20:53:54.476Z] 8ad3a11d3b57: Download complete [2021-05-12T20:53:54.738Z] df20fa9351a1: Pull complete [2021-05-12T20:53:55.009Z] 36b3adc4ff6f: Pull complete [2021-05-12T20:53:55.976Z] 8ad3a11d3b57: Pull complete [2021-05-12T20:53:55.976Z] 46f8f816bc3b: Pull complete [2021-05-12T20:53:56.555Z] 93b61091891f: Pull complete [2021-05-12T20:53:57.130Z] 93b9cdb0e59b: Pull complete [2021-05-12T20:53:57.130Z] aa168da1d23b: Verifying Checksum [2021-05-12T20:53:57.130Z] aa168da1d23b: Download complete [2021-05-12T20:53:57.130Z] 5e14af77c1be: Pull complete [2021-05-12T20:53:57.395Z] 01666e4c0597: Pull complete [2021-05-12T20:54:05.584Z] aa168da1d23b: Pull complete [2021-05-12T20:54:05.584Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T20:54:05.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T20:54:05.584Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T20:54:05.777Z] prd-centos7-docker-4c-2g-4880 does not seem to be running inside a container [2021-05-12T20:54:05.828Z] $ 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/foundry_device-virtual-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/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T20:54:08.053Z] $ docker top 0c775a8913188d9ad8315c29a58aa9f2f48ce1ec326f6cc0d60f99d59387743d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T20:54:08.463Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T20:54:08.824Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T20:54:09.153Z] + ls /var/log/sa-host [2021-05-12T20:54:09.153Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T20:54:09.153Z] file_magic: OK [2021-05-12T20:54:09.153Z] HZ: Using current value: 100 [2021-05-12T20:54:09.153Z] file_header: OK [2021-05-12T20:54:09.153Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T20:54:09.153Z] Statistics: [2021-05-12T20:54:09.153Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-12T20:54:09.153Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T20:54:09.153Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T20:54:09.153Z] file_magic: OK [2021-05-12T20:54:09.153Z] HZ: Using current value: 100 [2021-05-12T20:54:09.153Z] file_header: OK [2021-05-12T20:54:09.153Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-12T20:54:09.153Z] Statistics: [2021-05-12T20:54:09.153Z] Hnuu...uuuununununu... [2021-05-12T20:54:09.153Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T20:54:09.861Z] provisioning config files... [2021-05-12T20:54:09.891Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7436837480074523377tmp [Pipeline] { [Pipeline] echo [2021-05-12T20:54:09.926Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:54:10.253Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T20:54:10.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T20:54:10.291Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:54:10.589Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T20:54:10.602Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:54:10.898Z] ---> sudo-logs.sh [2021-05-12T20:54:10.898Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T20:54:10.932Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:54:11.231Z] ---> job-cost.sh [2021-05-12T20:54:11.231Z] lf-activate-venv: SKIPPING [2021-05-12T20:54:11.231Z] DEBUG: total: 0.20999999344348907 [2021-05-12T20:54:11.231Z] INFO: Retrieving Stack Cost... [2021-05-12T20:54:12.625Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T20:54:12.886Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T20:54:12.902Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T20:54:13.196Z] ---> logs-deploy.sh [2021-05-12T20:54:13.197Z] lf-activate-venv: SKIPPING [2021-05-12T20:54:13.197Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/54 [2021-05-12T20:54:13.197Z] INFO: archiving workspace using pattern(s): [2021-05-12T20:54:15.117Z] Archives upload complete. [2021-05-12T20:54:15.117Z] INFO: archiving logs to Nexus