Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 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-ssh5387363810198210753.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-ssh15679275515653892680.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/jakarta/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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5847478731247281888.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-ssh8187900783868735456.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/jakarta/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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3133206241858075818.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:true] ========================================================= [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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1769 in /w/workspace/foundry_device-modbus-go_jakarta [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/foundry_device-modbus-go_jakarta # 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 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 (jakarta) > 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 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 # timeout=10 Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#351)" > git rev-list --no-walk 57092b109f518c5f0cd5519335339fd2729553dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-08T16:09:32.782Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-08T16:09:32.844Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T16:09:32.858Z] ========================================================= [2022-06-08T16:09:32.858Z] EdgeX Global Pipelines Version Info [2022-06-08T16:09:32.858Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:09:33.657Z] ------------------- [2022-06-08T16:09:33.657Z] stable info: [2022-06-08T16:09:33.657Z] ------------------- [2022-06-08T16:09:33.657Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-08T16:09:33.657Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T16:09:33.657Z] Message: update stable to v1.0.234 [2022-06-08T16:09:34.231Z] ------------------- [2022-06-08T16:09:34.231Z] experimental info: [2022-06-08T16:09:34.231Z] ------------------- [2022-06-08T16:09:34.231Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-08T16:09:34.231Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T16:09:34.231Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-08T16:09:34.499Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-06-08T16:09:34.512Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-06-08T16:09:34.527Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-08T16:09:34.537Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-08T16:09:34.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-08T16:09:34.554Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-08T16:09:34.561Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-08T16:09:34.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-08T16:09:34.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-08T16:09:34.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-08T16:09:34.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-08T16:09:34.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-06-08T16:09:34.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-08T16:09:34.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-08T16:09:34.622Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T16:09:34.630Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T16:09:34.638Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T16:09:34.656Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T16:09:34.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-08T16:09:34.681Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-06-08T16:09:34.695Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-08T16:09:34.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-08T16:09:34.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-08T16:09:34.735Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-08T16:09:34.748Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-08T16:09:34.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-08T16:09:34.785Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-08T16:09:34.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2022-06-08T16:09:34.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2022-06-08T16:09:34.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2022-06-08T16:09:34.841Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] echo [2022-06-08T16:09:34.851Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd91d0d [Pipeline] echo [2022-06-08T16:09:34.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T16:09:34.905Z] provisioning config files... [2022-06-08T16:09:34.919Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config8590263682351684088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:09:35.224Z] ---> docker-login.sh [2022-06-08T16:09:35.224Z] nexus3.edgexfoundry.org:10001 [2022-06-08T16:09:35.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:35.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:35.746Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:35.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:35.746Z] [2022-06-08T16:09:35.746Z] Login Succeeded [2022-06-08T16:09:35.746Z] nexus3.edgexfoundry.org:10002 [2022-06-08T16:09:35.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:35.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:35.746Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:35.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:35.746Z] [2022-06-08T16:09:35.746Z] Login Succeeded [2022-06-08T16:09:35.746Z] nexus3.edgexfoundry.org:10003 [2022-06-08T16:09:36.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:36.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:36.007Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:36.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:36.007Z] [2022-06-08T16:09:36.007Z] Login Succeeded [2022-06-08T16:09:36.007Z] nexus3.edgexfoundry.org:10004 [2022-06-08T16:09:36.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:36.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:36.007Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:36.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:36.007Z] [2022-06-08T16:09:36.007Z] Login Succeeded [2022-06-08T16:09:36.007Z] docker.io [2022-06-08T16:09:36.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:36.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:36.531Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:36.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:36.531Z] [2022-06-08T16:09:36.531Z] Login Succeeded [2022-06-08T16:09:36.531Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T16:09:36.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-08T16:09:36.925Z] + git rev-list -1 --merges dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57~1..dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] echo [2022-06-08T16:09:36.962Z] -----------> git rev-list -1 --merges dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57~1..dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [false] [Pipeline] sh [2022-06-08T16:09:37.258Z] + git log --format=format:%s -1 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] echo [2022-06-08T16:09:37.275Z] ========================================================= [2022-06-08T16:09:37.275Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-08T16:09:37.275Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T16:09:37.618Z] + git log --format=format:%s -1 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] echo [2022-06-08T16:09:37.634Z] [semverPrep] GIT_COMMIT: dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57, Commit Message: fix(snap): expose parent directory in device-config plug (Jakarta) (#351) [Pipeline] echo [2022-06-08T16:09:37.642Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-08T16:09:38.015Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T16:09:38.015Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-08T16:09:38.015Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-08T16:09:38.015Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-08T16:09:38.015Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-08T16:09:38.015Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-08T16:09:38.015Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:09:38.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:09:38.443Z] [2022-06-08T16:09:38.443Z] 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-08T16:09:38.749Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:09:38.749Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-08T16:09:38.749Z] 42c077c10790: Pulling fs layer [2022-06-08T16:09:38.749Z] f63e77b7563a: Pulling fs layer [2022-06-08T16:09:38.749Z] bd5fdadae976: Pulling fs layer [2022-06-08T16:09:38.749Z] 205491f53016: Pulling fs layer [2022-06-08T16:09:38.749Z] df18705c85c3: Pulling fs layer [2022-06-08T16:09:38.749Z] bdb3f477010e: Pulling fs layer [2022-06-08T16:09:38.749Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-08T16:09:38.749Z] 2c6e9b1d212d: Pulling fs layer [2022-06-08T16:09:38.749Z] bdb8f0575790: Pulling fs layer [2022-06-08T16:09:38.749Z] 386e3cb2ff24: Pulling fs layer [2022-06-08T16:09:38.749Z] 2343380bae48: Pulling fs layer [2022-06-08T16:09:38.749Z] 205491f53016: Waiting [2022-06-08T16:09:38.749Z] df18705c85c3: Waiting [2022-06-08T16:09:38.749Z] bdb8f0575790: Waiting [2022-06-08T16:09:38.749Z] bdb3f477010e: Waiting [2022-06-08T16:09:38.749Z] c8a8fc8e1c8f: Waiting [2022-06-08T16:09:38.749Z] 2c6e9b1d212d: Waiting [2022-06-08T16:09:38.749Z] 2343380bae48: Waiting [2022-06-08T16:09:38.749Z] 386e3cb2ff24: Waiting [2022-06-08T16:09:38.749Z] f63e77b7563a: Verifying Checksum [2022-06-08T16:09:38.749Z] f63e77b7563a: Download complete [2022-06-08T16:09:39.010Z] 205491f53016: Verifying Checksum [2022-06-08T16:09:39.010Z] 205491f53016: Download complete [2022-06-08T16:09:39.010Z] df18705c85c3: Verifying Checksum [2022-06-08T16:09:39.010Z] df18705c85c3: Download complete [2022-06-08T16:09:39.010Z] bd5fdadae976: Verifying Checksum [2022-06-08T16:09:39.010Z] bd5fdadae976: Download complete [2022-06-08T16:09:39.010Z] bdb3f477010e: Verifying Checksum [2022-06-08T16:09:39.010Z] bdb3f477010e: Download complete [2022-06-08T16:09:39.010Z] 2c6e9b1d212d: Verifying Checksum [2022-06-08T16:09:39.010Z] 2c6e9b1d212d: Download complete [2022-06-08T16:09:39.010Z] bdb8f0575790: Download complete [2022-06-08T16:09:39.010Z] 386e3cb2ff24: Download complete [2022-06-08T16:09:39.010Z] 2343380bae48: Verifying Checksum [2022-06-08T16:09:39.010Z] 2343380bae48: Download complete [2022-06-08T16:09:39.010Z] 42c077c10790: Verifying Checksum [2022-06-08T16:09:39.010Z] 42c077c10790: Download complete [2022-06-08T16:09:39.580Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-08T16:09:39.580Z] c8a8fc8e1c8f: Download complete [2022-06-08T16:09:40.521Z] 42c077c10790: Pull complete [2022-06-08T16:09:40.521Z] f63e77b7563a: Pull complete [2022-06-08T16:09:41.102Z] bd5fdadae976: Pull complete [2022-06-08T16:09:41.367Z] 205491f53016: Pull complete [2022-06-08T16:09:41.628Z] df18705c85c3: Pull complete [2022-06-08T16:09:41.628Z] bdb3f477010e: Pull complete [2022-06-08T16:09:44.178Z] c8a8fc8e1c8f: Pull complete [2022-06-08T16:09:44.178Z] 2c6e9b1d212d: Pull complete [2022-06-08T16:09:44.178Z] bdb8f0575790: Pull complete [2022-06-08T16:09:44.178Z] 386e3cb2ff24: Pull complete [2022-06-08T16:09:44.178Z] 2343380bae48: Pull complete [2022-06-08T16:09:44.441Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-08T16:09:44.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:09:44.441Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:09:44.547Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:09:44.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T16:09:47.041Z] $ docker top 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 -eo pid,comm [2022-06-08T16:09:47.116Z] 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-08T16:09:47.116Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T16:09:47.150Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T16:09:47.150Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T16:09:47.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T16:09:47.282Z] $ docker exec 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 ssh-agent [2022-06-08T16:09:47.411Z] SSH_AUTH_SOCK=/tmp/ssh-nRI8IqTeZAP2/agent.32 [2022-06-08T16:09:47.411Z] SSH_AGENT_PID=39 [2022-06-08T16:09:47.419Z] Running ssh-add (command line suppressed) [2022-06-08T16:09:47.542Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_2346258855347211944.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_2346258855347211944.key) [2022-06-08T16:09:47.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T16:09:47.847Z] + git tag --points-at HEAD [Pipeline] } [2022-06-08T16:09:47.866Z] $ docker exec --env ******** --env ******** 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 ssh-agent -k [2022-06-08T16:09:47.981Z] unset SSH_AUTH_SOCK; [2022-06-08T16:09:47.981Z] unset SSH_AGENT_PID; [2022-06-08T16:09:47.982Z] echo Agent pid 39 killed; [2022-06-08T16:09:47.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-08T16:09:48.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T16:09:48.015Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T16:09:48.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T16:09:48.143Z] $ docker exec 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 ssh-agent [2022-06-08T16:09:48.269Z] SSH_AUTH_SOCK=/tmp/ssh-jg4iNGWY6Whw/agent.71 [2022-06-08T16:09:48.269Z] SSH_AGENT_PID=78 [2022-06-08T16:09:48.276Z] Running ssh-add (command line suppressed) [2022-06-08T16:09:48.405Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_4641140638886312992.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_4641140638886312992.key) [2022-06-08T16:09:48.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T16:09:48.710Z] + git semver init [2022-06-08T16:09:48.973Z] 2022-06-08 16:09:48,932 [run_init] DEBUG init version:0.0.0 force:False [2022-06-08T16:09:48.973Z] 2022-06-08 16:09:48,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-modbus-go_jakarta/.semver [2022-06-08T16:09:48.973Z] 2022-06-08 16:09:48,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/foundry_device-modbus-go_jakarta/.semver [2022-06-08T16:09:48.973Z] 2022-06-08 16:09:48,934 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/foundry_device-modbus-go_jakarta/.semver'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:09:49.919Z] 2022-06-08 16:09:49,682 [append_file] DEBUG append to file:/w/workspace/foundry_device-modbus-go_jakarta/.git/info/exclude [2022-06-08T16:09:49.919Z] 2022-06-08 16:09:49,682 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta with force:False [2022-06-08T16:09:49.919Z] 2022-06-08 16:09:49,682 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:09:49.919Z] 2022-06-08 16:09:49,682 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:09:49.919Z] 2.1.1-dev.3 [Pipeline] } [2022-06-08T16:09:49.933Z] $ docker exec --env ******** --env ******** 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 ssh-agent -k [2022-06-08T16:09:50.040Z] unset SSH_AUTH_SOCK; [2022-06-08T16:09:50.041Z] unset SSH_AGENT_PID; [2022-06-08T16:09:50.041Z] echo Agent pid 78 killed; [2022-06-08T16:09:50.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T16:09:50.356Z] + git semver [Pipeline] } [2022-06-08T16:09:50.642Z] $ docker stop --time=1 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 [2022-06-08T16:09:52.029Z] $ docker rm -f 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T16:09:52.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-08T16:09:52.690Z] Stashed 1 file(s) [Pipeline] echo [2022-06-08T16:09:52.693Z] [edgeXSemver]: initialized semver on version 2.1.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-08T16:09:52.794Z] provisioning config files... [2022-06-08T16:09:52.805Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config6718082753838540631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:09:53.108Z] ---> docker-login.sh [2022-06-08T16:09:53.108Z] nexus3.edgexfoundry.org:10001 [2022-06-08T16:09:53.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:53.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:53.108Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:53.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:53.108Z] [2022-06-08T16:09:53.108Z] Login Succeeded [2022-06-08T16:09:53.109Z] nexus3.edgexfoundry.org:10002 [2022-06-08T16:09:53.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:53.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:53.370Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:53.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:53.370Z] [2022-06-08T16:09:53.370Z] Login Succeeded [2022-06-08T16:09:53.370Z] nexus3.edgexfoundry.org:10003 [2022-06-08T16:09:53.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:53.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:53.370Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:53.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:53.370Z] [2022-06-08T16:09:53.370Z] Login Succeeded [2022-06-08T16:09:53.370Z] nexus3.edgexfoundry.org:10004 [2022-06-08T16:09:53.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:53.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:53.632Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:53.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:53.632Z] [2022-06-08T16:09:53.632Z] Login Succeeded [2022-06-08T16:09:53.632Z] docker.io [2022-06-08T16:09:53.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:09:53.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:09:53.893Z] Configure a credential helper to remove this warning. See [2022-06-08T16:09:53.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:09:53.893Z] [2022-06-08T16:09:53.893Z] Login Succeeded [2022-06-08T16:09:53.893Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T16:09:53.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T16:09:53.960Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-06-08T16:09:54.250Z] + + grep ^go [0-9].[0-9]* go.mod [2022-06-08T16:09:54.250Z] cut -d -f 2 [Pipeline] echo [2022-06-08T16:09:54.267Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T16:09:54.277Z] ========================================================= [2022-06-08T16:09:54.277Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] [2022-06-08T16:09:54.277Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:09:54.593Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-08T16:09:54.593Z] Sending build context to Docker daemon 17.19MB [2022-06-08T16:09:54.593Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T16:09:54.593Z] Step 2/9 : FROM ${BASE} AS builder [2022-06-08T16:09:54.853Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-08T16:09:54.853Z] a0d0a0d46f8b: Pulling fs layer [2022-06-08T16:09:54.853Z] 31adcdaf11c8: Pulling fs layer [2022-06-08T16:09:54.853Z] b8b176561691: Pulling fs layer [2022-06-08T16:09:54.853Z] 4527c011a84f: Pulling fs layer [2022-06-08T16:09:54.853Z] 5d74067f8e1e: Pulling fs layer [2022-06-08T16:09:54.853Z] fd57009d33ed: Pulling fs layer [2022-06-08T16:09:54.853Z] 6b058263d067: Pulling fs layer [2022-06-08T16:09:54.853Z] 16d7c86c65f4: Pulling fs layer [2022-06-08T16:09:54.853Z] 1290d154cb4b: Pulling fs layer [2022-06-08T16:09:54.853Z] 4527c011a84f: Waiting [2022-06-08T16:09:54.853Z] 16d7c86c65f4: Waiting [2022-06-08T16:09:54.853Z] 1290d154cb4b: Waiting [2022-06-08T16:09:54.853Z] 5d74067f8e1e: Waiting [2022-06-08T16:09:54.853Z] 6b058263d067: Waiting [2022-06-08T16:09:54.853Z] fd57009d33ed: Waiting [2022-06-08T16:09:54.853Z] b8b176561691: Verifying Checksum [2022-06-08T16:09:54.853Z] b8b176561691: Download complete [2022-06-08T16:09:54.853Z] 31adcdaf11c8: Download complete [2022-06-08T16:09:54.853Z] 5d74067f8e1e: Verifying Checksum [2022-06-08T16:09:54.853Z] 5d74067f8e1e: Download complete [2022-06-08T16:09:54.853Z] fd57009d33ed: Verifying Checksum [2022-06-08T16:09:54.853Z] fd57009d33ed: Download complete [2022-06-08T16:09:54.853Z] 6b058263d067: Verifying Checksum [2022-06-08T16:09:54.853Z] 6b058263d067: Download complete [2022-06-08T16:09:54.853Z] a0d0a0d46f8b: Download complete [2022-06-08T16:09:55.113Z] 16d7c86c65f4: Verifying Checksum [2022-06-08T16:09:55.113Z] 16d7c86c65f4: Download complete [2022-06-08T16:09:55.113Z] a0d0a0d46f8b: Pull complete [2022-06-08T16:09:55.375Z] 31adcdaf11c8: Pull complete [2022-06-08T16:09:55.375Z] b8b176561691: Pull complete [2022-06-08T16:09:55.634Z] 4527c011a84f: Verifying Checksum [2022-06-08T16:09:55.634Z] 4527c011a84f: Download complete [2022-06-08T16:09:55.634Z] 1290d154cb4b: Verifying Checksum [2022-06-08T16:09:55.634Z] 1290d154cb4b: Download complete [2022-06-08T16:09:59.841Z] 4527c011a84f: Pull complete [2022-06-08T16:09:59.841Z] 5d74067f8e1e: Pull complete [2022-06-08T16:09:59.841Z] fd57009d33ed: Pull complete [2022-06-08T16:09:59.841Z] 6b058263d067: Pull complete [2022-06-08T16:09:59.841Z] 16d7c86c65f4: Pull complete [2022-06-08T16:10:01.752Z] 1290d154cb4b: Pull complete [2022-06-08T16:10:01.752Z] Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 [2022-06-08T16:10:01.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts [2022-06-08T16:10:01.752Z] ---> de6a6ee31cbe [2022-06-08T16:10:01.752Z] Step 3/9 : ARG MAKE='make build' [2022-06-08T16:10:04.316Z] ---> Running in 53442caa1a47 [2022-06-08T16:10:04.316Z] Removing intermediate container 53442caa1a47 [2022-06-08T16:10:04.316Z] ---> a3960728e35c [2022-06-08T16:10:04.316Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T16:10:04.578Z] ---> Running in 4692bce79311 [2022-06-08T16:10:05.148Z] Removing intermediate container 4692bce79311 [2022-06-08T16:10:05.148Z] ---> 09ea1c6882f3 [2022-06-08T16:10:05.148Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-08T16:10:05.148Z] ---> Running in 8e2f911c6c28 [2022-06-08T16:10:05.408Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T16:10:06.351Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T16:10:06.612Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2022-06-08T16:10:06.612Z] (2/8) Installing libedit (20210216.3.1-r0) [2022-06-08T16:10:06.612Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2022-06-08T16:10:06.873Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2022-06-08T16:10:06.873Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2022-06-08T16:10:07.134Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2022-06-08T16:10:07.134Z] (7/8) Installing openssh-server (8.6_p1-r3) [2022-06-08T16:10:07.134Z] (8/8) Installing openssh (8.6_p1-r3) [2022-06-08T16:10:07.431Z] Executing busybox-1.33.1-r3.trigger [2022-06-08T16:10:07.431Z] OK: 226 MiB in 60 packages [2022-06-08T16:10:07.693Z] Removing intermediate container 8e2f911c6c28 [2022-06-08T16:10:07.693Z] ---> 8eae8798be07 [2022-06-08T16:10:07.693Z] Step 6/9 : WORKDIR /device-modbus-go [2022-06-08T16:10:07.767Z] Still waiting to schedule task [2022-06-08T16:10:07.768Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-08T16:10:07.953Z] ---> Running in 4e637f269a9b [2022-06-08T16:10:07.954Z] Removing intermediate container 4e637f269a9b [2022-06-08T16:10:07.954Z] ---> 672b940d1092 [2022-06-08T16:10:07.954Z] Step 7/9 : COPY . . [2022-06-08T16:10:08.904Z] ---> 6c68a03a3469 [2022-06-08T16:10:08.904Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T16:10:09.164Z] ---> Running in a3a4e2660797 [2022-06-08T16:10:09.424Z] skipping... [2022-06-08T16:10:09.685Z] Removing intermediate container a3a4e2660797 [2022-06-08T16:10:09.685Z] ---> 1207a45dcaa7 [2022-06-08T16:10:09.685Z] Step 9/9 : RUN ${MAKE} [2022-06-08T16:10:09.685Z] ---> Running in c606be033e90 [2022-06-08T16:10:10.258Z] noop [2022-06-08T16:10:10.518Z] Removing intermediate container c606be033e90 [2022-06-08T16:10:10.518Z] ---> e08ba7e05059 [2022-06-08T16:10:10.518Z] Successfully built e08ba7e05059 [2022-06-08T16:10:10.518Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:10.836Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T16:10:10.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:10:10.932Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:10:10.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-08T16:10:11.438Z] $ docker top d3e38c4d5cfea4df14789a589164365d6461cbf067231e7d05b6e605bc40f981 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T16:10:11.801Z] + go version [2022-06-08T16:10:11.801Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-06-08T16:10:11.819Z] $ docker stop --time=1 d3e38c4d5cfea4df14789a589164365d6461cbf067231e7d05b6e605bc40f981 [2022-06-08T16:10:13.104Z] $ docker rm -f d3e38c4d5cfea4df14789a589164365d6461cbf067231e7d05b6e605bc40f981 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:13.505Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T16:10:13.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:10:13.583Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:10:13.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-08T16:10:14.008Z] $ docker top c49aa675d2ce2e144eed2bc50ff4cf5949039ef786058b6b56e40da039200749 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T16:10:14.410Z] + make test [2022-06-08T16:10:14.411Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-08T16:10:14.737Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-08T16:10:22.907Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-08T16:10:22.907Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.021s coverage: 46.6% of statements [2022-06-08T16:10:22.907Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T16:10:26.200Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T16:10:26.200Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T16:10:26.200Z] ./bin/test-attribution-txt.sh [2022-06-08T16:10:27.145Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-08T16:10:27.145Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-08T16:10:27.145Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-08T16:10:27.406Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-08T16:10:27.406Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-08T16:10:27.406Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-08T16:10:27.406Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-08T16:10:27.406Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-08T16:10:27.406Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-08T16:10:27.406Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-08T16:10:27.406Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-08T16:10:27.406Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-08T16:10:27.406Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-08T16:10:27.406Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-08T16:10:27.406Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-08T16:10:27.406Z] go: downloading github.com/goburrow/serial v0.1.0 [2022-06-08T16:10:27.406Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-08T16:10:27.667Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-08T16:10:27.667Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-08T16:10:27.667Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-08T16:10:27.667Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-08T16:10:27.667Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-08T16:10:27.667Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-08T16:10:27.667Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-08T16:10:27.667Z] go: downloading golang.org/x/text v0.3.6 [2022-06-08T16:10:27.667Z] go: downloading github.com/goburrow/modbus v0.1.0 [2022-06-08T16:10:27.667Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-08T16:10:27.667Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-08T16:10:27.667Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-08T16:10:27.667Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-08T16:10:27.667Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-08T16:10:27.667Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-08T16:10:27.667Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-08T16:10:27.667Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-08T16:10:27.929Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-08T16:10:27.929Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-08T16:10:27.929Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-08T16:10:27.929Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-08T16:10:27.929Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-08T16:10:27.929Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-08T16:10:27.929Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-08T16:10:27.929Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-08T16:10:27.929Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-08T16:10:29.339Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-08T16:10:29.726Z] + go mod tidy [2022-06-08T16:10:29.726Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-08T16:10:29.726Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-08T16:10:29.726Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-08T16:10:29.726Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-08T16:10:29.726Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-08T16:10:29.726Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-08T16:10:29.726Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-08T16:10:29.988Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-08T16:10:29.988Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-08T16:10:29.988Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-08T16:10:29.988Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-08T16:10:29.988Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-08T16:10:29.988Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-08T16:10:29.988Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-08T16:10:29.988Z] go: downloading github.com/kr/text v0.2.0 [2022-06-08T16:10:29.988Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-08T16:10:29.988Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-08T16:10:29.988Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-08T16:10:29.988Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-08T16:10:29.988Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-08T16:10:29.988Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-08T16:10:29.988Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-08T16:10:29.988Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-08T16:10:29.989Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-08T16:10:30.264Z] $ docker stop --time=1 c49aa675d2ce2e144eed2bc50ff4cf5949039ef786058b6b56e40da039200749 [2022-06-08T16:10:32.750Z] $ docker rm -f c49aa675d2ce2e144eed2bc50ff4cf5949039ef786058b6b56e40da039200749 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T16:10:33.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T16:10:33.357Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-08T16:10:33.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T16:10:34.151Z] + ls -al . [2022-06-08T16:10:34.151Z] total 192 [2022-06-08T16:10:34.151Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 16:10 . [2022-06-08T16:10:34.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:09 .. [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 16:09 .dockerignore [2022-06-08T16:10:34.151Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 16:09 .git [2022-06-08T16:10:34.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:09 .github [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 323 Jun 8 16:09 .gitignore [2022-06-08T16:10:34.151Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 16:09 .semver [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 8010 Jun 8 16:09 Attribution.txt [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 6297 Jun 8 16:09 CHANGELOG.md [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 1523 Jun 8 16:09 Dockerfile [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:09 GOVERNANCE.md [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 8 16:09 Jenkinsfile [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 16:09 LICENSE [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 1009 Jun 8 16:09 Makefile [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 8 16:09 OWNERS.md [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jun 8 16:09 README.md [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 16:09 VERSION [2022-06-08T16:10:34.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:09 bin [2022-06-08T16:10:34.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:09 cmd [2022-06-08T16:10:34.151Z] -rw-r--r-- 1 jenkins jenkins 23727 Jun 8 16:10 coverage.out [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 294 Jun 8 16:10 go.mod [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 49487 Jun 8 16:09 go.sum [2022-06-08T16:10:34.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:09 internal [2022-06-08T16:10:34.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:09 simulator [2022-06-08T16:10:34.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:09 snap [2022-06-08T16:10:34.151Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 16:09 vendor [2022-06-08T16:10:34.151Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 8 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:34.462Z] + 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=dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 --label arch=amd64 --label version=2.1.1-dev.3 . [2022-06-08T16:10:34.762Z] Sending build context to Docker daemon 17.21MB [2022-06-08T16:10:34.762Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T16:10:34.762Z] Step 2/22 : FROM ${BASE} AS builder [2022-06-08T16:10:34.762Z] ---> e08ba7e05059 [2022-06-08T16:10:34.762Z] Step 3/22 : ARG MAKE='make build' [2022-06-08T16:10:35.022Z] ---> Running in a48b0ba693e7 [2022-06-08T16:10:35.022Z] Removing intermediate container a48b0ba693e7 [2022-06-08T16:10:35.022Z] ---> 3d50e8b7f38e [2022-06-08T16:10:35.022Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T16:10:35.022Z] ---> Running in be9666f9ada5 [2022-06-08T16:10:35.592Z] Removing intermediate container be9666f9ada5 [2022-06-08T16:10:35.592Z] ---> a077207b9df9 [2022-06-08T16:10:35.592Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-08T16:10:35.852Z] ---> Running in 16ff251141cb [2022-06-08T16:10:36.113Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T16:10:37.055Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T16:10:37.055Z] OK: 226 MiB in 60 packages [2022-06-08T16:10:37.626Z] Removing intermediate container 16ff251141cb [2022-06-08T16:10:37.626Z] ---> 6e08bd7c3897 [2022-06-08T16:10:37.626Z] Step 6/22 : WORKDIR /device-modbus-go [2022-06-08T16:10:37.626Z] ---> Running in 1170c004250a [2022-06-08T16:10:37.626Z] Removing intermediate container 1170c004250a [2022-06-08T16:10:37.626Z] ---> f09c9f24bf95 [2022-06-08T16:10:37.626Z] Step 7/22 : COPY . . [2022-06-08T16:10:39.006Z] ---> f4b8b832bf83 [2022-06-08T16:10:39.006Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T16:10:39.006Z] ---> Running in 7c7d6ccacd8e [2022-06-08T16:10:39.006Z] skipping... [2022-06-08T16:10:39.576Z] Removing intermediate container 7c7d6ccacd8e [2022-06-08T16:10:39.576Z] ---> 61661d7ad725 [2022-06-08T16:10:39.576Z] Step 9/22 : RUN ${MAKE} [2022-06-08T16:10:39.576Z] ---> Running in f9c1f2c1fb0f [2022-06-08T16:10:39.835Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.1.1-dev.3" -o cmd/device-modbus ./cmd [2022-06-08T16:10:47.961Z] Removing intermediate container f9c1f2c1fb0f [2022-06-08T16:10:47.961Z] ---> dae20767c90d [2022-06-08T16:10:47.961Z] Step 10/22 : FROM alpine:3.14 [2022-06-08T16:10:47.961Z] 3.14: Pulling from library/alpine [2022-06-08T16:10:47.961Z] 8663204ce13b: Pulling fs layer [2022-06-08T16:10:47.961Z] 8663204ce13b: Verifying Checksum [2022-06-08T16:10:47.961Z] 8663204ce13b: Download complete [2022-06-08T16:10:47.961Z] 8663204ce13b: Pull complete [2022-06-08T16:10:47.961Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-08T16:10:47.961Z] Status: Downloaded newer image for alpine:3.14 [2022-06-08T16:10:48.221Z] ---> e04c818066af [2022-06-08T16:10:48.221Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-08T16:10:48.221Z] ---> Running in f60190163bb7 [2022-06-08T16:10:48.221Z] Removing intermediate container f60190163bb7 [2022-06-08T16:10:48.221Z] ---> 203fc76ede6f [2022-06-08T16:10:48.221Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T16:10:48.479Z] ---> Running in f837976299cb [2022-06-08T16:10:49.053Z] Removing intermediate container f837976299cb [2022-06-08T16:10:49.053Z] ---> 38f4e1f203c7 [2022-06-08T16:10:49.053Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T16:10:49.053Z] ---> Running in d672e157b6e4 [2022-06-08T16:10:49.313Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T16:10:50.254Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T16:10:50.254Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T16:10:50.514Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-08T16:10:50.514Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T16:10:50.514Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-08T16:10:50.775Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T16:10:50.775Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T16:10:50.775Z] Executing busybox-1.33.1-r7.trigger [2022-06-08T16:10:50.775Z] OK: 8 MiB in 20 packages [2022-06-08T16:10:51.344Z] Removing intermediate container d672e157b6e4 [2022-06-08T16:10:51.344Z] ---> eb9b01098367 [2022-06-08T16:10:51.344Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-06-08T16:10:51.609Z] ---> 709c0814467e [2022-06-08T16:10:51.609Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-08T16:10:51.876Z] ---> 7c398e9c57d8 [2022-06-08T16:10:51.876Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-08T16:10:51.876Z] ---> 8d8d01d2cee6 [2022-06-08T16:10:51.876Z] Step 17/22 : EXPOSE 59901 [2022-06-08T16:10:52.138Z] ---> Running in e5f73318cb98 [2022-06-08T16:10:52.138Z] Removing intermediate container e5f73318cb98 [2022-06-08T16:10:52.138Z] ---> 30a8be2290b3 [2022-06-08T16:10:52.138Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-06-08T16:10:52.138Z] ---> Running in 37b051e6b694 [2022-06-08T16:10:52.399Z] Removing intermediate container 37b051e6b694 [2022-06-08T16:10:52.399Z] ---> 02fec3378e6f [2022-06-08T16:10:52.399Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-08T16:10:52.399Z] ---> Running in 3afbb3b0edcb [2022-06-08T16:10:52.399Z] Removing intermediate container 3afbb3b0edcb [2022-06-08T16:10:52.399Z] ---> 39683ada27ef [2022-06-08T16:10:52.399Z] Step 20/22 : LABEL arch=amd64 [2022-06-08T16:10:52.399Z] ---> Running in b288e190f9b2 [2022-06-08T16:10:52.399Z] Removing intermediate container b288e190f9b2 [2022-06-08T16:10:52.399Z] ---> 21ca241db664 [2022-06-08T16:10:52.399Z] Step 21/22 : LABEL git_sha=dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [2022-06-08T16:10:52.659Z] ---> Running in 1cc5fc1f5ff1 [2022-06-08T16:10:52.659Z] Removing intermediate container 1cc5fc1f5ff1 [2022-06-08T16:10:52.659Z] ---> 2ff4d365cf4c [2022-06-08T16:10:52.659Z] Step 22/22 : LABEL version=2.1.1-dev.3 [2022-06-08T16:10:52.659Z] ---> Running in bd4f0ada23f5 [2022-06-08T16:10:52.920Z] Removing intermediate container bd4f0ada23f5 [2022-06-08T16:10:52.920Z] ---> 84b3273f473f [2022-06-08T16:10:52.920Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T16:10:52.920Z] Successfully built 84b3273f473f [2022-06-08T16:10:52.920Z] 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-08T16:10:53.000Z] provisioning config files... [2022-06-08T16:10:53.011Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config4904374177424179674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:10:53.309Z] ---> docker-login.sh [2022-06-08T16:10:53.309Z] nexus3.edgexfoundry.org:10001 [2022-06-08T16:10:53.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:10:53.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:10:53.309Z] Configure a credential helper to remove this warning. See [2022-06-08T16:10:53.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:10:53.309Z] [2022-06-08T16:10:53.309Z] Login Succeeded [2022-06-08T16:10:53.309Z] nexus3.edgexfoundry.org:10002 [2022-06-08T16:10:53.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:10:53.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:10:53.309Z] Configure a credential helper to remove this warning. See [2022-06-08T16:10:53.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:10:53.309Z] [2022-06-08T16:10:53.309Z] Login Succeeded [2022-06-08T16:10:53.309Z] nexus3.edgexfoundry.org:10003 [2022-06-08T16:10:53.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:10:53.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:10:53.569Z] Configure a credential helper to remove this warning. See [2022-06-08T16:10:53.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:10:53.569Z] [2022-06-08T16:10:53.569Z] Login Succeeded [2022-06-08T16:10:53.569Z] nexus3.edgexfoundry.org:10004 [2022-06-08T16:10:53.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:10:53.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:10:53.829Z] Configure a credential helper to remove this warning. See [2022-06-08T16:10:53.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:10:53.829Z] [2022-06-08T16:10:53.829Z] Login Succeeded [2022-06-08T16:10:53.829Z] docker.io [2022-06-08T16:10:53.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:10:54.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:10:54.090Z] Configure a credential helper to remove this warning. See [2022-06-08T16:10:54.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:10:54.090Z] [2022-06-08T16:10:54.090Z] Login Succeeded [2022-06-08T16:10:54.090Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T16:10:54.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T16:10:54.129Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T16:10:54.159Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-06-08T16:10:54.159Z] dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [2022-06-08T16:10:54.159Z] 2.1.1-dev.3 [2022-06-08T16:10:54.159Z] dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 [2022-06-08T16:10:54.159Z] jakarta [2022-06-08T16:10:54.159Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:54.493Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:54.803Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [2022-06-08T16:10:54.803Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-08T16:10:54.803Z] 9693649ca585: Preparing [2022-06-08T16:10:54.803Z] e105b09d08d7: Preparing [2022-06-08T16:10:54.803Z] 56fe1d4cd50a: Preparing [2022-06-08T16:10:54.803Z] 7964513b82f9: Preparing [2022-06-08T16:10:54.803Z] 07d54cd74426: Preparing [2022-06-08T16:10:54.803Z] b541d28bf3b4: Preparing [2022-06-08T16:10:54.803Z] b541d28bf3b4: Waiting [2022-06-08T16:10:54.803Z] 07d54cd74426: Pushed [2022-06-08T16:10:54.803Z] e105b09d08d7: Pushed [2022-06-08T16:10:54.803Z] 9693649ca585: Pushed [2022-06-08T16:10:54.803Z] b541d28bf3b4: Layer already exists [2022-06-08T16:10:55.064Z] 7964513b82f9: Pushed [2022-06-08T16:10:56.460Z] 56fe1d4cd50a: Pushed [2022-06-08T16:10:56.460Z] dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57: digest: sha256:61920171348ef260a1975275acec98cde78ee11cf32cabb90f42d6cb3d7a2b9d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:56.781Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:57.093Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.1.1-dev.3 [2022-06-08T16:10:57.093Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-08T16:10:57.093Z] 9693649ca585: Preparing [2022-06-08T16:10:57.093Z] e105b09d08d7: Preparing [2022-06-08T16:10:57.093Z] 56fe1d4cd50a: Preparing [2022-06-08T16:10:57.093Z] 7964513b82f9: Preparing [2022-06-08T16:10:57.093Z] 07d54cd74426: Preparing [2022-06-08T16:10:57.093Z] b541d28bf3b4: Preparing [2022-06-08T16:10:57.093Z] b541d28bf3b4: Waiting [2022-06-08T16:10:57.093Z] 9693649ca585: Layer already exists [2022-06-08T16:10:57.093Z] 56fe1d4cd50a: Layer already exists [2022-06-08T16:10:57.093Z] 7964513b82f9: Layer already exists [2022-06-08T16:10:57.093Z] 07d54cd74426: Layer already exists [2022-06-08T16:10:57.093Z] e105b09d08d7: Layer already exists [2022-06-08T16:10:57.093Z] b541d28bf3b4: Layer already exists [2022-06-08T16:10:57.093Z] 2.1.1-dev.3: digest: sha256:61920171348ef260a1975275acec98cde78ee11cf32cabb90f42d6cb3d7a2b9d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:57.408Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:57.720Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 [2022-06-08T16:10:57.720Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-08T16:10:57.720Z] 9693649ca585: Preparing [2022-06-08T16:10:57.720Z] e105b09d08d7: Preparing [2022-06-08T16:10:57.720Z] 56fe1d4cd50a: Preparing [2022-06-08T16:10:57.720Z] 7964513b82f9: Preparing [2022-06-08T16:10:57.720Z] 07d54cd74426: Preparing [2022-06-08T16:10:57.720Z] b541d28bf3b4: Preparing [2022-06-08T16:10:57.720Z] b541d28bf3b4: Waiting [2022-06-08T16:10:57.720Z] 56fe1d4cd50a: Layer already exists [2022-06-08T16:10:57.720Z] e105b09d08d7: Layer already exists [2022-06-08T16:10:57.720Z] 9693649ca585: Layer already exists [2022-06-08T16:10:57.720Z] 7964513b82f9: Layer already exists [2022-06-08T16:10:57.720Z] 07d54cd74426: Layer already exists [2022-06-08T16:10:57.720Z] b541d28bf3b4: Layer already exists [2022-06-08T16:10:57.720Z] dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3: digest: sha256:61920171348ef260a1975275acec98cde78ee11cf32cabb90f42d6cb3d7a2b9d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:58.041Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:58.358Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:jakarta [2022-06-08T16:10:58.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-08T16:10:58.358Z] 9693649ca585: Preparing [2022-06-08T16:10:58.358Z] e105b09d08d7: Preparing [2022-06-08T16:10:58.358Z] 56fe1d4cd50a: Preparing [2022-06-08T16:10:58.358Z] 7964513b82f9: Preparing [2022-06-08T16:10:58.358Z] 07d54cd74426: Preparing [2022-06-08T16:10:58.358Z] b541d28bf3b4: Preparing [2022-06-08T16:10:58.358Z] b541d28bf3b4: Waiting [2022-06-08T16:10:58.358Z] 9693649ca585: Layer already exists [2022-06-08T16:10:58.358Z] 56fe1d4cd50a: Layer already exists [2022-06-08T16:10:58.358Z] e105b09d08d7: Layer already exists [2022-06-08T16:10:58.358Z] 7964513b82f9: Layer already exists [2022-06-08T16:10:58.358Z] 07d54cd74426: Layer already exists [2022-06-08T16:10:58.358Z] b541d28bf3b4: Layer already exists [2022-06-08T16:10:58.358Z] jakarta: digest: sha256:61920171348ef260a1975275acec98cde78ee11cf32cabb90f42d6cb3d7a2b9d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T16:10:58.405Z] ===================================================== [Pipeline] echo [2022-06-08T16:10:58.413Z] taggedImages: [2022-06-08T16:10:58.413Z] - nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [2022-06-08T16:10:58.413Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.1.1-dev.3 [2022-06-08T16:10:58.413Z] - nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 [2022-06-08T16:10:58.413Z] - nexus3.edgexfoundry.org:10004/device-modbus:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:58.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T16:10:58.815Z] [2022-06-08T16:10:58.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:10:59.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T16:10:59.120Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-08T16:10:59.120Z] 5eb5b503b376: Pulling fs layer [2022-06-08T16:10:59.120Z] 5c69ac0246d0: Pulling fs layer [2022-06-08T16:10:59.120Z] ec43610c2a17: Pulling fs layer [2022-06-08T16:10:59.120Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-08T16:10:59.120Z] 33b1e0a273af: Pulling fs layer [2022-06-08T16:10:59.120Z] 5d3b04190fa2: Pulling fs layer [2022-06-08T16:10:59.120Z] 33b1e0a273af: Waiting [2022-06-08T16:10:59.120Z] 3a2ae6a8a46f: Waiting [2022-06-08T16:10:59.120Z] 5d3b04190fa2: Waiting [2022-06-08T16:10:59.120Z] 2f39f015ded8: Pulling fs layer [2022-06-08T16:10:59.120Z] 5c69ac0246d0: Verifying Checksum [2022-06-08T16:10:59.120Z] 5c69ac0246d0: Download complete [2022-06-08T16:10:59.120Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-08T16:10:59.120Z] 3a2ae6a8a46f: Download complete [2022-06-08T16:10:59.120Z] 33b1e0a273af: Verifying Checksum [2022-06-08T16:10:59.120Z] 33b1e0a273af: Download complete [2022-06-08T16:10:59.120Z] 5d3b04190fa2: Download complete [2022-06-08T16:10:59.120Z] ec43610c2a17: Verifying Checksum [2022-06-08T16:10:59.380Z] 5eb5b503b376: Download complete [2022-06-08T16:10:59.951Z] 2f39f015ded8: Verifying Checksum [2022-06-08T16:10:59.951Z] 2f39f015ded8: Download complete [2022-06-08T16:11:00.891Z] 5eb5b503b376: Pull complete [2022-06-08T16:11:00.891Z] 5c69ac0246d0: Pull complete [2022-06-08T16:11:01.151Z] ec43610c2a17: Pull complete [2022-06-08T16:11:01.411Z] 3a2ae6a8a46f: Pull complete [2022-06-08T16:11:01.671Z] 33b1e0a273af: Pull complete [2022-06-08T16:11:01.671Z] 5d3b04190fa2: Pull complete [2022-06-08T16:11:05.888Z] 2f39f015ded8: Pull complete [2022-06-08T16:11:05.888Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-08T16:11:05.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T16:11:05.888Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:11:05.985Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:11:06.030Z] $ 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/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@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-08T16:11:08.010Z] $ docker top a89890f134fccd2f47c3e7a569399b072f72bf687f4a311d5fc34e39d1916561 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:11:08.412Z] ---> job-cost.sh [2022-06-08T16:11:08.412Z] lf-activate-venv: SKIPPING [2022-06-08T16:11:08.412Z] INFO: No Stack... [2022-06-08T16:11:08.672Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T16:11:09.241Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T16:11:09.532Z] + cut -d, -f6 [2022-06-08T16:11:09.532Z] + cat /w/workspace/foundry_device-modbus-go_jakarta/archives/cost.csv [Pipeline] lock [2022-06-08T16:11:09.547Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [2022-06-08T16:11:09.554Z] Resource [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] did not exist. Created. [2022-06-08T16:11:09.554Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T16:11:09.858Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-08T16:11:09.916Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T16:11:09.922Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T16:11:09.947Z] $ docker stop --time=1 a89890f134fccd2f47c3e7a569399b072f72bf687f4a311d5fc34e39d1916561 [2022-06-08T16:11:11.183Z] $ docker rm -f a89890f134fccd2f47c3e7a569399b072f72bf687f4a311d5fc34e39d1916561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-08T16:11:46.447Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1771 in /w/workspace/foundry_device-modbus-go_jakarta [Pipeline] { [Pipeline] ws [2022-06-08T16:11:46.459Z] Running in /w/workspace/device-modbus-go/6 [Pipeline] { [Pipeline] checkout [2022-06-08T16:11:46.518Z] Selected Git installation does not exist. Using Default [2022-06-08T16:11:46.518Z] The recommended git tool is: NONE [2022-06-08T16:11:51.605Z] using credential edgex-jenkins-ssh [2022-06-08T16:11:51.625Z] Cloning the remote Git repository [2022-06-08T16:11:51.680Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-06-08T16:11:51.755Z] > git init /w/workspace/device-modbus-go/6 # timeout=10 [2022-06-08T16:11:52.964Z] Avoid second fetch [2022-06-08T16:11:52.964Z] Checking out Revision dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 (jakarta) [2022-06-08T16:11:51.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-08T16:11:51.849Z] > git --version # timeout=10 [2022-06-08T16:11:51.868Z] > git --version # 'git version 2.25.1' [2022-06-08T16:11:51.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T16:11:51.973Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T16:11:52.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-08T16:11:52.946Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T16:11:52.987Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T16:11:53.000Z] > git checkout -f dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 # timeout=10 [2022-06-08T16:11:57.479Z] Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#351)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T16:11:58.397Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-08T16:11:58.397Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T16:11:58.397Z] Dload Upload Total Spent Left Speed [2022-06-08T16:11:58.397Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-06-08T16:11:59.073Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-08T16:11:59.474Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-08T16:11:59.474Z] + sudo tee /etc/docker/daemon.new [2022-06-08T16:11:59.474Z] { [2022-06-08T16:11:59.474Z] "registry-mirrors": [ [2022-06-08T16:11:59.474Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-08T16:11:59.474Z] ], [2022-06-08T16:11:59.474Z] "bip": "10.250.0.254/24", [2022-06-08T16:11:59.474Z] "hosts": [ [2022-06-08T16:11:59.474Z] "tcp://0.0.0.0:5555", [2022-06-08T16:11:59.474Z] "unix:///var/run/docker.sock" [2022-06-08T16:11:59.474Z] ], [2022-06-08T16:11:59.474Z] "mtu": 1458, [2022-06-08T16:11:59.474Z] "selinux-enabled": true, [2022-06-08T16:11:59.474Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-08T16:11:59.474Z] } [Pipeline] sh [2022-06-08T16:11:59.827Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-08T16:12:00.168Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T16:12:18.506Z] provisioning config files... [2022-06-08T16:12:18.533Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config69954016886484512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:12:18.893Z] ---> docker-login.sh [2022-06-08T16:12:18.893Z] nexus3.edgexfoundry.org:10001 [2022-06-08T16:12:19.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:12:19.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:12:19.765Z] Configure a credential helper to remove this warning. See [2022-06-08T16:12:19.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:12:19.765Z] [2022-06-08T16:12:19.765Z] Login Succeeded [2022-06-08T16:12:19.765Z] nexus3.edgexfoundry.org:10002 [2022-06-08T16:12:20.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:12:20.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:12:20.314Z] Configure a credential helper to remove this warning. See [2022-06-08T16:12:20.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:12:20.314Z] [2022-06-08T16:12:20.314Z] Login Succeeded [2022-06-08T16:12:20.314Z] nexus3.edgexfoundry.org:10003 [2022-06-08T16:12:20.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:12:20.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:12:20.594Z] Configure a credential helper to remove this warning. See [2022-06-08T16:12:20.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:12:20.594Z] [2022-06-08T16:12:20.594Z] Login Succeeded [2022-06-08T16:12:20.594Z] nexus3.edgexfoundry.org:10004 [2022-06-08T16:12:21.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:12:21.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:12:21.199Z] Configure a credential helper to remove this warning. See [2022-06-08T16:12:21.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:12:21.199Z] [2022-06-08T16:12:21.199Z] Login Succeeded [2022-06-08T16:12:21.199Z] docker.io [2022-06-08T16:12:21.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:12:22.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:12:22.073Z] Configure a credential helper to remove this warning. See [2022-06-08T16:12:22.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:12:22.073Z] [2022-06-08T16:12:22.073Z] Login Succeeded [2022-06-08T16:12:22.073Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T16:12:22.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T16:12:22.616Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-06-08T16:12:22.951Z] + cut -d -f 2 [2022-06-08T16:12:22.951Z] + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo [2022-06-08T16:12:23.011Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T16:12:23.022Z] ========================================================= [2022-06-08T16:12:23.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] [2022-06-08T16:12:23.022Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:12:23.388Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-08T16:12:24.840Z] Sending build context to Docker daemon 14.3MB [2022-06-08T16:12:24.840Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T16:12:24.840Z] Step 2/9 : FROM ${BASE} AS builder [2022-06-08T16:12:24.840Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-08T16:12:24.840Z] 552d1f2373af: Pulling fs layer [2022-06-08T16:12:24.840Z] ea3f2d53f512: Pulling fs layer [2022-06-08T16:12:24.840Z] 9e70ebbbe112: Pulling fs layer [2022-06-08T16:12:24.840Z] 7a9cfe048b4a: Pulling fs layer [2022-06-08T16:12:24.840Z] 72dc09318566: Pulling fs layer [2022-06-08T16:12:24.840Z] f324388ff665: Pulling fs layer [2022-06-08T16:12:24.840Z] 53ef782089cf: Pulling fs layer [2022-06-08T16:12:24.840Z] 2af28fca035d: Pulling fs layer [2022-06-08T16:12:24.840Z] 7a9cfe048b4a: Waiting [2022-06-08T16:12:24.840Z] 72dc09318566: Waiting [2022-06-08T16:12:24.840Z] f324388ff665: Waiting [2022-06-08T16:12:24.840Z] 53ef782089cf: Waiting [2022-06-08T16:12:24.840Z] 2af28fca035d: Waiting [2022-06-08T16:12:24.840Z] 9e70ebbbe112: Verifying Checksum [2022-06-08T16:12:24.840Z] 9e70ebbbe112: Download complete [2022-06-08T16:12:24.840Z] ea3f2d53f512: Verifying Checksum [2022-06-08T16:12:24.840Z] ea3f2d53f512: Download complete [2022-06-08T16:12:24.840Z] f324388ff665: Verifying Checksum [2022-06-08T16:12:24.840Z] f324388ff665: Download complete [2022-06-08T16:12:24.840Z] 53ef782089cf: Verifying Checksum [2022-06-08T16:12:24.840Z] 53ef782089cf: Download complete [2022-06-08T16:12:24.840Z] 552d1f2373af: Verifying Checksum [2022-06-08T16:12:24.840Z] 552d1f2373af: Download complete [2022-06-08T16:12:25.850Z] 552d1f2373af: Pull complete [2022-06-08T16:12:26.132Z] ea3f2d53f512: Pull complete [2022-06-08T16:12:26.729Z] 9e70ebbbe112: Pull complete [2022-06-08T16:12:27.004Z] 2af28fca035d: Verifying Checksum [2022-06-08T16:12:27.004Z] 2af28fca035d: Download complete [2022-06-08T16:12:27.276Z] 7a9cfe048b4a: Verifying Checksum [2022-06-08T16:12:27.276Z] 7a9cfe048b4a: Download complete [2022-06-08T16:12:39.674Z] 7a9cfe048b4a: Pull complete [2022-06-08T16:12:39.674Z] 72dc09318566: Pull complete [2022-06-08T16:12:39.674Z] f324388ff665: Pull complete [2022-06-08T16:12:39.674Z] 53ef782089cf: Pull complete [2022-06-08T16:12:45.106Z] 2af28fca035d: Pull complete [2022-06-08T16:12:45.106Z] Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 [2022-06-08T16:12:45.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts [2022-06-08T16:12:45.106Z] ---> d19f1962542a [2022-06-08T16:12:45.106Z] Step 3/9 : ARG MAKE='make build' [2022-06-08T16:12:46.546Z] ---> Running in 71cb850961a3 [2022-06-08T16:12:46.819Z] Removing intermediate container 71cb850961a3 [2022-06-08T16:12:46.819Z] ---> 1c1a611e185c [2022-06-08T16:12:46.819Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T16:12:46.819Z] ---> Running in 70edf58b1031 [2022-06-08T16:12:48.799Z] Removing intermediate container 70edf58b1031 [2022-06-08T16:12:48.799Z] ---> 71c70d8734a9 [2022-06-08T16:12:48.799Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-08T16:12:48.799Z] ---> Running in b2bc0deab4bd [2022-06-08T16:12:49.391Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T16:12:50.366Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T16:12:50.960Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2022-06-08T16:12:51.231Z] (2/8) Installing libedit (20210216.3.1-r0) [2022-06-08T16:12:51.231Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2022-06-08T16:12:51.501Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2022-06-08T16:12:51.501Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2022-06-08T16:12:51.501Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2022-06-08T16:12:51.773Z] (7/8) Installing openssh-server (8.6_p1-r3) [2022-06-08T16:12:51.773Z] (8/8) Installing openssh (8.6_p1-r3) [2022-06-08T16:12:51.773Z] Executing busybox-1.33.1-r3.trigger [2022-06-08T16:12:52.046Z] OK: 225 MiB in 60 packages [2022-06-08T16:12:53.028Z] Removing intermediate container b2bc0deab4bd [2022-06-08T16:12:53.028Z] ---> b75898effef0 [2022-06-08T16:12:53.028Z] Step 6/9 : WORKDIR /device-modbus-go [2022-06-08T16:12:53.028Z] ---> Running in c9d47eea92b6 [2022-06-08T16:12:53.028Z] Removing intermediate container c9d47eea92b6 [2022-06-08T16:12:53.028Z] ---> a39ab7bccf2a [2022-06-08T16:12:53.028Z] Step 7/9 : COPY . . [2022-06-08T16:12:57.327Z] ---> 836e3a8ba32e [2022-06-08T16:12:57.327Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T16:12:57.327Z] ---> Running in d7d9b49cbb4c [2022-06-08T16:12:57.602Z] skipping... [2022-06-08T16:12:58.199Z] Removing intermediate container d7d9b49cbb4c [2022-06-08T16:12:58.199Z] ---> e5c5fd3c6385 [2022-06-08T16:12:58.199Z] Step 9/9 : RUN ${MAKE} [2022-06-08T16:12:58.199Z] ---> Running in 342f0db53137 [2022-06-08T16:12:59.182Z] noop [2022-06-08T16:12:59.789Z] Removing intermediate container 342f0db53137 [2022-06-08T16:12:59.789Z] ---> 56fb99e271c2 [2022-06-08T16:12:59.789Z] Successfully built 56fb99e271c2 [2022-06-08T16:12:59.789Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:13:00.159Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T16:13:00.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:13:00.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-1771 does not seem to be running inside a container [2022-06-08T16:13:00.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-08T16:13:01.808Z] $ docker top 24f3c886d41569941202ca26200785b468010f42bcd44c6f665c1422e136d2b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T16:13:02.717Z] + go version [2022-06-08T16:13:02.717Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-06-08T16:13:02.745Z] $ docker stop --time=1 24f3c886d41569941202ca26200785b468010f42bcd44c6f665c1422e136d2b1 [2022-06-08T16:13:04.370Z] $ docker rm -f 24f3c886d41569941202ca26200785b468010f42bcd44c6f665c1422e136d2b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:13:04.965Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T16:13:04.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:13:05.212Z] prd-ubuntu20.04-docker-arm64-4c-16g-1771 does not seem to be running inside a container [2022-06-08T16:13:05.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-08T16:13:06.526Z] $ docker top 1241f48822dea3eed90812e8fd42a69c511770d28e93f8cf1c1577502292435b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T16:13:07.453Z] + make test [2022-06-08T16:13:07.453Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-08T16:13:08.902Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-08T16:14:05.538Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-08T16:14:05.538Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.054s coverage: 46.6% of statements [2022-06-08T16:14:05.538Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T16:14:32.365Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T16:14:32.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T16:14:32.365Z] ./bin/test-attribution-txt.sh [2022-06-08T16:14:32.365Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-08T16:14:32.365Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-08T16:14:32.365Z] go: downloading github.com/goburrow/modbus v0.1.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-08T16:14:32.365Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-08T16:14:32.365Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-08T16:14:32.365Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-08T16:14:32.365Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-08T16:14:32.365Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-08T16:14:32.365Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-08T16:14:32.365Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-08T16:14:32.365Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-08T16:14:32.365Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-08T16:14:32.365Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-08T16:14:32.365Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-08T16:14:32.365Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/goburrow/serial v0.1.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-08T16:14:32.365Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-08T16:14:32.365Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-08T16:14:32.365Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-08T16:14:32.365Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-08T16:14:32.365Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-08T16:14:32.365Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-08T16:14:32.365Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-08T16:14:32.365Z] go: downloading golang.org/x/text v0.3.6 [2022-06-08T16:14:33.357Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-08T16:14:33.357Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-08T16:14:33.357Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-08T16:14:33.357Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-08T16:14:33.357Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-08T16:14:33.357Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-08T16:14:33.635Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-08T16:14:33.635Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-08T16:14:33.635Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-08T16:14:33.910Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-08T16:14:35.347Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-08T16:14:35.347Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-08T16:14:35.347Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-08T16:14:35.347Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-08T16:14:35.347Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-08T16:14:35.347Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-08T16:14:35.347Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-08T16:14:39.673Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-08T16:14:40.338Z] + go mod tidy [2022-06-08T16:14:40.614Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-08T16:14:40.615Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-08T16:14:40.615Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-08T16:14:40.889Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-08T16:14:40.889Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-08T16:14:40.889Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-08T16:14:40.889Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-08T16:14:40.889Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-08T16:14:40.889Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-08T16:14:40.889Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-08T16:14:40.889Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-08T16:14:40.889Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-08T16:14:41.163Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-08T16:14:41.163Z] go: downloading github.com/kr/text v0.2.0 [2022-06-08T16:14:41.163Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-08T16:14:41.163Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-08T16:14:41.163Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-08T16:14:41.163Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-08T16:14:41.163Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-08T16:14:41.437Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-08T16:14:41.437Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-08T16:14:41.437Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-08T16:14:41.437Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-08T16:14:41.437Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-08T16:14:41.732Z] $ docker stop --time=1 1241f48822dea3eed90812e8fd42a69c511770d28e93f8cf1c1577502292435b [2022-06-08T16:14:44.016Z] $ docker rm -f 1241f48822dea3eed90812e8fd42a69c511770d28e93f8cf1c1577502292435b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T16:14:46.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T16:14:46.179Z] Warning: overwriting stash ‘coverage-report’ [2022-06-08T16:14:46.903Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T16:14:47.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T16:14:47.679Z] + ls -al . [2022-06-08T16:14:47.679Z] total 188 [2022-06-08T16:14:47.679Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 16:14 . [2022-06-08T16:14:47.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:11 .. [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 16:11 .dockerignore [2022-06-08T16:14:47.679Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 16:11 .git [2022-06-08T16:14:47.679Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:11 .github [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 323 Jun 8 16:11 .gitignore [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 8010 Jun 8 16:11 Attribution.txt [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 6297 Jun 8 16:11 CHANGELOG.md [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 1523 Jun 8 16:11 Dockerfile [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:11 GOVERNANCE.md [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 679 Jun 8 16:11 Jenkinsfile [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 16:11 LICENSE [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 1009 Jun 8 16:11 Makefile [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 8 16:11 OWNERS.md [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jun 8 16:11 README.md [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 16:09 VERSION [2022-06-08T16:14:47.679Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:11 bin [2022-06-08T16:14:47.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:11 cmd [2022-06-08T16:14:47.679Z] -rw-r--r-- 1 jenkins jenkins 23727 Jun 8 16:14 coverage.out [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 294 Jun 8 16:14 go.mod [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 49487 Jun 8 16:11 go.sum [2022-06-08T16:14:47.679Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:11 internal [2022-06-08T16:14:47.679Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:11 simulator [2022-06-08T16:14:47.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:11 snap [2022-06-08T16:14:47.679Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 16:11 vendor [2022-06-08T16:14:47.679Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 8 16:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:14:48.047Z] + 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=dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 --label arch=arm64 --label version=2.1.1-dev.3 . [2022-06-08T16:14:49.584Z] Sending build context to Docker daemon 14.33MB [2022-06-08T16:14:49.584Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T16:14:49.584Z] Step 2/22 : FROM ${BASE} AS builder [2022-06-08T16:14:49.584Z] ---> 56fb99e271c2 [2022-06-08T16:14:49.584Z] Step 3/22 : ARG MAKE='make build' [2022-06-08T16:14:49.584Z] ---> Running in 370195430d0a [2022-06-08T16:14:50.194Z] Removing intermediate container 370195430d0a [2022-06-08T16:14:50.194Z] ---> f05a6ea92b31 [2022-06-08T16:14:50.194Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T16:14:50.194Z] ---> Running in f2cdc5199fad [2022-06-08T16:14:51.639Z] Removing intermediate container f2cdc5199fad [2022-06-08T16:14:51.639Z] ---> b70bb5b3df92 [2022-06-08T16:14:51.639Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-08T16:14:51.918Z] ---> Running in d26c963ea371 [2022-06-08T16:14:52.901Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T16:14:53.494Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T16:14:54.476Z] OK: 225 MiB in 60 packages [2022-06-08T16:14:55.073Z] Removing intermediate container d26c963ea371 [2022-06-08T16:14:55.073Z] ---> 1390b8e1bd53 [2022-06-08T16:14:55.073Z] Step 6/22 : WORKDIR /device-modbus-go [2022-06-08T16:14:55.350Z] ---> Running in 3841a22d0772 [2022-06-08T16:14:55.624Z] Removing intermediate container 3841a22d0772 [2022-06-08T16:14:55.624Z] ---> 574e4f538769 [2022-06-08T16:14:55.624Z] Step 7/22 : COPY . . [2022-06-08T16:14:59.932Z] ---> 59b882f0df2f [2022-06-08T16:14:59.932Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T16:14:59.932Z] ---> Running in 93910b63f901 [2022-06-08T16:15:00.914Z] skipping... [2022-06-08T16:15:01.189Z] Removing intermediate container 93910b63f901 [2022-06-08T16:15:01.189Z] ---> 63bb5c602c5a [2022-06-08T16:15:01.189Z] Step 9/22 : RUN ${MAKE} [2022-06-08T16:15:01.473Z] ---> Running in c943f1a4d308 [2022-06-08T16:15:02.451Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.1.1-dev.3" -o cmd/device-modbus ./cmd [2022-06-08T16:15:41.500Z] Removing intermediate container c943f1a4d308 [2022-06-08T16:15:41.500Z] ---> 0474f3490215 [2022-06-08T16:15:41.500Z] Step 10/22 : FROM alpine:3.14 [2022-06-08T16:15:41.500Z] 3.14: Pulling from library/alpine [2022-06-08T16:15:41.500Z] 455c02918c45: Pulling fs layer [2022-06-08T16:15:41.500Z] 455c02918c45: Download complete [2022-06-08T16:15:41.500Z] 455c02918c45: Pull complete [2022-06-08T16:15:41.500Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-08T16:15:41.500Z] Status: Downloaded newer image for alpine:3.14 [2022-06-08T16:15:41.500Z] ---> ac73e934f311 [2022-06-08T16:15:41.500Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-08T16:15:41.500Z] ---> Running in c2b348226d05 [2022-06-08T16:15:41.500Z] Removing intermediate container c2b348226d05 [2022-06-08T16:15:41.500Z] ---> f247d76f432a [2022-06-08T16:15:41.500Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T16:15:41.500Z] ---> Running in 20c8e2e296dc [2022-06-08T16:15:42.484Z] Removing intermediate container 20c8e2e296dc [2022-06-08T16:15:42.484Z] ---> a9070ccec3be [2022-06-08T16:15:42.484Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T16:15:42.484Z] ---> Running in b2644bc06274 [2022-06-08T16:15:43.463Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T16:15:44.438Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T16:15:45.416Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T16:15:45.416Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-08T16:15:45.416Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T16:15:45.416Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-08T16:15:45.687Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T16:15:45.687Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T16:15:45.687Z] Executing busybox-1.33.1-r7.trigger [2022-06-08T16:15:45.964Z] OK: 8 MiB in 20 packages [2022-06-08T16:15:46.946Z] Removing intermediate container b2644bc06274 [2022-06-08T16:15:46.946Z] ---> a90da20d3bdf [2022-06-08T16:15:46.946Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-06-08T16:15:47.543Z] ---> f22738eca6c2 [2022-06-08T16:15:47.543Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-08T16:15:48.143Z] ---> c9bd9943c57f [2022-06-08T16:15:48.143Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-08T16:15:48.743Z] ---> 07798a99433b [2022-06-08T16:15:48.743Z] Step 17/22 : EXPOSE 59901 [2022-06-08T16:15:48.743Z] ---> Running in 51d44fbdcb5b [2022-06-08T16:15:49.021Z] Removing intermediate container 51d44fbdcb5b [2022-06-08T16:15:49.021Z] ---> 9952c13548b0 [2022-06-08T16:15:49.021Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-06-08T16:15:49.297Z] ---> Running in 0d01ef63b14a [2022-06-08T16:15:49.571Z] Removing intermediate container 0d01ef63b14a [2022-06-08T16:15:49.571Z] ---> 995c337c7171 [2022-06-08T16:15:49.571Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-08T16:15:49.571Z] ---> Running in f869133eae85 [2022-06-08T16:15:49.845Z] Removing intermediate container f869133eae85 [2022-06-08T16:15:49.845Z] ---> 2657af95b72a [2022-06-08T16:15:49.845Z] Step 20/22 : LABEL arch=arm64 [2022-06-08T16:15:49.845Z] ---> Running in 85b40260b8a9 [2022-06-08T16:15:50.443Z] Removing intermediate container 85b40260b8a9 [2022-06-08T16:15:50.443Z] ---> 2b797d5a9f8c [2022-06-08T16:15:50.443Z] Step 21/22 : LABEL git_sha=dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [2022-06-08T16:15:50.443Z] ---> Running in 3eb64ecfdd44 [2022-06-08T16:15:50.717Z] Removing intermediate container 3eb64ecfdd44 [2022-06-08T16:15:50.717Z] ---> 1be4bb95c365 [2022-06-08T16:15:50.717Z] Step 22/22 : LABEL version=2.1.1-dev.3 [2022-06-08T16:15:50.717Z] ---> Running in 59f366250516 [2022-06-08T16:15:50.992Z] Removing intermediate container 59f366250516 [2022-06-08T16:15:50.992Z] ---> 97e8b0dc791f [2022-06-08T16:15:50.992Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T16:15:51.265Z] Successfully built 97e8b0dc791f [2022-06-08T16:15:51.265Z] 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-08T16:15:51.407Z] provisioning config files... [2022-06-08T16:15:51.424Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config2521320811679510864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:15:51.771Z] ---> docker-login.sh [2022-06-08T16:15:51.771Z] nexus3.edgexfoundry.org:10001 [2022-06-08T16:15:52.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:15:52.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:15:52.044Z] Configure a credential helper to remove this warning. See [2022-06-08T16:15:52.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:15:52.044Z] [2022-06-08T16:15:52.044Z] Login Succeeded [2022-06-08T16:15:52.044Z] nexus3.edgexfoundry.org:10002 [2022-06-08T16:15:52.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:15:52.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:15:52.639Z] Configure a credential helper to remove this warning. See [2022-06-08T16:15:52.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:15:52.639Z] [2022-06-08T16:15:52.639Z] Login Succeeded [2022-06-08T16:15:52.639Z] nexus3.edgexfoundry.org:10003 [2022-06-08T16:15:52.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:15:53.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:15:53.181Z] Configure a credential helper to remove this warning. See [2022-06-08T16:15:53.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:15:53.181Z] [2022-06-08T16:15:53.181Z] Login Succeeded [2022-06-08T16:15:53.181Z] nexus3.edgexfoundry.org:10004 [2022-06-08T16:15:53.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:15:53.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:15:53.454Z] Configure a credential helper to remove this warning. See [2022-06-08T16:15:53.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:15:53.454Z] [2022-06-08T16:15:53.454Z] Login Succeeded [2022-06-08T16:15:53.454Z] docker.io [2022-06-08T16:15:54.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:15:54.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:15:54.320Z] Configure a credential helper to remove this warning. See [2022-06-08T16:15:54.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:15:54.320Z] [2022-06-08T16:15:54.320Z] Login Succeeded [2022-06-08T16:15:54.320Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T16:15:54.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T16:15:54.374Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T16:15:54.401Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-06-08T16:15:54.401Z] dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [2022-06-08T16:15:54.401Z] 2.1.1-dev.3 [2022-06-08T16:15:54.401Z] dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 [2022-06-08T16:15:54.401Z] jakarta [2022-06-08T16:15:54.401Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:15:54.748Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:15:55.106Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [2022-06-08T16:15:55.106Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-08T16:15:55.106Z] 9e00c0ae0063: Preparing [2022-06-08T16:15:55.106Z] ec217bb20a1d: Preparing [2022-06-08T16:15:55.106Z] 3b2a0dce8b15: Preparing [2022-06-08T16:15:55.106Z] 7ed0b1e23f6c: Preparing [2022-06-08T16:15:55.106Z] 9b024dfc4867: Preparing [2022-06-08T16:15:55.106Z] f73e7dbfee58: Preparing [2022-06-08T16:15:55.106Z] f73e7dbfee58: Waiting [2022-06-08T16:15:55.378Z] 9b024dfc4867: Pushed [2022-06-08T16:15:55.378Z] 9e00c0ae0063: Pushed [2022-06-08T16:15:55.378Z] ec217bb20a1d: Pushed [2022-06-08T16:15:55.378Z] f73e7dbfee58: Layer already exists [2022-06-08T16:15:55.973Z] 7ed0b1e23f6c: Pushed [2022-06-08T16:15:58.584Z] 3b2a0dce8b15: Pushed [2022-06-08T16:15:58.584Z] dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57: digest: sha256:e5d3157f69caa6ff9179d4b3a9b61c1e9d4b766790fbf7aa5cd8318aff59c307 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:15:58.947Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:15:59.307Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.1-dev.3 [2022-06-08T16:15:59.307Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-08T16:15:59.307Z] 9e00c0ae0063: Preparing [2022-06-08T16:15:59.307Z] ec217bb20a1d: Preparing [2022-06-08T16:15:59.307Z] 3b2a0dce8b15: Preparing [2022-06-08T16:15:59.307Z] 7ed0b1e23f6c: Preparing [2022-06-08T16:15:59.307Z] 9b024dfc4867: Preparing [2022-06-08T16:15:59.307Z] f73e7dbfee58: Preparing [2022-06-08T16:15:59.307Z] f73e7dbfee58: Waiting [2022-06-08T16:15:59.307Z] 3b2a0dce8b15: Layer already exists [2022-06-08T16:15:59.307Z] 9b024dfc4867: Layer already exists [2022-06-08T16:15:59.307Z] ec217bb20a1d: Layer already exists [2022-06-08T16:15:59.307Z] 7ed0b1e23f6c: Layer already exists [2022-06-08T16:15:59.307Z] 9e00c0ae0063: Layer already exists [2022-06-08T16:15:59.307Z] f73e7dbfee58: Layer already exists [2022-06-08T16:15:59.579Z] 2.1.1-dev.3: digest: sha256:e5d3157f69caa6ff9179d4b3a9b61c1e9d4b766790fbf7aa5cd8318aff59c307 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:15:59.936Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:00.293Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 [2022-06-08T16:16:00.293Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-08T16:16:00.293Z] 9e00c0ae0063: Preparing [2022-06-08T16:16:00.293Z] ec217bb20a1d: Preparing [2022-06-08T16:16:00.293Z] 3b2a0dce8b15: Preparing [2022-06-08T16:16:00.293Z] 7ed0b1e23f6c: Preparing [2022-06-08T16:16:00.293Z] 9b024dfc4867: Preparing [2022-06-08T16:16:00.293Z] f73e7dbfee58: Preparing [2022-06-08T16:16:00.293Z] f73e7dbfee58: Waiting [2022-06-08T16:16:00.293Z] 9e00c0ae0063: Layer already exists [2022-06-08T16:16:00.293Z] ec217bb20a1d: Layer already exists [2022-06-08T16:16:00.293Z] 9b024dfc4867: Layer already exists [2022-06-08T16:16:00.293Z] 7ed0b1e23f6c: Layer already exists [2022-06-08T16:16:00.293Z] 3b2a0dce8b15: Layer already exists [2022-06-08T16:16:00.566Z] f73e7dbfee58: Layer already exists [2022-06-08T16:16:00.566Z] dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3: digest: sha256:e5d3157f69caa6ff9179d4b3a9b61c1e9d4b766790fbf7aa5cd8318aff59c307 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:00.929Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:01.288Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [2022-06-08T16:16:01.288Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-08T16:16:01.288Z] 9e00c0ae0063: Preparing [2022-06-08T16:16:01.288Z] ec217bb20a1d: Preparing [2022-06-08T16:16:01.288Z] 3b2a0dce8b15: Preparing [2022-06-08T16:16:01.288Z] 7ed0b1e23f6c: Preparing [2022-06-08T16:16:01.288Z] 9b024dfc4867: Preparing [2022-06-08T16:16:01.288Z] f73e7dbfee58: Preparing [2022-06-08T16:16:01.288Z] f73e7dbfee58: Waiting [2022-06-08T16:16:01.288Z] 9b024dfc4867: Layer already exists [2022-06-08T16:16:01.288Z] 7ed0b1e23f6c: Layer already exists [2022-06-08T16:16:01.288Z] ec217bb20a1d: Layer already exists [2022-06-08T16:16:01.288Z] 9e00c0ae0063: Layer already exists [2022-06-08T16:16:01.288Z] 3b2a0dce8b15: Layer already exists [2022-06-08T16:16:01.561Z] f73e7dbfee58: Layer already exists [2022-06-08T16:16:01.561Z] jakarta: digest: sha256:e5d3157f69caa6ff9179d4b3a9b61c1e9d4b766790fbf7aa5cd8318aff59c307 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T16:16:01.625Z] ===================================================== [Pipeline] echo [2022-06-08T16:16:01.634Z] taggedImages: [2022-06-08T16:16:01.634Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [2022-06-08T16:16:01.634Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.1-dev.3 [2022-06-08T16:16:01.634Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 [2022-06-08T16:16:01.634Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:02.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T16:16:02.008Z] [2022-06-08T16:16:02.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:02.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T16:16:02.634Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-08T16:16:02.634Z] 8998bd30e6a1: Pulling fs layer [2022-06-08T16:16:02.634Z] 04944245beec: Pulling fs layer [2022-06-08T16:16:02.634Z] 699f458cf7ca: Pulling fs layer [2022-06-08T16:16:02.634Z] 765212b225bb: Pulling fs layer [2022-06-08T16:16:02.634Z] f23df028b6ca: Pulling fs layer [2022-06-08T16:16:02.634Z] d65c8cfc05b1: Pulling fs layer [2022-06-08T16:16:02.634Z] 2437ff75d9bd: Pulling fs layer [2022-06-08T16:16:02.634Z] f23df028b6ca: Waiting [2022-06-08T16:16:02.634Z] d65c8cfc05b1: Waiting [2022-06-08T16:16:02.634Z] 765212b225bb: Waiting [2022-06-08T16:16:02.634Z] 04944245beec: Verifying Checksum [2022-06-08T16:16:02.634Z] 04944245beec: Download complete [2022-06-08T16:16:02.634Z] 765212b225bb: Verifying Checksum [2022-06-08T16:16:02.634Z] 765212b225bb: Download complete [2022-06-08T16:16:02.634Z] f23df028b6ca: Verifying Checksum [2022-06-08T16:16:02.634Z] f23df028b6ca: Download complete [2022-06-08T16:16:02.634Z] d65c8cfc05b1: Verifying Checksum [2022-06-08T16:16:02.634Z] d65c8cfc05b1: Download complete [2022-06-08T16:16:02.908Z] 699f458cf7ca: Verifying Checksum [2022-06-08T16:16:02.908Z] 699f458cf7ca: Download complete [2022-06-08T16:16:03.183Z] 8998bd30e6a1: Verifying Checksum [2022-06-08T16:16:03.183Z] 8998bd30e6a1: Download complete [2022-06-08T16:16:05.802Z] 2437ff75d9bd: Verifying Checksum [2022-06-08T16:16:05.802Z] 2437ff75d9bd: Download complete [2022-06-08T16:16:07.787Z] 8998bd30e6a1: Pull complete [2022-06-08T16:16:07.787Z] 04944245beec: Pull complete [2022-06-08T16:16:09.764Z] 699f458cf7ca: Pull complete [2022-06-08T16:16:09.764Z] 765212b225bb: Pull complete [2022-06-08T16:16:10.837Z] f23df028b6ca: Pull complete [2022-06-08T16:16:10.837Z] d65c8cfc05b1: Pull complete [2022-06-08T16:16:25.996Z] 2437ff75d9bd: Pull complete [2022-06-08T16:16:25.996Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-08T16:16:25.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T16:16:25.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:16:26.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-1771 does not seem to be running inside a container [2022-06-08T16:16:26.328Z] $ 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/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-08T16:16:28.740Z] $ docker top 61e51c45fe714731f2fda1d41108f437e70ba1d905b66cabd54cb6e997264195 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:16:29.661Z] ---> job-cost.sh [2022-06-08T16:16:29.662Z] lf-activate-venv: SKIPPING [2022-06-08T16:16:29.662Z] INFO: No Stack... [2022-06-08T16:16:29.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-08T16:16:30.910Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T16:16:31.567Z] + cat /w/workspace/device-modbus-go/6/archives/cost.csv [2022-06-08T16:16:31.567Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T16:16:31.596Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [2022-06-08T16:16:31.603Z] Resource [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] did not exist. Created. [2022-06-08T16:16:31.603Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T16:16:32.275Z] /w/workspace/device-modbus-go/6@tmp/durable-48349d6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-08T16:16:32.938Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-08T16:16:32.958Z] Warning: overwriting stash ‘stack-cost’ [2022-06-08T16:16:33.175Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T16:16:33.182Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T16:16:33.204Z] $ docker stop --time=1 61e51c45fe714731f2fda1d41108f437e70ba1d905b66cabd54cb6e997264195 [2022-06-08T16:16:34.657Z] $ docker rm -f 61e51c45fe714731f2fda1d41108f437e70ba1d905b66cabd54cb6e997264195 [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-08T16:16:35.124Z] provisioning config files... [2022-06-08T16:16:35.132Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config8028947745444093677tmp [Pipeline] { [Pipeline] sh [2022-06-08T16:16:35.433Z] + set +x [2022-06-08T16:16:35.433Z] + curl -s https://codecov.io/bash [2022-06-08T16:16:35.433Z] + bash -s -- [2022-06-08T16:16:35.433Z] [2022-06-08T16:16:35.433Z] _____ _ [2022-06-08T16:16:35.433Z] / ____| | | [2022-06-08T16:16:35.433Z] | | ___ __| | ___ ___ _____ __ [2022-06-08T16:16:35.433Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-08T16:16:35.433Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-08T16:16:35.433Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-08T16:16:35.433Z] Bash-1.0.6 [2022-06-08T16:16:35.433Z] [2022-06-08T16:16:35.433Z] [2022-06-08T16:16:35.433Z] ==> git version 2.25.1 found [2022-06-08T16:16:35.433Z] ==> 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-08T16:16:35.433Z] Release-Date: 2020-01-08 [2022-06-08T16:16:35.433Z] 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-08T16:16:35.433Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-08T16:16:35.433Z] ==> Jenkins CI detected. [2022-06-08T16:16:35.433Z] current dir:  /w/workspace/foundry_device-modbus-go_jakarta [2022-06-08T16:16:35.433Z] project root: . [2022-06-08T16:16:35.433Z] --> token set from env [2022-06-08T16:16:35.433Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-08T16:16:35.433Z] ==> Running gcov in . (disable via -X gcov) [2022-06-08T16:16:35.433Z] ==> Python coveragepy not found [2022-06-08T16:16:35.433Z] ==> Searching for coverage reports in: [2022-06-08T16:16:35.433Z] + . [2022-06-08T16:16:35.433Z] -> Found 1 reports [2022-06-08T16:16:35.433Z] ==> Detecting git/mercurial file structure [2022-06-08T16:16:35.433Z] ==> Reading reports [2022-06-08T16:16:35.433Z] + ./coverage.out bytes=23727 [2022-06-08T16:16:35.433Z] ==> Appending adjustments [2022-06-08T16:16:35.433Z] https://docs.codecov.io/docs/fixing-reports [2022-06-08T16:16:35.694Z] + Found adjustments [2022-06-08T16:16:35.694Z] ==> Gzipping contents [2022-06-08T16:16:35.694Z] 12K /tmp/codecov.ZfD7vn.gz [2022-06-08T16:16:35.694Z] ==> Uploading reports [2022-06-08T16:16:35.694Z] url: https://codecov.io [2022-06-08T16:16:35.695Z] query: branch=jakarta&commit=dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-08T16:16:35.695Z] -> Pinging Codecov [2022-06-08T16:16:35.695Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=jakarta&commit=dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-08T16:16:35.956Z] -> Uploading to [2022-06-08T16:16:35.956Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-08/55DBCA73C666E3227836607328DD7E49/dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57/3c4ef12b-f894-424a-a227-539544943984.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T161635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=667c97d38007546c35c76b9be353573bae68f5300fd154c1098e621fcd32626e [2022-06-08T16:16:35.956Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T16:16:35.956Z] Dload Upload Total Spent Left Speed [2022-06-08T16:16:36.216Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10796 0 0 100 10796 0 42841 --:--:-- --:--:-- --:--:-- 43011 [2022-06-08T16:16:36.216Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] } [2022-06-08T16:16:36.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-08T16:16:36.322Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-08T16:16:36.331Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:36.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T16:16:36.636Z] [2022-06-08T16:16:36.636Z] 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-08T16:16:36.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T16:16:36.944Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-08T16:16:36.944Z] df9b9388f04a: Pulling fs layer [2022-06-08T16:16:36.944Z] 52dc419b0ee2: Pulling fs layer [2022-06-08T16:16:36.944Z] 25bc292e5bac: Pulling fs layer [2022-06-08T16:16:36.944Z] 114826534d7a: Pulling fs layer [2022-06-08T16:16:36.944Z] 4657fd5d0bcf: Pulling fs layer [2022-06-08T16:16:36.944Z] 6ad1cebc031e: Pulling fs layer [2022-06-08T16:16:36.944Z] 8a3aa393b2d8: Pulling fs layer [2022-06-08T16:16:36.944Z] 6ad1cebc031e: Waiting [2022-06-08T16:16:36.944Z] 8a3aa393b2d8: Waiting [2022-06-08T16:16:36.944Z] 114826534d7a: Waiting [2022-06-08T16:16:36.944Z] 4657fd5d0bcf: Waiting [2022-06-08T16:16:36.944Z] 25bc292e5bac: Verifying Checksum [2022-06-08T16:16:36.944Z] 25bc292e5bac: Download complete [2022-06-08T16:16:36.944Z] 52dc419b0ee2: Download complete [2022-06-08T16:16:36.944Z] 4657fd5d0bcf: Download complete [2022-06-08T16:16:36.944Z] df9b9388f04a: Download complete [2022-06-08T16:16:37.206Z] 6ad1cebc031e: Verifying Checksum [2022-06-08T16:16:37.206Z] 6ad1cebc031e: Download complete [2022-06-08T16:16:37.206Z] df9b9388f04a: Pull complete [2022-06-08T16:16:37.206Z] 52dc419b0ee2: Pull complete [2022-06-08T16:16:37.468Z] 25bc292e5bac: Pull complete [2022-06-08T16:16:37.729Z] 114826534d7a: Download complete [2022-06-08T16:16:37.729Z] 8a3aa393b2d8: Verifying Checksum [2022-06-08T16:16:37.729Z] 8a3aa393b2d8: Download complete [2022-06-08T16:16:41.021Z] 114826534d7a: Pull complete [2022-06-08T16:16:41.021Z] 4657fd5d0bcf: Pull complete [2022-06-08T16:16:41.589Z] 6ad1cebc031e: Pull complete [2022-06-08T16:16:44.141Z] 8a3aa393b2d8: Pull complete [2022-06-08T16:16:44.141Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-08T16:16:44.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T16:16:44.141Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:16:44.230Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:16:44.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-08T16:16:46.082Z] $ docker top ac11fbd19408c9855fcd70c022a2f8214538ae633b850af403b123f7cc5451c1 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-08T16:16:46.163Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:jakarta' [Pipeline] sh [2022-06-08T16:16:46.449Z] + set -o pipefail [2022-06-08T16:16:46.449Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:jakarta' [2022-06-08T16:16:50.657Z] [2022-06-08T16:16:50.657Z] Monitoring /w/workspace/foundry_device-modbus-go_jakarta (github.com/edgexfoundry/device-modbus-go)... [2022-06-08T16:16:50.657Z] [2022-06-08T16:16:50.657Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/696b52e0-978e-4ee1-800f-8a979e7662a3/history/9da51ebb-2e42-4bf1-8510-6f396e90d987 [2022-06-08T16:16:50.657Z] [2022-06-08T16:16:50.657Z] Tip: Detected multiple supported manifests (3), use --all-projects to scan all of them at once. [2022-06-08T16:16:50.657Z] [2022-06-08T16:16:50.657Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-08T16:16:50.657Z] [2022-06-08T16:16:50.918Z] [Pipeline] } [2022-06-08T16:16:50.934Z] $ docker stop --time=1 ac11fbd19408c9855fcd70c022a2f8214538ae633b850af403b123f7cc5451c1 [2022-06-08T16:16:52.340Z] $ docker rm -f ac11fbd19408c9855fcd70c022a2f8214538ae633b850af403b123f7cc5451c1 [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-08T16:16:52.884Z] + git log --format=format:%s -1 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] sh [2022-06-08T16:16:53.183Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T16:16:53.183Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:53.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:16:53.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:16:53.580Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:16:53.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T16:16:54.021Z] $ docker top 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T16:16:54.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T16:16:54.119Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T16:16:54.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T16:16:54.265Z] $ docker exec 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 ssh-agent [2022-06-08T16:16:54.382Z] SSH_AUTH_SOCK=/tmp/ssh-L1r15BFCbHQl/agent.33 [2022-06-08T16:16:54.382Z] SSH_AGENT_PID=39 [2022-06-08T16:16:54.388Z] Running ssh-add (command line suppressed) [2022-06-08T16:16:54.499Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_6791374433709710819.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_6791374433709710819.key) [2022-06-08T16:16:54.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T16:16:54.800Z] + git semver tag [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:54,997 [run_tag] DEBUG tag force:False [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:54,997 [check_head_tag] DEBUG check head tag [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:54,997 [execute] INFO git cat-file --batch-check [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:54,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:55,001 [execute] INFO git cat-file --batch [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:55,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:55,008 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:55,008 [execute] INFO git tag -a v2.1.1-dev.3 -m v2.1.1-dev.3 [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:55,008 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.3', '-m', 'v2.1.1-dev.3'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:16:55.061Z] 2022-06-08 16:16:55,013 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:16:55.061Z] 2.1.1-dev.3 [Pipeline] } [2022-06-08T16:16:55.075Z] $ docker exec --env ******** --env ******** 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 ssh-agent -k [2022-06-08T16:16:55.195Z] unset SSH_AUTH_SOCK; [2022-06-08T16:16:55.195Z] unset SSH_AGENT_PID; [2022-06-08T16:16:55.195Z] echo Agent pid 39 killed; [2022-06-08T16:16:55.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T16:16:55.513Z] + git semver [Pipeline] } [2022-06-08T16:16:55.792Z] $ docker stop --time=1 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 [2022-06-08T16:16:57.106Z] $ docker rm -f 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:57.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T16:16:57.598Z] [2022-06-08T16:16:57.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:16:57.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T16:16:57.979Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-08T16:16:57.979Z] ab5ef0e58194: Pulling fs layer [2022-06-08T16:16:57.979Z] 9712f1f96733: Pulling fs layer [2022-06-08T16:16:57.979Z] 63f879dbbcfc: Pulling fs layer [2022-06-08T16:16:57.979Z] 0d9ebad4ef96: Pulling fs layer [2022-06-08T16:16:57.979Z] e9a5061849ea: Pulling fs layer [2022-06-08T16:16:57.979Z] d747dcd14b5f: Pulling fs layer [2022-06-08T16:16:57.979Z] 2de7ff778b66: Pulling fs layer [2022-06-08T16:16:57.979Z] 0d9ebad4ef96: Waiting [2022-06-08T16:16:57.979Z] e9a5061849ea: Waiting [2022-06-08T16:16:57.979Z] d747dcd14b5f: Waiting [2022-06-08T16:16:57.979Z] 2de7ff778b66: Waiting [2022-06-08T16:16:57.979Z] 9712f1f96733: Verifying Checksum [2022-06-08T16:16:57.979Z] 9712f1f96733: Download complete [2022-06-08T16:16:58.266Z] 63f879dbbcfc: Verifying Checksum [2022-06-08T16:16:58.266Z] 63f879dbbcfc: Download complete [2022-06-08T16:16:58.266Z] e9a5061849ea: Verifying Checksum [2022-06-08T16:16:58.266Z] e9a5061849ea: Download complete [2022-06-08T16:16:58.266Z] d747dcd14b5f: Verifying Checksum [2022-06-08T16:16:58.266Z] d747dcd14b5f: Download complete [2022-06-08T16:16:58.538Z] 0d9ebad4ef96: Verifying Checksum [2022-06-08T16:16:58.538Z] 0d9ebad4ef96: Download complete [2022-06-08T16:16:58.538Z] 2de7ff778b66: Verifying Checksum [2022-06-08T16:16:58.538Z] 2de7ff778b66: Download complete [2022-06-08T16:16:58.538Z] ab5ef0e58194: Verifying Checksum [2022-06-08T16:16:58.538Z] ab5ef0e58194: Download complete [2022-06-08T16:17:01.837Z] ab5ef0e58194: Pull complete [2022-06-08T16:17:01.837Z] 9712f1f96733: Pull complete [2022-06-08T16:17:02.097Z] 63f879dbbcfc: Pull complete [2022-06-08T16:17:05.389Z] 0d9ebad4ef96: Pull complete [2022-06-08T16:17:05.648Z] e9a5061849ea: Pull complete [2022-06-08T16:17:05.648Z] d747dcd14b5f: Pull complete [2022-06-08T16:17:06.588Z] 2de7ff778b66: Pull complete [2022-06-08T16:17:06.588Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-08T16:17:06.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T16:17:06.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:17:06.683Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:17:06.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-08T16:17:08.964Z] $ docker top 41f19dad64dad34e0d9b7d8f3eae99eba7314671dba5549243b8cec04db462a3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-08T16:17:09.040Z] provisioning config files... [2022-06-08T16:17:09.048Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config451988204922265166tmp [2022-06-08T16:17:09.059Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config5096169961923212380tmp [2022-06-08T16:17:09.069Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config1211576253317106357tmp [Pipeline] { [Pipeline] echo [2022-06-08T16:17:09.086Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:09.368Z] ---> sigul-configuration.sh [2022-06-08T16:17:09.368Z] gpg: directory `/root/.gnupg' created [2022-06-08T16:17:09.368Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-08T16:17:09.369Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-08T16:17:09.369Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-08T16:17:09.369Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-08T16:17:09.369Z] gpg: CAST5 encrypted data [2022-06-08T16:17:09.369Z] gpg: encrypted with 1 passphrase [2022-06-08T16:17:09.369Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-08T16:17:09.657Z] + mkdir /home/jenkins [2022-06-08T16:17:09.657Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-08T16:17:09.948Z] + 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-08T16:17:09.957Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:10.245Z] ---> sigul-install.sh [2022-06-08T16:17:10.245Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-08T16:17:10.533Z] + git tag --list [2022-06-08T16:17:10.533Z] 0.7.1 [2022-06-08T16:17:10.533Z] v1.0.0 [2022-06-08T16:17:10.533Z] v1.1.0 [2022-06-08T16:17:10.533Z] v1.1.1 [2022-06-08T16:17:10.533Z] v1.2.2 [2022-06-08T16:17:10.533Z] v1.3.0 [2022-06-08T16:17:10.533Z] v1.3.1 [2022-06-08T16:17:10.533Z] v2.0.0 [2022-06-08T16:17:10.533Z] v2.1.0 [2022-06-08T16:17:10.533Z] v2.1.1-dev.1 [2022-06-08T16:17:10.533Z] v2.1.1-dev.2 [2022-06-08T16:17:10.533Z] v2.1.1-dev.3 [2022-06-08T16:17:10.533Z] v2.2.0 [2022-06-08T16:17:10.533Z] v2.2.1-dev.1 [Pipeline] sh [2022-06-08T16:17:10.819Z] + lftools sign git-tag v2.1.1-dev.3 [2022-06-08T16:17:11.388Z] Signing Git tag with Sigul... [2022-06-08T16:17:11.388Z] Signing v2.1.1-dev.3 [Pipeline] echo [2022-06-08T16:17:11.656Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:11.941Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-08T16:17:11.950Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-08T16:17:11.973Z] $ docker stop --time=1 41f19dad64dad34e0d9b7d8f3eae99eba7314671dba5549243b8cec04db462a3 [2022-06-08T16:17:13.288Z] $ docker rm -f 41f19dad64dad34e0d9b7d8f3eae99eba7314671dba5549243b8cec04db462a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-08T16:17:13.719Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T16:17:13.719Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:17:14.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:17:14.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:17:14.116Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:17:14.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T16:17:14.563Z] $ docker top d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T16:17:14.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T16:17:14.661Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T16:17:14.787Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T16:17:14.792Z] $ docker exec d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac ssh-agent [2022-06-08T16:17:14.923Z] SSH_AUTH_SOCK=/tmp/ssh-ZHHKTm7GDorN/agent.32 [2022-06-08T16:17:14.923Z] SSH_AGENT_PID=38 [2022-06-08T16:17:14.928Z] Running ssh-add (command line suppressed) [2022-06-08T16:17:15.053Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_5915010788666667023.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_5915010788666667023.key) [2022-06-08T16:17:15.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T16:17:15.353Z] + git semver bump pre [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,549 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,550 [bump_version] DEBUG bumping version:2.1.1-dev.3 on axis:pre with prefix:dev [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,550 [bump_version] DEBUG bumped version:2.1.1-dev.4 [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,550 [write_version] DEBUG write version:2.1.1-dev.4 to path:/w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta with force:True [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,550 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,550 [write_file] DEBUG write to file:/w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,552 [execute] INFO git cat-file --batch-check [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,558 [execute] INFO git cat-file --batch [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T16:17:15.614Z] 2022-06-08 16:17:15,563 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:17:15.614Z] 2.1.1-dev.4 [Pipeline] } [2022-06-08T16:17:15.629Z] $ docker exec --env ******** --env ******** d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac ssh-agent -k [2022-06-08T16:17:15.741Z] unset SSH_AUTH_SOCK; [2022-06-08T16:17:15.741Z] unset SSH_AGENT_PID; [2022-06-08T16:17:15.741Z] echo Agent pid 38 killed; [2022-06-08T16:17:15.750Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T16:17:16.059Z] + git semver [Pipeline] } [2022-06-08T16:17:16.337Z] $ docker stop --time=1 d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac [2022-06-08T16:17:17.717Z] $ docker rm -f d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T16:17:18.065Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T16:17:18.065Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:17:18.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:17:18.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:17:18.445Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:17:18.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T16:17:18.859Z] $ docker top acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T16:17:18.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T16:17:18.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T16:17:19.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T16:17:19.083Z] $ docker exec acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 ssh-agent [2022-06-08T16:17:19.229Z] SSH_AUTH_SOCK=/tmp/ssh-GiujPX2d5PVm/agent.33 [2022-06-08T16:17:19.229Z] SSH_AGENT_PID=39 [2022-06-08T16:17:19.234Z] Running ssh-add (command line suppressed) [2022-06-08T16:17:19.357Z] Identity added: /w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_846459784008327651.key (/w/workspace/foundry_device-modbus-go_jakarta@tmp/private_key_846459784008327651.key) [2022-06-08T16:17:19.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T16:17:19.651Z] + git semver push [2022-06-08T16:17:19.911Z] 2022-06-08 16:17:19,852 [run_push] DEBUG push [2022-06-08T16:17:19.911Z] 2022-06-08 16:17:19,853 [execute] INFO git cat-file --batch-check [2022-06-08T16:17:19.911Z] 2022-06-08 16:17:19,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T16:17:19.911Z] 2022-06-08 16:17:19,857 [execute] INFO git rev-list ed93cd8f5b6dff8d3f2f3ccc1424ed2da2584192 -- [2022-06-08T16:17:19.911Z] 2022-06-08 16:17:19,857 [execute] DEBUG Popen(['git', 'rev-list', 'ed93cd8f5b6dff8d3f2f3ccc1424ed2da2584192', '--'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:17:19.911Z] 2022-06-08 16:17:19,863 [execute] INFO git fetch -v origin [2022-06-08T16:17:19.911Z] 2022-06-08 16:17:19,863 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-08T16:17:20.481Z] 2022-06-08 16:17:20,339 [run_push] DEBUG no remote changes detected [2022-06-08T16:17:20.481Z] 2022-06-08 16:17:20,340 [execute] INFO git push origin semver [2022-06-08T16:17:20.481Z] 2022-06-08 16:17:20,340 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-modbus-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:17:21.054Z] 2022-06-08 16:17:21,011 [run_push] DEBUG push all version tags [2022-06-08T16:17:21.054Z] 2022-06-08 16:17:21,012 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-08T16:17:21.054Z] 2022-06-08 16:17:21,012 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-modbus-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:17:21.998Z] 2022-06-08 16:17:21,695 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta [2022-06-08T16:17:21.998Z] 2.1.1-dev.4 [Pipeline] } [2022-06-08T16:17:22.012Z] $ docker exec --env ******** --env ******** acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 ssh-agent -k [2022-06-08T16:17:22.127Z] unset SSH_AUTH_SOCK; [2022-06-08T16:17:22.127Z] unset SSH_AGENT_PID; [2022-06-08T16:17:22.127Z] echo Agent pid 39 killed; [2022-06-08T16:17:22.139Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T16:17:22.446Z] + git semver [Pipeline] } [2022-06-08T16:17:22.725Z] $ docker stop --time=1 acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 [2022-06-08T16:17:24.022Z] $ docker rm -f acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 [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-08T16:17:24.574Z] + [ -d /w/workspace/foundry_device-modbus-go_jakarta/archives ] [2022-06-08T16:17:24.574Z] + ls -al /w/workspace/foundry_device-modbus-go_jakarta/archives [2022-06-08T16:17:24.574Z] total 16 [2022-06-08T16:17:24.574Z] drwxr-xr-x 3 root root 4096 Jun 8 16:11 . [2022-06-08T16:17:24.574Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 8 16:17 .. [2022-06-08T16:17:24.574Z] drwxr-xr-x 2 root root 4096 Jun 8 16:11 cost [2022-06-08T16:17:24.574Z] -rw-r--r-- 1 root root 88 Jun 8 16:11 cost.csv [2022-06-08T16:17:24.574Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-modbus-go_jakarta/archives [2022-06-08T16:17:24.574Z] + ls -al /w/workspace/foundry_device-modbus-go_jakarta/archives [2022-06-08T16:17:24.574Z] total 16 [2022-06-08T16:17:24.574Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 16:11 . [2022-06-08T16:17:24.574Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 8 16:17 .. [2022-06-08T16:17:24.574Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 16:11 cost [2022-06-08T16:17:24.574Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 8 16:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:24.866Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:25.734Z] ---> package-listing.sh [2022-06-08T16:17:25.734Z] ++ facter osfamily [2022-06-08T16:17:25.734Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-08T16:17:25.996Z] + OS_FAMILY=debian [2022-06-08T16:17:25.996Z] + workspace=/w/workspace/foundry_device-modbus-go_jakarta [2022-06-08T16:17:25.996Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-08T16:17:25.996Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-08T16:17:25.996Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-08T16:17:25.996Z] + PACKAGES=/tmp/packages_start.txt [2022-06-08T16:17:25.996Z] + '[' /w/workspace/foundry_device-modbus-go_jakarta ']' [2022-06-08T16:17:25.996Z] + PACKAGES=/tmp/packages_end.txt [2022-06-08T16:17:25.996Z] + case "${OS_FAMILY}" in [2022-06-08T16:17:25.996Z] + dpkg -l [2022-06-08T16:17:25.996Z] + grep '^ii' [2022-06-08T16:17:25.996Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-08T16:17:25.996Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-08T16:17:25.996Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-08T16:17:25.996Z] + '[' /w/workspace/foundry_device-modbus-go_jakarta ']' [2022-06-08T16:17:25.996Z] + mkdir -p /w/workspace/foundry_device-modbus-go_jakarta/archives/ [2022-06-08T16:17:25.996Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-modbus-go_jakarta/archives/ [Pipeline] echo [2022-06-08T16:17:26.009Z] 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/foundry_device-modbus-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-08T16:17:26.295Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:17:26.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T16:17:26.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:17:26.955Z] prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container [2022-06-08T16:17:26.994Z] $ 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/foundry_device-modbus-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-modbus-go_jakarta -v /w/workspace/foundry_device-modbus-go_jakarta:/w/workspace/foundry_device-modbus-go_jakarta:rw,z -v /w/workspace/foundry_device-modbus-go_jakarta@tmp:/w/workspace/foundry_device-modbus-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T16:17:27.244Z] $ docker top 45ecb4b1fbd40ec7f2a69addb5a93a0eebd1da280f7d1ba4be3ac68a135b5bc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T16:17:27.608Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-08T16:17:27.896Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-08T16:17:28.186Z] + ls /var/log/sa-host [2022-06-08T16:17:28.186Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T16:17:28.310Z] provisioning config files... [2022-06-08T16:17:28.320Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config9107403732578538909tmp [Pipeline] { [Pipeline] echo [2022-06-08T16:17:28.335Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:28.623Z] ---> create-netrc.sh [Pipeline] } [2022-06-08T16:17:28.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:28.964Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-08T16:17:28.972Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:29.255Z] ---> sudo-logs.sh [2022-06-08T16:17:29.255Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-08T16:17:29.292Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:29.579Z] ---> job-cost.sh [2022-06-08T16:17:29.579Z] lf-activate-venv: SKIPPING [2022-06-08T16:17:29.579Z] DEBUG: total: 0.2199999988079071 [2022-06-08T16:17:29.579Z] INFO: Retrieving Stack Cost... [2022-06-08T16:17:30.150Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T16:17:30.411Z] INFO: Archiving Costs [Pipeline] echo [2022-06-08T16:17:30.422Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:17:30.708Z] ---> logs-deploy.sh [2022-06-08T16:17:30.708Z] lf-activate-venv: SKIPPING [2022-06-08T16:17:30.708Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/jakarta/6 [2022-06-08T16:17:30.708Z] INFO: archiving workspace using pattern(s): [2022-06-08T16:17:31.649Z] Archives upload complete. [2022-06-08T16:17:31.649Z] INFO: archiving logs to Nexus