Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3d748354a43de7f92f17495f0075fba5a156a8dd 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-ssh4532444145044475929.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14513563109677887289.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh1342035886998579919.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh1476344753195149102.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-ssh15550428351182405138.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-17540’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17546 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 3d748354a43de7f92f17495f0075fba5a156a8dd (main) Commit message: "fix: Address CVE in Alpine base image (#525)" > 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 3d748354a43de7f92f17495f0075fba5a156a8dd # timeout=10 > git rev-list --no-walk 3472a71eabe3cf11e529f0c456c85d4924dd4d23 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:46:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:46:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:46:52 ========================================================= 21:46:52 EdgeX Global Pipelines Version Info 21:46:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:46:53 ------------------- 21:46:53 stable info: 21:46:53 ------------------- 21:46:53 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 21:46:53 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:46:53 Message: update stable to v1.0.257 21:46:54 ------------------- 21:46:54 experimental info: 21:46:54 ------------------- 21:46:54 Commited By: **** collab-it+edgex@linuxfoundation.org 21:46:54 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:46:54 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d748354a43de7f92f17495f0075fba5a156a8dd [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d74835 [Pipeline] echo 21:46:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:54 provisioning config files... 21:46:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10565073709492452291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:55 ---> docker-login.sh 21:46:55 nexus3.edgexfoundry.org:10001 21:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:56 Configure a credential helper to remove this warning. See 21:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:56 21:46:56 Login Succeeded 21:46:56 nexus3.edgexfoundry.org:10002 21:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:56 Configure a credential helper to remove this warning. See 21:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:56 21:46:56 Login Succeeded 21:46:56 nexus3.edgexfoundry.org:10003 21:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:56 Configure a credential helper to remove this warning. See 21:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:56 21:46:56 Login Succeeded 21:46:56 nexus3.edgexfoundry.org:10004 21:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:56 Configure a credential helper to remove this warning. See 21:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:56 21:46:56 Login Succeeded 21:46:56 docker.io 21:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:56 Configure a credential helper to remove this warning. See 21:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:56 21:46:56 Login Succeeded 21:46:56 ---> docker-login.sh ends [Pipeline] } 21:46:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:46:57 + git rev-list -1 --merges 3d748354a43de7f92f17495f0075fba5a156a8dd~1..3d748354a43de7f92f17495f0075fba5a156a8dd [Pipeline] echo 21:46:57 -----------> git rev-list -1 --merges 3d748354a43de7f92f17495f0075fba5a156a8dd~1..3d748354a43de7f92f17495f0075fba5a156a8dd 3d748354a43de7f92f17495f0075fba5a156a8dd [false] [Pipeline] sh 21:46:57 + git log --format=format:%s -1 3d748354a43de7f92f17495f0075fba5a156a8dd [Pipeline] echo 21:46:57 ========================================================= 21:46:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:46:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:57 + git log --format=format:%s -1 3d748354a43de7f92f17495f0075fba5a156a8dd [Pipeline] echo 21:46:57 [semverPrep] GIT_COMMIT: 3d748354a43de7f92f17495f0075fba5a156a8dd, Commit Message: fix: Address CVE in Alpine base image (#525) [Pipeline] echo 21:46:57 [semverPrep] This is not a build commit. [Pipeline] sh 21:46:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:46:58 + grep -v github /etc/ssh/ssh_known_hosts 21:46:58 + [ -e /tmp/ssh_known_hosts ] 21:46:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:46:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:46:58 + sudo tee -a /etc/ssh/ssh_known_hosts 21:46:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:58 21:46:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:58 0.1.4: Pulling from edgex-devops/py-git-semver 21:46:58 b85a868b505f: Pulling fs layer 21:46:58 e2be974225ed: Pulling fs layer 21:46:58 339a4e72a1f5: Pulling fs layer 21:46:58 988bab9f4d93: Pulling fs layer 21:46:58 1469e6f7b9e6: Pulling fs layer 21:46:58 eaf3925da568: Pulling fs layer 21:46:58 bab4dde63d76: Pulling fs layer 21:46:58 bde34c3a00c8: Pulling fs layer 21:46:58 b352a97aabf1: Pulling fs layer 21:46:58 4872d77fe225: Pulling fs layer 21:46:58 5851b861e8e6: Pulling fs layer 21:46:58 988bab9f4d93: Waiting 21:46:58 1469e6f7b9e6: Waiting 21:46:58 eaf3925da568: Waiting 21:46:58 bab4dde63d76: Waiting 21:46:58 bde34c3a00c8: Waiting 21:46:58 b352a97aabf1: Waiting 21:46:58 4872d77fe225: Waiting 21:46:58 5851b861e8e6: Waiting 21:46:58 e2be974225ed: Verifying Checksum 21:46:58 e2be974225ed: Download complete 21:46:58 988bab9f4d93: Verifying Checksum 21:46:58 988bab9f4d93: Download complete 21:46:59 339a4e72a1f5: Verifying Checksum 21:46:59 339a4e72a1f5: Download complete 21:46:59 1469e6f7b9e6: Verifying Checksum 21:46:59 1469e6f7b9e6: Download complete 21:46:59 eaf3925da568: Verifying Checksum 21:46:59 eaf3925da568: Download complete 21:46:59 bde34c3a00c8: Download complete 21:46:59 b352a97aabf1: Verifying Checksum 21:46:59 b352a97aabf1: Download complete 21:46:59 4872d77fe225: Verifying Checksum 21:46:59 4872d77fe225: Download complete 21:46:59 5851b861e8e6: Verifying Checksum 21:46:59 5851b861e8e6: Download complete 21:46:59 b85a868b505f: Verifying Checksum 21:46:59 b85a868b505f: Download complete 21:46:59 bab4dde63d76: Verifying Checksum 21:46:59 bab4dde63d76: Download complete 21:47:00 b85a868b505f: Pull complete 21:47:00 e2be974225ed: Pull complete 21:47:01 339a4e72a1f5: Pull complete 21:47:01 988bab9f4d93: Pull complete 21:47:01 1469e6f7b9e6: Pull complete 21:47:01 eaf3925da568: Pull complete 21:47:03 bab4dde63d76: Pull complete 21:47:03 bde34c3a00c8: Pull complete 21:47:03 b352a97aabf1: Pull complete 21:47:03 4872d77fe225: Pull complete 21:47:03 5851b861e8e6: Pull complete 21:47:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:47:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:03 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 21:47:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:47:05 $ docker top 95bf6dc03cfc350ba1245d71bb1e83d81cca0918a6d2a4e2114692a0f42b0810 -eo pid,comm 21:47:05 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). 21:47:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:05 [ssh-agent] Looking for ssh-agent implementation... 21:47:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:05 $ docker exec 95bf6dc03cfc350ba1245d71bb1e83d81cca0918a6d2a4e2114692a0f42b0810 ssh-agent 21:47:06 SSH_AUTH_SOCK=/tmp/ssh-EdYuFf3Oly1i/agent.32 21:47:06 SSH_AGENT_PID=38 21:47:06 Running ssh-add (command line suppressed) 21:47:06 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9667936721975058221.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9667936721975058221.key) 21:47:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:06 + git tag --points-at HEAD [Pipeline] } 21:47:06 $ docker exec --env ******** --env ******** 95bf6dc03cfc350ba1245d71bb1e83d81cca0918a6d2a4e2114692a0f42b0810 ssh-agent -k 21:47:06 unset SSH_AUTH_SOCK; 21:47:06 unset SSH_AGENT_PID; 21:47:06 echo Agent pid 38 killed; 21:47:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:47:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:06 [ssh-agent] Looking for ssh-agent implementation... 21:47:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:06 $ docker exec 95bf6dc03cfc350ba1245d71bb1e83d81cca0918a6d2a4e2114692a0f42b0810 ssh-agent 21:47:06 SSH_AUTH_SOCK=/tmp/ssh-rLkku73boueH/agent.71 21:47:06 SSH_AGENT_PID=77 21:47:06 Running ssh-add (command line suppressed) 21:47:07 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2626925183326054433.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2626925183326054433.key) 21:47:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:07 + git semver init 21:47:07 2023-11-14 21:47:07,511 [run_init] DEBUG init version:0.0.0 force:False 21:47:07 2023-11-14 21:47:07,511 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 21:47:07 2023-11-14 21:47:07,512 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 21:47:07 2023-11-14 21:47:07,512 [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) 21:47:08 2023-11-14 21:47:08,662 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 21:47:08 2023-11-14 21:47:08,662 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 21:47:08 2023-11-14 21:47:08,662 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:47:08 2023-11-14 21:47:08,663 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:47:08 3.1.0-dev.25 [Pipeline] } 21:47:08 $ docker exec --env ******** --env ******** 95bf6dc03cfc350ba1245d71bb1e83d81cca0918a6d2a4e2114692a0f42b0810 ssh-agent -k 21:47:09 unset SSH_AUTH_SOCK; 21:47:09 unset SSH_AGENT_PID; 21:47:09 echo Agent pid 77 killed; 21:47:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:09 + git semver [Pipeline] } 21:47:09 $ docker stop --time=1 95bf6dc03cfc350ba1245d71bb1e83d81cca0918a6d2a4e2114692a0f42b0810 21:47:11 $ docker rm -f --volumes 95bf6dc03cfc350ba1245d71bb1e83d81cca0918a6d2a4e2114692a0f42b0810 [Pipeline] // withDockerContainer [Pipeline] sh 21:47:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:47:11 Stashed 1 file(s) [Pipeline] echo 21:47:11 [edgeXSemver]: initialized semver on version 3.1.0-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:12 provisioning config files... 21:47:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6897581416408619151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:12 ---> docker-login.sh 21:47:12 nexus3.edgexfoundry.org:10001 21:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:12 Configure a credential helper to remove this warning. See 21:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:12 21:47:12 Login Succeeded 21:47:12 nexus3.edgexfoundry.org:10002 21:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:12 Configure a credential helper to remove this warning. See 21:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:12 21:47:12 Login Succeeded 21:47:12 nexus3.edgexfoundry.org:10003 21:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:12 Configure a credential helper to remove this warning. See 21:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:12 21:47:12 Login Succeeded 21:47:12 nexus3.edgexfoundry.org:10004 21:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:12 Configure a credential helper to remove this warning. See 21:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:12 21:47:12 Login Succeeded 21:47:12 docker.io 21:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:13 Configure a credential helper to remove this warning. See 21:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:13 21:47:13 Login Succeeded 21:47:13 ---> docker-login.sh ends [Pipeline] } 21:47:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:47:13 ========================================================= 21:47:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:47:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:13 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:47:13 Sending build context to Docker daemon 6.566MB 21:47:13 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:47:13 Step 2/10 : FROM ${BASE} AS builder 21:47:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:47:13 7264a8db6415: Pulling fs layer 21:47:13 c4d48a809fc2: Pulling fs layer 21:47:13 4f1c88b9dad5: Pulling fs layer 21:47:13 ad3a456e5733: Pulling fs layer 21:47:13 69c7f0334f64: Pulling fs layer 21:47:13 1f1c1a5573a3: Pulling fs layer 21:47:13 ce7588e14bc9: Pulling fs layer 21:47:13 b5e4710f87ac: Pulling fs layer 21:47:13 69c7f0334f64: Waiting 21:47:13 ad3a456e5733: Waiting 21:47:13 ce7588e14bc9: Waiting 21:47:13 1f1c1a5573a3: Waiting 21:47:13 c4d48a809fc2: Verifying Checksum 21:47:13 c4d48a809fc2: Download complete 21:47:13 ad3a456e5733: Verifying Checksum 21:47:13 ad3a456e5733: Download complete 21:47:13 69c7f0334f64: Verifying Checksum 21:47:13 7264a8db6415: Verifying Checksum 21:47:13 7264a8db6415: Download complete 21:47:13 1f1c1a5573a3: Verifying Checksum 21:47:13 1f1c1a5573a3: Download complete 21:47:14 7264a8db6415: Pull complete 21:47:14 b5e4710f87ac: Verifying Checksum 21:47:14 b5e4710f87ac: Download complete 21:47:14 c4d48a809fc2: Pull complete 21:47:14 4f1c88b9dad5: Verifying Checksum 21:47:14 4f1c88b9dad5: Download complete 21:47:14 ce7588e14bc9: Verifying Checksum 21:47:14 ce7588e14bc9: Download complete 21:47:17 4f1c88b9dad5: Pull complete 21:47:17 ad3a456e5733: Pull complete 21:47:17 69c7f0334f64: Pull complete 21:47:17 1f1c1a5573a3: Pull complete 21:47:20 ce7588e14bc9: Pull complete 21:47:21 b5e4710f87ac: Pull complete 21:47:21 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:47:21 ---> 88b5674ff536 21:47:21 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:47:25 ---> Running in 95809635dd10 21:47:25 Removing intermediate container 95809635dd10 21:47:25 ---> cb9e7407d646 21:47:25 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:25 ---> Running in a35cbfedd52f 21:47:25 Removing intermediate container a35cbfedd52f 21:47:25 ---> 4bd941c6fbc6 21:47:25 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:47:25 ---> Running in 873ad881665f 21:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:47:26 (1/8) Installing openssh-keygen (9.3_p2-r0) 21:47:26 (2/8) Installing libedit (20221030.3.1-r1) 21:47:26 (3/8) Installing openssh-client-common (9.3_p2-r0) 21:47:26 (4/8) Installing openssh-client-default (9.3_p2-r0) 21:47:26 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 21:47:26 (6/8) Installing openssh-server-common (9.3_p2-r0) 21:47:26 (7/8) Installing openssh-server (9.3_p2-r0) 21:47:26 (8/8) Installing openssh (9.3_p2-r0) 21:47:26 Executing busybox-1.36.1-r5.trigger 21:47:26 OK: 270 MiB in 60 packages 21:47:26 Still waiting to schedule task 21:47:26 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17549’ is offline 21:47:27 Removing intermediate container 873ad881665f 21:47:27 ---> 582874f87bb0 21:47:27 Step 6/10 : WORKDIR /device-modbus-go 21:47:27 ---> Running in 3c2d4db98981 21:47:27 Removing intermediate container 3c2d4db98981 21:47:27 ---> 26a02e959adb 21:47:27 Step 7/10 : COPY go.mod vendor* ./ 21:47:27 ---> 7cd66d9ce598 21:47:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:27 ---> Running in 9f20b9847a63 21:48:06 Removing intermediate container 9f20b9847a63 21:48:06 ---> 30eb18d3687b 21:48:06 Step 9/10 : COPY . . 21:48:06 ---> fda7827a683b 21:48:06 Step 10/10 : RUN ${MAKE} 21:48:06 ---> Running in 01611d0741ab 21:48:06 noop 21:48:06 Removing intermediate container 01611d0741ab 21:48:06 ---> 5d3f9dfd009b 21:48:06 Successfully built 5d3f9dfd009b 21:48:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:06 + docker inspect -f . ci-base-image-x86_64 21:48:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:06 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 21:48:06 $ 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 21:48:06 $ docker top db11d5e3966c9e2855c3cae3e30e6917f94934839458c92b2a068ffa14acd790 -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:07 + go version 21:48:07 go version go1.21.0 linux/amd64 [Pipeline] } 21:48:07 $ docker stop --time=1 db11d5e3966c9e2855c3cae3e30e6917f94934839458c92b2a068ffa14acd790 21:48:08 $ docker rm -f --volumes db11d5e3966c9e2855c3cae3e30e6917f94934839458c92b2a068ffa14acd790 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:08 + docker inspect -f . ci-base-image-x86_64 21:48:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:09 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 21:48:09 $ 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 21:48:09 $ docker top 26dfb4ca7eed645f8b715a0911d2e399b4b4eb517b4f5340f8d9c9e77aaa067b -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 21:48:10 + make test 21:48:10 go test ./... -coverprofile=coverage.out 21:48:11 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:48:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:48:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.9% of statements 21:48:27 go vet ./... 21:48:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:48:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:48:32 ./bin/test-attribution-txt.sh [Pipeline] echo 21:48:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:48:32 $ docker stop --time=1 26dfb4ca7eed645f8b715a0911d2e399b4b4eb517b4f5340f8d9c9e77aaa067b 21:48:35 $ docker rm -f --volumes 26dfb4ca7eed645f8b715a0911d2e399b4b4eb517b4f5340f8d9c9e77aaa067b [Pipeline] // withDockerContainer [Pipeline] sh 21:48:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:48:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:48:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:48:36 + ls -al . 21:48:36 total 192 21:48:36 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 21:48 . 21:48:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:46 .. 21:48:36 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 21:46 .dockerignore 21:48:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:48 .git 21:48:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:46 .github 21:48:36 -rw-rw-r-- 1 jenkins jenkins 266 Nov 14 21:46 .gitignore 21:48:36 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:46 .golangci.yml 21:48:36 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:47 .semver 21:48:36 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 14 21:46 Attribution.txt 21:48:36 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 14 21:46 CHANGELOG.md 21:48:36 -rw-rw-r-- 1 jenkins jenkins 1474 Nov 14 21:46 Dockerfile 21:48:36 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:46 GOVERNANCE.md 21:48:36 -rw-rw-r-- 1 jenkins jenkins 658 Nov 14 21:46 Jenkinsfile 21:48:36 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 21:46 LICENSE 21:48:36 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 14 21:46 Makefile 21:48:36 -rw-rw-r-- 1 jenkins jenkins 622 Nov 14 21:46 OWNERS.md 21:48:36 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 14 21:46 README.md 21:48:36 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:47 VERSION 21:48:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:46 bin 21:48:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:46 cmd 21:48:36 -rw-r--r-- 1 jenkins jenkins 24334 Nov 14 21:48 coverage.out 21:48:36 -rw-rw-r-- 1 jenkins jenkins 3895 Nov 14 21:46 go.mod 21:48:36 -rw-rw-r-- 1 jenkins jenkins 35342 Nov 14 21:46 go.sum 21:48:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:46 internal 21:48:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:46 simulator 21:48:36 -rw-rw-r-- 1 jenkins jenkins 229 Nov 14 21:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:37 + 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=3d748354a43de7f92f17495f0075fba5a156a8dd --label arch=amd64 --label version=3.1.0-dev.25 . 21:48:37 Sending build context to Docker daemon 6.591MB 21:48:37 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 21:48:37 Step 2/23 : FROM ${BASE} AS builder 21:48:37 ---> 5d3f9dfd009b 21:48:37 Step 3/23 : ARG ADD_BUILD_TAGS="" 21:48:38 ---> Running in c0109638c878 21:48:38 Removing intermediate container c0109638c878 21:48:38 ---> fa1b81c22e13 21:48:38 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:48:38 ---> Running in 7911ff7791e3 21:48:39 Removing intermediate container 7911ff7791e3 21:48:39 ---> 5ceb97535134 21:48:39 Step 5/23 : RUN apk add --update --no-cache make git openssh 21:48:39 ---> Running in dff2062ae98d 21:48:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:48:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:48:39 OK: 270 MiB in 60 packages 21:48:39 Removing intermediate container dff2062ae98d 21:48:39 ---> 9f8d3fd46d51 21:48:39 Step 6/23 : WORKDIR /device-modbus-go 21:48:39 ---> Running in a9a9f0692274 21:48:39 Removing intermediate container a9a9f0692274 21:48:39 ---> 4e40de4dad9a 21:48:39 Step 7/23 : COPY go.mod vendor* ./ 21:48:40 ---> 2d6f230a8a97 21:48:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:48:40 ---> Running in 86656e591388 21:48:41 Removing intermediate container 86656e591388 21:48:41 ---> 5685e007356e 21:48:41 Step 9/23 : COPY . . 21:48:41 ---> 8a4afed797d9 21:48:41 Step 10/23 : RUN ${MAKE} 21:48:41 ---> Running in d38f354c3f78 21:48:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:49:03 Removing intermediate container d38f354c3f78 21:49:03 ---> 143d514893a0 21:49:03 Step 11/23 : FROM alpine:3.18 21:49:03 3.18: Pulling from library/alpine 21:49:03 96526aa774ef: Pulling fs layer 21:49:03 96526aa774ef: Download complete 21:49:03 96526aa774ef: Pull complete 21:49:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:49:03 Status: Downloaded newer image for alpine:3.18 21:49:03 ---> 8ca4688f4f35 21:49:03 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:49:03 ---> Running in 05faa8f53432 21:49:03 Removing intermediate container 05faa8f53432 21:49:03 ---> 423aa00cb3e1 21:49:03 Step 13/23 : RUN apk add --update --no-cache dumb-init 21:49:03 ---> Running in 585324e38070 21:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:03 (1/1) Installing dumb-init (1.2.5-r2) 21:49:03 Executing busybox-1.36.1-r2.trigger 21:49:03 OK: 7 MiB in 16 packages 21:49:03 Removing intermediate container 585324e38070 21:49:03 ---> aeb1fa410c9c 21:49:03 Step 14/23 : RUN apk --no-cache upgrade 21:49:03 ---> Running in 8371af37efec 21:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:03 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:49:03 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:49:03 Executing busybox-1.36.1-r5.post-upgrade 21:49:03 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:49:03 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:49:03 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:49:03 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:49:03 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:49:03 Executing busybox-1.36.1-r5.trigger 21:49:03 OK: 7 MiB in 16 packages 21:49:04 Removing intermediate container 8371af37efec 21:49:04 ---> a4bc6e29a9ca 21:49:04 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 21:49:04 ---> 284fa0f9277f 21:49:04 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 21:49:05 ---> 2d7efbaa13de 21:49:05 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:49:05 ---> 80a04d94d71a 21:49:05 Step 18/23 : EXPOSE 59901 21:49:05 ---> Running in 99af8e02ff29 21:49:05 Removing intermediate container 99af8e02ff29 21:49:05 ---> d35dabf6e20d 21:49:05 Step 19/23 : ENTRYPOINT ["/device-modbus"] 21:49:05 ---> Running in aeca23594d3c 21:49:05 Removing intermediate container aeca23594d3c 21:49:05 ---> e83dd4a664ba 21:49:05 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:49:05 ---> Running in 33c985b6a5bf 21:49:05 Removing intermediate container 33c985b6a5bf 21:49:05 ---> 9b28a95bde37 21:49:05 Step 21/23 : LABEL arch=amd64 21:49:05 ---> Running in 830991cb5779 21:49:05 Removing intermediate container 830991cb5779 21:49:05 ---> d1e7a3391fbf 21:49:05 Step 22/23 : LABEL git_sha=3d748354a43de7f92f17495f0075fba5a156a8dd 21:49:05 ---> Running in eb3b8d957292 21:49:05 Removing intermediate container eb3b8d957292 21:49:05 ---> c3a83f11c1cd 21:49:05 Step 23/23 : LABEL version=3.1.0-dev.25 21:49:05 ---> Running in fa860f165c6d 21:49:05 Removing intermediate container fa860f165c6d 21:49:05 ---> c7b1cb8b199c 21:49:05 [Warning] One or more build-args [ARCH] were not consumed 21:49:05 Successfully built c7b1cb8b199c 21:49:05 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:06 provisioning config files... 21:49:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2083356530613010405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:06 ---> docker-login.sh 21:49:06 nexus3.edgexfoundry.org:10001 21:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:06 Configure a credential helper to remove this warning. See 21:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:06 21:49:06 Login Succeeded 21:49:06 nexus3.edgexfoundry.org:10002 21:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:06 Configure a credential helper to remove this warning. See 21:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:06 21:49:06 Login Succeeded 21:49:06 nexus3.edgexfoundry.org:10003 21:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:06 Configure a credential helper to remove this warning. See 21:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:06 21:49:06 Login Succeeded 21:49:06 nexus3.edgexfoundry.org:10004 21:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:06 Configure a credential helper to remove this warning. See 21:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:06 21:49:06 Login Succeeded 21:49:06 docker.io 21:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:06 Configure a credential helper to remove this warning. See 21:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:06 21:49:06 Login Succeeded 21:49:06 ---> docker-login.sh ends [Pipeline] } 21:49:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:49:06 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 21:49:06 3d748354a43de7f92f17495f0075fba5a156a8dd 21:49:06 latest 21:49:06 3.1.0-dev.25 21:49:06 3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25 21:49:06 main 21:49:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:07 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3d748354a43de7f92f17495f0075fba5a156a8dd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3d748354a43de7f92f17495f0075fba5a156a8dd 21:49:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:07 3e82f88f7879: Preparing 21:49:07 e717fb456784: Preparing 21:49:07 6ec98b17952e: Preparing 21:49:07 9b9ce9e24cfd: Preparing 21:49:07 05040faecebb: Preparing 21:49:07 cc2447e1835a: Preparing 21:49:07 cc2447e1835a: Waiting 21:49:07 e717fb456784: Pushed 21:49:07 05040faecebb: Pushed 21:49:07 3e82f88f7879: Pushed 21:49:07 cc2447e1835a: Layer already exists 21:49:08 9b9ce9e24cfd: Pushed 21:49:09 6ec98b17952e: Pushed 21:49:10 3d748354a43de7f92f17495f0075fba5a156a8dd: digest: sha256:fef9da72e633fecc193f146ec58700b4ddc37d01dc0115a182da3667cbd9f5c9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 21:49:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:10 3e82f88f7879: Preparing 21:49:10 e717fb456784: Preparing 21:49:10 6ec98b17952e: Preparing 21:49:10 9b9ce9e24cfd: Preparing 21:49:10 05040faecebb: Preparing 21:49:10 cc2447e1835a: Preparing 21:49:10 cc2447e1835a: Waiting 21:49:10 05040faecebb: Layer already exists 21:49:10 3e82f88f7879: Layer already exists 21:49:10 6ec98b17952e: Layer already exists 21:49:10 e717fb456784: Layer already exists 21:49:10 9b9ce9e24cfd: Layer already exists 21:49:10 cc2447e1835a: Layer already exists 21:49:10 latest: digest: sha256:fef9da72e633fecc193f146ec58700b4ddc37d01dc0115a182da3667cbd9f5c9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.25 21:49:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:11 3e82f88f7879: Preparing 21:49:11 e717fb456784: Preparing 21:49:11 6ec98b17952e: Preparing 21:49:11 9b9ce9e24cfd: Preparing 21:49:11 05040faecebb: Preparing 21:49:11 cc2447e1835a: Preparing 21:49:11 cc2447e1835a: Waiting 21:49:11 6ec98b17952e: Layer already exists 21:49:11 3e82f88f7879: Layer already exists 21:49:11 05040faecebb: Layer already exists 21:49:11 9b9ce9e24cfd: Layer already exists 21:49:11 e717fb456784: Layer already exists 21:49:11 cc2447e1835a: Layer already exists 21:49:11 3.1.0-dev.25: digest: sha256:fef9da72e633fecc193f146ec58700b4ddc37d01dc0115a182da3667cbd9f5c9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25 21:49:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:12 3e82f88f7879: Preparing 21:49:12 e717fb456784: Preparing 21:49:12 6ec98b17952e: Preparing 21:49:12 9b9ce9e24cfd: Preparing 21:49:12 05040faecebb: Preparing 21:49:12 cc2447e1835a: Preparing 21:49:12 cc2447e1835a: Waiting 21:49:12 6ec98b17952e: Layer already exists 21:49:12 05040faecebb: Layer already exists 21:49:12 9b9ce9e24cfd: Layer already exists 21:49:12 3e82f88f7879: Layer already exists 21:49:12 e717fb456784: Layer already exists 21:49:12 cc2447e1835a: Layer already exists 21:49:12 3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25: digest: sha256:fef9da72e633fecc193f146ec58700b4ddc37d01dc0115a182da3667cbd9f5c9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 21:49:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:12 3e82f88f7879: Preparing 21:49:12 e717fb456784: Preparing 21:49:12 6ec98b17952e: Preparing 21:49:12 9b9ce9e24cfd: Preparing 21:49:12 05040faecebb: Preparing 21:49:12 cc2447e1835a: Preparing 21:49:12 cc2447e1835a: Waiting 21:49:12 e717fb456784: Layer already exists 21:49:12 3e82f88f7879: Layer already exists 21:49:12 9b9ce9e24cfd: Layer already exists 21:49:12 05040faecebb: Layer already exists 21:49:12 6ec98b17952e: Layer already exists 21:49:12 cc2447e1835a: Layer already exists 21:49:12 main: digest: sha256:fef9da72e633fecc193f146ec58700b4ddc37d01dc0115a182da3667cbd9f5c9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:12 ===================================================== [Pipeline] echo 21:49:12 taggedImages: 21:49:12 - nexus3.edgexfoundry.org:10004/device-modbus:3d748354a43de7f92f17495f0075fba5a156a8dd 21:49:12 - nexus3.edgexfoundry.org:10004/device-modbus:latest 21:49:12 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.25 21:49:12 - nexus3.edgexfoundry.org:10004/device-modbus:3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25 21:49:12 - 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 21:49:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:13 21:49:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:13 latest: Pulling from edgex-lftools-log-publisher 21:49:13 5eb5b503b376: Pulling fs layer 21:49:13 5c69ac0246d0: Pulling fs layer 21:49:13 ec43610c2a17: Pulling fs layer 21:49:13 3a2ae6a8a46f: Pulling fs layer 21:49:13 33b1e0a273af: Pulling fs layer 21:49:13 5d3b04190fa2: Pulling fs layer 21:49:13 2f39f015ded8: Pulling fs layer 21:49:13 2f39f015ded8: Waiting 21:49:13 5d3b04190fa2: Waiting 21:49:13 3a2ae6a8a46f: Waiting 21:49:13 33b1e0a273af: Waiting 21:49:13 5c69ac0246d0: Download complete 21:49:13 3a2ae6a8a46f: Verifying Checksum 21:49:13 3a2ae6a8a46f: Download complete 21:49:13 ec43610c2a17: Verifying Checksum 21:49:13 ec43610c2a17: Download complete 21:49:13 33b1e0a273af: Verifying Checksum 21:49:13 33b1e0a273af: Download complete 21:49:13 5d3b04190fa2: Download complete 21:49:13 5eb5b503b376: Verifying Checksum 21:49:13 5eb5b503b376: Download complete 21:49:14 2f39f015ded8: Download complete 21:49:14 5eb5b503b376: Pull complete 21:49:14 5c69ac0246d0: Pull complete 21:49:15 ec43610c2a17: Pull complete 21:49:15 3a2ae6a8a46f: Pull complete 21:49:15 33b1e0a273af: Pull complete 21:49:15 5d3b04190fa2: Pull complete 21:49:19 2f39f015ded8: Pull complete 21:49:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:19 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 21:49:19 $ 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 21:49:27 $ docker top 7914f351a5f406a0cb6f3862882130deabb6a9e672197e80ac048872a5a42b61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:27 ---> job-cost.sh 21:49:27 lf-activate-venv: SKIPPING 21:49:27 INFO: No Stack... 21:49:27 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:28 INFO: Archiving Costs [Pipeline] sh 21:49:28 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 21:49:28 + cut -d, -f6 [Pipeline] lock 21:49:28 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-139-stack-cost] 21:49:28 Resource [jenkins-edgexfoundry-device-modbus-go-main-139-stack-cost] did not exist. Created. 21:49:28 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:28 + echo total: 0.2199999988079071 [Pipeline] stash 21:49:28 Stashed 1 file(s) [Pipeline] } 21:49:28 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:28 $ docker stop --time=1 7914f351a5f406a0cb6f3862882130deabb6a9e672197e80ac048872a5a42b61 21:49:30 $ docker rm -f --volumes 7914f351a5f406a0cb6f3862882130deabb6a9e672197e80ac048872a5a42b61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:50:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17555 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 21:50:34 Running in /w/workspace/device-modbus-go/139 [Pipeline] { [Pipeline] checkout 21:50:34 Selected Git installation does not exist. Using Default 21:50:34 The recommended git tool is: NONE 21:50:41 using credential edgex-jenkins-ssh 21:50:41 Cloning the remote Git repository 21:50:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:50:41 > git init /w/workspace/device-modbus-go/139 # timeout=10 21:50:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:50:41 > git --version # timeout=10 21:50:41 > git --version # 'git version 2.25.1' 21:50:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:47 Avoid second fetch 21:50:47 Checking out Revision 3d748354a43de7f92f17495f0075fba5a156a8dd (main) 21:50:46 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:50:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:47 > git config core.sparsecheckout # timeout=10 21:50:47 > git checkout -f 3d748354a43de7f92f17495f0075fba5a156a8dd # timeout=10 21:50:48 Commit message: "fix: Address CVE in Alpine base image (#525)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:50:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:50:49 % Total % Received % Xferd Average Speed Time Time Time Current 21:50:49 Dload Upload Total Spent Left Speed 21:50:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 187k 0 --:--:-- --:--:-- --:--:-- 187k [Pipeline] sh 21:50:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:50:50 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 21:50:50 tee /etc/docker/daemon.new 21:50:50 { 21:50:50 "registry-mirrors": [ 21:50:50 "https://nexus3.edgexfoundry.org:10001" 21:50:50 ], 21:50:50 "bip": "10.250.0.254/24", 21:50:50 "hosts": [ 21:50:50 "tcp://0.0.0.0:5555", 21:50:50 "unix:///var/run/docker.sock" 21:50:50 ], 21:50:50 "mtu": 1458, 21:50:50 "selinux-enabled": true, 21:50:50 "seccomp-profile": "/etc/docker/seccomp.json" 21:50:50 } [Pipeline] sh 21:50:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:50:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:09 provisioning config files... 21:51:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/139@tmp/config5491173306829372315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:09 ---> docker-login.sh 21:51:09 nexus3.edgexfoundry.org:10001 21:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:10 Configure a credential helper to remove this warning. See 21:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:10 21:51:10 Login Succeeded 21:51:10 nexus3.edgexfoundry.org:10002 21:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:11 Configure a credential helper to remove this warning. See 21:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:11 21:51:11 Login Succeeded 21:51:11 nexus3.edgexfoundry.org:10003 21:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:11 Configure a credential helper to remove this warning. See 21:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:11 21:51:11 Login Succeeded 21:51:11 nexus3.edgexfoundry.org:10004 21:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:11 Configure a credential helper to remove this warning. See 21:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:11 21:51:11 Login Succeeded 21:51:11 docker.io 21:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:12 Configure a credential helper to remove this warning. See 21:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:12 21:51:12 Login Succeeded 21:51:12 ---> docker-login.sh ends [Pipeline] } 21:51:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:12 ========================================================= 21:51:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:51:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:51:13 Sending build context to Docker daemon 3.402MB 21:51:13 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:51:13 Step 2/10 : FROM ${BASE} AS builder 21:51:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:51:15 9fda8d8052c6: Pulling fs layer 21:51:15 5d54e960e981: Pulling fs layer 21:51:15 c4a7e357bf2a: Pulling fs layer 21:51:15 f0e02332f6b5: Pulling fs layer 21:51:15 872ee5b61b7b: Pulling fs layer 21:51:15 0c6a40ed1a82: Pulling fs layer 21:51:15 94ae7d8d031c: Pulling fs layer 21:51:15 f0e02332f6b5: Waiting 21:51:15 872ee5b61b7b: Waiting 21:51:15 0c6a40ed1a82: Waiting 21:51:16 5d54e960e981: Verifying Checksum 21:51:16 5d54e960e981: Download complete 21:51:16 f0e02332f6b5: Verifying Checksum 21:51:16 f0e02332f6b5: Download complete 21:51:16 872ee5b61b7b: Verifying Checksum 21:51:16 872ee5b61b7b: Download complete 21:51:16 9fda8d8052c6: Download complete 21:51:17 94ae7d8d031c: Verifying Checksum 21:51:17 94ae7d8d031c: Download complete 21:51:17 9fda8d8052c6: Pull complete 21:51:18 5d54e960e981: Pull complete 21:51:18 c4a7e357bf2a: Verifying Checksum 21:51:18 c4a7e357bf2a: Download complete 21:51:20 0c6a40ed1a82: Verifying Checksum 21:51:20 0c6a40ed1a82: Download complete 21:51:35 c4a7e357bf2a: Pull complete 21:51:35 f0e02332f6b5: Pull complete 21:51:35 872ee5b61b7b: Pull complete 21:51:42 0c6a40ed1a82: Pull complete 21:51:44 94ae7d8d031c: Pull complete 21:51:44 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 21:51:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:51:44 ---> 86de565de09d 21:51:44 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:51:46 ---> Running in 3b3f7a48dc54 21:51:46 Removing intermediate container 3b3f7a48dc54 21:51:46 ---> 7963c82007dd 21:51:46 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:46 ---> Running in 90bc29dbb60b 21:51:46 Removing intermediate container 90bc29dbb60b 21:51:46 ---> a9d49cfded11 21:51:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:51:47 ---> Running in e80af41478ff 21:51:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:51:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:51:50 (1/8) Installing openssh-keygen (9.3_p2-r0) 21:51:50 (2/8) Installing libedit (20221030.3.1-r1) 21:51:50 (3/8) Installing openssh-client-common (9.3_p2-r0) 21:51:50 (4/8) Installing openssh-client-default (9.3_p2-r0) 21:51:50 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 21:51:50 (6/8) Installing openssh-server-common (9.3_p2-r0) 21:51:50 (7/8) Installing openssh-server (9.3_p2-r0) 21:51:50 (8/8) Installing openssh (9.3_p2-r0) 21:51:50 Executing busybox-1.36.1-r5.trigger 21:51:50 OK: 272 MiB in 60 packages 21:51:51 Removing intermediate container e80af41478ff 21:51:51 ---> af6daa1d7be7 21:51:51 Step 6/10 : WORKDIR /device-modbus-go 21:51:51 ---> Running in 60ffe70c679d 21:51:52 Removing intermediate container 60ffe70c679d 21:51:52 ---> b5ceefef56d5 21:51:52 Step 7/10 : COPY go.mod vendor* ./ 21:51:53 ---> c1c235b6da2a 21:51:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:53 ---> Running in 0092da47dbf6 21:53:15 Removing intermediate container 0092da47dbf6 21:53:15 ---> 9972a5b04e99 21:53:15 Step 9/10 : COPY . . 21:53:15 ---> 3052c48b9334 21:53:15 Step 10/10 : RUN ${MAKE} 21:53:15 ---> Running in 6dec3d5f2e31 21:53:15 noop 21:53:15 Removing intermediate container 6dec3d5f2e31 21:53:15 ---> 3414e25d7bcd 21:53:15 Successfully built 3414e25d7bcd 21:53:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:16 + docker inspect -f . ci-base-image-arm64 21:53:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:16 prd-ubuntu20.04-docker-arm64-4c-16g-17555 does not seem to be running inside a container 21:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/139 -v /w/workspace/device-modbus-go/139:/w/workspace/device-modbus-go/139:rw,z -v /w/workspace/device-modbus-go/139@tmp:/w/workspace/device-modbus-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:53:17 $ docker top c1df10c225eb60de2c9d8a86c7f4e84d8222f14bc93a44d59601a2ce025e50af -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:18 + go version 21:53:18 go version go1.21.0 linux/arm64 [Pipeline] } 21:53:18 $ docker stop --time=1 c1df10c225eb60de2c9d8a86c7f4e84d8222f14bc93a44d59601a2ce025e50af 21:53:20 $ docker rm -f --volumes c1df10c225eb60de2c9d8a86c7f4e84d8222f14bc93a44d59601a2ce025e50af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:21 + docker inspect -f . ci-base-image-arm64 21:53:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:21 prd-ubuntu20.04-docker-arm64-4c-16g-17555 does not seem to be running inside a container 21:53:21 $ 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/139 -v /w/workspace/device-modbus-go/139:/w/workspace/device-modbus-go/139:rw,z -v /w/workspace/device-modbus-go/139@tmp:/w/workspace/device-modbus-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:53:23 $ docker top c66e05a88885d4e21dedbf4383eace6908859321771d4700670111d98bf187c1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:23 + git config --global --add safe.directory /w/workspace/device-modbus-go/139 [Pipeline] fileExists [Pipeline] sh 21:53:24 + make test 21:53:24 go test ./... -coverprofile=coverage.out 21:53:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:56:06 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:56:06 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.162s coverage: 47.9% of statements 21:56:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:56:06 go vet ./... 21:56:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:56:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:56:39 ./bin/test-attribution-txt.sh [Pipeline] echo 21:56:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:56:39 $ docker stop --time=1 c66e05a88885d4e21dedbf4383eace6908859321771d4700670111d98bf187c1 21:56:41 $ docker rm -f --volumes c66e05a88885d4e21dedbf4383eace6908859321771d4700670111d98bf187c1 [Pipeline] // withDockerContainer [Pipeline] sh 21:56:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:56:42 Warning: overwriting stash ‘coverage-report’ 21:56:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:56:44 + ls -al . 21:56:44 total 188 21:56:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:53 . 21:56:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:50 .. 21:56:44 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 21:50 .dockerignore 21:56:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:50 .git 21:56:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:50 .github 21:56:44 -rw-rw-r-- 1 jenkins jenkins 266 Nov 14 21:50 .gitignore 21:56:44 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:50 .golangci.yml 21:56:44 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 14 21:50 Attribution.txt 21:56:44 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 14 21:50 CHANGELOG.md 21:56:44 -rw-rw-r-- 1 jenkins jenkins 1474 Nov 14 21:50 Dockerfile 21:56:44 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:50 GOVERNANCE.md 21:56:44 -rw-rw-r-- 1 jenkins jenkins 658 Nov 14 21:50 Jenkinsfile 21:56:44 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 21:50 LICENSE 21:56:44 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 14 21:50 Makefile 21:56:44 -rw-rw-r-- 1 jenkins jenkins 622 Nov 14 21:50 OWNERS.md 21:56:44 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 14 21:50 README.md 21:56:44 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:47 VERSION 21:56:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:50 bin 21:56:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:50 cmd 21:56:44 -rw-r--r-- 1 jenkins jenkins 24334 Nov 14 21:56 coverage.out 21:56:44 -rw-rw-r-- 1 jenkins jenkins 3895 Nov 14 21:50 go.mod 21:56:44 -rw-rw-r-- 1 jenkins jenkins 35342 Nov 14 21:50 go.sum 21:56:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:50 internal 21:56:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:50 simulator 21:56:44 -rw-rw-r-- 1 jenkins jenkins 229 Nov 14 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:44 + 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=3d748354a43de7f92f17495f0075fba5a156a8dd --label arch=arm64 --label version=3.1.0-dev.25 . 21:56:44 Sending build context to Docker daemon 3.427MB 21:56:44 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 21:56:44 Step 2/23 : FROM ${BASE} AS builder 21:56:44 ---> 3414e25d7bcd 21:56:44 Step 3/23 : ARG ADD_BUILD_TAGS="" 21:56:45 ---> Running in 9d18b963c19b 21:56:46 Removing intermediate container 9d18b963c19b 21:56:46 ---> 433cdfbcda4c 21:56:46 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:56:46 ---> Running in 01d2d877d35b 21:56:46 Removing intermediate container 01d2d877d35b 21:56:46 ---> e14ef4d7ac19 21:56:46 Step 5/23 : RUN apk add --update --no-cache make git openssh 21:56:46 ---> Running in 0dc5b6cbaa33 21:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:56:49 OK: 272 MiB in 60 packages 21:56:50 Removing intermediate container 0dc5b6cbaa33 21:56:50 ---> 693b454f96c7 21:56:50 Step 6/23 : WORKDIR /device-modbus-go 21:56:51 ---> Running in 040e5ce84d59 21:56:51 Removing intermediate container 040e5ce84d59 21:56:51 ---> 45d9ea499fb5 21:56:51 Step 7/23 : COPY go.mod vendor* ./ 21:56:52 ---> 79d5fafb4b2a 21:56:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:52 ---> Running in bf00034b7746 21:56:54 Removing intermediate container bf00034b7746 21:56:54 ---> ee90ccce365b 21:56:54 Step 9/23 : COPY . . 21:56:55 ---> 9b748624c552 21:56:55 Step 10/23 : RUN ${MAKE} 21:56:55 ---> Running in 0f0d45efe207 21:56:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:59:18 Removing intermediate container 0f0d45efe207 21:59:18 ---> b147c0417f08 21:59:18 Step 11/23 : FROM alpine:3.18 21:59:18 3.18: Pulling from library/alpine 21:59:18 579b34f0a95b: Pulling fs layer 21:59:18 579b34f0a95b: Verifying Checksum 21:59:18 579b34f0a95b: Download complete 21:59:18 579b34f0a95b: Pull complete 21:59:18 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:59:18 Status: Downloaded newer image for alpine:3.18 21:59:18 ---> 3cc203321400 21:59:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:59:18 ---> Running in a24728242477 21:59:18 Removing intermediate container a24728242477 21:59:18 ---> 6abbf2ce6fd6 21:59:18 Step 13/23 : RUN apk add --update --no-cache dumb-init 21:59:18 ---> Running in 8cadb4108d68 21:59:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:59:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:59:20 (1/1) Installing dumb-init (1.2.5-r2) 21:59:20 Executing busybox-1.36.1-r2.trigger 21:59:20 OK: 8 MiB in 16 packages 21:59:21 Removing intermediate container 8cadb4108d68 21:59:21 ---> b5d448f72a20 21:59:21 Step 14/23 : RUN apk --no-cache upgrade 21:59:21 ---> Running in 4285f5a68aa0 21:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:59:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:59:24 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:59:24 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:59:24 Executing busybox-1.36.1-r5.post-upgrade 21:59:24 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:59:24 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:59:24 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:59:24 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:59:24 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:59:24 Executing busybox-1.36.1-r5.trigger 21:59:24 OK: 8 MiB in 16 packages 21:59:26 Removing intermediate container 4285f5a68aa0 21:59:26 ---> d68c53f70a88 21:59:26 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 21:59:27 ---> 6c616e8c4cc2 21:59:27 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 21:59:28 ---> 311b6798b484 21:59:28 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:59:28 ---> 958532901ac3 21:59:28 Step 18/23 : EXPOSE 59901 21:59:28 ---> Running in 8e311bce6d9c 21:59:28 Removing intermediate container 8e311bce6d9c 21:59:28 ---> 542c6ac0e539 21:59:28 Step 19/23 : ENTRYPOINT ["/device-modbus"] 21:59:29 ---> Running in cc917d3483a3 21:59:29 Removing intermediate container cc917d3483a3 21:59:29 ---> 7701602ebfb8 21:59:29 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:59:29 ---> Running in 65c4c153708e 21:59:30 Removing intermediate container 65c4c153708e 21:59:30 ---> 36b2bcdb0079 21:59:30 Step 21/23 : LABEL arch=arm64 21:59:30 ---> Running in cf59985a8f14 21:59:30 Removing intermediate container cf59985a8f14 21:59:30 ---> 6e73a5e83be9 21:59:30 Step 22/23 : LABEL git_sha=3d748354a43de7f92f17495f0075fba5a156a8dd 21:59:30 ---> Running in 51aef1f98874 21:59:30 Removing intermediate container 51aef1f98874 21:59:30 ---> ed6feced9480 21:59:30 Step 23/23 : LABEL version=3.1.0-dev.25 21:59:31 ---> Running in 7b0693bff64b 21:59:31 Removing intermediate container 7b0693bff64b 21:59:31 ---> 9552fce7e7a7 21:59:31 [Warning] One or more build-args [ARCH] were not consumed 21:59:31 Successfully built 9552fce7e7a7 21:59:31 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 21:59:31 provisioning config files... 21:59:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/139@tmp/config4585445350947279123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:32 ---> docker-login.sh 21:59:32 nexus3.edgexfoundry.org:10001 21:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:32 Configure a credential helper to remove this warning. See 21:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:32 21:59:32 Login Succeeded 21:59:32 nexus3.edgexfoundry.org:10002 21:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:33 Configure a credential helper to remove this warning. See 21:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:33 21:59:33 Login Succeeded 21:59:33 nexus3.edgexfoundry.org:10003 21:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:33 Configure a credential helper to remove this warning. See 21:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:33 21:59:33 Login Succeeded 21:59:33 nexus3.edgexfoundry.org:10004 21:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:33 Configure a credential helper to remove this warning. See 21:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:33 21:59:33 Login Succeeded 21:59:33 docker.io 21:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:34 Configure a credential helper to remove this warning. See 21:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:34 21:59:34 Login Succeeded 21:59:34 ---> docker-login.sh ends [Pipeline] } 21:59:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:59:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:59:34 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 21:59:34 3d748354a43de7f92f17495f0075fba5a156a8dd 21:59:34 latest 21:59:34 3.1.0-dev.25 21:59:34 3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25 21:59:34 main 21:59:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3d748354a43de7f92f17495f0075fba5a156a8dd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3d748354a43de7f92f17495f0075fba5a156a8dd 21:59:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:59:35 2a9076e25ada: Preparing 21:59:35 a4b0d8144167: Preparing 21:59:35 a9f7489271b1: Preparing 21:59:35 ff808d9db467: Preparing 21:59:35 09531b17b825: Preparing 21:59:35 5f4d9fc4d98d: Preparing 21:59:35 5f4d9fc4d98d: Waiting 21:59:35 a4b0d8144167: Pushed 21:59:35 2a9076e25ada: Pushed 21:59:35 09531b17b825: Pushed 21:59:35 5f4d9fc4d98d: Layer already exists 21:59:37 ff808d9db467: Pushed 21:59:42 a9f7489271b1: Pushed 21:59:42 3d748354a43de7f92f17495f0075fba5a156a8dd: digest: sha256:809b549225bf4e8f8e056ee571a8be947f723f9ce01352c0ecfddf2d0d87d040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:43 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:59:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:59:43 2a9076e25ada: Preparing 21:59:43 a4b0d8144167: Preparing 21:59:43 a9f7489271b1: Preparing 21:59:43 ff808d9db467: Preparing 21:59:43 09531b17b825: Preparing 21:59:43 5f4d9fc4d98d: Preparing 21:59:43 5f4d9fc4d98d: Waiting 21:59:43 a9f7489271b1: Layer already exists 21:59:43 2a9076e25ada: Layer already exists 21:59:43 09531b17b825: Layer already exists 21:59:43 a4b0d8144167: Layer already exists 21:59:43 ff808d9db467: Layer already exists 21:59:43 5f4d9fc4d98d: Layer already exists 21:59:43 latest: digest: sha256:809b549225bf4e8f8e056ee571a8be947f723f9ce01352c0ecfddf2d0d87d040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.25 21:59:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:59:44 2a9076e25ada: Preparing 21:59:44 a4b0d8144167: Preparing 21:59:44 a9f7489271b1: Preparing 21:59:44 ff808d9db467: Preparing 21:59:44 09531b17b825: Preparing 21:59:44 5f4d9fc4d98d: Preparing 21:59:44 5f4d9fc4d98d: Waiting 21:59:44 ff808d9db467: Layer already exists 21:59:44 09531b17b825: Layer already exists 21:59:44 a4b0d8144167: Layer already exists 21:59:44 2a9076e25ada: Layer already exists 21:59:44 a9f7489271b1: Layer already exists 21:59:44 5f4d9fc4d98d: Layer already exists 21:59:44 3.1.0-dev.25: digest: sha256:809b549225bf4e8f8e056ee571a8be947f723f9ce01352c0ecfddf2d0d87d040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25 21:59:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:59:45 2a9076e25ada: Preparing 21:59:45 a4b0d8144167: Preparing 21:59:45 a9f7489271b1: Preparing 21:59:45 ff808d9db467: Preparing 21:59:45 09531b17b825: Preparing 21:59:45 5f4d9fc4d98d: Preparing 21:59:45 5f4d9fc4d98d: Waiting 21:59:45 2a9076e25ada: Layer already exists 21:59:45 ff808d9db467: Layer already exists 21:59:45 a4b0d8144167: Layer already exists 21:59:45 a9f7489271b1: Layer already exists 21:59:45 09531b17b825: Layer already exists 21:59:45 5f4d9fc4d98d: Layer already exists 21:59:45 3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25: digest: sha256:809b549225bf4e8f8e056ee571a8be947f723f9ce01352c0ecfddf2d0d87d040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 21:59:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:59:46 2a9076e25ada: Preparing 21:59:46 a4b0d8144167: Preparing 21:59:46 a9f7489271b1: Preparing 21:59:46 ff808d9db467: Preparing 21:59:46 09531b17b825: Preparing 21:59:46 5f4d9fc4d98d: Preparing 21:59:46 5f4d9fc4d98d: Waiting 21:59:46 a9f7489271b1: Layer already exists 21:59:46 a4b0d8144167: Layer already exists 21:59:46 ff808d9db467: Layer already exists 21:59:46 09531b17b825: Layer already exists 21:59:46 2a9076e25ada: Layer already exists 21:59:46 5f4d9fc4d98d: Layer already exists 21:59:46 main: digest: sha256:809b549225bf4e8f8e056ee571a8be947f723f9ce01352c0ecfddf2d0d87d040 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:59:46 ===================================================== [Pipeline] echo 21:59:46 taggedImages: 21:59:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3d748354a43de7f92f17495f0075fba5a156a8dd 21:59:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:59:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.25 21:59:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3d748354a43de7f92f17495f0075fba5a156a8dd-3.1.0-dev.25 21:59:46 - 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 21:59:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:59:47 21:59:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:59:50 arm64: Pulling from edgex-lftools-log-publisher 21:59:50 8998bd30e6a1: Pulling fs layer 21:59:50 04944245beec: Pulling fs layer 21:59:50 699f458cf7ca: Pulling fs layer 21:59:50 765212b225bb: Pulling fs layer 21:59:50 f23df028b6ca: Pulling fs layer 21:59:50 d65c8cfc05b1: Pulling fs layer 21:59:50 2437ff75d9bd: Pulling fs layer 21:59:50 765212b225bb: Waiting 21:59:50 f23df028b6ca: Waiting 21:59:50 d65c8cfc05b1: Waiting 21:59:50 2437ff75d9bd: Waiting 21:59:50 04944245beec: Verifying Checksum 21:59:50 04944245beec: Download complete 21:59:50 765212b225bb: Verifying Checksum 21:59:50 765212b225bb: Download complete 21:59:50 f23df028b6ca: Verifying Checksum 21:59:50 f23df028b6ca: Download complete 21:59:50 d65c8cfc05b1: Verifying Checksum 21:59:50 d65c8cfc05b1: Download complete 21:59:50 699f458cf7ca: Verifying Checksum 21:59:50 699f458cf7ca: Download complete 21:59:51 8998bd30e6a1: Verifying Checksum 21:59:51 8998bd30e6a1: Download complete 21:59:54 2437ff75d9bd: Verifying Checksum 21:59:54 2437ff75d9bd: Download complete 21:59:56 8998bd30e6a1: Pull complete 21:59:57 04944245beec: Pull complete 21:59:59 699f458cf7ca: Pull complete 21:59:59 765212b225bb: Pull complete 22:00:00 f23df028b6ca: Pull complete 22:00:00 d65c8cfc05b1: Pull complete 22:00:18 2437ff75d9bd: Pull complete 22:00:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:00:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:19 prd-ubuntu20.04-docker-arm64-4c-16g-17555 does not seem to be running inside a container 22:00:19 $ 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/139 -v /w/workspace/device-modbus-go/139:/w/workspace/device-modbus-go/139:rw,z -v /w/workspace/device-modbus-go/139@tmp:/w/workspace/device-modbus-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:00:22 $ docker top 7b23d5ab2dd6cdf27499e7d0b6668987ee170420990021776fdc56566225e797 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:23 ---> job-cost.sh 22:00:23 lf-activate-venv: SKIPPING 22:00:23 INFO: No Stack... 22:00:23 INFO: Retrieving Pricing Info for: v3-standard-4 22:00:24 INFO: Archiving Costs [Pipeline] sh 22:00:25 + cat /w/workspace/device-modbus-go/139/archives/cost.csv 22:00:25 + cut -d, -f6 [Pipeline] lock 22:00:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-139-stack-cost] 22:00:25 Resource [jenkins-edgexfoundry-device-modbus-go-main-139-stack-cost] did not exist. Created. 22:00:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:00:25 /w/workspace/device-modbus-go/139@tmp/durable-d967c67d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:00:26 + echo total: 0.10999999940395355 [Pipeline] stash 22:00:26 Warning: overwriting stash ‘stack-cost’ 22:00:26 Stashed 1 file(s) [Pipeline] } 22:00:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 22:00:26 $ docker stop --time=1 7b23d5ab2dd6cdf27499e7d0b6668987ee170420990021776fdc56566225e797 22:00:28 $ docker rm -f --volumes 7b23d5ab2dd6cdf27499e7d0b6668987ee170420990021776fdc56566225e797 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:00:28 provisioning config files... 22:00:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17529846051885455474tmp [Pipeline] { [Pipeline] sh 22:00:29 + set +x 22:00:29 + curl -s https://codecov.io/bash 22:00:29 + bash -s -- 22:00:29 22:00:29 _____ _ 22:00:29 / ____| | | 22:00:29 | | ___ __| | ___ ___ _____ __ 22:00:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:00:29 | |___| (_) | (_| | __/ (_| (_) \ V / 22:00:29 \_____\___/ \__,_|\___|\___\___/ \_/ 22:00:29 Bash-1.0.6 22:00:29 22:00:29 22:00:29 ==> git version 2.25.1 found 22:00:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:00:29 Release-Date: 2020-01-08 22:00:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:00:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:00:29 ==> Jenkins CI detected. 22:00:29 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 22:00:29 project root: . 22:00:29 --> token set from env 22:00:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:00:29 ==> Running gcov in . (disable via -X gcov) 22:00:29 ==> Python coveragepy not found 22:00:29 ==> Searching for coverage reports in: 22:00:29 + . 22:00:29 -> Found 1 reports 22:00:29 ==> Detecting git/mercurial file structure 22:00:29 ==> Reading reports 22:00:29 + ./coverage.out bytes=24334 22:00:29 ==> Appending adjustments 22:00:29 https://docs.codecov.io/docs/fixing-reports 22:00:29 + Found adjustments 22:00:29 ==> Gzipping contents 22:00:29 4.0K /tmp/codecov.9QI0QA.gz 22:00:29 ==> Uploading reports 22:00:29 url: https://codecov.io 22:00:29 query: branch=main&commit=3d748354a43de7f92f17495f0075fba5a156a8dd&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:00:29 -> Pinging Codecov 22:00:29 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=3d748354a43de7f92f17495f0075fba5a156a8dd&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:00:29 -> Uploading to 22:00:29 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/55DBCA73C666E3227836607328DD7E49/3d748354a43de7f92f17495f0075fba5a156a8dd/48ba6b8a-c28b-458c-97da-f25208dd9f93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T220029Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30d008894703ea99a018aab1628c111785cd24ecee652d4c952eeadd39750129 22:00:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:00:29 Dload Upload Total Spent Left Speed 22:00:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 16127 --:--:-- --:--:-- --:--:-- 16127 22:00:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3d748354a43de7f92f17495f0075fba5a156a8dd [Pipeline] } 22:00:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:00:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:00:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:00:30 22:00:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:00:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:00:30 df9b9388f04a: Pulling fs layer 22:00:30 52dc419b0ee2: Pulling fs layer 22:00:30 25bc292e5bac: Pulling fs layer 22:00:30 114826534d7a: Pulling fs layer 22:00:30 4657fd5d0bcf: Pulling fs layer 22:00:30 6ad1cebc031e: Pulling fs layer 22:00:30 8a3aa393b2d8: Pulling fs layer 22:00:30 4657fd5d0bcf: Waiting 22:00:30 6ad1cebc031e: Waiting 22:00:30 8a3aa393b2d8: Waiting 22:00:30 114826534d7a: Waiting 22:00:30 25bc292e5bac: Verifying Checksum 22:00:30 25bc292e5bac: Download complete 22:00:30 52dc419b0ee2: Verifying Checksum 22:00:30 4657fd5d0bcf: Verifying Checksum 22:00:30 4657fd5d0bcf: Download complete 22:00:30 df9b9388f04a: Download complete 22:00:30 df9b9388f04a: Pull complete 22:00:30 6ad1cebc031e: Verifying Checksum 22:00:30 6ad1cebc031e: Download complete 22:00:30 52dc419b0ee2: Pull complete 22:00:30 25bc292e5bac: Pull complete 22:00:31 114826534d7a: Verifying Checksum 22:00:31 114826534d7a: Download complete 22:00:31 8a3aa393b2d8: Verifying Checksum 22:00:31 8a3aa393b2d8: Download complete 22:00:34 114826534d7a: Pull complete 22:00:34 4657fd5d0bcf: Pull complete 22:00:34 6ad1cebc031e: Pull complete 22:00:37 8a3aa393b2d8: Pull complete 22:00:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:00:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:00:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:37 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 22:00:37 $ 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 22:00:41 $ docker top 8e8ad9c545dc875c989f790ad09237449266cea8b590f071d573bcaa9663b384 -eo pid,comm [Pipeline] { [Pipeline] echo 22:00:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 22:00:42 + set -o pipefail 22:00:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 22:00:47 22:00:47 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 22:00:47 22:00:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/1c6d1752-41ab-4035-ae78-3823b1158e33 22:00:47 22:00:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:00:47 22:00:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:00:47 22:00:47 22:00:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:00:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:00:47 More details here: https://snyk.co/ue1NS 22:00:47 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:00:47 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:00:47 $ docker stop --time=1 8e8ad9c545dc875c989f790ad09237449266cea8b590f071d573bcaa9663b384 22:00:50 $ docker rm -f --volumes 8e8ad9c545dc875c989f790ad09237449266cea8b590f071d573bcaa9663b384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:00:51 + git log --format=format:%s -1 3d748354a43de7f92f17495f0075fba5a156a8dd [Pipeline] sh 22:00:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:00:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:52 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 22:00:52 $ 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 22:00:52 $ docker top 8b678a238bfb1f12d01b159de2cef9e57a0df696f3009aff6dbc704c39184e5d -eo pid,comm 22:00:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:00:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:00:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:52 [ssh-agent] Looking for ssh-agent implementation... 22:00:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:52 $ docker exec 8b678a238bfb1f12d01b159de2cef9e57a0df696f3009aff6dbc704c39184e5d ssh-agent 22:00:53 SSH_AUTH_SOCK=/tmp/ssh-trKomXaPyk9h/agent.32 22:00:53 SSH_AGENT_PID=38 22:00:53 Running ssh-add (command line suppressed) 22:00:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7182572965522074313.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7182572965522074313.key) 22:00:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:53 + git semver tag 22:00:53 2023-11-14 22:00:53,618 [run_tag] DEBUG tag force:False 22:00:53 2023-11-14 22:00:53,618 [check_head_tag] DEBUG check head tag 22:00:53 2023-11-14 22:00:53,619 [execute] INFO git cat-file --batch-check 22:00:53 2023-11-14 22:00:53,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:00:53 2023-11-14 22:00:53,623 [execute] INFO git cat-file --batch 22:00:53 2023-11-14 22:00:53,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:00:53 2023-11-14 22:00:53,638 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:00:53 2023-11-14 22:00:53,638 [execute] INFO git tag -a v3.1.0-dev.25 -m v3.1.0-dev.25 22:00:53 2023-11-14 22:00:53,638 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.25', '-m', 'v3.1.0-dev.25'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:00:53 2023-11-14 22:00:53,643 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:00:53 3.1.0-dev.25 [Pipeline] } 22:00:53 $ docker exec --env ******** --env ******** 8b678a238bfb1f12d01b159de2cef9e57a0df696f3009aff6dbc704c39184e5d ssh-agent -k 22:00:53 unset SSH_AUTH_SOCK; 22:00:53 unset SSH_AGENT_PID; 22:00:53 echo Agent pid 38 killed; 22:00:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:00:54 + git semver [Pipeline] } 22:00:54 $ docker stop --time=1 8b678a238bfb1f12d01b159de2cef9e57a0df696f3009aff6dbc704c39184e5d 22:00:55 $ docker rm -f --volumes 8b678a238bfb1f12d01b159de2cef9e57a0df696f3009aff6dbc704c39184e5d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:00:56 22:00:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:00:56 0.23.1-centos7: Pulling from edgex-lftools 22:00:56 ab5ef0e58194: Pulling fs layer 22:00:56 9712f1f96733: Pulling fs layer 22:00:56 63f879dbbcfc: Pulling fs layer 22:00:56 0d9ebad4ef96: Pulling fs layer 22:00:56 e9a5061849ea: Pulling fs layer 22:00:56 d747dcd14b5f: Pulling fs layer 22:00:56 2de7ff778b66: Pulling fs layer 22:00:56 e9a5061849ea: Waiting 22:00:56 d747dcd14b5f: Waiting 22:00:56 2de7ff778b66: Waiting 22:00:56 0d9ebad4ef96: Waiting 22:00:56 9712f1f96733: Verifying Checksum 22:00:56 9712f1f96733: Download complete 22:00:56 63f879dbbcfc: Verifying Checksum 22:00:56 63f879dbbcfc: Download complete 22:00:56 e9a5061849ea: Verifying Checksum 22:00:56 e9a5061849ea: Download complete 22:00:56 d747dcd14b5f: Verifying Checksum 22:00:56 d747dcd14b5f: Download complete 22:00:56 ab5ef0e58194: Download complete 22:00:57 0d9ebad4ef96: Verifying Checksum 22:00:57 0d9ebad4ef96: Download complete 22:00:57 2de7ff778b66: Verifying Checksum 22:00:57 2de7ff778b66: Download complete 22:00:59 ab5ef0e58194: Pull complete 22:00:59 9712f1f96733: Pull complete 22:01:00 63f879dbbcfc: Pull complete 22:01:03 0d9ebad4ef96: Pull complete 22:01:04 e9a5061849ea: Pull complete 22:01:04 d747dcd14b5f: Pull complete 22:01:05 2de7ff778b66: Pull complete 22:01:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:01:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:05 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 22:01:05 $ 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 22:01:09 $ docker top fd19bda346e0317af3bcb59e3b05de9020d95652ebc0e2e428c32e45201119ce -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:01:09 provisioning config files... 22:01:09 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12713653343122775056tmp 22:01:09 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1337200941720947601tmp 22:01:09 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4423026932772072803tmp [Pipeline] { [Pipeline] echo 22:01:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:01:10 ---> sigul-configuration.sh 22:01:10 gpg: directory `/root/.gnupg' created 22:01:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:01:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:01:10 gpg: keyring `/root/.gnupg/secring.gpg' created 22:01:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:01:10 gpg: CAST5 encrypted data 22:01:10 gpg: encrypted with 1 passphrase 22:01:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:01:10 + mkdir /home/jenkins 22:01:10 + mkdir /home/jenkins/sigul [Pipeline] sh 22:01:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:01:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:01:11 ---> sigul-install.sh 22:01:11 Sigul already installed; skipping installation. [Pipeline] sh 22:01:11 + git tag --list 22:01:11 0.7.1 22:01:11 v1.0.0 22:01:11 v1.1.0 22:01:11 v1.1.1 22:01:11 v1.2.2 22:01:11 v1.3.0 22:01:11 v1.3.1 22:01:11 v2.0.0 22:01:11 v2.1.0 22:01:11 v2.1.1 22:01:11 v2.2.0 22:01:11 v2.3.0 22:01:11 v3.0 22:01:11 v3.0.0 22:01:11 v3.1.0-dev.1 22:01:11 v3.1.0-dev.10 22:01:11 v3.1.0-dev.11 22:01:11 v3.1.0-dev.12 22:01:11 v3.1.0-dev.13 22:01:11 v3.1.0-dev.14 22:01:11 v3.1.0-dev.15 22:01:11 v3.1.0-dev.16 22:01:11 v3.1.0-dev.17 22:01:11 v3.1.0-dev.18 22:01:11 v3.1.0-dev.19 22:01:11 v3.1.0-dev.2 22:01:11 v3.1.0-dev.20 22:01:11 v3.1.0-dev.21 22:01:11 v3.1.0-dev.22 22:01:11 v3.1.0-dev.23 22:01:11 v3.1.0-dev.24 22:01:11 v3.1.0-dev.25 22:01:11 v3.1.0-dev.3 22:01:11 v3.1.0-dev.4 22:01:11 v3.1.0-dev.5 22:01:11 v3.1.0-dev.6 22:01:11 v3.1.0-dev.7 22:01:11 v3.1.0-dev.8 22:01:11 v3.1.0-dev.9 [Pipeline] sh 22:01:11 + lftools sign git-tag v3.1.0-dev.25 22:01:12 Signing Git tag with Sigul... 22:01:12 Signing v3.1.0-dev.25 [Pipeline] echo 22:01:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:01:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:01:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:01:12 $ docker stop --time=1 fd19bda346e0317af3bcb59e3b05de9020d95652ebc0e2e428c32e45201119ce 22:01:14 $ docker rm -f --volumes fd19bda346e0317af3bcb59e3b05de9020d95652ebc0e2e428c32e45201119ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:01:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:14 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 22:01:14 $ 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 22:01:15 $ docker top dd91c42cb6711d8b02833f45ac0a03838e852f8bdb1f8d1cf60ceab2a6c2ef2b -eo pid,comm 22:01:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:01:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:15 [ssh-agent] Looking for ssh-agent implementation... 22:01:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:15 $ docker exec dd91c42cb6711d8b02833f45ac0a03838e852f8bdb1f8d1cf60ceab2a6c2ef2b ssh-agent 22:01:15 SSH_AUTH_SOCK=/tmp/ssh-Dru1ivMPTABZ/agent.33 22:01:15 SSH_AGENT_PID=39 22:01:15 Running ssh-add (command line suppressed) 22:01:15 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10512275669605356945.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10512275669605356945.key) 22:01:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:15 + git semver bump pre 22:01:16 2023-11-14 22:01:16,180 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:01:16 2023-11-14 22:01:16,180 [bump_version] DEBUG bumping version:3.1.0-dev.25 on axis:pre with prefix:dev 22:01:16 2023-11-14 22:01:16,180 [bump_version] DEBUG bumped version:3.1.0-dev.26 22:01:16 2023-11-14 22:01:16,180 [write_version] DEBUG write version:3.1.0-dev.26 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 22:01:16 2023-11-14 22:01:16,180 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:01:16 2023-11-14 22:01:16,180 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:01:16 2023-11-14 22:01:16,184 [execute] INFO git cat-file --batch-check 22:01:16 2023-11-14 22:01:16,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:01:16 2023-11-14 22:01:16,190 [execute] INFO git cat-file --batch 22:01:16 2023-11-14 22:01:16,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:01:16 2023-11-14 22:01:16,196 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:01:16 3.1.0-dev.26 [Pipeline] } 22:01:16 $ docker exec --env ******** --env ******** dd91c42cb6711d8b02833f45ac0a03838e852f8bdb1f8d1cf60ceab2a6c2ef2b ssh-agent -k 22:01:16 unset SSH_AUTH_SOCK; 22:01:16 unset SSH_AGENT_PID; 22:01:16 echo Agent pid 39 killed; 22:01:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:16 + git semver [Pipeline] } 22:01:16 $ docker stop --time=1 dd91c42cb6711d8b02833f45ac0a03838e852f8bdb1f8d1cf60ceab2a6c2ef2b 22:01:18 $ docker rm -f --volumes dd91c42cb6711d8b02833f45ac0a03838e852f8bdb1f8d1cf60ceab2a6c2ef2b [Pipeline] // withDockerContainer [Pipeline] sh 22:01:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:18 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 22:01:18 $ 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 22:01:19 $ docker top c8c4376d43f832e165bf12fbdfde24779aa68a803254a04fc77cd20c8e57bf46 -eo pid,comm 22:01:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:01:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:19 [ssh-agent] Looking for ssh-agent implementation... 22:01:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:19 $ docker exec c8c4376d43f832e165bf12fbdfde24779aa68a803254a04fc77cd20c8e57bf46 ssh-agent 22:01:19 SSH_AUTH_SOCK=/tmp/ssh-5BogCPCNDelO/agent.32 22:01:19 SSH_AGENT_PID=38 22:01:19 Running ssh-add (command line suppressed) 22:01:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1487770396732734586.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1487770396732734586.key) 22:01:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:20 + git semver push 22:01:20 2023-11-14 22:01:20,193 [run_push] DEBUG push 22:01:20 2023-11-14 22:01:20,194 [execute] INFO git cat-file --batch-check 22:01:20 2023-11-14 22:01:20,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:01:20 2023-11-14 22:01:20,197 [execute] INFO git rev-list 1ab6d55337a07b38a20b3ca284a56e2ca45be8e0 -- 22:01:20 2023-11-14 22:01:20,197 [execute] DEBUG Popen(['git', 'rev-list', '1ab6d55337a07b38a20b3ca284a56e2ca45be8e0', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:01:20 2023-11-14 22:01:20,205 [execute] INFO git fetch -v origin 22:01:20 2023-11-14 22:01:20,205 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:01:20 2023-11-14 22:01:20,762 [run_push] DEBUG no remote changes detected 22:01:20 2023-11-14 22:01:20,763 [execute] INFO git push origin semver 22:01:20 2023-11-14 22:01:20,763 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:01:21 2023-11-14 22:01:21,592 [run_push] DEBUG push all version tags 22:01:21 2023-11-14 22:01:21,592 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:01:21 2023-11-14 22:01:21,593 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:01:22 2023-11-14 22:01:22,317 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:01:22 3.1.0-dev.26 [Pipeline] } 22:01:22 $ docker exec --env ******** --env ******** c8c4376d43f832e165bf12fbdfde24779aa68a803254a04fc77cd20c8e57bf46 ssh-agent -k 22:01:22 unset SSH_AUTH_SOCK; 22:01:22 unset SSH_AGENT_PID; 22:01:22 echo Agent pid 38 killed; 22:01:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:22 + git semver [Pipeline] } 22:01:23 $ docker stop --time=1 c8c4376d43f832e165bf12fbdfde24779aa68a803254a04fc77cd20c8e57bf46 22:01:24 $ docker rm -f --volumes c8c4376d43f832e165bf12fbdfde24779aa68a803254a04fc77cd20c8e57bf46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:01:24 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 22:01:24 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:01:24 total 16 22:01:24 drwxr-xr-x 3 root root 4096 Nov 14 21:49 . 22:01:24 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:01 .. 22:01:24 drwxr-xr-x 2 root root 4096 Nov 14 21:49 cost 22:01:24 -rw-r--r-- 1 root root 88 Nov 14 21:49 cost.csv 22:01:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 22:01:24 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:01:24 total 16 22:01:24 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:49 . 22:01:24 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:01 .. 22:01:24 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 21:49 cost 22:01:24 -rw-r--r-- 1 jenkins jenkins 88 Nov 14 21:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:01:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:01:26 ---> package-listing.sh 22:01:26 ++ facter osfamily 22:01:26 ++ tr '[:upper:]' '[:lower:]' 22:01:26 + OS_FAMILY=debian 22:01:26 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 22:01:26 + START_PACKAGES=/tmp/packages_start.txt 22:01:26 + END_PACKAGES=/tmp/packages_end.txt 22:01:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:01:26 + PACKAGES=/tmp/packages_start.txt 22:01:26 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:01:26 + PACKAGES=/tmp/packages_end.txt 22:01:26 + case "${OS_FAMILY}" in 22:01:26 + dpkg -l 22:01:26 + grep '^ii' 22:01:26 + '[' -f /tmp/packages_start.txt ']' 22:01:26 + '[' -f /tmp/packages_end.txt ']' 22:01:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:01:26 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:01:26 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 22:01:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 22:01:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 22:01:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:01:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:27 prd-ubuntu20.04-docker-8c-8g-17546 does not seem to be running inside a container 22:01:27 $ 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 22:01:27 $ docker top 89482dcba4de74a5b909dc8cabede740c2d8e667c6810dd5f63aaea16bd30cc1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:27 + touch /tmp/pre-build-complete [Pipeline] sh 22:01:28 + mkdir -p /var/log/sysstat [Pipeline] sh 22:01:28 + ls /var/log/sa-host 22:01:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:28 provisioning config files... 22:01:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14396288999790828449tmp [Pipeline] { [Pipeline] echo 22:01:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:01:28 ---> create-netrc.sh [Pipeline] } 22:01:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:01:29 ---> python-tools-install.sh [Pipeline] echo 22:01:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:01:29 ---> sudo-logs.sh 22:01:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:01:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:01:29 ---> job-cost.sh 22:01:29 lf-activate-venv: SKIPPING 22:01:29 DEBUG: total: 0.2199999988079071 22:01:29 INFO: Retrieving Stack Cost... 22:01:30 INFO: Retrieving Pricing Info for: v3-standard-8 22:01:30 INFO: Archiving Costs [Pipeline] echo 22:01:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:01:30 ---> logs-deploy.sh 22:01:30 lf-activate-venv: SKIPPING 22:01:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/139 22:01:30 INFO: archiving workspace using pattern(s): 22:01:31 Archives upload complete. 22:01:31 INFO: archiving logs to Nexus