Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0698ca903eaff93b131c7e7a67c2b13166d23c43 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12635674376351069386.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16798570810854604074.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /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-ssh6241753214076747850.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh130826885673299130.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /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-ssh2174523010659318233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder 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 ‘prd-centos7-docker-4c-2g-76’ Running on prd-centos7-docker-4c-2g-78 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 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh1876545923777926903.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0698ca903eaff93b131c7e7a67c2b13166d23c43 (main) > 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 0698ca903eaff93b131c7e7a67c2b13166d23c43 # timeout=10 Commit message: "Merge pull request #302 from farshidtz/snap-config-plug-target-fix" > git rev-list --no-walk f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T11:40:44.262Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T11:40:44.319Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T11:40:44.335Z] ========================================================= [2021-12-02T11:40:44.335Z] EdgeX Global Pipelines Version Info [2021-12-02T11:40:44.335Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:40:45.483Z] ------------------- [2021-12-02T11:40:45.483Z] stable info: [2021-12-02T11:40:45.483Z] ------------------- [2021-12-02T11:40:45.483Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T11:40:45.483Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T11:40:45.483Z] Message: update stable to v1.0.217 [2021-12-02T11:40:46.057Z] ------------------- [2021-12-02T11:40:46.057Z] experimental info: [2021-12-02T11:40:46.057Z] ------------------- [2021-12-02T11:40:46.057Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T11:40:46.057Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T11:40:46.057Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T11:40:46.220Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-12-02T11:40:46.233Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-12-02T11:40:46.248Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T11:40:46.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T11:40:46.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T11:40:46.284Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T11:40:46.298Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T11:40:46.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T11:40:46.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T11:40:46.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T11:40:46.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T11:40:46.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-12-02T11:40:46.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T11:40:46.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T11:40:46.429Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T11:40:46.448Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T11:40:46.468Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T11:40:46.485Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T11:40:46.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T11:40:46.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-12-02T11:40:46.532Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T11:40:46.547Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T11:40:46.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T11:40:46.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T11:40:46.583Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T11:40:46.602Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T11:40:46.617Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-02T11:40:46.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-02T11:40:46.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-02T11:40:46.653Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] echo [2021-12-02T11:40:46.667Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0698ca9 [Pipeline] echo [2021-12-02T11:40:46.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:40:46.728Z] provisioning config files... [2021-12-02T11:40:46.743Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8103681201612242237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:40:47.052Z] ---> docker-login.sh [2021-12-02T11:40:47.052Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:40:47.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:40:47.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:40:47.052Z] Configure a credential helper to remove this warning. See [2021-12-02T11:40:47.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:40:47.052Z] [2021-12-02T11:40:47.052Z] Login Succeeded [2021-12-02T11:40:47.052Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:40:47.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:40:47.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:40:47.316Z] Configure a credential helper to remove this warning. See [2021-12-02T11:40:47.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:40:47.316Z] [2021-12-02T11:40:47.316Z] Login Succeeded [2021-12-02T11:40:47.316Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:40:47.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:40:47.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:40:47.580Z] Configure a credential helper to remove this warning. See [2021-12-02T11:40:47.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:40:47.580Z] [2021-12-02T11:40:47.580Z] Login Succeeded [2021-12-02T11:40:47.580Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:40:47.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:40:47.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:40:47.580Z] Configure a credential helper to remove this warning. See [2021-12-02T11:40:47.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:40:47.580Z] [2021-12-02T11:40:47.580Z] Login Succeeded [2021-12-02T11:40:47.580Z] docker.io [2021-12-02T11:40:47.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:40:48.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:40:48.154Z] Configure a credential helper to remove this warning. See [2021-12-02T11:40:48.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:40:48.154Z] [2021-12-02T11:40:48.154Z] Login Succeeded [2021-12-02T11:40:48.154Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:40:48.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T11:40:48.578Z] + git rev-list -1 --merges 0698ca903eaff93b131c7e7a67c2b13166d23c43~1..0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] echo [2021-12-02T11:40:48.621Z] -----------> git rev-list -1 --merges 0698ca903eaff93b131c7e7a67c2b13166d23c43~1..0698ca903eaff93b131c7e7a67c2b13166d23c43 0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:40:48.621Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43 [false] [Pipeline] sh [2021-12-02T11:40:48.928Z] + git log --format=format:%s -1 0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] echo [2021-12-02T11:40:48.946Z] ========================================================= [2021-12-02T11:40:48.946Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T11:40:48.946Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:40:49.281Z] + git log --format=format:%s -1 0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] echo [2021-12-02T11:40:49.296Z] [semverPrep] GIT_COMMIT: 0698ca903eaff93b131c7e7a67c2b13166d23c43, Commit Message: Merge pull request #302 from farshidtz/snap-config-plug-target-fix [Pipeline] echo [2021-12-02T11:40:49.305Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T11:40:49.679Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T11:40:49.679Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T11:40:49.679Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T11:40:49.679Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T11:40:49.679Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T11:40:49.679Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T11:40:49.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:40:50.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:40:50.030Z] [2021-12-02T11:40:50.030Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:40:50.343Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:40:50.343Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T11:40:50.343Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T11:40:50.343Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T11:40:50.343Z] 4c7163046ea9: Pulling fs layer [2021-12-02T11:40:50.343Z] 0c2d73faf560: Pulling fs layer [2021-12-02T11:40:50.343Z] 0c2d73faf560: Waiting [2021-12-02T11:40:50.343Z] 3e5f54012d9b: Download complete [2021-12-02T11:40:50.343Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T11:40:50.343Z] a0d0a0d46f8b: Download complete [2021-12-02T11:40:50.343Z] 4c7163046ea9: Verifying Checksum [2021-12-02T11:40:50.343Z] 4c7163046ea9: Download complete [2021-12-02T11:40:50.603Z] 0c2d73faf560: Verifying Checksum [2021-12-02T11:40:50.603Z] 0c2d73faf560: Download complete [2021-12-02T11:40:50.603Z] a0d0a0d46f8b: Pull complete [2021-12-02T11:40:50.603Z] 3e5f54012d9b: Pull complete [2021-12-02T11:40:50.875Z] 4c7163046ea9: Pull complete [2021-12-02T11:40:51.145Z] 0c2d73faf560: Pull complete [2021-12-02T11:40:51.145Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T11:40:51.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:40:51.145Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T11:40:51.240Z] prd-centos7-docker-4c-2g-78 does not seem to be running inside a container [2021-12-02T11:40:51.283Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T11:40:51.851Z] $ docker top c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T11:40:51.944Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:40:51.944Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:40:52.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:40:52.059Z] $ docker exec c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 ssh-agent [2021-12-02T11:40:52.169Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJAfnnn/agent.13 [2021-12-02T11:40:52.169Z] SSH_AGENT_PID=19 [2021-12-02T11:40:52.177Z] Running ssh-add (command line suppressed) [2021-12-02T11:40:52.265Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6751230783562424432.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6751230783562424432.key) [2021-12-02T11:40:52.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:40:52.577Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T11:40:52.595Z] $ docker exec --env ******** --env ******** c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 ssh-agent -k [2021-12-02T11:40:52.679Z] unset SSH_AUTH_SOCK; [2021-12-02T11:40:52.679Z] unset SSH_AGENT_PID; [2021-12-02T11:40:52.679Z] echo Agent pid 19 killed; [2021-12-02T11:40:52.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T11:40:52.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:40:52.719Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:40:52.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:40:52.824Z] $ docker exec c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 ssh-agent [2021-12-02T11:40:52.923Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBkiJkc/agent.52 [2021-12-02T11:40:52.923Z] SSH_AGENT_PID=59 [2021-12-02T11:40:52.928Z] Running ssh-add (command line suppressed) [2021-12-02T11:40:53.030Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9175632474014610221.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9175632474014610221.key) [2021-12-02T11:40:53.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:40:53.340Z] + git semver init [2021-12-02T11:40:53.340Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T11:40:53.340Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-12-02T11:40:53.340Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-12-02T11:40:53.340Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T11:40:53.340Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T11:40:53.340Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T11:40:53.340Z] # $SEMVER_BRANCH = main [2021-12-02T11:40:53.340Z] # $SEMVER_TEMP = /tmp/semver-473549785 [2021-12-02T11:40:53.340Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-12-02T11:40:54.286Z] # '/tmp/semver-473549785' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-12-02T11:40:54.286Z] # -> Force: false [2021-12-02T11:40:54.286Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-12-02T11:40:54.300Z] $ docker exec --env ******** --env ******** c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 ssh-agent -k [2021-12-02T11:40:54.393Z] unset SSH_AUTH_SOCK; [2021-12-02T11:40:54.393Z] unset SSH_AGENT_PID; [2021-12-02T11:40:54.393Z] echo Agent pid 59 killed; [2021-12-02T11:40:54.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T11:40:54.716Z] + git semver [Pipeline] } [2021-12-02T11:40:54.729Z] $ docker stop --time=1 c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 [2021-12-02T11:40:55.944Z] $ docker rm -f c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:40:56.306Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T11:40:56.539Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T11:40:56.543Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-12-02T11:41:11.686Z] Still waiting to schedule task [2021-12-02T11:41:11.686Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-12-02T11:41:11.689Z] Still waiting to schedule task [2021-12-02T11:41:11.690Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-77’ [2021-12-02T11:42:57.762Z] Running on prd-centos7-docker-4c-2g-81 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-12-02T11:42:57.774Z] Running in /w/workspace/device-modbus-go/19 [Pipeline] { [Pipeline] checkout [2021-12-02T11:42:57.854Z] Selected Git installation does not exist. Using Default [2021-12-02T11:42:57.854Z] The recommended git tool is: NONE [2021-12-02T11:42:59.371Z] using credential edgex-jenkins-ssh [2021-12-02T11:42:59.381Z] Cloning the remote Git repository [2021-12-02T11:42:59.032Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-12-02T11:42:59.064Z] > git init /w/workspace/device-modbus-go/19 # timeout=10 [2021-12-02T11:42:59.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-12-02T11:42:59.092Z] > git --version # timeout=10 [2021-12-02T11:42:59.101Z] > git --version # 'git version 2.24.4' [2021-12-02T11:42:59.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:42:59.121Z] [INFO] Currently running in a labeled security context [2021-12-02T11:42:59.121Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T11:42:59.121Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/19@tmp/jenkins-gitclient-ssh7053779168765977279.key [2021-12-02T11:42:59.146Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:43:00.267Z] Avoid second fetch [2021-12-02T11:43:00.268Z] Checking out Revision 0698ca903eaff93b131c7e7a67c2b13166d23c43 (main) [2021-12-02T11:42:59.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-12-02T11:42:59.888Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:42:59.906Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:42:59.914Z] > git checkout -f 0698ca903eaff93b131c7e7a67c2b13166d23c43 # timeout=10 [2021-12-02T11:43:04.007Z] Commit message: "Merge pull request #302 from farshidtz/snap-config-plug-target-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:43:04.332Z] provisioning config files... [2021-12-02T11:43:04.343Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/19@tmp/config4549527684110514356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:43:04.738Z] ---> docker-login.sh [2021-12-02T11:43:04.738Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:43:04.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:43:04.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:43:04.738Z] Configure a credential helper to remove this warning. See [2021-12-02T11:43:04.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:43:04.738Z] [2021-12-02T11:43:04.738Z] Login Succeeded [2021-12-02T11:43:04.738Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:43:05.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:43:05.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:43:05.005Z] Configure a credential helper to remove this warning. See [2021-12-02T11:43:05.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:43:05.005Z] [2021-12-02T11:43:05.005Z] Login Succeeded [2021-12-02T11:43:05.005Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:43:05.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:43:05.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:43:05.005Z] Configure a credential helper to remove this warning. See [2021-12-02T11:43:05.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:43:05.005Z] [2021-12-02T11:43:05.005Z] Login Succeeded [2021-12-02T11:43:05.005Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:43:05.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:43:05.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:43:05.270Z] Configure a credential helper to remove this warning. See [2021-12-02T11:43:05.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:43:05.270Z] [2021-12-02T11:43:05.270Z] Login Succeeded [2021-12-02T11:43:05.270Z] docker.io [2021-12-02T11:43:05.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:43:05.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:43:05.531Z] Configure a credential helper to remove this warning. See [2021-12-02T11:43:05.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:43:05.531Z] [2021-12-02T11:43:05.531Z] Login Succeeded [2021-12-02T11:43:05.531Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:43:05.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T11:43:05.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T11:43:05.761Z] ========================================================= [2021-12-02T11:43:05.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T11:43:05.761Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:43:06.079Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-02T11:43:06.079Z] Sending build context to Docker daemon 2.966MB [2021-12-02T11:43:06.079Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:43:06.079Z] Step 2/9 : FROM ${BASE} AS builder [2021-12-02T11:43:06.345Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T11:43:06.345Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T11:43:06.345Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T11:43:06.345Z] b8b176561691: Pulling fs layer [2021-12-02T11:43:06.345Z] 4527c011a84f: Pulling fs layer [2021-12-02T11:43:06.345Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T11:43:06.345Z] e0aca202a116: Pulling fs layer [2021-12-02T11:43:06.345Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T11:43:06.345Z] 34cad66bf833: Pulling fs layer [2021-12-02T11:43:06.345Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T11:43:06.345Z] 4527c011a84f: Waiting [2021-12-02T11:43:06.345Z] 5d74067f8e1e: Waiting [2021-12-02T11:43:06.345Z] e0aca202a116: Waiting [2021-12-02T11:43:06.345Z] 3a43be97a3b4: Waiting [2021-12-02T11:43:06.345Z] 34cad66bf833: Waiting [2021-12-02T11:43:06.345Z] b4e3c513aaa6: Waiting [2021-12-02T11:43:06.345Z] b8b176561691: Verifying Checksum [2021-12-02T11:43:06.345Z] b8b176561691: Download complete [2021-12-02T11:43:06.345Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T11:43:06.345Z] 31adcdaf11c8: Download complete [2021-12-02T11:43:06.345Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T11:43:06.345Z] 5d74067f8e1e: Download complete [2021-12-02T11:43:06.345Z] e0aca202a116: Verifying Checksum [2021-12-02T11:43:06.345Z] e0aca202a116: Download complete [2021-12-02T11:43:06.345Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T11:43:06.345Z] 3a43be97a3b4: Download complete [2021-12-02T11:43:06.345Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T11:43:06.345Z] a0d0a0d46f8b: Download complete [2021-12-02T11:43:06.345Z] 34cad66bf833: Verifying Checksum [2021-12-02T11:43:06.345Z] 34cad66bf833: Download complete [2021-12-02T11:43:06.920Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T11:43:06.920Z] b4e3c513aaa6: Download complete [2021-12-02T11:43:06.920Z] a0d0a0d46f8b: Pull complete [2021-12-02T11:43:06.920Z] 4527c011a84f: Verifying Checksum [2021-12-02T11:43:06.920Z] 4527c011a84f: Download complete [2021-12-02T11:43:06.920Z] 31adcdaf11c8: Pull complete [2021-12-02T11:43:07.180Z] b8b176561691: Pull complete [2021-12-02T11:43:11.425Z] 4527c011a84f: Pull complete [2021-12-02T11:43:11.425Z] 5d74067f8e1e: Pull complete [2021-12-02T11:43:11.425Z] e0aca202a116: Pull complete [2021-12-02T11:43:11.425Z] 3a43be97a3b4: Pull complete [2021-12-02T11:43:11.425Z] 34cad66bf833: Pull complete [2021-12-02T11:43:13.374Z] b4e3c513aaa6: Pull complete [2021-12-02T11:43:13.374Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T11:43:13.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T11:43:13.374Z] ---> 9f6097aaca64 [2021-12-02T11:43:13.374Z] Step 3/9 : ARG MAKE='make build' [2021-12-02T11:43:18.689Z] ---> Running in 1b6435462789 [2021-12-02T11:43:18.689Z] Removing intermediate container 1b6435462789 [2021-12-02T11:43:18.689Z] ---> b27e9eb6f00c [2021-12-02T11:43:18.689Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:43:18.689Z] ---> Running in 0199d931275a [2021-12-02T11:43:18.689Z] Removing intermediate container 0199d931275a [2021-12-02T11:43:18.689Z] ---> caad79f6c014 [2021-12-02T11:43:18.689Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-12-02T11:43:18.689Z] ---> Running in 3593959b1ff8 [2021-12-02T11:43:18.689Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:43:19.633Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:43:19.894Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T11:43:19.894Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-12-02T11:43:19.894Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T11:43:20.154Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T11:43:20.154Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-12-02T11:43:20.417Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-12-02T11:43:20.417Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-12-02T11:43:20.417Z] (8/8) Installing openssh (8.6_p1-r3) [2021-12-02T11:43:20.678Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T11:43:20.678Z] OK: 226 MiB in 60 packages [2021-12-02T11:43:20.940Z] Removing intermediate container 3593959b1ff8 [2021-12-02T11:43:20.940Z] ---> e8f31ef9e03d [2021-12-02T11:43:20.940Z] Step 6/9 : WORKDIR /device-modbus-go [2021-12-02T11:43:20.940Z] ---> Running in deaa2ae28eaf [2021-12-02T11:43:20.940Z] Removing intermediate container deaa2ae28eaf [2021-12-02T11:43:20.940Z] ---> 06e6b9e32385 [2021-12-02T11:43:20.940Z] Step 7/9 : COPY . . [2021-12-02T11:43:21.206Z] ---> 1a0fac5b4626 [2021-12-02T11:43:21.206Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:43:21.206Z] ---> Running in 250c347287a5 [2021-12-02T11:43:26.517Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-80 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-12-02T11:43:26.530Z] Running in /w/workspace/device-modbus-go/19 [Pipeline] { [Pipeline] checkout [2021-12-02T11:43:26.716Z] Selected Git installation does not exist. Using Default [2021-12-02T11:43:26.717Z] The recommended git tool is: NONE [2021-12-02T11:43:31.633Z] using credential edgex-jenkins-ssh [2021-12-02T11:43:31.650Z] Cloning the remote Git repository [2021-12-02T11:43:31.703Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-12-02T11:43:31.776Z] > git init /w/workspace/device-modbus-go/19 # timeout=10 [2021-12-02T11:43:31.853Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-12-02T11:43:31.854Z] > git --version # timeout=10 [2021-12-02T11:43:31.887Z] > git --version # 'git version 2.17.1' [2021-12-02T11:43:31.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T11:43:31.953Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:43:33.175Z] Avoid second fetch [2021-12-02T11:43:33.175Z] Checking out Revision 0698ca903eaff93b131c7e7a67c2b13166d23c43 (main) [2021-12-02T11:43:33.123Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-12-02T11:43:33.156Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T11:43:33.193Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T11:43:33.206Z] > git checkout -f 0698ca903eaff93b131c7e7a67c2b13166d23c43 # timeout=10 [2021-12-02T11:43:37.313Z] Commit message: "Merge pull request #302 from farshidtz/snap-config-plug-target-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:43:38.162Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T11:43:38.162Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T11:43:38.162Z] Dload Upload Total Spent Left Speed [2021-12-02T11:43:38.162Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 245k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh [2021-12-02T11:43:38.707Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T11:43:39.063Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T11:43:39.063Z] + sudo tee /etc/docker/daemon.new [2021-12-02T11:43:39.063Z] { [2021-12-02T11:43:39.063Z] "registry-mirrors": [ [2021-12-02T11:43:39.063Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T11:43:39.063Z] ], [2021-12-02T11:43:39.063Z] "bip": "10.250.0.254/24", [2021-12-02T11:43:39.063Z] "hosts": [ [2021-12-02T11:43:39.063Z] "tcp://0.0.0.0:5555", [2021-12-02T11:43:39.063Z] "unix:///var/run/docker.sock" [2021-12-02T11:43:39.063Z] ], [2021-12-02T11:43:39.063Z] "mtu": 1458, [2021-12-02T11:43:39.063Z] "selinux-enabled": true, [2021-12-02T11:43:39.063Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T11:43:39.063Z] } [Pipeline] sh [2021-12-02T11:43:39.423Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T11:43:39.765Z] + sudo service docker restart [2021-12-02T11:43:53.369Z] Removing intermediate container 250c347287a5 [2021-12-02T11:43:53.369Z] ---> aaa927e65b33 [2021-12-02T11:43:53.369Z] Step 9/9 : RUN ${MAKE} [2021-12-02T11:43:53.369Z] ---> Running in 21b765353121 [2021-12-02T11:43:53.369Z] noop [2021-12-02T11:43:53.369Z] Removing intermediate container 21b765353121 [2021-12-02T11:43:53.369Z] ---> 6b436cc0b5fa [2021-12-02T11:43:53.369Z] Successfully built 6b436cc0b5fa [2021-12-02T11:43:53.369Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:43:53.665Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T11:43:53.665Z] . [Pipeline] withDockerContainer [2021-12-02T11:43:53.732Z] prd-centos7-docker-4c-2g-81 does not seem to be running inside a container [2021-12-02T11:43:53.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T11:43:54.077Z] $ docker top 02c0c5c4928ad03065ba45db5fbf28a0495d6ff6df4b4018fd87208430056c43 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:43:54.445Z] + go version [2021-12-02T11:43:54.445Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T11:43:54.456Z] $ docker stop --time=1 02c0c5c4928ad03065ba45db5fbf28a0495d6ff6df4b4018fd87208430056c43 [2021-12-02T11:43:55.622Z] $ docker rm -f 02c0c5c4928ad03065ba45db5fbf28a0495d6ff6df4b4018fd87208430056c43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:43:56.095Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T11:43:56.095Z] . [Pipeline] withDockerContainer [2021-12-02T11:43:56.170Z] prd-centos7-docker-4c-2g-81 does not seem to be running inside a container [2021-12-02T11:43:56.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T11:43:56.553Z] $ docker top 1dba94fec2fda0935958fdcc02cb6f73259e1099943737a04513bdd2b1475516 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T11:43:56.917Z] + make test [2021-12-02T11:43:56.918Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T11:43:57.510Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:43:58.153Z] provisioning config files... [2021-12-02T11:43:58.179Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/19@tmp/config6325990359394359971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:43:58.529Z] ---> docker-login.sh [2021-12-02T11:43:58.529Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:43:59.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:43:59.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:43:59.397Z] Configure a credential helper to remove this warning. See [2021-12-02T11:43:59.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:43:59.397Z] [2021-12-02T11:43:59.397Z] Login Succeeded [2021-12-02T11:43:59.397Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:43:59.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:43:59.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:43:59.668Z] Configure a credential helper to remove this warning. See [2021-12-02T11:43:59.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:43:59.668Z] [2021-12-02T11:43:59.668Z] Login Succeeded [2021-12-02T11:43:59.668Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:43:59.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:44:00.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:44:00.212Z] Configure a credential helper to remove this warning. See [2021-12-02T11:44:00.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:44:00.212Z] [2021-12-02T11:44:00.212Z] Login Succeeded [2021-12-02T11:44:00.212Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:44:00.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:44:00.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:44:00.491Z] Configure a credential helper to remove this warning. See [2021-12-02T11:44:00.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:44:00.491Z] [2021-12-02T11:44:00.491Z] Login Succeeded [2021-12-02T11:44:00.491Z] docker.io [2021-12-02T11:44:00.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:44:01.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:44:01.362Z] Configure a credential helper to remove this warning. See [2021-12-02T11:44:01.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:44:01.362Z] [2021-12-02T11:44:01.362Z] Login Succeeded [2021-12-02T11:44:01.362Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:44:01.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T11:44:01.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T11:44:01.924Z] ========================================================= [2021-12-02T11:44:01.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T11:44:01.924Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:02.273Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-02T11:44:02.549Z] Sending build context to Docker daemon 2.964MB [2021-12-02T11:44:02.549Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:44:02.549Z] Step 2/9 : FROM ${BASE} AS builder [2021-12-02T11:44:02.826Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T11:44:02.826Z] 552d1f2373af: Pulling fs layer [2021-12-02T11:44:02.826Z] ea3f2d53f512: Pulling fs layer [2021-12-02T11:44:02.826Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T11:44:02.826Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T11:44:02.826Z] 72dc09318566: Pulling fs layer [2021-12-02T11:44:02.826Z] f4f7b4309257: Pulling fs layer [2021-12-02T11:44:02.826Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T11:44:02.826Z] b78e95d17946: Pulling fs layer [2021-12-02T11:44:02.826Z] f4f7b4309257: Waiting [2021-12-02T11:44:02.826Z] 0ac9a79272e3: Waiting [2021-12-02T11:44:02.826Z] 7a9cfe048b4a: Waiting [2021-12-02T11:44:02.826Z] b78e95d17946: Waiting [2021-12-02T11:44:02.826Z] 9e70ebbbe112: Download complete [2021-12-02T11:44:02.826Z] ea3f2d53f512: Download complete [2021-12-02T11:44:02.826Z] 72dc09318566: Verifying Checksum [2021-12-02T11:44:02.826Z] 72dc09318566: Download complete [2021-12-02T11:44:02.826Z] f4f7b4309257: Verifying Checksum [2021-12-02T11:44:02.826Z] f4f7b4309257: Download complete [2021-12-02T11:44:02.826Z] 552d1f2373af: Verifying Checksum [2021-12-02T11:44:02.826Z] 552d1f2373af: Download complete [2021-12-02T11:44:02.826Z] 0ac9a79272e3: Verifying Checksum [2021-12-02T11:44:02.826Z] 0ac9a79272e3: Download complete [2021-12-02T11:44:03.814Z] 552d1f2373af: Pull complete [2021-12-02T11:44:04.416Z] ea3f2d53f512: Pull complete [2021-12-02T11:44:04.695Z] 9e70ebbbe112: Pull complete [2021-12-02T11:44:04.970Z] b78e95d17946: Verifying Checksum [2021-12-02T11:44:04.970Z] b78e95d17946: Download complete [2021-12-02T11:44:05.243Z] 7a9cfe048b4a: Verifying Checksum [2021-12-02T11:44:05.244Z] 7a9cfe048b4a: Download complete [2021-12-02T11:44:12.489Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-12-02T11:44:12.753Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2021-12-02T11:44:12.753Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T11:44:17.674Z] 7a9cfe048b4a: Pull complete [2021-12-02T11:44:17.674Z] 72dc09318566: Pull complete [2021-12-02T11:44:17.674Z] f4f7b4309257: Pull complete [2021-12-02T11:44:17.674Z] 0ac9a79272e3: Pull complete [2021-12-02T11:44:19.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T11:44:19.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T11:44:19.368Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T11:44:19.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T11:44:19.391Z] $ docker stop --time=1 1dba94fec2fda0935958fdcc02cb6f73259e1099943737a04513bdd2b1475516 [2021-12-02T11:44:20.808Z] $ docker rm -f 1dba94fec2fda0935958fdcc02cb6f73259e1099943737a04513bdd2b1475516 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:44:21.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T11:44:21.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T11:44:22.746Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T11:44:23.031Z] + ls -al . [2021-12-02T11:44:23.031Z] total 152 [2021-12-02T11:44:23.031Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 2 11:44 . [2021-12-02T11:44:23.031Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 11:42 .. [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 8010 Dec 2 11:42 Attribution.txt [2021-12-02T11:44:23.031Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 11:42 bin [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 6038 Dec 2 11:42 CHANGELOG.md [2021-12-02T11:44:23.031Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 11:42 cmd [2021-12-02T11:44:23.031Z] -rw-r--r--. 1 jenkins jenkins 23727 Dec 2 11:44 coverage.out [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 1523 Dec 2 11:42 Dockerfile [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 11:42 .dockerignore [2021-12-02T11:44:23.031Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 11:43 .git [2021-12-02T11:44:23.031Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 11:42 .github [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 331 Dec 2 11:42 .gitignore [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 300 Dec 2 11:42 go.mod [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 49511 Dec 2 11:42 go.sum [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 11:42 GOVERNANCE.md [2021-12-02T11:44:23.031Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 11:42 internal [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 679 Dec 2 11:42 Jenkinsfile [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 11:42 LICENSE [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 1009 Dec 2 11:42 Makefile [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 622 Dec 2 11:42 OWNERS.md [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 3488 Dec 2 11:42 README.md [2021-12-02T11:44:23.031Z] drwxrwxr-x. 2 jenkins jenkins 52 Dec 2 11:42 simulator [2021-12-02T11:44:23.031Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 2 11:42 snap [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 11:40 VERSION [2021-12-02T11:44:23.031Z] -rw-rw-r--. 1 jenkins jenkins 229 Dec 2 11:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:23.331Z] + 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=0698ca903eaff93b131c7e7a67c2b13166d23c43 --label arch=amd64 --label version=2.2.0-dev.2 . [2021-12-02T11:44:23.331Z] Sending build context to Docker daemon 2.99MB [2021-12-02T11:44:23.332Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:44:23.332Z] Step 2/22 : FROM ${BASE} AS builder [2021-12-02T11:44:23.332Z] ---> 6b436cc0b5fa [2021-12-02T11:44:23.332Z] Step 3/22 : ARG MAKE='make build' [2021-12-02T11:44:23.332Z] ---> Running in f2e0d26e7fea [2021-12-02T11:44:23.332Z] Removing intermediate container f2e0d26e7fea [2021-12-02T11:44:23.332Z] ---> 000d3417aebe [2021-12-02T11:44:23.332Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:44:23.332Z] ---> Running in 0d7bde499752 [2021-12-02T11:44:23.473Z] b78e95d17946: Pull complete [2021-12-02T11:44:23.473Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T11:44:23.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T11:44:23.473Z] ---> 8b459fc5aaf0 [2021-12-02T11:44:23.473Z] Step 3/9 : ARG MAKE='make build' [2021-12-02T11:44:23.907Z] Removing intermediate container 0d7bde499752 [2021-12-02T11:44:23.907Z] ---> 4d0fa00882b5 [2021-12-02T11:44:23.907Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-12-02T11:44:23.907Z] ---> Running in b98e11eaea61 [2021-12-02T11:44:24.169Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:44:25.111Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:44:25.373Z] OK: 226 MiB in 60 packages [2021-12-02T11:44:25.373Z] Removing intermediate container b98e11eaea61 [2021-12-02T11:44:25.373Z] ---> 4aeb83399c9d [2021-12-02T11:44:25.373Z] Step 6/22 : WORKDIR /device-modbus-go [2021-12-02T11:44:25.447Z] ---> Running in e9d23b3bc3d1 [2021-12-02T11:44:25.636Z] ---> Running in 29f4c705e757 [2021-12-02T11:44:25.636Z] Removing intermediate container 29f4c705e757 [2021-12-02T11:44:25.636Z] ---> 7d7d9c8163b7 [2021-12-02T11:44:25.636Z] Step 7/22 : COPY . . [2021-12-02T11:44:25.726Z] Removing intermediate container e9d23b3bc3d1 [2021-12-02T11:44:25.726Z] ---> 540b12fe45d2 [2021-12-02T11:44:25.726Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:44:25.897Z] ---> 24f2011dc102 [2021-12-02T11:44:25.897Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:44:25.897Z] ---> Running in bb53216d4480 [2021-12-02T11:44:26.001Z] ---> Running in 8cfaee61e631 [2021-12-02T11:44:26.471Z] Removing intermediate container bb53216d4480 [2021-12-02T11:44:26.471Z] ---> 1562931c2dec [2021-12-02T11:44:26.471Z] Step 9/22 : RUN ${MAKE} [2021-12-02T11:44:26.471Z] ---> Running in b246f353e769 [2021-12-02T11:44:26.735Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.2" -o cmd/device-modbus ./cmd [2021-12-02T11:44:27.976Z] Removing intermediate container 8cfaee61e631 [2021-12-02T11:44:27.976Z] ---> ffe553570828 [2021-12-02T11:44:27.976Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-12-02T11:44:27.976Z] ---> Running in 378041532a58 [2021-12-02T11:44:28.956Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:44:29.935Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:44:30.918Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T11:44:30.918Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-12-02T11:44:30.918Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T11:44:31.205Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T11:44:31.205Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-12-02T11:44:31.205Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-12-02T11:44:31.484Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-12-02T11:44:31.484Z] (8/8) Installing openssh (8.6_p1-r3) [2021-12-02T11:44:31.763Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T11:44:31.764Z] OK: 225 MiB in 60 packages [2021-12-02T11:44:32.753Z] Removing intermediate container 378041532a58 [2021-12-02T11:44:32.753Z] ---> bf73924f5eb4 [2021-12-02T11:44:32.753Z] Step 6/9 : WORKDIR /device-modbus-go [2021-12-02T11:44:33.027Z] ---> Running in 1c0701bf6232 [2021-12-02T11:44:33.303Z] Removing intermediate container 1c0701bf6232 [2021-12-02T11:44:33.303Z] ---> 6ec952d5e07d [2021-12-02T11:44:33.303Z] Step 7/9 : COPY . . [2021-12-02T11:44:34.294Z] ---> a705ea3fcf54 [2021-12-02T11:44:34.294Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:44:34.294Z] ---> Running in ef27ef59da83 [2021-12-02T11:44:39.037Z] Removing intermediate container b246f353e769 [2021-12-02T11:44:39.038Z] ---> 70481da71cf2 [2021-12-02T11:44:39.038Z] Step 10/22 : FROM alpine:3.14 [2021-12-02T11:44:39.038Z] 3.14: Pulling from library/alpine [2021-12-02T11:44:39.038Z] 97518928ae5f: Pulling fs layer [2021-12-02T11:44:39.038Z] 97518928ae5f: Verifying Checksum [2021-12-02T11:44:39.038Z] 97518928ae5f: Download complete [2021-12-02T11:44:39.038Z] 97518928ae5f: Pull complete [2021-12-02T11:44:39.038Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T11:44:39.038Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T11:44:39.038Z] ---> 0a97eee8041e [2021-12-02T11:44:39.038Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-12-02T11:44:39.297Z] ---> Running in 87850b4bf0a7 [2021-12-02T11:44:39.567Z] Removing intermediate container 87850b4bf0a7 [2021-12-02T11:44:39.567Z] ---> e583493f4c6c [2021-12-02T11:44:39.567Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:44:39.567Z] ---> Running in 6a970421ea46 [2021-12-02T11:44:40.519Z] Removing intermediate container 6a970421ea46 [2021-12-02T11:44:40.519Z] ---> 71c72bb4e0ce [2021-12-02T11:44:40.519Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T11:44:40.519Z] ---> Running in c123168b5ef2 [2021-12-02T11:44:40.780Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T11:44:41.726Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T11:44:41.726Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T11:44:41.986Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T11:44:41.986Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T11:44:42.247Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T11:44:42.247Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T11:44:42.247Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T11:44:42.511Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T11:44:42.511Z] OK: 8 MiB in 20 packages [2021-12-02T11:44:42.769Z] Removing intermediate container c123168b5ef2 [2021-12-02T11:44:42.769Z] ---> dfeaa1467f83 [2021-12-02T11:44:42.769Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-12-02T11:44:43.032Z] ---> 53ba56252e45 [2021-12-02T11:44:43.032Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-12-02T11:44:43.294Z] ---> f22abe701a9b [2021-12-02T11:44:43.294Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-12-02T11:44:43.294Z] ---> fe91a5f29f67 [2021-12-02T11:44:43.294Z] Step 17/22 : EXPOSE 59901 [2021-12-02T11:44:43.555Z] ---> Running in 6dc5f73fef53 [2021-12-02T11:44:43.555Z] Removing intermediate container 6dc5f73fef53 [2021-12-02T11:44:43.555Z] ---> 8b0a880ce4ec [2021-12-02T11:44:43.555Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-12-02T11:44:43.555Z] ---> Running in 2575ae1e0384 [2021-12-02T11:44:43.555Z] Removing intermediate container 2575ae1e0384 [2021-12-02T11:44:43.555Z] ---> e347d551b9bc [2021-12-02T11:44:43.555Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-02T11:44:43.555Z] ---> Running in cb7dad1ce88f [2021-12-02T11:44:43.819Z] Removing intermediate container cb7dad1ce88f [2021-12-02T11:44:43.819Z] ---> b654bc4e2f16 [2021-12-02T11:44:43.819Z] Step 20/22 : LABEL arch=amd64 [2021-12-02T11:44:43.819Z] ---> Running in 7ea09e97811d [2021-12-02T11:44:43.819Z] Removing intermediate container 7ea09e97811d [2021-12-02T11:44:43.819Z] ---> 38a5d9432c39 [2021-12-02T11:44:43.819Z] Step 21/22 : LABEL git_sha=0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:44:43.819Z] ---> Running in 0d5b366c6c4a [2021-12-02T11:44:43.819Z] Removing intermediate container 0d5b366c6c4a [2021-12-02T11:44:43.819Z] ---> 0681fa51efec [2021-12-02T11:44:43.819Z] Step 22/22 : LABEL version=2.2.0-dev.2 [2021-12-02T11:44:44.079Z] ---> Running in ffe00802ac7e [2021-12-02T11:44:44.079Z] Removing intermediate container ffe00802ac7e [2021-12-02T11:44:44.079Z] ---> bb07d45a78d5 [2021-12-02T11:44:44.079Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T11:44:44.079Z] Successfully built bb07d45a78d5 [2021-12-02T11:44:44.079Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:44:44.312Z] provisioning config files... [2021-12-02T11:44:44.323Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/19@tmp/config7232596749395049812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:44:44.631Z] ---> docker-login.sh [2021-12-02T11:44:44.631Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:44:44.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:44:44.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:44:44.631Z] Configure a credential helper to remove this warning. See [2021-12-02T11:44:44.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:44:44.631Z] [2021-12-02T11:44:44.631Z] Login Succeeded [2021-12-02T11:44:44.631Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:44:44.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:44:44.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:44:44.631Z] Configure a credential helper to remove this warning. See [2021-12-02T11:44:44.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:44:44.631Z] [2021-12-02T11:44:44.631Z] Login Succeeded [2021-12-02T11:44:44.631Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:44:44.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:44:44.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:44:44.906Z] Configure a credential helper to remove this warning. See [2021-12-02T11:44:44.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:44:44.906Z] [2021-12-02T11:44:44.906Z] Login Succeeded [2021-12-02T11:44:44.906Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:44:44.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:44:44.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:44:44.906Z] Configure a credential helper to remove this warning. See [2021-12-02T11:44:44.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:44:44.906Z] [2021-12-02T11:44:44.906Z] Login Succeeded [2021-12-02T11:44:44.906Z] docker.io [2021-12-02T11:44:45.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:44:45.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:44:45.428Z] Configure a credential helper to remove this warning. See [2021-12-02T11:44:45.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:44:45.428Z] [2021-12-02T11:44:45.428Z] Login Succeeded [2021-12-02T11:44:45.428Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:44:45.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T11:44:45.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T11:44:45.491Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-12-02T11:44:45.491Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:44:45.491Z] latest [2021-12-02T11:44:45.491Z] 2.2.0-dev.2 [2021-12-02T11:44:45.491Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [2021-12-02T11:44:45.491Z] main [2021-12-02T11:44:45.491Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:45.816Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:46.111Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:44:46.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-12-02T11:44:46.111Z] fc14b9c4f85b: Preparing [2021-12-02T11:44:46.111Z] 4da19d0e7e24: Preparing [2021-12-02T11:44:46.111Z] 46176356f3c1: Preparing [2021-12-02T11:44:46.111Z] fcd1c732c2ef: Preparing [2021-12-02T11:44:46.111Z] 5c6513180ab8: Preparing [2021-12-02T11:44:46.111Z] 1a058d5342cc: Preparing [2021-12-02T11:44:46.111Z] 1a058d5342cc: Waiting [2021-12-02T11:44:46.372Z] fc14b9c4f85b: Pushed [2021-12-02T11:44:46.372Z] 1a058d5342cc: Layer already exists [2021-12-02T11:44:46.372Z] 4da19d0e7e24: Pushed [2021-12-02T11:44:46.372Z] 5c6513180ab8: Pushed [2021-12-02T11:44:46.372Z] fcd1c732c2ef: Pushed [2021-12-02T11:44:47.317Z] 46176356f3c1: Pushed [2021-12-02T11:44:47.317Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:47.613Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:47.906Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-12-02T11:44:47.906Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-12-02T11:44:47.906Z] fc14b9c4f85b: Preparing [2021-12-02T11:44:47.906Z] 4da19d0e7e24: Preparing [2021-12-02T11:44:47.906Z] 46176356f3c1: Preparing [2021-12-02T11:44:47.906Z] fcd1c732c2ef: Preparing [2021-12-02T11:44:47.906Z] 5c6513180ab8: Preparing [2021-12-02T11:44:47.906Z] 1a058d5342cc: Preparing [2021-12-02T11:44:47.906Z] 1a058d5342cc: Waiting [2021-12-02T11:44:47.906Z] 4da19d0e7e24: Layer already exists [2021-12-02T11:44:47.906Z] fcd1c732c2ef: Layer already exists [2021-12-02T11:44:47.906Z] 46176356f3c1: Layer already exists [2021-12-02T11:44:47.906Z] 5c6513180ab8: Layer already exists [2021-12-02T11:44:47.906Z] fc14b9c4f85b: Layer already exists [2021-12-02T11:44:47.906Z] 1a058d5342cc: Layer already exists [2021-12-02T11:44:47.906Z] latest: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:48.223Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:48.513Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.2 [2021-12-02T11:44:48.513Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-12-02T11:44:48.513Z] fc14b9c4f85b: Preparing [2021-12-02T11:44:48.513Z] 4da19d0e7e24: Preparing [2021-12-02T11:44:48.513Z] 46176356f3c1: Preparing [2021-12-02T11:44:48.513Z] fcd1c732c2ef: Preparing [2021-12-02T11:44:48.513Z] 5c6513180ab8: Preparing [2021-12-02T11:44:48.513Z] 1a058d5342cc: Preparing [2021-12-02T11:44:48.513Z] 1a058d5342cc: Waiting [2021-12-02T11:44:48.513Z] 5c6513180ab8: Layer already exists [2021-12-02T11:44:48.513Z] 4da19d0e7e24: Layer already exists [2021-12-02T11:44:48.513Z] fc14b9c4f85b: Layer already exists [2021-12-02T11:44:48.513Z] 46176356f3c1: Layer already exists [2021-12-02T11:44:48.513Z] fcd1c732c2ef: Layer already exists [2021-12-02T11:44:48.513Z] 1a058d5342cc: Layer already exists [2021-12-02T11:44:48.513Z] 2.2.0-dev.2: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:48.818Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:49.112Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [2021-12-02T11:44:49.112Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-12-02T11:44:49.112Z] fc14b9c4f85b: Preparing [2021-12-02T11:44:49.112Z] 4da19d0e7e24: Preparing [2021-12-02T11:44:49.112Z] 46176356f3c1: Preparing [2021-12-02T11:44:49.112Z] fcd1c732c2ef: Preparing [2021-12-02T11:44:49.112Z] 5c6513180ab8: Preparing [2021-12-02T11:44:49.112Z] 1a058d5342cc: Preparing [2021-12-02T11:44:49.112Z] 1a058d5342cc: Waiting [2021-12-02T11:44:49.112Z] 4da19d0e7e24: Layer already exists [2021-12-02T11:44:49.112Z] 5c6513180ab8: Layer already exists [2021-12-02T11:44:49.112Z] fcd1c732c2ef: Layer already exists [2021-12-02T11:44:49.112Z] 46176356f3c1: Layer already exists [2021-12-02T11:44:49.112Z] fc14b9c4f85b: Layer already exists [2021-12-02T11:44:49.112Z] 1a058d5342cc: Layer already exists [2021-12-02T11:44:49.112Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:49.412Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:49.709Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-12-02T11:44:49.709Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-12-02T11:44:49.709Z] fc14b9c4f85b: Preparing [2021-12-02T11:44:49.709Z] 4da19d0e7e24: Preparing [2021-12-02T11:44:49.709Z] 46176356f3c1: Preparing [2021-12-02T11:44:49.709Z] fcd1c732c2ef: Preparing [2021-12-02T11:44:49.709Z] 5c6513180ab8: Preparing [2021-12-02T11:44:49.709Z] 1a058d5342cc: Preparing [2021-12-02T11:44:49.709Z] 1a058d5342cc: Waiting [2021-12-02T11:44:49.709Z] 4da19d0e7e24: Layer already exists [2021-12-02T11:44:49.709Z] fcd1c732c2ef: Layer already exists [2021-12-02T11:44:49.709Z] fc14b9c4f85b: Layer already exists [2021-12-02T11:44:49.709Z] 46176356f3c1: Layer already exists [2021-12-02T11:44:49.709Z] 5c6513180ab8: Layer already exists [2021-12-02T11:44:49.709Z] 1a058d5342cc: Layer already exists [2021-12-02T11:44:49.709Z] main: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T11:44:49.751Z] ===================================================== [Pipeline] echo [2021-12-02T11:44:49.761Z] taggedImages: [2021-12-02T11:44:49.761Z] - nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:44:49.761Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-12-02T11:44:49.761Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.2 [2021-12-02T11:44:49.761Z] - nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [2021-12-02T11:44:49.761Z] - 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:50.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:44:50.263Z] [2021-12-02T11:44:50.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:44:50.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:44:50.570Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T11:44:50.570Z] b4d181a07f80: Pulling fs layer [2021-12-02T11:44:50.570Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T11:44:50.570Z] ed53099fbce6: Pulling fs layer [2021-12-02T11:44:50.570Z] dc539afda2c1: Pulling fs layer [2021-12-02T11:44:50.570Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T11:44:50.570Z] 9065ff56babe: Pulling fs layer [2021-12-02T11:44:50.570Z] d287ab97295c: Pulling fs layer [2021-12-02T11:44:50.570Z] dc539afda2c1: Waiting [2021-12-02T11:44:50.570Z] 77bc0d833cb6: Waiting [2021-12-02T11:44:50.570Z] 9065ff56babe: Waiting [2021-12-02T11:44:50.570Z] d287ab97295c: Waiting [2021-12-02T11:44:50.570Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T11:44:50.570Z] a1111a8f2ec3: Download complete [2021-12-02T11:44:50.570Z] dc539afda2c1: Verifying Checksum [2021-12-02T11:44:50.570Z] dc539afda2c1: Download complete [2021-12-02T11:44:50.570Z] ed53099fbce6: Verifying Checksum [2021-12-02T11:44:50.570Z] ed53099fbce6: Download complete [2021-12-02T11:44:50.570Z] 9065ff56babe: Verifying Checksum [2021-12-02T11:44:50.570Z] 9065ff56babe: Download complete [2021-12-02T11:44:50.829Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T11:44:50.829Z] 77bc0d833cb6: Download complete [2021-12-02T11:44:50.829Z] b4d181a07f80: Verifying Checksum [2021-12-02T11:44:50.829Z] b4d181a07f80: Download complete [2021-12-02T11:44:51.410Z] d287ab97295c: Verifying Checksum [2021-12-02T11:44:51.410Z] d287ab97295c: Download complete [2021-12-02T11:44:52.370Z] b4d181a07f80: Pull complete [2021-12-02T11:44:52.370Z] a1111a8f2ec3: Pull complete [2021-12-02T11:44:52.941Z] ed53099fbce6: Pull complete [2021-12-02T11:44:52.941Z] dc539afda2c1: Pull complete [2021-12-02T11:44:53.204Z] 77bc0d833cb6: Pull complete [2021-12-02T11:44:53.204Z] 9065ff56babe: Pull complete [2021-12-02T11:44:58.521Z] d287ab97295c: Pull complete [2021-12-02T11:44:58.521Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T11:44:58.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:44:58.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T11:44:58.597Z] prd-centos7-docker-4c-2g-81 does not seem to be running inside a container [2021-12-02T11:44:58.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T11:45:03.327Z] $ docker top 1ef649b2c7186c39d2e9043b3d2d775c9c4645b49e5a090056ea5e1b1b1de8d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:45:03.727Z] ---> job-cost.sh [2021-12-02T11:45:03.727Z] lf-activate-venv: SKIPPING [2021-12-02T11:45:03.727Z] INFO: No Stack... [2021-12-02T11:45:03.987Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T11:45:04.246Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T11:45:04.540Z] + cat /w/workspace/device-modbus-go/19/archives/cost.csv [2021-12-02T11:45:04.540Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T11:45:04.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [2021-12-02T11:45:04.569Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] did not exist. Created. [2021-12-02T11:45:04.569Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T11:45:04.880Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T11:45:04.912Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T11:45:04.918Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T11:45:04.938Z] $ docker stop --time=1 1ef649b2c7186c39d2e9043b3d2d775c9c4645b49e5a090056ea5e1b1b1de8d4 [2021-12-02T11:45:06.078Z] $ docker rm -f 1ef649b2c7186c39d2e9043b3d2d775c9c4645b49e5a090056ea5e1b1b1de8d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T11:45:56.102Z] Removing intermediate container ef27ef59da83 [2021-12-02T11:45:56.102Z] ---> 156bd6b1bd6d [2021-12-02T11:45:56.102Z] Step 9/9 : RUN ${MAKE} [2021-12-02T11:45:56.102Z] ---> Running in 490f5eecca7c [2021-12-02T11:45:56.102Z] noop [2021-12-02T11:45:56.102Z] Removing intermediate container 490f5eecca7c [2021-12-02T11:45:56.102Z] ---> d44b56b954fe [2021-12-02T11:45:56.102Z] Successfully built d44b56b954fe [2021-12-02T11:45:56.102Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:45:56.464Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T11:45:56.464Z] . [Pipeline] withDockerContainer [2021-12-02T11:45:56.666Z] prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container [2021-12-02T11:45:56.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T11:45:57.941Z] $ docker top 3ded9cf9e1bcbb875f363809cafa223565a546d387dbb3b2b59b131492601c72 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:45:58.805Z] + go version [2021-12-02T11:45:58.805Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T11:45:58.830Z] $ docker stop --time=1 3ded9cf9e1bcbb875f363809cafa223565a546d387dbb3b2b59b131492601c72 [2021-12-02T11:46:00.465Z] $ docker rm -f 3ded9cf9e1bcbb875f363809cafa223565a546d387dbb3b2b59b131492601c72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:46:01.151Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T11:46:01.151Z] . [Pipeline] withDockerContainer [2021-12-02T11:46:01.354Z] prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container [2021-12-02T11:46:01.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T11:46:02.661Z] $ docker top 2f3055e7df2bce4be270eb570c5aead9e8a755d930aa43c0ec3a36cddba4ad6b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T11:46:03.521Z] + make test [2021-12-02T11:46:03.521Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T11:46:04.957Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-12-02T11:47:01.567Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-12-02T11:47:01.567Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements [2021-12-02T11:47:01.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T11:47:28.369Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T11:47:28.369Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T11:47:28.369Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T11:47:28.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T11:47:28.407Z] $ docker stop --time=1 2f3055e7df2bce4be270eb570c5aead9e8a755d930aa43c0ec3a36cddba4ad6b [2021-12-02T11:47:30.223Z] $ docker rm -f 2f3055e7df2bce4be270eb570c5aead9e8a755d930aa43c0ec3a36cddba4ad6b [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:47:31.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T11:47:31.106Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T11:47:31.751Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T11:47:32.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T11:47:32.538Z] + ls -al . [2021-12-02T11:47:32.539Z] total 184 [2021-12-02T11:47:32.539Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 11:47 . [2021-12-02T11:47:32.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 11:43 .. [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 11:43 .dockerignore [2021-12-02T11:47:32.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 11:43 .git [2021-12-02T11:47:32.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:43 .github [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 331 Dec 2 11:43 .gitignore [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 8010 Dec 2 11:43 Attribution.txt [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 6038 Dec 2 11:43 CHANGELOG.md [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 1523 Dec 2 11:43 Dockerfile [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 11:43 GOVERNANCE.md [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 679 Dec 2 11:43 Jenkinsfile [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 11:43 LICENSE [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 1009 Dec 2 11:43 Makefile [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 2 11:43 OWNERS.md [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 3488 Dec 2 11:43 README.md [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 11:40 VERSION [2021-12-02T11:47:32.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:43 bin [2021-12-02T11:47:32.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:43 cmd [2021-12-02T11:47:32.539Z] -rw-r--r-- 1 jenkins jenkins 23727 Dec 2 11:46 coverage.out [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 300 Dec 2 11:43 go.mod [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 49511 Dec 2 11:43 go.sum [2021-12-02T11:47:32.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:43 internal [2021-12-02T11:47:32.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:43 simulator [2021-12-02T11:47:32.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 11:43 snap [2021-12-02T11:47:32.539Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 2 11:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:47:32.882Z] + 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=0698ca903eaff93b131c7e7a67c2b13166d23c43 --label arch=arm64 --label version=2.2.0-dev.2 . [2021-12-02T11:47:33.156Z] Sending build context to Docker daemon 2.989MB [2021-12-02T11:47:33.156Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T11:47:33.156Z] Step 2/22 : FROM ${BASE} AS builder [2021-12-02T11:47:33.156Z] ---> d44b56b954fe [2021-12-02T11:47:33.156Z] Step 3/22 : ARG MAKE='make build' [2021-12-02T11:47:33.425Z] ---> Running in 8ce710fdc376 [2021-12-02T11:47:33.699Z] Removing intermediate container 8ce710fdc376 [2021-12-02T11:47:33.699Z] ---> 50f8bb8a5ba6 [2021-12-02T11:47:33.699Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:47:33.699Z] ---> Running in f77233dfa7c2 [2021-12-02T11:47:35.664Z] Removing intermediate container f77233dfa7c2 [2021-12-02T11:47:35.664Z] ---> d281a7f905ae [2021-12-02T11:47:35.664Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-12-02T11:47:35.664Z] ---> Running in ffb4bf944827 [2021-12-02T11:47:36.255Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:47:37.225Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:47:37.819Z] OK: 225 MiB in 60 packages [2021-12-02T11:47:38.796Z] Removing intermediate container ffb4bf944827 [2021-12-02T11:47:38.796Z] ---> 8b519ef934a7 [2021-12-02T11:47:38.796Z] Step 6/22 : WORKDIR /device-modbus-go [2021-12-02T11:47:38.796Z] ---> Running in 9426d9d63bc6 [2021-12-02T11:47:39.065Z] Removing intermediate container 9426d9d63bc6 [2021-12-02T11:47:39.065Z] ---> 1154de751ccc [2021-12-02T11:47:39.065Z] Step 7/22 : COPY . . [2021-12-02T11:47:40.039Z] ---> b8e9bcc8b3ce [2021-12-02T11:47:40.039Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T11:47:40.039Z] ---> Running in 110380b98825 [2021-12-02T11:47:42.018Z] Removing intermediate container 110380b98825 [2021-12-02T11:47:42.018Z] ---> 6f0fa935b9d4 [2021-12-02T11:47:42.018Z] Step 9/22 : RUN ${MAKE} [2021-12-02T11:47:42.018Z] ---> Running in ba1a3b7c6893 [2021-12-02T11:47:42.990Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.2" -o cmd/device-modbus ./cmd [2021-12-02T11:48:21.966Z] Removing intermediate container ba1a3b7c6893 [2021-12-02T11:48:21.966Z] ---> 8eb4f52023dc [2021-12-02T11:48:21.966Z] Step 10/22 : FROM alpine:3.14 [2021-12-02T11:48:21.966Z] 3.14: Pulling from library/alpine [2021-12-02T11:48:21.966Z] be307f383ecc: Pulling fs layer [2021-12-02T11:48:21.966Z] be307f383ecc: Verifying Checksum [2021-12-02T11:48:21.966Z] be307f383ecc: Download complete [2021-12-02T11:48:21.966Z] be307f383ecc: Pull complete [2021-12-02T11:48:21.966Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T11:48:21.966Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T11:48:21.966Z] ---> 5b8b7b635229 [2021-12-02T11:48:21.966Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-12-02T11:48:21.966Z] ---> Running in 04ea626faedd [2021-12-02T11:48:22.245Z] Removing intermediate container 04ea626faedd [2021-12-02T11:48:22.245Z] ---> 2761d725fd24 [2021-12-02T11:48:22.245Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T11:48:22.245Z] ---> Running in 7955e191d11b [2021-12-02T11:48:24.216Z] Removing intermediate container 7955e191d11b [2021-12-02T11:48:24.216Z] ---> 20a0ed3005d2 [2021-12-02T11:48:24.216Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T11:48:24.216Z] ---> Running in 5b5c49a069f2 [2021-12-02T11:48:25.192Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T11:48:25.786Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T11:48:26.763Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T11:48:26.763Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T11:48:26.763Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T11:48:27.036Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T11:48:27.036Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T11:48:27.311Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T11:48:27.311Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T11:48:27.311Z] OK: 8 MiB in 20 packages [2021-12-02T11:48:28.308Z] Removing intermediate container 5b5c49a069f2 [2021-12-02T11:48:28.308Z] ---> edd55a72a940 [2021-12-02T11:48:28.308Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-12-02T11:48:29.746Z] ---> eb5c7180c990 [2021-12-02T11:48:29.746Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-12-02T11:48:30.343Z] ---> 7ee095111162 [2021-12-02T11:48:30.343Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-12-02T11:48:30.942Z] ---> fa6b275171e9 [2021-12-02T11:48:30.942Z] Step 17/22 : EXPOSE 59901 [2021-12-02T11:48:30.942Z] ---> Running in 23eca094c875 [2021-12-02T11:48:31.216Z] Removing intermediate container 23eca094c875 [2021-12-02T11:48:31.487Z] ---> c66be50c3df5 [2021-12-02T11:48:31.487Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-12-02T11:48:31.487Z] ---> Running in 5a9bcf3f15f0 [2021-12-02T11:48:31.759Z] Removing intermediate container 5a9bcf3f15f0 [2021-12-02T11:48:31.759Z] ---> b66c74be9626 [2021-12-02T11:48:31.759Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-02T11:48:32.032Z] ---> Running in 66c9f1a617ee [2021-12-02T11:48:32.343Z] Removing intermediate container 66c9f1a617ee [2021-12-02T11:48:32.343Z] ---> ec86894f7d76 [2021-12-02T11:48:32.343Z] Step 20/22 : LABEL arch=arm64 [2021-12-02T11:48:32.343Z] ---> Running in c87194b7a244 [2021-12-02T11:48:32.625Z] Removing intermediate container c87194b7a244 [2021-12-02T11:48:32.625Z] ---> ce45cebfd04d [2021-12-02T11:48:32.625Z] Step 21/22 : LABEL git_sha=0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:48:32.897Z] ---> Running in 2918d51b1cef [2021-12-02T11:48:33.171Z] Removing intermediate container 2918d51b1cef [2021-12-02T11:48:33.171Z] ---> ea8b5614d313 [2021-12-02T11:48:33.171Z] Step 22/22 : LABEL version=2.2.0-dev.2 [2021-12-02T11:48:33.452Z] ---> Running in e839e47a4e79 [2021-12-02T11:48:33.725Z] Removing intermediate container e839e47a4e79 [2021-12-02T11:48:33.725Z] ---> 2388f5fee855 [2021-12-02T11:48:33.725Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T11:48:33.725Z] Successfully built 2388f5fee855 [2021-12-02T11:48:33.725Z] 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-12-02T11:48:33.878Z] provisioning config files... [2021-12-02T11:48:33.902Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/19@tmp/config4157596134766406910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:48:34.268Z] ---> docker-login.sh [2021-12-02T11:48:34.268Z] nexus3.edgexfoundry.org:10001 [2021-12-02T11:48:34.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:34.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:34.541Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:34.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:34.541Z] [2021-12-02T11:48:34.541Z] Login Succeeded [2021-12-02T11:48:34.541Z] nexus3.edgexfoundry.org:10002 [2021-12-02T11:48:35.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:35.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:35.134Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:35.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:35.134Z] [2021-12-02T11:48:35.134Z] Login Succeeded [2021-12-02T11:48:35.134Z] nexus3.edgexfoundry.org:10003 [2021-12-02T11:48:35.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:35.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:35.730Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:35.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:35.730Z] [2021-12-02T11:48:35.730Z] Login Succeeded [2021-12-02T11:48:35.730Z] nexus3.edgexfoundry.org:10004 [2021-12-02T11:48:36.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:36.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:36.275Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:36.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:36.275Z] [2021-12-02T11:48:36.275Z] Login Succeeded [2021-12-02T11:48:36.275Z] docker.io [2021-12-02T11:48:36.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T11:48:36.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T11:48:36.822Z] Configure a credential helper to remove this warning. See [2021-12-02T11:48:36.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T11:48:36.822Z] [2021-12-02T11:48:36.822Z] Login Succeeded [2021-12-02T11:48:36.822Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T11:48:36.840Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T11:48:36.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T11:48:36.897Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-12-02T11:48:36.897Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:48:36.897Z] latest [2021-12-02T11:48:36.897Z] 2.2.0-dev.2 [2021-12-02T11:48:36.897Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [2021-12-02T11:48:36.897Z] main [2021-12-02T11:48:36.897Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:37.261Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:37.613Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:48:37.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-12-02T11:48:37.613Z] 6f0e6db2da4c: Preparing [2021-12-02T11:48:37.613Z] 3a8ed89108fc: Preparing [2021-12-02T11:48:37.613Z] 9f61b97edb6d: Preparing [2021-12-02T11:48:37.613Z] 1931d9684f72: Preparing [2021-12-02T11:48:37.613Z] 0e870e530c5e: Preparing [2021-12-02T11:48:37.613Z] 62170e181a92: Preparing [2021-12-02T11:48:37.613Z] 62170e181a92: Waiting [2021-12-02T11:48:37.888Z] 6f0e6db2da4c: Pushed [2021-12-02T11:48:37.888Z] 0e870e530c5e: Pushed [2021-12-02T11:48:37.888Z] 3a8ed89108fc: Pushed [2021-12-02T11:48:37.888Z] 62170e181a92: Layer already exists [2021-12-02T11:48:38.483Z] 1931d9684f72: Pushed [2021-12-02T11:48:41.093Z] 9f61b97edb6d: Pushed [2021-12-02T11:48:41.093Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:41.440Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:41.783Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-12-02T11:48:41.783Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-12-02T11:48:41.783Z] 6f0e6db2da4c: Preparing [2021-12-02T11:48:41.783Z] 3a8ed89108fc: Preparing [2021-12-02T11:48:41.783Z] 9f61b97edb6d: Preparing [2021-12-02T11:48:41.783Z] 1931d9684f72: Preparing [2021-12-02T11:48:41.783Z] 0e870e530c5e: Preparing [2021-12-02T11:48:41.783Z] 62170e181a92: Preparing [2021-12-02T11:48:41.783Z] 62170e181a92: Waiting [2021-12-02T11:48:41.783Z] 0e870e530c5e: Layer already exists [2021-12-02T11:48:41.783Z] 6f0e6db2da4c: Layer already exists [2021-12-02T11:48:41.783Z] 3a8ed89108fc: Layer already exists [2021-12-02T11:48:41.783Z] 9f61b97edb6d: Layer already exists [2021-12-02T11:48:41.783Z] 1931d9684f72: Layer already exists [2021-12-02T11:48:41.783Z] 62170e181a92: Layer already exists [2021-12-02T11:48:42.055Z] latest: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:42.399Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:42.736Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.2 [2021-12-02T11:48:42.736Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-12-02T11:48:42.736Z] 6f0e6db2da4c: Preparing [2021-12-02T11:48:42.736Z] 3a8ed89108fc: Preparing [2021-12-02T11:48:42.736Z] 9f61b97edb6d: Preparing [2021-12-02T11:48:42.736Z] 1931d9684f72: Preparing [2021-12-02T11:48:42.736Z] 0e870e530c5e: Preparing [2021-12-02T11:48:42.736Z] 62170e181a92: Preparing [2021-12-02T11:48:42.736Z] 62170e181a92: Waiting [2021-12-02T11:48:42.736Z] 1931d9684f72: Layer already exists [2021-12-02T11:48:42.736Z] 9f61b97edb6d: Layer already exists [2021-12-02T11:48:42.736Z] 0e870e530c5e: Layer already exists [2021-12-02T11:48:42.736Z] 6f0e6db2da4c: Layer already exists [2021-12-02T11:48:42.736Z] 3a8ed89108fc: Layer already exists [2021-12-02T11:48:42.736Z] 62170e181a92: Layer already exists [2021-12-02T11:48:43.008Z] 2.2.0-dev.2: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:43.369Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:43.732Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [2021-12-02T11:48:43.732Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-12-02T11:48:43.732Z] 6f0e6db2da4c: Preparing [2021-12-02T11:48:43.732Z] 3a8ed89108fc: Preparing [2021-12-02T11:48:43.732Z] 9f61b97edb6d: Preparing [2021-12-02T11:48:43.732Z] 1931d9684f72: Preparing [2021-12-02T11:48:43.732Z] 0e870e530c5e: Preparing [2021-12-02T11:48:43.732Z] 62170e181a92: Preparing [2021-12-02T11:48:43.732Z] 62170e181a92: Waiting [2021-12-02T11:48:43.732Z] 6f0e6db2da4c: Layer already exists [2021-12-02T11:48:43.732Z] 1931d9684f72: Layer already exists [2021-12-02T11:48:43.732Z] 9f61b97edb6d: Layer already exists [2021-12-02T11:48:43.732Z] 0e870e530c5e: Layer already exists [2021-12-02T11:48:43.732Z] 3a8ed89108fc: Layer already exists [2021-12-02T11:48:43.732Z] 62170e181a92: Layer already exists [2021-12-02T11:48:44.015Z] 0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:44.391Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:44.742Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-12-02T11:48:44.742Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-12-02T11:48:44.742Z] 6f0e6db2da4c: Preparing [2021-12-02T11:48:44.742Z] 3a8ed89108fc: Preparing [2021-12-02T11:48:44.742Z] 9f61b97edb6d: Preparing [2021-12-02T11:48:44.742Z] 1931d9684f72: Preparing [2021-12-02T11:48:44.742Z] 0e870e530c5e: Preparing [2021-12-02T11:48:44.742Z] 62170e181a92: Preparing [2021-12-02T11:48:44.742Z] 62170e181a92: Waiting [2021-12-02T11:48:44.742Z] 3a8ed89108fc: Layer already exists [2021-12-02T11:48:44.742Z] 6f0e6db2da4c: Layer already exists [2021-12-02T11:48:44.742Z] 9f61b97edb6d: Layer already exists [2021-12-02T11:48:44.742Z] 1931d9684f72: Layer already exists [2021-12-02T11:48:44.742Z] 0e870e530c5e: Layer already exists [2021-12-02T11:48:44.742Z] 62170e181a92: Layer already exists [2021-12-02T11:48:45.016Z] main: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T11:48:45.071Z] ===================================================== [Pipeline] echo [2021-12-02T11:48:45.082Z] taggedImages: [2021-12-02T11:48:45.082Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43 [2021-12-02T11:48:45.082Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-12-02T11:48:45.082Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.2 [2021-12-02T11:48:45.082Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [2021-12-02T11:48:45.082Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:45.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:48:45.504Z] [2021-12-02T11:48:45.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:48:45.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:48:46.127Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T11:48:46.127Z] 448f6bf000e3: Pulling fs layer [2021-12-02T11:48:46.127Z] f757da607395: Pulling fs layer [2021-12-02T11:48:46.127Z] 05883995daec: Pulling fs layer [2021-12-02T11:48:46.127Z] 8603b9c90790: Pulling fs layer [2021-12-02T11:48:46.127Z] 1560dd03e051: Pulling fs layer [2021-12-02T11:48:46.127Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T11:48:46.127Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T11:48:46.127Z] 1560dd03e051: Waiting [2021-12-02T11:48:46.127Z] 27f5ce0e4adf: Waiting [2021-12-02T11:48:46.127Z] 8603b9c90790: Waiting [2021-12-02T11:48:46.127Z] f757da607395: Verifying Checksum [2021-12-02T11:48:46.127Z] f757da607395: Download complete [2021-12-02T11:48:46.127Z] 8603b9c90790: Verifying Checksum [2021-12-02T11:48:46.127Z] 8603b9c90790: Download complete [2021-12-02T11:48:46.127Z] 1560dd03e051: Verifying Checksum [2021-12-02T11:48:46.127Z] 1560dd03e051: Download complete [2021-12-02T11:48:46.399Z] 27f5ce0e4adf: Verifying Checksum [2021-12-02T11:48:46.399Z] 27f5ce0e4adf: Download complete [2021-12-02T11:48:46.399Z] 05883995daec: Verifying Checksum [2021-12-02T11:48:46.399Z] 05883995daec: Download complete [2021-12-02T11:48:46.671Z] 448f6bf000e3: Verifying Checksum [2021-12-02T11:48:46.671Z] 448f6bf000e3: Download complete [2021-12-02T11:48:49.311Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T11:48:49.311Z] c2d8d7efcc4b: Download complete [2021-12-02T11:48:50.284Z] 448f6bf000e3: Pull complete [2021-12-02T11:48:50.882Z] f757da607395: Pull complete [2021-12-02T11:48:52.315Z] 05883995daec: Pull complete [2021-12-02T11:48:52.588Z] 8603b9c90790: Pull complete [2021-12-02T11:48:53.566Z] 1560dd03e051: Pull complete [2021-12-02T11:48:53.839Z] 27f5ce0e4adf: Pull complete [2021-12-02T11:49:08.917Z] c2d8d7efcc4b: Pull complete [2021-12-02T11:49:08.917Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T11:49:08.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T11:49:08.917Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T11:49:09.131Z] prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container [2021-12-02T11:49:09.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-02T11:49:12.176Z] $ docker top 9581d452986f56a04665ee36c7fcc019ffbeb12056a070f707d15c2a5fbb46ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:49:13.090Z] ---> job-cost.sh [2021-12-02T11:49:13.090Z] lf-activate-venv: SKIPPING [2021-12-02T11:49:13.090Z] INFO: No Stack... [2021-12-02T11:49:13.362Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T11:49:13.635Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T11:49:14.288Z] + cat /w/workspace/device-modbus-go/19/archives/cost.csv [2021-12-02T11:49:14.288Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T11:49:14.319Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [2021-12-02T11:49:14.325Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] did not exist. Created. [2021-12-02T11:49:14.325Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T11:49:14.995Z] /w/workspace/device-modbus-go/19@tmp/durable-77b7dfa6/script.sh: 1: /w/workspace/device-modbus-go/19@tmp/durable-77b7dfa6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T11:49:15.660Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T11:49:15.681Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T11:49:15.730Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T11:49:15.736Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T11:49:15.760Z] $ docker stop --time=1 9581d452986f56a04665ee36c7fcc019ffbeb12056a070f707d15c2a5fbb46ca [2021-12-02T11:49:17.225Z] $ docker rm -f 9581d452986f56a04665ee36c7fcc019ffbeb12056a070f707d15c2a5fbb46ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-12-02T11:49:17.835Z] provisioning config files... [2021-12-02T11:49:17.844Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1315323023491366897tmp [Pipeline] { [Pipeline] sh [2021-12-02T11:49:18.145Z] + set +x [2021-12-02T11:49:18.145Z] + curl -s https://codecov.io/bash [2021-12-02T11:49:18.145Z] + bash -s -- [2021-12-02T11:49:18.411Z] [2021-12-02T11:49:18.411Z] _____ _ [2021-12-02T11:49:18.411Z] / ____| | | [2021-12-02T11:49:18.411Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T11:49:18.411Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T11:49:18.411Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T11:49:18.411Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T11:49:18.411Z] Bash-1.0.6 [2021-12-02T11:49:18.411Z] [2021-12-02T11:49:18.411Z] [2021-12-02T11:49:18.411Z] ==> git version 2.24.4 found [2021-12-02T11:49:18.411Z] ==> 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-12-02T11:49:18.411Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T11:49:18.411Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T11:49:18.411Z] ==> Jenkins CI detected. [2021-12-02T11:49:18.411Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-12-02T11:49:18.411Z] project root: . [2021-12-02T11:49:18.411Z] --> token set from env [2021-12-02T11:49:18.411Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T11:49:18.411Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T11:49:18.411Z] ==> Python coveragepy not found [2021-12-02T11:49:18.411Z] ==> Searching for coverage reports in: [2021-12-02T11:49:18.411Z] + . [2021-12-02T11:49:18.411Z] -> Found 1 reports [2021-12-02T11:49:18.411Z] ==> Detecting git/mercurial file structure [2021-12-02T11:49:18.411Z] ==> Reading reports [2021-12-02T11:49:18.411Z] + ./coverage.out bytes=23727 [2021-12-02T11:49:18.411Z] ==> Appending adjustments [2021-12-02T11:49:18.411Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T11:49:18.411Z] + Found adjustments [2021-12-02T11:49:18.411Z] ==> Gzipping contents [2021-12-02T11:49:18.411Z] 4.0K /tmp/codecov.lRzoEZ.gz [2021-12-02T11:49:18.411Z] ==> Uploading reports [2021-12-02T11:49:18.411Z] url: https://codecov.io [2021-12-02T11:49:18.411Z] query: branch=main&commit=0698ca903eaff93b131c7e7a67c2b13166d23c43&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T11:49:18.411Z] -> Pinging Codecov [2021-12-02T11:49:18.411Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=0698ca903eaff93b131c7e7a67c2b13166d23c43&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T11:49:18.984Z] -> Uploading to [2021-12-02T11:49:18.984Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/55DBCA73C666E3227836607328DD7E49/0698ca903eaff93b131c7e7a67c2b13166d23c43/dea35dda-720a-44eb-8b14-65bd594283fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T114918Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c0d7ec75b916d35a255f0fe6d7b6e8bf56cfcd217c2bae9d84a09cade0424fb [2021-12-02T11:49:18.984Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T11:49:18.984Z] Dload Upload Total Spent Left Speed [2021-12-02T11:49:19.242Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3996 0 0 100 3996 0 11517 --:--:-- --:--:-- --:--:-- 11549 [2021-12-02T11:49:19.242Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] } [2021-12-02T11:49:19.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-02T11:49:19.527Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-02T11:49:19.537Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:49:19.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T11:49:19.825Z] [2021-12-02T11:49:19.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:49:20.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T11:49:20.143Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-02T11:49:20.143Z] 188c0c94c7c5: Pulling fs layer [2021-12-02T11:49:20.143Z] 0ef7d3d256c8: Pulling fs layer [2021-12-02T11:49:20.143Z] de9db76c5a1d: Pulling fs layer [2021-12-02T11:49:20.143Z] 0eba1c9be4d2: Pulling fs layer [2021-12-02T11:49:20.143Z] 0d57e429df01: Pulling fs layer [2021-12-02T11:49:20.143Z] 4e4be7b47b0d: Pulling fs layer [2021-12-02T11:49:20.143Z] e1f770b5df2f: Pulling fs layer [2021-12-02T11:49:20.143Z] 85a0685a4137: Pulling fs layer [2021-12-02T11:49:20.143Z] 0d57e429df01: Waiting [2021-12-02T11:49:20.143Z] 4e4be7b47b0d: Waiting [2021-12-02T11:49:20.143Z] e1f770b5df2f: Waiting [2021-12-02T11:49:20.143Z] 85a0685a4137: Waiting [2021-12-02T11:49:20.143Z] 0eba1c9be4d2: Waiting [2021-12-02T11:49:20.143Z] de9db76c5a1d: Download complete [2021-12-02T11:49:20.143Z] 0ef7d3d256c8: Download complete [2021-12-02T11:49:20.143Z] 0d57e429df01: Verifying Checksum [2021-12-02T11:49:20.143Z] 0d57e429df01: Download complete [2021-12-02T11:49:20.143Z] 4e4be7b47b0d: Verifying Checksum [2021-12-02T11:49:20.143Z] 4e4be7b47b0d: Download complete [2021-12-02T11:49:20.143Z] 188c0c94c7c5: Verifying Checksum [2021-12-02T11:49:20.143Z] 188c0c94c7c5: Download complete [2021-12-02T11:49:20.730Z] 188c0c94c7c5: Pull complete [2021-12-02T11:49:20.730Z] e1f770b5df2f: Verifying Checksum [2021-12-02T11:49:20.730Z] e1f770b5df2f: Download complete [2021-12-02T11:49:20.730Z] 0ef7d3d256c8: Pull complete [2021-12-02T11:49:20.730Z] de9db76c5a1d: Pull complete [2021-12-02T11:49:20.994Z] 0eba1c9be4d2: Verifying Checksum [2021-12-02T11:49:20.994Z] 0eba1c9be4d2: Download complete [2021-12-02T11:49:21.257Z] 85a0685a4137: Verifying Checksum [2021-12-02T11:49:21.257Z] 85a0685a4137: Download complete [2021-12-02T11:49:24.618Z] 0eba1c9be4d2: Pull complete [2021-12-02T11:49:24.618Z] 0d57e429df01: Pull complete [2021-12-02T11:49:24.882Z] 4e4be7b47b0d: Pull complete [2021-12-02T11:49:25.464Z] e1f770b5df2f: Pull complete [2021-12-02T11:49:29.692Z] 85a0685a4137: Pull complete [2021-12-02T11:49:29.692Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-02T11:49:29.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T11:49:29.692Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-02T11:49:29.760Z] prd-centos7-docker-4c-2g-78 does not seem to be running inside a container [2021-12-02T11:49:29.793Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-12-02T11:49:32.271Z] $ docker top 73270efed9e88e40efce07831ab56675d31e944894ee25b45cd3a2252b11c3e0 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-02T11:49:32.381Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-02T11:49:32.671Z] + set -o pipefail [2021-12-02T11:49:32.671Z] + snyk monitor '--org=edgex-jenkins' [2021-12-02T11:49:38.008Z] [2021-12-02T11:49:38.008Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-12-02T11:49:38.008Z] [2021-12-02T11:49:38.008Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/cf90bd67-1aac-4063-85c8-df6741136181 [2021-12-02T11:49:38.008Z] [2021-12-02T11:49:38.008Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-12-02T11:49:38.008Z] [2021-12-02T11:49:38.008Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-02T11:49:38.008Z] [2021-12-02T11:49:38.008Z] [Pipeline] } [2021-12-02T11:49:38.020Z] $ docker stop --time=1 73270efed9e88e40efce07831ab56675d31e944894ee25b45cd3a2252b11c3e0 [2021-12-02T11:49:40.462Z] $ docker rm -f 73270efed9e88e40efce07831ab56675d31e944894ee25b45cd3a2252b11c3e0 [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-12-02T11:49:41.453Z] + git log --format=format:%s -1 0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] sh [2021-12-02T11:49:41.755Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T11:49:41.755Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:49:42.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:49:42.056Z] . [Pipeline] withDockerContainer [2021-12-02T11:49:42.125Z] prd-centos7-docker-4c-2g-78 does not seem to be running inside a container [2021-12-02T11:49:42.159Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T11:49:42.570Z] $ docker top 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T11:49:42.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:49:42.661Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:49:42.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:49:42.764Z] $ docker exec 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c ssh-agent [2021-12-02T11:49:42.859Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNMHeMC/agent.13 [2021-12-02T11:49:42.859Z] SSH_AGENT_PID=20 [2021-12-02T11:49:42.864Z] Running ssh-add (command line suppressed) [2021-12-02T11:49:42.957Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3294135924884876857.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3294135924884876857.key) [2021-12-02T11:49:42.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:49:43.273Z] + git semver tag [2021-12-02T11:49:43.273Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T11:49:43.273Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-12-02T11:49:43.273Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-12-02T11:49:43.273Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T11:49:43.273Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T11:49:43.273Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T11:49:43.273Z] # $SEMVER_BRANCH = main [2021-12-02T11:49:43.273Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-12-02T11:49:43.273Z] # 0698ca903eaff93b131c7e7a67c2b13166d23c43 HEAD [2021-12-02T11:49:43.273Z] # -> Force: false [2021-12-02T11:49:43.273Z] # 3127695572ca973c55fdcab47dbe35945b0c6d60 refs/tags/v2.2.0-dev.2 [Pipeline] } [2021-12-02T11:49:43.284Z] $ docker exec --env ******** --env ******** 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c ssh-agent -k [2021-12-02T11:49:43.403Z] unset SSH_AUTH_SOCK; [2021-12-02T11:49:43.403Z] unset SSH_AGENT_PID; [2021-12-02T11:49:43.403Z] echo Agent pid 20 killed; [2021-12-02T11:49:43.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T11:49:43.723Z] + git semver [Pipeline] } [2021-12-02T11:49:43.736Z] $ docker stop --time=1 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c [2021-12-02T11:49:44.928Z] $ docker rm -f 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:49:45.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T11:49:45.323Z] [2021-12-02T11:49:45.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:49:45.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T11:49:45.638Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-02T11:49:45.638Z] ab5ef0e58194: Pulling fs layer [2021-12-02T11:49:45.638Z] 9712f1f96733: Pulling fs layer [2021-12-02T11:49:45.638Z] 63f879dbbcfc: Pulling fs layer [2021-12-02T11:49:45.638Z] 0d9ebad4ef96: Pulling fs layer [2021-12-02T11:49:45.638Z] e9a5061849ea: Pulling fs layer [2021-12-02T11:49:45.638Z] d747dcd14b5f: Pulling fs layer [2021-12-02T11:49:45.638Z] 2de7ff778b66: Pulling fs layer [2021-12-02T11:49:45.638Z] 0d9ebad4ef96: Waiting [2021-12-02T11:49:45.638Z] e9a5061849ea: Waiting [2021-12-02T11:49:45.638Z] d747dcd14b5f: Waiting [2021-12-02T11:49:45.638Z] 2de7ff778b66: Waiting [2021-12-02T11:49:45.638Z] 9712f1f96733: Verifying Checksum [2021-12-02T11:49:45.638Z] 9712f1f96733: Download complete [2021-12-02T11:49:45.904Z] 63f879dbbcfc: Verifying Checksum [2021-12-02T11:49:45.904Z] 63f879dbbcfc: Download complete [2021-12-02T11:49:46.170Z] ab5ef0e58194: Verifying Checksum [2021-12-02T11:49:46.170Z] ab5ef0e58194: Download complete [2021-12-02T11:49:46.170Z] d747dcd14b5f: Verifying Checksum [2021-12-02T11:49:46.170Z] d747dcd14b5f: Download complete [2021-12-02T11:49:46.170Z] 0d9ebad4ef96: Verifying Checksum [2021-12-02T11:49:46.170Z] 0d9ebad4ef96: Download complete [2021-12-02T11:49:46.449Z] e9a5061849ea: Verifying Checksum [2021-12-02T11:49:46.449Z] e9a5061849ea: Download complete [2021-12-02T11:49:46.449Z] 2de7ff778b66: Verifying Checksum [2021-12-02T11:49:46.449Z] 2de7ff778b66: Download complete [2021-12-02T11:49:49.816Z] ab5ef0e58194: Pull complete [2021-12-02T11:49:49.816Z] 9712f1f96733: Pull complete [2021-12-02T11:49:50.084Z] 63f879dbbcfc: Pull complete [2021-12-02T11:49:54.331Z] 0d9ebad4ef96: Pull complete [2021-12-02T11:49:54.331Z] e9a5061849ea: Pull complete [2021-12-02T11:49:54.597Z] d747dcd14b5f: Pull complete [2021-12-02T11:49:55.997Z] 2de7ff778b66: Pull complete [2021-12-02T11:49:55.997Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-02T11:49:55.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T11:49:55.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-02T11:49:56.075Z] prd-centos7-docker-4c-2g-78 does not seem to be running inside a container [2021-12-02T11:49:56.123Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-02T11:49:59.347Z] $ docker top a2c7553511f32839b20592aac5e65534098dd9d7569df9c6d63f294cfae8d583 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:49:59.445Z] provisioning config files... [2021-12-02T11:49:59.454Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2583411042971388193tmp [2021-12-02T11:49:59.466Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7184639635466021626tmp [2021-12-02T11:49:59.475Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5452828133926931446tmp [Pipeline] { [Pipeline] echo [2021-12-02T11:49:59.493Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:49:59.798Z] ---> sigul-configuration.sh [2021-12-02T11:49:59.798Z] gpg: directory `/root/.gnupg' created [2021-12-02T11:49:59.798Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-02T11:49:59.798Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-02T11:49:59.798Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-02T11:49:59.798Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-02T11:49:59.798Z] gpg: CAST5 encrypted data [2021-12-02T11:49:59.798Z] gpg: encrypted with 1 passphrase [2021-12-02T11:49:59.798Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-02T11:50:00.091Z] + mkdir /home/jenkins [2021-12-02T11:50:00.091Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-02T11:50:00.386Z] + 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-12-02T11:50:00.396Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:00.684Z] ---> sigul-install.sh [2021-12-02T11:50:00.684Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-02T11:50:00.981Z] + git tag --list [2021-12-02T11:50:00.981Z] 0.7.1 [2021-12-02T11:50:00.981Z] v1.0.0 [2021-12-02T11:50:00.981Z] v1.1.0 [2021-12-02T11:50:00.981Z] v1.1.1 [2021-12-02T11:50:00.981Z] v1.2.2 [2021-12-02T11:50:00.981Z] v1.3.0 [2021-12-02T11:50:00.981Z] v1.3.1 [2021-12-02T11:50:00.981Z] v2.0.0 [2021-12-02T11:50:00.981Z] v2.0.1-dev.1 [2021-12-02T11:50:00.981Z] v2.0.1-dev.10 [2021-12-02T11:50:00.981Z] v2.0.1-dev.11 [2021-12-02T11:50:00.981Z] v2.0.1-dev.12 [2021-12-02T11:50:00.981Z] v2.0.1-dev.2 [2021-12-02T11:50:00.981Z] v2.0.1-dev.3 [2021-12-02T11:50:00.981Z] v2.0.1-dev.4 [2021-12-02T11:50:00.981Z] v2.0.1-dev.5 [2021-12-02T11:50:00.981Z] v2.0.1-dev.6 [2021-12-02T11:50:00.981Z] v2.0.1-dev.7 [2021-12-02T11:50:00.981Z] v2.0.1-dev.8 [2021-12-02T11:50:00.981Z] v2.0.1-dev.9 [2021-12-02T11:50:00.981Z] v2.1.0 [2021-12-02T11:50:00.981Z] v2.2.0-dev.1 [2021-12-02T11:50:00.981Z] v2.2.0-dev.2 [Pipeline] sh [2021-12-02T11:50:01.279Z] + lftools sign git-tag v2.2.0-dev.2 [2021-12-02T11:50:01.858Z] Signing Git tag with Sigul... [2021-12-02T11:50:01.858Z] Signing v2.2.0-dev.2 [Pipeline] echo [2021-12-02T11:50:03.250Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:03.543Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-02T11:50:03.550Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-02T11:50:03.572Z] $ docker stop --time=1 a2c7553511f32839b20592aac5e65534098dd9d7569df9c6d63f294cfae8d583 [2021-12-02T11:50:04.796Z] $ docker rm -f a2c7553511f32839b20592aac5e65534098dd9d7569df9c6d63f294cfae8d583 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-02T11:50:05.544Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T11:50:05.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:50:05.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:50:05.924Z] . [Pipeline] withDockerContainer [2021-12-02T11:50:06.002Z] prd-centos7-docker-4c-2g-78 does not seem to be running inside a container [2021-12-02T11:50:06.037Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T11:50:06.463Z] $ docker top 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T11:50:06.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:50:06.566Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:50:06.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:50:06.684Z] $ docker exec 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 ssh-agent [2021-12-02T11:50:06.789Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlJEnmk/agent.13 [2021-12-02T11:50:06.789Z] SSH_AGENT_PID=19 [2021-12-02T11:50:06.795Z] Running ssh-add (command line suppressed) [2021-12-02T11:50:06.900Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4001898206613412024.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4001898206613412024.key) [2021-12-02T11:50:06.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:50:07.206Z] + git semver bump pre [2021-12-02T11:50:07.206Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T11:50:07.206Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-12-02T11:50:07.206Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-12-02T11:50:07.206Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T11:50:07.206Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T11:50:07.206Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T11:50:07.206Z] # $SEMVER_BRANCH = main [2021-12-02T11:50:07.206Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-12-02T11:50:07.206Z] 2.2.0-dev.3 [Pipeline] } [2021-12-02T11:50:07.217Z] $ docker exec --env ******** --env ******** 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 ssh-agent -k [2021-12-02T11:50:07.316Z] unset SSH_AUTH_SOCK; [2021-12-02T11:50:07.316Z] unset SSH_AGENT_PID; [2021-12-02T11:50:07.316Z] echo Agent pid 19 killed; [2021-12-02T11:50:07.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T11:50:07.631Z] + git semver [Pipeline] } [2021-12-02T11:50:07.648Z] $ docker stop --time=1 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 [2021-12-02T11:50:08.850Z] $ docker rm -f 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T11:50:09.221Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T11:50:09.221Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:50:09.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T11:50:09.523Z] . [Pipeline] withDockerContainer [2021-12-02T11:50:09.590Z] prd-centos7-docker-4c-2g-78 does not seem to be running inside a container [2021-12-02T11:50:09.624Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T11:50:10.018Z] $ docker top 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T11:50:10.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T11:50:10.144Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T11:50:10.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T11:50:10.265Z] $ docker exec 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 ssh-agent [2021-12-02T11:50:10.379Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKILLao/agent.14 [2021-12-02T11:50:10.379Z] SSH_AGENT_PID=20 [2021-12-02T11:50:10.384Z] Running ssh-add (command line suppressed) [2021-12-02T11:50:10.489Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4918140093500366184.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4918140093500366184.key) [2021-12-02T11:50:10.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T11:50:10.809Z] + git semver push [2021-12-02T11:50:10.809Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T11:50:10.809Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-12-02T11:50:10.809Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-12-02T11:50:10.809Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T11:50:10.809Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T11:50:10.809Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T11:50:10.809Z] # $SEMVER_BRANCH = main [2021-12-02T11:50:10.809Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-12-02T11:50:12.737Z] $ docker exec --env ******** --env ******** 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 ssh-agent -k [2021-12-02T11:50:12.835Z] unset SSH_AUTH_SOCK; [2021-12-02T11:50:12.837Z] unset SSH_AGENT_PID; [2021-12-02T11:50:12.837Z] echo Agent pid 20 killed; [2021-12-02T11:50:12.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T11:50:13.174Z] + git semver [Pipeline] } [2021-12-02T11:50:13.189Z] $ docker stop --time=1 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 [2021-12-02T11:50:14.397Z] $ docker rm -f 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-02T11:50:15.327Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:15.631Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:16.200Z] ---> package-listing.sh [2021-12-02T11:50:16.200Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T11:50:16.200Z] ++ facter osfamily [2021-12-02T11:50:16.461Z] + OS_FAMILY=redhat [2021-12-02T11:50:16.462Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-12-02T11:50:16.462Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T11:50:16.462Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T11:50:16.462Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T11:50:16.462Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T11:50:16.462Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-12-02T11:50:16.462Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T11:50:16.462Z] + case "${OS_FAMILY}" in [2021-12-02T11:50:16.462Z] + rpm -qa [2021-12-02T11:50:16.462Z] + sort [2021-12-02T11:50:17.036Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T11:50:17.036Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T11:50:17.036Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T11:50:17.036Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-12-02T11:50:17.036Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-12-02T11:50:17.036Z] + 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-12-02T11:50:17.049Z] 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-12-02T11:50:17.340Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:50:17.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:50:17.905Z] [2021-12-02T11:50:17.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T11:50:18.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:50:18.210Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T11:50:18.210Z] b4d181a07f80: Pulling fs layer [2021-12-02T11:50:18.211Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T11:50:18.211Z] ed53099fbce6: Pulling fs layer [2021-12-02T11:50:18.211Z] dc539afda2c1: Pulling fs layer [2021-12-02T11:50:18.211Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T11:50:18.211Z] 9065ff56babe: Pulling fs layer [2021-12-02T11:50:18.211Z] d287ab97295c: Pulling fs layer [2021-12-02T11:50:18.211Z] dc539afda2c1: Waiting [2021-12-02T11:50:18.211Z] 77bc0d833cb6: Waiting [2021-12-02T11:50:18.211Z] 9065ff56babe: Waiting [2021-12-02T11:50:18.211Z] d287ab97295c: Waiting [2021-12-02T11:50:18.211Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T11:50:18.211Z] a1111a8f2ec3: Download complete [2021-12-02T11:50:18.211Z] dc539afda2c1: Verifying Checksum [2021-12-02T11:50:18.211Z] dc539afda2c1: Download complete [2021-12-02T11:50:18.211Z] ed53099fbce6: Verifying Checksum [2021-12-02T11:50:18.211Z] ed53099fbce6: Download complete [2021-12-02T11:50:18.482Z] 9065ff56babe: Verifying Checksum [2021-12-02T11:50:18.482Z] 9065ff56babe: Download complete [2021-12-02T11:50:18.482Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T11:50:18.482Z] 77bc0d833cb6: Download complete [2021-12-02T11:50:18.482Z] b4d181a07f80: Verifying Checksum [2021-12-02T11:50:18.482Z] b4d181a07f80: Download complete [2021-12-02T11:50:19.066Z] d287ab97295c: Verifying Checksum [2021-12-02T11:50:19.066Z] d287ab97295c: Download complete [2021-12-02T11:50:20.023Z] b4d181a07f80: Pull complete [2021-12-02T11:50:20.282Z] a1111a8f2ec3: Pull complete [2021-12-02T11:50:20.865Z] ed53099fbce6: Pull complete [2021-12-02T11:50:20.865Z] dc539afda2c1: Pull complete [2021-12-02T11:50:21.435Z] 77bc0d833cb6: Pull complete [2021-12-02T11:50:21.436Z] 9065ff56babe: Pull complete [2021-12-02T11:50:28.038Z] d287ab97295c: Pull complete [2021-12-02T11:50:28.038Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T11:50:28.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T11:50:28.038Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T11:50:28.102Z] prd-centos7-docker-4c-2g-78 does not seem to be running inside a container [2021-12-02T11:50:28.145Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T11:50:31.231Z] $ docker top 8b47a4bd63c0224dc3cfcbf6285330c35c2470adf6d71e6cb126dc16b1921a77 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T11:50:31.588Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T11:50:31.892Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T11:50:32.200Z] + ls /var/log/sa-host [2021-12-02T11:50:32.200Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T11:50:32.200Z] file_magic: OK [2021-12-02T11:50:32.200Z] HZ: Using current value: 100 [2021-12-02T11:50:32.200Z] file_header: OK [2021-12-02T11:50:32.200Z] 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-12-02T11:50:32.200Z] Statistics: [2021-12-02T11:50:32.200Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T11:50:32.200Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T11:50:32.200Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T11:50:32.200Z] file_magic: OK [2021-12-02T11:50:32.200Z] HZ: Using current value: 100 [2021-12-02T11:50:32.200Z] file_header: OK [2021-12-02T11:50:32.200Z] 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-12-02T11:50:32.200Z] Statistics: [2021-12-02T11:50:32.200Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T11:50:32.200Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T11:50:32.281Z] provisioning config files... [2021-12-02T11:50:32.291Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3292918782763888889tmp [Pipeline] { [Pipeline] echo [2021-12-02T11:50:32.312Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:32.614Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T11:50:32.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:32.959Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T11:50:32.970Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:33.258Z] ---> sudo-logs.sh [2021-12-02T11:50:33.258Z] Archiving 'sudo' log.. [2021-12-02T11:50:33.258Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-78.novalocal: Name or service not known [2021-12-02T11:50:33.258Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-78.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T11:50:33.283Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:33.572Z] ---> job-cost.sh [2021-12-02T11:50:33.572Z] lf-activate-venv: SKIPPING [2021-12-02T11:50:33.572Z] DEBUG: total: 0.10999999940395355 [2021-12-02T11:50:33.572Z] INFO: Retrieving Stack Cost... [2021-12-02T11:50:34.144Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T11:50:34.403Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T11:50:34.414Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T11:50:34.701Z] ---> logs-deploy.sh [2021-12-02T11:50:34.702Z] lf-activate-venv: SKIPPING [2021-12-02T11:50:34.702Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/19 [2021-12-02T11:50:34.702Z] INFO: archiving workspace using pattern(s): [2021-12-02T11:50:35.273Z] Archives upload complete. [2021-12-02T11:50:35.533Z] INFO: archiving logs to Nexus