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 16:09:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:09:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:09:32 ========================================================= 16:09:32 EdgeX Global Pipelines Version Info 16:09:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:09:33 ------------------- 16:09:33 stable info: 16:09:33 ------------------- 16:09:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:09:33 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:09:33 Message: update stable to v1.0.234 16:09:34 ------------------- 16:09:34 experimental info: 16:09:34 ------------------- 16:09:34 Commited By: **** collab-it+edgex@linuxfoundation.org 16:09:34 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:09:34 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd91d0d [Pipeline] echo 16:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:34 provisioning config files... 16:09:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config8590263682351684088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:35 ---> docker-login.sh 16:09:35 nexus3.edgexfoundry.org:10001 16:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:35 Configure a credential helper to remove this warning. See 16:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:35 16:09:35 Login Succeeded 16:09:35 nexus3.edgexfoundry.org:10002 16:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:35 Configure a credential helper to remove this warning. See 16:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:35 16:09:35 Login Succeeded 16:09:35 nexus3.edgexfoundry.org:10003 16:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:36 Configure a credential helper to remove this warning. See 16:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:36 16:09:36 Login Succeeded 16:09:36 nexus3.edgexfoundry.org:10004 16:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:36 Configure a credential helper to remove this warning. See 16:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:36 16:09:36 Login Succeeded 16:09:36 docker.io 16:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:36 Configure a credential helper to remove this warning. See 16:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:36 16:09:36 Login Succeeded 16:09:36 ---> docker-login.sh ends [Pipeline] } 16:09:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:09:36 + git rev-list -1 --merges dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57~1..dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] echo 16:09:36 -----------> git rev-list -1 --merges dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57~1..dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [false] [Pipeline] sh 16:09:37 + git log --format=format:%s -1 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] echo 16:09:37 ========================================================= 16:09:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:09:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:09:37 + git log --format=format:%s -1 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] echo 16:09:37 [semverPrep] GIT_COMMIT: dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57, Commit Message: fix(snap): expose parent directory in device-config plug (Jakarta) (#351) [Pipeline] echo 16:09:37 [semverPrep] This is not a build commit. [Pipeline] sh 16:09:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:38 + grep -v github /etc/ssh/ssh_known_hosts 16:09:38 + [ -e /tmp/ssh_known_hosts ] 16:09:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:09:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:09:38 + sudo tee -a /etc/ssh/ssh_known_hosts 16:09:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:38 16:09:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:38 0.1.4: Pulling from edgex-devops/py-git-semver 16:09:38 42c077c10790: Pulling fs layer 16:09:38 f63e77b7563a: Pulling fs layer 16:09:38 bd5fdadae976: Pulling fs layer 16:09:38 205491f53016: Pulling fs layer 16:09:38 df18705c85c3: Pulling fs layer 16:09:38 bdb3f477010e: Pulling fs layer 16:09:38 c8a8fc8e1c8f: Pulling fs layer 16:09:38 2c6e9b1d212d: Pulling fs layer 16:09:38 bdb8f0575790: Pulling fs layer 16:09:38 386e3cb2ff24: Pulling fs layer 16:09:38 2343380bae48: Pulling fs layer 16:09:38 205491f53016: Waiting 16:09:38 df18705c85c3: Waiting 16:09:38 bdb8f0575790: Waiting 16:09:38 bdb3f477010e: Waiting 16:09:38 c8a8fc8e1c8f: Waiting 16:09:38 2c6e9b1d212d: Waiting 16:09:38 2343380bae48: Waiting 16:09:38 386e3cb2ff24: Waiting 16:09:38 f63e77b7563a: Verifying Checksum 16:09:38 f63e77b7563a: Download complete 16:09:39 205491f53016: Verifying Checksum 16:09:39 205491f53016: Download complete 16:09:39 df18705c85c3: Verifying Checksum 16:09:39 df18705c85c3: Download complete 16:09:39 bd5fdadae976: Verifying Checksum 16:09:39 bd5fdadae976: Download complete 16:09:39 bdb3f477010e: Verifying Checksum 16:09:39 bdb3f477010e: Download complete 16:09:39 2c6e9b1d212d: Verifying Checksum 16:09:39 2c6e9b1d212d: Download complete 16:09:39 bdb8f0575790: Download complete 16:09:39 386e3cb2ff24: Download complete 16:09:39 2343380bae48: Verifying Checksum 16:09:39 2343380bae48: Download complete 16:09:39 42c077c10790: Verifying Checksum 16:09:39 42c077c10790: Download complete 16:09:39 c8a8fc8e1c8f: Verifying Checksum 16:09:39 c8a8fc8e1c8f: Download complete 16:09:40 42c077c10790: Pull complete 16:09:40 f63e77b7563a: Pull complete 16:09:41 bd5fdadae976: Pull complete 16:09:41 205491f53016: Pull complete 16:09:41 df18705c85c3: Pull complete 16:09:41 bdb3f477010e: Pull complete 16:09:44 c8a8fc8e1c8f: Pull complete 16:09:44 2c6e9b1d212d: Pull complete 16:09:44 bdb8f0575790: Pull complete 16:09:44 386e3cb2ff24: Pull complete 16:09:44 2343380bae48: Pull complete 16:09:44 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:44 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:09:44 $ 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 16:09:47 $ docker top 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 -eo pid,comm 16:09:47 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). 16:09:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:47 [ssh-agent] Looking for ssh-agent implementation... 16:09:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:47 $ docker exec 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 ssh-agent 16:09:47 SSH_AUTH_SOCK=/tmp/ssh-nRI8IqTeZAP2/agent.32 16:09:47 SSH_AGENT_PID=39 16:09:47 Running ssh-add (command line suppressed) 16:09:47 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) 16:09:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:47 + git tag --points-at HEAD [Pipeline] } 16:09:47 $ docker exec --env ******** --env ******** 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 ssh-agent -k 16:09:47 unset SSH_AUTH_SOCK; 16:09:47 unset SSH_AGENT_PID; 16:09:47 echo Agent pid 39 killed; 16:09:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:09:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:48 [ssh-agent] Looking for ssh-agent implementation... 16:09:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:48 $ docker exec 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 ssh-agent 16:09:48 SSH_AUTH_SOCK=/tmp/ssh-jg4iNGWY6Whw/agent.71 16:09:48 SSH_AGENT_PID=78 16:09:48 Running ssh-add (command line suppressed) 16:09:48 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) 16:09:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:48 + git semver init 16:09:48 2022-06-08 16:09:48,932 [run_init] DEBUG init version:0.0.0 force:False 16:09:48 2022-06-08 16:09:48,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-modbus-go_jakarta/.semver 16:09:48 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 16:09:48 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) 16:09:49 2022-06-08 16:09:49,682 [append_file] DEBUG append to file:/w/workspace/foundry_device-modbus-go_jakarta/.git/info/exclude 16:09:49 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 16:09:49 2022-06-08 16:09:49,682 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:09:49 2022-06-08 16:09:49,682 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:09:49 2.1.1-dev.3 [Pipeline] } 16:09:49 $ docker exec --env ******** --env ******** 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 ssh-agent -k 16:09:50 unset SSH_AUTH_SOCK; 16:09:50 unset SSH_AGENT_PID; 16:09:50 echo Agent pid 78 killed; 16:09:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:50 + git semver [Pipeline] } 16:09:50 $ docker stop --time=1 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 16:09:52 $ docker rm -f 14eff4b09b96abb06122f2c4c52fac5bb6f55f4139ebc7bf1f400f9308e55f69 [Pipeline] // withDockerContainer [Pipeline] sh 16:09:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:09:52 Stashed 1 file(s) [Pipeline] echo 16:09:52 [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 16:09:52 provisioning config files... 16:09:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config6718082753838540631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:53 ---> docker-login.sh 16:09:53 nexus3.edgexfoundry.org:10001 16:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:53 Configure a credential helper to remove this warning. See 16:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:53 16:09:53 Login Succeeded 16:09:53 nexus3.edgexfoundry.org:10002 16:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:53 Configure a credential helper to remove this warning. See 16:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:53 16:09:53 Login Succeeded 16:09:53 nexus3.edgexfoundry.org:10003 16:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:53 Configure a credential helper to remove this warning. See 16:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:53 16:09:53 Login Succeeded 16:09:53 nexus3.edgexfoundry.org:10004 16:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:53 Configure a credential helper to remove this warning. See 16:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:53 16:09:53 Login Succeeded 16:09:53 docker.io 16:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:53 Configure a credential helper to remove this warning. See 16:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:53 16:09:53 Login Succeeded 16:09:53 ---> docker-login.sh ends [Pipeline] } 16:09:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:09:53 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 16:09:54 + + grep ^go [0-9].[0-9]* go.mod 16:09:54 cut -d -f 2 [Pipeline] echo 16:09:54 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:54 ========================================================= 16:09:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 16:09:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:54 + 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 . 16:09:54 Sending build context to Docker daemon 17.19MB 16:09:54 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 16:09:54 Step 2/9 : FROM ${BASE} AS builder 16:09:54 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 16:09:54 a0d0a0d46f8b: Pulling fs layer 16:09:54 31adcdaf11c8: Pulling fs layer 16:09:54 b8b176561691: Pulling fs layer 16:09:54 4527c011a84f: Pulling fs layer 16:09:54 5d74067f8e1e: Pulling fs layer 16:09:54 fd57009d33ed: Pulling fs layer 16:09:54 6b058263d067: Pulling fs layer 16:09:54 16d7c86c65f4: Pulling fs layer 16:09:54 1290d154cb4b: Pulling fs layer 16:09:54 4527c011a84f: Waiting 16:09:54 16d7c86c65f4: Waiting 16:09:54 1290d154cb4b: Waiting 16:09:54 5d74067f8e1e: Waiting 16:09:54 6b058263d067: Waiting 16:09:54 fd57009d33ed: Waiting 16:09:54 b8b176561691: Verifying Checksum 16:09:54 b8b176561691: Download complete 16:09:54 31adcdaf11c8: Download complete 16:09:54 5d74067f8e1e: Verifying Checksum 16:09:54 5d74067f8e1e: Download complete 16:09:54 fd57009d33ed: Verifying Checksum 16:09:54 fd57009d33ed: Download complete 16:09:54 6b058263d067: Verifying Checksum 16:09:54 6b058263d067: Download complete 16:09:54 a0d0a0d46f8b: Download complete 16:09:55 16d7c86c65f4: Verifying Checksum 16:09:55 16d7c86c65f4: Download complete 16:09:55 a0d0a0d46f8b: Pull complete 16:09:55 31adcdaf11c8: Pull complete 16:09:55 b8b176561691: Pull complete 16:09:55 4527c011a84f: Verifying Checksum 16:09:55 4527c011a84f: Download complete 16:09:55 1290d154cb4b: Verifying Checksum 16:09:55 1290d154cb4b: Download complete 16:09:59 4527c011a84f: Pull complete 16:09:59 5d74067f8e1e: Pull complete 16:09:59 fd57009d33ed: Pull complete 16:09:59 6b058263d067: Pull complete 16:09:59 16d7c86c65f4: Pull complete 16:10:01 1290d154cb4b: Pull complete 16:10:01 Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 16:10:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 16:10:01 ---> de6a6ee31cbe 16:10:01 Step 3/9 : ARG MAKE='make build' 16:10:04 ---> Running in 53442caa1a47 16:10:04 Removing intermediate container 53442caa1a47 16:10:04 ---> a3960728e35c 16:10:04 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:04 ---> Running in 4692bce79311 16:10:05 Removing intermediate container 4692bce79311 16:10:05 ---> 09ea1c6882f3 16:10:05 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:10:05 ---> Running in 8e2f911c6c28 16:10:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:10:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:10:06 (1/8) Installing openssh-keygen (8.6_p1-r3) 16:10:06 (2/8) Installing libedit (20210216.3.1-r0) 16:10:06 (3/8) Installing openssh-client-common (8.6_p1-r3) 16:10:06 (4/8) Installing openssh-client-default (8.6_p1-r3) 16:10:06 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 16:10:07 (6/8) Installing openssh-server-common (8.6_p1-r3) 16:10:07 (7/8) Installing openssh-server (8.6_p1-r3) 16:10:07 (8/8) Installing openssh (8.6_p1-r3) 16:10:07 Executing busybox-1.33.1-r3.trigger 16:10:07 OK: 226 MiB in 60 packages 16:10:07 Removing intermediate container 8e2f911c6c28 16:10:07 ---> 8eae8798be07 16:10:07 Step 6/9 : WORKDIR /device-modbus-go 16:10:07 Still waiting to schedule task 16:10:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:10:07 ---> Running in 4e637f269a9b 16:10:07 Removing intermediate container 4e637f269a9b 16:10:07 ---> 672b940d1092 16:10:07 Step 7/9 : COPY . . 16:10:08 ---> 6c68a03a3469 16:10:08 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:10:09 ---> Running in a3a4e2660797 16:10:09 skipping... 16:10:09 Removing intermediate container a3a4e2660797 16:10:09 ---> 1207a45dcaa7 16:10:09 Step 9/9 : RUN ${MAKE} 16:10:09 ---> Running in c606be033e90 16:10:10 noop 16:10:10 Removing intermediate container c606be033e90 16:10:10 ---> e08ba7e05059 16:10:10 Successfully built e08ba7e05059 16:10:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:10 + docker inspect -f . ci-base-image-x86_64 16:10:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:10 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:10:10 $ 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 16:10:11 $ docker top d3e38c4d5cfea4df14789a589164365d6461cbf067231e7d05b6e605bc40f981 -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:11 + go version 16:10:11 go version go1.16.8 linux/amd64 [Pipeline] } 16:10:11 $ docker stop --time=1 d3e38c4d5cfea4df14789a589164365d6461cbf067231e7d05b6e605bc40f981 16:10:13 $ 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 16:10:13 + docker inspect -f . ci-base-image-x86_64 16:10:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:13 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:10:13 $ 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 16:10:14 $ docker top c49aa675d2ce2e144eed2bc50ff4cf5949039ef786058b6b56e40da039200749 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:10:14 + make test 16:10:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:10:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:10:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:10:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.021s coverage: 46.6% of statements 16:10:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:10:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:10:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:10:26 ./bin/test-attribution-txt.sh 16:10:27 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 16:10:27 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 16:10:27 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 16:10:27 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 16:10:27 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 16:10:27 go: downloading github.com/gorilla/mux v1.8.0 16:10:27 go: downloading github.com/google/uuid v1.3.0 16:10:27 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:10:27 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:10:27 go: downloading github.com/pelletier/go-toml v1.9.4 16:10:27 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:10:27 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 16:10:27 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 16:10:27 go: downloading github.com/hashicorp/go-multierror v1.1.0 16:10:27 go: downloading github.com/OneOfOne/xxhash v1.2.8 16:10:27 go: downloading github.com/hashicorp/consul/api v1.9.1 16:10:27 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:10:27 go: downloading github.com/go-playground/validator/v10 v10.9.0 16:10:27 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 16:10:27 go: downloading github.com/go-kit/kit v0.11.0 16:10:27 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:10:27 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:10:27 go: downloading github.com/pebbe/zmq4 v1.2.7 16:10:27 go: downloading github.com/go-logfmt/logfmt v0.5.0 16:10:27 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:10:27 go: downloading github.com/goburrow/serial v0.1.0 16:10:27 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:10:27 go: downloading github.com/mitchellh/copystructure v1.0.0 16:10:27 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:10:27 go: downloading github.com/stretchr/testify v1.7.0 16:10:27 go: downloading github.com/davecgh/go-spew v1.1.1 16:10:27 go: downloading github.com/pmezard/go-difflib v1.0.0 16:10:27 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 16:10:27 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 16:10:27 go: downloading golang.org/x/text v0.3.6 16:10:27 go: downloading github.com/goburrow/modbus v0.1.0 16:10:27 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:10:27 go: downloading github.com/hashicorp/errwrap v1.0.0 16:10:27 go: downloading github.com/x448/float16 v0.8.4 16:10:27 go: downloading github.com/gorilla/websocket v1.4.2 16:10:27 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:10:27 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:10:27 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:10:27 go: downloading github.com/hashicorp/serf v0.9.5 16:10:27 go: downloading github.com/go-playground/universal-translator v0.18.0 16:10:27 go: downloading github.com/leodido/go-urn v1.2.1 16:10:27 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 16:10:27 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:10:27 go: downloading github.com/fatih/color v1.9.0 16:10:27 go: downloading github.com/mattn/go-colorable v0.1.6 16:10:27 go: downloading github.com/mattn/go-isatty v0.0.12 16:10:27 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:10:27 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 16:10:29 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 16:10:29 + go mod tidy 16:10:29 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:10:29 go: downloading github.com/go-stack/stack v1.8.0 16:10:29 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:10:29 go: downloading github.com/stretchr/objx v0.1.1 16:10:29 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:10:29 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:10:29 go: downloading github.com/onsi/ginkgo v1.10.1 16:10:29 go: downloading github.com/onsi/gomega v1.7.0 16:10:29 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:10:29 go: downloading github.com/hashicorp/memberlist v0.2.2 16:10:29 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:10:29 go: downloading github.com/kr/pretty v0.3.0 16:10:29 go: downloading github.com/pkg/errors v0.9.1 16:10:29 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:10:29 go: downloading github.com/kr/text v0.2.0 16:10:29 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:10:29 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:10:29 go: downloading github.com/miekg/dns v1.1.26 16:10:29 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:10:29 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:10:29 go: downloading gopkg.in/yaml.v2 v2.3.0 16:10:29 go: downloading github.com/hpcloud/tail v1.0.0 16:10:29 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:10:29 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 16:10:30 $ docker stop --time=1 c49aa675d2ce2e144eed2bc50ff4cf5949039ef786058b6b56e40da039200749 16:10:32 $ docker rm -f c49aa675d2ce2e144eed2bc50ff4cf5949039ef786058b6b56e40da039200749 [Pipeline] // withDockerContainer [Pipeline] sh 16:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:10:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:10:34 + ls -al . 16:10:34 total 192 16:10:34 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 16:10 . 16:10:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:09 .. 16:10:34 -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 16:09 .dockerignore 16:10:34 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 16:09 .git 16:10:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:09 .github 16:10:34 -rw-rw-r-- 1 jenkins jenkins 323 Jun 8 16:09 .gitignore 16:10:34 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 16:09 .semver 16:10:34 -rw-rw-r-- 1 jenkins jenkins 8010 Jun 8 16:09 Attribution.txt 16:10:34 -rw-rw-r-- 1 jenkins jenkins 6297 Jun 8 16:09 CHANGELOG.md 16:10:34 -rw-rw-r-- 1 jenkins jenkins 1523 Jun 8 16:09 Dockerfile 16:10:34 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:09 GOVERNANCE.md 16:10:34 -rw-rw-r-- 1 jenkins jenkins 679 Jun 8 16:09 Jenkinsfile 16:10:34 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 16:09 LICENSE 16:10:34 -rw-rw-r-- 1 jenkins jenkins 1009 Jun 8 16:09 Makefile 16:10:34 -rw-rw-r-- 1 jenkins jenkins 622 Jun 8 16:09 OWNERS.md 16:10:34 -rw-rw-r-- 1 jenkins jenkins 3488 Jun 8 16:09 README.md 16:10:34 -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 16:09 VERSION 16:10:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:09 bin 16:10:34 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:09 cmd 16:10:34 -rw-r--r-- 1 jenkins jenkins 23727 Jun 8 16:10 coverage.out 16:10:34 -rw-rw-r-- 1 jenkins jenkins 294 Jun 8 16:10 go.mod 16:10:34 -rw-rw-r-- 1 jenkins jenkins 49487 Jun 8 16:09 go.sum 16:10:34 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:09 internal 16:10:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:09 simulator 16:10:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:09 snap 16:10:34 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 16:09 vendor 16:10:34 -rw-rw-r-- 1 jenkins jenkins 229 Jun 8 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:34 + 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 . 16:10:34 Sending build context to Docker daemon 17.21MB 16:10:34 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 16:10:34 Step 2/22 : FROM ${BASE} AS builder 16:10:34 ---> e08ba7e05059 16:10:34 Step 3/22 : ARG MAKE='make build' 16:10:35 ---> Running in a48b0ba693e7 16:10:35 Removing intermediate container a48b0ba693e7 16:10:35 ---> 3d50e8b7f38e 16:10:35 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:35 ---> Running in be9666f9ada5 16:10:35 Removing intermediate container be9666f9ada5 16:10:35 ---> a077207b9df9 16:10:35 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:10:35 ---> Running in 16ff251141cb 16:10:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:10:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:10:37 OK: 226 MiB in 60 packages 16:10:37 Removing intermediate container 16ff251141cb 16:10:37 ---> 6e08bd7c3897 16:10:37 Step 6/22 : WORKDIR /device-modbus-go 16:10:37 ---> Running in 1170c004250a 16:10:37 Removing intermediate container 1170c004250a 16:10:37 ---> f09c9f24bf95 16:10:37 Step 7/22 : COPY . . 16:10:39 ---> f4b8b832bf83 16:10:39 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:10:39 ---> Running in 7c7d6ccacd8e 16:10:39 skipping... 16:10:39 Removing intermediate container 7c7d6ccacd8e 16:10:39 ---> 61661d7ad725 16:10:39 Step 9/22 : RUN ${MAKE} 16:10:39 ---> Running in f9c1f2c1fb0f 16:10:39 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 16:10:47 Removing intermediate container f9c1f2c1fb0f 16:10:47 ---> dae20767c90d 16:10:47 Step 10/22 : FROM alpine:3.14 16:10:47 3.14: Pulling from library/alpine 16:10:47 8663204ce13b: Pulling fs layer 16:10:47 8663204ce13b: Verifying Checksum 16:10:47 8663204ce13b: Download complete 16:10:47 8663204ce13b: Pull complete 16:10:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:10:47 Status: Downloaded newer image for alpine:3.14 16:10:48 ---> e04c818066af 16:10:48 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:10:48 ---> Running in f60190163bb7 16:10:48 Removing intermediate container f60190163bb7 16:10:48 ---> 203fc76ede6f 16:10:48 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:48 ---> Running in f837976299cb 16:10:49 Removing intermediate container f837976299cb 16:10:49 ---> 38f4e1f203c7 16:10:49 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 16:10:49 ---> Running in d672e157b6e4 16:10:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:10:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:10:50 (1/6) Installing dumb-init (1.2.5-r1) 16:10:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:10:50 (3/6) Installing libsodium (1.0.18-r0) 16:10:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:10:50 (5/6) Installing libzmq (4.3.4-r0) 16:10:50 (6/6) Installing zeromq (4.3.4-r0) 16:10:50 Executing busybox-1.33.1-r7.trigger 16:10:50 OK: 8 MiB in 20 packages 16:10:51 Removing intermediate container d672e157b6e4 16:10:51 ---> eb9b01098367 16:10:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:10:51 ---> 709c0814467e 16:10:51 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:10:51 ---> 7c398e9c57d8 16:10:51 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:10:51 ---> 8d8d01d2cee6 16:10:51 Step 17/22 : EXPOSE 59901 16:10:52 ---> Running in e5f73318cb98 16:10:52 Removing intermediate container e5f73318cb98 16:10:52 ---> 30a8be2290b3 16:10:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:10:52 ---> Running in 37b051e6b694 16:10:52 Removing intermediate container 37b051e6b694 16:10:52 ---> 02fec3378e6f 16:10:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:10:52 ---> Running in 3afbb3b0edcb 16:10:52 Removing intermediate container 3afbb3b0edcb 16:10:52 ---> 39683ada27ef 16:10:52 Step 20/22 : LABEL arch=amd64 16:10:52 ---> Running in b288e190f9b2 16:10:52 Removing intermediate container b288e190f9b2 16:10:52 ---> 21ca241db664 16:10:52 Step 21/22 : LABEL git_sha=dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 16:10:52 ---> Running in 1cc5fc1f5ff1 16:10:52 Removing intermediate container 1cc5fc1f5ff1 16:10:52 ---> 2ff4d365cf4c 16:10:52 Step 22/22 : LABEL version=2.1.1-dev.3 16:10:52 ---> Running in bd4f0ada23f5 16:10:52 Removing intermediate container bd4f0ada23f5 16:10:52 ---> 84b3273f473f 16:10:52 [Warning] One or more build-args [ARCH] were not consumed 16:10:52 Successfully built 84b3273f473f 16:10:52 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:53 provisioning config files... 16:10:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config4904374177424179674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:53 ---> docker-login.sh 16:10:53 nexus3.edgexfoundry.org:10001 16:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:53 Configure a credential helper to remove this warning. See 16:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:53 16:10:53 Login Succeeded 16:10:53 nexus3.edgexfoundry.org:10002 16:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:53 Configure a credential helper to remove this warning. See 16:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:53 16:10:53 Login Succeeded 16:10:53 nexus3.edgexfoundry.org:10003 16:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:53 Configure a credential helper to remove this warning. See 16:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:53 16:10:53 Login Succeeded 16:10:53 nexus3.edgexfoundry.org:10004 16:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:53 Configure a credential helper to remove this warning. See 16:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:53 16:10:53 Login Succeeded 16:10:53 docker.io 16:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:54 Configure a credential helper to remove this warning. See 16:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:54 16:10:54 Login Succeeded 16:10:54 ---> docker-login.sh ends [Pipeline] } 16:10:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:10:54 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:54 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 16:10:54 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 16:10:54 2.1.1-dev.3 16:10:54 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 16:10:54 jakarta 16:10:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 16:10:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:10:54 9693649ca585: Preparing 16:10:54 e105b09d08d7: Preparing 16:10:54 56fe1d4cd50a: Preparing 16:10:54 7964513b82f9: Preparing 16:10:54 07d54cd74426: Preparing 16:10:54 b541d28bf3b4: Preparing 16:10:54 b541d28bf3b4: Waiting 16:10:54 07d54cd74426: Pushed 16:10:54 e105b09d08d7: Pushed 16:10:54 9693649ca585: Pushed 16:10:54 b541d28bf3b4: Layer already exists 16:10:55 7964513b82f9: Pushed 16:10:56 56fe1d4cd50a: Pushed 16:10:56 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57: digest: sha256:61920171348ef260a1975275acec98cde78ee11cf32cabb90f42d6cb3d7a2b9d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:56 + 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 16:10:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.1.1-dev.3 16:10:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:10:57 9693649ca585: Preparing 16:10:57 e105b09d08d7: Preparing 16:10:57 56fe1d4cd50a: Preparing 16:10:57 7964513b82f9: Preparing 16:10:57 07d54cd74426: Preparing 16:10:57 b541d28bf3b4: Preparing 16:10:57 b541d28bf3b4: Waiting 16:10:57 9693649ca585: Layer already exists 16:10:57 56fe1d4cd50a: Layer already exists 16:10:57 7964513b82f9: Layer already exists 16:10:57 07d54cd74426: Layer already exists 16:10:57 e105b09d08d7: Layer already exists 16:10:57 b541d28bf3b4: Layer already exists 16:10:57 2.1.1-dev.3: digest: sha256:61920171348ef260a1975275acec98cde78ee11cf32cabb90f42d6cb3d7a2b9d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:57 + 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 16:10:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 16:10:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:10:57 9693649ca585: Preparing 16:10:57 e105b09d08d7: Preparing 16:10:57 56fe1d4cd50a: Preparing 16:10:57 7964513b82f9: Preparing 16:10:57 07d54cd74426: Preparing 16:10:57 b541d28bf3b4: Preparing 16:10:57 b541d28bf3b4: Waiting 16:10:57 56fe1d4cd50a: Layer already exists 16:10:57 e105b09d08d7: Layer already exists 16:10:57 9693649ca585: Layer already exists 16:10:57 7964513b82f9: Layer already exists 16:10:57 07d54cd74426: Layer already exists 16:10:57 b541d28bf3b4: Layer already exists 16:10:57 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3: digest: sha256:61920171348ef260a1975275acec98cde78ee11cf32cabb90f42d6cb3d7a2b9d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:jakarta 16:10:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 16:10:58 9693649ca585: Preparing 16:10:58 e105b09d08d7: Preparing 16:10:58 56fe1d4cd50a: Preparing 16:10:58 7964513b82f9: Preparing 16:10:58 07d54cd74426: Preparing 16:10:58 b541d28bf3b4: Preparing 16:10:58 b541d28bf3b4: Waiting 16:10:58 9693649ca585: Layer already exists 16:10:58 56fe1d4cd50a: Layer already exists 16:10:58 e105b09d08d7: Layer already exists 16:10:58 7964513b82f9: Layer already exists 16:10:58 07d54cd74426: Layer already exists 16:10:58 b541d28bf3b4: Layer already exists 16:10:58 jakarta: digest: sha256:61920171348ef260a1975275acec98cde78ee11cf32cabb90f42d6cb3d7a2b9d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:10:58 ===================================================== [Pipeline] echo 16:10:58 taggedImages: 16:10:58 - nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 16:10:58 - nexus3.edgexfoundry.org:10004/device-modbus:2.1.1-dev.3 16:10:58 - nexus3.edgexfoundry.org:10004/device-modbus:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 16:10:58 - 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 16:10:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:58 16:10:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:59 latest: Pulling from edgex-lftools-log-publisher 16:10:59 5eb5b503b376: Pulling fs layer 16:10:59 5c69ac0246d0: Pulling fs layer 16:10:59 ec43610c2a17: Pulling fs layer 16:10:59 3a2ae6a8a46f: Pulling fs layer 16:10:59 33b1e0a273af: Pulling fs layer 16:10:59 5d3b04190fa2: Pulling fs layer 16:10:59 33b1e0a273af: Waiting 16:10:59 3a2ae6a8a46f: Waiting 16:10:59 5d3b04190fa2: Waiting 16:10:59 2f39f015ded8: Pulling fs layer 16:10:59 5c69ac0246d0: Verifying Checksum 16:10:59 5c69ac0246d0: Download complete 16:10:59 3a2ae6a8a46f: Verifying Checksum 16:10:59 3a2ae6a8a46f: Download complete 16:10:59 33b1e0a273af: Verifying Checksum 16:10:59 33b1e0a273af: Download complete 16:10:59 5d3b04190fa2: Download complete 16:10:59 ec43610c2a17: Verifying Checksum 16:10:59 5eb5b503b376: Download complete 16:10:59 2f39f015ded8: Verifying Checksum 16:10:59 2f39f015ded8: Download complete 16:11:00 5eb5b503b376: Pull complete 16:11:00 5c69ac0246d0: Pull complete 16:11:01 ec43610c2a17: Pull complete 16:11:01 3a2ae6a8a46f: Pull complete 16:11:01 33b1e0a273af: Pull complete 16:11:01 5d3b04190fa2: Pull complete 16:11:05 2f39f015ded8: Pull complete 16:11:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:11:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:05 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:11:06 $ 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 16:11:08 $ docker top a89890f134fccd2f47c3e7a569399b072f72bf687f4a311d5fc34e39d1916561 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:08 ---> job-cost.sh 16:11:08 lf-activate-venv: SKIPPING 16:11:08 INFO: No Stack... 16:11:08 INFO: Retrieving Pricing Info for: v3-standard-8 16:11:09 INFO: Archiving Costs [Pipeline] sh 16:11:09 + cut -d, -f6 16:11:09 + cat /w/workspace/foundry_device-modbus-go_jakarta/archives/cost.csv [Pipeline] lock 16:11:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] 16:11:09 Resource [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] did not exist. Created. 16:11:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:11:09 + echo total: 0.2199999988079071 [Pipeline] stash 16:11:09 Stashed 1 file(s) [Pipeline] } 16:11:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:11:09 $ docker stop --time=1 a89890f134fccd2f47c3e7a569399b072f72bf687f4a311d5fc34e39d1916561 16:11:11 $ docker rm -f a89890f134fccd2f47c3e7a569399b072f72bf687f4a311d5fc34e39d1916561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:11:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1771 in /w/workspace/foundry_device-modbus-go_jakarta [Pipeline] { [Pipeline] ws 16:11:46 Running in /w/workspace/device-modbus-go/6 [Pipeline] { [Pipeline] checkout 16:11:46 Selected Git installation does not exist. Using Default 16:11:46 The recommended git tool is: NONE 16:11:51 using credential edgex-jenkins-ssh 16:11:51 Cloning the remote Git repository 16:11:51 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:11:51 > git init /w/workspace/device-modbus-go/6 # timeout=10 16:11:52 Avoid second fetch 16:11:52 Checking out Revision dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 (jakarta) 16:11:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:11:51 > git --version # timeout=10 16:11:51 > git --version # 'git version 2.25.1' 16:11:51 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:11:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:11:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:11:52 > git config core.sparsecheckout # timeout=10 16:11:53 > git checkout -f dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 # timeout=10 16:11:57 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 16:11:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:11:58 % Total % Received % Xferd Average Speed Time Time Time Current 16:11:58 Dload Upload Total Spent Left Speed 16:11:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 16:11:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:11:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:11:59 + sudo tee /etc/docker/daemon.new 16:11:59 { 16:11:59 "registry-mirrors": [ 16:11:59 "https://nexus3.edgexfoundry.org:10001" 16:11:59 ], 16:11:59 "bip": "10.250.0.254/24", 16:11:59 "hosts": [ 16:11:59 "tcp://0.0.0.0:5555", 16:11:59 "unix:///var/run/docker.sock" 16:11:59 ], 16:11:59 "mtu": 1458, 16:11:59 "selinux-enabled": true, 16:11:59 "seccomp-profile": "/etc/docker/seccomp.json" 16:11:59 } [Pipeline] sh 16:11:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:12:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:12:18 provisioning config files... 16:12:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config69954016886484512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:18 ---> docker-login.sh 16:12:18 nexus3.edgexfoundry.org:10001 16:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:19 Configure a credential helper to remove this warning. See 16:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:19 16:12:19 Login Succeeded 16:12:19 nexus3.edgexfoundry.org:10002 16:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:20 Configure a credential helper to remove this warning. See 16:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:20 16:12:20 Login Succeeded 16:12:20 nexus3.edgexfoundry.org:10003 16:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:20 Configure a credential helper to remove this warning. See 16:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:20 16:12:20 Login Succeeded 16:12:20 nexus3.edgexfoundry.org:10004 16:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:21 Configure a credential helper to remove this warning. See 16:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:21 16:12:21 Login Succeeded 16:12:21 docker.io 16:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:22 Configure a credential helper to remove this warning. See 16:12:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:22 16:12:22 Login Succeeded 16:12:22 ---> docker-login.sh ends [Pipeline] } 16:12:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:12:22 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 16:12:22 + cut -d -f 2 16:12:22 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 16:12:23 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:12:23 ========================================================= 16:12:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 16:12:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:23 + 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 . 16:12:24 Sending build context to Docker daemon 14.3MB 16:12:24 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 16:12:24 Step 2/9 : FROM ${BASE} AS builder 16:12:24 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 16:12:24 552d1f2373af: Pulling fs layer 16:12:24 ea3f2d53f512: Pulling fs layer 16:12:24 9e70ebbbe112: Pulling fs layer 16:12:24 7a9cfe048b4a: Pulling fs layer 16:12:24 72dc09318566: Pulling fs layer 16:12:24 f324388ff665: Pulling fs layer 16:12:24 53ef782089cf: Pulling fs layer 16:12:24 2af28fca035d: Pulling fs layer 16:12:24 7a9cfe048b4a: Waiting 16:12:24 72dc09318566: Waiting 16:12:24 f324388ff665: Waiting 16:12:24 53ef782089cf: Waiting 16:12:24 2af28fca035d: Waiting 16:12:24 9e70ebbbe112: Verifying Checksum 16:12:24 9e70ebbbe112: Download complete 16:12:24 ea3f2d53f512: Verifying Checksum 16:12:24 ea3f2d53f512: Download complete 16:12:24 f324388ff665: Verifying Checksum 16:12:24 f324388ff665: Download complete 16:12:24 53ef782089cf: Verifying Checksum 16:12:24 53ef782089cf: Download complete 16:12:24 552d1f2373af: Verifying Checksum 16:12:24 552d1f2373af: Download complete 16:12:25 552d1f2373af: Pull complete 16:12:26 ea3f2d53f512: Pull complete 16:12:26 9e70ebbbe112: Pull complete 16:12:27 2af28fca035d: Verifying Checksum 16:12:27 2af28fca035d: Download complete 16:12:27 7a9cfe048b4a: Verifying Checksum 16:12:27 7a9cfe048b4a: Download complete 16:12:39 7a9cfe048b4a: Pull complete 16:12:39 72dc09318566: Pull complete 16:12:39 f324388ff665: Pull complete 16:12:39 53ef782089cf: Pull complete 16:12:45 2af28fca035d: Pull complete 16:12:45 Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 16:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 16:12:45 ---> d19f1962542a 16:12:45 Step 3/9 : ARG MAKE='make build' 16:12:46 ---> Running in 71cb850961a3 16:12:46 Removing intermediate container 71cb850961a3 16:12:46 ---> 1c1a611e185c 16:12:46 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:12:46 ---> Running in 70edf58b1031 16:12:48 Removing intermediate container 70edf58b1031 16:12:48 ---> 71c70d8734a9 16:12:48 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:12:48 ---> Running in b2bc0deab4bd 16:12:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:12:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:12:50 (1/8) Installing openssh-keygen (8.6_p1-r3) 16:12:51 (2/8) Installing libedit (20210216.3.1-r0) 16:12:51 (3/8) Installing openssh-client-common (8.6_p1-r3) 16:12:51 (4/8) Installing openssh-client-default (8.6_p1-r3) 16:12:51 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 16:12:51 (6/8) Installing openssh-server-common (8.6_p1-r3) 16:12:51 (7/8) Installing openssh-server (8.6_p1-r3) 16:12:51 (8/8) Installing openssh (8.6_p1-r3) 16:12:51 Executing busybox-1.33.1-r3.trigger 16:12:52 OK: 225 MiB in 60 packages 16:12:53 Removing intermediate container b2bc0deab4bd 16:12:53 ---> b75898effef0 16:12:53 Step 6/9 : WORKDIR /device-modbus-go 16:12:53 ---> Running in c9d47eea92b6 16:12:53 Removing intermediate container c9d47eea92b6 16:12:53 ---> a39ab7bccf2a 16:12:53 Step 7/9 : COPY . . 16:12:57 ---> 836e3a8ba32e 16:12:57 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:57 ---> Running in d7d9b49cbb4c 16:12:57 skipping... 16:12:58 Removing intermediate container d7d9b49cbb4c 16:12:58 ---> e5c5fd3c6385 16:12:58 Step 9/9 : RUN ${MAKE} 16:12:58 ---> Running in 342f0db53137 16:12:59 noop 16:12:59 Removing intermediate container 342f0db53137 16:12:59 ---> 56fb99e271c2 16:12:59 Successfully built 56fb99e271c2 16:12:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:00 + docker inspect -f . ci-base-image-arm64 16:13:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:00 prd-ubuntu20.04-docker-arm64-4c-16g-1771 does not seem to be running inside a container 16:13:00 $ 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 16:13:01 $ docker top 24f3c886d41569941202ca26200785b468010f42bcd44c6f665c1422e136d2b1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:02 + go version 16:13:02 go version go1.16.8 linux/arm64 [Pipeline] } 16:13:02 $ docker stop --time=1 24f3c886d41569941202ca26200785b468010f42bcd44c6f665c1422e136d2b1 16:13:04 $ 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 16:13:04 + docker inspect -f . ci-base-image-arm64 16:13:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:05 prd-ubuntu20.04-docker-arm64-4c-16g-1771 does not seem to be running inside a container 16:13:05 $ 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 16:13:06 $ docker top 1241f48822dea3eed90812e8fd42a69c511770d28e93f8cf1c1577502292435b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:13:07 + make test 16:13:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:13:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:14:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:14:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.054s coverage: 46.6% of statements 16:14:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:14:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:14:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:14:32 ./bin/test-attribution-txt.sh 16:14:32 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 16:14:32 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 16:14:32 go: downloading github.com/goburrow/modbus v0.1.0 16:14:32 go: downloading github.com/stretchr/testify v1.7.0 16:14:32 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:14:32 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 16:14:32 go: downloading github.com/OneOfOne/xxhash v1.2.8 16:14:32 go: downloading github.com/google/uuid v1.3.0 16:14:32 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 16:14:32 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 16:14:32 go: downloading github.com/pelletier/go-toml v1.9.4 16:14:32 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:14:32 go: downloading github.com/gorilla/mux v1.8.0 16:14:32 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:14:32 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 16:14:32 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 16:14:32 go: downloading github.com/hashicorp/go-multierror v1.1.0 16:14:32 go: downloading github.com/hashicorp/consul/api v1.9.1 16:14:32 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:14:32 go: downloading github.com/go-kit/kit v0.11.0 16:14:32 go: downloading github.com/go-playground/validator/v10 v10.9.0 16:14:32 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 16:14:32 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:14:32 go: downloading github.com/pebbe/zmq4 v1.2.7 16:14:32 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:14:32 go: downloading github.com/go-logfmt/logfmt v0.5.0 16:14:32 go: downloading github.com/goburrow/serial v0.1.0 16:14:32 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:14:32 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:14:32 go: downloading github.com/mitchellh/copystructure v1.0.0 16:14:32 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:14:32 go: downloading github.com/davecgh/go-spew v1.1.1 16:14:32 go: downloading github.com/pmezard/go-difflib v1.0.0 16:14:32 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 16:14:32 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 16:14:32 go: downloading golang.org/x/text v0.3.6 16:14:33 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:14:33 go: downloading github.com/hashicorp/errwrap v1.0.0 16:14:33 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:14:33 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:14:33 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:14:33 go: downloading github.com/hashicorp/serf v0.9.5 16:14:33 go: downloading github.com/x448/float16 v0.8.4 16:14:33 go: downloading github.com/go-playground/universal-translator v0.18.0 16:14:33 go: downloading github.com/leodido/go-urn v1.2.1 16:14:33 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 16:14:35 go: downloading github.com/gorilla/websocket v1.4.2 16:14:35 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:14:35 go: downloading github.com/fatih/color v1.9.0 16:14:35 go: downloading github.com/mattn/go-colorable v0.1.6 16:14:35 go: downloading github.com/mattn/go-isatty v0.0.12 16:14:35 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:14:35 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 16:14:39 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 16:14:40 + go mod tidy 16:14:40 go: downloading github.com/go-stack/stack v1.8.0 16:14:40 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:14:40 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:14:40 go: downloading github.com/stretchr/objx v0.1.1 16:14:40 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:14:40 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:14:40 go: downloading github.com/onsi/ginkgo v1.10.1 16:14:40 go: downloading github.com/onsi/gomega v1.7.0 16:14:40 go: downloading github.com/kr/pretty v0.3.0 16:14:40 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:14:40 go: downloading github.com/hashicorp/memberlist v0.2.2 16:14:40 go: downloading github.com/pkg/errors v0.9.1 16:14:41 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:14:41 go: downloading github.com/kr/text v0.2.0 16:14:41 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:14:41 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:14:41 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:14:41 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:14:41 go: downloading github.com/miekg/dns v1.1.26 16:14:41 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:14:41 go: downloading gopkg.in/yaml.v2 v2.3.0 16:14:41 go: downloading github.com/hpcloud/tail v1.0.0 16:14:41 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:14:41 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 16:14:41 $ docker stop --time=1 1241f48822dea3eed90812e8fd42a69c511770d28e93f8cf1c1577502292435b 16:14:44 $ docker rm -f 1241f48822dea3eed90812e8fd42a69c511770d28e93f8cf1c1577502292435b [Pipeline] // withDockerContainer [Pipeline] sh 16:14:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:14:46 Warning: overwriting stash ‘coverage-report’ 16:14:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:14:47 + ls -al . 16:14:47 total 188 16:14:47 drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 16:14 . 16:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:11 .. 16:14:47 -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 16:11 .dockerignore 16:14:47 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 16:11 .git 16:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:11 .github 16:14:47 -rw-rw-r-- 1 jenkins jenkins 323 Jun 8 16:11 .gitignore 16:14:47 -rw-rw-r-- 1 jenkins jenkins 8010 Jun 8 16:11 Attribution.txt 16:14:47 -rw-rw-r-- 1 jenkins jenkins 6297 Jun 8 16:11 CHANGELOG.md 16:14:47 -rw-rw-r-- 1 jenkins jenkins 1523 Jun 8 16:11 Dockerfile 16:14:47 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:11 GOVERNANCE.md 16:14:47 -rw-rw-r-- 1 jenkins jenkins 679 Jun 8 16:11 Jenkinsfile 16:14:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 16:11 LICENSE 16:14:47 -rw-rw-r-- 1 jenkins jenkins 1009 Jun 8 16:11 Makefile 16:14:47 -rw-rw-r-- 1 jenkins jenkins 622 Jun 8 16:11 OWNERS.md 16:14:47 -rw-rw-r-- 1 jenkins jenkins 3488 Jun 8 16:11 README.md 16:14:47 -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 16:09 VERSION 16:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:11 bin 16:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:11 cmd 16:14:47 -rw-r--r-- 1 jenkins jenkins 23727 Jun 8 16:14 coverage.out 16:14:47 -rw-rw-r-- 1 jenkins jenkins 294 Jun 8 16:14 go.mod 16:14:47 -rw-rw-r-- 1 jenkins jenkins 49487 Jun 8 16:11 go.sum 16:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:11 internal 16:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:11 simulator 16:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:11 snap 16:14:47 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 16:11 vendor 16:14:47 -rw-rw-r-- 1 jenkins jenkins 229 Jun 8 16:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:48 + 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 . 16:14:49 Sending build context to Docker daemon 14.33MB 16:14:49 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 16:14:49 Step 2/22 : FROM ${BASE} AS builder 16:14:49 ---> 56fb99e271c2 16:14:49 Step 3/22 : ARG MAKE='make build' 16:14:49 ---> Running in 370195430d0a 16:14:50 Removing intermediate container 370195430d0a 16:14:50 ---> f05a6ea92b31 16:14:50 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:14:50 ---> Running in f2cdc5199fad 16:14:51 Removing intermediate container f2cdc5199fad 16:14:51 ---> b70bb5b3df92 16:14:51 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:14:51 ---> Running in d26c963ea371 16:14:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:14:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:14:54 OK: 225 MiB in 60 packages 16:14:55 Removing intermediate container d26c963ea371 16:14:55 ---> 1390b8e1bd53 16:14:55 Step 6/22 : WORKDIR /device-modbus-go 16:14:55 ---> Running in 3841a22d0772 16:14:55 Removing intermediate container 3841a22d0772 16:14:55 ---> 574e4f538769 16:14:55 Step 7/22 : COPY . . 16:14:59 ---> 59b882f0df2f 16:14:59 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:59 ---> Running in 93910b63f901 16:15:00 skipping... 16:15:01 Removing intermediate container 93910b63f901 16:15:01 ---> 63bb5c602c5a 16:15:01 Step 9/22 : RUN ${MAKE} 16:15:01 ---> Running in c943f1a4d308 16:15:02 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 16:15:41 Removing intermediate container c943f1a4d308 16:15:41 ---> 0474f3490215 16:15:41 Step 10/22 : FROM alpine:3.14 16:15:41 3.14: Pulling from library/alpine 16:15:41 455c02918c45: Pulling fs layer 16:15:41 455c02918c45: Download complete 16:15:41 455c02918c45: Pull complete 16:15:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:15:41 Status: Downloaded newer image for alpine:3.14 16:15:41 ---> ac73e934f311 16:15:41 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:15:41 ---> Running in c2b348226d05 16:15:41 Removing intermediate container c2b348226d05 16:15:41 ---> f247d76f432a 16:15:41 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:15:41 ---> Running in 20c8e2e296dc 16:15:42 Removing intermediate container 20c8e2e296dc 16:15:42 ---> a9070ccec3be 16:15:42 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 16:15:42 ---> Running in b2644bc06274 16:15:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:15:44 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:15:45 (1/6) Installing dumb-init (1.2.5-r1) 16:15:45 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:15:45 (3/6) Installing libsodium (1.0.18-r0) 16:15:45 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:15:45 (5/6) Installing libzmq (4.3.4-r0) 16:15:45 (6/6) Installing zeromq (4.3.4-r0) 16:15:45 Executing busybox-1.33.1-r7.trigger 16:15:45 OK: 8 MiB in 20 packages 16:15:46 Removing intermediate container b2644bc06274 16:15:46 ---> a90da20d3bdf 16:15:46 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:15:47 ---> f22738eca6c2 16:15:47 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:15:48 ---> c9bd9943c57f 16:15:48 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:15:48 ---> 07798a99433b 16:15:48 Step 17/22 : EXPOSE 59901 16:15:48 ---> Running in 51d44fbdcb5b 16:15:49 Removing intermediate container 51d44fbdcb5b 16:15:49 ---> 9952c13548b0 16:15:49 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:15:49 ---> Running in 0d01ef63b14a 16:15:49 Removing intermediate container 0d01ef63b14a 16:15:49 ---> 995c337c7171 16:15:49 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:15:49 ---> Running in f869133eae85 16:15:49 Removing intermediate container f869133eae85 16:15:49 ---> 2657af95b72a 16:15:49 Step 20/22 : LABEL arch=arm64 16:15:49 ---> Running in 85b40260b8a9 16:15:50 Removing intermediate container 85b40260b8a9 16:15:50 ---> 2b797d5a9f8c 16:15:50 Step 21/22 : LABEL git_sha=dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 16:15:50 ---> Running in 3eb64ecfdd44 16:15:50 Removing intermediate container 3eb64ecfdd44 16:15:50 ---> 1be4bb95c365 16:15:50 Step 22/22 : LABEL version=2.1.1-dev.3 16:15:50 ---> Running in 59f366250516 16:15:50 Removing intermediate container 59f366250516 16:15:50 ---> 97e8b0dc791f 16:15:50 [Warning] One or more build-args [ARCH] were not consumed 16:15:51 Successfully built 97e8b0dc791f 16:15:51 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 16:15:51 provisioning config files... 16:15:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config2521320811679510864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:51 ---> docker-login.sh 16:15:51 nexus3.edgexfoundry.org:10001 16:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:52 Configure a credential helper to remove this warning. See 16:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:52 16:15:52 Login Succeeded 16:15:52 nexus3.edgexfoundry.org:10002 16:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:52 Configure a credential helper to remove this warning. See 16:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:52 16:15:52 Login Succeeded 16:15:52 nexus3.edgexfoundry.org:10003 16:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:53 Configure a credential helper to remove this warning. See 16:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:53 16:15:53 Login Succeeded 16:15:53 nexus3.edgexfoundry.org:10004 16:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:53 Configure a credential helper to remove this warning. See 16:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:53 16:15:53 Login Succeeded 16:15:53 docker.io 16:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:54 Configure a credential helper to remove this warning. See 16:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:54 16:15:54 Login Succeeded 16:15:54 ---> docker-login.sh ends [Pipeline] } 16:15:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:15:54 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:54 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 16:15:54 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 16:15:54 2.1.1-dev.3 16:15:54 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 16:15:54 jakarta 16:15:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 16:15:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:15:55 9e00c0ae0063: Preparing 16:15:55 ec217bb20a1d: Preparing 16:15:55 3b2a0dce8b15: Preparing 16:15:55 7ed0b1e23f6c: Preparing 16:15:55 9b024dfc4867: Preparing 16:15:55 f73e7dbfee58: Preparing 16:15:55 f73e7dbfee58: Waiting 16:15:55 9b024dfc4867: Pushed 16:15:55 9e00c0ae0063: Pushed 16:15:55 ec217bb20a1d: Pushed 16:15:55 f73e7dbfee58: Layer already exists 16:15:55 7ed0b1e23f6c: Pushed 16:15:58 3b2a0dce8b15: Pushed 16:15:58 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57: digest: sha256:e5d3157f69caa6ff9179d4b3a9b61c1e9d4b766790fbf7aa5cd8318aff59c307 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:58 + 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 16:15:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.1-dev.3 16:15:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:15:59 9e00c0ae0063: Preparing 16:15:59 ec217bb20a1d: Preparing 16:15:59 3b2a0dce8b15: Preparing 16:15:59 7ed0b1e23f6c: Preparing 16:15:59 9b024dfc4867: Preparing 16:15:59 f73e7dbfee58: Preparing 16:15:59 f73e7dbfee58: Waiting 16:15:59 3b2a0dce8b15: Layer already exists 16:15:59 9b024dfc4867: Layer already exists 16:15:59 ec217bb20a1d: Layer already exists 16:15:59 7ed0b1e23f6c: Layer already exists 16:15:59 9e00c0ae0063: Layer already exists 16:15:59 f73e7dbfee58: Layer already exists 16:15:59 2.1.1-dev.3: digest: sha256:e5d3157f69caa6ff9179d4b3a9b61c1e9d4b766790fbf7aa5cd8318aff59c307 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:59 + 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 16:16:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 16:16:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:16:00 9e00c0ae0063: Preparing 16:16:00 ec217bb20a1d: Preparing 16:16:00 3b2a0dce8b15: Preparing 16:16:00 7ed0b1e23f6c: Preparing 16:16:00 9b024dfc4867: Preparing 16:16:00 f73e7dbfee58: Preparing 16:16:00 f73e7dbfee58: Waiting 16:16:00 9e00c0ae0063: Layer already exists 16:16:00 ec217bb20a1d: Layer already exists 16:16:00 9b024dfc4867: Layer already exists 16:16:00 7ed0b1e23f6c: Layer already exists 16:16:00 3b2a0dce8b15: Layer already exists 16:16:00 f73e7dbfee58: Layer already exists 16:16:00 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3: digest: sha256:e5d3157f69caa6ff9179d4b3a9b61c1e9d4b766790fbf7aa5cd8318aff59c307 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:jakarta 16:16:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:16:01 9e00c0ae0063: Preparing 16:16:01 ec217bb20a1d: Preparing 16:16:01 3b2a0dce8b15: Preparing 16:16:01 7ed0b1e23f6c: Preparing 16:16:01 9b024dfc4867: Preparing 16:16:01 f73e7dbfee58: Preparing 16:16:01 f73e7dbfee58: Waiting 16:16:01 9b024dfc4867: Layer already exists 16:16:01 7ed0b1e23f6c: Layer already exists 16:16:01 ec217bb20a1d: Layer already exists 16:16:01 9e00c0ae0063: Layer already exists 16:16:01 3b2a0dce8b15: Layer already exists 16:16:01 f73e7dbfee58: Layer already exists 16:16:01 jakarta: digest: sha256:e5d3157f69caa6ff9179d4b3a9b61c1e9d4b766790fbf7aa5cd8318aff59c307 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:16:01 ===================================================== [Pipeline] echo 16:16:01 taggedImages: 16:16:01 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 16:16:01 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.1.1-dev.3 16:16:01 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57-2.1.1-dev.3 16:16:01 - 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 16:16:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:16:02 16:16:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:16:02 arm64: Pulling from edgex-lftools-log-publisher 16:16:02 8998bd30e6a1: Pulling fs layer 16:16:02 04944245beec: Pulling fs layer 16:16:02 699f458cf7ca: Pulling fs layer 16:16:02 765212b225bb: Pulling fs layer 16:16:02 f23df028b6ca: Pulling fs layer 16:16:02 d65c8cfc05b1: Pulling fs layer 16:16:02 2437ff75d9bd: Pulling fs layer 16:16:02 f23df028b6ca: Waiting 16:16:02 d65c8cfc05b1: Waiting 16:16:02 765212b225bb: Waiting 16:16:02 04944245beec: Verifying Checksum 16:16:02 04944245beec: Download complete 16:16:02 765212b225bb: Verifying Checksum 16:16:02 765212b225bb: Download complete 16:16:02 f23df028b6ca: Verifying Checksum 16:16:02 f23df028b6ca: Download complete 16:16:02 d65c8cfc05b1: Verifying Checksum 16:16:02 d65c8cfc05b1: Download complete 16:16:02 699f458cf7ca: Verifying Checksum 16:16:02 699f458cf7ca: Download complete 16:16:03 8998bd30e6a1: Verifying Checksum 16:16:03 8998bd30e6a1: Download complete 16:16:05 2437ff75d9bd: Verifying Checksum 16:16:05 2437ff75d9bd: Download complete 16:16:07 8998bd30e6a1: Pull complete 16:16:07 04944245beec: Pull complete 16:16:09 699f458cf7ca: Pull complete 16:16:09 765212b225bb: Pull complete 16:16:10 f23df028b6ca: Pull complete 16:16:10 d65c8cfc05b1: Pull complete 16:16:25 2437ff75d9bd: Pull complete 16:16:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:16:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:16:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:26 prd-ubuntu20.04-docker-arm64-4c-16g-1771 does not seem to be running inside a container 16:16:26 $ 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 16:16:28 $ docker top 61e51c45fe714731f2fda1d41108f437e70ba1d905b66cabd54cb6e997264195 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:29 ---> job-cost.sh 16:16:29 lf-activate-venv: SKIPPING 16:16:29 INFO: No Stack... 16:16:29 INFO: Retrieving Pricing Info for: v3-standard-4 16:16:30 INFO: Archiving Costs [Pipeline] sh 16:16:31 + cat /w/workspace/device-modbus-go/6/archives/cost.csv 16:16:31 + cut -d, -f6 [Pipeline] lock 16:16:31 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] 16:16:31 Resource [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] did not exist. Created. 16:16:31 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:16:32 /w/workspace/device-modbus-go/6@tmp/durable-48349d6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:16:32 + echo total: 0.10999999940395355 [Pipeline] stash 16:16:32 Warning: overwriting stash ‘stack-cost’ 16:16:33 Stashed 1 file(s) [Pipeline] } 16:16:33 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:16:33 $ docker stop --time=1 61e51c45fe714731f2fda1d41108f437e70ba1d905b66cabd54cb6e997264195 16:16:34 $ 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 16:16:35 provisioning config files... 16:16:35 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config8028947745444093677tmp [Pipeline] { [Pipeline] sh 16:16:35 + set +x 16:16:35 + curl -s https://codecov.io/bash 16:16:35 + bash -s -- 16:16:35 16:16:35 _____ _ 16:16:35 / ____| | | 16:16:35 | | ___ __| | ___ ___ _____ __ 16:16:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:16:35 | |___| (_) | (_| | __/ (_| (_) \ V / 16:16:35 \_____\___/ \__,_|\___|\___\___/ \_/ 16:16:35 Bash-1.0.6 16:16:35 16:16:35 16:16:35 ==> git version 2.25.1 found 16:16:35 ==> 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 16:16:35 Release-Date: 2020-01-08 16:16:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:16:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:16:35 ==> Jenkins CI detected. 16:16:35 current dir:  /w/workspace/foundry_device-modbus-go_jakarta 16:16:35 project root: . 16:16:35 --> token set from env 16:16:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:16:35 ==> Running gcov in . (disable via -X gcov) 16:16:35 ==> Python coveragepy not found 16:16:35 ==> Searching for coverage reports in: 16:16:35 + . 16:16:35 -> Found 1 reports 16:16:35 ==> Detecting git/mercurial file structure 16:16:35 ==> Reading reports 16:16:35 + ./coverage.out bytes=23727 16:16:35 ==> Appending adjustments 16:16:35 https://docs.codecov.io/docs/fixing-reports 16:16:35 + Found adjustments 16:16:35 ==> Gzipping contents 16:16:35 12K /tmp/codecov.ZfD7vn.gz 16:16:35 ==> Uploading reports 16:16:35 url: https://codecov.io 16:16:35 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= 16:16:35 -> Pinging Codecov 16:16:35 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= 16:16:35 -> Uploading to 16:16:35 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 16:16:35 % Total % Received % Xferd Average Speed Time Time Time Current 16:16:35 Dload Upload Total Spent Left Speed 16:16:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10796 0 0 100 10796 0 42841 --:--:-- --:--:-- --:--:-- 43011 16:16:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] } 16:16:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:16:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:16:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:16:36 16:16:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:16:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:16:36 df9b9388f04a: Pulling fs layer 16:16:36 52dc419b0ee2: Pulling fs layer 16:16:36 25bc292e5bac: Pulling fs layer 16:16:36 114826534d7a: Pulling fs layer 16:16:36 4657fd5d0bcf: Pulling fs layer 16:16:36 6ad1cebc031e: Pulling fs layer 16:16:36 8a3aa393b2d8: Pulling fs layer 16:16:36 6ad1cebc031e: Waiting 16:16:36 8a3aa393b2d8: Waiting 16:16:36 114826534d7a: Waiting 16:16:36 4657fd5d0bcf: Waiting 16:16:36 25bc292e5bac: Verifying Checksum 16:16:36 25bc292e5bac: Download complete 16:16:36 52dc419b0ee2: Download complete 16:16:36 4657fd5d0bcf: Download complete 16:16:36 df9b9388f04a: Download complete 16:16:37 6ad1cebc031e: Verifying Checksum 16:16:37 6ad1cebc031e: Download complete 16:16:37 df9b9388f04a: Pull complete 16:16:37 52dc419b0ee2: Pull complete 16:16:37 25bc292e5bac: Pull complete 16:16:37 114826534d7a: Download complete 16:16:37 8a3aa393b2d8: Verifying Checksum 16:16:37 8a3aa393b2d8: Download complete 16:16:41 114826534d7a: Pull complete 16:16:41 4657fd5d0bcf: Pull complete 16:16:41 6ad1cebc031e: Pull complete 16:16:44 8a3aa393b2d8: Pull complete 16:16:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:16:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:44 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:16:44 $ 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 16:16:46 $ docker top ac11fbd19408c9855fcd70c022a2f8214538ae633b850af403b123f7cc5451c1 -eo pid,comm [Pipeline] { [Pipeline] echo 16:16:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:jakarta' [Pipeline] sh 16:16:46 + set -o pipefail 16:16:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:jakarta' 16:16:50 16:16:50 Monitoring /w/workspace/foundry_device-modbus-go_jakarta (github.com/edgexfoundry/device-modbus-go)... 16:16:50 16:16:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/696b52e0-978e-4ee1-800f-8a979e7662a3/history/9da51ebb-2e42-4bf1-8510-6f396e90d987 16:16:50 16:16:50 Tip: Detected multiple supported manifests (3), use --all-projects to scan all of them at once. 16:16:50 16:16:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:16:50 16:16:50 [Pipeline] } 16:16:50 $ docker stop --time=1 ac11fbd19408c9855fcd70c022a2f8214538ae633b850af403b123f7cc5451c1 16:16:52 $ 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 16:16:52 + git log --format=format:%s -1 dd91d0d2e16418ce093afebafa1ee6ccdfe7eb57 [Pipeline] sh 16:16:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:16:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:16:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:53 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:16:53 $ 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 16:16:54 $ docker top 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:16:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:16:54 [ssh-agent] Looking for ssh-agent implementation... 16:16:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:16:54 $ docker exec 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 ssh-agent 16:16:54 SSH_AUTH_SOCK=/tmp/ssh-L1r15BFCbHQl/agent.33 16:16:54 SSH_AGENT_PID=39 16:16:54 Running ssh-add (command line suppressed) 16:16:54 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) 16:16:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:16:54 + git semver tag 16:16:55 2022-06-08 16:16:54,997 [run_tag] DEBUG tag force:False 16:16:55 2022-06-08 16:16:54,997 [check_head_tag] DEBUG check head tag 16:16:55 2022-06-08 16:16:54,997 [execute] INFO git cat-file --batch-check 16:16:55 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=) 16:16:55 2022-06-08 16:16:55,001 [execute] INFO git cat-file --batch 16:16:55 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=) 16:16:55 2022-06-08 16:16:55,008 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:16:55 2022-06-08 16:16:55,008 [execute] INFO git tag -a v2.1.1-dev.3 -m v2.1.1-dev.3 16:16:55 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) 16:16:55 2022-06-08 16:16:55,013 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:16:55 2.1.1-dev.3 [Pipeline] } 16:16:55 $ docker exec --env ******** --env ******** 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 ssh-agent -k 16:16:55 unset SSH_AUTH_SOCK; 16:16:55 unset SSH_AGENT_PID; 16:16:55 echo Agent pid 39 killed; 16:16:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:16:55 + git semver [Pipeline] } 16:16:55 $ docker stop --time=1 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 16:16:57 $ docker rm -f 1c9cf0aa0d97ae07d336bf0916b0f375a33815ef970f1f9a3bffee3cf6634716 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:16:57 16:16:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:16:57 0.23.1-centos7: Pulling from edgex-lftools 16:16:57 ab5ef0e58194: Pulling fs layer 16:16:57 9712f1f96733: Pulling fs layer 16:16:57 63f879dbbcfc: Pulling fs layer 16:16:57 0d9ebad4ef96: Pulling fs layer 16:16:57 e9a5061849ea: Pulling fs layer 16:16:57 d747dcd14b5f: Pulling fs layer 16:16:57 2de7ff778b66: Pulling fs layer 16:16:57 0d9ebad4ef96: Waiting 16:16:57 e9a5061849ea: Waiting 16:16:57 d747dcd14b5f: Waiting 16:16:57 2de7ff778b66: Waiting 16:16:57 9712f1f96733: Verifying Checksum 16:16:57 9712f1f96733: Download complete 16:16:58 63f879dbbcfc: Verifying Checksum 16:16:58 63f879dbbcfc: Download complete 16:16:58 e9a5061849ea: Verifying Checksum 16:16:58 e9a5061849ea: Download complete 16:16:58 d747dcd14b5f: Verifying Checksum 16:16:58 d747dcd14b5f: Download complete 16:16:58 0d9ebad4ef96: Verifying Checksum 16:16:58 0d9ebad4ef96: Download complete 16:16:58 2de7ff778b66: Verifying Checksum 16:16:58 2de7ff778b66: Download complete 16:16:58 ab5ef0e58194: Verifying Checksum 16:16:58 ab5ef0e58194: Download complete 16:17:01 ab5ef0e58194: Pull complete 16:17:01 9712f1f96733: Pull complete 16:17:02 63f879dbbcfc: Pull complete 16:17:05 0d9ebad4ef96: Pull complete 16:17:05 e9a5061849ea: Pull complete 16:17:05 d747dcd14b5f: Pull complete 16:17:06 2de7ff778b66: Pull complete 16:17:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:17:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:17:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:06 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:17:06 $ 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 16:17:08 $ docker top 41f19dad64dad34e0d9b7d8f3eae99eba7314671dba5549243b8cec04db462a3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:17:09 provisioning config files... 16:17:09 copy managed file [sigul-config] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config451988204922265166tmp 16:17:09 copy managed file [sigul-password] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config5096169961923212380tmp 16:17:09 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config1211576253317106357tmp [Pipeline] { [Pipeline] echo 16:17:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:17:09 ---> sigul-configuration.sh 16:17:09 gpg: directory `/root/.gnupg' created 16:17:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:17:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:17:09 gpg: keyring `/root/.gnupg/secring.gpg' created 16:17:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:17:09 gpg: CAST5 encrypted data 16:17:09 gpg: encrypted with 1 passphrase 16:17:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:17:09 + mkdir /home/jenkins 16:17:09 + mkdir /home/jenkins/sigul [Pipeline] sh 16:17:09 + 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 16:17:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:17:10 ---> sigul-install.sh 16:17:10 Sigul already installed; skipping installation. [Pipeline] sh 16:17:10 + git tag --list 16:17:10 0.7.1 16:17:10 v1.0.0 16:17:10 v1.1.0 16:17:10 v1.1.1 16:17:10 v1.2.2 16:17:10 v1.3.0 16:17:10 v1.3.1 16:17:10 v2.0.0 16:17:10 v2.1.0 16:17:10 v2.1.1-dev.1 16:17:10 v2.1.1-dev.2 16:17:10 v2.1.1-dev.3 16:17:10 v2.2.0 16:17:10 v2.2.1-dev.1 [Pipeline] sh 16:17:10 + lftools sign git-tag v2.1.1-dev.3 16:17:11 Signing Git tag with Sigul... 16:17:11 Signing v2.1.1-dev.3 [Pipeline] echo 16:17:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:17:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:17:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:17:11 $ docker stop --time=1 41f19dad64dad34e0d9b7d8f3eae99eba7314671dba5549243b8cec04db462a3 16:17:13 $ docker rm -f 41f19dad64dad34e0d9b7d8f3eae99eba7314671dba5549243b8cec04db462a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:17:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:17:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:14 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:17:14 $ 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 16:17:14 $ docker top d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:17:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:14 [ssh-agent] Looking for ssh-agent implementation... 16:17:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:14 $ docker exec d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac ssh-agent 16:17:14 SSH_AUTH_SOCK=/tmp/ssh-ZHHKTm7GDorN/agent.32 16:17:14 SSH_AGENT_PID=38 16:17:14 Running ssh-add (command line suppressed) 16:17:15 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) 16:17:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:15 + git semver bump pre 16:17:15 2022-06-08 16:17:15,549 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:17:15 2022-06-08 16:17:15,550 [bump_version] DEBUG bumping version:2.1.1-dev.3 on axis:pre with prefix:dev 16:17:15 2022-06-08 16:17:15,550 [bump_version] DEBUG bumped version:2.1.1-dev.4 16:17:15 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 16:17:15 2022-06-08 16:17:15,550 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:17:15 2022-06-08 16:17:15,550 [write_file] DEBUG write to file:/w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:17:15 2022-06-08 16:17:15,552 [execute] INFO git cat-file --batch-check 16:17:15 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=) 16:17:15 2022-06-08 16:17:15,558 [execute] INFO git cat-file --batch 16:17:15 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=) 16:17:15 2022-06-08 16:17:15,563 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:17:15 2.1.1-dev.4 [Pipeline] } 16:17:15 $ docker exec --env ******** --env ******** d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac ssh-agent -k 16:17:15 unset SSH_AUTH_SOCK; 16:17:15 unset SSH_AGENT_PID; 16:17:15 echo Agent pid 38 killed; 16:17:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:17:16 + git semver [Pipeline] } 16:17:16 $ docker stop --time=1 d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac 16:17:17 $ docker rm -f d332783abefa2f392e38833ddd1d3c944cfcbb58ae621c0922dbb7402d85f0ac [Pipeline] // withDockerContainer [Pipeline] sh 16:17:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:17:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:17:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:18 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:17:18 $ 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 16:17:18 $ docker top acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:17:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:18 [ssh-agent] Looking for ssh-agent implementation... 16:17:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:19 $ docker exec acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 ssh-agent 16:17:19 SSH_AUTH_SOCK=/tmp/ssh-GiujPX2d5PVm/agent.33 16:17:19 SSH_AGENT_PID=39 16:17:19 Running ssh-add (command line suppressed) 16:17:19 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) 16:17:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:19 + git semver push 16:17:19 2022-06-08 16:17:19,852 [run_push] DEBUG push 16:17:19 2022-06-08 16:17:19,853 [execute] INFO git cat-file --batch-check 16:17:19 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=) 16:17:19 2022-06-08 16:17:19,857 [execute] INFO git rev-list ed93cd8f5b6dff8d3f2f3ccc1424ed2da2584192 -- 16:17:19 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) 16:17:19 2022-06-08 16:17:19,863 [execute] INFO git fetch -v origin 16:17:19 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) 16:17:20 2022-06-08 16:17:20,339 [run_push] DEBUG no remote changes detected 16:17:20 2022-06-08 16:17:20,340 [execute] INFO git push origin semver 16:17:20 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) 16:17:21 2022-06-08 16:17:21,011 [run_push] DEBUG push all version tags 16:17:21 2022-06-08 16:17:21,012 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:17:21 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) 16:17:21 2022-06-08 16:17:21,695 [read_version] DEBUG read version from /w/workspace/foundry_device-modbus-go_jakarta/.semver/jakarta 16:17:21 2.1.1-dev.4 [Pipeline] } 16:17:22 $ docker exec --env ******** --env ******** acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 ssh-agent -k 16:17:22 unset SSH_AUTH_SOCK; 16:17:22 unset SSH_AGENT_PID; 16:17:22 echo Agent pid 39 killed; 16:17:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:17:22 + git semver [Pipeline] } 16:17:22 $ docker stop --time=1 acaf4050687c7378314a116cd1199c23b84acc95e1be6a4c97862da20a481288 16:17:24 $ 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 16:17:24 + [ -d /w/workspace/foundry_device-modbus-go_jakarta/archives ] 16:17:24 + ls -al /w/workspace/foundry_device-modbus-go_jakarta/archives 16:17:24 total 16 16:17:24 drwxr-xr-x 3 root root 4096 Jun 8 16:11 . 16:17:24 drwxrwxr-x 12 jenkins jenkins 4096 Jun 8 16:17 .. 16:17:24 drwxr-xr-x 2 root root 4096 Jun 8 16:11 cost 16:17:24 -rw-r--r-- 1 root root 88 Jun 8 16:11 cost.csv 16:17:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-modbus-go_jakarta/archives 16:17:24 + ls -al /w/workspace/foundry_device-modbus-go_jakarta/archives 16:17:24 total 16 16:17:24 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 16:11 . 16:17:24 drwxrwxr-x 12 jenkins jenkins 4096 Jun 8 16:17 .. 16:17:24 drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 16:11 cost 16:17:24 -rw-r--r-- 1 jenkins jenkins 88 Jun 8 16:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:17:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:17:25 ---> package-listing.sh 16:17:25 ++ facter osfamily 16:17:25 ++ tr '[:upper:]' '[:lower:]' 16:17:25 + OS_FAMILY=debian 16:17:25 + workspace=/w/workspace/foundry_device-modbus-go_jakarta 16:17:25 + START_PACKAGES=/tmp/packages_start.txt 16:17:25 + END_PACKAGES=/tmp/packages_end.txt 16:17:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:17:25 + PACKAGES=/tmp/packages_start.txt 16:17:25 + '[' /w/workspace/foundry_device-modbus-go_jakarta ']' 16:17:25 + PACKAGES=/tmp/packages_end.txt 16:17:25 + case "${OS_FAMILY}" in 16:17:25 + dpkg -l 16:17:25 + grep '^ii' 16:17:25 + '[' -f /tmp/packages_start.txt ']' 16:17:25 + '[' -f /tmp/packages_end.txt ']' 16:17:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:17:25 + '[' /w/workspace/foundry_device-modbus-go_jakarta ']' 16:17:25 + mkdir -p /w/workspace/foundry_device-modbus-go_jakarta/archives/ 16:17:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-modbus-go_jakarta/archives/ [Pipeline] echo 16:17:26 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 16:17:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:26 prd-ubuntu20.04-docker-8c-8g-1769 does not seem to be running inside a container 16:17:26 $ 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 16:17:27 $ docker top 45ecb4b1fbd40ec7f2a69addb5a93a0eebd1da280f7d1ba4be3ac68a135b5bc1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:27 + touch /tmp/pre-build-complete [Pipeline] sh 16:17:27 + mkdir -p /var/log/sysstat [Pipeline] sh 16:17:28 + ls /var/log/sa-host 16:17:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:28 provisioning config files... 16:17:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-modbus-go_jakarta@tmp/config9107403732578538909tmp [Pipeline] { [Pipeline] echo 16:17:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:17:28 ---> create-netrc.sh [Pipeline] } 16:17:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:17:28 ---> python-tools-install.sh [Pipeline] echo 16:17:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:17:29 ---> sudo-logs.sh 16:17:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:17:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:17:29 ---> job-cost.sh 16:17:29 lf-activate-venv: SKIPPING 16:17:29 DEBUG: total: 0.2199999988079071 16:17:29 INFO: Retrieving Stack Cost... 16:17:30 INFO: Retrieving Pricing Info for: v3-standard-8 16:17:30 INFO: Archiving Costs [Pipeline] echo 16:17:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:17:30 ---> logs-deploy.sh 16:17:30 lf-activate-venv: SKIPPING 16:17:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/jakarta/6 16:17:30 INFO: archiving workspace using pattern(s): 16:17:31 Archives upload complete. 16:17:31 INFO: archiving logs to Nexus