Started by upstream project "edgexfoundry/cd-management/release-lts" build number 54 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 71400dc9842281494e52a1844bb24bcb2d08fff5 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-ssh15632157498208698236.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-ssh5610297676369291617.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-ssh2523023826635963550.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-ssh5934220767246821901.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-ssh13042739767092376223.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18182 in /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_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 71400dc9842281494e52a1844bb24bcb2d08fff5 (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @3d74835" > 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 71400dc9842281494e52a1844bb24bcb2d08fff5 # timeout=10 > git rev-list --no-walk 71400dc9842281494e52a1844bb24bcb2d08fff5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:16:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:16:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:16:02 ========================================================= 22:16:02 EdgeX Global Pipelines Version Info 22:16:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:16:03 ------------------- 22:16:03 stable info: 22:16:03 ------------------- 22:16:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:16:03 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:16:03 Message: update stable to v1.0.258 22:16:04 ------------------- 22:16:04 experimental info: 22:16:04 ------------------- 22:16:04 Commited By: **** collab-it+edgex@linuxfoundation.org 22:16:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 22:16:04 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71400dc [Pipeline] echo 22:16:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:04 provisioning config files... 22:16:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config6267557017258476414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:05 ---> docker-login.sh 22:16:05 nexus3.edgexfoundry.org:10001 22:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:05 Configure a credential helper to remove this warning. See 22:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:05 22:16:05 Login Succeeded 22:16:05 nexus3.edgexfoundry.org:10002 22:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:05 Configure a credential helper to remove this warning. See 22:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:05 22:16:05 Login Succeeded 22:16:05 nexus3.edgexfoundry.org:10003 22:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:06 Configure a credential helper to remove this warning. See 22:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:06 22:16:06 Login Succeeded 22:16:06 nexus3.edgexfoundry.org:10004 22:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:06 Configure a credential helper to remove this warning. See 22:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:06 22:16:06 Login Succeeded 22:16:06 docker.io 22:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:06 Configure a credential helper to remove this warning. See 22:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:06 22:16:06 Login Succeeded 22:16:06 ---> docker-login.sh ends [Pipeline] } 22:16:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:16:07 + git rev-list -1 --merges 71400dc9842281494e52a1844bb24bcb2d08fff5~1..71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] echo 22:16:07 -----------> git rev-list -1 --merges 71400dc9842281494e52a1844bb24bcb2d08fff5~1..71400dc9842281494e52a1844bb24bcb2d08fff5 71400dc9842281494e52a1844bb24bcb2d08fff5 [false] [Pipeline] sh 22:16:07 + git log --format=format:%s -1 71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] echo 22:16:07 ========================================================= 22:16:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:16:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:07 + git log --format=format:%s -1 71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] echo 22:16:07 [semverPrep] GIT_COMMIT: 71400dc9842281494e52a1844bb24bcb2d08fff5, Commit Message: ci(lts-release): LTS release v3.1.0 @3d74835 [Pipeline] echo 22:16:07 [semverPrep] This is not a build commit. [Pipeline] sh 22:16:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:16:08 + grep -v github /etc/ssh/ssh_known_hosts 22:16:08 + [ -e /tmp/ssh_known_hosts ] 22:16:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:16:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:16:08 + sudo tee -a /etc/ssh/ssh_known_hosts 22:16:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:08 22:16:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:08 0.1.4: Pulling from edgex-devops/py-git-semver 22:16:08 b85a868b505f: Pulling fs layer 22:16:08 e2be974225ed: Pulling fs layer 22:16:08 339a4e72a1f5: Pulling fs layer 22:16:08 988bab9f4d93: Pulling fs layer 22:16:08 1469e6f7b9e6: Pulling fs layer 22:16:08 eaf3925da568: Pulling fs layer 22:16:08 bab4dde63d76: Pulling fs layer 22:16:08 bde34c3a00c8: Pulling fs layer 22:16:08 b352a97aabf1: Pulling fs layer 22:16:08 4872d77fe225: Pulling fs layer 22:16:08 5851b861e8e6: Pulling fs layer 22:16:08 b352a97aabf1: Waiting 22:16:08 1469e6f7b9e6: Waiting 22:16:08 eaf3925da568: Waiting 22:16:08 5851b861e8e6: Waiting 22:16:08 bab4dde63d76: Waiting 22:16:08 bde34c3a00c8: Waiting 22:16:08 988bab9f4d93: Waiting 22:16:08 4872d77fe225: Waiting 22:16:08 e2be974225ed: Verifying Checksum 22:16:08 e2be974225ed: Download complete 22:16:08 988bab9f4d93: Verifying Checksum 22:16:08 988bab9f4d93: Download complete 22:16:08 1469e6f7b9e6: Verifying Checksum 22:16:08 1469e6f7b9e6: Download complete 22:16:08 339a4e72a1f5: Verifying Checksum 22:16:08 339a4e72a1f5: Download complete 22:16:08 eaf3925da568: Verifying Checksum 22:16:08 eaf3925da568: Download complete 22:16:09 bde34c3a00c8: Verifying Checksum 22:16:09 bde34c3a00c8: Download complete 22:16:09 b352a97aabf1: Verifying Checksum 22:16:09 b352a97aabf1: Download complete 22:16:09 4872d77fe225: Download complete 22:16:09 5851b861e8e6: Verifying Checksum 22:16:09 5851b861e8e6: Download complete 22:16:09 b85a868b505f: Verifying Checksum 22:16:09 b85a868b505f: Download complete 22:16:09 bab4dde63d76: Verifying Checksum 22:16:09 bab4dde63d76: Download complete 22:16:10 b85a868b505f: Pull complete 22:16:10 e2be974225ed: Pull complete 22:16:10 339a4e72a1f5: Pull complete 22:16:11 988bab9f4d93: Pull complete 22:16:11 1469e6f7b9e6: Pull complete 22:16:11 eaf3925da568: Pull complete 22:16:13 bab4dde63d76: Pull complete 22:16:13 bde34c3a00c8: Pull complete 22:16:13 b352a97aabf1: Pull complete 22:16:13 4872d77fe225: Pull complete 22:16:14 5851b861e8e6: Pull complete 22:16:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:16:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:16:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:14 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:16:14 $ 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 22:16:18 $ docker top 23b7fac54d18f5828523ddc51b3ef01cd8e445abb9b104c32a9f610162806fb3 -eo pid,comm 22:16:18 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). 22:16:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:18 [ssh-agent] Looking for ssh-agent implementation... 22:16:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:18 $ docker exec 23b7fac54d18f5828523ddc51b3ef01cd8e445abb9b104c32a9f610162806fb3 ssh-agent 22:16:18 SSH_AUTH_SOCK=/tmp/ssh-BrPiQZn9IwLF/agent.32 22:16:18 SSH_AGENT_PID=38 22:16:18 Running ssh-add (command line suppressed) 22:16:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_16866146957276183195.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_16866146957276183195.key) 22:16:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:19 + git tag --points-at 71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] } 22:16:19 $ docker exec --env ******** --env ******** 23b7fac54d18f5828523ddc51b3ef01cd8e445abb9b104c32a9f610162806fb3 ssh-agent -k 22:16:19 unset SSH_AUTH_SOCK; 22:16:19 unset SSH_AGENT_PID; 22:16:19 echo Agent pid 38 killed; 22:16:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:16:19 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent 22:16:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:19 [ssh-agent] Looking for ssh-agent implementation... 22:16:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:19 $ docker exec 23b7fac54d18f5828523ddc51b3ef01cd8e445abb9b104c32a9f610162806fb3 ssh-agent 22:16:19 SSH_AUTH_SOCK=/tmp/ssh-N4VukDt4SOkI/agent.70 22:16:19 SSH_AGENT_PID=76 22:16:19 Running ssh-add (command line suppressed) 22:16:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_10436675571221622817.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_10436675571221622817.key) 22:16:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:20 + git semver init 22:16:20 2023-11-15 22:16:20,259 [run_init] DEBUG init version:0.0.0 force:False 22:16:20 2023-11-15 22:16:20,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_napa/.semver 22:16:20 2023-11-15 22:16:20,260 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_napa/.semver 22:16:20 2023-11-15 22:16:20,260 [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) 22:16:21 2023-11-15 22:16:21,371 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_napa/.git/info/exclude 22:16:21 2023-11-15 22:16:21,372 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa with force:False 22:16:21 2023-11-15 22:16:21,372 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 22:16:21 2023-11-15 22:16:21,372 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 22:16:21 3.1.0 [Pipeline] } 22:16:21 $ docker exec --env ******** --env ******** 23b7fac54d18f5828523ddc51b3ef01cd8e445abb9b104c32a9f610162806fb3 ssh-agent -k 22:16:21 unset SSH_AUTH_SOCK; 22:16:21 unset SSH_AGENT_PID; 22:16:21 echo Agent pid 76 killed; 22:16:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:22 + git semver [Pipeline] } 22:16:22 $ docker stop --time=1 23b7fac54d18f5828523ddc51b3ef01cd8e445abb9b104c32a9f610162806fb3 22:16:24 $ docker rm -f --volumes 23b7fac54d18f5828523ddc51b3ef01cd8e445abb9b104c32a9f610162806fb3 [Pipeline] // withDockerContainer [Pipeline] sh 22:16:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:16:24 Stashed 1 file(s) [Pipeline] echo 22:16:24 [edgeXSemver]: initialized semver on version 3.1.0 [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 22:16:25 + git checkout 71400dc9842281494e52a1844bb24bcb2d08fff5 22:16:25 HEAD is now at 71400dc ci(lts-release): LTS release v3.1.0 @3d74835 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:25 provisioning config files... 22:16:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config13548426402712511308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:25 ---> docker-login.sh 22:16:25 nexus3.edgexfoundry.org:10001 22:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:25 Configure a credential helper to remove this warning. See 22:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:25 22:16:25 Login Succeeded 22:16:25 nexus3.edgexfoundry.org:10002 22:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:25 Configure a credential helper to remove this warning. See 22:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:25 22:16:25 Login Succeeded 22:16:25 nexus3.edgexfoundry.org:10003 22:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:25 Configure a credential helper to remove this warning. See 22:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:25 22:16:25 Login Succeeded 22:16:25 nexus3.edgexfoundry.org:10004 22:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:25 Configure a credential helper to remove this warning. See 22:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:25 22:16:25 Login Succeeded 22:16:25 docker.io 22:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:26 Configure a credential helper to remove this warning. See 22:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:26 22:16:26 Login Succeeded 22:16:26 ---> docker-login.sh ends [Pipeline] } 22:16:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:16:26 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:16:26 + grep ^go [0-9].[0-9]* go.mod 22:16:26 + cut -d -f 2 [Pipeline] echo 22:16:26 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:16:26 ========================================================= 22:16:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 22:16:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:26 + 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 . 22:16:27 Sending build context to Docker daemon 44.59MB 22:16:27 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 22:16:27 Step 2/10 : FROM ${BASE} AS builder 22:16:27 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:16:27 7264a8db6415: Pulling fs layer 22:16:27 c4d48a809fc2: Pulling fs layer 22:16:27 4f1c88b9dad5: Pulling fs layer 22:16:27 ad3a456e5733: Pulling fs layer 22:16:27 f0163c21ed6d: Pulling fs layer 22:16:27 04c35c34e31e: Pulling fs layer 22:16:27 0c7b0fd20c02: Pulling fs layer 22:16:27 d22eed83c68c: Pulling fs layer 22:16:27 f0163c21ed6d: Waiting 22:16:27 04c35c34e31e: Waiting 22:16:27 0c7b0fd20c02: Waiting 22:16:27 d22eed83c68c: Waiting 22:16:27 ad3a456e5733: Waiting 22:16:27 c4d48a809fc2: Download complete 22:16:27 ad3a456e5733: Verifying Checksum 22:16:27 ad3a456e5733: Download complete 22:16:27 f0163c21ed6d: Verifying Checksum 22:16:27 f0163c21ed6d: Download complete 22:16:27 7264a8db6415: Verifying Checksum 22:16:27 7264a8db6415: Download complete 22:16:27 04c35c34e31e: Verifying Checksum 22:16:27 04c35c34e31e: Download complete 22:16:27 7264a8db6415: Pull complete 22:16:27 d22eed83c68c: Verifying Checksum 22:16:27 d22eed83c68c: Download complete 22:16:27 c4d48a809fc2: Pull complete 22:16:27 4f1c88b9dad5: Verifying Checksum 22:16:27 4f1c88b9dad5: Download complete 22:16:28 0c7b0fd20c02: Verifying Checksum 22:16:28 0c7b0fd20c02: Download complete 22:16:30 4f1c88b9dad5: Pull complete 22:16:30 ad3a456e5733: Pull complete 22:16:30 f0163c21ed6d: Pull complete 22:16:31 04c35c34e31e: Pull complete 22:16:33 0c7b0fd20c02: Pull complete 22:16:34 d22eed83c68c: Pull complete 22:16:34 Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de 22:16:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 22:16:34 ---> 8a661f5c53af 22:16:34 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:16:40 Still waiting to schedule task 22:16:40 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:16:42 ---> Running in c607d67789b0 22:16:42 Removing intermediate container c607d67789b0 22:16:42 ---> 593dcd6dc2a7 22:16:42 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:16:42 ---> Running in 8ca5e86ccd4b 22:16:42 Removing intermediate container 8ca5e86ccd4b 22:16:42 ---> 5190eb55a176 22:16:42 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:16:43 ---> Running in b4016431cf1e 22:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:16:43 (1/8) Installing openssh-keygen (9.3_p2-r0) 22:16:43 (2/8) Installing libedit (20221030.3.1-r1) 22:16:43 (3/8) Installing openssh-client-common (9.3_p2-r0) 22:16:43 (4/8) Installing openssh-client-default (9.3_p2-r0) 22:16:43 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 22:16:43 (6/8) Installing openssh-server-common (9.3_p2-r0) 22:16:43 (7/8) Installing openssh-server (9.3_p2-r0) 22:16:43 (8/8) Installing openssh (9.3_p2-r0) 22:16:43 Executing busybox-1.36.1-r5.trigger 22:16:43 OK: 270 MiB in 60 packages 22:16:44 Removing intermediate container b4016431cf1e 22:16:44 ---> 04d88ed3d2ee 22:16:44 Step 6/10 : WORKDIR /device-modbus-go 22:16:44 ---> Running in a86538f482b8 22:16:44 Removing intermediate container a86538f482b8 22:16:44 ---> 9a770934d96c 22:16:44 Step 7/10 : COPY go.mod vendor* ./ 22:16:47 ---> 2798679e1731 22:16:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:16:47 ---> Running in ba69c4e9274a 22:17:43 Removing intermediate container ba69c4e9274a 22:17:43 ---> ff69745666a0 22:17:43 Step 9/10 : COPY . . 22:17:43 ---> eb2db628c645 22:17:43 Step 10/10 : RUN ${MAKE} 22:17:43 ---> Running in e776e69cc308 22:17:43 noop 22:17:43 Removing intermediate container e776e69cc308 22:17:43 ---> b04c96e67e9d 22:17:43 Successfully built b04c96e67e9d 22:17:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:44 + docker inspect -f . ci-base-image-x86_64 22:17:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:44 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:17:44 $ 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 22:17:44 $ docker top b7fb8bb15085a5e9fd06fa4a1024039619cdb13d5cdacff3fe9165da48b11cb7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:44 + go version 22:17:44 go version go1.21.0 linux/amd64 [Pipeline] } 22:17:45 $ docker stop --time=1 b7fb8bb15085a5e9fd06fa4a1024039619cdb13d5cdacff3fe9165da48b11cb7 22:17:46 $ docker rm -f --volumes b7fb8bb15085a5e9fd06fa4a1024039619cdb13d5cdacff3fe9165da48b11cb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:46 + docker inspect -f . ci-base-image-x86_64 22:17:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:46 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:17:47 $ 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 22:17:47 $ docker top 832a2f14c8f77d5446965d727ead037728d8c63baca9d9d3e3f9c8a52815f69b -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] fileExists [Pipeline] sh 22:17:48 + make test 22:17:48 go test ./... -coverprofile=coverage.out 22:17:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:17:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:17:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements 22:18:04 go vet ./... 22:18:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:07 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:07 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:18:08 + go mod tidy [Pipeline] } 22:18:08 $ docker stop --time=1 832a2f14c8f77d5446965d727ead037728d8c63baca9d9d3e3f9c8a52815f69b 22:18:12 $ docker rm -f --volumes 832a2f14c8f77d5446965d727ead037728d8c63baca9d9d3e3f9c8a52815f69b [Pipeline] // withDockerContainer [Pipeline] sh 22:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:14 + ls -al . 22:18:14 total 196 22:18:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 22:17 . 22:18:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:16 .. 22:18:14 -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 22:16 .dockerignore 22:18:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:17 .git 22:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 .github 22:18:14 -rw-rw-r-- 1 jenkins jenkins 258 Nov 15 22:16 .gitignore 22:18:14 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:16 .golangci.yml 22:18:14 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:16 .semver 22:18:14 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 15 22:16 Attribution.txt 22:18:14 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 15 22:16 CHANGELOG.md 22:18:14 -rw-rw-r-- 1 jenkins jenkins 1474 Nov 15 22:16 Dockerfile 22:18:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:16 GOVERNANCE.md 22:18:14 -rw-rw-r-- 1 jenkins jenkins 658 Nov 15 22:16 Jenkinsfile 22:18:14 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:16 LICENSE 22:18:14 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 15 22:16 Makefile 22:18:14 -rw-rw-r-- 1 jenkins jenkins 622 Nov 15 22:16 OWNERS.md 22:18:14 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 15 22:16 README.md 22:18:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION 22:18:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:16 bin 22:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 cmd 22:18:14 -rw-r--r-- 1 jenkins jenkins 24334 Nov 15 22:17 coverage.out 22:18:14 -rw-rw-r-- 1 jenkins jenkins 3895 Nov 15 22:16 go.mod 22:18:14 -rw-rw-r-- 1 jenkins jenkins 35342 Nov 15 22:16 go.sum 22:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:16 internal 22:18:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:16 simulator 22:18:14 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:16 vendor 22:18:14 -rw-rw-r-- 1 jenkins jenkins 229 Nov 15 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:14 + 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=71400dc9842281494e52a1844bb24bcb2d08fff5 --label arch=amd64 --label version=3.1.0 . 22:18:14 Sending build context to Docker daemon 44.61MB 22:18:14 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 22:18:14 Step 2/23 : FROM ${BASE} AS builder 22:18:14 ---> b04c96e67e9d 22:18:14 Step 3/23 : ARG ADD_BUILD_TAGS="" 22:18:15 ---> Running in c92b5b28dd59 22:18:15 Removing intermediate container c92b5b28dd59 22:18:15 ---> 79b125f31ddd 22:18:15 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:15 ---> Running in f371b4cbb842 22:18:15 Removing intermediate container f371b4cbb842 22:18:15 ---> 0a16b52db290 22:18:15 Step 5/23 : RUN apk add --update --no-cache make git openssh 22:18:15 ---> Running in d66a98bd0faa 22:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:18:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:18:16 OK: 270 MiB in 60 packages 22:18:17 Removing intermediate container d66a98bd0faa 22:18:17 ---> 847818d18ed9 22:18:17 Step 6/23 : WORKDIR /device-modbus-go 22:18:17 ---> Running in ceae9ea281b9 22:18:17 Removing intermediate container ceae9ea281b9 22:18:17 ---> 15d60120a6c2 22:18:17 Step 7/23 : COPY go.mod vendor* ./ 22:18:20 ---> a0d038f82251 22:18:20 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:20 ---> Running in 3b67380dd9ad 22:18:21 skipping... 22:18:22 Removing intermediate container 3b67380dd9ad 22:18:22 ---> fd29ab4d39b7 22:18:22 Step 9/23 : COPY . . 22:18:26 ---> db0aea8b64a9 22:18:26 Step 10/23 : RUN ${MAKE} 22:18:26 ---> Running in 3c80433bdeaa 22:18:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:18:48 Removing intermediate container 3c80433bdeaa 22:18:48 ---> 8f1bb5a13070 22:18:48 Step 11/23 : FROM alpine:3.18 22:18:48 3.18: Pulling from library/alpine 22:18:48 96526aa774ef: Pulling fs layer 22:18:48 96526aa774ef: Pull complete 22:18:48 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:18:48 Status: Downloaded newer image for alpine:3.18 22:18:48 ---> 8ca4688f4f35 22:18:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:18:48 ---> Running in 8b983f43d0b7 22:18:48 Removing intermediate container 8b983f43d0b7 22:18:48 ---> 9324c911a0d3 22:18:48 Step 13/23 : RUN apk add --update --no-cache dumb-init 22:18:49 ---> Running in 4bd840de4158 22:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:18:50 (1/1) Installing dumb-init (1.2.5-r2) 22:18:50 Executing busybox-1.36.1-r2.trigger 22:18:50 OK: 7 MiB in 16 packages 22:18:50 Removing intermediate container 4bd840de4158 22:18:50 ---> 98221a50ef22 22:18:50 Step 14/23 : RUN apk --no-cache upgrade 22:18:50 ---> Running in 331535e127e4 22:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:18:50 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:18:50 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:18:50 Executing busybox-1.36.1-r5.post-upgrade 22:18:50 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:18:50 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:18:50 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:18:50 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:18:50 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:18:50 Executing busybox-1.36.1-r5.trigger 22:18:51 OK: 7 MiB in 16 packages 22:18:51 Removing intermediate container 331535e127e4 22:18:51 ---> e6e01403d05b 22:18:51 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 22:18:52 ---> f15a1d234b6d 22:18:52 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 22:18:52 ---> 24271b5108ba 22:18:52 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:18:53 ---> d19cd98a75cb 22:18:53 Step 18/23 : EXPOSE 59901 22:18:53 ---> Running in ee71816452fe 22:18:53 Removing intermediate container ee71816452fe 22:18:53 ---> 3842ebc37da6 22:18:53 Step 19/23 : ENTRYPOINT ["/device-modbus"] 22:18:53 ---> Running in ddca47caede0 22:18:53 Removing intermediate container ddca47caede0 22:18:53 ---> a1c0a0e2c044 22:18:53 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:18:53 ---> Running in 796581e6ad8a 22:18:53 Removing intermediate container 796581e6ad8a 22:18:53 ---> 1251adb921ef 22:18:53 Step 21/23 : LABEL arch=amd64 22:18:53 ---> Running in 6db497c6588d 22:18:53 Removing intermediate container 6db497c6588d 22:18:53 ---> 8211137a5293 22:18:53 Step 22/23 : LABEL git_sha=71400dc9842281494e52a1844bb24bcb2d08fff5 22:18:53 ---> Running in 9a93fcbac188 22:18:53 Removing intermediate container 9a93fcbac188 22:18:53 ---> b1ca22ed3c53 22:18:53 Step 23/23 : LABEL version=3.1.0 22:18:53 ---> Running in aa5d318c3939 22:18:53 Removing intermediate container aa5d318c3939 22:18:53 ---> 8988f2431ea7 22:18:53 [Warning] One or more build-args [ARCH] were not consumed 22:18:54 Successfully built 8988f2431ea7 22:18:54 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:18:54 provisioning config files... 22:18:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config2745025345159299285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:18:54 ---> docker-login.sh 22:18:54 nexus3.edgexfoundry.org:10001 22:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:54 Configure a credential helper to remove this warning. See 22:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:54 22:18:54 Login Succeeded 22:18:54 nexus3.edgexfoundry.org:10002 22:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:54 Configure a credential helper to remove this warning. See 22:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:54 22:18:54 Login Succeeded 22:18:54 nexus3.edgexfoundry.org:10003 22:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:54 Configure a credential helper to remove this warning. See 22:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:54 22:18:54 Login Succeeded 22:18:54 nexus3.edgexfoundry.org:10004 22:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:54 Configure a credential helper to remove this warning. See 22:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:54 22:18:54 Login Succeeded 22:18:54 docker.io 22:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:55 Configure a credential helper to remove this warning. See 22:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:55 22:18:55 Login Succeeded 22:18:55 ---> docker-login.sh ends [Pipeline] } 22:18:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:18:55 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:18:55 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 22:18:55 71400dc9842281494e52a1844bb24bcb2d08fff5 22:18:55 3.1.0 22:18:55 71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0 22:18:55 napa 22:18:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:71400dc9842281494e52a1844bb24bcb2d08fff5 22:18:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:18:55 695b0274b786: Preparing 22:18:55 cec951a8fd1c: Preparing 22:18:55 d2d8c6b224fb: Preparing 22:18:55 1c0eddaf96c3: Preparing 22:18:55 d4245cdec700: Preparing 22:18:55 cc2447e1835a: Preparing 22:18:55 cc2447e1835a: Waiting 22:18:55 cec951a8fd1c: Pushed 22:18:55 d4245cdec700: Pushed 22:18:55 cc2447e1835a: Layer already exists 22:18:55 695b0274b786: Pushed 22:18:56 1c0eddaf96c3: Pushed 22:18:58 d2d8c6b224fb: Pushed 22:18:58 71400dc9842281494e52a1844bb24bcb2d08fff5: digest: sha256:c56403632986bedcb0b68e2b65b6e21185780056a2662a26afc2e70cb9516182 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0 22:18:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:18:59 695b0274b786: Preparing 22:18:59 cec951a8fd1c: Preparing 22:18:59 d2d8c6b224fb: Preparing 22:18:59 1c0eddaf96c3: Preparing 22:18:59 d4245cdec700: Preparing 22:18:59 cc2447e1835a: Preparing 22:18:59 cc2447e1835a: Waiting 22:18:59 d2d8c6b224fb: Layer already exists 22:18:59 d4245cdec700: Layer already exists 22:18:59 695b0274b786: Layer already exists 22:18:59 1c0eddaf96c3: Layer already exists 22:18:59 cec951a8fd1c: Layer already exists 22:18:59 cc2447e1835a: Layer already exists 22:18:59 3.1.0: digest: sha256:c56403632986bedcb0b68e2b65b6e21185780056a2662a26afc2e70cb9516182 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0 22:18:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:18:59 695b0274b786: Preparing 22:18:59 cec951a8fd1c: Preparing 22:18:59 d2d8c6b224fb: Preparing 22:18:59 1c0eddaf96c3: Preparing 22:18:59 d4245cdec700: Preparing 22:18:59 cc2447e1835a: Preparing 22:18:59 cc2447e1835a: Waiting 22:18:59 d2d8c6b224fb: Layer already exists 22:18:59 cec951a8fd1c: Layer already exists 22:18:59 1c0eddaf96c3: Layer already exists 22:18:59 d4245cdec700: Layer already exists 22:18:59 695b0274b786: Layer already exists 22:18:59 cc2447e1835a: Layer already exists 22:18:59 71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0: digest: sha256:c56403632986bedcb0b68e2b65b6e21185780056a2662a26afc2e70cb9516182 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:napa 22:19:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:19:00 695b0274b786: Preparing 22:19:00 cec951a8fd1c: Preparing 22:19:00 d2d8c6b224fb: Preparing 22:19:00 1c0eddaf96c3: Preparing 22:19:00 d4245cdec700: Preparing 22:19:00 cc2447e1835a: Preparing 22:19:00 cc2447e1835a: Waiting 22:19:00 695b0274b786: Layer already exists 22:19:00 cec951a8fd1c: Layer already exists 22:19:00 1c0eddaf96c3: Layer already exists 22:19:00 d4245cdec700: Layer already exists 22:19:00 d2d8c6b224fb: Layer already exists 22:19:00 cc2447e1835a: Layer already exists 22:19:00 napa: digest: sha256:c56403632986bedcb0b68e2b65b6e21185780056a2662a26afc2e70cb9516182 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:19:00 ===================================================== [Pipeline] echo 22:19:00 taggedImages: 22:19:00 - nexus3.edgexfoundry.org:10004/device-modbus:71400dc9842281494e52a1844bb24bcb2d08fff5 22:19:00 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0 22:19:00 - nexus3.edgexfoundry.org:10004/device-modbus:71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0 22:19:00 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:00 22:19:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:01 latest: Pulling from edgex-lftools-log-publisher 22:19:01 5eb5b503b376: Pulling fs layer 22:19:01 5c69ac0246d0: Pulling fs layer 22:19:01 ec43610c2a17: Pulling fs layer 22:19:01 3a2ae6a8a46f: Pulling fs layer 22:19:01 33b1e0a273af: Pulling fs layer 22:19:01 5d3b04190fa2: Pulling fs layer 22:19:01 2f39f015ded8: Pulling fs layer 22:19:01 3a2ae6a8a46f: Waiting 22:19:01 33b1e0a273af: Waiting 22:19:01 5d3b04190fa2: Waiting 22:19:01 2f39f015ded8: Waiting 22:19:01 5c69ac0246d0: Download complete 22:19:01 3a2ae6a8a46f: Verifying Checksum 22:19:01 3a2ae6a8a46f: Download complete 22:19:01 33b1e0a273af: Verifying Checksum 22:19:01 33b1e0a273af: Download complete 22:19:01 5d3b04190fa2: Verifying Checksum 22:19:01 5d3b04190fa2: Download complete 22:19:01 ec43610c2a17: Verifying Checksum 22:19:01 ec43610c2a17: Download complete 22:19:01 5eb5b503b376: Verifying Checksum 22:19:01 5eb5b503b376: Download complete 22:19:01 2f39f015ded8: Download complete 22:19:02 5eb5b503b376: Pull complete 22:19:02 5c69ac0246d0: Pull complete 22:19:03 ec43610c2a17: Pull complete 22:19:03 3a2ae6a8a46f: Pull complete 22:19:03 33b1e0a273af: Pull complete 22:19:03 5d3b04190fa2: Pull complete 22:19:07 2f39f015ded8: Pull complete 22:19:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:19:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:07 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:19:07 $ 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 22:19:11 $ docker top 9fdaed9974c7e2500a407093a7a515b2ef0ed9c1a92b203757d30a06ef3d8985 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:12 ---> job-cost.sh 22:19:12 lf-activate-venv: SKIPPING 22:19:12 INFO: No Stack... 22:19:12 INFO: Retrieving Pricing Info for: v3-standard-8 22:19:13 INFO: Archiving Costs [Pipeline] sh 22:19:13 + cat /w/workspace/gexfoundry_device-modbus-go_napa/archives/cost.csv 22:19:13 + cut -d, -f6 [Pipeline] lock 22:19:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-napa-2-stack-cost] 22:19:13 Resource [jenkins-edgexfoundry-device-modbus-go-napa-2-stack-cost] did not exist. Created. 22:19:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:19:13 + echo total: 0.2199999988079071 [Pipeline] stash 22:19:13 Stashed 1 file(s) [Pipeline] } 22:19:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:19:13 $ docker stop --time=1 9fdaed9974c7e2500a407093a7a515b2ef0ed9c1a92b203757d30a06ef3d8985 22:19:15 $ docker rm -f --volumes 9fdaed9974c7e2500a407093a7a515b2ef0ed9c1a92b203757d30a06ef3d8985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:19:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18198 in /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] { [Pipeline] ws 22:19:19 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 22:19:19 Selected Git installation does not exist. Using Default 22:19:19 The recommended git tool is: NONE 22:19:27 using credential edgex-jenkins-ssh 22:19:27 Cloning the remote Git repository 22:19:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:19:27 > git init /w/workspace/device-modbus-go/2 # timeout=10 22:19:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:19:27 > git --version # timeout=10 22:19:27 > git --version # 'git version 2.25.1' 22:19:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:19:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:19:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:19:31 Avoid second fetch 22:19:31 Checking out Revision 71400dc9842281494e52a1844bb24bcb2d08fff5 (napa) 22:19:31 > git config core.sparsecheckout # timeout=10 22:19:31 > git checkout -f 71400dc9842281494e52a1844bb24bcb2d08fff5 # timeout=10 22:19:33 Commit message: "ci(lts-release): LTS release v3.1.0 @3d74835" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:19:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:19:34 Dload Upload Total Spent Left Speed 22:19:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 22:19:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:19:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:19:35 + sudo tee /etc/docker/daemon.new 22:19:35 { 22:19:35 "registry-mirrors": [ 22:19:35 "https://nexus3.edgexfoundry.org:10001" 22:19:35 ], 22:19:35 "bip": "10.250.0.254/24", 22:19:35 "hosts": [ 22:19:35 "tcp://0.0.0.0:5555", 22:19:35 "unix:///var/run/docker.sock" 22:19:35 ], 22:19:35 "mtu": 1458, 22:19:35 "selinux-enabled": true, 22:19:35 "seccomp-profile": "/etc/docker/seccomp.json" 22:19:35 } [Pipeline] sh 22:19:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:19:36 + sudo service docker restart [Pipeline] sh 22:19:54 + git checkout 71400dc9842281494e52a1844bb24bcb2d08fff5 22:19:55 HEAD is now at 71400dc ci(lts-release): LTS release v3.1.0 @3d74835 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:55 provisioning config files... 22:19:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config4669597279821384266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:55 ---> docker-login.sh 22:19:55 nexus3.edgexfoundry.org:10001 22:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:56 Configure a credential helper to remove this warning. See 22:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:56 22:19:56 Login Succeeded 22:19:56 nexus3.edgexfoundry.org:10002 22:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:57 Configure a credential helper to remove this warning. See 22:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:57 22:19:57 Login Succeeded 22:19:57 nexus3.edgexfoundry.org:10003 22:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:57 Configure a credential helper to remove this warning. See 22:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:57 22:19:57 Login Succeeded 22:19:57 nexus3.edgexfoundry.org:10004 22:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:58 Configure a credential helper to remove this warning. See 22:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:58 22:19:58 Login Succeeded 22:19:58 docker.io 22:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:58 Configure a credential helper to remove this warning. See 22:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:58 22:19:58 Login Succeeded 22:19:58 ---> docker-login.sh ends [Pipeline] } 22:19:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:19:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 22:19:59 + cut -d -f 2 22:19:59 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 22:19:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:19:59 ========================================================= 22:19:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 22:19:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:00 + 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 . 22:20:02 Sending build context to Docker daemon 36.07MB 22:20:02 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 22:20:02 Step 2/10 : FROM ${BASE} AS builder 22:20:03 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 22:20:03 9fda8d8052c6: Pulling fs layer 22:20:03 5d54e960e981: Pulling fs layer 22:20:03 c4a7e357bf2a: Pulling fs layer 22:20:03 f0e02332f6b5: Pulling fs layer 22:20:03 57b776a6bec4: Pulling fs layer 22:20:03 8b19151f9e34: Pulling fs layer 22:20:03 eb6a9f2d7ee3: Pulling fs layer 22:20:03 57b776a6bec4: Waiting 22:20:03 8b19151f9e34: Waiting 22:20:03 f0e02332f6b5: Waiting 22:20:03 eb6a9f2d7ee3: Waiting 22:20:03 5d54e960e981: Verifying Checksum 22:20:03 5d54e960e981: Download complete 22:20:03 f0e02332f6b5: Verifying Checksum 22:20:03 f0e02332f6b5: Download complete 22:20:03 57b776a6bec4: Download complete 22:20:03 9fda8d8052c6: Verifying Checksum 22:20:03 9fda8d8052c6: Download complete 22:20:03 eb6a9f2d7ee3: Verifying Checksum 22:20:03 eb6a9f2d7ee3: Download complete 22:20:04 9fda8d8052c6: Pull complete 22:20:04 5d54e960e981: Pull complete 22:20:05 c4a7e357bf2a: Verifying Checksum 22:20:05 c4a7e357bf2a: Download complete 22:20:06 8b19151f9e34: Download complete 22:20:19 c4a7e357bf2a: Pull complete 22:20:19 f0e02332f6b5: Pull complete 22:20:20 57b776a6bec4: Pull complete 22:20:30 8b19151f9e34: Pull complete 22:20:33 eb6a9f2d7ee3: Pull complete 22:20:33 Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff 22:20:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 22:20:33 ---> ca1e05e92614 22:20:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:20:36 ---> Running in e8219f91daff 22:20:36 Removing intermediate container e8219f91daff 22:20:36 ---> 585b1896a2d8 22:20:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:20:36 ---> Running in 91937b6f4b89 22:20:37 Removing intermediate container 91937b6f4b89 22:20:37 ---> 1580fc5176df 22:20:37 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:20:37 ---> Running in 93e23313a187 22:20:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:20:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:20:41 (1/8) Installing openssh-keygen (9.3_p2-r0) 22:20:41 (2/8) Installing libedit (20221030.3.1-r1) 22:20:41 (3/8) Installing openssh-client-common (9.3_p2-r0) 22:20:41 (4/8) Installing openssh-client-default (9.3_p2-r0) 22:20:41 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 22:20:41 (6/8) Installing openssh-server-common (9.3_p2-r0) 22:20:41 (7/8) Installing openssh-server (9.3_p2-r0) 22:20:41 (8/8) Installing openssh (9.3_p2-r0) 22:20:41 Executing busybox-1.36.1-r5.trigger 22:20:41 OK: 272 MiB in 60 packages 22:20:43 Removing intermediate container 93e23313a187 22:20:43 ---> 01277d78f202 22:20:43 Step 6/10 : WORKDIR /device-modbus-go 22:20:43 ---> Running in d7d45ad1a8fd 22:20:43 Removing intermediate container d7d45ad1a8fd 22:20:43 ---> 3c8f697fca87 22:20:43 Step 7/10 : COPY go.mod vendor* ./ 22:20:52 ---> 99fd54e724c9 22:20:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:20:52 ---> Running in fc9ae0c2f5bb 22:22:29 Removing intermediate container fc9ae0c2f5bb 22:22:29 ---> 1a2c8fc7b46b 22:22:29 Step 9/10 : COPY . . 22:22:29 ---> 721e459258b1 22:22:29 Step 10/10 : RUN ${MAKE} 22:22:29 ---> Running in fee6cc9203ac 22:22:29 noop 22:22:29 Removing intermediate container fee6cc9203ac 22:22:29 ---> 939c543695c9 22:22:29 Successfully built 939c543695c9 22:22:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:29 + docker inspect -f . ci-base-image-arm64 22:22:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:29 prd-ubuntu20.04-docker-arm64-4c-16g-18198 does not seem to be running inside a container 22:22:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:22:31 $ docker top 3c0e21dc4e26cf27be2eb29f3d53df6241b42fad3d0371ee49edca4f5ef67b6d -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:32 + go version 22:22:32 go version go1.21.0 linux/arm64 [Pipeline] } 22:22:32 $ docker stop --time=1 3c0e21dc4e26cf27be2eb29f3d53df6241b42fad3d0371ee49edca4f5ef67b6d 22:22:34 $ docker rm -f --volumes 3c0e21dc4e26cf27be2eb29f3d53df6241b42fad3d0371ee49edca4f5ef67b6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:34 + docker inspect -f . ci-base-image-arm64 22:22:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:35 prd-ubuntu20.04-docker-arm64-4c-16g-18198 does not seem to be running inside a container 22:22:35 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:22:36 $ docker top 0474a78bded8174e3a1b9737f0acc05fcd1a077b899705ef3067a3ff5ce2057e -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:37 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 22:22:38 + make test 22:22:38 go test ./... -coverprofile=coverage.out 22:22:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:25:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:25:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 47.9% of statements 22:25:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:25:21 go vet ./... 22:25:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:25:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:25:53 ./bin/test-attribution-txt.sh [Pipeline] echo 22:25:53 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:25:54 + go mod tidy [Pipeline] } 22:25:58 $ docker stop --time=1 0474a78bded8174e3a1b9737f0acc05fcd1a077b899705ef3067a3ff5ce2057e 22:26:01 $ docker rm -f --volumes 0474a78bded8174e3a1b9737f0acc05fcd1a077b899705ef3067a3ff5ce2057e [Pipeline] // withDockerContainer [Pipeline] sh 22:26:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:26:03 Warning: overwriting stash ‘coverage-report’ 22:26:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:26:05 + ls -al . 22:26:05 total 192 22:26:05 drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 22:22 . 22:26:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:19 .. 22:26:05 -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 22:19 .dockerignore 22:26:05 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 22:19 .git 22:26:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 .github 22:26:05 -rw-rw-r-- 1 jenkins jenkins 258 Nov 15 22:19 .gitignore 22:26:05 -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:19 .golangci.yml 22:26:05 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 15 22:19 Attribution.txt 22:26:05 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 15 22:19 CHANGELOG.md 22:26:05 -rw-rw-r-- 1 jenkins jenkins 1474 Nov 15 22:19 Dockerfile 22:26:05 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:19 GOVERNANCE.md 22:26:05 -rw-rw-r-- 1 jenkins jenkins 658 Nov 15 22:19 Jenkinsfile 22:26:05 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:19 LICENSE 22:26:05 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 15 22:19 Makefile 22:26:05 -rw-rw-r-- 1 jenkins jenkins 622 Nov 15 22:19 OWNERS.md 22:26:05 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 15 22:19 README.md 22:26:05 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:16 VERSION 22:26:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:19 bin 22:26:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 cmd 22:26:05 -rw-r--r-- 1 jenkins jenkins 24334 Nov 15 22:25 coverage.out 22:26:05 -rw-rw-r-- 1 jenkins jenkins 3895 Nov 15 22:19 go.mod 22:26:05 -rw-rw-r-- 1 jenkins jenkins 35342 Nov 15 22:19 go.sum 22:26:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:19 internal 22:26:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:19 simulator 22:26:05 drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:19 vendor 22:26:05 -rw-rw-r-- 1 jenkins jenkins 229 Nov 15 22:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:05 + 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=71400dc9842281494e52a1844bb24bcb2d08fff5 --label arch=arm64 --label version=3.1.0 . 22:26:07 Sending build context to Docker daemon 36.09MB 22:26:07 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 22:26:07 Step 2/23 : FROM ${BASE} AS builder 22:26:07 ---> 939c543695c9 22:26:07 Step 3/23 : ARG ADD_BUILD_TAGS="" 22:26:08 ---> Running in f6b3444003d4 22:26:09 Removing intermediate container f6b3444003d4 22:26:09 ---> 34a46179fd82 22:26:09 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:09 ---> Running in 9d7a1c451405 22:26:09 Removing intermediate container 9d7a1c451405 22:26:09 ---> f6181cd96ebc 22:26:09 Step 5/23 : RUN apk add --update --no-cache make git openssh 22:26:09 ---> Running in dd4acc2f71e2 22:26:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:26:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:26:13 OK: 272 MiB in 60 packages 22:26:14 Removing intermediate container dd4acc2f71e2 22:26:14 ---> dc2b880a7f09 22:26:14 Step 6/23 : WORKDIR /device-modbus-go 22:26:14 ---> Running in 54303e8a3805 22:26:14 Removing intermediate container 54303e8a3805 22:26:14 ---> fc61f7ae4acc 22:26:14 Step 7/23 : COPY go.mod vendor* ./ 22:26:27 ---> 0eb9aa0cd005 22:26:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:27 ---> Running in 89275f18a30a 22:26:27 skipping... 22:26:27 Removing intermediate container 89275f18a30a 22:26:27 ---> ba93093a414e 22:26:27 Step 9/23 : COPY . . 22:26:35 ---> 19de0dc8a760 22:26:35 Step 10/23 : RUN ${MAKE} 22:26:40 ---> Running in 7a0284fa2ad3 22:26:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:29:02 Removing intermediate container 7a0284fa2ad3 22:29:02 ---> 2e8e4ac6acb8 22:29:02 Step 11/23 : FROM alpine:3.18 22:29:02 3.18: Pulling from library/alpine 22:29:02 579b34f0a95b: Pulling fs layer 22:29:02 579b34f0a95b: Verifying Checksum 22:29:02 579b34f0a95b: Download complete 22:29:02 579b34f0a95b: Pull complete 22:29:02 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:29:02 Status: Downloaded newer image for alpine:3.18 22:29:02 ---> 3cc203321400 22:29:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:29:02 ---> Running in f4c62e12d198 22:29:02 Removing intermediate container f4c62e12d198 22:29:02 ---> b38a4049a9a1 22:29:02 Step 13/23 : RUN apk add --update --no-cache dumb-init 22:29:02 ---> Running in 6507034d12f8 22:29:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:29:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:29:03 (1/1) Installing dumb-init (1.2.5-r2) 22:29:03 Executing busybox-1.36.1-r2.trigger 22:29:03 OK: 8 MiB in 16 packages 22:29:04 Removing intermediate container 6507034d12f8 22:29:04 ---> 0bbcff20c8b8 22:29:04 Step 14/23 : RUN apk --no-cache upgrade 22:29:04 ---> Running in 68594a8deac0 22:29:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:29:07 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:29:07 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:29:07 Executing busybox-1.36.1-r5.post-upgrade 22:29:07 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:29:07 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:29:07 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:29:07 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:29:07 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:29:07 Executing busybox-1.36.1-r5.trigger 22:29:07 OK: 8 MiB in 16 packages 22:29:09 Removing intermediate container 68594a8deac0 22:29:09 ---> 9f923e85206c 22:29:09 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 22:29:11 ---> 045e2722e99b 22:29:11 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 22:29:11 ---> ff39aca3630c 22:29:11 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:29:12 ---> 759aa894f63b 22:29:12 Step 18/23 : EXPOSE 59901 22:29:12 ---> Running in bd5ebde105b7 22:29:12 Removing intermediate container bd5ebde105b7 22:29:12 ---> 5d16c57467a9 22:29:12 Step 19/23 : ENTRYPOINT ["/device-modbus"] 22:29:12 ---> Running in 7d311b281162 22:29:13 Removing intermediate container 7d311b281162 22:29:13 ---> ae0673c3c9af 22:29:13 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:29:13 ---> Running in 8d91652340f8 22:29:13 Removing intermediate container 8d91652340f8 22:29:13 ---> edbb6012c082 22:29:13 Step 21/23 : LABEL arch=arm64 22:29:13 ---> Running in 16844fb7eb3c 22:29:13 Removing intermediate container 16844fb7eb3c 22:29:13 ---> a01d79821d6b 22:29:13 Step 22/23 : LABEL git_sha=71400dc9842281494e52a1844bb24bcb2d08fff5 22:29:13 ---> Running in 5f72fcc0e5f8 22:29:14 Removing intermediate container 5f72fcc0e5f8 22:29:14 ---> 53e3c5a9fc97 22:29:14 Step 23/23 : LABEL version=3.1.0 22:29:14 ---> Running in 2a36e475aa2a 22:29:14 Removing intermediate container 2a36e475aa2a 22:29:14 ---> 7abdca3df5e3 22:29:14 [Warning] One or more build-args [ARCH] were not consumed 22:29:15 Successfully built 7abdca3df5e3 22:29:15 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 22:29:15 provisioning config files... 22:29:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config14474535588507144164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:15 ---> docker-login.sh 22:29:15 nexus3.edgexfoundry.org:10001 22:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:16 Configure a credential helper to remove this warning. See 22:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:16 22:29:16 Login Succeeded 22:29:16 nexus3.edgexfoundry.org:10002 22:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:16 Configure a credential helper to remove this warning. See 22:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:16 22:29:16 Login Succeeded 22:29:16 nexus3.edgexfoundry.org:10003 22:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:16 Configure a credential helper to remove this warning. See 22:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:16 22:29:16 Login Succeeded 22:29:16 nexus3.edgexfoundry.org:10004 22:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:17 Configure a credential helper to remove this warning. See 22:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:17 22:29:17 Login Succeeded 22:29:17 docker.io 22:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:18 Configure a credential helper to remove this warning. See 22:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:18 22:29:18 Login Succeeded 22:29:18 ---> docker-login.sh ends [Pipeline] } 22:29:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:29:18 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:29:18 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 22:29:18 71400dc9842281494e52a1844bb24bcb2d08fff5 22:29:18 3.1.0 22:29:18 71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0 22:29:18 napa 22:29:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:71400dc9842281494e52a1844bb24bcb2d08fff5 22:29:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:29:19 3a2dd130687b: Preparing 22:29:19 6abe64f19852: Preparing 22:29:19 f6da2614ee99: Preparing 22:29:19 dde9bda3dcda: Preparing 22:29:19 a4f3b1a19679: Preparing 22:29:19 5f4d9fc4d98d: Preparing 22:29:19 5f4d9fc4d98d: Waiting 22:29:19 6abe64f19852: Pushed 22:29:19 3a2dd130687b: Pushed 22:29:19 a4f3b1a19679: Pushed 22:29:19 5f4d9fc4d98d: Layer already exists 22:29:20 dde9bda3dcda: Pushed 22:29:25 f6da2614ee99: Pushed 22:29:25 71400dc9842281494e52a1844bb24bcb2d08fff5: digest: sha256:ace313d60ccf7c8f35ffc631e05ddf8f21f2a110a8129b79e09d23843e3f02b7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0 22:29:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:29:25 3a2dd130687b: Preparing 22:29:25 6abe64f19852: Preparing 22:29:25 f6da2614ee99: Preparing 22:29:25 dde9bda3dcda: Preparing 22:29:25 a4f3b1a19679: Preparing 22:29:25 5f4d9fc4d98d: Preparing 22:29:25 5f4d9fc4d98d: Waiting 22:29:25 6abe64f19852: Layer already exists 22:29:25 dde9bda3dcda: Layer already exists 22:29:25 3a2dd130687b: Layer already exists 22:29:25 f6da2614ee99: Layer already exists 22:29:25 a4f3b1a19679: Layer already exists 22:29:25 5f4d9fc4d98d: Layer already exists 22:29:26 3.1.0: digest: sha256:ace313d60ccf7c8f35ffc631e05ddf8f21f2a110a8129b79e09d23843e3f02b7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0 22:29:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:29:26 3a2dd130687b: Preparing 22:29:26 6abe64f19852: Preparing 22:29:26 f6da2614ee99: Preparing 22:29:26 dde9bda3dcda: Preparing 22:29:26 a4f3b1a19679: Preparing 22:29:26 5f4d9fc4d98d: Preparing 22:29:26 5f4d9fc4d98d: Waiting 22:29:26 6abe64f19852: Layer already exists 22:29:26 f6da2614ee99: Layer already exists 22:29:26 3a2dd130687b: Layer already exists 22:29:26 a4f3b1a19679: Layer already exists 22:29:26 dde9bda3dcda: Layer already exists 22:29:26 5f4d9fc4d98d: Layer already exists 22:29:27 71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0: digest: sha256:ace313d60ccf7c8f35ffc631e05ddf8f21f2a110a8129b79e09d23843e3f02b7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:27 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa 22:29:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:29:27 3a2dd130687b: Preparing 22:29:27 6abe64f19852: Preparing 22:29:27 f6da2614ee99: Preparing 22:29:27 dde9bda3dcda: Preparing 22:29:27 a4f3b1a19679: Preparing 22:29:27 5f4d9fc4d98d: Preparing 22:29:27 5f4d9fc4d98d: Waiting 22:29:27 a4f3b1a19679: Layer already exists 22:29:27 f6da2614ee99: Layer already exists 22:29:27 6abe64f19852: Layer already exists 22:29:27 dde9bda3dcda: Layer already exists 22:29:27 3a2dd130687b: Layer already exists 22:29:27 5f4d9fc4d98d: Layer already exists 22:29:28 napa: digest: sha256:ace313d60ccf7c8f35ffc631e05ddf8f21f2a110a8129b79e09d23843e3f02b7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:29:28 ===================================================== [Pipeline] echo 22:29:28 taggedImages: 22:29:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:71400dc9842281494e52a1844bb24bcb2d08fff5 22:29:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0 22:29:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:71400dc9842281494e52a1844bb24bcb2d08fff5-3.1.0 22:29:28 - 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 22:29:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:28 22:29:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:28 arm64: Pulling from edgex-lftools-log-publisher 22:29:29 8998bd30e6a1: Pulling fs layer 22:29:29 04944245beec: Pulling fs layer 22:29:29 699f458cf7ca: Pulling fs layer 22:29:29 765212b225bb: Pulling fs layer 22:29:29 f23df028b6ca: Pulling fs layer 22:29:29 d65c8cfc05b1: Pulling fs layer 22:29:29 2437ff75d9bd: Pulling fs layer 22:29:29 765212b225bb: Waiting 22:29:29 f23df028b6ca: Waiting 22:29:29 d65c8cfc05b1: Waiting 22:29:29 2437ff75d9bd: Waiting 22:29:29 04944245beec: Verifying Checksum 22:29:29 04944245beec: Download complete 22:29:29 765212b225bb: Verifying Checksum 22:29:29 765212b225bb: Download complete 22:29:29 f23df028b6ca: Verifying Checksum 22:29:29 f23df028b6ca: Download complete 22:29:29 d65c8cfc05b1: Verifying Checksum 22:29:29 d65c8cfc05b1: Download complete 22:29:29 699f458cf7ca: Verifying Checksum 22:29:29 699f458cf7ca: Download complete 22:29:30 8998bd30e6a1: Verifying Checksum 22:29:30 8998bd30e6a1: Download complete 22:29:32 2437ff75d9bd: Verifying Checksum 22:29:32 2437ff75d9bd: Download complete 22:29:34 8998bd30e6a1: Pull complete 22:29:34 04944245beec: Pull complete 22:29:36 699f458cf7ca: Pull complete 22:29:36 765212b225bb: Pull complete 22:29:37 f23df028b6ca: Pull complete 22:29:37 d65c8cfc05b1: Pull complete 22:29:56 2437ff75d9bd: Pull complete 22:29:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:29:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:56 prd-ubuntu20.04-docker-arm64-4c-16g-18198 does not seem to be running inside a container 22:29:56 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:29:59 $ docker top 00bc69985bf950cd1cc0a3b2284bb653d18dbbe55514c2d8a5e39e6bc524ad70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:00 ---> job-cost.sh 22:30:00 lf-activate-venv: SKIPPING 22:30:00 INFO: No Stack... 22:30:01 INFO: Retrieving Pricing Info for: v3-standard-4 22:30:02 INFO: Archiving Costs [Pipeline] sh 22:30:02 + cat /w/workspace/device-modbus-go/2/archives/cost.csv+ 22:30:02 cut -d, -f6 [Pipeline] lock 22:30:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-napa-2-stack-cost] 22:30:02 Resource [jenkins-edgexfoundry-device-modbus-go-napa-2-stack-cost] did not exist. Created. 22:30:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-napa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:03 /w/workspace/device-modbus-go/2@tmp/durable-e8e556c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:30:04 + echo total: 0.10999999940395355 [Pipeline] stash 22:30:04 Warning: overwriting stash ‘stack-cost’ 22:30:04 Stashed 1 file(s) [Pipeline] } 22:30:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-napa-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:04 $ docker stop --time=1 00bc69985bf950cd1cc0a3b2284bb653d18dbbe55514c2d8a5e39e6bc524ad70 22:30:06 $ docker rm -f --volumes 00bc69985bf950cd1cc0a3b2284bb653d18dbbe55514c2d8a5e39e6bc524ad70 [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 22:30:06 provisioning config files... 22:30:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config10300099012022397156tmp [Pipeline] { [Pipeline] sh 22:30:07 + set +x 22:30:07 + curl -s https://codecov.io/bash 22:30:07 + bash -s -- 22:30:07 22:30:07 _____ _ 22:30:07 / ____| | | 22:30:07 | | ___ __| | ___ ___ _____ __ 22:30:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:30:07 | |___| (_) | (_| | __/ (_| (_) \ V / 22:30:07 \_____\___/ \__,_|\___|\___\___/ \_/ 22:30:07 Bash-1.0.6 22:30:07 22:30:07 22:30:07 ==> git version 2.25.1 found 22:30:07 ==> 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 22:30:07 Release-Date: 2020-01-08 22:30:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:30:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:30:07 ==> Jenkins CI detected. 22:30:07 current dir:  /w/workspace/gexfoundry_device-modbus-go_napa 22:30:07 project root: . 22:30:07 --> token set from env 22:30:07 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 22:30:07 ==> Running gcov in . (disable via -X gcov) 22:30:07 ==> Python coveragepy not found 22:30:07 ==> Searching for coverage reports in: 22:30:07 + . 22:30:07 -> Found 1 reports 22:30:07 ==> Detecting git/mercurial file structure 22:30:07 ==> Reading reports 22:30:07 + ./coverage.out bytes=24334 22:30:07 ==> Appending adjustments 22:30:07 https://docs.codecov.io/docs/fixing-reports 22:30:07 + Found adjustments 22:30:07 ==> Gzipping contents 22:30:07 16K /tmp/codecov.nh7mns.gz 22:30:07 ==> Uploading reports 22:30:07 url: https://codecov.io 22:30:07 query: branch=napa&commit=71400dc9842281494e52a1844bb24bcb2d08fff5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:30:07 -> Pinging Codecov 22:30:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=napa&commit=71400dc9842281494e52a1844bb24bcb2d08fff5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fnapa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:30:07 -> Uploading to 22:30:07 https://storage.googleapis.com/codecov/v4/raw/2023-11-15/55DBCA73C666E3227836607328DD7E49/71400dc9842281494e52a1844bb24bcb2d08fff5/37cf0b89-f853-4ffe-87ce-14271469b648.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T223007Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a5ce1c2ceee6916bfddd34bee26c007a8d3b3a109c41ca6c3830c9c67c19ca8 22:30:07 % Total % Received % Xferd Average Speed Time Time Time Current 22:30:07 Dload Upload Total Spent Left Speed 22:30:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15760 0 0 100 15760 0 77635 --:--:-- --:--:-- --:--:-- 77254 100 15760 0 0 100 15760 0 61562 --:--:-- --:--:-- --:--:-- 61322 22:30:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] } 22:30:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:30:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:30:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:08 22:30:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:30:08 df9b9388f04a: Pulling fs layer 22:30:08 52dc419b0ee2: Pulling fs layer 22:30:08 25bc292e5bac: Pulling fs layer 22:30:08 114826534d7a: Pulling fs layer 22:30:08 4657fd5d0bcf: Pulling fs layer 22:30:08 6ad1cebc031e: Pulling fs layer 22:30:08 8a3aa393b2d8: Pulling fs layer 22:30:08 4657fd5d0bcf: Waiting 22:30:08 8a3aa393b2d8: Waiting 22:30:08 6ad1cebc031e: Waiting 22:30:08 114826534d7a: Waiting 22:30:08 25bc292e5bac: Verifying Checksum 22:30:08 25bc292e5bac: Download complete 22:30:08 52dc419b0ee2: Verifying Checksum 22:30:08 52dc419b0ee2: Download complete 22:30:08 4657fd5d0bcf: Verifying Checksum 22:30:08 4657fd5d0bcf: Download complete 22:30:08 df9b9388f04a: Download complete 22:30:08 6ad1cebc031e: Verifying Checksum 22:30:08 6ad1cebc031e: Download complete 22:30:08 df9b9388f04a: Pull complete 22:30:08 52dc419b0ee2: Pull complete 22:30:08 25bc292e5bac: Pull complete 22:30:09 114826534d7a: Verifying Checksum 22:30:09 114826534d7a: Download complete 22:30:09 8a3aa393b2d8: Verifying Checksum 22:30:09 8a3aa393b2d8: Download complete 22:30:12 114826534d7a: Pull complete 22:30:12 4657fd5d0bcf: Pull complete 22:30:12 6ad1cebc031e: Pull complete 22:30:15 8a3aa393b2d8: Pull complete 22:30:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:15 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:30:15 $ 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 22:30:19 $ docker top 437a73b3c52c06526a999d7e792ee47506ccf25fd8ce68dd1cc967b894564d76 -eo pid,comm [Pipeline] { [Pipeline] echo 22:30:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:napa' [Pipeline] sh 22:30:20 + set -o pipefail 22:30:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:napa' 22:30:22 22:30:22 Monitoring /w/workspace/gexfoundry_device-modbus-go_napa (github.com/edgexfoundry/device-modbus-go)... 22:30:22 22:30:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/8dd50ca0-bdc5-4bae-9837-cf39eb4e0593/history/affe866e-0d88-44a0-a20f-5a20518002b6 22:30:22 22:30:22 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:30:22 22:30:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:30:22 22:30:22 22:30:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:30:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:30:22 More details here: https://snyk.co/ue1NS [Pipeline] } 22:30:22 $ docker stop --time=1 437a73b3c52c06526a999d7e792ee47506ccf25fd8ce68dd1cc967b894564d76 22:30:23 $ docker rm -f --volumes 437a73b3c52c06526a999d7e792ee47506ccf25fd8ce68dd1cc967b894564d76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:23 + git log --format=format:%s -1 71400dc9842281494e52a1844bb24bcb2d08fff5 [Pipeline] sh 22:30:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:24 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:30:24 $ 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 22:30:24 $ docker top a2af22ef50058c3f841036712b11a39dd93751878ab5a549d70646c45cfed5e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:30:25 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:25 + git semver [Pipeline] } 22:30:25 $ docker stop --time=1 a2af22ef50058c3f841036712b11a39dd93751878ab5a549d70646c45cfed5e6 22:30:26 $ docker rm -f --volumes a2af22ef50058c3f841036712b11a39dd93751878ab5a549d70646c45cfed5e6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:27 22:30:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:27 0.23.1-centos7: Pulling from edgex-lftools 22:30:27 ab5ef0e58194: Pulling fs layer 22:30:27 9712f1f96733: Pulling fs layer 22:30:27 63f879dbbcfc: Pulling fs layer 22:30:27 0d9ebad4ef96: Pulling fs layer 22:30:27 e9a5061849ea: Pulling fs layer 22:30:27 0d9ebad4ef96: Waiting 22:30:27 d747dcd14b5f: Pulling fs layer 22:30:27 2de7ff778b66: Pulling fs layer 22:30:27 e9a5061849ea: Waiting 22:30:27 d747dcd14b5f: Waiting 22:30:27 9712f1f96733: Download complete 22:30:27 63f879dbbcfc: Verifying Checksum 22:30:27 63f879dbbcfc: Download complete 22:30:28 0d9ebad4ef96: Verifying Checksum 22:30:28 0d9ebad4ef96: Download complete 22:30:28 e9a5061849ea: Verifying Checksum 22:30:28 e9a5061849ea: Download complete 22:30:28 d747dcd14b5f: Verifying Checksum 22:30:28 d747dcd14b5f: Download complete 22:30:28 ab5ef0e58194: Verifying Checksum 22:30:28 ab5ef0e58194: Download complete 22:30:28 2de7ff778b66: Verifying Checksum 22:30:28 2de7ff778b66: Download complete 22:30:30 ab5ef0e58194: Pull complete 22:30:30 9712f1f96733: Pull complete 22:30:31 63f879dbbcfc: Pull complete 22:30:35 0d9ebad4ef96: Pull complete 22:30:35 e9a5061849ea: Pull complete 22:30:35 d747dcd14b5f: Pull complete 22:30:36 2de7ff778b66: Pull complete 22:30:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:30:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:36 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:30:36 $ 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 22:30:41 $ docker top 816c711275109fa010b3c8187d26e07bbf63e379ab474bf00ff4983cc57e4c43 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:30:41 provisioning config files... 22:30:41 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config17427095857454860790tmp 22:30:41 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config15611965858216747261tmp 22:30:41 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config6100200461874762214tmp [Pipeline] { [Pipeline] echo 22:30:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:30:42 ---> sigul-configuration.sh 22:30:42 gpg: directory `/root/.gnupg' created 22:30:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:30:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:30:42 gpg: keyring `/root/.gnupg/secring.gpg' created 22:30:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:30:42 gpg: CAST5 encrypted data 22:30:42 gpg: encrypted with 1 passphrase 22:30:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:30:42 + mkdir /home/jenkins 22:30:42 + mkdir /home/jenkins/sigul [Pipeline] sh 22:30:42 + 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 22:30:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:30:42 ---> sigul-install.sh 22:30:42 Sigul already installed; skipping installation. [Pipeline] sh 22:30:43 + git tag --list 22:30:43 0.7.1 22:30:43 v1.0.0 22:30:43 v1.1.0 22:30:43 v1.1.1 22:30:43 v1.2.2 22:30:43 v1.3.0 22:30:43 v1.3.1 22:30:43 v2.0.0 22:30:43 v2.1.0 22:30:43 v2.1.1 22:30:43 v2.2.0 22:30:43 v2.3.0 22:30:43 v3.0 22:30:43 v3.0.0 22:30:43 v3.1.0 22:30:43 v3.1.0-dev.1 22:30:43 v3.1.0-dev.10 22:30:43 v3.1.0-dev.11 22:30:43 v3.1.0-dev.12 22:30:43 v3.1.0-dev.13 22:30:43 v3.1.0-dev.14 22:30:43 v3.1.0-dev.15 22:30:43 v3.1.0-dev.16 22:30:43 v3.1.0-dev.17 22:30:43 v3.1.0-dev.18 22:30:43 v3.1.0-dev.19 22:30:43 v3.1.0-dev.2 22:30:43 v3.1.0-dev.20 22:30:43 v3.1.0-dev.21 22:30:43 v3.1.0-dev.22 22:30:43 v3.1.0-dev.23 22:30:43 v3.1.0-dev.24 22:30:43 v3.1.0-dev.25 22:30:43 v3.1.0-dev.3 22:30:43 v3.1.0-dev.4 22:30:43 v3.1.0-dev.5 22:30:43 v3.1.0-dev.6 22:30:43 v3.1.0-dev.7 22:30:43 v3.1.0-dev.8 22:30:43 v3.1.0-dev.9 [Pipeline] sh 22:30:43 + lftools sign git-tag v3.1.0 22:30:44 Signing Git tag with Sigul... 22:30:44 Signing v3.1.0 [Pipeline] echo 22:30:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:30:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:30:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:30:44 $ docker stop --time=1 816c711275109fa010b3c8187d26e07bbf63e379ab474bf00ff4983cc57e4c43 22:30:46 $ docker rm -f --volumes 816c711275109fa010b3c8187d26e07bbf63e379ab474bf00ff4983cc57e4c43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:30:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:46 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:30:46 $ 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 22:30:47 $ docker top 5cf50b73c9b85f00ab00733df6bfa18e85677580e2366ec3e16a1e396310c3ea -eo pid,comm 22:30:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:30:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:30:47 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:48 + git semver [Pipeline] } 22:30:48 $ docker stop --time=1 5cf50b73c9b85f00ab00733df6bfa18e85677580e2366ec3e16a1e396310c3ea 22:30:50 $ docker rm -f --volumes 5cf50b73c9b85f00ab00733df6bfa18e85677580e2366ec3e16a1e396310c3ea [Pipeline] // withDockerContainer [Pipeline] sh 22:30:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:50 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:30:50 $ 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 22:30:51 $ docker top 29b9c2e250c7c3e310aeca3c718ff802aa181ebee02b19fc182e6b73933d8c73 -eo pid,comm 22:30:51 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). 22:30:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:30:51 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:51 + git semver [Pipeline] } 22:30:51 $ docker stop --time=1 29b9c2e250c7c3e310aeca3c718ff802aa181ebee02b19fc182e6b73933d8c73 22:30:53 $ docker rm -f --volumes 29b9c2e250c7c3e310aeca3c718ff802aa181ebee02b19fc182e6b73933d8c73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:30:53 + [ -d /w/workspace/gexfoundry_device-modbus-go_napa/archives ] 22:30:53 + ls -al /w/workspace/gexfoundry_device-modbus-go_napa/archives 22:30:53 total 16 22:30:53 drwxr-xr-x 3 root root 4096 Nov 15 22:19 . 22:30:53 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 22:30 .. 22:30:53 drwxr-xr-x 2 root root 4096 Nov 15 22:19 cost 22:30:53 -rw-r--r-- 1 root root 86 Nov 15 22:19 cost.csv 22:30:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_napa/archives 22:30:53 + ls -al /w/workspace/gexfoundry_device-modbus-go_napa/archives 22:30:53 total 16 22:30:53 drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:19 . 22:30:53 drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 22:30 .. 22:30:53 drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 22:19 cost 22:30:53 -rw-r--r-- 1 jenkins jenkins 86 Nov 15 22:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:30:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:30:54 ---> package-listing.sh 22:30:54 ++ facter osfamily 22:30:54 ++ tr '[:upper:]' '[:lower:]' 22:30:54 + OS_FAMILY=debian 22:30:54 + workspace=/w/workspace/gexfoundry_device-modbus-go_napa 22:30:54 + START_PACKAGES=/tmp/packages_start.txt 22:30:54 + END_PACKAGES=/tmp/packages_end.txt 22:30:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:30:54 + PACKAGES=/tmp/packages_start.txt 22:30:54 + '[' /w/workspace/gexfoundry_device-modbus-go_napa ']' 22:30:54 + PACKAGES=/tmp/packages_end.txt 22:30:54 + case "${OS_FAMILY}" in 22:30:54 + dpkg -l 22:30:54 + grep '^ii' 22:30:54 + '[' -f /tmp/packages_start.txt ']' 22:30:54 + '[' -f /tmp/packages_end.txt ']' 22:30:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:30:54 + '[' /w/workspace/gexfoundry_device-modbus-go_napa ']' 22:30:54 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_napa/archives/ 22:30:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_napa/archives/ [Pipeline] echo 22:30:54 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 22:30:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:55 prd-ubuntu20.04-docker-8c-8g-18182 does not seem to be running inside a container 22:30:55 $ 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 22:30:56 $ docker top 5b8c795038f05e89e3ceb4cbe13d2cdce4a441296b5c9d7867231d3671b362c5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:56 + touch /tmp/pre-build-complete [Pipeline] sh 22:30:56 + mkdir -p /var/log/sysstat [Pipeline] sh 22:30:56 + ls /var/log/sa-host 22:30:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:56 provisioning config files... 22:30:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config6426400369846800390tmp [Pipeline] { [Pipeline] echo 22:30:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:30:57 ---> create-netrc.sh [Pipeline] } 22:30:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:30:57 ---> python-tools-install.sh [Pipeline] echo 22:30:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:30:57 ---> sudo-logs.sh 22:30:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:30:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:30:58 ---> job-cost.sh 22:30:58 lf-activate-venv: SKIPPING 22:30:58 DEBUG: total: 0.2199999988079071 22:30:58 INFO: Retrieving Stack Cost... 22:30:58 INFO: Retrieving Pricing Info for: v3-standard-8 22:30:59 INFO: Archiving Costs [Pipeline] echo 22:30:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:30:59 ---> logs-deploy.sh 22:30:59 lf-activate-venv: SKIPPING 22:30:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/napa/2 22:30:59 INFO: archiving workspace using pattern(s): 22:31:00 Archives upload complete. 22:31:00 INFO: archiving logs to Nexus