Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c89d6a6c91720700353e870f5243ca140b0cc6d 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-ssh10435360780461606878.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh12994755584498975541.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6783249592204751015.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh11824705964309245676.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9506933414022909523.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2675 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 4c89d6a6c91720700353e870f5243ca140b0cc6d (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 4c89d6a6c91720700353e870f5243ca140b0cc6d # timeout=10 Commit message: "Merge pull request #354 from weichou1229/upgrade-sdk" > git rev-list --no-walk 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-19T06:07:19.472Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-19T06:07:19.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-19T06:07:19.534Z] ========================================================= [2022-06-19T06:07:19.534Z] EdgeX Global Pipelines Version Info [2022-06-19T06:07:19.534Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:07:20.279Z] ------------------- [2022-06-19T06:07:20.279Z] stable info: [2022-06-19T06:07:20.279Z] ------------------- [2022-06-19T06:07:20.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-19T06:07:20.279Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-19T06:07:20.279Z] Message: update stable to v1.0.234 [2022-06-19T06:07:20.854Z] ------------------- [2022-06-19T06:07:20.854Z] experimental info: [2022-06-19T06:07:20.854Z] ------------------- [2022-06-19T06:07:20.854Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-19T06:07:20.854Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-19T06:07:20.854Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-19T06:07:21.147Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-06-19T06:07:21.157Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-06-19T06:07:21.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-19T06:07:21.175Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-19T06:07:21.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-19T06:07:21.197Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-19T06:07:21.207Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-19T06:07:21.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-19T06:07:21.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-19T06:07:21.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-19T06:07:21.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-19T06:07:21.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-06-19T06:07:21.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-19T06:07:21.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-19T06:07:21.286Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-19T06:07:21.294Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-19T06:07:21.301Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-19T06:07:21.309Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-19T06:07:21.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-19T06:07:21.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-19T06:07:21.332Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-19T06:07:21.341Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-19T06:07:21.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-19T06:07:21.363Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-19T06:07:21.373Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-19T06:07:21.390Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-19T06:07:21.401Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-19T06:07:21.410Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-19T06:07:21.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-19T06:07:21.430Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-19T06:07:21.438Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c89d6a6c91720700353e870f5243ca140b0cc6d [Pipeline] echo [2022-06-19T06:07:21.446Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c89d6a [Pipeline] echo [2022-06-19T06:07:21.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:07:21.494Z] provisioning config files... [2022-06-19T06:07:21.509Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8406328798983601333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:07:21.808Z] ---> docker-login.sh [2022-06-19T06:07:21.808Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:07:22.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:22.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:22.070Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:22.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:22.070Z] [2022-06-19T06:07:22.070Z] Login Succeeded [2022-06-19T06:07:22.070Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:07:22.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:22.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:22.331Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:22.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:22.331Z] [2022-06-19T06:07:22.331Z] Login Succeeded [2022-06-19T06:07:22.331Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:07:22.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:22.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:22.331Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:22.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:22.331Z] [2022-06-19T06:07:22.331Z] Login Succeeded [2022-06-19T06:07:22.331Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:07:22.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:22.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:22.593Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:22.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:22.593Z] [2022-06-19T06:07:22.593Z] Login Succeeded [2022-06-19T06:07:22.593Z] docker.io [2022-06-19T06:07:22.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:23.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:23.165Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:23.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:23.165Z] [2022-06-19T06:07:23.165Z] Login Succeeded [2022-06-19T06:07:23.165Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:07:23.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-19T06:07:23.544Z] + git rev-list -1 --merges 4c89d6a6c91720700353e870f5243ca140b0cc6d~1..4c89d6a6c91720700353e870f5243ca140b0cc6d [Pipeline] echo [2022-06-19T06:07:23.572Z] -----------> git rev-list -1 --merges 4c89d6a6c91720700353e870f5243ca140b0cc6d~1..4c89d6a6c91720700353e870f5243ca140b0cc6d 4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:07:23.572Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d [false] [Pipeline] sh [2022-06-19T06:07:23.865Z] + git log --format=format:%s -1 4c89d6a6c91720700353e870f5243ca140b0cc6d [Pipeline] echo [2022-06-19T06:07:23.885Z] ========================================================= [2022-06-19T06:07:23.885Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-19T06:07:23.885Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T06:07:24.222Z] + git log --format=format:%s -1 4c89d6a6c91720700353e870f5243ca140b0cc6d [Pipeline] echo [2022-06-19T06:07:24.234Z] [semverPrep] GIT_COMMIT: 4c89d6a6c91720700353e870f5243ca140b0cc6d, Commit Message: Merge pull request #354 from weichou1229/upgrade-sdk [Pipeline] echo [2022-06-19T06:07:24.244Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-19T06:07:24.622Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:07:24.623Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-19T06:07:24.623Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-19T06:07:24.623Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-19T06:07:24.623Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-19T06:07:24.623Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-19T06:07:24.623Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:07:25.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:07:25.048Z] [2022-06-19T06:07:25.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:07:25.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:07:25.356Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-19T06:07:25.356Z] 42c077c10790: Pulling fs layer [2022-06-19T06:07:25.356Z] f63e77b7563a: Pulling fs layer [2022-06-19T06:07:25.356Z] bd5fdadae976: Pulling fs layer [2022-06-19T06:07:25.356Z] 205491f53016: Pulling fs layer [2022-06-19T06:07:25.356Z] df18705c85c3: Pulling fs layer [2022-06-19T06:07:25.356Z] bdb3f477010e: Pulling fs layer [2022-06-19T06:07:25.356Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-19T06:07:25.356Z] 2c6e9b1d212d: Pulling fs layer [2022-06-19T06:07:25.356Z] bdb8f0575790: Pulling fs layer [2022-06-19T06:07:25.356Z] 386e3cb2ff24: Pulling fs layer [2022-06-19T06:07:25.356Z] 2343380bae48: Pulling fs layer [2022-06-19T06:07:25.356Z] df18705c85c3: Waiting [2022-06-19T06:07:25.356Z] bdb8f0575790: Waiting [2022-06-19T06:07:25.356Z] 2c6e9b1d212d: Waiting [2022-06-19T06:07:25.356Z] 2343380bae48: Waiting [2022-06-19T06:07:25.356Z] bdb3f477010e: Waiting [2022-06-19T06:07:25.356Z] c8a8fc8e1c8f: Waiting [2022-06-19T06:07:25.356Z] 386e3cb2ff24: Waiting [2022-06-19T06:07:25.356Z] 205491f53016: Waiting [2022-06-19T06:07:25.356Z] f63e77b7563a: Verifying Checksum [2022-06-19T06:07:25.356Z] f63e77b7563a: Download complete [2022-06-19T06:07:25.356Z] 205491f53016: Verifying Checksum [2022-06-19T06:07:25.356Z] 205491f53016: Download complete [2022-06-19T06:07:25.616Z] df18705c85c3: Verifying Checksum [2022-06-19T06:07:25.616Z] df18705c85c3: Download complete [2022-06-19T06:07:25.616Z] bd5fdadae976: Verifying Checksum [2022-06-19T06:07:25.616Z] bd5fdadae976: Download complete [2022-06-19T06:07:25.616Z] bdb3f477010e: Verifying Checksum [2022-06-19T06:07:25.616Z] bdb3f477010e: Download complete [2022-06-19T06:07:25.616Z] 2c6e9b1d212d: Verifying Checksum [2022-06-19T06:07:25.616Z] 2c6e9b1d212d: Download complete [2022-06-19T06:07:25.616Z] bdb8f0575790: Download complete [2022-06-19T06:07:25.616Z] 386e3cb2ff24: Verifying Checksum [2022-06-19T06:07:25.616Z] 386e3cb2ff24: Download complete [2022-06-19T06:07:25.616Z] 2343380bae48: Verifying Checksum [2022-06-19T06:07:25.616Z] 2343380bae48: Download complete [2022-06-19T06:07:25.616Z] 42c077c10790: Verifying Checksum [2022-06-19T06:07:25.616Z] 42c077c10790: Download complete [2022-06-19T06:07:25.876Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-19T06:07:25.876Z] c8a8fc8e1c8f: Download complete [2022-06-19T06:07:26.819Z] 42c077c10790: Pull complete [2022-06-19T06:07:26.819Z] f63e77b7563a: Pull complete [2022-06-19T06:07:27.390Z] bd5fdadae976: Pull complete [2022-06-19T06:07:27.390Z] 205491f53016: Pull complete [2022-06-19T06:07:27.650Z] df18705c85c3: Pull complete [2022-06-19T06:07:27.650Z] bdb3f477010e: Pull complete [2022-06-19T06:07:29.573Z] c8a8fc8e1c8f: Pull complete [2022-06-19T06:07:29.573Z] 2c6e9b1d212d: Pull complete [2022-06-19T06:07:29.834Z] bdb8f0575790: Pull complete [2022-06-19T06:07:29.834Z] 386e3cb2ff24: Pull complete [2022-06-19T06:07:30.096Z] 2343380bae48: Pull complete [2022-06-19T06:07:30.096Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-19T06:07:30.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:07:30.096Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:07:30.212Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:07:30.250Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-19T06:07:31.485Z] $ docker top e1418118c2603cc4b2af8ca8a7584cec7349341c525cb4ae72aae9311ea7264f -eo pid,comm [2022-06-19T06:07:31.555Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-19T06:07:31.555Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:07:31.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:07:31.592Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:07:31.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:07:31.744Z] $ docker exec e1418118c2603cc4b2af8ca8a7584cec7349341c525cb4ae72aae9311ea7264f ssh-agent [2022-06-19T06:07:31.897Z] SSH_AUTH_SOCK=/tmp/ssh-a4YTiWEfUWqF/agent.35 [2022-06-19T06:07:31.897Z] SSH_AGENT_PID=41 [2022-06-19T06:07:31.904Z] Running ssh-add (command line suppressed) [2022-06-19T06:07:32.020Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4460159404199889545.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4460159404199889545.key) [2022-06-19T06:07:32.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:07:32.331Z] + git tag --points-at HEAD [Pipeline] } [2022-06-19T06:07:32.349Z] $ docker exec --env ******** --env ******** e1418118c2603cc4b2af8ca8a7584cec7349341c525cb4ae72aae9311ea7264f ssh-agent -k [2022-06-19T06:07:32.471Z] unset SSH_AUTH_SOCK; [2022-06-19T06:07:32.472Z] unset SSH_AGENT_PID; [2022-06-19T06:07:32.472Z] echo Agent pid 41 killed; [2022-06-19T06:07:32.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-19T06:07:32.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:07:32.510Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:07:32.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:07:32.637Z] $ docker exec e1418118c2603cc4b2af8ca8a7584cec7349341c525cb4ae72aae9311ea7264f ssh-agent [2022-06-19T06:07:32.776Z] SSH_AUTH_SOCK=/tmp/ssh-Rpz2D2jb9wqz/agent.75 [2022-06-19T06:07:32.776Z] SSH_AGENT_PID=82 [2022-06-19T06:07:32.782Z] Running ssh-add (command line suppressed) [2022-06-19T06:07:32.899Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3248482100871559687.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3248482100871559687.key) [2022-06-19T06:07:32.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:07:33.215Z] + git semver init [2022-06-19T06:07:33.477Z] 2022-06-19 06:07:33,461 [run_init] DEBUG init version:0.0.0 force:False [2022-06-19T06:07:33.477Z] 2022-06-19 06:07:33,462 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-06-19T06:07:33.477Z] 2022-06-19 06:07:33,462 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-06-19T06:07:33.477Z] 2022-06-19 06:07:33,462 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-19T06:07:34.418Z] 2022-06-19 06:07:34,123 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-06-19T06:07:34.418Z] 2022-06-19 06:07:34,123 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-06-19T06:07:34.418Z] 2022-06-19 06:07:34,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:07:34.419Z] 2022-06-19 06:07:34,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:07:34.419Z] 2.2.1-dev.3 [Pipeline] } [2022-06-19T06:07:34.429Z] $ docker exec --env ******** --env ******** e1418118c2603cc4b2af8ca8a7584cec7349341c525cb4ae72aae9311ea7264f ssh-agent -k [2022-06-19T06:07:34.553Z] unset SSH_AUTH_SOCK; [2022-06-19T06:07:34.554Z] unset SSH_AGENT_PID; [2022-06-19T06:07:34.554Z] echo Agent pid 82 killed; [2022-06-19T06:07:34.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:07:34.886Z] + git semver [Pipeline] } [2022-06-19T06:07:35.161Z] $ docker stop --time=1 e1418118c2603cc4b2af8ca8a7584cec7349341c525cb4ae72aae9311ea7264f [2022-06-19T06:07:36.482Z] $ docker rm -f e1418118c2603cc4b2af8ca8a7584cec7349341c525cb4ae72aae9311ea7264f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:07:36.833Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-19T06:07:37.098Z] Stashed 1 file(s) [Pipeline] echo [2022-06-19T06:07:37.101Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.3 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:07:37.258Z] provisioning config files... [2022-06-19T06:07:37.270Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7846126183025789408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:07:37.572Z] ---> docker-login.sh [2022-06-19T06:07:37.572Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:07:37.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:37.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:37.572Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:37.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:37.572Z] [2022-06-19T06:07:37.572Z] Login Succeeded [2022-06-19T06:07:37.572Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:07:37.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:37.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:37.832Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:37.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:37.832Z] [2022-06-19T06:07:37.832Z] Login Succeeded [2022-06-19T06:07:37.832Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:07:37.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:37.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:37.832Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:37.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:37.832Z] [2022-06-19T06:07:37.832Z] Login Succeeded [2022-06-19T06:07:37.832Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:07:38.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:38.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:38.093Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:38.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:38.093Z] [2022-06-19T06:07:38.093Z] Login Succeeded [2022-06-19T06:07:38.093Z] docker.io [2022-06-19T06:07:38.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:07:38.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:07:38.353Z] Configure a credential helper to remove this warning. See [2022-06-19T06:07:38.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:07:38.353Z] [2022-06-19T06:07:38.353Z] Login Succeeded [2022-06-19T06:07:38.353Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:07:38.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-19T06:07:38.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:07:38.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:07:38.514Z] ========================================================= [2022-06-19T06:07:38.514Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-19T06:07:38.514Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:07:38.834Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-19T06:07:38.834Z] Sending build context to Docker daemon 6.021MB [2022-06-19T06:07:38.834Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:07:38.834Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-19T06:07:38.834Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-19T06:07:38.834Z] 59bf1c3509f3: Pulling fs layer [2022-06-19T06:07:38.834Z] 666ba61612fd: Pulling fs layer [2022-06-19T06:07:38.834Z] 8ed8ca486205: Pulling fs layer [2022-06-19T06:07:38.834Z] cc1cd167ecdc: Pulling fs layer [2022-06-19T06:07:38.834Z] c516ae0d96e1: Pulling fs layer [2022-06-19T06:07:38.834Z] 684cea983483: Pulling fs layer [2022-06-19T06:07:38.834Z] dd3240ac7de5: Pulling fs layer [2022-06-19T06:07:38.834Z] b1e948a4e11c: Pulling fs layer [2022-06-19T06:07:38.834Z] a8fd76ee1af6: Pulling fs layer [2022-06-19T06:07:38.834Z] 646ad004c059: Pulling fs layer [2022-06-19T06:07:38.834Z] cc1cd167ecdc: Waiting [2022-06-19T06:07:38.834Z] c516ae0d96e1: Waiting [2022-06-19T06:07:38.834Z] 684cea983483: Waiting [2022-06-19T06:07:38.834Z] b1e948a4e11c: Waiting [2022-06-19T06:07:38.834Z] dd3240ac7de5: Waiting [2022-06-19T06:07:38.834Z] a8fd76ee1af6: Waiting [2022-06-19T06:07:38.834Z] 646ad004c059: Waiting [2022-06-19T06:07:38.834Z] 8ed8ca486205: Verifying Checksum [2022-06-19T06:07:38.834Z] 8ed8ca486205: Download complete [2022-06-19T06:07:38.834Z] 666ba61612fd: Verifying Checksum [2022-06-19T06:07:38.834Z] c516ae0d96e1: Verifying Checksum [2022-06-19T06:07:38.834Z] c516ae0d96e1: Download complete [2022-06-19T06:07:38.834Z] 684cea983483: Verifying Checksum [2022-06-19T06:07:38.834Z] 684cea983483: Download complete [2022-06-19T06:07:38.834Z] dd3240ac7de5: Download complete [2022-06-19T06:07:39.098Z] 59bf1c3509f3: Verifying Checksum [2022-06-19T06:07:39.098Z] 59bf1c3509f3: Download complete [2022-06-19T06:07:39.098Z] b1e948a4e11c: Verifying Checksum [2022-06-19T06:07:39.098Z] b1e948a4e11c: Download complete [2022-06-19T06:07:39.098Z] 59bf1c3509f3: Pull complete [2022-06-19T06:07:39.367Z] 666ba61612fd: Pull complete [2022-06-19T06:07:39.367Z] 8ed8ca486205: Pull complete [2022-06-19T06:07:39.630Z] cc1cd167ecdc: Download complete [2022-06-19T06:07:39.630Z] 646ad004c059: Verifying Checksum [2022-06-19T06:07:39.630Z] 646ad004c059: Download complete [2022-06-19T06:07:39.891Z] a8fd76ee1af6: Verifying Checksum [2022-06-19T06:07:39.891Z] a8fd76ee1af6: Download complete [2022-06-19T06:07:44.084Z] cc1cd167ecdc: Pull complete [2022-06-19T06:07:44.084Z] c516ae0d96e1: Pull complete [2022-06-19T06:07:44.084Z] 684cea983483: Pull complete [2022-06-19T06:07:44.084Z] dd3240ac7de5: Pull complete [2022-06-19T06:07:44.084Z] b1e948a4e11c: Pull complete [2022-06-19T06:07:45.989Z] a8fd76ee1af6: Pull complete [2022-06-19T06:07:46.557Z] 646ad004c059: Pull complete [2022-06-19T06:07:46.557Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-19T06:07:46.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-19T06:07:46.557Z] ---> 8f69c11f6b0c [2022-06-19T06:07:46.557Z] Step 3/10 : ARG MAKE='make build' [2022-06-19T06:07:47.938Z] ---> Running in 406fccb910b5 [2022-06-19T06:07:47.938Z] Removing intermediate container 406fccb910b5 [2022-06-19T06:07:47.938Z] ---> 5145d2d9980e [2022-06-19T06:07:47.938Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:07:47.938Z] ---> Running in 0502a97592fa [2022-06-19T06:07:48.507Z] Removing intermediate container 0502a97592fa [2022-06-19T06:07:48.507Z] ---> a8b65416039b [2022-06-19T06:07:48.507Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-19T06:07:48.767Z] ---> Running in f17950ea7956 [2022-06-19T06:07:49.028Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:07:49.969Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:07:50.230Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-19T06:07:50.230Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-19T06:07:50.230Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-19T06:07:50.489Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-19T06:07:50.489Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-19T06:07:50.749Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-19T06:07:50.749Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-19T06:07:50.749Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-19T06:07:51.010Z] Executing busybox-1.34.1-r3.trigger [2022-06-19T06:07:51.010Z] OK: 226 MiB in 60 packages [2022-06-19T06:07:51.272Z] Removing intermediate container f17950ea7956 [2022-06-19T06:07:51.272Z] ---> 076901eedd6d [2022-06-19T06:07:51.272Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-19T06:07:51.272Z] ---> Running in bb8b122a3661 [2022-06-19T06:07:51.272Z] Removing intermediate container bb8b122a3661 [2022-06-19T06:07:51.272Z] ---> a0c9cd7fa530 [2022-06-19T06:07:51.272Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-19T06:07:51.533Z] ---> 96f1007370ef [2022-06-19T06:07:51.533Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:07:51.533Z] ---> Running in 9edca923e728 [2022-06-19T06:07:52.219Z] Still waiting to schedule task [2022-06-19T06:07:52.219Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-19T06:08:09.656Z] Removing intermediate container 9edca923e728 [2022-06-19T06:08:09.656Z] ---> 33e25cc73390 [2022-06-19T06:08:09.656Z] Step 9/10 : COPY . . [2022-06-19T06:08:09.656Z] ---> 4c6b3da2f9eb [2022-06-19T06:08:09.656Z] Step 10/10 : RUN ${MAKE} [2022-06-19T06:08:09.656Z] ---> Running in eaecc9c17931 [2022-06-19T06:08:09.916Z] noop [2022-06-19T06:08:10.176Z] Removing intermediate container eaecc9c17931 [2022-06-19T06:08:10.176Z] ---> 45a97fa6fbad [2022-06-19T06:08:10.176Z] Successfully built 45a97fa6fbad [2022-06-19T06:08:10.176Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:08:10.500Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-19T06:08:10.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:08:10.582Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:08:10.626Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-06-19T06:08:11.004Z] $ docker top fc98450d7f5ae1cec19b1ca2f4aad83d74be1d19620ede764ee15181bb6cb97f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T06:08:11.436Z] + go version [2022-06-19T06:08:11.436Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-19T06:08:11.459Z] $ docker stop --time=1 fc98450d7f5ae1cec19b1ca2f4aad83d74be1d19620ede764ee15181bb6cb97f [2022-06-19T06:08:12.770Z] $ docker rm -f fc98450d7f5ae1cec19b1ca2f4aad83d74be1d19620ede764ee15181bb6cb97f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:08:13.186Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-19T06:08:13.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:08:13.266Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:08:13.319Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-06-19T06:08:13.701Z] $ docker top f79308d4669f63a72b64d9c98ebac112162bd248b09f4462112490785f67fa92 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-19T06:08:14.057Z] + make test [2022-06-19T06:08:14.057Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-19T06:08:14.318Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-19T06:08:24.310Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-19T06:08:24.310Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements [2022-06-19T06:08:29.586Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-19T06:08:33.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-19T06:08:33.785Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-19T06:08:33.785Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-19T06:08:33.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-19T06:08:33.822Z] $ docker stop --time=1 f79308d4669f63a72b64d9c98ebac112162bd248b09f4462112490785f67fa92 [2022-06-19T06:08:35.495Z] $ docker rm -f f79308d4669f63a72b64d9c98ebac112162bd248b09f4462112490785f67fa92 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:08:35.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-19T06:08:35.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-19T06:08:36.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-19T06:08:36.769Z] + ls -al . [2022-06-19T06:08:36.769Z] total 184 [2022-06-19T06:08:36.769Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 06:08 . [2022-06-19T06:08:36.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:07 .. [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 06:07 .dockerignore [2022-06-19T06:08:36.769Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:07 .git [2022-06-19T06:08:36.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:07 .github [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 19 06:07 .gitignore [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:07 .golangci.yml [2022-06-19T06:08:36.769Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:07 .semver [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 19 06:07 Attribution.txt [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 19 06:07 CHANGELOG.md [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 19 06:07 Dockerfile [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:07 GOVERNANCE.md [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 19 06:07 Jenkinsfile [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:07 LICENSE [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 19 06:07 Makefile [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 19 06:07 OWNERS.md [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 19 06:07 README.md [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:07 VERSION [2022-06-19T06:08:36.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:07 bin [2022-06-19T06:08:36.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:07 cmd [2022-06-19T06:08:36.769Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 19 06:08 coverage.out [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 3403 Jun 19 06:07 go.mod [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 36017 Jun 19 06:07 go.sum [2022-06-19T06:08:36.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:07 internal [2022-06-19T06:08:36.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:07 simulator [2022-06-19T06:08:36.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:07 snap [2022-06-19T06:08:36.769Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 19 06:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:08:37.083Z] + 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=4c89d6a6c91720700353e870f5243ca140b0cc6d --label arch=amd64 --label version=2.2.1-dev.3 . [2022-06-19T06:08:37.083Z] Sending build context to Docker daemon 6.046MB [2022-06-19T06:08:37.084Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:08:37.084Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-19T06:08:37.084Z] ---> 45a97fa6fbad [2022-06-19T06:08:37.084Z] Step 3/23 : ARG MAKE='make build' [2022-06-19T06:08:37.345Z] ---> Running in 17f79daf0764 [2022-06-19T06:08:37.345Z] Removing intermediate container 17f79daf0764 [2022-06-19T06:08:37.345Z] ---> 5d811d0e2330 [2022-06-19T06:08:37.345Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:08:37.345Z] ---> Running in 89279dabba7a [2022-06-19T06:08:37.919Z] Removing intermediate container 89279dabba7a [2022-06-19T06:08:37.919Z] ---> b8f08b6f2e0a [2022-06-19T06:08:37.919Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-19T06:08:37.919Z] ---> Running in aa9009d2bfb0 [2022-06-19T06:08:38.180Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:08:39.127Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:08:39.387Z] OK: 226 MiB in 60 packages [2022-06-19T06:08:39.650Z] Removing intermediate container aa9009d2bfb0 [2022-06-19T06:08:39.650Z] ---> 3c5197a75922 [2022-06-19T06:08:39.650Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-19T06:08:39.650Z] ---> Running in 5a8ca4314359 [2022-06-19T06:08:39.650Z] Removing intermediate container 5a8ca4314359 [2022-06-19T06:08:39.650Z] ---> 264d14fa6c13 [2022-06-19T06:08:39.650Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-19T06:08:39.911Z] ---> a7adaf5a17ee [2022-06-19T06:08:39.911Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:08:39.911Z] ---> Running in a4e1e19405cc [2022-06-19T06:08:40.483Z] Removing intermediate container a4e1e19405cc [2022-06-19T06:08:40.483Z] ---> c9d5355da95c [2022-06-19T06:08:40.483Z] Step 9/23 : COPY . . [2022-06-19T06:08:40.743Z] ---> 43bd4dc3d311 [2022-06-19T06:08:40.743Z] Step 10/23 : RUN ${MAKE} [2022-06-19T06:08:40.743Z] ---> Running in 2586a34c1a78 [2022-06-19T06:08:41.314Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-06-19T06:08:59.416Z] Removing intermediate container 2586a34c1a78 [2022-06-19T06:08:59.416Z] ---> 8bcd99513d94 [2022-06-19T06:08:59.416Z] Step 11/23 : FROM alpine:3.14 [2022-06-19T06:08:59.991Z] 3.14: Pulling from library/alpine [2022-06-19T06:08:59.991Z] 8663204ce13b: Pulling fs layer [2022-06-19T06:09:00.249Z] 8663204ce13b: Verifying Checksum [2022-06-19T06:09:00.249Z] 8663204ce13b: Download complete [2022-06-19T06:09:00.249Z] 8663204ce13b: Pull complete [2022-06-19T06:09:00.249Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-19T06:09:00.249Z] Status: Downloaded newer image for alpine:3.14 [2022-06-19T06:09:00.249Z] ---> e04c818066af [2022-06-19T06:09:00.249Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-19T06:09:00.249Z] ---> Running in 1e22f1600595 [2022-06-19T06:09:00.508Z] Removing intermediate container 1e22f1600595 [2022-06-19T06:09:00.508Z] ---> 4e7519d7bac3 [2022-06-19T06:09:00.508Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:09:00.508Z] ---> Running in 76db4d880817 [2022-06-19T06:09:01.075Z] Removing intermediate container 76db4d880817 [2022-06-19T06:09:01.075Z] ---> c515c47ca2e7 [2022-06-19T06:09:01.075Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-19T06:09:01.075Z] ---> Running in 784f9426525c [2022-06-19T06:09:01.336Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:09:02.277Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:09:02.277Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-19T06:09:02.537Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-19T06:09:02.537Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-19T06:09:02.537Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-19T06:09:02.798Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-19T06:09:02.798Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-19T06:09:02.798Z] Executing busybox-1.33.1-r7.trigger [2022-06-19T06:09:02.798Z] OK: 8 MiB in 20 packages [2022-06-19T06:09:03.368Z] Removing intermediate container 784f9426525c [2022-06-19T06:09:03.368Z] ---> 10a7cf07e4fd [2022-06-19T06:09:03.368Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-19T06:09:03.939Z] ---> 0f2adb692d81 [2022-06-19T06:09:03.939Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-19T06:09:03.939Z] ---> 5dbe9f656650 [2022-06-19T06:09:03.939Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-19T06:09:04.199Z] ---> 0f3e337c8e8d [2022-06-19T06:09:04.199Z] Step 18/23 : EXPOSE 59901 [2022-06-19T06:09:04.199Z] ---> Running in b9c3f3046d14 [2022-06-19T06:09:04.199Z] Removing intermediate container b9c3f3046d14 [2022-06-19T06:09:04.199Z] ---> b96348c083eb [2022-06-19T06:09:04.199Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-19T06:09:04.199Z] ---> Running in f9ef0dfef6e8 [2022-06-19T06:09:04.199Z] Removing intermediate container f9ef0dfef6e8 [2022-06-19T06:09:04.199Z] ---> 4917d4518d2c [2022-06-19T06:09:04.199Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-19T06:09:04.459Z] ---> Running in bcca4ec891d7 [2022-06-19T06:09:04.459Z] Removing intermediate container bcca4ec891d7 [2022-06-19T06:09:04.459Z] ---> 621d41cba92e [2022-06-19T06:09:04.459Z] Step 21/23 : LABEL arch=amd64 [2022-06-19T06:09:04.459Z] ---> Running in 55859aa36040 [2022-06-19T06:09:04.459Z] Removing intermediate container 55859aa36040 [2022-06-19T06:09:04.459Z] ---> d8c5bb8780bf [2022-06-19T06:09:04.459Z] Step 22/23 : LABEL git_sha=4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:09:04.719Z] ---> Running in 4a2507581759 [2022-06-19T06:09:04.719Z] Removing intermediate container 4a2507581759 [2022-06-19T06:09:04.719Z] ---> 5b6c1d0cbf3d [2022-06-19T06:09:04.719Z] Step 23/23 : LABEL version=2.2.1-dev.3 [2022-06-19T06:09:04.719Z] ---> Running in e5ba37a470a7 [2022-06-19T06:09:04.719Z] Removing intermediate container e5ba37a470a7 [2022-06-19T06:09:04.719Z] ---> c5233b11020a [2022-06-19T06:09:04.719Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-19T06:09:04.719Z] Successfully built c5233b11020a [2022-06-19T06:09:04.719Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:09:04.838Z] provisioning config files... [2022-06-19T06:09:04.850Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7918809647225994227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:09:05.147Z] ---> docker-login.sh [2022-06-19T06:09:05.147Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:09:05.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:05.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:05.147Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:05.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:05.147Z] [2022-06-19T06:09:05.147Z] Login Succeeded [2022-06-19T06:09:05.147Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:09:05.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:05.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:05.412Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:05.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:05.412Z] [2022-06-19T06:09:05.412Z] Login Succeeded [2022-06-19T06:09:05.412Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:09:05.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:05.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:05.412Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:05.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:05.412Z] [2022-06-19T06:09:05.412Z] Login Succeeded [2022-06-19T06:09:05.412Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:09:05.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:05.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:05.672Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:05.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:05.672Z] [2022-06-19T06:09:05.672Z] Login Succeeded [2022-06-19T06:09:05.672Z] docker.io [2022-06-19T06:09:05.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:09:05.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:09:05.932Z] Configure a credential helper to remove this warning. See [2022-06-19T06:09:05.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:09:05.932Z] [2022-06-19T06:09:05.932Z] Login Succeeded [2022-06-19T06:09:05.932Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:09:05.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:09:05.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:09:05.992Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-06-19T06:09:05.992Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:09:05.992Z] latest [2022-06-19T06:09:05.992Z] 2.2.1-dev.3 [2022-06-19T06:09:05.992Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3 [2022-06-19T06:09:05.992Z] main [2022-06-19T06:09:05.992Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:06.314Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4c89d6a6c91720700353e870f5243ca140b0cc6d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:06.624Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:09:06.624Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-19T06:09:06.624Z] 19ca4f87cc88: Preparing [2022-06-19T06:09:06.624Z] 27621c8dfafa: Preparing [2022-06-19T06:09:06.624Z] 688e5d10e633: Preparing [2022-06-19T06:09:06.624Z] b52e805b1009: Preparing [2022-06-19T06:09:06.624Z] 1e8e17f99768: Preparing [2022-06-19T06:09:06.624Z] b541d28bf3b4: Preparing [2022-06-19T06:09:06.624Z] b541d28bf3b4: Waiting [2022-06-19T06:09:06.624Z] 19ca4f87cc88: Pushed [2022-06-19T06:09:06.624Z] 1e8e17f99768: Pushed [2022-06-19T06:09:06.624Z] 27621c8dfafa: Pushed [2022-06-19T06:09:06.624Z] b541d28bf3b4: Layer already exists [2022-06-19T06:09:06.882Z] b52e805b1009: Pushed [2022-06-19T06:09:09.418Z] 688e5d10e633: Pushed [2022-06-19T06:09:09.418Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d: digest: sha256:98f215904abdacc2f178b99f1b115b6d9c593327af025acebfd19d4c429b6377 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:09.732Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:10.043Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-06-19T06:09:10.043Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-19T06:09:10.043Z] 19ca4f87cc88: Preparing [2022-06-19T06:09:10.043Z] 27621c8dfafa: Preparing [2022-06-19T06:09:10.043Z] 688e5d10e633: Preparing [2022-06-19T06:09:10.043Z] b52e805b1009: Preparing [2022-06-19T06:09:10.043Z] 1e8e17f99768: Preparing [2022-06-19T06:09:10.043Z] b541d28bf3b4: Preparing [2022-06-19T06:09:10.043Z] b541d28bf3b4: Waiting [2022-06-19T06:09:10.043Z] 27621c8dfafa: Layer already exists [2022-06-19T06:09:10.043Z] 1e8e17f99768: Layer already exists [2022-06-19T06:09:10.043Z] 688e5d10e633: Layer already exists [2022-06-19T06:09:10.043Z] b52e805b1009: Layer already exists [2022-06-19T06:09:10.043Z] 19ca4f87cc88: Layer already exists [2022-06-19T06:09:10.043Z] b541d28bf3b4: Layer already exists [2022-06-19T06:09:10.043Z] latest: digest: sha256:98f215904abdacc2f178b99f1b115b6d9c593327af025acebfd19d4c429b6377 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:10.356Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:10.675Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.3 [2022-06-19T06:09:10.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-19T06:09:10.675Z] 19ca4f87cc88: Preparing [2022-06-19T06:09:10.675Z] 27621c8dfafa: Preparing [2022-06-19T06:09:10.675Z] 688e5d10e633: Preparing [2022-06-19T06:09:10.675Z] b52e805b1009: Preparing [2022-06-19T06:09:10.675Z] 1e8e17f99768: Preparing [2022-06-19T06:09:10.675Z] b541d28bf3b4: Preparing [2022-06-19T06:09:10.675Z] b541d28bf3b4: Waiting [2022-06-19T06:09:10.675Z] 19ca4f87cc88: Layer already exists [2022-06-19T06:09:10.675Z] 1e8e17f99768: Layer already exists [2022-06-19T06:09:10.675Z] 688e5d10e633: Layer already exists [2022-06-19T06:09:10.675Z] b52e805b1009: Layer already exists [2022-06-19T06:09:10.675Z] 27621c8dfafa: Layer already exists [2022-06-19T06:09:10.675Z] b541d28bf3b4: Layer already exists [2022-06-19T06:09:10.675Z] 2.2.1-dev.3: digest: sha256:98f215904abdacc2f178b99f1b115b6d9c593327af025acebfd19d4c429b6377 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:10.990Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:11.310Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3 [2022-06-19T06:09:11.310Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-19T06:09:11.310Z] 19ca4f87cc88: Preparing [2022-06-19T06:09:11.310Z] 27621c8dfafa: Preparing [2022-06-19T06:09:11.310Z] 688e5d10e633: Preparing [2022-06-19T06:09:11.310Z] b52e805b1009: Preparing [2022-06-19T06:09:11.310Z] 1e8e17f99768: Preparing [2022-06-19T06:09:11.310Z] b541d28bf3b4: Preparing [2022-06-19T06:09:11.310Z] b541d28bf3b4: Waiting [2022-06-19T06:09:11.310Z] 688e5d10e633: Layer already exists [2022-06-19T06:09:11.310Z] 27621c8dfafa: Layer already exists [2022-06-19T06:09:11.310Z] 1e8e17f99768: Layer already exists [2022-06-19T06:09:11.310Z] b52e805b1009: Layer already exists [2022-06-19T06:09:11.310Z] 19ca4f87cc88: Layer already exists [2022-06-19T06:09:11.310Z] b541d28bf3b4: Layer already exists [2022-06-19T06:09:11.310Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3: digest: sha256:98f215904abdacc2f178b99f1b115b6d9c593327af025acebfd19d4c429b6377 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:11.626Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:11.979Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-06-19T06:09:11.979Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-19T06:09:11.979Z] 19ca4f87cc88: Preparing [2022-06-19T06:09:11.979Z] 27621c8dfafa: Preparing [2022-06-19T06:09:11.979Z] 688e5d10e633: Preparing [2022-06-19T06:09:11.979Z] b52e805b1009: Preparing [2022-06-19T06:09:11.979Z] 1e8e17f99768: Preparing [2022-06-19T06:09:11.979Z] b541d28bf3b4: Preparing [2022-06-19T06:09:11.979Z] b541d28bf3b4: Waiting [2022-06-19T06:09:11.979Z] 27621c8dfafa: Layer already exists [2022-06-19T06:09:11.979Z] 688e5d10e633: Layer already exists [2022-06-19T06:09:11.979Z] b52e805b1009: Layer already exists [2022-06-19T06:09:11.979Z] 19ca4f87cc88: Layer already exists [2022-06-19T06:09:11.979Z] 1e8e17f99768: Layer already exists [2022-06-19T06:09:11.979Z] b541d28bf3b4: Layer already exists [2022-06-19T06:09:11.979Z] main: digest: sha256:98f215904abdacc2f178b99f1b115b6d9c593327af025acebfd19d4c429b6377 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:09:12.038Z] ===================================================== [Pipeline] echo [2022-06-19T06:09:12.046Z] taggedImages: [2022-06-19T06:09:12.046Z] - nexus3.edgexfoundry.org:10004/device-modbus:4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:09:12.046Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-06-19T06:09:12.046Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.3 [2022-06-19T06:09:12.046Z] - nexus3.edgexfoundry.org:10004/device-modbus:4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3 [2022-06-19T06:09:12.046Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:12.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:09:12.447Z] [2022-06-19T06:09:12.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:09:12.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:09:12.744Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-19T06:09:12.744Z] 5eb5b503b376: Pulling fs layer [2022-06-19T06:09:12.744Z] 5c69ac0246d0: Pulling fs layer [2022-06-19T06:09:12.744Z] ec43610c2a17: Pulling fs layer [2022-06-19T06:09:12.744Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-19T06:09:12.744Z] 33b1e0a273af: Pulling fs layer [2022-06-19T06:09:12.744Z] 5d3b04190fa2: Pulling fs layer [2022-06-19T06:09:12.744Z] 2f39f015ded8: Pulling fs layer [2022-06-19T06:09:12.744Z] 3a2ae6a8a46f: Waiting [2022-06-19T06:09:12.744Z] 5d3b04190fa2: Waiting [2022-06-19T06:09:12.744Z] 2f39f015ded8: Waiting [2022-06-19T06:09:12.744Z] 33b1e0a273af: Waiting [2022-06-19T06:09:12.744Z] 5c69ac0246d0: Verifying Checksum [2022-06-19T06:09:12.744Z] 5c69ac0246d0: Download complete [2022-06-19T06:09:12.744Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-19T06:09:12.744Z] 3a2ae6a8a46f: Download complete [2022-06-19T06:09:12.744Z] 33b1e0a273af: Verifying Checksum [2022-06-19T06:09:12.744Z] 33b1e0a273af: Download complete [2022-06-19T06:09:12.744Z] ec43610c2a17: Verifying Checksum [2022-06-19T06:09:12.744Z] ec43610c2a17: Download complete [2022-06-19T06:09:12.744Z] 5d3b04190fa2: Verifying Checksum [2022-06-19T06:09:12.744Z] 5d3b04190fa2: Download complete [2022-06-19T06:09:13.069Z] 5eb5b503b376: Verifying Checksum [2022-06-19T06:09:13.069Z] 5eb5b503b376: Download complete [2022-06-19T06:09:13.636Z] 2f39f015ded8: Download complete [2022-06-19T06:09:14.205Z] 5eb5b503b376: Pull complete [2022-06-19T06:09:14.205Z] 5c69ac0246d0: Pull complete [2022-06-19T06:09:14.772Z] ec43610c2a17: Pull complete [2022-06-19T06:09:14.772Z] 3a2ae6a8a46f: Pull complete [2022-06-19T06:09:15.031Z] 33b1e0a273af: Pull complete [2022-06-19T06:09:15.031Z] 5d3b04190fa2: Pull complete [2022-06-19T06:09:19.222Z] 2f39f015ded8: Pull complete [2022-06-19T06:09:19.222Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-19T06:09:19.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:09:19.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:09:19.313Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:09:19.355Z] $ 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/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-lftools-log-publisher:latest cat [2022-06-19T06:09:20.757Z] $ docker top 8072a15896587bd60b78491601b486c00418e7cd5ffb61f36f34fd32e0b13851 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:09:21.152Z] ---> job-cost.sh [2022-06-19T06:09:21.152Z] lf-activate-venv: SKIPPING [2022-06-19T06:09:21.152Z] INFO: No Stack... [2022-06-19T06:09:21.413Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-19T06:09:21.983Z] INFO: Archiving Costs [Pipeline] sh [2022-06-19T06:09:22.272Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-06-19T06:09:22.272Z] + cut -d, -f6 [Pipeline] lock [2022-06-19T06:09:22.287Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-42-stack-cost] [2022-06-19T06:09:22.293Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-42-stack-cost] did not exist. Created. [2022-06-19T06:09:22.293Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-19T06:09:22.602Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-19T06:09:22.629Z] Stashed 1 file(s) [Pipeline] } [2022-06-19T06:09:22.637Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-19T06:09:22.662Z] $ docker stop --time=1 8072a15896587bd60b78491601b486c00418e7cd5ffb61f36f34fd32e0b13851 [2022-06-19T06:09:23.841Z] $ docker rm -f 8072a15896587bd60b78491601b486c00418e7cd5ffb61f36f34fd32e0b13851 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-19T06:09:29.698Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2676 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-06-19T06:09:29.711Z] Running in /w/workspace/device-modbus-go/42 [Pipeline] { [Pipeline] checkout [2022-06-19T06:09:29.738Z] Selected Git installation does not exist. Using Default [2022-06-19T06:09:29.738Z] The recommended git tool is: NONE [2022-06-19T06:09:35.405Z] using credential edgex-jenkins-ssh [2022-06-19T06:09:35.438Z] Cloning the remote Git repository [2022-06-19T06:09:35.557Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-06-19T06:09:35.659Z] > git init /w/workspace/device-modbus-go/42 # timeout=10 [2022-06-19T06:09:35.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-19T06:09:35.810Z] > git --version # timeout=10 [2022-06-19T06:09:35.831Z] > git --version # 'git version 2.25.1' [2022-06-19T06:09:35.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-19T06:09:35.902Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-19T06:09:36.867Z] Avoid second fetch [2022-06-19T06:09:36.867Z] Checking out Revision 4c89d6a6c91720700353e870f5243ca140b0cc6d (main) [2022-06-19T06:09:36.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-19T06:09:36.850Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-19T06:09:36.891Z] > git config core.sparsecheckout # timeout=10 [2022-06-19T06:09:36.907Z] > git checkout -f 4c89d6a6c91720700353e870f5243ca140b0cc6d # timeout=10 [2022-06-19T06:09:41.057Z] Commit message: "Merge pull request #354 from weichou1229/upgrade-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T06:09:41.869Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-19T06:09:41.869Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-19T06:09:41.869Z] Dload Upload Total Spent Left Speed [2022-06-19T06:09:41.869Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 65876 0 --:--:-- --:--:-- --:--:-- 65876 [Pipeline] sh [2022-06-19T06:09:42.590Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-19T06:09:42.932Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-06-19T06:09:42.932Z] sudo tee /etc/docker/daemon.new [2022-06-19T06:09:42.932Z] { [2022-06-19T06:09:42.932Z] "registry-mirrors": [ [2022-06-19T06:09:42.932Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-19T06:09:42.932Z] ], [2022-06-19T06:09:42.932Z] "bip": "10.250.0.254/24", [2022-06-19T06:09:42.932Z] "hosts": [ [2022-06-19T06:09:42.932Z] "tcp://0.0.0.0:5555", [2022-06-19T06:09:42.932Z] "unix:///var/run/docker.sock" [2022-06-19T06:09:42.932Z] ], [2022-06-19T06:09:42.932Z] "mtu": 1458, [2022-06-19T06:09:42.932Z] "selinux-enabled": true, [2022-06-19T06:09:42.932Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-19T06:09:42.932Z] } [Pipeline] sh [2022-06-19T06:09:43.272Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-19T06:09:43.611Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:10:01.951Z] provisioning config files... [2022-06-19T06:10:01.972Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/42@tmp/config3127848909576274671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:10:02.325Z] ---> docker-login.sh [2022-06-19T06:10:02.325Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:10:02.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:03.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:03.209Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:03.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:03.209Z] [2022-06-19T06:10:03.209Z] Login Succeeded [2022-06-19T06:10:03.209Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:10:03.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:03.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:03.485Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:03.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:03.485Z] [2022-06-19T06:10:03.485Z] Login Succeeded [2022-06-19T06:10:03.485Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:10:04.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:04.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:04.096Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:04.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:04.096Z] [2022-06-19T06:10:04.096Z] Login Succeeded [2022-06-19T06:10:04.096Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:10:04.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:04.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:04.648Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:04.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:04.648Z] [2022-06-19T06:10:04.648Z] Login Succeeded [2022-06-19T06:10:04.648Z] docker.io [2022-06-19T06:10:04.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:10:05.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:10:05.192Z] Configure a credential helper to remove this warning. See [2022-06-19T06:10:05.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:10:05.192Z] [2022-06-19T06:10:05.192Z] Login Succeeded [2022-06-19T06:10:05.192Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:10:05.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-19T06:10:05.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:10:05.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:10:05.732Z] ========================================================= [2022-06-19T06:10:05.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-19T06:10:05.732Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:10:06.153Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-19T06:10:06.430Z] Sending build context to Docker daemon 3.124MB [2022-06-19T06:10:06.430Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:10:06.430Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-19T06:10:06.704Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-19T06:10:06.704Z] 9b3977197b4f: Pulling fs layer [2022-06-19T06:10:06.704Z] 1a89e8eeedd5: Pulling fs layer [2022-06-19T06:10:06.704Z] 94645a83ff95: Pulling fs layer [2022-06-19T06:10:06.704Z] e6fb740bc735: Pulling fs layer [2022-06-19T06:10:06.704Z] 3a77bd46dcc9: Pulling fs layer [2022-06-19T06:10:06.704Z] 355e64cbe906: Pulling fs layer [2022-06-19T06:10:06.704Z] 63ab81a10011: Pulling fs layer [2022-06-19T06:10:06.704Z] 555d1d1c4555: Pulling fs layer [2022-06-19T06:10:06.704Z] 7d9057610161: Pulling fs layer [2022-06-19T06:10:06.704Z] e6fb740bc735: Waiting [2022-06-19T06:10:06.704Z] 3a77bd46dcc9: Waiting [2022-06-19T06:10:06.704Z] 555d1d1c4555: Waiting [2022-06-19T06:10:06.704Z] 7d9057610161: Waiting [2022-06-19T06:10:06.704Z] 355e64cbe906: Waiting [2022-06-19T06:10:06.704Z] 63ab81a10011: Waiting [2022-06-19T06:10:06.704Z] 94645a83ff95: Verifying Checksum [2022-06-19T06:10:06.704Z] 94645a83ff95: Download complete [2022-06-19T06:10:06.704Z] 1a89e8eeedd5: Verifying Checksum [2022-06-19T06:10:06.704Z] 1a89e8eeedd5: Download complete [2022-06-19T06:10:06.704Z] 3a77bd46dcc9: Verifying Checksum [2022-06-19T06:10:06.704Z] 3a77bd46dcc9: Download complete [2022-06-19T06:10:06.704Z] 355e64cbe906: Download complete [2022-06-19T06:10:06.704Z] 9b3977197b4f: Verifying Checksum [2022-06-19T06:10:06.704Z] 9b3977197b4f: Download complete [2022-06-19T06:10:06.704Z] 63ab81a10011: Verifying Checksum [2022-06-19T06:10:06.704Z] 63ab81a10011: Download complete [2022-06-19T06:10:07.702Z] 7d9057610161: Verifying Checksum [2022-06-19T06:10:07.702Z] 7d9057610161: Download complete [2022-06-19T06:10:07.702Z] 9b3977197b4f: Pull complete [2022-06-19T06:10:08.311Z] 1a89e8eeedd5: Pull complete [2022-06-19T06:10:08.611Z] 94645a83ff95: Pull complete [2022-06-19T06:10:08.889Z] 555d1d1c4555: Verifying Checksum [2022-06-19T06:10:08.889Z] 555d1d1c4555: Download complete [2022-06-19T06:10:09.491Z] e6fb740bc735: Verifying Checksum [2022-06-19T06:10:09.491Z] e6fb740bc735: Download complete [2022-06-19T06:10:21.890Z] e6fb740bc735: Pull complete [2022-06-19T06:10:21.890Z] 3a77bd46dcc9: Pull complete [2022-06-19T06:10:21.890Z] 355e64cbe906: Pull complete [2022-06-19T06:10:21.890Z] 63ab81a10011: Pull complete [2022-06-19T06:10:27.291Z] 555d1d1c4555: Pull complete [2022-06-19T06:10:29.277Z] 7d9057610161: Pull complete [2022-06-19T06:10:29.277Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-19T06:10:29.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-19T06:10:29.277Z] ---> 819e984ddca1 [2022-06-19T06:10:29.277Z] Step 3/10 : ARG MAKE='make build' [2022-06-19T06:10:31.261Z] ---> Running in e6799cceddeb [2022-06-19T06:10:31.261Z] Removing intermediate container e6799cceddeb [2022-06-19T06:10:31.261Z] ---> 7d0fb2a2648c [2022-06-19T06:10:31.261Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:10:31.261Z] ---> Running in 252960071df8 [2022-06-19T06:10:34.662Z] Removing intermediate container 252960071df8 [2022-06-19T06:10:34.662Z] ---> c35fc17baf5e [2022-06-19T06:10:34.663Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-19T06:10:34.663Z] ---> Running in 94151fb1ceec [2022-06-19T06:10:35.268Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-19T06:10:36.258Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-19T06:10:37.243Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-19T06:10:37.243Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-19T06:10:37.517Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-19T06:10:37.517Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-19T06:10:37.793Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-19T06:10:37.793Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-19T06:10:37.793Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-19T06:10:38.074Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-19T06:10:38.074Z] Executing busybox-1.34.1-r3.trigger [2022-06-19T06:10:38.074Z] OK: 226 MiB in 60 packages [2022-06-19T06:10:39.058Z] Removing intermediate container 94151fb1ceec [2022-06-19T06:10:39.058Z] ---> 9fff3dea58d1 [2022-06-19T06:10:39.058Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-19T06:10:39.058Z] ---> Running in a82ac134028f [2022-06-19T06:10:39.664Z] Removing intermediate container a82ac134028f [2022-06-19T06:10:39.664Z] ---> 05aedf99d009 [2022-06-19T06:10:39.664Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-19T06:10:39.938Z] ---> ada7dee23425 [2022-06-19T06:10:39.938Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:10:40.221Z] ---> Running in 7705125ae86d [2022-06-19T06:11:27.225Z] Removing intermediate container 7705125ae86d [2022-06-19T06:11:27.225Z] ---> 3b9a53ac810f [2022-06-19T06:11:27.225Z] Step 9/10 : COPY . . [2022-06-19T06:11:27.225Z] ---> 645e18c1ae2f [2022-06-19T06:11:27.225Z] Step 10/10 : RUN ${MAKE} [2022-06-19T06:11:27.225Z] ---> Running in cc607e056a25 [2022-06-19T06:11:27.225Z] noop [2022-06-19T06:11:27.496Z] Removing intermediate container cc607e056a25 [2022-06-19T06:11:27.496Z] ---> 4e17182d2ffa [2022-06-19T06:11:27.496Z] Successfully built 4e17182d2ffa [2022-06-19T06:11:27.496Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:11:27.858Z] + docker inspect -f . ci-base-image-arm64 [2022-06-19T06:11:27.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:11:28.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-2676 does not seem to be running inside a container [2022-06-19T06:11:28.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/42 -v /w/workspace/device-modbus-go/42:/w/workspace/device-modbus-go/42:rw,z -v /w/workspace/device-modbus-go/42@tmp:/w/workspace/device-modbus-go/42@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 ******** -e ******** ci-base-image-arm64 cat [2022-06-19T06:11:29.613Z] $ docker top 2a6d9b6c79c8620915ae0219c4ee4d8be82b75fcb771c3624ccea16144605bdf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T06:11:30.488Z] + go version [2022-06-19T06:11:30.488Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-19T06:11:30.523Z] $ docker stop --time=1 2a6d9b6c79c8620915ae0219c4ee4d8be82b75fcb771c3624ccea16144605bdf [2022-06-19T06:11:32.126Z] $ docker rm -f 2a6d9b6c79c8620915ae0219c4ee4d8be82b75fcb771c3624ccea16144605bdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:11:32.714Z] + docker inspect -f . ci-base-image-arm64 [2022-06-19T06:11:32.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:11:32.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-2676 does not seem to be running inside a container [2022-06-19T06:11:33.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/42 -v /w/workspace/device-modbus-go/42:/w/workspace/device-modbus-go/42:rw,z -v /w/workspace/device-modbus-go/42@tmp:/w/workspace/device-modbus-go/42@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 ******** -e ******** ci-base-image-arm64 cat [2022-06-19T06:11:34.230Z] $ docker top f2dfa0a0f75e9c96febd3249d72c07cb598098ef5e71baca934cd859db2b04b4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-19T06:11:35.116Z] + make test [2022-06-19T06:11:35.116Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-19T06:11:36.555Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-19T06:12:58.751Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-19T06:12:58.751Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 46.4% of statements [2022-06-19T06:12:58.751Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-19T06:12:58.751Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-19T06:13:25.565Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-19T06:13:25.565Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-19T06:13:25.565Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-19T06:13:25.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-19T06:13:25.611Z] $ docker stop --time=1 f2dfa0a0f75e9c96febd3249d72c07cb598098ef5e71baca934cd859db2b04b4 [2022-06-19T06:13:27.378Z] $ docker rm -f f2dfa0a0f75e9c96febd3249d72c07cb598098ef5e71baca934cd859db2b04b4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:13:28.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-19T06:13:28.339Z] Warning: overwriting stash ‘coverage-report’ [2022-06-19T06:13:28.789Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T06:13:29.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-19T06:13:29.504Z] + ls -al . [2022-06-19T06:13:29.504Z] total 180 [2022-06-19T06:13:29.504Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 06:13 . [2022-06-19T06:13:29.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:09 .. [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 06:09 .dockerignore [2022-06-19T06:13:29.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:09 .git [2022-06-19T06:13:29.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 .github [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 19 06:09 .gitignore [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:09 .golangci.yml [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 19 06:09 Attribution.txt [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 19 06:09 CHANGELOG.md [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 19 06:09 Dockerfile [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:09 GOVERNANCE.md [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 19 06:09 Jenkinsfile [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:09 LICENSE [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 19 06:09 Makefile [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 19 06:09 OWNERS.md [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 19 06:09 README.md [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:07 VERSION [2022-06-19T06:13:29.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:09 bin [2022-06-19T06:13:29.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 cmd [2022-06-19T06:13:29.504Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 19 06:12 coverage.out [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 3403 Jun 19 06:09 go.mod [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 36017 Jun 19 06:09 go.sum [2022-06-19T06:13:29.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:09 internal [2022-06-19T06:13:29.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:09 simulator [2022-06-19T06:13:29.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:09 snap [2022-06-19T06:13:29.504Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 19 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:13:29.855Z] + 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=4c89d6a6c91720700353e870f5243ca140b0cc6d --label arch=arm64 --label version=2.2.1-dev.3 . [2022-06-19T06:13:30.128Z] Sending build context to Docker daemon 3.149MB [2022-06-19T06:13:30.128Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:13:30.129Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-19T06:13:30.129Z] ---> 4e17182d2ffa [2022-06-19T06:13:30.129Z] Step 3/23 : ARG MAKE='make build' [2022-06-19T06:13:30.404Z] ---> Running in 900613a6ff33 [2022-06-19T06:13:30.678Z] Removing intermediate container 900613a6ff33 [2022-06-19T06:13:30.678Z] ---> 479d8e9e236a [2022-06-19T06:13:30.678Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:13:30.678Z] ---> Running in 7a1f5a3e84a3 [2022-06-19T06:13:32.655Z] Removing intermediate container 7a1f5a3e84a3 [2022-06-19T06:13:32.655Z] ---> fc7db57c1d8d [2022-06-19T06:13:32.655Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-19T06:13:32.655Z] ---> Running in a23475293dd2 [2022-06-19T06:13:33.643Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-19T06:13:34.248Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-19T06:13:35.217Z] OK: 226 MiB in 60 packages [2022-06-19T06:13:35.827Z] Removing intermediate container a23475293dd2 [2022-06-19T06:13:35.827Z] ---> c8b895d294ff [2022-06-19T06:13:35.827Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-19T06:13:36.101Z] ---> Running in a0638c57d5f9 [2022-06-19T06:13:36.377Z] Removing intermediate container a0638c57d5f9 [2022-06-19T06:13:36.377Z] ---> a9d48e6f1991 [2022-06-19T06:13:36.377Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-19T06:13:36.978Z] ---> 3a89b5ec1c24 [2022-06-19T06:13:36.978Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:13:36.978Z] ---> Running in d91f4e6defc5 [2022-06-19T06:13:38.955Z] Removing intermediate container d91f4e6defc5 [2022-06-19T06:13:38.955Z] ---> 4d1f2715ca61 [2022-06-19T06:13:38.955Z] Step 9/23 : COPY . . [2022-06-19T06:13:39.550Z] ---> 2217464db7f9 [2022-06-19T06:13:39.550Z] Step 10/23 : RUN ${MAKE} [2022-06-19T06:13:39.550Z] ---> Running in eb0acd8809b8 [2022-06-19T06:13:40.528Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-06-19T06:15:47.419Z] Removing intermediate container eb0acd8809b8 [2022-06-19T06:15:47.419Z] ---> ca34ac481871 [2022-06-19T06:15:47.419Z] Step 11/23 : FROM alpine:3.14 [2022-06-19T06:15:47.419Z] 3.14: Pulling from library/alpine [2022-06-19T06:15:47.419Z] 455c02918c45: Pulling fs layer [2022-06-19T06:15:47.419Z] 455c02918c45: Verifying Checksum [2022-06-19T06:15:47.419Z] 455c02918c45: Download complete [2022-06-19T06:15:47.419Z] 455c02918c45: Pull complete [2022-06-19T06:15:47.419Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-19T06:15:47.419Z] Status: Downloaded newer image for alpine:3.14 [2022-06-19T06:15:47.419Z] ---> ac73e934f311 [2022-06-19T06:15:47.419Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-19T06:15:47.419Z] ---> Running in 3c3086663885 [2022-06-19T06:15:47.693Z] Removing intermediate container 3c3086663885 [2022-06-19T06:15:47.693Z] ---> 6694e6c8f940 [2022-06-19T06:15:47.693Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:15:47.693Z] ---> Running in d1b13bea20b5 [2022-06-19T06:15:49.682Z] Removing intermediate container d1b13bea20b5 [2022-06-19T06:15:49.682Z] ---> e527dc2db8e2 [2022-06-19T06:15:49.682Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-19T06:15:49.682Z] ---> Running in 359bc2bd7d34 [2022-06-19T06:15:50.664Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-19T06:15:51.646Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-19T06:15:52.242Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-19T06:15:52.243Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-19T06:15:52.514Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-19T06:15:52.514Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-19T06:15:52.788Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-19T06:15:52.788Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-19T06:15:52.788Z] Executing busybox-1.33.1-r7.trigger [2022-06-19T06:15:52.788Z] OK: 8 MiB in 20 packages [2022-06-19T06:15:53.772Z] Removing intermediate container 359bc2bd7d34 [2022-06-19T06:15:53.772Z] ---> 66e9045629ef [2022-06-19T06:15:53.772Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-19T06:15:55.208Z] ---> 3f8fd229c690 [2022-06-19T06:15:55.208Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-19T06:15:55.801Z] ---> b0e18327426a [2022-06-19T06:15:55.801Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-19T06:15:56.398Z] ---> 33357ef04b37 [2022-06-19T06:15:56.398Z] Step 18/23 : EXPOSE 59901 [2022-06-19T06:15:56.684Z] ---> Running in c5f1e7b03dce [2022-06-19T06:15:56.684Z] Removing intermediate container c5f1e7b03dce [2022-06-19T06:15:56.684Z] ---> 2d66169a7f7b [2022-06-19T06:15:56.684Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-19T06:15:56.964Z] ---> Running in 639897ad2398 [2022-06-19T06:15:57.245Z] Removing intermediate container 639897ad2398 [2022-06-19T06:15:57.245Z] ---> 456f6629ff9a [2022-06-19T06:15:57.245Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-19T06:15:57.245Z] ---> Running in 887cf1d99d5e [2022-06-19T06:15:57.527Z] Removing intermediate container 887cf1d99d5e [2022-06-19T06:15:57.527Z] ---> 22bb1f5456a5 [2022-06-19T06:15:57.527Z] Step 21/23 : LABEL arch=arm64 [2022-06-19T06:15:57.810Z] ---> Running in ca3d7f3d65ab [2022-06-19T06:15:58.085Z] Removing intermediate container ca3d7f3d65ab [2022-06-19T06:15:58.085Z] ---> df3763d9f1a1 [2022-06-19T06:15:58.085Z] Step 22/23 : LABEL git_sha=4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:15:58.085Z] ---> Running in 97fc1ab3cc50 [2022-06-19T06:15:58.357Z] Removing intermediate container 97fc1ab3cc50 [2022-06-19T06:15:58.357Z] ---> b4edfa99ddbd [2022-06-19T06:15:58.357Z] Step 23/23 : LABEL version=2.2.1-dev.3 [2022-06-19T06:15:58.357Z] ---> Running in 2b9021928452 [2022-06-19T06:15:58.631Z] Removing intermediate container 2b9021928452 [2022-06-19T06:15:58.631Z] ---> 1326dd9af3ce [2022-06-19T06:15:58.631Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-19T06:15:58.905Z] Successfully built 1326dd9af3ce [2022-06-19T06:15:58.905Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:15:59.016Z] provisioning config files... [2022-06-19T06:15:59.036Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/42@tmp/config788378375804558447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:15:59.395Z] ---> docker-login.sh [2022-06-19T06:15:59.395Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:15:59.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:15:59.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:15:59.668Z] Configure a credential helper to remove this warning. See [2022-06-19T06:15:59.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:15:59.668Z] [2022-06-19T06:15:59.668Z] Login Succeeded [2022-06-19T06:15:59.668Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:16:00.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:00.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:00.267Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:00.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:00.267Z] [2022-06-19T06:16:00.267Z] Login Succeeded [2022-06-19T06:16:00.267Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:16:00.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:00.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:00.815Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:00.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:00.815Z] [2022-06-19T06:16:00.815Z] Login Succeeded [2022-06-19T06:16:00.815Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:16:01.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:01.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:01.090Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:01.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:01.090Z] [2022-06-19T06:16:01.090Z] Login Succeeded [2022-06-19T06:16:01.364Z] docker.io [2022-06-19T06:16:01.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:01.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:01.913Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:01.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:01.913Z] [2022-06-19T06:16:01.913Z] Login Succeeded [2022-06-19T06:16:01.913Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:16:01.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:16:01.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:16:01.994Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-06-19T06:16:01.994Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:16:01.994Z] latest [2022-06-19T06:16:01.994Z] 2.2.1-dev.3 [2022-06-19T06:16:01.994Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3 [2022-06-19T06:16:01.994Z] main [2022-06-19T06:16:01.994Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:02.357Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4c89d6a6c91720700353e870f5243ca140b0cc6d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:02.723Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:16:02.723Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-19T06:16:02.723Z] 04c5c9c46842: Preparing [2022-06-19T06:16:02.723Z] ac99578e2286: Preparing [2022-06-19T06:16:02.723Z] 2454566d497b: Preparing [2022-06-19T06:16:02.723Z] 452cb3d37937: Preparing [2022-06-19T06:16:02.723Z] 68c5b08e9b12: Preparing [2022-06-19T06:16:02.723Z] f73e7dbfee58: Preparing [2022-06-19T06:16:02.723Z] f73e7dbfee58: Waiting [2022-06-19T06:16:02.996Z] ac99578e2286: Pushed [2022-06-19T06:16:02.996Z] 04c5c9c46842: Pushed [2022-06-19T06:16:02.996Z] 68c5b08e9b12: Pushed [2022-06-19T06:16:02.996Z] f73e7dbfee58: Layer already exists [2022-06-19T06:16:03.588Z] 452cb3d37937: Pushed [2022-06-19T06:16:08.983Z] 2454566d497b: Pushed [2022-06-19T06:16:08.983Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d: digest: sha256:52ae005c988bc7d88568ea7f31b0f6259a82f105e8de6109934f9871a9e9b0fb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:09.347Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:09.725Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-06-19T06:16:09.725Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-19T06:16:09.725Z] 04c5c9c46842: Preparing [2022-06-19T06:16:09.725Z] ac99578e2286: Preparing [2022-06-19T06:16:09.725Z] 2454566d497b: Preparing [2022-06-19T06:16:09.725Z] 452cb3d37937: Preparing [2022-06-19T06:16:09.725Z] 68c5b08e9b12: Preparing [2022-06-19T06:16:09.725Z] f73e7dbfee58: Preparing [2022-06-19T06:16:09.725Z] f73e7dbfee58: Waiting [2022-06-19T06:16:09.725Z] 04c5c9c46842: Layer already exists [2022-06-19T06:16:09.725Z] ac99578e2286: Layer already exists [2022-06-19T06:16:09.725Z] 68c5b08e9b12: Layer already exists [2022-06-19T06:16:09.725Z] 2454566d497b: Layer already exists [2022-06-19T06:16:09.725Z] 452cb3d37937: Layer already exists [2022-06-19T06:16:09.996Z] f73e7dbfee58: Layer already exists [2022-06-19T06:16:09.996Z] latest: digest: sha256:52ae005c988bc7d88568ea7f31b0f6259a82f105e8de6109934f9871a9e9b0fb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:10.370Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:10.746Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.3 [2022-06-19T06:16:10.746Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-19T06:16:10.746Z] 04c5c9c46842: Preparing [2022-06-19T06:16:10.746Z] ac99578e2286: Preparing [2022-06-19T06:16:10.746Z] 2454566d497b: Preparing [2022-06-19T06:16:10.746Z] 452cb3d37937: Preparing [2022-06-19T06:16:10.746Z] 68c5b08e9b12: Preparing [2022-06-19T06:16:10.746Z] f73e7dbfee58: Preparing [2022-06-19T06:16:10.746Z] f73e7dbfee58: Waiting [2022-06-19T06:16:10.746Z] 68c5b08e9b12: Layer already exists [2022-06-19T06:16:10.746Z] 2454566d497b: Layer already exists [2022-06-19T06:16:10.746Z] ac99578e2286: Layer already exists [2022-06-19T06:16:10.746Z] 04c5c9c46842: Layer already exists [2022-06-19T06:16:10.746Z] 452cb3d37937: Layer already exists [2022-06-19T06:16:10.746Z] f73e7dbfee58: Layer already exists [2022-06-19T06:16:11.019Z] 2.2.1-dev.3: digest: sha256:52ae005c988bc7d88568ea7f31b0f6259a82f105e8de6109934f9871a9e9b0fb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:11.390Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:11.759Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3 [2022-06-19T06:16:11.759Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-19T06:16:11.759Z] 04c5c9c46842: Preparing [2022-06-19T06:16:11.759Z] ac99578e2286: Preparing [2022-06-19T06:16:11.759Z] 2454566d497b: Preparing [2022-06-19T06:16:11.759Z] 452cb3d37937: Preparing [2022-06-19T06:16:11.759Z] 68c5b08e9b12: Preparing [2022-06-19T06:16:11.759Z] f73e7dbfee58: Preparing [2022-06-19T06:16:11.759Z] f73e7dbfee58: Waiting [2022-06-19T06:16:11.759Z] 452cb3d37937: Layer already exists [2022-06-19T06:16:11.759Z] 2454566d497b: Layer already exists [2022-06-19T06:16:11.759Z] 68c5b08e9b12: Layer already exists [2022-06-19T06:16:11.759Z] 04c5c9c46842: Layer already exists [2022-06-19T06:16:11.759Z] ac99578e2286: Layer already exists [2022-06-19T06:16:11.759Z] f73e7dbfee58: Layer already exists [2022-06-19T06:16:12.030Z] 4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3: digest: sha256:52ae005c988bc7d88568ea7f31b0f6259a82f105e8de6109934f9871a9e9b0fb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:12.395Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:12.752Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-06-19T06:16:12.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-19T06:16:12.752Z] 04c5c9c46842: Preparing [2022-06-19T06:16:12.752Z] ac99578e2286: Preparing [2022-06-19T06:16:12.752Z] 2454566d497b: Preparing [2022-06-19T06:16:12.752Z] 452cb3d37937: Preparing [2022-06-19T06:16:12.752Z] 68c5b08e9b12: Preparing [2022-06-19T06:16:12.752Z] f73e7dbfee58: Preparing [2022-06-19T06:16:12.752Z] f73e7dbfee58: Waiting [2022-06-19T06:16:12.752Z] 2454566d497b: Layer already exists [2022-06-19T06:16:12.752Z] 68c5b08e9b12: Layer already exists [2022-06-19T06:16:12.752Z] 452cb3d37937: Layer already exists [2022-06-19T06:16:12.752Z] 04c5c9c46842: Layer already exists [2022-06-19T06:16:12.752Z] ac99578e2286: Layer already exists [2022-06-19T06:16:12.752Z] f73e7dbfee58: Layer already exists [2022-06-19T06:16:13.024Z] main: digest: sha256:52ae005c988bc7d88568ea7f31b0f6259a82f105e8de6109934f9871a9e9b0fb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:16:13.082Z] ===================================================== [Pipeline] echo [2022-06-19T06:16:13.088Z] taggedImages: [2022-06-19T06:16:13.088Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4c89d6a6c91720700353e870f5243ca140b0cc6d [2022-06-19T06:16:13.088Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-06-19T06:16:13.088Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.3 [2022-06-19T06:16:13.088Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4c89d6a6c91720700353e870f5243ca140b0cc6d-2.2.1-dev.3 [2022-06-19T06:16:13.088Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:13.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T06:16:13.451Z] [2022-06-19T06:16:13.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:13.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T06:16:14.083Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-19T06:16:14.083Z] 8998bd30e6a1: Pulling fs layer [2022-06-19T06:16:14.083Z] 04944245beec: Pulling fs layer [2022-06-19T06:16:14.083Z] 699f458cf7ca: Pulling fs layer [2022-06-19T06:16:14.083Z] 765212b225bb: Pulling fs layer [2022-06-19T06:16:14.083Z] f23df028b6ca: Pulling fs layer [2022-06-19T06:16:14.083Z] d65c8cfc05b1: Pulling fs layer [2022-06-19T06:16:14.083Z] 2437ff75d9bd: Pulling fs layer [2022-06-19T06:16:14.083Z] f23df028b6ca: Waiting [2022-06-19T06:16:14.083Z] d65c8cfc05b1: Waiting [2022-06-19T06:16:14.083Z] 765212b225bb: Waiting [2022-06-19T06:16:14.083Z] 2437ff75d9bd: Waiting [2022-06-19T06:16:14.083Z] 04944245beec: Verifying Checksum [2022-06-19T06:16:14.083Z] 04944245beec: Download complete [2022-06-19T06:16:14.083Z] 765212b225bb: Verifying Checksum [2022-06-19T06:16:14.083Z] 765212b225bb: Download complete [2022-06-19T06:16:14.083Z] f23df028b6ca: Verifying Checksum [2022-06-19T06:16:14.083Z] f23df028b6ca: Download complete [2022-06-19T06:16:14.083Z] d65c8cfc05b1: Verifying Checksum [2022-06-19T06:16:14.083Z] d65c8cfc05b1: Download complete [2022-06-19T06:16:14.361Z] 699f458cf7ca: Verifying Checksum [2022-06-19T06:16:14.361Z] 699f458cf7ca: Download complete [2022-06-19T06:16:14.634Z] 8998bd30e6a1: Verifying Checksum [2022-06-19T06:16:14.634Z] 8998bd30e6a1: Download complete [2022-06-19T06:16:17.258Z] 2437ff75d9bd: Verifying Checksum [2022-06-19T06:16:17.258Z] 2437ff75d9bd: Download complete [2022-06-19T06:16:19.238Z] 8998bd30e6a1: Pull complete [2022-06-19T06:16:19.516Z] 04944245beec: Pull complete [2022-06-19T06:16:20.950Z] 699f458cf7ca: Pull complete [2022-06-19T06:16:20.950Z] 765212b225bb: Pull complete [2022-06-19T06:16:21.931Z] f23df028b6ca: Pull complete [2022-06-19T06:16:22.204Z] d65c8cfc05b1: Pull complete [2022-06-19T06:16:37.290Z] 2437ff75d9bd: Pull complete [2022-06-19T06:16:37.290Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-19T06:16:37.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T06:16:37.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:16:37.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-2676 does not seem to be running inside a container [2022-06-19T06:16:37.629Z] $ 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/42 -v /w/workspace/device-modbus-go/42:/w/workspace/device-modbus-go/42:rw,z -v /w/workspace/device-modbus-go/42@tmp:/w/workspace/device-modbus-go/42@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-19T06:16:40.111Z] $ docker top e760874fafcc9d008de7e3eb7ef813d008b577f1b4b010ca118e16d45d8b78ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:16:41.004Z] ---> job-cost.sh [2022-06-19T06:16:41.004Z] lf-activate-venv: SKIPPING [2022-06-19T06:16:41.004Z] INFO: No Stack... [2022-06-19T06:16:41.276Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-19T06:16:42.250Z] INFO: Archiving Costs [Pipeline] sh [2022-06-19T06:16:42.970Z] + cat /w/workspace/device-modbus-go/42/archives/cost.csv [2022-06-19T06:16:42.970Z] + cut -d, -f6 [Pipeline] lock [2022-06-19T06:16:43.039Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-42-stack-cost] [2022-06-19T06:16:43.047Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-42-stack-cost] did not exist. Created. [2022-06-19T06:16:43.047Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-19T06:16:43.753Z] /w/workspace/device-modbus-go/42@tmp/durable-25b08fb3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-19T06:16:44.449Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-19T06:16:44.468Z] Warning: overwriting stash ‘stack-cost’ [2022-06-19T06:16:44.562Z] Stashed 1 file(s) [Pipeline] } [2022-06-19T06:16:44.576Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-19T06:16:44.607Z] $ docker stop --time=1 e760874fafcc9d008de7e3eb7ef813d008b577f1b4b010ca118e16d45d8b78ef [2022-06-19T06:16:46.112Z] $ docker rm -f e760874fafcc9d008de7e3eb7ef813d008b577f1b4b010ca118e16d45d8b78ef [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 [2022-06-19T06:16:46.620Z] provisioning config files... [2022-06-19T06:16:46.629Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7703244191139139390tmp [Pipeline] { [Pipeline] sh [2022-06-19T06:16:46.925Z] + set +x [2022-06-19T06:16:46.925Z] + curl -s https://codecov.io/bash [2022-06-19T06:16:46.925Z] + bash -s -- [2022-06-19T06:16:46.925Z] [2022-06-19T06:16:46.925Z] _____ _ [2022-06-19T06:16:46.925Z] / ____| | | [2022-06-19T06:16:46.925Z] | | ___ __| | ___ ___ _____ __ [2022-06-19T06:16:46.925Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-19T06:16:46.925Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-19T06:16:46.925Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-19T06:16:46.925Z] Bash-1.0.6 [2022-06-19T06:16:46.925Z] [2022-06-19T06:16:46.925Z] [2022-06-19T06:16:46.925Z] ==> git version 2.25.1 found [2022-06-19T06:16:46.925Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-19T06:16:46.925Z] Release-Date: 2020-01-08 [2022-06-19T06:16:46.925Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-19T06:16:46.925Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-19T06:16:46.925Z] ==> Jenkins CI detected. [2022-06-19T06:16:46.925Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-06-19T06:16:46.925Z] project root: . [2022-06-19T06:16:46.925Z] --> token set from env [2022-06-19T06:16:46.925Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-19T06:16:46.925Z] ==> Running gcov in . (disable via -X gcov) [2022-06-19T06:16:47.185Z] ==> Python coveragepy not found [2022-06-19T06:16:47.185Z] ==> Searching for coverage reports in: [2022-06-19T06:16:47.185Z] + . [2022-06-19T06:16:47.185Z] -> Found 1 reports [2022-06-19T06:16:47.185Z] ==> Detecting git/mercurial file structure [2022-06-19T06:16:47.185Z] ==> Reading reports [2022-06-19T06:16:47.185Z] + ./coverage.out bytes=24065 [2022-06-19T06:16:47.185Z] ==> Appending adjustments [2022-06-19T06:16:47.185Z] https://docs.codecov.io/docs/fixing-reports [2022-06-19T06:16:47.185Z] + Found adjustments [2022-06-19T06:16:47.185Z] ==> Gzipping contents [2022-06-19T06:16:47.185Z] 4.0K /tmp/codecov.eVWvQt.gz [2022-06-19T06:16:47.185Z] ==> Uploading reports [2022-06-19T06:16:47.185Z] url: https://codecov.io [2022-06-19T06:16:47.185Z] query: branch=main&commit=4c89d6a6c91720700353e870f5243ca140b0cc6d&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-19T06:16:47.185Z] -> Pinging Codecov [2022-06-19T06:16:47.185Z] 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=4c89d6a6c91720700353e870f5243ca140b0cc6d&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-19T06:16:47.446Z] -> Uploading to [2022-06-19T06:16:47.446Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-19/55DBCA73C666E3227836607328DD7E49/4c89d6a6c91720700353e870f5243ca140b0cc6d/ce5aa9e2-5c9a-4675-8465-56c29c85d8f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220619%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220619T061647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ac1c05f9253572bc8ec36249d76df51d0a9a816d3b1956e1d260f021f560b4b [2022-06-19T06:16:47.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-19T06:16:47.446Z] Dload Upload Total Spent Left Speed [2022-06-19T06:16:47.708Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 19861 --:--:-- --:--:-- --:--:-- 19763 100 4012 0 0 100 4012 0 16716 --:--:-- --:--:-- --:--:-- 16647 [2022-06-19T06:16:47.708Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/4c89d6a6c91720700353e870f5243ca140b0cc6d [Pipeline] } [2022-06-19T06:16:47.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-19T06:16:47.930Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-19T06:16:47.939Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:48.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T06:16:48.240Z] [2022-06-19T06:16:48.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:48.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T06:16:48.547Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-19T06:16:48.547Z] df9b9388f04a: Pulling fs layer [2022-06-19T06:16:48.547Z] 52dc419b0ee2: Pulling fs layer [2022-06-19T06:16:48.547Z] 25bc292e5bac: Pulling fs layer [2022-06-19T06:16:48.547Z] 114826534d7a: Pulling fs layer [2022-06-19T06:16:48.547Z] 4657fd5d0bcf: Pulling fs layer [2022-06-19T06:16:48.547Z] 114826534d7a: Waiting [2022-06-19T06:16:48.547Z] 6ad1cebc031e: Pulling fs layer [2022-06-19T06:16:48.547Z] 8a3aa393b2d8: Pulling fs layer [2022-06-19T06:16:48.547Z] 8a3aa393b2d8: Waiting [2022-06-19T06:16:48.547Z] 4657fd5d0bcf: Waiting [2022-06-19T06:16:48.547Z] 25bc292e5bac: Verifying Checksum [2022-06-19T06:16:48.547Z] 25bc292e5bac: Download complete [2022-06-19T06:16:48.547Z] 52dc419b0ee2: Verifying Checksum [2022-06-19T06:16:48.547Z] 52dc419b0ee2: Download complete [2022-06-19T06:16:48.547Z] 4657fd5d0bcf: Download complete [2022-06-19T06:16:48.547Z] df9b9388f04a: Verifying Checksum [2022-06-19T06:16:48.547Z] df9b9388f04a: Download complete [2022-06-19T06:16:48.862Z] df9b9388f04a: Pull complete [2022-06-19T06:16:48.862Z] 6ad1cebc031e: Verifying Checksum [2022-06-19T06:16:48.862Z] 6ad1cebc031e: Download complete [2022-06-19T06:16:48.862Z] 52dc419b0ee2: Pull complete [2022-06-19T06:16:49.123Z] 25bc292e5bac: Pull complete [2022-06-19T06:16:49.381Z] 114826534d7a: Verifying Checksum [2022-06-19T06:16:49.381Z] 114826534d7a: Download complete [2022-06-19T06:16:49.638Z] 8a3aa393b2d8: Verifying Checksum [2022-06-19T06:16:49.638Z] 8a3aa393b2d8: Download complete [2022-06-19T06:16:52.921Z] 114826534d7a: Pull complete [2022-06-19T06:16:52.921Z] 4657fd5d0bcf: Pull complete [2022-06-19T06:16:53.179Z] 6ad1cebc031e: Pull complete [2022-06-19T06:16:56.469Z] 8a3aa393b2d8: Pull complete [2022-06-19T06:16:56.469Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-19T06:16:56.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T06:16:56.469Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:16:56.558Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:16:56.606Z] $ 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 [2022-06-19T06:16:58.309Z] $ docker top da78f419a7f05a6c0a82d16ad2bea7c10cc2b8517b9e0160c2f9f90295ebc0d1 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-19T06:16:58.374Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-06-19T06:16:58.655Z] + set -o pipefail [2022-06-19T06:16:58.655Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-06-19T06:17:04.144Z] [2022-06-19T06:17:04.144Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-06-19T06:17:04.144Z] [2022-06-19T06:17:04.144Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/99d04652-033c-4bf0-86cc-23a719e0b4e1 [2022-06-19T06:17:04.144Z] [2022-06-19T06:17:04.144Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-06-19T06:17:04.144Z] [2022-06-19T06:17:04.144Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-19T06:17:04.144Z] [2022-06-19T06:17:04.406Z] [Pipeline] } [2022-06-19T06:17:04.434Z] $ docker stop --time=1 da78f419a7f05a6c0a82d16ad2bea7c10cc2b8517b9e0160c2f9f90295ebc0d1 [2022-06-19T06:17:06.421Z] $ docker rm -f da78f419a7f05a6c0a82d16ad2bea7c10cc2b8517b9e0160c2f9f90295ebc0d1 [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 [2022-06-19T06:17:07.139Z] + git log --format=format:%s -1 4c89d6a6c91720700353e870f5243ca140b0cc6d [Pipeline] sh [2022-06-19T06:17:07.429Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:17:07.429Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:17:07.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:17:07.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:17:07.811Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:17:07.860Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-19T06:17:08.241Z] $ docker top 0e2bf5cf41109db0398cb847fd67ffec7b90eced8e5a6bb08ed6889dd3cc0494 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:17:08.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:17:08.333Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:17:08.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:17:08.493Z] $ docker exec 0e2bf5cf41109db0398cb847fd67ffec7b90eced8e5a6bb08ed6889dd3cc0494 ssh-agent [2022-06-19T06:17:08.607Z] SSH_AUTH_SOCK=/tmp/ssh-03a5SGkD2du1/agent.31 [2022-06-19T06:17:08.607Z] SSH_AGENT_PID=37 [2022-06-19T06:17:08.633Z] Running ssh-add (command line suppressed) [2022-06-19T06:17:08.762Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_262184544060666477.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_262184544060666477.key) [2022-06-19T06:17:08.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:17:09.064Z] + git semver tag [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,263 [run_tag] DEBUG tag force:False [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,263 [check_head_tag] DEBUG check head tag [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,264 [execute] INFO git cat-file --batch-check [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,267 [execute] INFO git cat-file --batch [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,276 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,276 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,276 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.3', '-m', 'v2.2.1-dev.3'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-19T06:17:09.324Z] 2022-06-19 06:17:09,281 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:17:09.324Z] 2.2.1-dev.3 [Pipeline] } [2022-06-19T06:17:09.347Z] $ docker exec --env ******** --env ******** 0e2bf5cf41109db0398cb847fd67ffec7b90eced8e5a6bb08ed6889dd3cc0494 ssh-agent -k [2022-06-19T06:17:09.457Z] unset SSH_AUTH_SOCK; [2022-06-19T06:17:09.457Z] unset SSH_AGENT_PID; [2022-06-19T06:17:09.457Z] echo Agent pid 37 killed; [2022-06-19T06:17:09.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:17:09.762Z] + git semver [Pipeline] } [2022-06-19T06:17:10.046Z] $ docker stop --time=1 0e2bf5cf41109db0398cb847fd67ffec7b90eced8e5a6bb08ed6889dd3cc0494 [2022-06-19T06:17:11.311Z] $ docker rm -f 0e2bf5cf41109db0398cb847fd67ffec7b90eced8e5a6bb08ed6889dd3cc0494 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:17:11.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T06:17:11.684Z] [2022-06-19T06:17:11.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:17:11.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T06:17:11.989Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-19T06:17:11.989Z] ab5ef0e58194: Pulling fs layer [2022-06-19T06:17:11.989Z] 9712f1f96733: Pulling fs layer [2022-06-19T06:17:11.989Z] 63f879dbbcfc: Pulling fs layer [2022-06-19T06:17:11.989Z] 0d9ebad4ef96: Pulling fs layer [2022-06-19T06:17:11.989Z] e9a5061849ea: Pulling fs layer [2022-06-19T06:17:11.989Z] d747dcd14b5f: Pulling fs layer [2022-06-19T06:17:11.989Z] 2de7ff778b66: Pulling fs layer [2022-06-19T06:17:11.989Z] 2de7ff778b66: Waiting [2022-06-19T06:17:11.989Z] 0d9ebad4ef96: Waiting [2022-06-19T06:17:11.989Z] d747dcd14b5f: Waiting [2022-06-19T06:17:11.989Z] e9a5061849ea: Waiting [2022-06-19T06:17:11.989Z] 9712f1f96733: Verifying Checksum [2022-06-19T06:17:11.989Z] 9712f1f96733: Download complete [2022-06-19T06:17:12.248Z] 63f879dbbcfc: Verifying Checksum [2022-06-19T06:17:12.248Z] 63f879dbbcfc: Download complete [2022-06-19T06:17:12.506Z] e9a5061849ea: Verifying Checksum [2022-06-19T06:17:12.506Z] e9a5061849ea: Download complete [2022-06-19T06:17:12.506Z] 0d9ebad4ef96: Verifying Checksum [2022-06-19T06:17:12.506Z] 0d9ebad4ef96: Download complete [2022-06-19T06:17:12.506Z] d747dcd14b5f: Verifying Checksum [2022-06-19T06:17:12.506Z] d747dcd14b5f: Download complete [2022-06-19T06:17:12.767Z] ab5ef0e58194: Verifying Checksum [2022-06-19T06:17:12.767Z] ab5ef0e58194: Download complete [2022-06-19T06:17:12.767Z] 2de7ff778b66: Verifying Checksum [2022-06-19T06:17:12.767Z] 2de7ff778b66: Download complete [2022-06-19T06:17:16.062Z] ab5ef0e58194: Pull complete [2022-06-19T06:17:16.062Z] 9712f1f96733: Pull complete [2022-06-19T06:17:16.321Z] 63f879dbbcfc: Pull complete [2022-06-19T06:17:19.612Z] 0d9ebad4ef96: Pull complete [2022-06-19T06:17:19.871Z] e9a5061849ea: Pull complete [2022-06-19T06:17:19.871Z] d747dcd14b5f: Pull complete [2022-06-19T06:17:21.251Z] 2de7ff778b66: Pull complete [2022-06-19T06:17:21.251Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-19T06:17:21.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T06:17:21.251Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:17:21.347Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:17:21.395Z] $ 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 [2022-06-19T06:17:23.213Z] $ docker top abd05b12ce7b6cff4ff9878fbbf675af069bcdd5651f38884436b011f7f62f59 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:17:23.279Z] provisioning config files... [2022-06-19T06:17:23.287Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4172969864713968143tmp [2022-06-19T06:17:23.298Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5806305058529711015tmp [2022-06-19T06:17:23.308Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6481082362862436770tmp [Pipeline] { [Pipeline] echo [2022-06-19T06:17:23.320Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:23.602Z] ---> sigul-configuration.sh [2022-06-19T06:17:23.602Z] gpg: directory `/root/.gnupg' created [2022-06-19T06:17:23.602Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-19T06:17:23.602Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-19T06:17:23.602Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-19T06:17:23.602Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-19T06:17:23.602Z] gpg: CAST5 encrypted data [2022-06-19T06:17:23.602Z] gpg: encrypted with 1 passphrase [2022-06-19T06:17:23.602Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-19T06:17:23.893Z] + mkdir /home/jenkins [2022-06-19T06:17:23.893Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-19T06:17:24.184Z] + 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 [2022-06-19T06:17:24.192Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:24.478Z] ---> sigul-install.sh [2022-06-19T06:17:24.478Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-19T06:17:24.766Z] + git tag --list [2022-06-19T06:17:24.766Z] 0.7.1 [2022-06-19T06:17:24.766Z] v1.0.0 [2022-06-19T06:17:24.766Z] v1.1.0 [2022-06-19T06:17:24.766Z] v1.1.1 [2022-06-19T06:17:24.766Z] v1.2.2 [2022-06-19T06:17:24.766Z] v1.3.0 [2022-06-19T06:17:24.766Z] v1.3.1 [2022-06-19T06:17:24.766Z] v2.0.0 [2022-06-19T06:17:24.766Z] v2.1.0 [2022-06-19T06:17:24.766Z] v2.1.1 [2022-06-19T06:17:24.766Z] v2.1.1-dev.1 [2022-06-19T06:17:24.766Z] v2.1.1-dev.2 [2022-06-19T06:17:24.766Z] v2.1.1-dev.3 [2022-06-19T06:17:24.766Z] v2.2.0 [2022-06-19T06:17:24.766Z] v2.2.1-dev.1 [2022-06-19T06:17:24.766Z] v2.2.1-dev.2 [2022-06-19T06:17:24.766Z] v2.2.1-dev.3 [Pipeline] sh [2022-06-19T06:17:25.056Z] + lftools sign git-tag v2.2.1-dev.3 [2022-06-19T06:17:25.625Z] Signing Git tag with Sigul... [2022-06-19T06:17:25.625Z] Signing v2.2.1-dev.3 [Pipeline] echo [2022-06-19T06:17:25.894Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:26.177Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-19T06:17:26.184Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-19T06:17:26.219Z] $ docker stop --time=1 abd05b12ce7b6cff4ff9878fbbf675af069bcdd5651f38884436b011f7f62f59 [2022-06-19T06:17:27.505Z] $ docker rm -f abd05b12ce7b6cff4ff9878fbbf675af069bcdd5651f38884436b011f7f62f59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-19T06:17:27.910Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:17:27.910Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:17:28.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:17:28.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:17:28.297Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:17:28.346Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-19T06:17:28.679Z] $ docker top fef55f49ad267b4c6f0fd3b1d80569ccb11dfd4e83a2e0ea3bc3336e010e5901 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:17:28.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:17:28.761Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:17:28.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:17:28.903Z] $ docker exec fef55f49ad267b4c6f0fd3b1d80569ccb11dfd4e83a2e0ea3bc3336e010e5901 ssh-agent [2022-06-19T06:17:29.005Z] SSH_AUTH_SOCK=/tmp/ssh-MMP2NYKkFOaj/agent.33 [2022-06-19T06:17:29.005Z] SSH_AGENT_PID=39 [2022-06-19T06:17:29.010Z] Running ssh-add (command line suppressed) [2022-06-19T06:17:29.121Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4212547280076897935.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4212547280076897935.key) [2022-06-19T06:17:29.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:17:29.409Z] + git semver bump pre [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,606 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,606 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,607 [bump_version] DEBUG bumped version:2.2.1-dev.4 [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,607 [write_version] DEBUG write version:2.2.1-dev.4 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,607 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,607 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,609 [execute] INFO git cat-file --batch-check [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,616 [execute] INFO git cat-file --batch [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T06:17:29.670Z] 2022-06-19 06:17:29,622 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:17:29.670Z] 2.2.1-dev.4 [Pipeline] } [2022-06-19T06:17:29.693Z] $ docker exec --env ******** --env ******** fef55f49ad267b4c6f0fd3b1d80569ccb11dfd4e83a2e0ea3bc3336e010e5901 ssh-agent -k [2022-06-19T06:17:29.800Z] unset SSH_AUTH_SOCK; [2022-06-19T06:17:29.800Z] unset SSH_AGENT_PID; [2022-06-19T06:17:29.800Z] echo Agent pid 39 killed; [2022-06-19T06:17:29.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:17:30.106Z] + git semver [Pipeline] } [2022-06-19T06:17:30.392Z] $ docker stop --time=1 fef55f49ad267b4c6f0fd3b1d80569ccb11dfd4e83a2e0ea3bc3336e010e5901 [2022-06-19T06:17:31.690Z] $ docker rm -f fef55f49ad267b4c6f0fd3b1d80569ccb11dfd4e83a2e0ea3bc3336e010e5901 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:17:32.031Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:17:32.031Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:17:32.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:17:32.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:17:32.416Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:17:32.465Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-19T06:17:32.815Z] $ docker top 61a43682dde062c01ee5e73d190364c86aa41890e817e8647f0a99a408e5d916 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:17:32.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:17:32.894Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:17:33.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:17:33.039Z] $ docker exec 61a43682dde062c01ee5e73d190364c86aa41890e817e8647f0a99a408e5d916 ssh-agent [2022-06-19T06:17:33.184Z] SSH_AUTH_SOCK=/tmp/ssh-vw6eHsfR4XOa/agent.33 [2022-06-19T06:17:33.184Z] SSH_AGENT_PID=40 [2022-06-19T06:17:33.191Z] Running ssh-add (command line suppressed) [2022-06-19T06:17:33.327Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3279715002685253728.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3279715002685253728.key) [2022-06-19T06:17:33.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:17:33.699Z] + git semver push [2022-06-19T06:17:33.960Z] 2022-06-19 06:17:33,887 [run_push] DEBUG push [2022-06-19T06:17:33.960Z] 2022-06-19 06:17:33,888 [execute] INFO git cat-file --batch-check [2022-06-19T06:17:33.960Z] 2022-06-19 06:17:33,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T06:17:33.960Z] 2022-06-19 06:17:33,892 [execute] INFO git rev-list 37b41b9052130bd0fbf74a53813db6bd08442dff -- [2022-06-19T06:17:33.960Z] 2022-06-19 06:17:33,892 [execute] DEBUG Popen(['git', 'rev-list', '37b41b9052130bd0fbf74a53813db6bd08442dff', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-19T06:17:33.960Z] 2022-06-19 06:17:33,898 [execute] INFO git fetch -v origin [2022-06-19T06:17:33.960Z] 2022-06-19 06:17:33,899 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-19T06:17:34.532Z] 2022-06-19 06:17:34,360 [run_push] DEBUG no remote changes detected [2022-06-19T06:17:34.532Z] 2022-06-19 06:17:34,360 [execute] INFO git push origin semver [2022-06-19T06:17:34.533Z] 2022-06-19 06:17:34,361 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-19T06:17:35.473Z] 2022-06-19 06:17:35,236 [run_push] DEBUG push all version tags [2022-06-19T06:17:35.473Z] 2022-06-19 06:17:35,236 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-19T06:17:35.473Z] 2022-06-19 06:17:35,236 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-19T06:17:36.044Z] 2022-06-19 06:17:35,924 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-19T06:17:36.045Z] 2.2.1-dev.4 [Pipeline] } [2022-06-19T06:17:36.069Z] $ docker exec --env ******** --env ******** 61a43682dde062c01ee5e73d190364c86aa41890e817e8647f0a99a408e5d916 ssh-agent -k [2022-06-19T06:17:36.189Z] unset SSH_AUTH_SOCK; [2022-06-19T06:17:36.189Z] unset SSH_AGENT_PID; [2022-06-19T06:17:36.189Z] echo Agent pid 40 killed; [2022-06-19T06:17:36.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:17:36.502Z] + git semver [Pipeline] } [2022-06-19T06:17:36.789Z] $ docker stop --time=1 61a43682dde062c01ee5e73d190364c86aa41890e817e8647f0a99a408e5d916 [2022-06-19T06:17:38.086Z] $ docker rm -f 61a43682dde062c01ee5e73d190364c86aa41890e817e8647f0a99a408e5d916 [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 [2022-06-19T06:17:38.641Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-06-19T06:17:38.641Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-06-19T06:17:38.641Z] total 16 [2022-06-19T06:17:38.641Z] drwxr-xr-x 3 root root 4096 Jun 19 06:09 . [2022-06-19T06:17:38.641Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 19 06:17 .. [2022-06-19T06:17:38.641Z] drwxr-xr-x 2 root root 4096 Jun 19 06:09 cost [2022-06-19T06:17:38.641Z] -rw-r--r-- 1 root root 86 Jun 19 06:09 cost.csv [2022-06-19T06:17:38.641Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-06-19T06:17:38.641Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-06-19T06:17:38.641Z] total 16 [2022-06-19T06:17:38.641Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:09 . [2022-06-19T06:17:38.641Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 19 06:17 .. [2022-06-19T06:17:38.641Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 06:09 cost [2022-06-19T06:17:38.641Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 19 06:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:38.947Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:39.813Z] ---> package-listing.sh [2022-06-19T06:17:39.813Z] ++ facter osfamily [2022-06-19T06:17:39.813Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-19T06:17:40.075Z] + OS_FAMILY=debian [2022-06-19T06:17:40.075Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-06-19T06:17:40.075Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-19T06:17:40.075Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-19T06:17:40.075Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-19T06:17:40.075Z] + PACKAGES=/tmp/packages_start.txt [2022-06-19T06:17:40.075Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-06-19T06:17:40.075Z] + PACKAGES=/tmp/packages_end.txt [2022-06-19T06:17:40.075Z] + case "${OS_FAMILY}" in [2022-06-19T06:17:40.075Z] + dpkg -l [2022-06-19T06:17:40.075Z] + grep '^ii' [2022-06-19T06:17:40.075Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-19T06:17:40.075Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-19T06:17:40.075Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-19T06:17:40.075Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-06-19T06:17:40.075Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-06-19T06:17:40.075Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-06-19T06:17:40.087Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 [2022-06-19T06:17:40.366Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:17:40.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:17:40.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:17:41.012Z] prd-ubuntu20.04-docker-8c-8g-2675 does not seem to be running inside a container [2022-06-19T06:17:41.065Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 [2022-06-19T06:17:41.287Z] $ docker top 5cdb31bcf899e3227755341acbe06b0e8bfb789c787a7b9673b3a48561875b8e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T06:17:41.631Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-19T06:17:41.920Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-19T06:17:42.213Z] + ls /var/log/sa-host [2022-06-19T06:17:42.213Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:17:42.366Z] provisioning config files... [2022-06-19T06:17:42.376Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1013429243505703936tmp [Pipeline] { [Pipeline] echo [2022-06-19T06:17:42.393Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:42.680Z] ---> create-netrc.sh [Pipeline] } [2022-06-19T06:17:42.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:43.033Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-19T06:17:43.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:43.334Z] ---> sudo-logs.sh [2022-06-19T06:17:43.335Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-19T06:17:43.366Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:43.652Z] ---> job-cost.sh [2022-06-19T06:17:43.652Z] lf-activate-venv: SKIPPING [2022-06-19T06:17:43.652Z] DEBUG: total: 0.2199999988079071 [2022-06-19T06:17:43.652Z] INFO: Retrieving Stack Cost... [2022-06-19T06:17:44.224Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-19T06:17:44.485Z] INFO: Archiving Costs [Pipeline] echo [2022-06-19T06:17:44.498Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:17:44.783Z] ---> logs-deploy.sh [2022-06-19T06:17:44.783Z] lf-activate-venv: SKIPPING [2022-06-19T06:17:44.783Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/42 [2022-06-19T06:17:44.783Z] INFO: archiving workspace using pattern(s): [2022-06-19T06:17:45.723Z] Archives upload complete. [2022-06-19T06:17:45.723Z] INFO: archiving logs to Nexus