Pull request #475 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f091230a10322b61795bdb00014c78c0e2f5161d+d01bb302454877eccf2a920557973b90075242ea (7854b9640ea5833b7e306f967161178a1e761cba) 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-ssh17873244350359277969.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh127788703248157220.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4024693708288509537.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8815576650324640644.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12064251705187289673.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-475/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-475/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13572178222253332154.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-14783’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14785 in /w/workspace/xfoundry_device-modbus-go_PR-475 [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/xfoundry_device-modbus-go_PR-475 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d01bb302454877eccf2a920557973b90075242ea into PR head commit f091230a10322b61795bdb00014c78c0e2f5161d Merge succeeded, producing f091230a10322b61795bdb00014c78c0e2f5161d Checking out Revision f091230a10322b61795bdb00014c78c0e2f5161d (PR-475) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > git config core.sparsecheckout # timeout=10 > git checkout -f f091230a10322b61795bdb00014c78c0e2f5161d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d01bb302454877eccf2a920557973b90075242ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f091230a10322b61795bdb00014c78c0e2f5161d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:18:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:18:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:18:13 ========================================================= 22:18:13 EdgeX Global Pipelines Version Info 22:18:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:18:14 ------------------- 22:18:14 stable info: 22:18:14 ------------------- 22:18:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:18:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:18:14 Message: update stable to v1.0.249 22:18:14 ------------------- 22:18:14 experimental info: 22:18:14 ------------------- 22:18:14 Commited By: **** collab-it+edgex@linuxfoundation.org 22:18:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:18:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:18:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-475 [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-475 [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-475 [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f091230a10322b61795bdb00014c78c0e2f5161d [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f091230 [Pipeline] echo 22:18:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:18:16 provisioning config files... 22:18:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-475@tmp/config13466866460061109191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:18:16 ---> docker-login.sh 22:18:16 nexus3.edgexfoundry.org:10001 22:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:17 Configure a credential helper to remove this warning. See 22:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:17 22:18:17 Login Succeeded 22:18:17 nexus3.edgexfoundry.org:10002 22:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:17 Configure a credential helper to remove this warning. See 22:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:17 22:18:17 Login Succeeded 22:18:17 nexus3.edgexfoundry.org:10003 22:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:17 Configure a credential helper to remove this warning. See 22:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:17 22:18:17 Login Succeeded 22:18:17 nexus3.edgexfoundry.org:10004 22:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:17 Configure a credential helper to remove this warning. See 22:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:17 22:18:17 Login Succeeded 22:18:17 docker.io 22:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:17 Configure a credential helper to remove this warning. See 22:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:17 22:18:17 Login Succeeded 22:18:17 ---> docker-login.sh ends [Pipeline] } 22:18:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:18:18 + git rev-list -1 --merges f091230a10322b61795bdb00014c78c0e2f5161d~1..f091230a10322b61795bdb00014c78c0e2f5161d [Pipeline] echo 22:18:18 -----------> git rev-list -1 --merges f091230a10322b61795bdb00014c78c0e2f5161d~1..f091230a10322b61795bdb00014c78c0e2f5161d f091230a10322b61795bdb00014c78c0e2f5161d [false] [Pipeline] sh 22:18:18 + git log --format=format:%s -1 f091230a10322b61795bdb00014c78c0e2f5161d [Pipeline] echo 22:18:18 ========================================================= 22:18:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:18:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:19 + git log --format=format:%s -1 f091230a10322b61795bdb00014c78c0e2f5161d [Pipeline] echo 22:18:19 [semverPrep] GIT_COMMIT: f091230a10322b61795bdb00014c78c0e2f5161d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 22:18:19 [semverPrep] This is not a build commit. [Pipeline] sh 22:18:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:18:19 + grep -v github /etc/ssh/ssh_known_hosts 22:18:19 + [ -e /tmp/ssh_known_hosts ] 22:18:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:18:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:18:19 + sudo tee -a /etc/ssh/ssh_known_hosts 22:18:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:18:20 22:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:18:20 0.1.4: Pulling from edgex-devops/py-git-semver 22:18:20 b85a868b505f: Pulling fs layer 22:18:20 e2be974225ed: Pulling fs layer 22:18:20 339a4e72a1f5: Pulling fs layer 22:18:20 988bab9f4d93: Pulling fs layer 22:18:20 1469e6f7b9e6: Pulling fs layer 22:18:20 eaf3925da568: Pulling fs layer 22:18:20 bab4dde63d76: Pulling fs layer 22:18:20 bde34c3a00c8: Pulling fs layer 22:18:20 b352a97aabf1: Pulling fs layer 22:18:20 4872d77fe225: Pulling fs layer 22:18:20 5851b861e8e6: Pulling fs layer 22:18:20 1469e6f7b9e6: Waiting 22:18:20 bde34c3a00c8: Waiting 22:18:20 b352a97aabf1: Waiting 22:18:20 4872d77fe225: Waiting 22:18:20 5851b861e8e6: Waiting 22:18:20 bab4dde63d76: Waiting 22:18:20 eaf3925da568: Waiting 22:18:20 988bab9f4d93: Waiting 22:18:20 e2be974225ed: Download complete 22:18:20 988bab9f4d93: Download complete 22:18:20 1469e6f7b9e6: Verifying Checksum 22:18:20 1469e6f7b9e6: Download complete 22:18:20 339a4e72a1f5: Verifying Checksum 22:18:20 339a4e72a1f5: Download complete 22:18:20 eaf3925da568: Download complete 22:18:20 bde34c3a00c8: Download complete 22:18:20 b352a97aabf1: Verifying Checksum 22:18:20 b352a97aabf1: Download complete 22:18:20 4872d77fe225: Verifying Checksum 22:18:20 4872d77fe225: Download complete 22:18:20 5851b861e8e6: Download complete 22:18:20 b85a868b505f: Download complete 22:18:21 bab4dde63d76: Verifying Checksum 22:18:21 bab4dde63d76: Download complete 22:18:22 b85a868b505f: Pull complete 22:18:22 e2be974225ed: Pull complete 22:18:22 339a4e72a1f5: Pull complete 22:18:22 988bab9f4d93: Pull complete 22:18:23 1469e6f7b9e6: Pull complete 22:18:23 eaf3925da568: Pull complete 22:18:25 bab4dde63d76: Pull complete 22:18:25 bde34c3a00c8: Pull complete 22:18:25 b352a97aabf1: Pull complete 22:18:25 4872d77fe225: Pull complete 22:18:25 5851b861e8e6: Pull complete 22:18:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:18:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:18:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:26 prd-ubuntu20.04-docker-8c-8g-14785 does not seem to be running inside a container 22:18:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-475 -v /w/workspace/xfoundry_device-modbus-go_PR-475:/w/workspace/xfoundry_device-modbus-go_PR-475:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-475@tmp:/w/workspace/xfoundry_device-modbus-go_PR-475@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:18:28 $ docker top 19e61667f7d182f01cf815b32b10857cbdeaff35fb801b46df3f3189fbce6ffd -eo pid,comm 22:18:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:18:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:18:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:18:28 [ssh-agent] Looking for ssh-agent implementation... 22:18:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:18:28 $ docker exec 19e61667f7d182f01cf815b32b10857cbdeaff35fb801b46df3f3189fbce6ffd ssh-agent 22:18:29 SSH_AUTH_SOCK=/tmp/ssh-69XHYL2K2MFI/agent.14 22:18:29 SSH_AGENT_PID=20 22:18:29 Running ssh-add (command line suppressed) 22:18:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-475@tmp/private_key_2500749676917887510.key (/w/workspace/xfoundry_device-modbus-go_PR-475@tmp/private_key_2500749676917887510.key) 22:18:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:18:29 + git tag --points-at HEAD [Pipeline] } 22:18:29 $ docker exec --env ******** --env ******** 19e61667f7d182f01cf815b32b10857cbdeaff35fb801b46df3f3189fbce6ffd ssh-agent -k 22:18:29 unset SSH_AUTH_SOCK; 22:18:29 unset SSH_AGENT_PID; 22:18:29 echo Agent pid 20 killed; 22:18:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:18:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:18:29 [ssh-agent] Looking for ssh-agent implementation... 22:18:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:18:29 $ docker exec 19e61667f7d182f01cf815b32b10857cbdeaff35fb801b46df3f3189fbce6ffd ssh-agent 22:18:29 SSH_AUTH_SOCK=/tmp/ssh-pXFW3QSKE9AY/agent.71 22:18:29 SSH_AGENT_PID=77 22:18:30 Running ssh-add (command line suppressed) 22:18:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-475@tmp/private_key_16585038751201441517.key (/w/workspace/xfoundry_device-modbus-go_PR-475@tmp/private_key_16585038751201441517.key) 22:18:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:18:30 + git semver init 22:18:31 2023-05-09 22:18:30,769 [run_init] DEBUG init version:0.0.0 force:False 22:18:31 2023-05-09 22:18:30,771 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-475/.semver 22:18:31 2023-05-09 22:18:30,772 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-475/.semver 22:18:31 2023-05-09 22:18:30,772 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-475/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-475, universal_newlines=False, shell=None, istream=None) 22:18:31 2023-05-09 22:18:31,564 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-475/.git/info/exclude 22:18:31 2023-05-09 22:18:31,565 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-475/.semver/PR-475 with force:False 22:18:31 2023-05-09 22:18:31,565 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-475/.semver/PR-475 22:18:31 2023-05-09 22:18:31,570 [execute] INFO git cat-file --batch-check 22:18:31 2023-05-09 22:18:31,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-475/.semver, universal_newlines=False, shell=None, istream=) 22:18:31 2023-05-09 22:18:31,578 [execute] INFO git cat-file --batch 22:18:31 2023-05-09 22:18:31,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-475/.semver, universal_newlines=False, shell=None, istream=) 22:18:31 2023-05-09 22:18:31,585 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-475/.semver/PR-475 22:18:31 0.0.0 [Pipeline] } 22:18:31 $ docker exec --env ******** --env ******** 19e61667f7d182f01cf815b32b10857cbdeaff35fb801b46df3f3189fbce6ffd ssh-agent -k 22:18:31 unset SSH_AUTH_SOCK; 22:18:31 unset SSH_AGENT_PID; 22:18:31 echo Agent pid 77 killed; 22:18:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:18:32 + git semver [Pipeline] } 22:18:32 $ docker stop --time=1 19e61667f7d182f01cf815b32b10857cbdeaff35fb801b46df3f3189fbce6ffd 22:18:33 $ docker rm -f --volumes 19e61667f7d182f01cf815b32b10857cbdeaff35fb801b46df3f3189fbce6ffd [Pipeline] // withDockerContainer [Pipeline] sh 22:18:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:18:34 Stashed 1 file(s) [Pipeline] echo 22:18:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:18:35 provisioning config files... 22:18:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-475@tmp/config2472035935583427681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:18:35 ---> docker-login.sh 22:18:35 nexus3.edgexfoundry.org:10001 22:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:35 Configure a credential helper to remove this warning. See 22:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:35 22:18:35 Login Succeeded 22:18:35 nexus3.edgexfoundry.org:10002 22:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:35 Configure a credential helper to remove this warning. See 22:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:35 22:18:35 Login Succeeded 22:18:35 nexus3.edgexfoundry.org:10003 22:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:35 Configure a credential helper to remove this warning. See 22:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:35 22:18:35 Login Succeeded 22:18:35 nexus3.edgexfoundry.org:10004 22:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:35 Configure a credential helper to remove this warning. See 22:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:35 22:18:35 Login Succeeded 22:18:35 docker.io 22:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:18:36 Configure a credential helper to remove this warning. See 22:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:18:36 22:18:36 Login Succeeded 22:18:36 ---> docker-login.sh ends [Pipeline] } 22:18:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:18:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:18:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:18:36 ========================================================= 22:18:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:18:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:37 + 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 . 22:18:37 Sending build context to Docker daemon 6.503MB 22:18:37 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 22:18:37 Step 2/10 : FROM ${BASE} AS builder 22:18:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:18:37 f56be85fc22e: Pulling fs layer 22:18:37 85791d961cd3: Pulling fs layer 22:18:37 d694b5ae8c79: Pulling fs layer 22:18:37 9f32a84ed3da: Pulling fs layer 22:18:37 4d19c01a9841: Pulling fs layer 22:18:37 9325e15d5711: Pulling fs layer 22:18:37 556b6ee489ea: Pulling fs layer 22:18:37 c5a4b2cf53e6: Pulling fs layer 22:18:37 4d19c01a9841: Waiting 22:18:37 9325e15d5711: Waiting 22:18:37 9f32a84ed3da: Waiting 22:18:37 556b6ee489ea: Waiting 22:18:37 c5a4b2cf53e6: Waiting 22:18:37 85791d961cd3: Download complete 22:18:37 9f32a84ed3da: Download complete 22:18:37 f56be85fc22e: Download complete 22:18:37 4d19c01a9841: Verifying Checksum 22:18:37 4d19c01a9841: Download complete 22:18:37 9325e15d5711: Download complete 22:18:37 f56be85fc22e: Pull complete 22:18:37 85791d961cd3: Pull complete 22:18:37 d694b5ae8c79: Download complete 22:18:38 c5a4b2cf53e6: Verifying Checksum 22:18:38 c5a4b2cf53e6: Download complete 22:18:38 556b6ee489ea: Verifying Checksum 22:18:38 556b6ee489ea: Download complete 22:18:41 d694b5ae8c79: Pull complete 22:18:41 9f32a84ed3da: Pull complete 22:18:41 4d19c01a9841: Pull complete 22:18:41 9325e15d5711: Pull complete 22:18:44 556b6ee489ea: Pull complete 22:18:45 c5a4b2cf53e6: Pull complete 22:18:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:18:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:18:45 ---> c4be618373d6 22:18:45 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:18:48 ---> Running in 481e427ce3b0 22:18:48 Removing intermediate container 481e427ce3b0 22:18:48 ---> 4192d8fe09a2 22:18:48 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:48 ---> Running in f61f4f255052 22:18:48 Removing intermediate container f61f4f255052 22:18:48 ---> 23847f2461c3 22:18:48 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:18:48 ---> Running in 837cbd9da454 22:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:18:48 (1/8) Installing openssh-keygen (9.1_p1-r2) 22:18:48 (2/8) Installing libedit (20221030.3.1-r0) 22:18:48 (3/8) Installing openssh-client-common (9.1_p1-r2) 22:18:49 (4/8) Installing openssh-client-default (9.1_p1-r2) 22:18:49 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 22:18:49 (6/8) Installing openssh-server-common (9.1_p1-r2) 22:18:49 (7/8) Installing openssh-server (9.1_p1-r2) 22:18:49 (8/8) Installing openssh (9.1_p1-r2) 22:18:49 Executing busybox-1.35.0-r29.trigger 22:18:49 OK: 270 MiB in 61 packages 22:18:49 Removing intermediate container 837cbd9da454 22:18:49 ---> d6ae45a7b8e1 22:18:49 Step 6/10 : WORKDIR /device-modbus-go 22:18:49 ---> Running in b3f1de6a6f07 22:18:49 Removing intermediate container b3f1de6a6f07 22:18:49 ---> 19a028d09c96 22:18:49 Step 7/10 : COPY go.mod vendor* ./ 22:18:49 ---> af6feb92a6b0 22:18:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:49 ---> Running in 6bc982257645 22:18:50 Still waiting to schedule task 22:18:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14784’ 22:19:13 Removing intermediate container 6bc982257645 22:19:13 ---> f75225d37798 22:19:13 Step 9/10 : COPY . . 22:19:13 ---> a47700620dbd 22:19:13 Step 10/10 : RUN ${MAKE} 22:19:13 ---> Running in 23d561ac1d76 22:19:13 noop 22:19:13 Removing intermediate container 23d561ac1d76 22:19:13 ---> 727077a40df7 22:19:13 Successfully built 727077a40df7 22:19:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:13 + docker inspect -f . ci-base-image-x86_64 22:19:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:13 prd-ubuntu20.04-docker-8c-8g-14785 does not seem to be running inside a container 22:19:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-475 -v /w/workspace/xfoundry_device-modbus-go_PR-475:/w/workspace/xfoundry_device-modbus-go_PR-475:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-475@tmp:/w/workspace/xfoundry_device-modbus-go_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:19:13 $ docker top 8783c694ab91391761c12e769390e5fd72d9d667538bb049484c9f8a1c6de46a -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:14 + go version 22:19:14 go version go1.20.2 linux/amd64 [Pipeline] } 22:19:14 $ docker stop --time=1 8783c694ab91391761c12e769390e5fd72d9d667538bb049484c9f8a1c6de46a 22:19:15 $ docker rm -f --volumes 8783c694ab91391761c12e769390e5fd72d9d667538bb049484c9f8a1c6de46a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:16 + docker inspect -f . ci-base-image-x86_64 22:19:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:16 prd-ubuntu20.04-docker-8c-8g-14785 does not seem to be running inside a container 22:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-475 -v /w/workspace/xfoundry_device-modbus-go_PR-475:/w/workspace/xfoundry_device-modbus-go_PR-475:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-475@tmp:/w/workspace/xfoundry_device-modbus-go_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:19:17 $ docker top bca360c1f51ead0424f89d2a8b90651b015832ef056f27cddba80b02e58396ac -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:17 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-475 [Pipeline] fileExists [Pipeline] sh 22:19:17 + make test 22:19:17 go test ./... -coverprofile=coverage.out 22:19:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:19:33 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:19:33 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.4% of statements 22:19:38 go vet ./... 22:19:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:42 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:19:43 $ docker stop --time=1 bca360c1f51ead0424f89d2a8b90651b015832ef056f27cddba80b02e58396ac 22:19:45 $ docker rm -f --volumes bca360c1f51ead0424f89d2a8b90651b015832ef056f27cddba80b02e58396ac [Pipeline] // withDockerContainer [Pipeline] sh 22:19:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:19:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:45 + ls -al . 22:19:45 total 180 22:19:45 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:19 . 22:19:45 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:18 .. 22:19:45 -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:18 .dockerignore 22:19:45 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:18 .git 22:19:45 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:18 .github 22:19:45 -rw-rw-r-- 1 jenkins jenkins 331 May 9 22:18 .gitignore 22:19:45 -rw-rw-r-- 1 jenkins jenkins 41 May 9 22:18 .golangci.yml 22:19:45 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:18 .semver 22:19:45 -rw-rw-r-- 1 jenkins jenkins 10132 May 9 22:18 Attribution.txt 22:19:45 -rw-rw-r-- 1 jenkins jenkins 11576 May 9 22:18 CHANGELOG.md 22:19:45 -rw-rw-r-- 1 jenkins jenkins 1365 May 9 22:18 Dockerfile 22:19:45 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:18 GOVERNANCE.md 22:19:45 -rw-rw-r-- 1 jenkins jenkins 680 May 9 22:18 Jenkinsfile 22:19:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 22:18 LICENSE 22:19:45 -rw-rw-r-- 1 jenkins jenkins 1705 May 9 22:18 Makefile 22:19:45 -rw-rw-r-- 1 jenkins jenkins 622 May 9 22:18 OWNERS.md 22:19:45 -rw-rw-r-- 1 jenkins jenkins 4045 May 9 22:18 README.md 22:19:45 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:18 VERSION 22:19:45 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:18 bin 22:19:45 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:18 cmd 22:19:45 -rw-r--r-- 1 jenkins jenkins 24160 May 9 22:19 coverage.out 22:19:45 -rw-rw-r-- 1 jenkins jenkins 3453 May 9 22:18 go.mod 22:19:45 -rw-rw-r-- 1 jenkins jenkins 31670 May 9 22:18 go.sum 22:19:45 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:18 internal 22:19:45 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:18 simulator 22:19:45 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:18 snap 22:19:45 -rw-rw-r-- 1 jenkins jenkins 229 May 9 22:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:46 + 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=f091230a10322b61795bdb00014c78c0e2f5161d --label arch=amd64 --label version=0.0.0 . 22:19:46 Sending build context to Docker daemon 6.529MB 22:19:46 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 22:19:46 Step 2/22 : FROM ${BASE} AS builder 22:19:46 ---> 727077a40df7 22:19:46 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:19:46 ---> Running in 72f1060fb3ab 22:19:46 Removing intermediate container 72f1060fb3ab 22:19:46 ---> 58994987c861 22:19:46 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:46 ---> Running in 94c5697c0374 22:19:46 Removing intermediate container 94c5697c0374 22:19:46 ---> 7419768dfc52 22:19:46 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:19:46 ---> Running in 3d2f4a1bd4c2 22:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:19:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:19:47 OK: 270 MiB in 61 packages 22:19:47 Removing intermediate container 3d2f4a1bd4c2 22:19:47 ---> c0c059101758 22:19:47 Step 6/22 : WORKDIR /device-modbus-go 22:19:47 ---> Running in c220689df5de 22:19:47 Removing intermediate container c220689df5de 22:19:47 ---> 33df684edd75 22:19:47 Step 7/22 : COPY go.mod vendor* ./ 22:19:47 ---> ae65729fc474 22:19:47 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:47 ---> Running in a3a98cfef36f 22:19:48 Removing intermediate container a3a98cfef36f 22:19:48 ---> cdee6f0d4f16 22:19:48 Step 9/22 : COPY . . 22:19:49 ---> b22491c16696 22:19:49 Step 10/22 : RUN ${MAKE} 22:19:49 ---> Running in 1770411f34a3 22:19:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:20:11 Removing intermediate container 1770411f34a3 22:20:11 ---> 26de2f0f2df5 22:20:11 Step 11/22 : FROM alpine:3.17 22:20:11 3.17: Pulling from library/alpine 22:20:11 f56be85fc22e: Already exists 22:20:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:20:11 Status: Downloaded newer image for alpine:3.17 22:20:11 ---> 9ed4aefc74f6 22:20:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:20:11 ---> Running in c7189f614cbe 22:20:11 Removing intermediate container c7189f614cbe 22:20:11 ---> de19b4056575 22:20:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:20:11 ---> Running in 0c80ea0deed1 22:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:20:11 (1/1) Installing dumb-init (1.2.5-r2) 22:20:11 Executing busybox-1.35.0-r29.trigger 22:20:11 OK: 7 MiB in 16 packages 22:20:11 Removing intermediate container 0c80ea0deed1 22:20:11 ---> f866b2e94268 22:20:11 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:20:11 ---> 4e8683b857d5 22:20:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:20:11 ---> 85aace94d5f9 22:20:11 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:20:11 ---> d10fdfd51838 22:20:11 Step 17/22 : EXPOSE 59901 22:20:11 ---> Running in 07ea40b96c66 22:20:11 Removing intermediate container 07ea40b96c66 22:20:11 ---> 7bd68f762814 22:20:11 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:20:11 ---> Running in 7aaea32d5ecc 22:20:11 Removing intermediate container 7aaea32d5ecc 22:20:11 ---> c2d1d319b432 22:20:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:20:11 ---> Running in 97d3c37a8dc7 22:20:11 Removing intermediate container 97d3c37a8dc7 22:20:11 ---> 281441e85fc3 22:20:11 Step 20/22 : LABEL arch=amd64 22:20:11 ---> Running in 8b72a247b3ea 22:20:11 Removing intermediate container 8b72a247b3ea 22:20:11 ---> 364d6bcef927 22:20:11 Step 21/22 : LABEL git_sha=f091230a10322b61795bdb00014c78c0e2f5161d 22:20:11 ---> Running in e1a6dba0af53 22:20:11 Removing intermediate container e1a6dba0af53 22:20:11 ---> 5dd18e65a422 22:20:11 Step 22/22 : LABEL version=0.0.0 22:20:11 ---> Running in 30ac10589922 22:20:11 Removing intermediate container 30ac10589922 22:20:11 ---> df2f0072b25f 22:20:11 [Warning] One or more build-args [ARCH] were not consumed 22:20:11 Successfully built df2f0072b25f 22:20:11 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:12 22:20:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:12 latest: Pulling from edgex-lftools-log-publisher 22:20:12 5eb5b503b376: Pulling fs layer 22:20:12 5c69ac0246d0: Pulling fs layer 22:20:12 ec43610c2a17: Pulling fs layer 22:20:12 3a2ae6a8a46f: Pulling fs layer 22:20:12 33b1e0a273af: Pulling fs layer 22:20:12 5d3b04190fa2: Pulling fs layer 22:20:12 2f39f015ded8: Pulling fs layer 22:20:12 33b1e0a273af: Waiting 22:20:12 5d3b04190fa2: Waiting 22:20:12 3a2ae6a8a46f: Waiting 22:20:12 2f39f015ded8: Waiting 22:20:12 5c69ac0246d0: Download complete 22:20:12 3a2ae6a8a46f: Verifying Checksum 22:20:12 3a2ae6a8a46f: Download complete 22:20:12 33b1e0a273af: Verifying Checksum 22:20:12 33b1e0a273af: Download complete 22:20:12 5d3b04190fa2: Verifying Checksum 22:20:12 5d3b04190fa2: Download complete 22:20:12 ec43610c2a17: Verifying Checksum 22:20:12 ec43610c2a17: Download complete 22:20:12 5eb5b503b376: Verifying Checksum 22:20:12 5eb5b503b376: Download complete 22:20:13 2f39f015ded8: Download complete 22:20:14 5eb5b503b376: Pull complete 22:20:14 5c69ac0246d0: Pull complete 22:20:14 ec43610c2a17: Pull complete 22:20:14 3a2ae6a8a46f: Pull complete 22:20:14 33b1e0a273af: Pull complete 22:20:14 5d3b04190fa2: Pull complete 22:20:19 2f39f015ded8: Pull complete 22:20:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:20:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:20:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:19 prd-ubuntu20.04-docker-8c-8g-14785 does not seem to be running inside a container 22:20:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-475 -v /w/workspace/xfoundry_device-modbus-go_PR-475:/w/workspace/xfoundry_device-modbus-go_PR-475:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-475@tmp:/w/workspace/xfoundry_device-modbus-go_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:20:22 $ docker top efa5f7658b9ee5fdb4538cc012dbe78880da8f7ee93a30faa70eb1faf846c7bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:22 ---> job-cost.sh 22:20:22 lf-activate-venv: SKIPPING 22:20:22 INFO: No Stack... 22:20:22 INFO: Retrieving Pricing Info for: v3-standard-8 22:20:23 INFO: Archiving Costs [Pipeline] sh 22:20:23 + cat /w/workspace/xfoundry_device-modbus-go_PR-475/archives/cost.csv 22:20:23 + cut -d, -f6 [Pipeline] lock 22:20:23 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-475-1-stack-cost] 22:20:23 Resource [jenkins-edgexfoundry-device-modbus-go-PR-475-1-stack-cost] did not exist. Created. 22:20:23 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-475-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:20:23 + echo total: 0.2199999988079071 [Pipeline] stash 22:20:23 Stashed 1 file(s) [Pipeline] } 22:20:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-475-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:20:23 $ docker stop --time=1 efa5f7658b9ee5fdb4538cc012dbe78880da8f7ee93a30faa70eb1faf846c7bb 22:20:25 $ docker rm -f --volumes efa5f7658b9ee5fdb4538cc012dbe78880da8f7ee93a30faa70eb1faf846c7bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:21:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14789 in /w/workspace/xfoundry_device-modbus-go_PR-475 [Pipeline] { [Pipeline] ws 22:21:20 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 22:21:20 Selected Git installation does not exist. Using Default 22:21:20 The recommended git tool is: NONE 22:21:26 using credential edgex-jenkins-ssh 22:21:26 Cloning the remote Git repository 22:21:26 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:21:26 > git init /w/workspace/device-modbus-go/1 # timeout=10 22:21:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:21:27 > git --version # timeout=10 22:21:27 > git --version # 'git version 2.25.1' 22:21:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:21:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:21:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:21:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:21:30 Merging remotes/origin/main commit d01bb302454877eccf2a920557973b90075242ea into PR head commit f091230a10322b61795bdb00014c78c0e2f5161d 22:21:30 Merge succeeded, producing f091230a10322b61795bdb00014c78c0e2f5161d 22:21:30 Checking out Revision f091230a10322b61795bdb00014c78c0e2f5161d (PR-475) 22:21:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:21:29 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:21:30 > git config core.sparsecheckout # timeout=10 22:21:30 > git checkout -f f091230a10322b61795bdb00014c78c0e2f5161d # timeout=10 22:21:30 > git remote # timeout=10 22:21:30 > git config --get remote.origin.url # timeout=10 22:21:30 using GIT_SSH to set credentials SSH Credentials for GitHub 22:21:30 > git merge d01bb302454877eccf2a920557973b90075242ea # timeout=10 22:21:30 > git rev-parse HEAD^{commit} # timeout=10 22:21:30 > git config core.sparsecheckout # timeout=10 22:21:30 > git checkout -f f091230a10322b61795bdb00014c78c0e2f5161d # timeout=10 22:21:30 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 22:21:31 > git --version # timeout=10 22:21:31 > git --version # 'git version 2.25.1' 22:21:31 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:21:32 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:32 Dload Upload Total Spent Left Speed 22:21:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 22:21:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:21:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:21:33 + sudo tee /etc/docker/daemon.new 22:21:33 { 22:21:33 "registry-mirrors": [ 22:21:33 "https://nexus3.edgexfoundry.org:10001" 22:21:33 ], 22:21:33 "bip": "10.250.0.254/24", 22:21:33 "hosts": [ 22:21:33 "tcp://0.0.0.0:5555", 22:21:33 "unix:///var/run/docker.sock" 22:21:33 ], 22:21:33 "mtu": 1458, 22:21:33 "selinux-enabled": true, 22:21:33 "seccomp-profile": "/etc/docker/seccomp.json" 22:21:33 } [Pipeline] sh 22:21:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:21:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:52 provisioning config files... 22:21:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config9363829967210358801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:52 ---> docker-login.sh 22:21:52 nexus3.edgexfoundry.org:10001 22:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:53 Configure a credential helper to remove this warning. See 22:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:53 22:21:53 Login Succeeded 22:21:53 nexus3.edgexfoundry.org:10002 22:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:53 Configure a credential helper to remove this warning. See 22:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:53 22:21:53 Login Succeeded 22:21:53 nexus3.edgexfoundry.org:10003 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:54 Configure a credential helper to remove this warning. See 22:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:54 22:21:54 Login Succeeded 22:21:54 nexus3.edgexfoundry.org:10004 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:54 Configure a credential helper to remove this warning. See 22:21:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:54 22:21:54 Login Succeeded 22:21:54 docker.io 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:55 Configure a credential helper to remove this warning. See 22:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:55 22:21:55 Login Succeeded 22:21:55 ---> docker-login.sh ends [Pipeline] } 22:21:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:21:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:55 ========================================================= 22:21:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:21:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:56 + 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 . 22:21:56 Sending build context to Docker daemon 3.395MB 22:21:56 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 22:21:56 Step 2/10 : FROM ${BASE} AS builder 22:21:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:21:56 c41833b44d91: Pulling fs layer 22:21:56 ed15518f5707: Pulling fs layer 22:21:56 feae8fd75edb: Pulling fs layer 22:21:56 242c74f7c9fa: Pulling fs layer 22:21:56 3cdef696dda3: Pulling fs layer 22:21:56 2ced38df9373: Pulling fs layer 22:21:56 58f1dce35555: Pulling fs layer 22:21:56 242c74f7c9fa: Waiting 22:21:56 3cdef696dda3: Waiting 22:21:56 2ced38df9373: Waiting 22:21:56 58f1dce35555: Waiting 22:21:56 ed15518f5707: Verifying Checksum 22:21:56 ed15518f5707: Download complete 22:21:56 242c74f7c9fa: Verifying Checksum 22:21:56 242c74f7c9fa: Download complete 22:21:56 3cdef696dda3: Verifying Checksum 22:21:56 3cdef696dda3: Download complete 22:21:56 c41833b44d91: Verifying Checksum 22:21:56 c41833b44d91: Download complete 22:21:58 c41833b44d91: Pull complete 22:21:58 58f1dce35555: Verifying Checksum 22:21:58 58f1dce35555: Download complete 22:21:59 feae8fd75edb: Verifying Checksum 22:21:59 feae8fd75edb: Download complete 22:21:59 2ced38df9373: Download complete 22:22:00 ed15518f5707: Pull complete 22:22:16 feae8fd75edb: Pull complete 22:22:16 242c74f7c9fa: Pull complete 22:22:16 3cdef696dda3: Pull complete 22:22:22 2ced38df9373: Pull complete 22:22:24 58f1dce35555: Pull complete 22:22:24 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:22:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:22:24 ---> fadd8f120f05 22:22:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:22:25 ---> Running in 58588ee79d02 22:22:26 Removing intermediate container 58588ee79d02 22:22:26 ---> 3362169ddf59 22:22:26 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:22:26 ---> Running in d090683a3be3 22:22:26 Removing intermediate container d090683a3be3 22:22:26 ---> 81a5ac0201d6 22:22:26 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:22:26 ---> Running in a5f8bd07eb75 22:22:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:22:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:22:29 (1/8) Installing openssh-keygen (9.1_p1-r2) 22:22:29 (2/8) Installing libedit (20221030.3.1-r0) 22:22:29 (3/8) Installing openssh-client-common (9.1_p1-r2) 22:22:29 (4/8) Installing openssh-client-default (9.1_p1-r2) 22:22:29 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 22:22:29 (6/8) Installing openssh-server-common (9.1_p1-r2) 22:22:29 (7/8) Installing openssh-server (9.1_p1-r2) 22:22:29 (8/8) Installing openssh (9.1_p1-r2) 22:22:29 Executing busybox-1.35.0-r29.trigger 22:22:29 OK: 270 MiB in 61 packages 22:22:31 Removing intermediate container a5f8bd07eb75 22:22:31 ---> 7892355e89e9 22:22:31 Step 6/10 : WORKDIR /device-modbus-go 22:22:31 ---> Running in 3b290f4102eb 22:22:31 Removing intermediate container 3b290f4102eb 22:22:31 ---> d85943d0d4ad 22:22:31 Step 7/10 : COPY go.mod vendor* ./ 22:22:32 ---> cdb34cd261f4 22:22:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:32 ---> Running in 72247c2d3ec4 22:23:40 Removing intermediate container 72247c2d3ec4 22:23:40 ---> 6cb9a6bf68bd 22:23:40 Step 9/10 : COPY . . 22:23:40 ---> 27302e911728 22:23:40 Step 10/10 : RUN ${MAKE} 22:23:40 ---> Running in 9685345d2bcb 22:23:40 noop 22:23:40 Removing intermediate container 9685345d2bcb 22:23:40 ---> 957f7294ef98 22:23:40 Successfully built 957f7294ef98 22:23:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:40 + docker inspect -f . ci-base-image-arm64 22:23:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:40 prd-ubuntu20.04-docker-arm64-4c-16g-14789 does not seem to be running inside a container 22:23:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:23:42 $ docker top 0b9d944a9c731784f9131d9a799dd1d2ab8dc0d432d1765c883b2e16b60c36db -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:43 + go version 22:23:43 go version go1.20.2 linux/arm64 [Pipeline] } 22:23:43 $ docker stop --time=1 0b9d944a9c731784f9131d9a799dd1d2ab8dc0d432d1765c883b2e16b60c36db 22:23:45 $ docker rm -f --volumes 0b9d944a9c731784f9131d9a799dd1d2ab8dc0d432d1765c883b2e16b60c36db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:45 + docker inspect -f . ci-base-image-arm64 22:23:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:46 prd-ubuntu20.04-docker-arm64-4c-16g-14789 does not seem to be running inside a container 22:23:46 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:23:47 $ docker top 03c2145373ea3ab5bcf8c5dd6debc405591d3c919aff222fba60c1425b72b80c -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:48 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 22:23:49 + make test 22:23:49 go test ./... -coverprofile=coverage.out 22:24:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:26:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:26:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.073s coverage: 47.4% of statements 22:26:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:26:49 go vet ./... 22:27:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:12 ./bin/test-attribution-txt.sh [Pipeline] echo 22:27:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:27:12 $ docker stop --time=1 03c2145373ea3ab5bcf8c5dd6debc405591d3c919aff222fba60c1425b72b80c 22:27:14 $ docker rm -f --volumes 03c2145373ea3ab5bcf8c5dd6debc405591d3c919aff222fba60c1425b72b80c [Pipeline] // withDockerContainer [Pipeline] sh 22:27:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:15 Warning: overwriting stash ‘coverage-report’ 22:27:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:27:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:16 + ls -al . 22:27:16 total 176 22:27:16 drwxrwxr-x 9 jenkins jenkins 4096 May 9 22:23 . 22:27:16 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:21 .. 22:27:16 -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:21 .dockerignore 22:27:16 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:21 .git 22:27:16 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:21 .github 22:27:16 -rw-rw-r-- 1 jenkins jenkins 331 May 9 22:21 .gitignore 22:27:16 -rw-rw-r-- 1 jenkins jenkins 41 May 9 22:21 .golangci.yml 22:27:16 -rw-rw-r-- 1 jenkins jenkins 10132 May 9 22:21 Attribution.txt 22:27:16 -rw-rw-r-- 1 jenkins jenkins 11576 May 9 22:21 CHANGELOG.md 22:27:16 -rw-rw-r-- 1 jenkins jenkins 1365 May 9 22:21 Dockerfile 22:27:16 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:21 GOVERNANCE.md 22:27:16 -rw-rw-r-- 1 jenkins jenkins 680 May 9 22:21 Jenkinsfile 22:27:16 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 22:21 LICENSE 22:27:16 -rw-rw-r-- 1 jenkins jenkins 1705 May 9 22:21 Makefile 22:27:16 -rw-rw-r-- 1 jenkins jenkins 622 May 9 22:21 OWNERS.md 22:27:16 -rw-rw-r-- 1 jenkins jenkins 4045 May 9 22:21 README.md 22:27:16 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:18 VERSION 22:27:16 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:21 bin 22:27:16 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:21 cmd 22:27:16 -rw-r--r-- 1 jenkins jenkins 24160 May 9 22:26 coverage.out 22:27:16 -rw-rw-r-- 1 jenkins jenkins 3453 May 9 22:21 go.mod 22:27:16 -rw-rw-r-- 1 jenkins jenkins 31670 May 9 22:21 go.sum 22:27:16 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:21 internal 22:27:16 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:21 simulator 22:27:16 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:21 snap 22:27:16 -rw-rw-r-- 1 jenkins jenkins 229 May 9 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:17 + 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=f091230a10322b61795bdb00014c78c0e2f5161d --label arch=arm64 --label version=0.0.0 . 22:27:17 Sending build context to Docker daemon 3.42MB 22:27:17 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 22:27:17 Step 2/22 : FROM ${BASE} AS builder 22:27:17 ---> 957f7294ef98 22:27:17 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:27:17 ---> Running in 521a4a14299f 22:27:18 Removing intermediate container 521a4a14299f 22:27:18 ---> eada5046d9a0 22:27:18 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:27:18 ---> Running in c7da3e95af91 22:27:18 Removing intermediate container c7da3e95af91 22:27:18 ---> 7dc546f5dc22 22:27:18 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:27:18 ---> Running in 9bee35166827 22:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:27:21 OK: 270 MiB in 61 packages 22:27:22 Removing intermediate container 9bee35166827 22:27:22 ---> d1b5e861a4c9 22:27:22 Step 6/22 : WORKDIR /device-modbus-go 22:27:22 ---> Running in 0b3ebce2b531 22:27:22 Removing intermediate container 0b3ebce2b531 22:27:22 ---> 9ac80501b9ce 22:27:22 Step 7/22 : COPY go.mod vendor* ./ 22:27:23 ---> a34d83bd0581 22:27:23 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:23 ---> Running in 6cf936d2e388 22:27:26 Removing intermediate container 6cf936d2e388 22:27:26 ---> 18e38813b5e7 22:27:26 Step 9/22 : COPY . . 22:27:27 ---> 2bb1ecc4a838 22:27:27 Step 10/22 : RUN ${MAKE} 22:27:27 ---> Running in beaf0293f388 22:27:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:29:49 Removing intermediate container beaf0293f388 22:29:49 ---> 30b4719ab40d 22:29:49 Step 11/22 : FROM alpine:3.17 22:29:49 3.17: Pulling from library/alpine 22:29:49 c41833b44d91: Already exists 22:29:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:29:49 Status: Downloaded newer image for alpine:3.17 22:29:49 ---> 51e60588ff2c 22:29:49 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:29:49 ---> Running in eeda9332c5cc 22:29:49 Removing intermediate container eeda9332c5cc 22:29:49 ---> 65f65678098a 22:29:49 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:29:49 ---> Running in 8e31b4e6eb29 22:29:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:29:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:29:51 (1/1) Installing dumb-init (1.2.5-r2) 22:29:51 Executing busybox-1.35.0-r29.trigger 22:29:51 OK: 8 MiB in 16 packages 22:29:52 Removing intermediate container 8e31b4e6eb29 22:29:52 ---> 1ed16351e3bd 22:29:52 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:29:54 ---> 885a2b7b1e6b 22:29:54 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:29:54 ---> 62cd05139b4f 22:29:54 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:29:55 ---> d2d8d07400ad 22:29:55 Step 17/22 : EXPOSE 59901 22:29:55 ---> Running in 9e17b7e3785f 22:29:55 Removing intermediate container 9e17b7e3785f 22:29:55 ---> 13e6b6115f45 22:29:55 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:29:55 ---> Running in 65abf0347a75 22:29:55 Removing intermediate container 65abf0347a75 22:29:55 ---> efc949a60a5e 22:29:55 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:29:55 ---> Running in ddabd75e089d 22:29:56 Removing intermediate container ddabd75e089d 22:29:56 ---> 4ffc35830ff9 22:29:56 Step 20/22 : LABEL arch=arm64 22:29:56 ---> Running in 83806780e3f7 22:29:56 Removing intermediate container 83806780e3f7 22:29:56 ---> bfc2ca772da0 22:29:56 Step 21/22 : LABEL git_sha=f091230a10322b61795bdb00014c78c0e2f5161d 22:29:56 ---> Running in 4ee2ed92bdc1 22:29:56 Removing intermediate container 4ee2ed92bdc1 22:29:56 ---> a458bfe0cce4 22:29:56 Step 22/22 : LABEL version=0.0.0 22:29:56 ---> Running in a7a301477865 22:29:57 Removing intermediate container a7a301477865 22:29:57 ---> 7b36c3558336 22:29:57 [Warning] One or more build-args [ARCH] were not consumed 22:29:57 Successfully built 7b36c3558336 22:29:57 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:57 22:29:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:29:58 arm64: Pulling from edgex-lftools-log-publisher 22:29:58 8998bd30e6a1: Pulling fs layer 22:29:58 04944245beec: Pulling fs layer 22:29:58 699f458cf7ca: Pulling fs layer 22:29:58 765212b225bb: Pulling fs layer 22:29:58 f23df028b6ca: Pulling fs layer 22:29:58 d65c8cfc05b1: Pulling fs layer 22:29:58 2437ff75d9bd: Pulling fs layer 22:29:58 765212b225bb: Waiting 22:29:58 f23df028b6ca: Waiting 22:29:58 d65c8cfc05b1: Waiting 22:29:58 2437ff75d9bd: Waiting 22:29:58 04944245beec: Verifying Checksum 22:29:58 04944245beec: Download complete 22:29:58 765212b225bb: Verifying Checksum 22:29:58 765212b225bb: Download complete 22:29:58 f23df028b6ca: Verifying Checksum 22:29:58 f23df028b6ca: Download complete 22:29:58 d65c8cfc05b1: Verifying Checksum 22:29:58 d65c8cfc05b1: Download complete 22:29:58 699f458cf7ca: Verifying Checksum 22:29:58 699f458cf7ca: Download complete 22:29:59 8998bd30e6a1: Verifying Checksum 22:29:59 8998bd30e6a1: Download complete 22:30:01 2437ff75d9bd: Verifying Checksum 22:30:01 2437ff75d9bd: Download complete 22:30:03 8998bd30e6a1: Pull complete 22:30:05 04944245beec: Pull complete 22:30:06 699f458cf7ca: Pull complete 22:30:06 765212b225bb: Pull complete 22:30:07 f23df028b6ca: Pull complete 22:30:07 d65c8cfc05b1: Pull complete 22:30:20 2437ff75d9bd: Pull complete 22:30:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:30:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:30:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:20 prd-ubuntu20.04-docker-arm64-4c-16g-14789 does not seem to be running inside a container 22:30:20 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:30:22 $ docker top f1d00bc18ff7c64c0d3600143d0807dfa7feb9aae446a89d81d127e448c937ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:23 ---> job-cost.sh 22:30:23 lf-activate-venv: SKIPPING 22:30:23 INFO: No Stack... 22:30:24 INFO: Retrieving Pricing Info for: v3-standard-4 22:30:25 INFO: Archiving Costs [Pipeline] sh 22:30:25 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 22:30:25 + cut -d, -f6 [Pipeline] lock 22:30:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-475-1-stack-cost] 22:30:25 Resource [jenkins-edgexfoundry-device-modbus-go-PR-475-1-stack-cost] did not exist. Created. 22:30:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-475-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:30:26 /w/workspace/device-modbus-go/1@tmp/durable-114931f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:30:27 + echo total: 0.10999999940395355 [Pipeline] stash 22:30:27 Warning: overwriting stash ‘stack-cost’ 22:30:27 Stashed 1 file(s) [Pipeline] } 22:30:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-475-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:30:27 $ docker stop --time=1 f1d00bc18ff7c64c0d3600143d0807dfa7feb9aae446a89d81d127e448c937ac 22:30:28 $ docker rm -f --volumes f1d00bc18ff7c64c0d3600143d0807dfa7feb9aae446a89d81d127e448c937ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:30:29 provisioning config files... 22:30:29 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-475@tmp/config3519565328160128059tmp [Pipeline] { [Pipeline] sh 22:30:30 + set +x 22:30:30 + bash -s -- 22:30:30 + curl -s https://codecov.io/bash 22:30:30 22:30:30 _____ _ 22:30:30 / ____| | | 22:30:30 | | ___ __| | ___ ___ _____ __ 22:30:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:30:30 | |___| (_) | (_| | __/ (_| (_) \ V / 22:30:30 \_____\___/ \__,_|\___|\___\___/ \_/ 22:30:30 Bash-1.0.6 22:30:30 22:30:30 22:30:30 ==> git version 2.25.1 found 22:30:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:30:30 Release-Date: 2020-01-08 22:30:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:30:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:30:30 ==> Jenkins CI detected. 22:30:30 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-475 22:30:30 project root: . 22:30:30 --> token set from env 22:30:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:30:30 ==> Running gcov in . (disable via -X gcov) 22:30:30 ==> Python coveragepy not found 22:30:30 ==> Searching for coverage reports in: 22:30:30 + . 22:30:30 -> Found 1 reports 22:30:30 ==> Detecting git/mercurial file structure 22:30:30 ==> Reading reports 22:30:30 + ./coverage.out bytes=24160 22:30:30 ==> Appending adjustments 22:30:30 https://docs.codecov.io/docs/fixing-reports 22:30:30 + Found adjustments 22:30:30 ==> Gzipping contents 22:30:30 4.0K /tmp/codecov.jOtVOV.gz 22:30:30 ==> Uploading reports 22:30:30 url: https://codecov.io 22:30:30 query: branch=PR-475&commit=f091230a10322b61795bdb00014c78c0e2f5161d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=475&job=&cmd_args= 22:30:30 -> Pinging Codecov 22:30:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-475&commit=f091230a10322b61795bdb00014c78c0e2f5161d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=475&job=&cmd_args= 22:30:30 -> Uploading to 22:30:30 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/55DBCA73C666E3227836607328DD7E49/f091230a10322b61795bdb00014c78c0e2f5161d/de908e19-7b99-4c67-848e-f6b8a1331cd7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T223030Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdb5aa44dfdcbda996e51ab036d838b9f96ab30ea1539485576a0452d4eec898 22:30:30 % Total % Received % Xferd Average Speed Time Time Time Current 22:30:30 Dload Upload Total Spent Left Speed 22:30:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18775 --:--:-- --:--:-- --:--:-- 18775 22:30:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f091230a10322b61795bdb00014c78c0e2f5161d [Pipeline] } 22:30:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:30:32 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-475/archives ] 22:30:32 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-475/archives 22:30:32 total 16 22:30:32 drwxr-xr-x 3 root root 4096 May 9 22:20 . 22:30:32 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:20 .. 22:30:32 drwxr-xr-x 2 root root 4096 May 9 22:20 cost 22:30:32 -rw-r--r-- 1 root root 88 May 9 22:20 cost.csv 22:30:32 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-475/archives 22:30:32 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-475/archives 22:30:32 total 16 22:30:32 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:20 . 22:30:32 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:20 .. 22:30:32 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:20 cost 22:30:32 -rw-r--r-- 1 jenkins jenkins 88 May 9 22:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:30:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:30:33 ---> package-listing.sh 22:30:33 ++ facter osfamily 22:30:33 ++ tr '[:upper:]' '[:lower:]' 22:30:33 + OS_FAMILY=debian 22:30:33 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-475 22:30:33 + START_PACKAGES=/tmp/packages_start.txt 22:30:33 + END_PACKAGES=/tmp/packages_end.txt 22:30:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:30:33 + PACKAGES=/tmp/packages_start.txt 22:30:33 + '[' /w/workspace/xfoundry_device-modbus-go_PR-475 ']' 22:30:33 + PACKAGES=/tmp/packages_end.txt 22:30:33 + case "${OS_FAMILY}" in 22:30:33 + dpkg -l 22:30:33 + grep '^ii' 22:30:33 + '[' -f /tmp/packages_start.txt ']' 22:30:33 + '[' -f /tmp/packages_end.txt ']' 22:30:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:30:33 + '[' /w/workspace/xfoundry_device-modbus-go_PR-475 ']' 22:30:33 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-475/archives/ 22:30:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-475/archives/ [Pipeline] echo 22:30:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-475/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:30:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:35 prd-ubuntu20.04-docker-8c-8g-14785 does not seem to be running inside a container 22:30:35 $ 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/xfoundry_device-modbus-go_PR-475/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-475 -v /w/workspace/xfoundry_device-modbus-go_PR-475:/w/workspace/xfoundry_device-modbus-go_PR-475:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-475@tmp:/w/workspace/xfoundry_device-modbus-go_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:30:35 $ docker top b221b32518ca50f756eb6d1e98988c1fd8bba868955730104ccb18b9e9492634 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:35 + touch /tmp/pre-build-complete [Pipeline] sh 22:30:36 + mkdir -p /var/log/sysstat [Pipeline] sh 22:30:36 + ls /var/log/sa-host 22:30:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:36 provisioning config files... 22:30:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-475@tmp/config5042727364718876967tmp [Pipeline] { [Pipeline] echo 22:30:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:30:36 ---> create-netrc.sh [Pipeline] } 22:30:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:30:37 ---> python-tools-install.sh [Pipeline] echo 22:30:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:30:37 ---> sudo-logs.sh 22:30:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:30:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:30:38 ---> job-cost.sh 22:30:38 lf-activate-venv: SKIPPING 22:30:38 DEBUG: total: 0.2199999988079071 22:30:38 INFO: Retrieving Stack Cost... 22:30:38 INFO: Retrieving Pricing Info for: v3-standard-8 22:30:38 INFO: Archiving Costs [Pipeline] echo 22:30:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:30:39 ---> logs-deploy.sh 22:30:39 lf-activate-venv: SKIPPING 22:30:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-475/1 22:30:39 INFO: archiving workspace using pattern(s): 22:30:40 Archives upload complete. 22:30:40 INFO: archiving logs to Nexus