Started by upstream project "edgexfoundry/cd-management/release" build number 151 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18e5bddd1624945f7f79c46e89df23b543e6953b 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-ssh827939513048098397.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7914314605887695787.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6638340067418983806.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh18201206071709587262.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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17514077472268713218.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, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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 ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17549 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 18e5bddd1624945f7f79c46e89df23b543e6953b (main) Commit message: "docs: Update changelog for 3.0 (#489)" > 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 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 > git rev-list --no-walk 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:38:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:38:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:38:53 ========================================================= 20:38:53 EdgeX Global Pipelines Version Info 20:38:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:38:54 ------------------- 20:38:54 stable info: 20:38:54 ------------------- 20:38:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:38:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:38:54 Message: update stable to v1.0.249 20:38:54 ------------------- 20:38:54 experimental info: 20:38:54 ------------------- 20:38:54 Commited By: **** collab-it+edgex@linuxfoundation.org 20:38:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:38:54 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:38:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18e5bdd [Pipeline] echo 20:38:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:38:55 provisioning config files... 20:38:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5629694496136104543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:55 ---> docker-login.sh 20:38:55 nexus3.edgexfoundry.org:10001 20:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:55 Configure a credential helper to remove this warning. See 20:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:55 20:38:55 Login Succeeded 20:38:55 nexus3.edgexfoundry.org:10002 20:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:55 Configure a credential helper to remove this warning. See 20:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:55 20:38:55 Login Succeeded 20:38:55 nexus3.edgexfoundry.org:10003 20:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:56 Configure a credential helper to remove this warning. See 20:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:56 20:38:56 Login Succeeded 20:38:56 nexus3.edgexfoundry.org:10004 20:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:56 Configure a credential helper to remove this warning. See 20:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:56 20:38:56 Login Succeeded 20:38:56 docker.io 20:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:56 Configure a credential helper to remove this warning. See 20:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:56 20:38:56 Login Succeeded 20:38:56 ---> docker-login.sh ends [Pipeline] } 20:38:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:38:56 + git rev-list -1 --merges 18e5bddd1624945f7f79c46e89df23b543e6953b~1..18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] echo 20:38:56 -----------> git rev-list -1 --merges 18e5bddd1624945f7f79c46e89df23b543e6953b~1..18e5bddd1624945f7f79c46e89df23b543e6953b 18e5bddd1624945f7f79c46e89df23b543e6953b [false] [Pipeline] sh 20:38:57 + git log --format=format:%s -1 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] echo 20:38:57 ========================================================= 20:38:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 20:38:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:57 + git log --format=format:%s -1 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] echo 20:38:57 [semverPrep] GIT_COMMIT: 18e5bddd1624945f7f79c46e89df23b543e6953b, Commit Message: docs: Update changelog for 3.0 (#489) [Pipeline] echo 20:38:57 [semverPrep] This is not a build commit. [Pipeline] sh 20:38:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:38:57 + grep -v github /etc/ssh/ssh_known_hosts 20:38:57 + [ -e /tmp/ssh_known_hosts ] 20:38:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:38:57 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 20:38:57 tee -a /etc/ssh/ssh_known_hosts 20:38:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:38:58 20:38:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:38:58 0.1.4: Pulling from edgex-devops/py-git-semver 20:38:58 b85a868b505f: Pulling fs layer 20:38:58 e2be974225ed: Pulling fs layer 20:38:58 339a4e72a1f5: Pulling fs layer 20:38:58 988bab9f4d93: Pulling fs layer 20:38:58 1469e6f7b9e6: Pulling fs layer 20:38:58 eaf3925da568: Pulling fs layer 20:38:58 bab4dde63d76: Pulling fs layer 20:38:58 bde34c3a00c8: Pulling fs layer 20:38:58 b352a97aabf1: Pulling fs layer 20:38:58 4872d77fe225: Pulling fs layer 20:38:58 5851b861e8e6: Pulling fs layer 20:38:58 bde34c3a00c8: Waiting 20:38:58 b352a97aabf1: Waiting 20:38:58 bab4dde63d76: Waiting 20:38:58 4872d77fe225: Waiting 20:38:58 988bab9f4d93: Waiting 20:38:58 5851b861e8e6: Waiting 20:38:58 eaf3925da568: Waiting 20:38:58 1469e6f7b9e6: Waiting 20:38:58 e2be974225ed: Download complete 20:38:58 988bab9f4d93: Verifying Checksum 20:38:58 988bab9f4d93: Download complete 20:38:58 339a4e72a1f5: Verifying Checksum 20:38:58 339a4e72a1f5: Download complete 20:38:58 1469e6f7b9e6: Verifying Checksum 20:38:58 1469e6f7b9e6: Download complete 20:38:58 eaf3925da568: Download complete 20:38:58 bde34c3a00c8: Verifying Checksum 20:38:58 bde34c3a00c8: Download complete 20:38:58 b352a97aabf1: Verifying Checksum 20:38:58 b352a97aabf1: Download complete 20:38:58 4872d77fe225: Verifying Checksum 20:38:58 4872d77fe225: Download complete 20:38:58 5851b861e8e6: Verifying Checksum 20:38:58 5851b861e8e6: Download complete 20:38:58 b85a868b505f: Verifying Checksum 20:38:58 b85a868b505f: Download complete 20:38:59 bab4dde63d76: Verifying Checksum 20:38:59 bab4dde63d76: Download complete 20:38:59 b85a868b505f: Pull complete 20:38:59 e2be974225ed: Pull complete 20:39:00 339a4e72a1f5: Pull complete 20:39:00 988bab9f4d93: Pull complete 20:39:00 1469e6f7b9e6: Pull complete 20:39:00 eaf3925da568: Pull complete 20:39:04 bab4dde63d76: Pull complete 20:39:04 bde34c3a00c8: Pull complete 20:39:04 b352a97aabf1: Pull complete 20:39:04 4872d77fe225: Pull complete 20:39:04 5851b861e8e6: Pull complete 20:39:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:39:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:04 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:39:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:39:11 $ docker top bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 -eo pid,comm 20:39:11 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). 20:39:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:39:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:11 [ssh-agent] Looking for ssh-agent implementation... 20:39:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:11 $ docker exec bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 ssh-agent 20:39:11 SSH_AUTH_SOCK=/tmp/ssh-dABFKnUav70Y/agent.13 20:39:11 SSH_AGENT_PID=19 20:39:11 Running ssh-add (command line suppressed) 20:39:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4261084474723046646.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4261084474723046646.key) 20:39:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:12 + git tag --points-at 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] } 20:39:12 $ docker exec --env ******** --env ******** bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 ssh-agent -k 20:39:12 unset SSH_AUTH_SOCK; 20:39:12 unset SSH_AGENT_PID; 20:39:12 echo Agent pid 19 killed; 20:39:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:39:12 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0|v3.0.0-dev.46' [Pipeline] sshagent 20:39:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:12 [ssh-agent] Looking for ssh-agent implementation... 20:39:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:12 $ docker exec bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 ssh-agent 20:39:12 SSH_AUTH_SOCK=/tmp/ssh-W5RLPlQHLD4Y/agent.70 20:39:12 SSH_AGENT_PID=76 20:39:12 Running ssh-add (command line suppressed) 20:39:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18396068193001544830.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18396068193001544830.key) 20:39:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:12 + git semver init 20:39:13 2023-05-31 20:39:12,978 [run_init] DEBUG init version:0.0.0 force:False 20:39:13 2023-05-31 20:39:12,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 20:39:13 2023-05-31 20:39:12,979 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:39:13 2023-05-31 20:39:12,979 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 20:39:13 2023-05-31 20:39:13,786 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 20:39:13 2023-05-31 20:39:13,786 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 20:39:13 2023-05-31 20:39:13,786 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:39:13 2023-05-31 20:39:13,786 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:39:13 3.0.0 [Pipeline] } 20:39:14 $ docker exec --env ******** --env ******** bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 ssh-agent -k 20:39:14 unset SSH_AUTH_SOCK; 20:39:14 unset SSH_AGENT_PID; 20:39:14 echo Agent pid 76 killed; 20:39:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:39:14 + git semver [Pipeline] } 20:39:14 $ docker stop --time=1 bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 20:39:15 $ docker rm -f --volumes bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 [Pipeline] // withDockerContainer [Pipeline] sh 20:39:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:39:16 Stashed 1 file(s) [Pipeline] echo 20:39:16 [edgeXSemver]: initialized semver on version 3.0.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 20:39:16 + git checkout 18e5bddd1624945f7f79c46e89df23b543e6953b 20:39:16 HEAD is now at 18e5bdd docs: Update changelog for 3.0 (#489) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:16 provisioning config files... 20:39:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14803933182829654096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:17 ---> docker-login.sh 20:39:17 nexus3.edgexfoundry.org:10001 20:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:17 Configure a credential helper to remove this warning. See 20:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:17 20:39:17 Login Succeeded 20:39:17 nexus3.edgexfoundry.org:10002 20:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:17 Configure a credential helper to remove this warning. See 20:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:17 20:39:17 Login Succeeded 20:39:17 nexus3.edgexfoundry.org:10003 20:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:17 Configure a credential helper to remove this warning. See 20:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:17 20:39:17 Login Succeeded 20:39:17 nexus3.edgexfoundry.org:10004 20:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:17 Configure a credential helper to remove this warning. See 20:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:17 20:39:17 Login Succeeded 20:39:17 docker.io 20:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:17 Configure a credential helper to remove this warning. See 20:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:17 20:39:17 Login Succeeded 20:39:17 ---> docker-login.sh ends [Pipeline] } 20:39:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:39:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:17 ========================================================= 20:39:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:39:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:39:18 Sending build context to Docker daemon 6.564MB 20:39:18 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:39:18 Step 2/10 : FROM ${BASE} AS builder 20:39:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:39:18 f56be85fc22e: Pulling fs layer 20:39:18 85791d961cd3: Pulling fs layer 20:39:18 d694b5ae8c79: Pulling fs layer 20:39:18 9f32a84ed3da: Pulling fs layer 20:39:18 4d19c01a9841: Pulling fs layer 20:39:18 9325e15d5711: Pulling fs layer 20:39:18 556b6ee489ea: Pulling fs layer 20:39:18 c5a4b2cf53e6: Pulling fs layer 20:39:18 9325e15d5711: Waiting 20:39:18 556b6ee489ea: Waiting 20:39:18 9f32a84ed3da: Waiting 20:39:18 4d19c01a9841: Waiting 20:39:18 c5a4b2cf53e6: Waiting 20:39:18 85791d961cd3: Download complete 20:39:18 9f32a84ed3da: Verifying Checksum 20:39:18 9f32a84ed3da: Download complete 20:39:18 4d19c01a9841: Verifying Checksum 20:39:18 4d19c01a9841: Download complete 20:39:18 f56be85fc22e: Verifying Checksum 20:39:18 f56be85fc22e: Download complete 20:39:18 9325e15d5711: Verifying Checksum 20:39:18 9325e15d5711: Download complete 20:39:19 c5a4b2cf53e6: Verifying Checksum 20:39:19 c5a4b2cf53e6: Download complete 20:39:19 f56be85fc22e: Pull complete 20:39:19 d694b5ae8c79: Verifying Checksum 20:39:19 d694b5ae8c79: Download complete 20:39:19 556b6ee489ea: Verifying Checksum 20:39:19 556b6ee489ea: Download complete 20:39:19 85791d961cd3: Pull complete 20:39:23 d694b5ae8c79: Pull complete 20:39:23 9f32a84ed3da: Pull complete 20:39:23 4d19c01a9841: Pull complete 20:39:23 9325e15d5711: Pull complete 20:39:25 556b6ee489ea: Pull complete 20:39:26 c5a4b2cf53e6: Pull complete 20:39:26 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:39:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:39:26 ---> c4be618373d6 20:39:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:39:31 Still waiting to schedule task 20:39:31 ‘prd-centos7-blackbox-4c-2g-17069’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:39:31 ‘prd-ubuntu20.04-docker-8c-8g-17548’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:39:31 ‘prd-ubuntu20.04-docker-8c-8g-17552’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:39:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17553’ is offline 20:39:52 ---> Running in 9c7bed7f7579 20:39:52 Removing intermediate container 9c7bed7f7579 20:39:52 ---> 36a8aec8c522 20:39:52 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:52 ---> Running in ba06909b7da7 20:39:53 Removing intermediate container ba06909b7da7 20:39:53 ---> aaae56175b66 20:39:53 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:39:53 ---> Running in 3df5b69b076b 20:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:39:53 (1/8) Installing openssh-keygen (9.1_p1-r3) 20:39:53 (2/8) Installing libedit (20221030.3.1-r0) 20:39:53 (3/8) Installing openssh-client-common (9.1_p1-r3) 20:39:53 (4/8) Installing openssh-client-default (9.1_p1-r3) 20:39:53 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 20:39:53 (6/8) Installing openssh-server-common (9.1_p1-r3) 20:39:53 (7/8) Installing openssh-server (9.1_p1-r3) 20:39:53 (8/8) Installing openssh (9.1_p1-r3) 20:39:53 Executing busybox-1.35.0-r29.trigger 20:39:53 OK: 270 MiB in 61 packages 20:39:54 Removing intermediate container 3df5b69b076b 20:39:54 ---> 57b0347b6d41 20:39:54 Step 6/10 : WORKDIR /device-modbus-go 20:39:54 ---> Running in 619360f40f45 20:39:54 Removing intermediate container 619360f40f45 20:39:54 ---> e38f6ec15eb9 20:39:54 Step 7/10 : COPY go.mod vendor* ./ 20:39:54 ---> bb7e120cb6b1 20:39:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:54 ---> Running in 593a4a18d2b5 20:40:41 Removing intermediate container 593a4a18d2b5 20:40:41 ---> 03e7ea57a85d 20:40:41 Step 9/10 : COPY . . 20:40:41 ---> a814b1dc9f72 20:40:41 Step 10/10 : RUN ${MAKE} 20:40:41 ---> Running in a01c12267128 20:40:41 noop 20:40:41 Removing intermediate container a01c12267128 20:40:41 ---> 4a713cb8ba54 20:40:41 Successfully built 4a713cb8ba54 20:40:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:41 + docker inspect -f . ci-base-image-x86_64 20:40:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:41 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:40:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:40:42 $ docker top 4bd0be8f8a907cedf313fdc16e2919fe4f57aaa63fb8d0b1dec100ac5b0515ed -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:42 + go version 20:40:42 go version go1.20.2 linux/amd64 [Pipeline] } 20:40:42 $ docker stop --time=1 4bd0be8f8a907cedf313fdc16e2919fe4f57aaa63fb8d0b1dec100ac5b0515ed 20:40:43 $ docker rm -f --volumes 4bd0be8f8a907cedf313fdc16e2919fe4f57aaa63fb8d0b1dec100ac5b0515ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:44 + docker inspect -f . ci-base-image-x86_64 20:40:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:44 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:40:44 $ 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_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:40:44 $ docker top d457d15f7c92393ac2622efd71cddd4b264d6048e764e564a884883937b26755 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 20:40:45 + make test 20:40:45 go test ./... -coverprofile=coverage.out 20:40:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:40:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:40:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements 20:41:03 go vet ./... 20:41:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:41:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:41:06 ./bin/test-attribution-txt.sh [Pipeline] echo 20:41:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:41:06 $ docker stop --time=1 d457d15f7c92393ac2622efd71cddd4b264d6048e764e564a884883937b26755 20:41:11 $ docker rm -f --volumes d457d15f7c92393ac2622efd71cddd4b264d6048e764e564a884883937b26755 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:41:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:13 + ls -al . 20:41:13 total 188 20:41:13 drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:40 . 20:41:13 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:38 .. 20:41:13 -rw-rw-r-- 1 jenkins jenkins 140 May 31 20:38 .dockerignore 20:41:13 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:39 .git 20:41:13 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 .github 20:41:13 -rw-rw-r-- 1 jenkins jenkins 331 May 31 20:38 .gitignore 20:41:13 -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:38 .golangci.yml 20:41:13 drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:39 .semver 20:41:13 -rw-rw-r-- 1 jenkins jenkins 10132 May 31 20:38 Attribution.txt 20:41:13 -rw-rw-r-- 1 jenkins jenkins 14764 May 31 20:38 CHANGELOG.md 20:41:13 -rw-rw-r-- 1 jenkins jenkins 1365 May 31 20:38 Dockerfile 20:41:13 -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:38 GOVERNANCE.md 20:41:13 -rw-rw-r-- 1 jenkins jenkins 680 May 31 20:38 Jenkinsfile 20:41:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:38 LICENSE 20:41:13 -rw-rw-r-- 1 jenkins jenkins 1705 May 31 20:38 Makefile 20:41:13 -rw-rw-r-- 1 jenkins jenkins 622 May 31 20:38 OWNERS.md 20:41:13 -rw-rw-r-- 1 jenkins jenkins 4578 May 31 20:38 README.md 20:41:13 -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:39 VERSION 20:41:13 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:38 bin 20:41:13 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 cmd 20:41:13 -rw-r--r-- 1 jenkins jenkins 24160 May 31 20:40 coverage.out 20:41:13 -rw-rw-r-- 1 jenkins jenkins 3405 May 31 20:38 go.mod 20:41:13 -rw-rw-r-- 1 jenkins jenkins 31574 May 31 20:38 go.sum 20:41:13 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 internal 20:41:13 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:38 simulator 20:41:13 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:38 snap 20:41:13 -rw-rw-r-- 1 jenkins jenkins 229 May 31 20:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:13 + 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=18e5bddd1624945f7f79c46e89df23b543e6953b --label arch=amd64 --label version=3.0.0 . 20:41:13 Sending build context to Docker daemon 6.589MB 20:41:13 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:41:13 Step 2/22 : FROM ${BASE} AS builder 20:41:13 ---> 4a713cb8ba54 20:41:13 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:41:14 ---> Running in df59341e2f8d 20:41:14 Removing intermediate container df59341e2f8d 20:41:14 ---> 9777131cc320 20:41:14 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:15 ---> Running in 9c82aa697286 20:41:15 Removing intermediate container 9c82aa697286 20:41:15 ---> bbb9fd105772 20:41:15 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:41:15 ---> Running in b58c26b4a18d 20:41:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:41:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:41:16 OK: 270 MiB in 61 packages 20:41:16 Removing intermediate container b58c26b4a18d 20:41:16 ---> 304d25fdf822 20:41:16 Step 6/22 : WORKDIR /device-modbus-go 20:41:16 ---> Running in 88ae082578d5 20:41:16 Removing intermediate container 88ae082578d5 20:41:16 ---> 069aad3df81c 20:41:16 Step 7/22 : COPY go.mod vendor* ./ 20:41:17 ---> 97f9fd2c696f 20:41:17 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:17 ---> Running in d418149002e3 20:41:17 Removing intermediate container d418149002e3 20:41:17 ---> 61d03c2584e2 20:41:17 Step 9/22 : COPY . . 20:41:18 ---> 6c561b09da11 20:41:18 Step 10/22 : RUN ${MAKE} 20:41:18 ---> Running in cfbe702e2371 20:41:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:41:40 Removing intermediate container cfbe702e2371 20:41:40 ---> 04bc451c5180 20:41:40 Step 11/22 : FROM alpine:3.17 20:41:40 3.17: Pulling from library/alpine 20:41:40 f56be85fc22e: Already exists 20:41:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:41:40 Status: Downloaded newer image for alpine:3.17 20:41:40 ---> 9ed4aefc74f6 20:41:40 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:41:40 ---> Running in 72e5a9828bc4 20:41:40 Removing intermediate container 72e5a9828bc4 20:41:40 ---> 7a6611c9e1e6 20:41:40 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:41:40 ---> Running in e82f6a380af4 20:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:41:41 (1/1) Installing dumb-init (1.2.5-r2) 20:41:41 Executing busybox-1.35.0-r29.trigger 20:41:41 OK: 7 MiB in 16 packages 20:41:42 Removing intermediate container e82f6a380af4 20:41:42 ---> 6d8f97dc6f53 20:41:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:41:42 ---> bc2f5a8cc3a6 20:41:42 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:41:42 ---> b83874d95c19 20:41:42 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:41:42 ---> 61364dca5161 20:41:42 Step 17/22 : EXPOSE 59901 20:41:42 ---> Running in 5c806ba8259a 20:41:42 Removing intermediate container 5c806ba8259a 20:41:42 ---> 90249455ad0d 20:41:42 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:41:42 ---> Running in 36de590204c5 20:41:42 Removing intermediate container 36de590204c5 20:41:42 ---> 3683d48a6a43 20:41:42 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:41:42 ---> Running in efad9df42a3d 20:41:43 Removing intermediate container efad9df42a3d 20:41:43 ---> b20208601155 20:41:43 Step 20/22 : LABEL arch=amd64 20:41:43 ---> Running in b2c4166b8335 20:41:43 Removing intermediate container b2c4166b8335 20:41:43 ---> 166d6a8cea71 20:41:43 Step 21/22 : LABEL git_sha=18e5bddd1624945f7f79c46e89df23b543e6953b 20:41:43 ---> Running in 067571b0b813 20:41:43 Removing intermediate container 067571b0b813 20:41:43 ---> 886f702a08e7 20:41:43 Step 22/22 : LABEL version=3.0.0 20:41:43 ---> Running in fce33ae8cd2a 20:41:43 Removing intermediate container fce33ae8cd2a 20:41:43 ---> c27532925785 20:41:43 [Warning] One or more build-args [ARCH] were not consumed 20:41:43 Successfully built c27532925785 20:41:43 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:43 provisioning config files... 20:41:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config609742266779744641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:43 ---> docker-login.sh 20:41:43 nexus3.edgexfoundry.org:10001 20:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:43 Configure a credential helper to remove this warning. See 20:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:43 20:41:43 Login Succeeded 20:41:43 nexus3.edgexfoundry.org:10002 20:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:44 Configure a credential helper to remove this warning. See 20:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:44 20:41:44 Login Succeeded 20:41:44 nexus3.edgexfoundry.org:10003 20:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:44 Configure a credential helper to remove this warning. See 20:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:44 20:41:44 Login Succeeded 20:41:44 nexus3.edgexfoundry.org:10004 20:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:44 Configure a credential helper to remove this warning. See 20:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:44 20:41:44 Login Succeeded 20:41:44 docker.io 20:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:44 Configure a credential helper to remove this warning. See 20:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:44 20:41:44 Login Succeeded 20:41:44 ---> docker-login.sh ends [Pipeline] } 20:41:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:44 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 20:41:44 18e5bddd1624945f7f79c46e89df23b543e6953b 20:41:44 latest 20:41:44 3.0.0 20:41:44 18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 20:41:44 main 20:41:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b 20:41:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:41:45 32521c735f8d: Preparing 20:41:45 e0c834327cca: Preparing 20:41:45 04553f288631: Preparing 20:41:45 bcc51c37bc51: Preparing 20:41:45 f1417ff83b31: Preparing 20:41:45 f1417ff83b31: Layer already exists 20:41:45 e0c834327cca: Pushed 20:41:45 32521c735f8d: Pushed 20:41:45 bcc51c37bc51: Pushed 20:41:47 04553f288631: Pushed 20:41:47 18e5bddd1624945f7f79c46e89df23b543e6953b: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 20:41:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:41:48 32521c735f8d: Preparing 20:41:48 e0c834327cca: Preparing 20:41:48 04553f288631: Preparing 20:41:48 bcc51c37bc51: Preparing 20:41:48 f1417ff83b31: Preparing 20:41:48 e0c834327cca: Layer already exists 20:41:48 f1417ff83b31: Layer already exists 20:41:48 32521c735f8d: Layer already exists 20:41:48 04553f288631: Layer already exists 20:41:48 bcc51c37bc51: Layer already exists 20:41:48 latest: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0 20:41:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:41:49 32521c735f8d: Preparing 20:41:49 e0c834327cca: Preparing 20:41:49 04553f288631: Preparing 20:41:49 bcc51c37bc51: Preparing 20:41:49 f1417ff83b31: Preparing 20:41:49 bcc51c37bc51: Layer already exists 20:41:49 e0c834327cca: Layer already exists 20:41:49 32521c735f8d: Layer already exists 20:41:49 04553f288631: Layer already exists 20:41:49 f1417ff83b31: Layer already exists 20:41:49 3.0.0: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 20:41:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:41:49 32521c735f8d: Preparing 20:41:49 e0c834327cca: Preparing 20:41:49 04553f288631: Preparing 20:41:49 bcc51c37bc51: Preparing 20:41:49 f1417ff83b31: Preparing 20:41:49 32521c735f8d: Layer already exists 20:41:49 f1417ff83b31: Layer already exists 20:41:49 e0c834327cca: Layer already exists 20:41:49 bcc51c37bc51: Layer already exists 20:41:49 04553f288631: Layer already exists 20:41:49 18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 20:41:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:41:50 32521c735f8d: Preparing 20:41:50 e0c834327cca: Preparing 20:41:50 04553f288631: Preparing 20:41:50 bcc51c37bc51: Preparing 20:41:50 f1417ff83b31: Preparing 20:41:50 bcc51c37bc51: Layer already exists 20:41:50 f1417ff83b31: Layer already exists 20:41:50 32521c735f8d: Layer already exists 20:41:50 04553f288631: Layer already exists 20:41:50 e0c834327cca: Layer already exists 20:41:50 main: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:41:50 ===================================================== [Pipeline] echo 20:41:50 taggedImages: 20:41:50 - nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b 20:41:50 - nexus3.edgexfoundry.org:10004/device-modbus:latest 20:41:50 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0 20:41:50 - nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 20:41:50 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:50 20:41:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:51 latest: Pulling from edgex-lftools-log-publisher 20:41:51 5eb5b503b376: Pulling fs layer 20:41:51 5c69ac0246d0: Pulling fs layer 20:41:51 ec43610c2a17: Pulling fs layer 20:41:51 3a2ae6a8a46f: Pulling fs layer 20:41:51 33b1e0a273af: Pulling fs layer 20:41:51 5d3b04190fa2: Pulling fs layer 20:41:51 2f39f015ded8: Pulling fs layer 20:41:51 3a2ae6a8a46f: Waiting 20:41:51 33b1e0a273af: Waiting 20:41:51 2f39f015ded8: Waiting 20:41:51 5d3b04190fa2: Waiting 20:41:51 5c69ac0246d0: Download complete 20:41:51 3a2ae6a8a46f: Verifying Checksum 20:41:51 3a2ae6a8a46f: Download complete 20:41:51 33b1e0a273af: Verifying Checksum 20:41:51 33b1e0a273af: Download complete 20:41:51 5d3b04190fa2: Download complete 20:41:51 ec43610c2a17: Verifying Checksum 20:41:51 ec43610c2a17: Download complete 20:41:51 5eb5b503b376: Verifying Checksum 20:41:51 5eb5b503b376: Download complete 20:41:51 2f39f015ded8: Download complete 20:41:52 5eb5b503b376: Pull complete 20:41:52 5c69ac0246d0: Pull complete 20:41:52 ec43610c2a17: Pull complete 20:41:52 3a2ae6a8a46f: Pull complete 20:41:53 33b1e0a273af: Pull complete 20:41:53 5d3b04190fa2: Pull complete 20:41:57 2f39f015ded8: Pull complete 20:41:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:41:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:57 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:41:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:42:04 $ docker top fb1dbc17e63a0a2b84548d53e5b3cb3f027962dce25790be91384fdcf92dc722 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:04 ---> job-cost.sh 20:42:04 lf-activate-venv: SKIPPING 20:42:04 INFO: No Stack... 20:42:05 INFO: Retrieving Pricing Info for: v3-standard-8 20:42:05 INFO: Archiving Costs [Pipeline] sh 20:42:05 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 20:42:05 + cut -d, -f6 [Pipeline] lock 20:42:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] 20:42:05 Resource [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] did not exist. Created. 20:42:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:06 + echo total: 0.2199999988079071 [Pipeline] stash 20:42:06 Stashed 1 file(s) [Pipeline] } 20:42:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:06 $ docker stop --time=1 fb1dbc17e63a0a2b84548d53e5b3cb3f027962dce25790be91384fdcf92dc722 20:42:07 $ docker rm -f --volumes fb1dbc17e63a0a2b84548d53e5b3cb3f027962dce25790be91384fdcf92dc722 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:42:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17560 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 20:42:09 Running in /w/workspace/device-modbus-go/113 [Pipeline] { [Pipeline] checkout 20:42:09 Selected Git installation does not exist. Using Default 20:42:09 The recommended git tool is: NONE 20:42:18 using credential edgex-jenkins-ssh 20:42:18 Cloning the remote Git repository 20:42:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:42:18 > git init /w/workspace/device-modbus-go/113 # timeout=10 20:42:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:42:18 > git --version # timeout=10 20:42:18 > git --version # 'git version 2.25.1' 20:42:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:42:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:21 Avoid second fetch 20:42:21 Checking out Revision 18e5bddd1624945f7f79c46e89df23b543e6953b (main) 20:42:21 > git config core.sparsecheckout # timeout=10 20:42:22 Commit message: "docs: Update changelog for 3.0 (#489)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:21 > git checkout -f 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 20:42:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:42:23 % Total % Received % Xferd Average Speed Time Time Time Current 20:42:23 Dload Upload Total Spent Left Speed 20:42:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh 20:42:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:42:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:42:24 + sudo tee /etc/docker/daemon.new 20:42:24 { 20:42:24 "registry-mirrors": [ 20:42:24 "https://nexus3.edgexfoundry.org:10001" 20:42:24 ], 20:42:24 "bip": "10.250.0.254/24", 20:42:24 "hosts": [ 20:42:24 "tcp://0.0.0.0:5555", 20:42:24 "unix:///var/run/docker.sock" 20:42:24 ], 20:42:24 "mtu": 1458, 20:42:24 "selinux-enabled": true, 20:42:24 "seccomp-profile": "/etc/docker/seccomp.json" 20:42:24 } [Pipeline] sh 20:42:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:42:25 + sudo service docker restart [Pipeline] sh 20:42:44 + git checkout 18e5bddd1624945f7f79c46e89df23b543e6953b 20:42:44 HEAD is now at 18e5bdd docs: Update changelog for 3.0 (#489) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:44 provisioning config files... 20:42:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/113@tmp/config825622013357229104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:45 ---> docker-login.sh 20:42:45 nexus3.edgexfoundry.org:10001 20:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:45 Configure a credential helper to remove this warning. See 20:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:45 20:42:45 Login Succeeded 20:42:45 nexus3.edgexfoundry.org:10002 20:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:46 Configure a credential helper to remove this warning. See 20:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:46 20:42:46 Login Succeeded 20:42:46 nexus3.edgexfoundry.org:10003 20:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:46 Configure a credential helper to remove this warning. See 20:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:46 20:42:46 Login Succeeded 20:42:46 nexus3.edgexfoundry.org:10004 20:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:47 Configure a credential helper to remove this warning. See 20:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:47 20:42:47 Login Succeeded 20:42:47 docker.io 20:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:47 Configure a credential helper to remove this warning. See 20:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:47 20:42:47 Login Succeeded 20:42:47 ---> docker-login.sh ends [Pipeline] } 20:42:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:48 ========================================================= 20:42:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:42:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:42:49 Sending build context to Docker daemon 3.443MB 20:42:49 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:42:49 Step 2/10 : FROM ${BASE} AS builder 20:42:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:42:49 c41833b44d91: Pulling fs layer 20:42:49 ed15518f5707: Pulling fs layer 20:42:49 feae8fd75edb: Pulling fs layer 20:42:49 242c74f7c9fa: Pulling fs layer 20:42:49 3cdef696dda3: Pulling fs layer 20:42:49 2ced38df9373: Pulling fs layer 20:42:49 58f1dce35555: Pulling fs layer 20:42:49 242c74f7c9fa: Waiting 20:42:49 3cdef696dda3: Waiting 20:42:49 2ced38df9373: Waiting 20:42:49 58f1dce35555: Waiting 20:42:49 ed15518f5707: Verifying Checksum 20:42:49 ed15518f5707: Download complete 20:42:49 242c74f7c9fa: Verifying Checksum 20:42:49 242c74f7c9fa: Download complete 20:42:49 3cdef696dda3: Download complete 20:42:49 c41833b44d91: Download complete 20:42:50 c41833b44d91: Pull complete 20:42:51 ed15518f5707: Pull complete 20:42:52 58f1dce35555: Download complete 20:42:53 feae8fd75edb: Verifying Checksum 20:42:53 feae8fd75edb: Download complete 20:42:53 2ced38df9373: Verifying Checksum 20:43:05 feae8fd75edb: Pull complete 20:43:05 242c74f7c9fa: Pull complete 20:43:05 3cdef696dda3: Pull complete 20:43:14 2ced38df9373: Pull complete 20:43:15 58f1dce35555: Pull complete 20:43:15 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:43:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:43:15 ---> fadd8f120f05 20:43:15 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:43:18 ---> Running in 259c65afc8a0 20:43:18 Removing intermediate container 259c65afc8a0 20:43:18 ---> f1a6262966c3 20:43:18 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:18 ---> Running in 7d7cf4978110 20:43:18 Removing intermediate container 7d7cf4978110 20:43:18 ---> ecea164cf517 20:43:18 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:43:18 ---> Running in 51186b6792f3 20:43:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:43:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:43:22 (1/8) Installing openssh-keygen (9.1_p1-r3) 20:43:22 (2/8) Installing libedit (20221030.3.1-r0) 20:43:22 (3/8) Installing openssh-client-common (9.1_p1-r3) 20:43:22 (4/8) Installing openssh-client-default (9.1_p1-r3) 20:43:22 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 20:43:22 (6/8) Installing openssh-server-common (9.1_p1-r3) 20:43:22 (7/8) Installing openssh-server (9.1_p1-r3) 20:43:22 (8/8) Installing openssh (9.1_p1-r3) 20:43:22 Executing busybox-1.35.0-r29.trigger 20:43:22 OK: 270 MiB in 61 packages 20:43:24 Removing intermediate container 51186b6792f3 20:43:24 ---> 653da9ab0604 20:43:24 Step 6/10 : WORKDIR /device-modbus-go 20:43:24 ---> Running in 140758fa1d3e 20:43:24 Removing intermediate container 140758fa1d3e 20:43:24 ---> 3ea225462852 20:43:24 Step 7/10 : COPY go.mod vendor* ./ 20:43:25 ---> b2f8f5f15297 20:43:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:25 ---> Running in c03eaccec63e 20:44:33 Removing intermediate container c03eaccec63e 20:44:33 ---> 2554a3622f8a 20:44:33 Step 9/10 : COPY . . 20:44:33 ---> a4bb7ca43bd5 20:44:33 Step 10/10 : RUN ${MAKE} 20:44:33 ---> Running in 59297f359aef 20:44:34 noop 20:44:35 Removing intermediate container 59297f359aef 20:44:35 ---> 4ded6621eacc 20:44:35 Successfully built 4ded6621eacc 20:44:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:35 + docker inspect -f . ci-base-image-arm64 20:44:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:35 prd-ubuntu20.04-docker-arm64-4c-16g-17560 does not seem to be running inside a container 20:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/113 -v /w/workspace/device-modbus-go/113:/w/workspace/device-modbus-go/113:rw,z -v /w/workspace/device-modbus-go/113@tmp:/w/workspace/device-modbus-go/113@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 ******** -e ******** ci-base-image-arm64 cat 20:44:37 $ docker top 052c11a14e861a062e5c772bf8b7eff127e11e520608d8d631874095a2989c2b -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:38 + go version 20:44:38 go version go1.20.2 linux/arm64 [Pipeline] } 20:44:38 $ docker stop --time=1 052c11a14e861a062e5c772bf8b7eff127e11e520608d8d631874095a2989c2b 20:44:39 $ docker rm -f --volumes 052c11a14e861a062e5c772bf8b7eff127e11e520608d8d631874095a2989c2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:40 + docker inspect -f . ci-base-image-arm64 20:44:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:40 prd-ubuntu20.04-docker-arm64-4c-16g-17560 does not seem to be running inside a container 20:44:40 $ 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/113 -v /w/workspace/device-modbus-go/113:/w/workspace/device-modbus-go/113:rw,z -v /w/workspace/device-modbus-go/113@tmp:/w/workspace/device-modbus-go/113@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 ******** -e ******** ci-base-image-arm64 cat 20:44:44 $ docker top 9a338bffd0e55efbb91e03529dd2da34b72c9c8fbaeea2328a4d4ce26a11c1b0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:45 + git config --global --add safe.directory /w/workspace/device-modbus-go/113 [Pipeline] fileExists [Pipeline] sh 20:44:46 + make test 20:44:46 go test ./... -coverprofile=coverage.out 20:45:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:48:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:48:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.097s coverage: 47.4% of statements 20:48:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:48:02 go vet ./... 20:48:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:48:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:48:29 ./bin/test-attribution-txt.sh [Pipeline] echo 20:48:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:48:29 $ docker stop --time=1 9a338bffd0e55efbb91e03529dd2da34b72c9c8fbaeea2328a4d4ce26a11c1b0 20:48:31 $ docker rm -f --volumes 9a338bffd0e55efbb91e03529dd2da34b72c9c8fbaeea2328a4d4ce26a11c1b0 [Pipeline] // withDockerContainer [Pipeline] sh 20:48:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:48:33 Warning: overwriting stash ‘coverage-report’ 20:48:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:48:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:48:34 + ls -al . 20:48:34 total 184 20:48:34 drwxrwxr-x 9 jenkins jenkins 4096 May 31 20:44 . 20:48:34 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:42 .. 20:48:34 -rw-rw-r-- 1 jenkins jenkins 140 May 31 20:42 .dockerignore 20:48:34 drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:42 .git 20:48:34 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 .github 20:48:34 -rw-rw-r-- 1 jenkins jenkins 331 May 31 20:42 .gitignore 20:48:34 -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:42 .golangci.yml 20:48:34 -rw-rw-r-- 1 jenkins jenkins 10132 May 31 20:42 Attribution.txt 20:48:34 -rw-rw-r-- 1 jenkins jenkins 14764 May 31 20:42 CHANGELOG.md 20:48:34 -rw-rw-r-- 1 jenkins jenkins 1365 May 31 20:42 Dockerfile 20:48:34 -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:42 GOVERNANCE.md 20:48:34 -rw-rw-r-- 1 jenkins jenkins 680 May 31 20:42 Jenkinsfile 20:48:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:42 LICENSE 20:48:34 -rw-rw-r-- 1 jenkins jenkins 1705 May 31 20:42 Makefile 20:48:34 -rw-rw-r-- 1 jenkins jenkins 622 May 31 20:42 OWNERS.md 20:48:34 -rw-rw-r-- 1 jenkins jenkins 4578 May 31 20:42 README.md 20:48:34 -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:39 VERSION 20:48:34 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:42 bin 20:48:34 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 cmd 20:48:34 -rw-r--r-- 1 jenkins jenkins 24160 May 31 20:47 coverage.out 20:48:34 -rw-rw-r-- 1 jenkins jenkins 3405 May 31 20:42 go.mod 20:48:34 -rw-rw-r-- 1 jenkins jenkins 31574 May 31 20:42 go.sum 20:48:34 drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 internal 20:48:34 drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:42 simulator 20:48:34 drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:42 snap 20:48:34 -rw-rw-r-- 1 jenkins jenkins 229 May 31 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:34 + 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=18e5bddd1624945f7f79c46e89df23b543e6953b --label arch=arm64 --label version=3.0.0 . 20:48:35 Sending build context to Docker daemon 3.468MB 20:48:35 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:48:35 Step 2/22 : FROM ${BASE} AS builder 20:48:35 ---> 4ded6621eacc 20:48:35 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:48:36 ---> Running in 80e6fcfcffa6 20:48:37 Removing intermediate container 80e6fcfcffa6 20:48:37 ---> 903d54615220 20:48:37 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:48:37 ---> Running in ea53c33f91d1 20:48:37 Removing intermediate container ea53c33f91d1 20:48:37 ---> f31d434d545a 20:48:37 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:48:37 ---> Running in 1d5de8c9db30 20:48:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:48:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:48:41 OK: 270 MiB in 61 packages 20:48:42 Removing intermediate container 1d5de8c9db30 20:48:42 ---> c056ec7fc339 20:48:42 Step 6/22 : WORKDIR /device-modbus-go 20:48:42 ---> Running in e6c2e4ed7a8e 20:48:42 Removing intermediate container e6c2e4ed7a8e 20:48:42 ---> c6660d6aefd6 20:48:42 Step 7/22 : COPY go.mod vendor* ./ 20:48:43 ---> 1461908be6b9 20:48:43 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:48:43 ---> Running in fd80317fb058 20:48:46 Removing intermediate container fd80317fb058 20:48:46 ---> a375f7303789 20:48:46 Step 9/22 : COPY . . 20:48:47 ---> df0a56f7a88a 20:48:47 Step 10/22 : RUN ${MAKE} 20:48:47 ---> Running in 7cd4b5ba9109 20:48:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:51:25 Removing intermediate container 7cd4b5ba9109 20:51:25 ---> 05fb57387a83 20:51:25 Step 11/22 : FROM alpine:3.17 20:51:25 3.17: Pulling from library/alpine 20:51:25 c41833b44d91: Already exists 20:51:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:51:25 Status: Downloaded newer image for alpine:3.17 20:51:25 ---> 51e60588ff2c 20:51:25 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:51:25 ---> Running in 89238ad4191c 20:51:25 Removing intermediate container 89238ad4191c 20:51:25 ---> 40c2c1986afe 20:51:25 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:51:25 ---> Running in 5bfbe2188b92 20:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:51:28 (1/1) Installing dumb-init (1.2.5-r2) 20:51:28 Executing busybox-1.35.0-r29.trigger 20:51:28 OK: 8 MiB in 16 packages 20:51:30 Removing intermediate container 5bfbe2188b92 20:51:30 ---> 11a3080c671d 20:51:30 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:51:31 ---> f8d989f16e92 20:51:31 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:51:32 ---> 45c041240cf0 20:51:32 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:51:32 ---> 83e0e075d8ae 20:51:32 Step 17/22 : EXPOSE 59901 20:51:32 ---> Running in b5eb0dfec32d 20:51:33 Removing intermediate container b5eb0dfec32d 20:51:33 ---> 45cbd0b24c78 20:51:33 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:51:33 ---> Running in 41d9fd59a319 20:51:33 Removing intermediate container 41d9fd59a319 20:51:33 ---> 88430868c0e0 20:51:33 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:51:33 ---> Running in e7b3f508ecd4 20:51:34 Removing intermediate container e7b3f508ecd4 20:51:34 ---> f90aa2f60b99 20:51:34 Step 20/22 : LABEL arch=arm64 20:51:34 ---> Running in 2967f87af585 20:51:34 Removing intermediate container 2967f87af585 20:51:34 ---> b45b6c8a715e 20:51:34 Step 21/22 : LABEL git_sha=18e5bddd1624945f7f79c46e89df23b543e6953b 20:51:34 ---> Running in 8d7a5329b434 20:51:34 Removing intermediate container 8d7a5329b434 20:51:34 ---> 6760ddd128f1 20:51:34 Step 22/22 : LABEL version=3.0.0 20:51:35 ---> Running in 8a736b3f6a9e 20:51:35 Removing intermediate container 8a736b3f6a9e 20:51:35 ---> 2710e2a9c18b 20:51:35 [Warning] One or more build-args [ARCH] were not consumed 20:51:35 Successfully built 2710e2a9c18b 20:51:35 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 20:51:35 provisioning config files... 20:51:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/113@tmp/config16878930848930928476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:35 ---> docker-login.sh 20:51:35 nexus3.edgexfoundry.org:10001 20:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:36 Configure a credential helper to remove this warning. See 20:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:36 20:51:36 Login Succeeded 20:51:36 nexus3.edgexfoundry.org:10002 20:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:36 Configure a credential helper to remove this warning. See 20:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:36 20:51:36 Login Succeeded 20:51:36 nexus3.edgexfoundry.org:10003 20:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:37 Configure a credential helper to remove this warning. See 20:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:37 20:51:37 Login Succeeded 20:51:37 nexus3.edgexfoundry.org:10004 20:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:37 Configure a credential helper to remove this warning. See 20:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:37 20:51:37 Login Succeeded 20:51:37 docker.io 20:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:38 Configure a credential helper to remove this warning. See 20:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:38 20:51:38 Login Succeeded 20:51:38 ---> docker-login.sh ends [Pipeline] } 20:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:51:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:38 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 20:51:38 18e5bddd1624945f7f79c46e89df23b543e6953b 20:51:38 latest 20:51:38 3.0.0 20:51:38 18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 20:51:38 main 20:51:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b 20:51:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:51:38 154abc81239f: Preparing 20:51:38 9f627b5a654c: Preparing 20:51:38 4e6d298117bc: Preparing 20:51:38 7eceaab8e6fe: Preparing 20:51:38 26cbea5cba74: Preparing 20:51:38 26cbea5cba74: Layer already exists 20:51:39 154abc81239f: Pushed 20:51:39 9f627b5a654c: Pushed 20:51:39 7eceaab8e6fe: Pushed 20:51:45 4e6d298117bc: Pushed 20:51:45 18e5bddd1624945f7f79c46e89df23b543e6953b: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:51:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:51:46 154abc81239f: Preparing 20:51:46 9f627b5a654c: Preparing 20:51:46 4e6d298117bc: Preparing 20:51:46 7eceaab8e6fe: Preparing 20:51:46 26cbea5cba74: Preparing 20:51:46 9f627b5a654c: Layer already exists 20:51:46 154abc81239f: Layer already exists 20:51:46 26cbea5cba74: Layer already exists 20:51:46 4e6d298117bc: Layer already exists 20:51:46 7eceaab8e6fe: Layer already exists 20:51:46 latest: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0 20:51:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:51:47 154abc81239f: Preparing 20:51:47 9f627b5a654c: Preparing 20:51:47 4e6d298117bc: Preparing 20:51:47 7eceaab8e6fe: Preparing 20:51:47 26cbea5cba74: Preparing 20:51:47 9f627b5a654c: Layer already exists 20:51:47 7eceaab8e6fe: Layer already exists 20:51:47 26cbea5cba74: Layer already exists 20:51:47 4e6d298117bc: Layer already exists 20:51:47 154abc81239f: Layer already exists 20:51:47 3.0.0: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:48 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 20:51:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:51:48 154abc81239f: Preparing 20:51:48 9f627b5a654c: Preparing 20:51:48 4e6d298117bc: Preparing 20:51:48 7eceaab8e6fe: Preparing 20:51:48 26cbea5cba74: Preparing 20:51:48 26cbea5cba74: Layer already exists 20:51:48 9f627b5a654c: Layer already exists 20:51:48 154abc81239f: Layer already exists 20:51:48 7eceaab8e6fe: Layer already exists 20:51:48 4e6d298117bc: Layer already exists 20:51:48 18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:49 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 20:51:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:51:49 154abc81239f: Preparing 20:51:49 9f627b5a654c: Preparing 20:51:49 4e6d298117bc: Preparing 20:51:49 7eceaab8e6fe: Preparing 20:51:49 26cbea5cba74: Preparing 20:51:49 9f627b5a654c: Layer already exists 20:51:49 26cbea5cba74: Layer already exists 20:51:49 154abc81239f: Layer already exists 20:51:49 7eceaab8e6fe: Layer already exists 20:51:49 4e6d298117bc: Layer already exists 20:51:49 main: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:51:49 ===================================================== [Pipeline] echo 20:51:49 taggedImages: 20:51:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b 20:51:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:51:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0 20:51:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 20:51:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:50 20:51:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:50 arm64: Pulling from edgex-lftools-log-publisher 20:51:50 8998bd30e6a1: Pulling fs layer 20:51:50 04944245beec: Pulling fs layer 20:51:50 699f458cf7ca: Pulling fs layer 20:51:50 765212b225bb: Pulling fs layer 20:51:50 f23df028b6ca: Pulling fs layer 20:51:50 765212b225bb: Waiting 20:51:50 d65c8cfc05b1: Pulling fs layer 20:51:50 2437ff75d9bd: Pulling fs layer 20:51:50 f23df028b6ca: Waiting 20:51:50 2437ff75d9bd: Waiting 20:51:50 d65c8cfc05b1: Waiting 20:51:50 04944245beec: Verifying Checksum 20:51:50 04944245beec: Download complete 20:51:50 765212b225bb: Verifying Checksum 20:51:50 765212b225bb: Download complete 20:51:50 f23df028b6ca: Verifying Checksum 20:51:50 f23df028b6ca: Download complete 20:51:50 d65c8cfc05b1: Verifying Checksum 20:51:50 d65c8cfc05b1: Download complete 20:51:51 699f458cf7ca: Verifying Checksum 20:51:51 699f458cf7ca: Download complete 20:51:51 8998bd30e6a1: Verifying Checksum 20:51:53 2437ff75d9bd: Verifying Checksum 20:51:53 2437ff75d9bd: Download complete 20:51:55 8998bd30e6a1: Pull complete 20:51:55 04944245beec: Pull complete 20:51:57 699f458cf7ca: Pull complete 20:51:57 765212b225bb: Pull complete 20:51:58 f23df028b6ca: Pull complete 20:52:02 d65c8cfc05b1: Pull complete 20:52:17 2437ff75d9bd: Pull complete 20:52:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:52:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:18 prd-ubuntu20.04-docker-arm64-4c-16g-17560 does not seem to be running inside a container 20:52:18 $ 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/113 -v /w/workspace/device-modbus-go/113:/w/workspace/device-modbus-go/113:rw,z -v /w/workspace/device-modbus-go/113@tmp:/w/workspace/device-modbus-go/113@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:52:20 $ docker top 3194fff48ad52410ba34716b2168a0dbac4b642367d751aa8350de85a91a61b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:21 ---> job-cost.sh 20:52:21 lf-activate-venv: SKIPPING 20:52:21 INFO: No Stack... 20:52:21 INFO: Retrieving Pricing Info for: v3-standard-4 20:52:22 INFO: Archiving Costs [Pipeline] sh 20:52:23 + cat+ /w/workspace/device-modbus-go/113/archives/cost.csv 20:52:23 cut -d, -f6 [Pipeline] lock 20:52:23 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] 20:52:23 Resource [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] did not exist. Created. 20:52:23 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:24 /w/workspace/device-modbus-go/113@tmp/durable-9ac3b748/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:52:24 + echo total: 0.10999999940395355 [Pipeline] stash 20:52:24 Warning: overwriting stash ‘stack-cost’ 20:52:25 Stashed 1 file(s) [Pipeline] } 20:52:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:25 $ docker stop --time=1 3194fff48ad52410ba34716b2168a0dbac4b642367d751aa8350de85a91a61b3 20:52:26 $ docker rm -f --volumes 3194fff48ad52410ba34716b2168a0dbac4b642367d751aa8350de85a91a61b3 [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 20:52:26 provisioning config files... 20:52:26 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18320564610169452956tmp [Pipeline] { [Pipeline] sh 20:52:27 + set +x 20:52:27 + curl -s https://codecov.io/bash 20:52:27 + bash -s -- 20:52:27 20:52:27 _____ _ 20:52:27 / ____| | | 20:52:27 | | ___ __| | ___ ___ _____ __ 20:52:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:52:27 | |___| (_) | (_| | __/ (_| (_) \ V / 20:52:27 \_____\___/ \__,_|\___|\___\___/ \_/ 20:52:27 Bash-1.0.6 20:52:27 20:52:27 20:52:27 ==> git version 2.25.1 found 20:52:27 ==> 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 20:52:27 Release-Date: 2020-01-08 20:52:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:52:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:52:27 ==> Jenkins CI detected. 20:52:27 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 20:52:27 project root: . 20:52:27 --> token set from env 20:52:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:52:27 ==> Running gcov in . (disable via -X gcov) 20:52:27 ==> Python coveragepy not found 20:52:27 ==> Searching for coverage reports in: 20:52:27 + . 20:52:27 -> Found 1 reports 20:52:27 ==> Detecting git/mercurial file structure 20:52:27 ==> Reading reports 20:52:27 + ./coverage.out bytes=24160 20:52:27 ==> Appending adjustments 20:52:27 https://docs.codecov.io/docs/fixing-reports 20:52:27 + Found adjustments 20:52:27 ==> Gzipping contents 20:52:27 4.0K /tmp/codecov.c858wc.gz 20:52:27 ==> Uploading reports 20:52:27 url: https://codecov.io 20:52:27 query: branch=main&commit=18e5bddd1624945f7f79c46e89df23b543e6953b&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:52:27 -> Pinging Codecov 20:52:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=18e5bddd1624945f7f79c46e89df23b543e6953b&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:52:27 -> Uploading to 20:52:27 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/55DBCA73C666E3227836607328DD7E49/18e5bddd1624945f7f79c46e89df23b543e6953b/5f0b2d00-385b-45f8-a359-72fd077a9dfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T205227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75c1cb4bc6b35e360a419a7f6bc79df3d97652736954a26d9ba9139d922bb9d5 20:52:27 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:27 Dload Upload Total Spent Left Speed 20:52:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18775 --:--:-- --:--:-- --:--:-- 18775 20:52:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] } 20:52:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:52:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:52:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:28 20:52:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:52:28 df9b9388f04a: Pulling fs layer 20:52:28 52dc419b0ee2: Pulling fs layer 20:52:28 25bc292e5bac: Pulling fs layer 20:52:28 114826534d7a: Pulling fs layer 20:52:28 4657fd5d0bcf: Pulling fs layer 20:52:28 6ad1cebc031e: Pulling fs layer 20:52:28 8a3aa393b2d8: Pulling fs layer 20:52:28 4657fd5d0bcf: Waiting 20:52:28 6ad1cebc031e: Waiting 20:52:28 8a3aa393b2d8: Waiting 20:52:28 114826534d7a: Waiting 20:52:28 25bc292e5bac: Verifying Checksum 20:52:28 25bc292e5bac: Download complete 20:52:28 52dc419b0ee2: Verifying Checksum 20:52:28 4657fd5d0bcf: Verifying Checksum 20:52:28 4657fd5d0bcf: Download complete 20:52:28 df9b9388f04a: Download complete 20:52:29 df9b9388f04a: Pull complete 20:52:29 6ad1cebc031e: Verifying Checksum 20:52:29 52dc419b0ee2: Pull complete 20:52:29 25bc292e5bac: Pull complete 20:52:29 114826534d7a: Verifying Checksum 20:52:29 114826534d7a: Download complete 20:52:29 8a3aa393b2d8: Verifying Checksum 20:52:29 8a3aa393b2d8: Download complete 20:52:32 114826534d7a: Pull complete 20:52:32 4657fd5d0bcf: Pull complete 20:52:32 6ad1cebc031e: Pull complete 20:52:35 8a3aa393b2d8: Pull complete 20:52:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:35 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:52:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:52:39 $ docker top 4e7adcec56ee7c6afca880f43e145589966e738047cef5a8a43ef1dcd2852e28 -eo pid,comm [Pipeline] { [Pipeline] echo 20:52:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 20:52:39 + set -o pipefail 20:52:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 20:52:43 20:52:43 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 20:52:43 20:52:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/0e45892a-5d8f-467c-893f-18ecf3d9d6ce 20:52:43 20:52:43 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 20:52:43 20:52:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:52:43 20:52:43 20:52:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:52:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:52:43 More details here: https://snyk.co/ue1NS [Pipeline] } 20:52:43 $ docker stop --time=1 4e7adcec56ee7c6afca880f43e145589966e738047cef5a8a43ef1dcd2852e28 20:52:46 $ docker rm -f --volumes 4e7adcec56ee7c6afca880f43e145589966e738047cef5a8a43ef1dcd2852e28 [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 20:52:47 + git log --format=format:%s -1 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] sh 20:52:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:48 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:52:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:52:48 $ docker top 3efe20e645b93455550390d7451dbc9c17f25cdbc942c5b5726515b914d70e35 -eo pid,comm 20:52:48 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). 20:52:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:52:48 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.46' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:48 + git semver [Pipeline] } 20:52:49 $ docker stop --time=1 3efe20e645b93455550390d7451dbc9c17f25cdbc942c5b5726515b914d70e35 20:52:50 $ docker rm -f --volumes 3efe20e645b93455550390d7451dbc9c17f25cdbc942c5b5726515b914d70e35 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:50 20:52:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:51 0.23.1-centos7: Pulling from edgex-lftools 20:52:51 ab5ef0e58194: Pulling fs layer 20:52:51 9712f1f96733: Pulling fs layer 20:52:51 63f879dbbcfc: Pulling fs layer 20:52:51 0d9ebad4ef96: Pulling fs layer 20:52:51 e9a5061849ea: Pulling fs layer 20:52:51 d747dcd14b5f: Pulling fs layer 20:52:51 2de7ff778b66: Pulling fs layer 20:52:51 2de7ff778b66: Waiting 20:52:51 d747dcd14b5f: Waiting 20:52:51 0d9ebad4ef96: Waiting 20:52:51 e9a5061849ea: Waiting 20:52:51 9712f1f96733: Verifying Checksum 20:52:51 9712f1f96733: Download complete 20:52:51 63f879dbbcfc: Verifying Checksum 20:52:51 63f879dbbcfc: Download complete 20:52:51 0d9ebad4ef96: Verifying Checksum 20:52:51 0d9ebad4ef96: Download complete 20:52:51 e9a5061849ea: Verifying Checksum 20:52:51 e9a5061849ea: Download complete 20:52:51 d747dcd14b5f: Download complete 20:52:51 ab5ef0e58194: Verifying Checksum 20:52:51 ab5ef0e58194: Download complete 20:52:51 2de7ff778b66: Verifying Checksum 20:52:51 2de7ff778b66: Download complete 20:52:54 ab5ef0e58194: Pull complete 20:52:54 9712f1f96733: Pull complete 20:52:54 63f879dbbcfc: Pull complete 20:52:57 0d9ebad4ef96: Pull complete 20:52:57 e9a5061849ea: Pull complete 20:52:57 d747dcd14b5f: Pull complete 20:52:58 2de7ff778b66: Pull complete 20:52:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:52:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:58 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:52:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:53:04 $ docker top 10706fa9af074ac386206afb9e9ccc3a16ad2f8cddec9287783c1214a81564e0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:53:04 provisioning config files... 20:53:04 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14812221784975531528tmp 20:53:04 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7606433788469630087tmp 20:53:04 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10112477282808858262tmp [Pipeline] { [Pipeline] echo 20:53:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:53:04 ---> sigul-configuration.sh 20:53:04 gpg: directory `/root/.gnupg' created 20:53:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:53:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:53:04 gpg: keyring `/root/.gnupg/secring.gpg' created 20:53:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:53:04 gpg: CAST5 encrypted data 20:53:04 gpg: encrypted with 1 passphrase 20:53:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:53:04 + mkdir /home/jenkins 20:53:04 + mkdir /home/jenkins/sigul [Pipeline] sh 20:53:05 + 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 20:53:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:53:05 ---> sigul-install.sh 20:53:05 Sigul already installed; skipping installation. [Pipeline] sh 20:53:05 + git tag --list 20:53:05 0.7.1 20:53:05 v1.0.0 20:53:05 v1.1.0 20:53:05 v1.1.1 20:53:05 v1.2.2 20:53:05 v1.3.0 20:53:05 v1.3.1 20:53:05 v2.0.0 20:53:05 v2.1.0 20:53:05 v2.1.1 20:53:05 v2.1.1-dev.1 20:53:05 v2.1.1-dev.2 20:53:05 v2.1.1-dev.3 20:53:05 v2.2.0 20:53:05 v2.2.1-dev.1 20:53:05 v2.2.1-dev.2 20:53:05 v2.2.1-dev.3 20:53:05 v2.2.1-dev.4 20:53:05 v2.2.1-dev.5 20:53:05 v2.2.1-dev.6 20:53:05 v2.2.1-dev.7 20:53:05 v2.3.0 20:53:05 v2.3.0-dev.10 20:53:05 v2.3.0-dev.11 20:53:05 v2.3.0-dev.12 20:53:05 v2.3.0-dev.13 20:53:05 v2.3.0-dev.14 20:53:05 v2.3.0-dev.15 20:53:05 v2.3.0-dev.16 20:53:05 v2.3.0-dev.17 20:53:05 v2.3.0-dev.18 20:53:05 v2.3.0-dev.19 20:53:05 v2.3.0-dev.20 20:53:05 v2.3.0-dev.21 20:53:05 v2.3.0-dev.22 20:53:05 v2.3.0-dev.23 20:53:05 v2.3.0-dev.24 20:53:05 v2.3.0-dev.25 20:53:05 v2.3.0-dev.7 20:53:05 v2.3.0-dev.8 20:53:05 v2.3.0-dev.9 20:53:05 v3.0.0 20:53:05 v3.0.0-dev.1 20:53:05 v3.0.0-dev.10 20:53:05 v3.0.0-dev.11 20:53:05 v3.0.0-dev.12 20:53:05 v3.0.0-dev.13 20:53:05 v3.0.0-dev.14 20:53:05 v3.0.0-dev.15 20:53:05 v3.0.0-dev.16 20:53:05 v3.0.0-dev.17 20:53:05 v3.0.0-dev.18 20:53:05 v3.0.0-dev.19 20:53:05 v3.0.0-dev.2 20:53:05 v3.0.0-dev.20 20:53:05 v3.0.0-dev.21 20:53:05 v3.0.0-dev.22 20:53:05 v3.0.0-dev.23 20:53:05 v3.0.0-dev.24 20:53:05 v3.0.0-dev.25 20:53:05 v3.0.0-dev.26 20:53:05 v3.0.0-dev.27 20:53:05 v3.0.0-dev.28 20:53:05 v3.0.0-dev.29 20:53:05 v3.0.0-dev.3 20:53:05 v3.0.0-dev.30 20:53:05 v3.0.0-dev.31 20:53:05 v3.0.0-dev.32 20:53:05 v3.0.0-dev.33 20:53:05 v3.0.0-dev.34 20:53:05 v3.0.0-dev.35 20:53:05 v3.0.0-dev.36 20:53:05 v3.0.0-dev.37 20:53:05 v3.0.0-dev.38 20:53:05 v3.0.0-dev.39 20:53:05 v3.0.0-dev.4 20:53:05 v3.0.0-dev.40 20:53:05 v3.0.0-dev.41 20:53:05 v3.0.0-dev.42 20:53:05 v3.0.0-dev.43 20:53:05 v3.0.0-dev.44 20:53:05 v3.0.0-dev.45 20:53:05 v3.0.0-dev.46 20:53:05 v3.0.0-dev.5 20:53:05 v3.0.0-dev.6 20:53:05 v3.0.0-dev.7 20:53:05 v3.0.0-dev.8 20:53:05 v3.0.0-dev.9 [Pipeline] sh 20:53:05 + lftools sign git-tag v3.0.0 20:53:06 Signing Git tag with Sigul... 20:53:06 Signing v3.0.0 [Pipeline] echo 20:53:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:53:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:53:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:53:07 $ docker stop --time=1 10706fa9af074ac386206afb9e9ccc3a16ad2f8cddec9287783c1214a81564e0 20:53:08 $ docker rm -f --volumes 10706fa9af074ac386206afb9e9ccc3a16ad2f8cddec9287783c1214a81564e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:53:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:09 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:53:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:53:09 $ docker top 707a68b8353e7b4a0ceb9254cf1c49341658715960ff6c5f5a36865b520f7880 -eo pid,comm 20:53:09 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). 20:53:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:09 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.46' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:09 + git semver [Pipeline] } 20:53:10 $ docker stop --time=1 707a68b8353e7b4a0ceb9254cf1c49341658715960ff6c5f5a36865b520f7880 20:53:11 $ docker rm -f --volumes 707a68b8353e7b4a0ceb9254cf1c49341658715960ff6c5f5a36865b520f7880 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:12 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:53:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:53:13 $ docker top 80d70cf7e590d7f35f1cba02b5977f0e9f2eb519c0172b671c8452a7a7f08e10 -eo pid,comm 20:53:13 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). 20:53:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:13 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.46' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:13 + git semver [Pipeline] } 20:53:14 $ docker stop --time=1 80d70cf7e590d7f35f1cba02b5977f0e9f2eb519c0172b671c8452a7a7f08e10 20:53:15 $ docker rm -f --volumes 80d70cf7e590d7f35f1cba02b5977f0e9f2eb519c0172b671c8452a7a7f08e10 [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 20:53:16 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 20:53:16 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:53:16 total 16 20:53:16 drwxr-xr-x 3 root root 4096 May 31 20:42 . 20:53:16 drwxrwxr-x 11 jenkins jenkins 4096 May 31 20:53 .. 20:53:16 drwxr-xr-x 2 root root 4096 May 31 20:42 cost 20:53:16 -rw-r--r-- 1 root root 88 May 31 20:42 cost.csv 20:53:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 20:53:16 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:53:16 total 16 20:53:16 drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:42 . 20:53:16 drwxrwxr-x 11 jenkins jenkins 4096 May 31 20:53 .. 20:53:16 drwxr-xr-x 2 jenkins jenkins 4096 May 31 20:42 cost 20:53:16 -rw-r--r-- 1 jenkins jenkins 88 May 31 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:53:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:53:17 ---> package-listing.sh 20:53:17 ++ facter osfamily 20:53:17 ++ tr '[:upper:]' '[:lower:]' 20:53:17 + OS_FAMILY=debian 20:53:17 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 20:53:17 + START_PACKAGES=/tmp/packages_start.txt 20:53:17 + END_PACKAGES=/tmp/packages_end.txt 20:53:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:53:17 + PACKAGES=/tmp/packages_start.txt 20:53:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:53:17 + PACKAGES=/tmp/packages_end.txt 20:53:17 + case "${OS_FAMILY}" in 20:53:17 + grep '^ii' 20:53:17 + dpkg -l 20:53:17 + '[' -f /tmp/packages_start.txt ']' 20:53:17 + '[' -f /tmp/packages_end.txt ']' 20:53:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:53:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:53:17 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 20:53:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 20:53:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:53:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:18 prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container 20:53:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:53:18 $ docker top 86ccb65918f9115830b9f49a8276d2065ecbccef01255fce49d7d147096032a9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:18 + touch /tmp/pre-build-complete [Pipeline] sh 20:53:19 + mkdir -p /var/log/sysstat [Pipeline] sh 20:53:19 + ls /var/log/sa-host 20:53:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:19 provisioning config files... 20:53:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16792935592429370691tmp [Pipeline] { [Pipeline] echo 20:53:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:53:20 ---> create-netrc.sh [Pipeline] } 20:53:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:53:20 ---> python-tools-install.sh [Pipeline] echo 20:53:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:53:20 ---> sudo-logs.sh 20:53:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:53:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:53:21 ---> job-cost.sh 20:53:21 lf-activate-venv: SKIPPING 20:53:21 DEBUG: total: 0.2199999988079071 20:53:21 INFO: Retrieving Stack Cost... 20:53:21 INFO: Retrieving Pricing Info for: v3-standard-8 20:53:21 INFO: Archiving Costs [Pipeline] echo 20:53:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:53:22 ---> logs-deploy.sh 20:53:22 lf-activate-venv: SKIPPING 20:53:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/113 20:53:22 INFO: archiving workspace using pattern(s): 20:53:23 Archives upload complete. 20:53:23 INFO: archiving logs to Nexus