Push event to branch main Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 Running in Durability level: MAX_SURVIVABILITY 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2377224443891099279.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7143425600524082838.key > 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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines # timeout=10 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3834002975287110856.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5208643029508137195.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh272556567998714546.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines # timeout=10 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8455347344669541483.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a 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-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-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-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true 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-224 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 (main) Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh2436999706677255973.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 # timeout=10 Commit message: "Merge pull request #273 from siggiskulason/snap-v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-06T22:38:52.364Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-06T22:38:52.578Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:38:52.732Z] ========================================================= [2021-07-06T22:38:52.732Z] EdgeX Global Pipelines Version Info [2021-07-06T22:38:52.732Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:38:54.285Z] ------------------- [2021-07-06T22:38:54.285Z] stable info: [2021-07-06T22:38:54.285Z] ------------------- [2021-07-06T22:38:54.285Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-06T22:38:54.285Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:38:54.285Z] Message: update stable to v1.0.196 [2021-07-06T22:38:54.871Z] ------------------- [2021-07-06T22:38:54.871Z] experimental info: [2021-07-06T22:38:54.871Z] ------------------- [2021-07-06T22:38:54.871Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-06T22:38:54.871Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:38:54.871Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-06T22:38:55.104Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-07-06T22:38:55.166Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-07-06T22:38:55.224Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-06T22:38:55.300Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-06T22:38:55.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-06T22:38:55.487Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-06T22:38:55.546Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-06T22:38:55.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-06T22:38:55.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-06T22:38:55.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-06T22:38:55.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-06T22:38:55.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-07-06T22:38:55.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-06T22:38:56.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-06T22:38:56.078Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-06T22:38:56.141Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-06T22:38:56.201Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:38:56.266Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:38:56.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-06T22:38:56.389Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-07-06T22:38:56.480Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-06T22:38:56.545Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-06T22:38:56.611Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-06T22:38:56.674Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-06T22:38:56.735Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-06T22:38:56.794Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-06T22:38:56.854Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-06T22:38:56.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-06T22:38:56.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-06T22:38:57.043Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] echo [2021-07-06T22:38:57.101Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7596bf2 [Pipeline] echo [2021-07-06T22:38:57.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:38:57.328Z] provisioning config files... [2021-07-06T22:38:57.349Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6465284605619886721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:38:57.725Z] ---> docker-login.sh [2021-07-06T22:38:57.725Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:38:57.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:57.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:57.990Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:57.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:57.990Z] [2021-07-06T22:38:57.990Z] Login Succeeded [2021-07-06T22:38:57.990Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:38:57.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:57.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:57.990Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:57.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:57.990Z] [2021-07-06T22:38:57.990Z] Login Succeeded [2021-07-06T22:38:57.990Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:38:58.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:58.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:58.257Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:58.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:58.257Z] [2021-07-06T22:38:58.257Z] Login Succeeded [2021-07-06T22:38:58.257Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:38:58.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:58.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:58.257Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:58.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:58.257Z] [2021-07-06T22:38:58.257Z] Login Succeeded [2021-07-06T22:38:58.257Z] docker.io [2021-07-06T22:38:58.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:38:58.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:38:58.781Z] Configure a credential helper to remove this warning. See [2021-07-06T22:38:58.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:38:58.781Z] [2021-07-06T22:38:58.781Z] Login Succeeded [2021-07-06T22:38:58.781Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:38:58.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:38:59.757Z] + git log --format=format:%s -1 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] echo [2021-07-06T22:38:59.851Z] GIT_COMMIT: 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1, Commit Message: Merge pull request #273 from siggiskulason/snap-v2 [Pipeline] echo [2021-07-06T22:38:59.896Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:39:00.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:39:00.691Z] [2021-07-06T22:39:00.691Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:39:01.090Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:39:01.090Z] latest: Pulling from edgex-devops/git-semver [2021-07-06T22:39:01.090Z] 31603596830f: Pulling fs layer [2021-07-06T22:39:01.090Z] 54011a49482f: Pulling fs layer [2021-07-06T22:39:01.090Z] a6820b24f6d8: Pulling fs layer [2021-07-06T22:39:01.090Z] f581987b2513: Pulling fs layer [2021-07-06T22:39:01.090Z] f581987b2513: Waiting [2021-07-06T22:39:01.090Z] 54011a49482f: Verifying Checksum [2021-07-06T22:39:01.090Z] 54011a49482f: Download complete [2021-07-06T22:39:01.090Z] 31603596830f: Verifying Checksum [2021-07-06T22:39:01.090Z] 31603596830f: Download complete [2021-07-06T22:39:01.378Z] f581987b2513: Verifying Checksum [2021-07-06T22:39:01.378Z] f581987b2513: Download complete [2021-07-06T22:39:01.378Z] 31603596830f: Pull complete [2021-07-06T22:39:01.378Z] a6820b24f6d8: Verifying Checksum [2021-07-06T22:39:01.378Z] a6820b24f6d8: Download complete [2021-07-06T22:39:01.378Z] 54011a49482f: Pull complete [2021-07-06T22:39:01.982Z] a6820b24f6d8: Pull complete [2021-07-06T22:39:02.245Z] f581987b2513: Pull complete [2021-07-06T22:39:02.245Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-07-06T22:39:02.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:39:02.245Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-06T22:39:02.401Z] prd-centos7-docker-4c-2g-224 does not seem to be running inside a container [2021-07-06T22:39:02.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:39:03.621Z] $ docker top 33e35c38b1deabd7040a8a7c4106c23f222afb3b74c62b000d9f1fedd096b94c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-06T22:39:03.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:39:03.855Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:39:03.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:39:03.977Z] $ docker exec 33e35c38b1deabd7040a8a7c4106c23f222afb3b74c62b000d9f1fedd096b94c ssh-agent [2021-07-06T22:39:04.095Z] SSH_AUTH_SOCK=/tmp/ssh-sypBI6MItDb8/agent.14 [2021-07-06T22:39:04.095Z] SSH_AGENT_PID=21 [2021-07-06T22:39:04.106Z] Running ssh-add (command line suppressed) [2021-07-06T22:39:04.199Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3212610529095998034.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3212610529095998034.key) [2021-07-06T22:39:04.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:39:04.596Z] + git tag --points-at HEAD [Pipeline] } [2021-07-06T22:39:04.632Z] $ docker exec --env ******** --env ******** 33e35c38b1deabd7040a8a7c4106c23f222afb3b74c62b000d9f1fedd096b94c ssh-agent -k [2021-07-06T22:39:04.732Z] unset SSH_AUTH_SOCK; [2021-07-06T22:39:04.732Z] unset SSH_AGENT_PID; [2021-07-06T22:39:04.732Z] echo Agent pid 21 killed; [2021-07-06T22:39:04.750Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-07-06T22:39:04.853Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.0.0' [Pipeline] sshagent [2021-07-06T22:39:04.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:39:04.901Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:39:05.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:39:05.008Z] $ docker exec 33e35c38b1deabd7040a8a7c4106c23f222afb3b74c62b000d9f1fedd096b94c ssh-agent [2021-07-06T22:39:05.123Z] SSH_AUTH_SOCK=/tmp/ssh-9QBLrCW5xi2I/agent.55 [2021-07-06T22:39:05.123Z] SSH_AGENT_PID=62 [2021-07-06T22:39:05.129Z] Running ssh-add (command line suppressed) [2021-07-06T22:39:05.226Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6450119533751532490.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6450119533751532490.key) [2021-07-06T22:39:05.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:39:05.592Z] + git semver init [2021-07-06T22:39:05.593Z] # -> Open(): unable to determine branch for HEAD [2021-07-06T22:39:05.593Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-07-06T22:39:05.593Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-07-06T22:39:05.593Z] # $SEMVER_REMOTE_NAME = origin [2021-07-06T22:39:05.593Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-06T22:39:05.593Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-06T22:39:05.593Z] # $SEMVER_BRANCH = main [2021-07-06T22:39:05.593Z] # $SEMVER_TEMP = /tmp/semver-375659285 [2021-07-06T22:39:05.593Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-07-06T22:39:05.855Z] # '/tmp/semver-375659285' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-07-06T22:39:05.855Z] # -> Force: false [2021-07-06T22:39:05.855Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-07-06T22:39:05.874Z] $ docker exec --env ******** --env ******** 33e35c38b1deabd7040a8a7c4106c23f222afb3b74c62b000d9f1fedd096b94c ssh-agent -k [2021-07-06T22:39:05.970Z] unset SSH_AUTH_SOCK; [2021-07-06T22:39:05.970Z] unset SSH_AGENT_PID; [2021-07-06T22:39:05.970Z] echo Agent pid 62 killed; [2021-07-06T22:39:05.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:39:06.450Z] + git semver [Pipeline] } [2021-07-06T22:39:06.476Z] $ docker stop --time=1 33e35c38b1deabd7040a8a7c4106c23f222afb3b74c62b000d9f1fedd096b94c [2021-07-06T22:39:07.708Z] $ docker rm -f 33e35c38b1deabd7040a8a7c4106c23f222afb3b74c62b000d9f1fedd096b94c [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:39:08.143Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-06T22:39:08.511Z] Stashed 1 file(s) [Pipeline] echo [2021-07-06T22:39:08.535Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-07-06T22:39:24.043Z] Still waiting to schedule task [2021-07-06T22:39:24.043Z] ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:39:24.044Z] ‘prd-centos7-docker-4c-2g-215’ is offline [2021-07-06T22:39:24.044Z] ‘prd-centos7-docker-4c-2g-216’ is offline [2021-07-06T22:39:24.044Z] ‘prd-centos7-docker-4c-2g-230’ is offline [2021-07-06T22:39:24.044Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-227’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:39:24.073Z] Still waiting to schedule task [2021-07-06T22:39:24.074Z] ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:39:24.074Z] ‘prd-centos7-docker-4c-2g-215’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:39:24.074Z] ‘prd-centos7-docker-4c-2g-216’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:39:24.074Z] ‘prd-centos7-docker-4c-2g-230’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:39:24.074Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-227’ is offline [2021-07-06T22:40:53.474Z] Running on prd-centos7-docker-4c-2g-239 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-07-06T22:40:53.549Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T22:40:53.787Z] Selected Git installation does not exist. Using Default [2021-07-06T22:40:53.787Z] The recommended git tool is: NONE [2021-07-06T22:40:56.825Z] using credential edgex-jenkins-ssh [2021-07-06T22:40:56.843Z] Cloning the remote Git repository [2021-07-06T22:40:56.870Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-07-06T22:40:57.034Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-07-06T22:40:57.094Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-07-06T22:40:57.094Z] > git --version # timeout=10 [2021-07-06T22:40:57.107Z] > git --version # 'git version 2.24.4' [2021-07-06T22:40:57.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:40:57.140Z] [INFO] Currently running in a labeled security context [2021-07-06T22:40:57.141Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-06T22:40:57.143Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh7997688073588077496.key [2021-07-06T22:40:57.155Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:40:57.727Z] Avoid second fetch [2021-07-06T22:40:57.729Z] Checking out Revision 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 (main) [2021-07-06T22:40:57.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-07-06T22:40:57.716Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:40:57.739Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:40:57.751Z] > git checkout -f 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 # timeout=10 [2021-07-06T22:41:01.590Z] Commit message: "Merge pull request #273 from siggiskulason/snap-v2" [2021-07-06T22:41:01.612Z] > git --version # timeout=10 [2021-07-06T22:41:01.618Z] > git --version # 'git version 2.24.4' [2021-07-06T22:41:01.629Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:41:03.320Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:41:03.781Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:41:04.134Z] + true [2021-07-06T22:41:04.134Z] + sudo service docker restart [2021-07-06T22:41:04.134Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:41:22.512Z] provisioning config files... [2021-07-06T22:41:22.526Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4029999151625698620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:41:22.928Z] ---> docker-login.sh [2021-07-06T22:41:22.928Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:41:23.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:41:23.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:41:23.456Z] Configure a credential helper to remove this warning. See [2021-07-06T22:41:23.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:41:23.456Z] [2021-07-06T22:41:23.456Z] Login Succeeded [2021-07-06T22:41:23.456Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:41:23.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:41:23.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:41:23.456Z] Configure a credential helper to remove this warning. See [2021-07-06T22:41:23.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:41:23.456Z] [2021-07-06T22:41:23.456Z] Login Succeeded [2021-07-06T22:41:23.456Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:41:23.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:41:23.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:41:23.717Z] Configure a credential helper to remove this warning. See [2021-07-06T22:41:23.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:41:23.717Z] [2021-07-06T22:41:23.717Z] Login Succeeded [2021-07-06T22:41:23.717Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:41:23.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:41:23.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:41:23.980Z] Configure a credential helper to remove this warning. See [2021-07-06T22:41:23.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:41:23.980Z] [2021-07-06T22:41:23.980Z] Login Succeeded [2021-07-06T22:41:23.980Z] docker.io [2021-07-06T22:41:23.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:41:24.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:41:24.242Z] Configure a credential helper to remove this warning. See [2021-07-06T22:41:24.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:41:24.242Z] [2021-07-06T22:41:24.242Z] Login Succeeded [2021-07-06T22:41:24.242Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:41:24.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-06T22:41:24.589Z] ========================================================= [2021-07-06T22:41:24.589Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-06T22:41:24.589Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:41:24.955Z] + 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-07-06T22:41:24.955Z] Sending build context to Docker daemon 629.8kB [2021-07-06T22:41:24.955Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:41:24.955Z] Step 2/8 : FROM ${BASE} [2021-07-06T22:41:25.304Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-06T22:41:25.304Z] 540db60ca938: Pulling fs layer [2021-07-06T22:41:25.304Z] adcc1eea9eea: Pulling fs layer [2021-07-06T22:41:25.304Z] 4c4ab2625f07: Pulling fs layer [2021-07-06T22:41:25.304Z] 0510c868ecb4: Pulling fs layer [2021-07-06T22:41:25.304Z] afea3b2eda06: Pulling fs layer [2021-07-06T22:41:25.304Z] 7809a108b3ef: Pulling fs layer [2021-07-06T22:41:25.304Z] f706445af74f: Pulling fs layer [2021-07-06T22:41:25.304Z] 0510c868ecb4: Waiting [2021-07-06T22:41:25.304Z] afea3b2eda06: Waiting [2021-07-06T22:41:25.304Z] 7809a108b3ef: Waiting [2021-07-06T22:41:25.304Z] f706445af74f: Waiting [2021-07-06T22:41:25.304Z] 4c4ab2625f07: Verifying Checksum [2021-07-06T22:41:25.304Z] 4c4ab2625f07: Download complete [2021-07-06T22:41:25.304Z] adcc1eea9eea: Verifying Checksum [2021-07-06T22:41:25.304Z] adcc1eea9eea: Download complete [2021-07-06T22:41:25.304Z] afea3b2eda06: Verifying Checksum [2021-07-06T22:41:25.304Z] afea3b2eda06: Download complete [2021-07-06T22:41:25.304Z] 7809a108b3ef: Verifying Checksum [2021-07-06T22:41:25.304Z] 7809a108b3ef: Download complete [2021-07-06T22:41:25.304Z] 540db60ca938: Verifying Checksum [2021-07-06T22:41:25.304Z] 540db60ca938: Download complete [2021-07-06T22:41:25.304Z] 540db60ca938: Pull complete [2021-07-06T22:41:25.574Z] adcc1eea9eea: Pull complete [2021-07-06T22:41:25.574Z] 4c4ab2625f07: Pull complete [2021-07-06T22:41:26.965Z] f706445af74f: Verifying Checksum [2021-07-06T22:41:26.965Z] f706445af74f: Download complete [2021-07-06T22:41:27.224Z] 0510c868ecb4: Verifying Checksum [2021-07-06T22:41:27.224Z] 0510c868ecb4: Download complete [2021-07-06T22:41:31.479Z] 0510c868ecb4: Pull complete [2021-07-06T22:41:31.479Z] afea3b2eda06: Pull complete [2021-07-06T22:41:31.479Z] 7809a108b3ef: Pull complete [2021-07-06T22:41:32.438Z] f706445af74f: Pull complete [2021-07-06T22:41:32.438Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-06T22:41:32.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-06T22:41:32.438Z] ---> b068be0155e3 [2021-07-06T22:41:32.438Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-06T22:41:40.606Z] ---> Running in 3a1b97ac0f19 [2021-07-06T22:41:40.606Z] Removing intermediate container 3a1b97ac0f19 [2021-07-06T22:41:40.606Z] ---> c555e06e7841 [2021-07-06T22:41:40.606Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:41:40.606Z] ---> Running in b98d65f51fac [2021-07-06T22:41:40.606Z] Removing intermediate container b98d65f51fac [2021-07-06T22:41:40.606Z] ---> 7befd47d5dae [2021-07-06T22:41:40.606Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-06T22:41:40.606Z] ---> Running in 220af7eb5258 [2021-07-06T22:41:41.191Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:41:41.768Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:41:42.348Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-06T22:41:42.348Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-06T22:41:42.348Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-06T22:41:42.613Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-06T22:41:42.613Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-06T22:41:42.613Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-06T22:41:42.873Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-06T22:41:43.137Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-06T22:41:43.137Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-06T22:41:43.137Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-06T22:41:43.403Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-06T22:41:43.404Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-06T22:41:43.681Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-06T22:41:43.681Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T22:41:43.681Z] OK: 156 MiB in 53 packages [2021-07-06T22:41:44.253Z] Removing intermediate container 220af7eb5258 [2021-07-06T22:41:44.253Z] ---> 9c62a9a439aa [2021-07-06T22:41:44.253Z] Step 6/8 : WORKDIR /device-modbus-go [2021-07-06T22:41:44.514Z] ---> Running in 5eda3ac6b51e [2021-07-06T22:41:44.514Z] Removing intermediate container 5eda3ac6b51e [2021-07-06T22:41:44.514Z] ---> 056fa6c01a20 [2021-07-06T22:41:44.514Z] Step 7/8 : COPY . . [2021-07-06T22:41:44.777Z] ---> e126a7709f66 [2021-07-06T22:41:44.777Z] Step 8/8 : RUN go mod download [2021-07-06T22:41:44.777Z] ---> Running in f6ed516942c0 [2021-07-06T22:42:11.410Z] Removing intermediate container f6ed516942c0 [2021-07-06T22:42:11.410Z] ---> 84fee71fd035 [2021-07-06T22:42:11.410Z] Successfully built 84fee71fd035 [2021-07-06T22:42:11.410Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:11.745Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:42:11.745Z] . [Pipeline] withDockerContainer [2021-07-06T22:42:11.840Z] prd-centos7-docker-4c-2g-239 does not seem to be running inside a container [2021-07-06T22:42:11.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-06T22:42:12.268Z] $ docker top bc89ba731dc4bb966544897df2635599374bbe8adf00284373d2e7c064482ffd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:42:12.700Z] + go version [2021-07-06T22:42:12.700Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-06T22:42:12.732Z] $ docker stop --time=1 bc89ba731dc4bb966544897df2635599374bbe8adf00284373d2e7c064482ffd [2021-07-06T22:42:13.992Z] $ docker rm -f bc89ba731dc4bb966544897df2635599374bbe8adf00284373d2e7c064482ffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:14.767Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:42:14.768Z] . [Pipeline] withDockerContainer [2021-07-06T22:42:14.867Z] prd-centos7-docker-4c-2g-239 does not seem to be running inside a container [2021-07-06T22:42:14.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-06T22:42:15.325Z] $ docker top c1127ebe20d313943851eb954ebde7525dd3422ff2fa8d280de3bfd8df77403e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:42:15.870Z] + go mod tidy [Pipeline] sh [2021-07-06T22:42:16.653Z] + make test [2021-07-06T22:42:16.653Z] go mod tidy [2021-07-06T22:42:16.653Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-06T22:42:17.251Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-07-06T22:42:32.280Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-07-06T22:42:32.549Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.006s coverage: 47.7% of statements [2021-07-06T22:42:32.549Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-06T22:42:39.198Z] gofmt -l . [2021-07-06T22:42:39.198Z] [ "`gofmt -l .`" = "" ] [2021-07-06T22:42:39.198Z] ./bin/test-attribution-txt.sh [2021-07-06T22:42:39.198Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-06T22:42:39.485Z] $ docker stop --time=1 c1127ebe20d313943851eb954ebde7525dd3422ff2fa8d280de3bfd8df77403e [2021-07-06T22:42:40.894Z] $ docker rm -f c1127ebe20d313943851eb954ebde7525dd3422ff2fa8d280de3bfd8df77403e [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:42:41.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T22:42:41.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-06T22:42:43.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-06T22:42:43.365Z] + ls -al . [2021-07-06T22:42:43.365Z] total 120 [2021-07-06T22:42:43.365Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jul 6 22:42 . [2021-07-06T22:42:43.365Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 6 22:40 .. [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 7707 Jul 6 22:40 Attribution.txt [2021-07-06T22:42:43.365Z] drwxrwxr-x. 2 jenkins jenkins 87 Jul 6 22:40 bin [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 6038 Jul 6 22:40 CHANGELOG.md [2021-07-06T22:42:43.365Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 6 22:40 cmd [2021-07-06T22:42:43.365Z] -rw-r--r--. 1 jenkins jenkins 22385 Jul 6 22:42 coverage.out [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 1473 Jul 6 22:40 Dockerfile [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 995 Jul 6 22:40 Dockerfile.build [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 6 22:40 .dockerignore [2021-07-06T22:42:43.365Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 6 22:41 .git [2021-07-06T22:42:43.365Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 6 22:40 .github [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 338 Jul 6 22:40 .gitignore [2021-07-06T22:42:43.365Z] -rw-r--r--. 1 jenkins jenkins 414 Jul 6 22:42 go.mod [2021-07-06T22:42:43.365Z] -rw-r--r--. 1 jenkins jenkins 21529 Jul 6 22:42 go.sum [2021-07-06T22:42:43.365Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 6 22:40 internal [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 679 Jul 6 22:40 Jenkinsfile [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 6 22:40 LICENSE [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 914 Jul 6 22:40 Makefile [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 2897 Jul 6 22:40 README.md [2021-07-06T22:42:43.365Z] drwxrwxr-x. 2 jenkins jenkins 52 Jul 6 22:40 simulator [2021-07-06T22:42:43.365Z] drwxrwxr-x. 4 jenkins jenkins 71 Jul 6 22:40 snap [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 6 22:39 VERSION [2021-07-06T22:42:43.365Z] -rw-rw-r--. 1 jenkins jenkins 229 Jul 6 22:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:42:43.713Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 --label arch=amd64 --label version=2.0.1-dev.1 . [2021-07-06T22:42:43.713Z] Sending build context to Docker daemon 652.8kB [2021-07-06T22:42:43.713Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:42:43.713Z] Step 2/22 : FROM ${BASE} AS builder [2021-07-06T22:42:43.713Z] ---> 84fee71fd035 [2021-07-06T22:42:43.713Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:42:43.713Z] ---> Running in 76946bc31c3a [2021-07-06T22:42:44.298Z] Removing intermediate container 76946bc31c3a [2021-07-06T22:42:44.298Z] ---> 074853f2820d [2021-07-06T22:42:44.298Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-06T22:42:44.298Z] ---> Running in a1ca1a31d4e7 [2021-07-06T22:42:44.561Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:42:45.136Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:42:46.082Z] OK: 156 MiB in 53 packages [2021-07-06T22:42:46.344Z] Removing intermediate container a1ca1a31d4e7 [2021-07-06T22:42:46.344Z] ---> a136e9746257 [2021-07-06T22:42:46.344Z] Step 5/22 : WORKDIR /device-modbus-go [2021-07-06T22:42:46.344Z] ---> Running in 041bd665657a [2021-07-06T22:42:46.611Z] Removing intermediate container 041bd665657a [2021-07-06T22:42:46.611Z] ---> 578f14a9d502 [2021-07-06T22:42:46.611Z] Step 6/22 : COPY . . [2021-07-06T22:42:46.871Z] ---> 273273f3bacf [2021-07-06T22:42:46.872Z] Step 7/22 : RUN go mod tidy [2021-07-06T22:42:46.872Z] ---> Running in 973136c8f3ff [2021-07-06T22:42:47.445Z] Removing intermediate container 973136c8f3ff [2021-07-06T22:42:47.445Z] ---> 476fb1bca046 [2021-07-06T22:42:47.445Z] Step 8/22 : RUN go mod download [2021-07-06T22:42:47.445Z] ---> Running in 3ae195aae4cf [2021-07-06T22:42:48.020Z] Removing intermediate container 3ae195aae4cf [2021-07-06T22:42:48.020Z] ---> 6efc76ee8d8a [2021-07-06T22:42:48.020Z] Step 9/22 : RUN make build [2021-07-06T22:42:48.020Z] ---> Running in 44337b45bfcb [2021-07-06T22:42:48.284Z] go mod tidy [2021-07-06T22:42:48.285Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.1" -o cmd/device-modbus ./cmd [2021-07-06T22:43:00.656Z] Removing intermediate container 44337b45bfcb [2021-07-06T22:43:00.656Z] ---> 3f23bb802f53 [2021-07-06T22:43:00.656Z] Step 10/22 : FROM alpine:3.12 [2021-07-06T22:43:00.656Z] 3.12: Pulling from library/alpine [2021-07-06T22:43:00.656Z] 339de151aab4: Pulling fs layer [2021-07-06T22:43:00.656Z] 339de151aab4: Verifying Checksum [2021-07-06T22:43:00.656Z] 339de151aab4: Download complete [2021-07-06T22:43:00.656Z] 339de151aab4: Pull complete [2021-07-06T22:43:00.656Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-06T22:43:00.656Z] Status: Downloaded newer image for alpine:3.12 [2021-07-06T22:43:00.656Z] ---> 13621d1b12d4 [2021-07-06T22:43:00.656Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-07-06T22:43:00.656Z] ---> Running in c373d3742b94 [2021-07-06T22:43:00.656Z] Removing intermediate container c373d3742b94 [2021-07-06T22:43:00.656Z] ---> 05db79ad94c5 [2021-07-06T22:43:00.656Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:43:00.656Z] ---> Running in 837d9cd41664 [2021-07-06T22:43:00.656Z] Removing intermediate container 837d9cd41664 [2021-07-06T22:43:00.656Z] ---> b521935cc083 [2021-07-06T22:43:00.656Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-06T22:43:00.656Z] ---> Running in cfbd811edaaa [2021-07-06T22:43:00.916Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:43:01.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:43:02.084Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-06T22:43:02.084Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-06T22:43:02.084Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-06T22:43:02.352Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-06T22:43:03.298Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-06T22:43:03.298Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-06T22:43:03.298Z] Executing busybox-1.31.1-r20.trigger [2021-07-06T22:43:03.298Z] OK: 8 MiB in 20 packages [2021-07-06T22:43:03.577Z] Removing intermediate container cfbd811edaaa [2021-07-06T22:43:03.577Z] ---> c607c097bae3 [2021-07-06T22:43:03.577Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-07-06T22:43:03.848Z] ---> 6a12e61e2775 [2021-07-06T22:43:03.848Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-07-06T22:43:04.112Z] ---> ae1f042254f0 [2021-07-06T22:43:04.112Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-07-06T22:43:04.375Z] ---> a3f9230df1dd [2021-07-06T22:43:04.375Z] Step 17/22 : EXPOSE 59901 [2021-07-06T22:43:04.375Z] ---> Running in da15cbfc13bf [2021-07-06T22:43:04.663Z] Removing intermediate container da15cbfc13bf [2021-07-06T22:43:04.663Z] ---> 4062c1c6099c [2021-07-06T22:43:04.663Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-07-06T22:43:04.663Z] ---> Running in 03096bd69e90 [2021-07-06T22:43:04.956Z] Removing intermediate container 03096bd69e90 [2021-07-06T22:43:04.956Z] ---> d05565465b62 [2021-07-06T22:43:04.956Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-06T22:43:04.956Z] ---> Running in 7a675f1261a9 [2021-07-06T22:43:05.229Z] Removing intermediate container 7a675f1261a9 [2021-07-06T22:43:05.229Z] ---> 8c091cda16c3 [2021-07-06T22:43:05.229Z] Step 20/22 : LABEL arch=amd64 [2021-07-06T22:43:05.229Z] ---> Running in 08783b0e0324 [2021-07-06T22:43:05.496Z] Removing intermediate container 08783b0e0324 [2021-07-06T22:43:05.496Z] ---> 02a0d9e7aa00 [2021-07-06T22:43:05.496Z] Step 21/22 : LABEL git_sha=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-07-06T22:43:05.496Z] ---> Running in 53eef67ca6d1 [2021-07-06T22:43:05.496Z] Removing intermediate container 53eef67ca6d1 [2021-07-06T22:43:05.496Z] ---> 1eb04f11dc86 [2021-07-06T22:43:05.496Z] Step 22/22 : LABEL version=2.0.1-dev.1 [2021-07-06T22:43:05.496Z] ---> Running in 5e677c452996 [2021-07-06T22:43:05.496Z] Removing intermediate container 5e677c452996 [2021-07-06T22:43:05.496Z] ---> 6d67adc63ddc [2021-07-06T22:43:05.496Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-06T22:43:05.496Z] Successfully built 6d67adc63ddc [2021-07-06T22:43:05.496Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:43:05.953Z] provisioning config files... [2021-07-06T22:43:05.977Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5898244853017637415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:43:06.429Z] ---> docker-login.sh [2021-07-06T22:43:06.429Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:43:06.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:43:06.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:43:06.430Z] Configure a credential helper to remove this warning. See [2021-07-06T22:43:06.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:43:06.430Z] [2021-07-06T22:43:06.430Z] Login Succeeded [2021-07-06T22:43:06.430Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:43:06.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:43:06.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:43:06.430Z] Configure a credential helper to remove this warning. See [2021-07-06T22:43:06.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:43:06.430Z] [2021-07-06T22:43:06.430Z] Login Succeeded [2021-07-06T22:43:06.430Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:43:06.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:43:06.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:43:06.702Z] Configure a credential helper to remove this warning. See [2021-07-06T22:43:06.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:43:06.702Z] [2021-07-06T22:43:06.702Z] Login Succeeded [2021-07-06T22:43:06.702Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:43:06.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:43:06.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:43:06.702Z] Configure a credential helper to remove this warning. See [2021-07-06T22:43:06.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:43:06.702Z] [2021-07-06T22:43:06.702Z] Login Succeeded [2021-07-06T22:43:06.702Z] docker.io [2021-07-06T22:43:06.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:43:07.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:43:07.243Z] Configure a credential helper to remove this warning. See [2021-07-06T22:43:07.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:43:07.243Z] [2021-07-06T22:43:07.243Z] Login Succeeded [2021-07-06T22:43:07.243Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:43:07.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T22:43:07.547Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-07-06T22:43:07.548Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-07-06T22:43:07.548Z] latest [2021-07-06T22:43:07.548Z] 2.0.1-dev.1 [2021-07-06T22:43:07.548Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1 [2021-07-06T22:43:07.548Z] main [2021-07-06T22:43:07.548Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:08.073Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:08.462Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-07-06T22:43:08.462Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-06T22:43:08.462Z] 028d6b4f8430: Preparing [2021-07-06T22:43:08.462Z] 2f9c0fb5d491: Preparing [2021-07-06T22:43:08.462Z] ec5b2ba8e6d3: Preparing [2021-07-06T22:43:08.462Z] 72ebf6269497: Preparing [2021-07-06T22:43:08.462Z] 665d330893e9: Preparing [2021-07-06T22:43:08.462Z] 32f366d666a5: Preparing [2021-07-06T22:43:08.462Z] 32f366d666a5: Waiting [2021-07-06T22:43:08.729Z] 2f9c0fb5d491: Pushed [2021-07-06T22:43:08.729Z] 028d6b4f8430: Pushed [2021-07-06T22:43:08.729Z] 32f366d666a5: Layer already exists [2021-07-06T22:43:08.729Z] 665d330893e9: Pushed [2021-07-06T22:43:08.729Z] 72ebf6269497: Pushed [2021-07-06T22:43:10.657Z] ec5b2ba8e6d3: Pushed [2021-07-06T22:43:10.919Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1: digest: sha256:079e86bb54416a4761dc56595e520a8588fd7ad1df7e5892d91b989f026c681b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:11.279Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:11.618Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-07-06T22:43:11.618Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-06T22:43:11.618Z] 028d6b4f8430: Preparing [2021-07-06T22:43:11.618Z] 2f9c0fb5d491: Preparing [2021-07-06T22:43:11.618Z] ec5b2ba8e6d3: Preparing [2021-07-06T22:43:11.618Z] 72ebf6269497: Preparing [2021-07-06T22:43:11.618Z] 665d330893e9: Preparing [2021-07-06T22:43:11.618Z] 32f366d666a5: Preparing [2021-07-06T22:43:11.618Z] 32f366d666a5: Waiting [2021-07-06T22:43:11.618Z] 72ebf6269497: Layer already exists [2021-07-06T22:43:11.618Z] 028d6b4f8430: Layer already exists [2021-07-06T22:43:11.618Z] 665d330893e9: Layer already exists [2021-07-06T22:43:11.618Z] 2f9c0fb5d491: Layer already exists [2021-07-06T22:43:11.618Z] 32f366d666a5: Layer already exists [2021-07-06T22:43:11.882Z] ec5b2ba8e6d3: Layer already exists [2021-07-06T22:43:11.882Z] latest: digest: sha256:079e86bb54416a4761dc56595e520a8588fd7ad1df7e5892d91b989f026c681b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:12.255Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:12.600Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.1 [2021-07-06T22:43:12.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-06T22:43:12.600Z] 028d6b4f8430: Preparing [2021-07-06T22:43:12.600Z] 2f9c0fb5d491: Preparing [2021-07-06T22:43:12.600Z] ec5b2ba8e6d3: Preparing [2021-07-06T22:43:12.600Z] 72ebf6269497: Preparing [2021-07-06T22:43:12.600Z] 665d330893e9: Preparing [2021-07-06T22:43:12.600Z] 32f366d666a5: Preparing [2021-07-06T22:43:12.600Z] 32f366d666a5: Waiting [2021-07-06T22:43:12.600Z] 72ebf6269497: Layer already exists [2021-07-06T22:43:12.600Z] 665d330893e9: Layer already exists [2021-07-06T22:43:12.600Z] ec5b2ba8e6d3: Layer already exists [2021-07-06T22:43:12.600Z] 2f9c0fb5d491: Layer already exists [2021-07-06T22:43:12.600Z] 028d6b4f8430: Layer already exists [2021-07-06T22:43:12.600Z] 32f366d666a5: Layer already exists [2021-07-06T22:43:12.600Z] 2.0.1-dev.1: digest: sha256:079e86bb54416a4761dc56595e520a8588fd7ad1df7e5892d91b989f026c681b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:12.938Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:13.279Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1 [2021-07-06T22:43:13.280Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-06T22:43:13.280Z] 028d6b4f8430: Preparing [2021-07-06T22:43:13.280Z] 2f9c0fb5d491: Preparing [2021-07-06T22:43:13.280Z] ec5b2ba8e6d3: Preparing [2021-07-06T22:43:13.280Z] 72ebf6269497: Preparing [2021-07-06T22:43:13.280Z] 665d330893e9: Preparing [2021-07-06T22:43:13.280Z] 32f366d666a5: Preparing [2021-07-06T22:43:13.280Z] 32f366d666a5: Waiting [2021-07-06T22:43:13.280Z] 665d330893e9: Layer already exists [2021-07-06T22:43:13.280Z] ec5b2ba8e6d3: Layer already exists [2021-07-06T22:43:13.280Z] 028d6b4f8430: Layer already exists [2021-07-06T22:43:13.280Z] 2f9c0fb5d491: Layer already exists [2021-07-06T22:43:13.280Z] 72ebf6269497: Layer already exists [2021-07-06T22:43:13.280Z] 32f366d666a5: Layer already exists [2021-07-06T22:43:13.280Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1: digest: sha256:079e86bb54416a4761dc56595e520a8588fd7ad1df7e5892d91b989f026c681b size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:13.615Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:13.945Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-07-06T22:43:13.946Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-07-06T22:43:13.946Z] 028d6b4f8430: Preparing [2021-07-06T22:43:13.946Z] 2f9c0fb5d491: Preparing [2021-07-06T22:43:13.946Z] ec5b2ba8e6d3: Preparing [2021-07-06T22:43:13.946Z] 72ebf6269497: Preparing [2021-07-06T22:43:13.946Z] 665d330893e9: Preparing [2021-07-06T22:43:13.946Z] 32f366d666a5: Preparing [2021-07-06T22:43:13.946Z] 32f366d666a5: Waiting [2021-07-06T22:43:13.946Z] 665d330893e9: Layer already exists [2021-07-06T22:43:13.946Z] 2f9c0fb5d491: Layer already exists [2021-07-06T22:43:13.946Z] ec5b2ba8e6d3: Layer already exists [2021-07-06T22:43:13.946Z] 028d6b4f8430: Layer already exists [2021-07-06T22:43:13.946Z] 72ebf6269497: Layer already exists [2021-07-06T22:43:13.946Z] 32f366d666a5: Layer already exists [2021-07-06T22:43:13.946Z] main: digest: sha256:079e86bb54416a4761dc56595e520a8588fd7ad1df7e5892d91b989f026c681b size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T22:43:14.113Z] ===================================================== [Pipeline] echo [2021-07-06T22:43:14.161Z] taggedImages: [2021-07-06T22:43:14.161Z] - nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-07-06T22:43:14.161Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-07-06T22:43:14.161Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.1 [2021-07-06T22:43:14.161Z] - nexus3.edgexfoundry.org:10004/device-modbus:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1 [2021-07-06T22:43:14.161Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:43:15.354Z] ---> job-cost.sh [2021-07-06T22:43:15.354Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-U8Tx [2021-07-06T22:43:25.408Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T22:43:37.693Z] lf-activate-venv(): INFO: Adding /tmp/venv-U8Tx/bin to PATH [2021-07-06T22:43:37.693Z] INFO: No Stack... [2021-07-06T22:43:37.693Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T22:43:37.954Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T22:43:38.302Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-07-06T22:43:38.302Z] + cut -d, -f6 [Pipeline] lock [2021-07-06T22:43:38.384Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-1-stack-cost] [2021-07-06T22:43:38.390Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-1-stack-cost] did not exist. Created. [2021-07-06T22:43:38.391Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:43:38.862Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-06T22:43:38.967Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T22:43:38.989Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-06T22:59:29.603Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1162 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-07-06T22:59:29.680Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T22:59:29.931Z] Selected Git installation does not exist. Using Default [2021-07-06T22:59:29.932Z] The recommended git tool is: NONE [2021-07-06T22:59:35.338Z] using credential edgex-jenkins-ssh [2021-07-06T22:59:35.399Z] Cloning the remote Git repository [2021-07-06T22:59:35.452Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-07-06T22:59:35.554Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-07-06T22:59:35.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-07-06T22:59:35.626Z] > git --version # timeout=10 [2021-07-06T22:59:35.690Z] > git --version # 'git version 2.17.1' [2021-07-06T22:59:35.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:59:35.806Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:59:37.250Z] Avoid second fetch [2021-07-06T22:59:37.251Z] Checking out Revision 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 (main) [2021-07-06T22:59:37.195Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-07-06T22:59:37.215Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:59:37.271Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:59:37.284Z] > git checkout -f 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 # timeout=10 [2021-07-06T22:59:41.523Z] Commit message: "Merge pull request #273 from siggiskulason/snap-v2" [2021-07-06T22:59:41.580Z] > git --version # timeout=10 [2021-07-06T22:59:41.592Z] > git --version # 'git version 2.17.1' [2021-07-06T22:59:41.606Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:59:43.099Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:59:43.619Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:59:44.003Z] + sudo service docker+ true [2021-07-06T22:59:44.004Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:00:02.429Z] provisioning config files... [2021-07-06T23:00:02.461Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7313755929555094603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:00:02.906Z] ---> docker-login.sh [2021-07-06T23:00:02.906Z] nexus3.edgexfoundry.org:10001 [2021-07-06T23:00:03.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:04.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:04.107Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:04.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:04.107Z] [2021-07-06T23:00:04.107Z] Login Succeeded [2021-07-06T23:00:04.107Z] nexus3.edgexfoundry.org:10002 [2021-07-06T23:00:04.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:04.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:04.663Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:04.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:04.663Z] [2021-07-06T23:00:04.663Z] Login Succeeded [2021-07-06T23:00:04.663Z] nexus3.edgexfoundry.org:10003 [2021-07-06T23:00:04.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:05.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:05.217Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:05.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:05.217Z] [2021-07-06T23:00:05.217Z] Login Succeeded [2021-07-06T23:00:05.217Z] nexus3.edgexfoundry.org:10004 [2021-07-06T23:00:05.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:05.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:05.766Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:05.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:05.766Z] [2021-07-06T23:00:05.766Z] Login Succeeded [2021-07-06T23:00:05.766Z] docker.io [2021-07-06T23:00:06.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:06.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:06.644Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:06.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:06.644Z] [2021-07-06T23:00:06.644Z] Login Succeeded [2021-07-06T23:00:06.644Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T23:00:06.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-06T23:00:07.380Z] ========================================================= [2021-07-06T23:00:07.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-06T23:00:07.380Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:00:07.827Z] + 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-07-06T23:00:08.104Z] Sending build context to Docker daemon 629.2kB [2021-07-06T23:00:08.385Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T23:00:08.385Z] Step 2/8 : FROM ${BASE} [2021-07-06T23:00:08.385Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-06T23:00:08.385Z] 595b0fe564bb: Pulling fs layer [2021-07-06T23:00:08.385Z] 3088b5b3c5c0: Pulling fs layer [2021-07-06T23:00:08.385Z] 5b7225fbf94c: Pulling fs layer [2021-07-06T23:00:08.385Z] ba82ee9f976e: Pulling fs layer [2021-07-06T23:00:08.385Z] 506bd15cee9f: Pulling fs layer [2021-07-06T23:00:08.385Z] 75a0a4a0db45: Pulling fs layer [2021-07-06T23:00:08.385Z] 618dc40b7e24: Pulling fs layer [2021-07-06T23:00:08.385Z] ba82ee9f976e: Waiting [2021-07-06T23:00:08.385Z] 506bd15cee9f: Waiting [2021-07-06T23:00:08.385Z] 75a0a4a0db45: Waiting [2021-07-06T23:00:08.385Z] 618dc40b7e24: Waiting [2021-07-06T23:00:08.385Z] 5b7225fbf94c: Verifying Checksum [2021-07-06T23:00:08.385Z] 5b7225fbf94c: Download complete [2021-07-06T23:00:08.662Z] 3088b5b3c5c0: Download complete [2021-07-06T23:00:08.662Z] 506bd15cee9f: Verifying Checksum [2021-07-06T23:00:08.662Z] 506bd15cee9f: Download complete [2021-07-06T23:00:08.662Z] 75a0a4a0db45: Download complete [2021-07-06T23:00:08.662Z] 595b0fe564bb: Download complete [2021-07-06T23:00:09.269Z] 595b0fe564bb: Pull complete [2021-07-06T23:00:09.904Z] 3088b5b3c5c0: Pull complete [2021-07-06T23:00:10.553Z] 5b7225fbf94c: Pull complete [2021-07-06T23:00:11.157Z] 618dc40b7e24: Verifying Checksum [2021-07-06T23:00:11.157Z] 618dc40b7e24: Download complete [2021-07-06T23:00:13.141Z] ba82ee9f976e: Verifying Checksum [2021-07-06T23:00:13.141Z] ba82ee9f976e: Download complete [2021-07-06T23:00:23.310Z] ba82ee9f976e: Pull complete [2021-07-06T23:00:23.310Z] 506bd15cee9f: Pull complete [2021-07-06T23:00:23.916Z] 75a0a4a0db45: Pull complete [2021-07-06T23:00:28.267Z] 618dc40b7e24: Pull complete [2021-07-06T23:00:28.267Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-06T23:00:28.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-06T23:00:28.267Z] ---> a36622ca3599 [2021-07-06T23:00:28.267Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-07-06T23:00:29.713Z] ---> Running in 111a4374d7f0 [2021-07-06T23:00:29.989Z] Removing intermediate container 111a4374d7f0 [2021-07-06T23:00:29.989Z] ---> 35c4a58e8893 [2021-07-06T23:00:29.989Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T23:00:30.259Z] ---> Running in dec722ee2b4d [2021-07-06T23:00:32.239Z] Removing intermediate container dec722ee2b4d [2021-07-06T23:00:32.239Z] ---> 99adecdb1a85 [2021-07-06T23:00:32.239Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-06T23:00:32.515Z] ---> Running in 01be47f70828 [2021-07-06T23:00:33.965Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:00:34.572Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:00:35.548Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-07-06T23:00:35.548Z] (2/13) Installing libsodium (1.0.18-r0) [2021-07-06T23:00:35.820Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-07-06T23:00:35.820Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-07-06T23:00:35.820Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-07-06T23:00:36.092Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-07-06T23:00:36.092Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-07-06T23:00:36.363Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-07-06T23:00:36.648Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-07-06T23:00:36.648Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-07-06T23:00:36.648Z] (11/13) Installing openssh (8.4_p1-r3) [2021-07-06T23:00:36.923Z] (12/13) Installing libzmq (4.3.3-r1) [2021-07-06T23:00:36.923Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-07-06T23:00:36.923Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T23:00:36.923Z] OK: 145 MiB in 53 packages [2021-07-06T23:00:38.365Z] Removing intermediate container 01be47f70828 [2021-07-06T23:00:38.365Z] ---> b669708a611b [2021-07-06T23:00:38.365Z] Step 6/8 : WORKDIR /device-modbus-go [2021-07-06T23:00:38.692Z] ---> Running in afd3f0b95e28 [2021-07-06T23:00:38.966Z] Removing intermediate container afd3f0b95e28 [2021-07-06T23:00:38.966Z] ---> b8fafedd2b8c [2021-07-06T23:00:38.966Z] Step 7/8 : COPY . . [2021-07-06T23:00:39.946Z] ---> 54c479737f74 [2021-07-06T23:00:39.946Z] Step 8/8 : RUN go mod download [2021-07-06T23:00:40.222Z] ---> Running in 44792ae07af6 [2021-07-06T23:01:07.035Z] Removing intermediate container 44792ae07af6 [2021-07-06T23:01:07.035Z] ---> fe3202e79077 [2021-07-06T23:01:07.035Z] Successfully built fe3202e79077 [2021-07-06T23:01:07.035Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:01:07.410Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T23:01:07.410Z] . [Pipeline] withDockerContainer [2021-07-06T23:01:07.710Z] prd-ubuntu18.04-docker-arm64-4c-16g-1162 does not seem to be running inside a container [2021-07-06T23:01:07.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-06T23:01:09.417Z] $ docker top 8755203c2f3a5d45693315637be195a3c1843a9afd2156f506fa7aaa5b811f98 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:01:10.414Z] + go version [2021-07-06T23:01:10.414Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-06T23:01:10.471Z] $ docker stop --time=1 8755203c2f3a5d45693315637be195a3c1843a9afd2156f506fa7aaa5b811f98 [2021-07-06T23:01:12.297Z] $ docker rm -f 8755203c2f3a5d45693315637be195a3c1843a9afd2156f506fa7aaa5b811f98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:01:13.356Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T23:01:13.356Z] . [Pipeline] withDockerContainer [2021-07-06T23:01:13.653Z] prd-ubuntu18.04-docker-arm64-4c-16g-1162 does not seem to be running inside a container [2021-07-06T23:01:13.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-06T23:01:15.316Z] $ docker top 30a78e04f4e4bfe199fd1b521afa2676c77b5cb8eb422173c5907054f9decfc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:01:16.329Z] + go mod tidy [Pipeline] sh [2021-07-06T23:01:17.624Z] + make test [2021-07-06T23:01:17.624Z] go mod tidy [2021-07-06T23:01:18.226Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-06T23:01:19.208Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-07-06T23:02:15.825Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-07-06T23:02:15.825Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.045s coverage: 47.7% of statements [2021-07-06T23:02:15.825Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-06T23:02:38.037Z] gofmt -l . [2021-07-06T23:02:38.037Z] [ "`gofmt -l .`" = "" ] [2021-07-06T23:02:38.037Z] ./bin/test-attribution-txt.sh [2021-07-06T23:02:38.037Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-06T23:02:38.072Z] $ docker stop --time=1 30a78e04f4e4bfe199fd1b521afa2676c77b5cb8eb422173c5907054f9decfc6 [2021-07-06T23:02:40.153Z] $ docker rm -f 30a78e04f4e4bfe199fd1b521afa2676c77b5cb8eb422173c5907054f9decfc6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T23:02:41.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T23:02:41.080Z] Warning: overwriting stash ‘coverage-report’ [2021-07-06T23:02:41.562Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T23:02:42.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-06T23:02:42.641Z] + ls -al . [2021-07-06T23:02:42.642Z] total 152 [2021-07-06T23:02:42.642Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 6 23:02 . [2021-07-06T23:02:42.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:59 .. [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 6 22:59 .dockerignore [2021-07-06T23:02:42.642Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 22:59 .git [2021-07-06T23:02:42.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:59 .github [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 338 Jul 6 22:59 .gitignore [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 7707 Jul 6 22:59 Attribution.txt [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jul 6 22:59 CHANGELOG.md [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 1473 Jul 6 22:59 Dockerfile [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 995 Jul 6 22:59 Dockerfile.build [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 679 Jul 6 22:59 Jenkinsfile [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 6 22:59 LICENSE [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 914 Jul 6 22:59 Makefile [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 2897 Jul 6 22:59 README.md [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 22:39 VERSION [2021-07-06T23:02:42.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:59 bin [2021-07-06T23:02:42.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:59 cmd [2021-07-06T23:02:42.642Z] -rw-r--r-- 1 jenkins jenkins 22385 Jul 6 23:02 coverage.out [2021-07-06T23:02:42.642Z] -rw-r--r-- 1 jenkins jenkins 414 Jul 6 23:02 go.mod [2021-07-06T23:02:42.642Z] -rw-r--r-- 1 jenkins jenkins 21529 Jul 6 23:01 go.sum [2021-07-06T23:02:42.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:59 internal [2021-07-06T23:02:42.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:59 simulator [2021-07-06T23:02:42.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:59 snap [2021-07-06T23:02:42.642Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 6 22:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:02:43.054Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 --label arch=arm64 --label version=2.0.1-dev.1 . [2021-07-06T23:02:43.344Z] Sending build context to Docker daemon 652.3kB [2021-07-06T23:02:43.659Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T23:02:43.659Z] Step 2/22 : FROM ${BASE} AS builder [2021-07-06T23:02:43.659Z] ---> fe3202e79077 [2021-07-06T23:02:43.659Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T23:02:43.659Z] ---> Running in c0abe1cb82d0 [2021-07-06T23:02:46.332Z] Removing intermediate container c0abe1cb82d0 [2021-07-06T23:02:46.333Z] ---> ad38bf78c623 [2021-07-06T23:02:46.333Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-07-06T23:02:46.333Z] ---> Running in 44c398ad46be [2021-07-06T23:02:47.313Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:02:48.288Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:02:49.275Z] OK: 145 MiB in 53 packages [2021-07-06T23:02:50.253Z] Removing intermediate container 44c398ad46be [2021-07-06T23:02:50.253Z] ---> f71326f7f320 [2021-07-06T23:02:50.253Z] Step 5/22 : WORKDIR /device-modbus-go [2021-07-06T23:02:50.253Z] ---> Running in 2f3bd2918233 [2021-07-06T23:02:50.857Z] Removing intermediate container 2f3bd2918233 [2021-07-06T23:02:50.857Z] ---> 2648cbc5d4d9 [2021-07-06T23:02:50.857Z] Step 6/22 : COPY . . [2021-07-06T23:02:51.838Z] ---> d8ea2c0a7328 [2021-07-06T23:02:51.838Z] Step 7/22 : RUN go mod tidy [2021-07-06T23:02:51.838Z] ---> Running in 1a568f3509bb [2021-07-06T23:02:54.466Z] Removing intermediate container 1a568f3509bb [2021-07-06T23:02:54.466Z] ---> 4f9d7f7c9f70 [2021-07-06T23:02:54.466Z] Step 8/22 : RUN go mod download [2021-07-06T23:02:54.740Z] ---> Running in 735a841bcf83 [2021-07-06T23:02:57.372Z] Removing intermediate container 735a841bcf83 [2021-07-06T23:02:57.372Z] ---> ebdd474bffe1 [2021-07-06T23:02:57.372Z] Step 9/22 : RUN make build [2021-07-06T23:02:57.372Z] ---> Running in 73572c710a2c [2021-07-06T23:02:58.351Z] go mod tidy [2021-07-06T23:02:58.968Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.1" -o cmd/device-modbus ./cmd [2021-07-06T23:03:38.092Z] Removing intermediate container 73572c710a2c [2021-07-06T23:03:38.093Z] ---> e06d3ec9a179 [2021-07-06T23:03:38.093Z] Step 10/22 : FROM alpine:3.12 [2021-07-06T23:03:38.093Z] 3.12: Pulling from library/alpine [2021-07-06T23:03:38.093Z] d2f70382dc9a: Pulling fs layer [2021-07-06T23:03:38.093Z] d2f70382dc9a: Download complete [2021-07-06T23:03:38.093Z] d2f70382dc9a: Pull complete [2021-07-06T23:03:38.093Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-06T23:03:38.093Z] Status: Downloaded newer image for alpine:3.12 [2021-07-06T23:03:38.093Z] ---> c4fd0aeabfcf [2021-07-06T23:03:38.093Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-07-06T23:03:38.093Z] ---> Running in 60862d779225 [2021-07-06T23:03:38.093Z] Removing intermediate container 60862d779225 [2021-07-06T23:03:38.093Z] ---> 385e33f97c23 [2021-07-06T23:03:38.093Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T23:03:38.093Z] ---> Running in 90dd5dd2d551 [2021-07-06T23:03:38.093Z] Removing intermediate container 90dd5dd2d551 [2021-07-06T23:03:38.093Z] ---> a53fc2a2dc12 [2021-07-06T23:03:38.093Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-06T23:03:38.093Z] ---> Running in 65de06a53150 [2021-07-06T23:03:38.367Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:03:39.339Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:03:39.946Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-06T23:03:39.946Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-06T23:03:39.946Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-06T23:03:40.217Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-06T23:03:40.217Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-06T23:03:40.492Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-06T23:03:40.492Z] Executing busybox-1.31.1-r20.trigger [2021-07-06T23:03:40.492Z] OK: 8 MiB in 20 packages [2021-07-06T23:03:41.475Z] Removing intermediate container 65de06a53150 [2021-07-06T23:03:41.475Z] ---> 906c1b941f56 [2021-07-06T23:03:41.475Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-07-06T23:03:42.915Z] ---> 1d2c1ea6955a [2021-07-06T23:03:42.915Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-07-06T23:03:43.510Z] ---> 0242c69214ef [2021-07-06T23:03:43.510Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-07-06T23:03:44.496Z] ---> e7ccb912dd29 [2021-07-06T23:03:44.496Z] Step 17/22 : EXPOSE 59901 [2021-07-06T23:03:44.496Z] ---> Running in 7986b6b4ded7 [2021-07-06T23:03:45.091Z] Removing intermediate container 7986b6b4ded7 [2021-07-06T23:03:45.091Z] ---> 88700f92c58d [2021-07-06T23:03:45.091Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-07-06T23:03:45.091Z] ---> Running in c0200f32c586 [2021-07-06T23:03:45.685Z] Removing intermediate container c0200f32c586 [2021-07-06T23:03:45.685Z] ---> fc342e3bb600 [2021-07-06T23:03:45.685Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-06T23:03:45.685Z] ---> Running in afeb6195ebeb [2021-07-06T23:03:46.277Z] Removing intermediate container afeb6195ebeb [2021-07-06T23:03:46.277Z] ---> c165919de65b [2021-07-06T23:03:46.277Z] Step 20/22 : LABEL arch=arm64 [2021-07-06T23:03:46.549Z] ---> Running in 45b6adab619a [2021-07-06T23:03:46.820Z] Removing intermediate container 45b6adab619a [2021-07-06T23:03:46.820Z] ---> 533b7476a14e [2021-07-06T23:03:46.820Z] Step 21/22 : LABEL git_sha=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-07-06T23:03:47.096Z] ---> Running in 8f5ed816d081 [2021-07-06T23:03:47.367Z] Removing intermediate container 8f5ed816d081 [2021-07-06T23:03:47.367Z] ---> 83e825721336 [2021-07-06T23:03:47.367Z] Step 22/22 : LABEL version=2.0.1-dev.1 [2021-07-06T23:03:47.641Z] ---> Running in fe64a243dbbe [2021-07-06T23:03:47.911Z] Removing intermediate container fe64a243dbbe [2021-07-06T23:03:47.911Z] ---> 5b8e860cbfc8 [2021-07-06T23:03:47.911Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-07-06T23:03:47.911Z] Successfully built 5b8e860cbfc8 [2021-07-06T23:03:48.182Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:03:48.667Z] provisioning config files... [2021-07-06T23:03:48.694Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1730047466191562454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:03:49.112Z] ---> docker-login.sh [2021-07-06T23:03:49.112Z] nexus3.edgexfoundry.org:10001 [2021-07-06T23:03:49.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:03:49.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:03:49.658Z] Configure a credential helper to remove this warning. See [2021-07-06T23:03:49.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:03:49.658Z] [2021-07-06T23:03:49.658Z] Login Succeeded [2021-07-06T23:03:49.658Z] nexus3.edgexfoundry.org:10002 [2021-07-06T23:03:49.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:03:50.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:03:50.202Z] Configure a credential helper to remove this warning. See [2021-07-06T23:03:50.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:03:50.202Z] [2021-07-06T23:03:50.202Z] Login Succeeded [2021-07-06T23:03:50.202Z] nexus3.edgexfoundry.org:10003 [2021-07-06T23:03:50.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:03:50.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:03:50.752Z] Configure a credential helper to remove this warning. See [2021-07-06T23:03:50.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:03:50.752Z] [2021-07-06T23:03:50.752Z] Login Succeeded [2021-07-06T23:03:50.752Z] nexus3.edgexfoundry.org:10004 [2021-07-06T23:03:51.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:03:51.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:03:51.299Z] Configure a credential helper to remove this warning. See [2021-07-06T23:03:51.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:03:51.299Z] [2021-07-06T23:03:51.299Z] Login Succeeded [2021-07-06T23:03:51.299Z] docker.io [2021-07-06T23:03:51.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:03:52.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:03:52.164Z] Configure a credential helper to remove this warning. See [2021-07-06T23:03:52.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:03:52.164Z] [2021-07-06T23:03:52.164Z] Login Succeeded [2021-07-06T23:03:52.164Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T23:03:52.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T23:03:52.359Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-07-06T23:03:52.359Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-07-06T23:03:52.359Z] latest [2021-07-06T23:03:52.359Z] 2.0.1-dev.1 [2021-07-06T23:03:52.359Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1 [2021-07-06T23:03:52.359Z] main [2021-07-06T23:03:52.359Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:03:52.879Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:03:53.257Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-07-06T23:03:53.257Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-06T23:03:53.257Z] 793cc874e0d6: Preparing [2021-07-06T23:03:53.257Z] cef4f60029d7: Preparing [2021-07-06T23:03:53.257Z] 3ecba8c7e941: Preparing [2021-07-06T23:03:53.257Z] 066851bd60ff: Preparing [2021-07-06T23:03:53.257Z] 0a1602626fc3: Preparing [2021-07-06T23:03:53.257Z] 3fbe34a1663b: Preparing [2021-07-06T23:03:53.257Z] 3fbe34a1663b: Waiting [2021-07-06T23:03:53.529Z] cef4f60029d7: Pushed [2021-07-06T23:03:53.529Z] 0a1602626fc3: Pushed [2021-07-06T23:03:53.529Z] 793cc874e0d6: Pushed [2021-07-06T23:03:53.803Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:03:54.396Z] 066851bd60ff: Pushed [2021-07-06T23:03:56.374Z] 3ecba8c7e941: Pushed [2021-07-06T23:03:56.648Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1: digest: sha256:fee7338f297a40dd2a84a9cf6aca55607e5f2846053940efc1beba552bb4f4ab size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:03:57.030Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:03:57.405Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-07-06T23:03:57.405Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-06T23:03:57.405Z] 793cc874e0d6: Preparing [2021-07-06T23:03:57.405Z] cef4f60029d7: Preparing [2021-07-06T23:03:57.405Z] 3ecba8c7e941: Preparing [2021-07-06T23:03:57.405Z] 066851bd60ff: Preparing [2021-07-06T23:03:57.405Z] 0a1602626fc3: Preparing [2021-07-06T23:03:57.405Z] 3fbe34a1663b: Preparing [2021-07-06T23:03:57.405Z] 3fbe34a1663b: Waiting [2021-07-06T23:03:57.405Z] 0a1602626fc3: Layer already exists [2021-07-06T23:03:57.405Z] cef4f60029d7: Layer already exists [2021-07-06T23:03:57.405Z] 3ecba8c7e941: Layer already exists [2021-07-06T23:03:57.405Z] 066851bd60ff: Layer already exists [2021-07-06T23:03:57.405Z] 793cc874e0d6: Layer already exists [2021-07-06T23:03:57.405Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:03:57.676Z] latest: digest: sha256:fee7338f297a40dd2a84a9cf6aca55607e5f2846053940efc1beba552bb4f4ab size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:03:58.058Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:03:58.432Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.1 [2021-07-06T23:03:58.433Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-06T23:03:58.433Z] 793cc874e0d6: Preparing [2021-07-06T23:03:58.433Z] cef4f60029d7: Preparing [2021-07-06T23:03:58.433Z] 3ecba8c7e941: Preparing [2021-07-06T23:03:58.433Z] 066851bd60ff: Preparing [2021-07-06T23:03:58.433Z] 0a1602626fc3: Preparing [2021-07-06T23:03:58.433Z] 3fbe34a1663b: Preparing [2021-07-06T23:03:58.433Z] 3fbe34a1663b: Waiting [2021-07-06T23:03:58.710Z] 066851bd60ff: Layer already exists [2021-07-06T23:03:58.710Z] cef4f60029d7: Layer already exists [2021-07-06T23:03:58.710Z] 0a1602626fc3: Layer already exists [2021-07-06T23:03:58.710Z] 3ecba8c7e941: Layer already exists [2021-07-06T23:03:58.710Z] 793cc874e0d6: Layer already exists [2021-07-06T23:03:58.710Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:03:58.710Z] 2.0.1-dev.1: digest: sha256:fee7338f297a40dd2a84a9cf6aca55607e5f2846053940efc1beba552bb4f4ab size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:03:59.091Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:03:59.471Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1 [2021-07-06T23:03:59.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-06T23:03:59.471Z] 793cc874e0d6: Preparing [2021-07-06T23:03:59.471Z] cef4f60029d7: Preparing [2021-07-06T23:03:59.471Z] 3ecba8c7e941: Preparing [2021-07-06T23:03:59.471Z] 066851bd60ff: Preparing [2021-07-06T23:03:59.471Z] 0a1602626fc3: Preparing [2021-07-06T23:03:59.471Z] 3fbe34a1663b: Preparing [2021-07-06T23:03:59.471Z] 3fbe34a1663b: Waiting [2021-07-06T23:03:59.471Z] 793cc874e0d6: Layer already exists [2021-07-06T23:03:59.471Z] 0a1602626fc3: Layer already exists [2021-07-06T23:03:59.471Z] 3ecba8c7e941: Layer already exists [2021-07-06T23:03:59.471Z] 066851bd60ff: Layer already exists [2021-07-06T23:03:59.471Z] cef4f60029d7: Layer already exists [2021-07-06T23:03:59.743Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:03:59.743Z] 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1: digest: sha256:fee7338f297a40dd2a84a9cf6aca55607e5f2846053940efc1beba552bb4f4ab size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:04:00.140Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:04:00.517Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-07-06T23:04:00.517Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-07-06T23:04:00.517Z] 793cc874e0d6: Preparing [2021-07-06T23:04:00.517Z] cef4f60029d7: Preparing [2021-07-06T23:04:00.517Z] 3ecba8c7e941: Preparing [2021-07-06T23:04:00.517Z] 066851bd60ff: Preparing [2021-07-06T23:04:00.517Z] 0a1602626fc3: Preparing [2021-07-06T23:04:00.517Z] 3fbe34a1663b: Preparing [2021-07-06T23:04:00.517Z] 3fbe34a1663b: Waiting [2021-07-06T23:04:00.517Z] 793cc874e0d6: Layer already exists [2021-07-06T23:04:00.517Z] 066851bd60ff: Layer already exists [2021-07-06T23:04:00.517Z] cef4f60029d7: Layer already exists [2021-07-06T23:04:00.789Z] 0a1602626fc3: Layer already exists [2021-07-06T23:04:00.789Z] 3ecba8c7e941: Layer already exists [2021-07-06T23:04:00.789Z] 3fbe34a1663b: Layer already exists [2021-07-06T23:04:00.789Z] main: digest: sha256:fee7338f297a40dd2a84a9cf6aca55607e5f2846053940efc1beba552bb4f4ab size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-06T23:04:00.971Z] ===================================================== [Pipeline] echo [2021-07-06T23:04:01.012Z] taggedImages: [2021-07-06T23:04:01.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [2021-07-06T23:04:01.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-07-06T23:04:01.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.1 [2021-07-06T23:04:01.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1-2.0.1-dev.1 [2021-07-06T23:04:01.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:04:01.632Z] ---> job-cost.sh [2021-07-06T23:04:01.632Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3yiu [2021-07-06T23:04:40.676Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T23:06:02.402Z] lf-activate-venv(): INFO: Adding /tmp/venv-3yiu/bin to PATH [2021-07-06T23:06:02.402Z] INFO: No Stack... [2021-07-06T23:06:04.359Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-06T23:06:04.948Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T23:06:05.309Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-07-06T23:06:05.309Z] + cut -d, -f6 [Pipeline] lock [2021-07-06T23:06:05.423Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-1-stack-cost] [2021-07-06T23:06:05.431Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-1-stack-cost] did not exist. Created. [2021-07-06T23:06:05.431Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T23:06:05.874Z] /w/workspace/device-modbus-go/1@tmp/durable-a01d3b99/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-a01d3b99/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-06T23:06:06.257Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-06T23:06:06.302Z] Warning: overwriting stash ‘stack-cost’ [2021-07-06T23:06:06.453Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T23:06:06.473Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-1-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] configFileProvider [2021-07-06T23:06:07.873Z] provisioning config files... [2021-07-06T23:06:07.883Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8322967845434131156tmp [Pipeline] { [Pipeline] sh [2021-07-06T23:06:08.253Z] + set +x [2021-07-06T23:06:08.253Z] + curl -s https://codecov.io/bash [2021-07-06T23:06:08.253Z] + bash -s -- [2021-07-06T23:06:08.253Z] [2021-07-06T23:06:08.253Z] _____ _ [2021-07-06T23:06:08.253Z] / ____| | | [2021-07-06T23:06:08.253Z] | | ___ __| | ___ ___ _____ __ [2021-07-06T23:06:08.253Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-06T23:06:08.253Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-06T23:06:08.253Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-06T23:06:08.253Z] Bash-1.0.3 [2021-07-06T23:06:08.253Z] [2021-07-06T23:06:08.253Z] [2021-07-06T23:06:08.253Z] ==> git version 2.24.4 found [2021-07-06T23:06:08.253Z] ==> 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-07-06T23:06:08.253Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-06T23:06:08.253Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-06T23:06:08.253Z] ==> Jenkins CI detected. [2021-07-06T23:06:08.253Z] project root: . [2021-07-06T23:06:08.253Z] --> token set from env [2021-07-06T23:06:08.253Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-06T23:06:08.516Z] ==> Running gcov in . (disable via -X gcov) [2021-07-06T23:06:08.516Z] ==> Python coveragepy not found [2021-07-06T23:06:08.516Z] ==> Searching for coverage reports in: [2021-07-06T23:06:08.516Z] + . [2021-07-06T23:06:08.516Z] -> Found 1 reports [2021-07-06T23:06:08.516Z] ==> Detecting git/mercurial file structure [2021-07-06T23:06:08.516Z] ==> Reading reports [2021-07-06T23:06:08.516Z] + ./coverage.out bytes=22385 [2021-07-06T23:06:08.516Z] ==> Appending adjustments [2021-07-06T23:06:08.516Z] https://docs.codecov.io/docs/fixing-reports [2021-07-06T23:06:08.516Z] + Found adjustments [2021-07-06T23:06:08.516Z] ==> Gzipping contents [2021-07-06T23:06:08.516Z] 4.0K /tmp/codecov.wQGacf.gz [2021-07-06T23:06:08.516Z] ==> Uploading reports [2021-07-06T23:06:08.516Z] url: https://codecov.io [2021-07-06T23:06:08.516Z] query: branch=main&commit=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T23:06:08.516Z] -> Pinging Codecov [2021-07-06T23:06:08.516Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=main&commit=7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T23:06:09.092Z] -> Uploading to [2021-07-06T23:06:09.092Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-06/55DBCA73C666E3227836607328DD7E49/7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1/8e10b34b-befe-4ca2-a36d-eb53bb9c6421.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210706T230608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=838e8fa0e6020d4658e1ace9698c26f476e1ab1279afff2d4f7bb0f91c52d774 [2021-07-06T23:06:09.092Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-06T23:06:09.092Z] Dload Upload Total Spent Left Speed [2021-07-06T23:06:09.353Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4069 0 0 100 4069 0 11011 --:--:-- --:--:-- --:--:-- 11027 [2021-07-06T23:06:09.353Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] } [2021-07-06T23:06:09.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-06T23:06:10.378Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-06T23:06:10.412Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:06:10.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:06:10.791Z] [2021-07-06T23:06:10.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:06:11.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:06:11.159Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-06T23:06:11.159Z] 188c0c94c7c5: Pulling fs layer [2021-07-06T23:06:11.159Z] 0ef7d3d256c8: Pulling fs layer [2021-07-06T23:06:11.159Z] de9db76c5a1d: Pulling fs layer [2021-07-06T23:06:11.159Z] 0eba1c9be4d2: Pulling fs layer [2021-07-06T23:06:11.159Z] 0d57e429df01: Pulling fs layer [2021-07-06T23:06:11.159Z] 4e4be7b47b0d: Pulling fs layer [2021-07-06T23:06:11.159Z] e1f770b5df2f: Pulling fs layer [2021-07-06T23:06:11.159Z] 85a0685a4137: Pulling fs layer [2021-07-06T23:06:11.159Z] 0d57e429df01: Waiting [2021-07-06T23:06:11.159Z] 4e4be7b47b0d: Waiting [2021-07-06T23:06:11.159Z] e1f770b5df2f: Waiting [2021-07-06T23:06:11.159Z] 85a0685a4137: Waiting [2021-07-06T23:06:11.159Z] 0eba1c9be4d2: Waiting [2021-07-06T23:06:11.159Z] de9db76c5a1d: Verifying Checksum [2021-07-06T23:06:11.159Z] de9db76c5a1d: Download complete [2021-07-06T23:06:11.159Z] 0ef7d3d256c8: Verifying Checksum [2021-07-06T23:06:11.159Z] 0ef7d3d256c8: Download complete [2021-07-06T23:06:11.159Z] 0d57e429df01: Verifying Checksum [2021-07-06T23:06:11.159Z] 0d57e429df01: Download complete [2021-07-06T23:06:11.159Z] 188c0c94c7c5: Verifying Checksum [2021-07-06T23:06:11.159Z] 188c0c94c7c5: Download complete [2021-07-06T23:06:11.159Z] 4e4be7b47b0d: Verifying Checksum [2021-07-06T23:06:11.159Z] 4e4be7b47b0d: Download complete [2021-07-06T23:06:11.426Z] 188c0c94c7c5: Pull complete [2021-07-06T23:06:11.691Z] 0ef7d3d256c8: Pull complete [2021-07-06T23:06:11.691Z] de9db76c5a1d: Pull complete [2021-07-06T23:06:12.263Z] e1f770b5df2f: Verifying Checksum [2021-07-06T23:06:12.263Z] e1f770b5df2f: Download complete [2021-07-06T23:06:14.808Z] 0eba1c9be4d2: Verifying Checksum [2021-07-06T23:06:14.808Z] 0eba1c9be4d2: Download complete [2021-07-06T23:06:14.808Z] 85a0685a4137: Verifying Checksum [2021-07-06T23:06:14.808Z] 85a0685a4137: Download complete [2021-07-06T23:06:17.382Z] 0eba1c9be4d2: Pull complete [2021-07-06T23:06:17.657Z] 0d57e429df01: Pull complete [2021-07-06T23:06:17.657Z] 4e4be7b47b0d: Pull complete [2021-07-06T23:06:18.235Z] e1f770b5df2f: Pull complete [2021-07-06T23:06:21.564Z] 85a0685a4137: Pull complete [2021-07-06T23:06:21.564Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-06T23:06:21.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:06:21.564Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-06T23:06:21.671Z] prd-centos7-docker-4c-2g-224 does not seem to be running inside a container [2021-07-06T23:06:21.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-06T23:06:25.511Z] $ docker top c0c6e2a82f3ece3f60bc8c01ae514e940821b6a2bb13584e67a409972d1ff8df -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-06T23:06:25.664Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-06T23:06:25.980Z] + set -o pipefail [2021-07-06T23:06:25.980Z] + snyk monitor '--org=edgex-jenkins' [2021-07-06T23:06:36.004Z] [2021-07-06T23:06:36.004Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-07-06T23:06:36.004Z] [2021-07-06T23:06:36.004Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/1b44d2ab-8ccd-4071-b00d-f2993d1cf045 [2021-07-06T23:06:36.004Z] [2021-07-06T23:06:36.004Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-07-06T23:06:36.004Z] [2021-07-06T23:06:36.004Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-06T23:06:36.004Z] [2021-07-06T23:06:36.004Z] [Pipeline] } [2021-07-06T23:06:36.035Z] $ docker stop --time=1 c0c6e2a82f3ece3f60bc8c01ae514e940821b6a2bb13584e67a409972d1ff8df [2021-07-06T23:06:38.902Z] $ docker rm -f c0c6e2a82f3ece3f60bc8c01ae514e940821b6a2bb13584e67a409972d1ff8df [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-07-06T23:06:40.545Z] + git log --format=format:%s -1 7596bf2f21fb4d76c0f1c3836f37e0558c3bc0c1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:06:40.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:06:40.891Z] . [Pipeline] withDockerContainer [2021-07-06T23:06:40.988Z] prd-centos7-docker-4c-2g-224 does not seem to be running inside a container [2021-07-06T23:06:41.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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-07-06T23:06:41.399Z] $ docker top 96a79286876366113377963eecf5907f735269ee779580d5d87809b49cbd9aaf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:06:41.605Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:06:42.014Z] + git semver [Pipeline] } [2021-07-06T23:06:42.045Z] $ docker stop --time=1 96a79286876366113377963eecf5907f735269ee779580d5d87809b49cbd9aaf [2021-07-06T23:06:43.226Z] $ docker rm -f 96a79286876366113377963eecf5907f735269ee779580d5d87809b49cbd9aaf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:06:43.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:06:43.814Z] [2021-07-06T23:06:43.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:06:44.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:06:44.177Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-06T23:06:44.177Z] ab5ef0e58194: Pulling fs layer [2021-07-06T23:06:44.177Z] 9712f1f96733: Pulling fs layer [2021-07-06T23:06:44.177Z] 63f879dbbcfc: Pulling fs layer [2021-07-06T23:06:44.177Z] 0d9ebad4ef96: Pulling fs layer [2021-07-06T23:06:44.177Z] e9a5061849ea: Pulling fs layer [2021-07-06T23:06:44.177Z] d747dcd14b5f: Pulling fs layer [2021-07-06T23:06:44.177Z] 2de7ff778b66: Pulling fs layer [2021-07-06T23:06:44.177Z] 0d9ebad4ef96: Waiting [2021-07-06T23:06:44.177Z] e9a5061849ea: Waiting [2021-07-06T23:06:44.177Z] d747dcd14b5f: Waiting [2021-07-06T23:06:44.177Z] 2de7ff778b66: Waiting [2021-07-06T23:06:44.177Z] 9712f1f96733: Verifying Checksum [2021-07-06T23:06:44.177Z] 9712f1f96733: Download complete [2021-07-06T23:06:45.587Z] 63f879dbbcfc: Verifying Checksum [2021-07-06T23:06:45.587Z] 63f879dbbcfc: Download complete [2021-07-06T23:06:45.587Z] e9a5061849ea: Verifying Checksum [2021-07-06T23:06:45.587Z] e9a5061849ea: Download complete [2021-07-06T23:06:45.587Z] d747dcd14b5f: Verifying Checksum [2021-07-06T23:06:45.587Z] d747dcd14b5f: Download complete [2021-07-06T23:06:45.852Z] 2de7ff778b66: Verifying Checksum [2021-07-06T23:06:45.852Z] 2de7ff778b66: Download complete [2021-07-06T23:06:46.120Z] ab5ef0e58194: Verifying Checksum [2021-07-06T23:06:46.120Z] ab5ef0e58194: Download complete [2021-07-06T23:06:46.386Z] 0d9ebad4ef96: Verifying Checksum [2021-07-06T23:06:46.386Z] 0d9ebad4ef96: Download complete [2021-07-06T23:06:48.963Z] ab5ef0e58194: Pull complete [2021-07-06T23:06:48.963Z] 9712f1f96733: Pull complete [2021-07-06T23:06:49.538Z] 63f879dbbcfc: Pull complete [2021-07-06T23:06:52.856Z] 0d9ebad4ef96: Pull complete [2021-07-06T23:06:52.856Z] e9a5061849ea: Pull complete [2021-07-06T23:06:52.856Z] d747dcd14b5f: Pull complete [2021-07-06T23:06:53.806Z] 2de7ff778b66: Pull complete [2021-07-06T23:06:54.071Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-06T23:06:54.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:06:54.071Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-06T23:06:54.173Z] prd-centos7-docker-4c-2g-224 does not seem to be running inside a container [2021-07-06T23:06:54.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-06T23:07:00.782Z] $ docker top eefd1477c05d9a4e567620ebbc31c12531dcab2da4b98b49f6bc0d3087d31690 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:07:00.942Z] provisioning config files... [2021-07-06T23:07:00.963Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3952653452066194617tmp [2021-07-06T23:07:01.271Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3174221259150583090tmp [2021-07-06T23:07:01.320Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8379279262229939448tmp [Pipeline] { [Pipeline] echo [2021-07-06T23:07:01.393Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:01.741Z] ---> sigul-configuration.sh [2021-07-06T23:07:01.741Z] gpg: directory `/root/.gnupg' created [2021-07-06T23:07:01.741Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-06T23:07:01.741Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-06T23:07:01.741Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-06T23:07:01.741Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-06T23:07:01.741Z] gpg: CAST5 encrypted data [2021-07-06T23:07:01.741Z] gpg: encrypted with 1 passphrase [2021-07-06T23:07:01.741Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-06T23:07:02.075Z] + mkdir /home/jenkins [2021-07-06T23:07:02.075Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-06T23:07:02.392Z] + 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-07-06T23:07:02.426Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:02.756Z] ---> sigul-install.sh [2021-07-06T23:07:08.064Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-06T23:07:08.386Z] + git tag --list [2021-07-06T23:07:08.386Z] 0.7.1 [2021-07-06T23:07:08.386Z] v1.0.0 [2021-07-06T23:07:08.386Z] v1.1.0 [2021-07-06T23:07:08.386Z] v1.1.1 [2021-07-06T23:07:08.386Z] v1.2.2 [2021-07-06T23:07:08.386Z] v1.3.0 [2021-07-06T23:07:08.386Z] v1.3.1 [2021-07-06T23:07:08.386Z] v2.0.0 [Pipeline] sh [2021-07-06T23:07:08.705Z] + lftools sign git-tag v2.0.1-dev.1 [2021-07-06T23:07:09.283Z] Signing Git tag with Sigul... [2021-07-06T23:07:09.283Z] Signing v2.0.1-dev.1 [2021-07-06T23:07:09.283Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.1-dev.1'], return code 1, stdout , stderr [Pipeline] echo [2021-07-06T23:07:09.313Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:09.656Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-06T23:07:09.683Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-06T23:07:09.774Z] $ docker stop --time=1 eefd1477c05d9a4e567620ebbc31c12531dcab2da4b98b49f6bc0d3087d31690 [2021-07-06T23:07:11.507Z] $ docker rm -f eefd1477c05d9a4e567620ebbc31c12531dcab2da4b98b49f6bc0d3087d31690 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:07:12.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:07:12.524Z] . [Pipeline] withDockerContainer [2021-07-06T23:07:12.625Z] prd-centos7-docker-4c-2g-224 does not seem to be running inside a container [2021-07-06T23:07:12.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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-07-06T23:07:13.016Z] $ docker top d65f778982227cfcbbe68e89b84a9fbc8f72f22528dc59a6193cc1570be7b850 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:07:13.228Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:07:13.607Z] + git semver [Pipeline] } [2021-07-06T23:07:13.639Z] $ docker stop --time=1 d65f778982227cfcbbe68e89b84a9fbc8f72f22528dc59a6193cc1570be7b850 [2021-07-06T23:07:14.835Z] $ docker rm -f d65f778982227cfcbbe68e89b84a9fbc8f72f22528dc59a6193cc1570be7b850 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:07:15.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:07:15.340Z] . [Pipeline] withDockerContainer [2021-07-06T23:07:15.438Z] prd-centos7-docker-4c-2g-224 does not seem to be running inside a container [2021-07-06T23:07:15.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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-07-06T23:07:15.896Z] $ docker top d0f12630b7516a02f7da0db5d59a2a5bbf734c846b3edd14b56868fba7959840 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:07:16.128Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:07:16.512Z] + git semver [Pipeline] } [2021-07-06T23:07:16.541Z] $ docker stop --time=1 d0f12630b7516a02f7da0db5d59a2a5bbf734c846b3edd14b56868fba7959840 [2021-07-06T23:07:17.744Z] $ docker rm -f d0f12630b7516a02f7da0db5d59a2a5bbf734c846b3edd14b56868fba7959840 [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-07-06T23:07:19.142Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:19.749Z] ---> package-listing.sh [2021-07-06T23:07:19.749Z] ++ facter osfamily [2021-07-06T23:07:19.749Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-06T23:07:20.011Z] + OS_FAMILY=redhat [2021-07-06T23:07:20.011Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-07-06T23:07:20.011Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-06T23:07:20.011Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-06T23:07:20.011Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-06T23:07:20.011Z] + PACKAGES=/tmp/packages_start.txt [2021-07-06T23:07:20.011Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-07-06T23:07:20.011Z] + PACKAGES=/tmp/packages_end.txt [2021-07-06T23:07:20.011Z] + case "${OS_FAMILY}" in [2021-07-06T23:07:20.011Z] + sort [2021-07-06T23:07:20.011Z] + rpm -qa [2021-07-06T23:07:20.590Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-06T23:07:20.590Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-06T23:07:20.590Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-06T23:07:20.590Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-07-06T23:07:20.590Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-07-06T23:07:20.590Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2021-07-06T23:07:20.623Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-06T23:07:20.934Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:07:21.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:07:21.538Z] [2021-07-06T23:07:21.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:07:21.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:07:21.896Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-06T23:07:21.896Z] df20fa9351a1: Pulling fs layer [2021-07-06T23:07:21.896Z] 36b3adc4ff6f: Pulling fs layer [2021-07-06T23:07:21.896Z] 8ad3a11d3b57: Pulling fs layer [2021-07-06T23:07:21.896Z] 46f8f816bc3b: Pulling fs layer [2021-07-06T23:07:21.896Z] 93b61091891f: Pulling fs layer [2021-07-06T23:07:21.896Z] 93b9cdb0e59b: Pulling fs layer [2021-07-06T23:07:21.896Z] 5e14af77c1be: Pulling fs layer [2021-07-06T23:07:21.896Z] 01666e4c0597: Pulling fs layer [2021-07-06T23:07:21.896Z] aa168da1d23b: Pulling fs layer [2021-07-06T23:07:21.896Z] 93b61091891f: Waiting [2021-07-06T23:07:21.896Z] 93b9cdb0e59b: Waiting [2021-07-06T23:07:21.896Z] 5e14af77c1be: Waiting [2021-07-06T23:07:21.896Z] 01666e4c0597: Waiting [2021-07-06T23:07:21.896Z] aa168da1d23b: Waiting [2021-07-06T23:07:21.896Z] 46f8f816bc3b: Waiting [2021-07-06T23:07:21.896Z] 36b3adc4ff6f: Verifying Checksum [2021-07-06T23:07:21.896Z] 36b3adc4ff6f: Download complete [2021-07-06T23:07:21.896Z] 46f8f816bc3b: Verifying Checksum [2021-07-06T23:07:21.896Z] 46f8f816bc3b: Download complete [2021-07-06T23:07:22.170Z] df20fa9351a1: Verifying Checksum [2021-07-06T23:07:22.170Z] df20fa9351a1: Download complete [2021-07-06T23:07:22.170Z] 93b9cdb0e59b: Verifying Checksum [2021-07-06T23:07:22.170Z] 93b9cdb0e59b: Download complete [2021-07-06T23:07:22.170Z] 93b61091891f: Verifying Checksum [2021-07-06T23:07:22.170Z] 93b61091891f: Download complete [2021-07-06T23:07:22.170Z] 01666e4c0597: Verifying Checksum [2021-07-06T23:07:22.170Z] 01666e4c0597: Download complete [2021-07-06T23:07:22.170Z] 5e14af77c1be: Verifying Checksum [2021-07-06T23:07:22.170Z] 5e14af77c1be: Download complete [2021-07-06T23:07:22.170Z] 8ad3a11d3b57: Verifying Checksum [2021-07-06T23:07:22.170Z] 8ad3a11d3b57: Download complete [2021-07-06T23:07:22.170Z] df20fa9351a1: Pull complete [2021-07-06T23:07:22.439Z] 36b3adc4ff6f: Pull complete [2021-07-06T23:07:22.703Z] 8ad3a11d3b57: Pull complete [2021-07-06T23:07:22.970Z] 46f8f816bc3b: Pull complete [2021-07-06T23:07:23.231Z] 93b61091891f: Pull complete [2021-07-06T23:07:23.231Z] 93b9cdb0e59b: Pull complete [2021-07-06T23:07:23.231Z] 5e14af77c1be: Pull complete [2021-07-06T23:07:23.491Z] 01666e4c0597: Pull complete [2021-07-06T23:07:24.065Z] aa168da1d23b: Verifying Checksum [2021-07-06T23:07:24.065Z] aa168da1d23b: Download complete [2021-07-06T23:07:28.331Z] aa168da1d23b: Pull complete [2021-07-06T23:07:28.331Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-06T23:07:28.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:07:28.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-06T23:07:28.621Z] prd-centos7-docker-4c-2g-224 does not seem to be running inside a container [2021-07-06T23:07:28.666Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-06T23:07:31.290Z] $ docker top 21bc11444c9be3168ae6e5a81aeb8750c5f903b5482928689f505061d20e651e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:07:31.723Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-06T23:07:32.046Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-06T23:07:32.363Z] + ls /var/log/sa-host [2021-07-06T23:07:32.363Z] + sadf -c /var/log/sa-host/sa05 [2021-07-06T23:07:32.363Z] file_magic: OK [2021-07-06T23:07:32.363Z] HZ: Using current value: 100 [2021-07-06T23:07:32.363Z] file_header: OK [2021-07-06T23:07:32.363Z] 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-07-06T23:07:32.363Z] Statistics: [2021-07-06T23:07:32.363Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T23:07:32.363Z] File successfully converted to sysstat format version 12.2.1 [2021-07-06T23:07:32.363Z] + sadf -c /var/log/sa-host/sa06 [2021-07-06T23:07:32.363Z] file_magic: OK [2021-07-06T23:07:32.363Z] HZ: Using current value: 100 [2021-07-06T23:07:32.363Z] file_header: OK [2021-07-06T23:07:32.363Z] 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-07-06T23:07:32.363Z] Statistics: [2021-07-06T23:07:32.363Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T23:07:32.363Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:07:32.689Z] provisioning config files... [2021-07-06T23:07:32.708Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config784959993261761039tmp [Pipeline] { [Pipeline] echo [2021-07-06T23:07:32.765Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:33.108Z] ---> create-netrc.sh [Pipeline] } [2021-07-06T23:07:33.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:33.577Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-06T23:07:33.614Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:33.956Z] ---> sudo-logs.sh [2021-07-06T23:07:33.956Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-06T23:07:34.044Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:34.386Z] ---> job-cost.sh [2021-07-06T23:07:34.386Z] lf-activate-venv: SKIPPING [2021-07-06T23:07:34.386Z] DEBUG: total: 0.18000000715255737 [2021-07-06T23:07:34.386Z] INFO: Retrieving Stack Cost... [2021-07-06T23:07:35.787Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T23:07:36.359Z] INFO: Archiving Costs [Pipeline] echo [2021-07-06T23:07:36.396Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:07:36.759Z] ---> logs-deploy.sh [2021-07-06T23:07:36.759Z] lf-activate-venv: SKIPPING [2021-07-06T23:07:36.759Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/1 [2021-07-06T23:07:36.759Z] INFO: archiving workspace using pattern(s): [2021-07-06T23:07:37.730Z] Archives upload complete. [2021-07-06T23:07:37.730Z] INFO: archiving logs to Nexus