Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e9f0d89f8cfabfca8c60418791cfe6d3382bb269 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh9168365523220145238.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh1049979871197439000.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh4493811116939997354.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh3720956369949176875.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-ssh3610671674900908478.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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13765 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-ssh5974063592829860530.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 e9f0d89f8cfabfca8c60418791cfe6d3382bb269 (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 e9f0d89f8cfabfca8c60418791cfe6d3382bb269 # timeout=10 Commit message: "Merge pull request #286 from lenny-intel/sdk" > git rev-list --no-walk e403711dcd95b7f18079a8fe9cea73294caabbda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-01T21:31:49.126Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-01T21:31:49.166Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-01T21:31:49.180Z] ========================================================= [2021-11-01T21:31:49.180Z] EdgeX Global Pipelines Version Info [2021-11-01T21:31:49.180Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:31:50.326Z] ------------------- [2021-11-01T21:31:50.326Z] stable info: [2021-11-01T21:31:50.326Z] ------------------- [2021-11-01T21:31:50.326Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-01T21:31:50.326Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T21:31:50.326Z] Message: update stable to v1.0.211 [2021-11-01T21:31:50.901Z] ------------------- [2021-11-01T21:31:50.901Z] experimental info: [2021-11-01T21:31:50.901Z] ------------------- [2021-11-01T21:31:50.901Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-01T21:31:50.901Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T21:31:50.901Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-01T21:31:50.989Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-11-01T21:31:50.998Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-11-01T21:31:51.006Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-01T21:31:51.014Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-01T21:31:51.021Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-01T21:31:51.029Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-01T21:31:51.037Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-01T21:31:51.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-01T21:31:51.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-01T21:31:51.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-01T21:31:51.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-01T21:31:51.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-11-01T21:31:51.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-01T21:31:51.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-01T21:31:51.113Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T21:31:51.124Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T21:31:51.134Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T21:31:51.144Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T21:31:51.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-01T21:31:51.163Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-01T21:31:51.173Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-01T21:31:51.181Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-01T21:31:51.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-01T21:31:51.194Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-01T21:31:51.201Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-01T21:31:51.209Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-01T21:31:51.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-01T21:31:51.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-01T21:31:51.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-01T21:31:51.237Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [Pipeline] echo [2021-11-01T21:31:51.249Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e9f0d89 [Pipeline] echo [2021-11-01T21:31:51.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:31:51.294Z] provisioning config files... [2021-11-01T21:31:51.310Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config274045631506466380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:31:51.626Z] ---> docker-login.sh [2021-11-01T21:31:51.627Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:31:51.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:31:51.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:31:51.627Z] Configure a credential helper to remove this warning. See [2021-11-01T21:31:51.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:31:51.627Z] [2021-11-01T21:31:51.627Z] Login Succeeded [2021-11-01T21:31:51.627Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:31:51.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:31:51.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:31:51.889Z] Configure a credential helper to remove this warning. See [2021-11-01T21:31:51.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:31:51.889Z] [2021-11-01T21:31:51.889Z] Login Succeeded [2021-11-01T21:31:51.889Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:31:51.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:31:51.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:31:51.889Z] Configure a credential helper to remove this warning. See [2021-11-01T21:31:51.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:31:51.889Z] [2021-11-01T21:31:51.889Z] Login Succeeded [2021-11-01T21:31:51.889Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:31:52.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:31:52.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:31:52.151Z] Configure a credential helper to remove this warning. See [2021-11-01T21:31:52.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:31:52.151Z] [2021-11-01T21:31:52.151Z] Login Succeeded [2021-11-01T21:31:52.151Z] docker.io [2021-11-01T21:31:52.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:31:52.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:31:52.414Z] Configure a credential helper to remove this warning. See [2021-11-01T21:31:52.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:31:52.414Z] [2021-11-01T21:31:52.414Z] Login Succeeded [2021-11-01T21:31:52.414Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:31:52.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-01T21:31:52.870Z] + git rev-list -1 --merges e9f0d89f8cfabfca8c60418791cfe6d3382bb269~1..e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [Pipeline] echo [2021-11-01T21:31:52.904Z] -----------> git rev-list -1 --merges e9f0d89f8cfabfca8c60418791cfe6d3382bb269~1..e9f0d89f8cfabfca8c60418791cfe6d3382bb269 e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:31:52.904Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [false] [Pipeline] sh [2021-11-01T21:31:53.198Z] + git log --format=format:%s -1 e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [Pipeline] echo [2021-11-01T21:31:53.216Z] ========================================================= [2021-11-01T21:31:53.217Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-01T21:31:53.217Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:31:53.553Z] + git log --format=format:%s -1 e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [Pipeline] echo [2021-11-01T21:31:53.569Z] [semverPrep] GIT_COMMIT: e9f0d89f8cfabfca8c60418791cfe6d3382bb269, Commit Message: Merge pull request #286 from lenny-intel/sdk [Pipeline] echo [2021-11-01T21:31:53.578Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:31:54.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:31:54.001Z] [2021-11-01T21:31:54.001Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:31:54.302Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:31:54.302Z] latest: Pulling from edgex-devops/git-semver [2021-11-01T21:31:54.302Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T21:31:54.302Z] 3e5f54012d9b: Pulling fs layer [2021-11-01T21:31:54.302Z] 4c7163046ea9: Pulling fs layer [2021-11-01T21:31:54.302Z] 0c2d73faf560: Pulling fs layer [2021-11-01T21:31:54.302Z] 0c2d73faf560: Waiting [2021-11-01T21:31:54.302Z] 3e5f54012d9b: Verifying Checksum [2021-11-01T21:31:54.302Z] 3e5f54012d9b: Download complete [2021-11-01T21:31:54.302Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T21:31:54.302Z] a0d0a0d46f8b: Download complete [2021-11-01T21:31:54.302Z] 0c2d73faf560: Verifying Checksum [2021-11-01T21:31:54.302Z] 0c2d73faf560: Download complete [2021-11-01T21:31:54.302Z] 4c7163046ea9: Verifying Checksum [2021-11-01T21:31:54.302Z] 4c7163046ea9: Download complete [2021-11-01T21:31:54.567Z] a0d0a0d46f8b: Pull complete [2021-11-01T21:31:54.567Z] 3e5f54012d9b: Pull complete [2021-11-01T21:31:54.828Z] 4c7163046ea9: Pull complete [2021-11-01T21:31:55.090Z] 0c2d73faf560: Pull complete [2021-11-01T21:31:55.090Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-01T21:31:55.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:31:55.090Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-01T21:31:55.167Z] prd-centos7-docker-4c-2g-13765 does not seem to be running inside a container [2021-11-01T21:31:54.934Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T21:31:55.531Z] $ docker top a689f21c411d6b1558725093ba4b6d9e455ee995f7988da8b61348d9b06d0df6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:31:55.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:31:55.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:31:55.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:31:55.738Z] $ docker exec a689f21c411d6b1558725093ba4b6d9e455ee995f7988da8b61348d9b06d0df6 ssh-agent [2021-11-01T21:31:56.049Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLhFAFg/agent.13 [2021-11-01T21:31:56.049Z] SSH_AGENT_PID=20 [2021-11-01T21:31:56.056Z] Running ssh-add (command line suppressed) [2021-11-01T21:31:55.956Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2982049469507559035.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2982049469507559035.key) [2021-11-01T21:31:56.163Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:31:56.460Z] + git tag --points-at HEAD [Pipeline] } [2021-11-01T21:31:56.307Z] $ docker exec --env ******** --env ******** a689f21c411d6b1558725093ba4b6d9e455ee995f7988da8b61348d9b06d0df6 ssh-agent -k [2021-11-01T21:31:56.396Z] unset SSH_AUTH_SOCK; [2021-11-01T21:31:56.396Z] unset SSH_AGENT_PID; [2021-11-01T21:31:56.396Z] echo Agent pid 20 killed; [2021-11-01T21:31:56.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-01T21:31:56.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:31:56.591Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:31:56.698Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:31:56.552Z] $ docker exec a689f21c411d6b1558725093ba4b6d9e455ee995f7988da8b61348d9b06d0df6 ssh-agent [2021-11-01T21:31:56.792Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbOMlkd/agent.52 [2021-11-01T21:31:56.792Z] SSH_AGENT_PID=58 [2021-11-01T21:31:56.797Z] Running ssh-add (command line suppressed) [2021-11-01T21:31:56.766Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8000902490795137401.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8000902490795137401.key) [2021-11-01T21:31:56.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:31:57.236Z] + git semver init [2021-11-01T21:31:57.236Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:31:57.236Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-01T21:31:57.236Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T21:31:57.236Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:31:57.236Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:31:57.236Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:31:57.236Z] # $SEMVER_BRANCH = main [2021-11-01T21:31:57.236Z] # $SEMVER_TEMP = /tmp/semver-899327098 [2021-11-01T21:31:57.236Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-11-01T21:31:57.808Z] # '/tmp/semver-899327098' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-11-01T21:31:57.808Z] # -> Force: false [2021-11-01T21:31:57.808Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-01T21:31:57.762Z] $ docker exec --env ******** --env ******** a689f21c411d6b1558725093ba4b6d9e455ee995f7988da8b61348d9b06d0df6 ssh-agent -k [2021-11-01T21:31:57.863Z] unset SSH_AUTH_SOCK; [2021-11-01T21:31:57.864Z] unset SSH_AGENT_PID; [2021-11-01T21:31:57.864Z] echo Agent pid 58 killed; [2021-11-01T21:31:57.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:31:58.225Z] + git semver [Pipeline] } [2021-11-01T21:31:58.217Z] $ docker stop --time=1 a689f21c411d6b1558725093ba4b6d9e455ee995f7988da8b61348d9b06d0df6 [2021-11-01T21:31:59.414Z] $ docker rm -f a689f21c411d6b1558725093ba4b6d9e455ee995f7988da8b61348d9b06d0df6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:31:59.754Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-01T21:31:59.974Z] Stashed 1 file(s) [Pipeline] echo [2021-11-01T21:31:59.976Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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-11-01T21:32:15.220Z] Still waiting to schedule task [2021-11-01T21:32:15.221Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-01T21:32:15.222Z] Still waiting to schedule task [2021-11-01T21:32:15.222Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-01T21:33:27.314Z] Running on prd-centos7-docker-4c-2g-13768 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-01T21:33:27.325Z] Running in /w/workspace/device-modbus-go/12 [Pipeline] { [Pipeline] checkout [2021-11-01T21:33:27.396Z] Selected Git installation does not exist. Using Default [2021-11-01T21:33:27.396Z] The recommended git tool is: NONE [2021-11-01T21:33:29.223Z] using credential edgex-jenkins-ssh [2021-11-01T21:33:29.234Z] Cloning the remote Git repository [2021-11-01T21:33:28.670Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-01T21:33:28.720Z] > git init /w/workspace/device-modbus-go/12 # timeout=10 [2021-11-01T21:33:28.753Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-01T21:33:28.753Z] > git --version # timeout=10 [2021-11-01T21:33:28.759Z] > git --version # 'git version 2.24.4' [2021-11-01T21:33:28.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:33:28.781Z] [INFO] Currently running in a labeled security context [2021-11-01T21:33:28.781Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T21:33:28.781Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/12@tmp/jenkins-gitclient-ssh905978720340578630.key [2021-11-01T21:33:28.805Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:33:30.007Z] Avoid second fetch [2021-11-01T21:33:30.008Z] Checking out Revision e9f0d89f8cfabfca8c60418791cfe6d3382bb269 (main) [2021-11-01T21:33:29.402Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-01T21:33:29.413Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:33:29.432Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T21:33:29.441Z] > git checkout -f e9f0d89f8cfabfca8c60418791cfe6d3382bb269 # timeout=10 [2021-11-01T21:33:33.575Z] Commit message: "Merge pull request #286 from lenny-intel/sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:33:33.865Z] provisioning config files... [2021-11-01T21:33:33.878Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/12@tmp/config8859208918365786917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:33:34.256Z] ---> docker-login.sh [2021-11-01T21:33:34.256Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:33:34.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:34.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:34.525Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:34.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:34.525Z] [2021-11-01T21:33:34.525Z] Login Succeeded [2021-11-01T21:33:34.525Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:33:34.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:34.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:34.525Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:34.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:34.525Z] [2021-11-01T21:33:34.525Z] Login Succeeded [2021-11-01T21:33:34.525Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:33:34.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:34.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:34.525Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:34.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:34.525Z] [2021-11-01T21:33:34.525Z] Login Succeeded [2021-11-01T21:33:34.525Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:33:34.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:34.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:34.787Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:34.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:34.787Z] [2021-11-01T21:33:34.787Z] Login Succeeded [2021-11-01T21:33:34.787Z] docker.io [2021-11-01T21:33:34.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:35.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:35.048Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:35.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:35.048Z] [2021-11-01T21:33:35.048Z] Login Succeeded [2021-11-01T21:33:35.048Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:33:35.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T21:33:35.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:33:35.228Z] ========================================================= [2021-11-01T21:33:35.228Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-01T21:33:35.228Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:35.536Z] + 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-11-01T21:33:35.536Z] Sending build context to Docker daemon 691.2kB [2021-11-01T21:33:35.536Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:33:35.536Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-01T21:33:35.536Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-01T21:33:35.536Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T21:33:35.536Z] 31adcdaf11c8: Pulling fs layer [2021-11-01T21:33:35.536Z] b8b176561691: Pulling fs layer [2021-11-01T21:33:35.536Z] 4527c011a84f: Pulling fs layer [2021-11-01T21:33:35.536Z] 5d74067f8e1e: Pulling fs layer [2021-11-01T21:33:35.536Z] e0aca202a116: Pulling fs layer [2021-11-01T21:33:35.536Z] 3a43be97a3b4: Pulling fs layer [2021-11-01T21:33:35.536Z] 34cad66bf833: Pulling fs layer [2021-11-01T21:33:35.536Z] b4e3c513aaa6: Pulling fs layer [2021-11-01T21:33:35.536Z] 4527c011a84f: Waiting [2021-11-01T21:33:35.536Z] 5d74067f8e1e: Waiting [2021-11-01T21:33:35.536Z] e0aca202a116: Waiting [2021-11-01T21:33:35.536Z] 3a43be97a3b4: Waiting [2021-11-01T21:33:35.536Z] 34cad66bf833: Waiting [2021-11-01T21:33:35.536Z] b4e3c513aaa6: Waiting [2021-11-01T21:33:35.536Z] b8b176561691: Verifying Checksum [2021-11-01T21:33:35.536Z] b8b176561691: Download complete [2021-11-01T21:33:35.536Z] 31adcdaf11c8: Verifying Checksum [2021-11-01T21:33:35.536Z] 31adcdaf11c8: Download complete [2021-11-01T21:33:35.536Z] 5d74067f8e1e: Verifying Checksum [2021-11-01T21:33:35.536Z] 5d74067f8e1e: Download complete [2021-11-01T21:33:35.536Z] e0aca202a116: Verifying Checksum [2021-11-01T21:33:35.536Z] e0aca202a116: Download complete [2021-11-01T21:33:35.800Z] 3a43be97a3b4: Verifying Checksum [2021-11-01T21:33:35.800Z] 3a43be97a3b4: Download complete [2021-11-01T21:33:35.800Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T21:33:35.800Z] a0d0a0d46f8b: Download complete [2021-11-01T21:33:35.800Z] 34cad66bf833: Verifying Checksum [2021-11-01T21:33:35.800Z] 34cad66bf833: Download complete [2021-11-01T21:33:36.064Z] a0d0a0d46f8b: Pull complete [2021-11-01T21:33:36.340Z] 31adcdaf11c8: Pull complete [2021-11-01T21:33:36.340Z] 4527c011a84f: Verifying Checksum [2021-11-01T21:33:36.340Z] 4527c011a84f: Download complete [2021-11-01T21:33:36.340Z] b8b176561691: Pull complete [2021-11-01T21:33:36.340Z] b4e3c513aaa6: Verifying Checksum [2021-11-01T21:33:36.340Z] b4e3c513aaa6: Download complete [2021-11-01T21:33:39.655Z] 4527c011a84f: Pull complete [2021-11-01T21:33:39.917Z] 5d74067f8e1e: Pull complete [2021-11-01T21:33:39.917Z] e0aca202a116: Pull complete [2021-11-01T21:33:39.917Z] 3a43be97a3b4: Pull complete [2021-11-01T21:33:40.177Z] 34cad66bf833: Pull complete [2021-11-01T21:33:42.771Z] b4e3c513aaa6: Pull complete [2021-11-01T21:33:42.771Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-01T21:33:42.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T21:33:42.771Z] ---> 9f6097aaca64 [2021-11-01T21:33:42.771Z] Step 3/9 : ARG MAKE='make build' [2021-11-01T21:33:47.036Z] ---> Running in 1dd8eb32c3fd [2021-11-01T21:33:47.036Z] Removing intermediate container 1dd8eb32c3fd [2021-11-01T21:33:47.036Z] ---> 5c797bc2000d [2021-11-01T21:33:47.036Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:33:47.036Z] ---> Running in e398b94b63d5 [2021-11-01T21:33:47.036Z] Removing intermediate container e398b94b63d5 [2021-11-01T21:33:47.036Z] ---> 90cadf6ab4c2 [2021-11-01T21:33:47.036Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T21:33:47.036Z] ---> Running in 5d9c1a3ca9ca [2021-11-01T21:33:47.036Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:33:47.981Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:33:48.242Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T21:33:48.508Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-01T21:33:48.508Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T21:33:48.770Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T21:33:48.770Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-01T21:33:48.770Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-01T21:33:49.033Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-01T21:33:49.033Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-01T21:33:49.033Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:33:49.033Z] OK: 226 MiB in 60 packages [2021-11-01T21:33:49.629Z] Removing intermediate container 5d9c1a3ca9ca [2021-11-01T21:33:49.629Z] ---> 16c35398a3d2 [2021-11-01T21:33:49.629Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-01T21:33:49.629Z] ---> Running in a75fb4ae02e9 [2021-11-01T21:33:49.629Z] Removing intermediate container a75fb4ae02e9 [2021-11-01T21:33:49.629Z] ---> ff57b75d52de [2021-11-01T21:33:49.629Z] Step 7/9 : COPY . . [2021-11-01T21:33:49.898Z] ---> 98e8c4372a57 [2021-11-01T21:33:49.898Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:33:49.898Z] ---> Running in 34a67709fe78 [2021-11-01T21:34:16.994Z] Removing intermediate container 34a67709fe78 [2021-11-01T21:34:16.994Z] ---> 6432dd9b54ea [2021-11-01T21:34:16.994Z] Step 9/9 : RUN ${MAKE} [2021-11-01T21:34:16.994Z] ---> Running in 2be5f59d0612 [2021-11-01T21:34:16.994Z] noop [2021-11-01T21:34:16.994Z] Removing intermediate container 2be5f59d0612 [2021-11-01T21:34:16.994Z] ---> 20965d3a9d0c [2021-11-01T21:34:16.994Z] Successfully built 20965d3a9d0c [2021-11-01T21:34:17.252Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:17.552Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T21:34:17.552Z] . [Pipeline] withDockerContainer [2021-11-01T21:34:17.614Z] prd-centos7-docker-4c-2g-13768 does not seem to be running inside a container [2021-11-01T21:34:17.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-11-01T21:34:18.023Z] $ docker top fad6abb086fb9c23c398c6146388da6ab4febcdc1d7b1fd0dda671e18daea755 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:34:18.416Z] + go version [2021-11-01T21:34:18.416Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-01T21:34:18.432Z] $ docker stop --time=1 fad6abb086fb9c23c398c6146388da6ab4febcdc1d7b1fd0dda671e18daea755 [2021-11-01T21:34:19.612Z] $ docker rm -f fad6abb086fb9c23c398c6146388da6ab4febcdc1d7b1fd0dda671e18daea755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:20.063Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T21:34:20.063Z] . [Pipeline] withDockerContainer [2021-11-01T21:34:20.125Z] prd-centos7-docker-4c-2g-13768 does not seem to be running inside a container [2021-11-01T21:34:20.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-11-01T21:34:20.484Z] $ docker top e8df5e93cf3b2e5ef242de68f31549bffee7d5e74a4e69afdefd8754be424aaa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T21:34:20.867Z] + make test [2021-11-01T21:34:20.867Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-01T21:34:21.130Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-01T21:34:36.134Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-01T21:34:36.708Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2021-11-01T21:34:36.708Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T21:34:43.365Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T21:34:43.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T21:34:43.365Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T21:34:43.376Z] $ docker stop --time=1 e8df5e93cf3b2e5ef242de68f31549bffee7d5e74a4e69afdefd8754be424aaa [2021-11-01T21:34:44.790Z] $ docker rm -f e8df5e93cf3b2e5ef242de68f31549bffee7d5e74a4e69afdefd8754be424aaa [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:34:45.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T21:34:45.331Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-01T21:34:46.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T21:34:46.828Z] + ls -al . [2021-11-01T21:34:46.829Z] total 152 [2021-11-01T21:34:46.829Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 1 21:34 . [2021-11-01T21:34:46.829Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 1 21:33 .. [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 8010 Nov 1 21:33 Attribution.txt [2021-11-01T21:34:46.829Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 1 21:33 bin [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 6038 Nov 1 21:33 CHANGELOG.md [2021-11-01T21:34:46.829Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 1 21:33 cmd [2021-11-01T21:34:46.829Z] -rw-r--r--. 1 jenkins jenkins 23727 Nov 1 21:34 coverage.out [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 1523 Nov 1 21:33 Dockerfile [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 1 21:33 .dockerignore [2021-11-01T21:34:46.829Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 1 21:33 .git [2021-11-01T21:34:46.829Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 1 21:33 .github [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 331 Nov 1 21:33 .gitignore [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 308 Nov 1 21:33 go.mod [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 49577 Nov 1 21:33 go.sum [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 21:33 GOVERNANCE.md [2021-11-01T21:34:46.829Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 1 21:33 internal [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 1 21:33 Jenkinsfile [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 1 21:33 LICENSE [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 1009 Nov 1 21:33 Makefile [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 622 Nov 1 21:33 OWNERS.md [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 2891 Nov 1 21:33 README.md [2021-11-01T21:34:46.829Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 1 21:33 simulator [2021-11-01T21:34:46.829Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 1 21:33 snap [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 1 21:31 VERSION [2021-11-01T21:34:46.829Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 1 21:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:47.126Z] + 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=e9f0d89f8cfabfca8c60418791cfe6d3382bb269 --label arch=amd64 --label version=2.0.1-dev.9 . [2021-11-01T21:34:47.126Z] Sending build context to Docker daemon 715.8kB [2021-11-01T21:34:47.126Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:34:47.126Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-01T21:34:47.126Z] ---> 20965d3a9d0c [2021-11-01T21:34:47.126Z] Step 3/22 : ARG MAKE='make build' [2021-11-01T21:34:47.126Z] ---> Running in 36cf2f4bfd06 [2021-11-01T21:34:47.126Z] Removing intermediate container 36cf2f4bfd06 [2021-11-01T21:34:47.126Z] ---> 25efb4fdaf35 [2021-11-01T21:34:47.126Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:34:47.126Z] ---> Running in a02a8e37c6e3 [2021-11-01T21:34:47.694Z] Removing intermediate container a02a8e37c6e3 [2021-11-01T21:34:47.694Z] ---> de79c404dbd4 [2021-11-01T21:34:47.694Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T21:34:47.694Z] ---> Running in e9f6731a857c [2021-11-01T21:34:47.965Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:34:48.905Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:34:49.165Z] OK: 226 MiB in 60 packages [2021-11-01T21:34:49.425Z] Removing intermediate container e9f6731a857c [2021-11-01T21:34:49.425Z] ---> 5f5fd8bd08e7 [2021-11-01T21:34:49.425Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-01T21:34:49.425Z] ---> Running in c651b7a0bdbc [2021-11-01T21:34:49.425Z] Removing intermediate container c651b7a0bdbc [2021-11-01T21:34:49.425Z] ---> c7b93d9412da [2021-11-01T21:34:49.425Z] Step 7/22 : COPY . . [2021-11-01T21:34:49.685Z] ---> 9c89d7be2cdf [2021-11-01T21:34:49.685Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:34:49.685Z] ---> Running in 2600fac4c249 [2021-11-01T21:34:50.261Z] Removing intermediate container 2600fac4c249 [2021-11-01T21:34:50.261Z] ---> e7a6599831b7 [2021-11-01T21:34:50.261Z] Step 9/22 : RUN ${MAKE} [2021-11-01T21:34:50.261Z] ---> Running in 742c2feb08c0 [2021-11-01T21:34:50.528Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.9" -o cmd/device-modbus ./cmd [2021-11-01T21:35:02.861Z] Removing intermediate container 742c2feb08c0 [2021-11-01T21:35:02.861Z] ---> cc88709be5c2 [2021-11-01T21:35:02.861Z] Step 10/22 : FROM alpine:3.14 [2021-11-01T21:35:02.861Z] 3.14: Pulling from library/alpine [2021-11-01T21:35:02.861Z] a0d0a0d46f8b: Already exists [2021-11-01T21:35:02.861Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T21:35:02.861Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T21:35:02.861Z] ---> 14119a10abf4 [2021-11-01T21:35:02.861Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-01T21:35:02.861Z] ---> Running in f64923071c67 [2021-11-01T21:35:02.861Z] Removing intermediate container f64923071c67 [2021-11-01T21:35:02.861Z] ---> f89da66a241b [2021-11-01T21:35:02.861Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:35:02.861Z] ---> Running in 32e6631ae9d5 [2021-11-01T21:35:03.120Z] Removing intermediate container 32e6631ae9d5 [2021-11-01T21:35:03.120Z] ---> 37f77139c9f4 [2021-11-01T21:35:03.120Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T21:35:03.120Z] ---> Running in 3cb68e937d14 [2021-11-01T21:35:03.380Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:35:04.322Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:35:04.581Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T21:35:04.842Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T21:35:04.842Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T21:35:04.842Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T21:35:05.103Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T21:35:05.103Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T21:35:05.103Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:35:05.103Z] OK: 8 MiB in 20 packages [2021-11-01T21:35:05.679Z] Removing intermediate container 3cb68e937d14 [2021-11-01T21:35:05.679Z] ---> a77af3bf826c [2021-11-01T21:35:05.679Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-01T21:35:05.945Z] ---> c3335c30d93b [2021-11-01T21:35:05.945Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-01T21:35:05.945Z] ---> 3fdea250ad83 [2021-11-01T21:35:05.945Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-01T21:35:06.210Z] ---> 669ed8daf0a1 [2021-11-01T21:35:06.210Z] Step 17/22 : EXPOSE 59901 [2021-11-01T21:35:06.210Z] ---> Running in 8dea9ce172fa [2021-11-01T21:35:06.210Z] Removing intermediate container 8dea9ce172fa [2021-11-01T21:35:06.210Z] ---> 98532aa5edc1 [2021-11-01T21:35:06.210Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-01T21:35:06.210Z] ---> Running in ecbec95f0c5f [2021-11-01T21:35:06.210Z] Removing intermediate container ecbec95f0c5f [2021-11-01T21:35:06.210Z] ---> 4041e842abfa [2021-11-01T21:35:06.210Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T21:35:06.475Z] ---> Running in c3f8840bec86 [2021-11-01T21:35:06.475Z] Removing intermediate container c3f8840bec86 [2021-11-01T21:35:06.475Z] ---> edae8e1312b3 [2021-11-01T21:35:06.475Z] Step 20/22 : LABEL arch=amd64 [2021-11-01T21:35:06.475Z] ---> Running in 2fd4e9722fe8 [2021-11-01T21:35:06.475Z] Removing intermediate container 2fd4e9722fe8 [2021-11-01T21:35:06.475Z] ---> 58d2d6a1fb00 [2021-11-01T21:35:06.475Z] Step 21/22 : LABEL git_sha=e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:35:06.475Z] ---> Running in efb10cfe4260 [2021-11-01T21:35:06.735Z] Removing intermediate container efb10cfe4260 [2021-11-01T21:35:06.735Z] ---> 664cb5e063a1 [2021-11-01T21:35:06.735Z] Step 22/22 : LABEL version=2.0.1-dev.9 [2021-11-01T21:35:06.735Z] ---> Running in ab76f4b99dbf [2021-11-01T21:35:06.735Z] Removing intermediate container ab76f4b99dbf [2021-11-01T21:35:06.735Z] ---> 5de096fa944d [2021-11-01T21:35:06.735Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T21:35:06.735Z] Successfully built 5de096fa944d [2021-11-01T21:35:06.735Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:35:06.995Z] provisioning config files... [2021-11-01T21:35:07.008Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/12@tmp/config7383268652351500912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:35:07.313Z] ---> docker-login.sh [2021-11-01T21:35:07.313Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:35:07.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:35:07.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:35:07.313Z] Configure a credential helper to remove this warning. See [2021-11-01T21:35:07.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:35:07.313Z] [2021-11-01T21:35:07.313Z] Login Succeeded [2021-11-01T21:35:07.313Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:35:07.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:35:07.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:35:07.313Z] Configure a credential helper to remove this warning. See [2021-11-01T21:35:07.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:35:07.313Z] [2021-11-01T21:35:07.313Z] Login Succeeded [2021-11-01T21:35:07.313Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:35:07.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:35:07.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:35:07.575Z] Configure a credential helper to remove this warning. See [2021-11-01T21:35:07.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:35:07.575Z] [2021-11-01T21:35:07.575Z] Login Succeeded [2021-11-01T21:35:07.575Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:35:07.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:35:07.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:35:07.575Z] Configure a credential helper to remove this warning. See [2021-11-01T21:35:07.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:35:07.575Z] [2021-11-01T21:35:07.575Z] Login Succeeded [2021-11-01T21:35:07.575Z] docker.io [2021-11-01T21:35:07.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:35:08.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:35:08.104Z] Configure a credential helper to remove this warning. See [2021-11-01T21:35:08.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:35:08.104Z] [2021-11-01T21:35:08.104Z] Login Succeeded [2021-11-01T21:35:08.104Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:35:08.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T21:35:08.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:35:08.162Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-11-01T21:35:08.162Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:35:08.162Z] latest [2021-11-01T21:35:08.162Z] 2.0.1-dev.9 [2021-11-01T21:35:08.162Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9 [2021-11-01T21:35:08.162Z] main [2021-11-01T21:35:08.162Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:08.486Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:08.783Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:35:08.783Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T21:35:08.783Z] c3e1225acb95: Preparing [2021-11-01T21:35:08.783Z] 7cb93457fd57: Preparing [2021-11-01T21:35:08.783Z] ec33e67e127c: Preparing [2021-11-01T21:35:08.783Z] 1d95801ebfce: Preparing [2021-11-01T21:35:08.783Z] c5992e91abf3: Preparing [2021-11-01T21:35:08.783Z] e2eb06d8af82: Preparing [2021-11-01T21:35:08.783Z] e2eb06d8af82: Waiting [2021-11-01T21:35:09.045Z] c5992e91abf3: Pushed [2021-11-01T21:35:09.045Z] e2eb06d8af82: Layer already exists [2021-11-01T21:35:09.045Z] 7cb93457fd57: Pushed [2021-11-01T21:35:09.045Z] 1d95801ebfce: Pushed [2021-11-01T21:35:09.045Z] c3e1225acb95: Pushed [2021-11-01T21:35:09.985Z] ec33e67e127c: Pushed [2021-11-01T21:35:10.246Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269: digest: sha256:3b881c9fe210f91270c701249ff8add6bf1e21a9910521dd5a13d15dc6807b31 size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:10.543Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:10.864Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-01T21:35:10.865Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T21:35:10.865Z] c3e1225acb95: Preparing [2021-11-01T21:35:10.865Z] 7cb93457fd57: Preparing [2021-11-01T21:35:10.865Z] ec33e67e127c: Preparing [2021-11-01T21:35:10.865Z] 1d95801ebfce: Preparing [2021-11-01T21:35:10.865Z] c5992e91abf3: Preparing [2021-11-01T21:35:10.865Z] e2eb06d8af82: Preparing [2021-11-01T21:35:10.865Z] e2eb06d8af82: Waiting [2021-11-01T21:35:10.865Z] c3e1225acb95: Layer already exists [2021-11-01T21:35:10.865Z] c5992e91abf3: Layer already exists [2021-11-01T21:35:10.865Z] ec33e67e127c: Layer already exists [2021-11-01T21:35:10.865Z] 1d95801ebfce: Layer already exists [2021-11-01T21:35:10.865Z] 7cb93457fd57: Layer already exists [2021-11-01T21:35:10.865Z] e2eb06d8af82: Layer already exists [2021-11-01T21:35:10.865Z] latest: digest: sha256:3b881c9fe210f91270c701249ff8add6bf1e21a9910521dd5a13d15dc6807b31 size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:11.168Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:11.458Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.9 [2021-11-01T21:35:11.458Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T21:35:11.458Z] c3e1225acb95: Preparing [2021-11-01T21:35:11.458Z] 7cb93457fd57: Preparing [2021-11-01T21:35:11.458Z] ec33e67e127c: Preparing [2021-11-01T21:35:11.458Z] 1d95801ebfce: Preparing [2021-11-01T21:35:11.458Z] c5992e91abf3: Preparing [2021-11-01T21:35:11.458Z] e2eb06d8af82: Preparing [2021-11-01T21:35:11.458Z] e2eb06d8af82: Waiting [2021-11-01T21:35:11.458Z] 1d95801ebfce: Layer already exists [2021-11-01T21:35:11.458Z] ec33e67e127c: Layer already exists [2021-11-01T21:35:11.458Z] c3e1225acb95: Layer already exists [2021-11-01T21:35:11.458Z] 7cb93457fd57: Layer already exists [2021-11-01T21:35:11.458Z] c5992e91abf3: Layer already exists [2021-11-01T21:35:11.458Z] e2eb06d8af82: Layer already exists [2021-11-01T21:35:11.458Z] 2.0.1-dev.9: digest: sha256:3b881c9fe210f91270c701249ff8add6bf1e21a9910521dd5a13d15dc6807b31 size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:11.756Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:12.052Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9 [2021-11-01T21:35:12.052Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T21:35:12.052Z] c3e1225acb95: Preparing [2021-11-01T21:35:12.052Z] 7cb93457fd57: Preparing [2021-11-01T21:35:12.052Z] ec33e67e127c: Preparing [2021-11-01T21:35:12.052Z] 1d95801ebfce: Preparing [2021-11-01T21:35:12.052Z] c5992e91abf3: Preparing [2021-11-01T21:35:12.052Z] e2eb06d8af82: Preparing [2021-11-01T21:35:12.052Z] e2eb06d8af82: Waiting [2021-11-01T21:35:12.052Z] ec33e67e127c: Layer already exists [2021-11-01T21:35:12.052Z] c5992e91abf3: Layer already exists [2021-11-01T21:35:12.052Z] 7cb93457fd57: Layer already exists [2021-11-01T21:35:12.052Z] 1d95801ebfce: Layer already exists [2021-11-01T21:35:12.052Z] c3e1225acb95: Layer already exists [2021-11-01T21:35:12.052Z] e2eb06d8af82: Layer already exists [2021-11-01T21:35:12.052Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9: digest: sha256:3b881c9fe210f91270c701249ff8add6bf1e21a9910521dd5a13d15dc6807b31 size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:12.347Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:12.645Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-11-01T21:35:12.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-11-01T21:35:12.645Z] c3e1225acb95: Preparing [2021-11-01T21:35:12.645Z] 7cb93457fd57: Preparing [2021-11-01T21:35:12.645Z] ec33e67e127c: Preparing [2021-11-01T21:35:12.645Z] 1d95801ebfce: Preparing [2021-11-01T21:35:12.645Z] c5992e91abf3: Preparing [2021-11-01T21:35:12.645Z] e2eb06d8af82: Preparing [2021-11-01T21:35:12.645Z] e2eb06d8af82: Waiting [2021-11-01T21:35:12.645Z] ec33e67e127c: Layer already exists [2021-11-01T21:35:12.645Z] 1d95801ebfce: Layer already exists [2021-11-01T21:35:12.645Z] 7cb93457fd57: Layer already exists [2021-11-01T21:35:12.645Z] c3e1225acb95: Layer already exists [2021-11-01T21:35:12.645Z] c5992e91abf3: Layer already exists [2021-11-01T21:35:12.645Z] e2eb06d8af82: Layer already exists [2021-11-01T21:35:12.645Z] main: digest: sha256:3b881c9fe210f91270c701249ff8add6bf1e21a9910521dd5a13d15dc6807b31 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T21:35:12.682Z] ===================================================== [Pipeline] echo [2021-11-01T21:35:12.689Z] taggedImages: [2021-11-01T21:35:12.689Z] - nexus3.edgexfoundry.org:10004/device-modbus:e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:35:12.689Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-11-01T21:35:12.689Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.9 [2021-11-01T21:35:12.689Z] - nexus3.edgexfoundry.org:10004/device-modbus:e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9 [2021-11-01T21:35:12.689Z] - 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-11-01T21:35:13.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:35:13.192Z] [2021-11-01T21:35:13.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:35:13.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:35:13.510Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T21:35:13.510Z] b4d181a07f80: Pulling fs layer [2021-11-01T21:35:13.510Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T21:35:13.510Z] ed53099fbce6: Pulling fs layer [2021-11-01T21:35:13.510Z] dc539afda2c1: Pulling fs layer [2021-11-01T21:35:13.510Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T21:35:13.510Z] 9065ff56babe: Pulling fs layer [2021-11-01T21:35:13.510Z] d287ab97295c: Pulling fs layer [2021-11-01T21:35:13.510Z] dc539afda2c1: Waiting [2021-11-01T21:35:13.510Z] 77bc0d833cb6: Waiting [2021-11-01T21:35:13.510Z] 9065ff56babe: Waiting [2021-11-01T21:35:13.510Z] d287ab97295c: Waiting [2021-11-01T21:35:13.510Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T21:35:13.510Z] a1111a8f2ec3: Download complete [2021-11-01T21:35:13.510Z] dc539afda2c1: Verifying Checksum [2021-11-01T21:35:13.510Z] dc539afda2c1: Download complete [2021-11-01T21:35:13.510Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T21:35:13.510Z] 77bc0d833cb6: Download complete [2021-11-01T21:35:13.510Z] ed53099fbce6: Verifying Checksum [2021-11-01T21:35:13.510Z] ed53099fbce6: Download complete [2021-11-01T21:35:13.510Z] 9065ff56babe: Verifying Checksum [2021-11-01T21:35:13.510Z] 9065ff56babe: Download complete [2021-11-01T21:35:13.784Z] b4d181a07f80: Verifying Checksum [2021-11-01T21:35:13.784Z] b4d181a07f80: Download complete [2021-11-01T21:35:14.362Z] d287ab97295c: Verifying Checksum [2021-11-01T21:35:14.362Z] d287ab97295c: Download complete [2021-11-01T21:35:14.937Z] b4d181a07f80: Pull complete [2021-11-01T21:35:15.197Z] a1111a8f2ec3: Pull complete [2021-11-01T21:35:15.772Z] ed53099fbce6: Pull complete [2021-11-01T21:35:15.772Z] dc539afda2c1: Pull complete [2021-11-01T21:35:16.031Z] 77bc0d833cb6: Pull complete [2021-11-01T21:35:16.031Z] 9065ff56babe: Pull complete [2021-11-01T21:35:21.353Z] d287ab97295c: Pull complete [2021-11-01T21:35:21.353Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T21:35:21.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:35:21.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T21:35:21.415Z] prd-centos7-docker-4c-2g-13768 does not seem to be running inside a container [2021-11-01T21:35:21.459Z] $ 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/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-11-01T21:35:23.910Z] $ docker top d315bbdcab0df33c16fbb4da9512fc3e2d8c432dcaea8d42a4c3b29bdb446b81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:35:24.314Z] ---> job-cost.sh [2021-11-01T21:35:24.314Z] lf-activate-venv: SKIPPING [2021-11-01T21:35:24.314Z] INFO: No Stack... [2021-11-01T21:35:24.573Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T21:35:24.833Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T21:35:25.121Z] + cat /w/workspace/device-modbus-go/12/archives/cost.csv [2021-11-01T21:35:25.121Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T21:35:25.148Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-12-stack-cost] [2021-11-01T21:35:25.156Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-12-stack-cost] did not exist. Created. [2021-11-01T21:35:25.156Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T21:35:25.458Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-01T21:35:25.486Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T21:35:25.492Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-12-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T21:35:25.508Z] $ docker stop --time=1 d315bbdcab0df33c16fbb4da9512fc3e2d8c432dcaea8d42a4c3b29bdb446b81 [2021-11-01T21:35:26.641Z] $ docker rm -f d315bbdcab0df33c16fbb4da9512fc3e2d8c432dcaea8d42a4c3b29bdb446b81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-01T21:35:47.492Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13769 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-11-01T21:35:47.505Z] Running in /w/workspace/device-modbus-go/12 [Pipeline] { [Pipeline] checkout [2021-11-01T21:35:47.695Z] Selected Git installation does not exist. Using Default [2021-11-01T21:35:47.695Z] The recommended git tool is: NONE [2021-11-01T21:35:53.096Z] using credential edgex-jenkins-ssh [2021-11-01T21:35:53.116Z] Cloning the remote Git repository [2021-11-01T21:35:53.170Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-11-01T21:35:53.333Z] > git init /w/workspace/device-modbus-go/12 # timeout=10 [2021-11-01T21:35:53.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-11-01T21:35:53.458Z] > git --version # timeout=10 [2021-11-01T21:35:53.508Z] > git --version # 'git version 2.17.1' [2021-11-01T21:35:53.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:35:53.647Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:35:54.460Z] Avoid second fetch [2021-11-01T21:35:54.460Z] Checking out Revision e9f0d89f8cfabfca8c60418791cfe6d3382bb269 (main) [2021-11-01T21:35:54.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-11-01T21:35:54.436Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:35:54.482Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T21:35:54.501Z] > git checkout -f e9f0d89f8cfabfca8c60418791cfe6d3382bb269 # timeout=10 [2021-11-01T21:35:58.769Z] Commit message: "Merge pull request #286 from lenny-intel/sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:35:59.606Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-01T21:35:59.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T21:35:59.606Z] Dload Upload Total Spent Left Speed [2021-11-01T21:35:59.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 213k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh [2021-11-01T21:36:00.011Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-01T21:36:00.380Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-01T21:36:00.380Z] + sudo tee /etc/docker/daemon.new [2021-11-01T21:36:00.380Z] { [2021-11-01T21:36:00.380Z] "registry-mirrors": [ [2021-11-01T21:36:00.380Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-01T21:36:00.380Z] ], [2021-11-01T21:36:00.380Z] "bip": "10.250.0.254/24", [2021-11-01T21:36:00.380Z] "hosts": [ [2021-11-01T21:36:00.380Z] "tcp://0.0.0.0:5555", [2021-11-01T21:36:00.380Z] "unix:///var/run/docker.sock" [2021-11-01T21:36:00.380Z] ], [2021-11-01T21:36:00.380Z] "mtu": 1458, [2021-11-01T21:36:00.380Z] "selinux-enabled": true, [2021-11-01T21:36:00.380Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-01T21:36:00.380Z] } [Pipeline] sh [2021-11-01T21:36:00.739Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-01T21:36:01.086Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:36:19.468Z] provisioning config files... [2021-11-01T21:36:19.500Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/12@tmp/config7455067907623119882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:36:19.885Z] ---> docker-login.sh [2021-11-01T21:36:19.886Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:36:20.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:36:21.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:36:21.153Z] Configure a credential helper to remove this warning. See [2021-11-01T21:36:21.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:36:21.153Z] [2021-11-01T21:36:21.153Z] Login Succeeded [2021-11-01T21:36:21.153Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:36:21.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:36:21.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:36:21.705Z] Configure a credential helper to remove this warning. See [2021-11-01T21:36:21.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:36:21.705Z] [2021-11-01T21:36:21.705Z] Login Succeeded [2021-11-01T21:36:21.705Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:36:21.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:36:22.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:36:22.257Z] Configure a credential helper to remove this warning. See [2021-11-01T21:36:22.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:36:22.257Z] [2021-11-01T21:36:22.257Z] Login Succeeded [2021-11-01T21:36:22.257Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:36:22.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:36:22.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:36:22.810Z] Configure a credential helper to remove this warning. See [2021-11-01T21:36:22.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:36:22.810Z] [2021-11-01T21:36:22.810Z] Login Succeeded [2021-11-01T21:36:22.810Z] docker.io [2021-11-01T21:36:23.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:36:23.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:36:23.678Z] Configure a credential helper to remove this warning. See [2021-11-01T21:36:23.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:36:23.678Z] [2021-11-01T21:36:23.678Z] Login Succeeded [2021-11-01T21:36:23.678Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:36:23.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T21:36:24.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:36:24.028Z] ========================================================= [2021-11-01T21:36:24.028Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-01T21:36:24.028Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:36:24.384Z] + 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-11-01T21:36:24.658Z] Sending build context to Docker daemon 690.2kB [2021-11-01T21:36:24.658Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:36:24.658Z] Step 2/9 : FROM ${BASE} AS builder [2021-11-01T21:36:24.936Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-01T21:36:24.936Z] 552d1f2373af: Pulling fs layer [2021-11-01T21:36:24.936Z] ea3f2d53f512: Pulling fs layer [2021-11-01T21:36:24.936Z] 9e70ebbbe112: Pulling fs layer [2021-11-01T21:36:24.936Z] 7a9cfe048b4a: Pulling fs layer [2021-11-01T21:36:24.936Z] 72dc09318566: Pulling fs layer [2021-11-01T21:36:24.936Z] f4f7b4309257: Pulling fs layer [2021-11-01T21:36:24.936Z] 0ac9a79272e3: Pulling fs layer [2021-11-01T21:36:24.936Z] b78e95d17946: Pulling fs layer [2021-11-01T21:36:24.936Z] 72dc09318566: Waiting [2021-11-01T21:36:24.936Z] 0ac9a79272e3: Waiting [2021-11-01T21:36:24.936Z] b78e95d17946: Waiting [2021-11-01T21:36:24.936Z] 7a9cfe048b4a: Waiting [2021-11-01T21:36:24.936Z] f4f7b4309257: Waiting [2021-11-01T21:36:24.936Z] 9e70ebbbe112: Verifying Checksum [2021-11-01T21:36:24.936Z] 9e70ebbbe112: Download complete [2021-11-01T21:36:24.936Z] ea3f2d53f512: Download complete [2021-11-01T21:36:24.936Z] 72dc09318566: Verifying Checksum [2021-11-01T21:36:24.936Z] 72dc09318566: Download complete [2021-11-01T21:36:24.936Z] f4f7b4309257: Verifying Checksum [2021-11-01T21:36:24.936Z] f4f7b4309257: Download complete [2021-11-01T21:36:24.936Z] 552d1f2373af: Verifying Checksum [2021-11-01T21:36:24.936Z] 552d1f2373af: Download complete [2021-11-01T21:36:24.936Z] 0ac9a79272e3: Verifying Checksum [2021-11-01T21:36:24.936Z] 0ac9a79272e3: Download complete [2021-11-01T21:36:25.933Z] 552d1f2373af: Pull complete [2021-11-01T21:36:26.864Z] ea3f2d53f512: Pull complete [2021-11-01T21:36:27.520Z] 9e70ebbbe112: Pull complete [2021-11-01T21:36:27.520Z] b78e95d17946: Verifying Checksum [2021-11-01T21:36:27.520Z] b78e95d17946: Download complete [2021-11-01T21:36:28.118Z] 7a9cfe048b4a: Verifying Checksum [2021-11-01T21:36:28.118Z] 7a9cfe048b4a: Download complete [2021-11-01T21:36:38.267Z] 7a9cfe048b4a: Pull complete [2021-11-01T21:36:38.867Z] 72dc09318566: Pull complete [2021-11-01T21:36:39.142Z] f4f7b4309257: Pull complete [2021-11-01T21:36:39.419Z] 0ac9a79272e3: Pull complete [2021-11-01T21:36:46.162Z] b78e95d17946: Pull complete [2021-11-01T21:36:46.162Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-01T21:36:46.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T21:36:46.162Z] ---> 8b459fc5aaf0 [2021-11-01T21:36:46.162Z] Step 3/9 : ARG MAKE='make build' [2021-11-01T21:36:48.805Z] ---> Running in 3ec89738e7df [2021-11-01T21:36:48.805Z] Removing intermediate container 3ec89738e7df [2021-11-01T21:36:48.805Z] ---> 181f5925e194 [2021-11-01T21:36:48.805Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:36:49.084Z] ---> Running in ebf024bdfbbd [2021-11-01T21:36:51.718Z] Removing intermediate container ebf024bdfbbd [2021-11-01T21:36:51.718Z] ---> 20999a5518c2 [2021-11-01T21:36:51.718Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T21:36:51.718Z] ---> Running in 86dbb8a46f9f [2021-11-01T21:36:52.701Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:36:53.680Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:36:54.663Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T21:36:54.663Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-11-01T21:36:54.663Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T21:36:54.936Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T21:36:54.936Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-11-01T21:36:55.208Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-11-01T21:36:55.208Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-11-01T21:36:55.208Z] (8/8) Installing openssh (8.6_p1-r3) [2021-11-01T21:36:55.482Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:36:55.482Z] OK: 225 MiB in 60 packages [2021-11-01T21:36:56.919Z] Removing intermediate container 86dbb8a46f9f [2021-11-01T21:36:56.919Z] ---> 6ec4bc48ba47 [2021-11-01T21:36:56.919Z] Step 6/9 : WORKDIR /device-modbus-go [2021-11-01T21:36:56.919Z] ---> Running in 5cdefb1ec3e8 [2021-11-01T21:36:57.193Z] Removing intermediate container 5cdefb1ec3e8 [2021-11-01T21:36:57.193Z] ---> 5aace53def4d [2021-11-01T21:36:57.193Z] Step 7/9 : COPY . . [2021-11-01T21:36:58.175Z] ---> 13badc2f7c35 [2021-11-01T21:36:58.175Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:36:58.447Z] ---> Running in b582d2990590 [2021-11-01T21:38:20.248Z] Removing intermediate container b582d2990590 [2021-11-01T21:38:20.248Z] ---> 00971bd240a0 [2021-11-01T21:38:20.248Z] Step 9/9 : RUN ${MAKE} [2021-11-01T21:38:20.248Z] ---> Running in f473ad4de058 [2021-11-01T21:38:20.248Z] noop [2021-11-01T21:38:20.248Z] Removing intermediate container f473ad4de058 [2021-11-01T21:38:20.248Z] ---> fd3fb3f58833 [2021-11-01T21:38:20.248Z] Successfully built fd3fb3f58833 [2021-11-01T21:38:20.248Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:38:20.591Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T21:38:20.591Z] . [Pipeline] withDockerContainer [2021-11-01T21:38:20.820Z] prd-ubuntu18.04-docker-arm64-4c-16g-13769 does not seem to be running inside a container [2021-11-01T21:38:20.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-arm64 cat [2021-11-01T21:38:22.361Z] $ docker top 98672308a1cffb794d44f67d9ed1047bd02a7bee498207a6681e86374a595395 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:38:23.277Z] + go version [2021-11-01T21:38:23.277Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-01T21:38:23.297Z] $ docker stop --time=1 98672308a1cffb794d44f67d9ed1047bd02a7bee498207a6681e86374a595395 [2021-11-01T21:38:25.100Z] $ docker rm -f 98672308a1cffb794d44f67d9ed1047bd02a7bee498207a6681e86374a595395 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:38:25.772Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T21:38:25.772Z] . [Pipeline] withDockerContainer [2021-11-01T21:38:26.004Z] prd-ubuntu18.04-docker-arm64-4c-16g-13769 does not seem to be running inside a container [2021-11-01T21:38:26.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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-arm64 cat [2021-11-01T21:38:27.534Z] $ docker top 14daf4ff0ce58fb1549836c47053db4c3e87b98a186531a532638ee34e311f76 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T21:38:28.476Z] + make test [2021-11-01T21:38:28.477Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-01T21:38:29.911Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-11-01T21:39:26.475Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-11-01T21:39:26.475Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements [2021-11-01T21:39:26.475Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T21:39:48.661Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T21:39:48.661Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T21:39:48.661Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T21:39:50.645Z] $ docker stop --time=1 14daf4ff0ce58fb1549836c47053db4c3e87b98a186531a532638ee34e311f76 [2021-11-01T21:39:52.511Z] $ docker rm -f 14daf4ff0ce58fb1549836c47053db4c3e87b98a186531a532638ee34e311f76 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:39:53.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T21:39:53.388Z] Warning: overwriting stash ‘coverage-report’ [2021-11-01T21:39:53.864Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:39:54.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T21:39:54.720Z] + ls -al . [2021-11-01T21:39:54.720Z] total 184 [2021-11-01T21:39:54.720Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 21:39 . [2021-11-01T21:39:54.720Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:35 .. [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 21:35 .dockerignore [2021-11-01T21:39:54.720Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:35 .git [2021-11-01T21:39:54.720Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:35 .github [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 1 21:35 .gitignore [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 8010 Nov 1 21:35 Attribution.txt [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 6038 Nov 1 21:35 CHANGELOG.md [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 1523 Nov 1 21:35 Dockerfile [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:35 GOVERNANCE.md [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 1 21:35 Jenkinsfile [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:35 LICENSE [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 1009 Nov 1 21:35 Makefile [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 1 21:35 OWNERS.md [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 2891 Nov 1 21:35 README.md [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 21:31 VERSION [2021-11-01T21:39:54.720Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:35 bin [2021-11-01T21:39:54.720Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:35 cmd [2021-11-01T21:39:54.720Z] -rw-r--r-- 1 jenkins jenkins 23727 Nov 1 21:39 coverage.out [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 308 Nov 1 21:35 go.mod [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 49577 Nov 1 21:35 go.sum [2021-11-01T21:39:54.720Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:35 internal [2021-11-01T21:39:54.720Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:35 simulator [2021-11-01T21:39:54.720Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:35 snap [2021-11-01T21:39:54.720Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 1 21:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:39:55.056Z] + 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=e9f0d89f8cfabfca8c60418791cfe6d3382bb269 --label arch=arm64 --label version=2.0.1-dev.9 . [2021-11-01T21:39:55.331Z] Sending build context to Docker daemon 714.8kB [2021-11-01T21:39:55.331Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:39:55.331Z] Step 2/22 : FROM ${BASE} AS builder [2021-11-01T21:39:55.331Z] ---> fd3fb3f58833 [2021-11-01T21:39:55.331Z] Step 3/22 : ARG MAKE='make build' [2021-11-01T21:39:55.605Z] ---> Running in 4907769eab1f [2021-11-01T21:39:56.198Z] Removing intermediate container 4907769eab1f [2021-11-01T21:39:56.198Z] ---> 0a469e4a4aea [2021-11-01T21:39:56.198Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:39:56.198Z] ---> Running in 4449504add88 [2021-11-01T21:39:58.170Z] Removing intermediate container 4449504add88 [2021-11-01T21:39:58.170Z] ---> 21e9f21904bc [2021-11-01T21:39:58.170Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T21:39:58.444Z] ---> Running in 9542cc595656 [2021-11-01T21:39:59.419Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:40:00.393Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:40:01.383Z] OK: 225 MiB in 60 packages [2021-11-01T21:40:02.367Z] Removing intermediate container 9542cc595656 [2021-11-01T21:40:02.367Z] ---> 09809fab9857 [2021-11-01T21:40:02.367Z] Step 6/22 : WORKDIR /device-modbus-go [2021-11-01T21:40:02.367Z] ---> Running in d23d48f9376c [2021-11-01T21:40:02.962Z] Removing intermediate container d23d48f9376c [2021-11-01T21:40:02.962Z] ---> 16dd81c74b0b [2021-11-01T21:40:02.962Z] Step 7/22 : COPY . . [2021-11-01T21:40:03.938Z] ---> 2b992b4b583c [2021-11-01T21:40:03.938Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:40:03.938Z] ---> Running in 3404801a519d [2021-11-01T21:40:06.555Z] Removing intermediate container 3404801a519d [2021-11-01T21:40:06.555Z] ---> f7639995270c [2021-11-01T21:40:06.555Z] Step 9/22 : RUN ${MAKE} [2021-11-01T21:40:06.555Z] ---> Running in ff0ebd52219f [2021-11-01T21:40:07.537Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.9" -o cmd/device-modbus ./cmd [2021-11-01T21:40:46.784Z] Removing intermediate container ff0ebd52219f [2021-11-01T21:40:46.784Z] ---> dff59dc7a2ae [2021-11-01T21:40:46.784Z] Step 10/22 : FROM alpine:3.14 [2021-11-01T21:40:46.784Z] 3.14: Pulling from library/alpine [2021-11-01T21:40:46.784Z] 552d1f2373af: Already exists [2021-11-01T21:40:46.784Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T21:40:46.784Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T21:40:46.784Z] ---> bb3de5531c18 [2021-11-01T21:40:46.784Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-11-01T21:40:46.784Z] ---> Running in 75ca2e2b5b08 [2021-11-01T21:40:46.784Z] Removing intermediate container 75ca2e2b5b08 [2021-11-01T21:40:46.784Z] ---> fbfa950ea9be [2021-11-01T21:40:46.784Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:40:46.784Z] ---> Running in 552afac8bb62 [2021-11-01T21:40:47.379Z] Removing intermediate container 552afac8bb62 [2021-11-01T21:40:47.379Z] ---> bce422f8a9a0 [2021-11-01T21:40:47.379Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T21:40:47.653Z] ---> Running in 9681975dc0b7 [2021-11-01T21:40:48.628Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:40:49.601Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:40:50.576Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T21:40:50.576Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T21:40:50.576Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T21:40:50.576Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T21:40:50.848Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T21:40:50.848Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T21:40:51.120Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:40:51.121Z] OK: 8 MiB in 20 packages [2021-11-01T21:40:52.098Z] Removing intermediate container 9681975dc0b7 [2021-11-01T21:40:52.098Z] ---> 0b70e83bf2c5 [2021-11-01T21:40:52.098Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-11-01T21:40:53.530Z] ---> 85a43ab8e8ea [2021-11-01T21:40:53.530Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-11-01T21:40:54.124Z] ---> 3f8d0e08b699 [2021-11-01T21:40:54.124Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-11-01T21:40:54.720Z] ---> a210ccdaaca2 [2021-11-01T21:40:54.720Z] Step 17/22 : EXPOSE 59901 [2021-11-01T21:40:54.994Z] ---> Running in a1d6c1b51c6a [2021-11-01T21:40:55.272Z] Removing intermediate container a1d6c1b51c6a [2021-11-01T21:40:55.272Z] ---> 43e2c17344c7 [2021-11-01T21:40:55.272Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-11-01T21:40:55.546Z] ---> Running in 4e5019d1ff3d [2021-11-01T21:40:55.819Z] Removing intermediate container 4e5019d1ff3d [2021-11-01T21:40:55.819Z] ---> fdd5a87ddd0b [2021-11-01T21:40:55.819Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T21:40:56.091Z] ---> Running in a1adf21f6f59 [2021-11-01T21:40:56.362Z] Removing intermediate container a1adf21f6f59 [2021-11-01T21:40:56.362Z] ---> 10e3e9f556d8 [2021-11-01T21:40:56.362Z] Step 20/22 : LABEL arch=arm64 [2021-11-01T21:40:56.634Z] ---> Running in de28d5684f47 [2021-11-01T21:40:56.907Z] Removing intermediate container de28d5684f47 [2021-11-01T21:40:56.907Z] ---> 07b42bf0eaf8 [2021-11-01T21:40:56.907Z] Step 21/22 : LABEL git_sha=e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:40:57.181Z] ---> Running in fce9997528e8 [2021-11-01T21:40:57.454Z] Removing intermediate container fce9997528e8 [2021-11-01T21:40:57.454Z] ---> db9dee03718a [2021-11-01T21:40:57.454Z] Step 22/22 : LABEL version=2.0.1-dev.9 [2021-11-01T21:40:57.727Z] ---> Running in e8b9c9a4347a [2021-11-01T21:40:57.999Z] Removing intermediate container e8b9c9a4347a [2021-11-01T21:40:57.999Z] ---> 41aa74b9a209 [2021-11-01T21:40:57.999Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T21:40:57.999Z] Successfully built 41aa74b9a209 [2021-11-01T21:40:57.999Z] 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-11-01T21:40:58.203Z] provisioning config files... [2021-11-01T21:40:58.220Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/12@tmp/config6575309063177680327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:40:58.570Z] ---> docker-login.sh [2021-11-01T21:40:58.570Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:40:58.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:40:59.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:40:59.118Z] Configure a credential helper to remove this warning. See [2021-11-01T21:40:59.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:40:59.118Z] [2021-11-01T21:40:59.118Z] Login Succeeded [2021-11-01T21:40:59.118Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:40:59.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:40:59.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:40:59.662Z] Configure a credential helper to remove this warning. See [2021-11-01T21:40:59.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:40:59.662Z] [2021-11-01T21:40:59.662Z] Login Succeeded [2021-11-01T21:40:59.662Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:40:59.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:41:00.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:41:00.207Z] Configure a credential helper to remove this warning. See [2021-11-01T21:41:00.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:41:00.207Z] [2021-11-01T21:41:00.207Z] Login Succeeded [2021-11-01T21:41:00.207Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:41:00.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:41:00.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:41:00.752Z] Configure a credential helper to remove this warning. See [2021-11-01T21:41:00.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:41:00.752Z] [2021-11-01T21:41:00.752Z] Login Succeeded [2021-11-01T21:41:00.752Z] docker.io [2021-11-01T21:41:01.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:41:01.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:41:01.626Z] Configure a credential helper to remove this warning. See [2021-11-01T21:41:01.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:41:01.626Z] [2021-11-01T21:41:01.626Z] Login Succeeded [2021-11-01T21:41:01.626Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:41:01.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T21:41:01.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:41:01.694Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-11-01T21:41:01.694Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:41:01.694Z] latest [2021-11-01T21:41:01.694Z] 2.0.1-dev.9 [2021-11-01T21:41:01.694Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9 [2021-11-01T21:41:01.694Z] main [2021-11-01T21:41:01.694Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:02.038Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:02.382Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:41:02.382Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T21:41:02.382Z] 047628613648: Preparing [2021-11-01T21:41:02.382Z] d45e20ac218d: Preparing [2021-11-01T21:41:02.382Z] 02d52f2a77f7: Preparing [2021-11-01T21:41:02.382Z] 7f85bfb8a7c5: Preparing [2021-11-01T21:41:02.382Z] cc3758c93b62: Preparing [2021-11-01T21:41:02.382Z] ee420dfed78a: Preparing [2021-11-01T21:41:02.382Z] ee420dfed78a: Waiting [2021-11-01T21:41:02.659Z] 047628613648: Pushed [2021-11-01T21:41:02.659Z] cc3758c93b62: Pushed [2021-11-01T21:41:02.659Z] d45e20ac218d: Pushed [2021-11-01T21:41:02.659Z] ee420dfed78a: Layer already exists [2021-11-01T21:41:03.251Z] 7f85bfb8a7c5: Pushed [2021-11-01T21:41:05.868Z] 02d52f2a77f7: Pushed [2021-11-01T21:41:05.868Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269: digest: sha256:8856f3b66a2d141d5e8aa4a7c0b8490e751c984db56503c865cf89045872108e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:06.214Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:06.555Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-01T21:41:06.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T21:41:06.556Z] 047628613648: Preparing [2021-11-01T21:41:06.556Z] d45e20ac218d: Preparing [2021-11-01T21:41:06.556Z] 02d52f2a77f7: Preparing [2021-11-01T21:41:06.556Z] 7f85bfb8a7c5: Preparing [2021-11-01T21:41:06.556Z] cc3758c93b62: Preparing [2021-11-01T21:41:06.556Z] ee420dfed78a: Preparing [2021-11-01T21:41:06.556Z] ee420dfed78a: Waiting [2021-11-01T21:41:06.556Z] d45e20ac218d: Layer already exists [2021-11-01T21:41:06.556Z] 02d52f2a77f7: Layer already exists [2021-11-01T21:41:06.556Z] 047628613648: Layer already exists [2021-11-01T21:41:06.556Z] cc3758c93b62: Layer already exists [2021-11-01T21:41:06.556Z] 7f85bfb8a7c5: Layer already exists [2021-11-01T21:41:06.828Z] ee420dfed78a: Layer already exists [2021-11-01T21:41:06.828Z] latest: digest: sha256:8856f3b66a2d141d5e8aa4a7c0b8490e751c984db56503c865cf89045872108e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:07.173Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:07.510Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.9 [2021-11-01T21:41:07.510Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T21:41:07.510Z] 047628613648: Preparing [2021-11-01T21:41:07.510Z] d45e20ac218d: Preparing [2021-11-01T21:41:07.510Z] 02d52f2a77f7: Preparing [2021-11-01T21:41:07.510Z] 7f85bfb8a7c5: Preparing [2021-11-01T21:41:07.510Z] cc3758c93b62: Preparing [2021-11-01T21:41:07.510Z] ee420dfed78a: Preparing [2021-11-01T21:41:07.510Z] ee420dfed78a: Waiting [2021-11-01T21:41:07.510Z] cc3758c93b62: Layer already exists [2021-11-01T21:41:07.510Z] d45e20ac218d: Layer already exists [2021-11-01T21:41:07.510Z] 047628613648: Layer already exists [2021-11-01T21:41:07.510Z] 7f85bfb8a7c5: Layer already exists [2021-11-01T21:41:07.510Z] 02d52f2a77f7: Layer already exists [2021-11-01T21:41:07.781Z] ee420dfed78a: Layer already exists [2021-11-01T21:41:07.781Z] 2.0.1-dev.9: digest: sha256:8856f3b66a2d141d5e8aa4a7c0b8490e751c984db56503c865cf89045872108e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:08.128Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:08.466Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9 [2021-11-01T21:41:08.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T21:41:08.466Z] 047628613648: Preparing [2021-11-01T21:41:08.466Z] d45e20ac218d: Preparing [2021-11-01T21:41:08.466Z] 02d52f2a77f7: Preparing [2021-11-01T21:41:08.466Z] 7f85bfb8a7c5: Preparing [2021-11-01T21:41:08.466Z] cc3758c93b62: Preparing [2021-11-01T21:41:08.466Z] ee420dfed78a: Preparing [2021-11-01T21:41:08.466Z] ee420dfed78a: Waiting [2021-11-01T21:41:08.466Z] d45e20ac218d: Layer already exists [2021-11-01T21:41:08.466Z] 047628613648: Layer already exists [2021-11-01T21:41:08.466Z] 7f85bfb8a7c5: Layer already exists [2021-11-01T21:41:08.466Z] cc3758c93b62: Layer already exists [2021-11-01T21:41:08.466Z] 02d52f2a77f7: Layer already exists [2021-11-01T21:41:08.738Z] ee420dfed78a: Layer already exists [2021-11-01T21:41:08.738Z] e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9: digest: sha256:8856f3b66a2d141d5e8aa4a7c0b8490e751c984db56503c865cf89045872108e size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:09.078Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:09.413Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-11-01T21:41:09.413Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-11-01T21:41:09.413Z] 047628613648: Preparing [2021-11-01T21:41:09.413Z] d45e20ac218d: Preparing [2021-11-01T21:41:09.413Z] 02d52f2a77f7: Preparing [2021-11-01T21:41:09.413Z] 7f85bfb8a7c5: Preparing [2021-11-01T21:41:09.413Z] cc3758c93b62: Preparing [2021-11-01T21:41:09.413Z] ee420dfed78a: Preparing [2021-11-01T21:41:09.413Z] ee420dfed78a: Waiting [2021-11-01T21:41:09.413Z] 047628613648: Layer already exists [2021-11-01T21:41:09.413Z] d45e20ac218d: Layer already exists [2021-11-01T21:41:09.413Z] cc3758c93b62: Layer already exists [2021-11-01T21:41:09.413Z] 7f85bfb8a7c5: Layer already exists [2021-11-01T21:41:09.413Z] 02d52f2a77f7: Layer already exists [2021-11-01T21:41:09.684Z] ee420dfed78a: Layer already exists [2021-11-01T21:41:09.684Z] main: digest: sha256:8856f3b66a2d141d5e8aa4a7c0b8490e751c984db56503c865cf89045872108e size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T21:41:09.726Z] ===================================================== [Pipeline] echo [2021-11-01T21:41:09.733Z] taggedImages: [2021-11-01T21:41:09.733Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [2021-11-01T21:41:09.733Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-11-01T21:41:09.733Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.9 [2021-11-01T21:41:09.733Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e9f0d89f8cfabfca8c60418791cfe6d3382bb269-2.0.1-dev.9 [2021-11-01T21:41:09.733Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:10.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:41:10.198Z] [2021-11-01T21:41:10.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:10.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:41:11.084Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-01T21:41:11.084Z] 448f6bf000e3: Pulling fs layer [2021-11-01T21:41:11.084Z] f757da607395: Pulling fs layer [2021-11-01T21:41:11.084Z] 05883995daec: Pulling fs layer [2021-11-01T21:41:11.084Z] 8603b9c90790: Pulling fs layer [2021-11-01T21:41:11.084Z] 1560dd03e051: Pulling fs layer [2021-11-01T21:41:11.084Z] 27f5ce0e4adf: Pulling fs layer [2021-11-01T21:41:11.084Z] c2d8d7efcc4b: Pulling fs layer [2021-11-01T21:41:11.084Z] 8603b9c90790: Waiting [2021-11-01T21:41:11.084Z] 1560dd03e051: Waiting [2021-11-01T21:41:11.084Z] 27f5ce0e4adf: Waiting [2021-11-01T21:41:11.084Z] c2d8d7efcc4b: Waiting [2021-11-01T21:41:11.084Z] f757da607395: Verifying Checksum [2021-11-01T21:41:11.084Z] f757da607395: Download complete [2021-11-01T21:41:11.084Z] 8603b9c90790: Verifying Checksum [2021-11-01T21:41:11.084Z] 8603b9c90790: Download complete [2021-11-01T21:41:11.357Z] 1560dd03e051: Verifying Checksum [2021-11-01T21:41:11.357Z] 1560dd03e051: Download complete [2021-11-01T21:41:11.357Z] 27f5ce0e4adf: Verifying Checksum [2021-11-01T21:41:11.357Z] 27f5ce0e4adf: Download complete [2021-11-01T21:41:11.357Z] 05883995daec: Verifying Checksum [2021-11-01T21:41:11.357Z] 05883995daec: Download complete [2021-11-01T21:41:11.631Z] 448f6bf000e3: Verifying Checksum [2021-11-01T21:41:11.631Z] 448f6bf000e3: Download complete [2021-11-01T21:41:14.257Z] c2d8d7efcc4b: Verifying Checksum [2021-11-01T21:41:14.257Z] c2d8d7efcc4b: Download complete [2021-11-01T21:41:15.235Z] 448f6bf000e3: Pull complete [2021-11-01T21:41:15.835Z] f757da607395: Pull complete [2021-11-01T21:41:17.288Z] 05883995daec: Pull complete [2021-11-01T21:41:17.882Z] 8603b9c90790: Pull complete [2021-11-01T21:41:18.859Z] 1560dd03e051: Pull complete [2021-11-01T21:41:19.133Z] 27f5ce0e4adf: Pull complete [2021-11-01T21:41:34.211Z] c2d8d7efcc4b: Pull complete [2021-11-01T21:41:34.211Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-01T21:41:34.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:41:34.211Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-01T21:41:34.446Z] prd-ubuntu18.04-docker-arm64-4c-16g-13769 does not seem to be running inside a container [2021-11-01T21:41:34.564Z] $ 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/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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:arm64 cat [2021-11-01T21:41:37.471Z] $ docker top c488b1169df4e2219766158bda8958cb2353009bd11fb2322f79766051c5cf27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:41:38.474Z] ---> job-cost.sh [2021-11-01T21:41:38.475Z] lf-activate-venv: SKIPPING [2021-11-01T21:41:38.475Z] INFO: No Stack... [2021-11-01T21:41:38.747Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-01T21:41:39.342Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T21:41:40.002Z] + cat /w/workspace/device-modbus-go/12/archives/cost.csv [2021-11-01T21:41:40.002Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T21:41:40.063Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-12-stack-cost] [2021-11-01T21:41:40.070Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-12-stack-cost] did not exist. Created. [2021-11-01T21:41:40.070Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T21:41:40.759Z] /w/workspace/device-modbus-go/12@tmp/durable-4ddd06e4/script.sh: 1: /w/workspace/device-modbus-go/12@tmp/durable-4ddd06e4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-01T21:41:41.416Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-01T21:41:41.442Z] Warning: overwriting stash ‘stack-cost’ [2021-11-01T21:41:41.485Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T21:41:41.493Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-12-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T21:41:41.504Z] $ docker stop --time=1 c488b1169df4e2219766158bda8958cb2353009bd11fb2322f79766051c5cf27 [2021-11-01T21:41:43.099Z] $ docker rm -f c488b1169df4e2219766158bda8958cb2353009bd11fb2322f79766051c5cf27 [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-11-01T21:41:43.763Z] provisioning config files... [2021-11-01T21:41:43.775Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2591671159272926525tmp [Pipeline] { [Pipeline] sh [2021-11-01T21:41:44.091Z] + set +x [2021-11-01T21:41:44.091Z] + curl -s https://codecov.io/bash [2021-11-01T21:41:44.091Z] + bash -s -- [2021-11-01T21:41:44.091Z] [2021-11-01T21:41:44.091Z] _____ _ [2021-11-01T21:41:44.091Z] / ____| | | [2021-11-01T21:41:44.091Z] | | ___ __| | ___ ___ _____ __ [2021-11-01T21:41:44.091Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-01T21:41:44.091Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-01T21:41:44.091Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-01T21:41:44.091Z] Bash-1.0.6 [2021-11-01T21:41:44.091Z] [2021-11-01T21:41:44.091Z] [2021-11-01T21:41:44.091Z] ==> git version 2.24.4 found [2021-11-01T21:41:44.091Z] ==> 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-11-01T21:41:44.091Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-01T21:41:44.091Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-01T21:41:44.091Z] ==> Jenkins CI detected. [2021-11-01T21:41:44.091Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T21:41:44.091Z] project root: . [2021-11-01T21:41:44.092Z] --> token set from env [2021-11-01T21:41:44.092Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-01T21:41:44.092Z] ==> Running gcov in . (disable via -X gcov) [2021-11-01T21:41:44.092Z] ==> Python coveragepy not found [2021-11-01T21:41:44.092Z] ==> Searching for coverage reports in: [2021-11-01T21:41:44.092Z] + . [2021-11-01T21:41:44.092Z] -> Found 1 reports [2021-11-01T21:41:44.092Z] ==> Detecting git/mercurial file structure [2021-11-01T21:41:44.092Z] ==> Reading reports [2021-11-01T21:41:44.092Z] + ./coverage.out bytes=23727 [2021-11-01T21:41:44.092Z] ==> Appending adjustments [2021-11-01T21:41:44.092Z] https://docs.codecov.io/docs/fixing-reports [2021-11-01T21:41:44.352Z] + Found adjustments [2021-11-01T21:41:44.352Z] ==> Gzipping contents [2021-11-01T21:41:44.352Z] 4.0K /tmp/codecov.cpFpXn.gz [2021-11-01T21:41:44.352Z] ==> Uploading reports [2021-11-01T21:41:44.352Z] url: https://codecov.io [2021-11-01T21:41:44.352Z] query: branch=main&commit=e9f0d89f8cfabfca8c60418791cfe6d3382bb269&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T21:41:44.352Z] -> Pinging Codecov [2021-11-01T21:41:44.352Z] 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=e9f0d89f8cfabfca8c60418791cfe6d3382bb269&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T21:41:44.620Z] -> Uploading to [2021-11-01T21:41:44.620Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-01/55DBCA73C666E3227836607328DD7E49/e9f0d89f8cfabfca8c60418791cfe6d3382bb269/b5f03a30-0fe3-40dd-bb78-6b9e7576bc40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T214144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ea5e5a2e904f921395b534d093b77719703e9264c4e20209706123fffd8585c [2021-11-01T21:41:44.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T21:41:44.620Z] Dload Upload Total Spent Left Speed [2021-11-01T21:41:44.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3981 0 0 100 3981 0 13074 --:--:-- --:--:-- --:--:-- 13095 [2021-11-01T21:41:44.886Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [Pipeline] } [2021-11-01T21:41:44.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-01T21:41:45.067Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-01T21:41:45.078Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:45.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:41:45.376Z] [2021-11-01T21:41:45.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:41:45.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:41:45.681Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-01T21:41:45.681Z] 188c0c94c7c5: Pulling fs layer [2021-11-01T21:41:45.681Z] 0ef7d3d256c8: Pulling fs layer [2021-11-01T21:41:45.681Z] de9db76c5a1d: Pulling fs layer [2021-11-01T21:41:45.681Z] 0eba1c9be4d2: Pulling fs layer [2021-11-01T21:41:45.681Z] 0d57e429df01: Pulling fs layer [2021-11-01T21:41:45.681Z] 4e4be7b47b0d: Pulling fs layer [2021-11-01T21:41:45.681Z] e1f770b5df2f: Pulling fs layer [2021-11-01T21:41:45.681Z] 85a0685a4137: Pulling fs layer [2021-11-01T21:41:45.681Z] 4e4be7b47b0d: Waiting [2021-11-01T21:41:45.681Z] 0eba1c9be4d2: Waiting [2021-11-01T21:41:45.681Z] e1f770b5df2f: Waiting [2021-11-01T21:41:45.681Z] 85a0685a4137: Waiting [2021-11-01T21:41:45.681Z] 0d57e429df01: Waiting [2021-11-01T21:41:45.681Z] de9db76c5a1d: Verifying Checksum [2021-11-01T21:41:45.681Z] de9db76c5a1d: Download complete [2021-11-01T21:41:45.681Z] 0ef7d3d256c8: Verifying Checksum [2021-11-01T21:41:45.681Z] 0ef7d3d256c8: Download complete [2021-11-01T21:41:45.681Z] 0d57e429df01: Verifying Checksum [2021-11-01T21:41:45.681Z] 0d57e429df01: Download complete [2021-11-01T21:41:45.681Z] 4e4be7b47b0d: Verifying Checksum [2021-11-01T21:41:45.681Z] 4e4be7b47b0d: Download complete [2021-11-01T21:41:45.681Z] 188c0c94c7c5: Verifying Checksum [2021-11-01T21:41:45.681Z] 188c0c94c7c5: Download complete [2021-11-01T21:41:46.261Z] e1f770b5df2f: Verifying Checksum [2021-11-01T21:41:46.261Z] e1f770b5df2f: Download complete [2021-11-01T21:41:46.261Z] 0eba1c9be4d2: Verifying Checksum [2021-11-01T21:41:46.261Z] 0eba1c9be4d2: Download complete [2021-11-01T21:41:46.261Z] 188c0c94c7c5: Pull complete [2021-11-01T21:41:46.522Z] 85a0685a4137: Verifying Checksum [2021-11-01T21:41:46.522Z] 85a0685a4137: Download complete [2021-11-01T21:41:46.522Z] 0ef7d3d256c8: Pull complete [2021-11-01T21:41:46.522Z] de9db76c5a1d: Pull complete [2021-11-01T21:41:50.757Z] 0eba1c9be4d2: Pull complete [2021-11-01T21:41:50.757Z] 0d57e429df01: Pull complete [2021-11-01T21:41:50.757Z] 4e4be7b47b0d: Pull complete [2021-11-01T21:41:50.757Z] e1f770b5df2f: Pull complete [2021-11-01T21:41:55.022Z] 85a0685a4137: Pull complete [2021-11-01T21:41:55.022Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-01T21:41:55.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:41:55.022Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-01T21:41:55.088Z] prd-centos7-docker-4c-2g-13765 does not seem to be running inside a container [2021-11-01T21:41:55.135Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-01T21:41:58.158Z] $ docker top e9d9f3fc129618b23150477b2c08b87f2f53423c8adcaa6a09166c52caa790f2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-01T21:41:58.235Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-01T21:41:58.523Z] + set -o pipefail [2021-11-01T21:41:58.523Z] + snyk monitor '--org=edgex-jenkins' [2021-11-01T21:42:03.835Z] [2021-11-01T21:42:03.835Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-11-01T21:42:03.835Z] [2021-11-01T21:42:03.835Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/1b2146a1-412c-4777-8d43-aab14cd5d4d6 [2021-11-01T21:42:03.835Z] [2021-11-01T21:42:03.835Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-11-01T21:42:03.835Z] [2021-11-01T21:42:03.835Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-01T21:42:03.835Z] [2021-11-01T21:42:03.835Z] [Pipeline] } [2021-11-01T21:42:03.850Z] $ docker stop --time=1 e9d9f3fc129618b23150477b2c08b87f2f53423c8adcaa6a09166c52caa790f2 [2021-11-01T21:42:05.932Z] $ docker rm -f e9d9f3fc129618b23150477b2c08b87f2f53423c8adcaa6a09166c52caa790f2 [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-11-01T21:42:06.782Z] + git log --format=format:%s -1 e9f0d89f8cfabfca8c60418791cfe6d3382bb269 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:42:07.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:42:07.082Z] . [Pipeline] withDockerContainer [2021-11-01T21:42:07.148Z] prd-centos7-docker-4c-2g-13765 does not seem to be running inside a container [2021-11-01T21:42:07.183Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T21:42:07.537Z] $ docker top 7ffa91ae124c5dfc89600d3e18572d72094b8431dacc4cb4395d36f7f491b3cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:42:07.630Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:42:07.630Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:42:07.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:42:07.742Z] $ docker exec 7ffa91ae124c5dfc89600d3e18572d72094b8431dacc4cb4395d36f7f491b3cb ssh-agent [2021-11-01T21:42:07.849Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnGhHNc/agent.13 [2021-11-01T21:42:07.849Z] SSH_AGENT_PID=19 [2021-11-01T21:42:07.853Z] Running ssh-add (command line suppressed) [2021-11-01T21:42:07.951Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1722080977035006559.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1722080977035006559.key) [2021-11-01T21:42:07.965Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:42:08.250Z] + git semver tag [2021-11-01T21:42:08.250Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:42:08.250Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-01T21:42:08.250Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T21:42:08.250Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:42:08.250Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:42:08.250Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:42:08.250Z] # $SEMVER_BRANCH = main [2021-11-01T21:42:08.250Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-01T21:42:08.250Z] # e9f0d89f8cfabfca8c60418791cfe6d3382bb269 HEAD [2021-11-01T21:42:08.250Z] # -> Force: false [2021-11-01T21:42:08.250Z] # cb040a40339788d8e4ac0f728bed26edaaaa7eb6 refs/tags/v2.0.1-dev.9 [Pipeline] } [2021-11-01T21:42:08.258Z] $ docker exec --env ******** --env ******** 7ffa91ae124c5dfc89600d3e18572d72094b8431dacc4cb4395d36f7f491b3cb ssh-agent -k [2021-11-01T21:42:08.344Z] unset SSH_AUTH_SOCK; [2021-11-01T21:42:08.344Z] unset SSH_AGENT_PID; [2021-11-01T21:42:08.344Z] echo Agent pid 19 killed; [2021-11-01T21:42:08.354Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:42:08.657Z] + git semver [Pipeline] } [2021-11-01T21:42:08.669Z] $ docker stop --time=1 7ffa91ae124c5dfc89600d3e18572d72094b8431dacc4cb4395d36f7f491b3cb [2021-11-01T21:42:09.859Z] $ docker rm -f 7ffa91ae124c5dfc89600d3e18572d72094b8431dacc4cb4395d36f7f491b3cb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:42:10.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:42:10.254Z] [2021-11-01T21:42:10.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:42:10.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:42:10.558Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-01T21:42:10.558Z] ab5ef0e58194: Pulling fs layer [2021-11-01T21:42:10.558Z] 9712f1f96733: Pulling fs layer [2021-11-01T21:42:10.558Z] 63f879dbbcfc: Pulling fs layer [2021-11-01T21:42:10.558Z] 0d9ebad4ef96: Pulling fs layer [2021-11-01T21:42:10.558Z] e9a5061849ea: Pulling fs layer [2021-11-01T21:42:10.558Z] d747dcd14b5f: Pulling fs layer [2021-11-01T21:42:10.558Z] 2de7ff778b66: Pulling fs layer [2021-11-01T21:42:10.558Z] e9a5061849ea: Waiting [2021-11-01T21:42:10.558Z] d747dcd14b5f: Waiting [2021-11-01T21:42:10.558Z] 2de7ff778b66: Waiting [2021-11-01T21:42:10.558Z] 0d9ebad4ef96: Waiting [2021-11-01T21:42:10.558Z] 9712f1f96733: Verifying Checksum [2021-11-01T21:42:10.558Z] 9712f1f96733: Download complete [2021-11-01T21:42:11.147Z] 63f879dbbcfc: Verifying Checksum [2021-11-01T21:42:11.147Z] 63f879dbbcfc: Download complete [2021-11-01T21:42:11.147Z] ab5ef0e58194: Verifying Checksum [2021-11-01T21:42:11.147Z] ab5ef0e58194: Download complete [2021-11-01T21:42:11.147Z] d747dcd14b5f: Verifying Checksum [2021-11-01T21:42:11.147Z] d747dcd14b5f: Download complete [2021-11-01T21:42:11.147Z] 0d9ebad4ef96: Verifying Checksum [2021-11-01T21:42:11.147Z] 0d9ebad4ef96: Download complete [2021-11-01T21:42:11.147Z] e9a5061849ea: Verifying Checksum [2021-11-01T21:42:11.147Z] e9a5061849ea: Download complete [2021-11-01T21:42:11.410Z] 2de7ff778b66: Verifying Checksum [2021-11-01T21:42:11.410Z] 2de7ff778b66: Download complete [2021-11-01T21:42:14.728Z] ab5ef0e58194: Pull complete [2021-11-01T21:42:14.728Z] 9712f1f96733: Pull complete [2021-11-01T21:42:14.988Z] 63f879dbbcfc: Pull complete [2021-11-01T21:42:19.215Z] 0d9ebad4ef96: Pull complete [2021-11-01T21:42:19.475Z] e9a5061849ea: Pull complete [2021-11-01T21:42:19.475Z] d747dcd14b5f: Pull complete [2021-11-01T21:42:20.881Z] 2de7ff778b66: Pull complete [2021-11-01T21:42:20.881Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-01T21:42:20.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:42:20.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-01T21:42:20.949Z] prd-centos7-docker-4c-2g-13765 does not seem to be running inside a container [2021-11-01T21:42:20.995Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-01T21:42:24.479Z] $ docker top c74b2e21480a1bb809d7ac9d0f0595ea89442859d7010a4006da3e0ec82791d9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:42:24.560Z] provisioning config files... [2021-11-01T21:42:24.569Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6121478125996579230tmp [2021-11-01T21:42:24.592Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config936228095203303966tmp [2021-11-01T21:42:24.602Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2806550322122999451tmp [Pipeline] { [Pipeline] echo [2021-11-01T21:42:24.621Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:24.907Z] ---> sigul-configuration.sh [2021-11-01T21:42:24.907Z] gpg: directory `/root/.gnupg' created [2021-11-01T21:42:24.907Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-01T21:42:24.907Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-01T21:42:24.907Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-01T21:42:24.907Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-01T21:42:24.907Z] gpg: CAST5 encrypted data [2021-11-01T21:42:24.907Z] gpg: encrypted with 1 passphrase [2021-11-01T21:42:24.907Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-01T21:42:25.206Z] + mkdir /home/jenkins [2021-11-01T21:42:25.206Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-01T21:42:25.495Z] + 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-11-01T21:42:25.504Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:25.791Z] ---> sigul-install.sh [2021-11-01T21:42:25.791Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-01T21:42:26.081Z] + git tag --list [2021-11-01T21:42:26.081Z] 0.7.1 [2021-11-01T21:42:26.081Z] v1.0.0 [2021-11-01T21:42:26.081Z] v1.1.0 [2021-11-01T21:42:26.081Z] v1.1.1 [2021-11-01T21:42:26.081Z] v1.2.2 [2021-11-01T21:42:26.081Z] v1.3.0 [2021-11-01T21:42:26.081Z] v1.3.1 [2021-11-01T21:42:26.081Z] v2.0.0 [2021-11-01T21:42:26.081Z] v2.0.1-dev.1 [2021-11-01T21:42:26.081Z] v2.0.1-dev.2 [2021-11-01T21:42:26.081Z] v2.0.1-dev.3 [2021-11-01T21:42:26.081Z] v2.0.1-dev.4 [2021-11-01T21:42:26.081Z] v2.0.1-dev.5 [2021-11-01T21:42:26.081Z] v2.0.1-dev.6 [2021-11-01T21:42:26.081Z] v2.0.1-dev.7 [2021-11-01T21:42:26.081Z] v2.0.1-dev.8 [2021-11-01T21:42:26.081Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-01T21:42:26.380Z] + lftools sign git-tag v2.0.1-dev.9 [2021-11-01T21:42:26.951Z] Signing Git tag with Sigul... [2021-11-01T21:42:26.951Z] Signing v2.0.1-dev.9 [Pipeline] echo [2021-11-01T21:42:27.902Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:28.189Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-01T21:42:28.197Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-01T21:42:28.216Z] $ docker stop --time=1 c74b2e21480a1bb809d7ac9d0f0595ea89442859d7010a4006da3e0ec82791d9 [2021-11-01T21:42:29.398Z] $ docker rm -f c74b2e21480a1bb809d7ac9d0f0595ea89442859d7010a4006da3e0ec82791d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:42:29.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:42:29.964Z] . [Pipeline] withDockerContainer [2021-11-01T21:42:30.021Z] prd-centos7-docker-4c-2g-13765 does not seem to be running inside a container [2021-11-01T21:42:30.059Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T21:42:30.370Z] $ docker top 82d9711afebd4fcc7aa003b28e97ad46c14dfec8cbc6041ef9f7cb8294069677 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:42:30.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:42:30.460Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:42:30.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:42:30.570Z] $ docker exec 82d9711afebd4fcc7aa003b28e97ad46c14dfec8cbc6041ef9f7cb8294069677 ssh-agent [2021-11-01T21:42:30.666Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoKDoEG/agent.15 [2021-11-01T21:42:30.666Z] SSH_AGENT_PID=22 [2021-11-01T21:42:30.670Z] Running ssh-add (command line suppressed) [2021-11-01T21:42:30.765Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9123386323928668206.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9123386323928668206.key) [2021-11-01T21:42:30.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:42:31.073Z] + git semver bump pre [2021-11-01T21:42:31.073Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:42:31.073Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-01T21:42:31.073Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T21:42:31.073Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:42:31.073Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:42:31.073Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:42:31.073Z] # $SEMVER_BRANCH = main [2021-11-01T21:42:31.073Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-11-01T21:42:31.073Z] 2.0.1-dev.10 [Pipeline] } [2021-11-01T21:42:31.083Z] $ docker exec --env ******** --env ******** 82d9711afebd4fcc7aa003b28e97ad46c14dfec8cbc6041ef9f7cb8294069677 ssh-agent -k [2021-11-01T21:42:31.170Z] unset SSH_AUTH_SOCK; [2021-11-01T21:42:31.170Z] unset SSH_AGENT_PID; [2021-11-01T21:42:31.170Z] echo Agent pid 22 killed; [2021-11-01T21:42:31.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:42:31.493Z] + git semver [Pipeline] } [2021-11-01T21:42:31.507Z] $ docker stop --time=1 82d9711afebd4fcc7aa003b28e97ad46c14dfec8cbc6041ef9f7cb8294069677 [2021-11-01T21:42:32.697Z] $ docker rm -f 82d9711afebd4fcc7aa003b28e97ad46c14dfec8cbc6041ef9f7cb8294069677 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:42:33.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:42:33.056Z] . [Pipeline] withDockerContainer [2021-11-01T21:42:33.124Z] prd-centos7-docker-4c-2g-13765 does not seem to be running inside a container [2021-11-01T21:42:33.166Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-01T21:42:33.507Z] $ docker top f01ba4d23d3e472b42107a4c69ca265db3f7abc21a2822351376ab516bacc07c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:42:33.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:42:33.589Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:42:33.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:42:33.688Z] $ docker exec f01ba4d23d3e472b42107a4c69ca265db3f7abc21a2822351376ab516bacc07c ssh-agent [2021-11-01T21:42:33.789Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlHhIfd/agent.14 [2021-11-01T21:42:33.789Z] SSH_AGENT_PID=21 [2021-11-01T21:42:33.794Z] Running ssh-add (command line suppressed) [2021-11-01T21:42:33.882Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2001306633601669034.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2001306633601669034.key) [2021-11-01T21:42:33.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:42:34.308Z] + git semver push [2021-11-01T21:42:34.308Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:42:34.308Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-11-01T21:42:34.308Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T21:42:34.308Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:42:34.308Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:42:34.308Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:42:34.308Z] # $SEMVER_BRANCH = main [2021-11-01T21:42:34.308Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-11-01T21:42:36.390Z] $ docker exec --env ******** --env ******** f01ba4d23d3e472b42107a4c69ca265db3f7abc21a2822351376ab516bacc07c ssh-agent -k [2021-11-01T21:42:36.484Z] unset SSH_AUTH_SOCK; [2021-11-01T21:42:36.484Z] unset SSH_AGENT_PID; [2021-11-01T21:42:36.484Z] echo Agent pid 21 killed; [2021-11-01T21:42:36.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:42:36.799Z] + git semver [Pipeline] } [2021-11-01T21:42:36.811Z] $ docker stop --time=1 f01ba4d23d3e472b42107a4c69ca265db3f7abc21a2822351376ab516bacc07c [2021-11-01T21:42:37.998Z] $ docker rm -f f01ba4d23d3e472b42107a4c69ca265db3f7abc21a2822351376ab516bacc07c [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-11-01T21:42:38.825Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:39.116Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:39.666Z] ---> package-listing.sh [2021-11-01T21:42:39.666Z] ++ facter osfamily [2021-11-01T21:42:39.666Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-01T21:42:39.927Z] + OS_FAMILY=redhat [2021-11-01T21:42:39.927Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-11-01T21:42:39.927Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-01T21:42:39.927Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-01T21:42:39.927Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-01T21:42:39.927Z] + PACKAGES=/tmp/packages_start.txt [2021-11-01T21:42:39.927Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-01T21:42:39.927Z] + PACKAGES=/tmp/packages_end.txt [2021-11-01T21:42:39.927Z] + case "${OS_FAMILY}" in [2021-11-01T21:42:39.927Z] + rpm -qa [2021-11-01T21:42:39.927Z] + sort [2021-11-01T21:42:40.496Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-01T21:42:40.496Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-01T21:42:40.496Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-01T21:42:40.496Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-11-01T21:42:40.496Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-11-01T21:42:40.496Z] + 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-11-01T21:42:40.505Z] 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-11-01T21:42:40.785Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:42:41.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:42:41.334Z] [2021-11-01T21:42:41.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:42:41.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:42:41.634Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T21:42:41.634Z] b4d181a07f80: Pulling fs layer [2021-11-01T21:42:41.634Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T21:42:41.634Z] ed53099fbce6: Pulling fs layer [2021-11-01T21:42:41.634Z] dc539afda2c1: Pulling fs layer [2021-11-01T21:42:41.634Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T21:42:41.634Z] 9065ff56babe: Pulling fs layer [2021-11-01T21:42:41.634Z] d287ab97295c: Pulling fs layer [2021-11-01T21:42:41.634Z] dc539afda2c1: Waiting [2021-11-01T21:42:41.634Z] d287ab97295c: Waiting [2021-11-01T21:42:41.634Z] 77bc0d833cb6: Waiting [2021-11-01T21:42:41.634Z] 9065ff56babe: Waiting [2021-11-01T21:42:41.634Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T21:42:41.634Z] a1111a8f2ec3: Download complete [2021-11-01T21:42:41.634Z] dc539afda2c1: Verifying Checksum [2021-11-01T21:42:41.634Z] dc539afda2c1: Download complete [2021-11-01T21:42:41.634Z] ed53099fbce6: Verifying Checksum [2021-11-01T21:42:41.634Z] ed53099fbce6: Download complete [2021-11-01T21:42:41.634Z] 77bc0d833cb6: Download complete [2021-11-01T21:42:41.634Z] 9065ff56babe: Verifying Checksum [2021-11-01T21:42:41.634Z] 9065ff56babe: Download complete [2021-11-01T21:42:41.894Z] b4d181a07f80: Verifying Checksum [2021-11-01T21:42:41.894Z] b4d181a07f80: Download complete [2021-11-01T21:42:42.472Z] d287ab97295c: Verifying Checksum [2021-11-01T21:42:42.472Z] d287ab97295c: Download complete [2021-11-01T21:42:43.414Z] b4d181a07f80: Pull complete [2021-11-01T21:42:43.414Z] a1111a8f2ec3: Pull complete [2021-11-01T21:42:44.007Z] ed53099fbce6: Pull complete [2021-11-01T21:42:44.007Z] dc539afda2c1: Pull complete [2021-11-01T21:42:44.267Z] 77bc0d833cb6: Pull complete [2021-11-01T21:42:44.267Z] 9065ff56babe: Pull complete [2021-11-01T21:42:49.608Z] d287ab97295c: Pull complete [2021-11-01T21:42:49.608Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T21:42:49.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:42:49.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T21:42:49.673Z] prd-centos7-docker-4c-2g-13765 does not seem to be running inside a container [2021-11-01T21:42:49.709Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-01T21:42:52.634Z] $ docker top 28bd17698b4747bd7bd0786f95bb2141a3c1db2b5bbdf6bc4134898078d29978 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:42:52.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-01T21:42:53.255Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-01T21:42:53.540Z] + ls /var/log/sa-host [2021-11-01T21:42:53.540Z] + sadf -c /var/log/sa-host/sa01 [2021-11-01T21:42:53.540Z] file_magic: OK [2021-11-01T21:42:53.541Z] HZ: Using current value: 100 [2021-11-01T21:42:53.541Z] file_header: OK [2021-11-01T21:42:53.541Z] 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-11-01T21:42:53.541Z] Statistics: [2021-11-01T21:42:53.541Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T21:42:53.541Z] File successfully converted to sysstat format version 12.0.3 [2021-11-01T21:42:53.541Z] + sadf -c /var/log/sa-host/sa30 [2021-11-01T21:42:53.541Z] file_magic: OK [2021-11-01T21:42:53.541Z] HZ: Using current value: 100 [2021-11-01T21:42:53.541Z] file_header: OK [2021-11-01T21:42:53.541Z] 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-11-01T21:42:53.541Z] Statistics: [2021-11-01T21:42:53.541Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T21:42:53.541Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:42:53.626Z] provisioning config files... [2021-11-01T21:42:53.635Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5296222785090190339tmp [Pipeline] { [Pipeline] echo [2021-11-01T21:42:53.649Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:53.937Z] ---> create-netrc.sh [Pipeline] } [2021-11-01T21:42:53.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:54.272Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-01T21:42:54.281Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:54.571Z] ---> sudo-logs.sh [2021-11-01T21:42:54.571Z] Archiving 'sudo' log.. [2021-11-01T21:42:54.571Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13765.novalocal: Name or service not known [2021-11-01T21:42:54.571Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13765.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-01T21:42:54.589Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:54.881Z] ---> job-cost.sh [2021-11-01T21:42:54.881Z] lf-activate-venv: SKIPPING [2021-11-01T21:42:54.881Z] DEBUG: total: 0.10999999940395355 [2021-11-01T21:42:54.881Z] INFO: Retrieving Stack Cost... [2021-11-01T21:42:55.141Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T21:42:55.712Z] INFO: Archiving Costs [Pipeline] echo [2021-11-01T21:42:55.722Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:42:56.007Z] ---> logs-deploy.sh [2021-11-01T21:42:56.007Z] lf-activate-venv: SKIPPING [2021-11-01T21:42:56.007Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/12 [2021-11-01T21:42:56.007Z] INFO: archiving workspace using pattern(s): [2021-11-01T21:42:56.578Z] Archives upload complete. [2021-11-01T21:42:56.837Z] INFO: archiving logs to Nexus