Started by upstream project "edgexfoundry/cd-management/release-lts" build number 67 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 382e19ad1c947d3f576650917c1fbff1708e54b3 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-ssh17432647505556790655.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh10230100476438842576.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5958693919291027568.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh10327217645636223815.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1743512900521639677.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-219 in /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_napa # 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 382e19ad1c947d3f576650917c1fbff1708e54b3 (napa) > 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 382e19ad1c947d3f576650917c1fbff1708e54b3 # timeout=10 Commit message: "ci(lts-release): LTS release v3.1.1 @1eee846" > git rev-list --no-walk 382e19ad1c947d3f576650917c1fbff1708e54b3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:17:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:17:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:17:04 ========================================================= 07:17:04 EdgeX Global Pipelines Version Info 07:17:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:17:05 ------------------- 07:17:05 stable info: 07:17:05 ------------------- 07:17:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:17:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:17:05 Message: update stable to v1.0.258 07:17:05 ------------------- 07:17:05 experimental info: 07:17:05 ------------------- 07:17:05 Commited By: **** collab-it+edgex@linuxfoundation.org 07:17:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:17:05 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 382e19a [Pipeline] echo 07:17:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:17:06 provisioning config files... 07:17:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config3361715949306869803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:07 ---> ****-login.sh 07:17:07 nexus3.edgexfoundry.org:10001 07:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:07 Configure a credential helper to remove this warning. See 07:17:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:07 07:17:07 Login Succeeded 07:17:07 nexus3.edgexfoundry.org:10002 07:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:07 Configure a credential helper to remove this warning. See 07:17:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:07 07:17:07 Login Succeeded 07:17:07 nexus3.edgexfoundry.org:10003 07:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:07 Configure a credential helper to remove this warning. See 07:17:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:07 07:17:07 Login Succeeded 07:17:07 nexus3.edgexfoundry.org:10004 07:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:08 Configure a credential helper to remove this warning. See 07:17:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:08 07:17:08 Login Succeeded 07:17:08 ****.io 07:17:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:08 Configure a credential helper to remove this warning. See 07:17:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:08 07:17:08 Login Succeeded 07:17:08 ---> ****-login.sh ends [Pipeline] } 07:17:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:17:08 + git rev-list -1 --merges 382e19ad1c947d3f576650917c1fbff1708e54b3~1..382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] echo 07:17:08 -----------> git rev-list -1 --merges 382e19ad1c947d3f576650917c1fbff1708e54b3~1..382e19ad1c947d3f576650917c1fbff1708e54b3 382e19ad1c947d3f576650917c1fbff1708e54b3 [false] [Pipeline] sh 07:17:09 + git log --format=format:%s -1 382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] echo 07:17:09 ========================================================= 07:17:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 07:17:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:17:09 + git log --format=format:%s -1 382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] echo 07:17:09 [semverPrep] GIT_COMMIT: 382e19ad1c947d3f576650917c1fbff1708e54b3, Commit Message: ci(lts-release): LTS release v3.1.1 @1eee846 [Pipeline] echo 07:17:09 [semverPrep] This is not a build commit. [Pipeline] sh 07:17:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:17:09 + grep -v github /etc/ssh/ssh_known_hosts 07:17:09 + [ -e /tmp/ssh_known_hosts ] 07:17:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:17:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:17:09 + sudo tee -a /etc/ssh/ssh_known_hosts 07:17:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:17:10 07:17:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:17:10 0.1.4: Pulling from edgex-devops/py-git-semver 07:17:10 b85a868b505f: Pulling fs layer 07:17:10 e2be974225ed: Pulling fs layer 07:17:10 339a4e72a1f5: Pulling fs layer 07:17:10 988bab9f4d93: Pulling fs layer 07:17:10 1469e6f7b9e6: Pulling fs layer 07:17:10 eaf3925da568: Pulling fs layer 07:17:10 bab4dde63d76: Pulling fs layer 07:17:10 988bab9f4d93: Waiting 07:17:10 eaf3925da568: Waiting 07:17:10 bab4dde63d76: Waiting 07:17:10 1469e6f7b9e6: Waiting 07:17:10 bde34c3a00c8: Pulling fs layer 07:17:10 b352a97aabf1: Pulling fs layer 07:17:10 bde34c3a00c8: Waiting 07:17:10 4872d77fe225: Pulling fs layer 07:17:10 b352a97aabf1: Waiting 07:17:10 5851b861e8e6: Pulling fs layer 07:17:10 4872d77fe225: Waiting 07:17:10 5851b861e8e6: Waiting 07:17:10 e2be974225ed: Verifying Checksum 07:17:10 e2be974225ed: Download complete 07:17:10 988bab9f4d93: Verifying Checksum 07:17:10 988bab9f4d93: Download complete 07:17:10 1469e6f7b9e6: Verifying Checksum 07:17:10 1469e6f7b9e6: Download complete 07:17:10 eaf3925da568: Download complete 07:17:10 339a4e72a1f5: Verifying Checksum 07:17:10 339a4e72a1f5: Download complete 07:17:10 bde34c3a00c8: Verifying Checksum 07:17:10 bde34c3a00c8: Download complete 07:17:10 b352a97aabf1: Verifying Checksum 07:17:10 b352a97aabf1: Download complete 07:17:10 4872d77fe225: Verifying Checksum 07:17:10 4872d77fe225: Download complete 07:17:10 5851b861e8e6: Verifying Checksum 07:17:10 5851b861e8e6: Download complete 07:17:10 b85a868b505f: Verifying Checksum 07:17:10 b85a868b505f: Download complete 07:17:10 bab4dde63d76: Download complete 07:17:12 b85a868b505f: Pull complete 07:17:12 e2be974225ed: Pull complete 07:17:12 339a4e72a1f5: Pull complete 07:17:12 988bab9f4d93: Pull complete 07:17:13 1469e6f7b9e6: Pull complete 07:17:13 eaf3925da568: Pull complete 07:17:15 bab4dde63d76: Pull complete 07:17:15 bde34c3a00c8: Pull complete 07:17:15 b352a97aabf1: Pull complete 07:17:15 4872d77fe225: Pull complete 07:17:15 5851b861e8e6: Pull complete 07:17:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:17:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:17:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:15 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:17:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:17:16 $ docker top 871f52e6c5d75552174c131b5d8bb781c46e39b54f70fc9952e5532d84e81255 -eo pid,comm 07:17:16 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). 07:17:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:17:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:17:17 [ssh-agent] Looking for ssh-agent implementation... 07:17:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:17:17 $ docker exec 871f52e6c5d75552174c131b5d8bb781c46e39b54f70fc9952e5532d84e81255 ssh-agent 07:17:17 SSH_AUTH_SOCK=/tmp/ssh-6pZZNNX6KSoS/agent.32 07:17:17 SSH_AGENT_PID=38 07:17:17 Running ssh-add (command line suppressed) 07:17:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_5660089482820443411.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_5660089482820443411.key) 07:17:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:17:17 + git tag --points-at 382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] } 07:17:17 $ docker exec --env ******** --env ******** 871f52e6c5d75552174c131b5d8bb781c46e39b54f70fc9952e5532d84e81255 ssh-agent -k 07:17:17 unset SSH_AUTH_SOCK; 07:17:17 unset SSH_AGENT_PID; 07:17:17 echo Agent pid 38 killed; 07:17:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:17:17 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent 07:17:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:17:17 [ssh-agent] Looking for ssh-agent implementation... 07:17:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:17:18 $ docker exec 871f52e6c5d75552174c131b5d8bb781c46e39b54f70fc9952e5532d84e81255 ssh-agent 07:17:18 SSH_AUTH_SOCK=/tmp/ssh-bMDZbX6nObMB/agent.72 07:17:18 SSH_AGENT_PID=78 07:17:18 Running ssh-add (command line suppressed) 07:17:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_8619093578553642573.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_8619093578553642573.key) 07:17:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:17:18 + git semver init 07:17:18 2024-05-15 07:17:18,791 [run_init] DEBUG init version:0.0.0 force:False 07:17:18 2024-05-15 07:17:18,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_napa/.semver 07:17:18 2024-05-15 07:17:18,793 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_napa/.semver 07:17:18 2024-05-15 07:17:18,793 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_napa/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=None) 07:17:20 2024-05-15 07:17:20,028 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_napa/.git/info/exclude 07:17:20 2024-05-15 07:17:20,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa with force:False 07:17:20 2024-05-15 07:17:20,029 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 07:17:20 2024-05-15 07:17:20,029 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 07:17:20 3.1.1 [Pipeline] } 07:17:20 $ docker exec --env ******** --env ******** 871f52e6c5d75552174c131b5d8bb781c46e39b54f70fc9952e5532d84e81255 ssh-agent -k 07:17:20 unset SSH_AUTH_SOCK; 07:17:20 unset SSH_AGENT_PID; 07:17:20 echo Agent pid 78 killed; 07:17:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:17:20 + git semver [Pipeline] } 07:17:20 $ docker stop --time=1 871f52e6c5d75552174c131b5d8bb781c46e39b54f70fc9952e5532d84e81255 07:17:22 $ docker rm -f --volumes 871f52e6c5d75552174c131b5d8bb781c46e39b54f70fc9952e5532d84e81255 [Pipeline] // withDockerContainer [Pipeline] sh 07:17:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:17:22 Stashed 1 file(s) [Pipeline] echo 07:17:22 [edgeXSemver]: initialized semver on version 3.1.1 [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] sh 07:17:23 + git checkout 382e19ad1c947d3f576650917c1fbff1708e54b3 07:17:23 HEAD is now at 382e19a ci(lts-release): LTS release v3.1.1 @1eee846 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:17:23 provisioning config files... 07:17:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config18358546849051909531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:23 ---> ****-login.sh 07:17:23 nexus3.edgexfoundry.org:10001 07:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:23 Configure a credential helper to remove this warning. See 07:17:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:23 07:17:23 Login Succeeded 07:17:23 nexus3.edgexfoundry.org:10002 07:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:23 Configure a credential helper to remove this warning. See 07:17:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:23 07:17:23 Login Succeeded 07:17:23 nexus3.edgexfoundry.org:10003 07:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:23 Configure a credential helper to remove this warning. See 07:17:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:23 07:17:23 Login Succeeded 07:17:23 nexus3.edgexfoundry.org:10004 07:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:23 Configure a credential helper to remove this warning. See 07:17:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:23 07:17:23 Login Succeeded 07:17:23 ****.io 07:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:17:24 Configure a credential helper to remove this warning. See 07:17:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:17:24 07:17:24 Login Succeeded 07:17:24 ---> ****-login.sh ends [Pipeline] } 07:17:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:17:24 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 07:17:24 + + grep ^go [0-9].[0-9]* go.mod 07:17:24 cut -d -f 2 [Pipeline] echo 07:17:24 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:17:24 ========================================================= 07:17:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 07:17:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:17:25 Sending build context to Docker daemon 48.71MB 07:17:25 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:17:25 Step 2/10 : FROM ${BASE} AS builder 07:17:25 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:17:25 619be1103602: Pulling fs layer 07:17:25 7862e08f4a3e: Pulling fs layer 07:17:25 5df492c9dc93: Pulling fs layer 07:17:25 7629e6793208: Pulling fs layer 07:17:25 4f4fb700ef54: Pulling fs layer 07:17:25 8de7f028bff5: Pulling fs layer 07:17:25 44042ff1420b: Pulling fs layer 07:17:25 5cdaf54b7214: Pulling fs layer 07:17:25 38f3e5a9071a: Pulling fs layer 07:17:25 44042ff1420b: Waiting 07:17:25 5cdaf54b7214: Waiting 07:17:25 7629e6793208: Waiting 07:17:25 4f4fb700ef54: Waiting 07:17:25 38f3e5a9071a: Waiting 07:17:25 7862e08f4a3e: Download complete 07:17:25 7629e6793208: Verifying Checksum 07:17:25 7629e6793208: Download complete 07:17:25 4f4fb700ef54: Verifying Checksum 07:17:25 4f4fb700ef54: Download complete 07:17:25 8de7f028bff5: Verifying Checksum 07:17:25 8de7f028bff5: Download complete 07:17:25 619be1103602: Verifying Checksum 07:17:25 619be1103602: Download complete 07:17:25 44042ff1420b: Verifying Checksum 07:17:25 44042ff1420b: Download complete 07:17:25 619be1103602: Pull complete 07:17:25 7862e08f4a3e: Pull complete 07:17:26 38f3e5a9071a: Verifying Checksum 07:17:26 38f3e5a9071a: Download complete 07:17:26 5df492c9dc93: Verifying Checksum 07:17:26 5df492c9dc93: Download complete 07:17:26 5cdaf54b7214: Verifying Checksum 07:17:26 5cdaf54b7214: Download complete 07:17:29 5df492c9dc93: Pull complete 07:17:29 7629e6793208: Pull complete 07:17:29 4f4fb700ef54: Pull complete 07:17:29 8de7f028bff5: Pull complete 07:17:29 44042ff1420b: Pull complete 07:17:32 5cdaf54b7214: Pull complete 07:17:32 38f3e5a9071a: Pull complete 07:17:32 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 07:17:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 07:17:32 ---> 60b93f829570 07:17:32 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:17:38 Still waiting to schedule task 07:17:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-220’ is offline 07:17:39 ---> Running in effd0ecb9fee 07:17:39 Removing intermediate container effd0ecb9fee 07:17:39 ---> 824ea30a75de 07:17:39 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:17:39 ---> Running in 006f7121db86 07:17:39 Removing intermediate container 006f7121db86 07:17:39 ---> 2641950fd77b 07:17:39 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:17:39 ---> Running in f36133e7af21 07:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:17:40 (1/8) Installing openssh-keygen (9.3_p2-r1) 07:17:40 (2/8) Installing libedit (20221030.3.1-r1) 07:17:40 (3/8) Installing openssh-client-common (9.3_p2-r1) 07:17:40 (4/8) Installing openssh-client-default (9.3_p2-r1) 07:17:40 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 07:17:40 (6/8) Installing openssh-server-common (9.3_p2-r1) 07:17:40 (7/8) Installing openssh-server (9.3_p2-r1) 07:17:40 (8/8) Installing openssh (9.3_p2-r1) 07:17:40 Executing busybox-1.36.1-r5.trigger 07:17:40 OK: 270 MiB in 60 packages 07:17:41 Removing intermediate container f36133e7af21 07:17:41 ---> 9843cc6c8fe7 07:17:41 Step 6/10 : WORKDIR /device-modbus-go 07:17:41 ---> Running in 97d7063b7806 07:17:41 Removing intermediate container 97d7063b7806 07:17:41 ---> 31befd001bbd 07:17:41 Step 7/10 : COPY go.mod vendor* ./ 07:17:44 ---> a1c95aebe704 07:17:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:17:44 ---> Running in c6868ae1860a 07:18:16 Removing intermediate container c6868ae1860a 07:18:16 ---> eceb7242b230 07:18:16 Step 9/10 : COPY . . 07:18:16 ---> a6db3505904c 07:18:16 Step 10/10 : RUN ${MAKE} 07:18:16 ---> Running in a7c7d876e5b9 07:18:16 noop 07:18:16 Removing intermediate container a7c7d876e5b9 07:18:16 ---> 075c48bd5e43 07:18:16 Successfully built 075c48bd5e43 07:18:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:16 + docker inspect -f . ci-base-image-x86_64 07:18:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:16 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:18:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:18:17 $ docker top d3b260b54cf44e285e4ecb301f6d650a85a2eaf77d71e5b68a005f538a91d440 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:17 + go version 07:18:17 go version go1.21.9 linux/amd64 [Pipeline] } 07:18:17 $ docker stop --time=1 d3b260b54cf44e285e4ecb301f6d650a85a2eaf77d71e5b68a005f538a91d440 07:18:19 $ docker rm -f --volumes d3b260b54cf44e285e4ecb301f6d650a85a2eaf77d71e5b68a005f538a91d440 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:20 + docker inspect -f . ci-base-image-x86_64 07:18:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:20 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:18:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:18:29 $ docker top 3499abd8974ed48037575dd31f9c0b17565799d4021b4395c991f1fd7314fe9b -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] fileExists [Pipeline] sh 07:18:30 + make test 07:18:30 go test ./... -coverprofile=coverage.out 07:18:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:18:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:18:44 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.9% of statements 07:18:51 go vet ./... 07:18:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:18:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:18:55 ./bin/test-attribution-txt.sh [Pipeline] echo 07:18:55 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:18:55 + go mod tidy [Pipeline] } 07:18:56 $ docker stop --time=1 3499abd8974ed48037575dd31f9c0b17565799d4021b4395c991f1fd7314fe9b 07:19:00 $ docker rm -f --volumes 3499abd8974ed48037575dd31f9c0b17565799d4021b4395c991f1fd7314fe9b [Pipeline] // withDockerContainer [Pipeline] sh 07:19:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:19:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:19:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:19:01 + ls -al . 07:19:01 total 196 07:19:01 drwxrwxr-x 10 jenkins jenkins 4096 May 15 07:18 . 07:19:01 drwxrwxr-x 4 jenkins jenkins 4096 May 15 07:16 .. 07:19:01 -rw-rw-r-- 1 jenkins jenkins 140 May 15 07:17 .dockerignore 07:19:01 drwxrwxr-x 8 jenkins jenkins 4096 May 15 07:18 .git 07:19:01 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:17 .github 07:19:01 -rw-rw-r-- 1 jenkins jenkins 258 May 15 07:17 .gitignore 07:19:01 -rw-rw-r-- 1 jenkins jenkins 41 May 15 07:17 .golangci.yml 07:19:01 drwxr-xr-x 3 jenkins jenkins 4096 May 15 07:17 .semver 07:19:01 -rw-rw-r-- 1 jenkins jenkins 11120 May 15 07:17 Attribution.txt 07:19:01 -rw-rw-r-- 1 jenkins jenkins 16388 May 15 07:17 CHANGELOG.md 07:19:01 -rw-rw-r-- 1 jenkins jenkins 1474 May 15 07:17 Dockerfile 07:19:01 -rw-rw-r-- 1 jenkins jenkins 677 May 15 07:17 GOVERNANCE.md 07:19:01 -rw-rw-r-- 1 jenkins jenkins 658 May 15 07:17 Jenkinsfile 07:19:01 -rw-rw-r-- 1 jenkins jenkins 11340 May 15 07:17 LICENSE 07:19:01 -rw-rw-r-- 1 jenkins jenkins 1936 May 15 07:17 Makefile 07:19:01 -rw-rw-r-- 1 jenkins jenkins 622 May 15 07:17 OWNERS.md 07:19:01 -rw-rw-r-- 1 jenkins jenkins 4463 May 15 07:17 README.md 07:19:01 -rw-rw-r-- 1 jenkins jenkins 5 May 15 07:17 VERSION 07:19:01 drwxrwxr-x 2 jenkins jenkins 4096 May 15 07:17 bin 07:19:01 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:17 cmd 07:19:01 -rw-r--r-- 1 jenkins jenkins 24334 May 15 07:18 coverage.out 07:19:01 -rw-rw-r-- 1 jenkins jenkins 3865 May 15 07:17 go.mod 07:19:01 -rw-rw-r-- 1 jenkins jenkins 34537 May 15 07:17 go.sum 07:19:01 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:17 internal 07:19:01 drwxrwxr-x 2 jenkins jenkins 4096 May 15 07:17 simulator 07:19:01 drwxrwxr-x 6 jenkins jenkins 4096 May 15 07:17 vendor 07:19:01 -rw-rw-r-- 1 jenkins jenkins 229 May 15 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:01 + 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=382e19ad1c947d3f576650917c1fbff1708e54b3 --label arch=amd64 --label version=3.1.1 . 07:19:02 Sending build context to Docker daemon 48.74MB 07:19:02 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:19:02 Step 2/23 : FROM ${BASE} AS builder 07:19:02 ---> 075c48bd5e43 07:19:02 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:19:03 ---> Running in cb74cb9fa03f 07:19:03 Removing intermediate container cb74cb9fa03f 07:19:03 ---> ae3420af2e25 07:19:03 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:19:03 ---> Running in 76b8048d8fe0 07:19:03 Removing intermediate container 76b8048d8fe0 07:19:03 ---> 864a68ce1b56 07:19:03 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:19:03 ---> Running in 1e0f970b9543 07:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:19:04 OK: 270 MiB in 60 packages 07:19:04 Removing intermediate container 1e0f970b9543 07:19:04 ---> b80431040043 07:19:04 Step 6/23 : WORKDIR /device-modbus-go 07:19:04 ---> Running in 2a5e99d826b3 07:19:04 Removing intermediate container 2a5e99d826b3 07:19:04 ---> 840bb59da8b6 07:19:04 Step 7/23 : COPY go.mod vendor* ./ 07:19:07 ---> 6ff3902ca364 07:19:07 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:07 ---> Running in 1128dc845b73 07:19:07 skipping... 07:19:07 Removing intermediate container 1128dc845b73 07:19:07 ---> cdf2587517b1 07:19:07 Step 9/23 : COPY . . 07:19:11 ---> cf30f60b1094 07:19:11 Step 10/23 : RUN ${MAKE} 07:19:11 ---> Running in 1ae8b19709b6 07:19:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:19:33 Removing intermediate container 1ae8b19709b6 07:19:33 ---> c0683709680c 07:19:33 Step 11/23 : FROM alpine:3.18 07:19:33 3.18: Pulling from library/alpine 07:19:33 619be1103602: Already exists 07:19:33 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:19:33 Status: Downloaded newer image for alpine:3.18 07:19:33 ---> d3782b16ccc9 07:19:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:19:33 ---> Running in 79a543f5c224 07:19:33 Removing intermediate container 79a543f5c224 07:19:33 ---> 9060e651c420 07:19:33 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:19:33 ---> Running in 7c0ee015900d 07:19:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:19:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:19:34 (1/1) Installing dumb-init (1.2.5-r2) 07:19:34 Executing busybox-1.36.1-r5.trigger 07:19:34 OK: 7 MiB in 16 packages 07:19:34 Removing intermediate container 7c0ee015900d 07:19:34 ---> 1053aec04701 07:19:34 Step 14/23 : RUN apk --no-cache upgrade 07:19:34 ---> Running in 06bb55c306d3 07:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:19:35 Upgrading critical system libraries and apk-tools: 07:19:35 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:19:35 Executing busybox-1.36.1-r5.trigger 07:19:35 Continuing the upgrade transaction with new apk-tools: 07:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:19:35 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:19:35 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 07:19:35 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 07:19:35 OK: 7 MiB in 16 packages 07:19:36 Removing intermediate container 06bb55c306d3 07:19:36 ---> d7c5a31da494 07:19:36 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:19:36 ---> 97c43be5f5b3 07:19:36 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:19:36 ---> d6b887ce8698 07:19:36 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:19:36 ---> 7b6e321b6d57 07:19:36 Step 18/23 : EXPOSE 59901 07:19:36 ---> Running in 83484052d89e 07:19:37 Removing intermediate container 83484052d89e 07:19:37 ---> fd010791507e 07:19:37 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:19:37 ---> Running in 82f3362f7982 07:19:37 Removing intermediate container 82f3362f7982 07:19:37 ---> 08222a711954 07:19:37 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:19:37 ---> Running in 456b489a96f6 07:19:37 Removing intermediate container 456b489a96f6 07:19:37 ---> 240bd7c89bcf 07:19:37 Step 21/23 : LABEL arch=amd64 07:19:37 ---> Running in ff7888c1f9d0 07:19:37 Removing intermediate container ff7888c1f9d0 07:19:37 ---> 95a4e80c6892 07:19:37 Step 22/23 : LABEL git_sha=382e19ad1c947d3f576650917c1fbff1708e54b3 07:19:37 ---> Running in 10e088441022 07:19:37 Removing intermediate container 10e088441022 07:19:37 ---> c9a318ed38b2 07:19:37 Step 23/23 : LABEL version=3.1.1 07:19:37 ---> Running in 4e144e26cb03 07:19:37 Removing intermediate container 4e144e26cb03 07:19:37 ---> 3ffbfb2f5beb 07:19:37 [Warning] One or more build-args [ARCH] were not consumed 07:19:37 Successfully built 3ffbfb2f5beb 07:19:37 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:37 provisioning config files... 07:19:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config6105338589090063814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:38 ---> ****-login.sh 07:19:38 nexus3.edgexfoundry.org:10001 07:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:38 Configure a credential helper to remove this warning. See 07:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:38 07:19:38 Login Succeeded 07:19:38 nexus3.edgexfoundry.org:10002 07:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:38 Configure a credential helper to remove this warning. See 07:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:38 07:19:38 Login Succeeded 07:19:38 nexus3.edgexfoundry.org:10003 07:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:38 Configure a credential helper to remove this warning. See 07:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:38 07:19:38 Login Succeeded 07:19:38 nexus3.edgexfoundry.org:10004 07:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:38 Configure a credential helper to remove this warning. See 07:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:38 07:19:38 Login Succeeded 07:19:38 ****.io 07:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:19:38 Configure a credential helper to remove this warning. See 07:19:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:19:38 07:19:38 Login Succeeded 07:19:38 ---> ****-login.sh ends [Pipeline] } 07:19:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:19:38 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:19:38 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:19:38 382e19ad1c947d3f576650917c1fbff1708e54b3 07:19:38 3.1.1 07:19:38 382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1 07:19:38 napa 07:19:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:39 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus:382e19ad1c947d3f576650917c1fbff1708e54b3 07:19:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:19:39 75380a3913ee: Preparing 07:19:39 9d63c0702221: Preparing 07:19:39 d31edfe9a99d: Preparing 07:19:39 66137c846d10: Preparing 07:19:39 40cac52a5ba5: Preparing 07:19:39 aedc3bda2944: Preparing 07:19:39 40cac52a5ba5: Pushed 07:19:39 75380a3913ee: Pushed 07:19:39 9d63c0702221: Pushed 07:19:39 aedc3bda2944: Layer already exists 07:19:40 66137c846d10: Pushed 07:19:41 d31edfe9a99d: Pushed 07:19:42 382e19ad1c947d3f576650917c1fbff1708e54b3: digest: sha256:ef601f19b6c45ac7fabd4f2dc25c6f4a8a7aadc052e9e6f87eebd7eb2cfdb39e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.1 07:19:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:19:42 75380a3913ee: Preparing 07:19:42 9d63c0702221: Preparing 07:19:42 d31edfe9a99d: Preparing 07:19:42 66137c846d10: Preparing 07:19:42 40cac52a5ba5: Preparing 07:19:42 aedc3bda2944: Preparing 07:19:42 aedc3bda2944: Waiting 07:19:42 66137c846d10: Layer already exists 07:19:42 d31edfe9a99d: Layer already exists 07:19:42 75380a3913ee: Layer already exists 07:19:42 9d63c0702221: Layer already exists 07:19:42 40cac52a5ba5: Layer already exists 07:19:42 aedc3bda2944: Layer already exists 07:19:42 3.1.1: digest: sha256:ef601f19b6c45ac7fabd4f2dc25c6f4a8a7aadc052e9e6f87eebd7eb2cfdb39e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1 07:19:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:19:43 75380a3913ee: Preparing 07:19:43 9d63c0702221: Preparing 07:19:43 d31edfe9a99d: Preparing 07:19:43 66137c846d10: Preparing 07:19:43 40cac52a5ba5: Preparing 07:19:43 aedc3bda2944: Preparing 07:19:43 aedc3bda2944: Waiting 07:19:43 66137c846d10: Layer already exists 07:19:43 40cac52a5ba5: Layer already exists 07:19:43 9d63c0702221: Layer already exists 07:19:43 d31edfe9a99d: Layer already exists 07:19:43 75380a3913ee: Layer already exists 07:19:43 aedc3bda2944: Layer already exists 07:19:43 382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1: digest: sha256:ef601f19b6c45ac7fabd4f2dc25c6f4a8a7aadc052e9e6f87eebd7eb2cfdb39e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:napa 07:19:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:19:44 75380a3913ee: Preparing 07:19:44 9d63c0702221: Preparing 07:19:44 d31edfe9a99d: Preparing 07:19:44 66137c846d10: Preparing 07:19:44 40cac52a5ba5: Preparing 07:19:44 aedc3bda2944: Preparing 07:19:44 aedc3bda2944: Waiting 07:19:44 9d63c0702221: Layer already exists 07:19:44 75380a3913ee: Layer already exists 07:19:44 d31edfe9a99d: Layer already exists 07:19:44 40cac52a5ba5: Layer already exists 07:19:44 66137c846d10: Layer already exists 07:19:44 aedc3bda2944: Layer already exists 07:19:44 napa: digest: sha256:ef601f19b6c45ac7fabd4f2dc25c6f4a8a7aadc052e9e6f87eebd7eb2cfdb39e size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:19:44 ===================================================== [Pipeline] echo 07:19:44 taggedImages: 07:19:44 - nexus3.edgexfoundry.org:10004/device-modbus:382e19ad1c947d3f576650917c1fbff1708e54b3 07:19:44 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.1 07:19:44 - nexus3.edgexfoundry.org:10004/device-modbus:382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1 07:19:44 - nexus3.edgexfoundry.org:10004/device-modbus:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:19:44 07:19:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:19:45 latest: Pulling from edgex-lftools-log-publisher 07:19:45 5eb5b503b376: Pulling fs layer 07:19:45 5c69ac0246d0: Pulling fs layer 07:19:45 ec43610c2a17: Pulling fs layer 07:19:45 3a2ae6a8a46f: Pulling fs layer 07:19:45 33b1e0a273af: Pulling fs layer 07:19:45 5d3b04190fa2: Pulling fs layer 07:19:45 2f39f015ded8: Pulling fs layer 07:19:45 2f39f015ded8: Waiting 07:19:45 3a2ae6a8a46f: Waiting 07:19:45 5c69ac0246d0: Verifying Checksum 07:19:45 5c69ac0246d0: Download complete 07:19:45 3a2ae6a8a46f: Verifying Checksum 07:19:45 3a2ae6a8a46f: Download complete 07:19:45 33b1e0a273af: Verifying Checksum 07:19:45 33b1e0a273af: Download complete 07:19:45 5d3b04190fa2: Verifying Checksum 07:19:45 5d3b04190fa2: Download complete 07:19:45 ec43610c2a17: Verifying Checksum 07:19:45 ec43610c2a17: Download complete 07:19:45 5eb5b503b376: Verifying Checksum 07:19:45 5eb5b503b376: Download complete 07:19:45 2f39f015ded8: Download complete 07:19:46 5eb5b503b376: Pull complete 07:19:46 5c69ac0246d0: Pull complete 07:19:46 ec43610c2a17: Pull complete 07:19:46 3a2ae6a8a46f: Pull complete 07:19:47 33b1e0a273af: Pull complete 07:19:47 5d3b04190fa2: Pull complete 07:19:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-221 in /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] { [Pipeline] ws 07:19:50 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 07:19:50 The recommended git tool is: git 07:19:51 2f39f015ded8: Pull complete 07:19:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:19:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:19:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:51 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:19:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:19:57 $ docker top 29a69c20acd6abeaed9a40b23c1d622708b6351f2bfdce415628efc77f5c9543 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:57 ---> job-cost.sh 07:19:57 lf-activate-venv: SKIPPING 07:19:57 INFO: No Stack... 07:19:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:19:57 INFO: Archiving Costs [Pipeline] sh 07:19:58 + cat /w/workspace/gexfoundry_device-modbus-go_napa/archives/cost.csv 07:19:58 + cut -d, -f6 [Pipeline] lock 07:19:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-5-stack-cost] 07:19:58 Resource [jenkins-edgexfoundry-device-modbus-go-napa-5-stack-cost] did not exist. Created. 07:19:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:19:58 using credential edgex-jenkins-ssh 07:19:58 Cloning the remote Git repository 07:19:58 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:19:58 > git init /w/workspace/device-modbus-go/5 # timeout=10 07:19:58 + echo total: 0.2199999988079071 [Pipeline] stash 07:19:58 Stashed 1 file(s) [Pipeline] } 07:19:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:19:58 $ docker stop --time=1 29a69c20acd6abeaed9a40b23c1d622708b6351f2bfdce415628efc77f5c9543 07:19:59 $ docker rm -f --volumes 29a69c20acd6abeaed9a40b23c1d622708b6351f2bfdce415628efc77f5c9543 [Pipeline] // withDockerContainer 07:19:58 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:19:58 > git --version # timeout=10 07:19:58 > git --version # 'git version 2.25.1' 07:19:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:20:02 Avoid second fetch 07:20:02 Checking out Revision 382e19ad1c947d3f576650917c1fbff1708e54b3 (napa) 07:20:01 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:20:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:20:02 > git config core.sparsecheckout # timeout=10 07:20:02 > git checkout -f 382e19ad1c947d3f576650917c1fbff1708e54b3 # timeout=10 07:20:04 Commit message: "ci(lts-release): LTS release v3.1.1 @1eee846" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:20:08 % Total % Received % Xferd Average Speed Time Time Time Current 07:20:08 Dload Upload Total Spent Left Speed 07:20:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 07:20:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:20:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:20:09 + sudo tee /etc/docker/daemon.new 07:20:09 { 07:20:09 "registry-mirrors": [ 07:20:09 "https://nexus3.edgexfoundry.org:10001" 07:20:09 ], 07:20:09 "bip": "10.250.0.254/24", 07:20:09 "hosts": [ 07:20:09 "tcp://0.0.0.0:5555", 07:20:09 "unix:///var/run/docker.sock" 07:20:09 ], 07:20:09 "mtu": 1458, 07:20:09 "selinux-enabled": true, 07:20:09 "seccomp-profile": "/etc/docker/seccomp.json" 07:20:09 } [Pipeline] sh 07:20:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:20:10 + sudo service docker restart [Pipeline] sh 07:20:28 + git checkout 382e19ad1c947d3f576650917c1fbff1708e54b3 07:20:29 HEAD is now at 382e19a ci(lts-release): LTS release v3.1.1 @1eee846 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:29 provisioning config files... 07:20:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config34506284738201410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:29 ---> ****-login.sh 07:20:29 nexus3.edgexfoundry.org:10001 07:20:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:30 Configure a credential helper to remove this warning. See 07:20:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:30 07:20:30 Login Succeeded 07:20:30 nexus3.edgexfoundry.org:10002 07:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:30 Configure a credential helper to remove this warning. See 07:20:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:30 07:20:30 Login Succeeded 07:20:30 nexus3.edgexfoundry.org:10003 07:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:30 Configure a credential helper to remove this warning. See 07:20:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:30 07:20:30 Login Succeeded 07:20:30 nexus3.edgexfoundry.org:10004 07:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:31 Configure a credential helper to remove this warning. See 07:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:31 07:20:31 Login Succeeded 07:20:31 ****.io 07:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:31 Configure a credential helper to remove this warning. See 07:20:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:31 07:20:31 Login Succeeded 07:20:31 ---> ****-login.sh ends [Pipeline] } 07:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:32 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 07:20:32 + grep ^go [0-9].[0-9]* go.mod 07:20:32 + cut -d -f 2 [Pipeline] echo 07:20:32 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:20:32 ========================================================= 07:20:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 07:20:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:20:35 Sending build context to Docker daemon 38.39MB 07:20:35 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:20:35 Step 2/10 : FROM ${BASE} AS builder 07:20:35 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:20:35 c6b39de5b339: Pulling fs layer 07:20:35 a69c41024577: Pulling fs layer 07:20:35 d6de4b400683: Pulling fs layer 07:20:35 35cb2a7552d0: Pulling fs layer 07:20:35 4f4fb700ef54: Pulling fs layer 07:20:35 9e011611b7f5: Pulling fs layer 07:20:35 3bd174042beb: Pulling fs layer 07:20:35 4476f39b5e91: Pulling fs layer 07:20:35 4f4fb700ef54: Waiting 07:20:35 9e011611b7f5: Waiting 07:20:35 3bd174042beb: Waiting 07:20:35 35cb2a7552d0: Waiting 07:20:35 4476f39b5e91: Waiting 07:20:35 a69c41024577: Verifying Checksum 07:20:35 a69c41024577: Download complete 07:20:35 35cb2a7552d0: Verifying Checksum 07:20:35 35cb2a7552d0: Download complete 07:20:35 4f4fb700ef54: Verifying Checksum 07:20:35 4f4fb700ef54: Download complete 07:20:35 9e011611b7f5: Verifying Checksum 07:20:35 9e011611b7f5: Download complete 07:20:35 c6b39de5b339: Verifying Checksum 07:20:35 c6b39de5b339: Download complete 07:20:36 4476f39b5e91: Download complete 07:20:36 c6b39de5b339: Pull complete 07:20:36 a69c41024577: Pull complete 07:20:37 d6de4b400683: Download complete 07:20:38 3bd174042beb: Verifying Checksum 07:20:38 3bd174042beb: Download complete 07:20:50 d6de4b400683: Pull complete 07:20:50 35cb2a7552d0: Pull complete 07:20:50 4f4fb700ef54: Pull complete 07:20:51 9e011611b7f5: Pull complete 07:21:01 3bd174042beb: Pull complete 07:21:01 4476f39b5e91: Pull complete 07:21:01 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 07:21:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 07:21:01 ---> 981a0608b64a 07:21:01 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:21:03 ---> Running in 1009ed30b1ea 07:21:04 Removing intermediate container 1009ed30b1ea 07:21:04 ---> ee60940cc62e 07:21:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:04 ---> Running in a70fcf623926 07:21:04 Removing intermediate container a70fcf623926 07:21:04 ---> 64c678325e2f 07:21:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:21:04 ---> Running in 0ed255a6719d 07:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:21:07 (1/8) Installing openssh-keygen (9.3_p2-r1) 07:21:07 (2/8) Installing libedit (20221030.3.1-r1) 07:21:07 (3/8) Installing openssh-client-common (9.3_p2-r1) 07:21:07 (4/8) Installing openssh-client-default (9.3_p2-r1) 07:21:07 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 07:21:07 (6/8) Installing openssh-server-common (9.3_p2-r1) 07:21:07 (7/8) Installing openssh-server (9.3_p2-r1) 07:21:07 (8/8) Installing openssh (9.3_p2-r1) 07:21:07 Executing busybox-1.36.1-r5.trigger 07:21:07 OK: 272 MiB in 60 packages 07:21:08 Removing intermediate container 0ed255a6719d 07:21:08 ---> 59799b0db1d7 07:21:08 Step 6/10 : WORKDIR /device-modbus-go 07:21:08 ---> Running in 77b3d911b722 07:21:08 Removing intermediate container 77b3d911b722 07:21:08 ---> 64e6421a6226 07:21:08 Step 7/10 : COPY go.mod vendor* ./ 07:21:15 ---> 6edfd561f667 07:21:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:15 ---> Running in afaac2736de1 07:22:11 Removing intermediate container afaac2736de1 07:22:11 ---> c6ac19a58987 07:22:11 Step 9/10 : COPY . . 07:22:16 ---> d4bb5e1d9ebc 07:22:16 Step 10/10 : RUN ${MAKE} 07:22:16 ---> Running in bd284c93b672 07:22:16 noop 07:22:17 Removing intermediate container bd284c93b672 07:22:17 ---> 5bb3aa78cf7a 07:22:18 Successfully built 5bb3aa78cf7a 07:22:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:18 + docker inspect -f . ci-base-image-arm64 07:22:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:18 prd-ubuntu20.04-docker-arm64-4c-16g-221 does not seem to be running inside a container 07:22:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 07:22:20 $ docker top a86514b2c7ab174d42dd2d4149cb7ea60a8a6ab533ddc8867d882f7ab1c9b96c -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:20 + go version 07:22:20 go version go1.21.9 linux/arm64 [Pipeline] } 07:22:20 $ docker stop --time=1 a86514b2c7ab174d42dd2d4149cb7ea60a8a6ab533ddc8867d882f7ab1c9b96c 07:22:22 $ docker rm -f --volumes a86514b2c7ab174d42dd2d4149cb7ea60a8a6ab533ddc8867d882f7ab1c9b96c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:23 + docker inspect -f . ci-base-image-arm64 07:22:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:23 prd-ubuntu20.04-docker-arm64-4c-16g-221 does not seem to be running inside a container 07:22:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 07:22:24 $ docker top 1390ed13d2e81cd931cbf84ab421033f28302553241a0e124f64efb033c5cb48 -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:25 + git config --global --add safe.directory /w/workspace/device-modbus-go/5 [Pipeline] fileExists [Pipeline] sh 07:22:25 + make test 07:22:25 go test ./... -coverprofile=coverage.out 07:22:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:24:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:24:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 47.9% of statements 07:24:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:24:35 go vet ./... 07:24:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:24:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:24:54 ./bin/test-attribution-txt.sh [Pipeline] echo 07:24:54 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:24:54 + go mod tidy [Pipeline] } 07:24:58 $ docker stop --time=1 1390ed13d2e81cd931cbf84ab421033f28302553241a0e124f64efb033c5cb48 07:25:00 $ docker rm -f --volumes 1390ed13d2e81cd931cbf84ab421033f28302553241a0e124f64efb033c5cb48 [Pipeline] // withDockerContainer [Pipeline] sh 07:25:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:25:01 Warning: overwriting stash ‘coverage-report’ 07:25:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:25:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:25:03 + ls -al . 07:25:03 total 192 07:25:03 drwxrwxr-x 9 jenkins jenkins 4096 May 15 07:22 . 07:25:03 drwxrwxr-x 4 jenkins jenkins 4096 May 15 07:19 .. 07:25:03 -rw-rw-r-- 1 jenkins jenkins 140 May 15 07:20 .dockerignore 07:25:03 drwxrwxr-x 8 jenkins jenkins 4096 May 15 07:20 .git 07:25:03 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:20 .github 07:25:03 -rw-rw-r-- 1 jenkins jenkins 258 May 15 07:20 .gitignore 07:25:03 -rw-rw-r-- 1 jenkins jenkins 41 May 15 07:20 .golangci.yml 07:25:03 -rw-rw-r-- 1 jenkins jenkins 11120 May 15 07:20 Attribution.txt 07:25:03 -rw-rw-r-- 1 jenkins jenkins 16388 May 15 07:20 CHANGELOG.md 07:25:03 -rw-rw-r-- 1 jenkins jenkins 1474 May 15 07:20 Dockerfile 07:25:03 -rw-rw-r-- 1 jenkins jenkins 677 May 15 07:20 GOVERNANCE.md 07:25:03 -rw-rw-r-- 1 jenkins jenkins 658 May 15 07:20 Jenkinsfile 07:25:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 15 07:20 LICENSE 07:25:03 -rw-rw-r-- 1 jenkins jenkins 1936 May 15 07:20 Makefile 07:25:03 -rw-rw-r-- 1 jenkins jenkins 622 May 15 07:20 OWNERS.md 07:25:03 -rw-rw-r-- 1 jenkins jenkins 4463 May 15 07:20 README.md 07:25:03 -rw-rw-r-- 1 jenkins jenkins 5 May 15 07:17 VERSION 07:25:03 drwxrwxr-x 2 jenkins jenkins 4096 May 15 07:20 bin 07:25:03 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:20 cmd 07:25:03 -rw-r--r-- 1 jenkins jenkins 24334 May 15 07:24 coverage.out 07:25:03 -rw-rw-r-- 1 jenkins jenkins 3865 May 15 07:20 go.mod 07:25:03 -rw-rw-r-- 1 jenkins jenkins 34537 May 15 07:20 go.sum 07:25:03 drwxrwxr-x 3 jenkins jenkins 4096 May 15 07:20 internal 07:25:03 drwxrwxr-x 2 jenkins jenkins 4096 May 15 07:20 simulator 07:25:03 drwxrwxr-x 6 jenkins jenkins 4096 May 15 07:20 vendor 07:25:03 -rw-rw-r-- 1 jenkins jenkins 229 May 15 07:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:04 + 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=382e19ad1c947d3f576650917c1fbff1708e54b3 --label arch=arm64 --label version=3.1.1 . 07:25:06 Sending build context to Docker daemon 38.42MB 07:25:06 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:25:06 Step 2/23 : FROM ${BASE} AS builder 07:25:06 ---> 5bb3aa78cf7a 07:25:06 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:25:06 ---> Running in 0ecbe36ff176 07:25:06 Removing intermediate container 0ecbe36ff176 07:25:06 ---> 33b21e1d5c7e 07:25:06 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:25:07 ---> Running in 726e1295829d 07:25:07 Removing intermediate container 726e1295829d 07:25:07 ---> d97e3a75719a 07:25:07 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:25:07 ---> Running in 0773e955128a 07:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:25:09 OK: 272 MiB in 60 packages 07:25:10 Removing intermediate container 0773e955128a 07:25:10 ---> afb289b78125 07:25:10 Step 6/23 : WORKDIR /device-modbus-go 07:25:10 ---> Running in b1776d702f46 07:25:11 Removing intermediate container b1776d702f46 07:25:11 ---> 093c53c25764 07:25:11 Step 7/23 : COPY go.mod vendor* ./ 07:25:19 ---> 22f606ead6f0 07:25:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:25:19 ---> Running in c869e8db6f36 07:25:19 skipping... 07:25:20 Removing intermediate container c869e8db6f36 07:25:20 ---> ebb81ab44320 07:25:20 Step 9/23 : COPY . . 07:25:28 ---> ca384fb3cedb 07:25:28 Step 10/23 : RUN ${MAKE} 07:25:28 ---> Running in fc4bf5daf152 07:25:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:27:50 Removing intermediate container fc4bf5daf152 07:27:50 ---> e4bcc9eead90 07:27:50 Step 11/23 : FROM alpine:3.18 07:27:50 3.18: Pulling from library/alpine 07:27:50 c6b39de5b339: Already exists 07:27:50 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:27:50 Status: Downloaded newer image for alpine:3.18 07:27:50 ---> 33abbf032149 07:27:50 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:27:50 ---> Running in 42c57c239750 07:27:50 Removing intermediate container 42c57c239750 07:27:50 ---> ea8872d4cb3c 07:27:50 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:27:50 ---> Running in 98e767be9dd1 07:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:27:50 (1/1) Installing dumb-init (1.2.5-r2) 07:27:50 Executing busybox-1.36.1-r5.trigger 07:27:50 OK: 8 MiB in 16 packages 07:27:50 Removing intermediate container 98e767be9dd1 07:27:50 ---> 6696d0f26167 07:27:50 Step 14/23 : RUN apk --no-cache upgrade 07:27:50 ---> Running in b81c4602e4b4 07:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:27:50 Upgrading critical system libraries and apk-tools: 07:27:50 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:27:50 Executing busybox-1.36.1-r5.trigger 07:27:50 Continuing the upgrade transaction with new apk-tools: 07:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:27:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:27:50 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:27:50 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 07:27:50 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 07:27:50 OK: 8 MiB in 16 packages 07:27:50 Removing intermediate container b81c4602e4b4 07:27:50 ---> 216a283318eb 07:27:50 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:27:50 ---> ad65de54b160 07:27:50 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:27:50 ---> 6eaaf2209918 07:27:50 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:27:50 ---> 80399ed28360 07:27:50 Step 18/23 : EXPOSE 59901 07:27:50 ---> Running in 5175cf49d252 07:27:50 Removing intermediate container 5175cf49d252 07:27:50 ---> 42e4db6ef5d5 07:27:50 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:27:50 ---> Running in 6d379207d345 07:27:51 Removing intermediate container 6d379207d345 07:27:51 ---> 661ab291ab66 07:27:51 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:27:51 ---> Running in 9c5408a19133 07:27:51 Removing intermediate container 9c5408a19133 07:27:51 ---> 3115569408c1 07:27:51 Step 21/23 : LABEL arch=arm64 07:27:51 ---> Running in ca69a1aacb73 07:27:51 Removing intermediate container ca69a1aacb73 07:27:51 ---> e2621ab6b12f 07:27:51 Step 22/23 : LABEL git_sha=382e19ad1c947d3f576650917c1fbff1708e54b3 07:27:51 ---> Running in 0af6e0bafb2a 07:27:52 Removing intermediate container 0af6e0bafb2a 07:27:52 ---> a91ff2d02705 07:27:52 Step 23/23 : LABEL version=3.1.1 07:27:52 ---> Running in 7842be7cad9f 07:27:52 Removing intermediate container 7842be7cad9f 07:27:52 ---> d8f834837682 07:27:52 [Warning] One or more build-args [ARCH] were not consumed 07:27:52 Successfully built d8f834837682 07:27:52 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 07:27:52 provisioning config files... 07:27:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config2532684019502962213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:53 ---> ****-login.sh 07:27:53 nexus3.edgexfoundry.org:10001 07:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:53 Configure a credential helper to remove this warning. See 07:27:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:53 07:27:53 Login Succeeded 07:27:53 nexus3.edgexfoundry.org:10002 07:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:53 Configure a credential helper to remove this warning. See 07:27:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:53 07:27:53 Login Succeeded 07:27:53 nexus3.edgexfoundry.org:10003 07:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:54 Configure a credential helper to remove this warning. See 07:27:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:54 07:27:54 Login Succeeded 07:27:54 nexus3.edgexfoundry.org:10004 07:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:54 Configure a credential helper to remove this warning. See 07:27:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:54 07:27:54 Login Succeeded 07:27:54 ****.io 07:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:27:55 Configure a credential helper to remove this warning. See 07:27:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:27:55 07:27:55 Login Succeeded 07:27:55 ---> ****-login.sh ends [Pipeline] } 07:27:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:27:55 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:27:55 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:27:55 382e19ad1c947d3f576650917c1fbff1708e54b3 07:27:55 3.1.1 07:27:55 382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1 07:27:55 napa 07:27:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:382e19ad1c947d3f576650917c1fbff1708e54b3 07:27:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:27:55 0ad3c8eaac24: Preparing 07:27:55 0d78b00c52b1: Preparing 07:27:55 a918368b5144: Preparing 07:27:55 4021a3a5e613: Preparing 07:27:55 f736d4f8f227: Preparing 07:27:55 7c504f21be85: Preparing 07:27:55 7c504f21be85: Waiting 07:27:56 f736d4f8f227: Pushed 07:27:56 0d78b00c52b1: Pushed 07:27:56 0ad3c8eaac24: Pushed 07:27:56 7c504f21be85: Layer already exists 07:27:57 4021a3a5e613: Pushed 07:28:01 a918368b5144: Pushed 07:28:01 382e19ad1c947d3f576650917c1fbff1708e54b3: digest: sha256:2fa60f6dc956103d6a92dd88211245c81bf1c8dfde25362b75ed28518e2b3101 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1 07:28:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:28:02 0ad3c8eaac24: Preparing 07:28:02 0d78b00c52b1: Preparing 07:28:02 a918368b5144: Preparing 07:28:02 4021a3a5e613: Preparing 07:28:02 f736d4f8f227: Preparing 07:28:02 7c504f21be85: Preparing 07:28:02 7c504f21be85: Waiting 07:28:02 a918368b5144: Layer already exists 07:28:02 4021a3a5e613: Layer already exists 07:28:02 0d78b00c52b1: Layer already exists 07:28:02 f736d4f8f227: Layer already exists 07:28:02 0ad3c8eaac24: Layer already exists 07:28:02 7c504f21be85: Layer already exists 07:28:02 3.1.1: digest: sha256:2fa60f6dc956103d6a92dd88211245c81bf1c8dfde25362b75ed28518e2b3101 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1 07:28:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:28:03 0ad3c8eaac24: Preparing 07:28:03 0d78b00c52b1: Preparing 07:28:03 a918368b5144: Preparing 07:28:03 4021a3a5e613: Preparing 07:28:03 f736d4f8f227: Preparing 07:28:03 7c504f21be85: Preparing 07:28:03 7c504f21be85: Waiting 07:28:03 0d78b00c52b1: Layer already exists 07:28:03 f736d4f8f227: Layer already exists 07:28:03 0ad3c8eaac24: Layer already exists 07:28:03 4021a3a5e613: Layer already exists 07:28:03 a918368b5144: Layer already exists 07:28:03 7c504f21be85: Layer already exists 07:28:03 382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1: digest: sha256:2fa60f6dc956103d6a92dd88211245c81bf1c8dfde25362b75ed28518e2b3101 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa 07:28:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:28:04 0ad3c8eaac24: Preparing 07:28:04 0d78b00c52b1: Preparing 07:28:04 a918368b5144: Preparing 07:28:04 4021a3a5e613: Preparing 07:28:04 f736d4f8f227: Preparing 07:28:04 7c504f21be85: Preparing 07:28:04 7c504f21be85: Waiting 07:28:04 0d78b00c52b1: Layer already exists 07:28:04 4021a3a5e613: Layer already exists 07:28:04 f736d4f8f227: Layer already exists 07:28:04 a918368b5144: Layer already exists 07:28:04 0ad3c8eaac24: Layer already exists 07:28:04 7c504f21be85: Layer already exists 07:28:04 napa: digest: sha256:2fa60f6dc956103d6a92dd88211245c81bf1c8dfde25362b75ed28518e2b3101 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:28:04 ===================================================== [Pipeline] echo 07:28:04 taggedImages: 07:28:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:382e19ad1c947d3f576650917c1fbff1708e54b3 07:28:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1 07:28:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:382e19ad1c947d3f576650917c1fbff1708e54b3-3.1.1 07:28:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:04 07:28:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:05 arm64: Pulling from edgex-lftools-log-publisher 07:28:05 8998bd30e6a1: Pulling fs layer 07:28:05 04944245beec: Pulling fs layer 07:28:05 699f458cf7ca: Pulling fs layer 07:28:05 765212b225bb: Pulling fs layer 07:28:05 f23df028b6ca: Pulling fs layer 07:28:05 d65c8cfc05b1: Pulling fs layer 07:28:05 2437ff75d9bd: Pulling fs layer 07:28:05 765212b225bb: Waiting 07:28:05 d65c8cfc05b1: Waiting 07:28:05 f23df028b6ca: Waiting 07:28:05 2437ff75d9bd: Waiting 07:28:05 04944245beec: Verifying Checksum 07:28:05 04944245beec: Download complete 07:28:05 765212b225bb: Verifying Checksum 07:28:05 765212b225bb: Download complete 07:28:05 f23df028b6ca: Verifying Checksum 07:28:05 f23df028b6ca: Download complete 07:28:05 d65c8cfc05b1: Verifying Checksum 07:28:05 d65c8cfc05b1: Download complete 07:28:05 699f458cf7ca: Verifying Checksum 07:28:05 699f458cf7ca: Download complete 07:28:05 8998bd30e6a1: Verifying Checksum 07:28:05 8998bd30e6a1: Download complete 07:28:08 2437ff75d9bd: Verifying Checksum 07:28:08 2437ff75d9bd: Download complete 07:28:10 8998bd30e6a1: Pull complete 07:28:10 04944245beec: Pull complete 07:28:12 699f458cf7ca: Pull complete 07:28:12 765212b225bb: Pull complete 07:28:13 f23df028b6ca: Pull complete 07:28:13 d65c8cfc05b1: Pull complete 07:28:31 2437ff75d9bd: Pull complete 07:28:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:32 prd-ubuntu20.04-docker-arm64-4c-16g-221 does not seem to be running inside a container 07:28:32 $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 07:28:34 $ docker top b8b0c08ab9240dda51cd32cb0d3a854b3452ddb0fe9cd957aa8f65752279ac9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:35 ---> job-cost.sh 07:28:35 lf-activate-venv: SKIPPING 07:28:35 INFO: No Stack... 07:28:35 INFO: Retrieving Pricing Info for: v3-standard-4 07:28:36 INFO: Archiving Costs [Pipeline] sh 07:28:37 + cat /w/workspace/device-modbus-go/5/archives/cost.csv 07:28:37 + cut -d, -f6 [Pipeline] lock 07:28:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-5-stack-cost] 07:28:37 Resource [jenkins-edgexfoundry-device-modbus-go-napa-5-stack-cost] did not exist. Created. 07:28:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:28:37 /w/workspace/device-modbus-go/5@tmp/durable-a802a9ce/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:28:38 + echo total: 0.10999999940395355 [Pipeline] stash 07:28:38 Warning: overwriting stash ‘stack-cost’ 07:28:39 Stashed 1 file(s) [Pipeline] } 07:28:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-napa-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:28:39 $ docker stop --time=1 b8b0c08ab9240dda51cd32cb0d3a854b3452ddb0fe9cd957aa8f65752279ac9b 07:28:40 $ docker rm -f --volumes b8b0c08ab9240dda51cd32cb0d3a854b3452ddb0fe9cd957aa8f65752279ac9b [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 07:28:41 provisioning config files... 07:28:41 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config2355976321858899639tmp [Pipeline] { [Pipeline] sh 07:28:41 + set +x 07:28:41 + curl -s https://codecov.io/bash 07:28:41 + bash -s -- 07:28:41 07:28:41 _____ _ 07:28:41 / ____| | | 07:28:41 | | ___ __| | ___ ___ _____ __ 07:28:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:28:41 | |___| (_) | (_| | __/ (_| (_) \ V / 07:28:41 \_____\___/ \__,_|\___|\___\___/ \_/ 07:28:41 Bash-1.0.6 07:28:41 07:28:41 07:28:41 ==> git version 2.25.1 found 07:28:41 ==> 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 07:28:41 Release-Date: 2020-01-08 07:28:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:28:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:28:41 ==> Jenkins CI detected. 07:28:41 current dir:  /w/workspace/gexfoundry_device-modbus-go_napa 07:28:41 project root: . 07:28:41 --> token set from env 07:28:41 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 07:28:41 ==> Running gcov in . (disable via -X gcov) 07:28:41 ==> Python coveragepy not found 07:28:41 ==> Searching for coverage reports in: 07:28:41 + . 07:28:41 -> Found 1 reports 07:28:41 ==> Detecting git/mercurial file structure 07:28:41 ==> Reading reports 07:28:41 + ./coverage.out bytes=24334 07:28:41 ==> Appending adjustments 07:28:41 https://docs.codecov.io/docs/fixing-reports 07:28:41 + Found adjustments 07:28:41 ==> Gzipping contents 07:28:41 16K /tmp/codecov.nYQVb6.gz 07:28:41 ==> Uploading reports 07:28:41 url: https://codecov.io 07:28:41 query: branch=napa&commit=382e19ad1c947d3f576650917c1fbff1708e54b3&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:28:41 -> Pinging Codecov 07:28:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=382e19ad1c947d3f576650917c1fbff1708e54b3&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fnapa%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:28:41 -> Uploading to 07:28:41 https://storage.googleapis.com/codecov/v4/raw/2024-05-15/55DBCA73C666E3227836607328DD7E49/382e19ad1c947d3f576650917c1fbff1708e54b3/9d7e81b9-7fe7-475e-ac2d-def8f3312004.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240515%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240515T072841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e73e75b339c41c282d639a491e6347f785e9992aa9c87721c02cc3d3be84e92 07:28:41 % Total % Received % Xferd Average Speed Time Time Time Current 07:28:41 Dload Upload Total Spent Left Speed 07:28:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15662 0 0 100 15662 0 64719 --:--:-- --:--:-- --:--:-- 64719 07:28:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] } 07:28:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:28:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:28:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:28:42 07:28:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:28:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:28:42 df9b9388f04a: Pulling fs layer 07:28:42 52dc419b0ee2: Pulling fs layer 07:28:42 25bc292e5bac: Pulling fs layer 07:28:42 114826534d7a: Pulling fs layer 07:28:42 4657fd5d0bcf: Pulling fs layer 07:28:42 6ad1cebc031e: Pulling fs layer 07:28:42 8a3aa393b2d8: Pulling fs layer 07:28:42 4657fd5d0bcf: Waiting 07:28:42 114826534d7a: Waiting 07:28:42 6ad1cebc031e: Waiting 07:28:42 8a3aa393b2d8: Waiting 07:28:42 25bc292e5bac: Verifying Checksum 07:28:42 25bc292e5bac: Download complete 07:28:42 52dc419b0ee2: Verifying Checksum 07:28:42 52dc419b0ee2: Download complete 07:28:42 4657fd5d0bcf: Verifying Checksum 07:28:42 4657fd5d0bcf: Download complete 07:28:42 df9b9388f04a: Download complete 07:28:43 df9b9388f04a: Pull complete 07:28:43 6ad1cebc031e: Verifying Checksum 07:28:43 6ad1cebc031e: Download complete 07:28:43 52dc419b0ee2: Pull complete 07:28:43 25bc292e5bac: Pull complete 07:28:43 114826534d7a: Download complete 07:28:43 8a3aa393b2d8: Verifying Checksum 07:28:43 8a3aa393b2d8: Download complete 07:28:47 114826534d7a: Pull complete 07:28:47 4657fd5d0bcf: Pull complete 07:28:47 6ad1cebc031e: Pull complete 07:28:50 8a3aa393b2d8: Pull complete 07:28:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:28:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:28:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:50 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:28:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:28:55 $ docker top 4f3c9ce225150693c1eeb62576838e26344996e8da86962780f86aad298e0d0e -eo pid,comm [Pipeline] { [Pipeline] echo 07:28:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:napa' [Pipeline] sh 07:28:55 + set -o pipefail 07:28:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:napa' 07:28:58 07:28:58 Monitoring /w/workspace/gexfoundry_device-modbus-go_napa (github.com/edgexfoundry/device-modbus-go)... 07:28:58 07:28:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/8dd50ca0-bdc5-4bae-9837-cf39eb4e0593/history/305f7e29-f33a-47d6-bcc1-42604b665667 07:28:58 07:28:58 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:28:58 07:28:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:28:58 07:29:00 07:29:00 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:29:00 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:29:00 More details here: https://snyk.co/ue1NS 07:29:00 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:29:00 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:29:00 $ docker stop --time=1 4f3c9ce225150693c1eeb62576838e26344996e8da86962780f86aad298e0d0e 07:29:01 $ docker rm -f --volumes 4f3c9ce225150693c1eeb62576838e26344996e8da86962780f86aad298e0d0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:29:02 + git log --format=format:%s -1 382e19ad1c947d3f576650917c1fbff1708e54b3 [Pipeline] sh 07:29:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:29:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:02 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:29:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:29:03 $ docker top b3d9082fc50c345496f71afc4a55a127714a51474faff6a7d9ce15b78c94dd16 -eo pid,comm 07:29:03 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). 07:29:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:29:03 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:03 + git semver [Pipeline] } 07:29:03 $ docker stop --time=1 b3d9082fc50c345496f71afc4a55a127714a51474faff6a7d9ce15b78c94dd16 07:29:05 $ docker rm -f --volumes b3d9082fc50c345496f71afc4a55a127714a51474faff6a7d9ce15b78c94dd16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:29:05 07:29:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:29:05 0.23.1-centos7: Pulling from edgex-lftools 07:29:05 ab5ef0e58194: Pulling fs layer 07:29:05 9712f1f96733: Pulling fs layer 07:29:05 63f879dbbcfc: Pulling fs layer 07:29:05 0d9ebad4ef96: Pulling fs layer 07:29:05 e9a5061849ea: Pulling fs layer 07:29:05 d747dcd14b5f: Pulling fs layer 07:29:05 2de7ff778b66: Pulling fs layer 07:29:05 0d9ebad4ef96: Waiting 07:29:05 e9a5061849ea: Waiting 07:29:05 d747dcd14b5f: Waiting 07:29:05 2de7ff778b66: Waiting 07:29:05 9712f1f96733: Verifying Checksum 07:29:05 9712f1f96733: Download complete 07:29:06 63f879dbbcfc: Verifying Checksum 07:29:06 63f879dbbcfc: Download complete 07:29:06 0d9ebad4ef96: Verifying Checksum 07:29:06 0d9ebad4ef96: Download complete 07:29:06 d747dcd14b5f: Download complete 07:29:06 ab5ef0e58194: Verifying Checksum 07:29:06 ab5ef0e58194: Download complete 07:29:06 e9a5061849ea: Verifying Checksum 07:29:06 e9a5061849ea: Download complete 07:29:06 2de7ff778b66: Verifying Checksum 07:29:06 2de7ff778b66: Download complete 07:29:09 ab5ef0e58194: Pull complete 07:29:09 9712f1f96733: Pull complete 07:29:09 63f879dbbcfc: Pull complete 07:29:13 0d9ebad4ef96: Pull complete 07:29:13 e9a5061849ea: Pull complete 07:29:13 d747dcd14b5f: Pull complete 07:29:14 2de7ff778b66: Pull complete 07:29:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:29:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:29:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:14 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:29:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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:0.23.1-centos7 cat 07:29:21 $ docker top dff21208d40203812ddebe905f5dd468d7b53e2d5cfe314ec4756ac71a9ff940 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:29:21 provisioning config files... 07:29:21 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config14468513874608197313tmp 07:29:21 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config10352628183061866896tmp 07:29:21 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config1361089481296174157tmp [Pipeline] { [Pipeline] echo 07:29:21 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:29:21 ---> sigul-configuration.sh 07:29:21 gpg: directory `/root/.gnupg' created 07:29:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:29:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:29:21 gpg: keyring `/root/.gnupg/secring.gpg' created 07:29:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:29:21 gpg: CAST5 encrypted data 07:29:21 gpg: encrypted with 1 passphrase 07:29:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:29:21 + mkdir /home/jenkins 07:29:21 + mkdir /home/jenkins/sigul [Pipeline] sh 07:29:22 + 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 07:29:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:29:22 ---> sigul-install.sh 07:29:22 Sigul already installed; skipping installation. [Pipeline] sh 07:29:22 + git tag --list 07:29:22 0.7.1 07:29:22 v1.0.0 07:29:22 v1.1.0 07:29:22 v1.1.1 07:29:22 v1.2.2 07:29:22 v1.3.0 07:29:22 v1.3.1 07:29:22 v2.0.0 07:29:22 v2.1.0 07:29:22 v2.1.1 07:29:22 v2.2.0 07:29:22 v2.3.0 07:29:22 v3.0 07:29:22 v3.0.0 07:29:22 v3.1 07:29:22 v3.1.0 07:29:22 v3.1.0-dev.1 07:29:22 v3.1.0-dev.10 07:29:22 v3.1.0-dev.11 07:29:22 v3.1.0-dev.12 07:29:22 v3.1.0-dev.13 07:29:22 v3.1.0-dev.14 07:29:22 v3.1.0-dev.15 07:29:22 v3.1.0-dev.16 07:29:22 v3.1.0-dev.17 07:29:22 v3.1.0-dev.18 07:29:22 v3.1.0-dev.19 07:29:22 v3.1.0-dev.2 07:29:22 v3.1.0-dev.20 07:29:22 v3.1.0-dev.21 07:29:22 v3.1.0-dev.22 07:29:22 v3.1.0-dev.23 07:29:22 v3.1.0-dev.24 07:29:22 v3.1.0-dev.25 07:29:22 v3.1.0-dev.3 07:29:22 v3.1.0-dev.4 07:29:22 v3.1.0-dev.5 07:29:22 v3.1.0-dev.6 07:29:22 v3.1.0-dev.7 07:29:22 v3.1.0-dev.8 07:29:22 v3.1.0-dev.9 07:29:22 v3.1.1 07:29:22 v3.1.1-dev.1 07:29:22 v3.2.0-dev.1 07:29:22 v3.2.0-dev.10 07:29:22 v3.2.0-dev.11 07:29:22 v3.2.0-dev.2 07:29:22 v3.2.0-dev.3 07:29:22 v3.2.0-dev.4 07:29:22 v3.2.0-dev.5 07:29:22 v3.2.0-dev.6 07:29:22 v3.2.0-dev.7 07:29:22 v3.2.0-dev.8 07:29:22 v3.2.0-dev.9 [Pipeline] sh 07:29:23 + lftools sign git-tag v3.1.1 07:29:23 Signing Git tag with Sigul... 07:29:23 Signing v3.1.1 [Pipeline] echo 07:29:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:29:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:29:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:29:24 $ docker stop --time=1 dff21208d40203812ddebe905f5dd468d7b53e2d5cfe314ec4756ac71a9ff940 07:29:25 $ docker rm -f --volumes dff21208d40203812ddebe905f5dd468d7b53e2d5cfe314ec4756ac71a9ff940 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:29:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:29:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:26 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:29:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:29:26 $ docker top 5a2dac6b1af0c0ec80815a3852cd9933874e6e8a45b8e19c08b79fe474b5558f -eo pid,comm 07:29:26 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). 07:29:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:29:26 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:27 + git semver [Pipeline] } 07:29:27 $ docker stop --time=1 5a2dac6b1af0c0ec80815a3852cd9933874e6e8a45b8e19c08b79fe474b5558f 07:29:28 $ docker rm -f --volumes 5a2dac6b1af0c0ec80815a3852cd9933874e6e8a45b8e19c08b79fe474b5558f [Pipeline] // withDockerContainer [Pipeline] sh 07:29:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:29:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:29 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:29:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:29:29 $ docker top b1d4e582908784c6a031b5247fdded43e0cf560948dad3c4ba0adc5a42b61fa9 -eo pid,comm 07:29:29 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). 07:29:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:29:29 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:30 + git semver [Pipeline] } 07:29:30 $ docker stop --time=1 b1d4e582908784c6a031b5247fdded43e0cf560948dad3c4ba0adc5a42b61fa9 07:29:31 $ docker rm -f --volumes b1d4e582908784c6a031b5247fdded43e0cf560948dad3c4ba0adc5a42b61fa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:29:32 + [ -d /w/workspace/gexfoundry_device-modbus-go_napa/archives ] 07:29:32 + ls -al /w/workspace/gexfoundry_device-modbus-go_napa/archives 07:29:32 total 16 07:29:32 drwxr-xr-x 3 root root 4096 May 15 07:19 . 07:29:32 drwxrwxr-x 11 jenkins jenkins 4096 May 15 07:29 .. 07:29:32 drwxr-xr-x 2 root root 4096 May 15 07:19 cost 07:29:32 -rw-r--r-- 1 root root 86 May 15 07:19 cost.csv 07:29:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_napa/archives 07:29:32 + ls -al /w/workspace/gexfoundry_device-modbus-go_napa/archives 07:29:32 total 16 07:29:32 drwxr-xr-x 3 jenkins jenkins 4096 May 15 07:19 . 07:29:32 drwxrwxr-x 11 jenkins jenkins 4096 May 15 07:29 .. 07:29:32 drwxr-xr-x 2 jenkins jenkins 4096 May 15 07:19 cost 07:29:32 -rw-r--r-- 1 jenkins jenkins 86 May 15 07:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:29:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:29:33 ---> package-listing.sh 07:29:33 ++ tr '[:upper:]' '[:lower:]' 07:29:33 ++ facter osfamily 07:29:33 + OS_FAMILY=debian 07:29:33 + workspace=/w/workspace/gexfoundry_device-modbus-go_napa 07:29:33 + START_PACKAGES=/tmp/packages_start.txt 07:29:33 + END_PACKAGES=/tmp/packages_end.txt 07:29:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:29:33 + PACKAGES=/tmp/packages_start.txt 07:29:33 + '[' /w/workspace/gexfoundry_device-modbus-go_napa ']' 07:29:33 + PACKAGES=/tmp/packages_end.txt 07:29:33 + case "${OS_FAMILY}" in 07:29:33 + dpkg -l 07:29:33 + grep '^ii' 07:29:33 + '[' -f /tmp/packages_start.txt ']' 07:29:33 + '[' -f /tmp/packages_end.txt ']' 07:29:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:29:33 + '[' /w/workspace/gexfoundry_device-modbus-go_napa ']' 07:29:33 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_napa/archives/ 07:29:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_napa/archives/ [Pipeline] echo 07:29:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:29:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:29:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:34 prd-ubuntu20.04-docker-8c-8g-219 does not seem to be running inside a container 07:29:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:29:34 $ docker top 0d5d28d11c5abdbfa87293016bf989ece10e89242f00e0f7d6f5455fcb9aa0a1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:35 + touch /tmp/pre-build-complete [Pipeline] sh 07:29:35 + mkdir -p /var/log/sysstat [Pipeline] sh 07:29:35 + ls /var/log/sa-host 07:29:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:35 provisioning config files... 07:29:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config14108284479245896209tmp [Pipeline] { [Pipeline] echo 07:29:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:29:36 ---> create-netrc.sh [Pipeline] } 07:29:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:29:36 ---> python-tools-install.sh [Pipeline] echo 07:29:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:29:36 ---> sudo-logs.sh 07:29:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:29:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:29:37 ---> job-cost.sh 07:29:37 lf-activate-venv: SKIPPING 07:29:37 DEBUG: total: 0.2199999988079071 07:29:37 INFO: Retrieving Stack Cost... 07:29:37 INFO: Retrieving Pricing Info for: v3-standard-8 07:29:37 INFO: Archiving Costs [Pipeline] echo 07:29:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:29:38 ---> logs-deploy.sh 07:29:38 lf-activate-venv: SKIPPING 07:29:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/napa/5 07:29:38 INFO: archiving workspace using pattern(s): 07:29:39 Archives upload complete. 07:29:39 INFO: archiving logs to Nexus