Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60f68763f8e382a62519363eb4c00d8ae3469bcd 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-ssh2698020959236409409.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh5443511980013129656.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6645399507563012209.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh12040607053073599596.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-ssh2929542213544763425.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18469 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 60f68763f8e382a62519363eb4c00d8ae3469bcd (main) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#490)" > 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 60f68763f8e382a62519363eb4c00d8ae3469bcd # timeout=10 > git rev-list --no-walk 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:53:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:53:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:53:36 ========================================================= 17:53:36 EdgeX Global Pipelines Version Info 17:53:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:53:37 ------------------- 17:53:37 stable info: 17:53:37 ------------------- 17:53:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:53:37 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:53:37 Message: update stable to v1.0.250 17:53:37 ------------------- 17:53:37 experimental info: 17:53:37 ------------------- 17:53:37 Commited By: **** collab-it+edgex@linuxfoundation.org 17:53:37 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:53:37 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:53:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60f6876 [Pipeline] echo 17:53:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:38 provisioning config files... 17:53:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10014214274825829860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:38 ---> docker-login.sh 17:53:38 nexus3.edgexfoundry.org:10001 17:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:38 Configure a credential helper to remove this warning. See 17:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:38 17:53:38 Login Succeeded 17:53:38 nexus3.edgexfoundry.org:10002 17:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:38 Configure a credential helper to remove this warning. See 17:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:38 17:53:38 Login Succeeded 17:53:38 nexus3.edgexfoundry.org:10003 17:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:39 Configure a credential helper to remove this warning. See 17:53:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:39 17:53:39 Login Succeeded 17:53:39 nexus3.edgexfoundry.org:10004 17:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:39 Configure a credential helper to remove this warning. See 17:53:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:39 17:53:39 Login Succeeded 17:53:39 docker.io 17:53:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:39 Configure a credential helper to remove this warning. See 17:53:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:39 17:53:39 Login Succeeded 17:53:39 ---> docker-login.sh ends [Pipeline] } 17:53:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:53:39 + git rev-list -1 --merges 60f68763f8e382a62519363eb4c00d8ae3469bcd~1..60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] echo 17:53:39 -----------> git rev-list -1 --merges 60f68763f8e382a62519363eb4c00d8ae3469bcd~1..60f68763f8e382a62519363eb4c00d8ae3469bcd 60f68763f8e382a62519363eb4c00d8ae3469bcd [false] [Pipeline] sh 17:53:40 + git log --format=format:%s -1 60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] echo 17:53:40 ========================================================= 17:53:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:53:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:53:40 + git log --format=format:%s -1 60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] echo 17:53:40 [semverPrep] GIT_COMMIT: 60f68763f8e382a62519363eb4c00d8ae3469bcd, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#490) [Pipeline] echo 17:53:40 [semverPrep] This is not a build commit. [Pipeline] sh 17:53:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:53:40 + grep -v github /etc/ssh/ssh_known_hosts 17:53:40 + [ -e /tmp/ssh_known_hosts ] 17:53:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:53:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:53:40 + sudo tee -a /etc/ssh/ssh_known_hosts 17:53:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:53:41 17:53:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:53:41 0.1.4: Pulling from edgex-devops/py-git-semver 17:53:41 b85a868b505f: Pulling fs layer 17:53:41 e2be974225ed: Pulling fs layer 17:53:41 339a4e72a1f5: Pulling fs layer 17:53:41 988bab9f4d93: Pulling fs layer 17:53:41 1469e6f7b9e6: Pulling fs layer 17:53:41 eaf3925da568: Pulling fs layer 17:53:41 bab4dde63d76: Pulling fs layer 17:53:41 bde34c3a00c8: Pulling fs layer 17:53:41 b352a97aabf1: Pulling fs layer 17:53:41 4872d77fe225: Pulling fs layer 17:53:41 5851b861e8e6: Pulling fs layer 17:53:41 988bab9f4d93: Waiting 17:53:41 1469e6f7b9e6: Waiting 17:53:41 eaf3925da568: Waiting 17:53:41 bab4dde63d76: Waiting 17:53:41 bde34c3a00c8: Waiting 17:53:41 b352a97aabf1: Waiting 17:53:41 4872d77fe225: Waiting 17:53:41 5851b861e8e6: Waiting 17:53:41 e2be974225ed: Download complete 17:53:41 988bab9f4d93: Verifying Checksum 17:53:41 988bab9f4d93: Download complete 17:53:41 1469e6f7b9e6: Verifying Checksum 17:53:41 1469e6f7b9e6: Download complete 17:53:41 339a4e72a1f5: Verifying Checksum 17:53:41 339a4e72a1f5: Download complete 17:53:41 eaf3925da568: Verifying Checksum 17:53:41 eaf3925da568: Download complete 17:53:41 bde34c3a00c8: Verifying Checksum 17:53:41 bde34c3a00c8: Download complete 17:53:41 b352a97aabf1: Download complete 17:53:41 4872d77fe225: Verifying Checksum 17:53:41 4872d77fe225: Download complete 17:53:41 5851b861e8e6: Verifying Checksum 17:53:41 5851b861e8e6: Download complete 17:53:41 b85a868b505f: Verifying Checksum 17:53:41 b85a868b505f: Download complete 17:53:42 bab4dde63d76: Verifying Checksum 17:53:42 bab4dde63d76: Download complete 17:53:42 b85a868b505f: Pull complete 17:53:42 e2be974225ed: Pull complete 17:53:43 339a4e72a1f5: Pull complete 17:53:43 988bab9f4d93: Pull complete 17:53:43 1469e6f7b9e6: Pull complete 17:53:43 eaf3925da568: Pull complete 17:53:45 bab4dde63d76: Pull complete 17:53:45 bde34c3a00c8: Pull complete 17:53:45 b352a97aabf1: Pull complete 17:53:45 4872d77fe225: Pull complete 17:53:45 5851b861e8e6: Pull complete 17:53:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:53:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:45 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 17:53:45 $ 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 17:53:48 $ docker top 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 -eo pid,comm 17:53:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:53:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:53:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:53:48 [ssh-agent] Looking for ssh-agent implementation... 17:53:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:53:48 $ docker exec 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 ssh-agent 17:53:48 SSH_AUTH_SOCK=/tmp/ssh-JEP0d3bfoX2n/agent.33 17:53:48 SSH_AGENT_PID=39 17:53:48 Running ssh-add (command line suppressed) 17:53:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12254236306627785420.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12254236306627785420.key) 17:53:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:53:48 + git tag --points-at HEAD [Pipeline] } 17:53:48 $ docker exec --env ******** --env ******** 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 ssh-agent -k 17:53:48 unset SSH_AUTH_SOCK; 17:53:48 unset SSH_AGENT_PID; 17:53:48 echo Agent pid 39 killed; 17:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:53:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:53:48 [ssh-agent] Looking for ssh-agent implementation... 17:53:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:53:49 $ docker exec 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 ssh-agent 17:53:49 SSH_AUTH_SOCK=/tmp/ssh-kvNV4wnK3Vaw/agent.71 17:53:49 SSH_AGENT_PID=78 17:53:49 Running ssh-add (command line suppressed) 17:53:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11307208949079195931.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11307208949079195931.key) 17:53:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:53:49 + git semver init 17:53:49 2023-06-12 17:53:49,694 [run_init] DEBUG init version:0.0.0 force:False 17:53:49 2023-06-12 17:53:49,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 17:53:49 2023-06-12 17:53:49,695 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 17:53:49 2023-06-12 17:53:49,695 [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) 17:53:50 2023-06-12 17:53:50,495 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 17:53:50 2023-06-12 17:53:50,496 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 17:53:50 2023-06-12 17:53:50,496 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:53:50 2023-06-12 17:53:50,496 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:53:50 3.1.0-dev.1 [Pipeline] } 17:53:50 $ docker exec --env ******** --env ******** 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 ssh-agent -k 17:53:50 unset SSH_AUTH_SOCK; 17:53:50 unset SSH_AGENT_PID; 17:53:50 echo Agent pid 78 killed; 17:53:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:53:51 + git semver [Pipeline] } 17:53:51 $ docker stop --time=1 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 17:53:52 $ docker rm -f --volumes 90211646e91e7559c4817c4315fc4a37206c45ee82ed7ad1d21d544173922569 [Pipeline] // withDockerContainer [Pipeline] sh 17:53:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:53:53 Stashed 1 file(s) [Pipeline] echo 17:53:53 [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:53 provisioning config files... 17:53:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4081718672243848833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:53 ---> docker-login.sh 17:53:53 nexus3.edgexfoundry.org:10001 17:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:53 Configure a credential helper to remove this warning. See 17:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:53 17:53:53 Login Succeeded 17:53:53 nexus3.edgexfoundry.org:10002 17:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:53 Configure a credential helper to remove this warning. See 17:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:53 17:53:53 Login Succeeded 17:53:53 nexus3.edgexfoundry.org:10003 17:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:53 Configure a credential helper to remove this warning. See 17:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:53 17:53:53 Login Succeeded 17:53:53 nexus3.edgexfoundry.org:10004 17:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:53 Configure a credential helper to remove this warning. See 17:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:53 17:53:53 Login Succeeded 17:53:53 docker.io 17:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:54 Configure a credential helper to remove this warning. See 17:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:54 17:53:54 Login Succeeded 17:53:54 ---> docker-login.sh ends [Pipeline] } 17:53:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:54 ========================================================= 17:53:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:53:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:53:54 Sending build context to Docker daemon 6.395MB 17:53:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:53:54 Step 2/10 : FROM ${BASE} AS builder 17:53:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:53:54 f56be85fc22e: Pulling fs layer 17:53:54 85791d961cd3: Pulling fs layer 17:53:54 d694b5ae8c79: Pulling fs layer 17:53:54 9f32a84ed3da: Pulling fs layer 17:53:54 4d19c01a9841: Pulling fs layer 17:53:54 9325e15d5711: Pulling fs layer 17:53:54 556b6ee489ea: Pulling fs layer 17:53:54 c5a4b2cf53e6: Pulling fs layer 17:53:54 9f32a84ed3da: Waiting 17:53:54 4d19c01a9841: Waiting 17:53:54 9325e15d5711: Waiting 17:53:54 c5a4b2cf53e6: Waiting 17:53:54 85791d961cd3: Verifying Checksum 17:53:54 85791d961cd3: Download complete 17:53:54 9f32a84ed3da: Download complete 17:53:54 4d19c01a9841: Verifying Checksum 17:53:54 4d19c01a9841: Download complete 17:53:54 f56be85fc22e: Verifying Checksum 17:53:54 f56be85fc22e: Download complete 17:53:54 9325e15d5711: Verifying Checksum 17:53:54 9325e15d5711: Download complete 17:53:54 f56be85fc22e: Pull complete 17:53:55 85791d961cd3: Pull complete 17:53:55 c5a4b2cf53e6: Verifying Checksum 17:53:55 c5a4b2cf53e6: Download complete 17:53:55 d694b5ae8c79: Download complete 17:53:55 556b6ee489ea: Download complete 17:53:58 d694b5ae8c79: Pull complete 17:53:58 9f32a84ed3da: Pull complete 17:53:58 4d19c01a9841: Pull complete 17:53:58 9325e15d5711: Pull complete 17:54:01 556b6ee489ea: Pull complete 17:54:01 c5a4b2cf53e6: Pull complete 17:54:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:54:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:54:01 ---> c4be618373d6 17:54:01 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:54:05 ---> Running in 9f25d8a26818 17:54:05 Removing intermediate container 9f25d8a26818 17:54:05 ---> 26de913abea1 17:54:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:05 ---> Running in 11aa479149b6 17:54:05 Removing intermediate container 11aa479149b6 17:54:05 ---> 4ffb9a2a1cd0 17:54:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:54:05 ---> Running in 80c1a7ac85d9 17:54:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:54:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:54:05 (1/8) Installing openssh-keygen (9.1_p1-r3) 17:54:05 (2/8) Installing libedit (20221030.3.1-r0) 17:54:05 (3/8) Installing openssh-client-common (9.1_p1-r3) 17:54:06 (4/8) Installing openssh-client-default (9.1_p1-r3) 17:54:06 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 17:54:06 (6/8) Installing openssh-server-common (9.1_p1-r3) 17:54:06 (7/8) Installing openssh-server (9.1_p1-r3) 17:54:06 (8/8) Installing openssh (9.1_p1-r3) 17:54:06 Executing busybox-1.35.0-r29.trigger 17:54:06 OK: 270 MiB in 61 packages 17:54:06 Removing intermediate container 80c1a7ac85d9 17:54:06 ---> 21c29722277e 17:54:06 Step 6/10 : WORKDIR /device-modbus-go 17:54:06 ---> Running in 02d470e8a0fe 17:54:06 Removing intermediate container 02d470e8a0fe 17:54:06 ---> 0c446d87f741 17:54:06 Step 7/10 : COPY go.mod vendor* ./ 17:54:06 ---> bd4ce827bfc2 17:54:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:06 ---> Running in 3a93c4cc1f3e 17:54:08 Still waiting to schedule task 17:54:08 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:54:33 Removing intermediate container 3a93c4cc1f3e 17:54:33 ---> afc425aa483a 17:54:33 Step 9/10 : COPY . . 17:54:33 ---> 6810defaf233 17:54:33 Step 10/10 : RUN ${MAKE} 17:54:33 ---> Running in ec7eb1a40b9f 17:54:33 noop 17:54:33 Removing intermediate container ec7eb1a40b9f 17:54:33 ---> 1d4dd89b9453 17:54:33 Successfully built 1d4dd89b9453 17:54:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:33 + docker inspect -f . ci-base-image-x86_64 17:54:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:33 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 17:54:33 $ 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 17:54:34 $ docker top 4081a9d9883f77e02e17742f3bf18e19b48506e65ba2edf66347fc0704974785 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:34 + go version 17:54:34 go version go1.20.2 linux/amd64 [Pipeline] } 17:54:34 $ docker stop --time=1 4081a9d9883f77e02e17742f3bf18e19b48506e65ba2edf66347fc0704974785 17:54:35 $ docker rm -f --volumes 4081a9d9883f77e02e17742f3bf18e19b48506e65ba2edf66347fc0704974785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:36 + docker inspect -f . ci-base-image-x86_64 17:54:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:36 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 17:54:36 $ 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 17:54:36 $ docker top ccf0b3c389692668fe7905493cf4eaf1ac2b5047c2aa5bc0545c06d31771dea2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 17:54:37 + make test 17:54:37 go test ./... -coverprofile=coverage.out 17:54:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:54:52 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:54:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements 17:54:58 go vet ./... 17:55:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:55:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:55:03 ./bin/test-attribution-txt.sh [Pipeline] echo 17:55:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:55:03 $ docker stop --time=1 ccf0b3c389692668fe7905493cf4eaf1ac2b5047c2aa5bc0545c06d31771dea2 17:55:06 $ docker rm -f --volumes ccf0b3c389692668fe7905493cf4eaf1ac2b5047c2aa5bc0545c06d31771dea2 [Pipeline] // withDockerContainer [Pipeline] sh 17:55:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:55:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:55:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:55:07 + ls -al . 17:55:07 total 188 17:55:07 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:54 . 17:55:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:53 .. 17:55:07 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:53 .dockerignore 17:55:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:53 .git 17:55:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 .github 17:55:07 -rw-rw-r-- 1 jenkins jenkins 331 Jun 12 17:53 .gitignore 17:55:07 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:53 .golangci.yml 17:55:07 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:53 .semver 17:55:07 -rw-rw-r-- 1 jenkins jenkins 10132 Jun 12 17:53 Attribution.txt 17:55:07 -rw-rw-r-- 1 jenkins jenkins 14764 Jun 12 17:53 CHANGELOG.md 17:55:07 -rw-rw-r-- 1 jenkins jenkins 1365 Jun 12 17:53 Dockerfile 17:55:07 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:53 GOVERNANCE.md 17:55:07 -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 17:53 Jenkinsfile 17:55:07 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:53 LICENSE 17:55:07 -rw-rw-r-- 1 jenkins jenkins 1705 Jun 12 17:53 Makefile 17:55:07 -rw-rw-r-- 1 jenkins jenkins 622 Jun 12 17:53 OWNERS.md 17:55:07 -rw-rw-r-- 1 jenkins jenkins 4578 Jun 12 17:53 README.md 17:55:07 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:53 VERSION 17:55:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:53 bin 17:55:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 cmd 17:55:07 -rw-r--r-- 1 jenkins jenkins 24160 Jun 12 17:54 coverage.out 17:55:07 -rw-rw-r-- 1 jenkins jenkins 3405 Jun 12 17:53 go.mod 17:55:07 -rw-rw-r-- 1 jenkins jenkins 31664 Jun 12 17:53 go.sum 17:55:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 internal 17:55:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:53 simulator 17:55:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:53 snap 17:55:07 -rw-rw-r-- 1 jenkins jenkins 229 Jun 12 17:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:08 + 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=60f68763f8e382a62519363eb4c00d8ae3469bcd --label arch=amd64 --label version=3.1.0-dev.1 . 17:55:08 Sending build context to Docker daemon 6.42MB 17:55:08 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 17:55:08 Step 2/22 : FROM ${BASE} AS builder 17:55:08 ---> 1d4dd89b9453 17:55:08 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:55:08 ---> Running in 3bcf4300490a 17:55:08 Removing intermediate container 3bcf4300490a 17:55:08 ---> 36f5693538b2 17:55:08 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:55:08 ---> Running in deeb908a2491 17:55:08 Removing intermediate container deeb908a2491 17:55:08 ---> 9066405cb950 17:55:08 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:55:08 ---> Running in a354eeff9341 17:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:55:09 OK: 270 MiB in 61 packages 17:55:09 Removing intermediate container a354eeff9341 17:55:09 ---> 5e2db543530e 17:55:09 Step 6/22 : WORKDIR /device-modbus-go 17:55:09 ---> Running in 489d6a1d2f05 17:55:09 Removing intermediate container 489d6a1d2f05 17:55:09 ---> 6fb6bdac4d43 17:55:09 Step 7/22 : COPY go.mod vendor* ./ 17:55:09 ---> f9b8cda0a05d 17:55:09 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:55:09 ---> Running in b9b50b009b73 17:55:10 Removing intermediate container b9b50b009b73 17:55:10 ---> e1c8176c8213 17:55:10 Step 9/22 : COPY . . 17:55:10 ---> 5d12565c90ea 17:55:10 Step 10/22 : RUN ${MAKE} 17:55:10 ---> Running in 5bc5732754c9 17:55:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:55:33 Removing intermediate container 5bc5732754c9 17:55:33 ---> 6d7987088052 17:55:33 Step 11/22 : FROM alpine:3.17 17:55:33 3.17: Pulling from library/alpine 17:55:33 f56be85fc22e: Already exists 17:55:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:55:33 Status: Downloaded newer image for alpine:3.17 17:55:33 ---> 9ed4aefc74f6 17:55:33 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:55:33 ---> Running in 14749f82bde5 17:55:33 Removing intermediate container 14749f82bde5 17:55:33 ---> 9fb575c922fe 17:55:33 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:55:33 ---> Running in 70b1eb553b20 17:55:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:55:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:55:33 (1/1) Installing dumb-init (1.2.5-r2) 17:55:33 Executing busybox-1.35.0-r29.trigger 17:55:33 OK: 7 MiB in 16 packages 17:55:33 Removing intermediate container 70b1eb553b20 17:55:33 ---> 5239fc1cb99f 17:55:33 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:55:33 ---> b90a71361c7e 17:55:33 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:55:33 ---> e17ebbcacbb2 17:55:33 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:55:33 ---> f4eb1a2f2465 17:55:33 Step 17/22 : EXPOSE 59901 17:55:33 ---> Running in 8bef91507106 17:55:33 Removing intermediate container 8bef91507106 17:55:33 ---> 4acb3f922f79 17:55:33 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:55:33 ---> Running in e39924bcb251 17:55:33 Removing intermediate container e39924bcb251 17:55:33 ---> 069563c50f6a 17:55:33 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:55:33 ---> Running in 19c657201282 17:55:33 Removing intermediate container 19c657201282 17:55:33 ---> 44680f4cba41 17:55:33 Step 20/22 : LABEL arch=amd64 17:55:33 ---> Running in 6ec18f9bdf42 17:55:33 Removing intermediate container 6ec18f9bdf42 17:55:33 ---> 2584a7bab7ac 17:55:33 Step 21/22 : LABEL git_sha=60f68763f8e382a62519363eb4c00d8ae3469bcd 17:55:33 ---> Running in 15a39399b5d0 17:55:33 Removing intermediate container 15a39399b5d0 17:55:33 ---> e83f00750545 17:55:33 Step 22/22 : LABEL version=3.1.0-dev.1 17:55:33 ---> Running in 05f584daa661 17:55:33 Removing intermediate container 05f584daa661 17:55:33 ---> 50f2e5ca8dab 17:55:33 [Warning] One or more build-args [ARCH] were not consumed 17:55:33 Successfully built 50f2e5ca8dab 17:55:33 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:55:33 provisioning config files... 17:55:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17960993174644970248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:34 ---> docker-login.sh 17:55:34 nexus3.edgexfoundry.org:10001 17:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:34 Configure a credential helper to remove this warning. See 17:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:34 17:55:34 Login Succeeded 17:55:34 nexus3.edgexfoundry.org:10002 17:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:34 Configure a credential helper to remove this warning. See 17:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:34 17:55:34 Login Succeeded 17:55:34 nexus3.edgexfoundry.org:10003 17:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:34 Configure a credential helper to remove this warning. See 17:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:34 17:55:34 Login Succeeded 17:55:34 nexus3.edgexfoundry.org:10004 17:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:34 Configure a credential helper to remove this warning. See 17:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:34 17:55:34 Login Succeeded 17:55:34 docker.io 17:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:34 Configure a credential helper to remove this warning. See 17:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:34 17:55:34 Login Succeeded 17:55:34 ---> docker-login.sh ends [Pipeline] } 17:55:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:55:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:34 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 17:55:34 60f68763f8e382a62519363eb4c00d8ae3469bcd 17:55:34 latest 17:55:34 3.1.0-dev.1 17:55:34 60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 17:55:34 main 17:55:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:35 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd 17:55:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:55:35 e3f403d6d90f: Preparing 17:55:35 74a83fe90a78: Preparing 17:55:35 0e7f7eb076e7: Preparing 17:55:35 d853fe5aa687: Preparing 17:55:35 f1417ff83b31: Preparing 17:55:35 f1417ff83b31: Layer already exists 17:55:35 74a83fe90a78: Pushed 17:55:35 d853fe5aa687: Pushed 17:55:35 e3f403d6d90f: Pushed 17:55:38 0e7f7eb076e7: Pushed 17:55:38 60f68763f8e382a62519363eb4c00d8ae3469bcd: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:39 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 17:55:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:55:39 e3f403d6d90f: Preparing 17:55:39 74a83fe90a78: Preparing 17:55:39 0e7f7eb076e7: Preparing 17:55:39 d853fe5aa687: Preparing 17:55:39 f1417ff83b31: Preparing 17:55:39 e3f403d6d90f: Layer already exists 17:55:39 f1417ff83b31: Layer already exists 17:55:39 0e7f7eb076e7: Layer already exists 17:55:39 74a83fe90a78: Layer already exists 17:55:39 d853fe5aa687: Layer already exists 17:55:39 latest: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:39 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.1 17:55:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:55:40 e3f403d6d90f: Preparing 17:55:40 74a83fe90a78: Preparing 17:55:40 0e7f7eb076e7: Preparing 17:55:40 d853fe5aa687: Preparing 17:55:40 f1417ff83b31: Preparing 17:55:40 e3f403d6d90f: Layer already exists 17:55:40 74a83fe90a78: Layer already exists 17:55:40 0e7f7eb076e7: Layer already exists 17:55:40 f1417ff83b31: Layer already exists 17:55:40 d853fe5aa687: Layer already exists 17:55:40 3.1.0-dev.1: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 17:55:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:55:40 e3f403d6d90f: Preparing 17:55:40 74a83fe90a78: Preparing 17:55:40 0e7f7eb076e7: Preparing 17:55:40 d853fe5aa687: Preparing 17:55:40 f1417ff83b31: Preparing 17:55:40 0e7f7eb076e7: Layer already exists 17:55:40 74a83fe90a78: Layer already exists 17:55:40 d853fe5aa687: Layer already exists 17:55:40 e3f403d6d90f: Layer already exists 17:55:40 f1417ff83b31: Layer already exists 17:55:40 60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 17:55:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:55:41 e3f403d6d90f: Preparing 17:55:41 74a83fe90a78: Preparing 17:55:41 0e7f7eb076e7: Preparing 17:55:41 d853fe5aa687: Preparing 17:55:41 f1417ff83b31: Preparing 17:55:41 e3f403d6d90f: Layer already exists 17:55:41 0e7f7eb076e7: Layer already exists 17:55:41 f1417ff83b31: Layer already exists 17:55:41 74a83fe90a78: Layer already exists 17:55:41 d853fe5aa687: Layer already exists 17:55:41 main: digest: sha256:ba77151059164fa6f933ea2002727654f7db2ad71422bfbcf44c60d366d084ce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:55:41 ===================================================== [Pipeline] echo 17:55:41 taggedImages: 17:55:41 - nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd 17:55:41 - nexus3.edgexfoundry.org:10004/device-modbus:latest 17:55:41 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.1 17:55:41 - nexus3.edgexfoundry.org:10004/device-modbus:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 17:55:41 - 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 17:55:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:41 17:55:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:41 latest: Pulling from edgex-lftools-log-publisher 17:55:41 5eb5b503b376: Pulling fs layer 17:55:41 5c69ac0246d0: Pulling fs layer 17:55:41 ec43610c2a17: Pulling fs layer 17:55:41 3a2ae6a8a46f: Pulling fs layer 17:55:41 33b1e0a273af: Pulling fs layer 17:55:41 5d3b04190fa2: Pulling fs layer 17:55:41 2f39f015ded8: Pulling fs layer 17:55:41 33b1e0a273af: Waiting 17:55:41 5d3b04190fa2: Waiting 17:55:41 3a2ae6a8a46f: Waiting 17:55:41 2f39f015ded8: Waiting 17:55:41 5c69ac0246d0: Verifying Checksum 17:55:41 5c69ac0246d0: Download complete 17:55:41 3a2ae6a8a46f: Download complete 17:55:41 33b1e0a273af: Verifying Checksum 17:55:41 33b1e0a273af: Download complete 17:55:41 ec43610c2a17: Verifying Checksum 17:55:41 ec43610c2a17: Download complete 17:55:41 5d3b04190fa2: Verifying Checksum 17:55:41 5d3b04190fa2: Download complete 17:55:42 5eb5b503b376: Verifying Checksum 17:55:42 5eb5b503b376: Download complete 17:55:42 2f39f015ded8: Download complete 17:55:43 5eb5b503b376: Pull complete 17:55:43 5c69ac0246d0: Pull complete 17:55:43 ec43610c2a17: Pull complete 17:55:43 3a2ae6a8a46f: Pull complete 17:55:44 33b1e0a273af: Pull complete 17:55:44 5d3b04190fa2: Pull complete 17:55:48 2f39f015ded8: Pull complete 17:55:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:48 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 17:55:48 $ 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 17:55:51 $ docker top 7012da69fd72a1965178ca453748932843714b6bf37469c0121f58ea72adbe72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:52 ---> job-cost.sh 17:55:52 lf-activate-venv: SKIPPING 17:55:52 INFO: No Stack... 17:55:52 INFO: Retrieving Pricing Info for: v3-standard-8 17:55:52 INFO: Archiving Costs [Pipeline] sh 17:55:53 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 17:55:53 + cut -d, -f6 [Pipeline] lock 17:55:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] 17:55:53 Resource [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] did not exist. Created. 17:55:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:55:53 + echo total: 0.2199999988079071 [Pipeline] stash 17:55:53 Stashed 1 file(s) [Pipeline] } 17:55:53 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } 17:55:53 $ docker stop --time=1 7012da69fd72a1965178ca453748932843714b6bf37469c0121f58ea72adbe72 17:55:54 $ docker rm -f --volumes 7012da69fd72a1965178ca453748932843714b6bf37469c0121f58ea72adbe72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:57:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18474 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 17:57:18 Running in /w/workspace/device-modbus-go/114 [Pipeline] { [Pipeline] checkout 17:57:18 Selected Git installation does not exist. Using Default 17:57:18 The recommended git tool is: NONE 17:57:25 using credential edgex-jenkins-ssh 17:57:25 Cloning the remote Git repository 17:57:25 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:57:25 > git init /w/workspace/device-modbus-go/114 # timeout=10 17:57:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:57:26 > git --version # timeout=10 17:57:26 > git --version # 'git version 2.25.1' 17:57:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:57:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:57:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:57:28 Avoid second fetch 17:57:28 Checking out Revision 60f68763f8e382a62519363eb4c00d8ae3469bcd (main) 17:57:29 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#490)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:28 > git config core.sparsecheckout # timeout=10 17:57:28 > git checkout -f 60f68763f8e382a62519363eb4c00d8ae3469bcd # timeout=10 17:57:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:57:30 % Total % Received % Xferd Average Speed Time Time Time Current 17:57:30 Dload Upload Total Spent Left Speed 17:57:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 17:57:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:57:31 + sudo tee /etc/docker/daemon.new 17:57:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:57:31 { 17:57:31 "registry-mirrors": [ 17:57:31 "https://nexus3.edgexfoundry.org:10001" 17:57:31 ], 17:57:31 "bip": "10.250.0.254/24", 17:57:31 "hosts": [ 17:57:31 "tcp://0.0.0.0:5555", 17:57:31 "unix:///var/run/docker.sock" 17:57:31 ], 17:57:31 "mtu": 1458, 17:57:31 "selinux-enabled": true, 17:57:31 "seccomp-profile": "/etc/docker/seccomp.json" 17:57:31 } [Pipeline] sh 17:57:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:57:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:50 provisioning config files... 17:57:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/114@tmp/config2406145058278393646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:50 ---> docker-login.sh 17:57:50 nexus3.edgexfoundry.org:10001 17:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:51 Configure a credential helper to remove this warning. See 17:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:51 17:57:51 Login Succeeded 17:57:51 nexus3.edgexfoundry.org:10002 17:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:51 Configure a credential helper to remove this warning. See 17:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:51 17:57:51 Login Succeeded 17:57:51 nexus3.edgexfoundry.org:10003 17:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:52 Configure a credential helper to remove this warning. See 17:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:52 17:57:52 Login Succeeded 17:57:52 nexus3.edgexfoundry.org:10004 17:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:52 Configure a credential helper to remove this warning. See 17:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:52 17:57:52 Login Succeeded 17:57:52 docker.io 17:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:53 Configure a credential helper to remove this warning. See 17:57:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:53 17:57:53 Login Succeeded 17:57:53 ---> docker-login.sh ends [Pipeline] } 17:57:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:53 ========================================================= 17:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:57:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:57:54 Sending build context to Docker daemon 3.314MB 17:57:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:57:54 Step 2/10 : FROM ${BASE} AS builder 17:57:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:57:54 c41833b44d91: Pulling fs layer 17:57:54 ed15518f5707: Pulling fs layer 17:57:54 feae8fd75edb: Pulling fs layer 17:57:54 242c74f7c9fa: Pulling fs layer 17:57:54 3cdef696dda3: Pulling fs layer 17:57:54 2ced38df9373: Pulling fs layer 17:57:54 58f1dce35555: Pulling fs layer 17:57:54 3cdef696dda3: Waiting 17:57:54 2ced38df9373: Waiting 17:57:54 58f1dce35555: Waiting 17:57:54 242c74f7c9fa: Waiting 17:57:54 ed15518f5707: Verifying Checksum 17:57:54 ed15518f5707: Download complete 17:57:54 242c74f7c9fa: Download complete 17:57:54 3cdef696dda3: Verifying Checksum 17:57:54 3cdef696dda3: Download complete 17:57:54 c41833b44d91: Verifying Checksum 17:57:54 c41833b44d91: Download complete 17:57:55 c41833b44d91: Pull complete 17:57:56 58f1dce35555: Verifying Checksum 17:57:56 58f1dce35555: Download complete 17:57:56 ed15518f5707: Pull complete 17:57:57 feae8fd75edb: Verifying Checksum 17:57:57 feae8fd75edb: Download complete 17:57:57 2ced38df9373: Verifying Checksum 17:57:57 2ced38df9373: Download complete 17:58:09 feae8fd75edb: Pull complete 17:58:09 242c74f7c9fa: Pull complete 17:58:09 3cdef696dda3: Pull complete 17:58:15 2ced38df9373: Pull complete 17:58:17 58f1dce35555: Pull complete 17:58:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:58:17 ---> fadd8f120f05 17:58:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:58:19 ---> Running in f5978d9bad65 17:58:19 Removing intermediate container f5978d9bad65 17:58:19 ---> 08bd961324f6 17:58:19 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:58:19 ---> Running in 2512b36b596d 17:58:19 Removing intermediate container 2512b36b596d 17:58:19 ---> 069817f483fc 17:58:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:58:19 ---> Running in c0eb1aea1869 17:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:58:22 (1/8) Installing openssh-keygen (9.1_p1-r3) 17:58:22 (2/8) Installing libedit (20221030.3.1-r0) 17:58:22 (3/8) Installing openssh-client-common (9.1_p1-r3) 17:58:22 (4/8) Installing openssh-client-default (9.1_p1-r3) 17:58:22 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 17:58:22 (6/8) Installing openssh-server-common (9.1_p1-r3) 17:58:22 (7/8) Installing openssh-server (9.1_p1-r3) 17:58:22 (8/8) Installing openssh (9.1_p1-r3) 17:58:22 Executing busybox-1.35.0-r29.trigger 17:58:22 OK: 270 MiB in 61 packages 17:58:24 Removing intermediate container c0eb1aea1869 17:58:24 ---> 5c62e9628e71 17:58:24 Step 6/10 : WORKDIR /device-modbus-go 17:58:24 ---> Running in 4c79562ac41b 17:58:24 Removing intermediate container 4c79562ac41b 17:58:24 ---> c416bb3fe7fc 17:58:24 Step 7/10 : COPY go.mod vendor* ./ 17:58:24 ---> a877462e10ef 17:58:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:25 ---> Running in 2aabce8b3e99 17:59:33 Removing intermediate container 2aabce8b3e99 17:59:33 ---> f1774777b07b 17:59:33 Step 9/10 : COPY . . 17:59:33 ---> aa4c793fd946 17:59:33 Step 10/10 : RUN ${MAKE} 17:59:33 ---> Running in 4e7b85dbc784 17:59:33 noop 17:59:33 Removing intermediate container 4e7b85dbc784 17:59:33 ---> 2dba0863234d 17:59:33 Successfully built 2dba0863234d 17:59:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:33 + docker inspect -f . ci-base-image-arm64 17:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:33 prd-ubuntu20.04-docker-arm64-4c-16g-18474 does not seem to be running inside a container 17:59:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/114 -v /w/workspace/device-modbus-go/114:/w/workspace/device-modbus-go/114:rw,z -v /w/workspace/device-modbus-go/114@tmp:/w/workspace/device-modbus-go/114@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 17:59:35 $ docker top 8357901d3e50c089baeba8b8103fd8094593d73fbe197dd96f78024bea36adfc -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:36 + go version 17:59:36 go version go1.20.2 linux/arm64 [Pipeline] } 17:59:36 $ docker stop --time=1 8357901d3e50c089baeba8b8103fd8094593d73fbe197dd96f78024bea36adfc 17:59:37 $ docker rm -f --volumes 8357901d3e50c089baeba8b8103fd8094593d73fbe197dd96f78024bea36adfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:38 + docker inspect -f . ci-base-image-arm64 17:59:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:38 prd-ubuntu20.04-docker-arm64-4c-16g-18474 does not seem to be running inside a container 17:59:38 $ 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/114 -v /w/workspace/device-modbus-go/114:/w/workspace/device-modbus-go/114:rw,z -v /w/workspace/device-modbus-go/114@tmp:/w/workspace/device-modbus-go/114@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 17:59:39 $ docker top f877305e64f0405fa6217fd079488cb353533d5b4656c222ec3c40c37797f5cb -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:40 + git config --global --add safe.directory /w/workspace/device-modbus-go/114 [Pipeline] fileExists [Pipeline] sh 17:59:41 + make test 17:59:41 go test ./... -coverprofile=coverage.out 18:00:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:02:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:02:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.4% of statements 18:02:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:02:57 go vet ./... 18:03:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:03:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:03:24 ./bin/test-attribution-txt.sh [Pipeline] echo 18:03:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:03:24 $ docker stop --time=1 f877305e64f0405fa6217fd079488cb353533d5b4656c222ec3c40c37797f5cb 18:03:25 $ docker rm -f --volumes f877305e64f0405fa6217fd079488cb353533d5b4656c222ec3c40c37797f5cb [Pipeline] // withDockerContainer [Pipeline] sh 18:03:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:27 Warning: overwriting stash ‘coverage-report’ 18:03:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:03:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:03:29 + ls -al . 18:03:29 total 184 18:03:29 drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 17:59 . 18:03:29 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:57 .. 18:03:29 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:57 .dockerignore 18:03:29 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:57 .git 18:03:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:57 .github 18:03:29 -rw-rw-r-- 1 jenkins jenkins 331 Jun 12 17:57 .gitignore 18:03:29 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:57 .golangci.yml 18:03:29 -rw-rw-r-- 1 jenkins jenkins 10132 Jun 12 17:57 Attribution.txt 18:03:29 -rw-rw-r-- 1 jenkins jenkins 14764 Jun 12 17:57 CHANGELOG.md 18:03:29 -rw-rw-r-- 1 jenkins jenkins 1365 Jun 12 17:57 Dockerfile 18:03:29 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:57 GOVERNANCE.md 18:03:29 -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 17:57 Jenkinsfile 18:03:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:57 LICENSE 18:03:29 -rw-rw-r-- 1 jenkins jenkins 1705 Jun 12 17:57 Makefile 18:03:29 -rw-rw-r-- 1 jenkins jenkins 622 Jun 12 17:57 OWNERS.md 18:03:29 -rw-rw-r-- 1 jenkins jenkins 4578 Jun 12 17:57 README.md 18:03:29 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:53 VERSION 18:03:29 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:57 bin 18:03:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:57 cmd 18:03:29 -rw-r--r-- 1 jenkins jenkins 24160 Jun 12 18:02 coverage.out 18:03:29 -rw-rw-r-- 1 jenkins jenkins 3405 Jun 12 17:57 go.mod 18:03:29 -rw-rw-r-- 1 jenkins jenkins 31664 Jun 12 17:57 go.sum 18:03:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:57 internal 18:03:29 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:57 simulator 18:03:29 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:57 snap 18:03:29 -rw-rw-r-- 1 jenkins jenkins 229 Jun 12 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:29 + 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=60f68763f8e382a62519363eb4c00d8ae3469bcd --label arch=arm64 --label version=3.1.0-dev.1 . 18:03:29 Sending build context to Docker daemon 3.339MB 18:03:29 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 18:03:29 Step 2/22 : FROM ${BASE} AS builder 18:03:29 ---> 2dba0863234d 18:03:29 Step 3/22 : ARG ADD_BUILD_TAGS="" 18:03:29 ---> Running in 76cf160b6dc5 18:03:30 Removing intermediate container 76cf160b6dc5 18:03:30 ---> d80f280c5b93 18:03:30 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:03:30 ---> Running in dab2a85ada53 18:03:30 Removing intermediate container dab2a85ada53 18:03:30 ---> becffdc56b33 18:03:30 Step 5/22 : RUN apk add --update --no-cache make git openssh 18:03:30 ---> Running in 6f1d962f2173 18:03:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:03:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:03:33 OK: 270 MiB in 61 packages 18:03:37 Removing intermediate container 6f1d962f2173 18:03:37 ---> 3b092c3f33cc 18:03:37 Step 6/22 : WORKDIR /device-modbus-go 18:03:37 ---> Running in 587de5ccc62a 18:03:37 Removing intermediate container 587de5ccc62a 18:03:37 ---> 3308d2b219f3 18:03:37 Step 7/22 : COPY go.mod vendor* ./ 18:03:37 ---> 6bb90f77cc8d 18:03:37 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:37 ---> Running in 018db979d7a1 18:03:40 Removing intermediate container 018db979d7a1 18:03:40 ---> 4d0d037da01d 18:03:40 Step 9/22 : COPY . . 18:03:41 ---> 460d0eb02eae 18:03:41 Step 10/22 : RUN ${MAKE} 18:03:41 ---> Running in c8606ca68d8e 18:03:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 18:06:20 Removing intermediate container c8606ca68d8e 18:06:20 ---> d9d6ddb3be06 18:06:20 Step 11/22 : FROM alpine:3.17 18:06:20 3.17: Pulling from library/alpine 18:06:20 c41833b44d91: Already exists 18:06:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:06:20 Status: Downloaded newer image for alpine:3.17 18:06:20 ---> 51e60588ff2c 18:06:20 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:06:20 ---> Running in 29491c7a44db 18:06:20 Removing intermediate container 29491c7a44db 18:06:20 ---> 638d8b111000 18:06:20 Step 13/22 : RUN apk add --update --no-cache dumb-init 18:06:20 ---> Running in 3cddfb509587 18:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:06:20 (1/1) Installing dumb-init (1.2.5-r2) 18:06:20 Executing busybox-1.35.0-r29.trigger 18:06:20 OK: 8 MiB in 16 packages 18:06:20 Removing intermediate container 3cddfb509587 18:06:20 ---> 7e7cb9125bb7 18:06:20 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:06:20 ---> 5f35613c9780 18:06:20 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:06:21 ---> e16801165200 18:06:21 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:06:21 ---> 9a04367d2995 18:06:21 Step 17/22 : EXPOSE 59901 18:06:21 ---> Running in 191601a5fe45 18:06:22 Removing intermediate container 191601a5fe45 18:06:22 ---> cc71fb527823 18:06:22 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:06:22 ---> Running in 852add2fe4d4 18:06:22 Removing intermediate container 852add2fe4d4 18:06:22 ---> bcdd51da0796 18:06:22 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:06:22 ---> Running in a532a89025a4 18:06:22 Removing intermediate container a532a89025a4 18:06:22 ---> 87427edd0e7c 18:06:22 Step 20/22 : LABEL arch=arm64 18:06:22 ---> Running in 4a5a3279bf05 18:06:23 Removing intermediate container 4a5a3279bf05 18:06:23 ---> e0f3637a9260 18:06:23 Step 21/22 : LABEL git_sha=60f68763f8e382a62519363eb4c00d8ae3469bcd 18:06:23 ---> Running in eb1bf7dc5297 18:06:23 Removing intermediate container eb1bf7dc5297 18:06:23 ---> 14fd15888c0b 18:06:23 Step 22/22 : LABEL version=3.1.0-dev.1 18:06:23 ---> Running in dc1d4923f852 18:06:23 Removing intermediate container dc1d4923f852 18:06:23 ---> 9925da5fd3a1 18:06:23 [Warning] One or more build-args [ARCH] were not consumed 18:06:23 Successfully built 9925da5fd3a1 18:06:23 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 18:06:24 provisioning config files... 18:06:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/114@tmp/config2652198238249036388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:24 ---> docker-login.sh 18:06:24 nexus3.edgexfoundry.org:10001 18:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:24 Configure a credential helper to remove this warning. See 18:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:24 18:06:24 Login Succeeded 18:06:24 nexus3.edgexfoundry.org:10002 18:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:24 Configure a credential helper to remove this warning. See 18:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:24 18:06:24 Login Succeeded 18:06:24 nexus3.edgexfoundry.org:10003 18:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:25 Configure a credential helper to remove this warning. See 18:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:25 18:06:25 Login Succeeded 18:06:25 nexus3.edgexfoundry.org:10004 18:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:25 Configure a credential helper to remove this warning. See 18:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:25 18:06:25 Login Succeeded 18:06:25 docker.io 18:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:26 Configure a credential helper to remove this warning. See 18:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:26 18:06:26 Login Succeeded 18:06:26 ---> docker-login.sh ends [Pipeline] } 18:06:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:06:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:26 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 18:06:26 60f68763f8e382a62519363eb4c00d8ae3469bcd 18:06:26 latest 18:06:26 3.1.0-dev.1 18:06:26 60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 18:06:26 main 18:06:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd 18:06:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:27 10cbc240b64d: Preparing 18:06:27 9ac938b3bbfb: Preparing 18:06:27 5f916d5b29ac: Preparing 18:06:27 32423fcf5577: Preparing 18:06:27 26cbea5cba74: Preparing 18:06:27 26cbea5cba74: Layer already exists 18:06:27 10cbc240b64d: Pushed 18:06:27 9ac938b3bbfb: Pushed 18:06:27 32423fcf5577: Pushed 18:06:32 5f916d5b29ac: Pushed 18:06:33 60f68763f8e382a62519363eb4c00d8ae3469bcd: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:06:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:34 10cbc240b64d: Preparing 18:06:34 9ac938b3bbfb: Preparing 18:06:34 5f916d5b29ac: Preparing 18:06:34 32423fcf5577: Preparing 18:06:34 26cbea5cba74: Preparing 18:06:34 10cbc240b64d: Layer already exists 18:06:34 26cbea5cba74: Layer already exists 18:06:34 32423fcf5577: Layer already exists 18:06:34 9ac938b3bbfb: Layer already exists 18:06:34 5f916d5b29ac: Layer already exists 18:06:34 latest: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.1 18:06:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:34 10cbc240b64d: Preparing 18:06:34 9ac938b3bbfb: Preparing 18:06:34 5f916d5b29ac: Preparing 18:06:34 32423fcf5577: Preparing 18:06:34 26cbea5cba74: Preparing 18:06:34 5f916d5b29ac: Layer already exists 18:06:34 26cbea5cba74: Layer already exists 18:06:34 10cbc240b64d: Layer already exists 18:06:34 32423fcf5577: Layer already exists 18:06:34 9ac938b3bbfb: Layer already exists 18:06:34 3.1.0-dev.1: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:35 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 18:06:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:35 10cbc240b64d: Preparing 18:06:35 9ac938b3bbfb: Preparing 18:06:35 5f916d5b29ac: Preparing 18:06:35 32423fcf5577: Preparing 18:06:35 26cbea5cba74: Preparing 18:06:35 5f916d5b29ac: Layer already exists 18:06:35 32423fcf5577: Layer already exists 18:06:35 10cbc240b64d: Layer already exists 18:06:35 9ac938b3bbfb: Layer already exists 18:06:35 26cbea5cba74: Layer already exists 18:06:35 60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:36 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 18:06:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:06:36 10cbc240b64d: Preparing 18:06:36 9ac938b3bbfb: Preparing 18:06:36 5f916d5b29ac: Preparing 18:06:36 32423fcf5577: Preparing 18:06:36 26cbea5cba74: Preparing 18:06:36 26cbea5cba74: Layer already exists 18:06:36 10cbc240b64d: Layer already exists 18:06:36 9ac938b3bbfb: Layer already exists 18:06:36 5f916d5b29ac: Layer already exists 18:06:36 32423fcf5577: Layer already exists 18:06:36 main: digest: sha256:9d4ae10331dd61ef99e8be359c71bc1786dfae40e210131d1d240150555adf2b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:06:36 ===================================================== [Pipeline] echo 18:06:36 taggedImages: 18:06:36 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd 18:06:36 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:06:36 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.1 18:06:36 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:60f68763f8e382a62519363eb4c00d8ae3469bcd-3.1.0-dev.1 18:06:36 - 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 18:06:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:06:37 18:06:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:06:37 arm64: Pulling from edgex-lftools-log-publisher 18:06:37 8998bd30e6a1: Pulling fs layer 18:06:37 04944245beec: Pulling fs layer 18:06:37 699f458cf7ca: Pulling fs layer 18:06:37 765212b225bb: Pulling fs layer 18:06:37 f23df028b6ca: Pulling fs layer 18:06:37 d65c8cfc05b1: Pulling fs layer 18:06:37 2437ff75d9bd: Pulling fs layer 18:06:37 d65c8cfc05b1: Waiting 18:06:37 765212b225bb: Waiting 18:06:37 f23df028b6ca: Waiting 18:06:37 2437ff75d9bd: Waiting 18:06:37 04944245beec: Verifying Checksum 18:06:37 04944245beec: Download complete 18:06:37 765212b225bb: Verifying Checksum 18:06:37 765212b225bb: Download complete 18:06:37 f23df028b6ca: Download complete 18:06:37 d65c8cfc05b1: Verifying Checksum 18:06:37 d65c8cfc05b1: Download complete 18:06:38 699f458cf7ca: Verifying Checksum 18:06:38 699f458cf7ca: Download complete 18:06:38 8998bd30e6a1: Verifying Checksum 18:06:38 8998bd30e6a1: Download complete 18:06:41 2437ff75d9bd: Verifying Checksum 18:06:41 2437ff75d9bd: Download complete 18:06:43 8998bd30e6a1: Pull complete 18:06:43 04944245beec: Pull complete 18:06:44 699f458cf7ca: Pull complete 18:06:44 765212b225bb: Pull complete 18:06:45 f23df028b6ca: Pull complete 18:06:45 d65c8cfc05b1: Pull complete 18:07:00 2437ff75d9bd: Pull complete 18:07:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:07:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:07:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:00 prd-ubuntu20.04-docker-arm64-4c-16g-18474 does not seem to be running inside a container 18:07:00 $ 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/114 -v /w/workspace/device-modbus-go/114:/w/workspace/device-modbus-go/114:rw,z -v /w/workspace/device-modbus-go/114@tmp:/w/workspace/device-modbus-go/114@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 18:07:03 $ docker top be6b604a133b4d0dc882a23d4bacc552026c0bda5a798395f6708e13de9af738 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:04 ---> job-cost.sh 18:07:04 lf-activate-venv: SKIPPING 18:07:04 INFO: No Stack... 18:07:05 INFO: Retrieving Pricing Info for: v3-standard-4 18:07:05 INFO: Archiving Costs [Pipeline] sh 18:07:06 + cat /w/workspace/device-modbus-go/114/archives/cost.csv 18:07:06 + cut -d, -f6 [Pipeline] lock 18:07:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] 18:07:06 Resource [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] did not exist. Created. 18:07:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:07 /w/workspace/device-modbus-go/114@tmp/durable-aae00233/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:07:08 + echo total: 0.10999999940395355 [Pipeline] stash 18:07:08 Warning: overwriting stash ‘stack-cost’ 18:07:08 Stashed 1 file(s) [Pipeline] } 18:07:08 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:08 $ docker stop --time=1 be6b604a133b4d0dc882a23d4bacc552026c0bda5a798395f6708e13de9af738 18:07:09 $ docker rm -f --volumes be6b604a133b4d0dc882a23d4bacc552026c0bda5a798395f6708e13de9af738 [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 18:07:10 provisioning config files... 18:07:10 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1863007433710041137tmp [Pipeline] { [Pipeline] sh 18:07:10 + set +x 18:07:10 + curl -s https://codecov.io/bash 18:07:10 + bash -s -- 18:07:10 18:07:10 _____ _ 18:07:10 / ____| | | 18:07:10 | | ___ __| | ___ ___ _____ __ 18:07:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:07:10 | |___| (_) | (_| | __/ (_| (_) \ V / 18:07:10 \_____\___/ \__,_|\___|\___\___/ \_/ 18:07:10 Bash-1.0.6 18:07:10 18:07:10 18:07:10 ==> git version 2.25.1 found 18:07:10 ==> 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 18:07:10 Release-Date: 2020-01-08 18:07:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:07:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:07:10 ==> Jenkins CI detected. 18:07:10 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 18:07:10 project root: . 18:07:10 --> token set from env 18:07:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:07:10 ==> Running gcov in . (disable via -X gcov) 18:07:10 ==> Python coveragepy not found 18:07:10 ==> Searching for coverage reports in: 18:07:10 + . 18:07:10 -> Found 1 reports 18:07:10 ==> Detecting git/mercurial file structure 18:07:10 ==> Reading reports 18:07:10 + ./coverage.out bytes=24160 18:07:10 ==> Appending adjustments 18:07:10 https://docs.codecov.io/docs/fixing-reports 18:07:10 + Found adjustments 18:07:10 ==> Gzipping contents 18:07:10 4.0K /tmp/codecov.pZnH9T.gz 18:07:10 ==> Uploading reports 18:07:10 url: https://codecov.io 18:07:10 query: branch=main&commit=60f68763f8e382a62519363eb4c00d8ae3469bcd&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:07:10 -> Pinging Codecov 18:07:10 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=60f68763f8e382a62519363eb4c00d8ae3469bcd&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:07:10 -> Uploading to 18:07:10 https://storage.googleapis.com/codecov/v4/raw/2023-06-12/55DBCA73C666E3227836607328DD7E49/60f68763f8e382a62519363eb4c00d8ae3469bcd/536b0689-5456-4217-b76a-76c58298174c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T180710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e4cf6be287a8c3ec724e01b11caae958bff4e3a7057ced95e6c96b0ac1de61f2 18:07:10 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:10 Dload Upload Total Spent Left Speed 18:07:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 21679 --:--:-- --:--:-- --:--:-- 21679 18:07:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] } 18:07:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:07:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:07:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:07:11 18:07:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:07:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:07:11 df9b9388f04a: Pulling fs layer 18:07:11 52dc419b0ee2: Pulling fs layer 18:07:11 25bc292e5bac: Pulling fs layer 18:07:11 114826534d7a: Pulling fs layer 18:07:11 4657fd5d0bcf: Pulling fs layer 18:07:11 6ad1cebc031e: Pulling fs layer 18:07:11 8a3aa393b2d8: Pulling fs layer 18:07:11 114826534d7a: Waiting 18:07:11 4657fd5d0bcf: Waiting 18:07:11 6ad1cebc031e: Waiting 18:07:11 8a3aa393b2d8: Waiting 18:07:11 25bc292e5bac: Verifying Checksum 18:07:11 25bc292e5bac: Download complete 18:07:11 52dc419b0ee2: Verifying Checksum 18:07:11 52dc419b0ee2: Download complete 18:07:11 4657fd5d0bcf: Download complete 18:07:11 df9b9388f04a: Download complete 18:07:11 df9b9388f04a: Pull complete 18:07:11 6ad1cebc031e: Verifying Checksum 18:07:11 6ad1cebc031e: Download complete 18:07:11 52dc419b0ee2: Pull complete 18:07:11 25bc292e5bac: Pull complete 18:07:12 114826534d7a: Verifying Checksum 18:07:12 114826534d7a: Download complete 18:07:12 8a3aa393b2d8: Download complete 18:07:15 114826534d7a: Pull complete 18:07:16 4657fd5d0bcf: Pull complete 18:07:16 6ad1cebc031e: Pull complete 18:07:19 8a3aa393b2d8: Pull complete 18:07:19 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:07:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:19 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 18:07:19 $ 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 18:07:22 $ docker top 1e84b3728549afba5a80ce0801b9222ee704e4443a19f071fb9d22f5d43450ae -eo pid,comm [Pipeline] { [Pipeline] echo 18:07:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 18:07:23 + set -o pipefail 18:07:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 18:07:27 18:07:27 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 18:07:27 18:07:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/c3ebd80e-0263-4a31-b7c3-710f975ff6ba 18:07:27 18:07:27 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:07:27 18:07:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:07:27 18:07:27 18:07:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:07:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:07:27 More details here: https://snyk.co/ue1NS 18:07:27 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 18:07:27 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:07:27 $ docker stop --time=1 1e84b3728549afba5a80ce0801b9222ee704e4443a19f071fb9d22f5d43450ae 18:07:30 $ docker rm -f --volumes 1e84b3728549afba5a80ce0801b9222ee704e4443a19f071fb9d22f5d43450ae [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 18:07:31 + git log --format=format:%s -1 60f68763f8e382a62519363eb4c00d8ae3469bcd [Pipeline] sh 18:07:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:07:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:31 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 18:07:31 $ 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 18:07:32 $ docker top 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 -eo pid,comm 18:07:32 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). 18:07:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:07:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:07:32 [ssh-agent] Looking for ssh-agent implementation... 18:07:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:07:32 $ docker exec 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 ssh-agent 18:07:32 SSH_AUTH_SOCK=/tmp/ssh-2yGlGsBeYP3Z/agent.32 18:07:32 SSH_AGENT_PID=38 18:07:32 Running ssh-add (command line suppressed) 18:07:32 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5662431060276102281.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5662431060276102281.key) 18:07:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:07:33 + git semver tag 18:07:33 2023-06-12 18:07:33,221 [run_tag] DEBUG tag force:False 18:07:33 2023-06-12 18:07:33,221 [check_head_tag] DEBUG check head tag 18:07:33 2023-06-12 18:07:33,222 [execute] INFO git cat-file --batch-check 18:07:33 2023-06-12 18:07:33,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 18:07:33 2023-06-12 18:07:33,227 [execute] INFO git cat-file --batch 18:07:33 2023-06-12 18:07:33,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 18:07:33 2023-06-12 18:07:33,237 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:07:33 2023-06-12 18:07:33,238 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 18:07:33 2023-06-12 18:07:33,238 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 18:07:33 2023-06-12 18:07:33,243 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:07:33 3.1.0-dev.1 [Pipeline] } 18:07:33 $ docker exec --env ******** --env ******** 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 ssh-agent -k 18:07:33 unset SSH_AUTH_SOCK; 18:07:33 unset SSH_AGENT_PID; 18:07:33 echo Agent pid 38 killed; 18:07:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:07:33 + git semver [Pipeline] } 18:07:33 $ docker stop --time=1 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 18:07:35 $ docker rm -f --volumes 5a5a121209725d511a8b4cec939f6d10c7ff4766e565c54b16bb8883b12cf713 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:07:35 18:07:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:07:35 0.23.1-centos7: Pulling from edgex-lftools 18:07:35 ab5ef0e58194: Pulling fs layer 18:07:35 9712f1f96733: Pulling fs layer 18:07:35 63f879dbbcfc: Pulling fs layer 18:07:35 0d9ebad4ef96: Pulling fs layer 18:07:35 e9a5061849ea: Pulling fs layer 18:07:35 d747dcd14b5f: Pulling fs layer 18:07:35 2de7ff778b66: Pulling fs layer 18:07:35 0d9ebad4ef96: Waiting 18:07:35 2de7ff778b66: Waiting 18:07:35 d747dcd14b5f: Waiting 18:07:35 e9a5061849ea: Waiting 18:07:35 9712f1f96733: Verifying Checksum 18:07:35 9712f1f96733: Download complete 18:07:36 63f879dbbcfc: Verifying Checksum 18:07:36 63f879dbbcfc: Download complete 18:07:36 e9a5061849ea: Verifying Checksum 18:07:36 e9a5061849ea: Download complete 18:07:36 d747dcd14b5f: Verifying Checksum 18:07:36 d747dcd14b5f: Download complete 18:07:36 ab5ef0e58194: Verifying Checksum 18:07:36 ab5ef0e58194: Download complete 18:07:36 0d9ebad4ef96: Verifying Checksum 18:07:36 0d9ebad4ef96: Download complete 18:07:36 2de7ff778b66: Verifying Checksum 18:07:36 2de7ff778b66: Download complete 18:07:38 ab5ef0e58194: Pull complete 18:07:38 9712f1f96733: Pull complete 18:07:39 63f879dbbcfc: Pull complete 18:07:43 0d9ebad4ef96: Pull complete 18:07:43 e9a5061849ea: Pull complete 18:07:43 d747dcd14b5f: Pull complete 18:07:44 2de7ff778b66: Pull complete 18:07:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:07:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:07:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:44 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 18:07:44 $ 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 18:07:48 $ docker top 451cedef765aa60f96644d169fb9d2940290659ed5fceed7e022cffe92aa9a28 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:07:48 provisioning config files... 18:07:48 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11968615108156860324tmp 18:07:48 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13120116185936231161tmp 18:07:48 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3042616562842537348tmp [Pipeline] { [Pipeline] echo 18:07:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:07:48 ---> sigul-configuration.sh 18:07:48 gpg: directory `/root/.gnupg' created 18:07:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:07:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:07:48 gpg: keyring `/root/.gnupg/secring.gpg' created 18:07:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:07:48 gpg: CAST5 encrypted data 18:07:48 gpg: encrypted with 1 passphrase 18:07:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:07:49 + mkdir /home/jenkins 18:07:49 + mkdir /home/jenkins/sigul [Pipeline] sh 18:07:49 + 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 18:07:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:07:49 ---> sigul-install.sh 18:07:49 Sigul already installed; skipping installation. [Pipeline] sh 18:07:50 + git tag --list 18:07:50 0.7.1 18:07:50 v1.0.0 18:07:50 v1.1.0 18:07:50 v1.1.1 18:07:50 v1.2.2 18:07:50 v1.3.0 18:07:50 v1.3.1 18:07:50 v2.0.0 18:07:50 v2.1.0 18:07:50 v2.1.1 18:07:50 v2.2.0 18:07:50 v2.3.0 18:07:50 v3.0 18:07:50 v3.0.0 18:07:50 v3.1.0-dev.1 [Pipeline] sh 18:07:50 + lftools sign git-tag v3.1.0-dev.1 18:07:50 Signing Git tag with Sigul... 18:07:50 Signing v3.1.0-dev.1 [Pipeline] echo 18:07:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:07:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:07:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:07:51 $ docker stop --time=1 451cedef765aa60f96644d169fb9d2940290659ed5fceed7e022cffe92aa9a28 18:07:52 $ docker rm -f --volumes 451cedef765aa60f96644d169fb9d2940290659ed5fceed7e022cffe92aa9a28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:07:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:07:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:53 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 18:07:53 $ 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 18:07:54 $ docker top e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:07:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:07:54 [ssh-agent] Looking for ssh-agent implementation... 18:07:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:07:54 $ docker exec e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 ssh-agent 18:07:54 SSH_AUTH_SOCK=/tmp/ssh-aWSutmwpFb6K/agent.32 18:07:54 SSH_AGENT_PID=38 18:07:54 Running ssh-add (command line suppressed) 18:07:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_159047546932436166.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_159047546932436166.key) 18:07:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:07:54 + git semver bump pre 18:07:55 2023-06-12 18:07:54,938 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:07:55 2023-06-12 18:07:54,939 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev 18:07:55 2023-06-12 18:07:54,939 [bump_version] DEBUG bumped version:3.1.0-dev.2 18:07:55 2023-06-12 18:07:54,939 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 18:07:55 2023-06-12 18:07:54,939 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:07:55 2023-06-12 18:07:54,939 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:07:55 2023-06-12 18:07:54,941 [execute] INFO git cat-file --batch-check 18:07:55 2023-06-12 18:07:54,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:07:55 2023-06-12 18:07:54,947 [execute] INFO git cat-file --batch 18:07:55 2023-06-12 18:07:54,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:07:55 2023-06-12 18:07:54,954 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:07:55 3.1.0-dev.2 [Pipeline] } 18:07:55 $ docker exec --env ******** --env ******** e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 ssh-agent -k 18:07:55 unset SSH_AUTH_SOCK; 18:07:55 unset SSH_AGENT_PID; 18:07:55 echo Agent pid 38 killed; 18:07:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:07:55 + git semver [Pipeline] } 18:07:55 $ docker stop --time=1 e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 18:07:56 $ docker rm -f --volumes e83dbde0982a39b02f60ee3fff99eb4401639a56b529fb4e2183e6a1301387a6 [Pipeline] // withDockerContainer [Pipeline] sh 18:07:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:07:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:57 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 18:07:57 $ 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 18:07:58 $ docker top 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 -eo pid,comm 18:07:58 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). 18:07:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:07:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:07:58 [ssh-agent] Looking for ssh-agent implementation... 18:07:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:07:58 $ docker exec 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 ssh-agent 18:07:58 SSH_AUTH_SOCK=/tmp/ssh-mo8K8euVgikT/agent.31 18:07:58 SSH_AGENT_PID=37 18:07:58 Running ssh-add (command line suppressed) 18:07:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14864746268701875334.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14864746268701875334.key) 18:07:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:07:58 + git semver push 18:07:59 2023-06-12 18:07:58,945 [run_push] DEBUG push 18:07:59 2023-06-12 18:07:58,946 [execute] INFO git cat-file --batch-check 18:07:59 2023-06-12 18:07:58,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:07:59 2023-06-12 18:07:58,950 [execute] INFO git rev-list f5d7c64cf66acb99ee6a445c07b55b7e08134e38 -- 18:07:59 2023-06-12 18:07:58,951 [execute] DEBUG Popen(['git', 'rev-list', 'f5d7c64cf66acb99ee6a445c07b55b7e08134e38', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:07:59 2023-06-12 18:07:58,958 [execute] INFO git fetch -v origin 18:07:59 2023-06-12 18:07:58,959 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:07:59 2023-06-12 18:07:59,436 [run_push] DEBUG no remote changes detected 18:07:59 2023-06-12 18:07:59,437 [execute] INFO git push origin semver 18:07:59 2023-06-12 18:07:59,437 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:08:00 2023-06-12 18:08:00,218 [run_push] DEBUG push all version tags 18:08:00 2023-06-12 18:08:00,219 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:08:00 2023-06-12 18:08:00,219 [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) 18:08:01 2023-06-12 18:08:00,946 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 18:08:01 3.1.0-dev.2 [Pipeline] } 18:08:01 $ docker exec --env ******** --env ******** 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 ssh-agent -k 18:08:01 unset SSH_AUTH_SOCK; 18:08:01 unset SSH_AGENT_PID; 18:08:01 echo Agent pid 37 killed; 18:08:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:08:01 + git semver [Pipeline] } 18:08:01 $ docker stop --time=1 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 18:08:03 $ docker rm -f --volumes 3226fa444a0f4a020d99c72c820af1796a6ed601e6d8d5c8487bf7d42fdb7011 [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 18:08:03 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 18:08:03 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 18:08:03 total 16 18:08:03 drwxr-xr-x 3 root root 4096 Jun 12 17:55 . 18:08:03 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:07 .. 18:08:03 drwxr-xr-x 2 root root 4096 Jun 12 17:55 cost 18:08:03 -rw-r--r-- 1 root root 88 Jun 12 17:55 cost.csv 18:08:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 18:08:03 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 18:08:03 total 16 18:08:03 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:55 . 18:08:03 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:07 .. 18:08:03 drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:55 cost 18:08:03 -rw-r--r-- 1 jenkins jenkins 88 Jun 12 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:08:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:08:04 ---> package-listing.sh 18:08:04 ++ facter osfamily 18:08:04 ++ tr '[:upper:]' '[:lower:]' 18:08:04 + OS_FAMILY=debian 18:08:04 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 18:08:04 + START_PACKAGES=/tmp/packages_start.txt 18:08:04 + END_PACKAGES=/tmp/packages_end.txt 18:08:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:08:04 + PACKAGES=/tmp/packages_start.txt 18:08:04 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 18:08:04 + PACKAGES=/tmp/packages_end.txt 18:08:04 + case "${OS_FAMILY}" in 18:08:04 + dpkg -l 18:08:04 + grep '^ii' 18:08:04 + '[' -f /tmp/packages_start.txt ']' 18:08:04 + '[' -f /tmp/packages_end.txt ']' 18:08:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:08:04 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 18:08:04 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 18:08:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 18:08:05 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 18:08:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:05 prd-ubuntu20.04-docker-8c-8g-18469 does not seem to be running inside a container 18:08:05 $ 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 18:08:06 $ docker top 75399affee57321cb3a86f22037b99f01783ebd031d7b84c58b2d7185318f416 -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:06 + touch /tmp/pre-build-complete [Pipeline] sh 18:08:06 + mkdir -p /var/log/sysstat [Pipeline] sh 18:08:07 + ls /var/log/sa-host 18:08:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:07 provisioning config files... 18:08:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11601828340209299078tmp [Pipeline] { [Pipeline] echo 18:08:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:08:07 ---> create-netrc.sh [Pipeline] } 18:08:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:08:07 ---> python-tools-install.sh [Pipeline] echo 18:08:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:08:08 ---> sudo-logs.sh 18:08:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:08:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:08:08 ---> job-cost.sh 18:08:08 lf-activate-venv: SKIPPING 18:08:08 DEBUG: total: 0.2199999988079071 18:08:08 INFO: Retrieving Stack Cost... 18:08:08 INFO: Retrieving Pricing Info for: v3-standard-8 18:08:09 INFO: Archiving Costs [Pipeline] echo 18:08:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:08:09 ---> logs-deploy.sh 18:08:09 lf-activate-venv: SKIPPING 18:08:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/114 18:08:09 INFO: archiving workspace using pattern(s): 18:08:10 Archives upload complete. 18:08:10 INFO: archiving logs to Nexus