Pull request #485 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from edeb2b4233dffb32765bc97338f248b0dffae468+e24262ef9183de1c0c5cd9baee4f648fbf1c66fe (6e38d130063e947850cc07132b288b3e2e056d99) 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-ssh2858211668267848602.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-ssh12286477440422982427.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-485/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-485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5692451782624188945.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-485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2086240912056895080.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-ssh15655044999946937271.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-485/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-485/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12329997117625889605.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16365 in /w/workspace/xfoundry_device-modbus-go_PR-485 [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-485 # 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/485/head:refs/remotes/origin/PR-485 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e24262ef9183de1c0c5cd9baee4f648fbf1c66fe into PR head commit edeb2b4233dffb32765bc97338f248b0dffae468 Merge succeeded, producing edeb2b4233dffb32765bc97338f248b0dffae468 Checking out Revision edeb2b4233dffb32765bc97338f248b0dffae468 (PR-485) 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:32:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:32:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f edeb2b4233dffb32765bc97338f248b0dffae468 # 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 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edeb2b4233dffb32765bc97338f248b0dffae468 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:32:57 ========================================================= 21:32:57 EdgeX Global Pipelines Version Info 21:32:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:32:58 ------------------- 21:32:58 stable info: 21:32:58 ------------------- 21:32:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:32:58 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:32:58 Message: update stable to v1.0.249 21:32:58 ------------------- 21:32:58 experimental info: 21:32:58 ------------------- 21:32:58 Commited By: **** collab-it+edgex@linuxfoundation.org 21:32:58 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:32:58 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:32:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:32:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-485 [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-485 [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-485 [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edeb2b4233dffb32765bc97338f248b0dffae468 [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edeb2b4 [Pipeline] echo 21:33:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:00 provisioning config files... 21:33:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-485@tmp/config4987629489222448359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:00 ---> docker-login.sh 21:33:00 nexus3.edgexfoundry.org:10001 21:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:01 Configure a credential helper to remove this warning. See 21:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:01 21:33:01 Login Succeeded 21:33:01 nexus3.edgexfoundry.org:10002 21:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:01 Configure a credential helper to remove this warning. See 21:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:01 21:33:01 Login Succeeded 21:33:01 nexus3.edgexfoundry.org:10003 21:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:01 Configure a credential helper to remove this warning. See 21:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:01 21:33:01 Login Succeeded 21:33:01 nexus3.edgexfoundry.org:10004 21:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:01 Configure a credential helper to remove this warning. See 21:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:01 21:33:01 Login Succeeded 21:33:01 docker.io 21:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:01 Configure a credential helper to remove this warning. See 21:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:01 21:33:01 Login Succeeded 21:33:01 ---> docker-login.sh ends [Pipeline] } 21:33:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:33:02 + git rev-list -1 --merges edeb2b4233dffb32765bc97338f248b0dffae468~1..edeb2b4233dffb32765bc97338f248b0dffae468 [Pipeline] echo 21:33:02 -----------> git rev-list -1 --merges edeb2b4233dffb32765bc97338f248b0dffae468~1..edeb2b4233dffb32765bc97338f248b0dffae468 edeb2b4233dffb32765bc97338f248b0dffae468 [false] [Pipeline] sh 21:33:02 + git log --format=format:%s -1 edeb2b4233dffb32765bc97338f248b0dffae468 [Pipeline] echo 21:33:02 ========================================================= 21:33:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:33:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:03 + git log --format=format:%s -1 edeb2b4233dffb32765bc97338f248b0dffae468 [Pipeline] echo 21:33:03 [semverPrep] GIT_COMMIT: edeb2b4233dffb32765bc97338f248b0dffae468, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:33:03 [semverPrep] This is not a build commit. [Pipeline] sh 21:33:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:33:03 + grep -v github /etc/ssh/ssh_known_hosts 21:33:03 + [ -e /tmp/ssh_known_hosts ] 21:33:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:33:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:33:03 + sudo tee -a /etc/ssh/ssh_known_hosts 21:33:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:04 21:33:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:04 0.1.4: Pulling from edgex-devops/py-git-semver 21:33:04 b85a868b505f: Pulling fs layer 21:33:04 e2be974225ed: Pulling fs layer 21:33:04 339a4e72a1f5: Pulling fs layer 21:33:04 988bab9f4d93: Pulling fs layer 21:33:04 1469e6f7b9e6: Pulling fs layer 21:33:04 eaf3925da568: Pulling fs layer 21:33:04 bab4dde63d76: Pulling fs layer 21:33:04 bde34c3a00c8: Pulling fs layer 21:33:04 b352a97aabf1: Pulling fs layer 21:33:04 4872d77fe225: Pulling fs layer 21:33:04 5851b861e8e6: Pulling fs layer 21:33:04 bab4dde63d76: Waiting 21:33:04 bde34c3a00c8: Waiting 21:33:04 b352a97aabf1: Waiting 21:33:04 4872d77fe225: Waiting 21:33:04 988bab9f4d93: Waiting 21:33:04 5851b861e8e6: Waiting 21:33:04 1469e6f7b9e6: Waiting 21:33:04 eaf3925da568: Waiting 21:33:04 e2be974225ed: Download complete 21:33:04 988bab9f4d93: Verifying Checksum 21:33:04 988bab9f4d93: Download complete 21:33:04 1469e6f7b9e6: Verifying Checksum 21:33:04 1469e6f7b9e6: Download complete 21:33:04 339a4e72a1f5: Verifying Checksum 21:33:04 339a4e72a1f5: Download complete 21:33:04 eaf3925da568: Verifying Checksum 21:33:04 eaf3925da568: Download complete 21:33:04 bde34c3a00c8: Download complete 21:33:04 b352a97aabf1: Verifying Checksum 21:33:04 b352a97aabf1: Download complete 21:33:04 4872d77fe225: Download complete 21:33:04 5851b861e8e6: Verifying Checksum 21:33:04 5851b861e8e6: Download complete 21:33:04 b85a868b505f: Verifying Checksum 21:33:04 b85a868b505f: Download complete 21:33:04 bab4dde63d76: Verifying Checksum 21:33:04 bab4dde63d76: Download complete 21:33:05 b85a868b505f: Pull complete 21:33:06 e2be974225ed: Pull complete 21:33:06 339a4e72a1f5: Pull complete 21:33:06 988bab9f4d93: Pull complete 21:33:06 1469e6f7b9e6: Pull complete 21:33:07 eaf3925da568: Pull complete 21:33:09 bab4dde63d76: Pull complete 21:33:09 bde34c3a00c8: Pull complete 21:33:09 b352a97aabf1: Pull complete 21:33:09 4872d77fe225: Pull complete 21:33:09 5851b861e8e6: Pull complete 21:33:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:33:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:09 prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container 21:33:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-485 -v /w/workspace/xfoundry_device-modbus-go_PR-485:/w/workspace/xfoundry_device-modbus-go_PR-485:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-485@tmp:/w/workspace/xfoundry_device-modbus-go_PR-485@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 21:33:12 $ docker top dddc9637eb35ef7c797a3a18d6bcba7679a90f8bd9a50c8d599bdcec7f534e16 -eo pid,comm 21:33:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:33:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:33:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:33:12 [ssh-agent] Looking for ssh-agent implementation... 21:33:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:33:12 $ docker exec dddc9637eb35ef7c797a3a18d6bcba7679a90f8bd9a50c8d599bdcec7f534e16 ssh-agent 21:33:13 SSH_AUTH_SOCK=/tmp/ssh-lhFyeRQpi7c4/agent.31 21:33:13 SSH_AGENT_PID=37 21:33:13 Running ssh-add (command line suppressed) 21:33:13 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-485@tmp/private_key_11599533441598308354.key (/w/workspace/xfoundry_device-modbus-go_PR-485@tmp/private_key_11599533441598308354.key) 21:33:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:33:13 + git tag --points-at HEAD [Pipeline] } 21:33:13 $ docker exec --env ******** --env ******** dddc9637eb35ef7c797a3a18d6bcba7679a90f8bd9a50c8d599bdcec7f534e16 ssh-agent -k 21:33:13 unset SSH_AUTH_SOCK; 21:33:13 unset SSH_AGENT_PID; 21:33:13 echo Agent pid 37 killed; 21:33:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:33:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:33:13 [ssh-agent] Looking for ssh-agent implementation... 21:33:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:33:13 $ docker exec dddc9637eb35ef7c797a3a18d6bcba7679a90f8bd9a50c8d599bdcec7f534e16 ssh-agent 21:33:13 SSH_AUTH_SOCK=/tmp/ssh-ztoNw1rD29xN/agent.69 21:33:13 SSH_AGENT_PID=76 21:33:13 Running ssh-add (command line suppressed) 21:33:14 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-485@tmp/private_key_17339276822554667492.key (/w/workspace/xfoundry_device-modbus-go_PR-485@tmp/private_key_17339276822554667492.key) 21:33:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:33:14 + git semver init 21:33:14 2023-05-22 21:33:14,579 [run_init] DEBUG init version:0.0.0 force:False 21:33:14 2023-05-22 21:33:14,580 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-485/.semver 21:33:14 2023-05-22 21:33:14,580 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-485/.semver 21:33:14 2023-05-22 21:33:14,580 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-485/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-485, universal_newlines=False, shell=None, istream=None) 21:33:15 2023-05-22 21:33:15,367 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-485/.git/info/exclude 21:33:15 2023-05-22 21:33:15,367 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-485/.semver/PR-485 with force:False 21:33:15 2023-05-22 21:33:15,367 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-485/.semver/PR-485 21:33:15 2023-05-22 21:33:15,372 [execute] INFO git cat-file --batch-check 21:33:15 2023-05-22 21:33:15,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-485/.semver, universal_newlines=False, shell=None, istream=) 21:33:15 2023-05-22 21:33:15,381 [execute] INFO git cat-file --batch 21:33:15 2023-05-22 21:33:15,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-485/.semver, universal_newlines=False, shell=None, istream=) 21:33:15 2023-05-22 21:33:15,387 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-485/.semver/PR-485 21:33:15 0.0.0 [Pipeline] } 21:33:15 $ docker exec --env ******** --env ******** dddc9637eb35ef7c797a3a18d6bcba7679a90f8bd9a50c8d599bdcec7f534e16 ssh-agent -k 21:33:15 unset SSH_AUTH_SOCK; 21:33:15 unset SSH_AGENT_PID; 21:33:15 echo Agent pid 76 killed; 21:33:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:33:16 + git semver [Pipeline] } 21:33:16 $ docker stop --time=1 dddc9637eb35ef7c797a3a18d6bcba7679a90f8bd9a50c8d599bdcec7f534e16 21:33:17 $ docker rm -f --volumes dddc9637eb35ef7c797a3a18d6bcba7679a90f8bd9a50c8d599bdcec7f534e16 [Pipeline] // withDockerContainer [Pipeline] sh 21:33:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:33:18 Stashed 1 file(s) [Pipeline] echo 21:33:18 [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 21:33:19 provisioning config files... 21:33:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-485@tmp/config10598292540638638632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16364 in /w/workspace/xfoundry_device-modbus-go_PR-485 [Pipeline] { [Pipeline] ws 21:33:19 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 21:33:19 Selected Git installation does not exist. Using Default 21:33:19 The recommended git tool is: NONE 21:33:19 ---> docker-login.sh 21:33:19 nexus3.edgexfoundry.org:10001 21:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:19 Configure a credential helper to remove this warning. See 21:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:19 21:33:19 Login Succeeded 21:33:19 nexus3.edgexfoundry.org:10002 21:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:19 Configure a credential helper to remove this warning. See 21:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:19 21:33:19 Login Succeeded 21:33:19 nexus3.edgexfoundry.org:10003 21:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:19 Configure a credential helper to remove this warning. See 21:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:19 21:33:19 Login Succeeded 21:33:19 nexus3.edgexfoundry.org:10004 21:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:19 Configure a credential helper to remove this warning. See 21:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:19 21:33:19 Login Succeeded 21:33:19 docker.io 21:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:20 Configure a credential helper to remove this warning. See 21:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:20 21:33:20 Login Succeeded 21:33:20 ---> docker-login.sh ends [Pipeline] } 21:33:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:33:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:20 ========================================================= 21:33:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:33:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:20 + 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 . 21:33:20 Sending build context to Docker daemon 6.544MB 21:33:20 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:33:20 Step 2/10 : FROM ${BASE} AS builder 21:33:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:33:20 f56be85fc22e: Pulling fs layer 21:33:20 85791d961cd3: Pulling fs layer 21:33:20 d694b5ae8c79: Pulling fs layer 21:33:20 9f32a84ed3da: Pulling fs layer 21:33:20 4d19c01a9841: Pulling fs layer 21:33:20 9325e15d5711: Pulling fs layer 21:33:20 556b6ee489ea: Pulling fs layer 21:33:20 c5a4b2cf53e6: Pulling fs layer 21:33:20 9f32a84ed3da: Waiting 21:33:20 9325e15d5711: Waiting 21:33:20 556b6ee489ea: Waiting 21:33:20 4d19c01a9841: Waiting 21:33:20 c5a4b2cf53e6: Waiting 21:33:21 85791d961cd3: Download complete 21:33:21 9f32a84ed3da: Verifying Checksum 21:33:21 9f32a84ed3da: Download complete 21:33:21 4d19c01a9841: Verifying Checksum 21:33:21 4d19c01a9841: Download complete 21:33:21 f56be85fc22e: Verifying Checksum 21:33:21 f56be85fc22e: Download complete 21:33:21 9325e15d5711: Verifying Checksum 21:33:21 9325e15d5711: Download complete 21:33:21 f56be85fc22e: Pull complete 21:33:21 85791d961cd3: Pull complete 21:33:21 c5a4b2cf53e6: Verifying Checksum 21:33:21 c5a4b2cf53e6: Download complete 21:33:21 d694b5ae8c79: Verifying Checksum 21:33:21 d694b5ae8c79: Download complete 21:33:21 556b6ee489ea: Verifying Checksum 21:33:21 556b6ee489ea: Download complete 21:33:25 d694b5ae8c79: Pull complete 21:33:25 9f32a84ed3da: Pull complete 21:33:25 4d19c01a9841: Pull complete 21:33:25 9325e15d5711: Pull complete 21:33:27 using credential edgex-jenkins-ssh 21:33:27 Cloning the remote Git repository 21:33:27 556b6ee489ea: Pull complete 21:33:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:33:27 > git init /w/workspace/device-modbus-go/1 # timeout=10 21:33:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:33:27 > git --version # timeout=10 21:33:28 > git --version # 'git version 2.25.1' 21:33:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:28 c5a4b2cf53e6: Pull complete 21:33:28 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:33:28 ---> c4be618373d6 21:33:28 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:33:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:33:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:31 Merging remotes/origin/main commit e24262ef9183de1c0c5cd9baee4f648fbf1c66fe into PR head commit edeb2b4233dffb32765bc97338f248b0dffae468 21:33:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:33:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:33:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:33:31 > git config core.sparsecheckout # timeout=10 21:33:31 Merge succeeded, producing edeb2b4233dffb32765bc97338f248b0dffae468 21:33:31 Checking out Revision edeb2b4233dffb32765bc97338f248b0dffae468 (PR-485) 21:33:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:33:32 > git --version # timeout=10 21:33:32 > git --version # 'git version 2.25.1' 21:33:32 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage 21:33:31 > git checkout -f edeb2b4233dffb32765bc97338f248b0dffae468 # timeout=10 21:33:31 > git remote # timeout=10 21:33:31 > git config --get remote.origin.url # timeout=10 21:33:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:31 > git merge e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 21:33:31 > git rev-parse HEAD^{commit} # timeout=10 21:33:31 > git config core.sparsecheckout # timeout=10 21:33:31 > git checkout -f edeb2b4233dffb32765bc97338f248b0dffae468 # timeout=10 [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:33:33 % Total % Received % Xferd Average Speed Time Time Time Current 21:33:33 Dload Upload Total Spent Left Speed 21:33:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 21:33:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:33:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:33:34 + sudo tee /etc/docker/daemon.new 21:33:34 { 21:33:34 "registry-mirrors": [ 21:33:34 "https://nexus3.edgexfoundry.org:10001" 21:33:34 ], 21:33:34 "bip": "10.250.0.254/24", 21:33:34 "hosts": [ 21:33:34 "tcp://0.0.0.0:5555", 21:33:34 "unix:///var/run/docker.sock" 21:33:34 ], 21:33:34 "mtu": 1458, 21:33:34 "selinux-enabled": true, 21:33:34 "seccomp-profile": "/etc/docker/seccomp.json" 21:33:34 } [Pipeline] sh 21:33:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:33:35 ---> Running in 0f7fba9f6123 21:33:35 Removing intermediate container 0f7fba9f6123 21:33:35 ---> af1f4f963da4 21:33:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:33:35 ---> Running in 1bd76412b1ed 21:33:35 Removing intermediate container 1bd76412b1ed 21:33:35 ---> b9adc732f3d2 21:33:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:33:35 ---> Running in 94cbb4f70feb 21:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:33:35 + sudo service docker restart 21:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:33:35 (1/8) Installing openssh-keygen (9.1_p1-r3) 21:33:35 (2/8) Installing libedit (20221030.3.1-r0) 21:33:35 (3/8) Installing openssh-client-common (9.1_p1-r3) 21:33:35 (4/8) Installing openssh-client-default (9.1_p1-r3) 21:33:35 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 21:33:35 (6/8) Installing openssh-server-common (9.1_p1-r3) 21:33:35 (7/8) Installing openssh-server (9.1_p1-r3) 21:33:35 (8/8) Installing openssh (9.1_p1-r3) 21:33:35 Executing busybox-1.35.0-r29.trigger 21:33:35 OK: 270 MiB in 61 packages 21:33:36 Removing intermediate container 94cbb4f70feb 21:33:36 ---> 1f1b6cb7746b 21:33:36 Step 6/10 : WORKDIR /device-modbus-go 21:33:36 ---> Running in a4b5fda110b8 21:33:36 Removing intermediate container a4b5fda110b8 21:33:36 ---> 597ab59bac1d 21:33:36 Step 7/10 : COPY go.mod vendor* ./ 21:33:36 ---> 4707954ea89b 21:33:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:36 ---> Running in 8bb823a635e6 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:53 provisioning config files... 21:33:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5349898069548302328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:54 ---> docker-login.sh 21:33:54 nexus3.edgexfoundry.org:10001 21:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:54 Configure a credential helper to remove this warning. See 21:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:54 21:33:54 Login Succeeded 21:33:54 nexus3.edgexfoundry.org:10002 21:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:55 Configure a credential helper to remove this warning. See 21:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:55 21:33:55 Login Succeeded 21:33:55 nexus3.edgexfoundry.org:10003 21:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:55 Configure a credential helper to remove this warning. See 21:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:55 21:33:55 Login Succeeded 21:33:55 nexus3.edgexfoundry.org:10004 21:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:56 Configure a credential helper to remove this warning. See 21:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:56 21:33:56 Login Succeeded 21:33:56 docker.io 21:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:56 Configure a credential helper to remove this warning. See 21:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:56 21:33:56 Login Succeeded 21:33:56 ---> docker-login.sh ends [Pipeline] } 21:33:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:57 ========================================================= 21:33:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:33:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:57 + 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 . 21:33:58 Sending build context to Docker daemon 3.426MB 21:33:58 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:33:58 Step 2/10 : FROM ${BASE} AS builder 21:33:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:33:58 c41833b44d91: Pulling fs layer 21:33:58 ed15518f5707: Pulling fs layer 21:33:58 feae8fd75edb: Pulling fs layer 21:33:58 242c74f7c9fa: Pulling fs layer 21:33:58 3cdef696dda3: Pulling fs layer 21:33:58 2ced38df9373: Pulling fs layer 21:33:58 58f1dce35555: Pulling fs layer 21:33:58 242c74f7c9fa: Waiting 21:33:58 3cdef696dda3: Waiting 21:33:58 2ced38df9373: Waiting 21:33:58 58f1dce35555: Waiting 21:33:58 ed15518f5707: Verifying Checksum 21:33:58 ed15518f5707: Download complete 21:33:58 242c74f7c9fa: Verifying Checksum 21:33:58 242c74f7c9fa: Download complete 21:33:58 c41833b44d91: Verifying Checksum 21:33:58 c41833b44d91: Download complete 21:33:58 3cdef696dda3: Verifying Checksum 21:33:58 3cdef696dda3: Download complete 21:33:59 c41833b44d91: Pull complete 21:34:00 58f1dce35555: Verifying Checksum 21:34:00 58f1dce35555: Download complete 21:34:00 ed15518f5707: Pull complete 21:34:01 feae8fd75edb: Verifying Checksum 21:34:01 feae8fd75edb: Download complete 21:34:01 2ced38df9373: Verifying Checksum 21:34:01 2ced38df9373: Download complete 21:34:08 Removing intermediate container 8bb823a635e6 21:34:08 ---> b1ae9dca69ed 21:34:08 Step 9/10 : COPY . . 21:34:08 ---> 7a6350f8113b 21:34:08 Step 10/10 : RUN ${MAKE} 21:34:08 ---> Running in 3fdf44f4070c 21:34:08 noop 21:34:08 Removing intermediate container 3fdf44f4070c 21:34:08 ---> 12fb3ae53910 21:34:08 Successfully built 12fb3ae53910 21:34:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:09 + docker inspect -f . ci-base-image-x86_64 21:34:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:09 prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container 21:34:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-485 -v /w/workspace/xfoundry_device-modbus-go_PR-485:/w/workspace/xfoundry_device-modbus-go_PR-485:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-485@tmp:/w/workspace/xfoundry_device-modbus-go_PR-485@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 21:34:09 $ docker top df2151638dbbbefbb9cce6476c140d1a03396e5681099ff01e380ec6f5d62d70 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:10 + go version 21:34:10 go version go1.20.2 linux/amd64 [Pipeline] } 21:34:10 $ docker stop --time=1 df2151638dbbbefbb9cce6476c140d1a03396e5681099ff01e380ec6f5d62d70 21:34:11 $ docker rm -f --volumes df2151638dbbbefbb9cce6476c140d1a03396e5681099ff01e380ec6f5d62d70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 21:34:11 feae8fd75edb: Pull complete 21:34:11 242c74f7c9fa: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 21:34:12 3cdef696dda3: Pull complete [Pipeline] sh 21:34:12 + docker inspect -f . ci-base-image-x86_64 21:34:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:12 prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container 21:34:12 $ 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-485 -v /w/workspace/xfoundry_device-modbus-go_PR-485:/w/workspace/xfoundry_device-modbus-go_PR-485:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-485@tmp:/w/workspace/xfoundry_device-modbus-go_PR-485@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 21:34:12 $ docker top 6c47264d507ed1e9566dffa8f0600e4bf78c7acdf2ee94064695b87a93d40f85 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:13 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-485 [Pipeline] fileExists [Pipeline] sh 21:34:13 + make test 21:34:13 go test ./... -coverprofile=coverage.out 21:34:18 2ced38df9373: Pull complete 21:34:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:34:20 58f1dce35555: Pull complete 21:34:20 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:34:20 ---> fadd8f120f05 21:34:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:34:22 ---> Running in 8788fec71f2e 21:34:22 Removing intermediate container 8788fec71f2e 21:34:22 ---> fdb61be2937b 21:34:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:22 ---> Running in 8490c1f2c4e6 21:34:23 Removing intermediate container 8490c1f2c4e6 21:34:23 ---> dc320d80c980 21:34:23 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:34:23 ---> Running in fec864bad9c7 21:34:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:34:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:34:26 (1/8) Installing openssh-keygen (9.1_p1-r3) 21:34:26 (2/8) Installing libedit (20221030.3.1-r0) 21:34:26 (3/8) Installing openssh-client-common (9.1_p1-r3) 21:34:26 (4/8) Installing openssh-client-default (9.1_p1-r3) 21:34:26 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 21:34:26 (6/8) Installing openssh-server-common (9.1_p1-r3) 21:34:26 (7/8) Installing openssh-server (9.1_p1-r3) 21:34:26 (8/8) Installing openssh (9.1_p1-r3) 21:34:26 Executing busybox-1.35.0-r29.trigger 21:34:26 OK: 270 MiB in 61 packages 21:34:28 Removing intermediate container fec864bad9c7 21:34:28 ---> 24421cd1ad1f 21:34:28 Step 6/10 : WORKDIR /device-modbus-go 21:34:28 ---> Running in ed65f0288be0 21:34:28 Removing intermediate container ed65f0288be0 21:34:28 ---> e20806eb326f 21:34:28 Step 7/10 : COPY go.mod vendor* ./ 21:34:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:34:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements 21:34:29 ---> cf8fd358ac28 21:34:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:29 ---> Running in 85dc6eab951e 21:34:37 go vet ./... 21:34:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:34:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:34:39 ./bin/test-attribution-txt.sh [Pipeline] echo 21:34:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:34:40 $ docker stop --time=1 6c47264d507ed1e9566dffa8f0600e4bf78c7acdf2ee94064695b87a93d40f85 21:34:44 $ docker rm -f --volumes 6c47264d507ed1e9566dffa8f0600e4bf78c7acdf2ee94064695b87a93d40f85 [Pipeline] // withDockerContainer [Pipeline] sh 21:34:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:34:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:34:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:34:45 + ls -al . 21:34:45 total 184 21:34:45 drwxrwxr-x 10 jenkins jenkins 4096 May 22 21:34 . 21:34:45 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:32 .. 21:34:45 -rw-rw-r-- 1 jenkins jenkins 140 May 22 21:32 .dockerignore 21:34:45 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:33 .git 21:34:45 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:32 .github 21:34:45 -rw-rw-r-- 1 jenkins jenkins 331 May 22 21:32 .gitignore 21:34:45 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:32 .golangci.yml 21:34:45 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:33 .semver 21:34:45 -rw-rw-r-- 1 jenkins jenkins 10132 May 22 21:32 Attribution.txt 21:34:45 -rw-rw-r-- 1 jenkins jenkins 11576 May 22 21:32 CHANGELOG.md 21:34:45 -rw-rw-r-- 1 jenkins jenkins 1365 May 22 21:32 Dockerfile 21:34:45 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:32 GOVERNANCE.md 21:34:45 -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:32 Jenkinsfile 21:34:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:32 LICENSE 21:34:45 -rw-rw-r-- 1 jenkins jenkins 1705 May 22 21:32 Makefile 21:34:45 -rw-rw-r-- 1 jenkins jenkins 622 May 22 21:32 OWNERS.md 21:34:45 -rw-rw-r-- 1 jenkins jenkins 4554 May 22 21:32 README.md 21:34:45 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:33 VERSION 21:34:45 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:32 bin 21:34:45 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:32 cmd 21:34:45 -rw-r--r-- 1 jenkins jenkins 24160 May 22 21:34 coverage.out 21:34:45 -rw-rw-r-- 1 jenkins jenkins 3453 May 22 21:32 go.mod 21:34:45 -rw-rw-r-- 1 jenkins jenkins 31670 May 22 21:32 go.sum 21:34:45 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:32 internal 21:34:45 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:32 simulator 21:34:45 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:32 snap 21:34:45 -rw-rw-r-- 1 jenkins jenkins 229 May 22 21:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34: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=edeb2b4233dffb32765bc97338f248b0dffae468 --label arch=amd64 --label version=0.0.0 . 21:34:46 Sending build context to Docker daemon 6.569MB 21:34:46 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:34:46 Step 2/22 : FROM ${BASE} AS builder 21:34:46 ---> 12fb3ae53910 21:34:46 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:34:46 ---> Running in e11a132c06dc 21:34:46 Removing intermediate container e11a132c06dc 21:34:46 ---> eaf687e9c794 21:34:46 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:46 ---> Running in 160136c749fd 21:34:46 Removing intermediate container 160136c749fd 21:34:46 ---> 45068bf07d1c 21:34:46 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:34:46 ---> Running in 2420fb169952 21:34:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:34:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:34:47 OK: 270 MiB in 61 packages 21:34:47 Removing intermediate container 2420fb169952 21:34:47 ---> 2ecc15786397 21:34:47 Step 6/22 : WORKDIR /device-modbus-go 21:34:47 ---> Running in eb442bf5c2cc 21:34:47 Removing intermediate container eb442bf5c2cc 21:34:47 ---> a6a51cf840aa 21:34:47 Step 7/22 : COPY go.mod vendor* ./ 21:34:47 ---> 9a0c9dc39e2c 21:34:47 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:47 ---> Running in 7004a4324985 21:34:48 Removing intermediate container 7004a4324985 21:34:48 ---> 24356abd83f9 21:34:48 Step 9/22 : COPY . . 21:34:48 ---> a3f86220a8d4 21:34:48 Step 10/22 : RUN ${MAKE} 21:34:49 ---> Running in d7bb2eb5ffa5 21:34: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 21:35:11 Removing intermediate container d7bb2eb5ffa5 21:35:11 ---> 211716d22345 21:35:11 Step 11/22 : FROM alpine:3.17 21:35:11 3.17: Pulling from library/alpine 21:35:11 f56be85fc22e: Already exists 21:35:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:35:11 Status: Downloaded newer image for alpine:3.17 21:35:11 ---> 9ed4aefc74f6 21:35:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:35:11 ---> Running in 35042ee2e1ec 21:35:11 Removing intermediate container 35042ee2e1ec 21:35:11 ---> 25f3eb347a9b 21:35:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:35:11 ---> Running in 71fce61d721d 21:35:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:35:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:35:11 (1/1) Installing dumb-init (1.2.5-r2) 21:35:11 Executing busybox-1.35.0-r29.trigger 21:35:11 OK: 7 MiB in 16 packages 21:35:12 Removing intermediate container 71fce61d721d 21:35:12 ---> 3d3ad8980b32 21:35:12 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:35:13 ---> a2f5f0cac34b 21:35:13 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:35:13 ---> fd8034aaf747 21:35:13 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:35:13 ---> 9603426ab7e2 21:35:13 Step 17/22 : EXPOSE 59901 21:35:13 ---> Running in c14a9ec2f2b9 21:35:13 Removing intermediate container c14a9ec2f2b9 21:35:13 ---> 829baababf98 21:35:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:35:13 ---> Running in e54b820000ec 21:35:13 Removing intermediate container e54b820000ec 21:35:13 ---> cd7d62e277a9 21:35:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:35:13 ---> Running in e2a3930a4045 21:35:13 Removing intermediate container e2a3930a4045 21:35:13 ---> 127d6b64ce7d 21:35:13 Step 20/22 : LABEL arch=amd64 21:35:13 ---> Running in ab48ae14ec2f 21:35:13 Removing intermediate container ab48ae14ec2f 21:35:13 ---> 8ef872c15b75 21:35:13 Step 21/22 : LABEL git_sha=edeb2b4233dffb32765bc97338f248b0dffae468 21:35:13 ---> Running in 608a0dd132ee 21:35:13 Removing intermediate container 608a0dd132ee 21:35:13 ---> ae4c35cebefb 21:35:13 Step 22/22 : LABEL version=0.0.0 21:35:13 ---> Running in 1a2ae73c2740 21:35:13 Removing intermediate container 1a2ae73c2740 21:35:13 ---> 20b5b5ce8e6b 21:35:13 [Warning] One or more build-args [ARCH] were not consumed 21:35:13 Successfully built 20b5b5ce8e6b 21:35:13 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 21:35:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:35:14 21:35:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:35:15 latest: Pulling from edgex-lftools-log-publisher 21:35:15 5eb5b503b376: Pulling fs layer 21:35:15 5c69ac0246d0: Pulling fs layer 21:35:15 ec43610c2a17: Pulling fs layer 21:35:15 3a2ae6a8a46f: Pulling fs layer 21:35:15 33b1e0a273af: Pulling fs layer 21:35:15 5d3b04190fa2: Pulling fs layer 21:35:15 2f39f015ded8: Pulling fs layer 21:35:15 3a2ae6a8a46f: Waiting 21:35:15 2f39f015ded8: Waiting 21:35:15 5d3b04190fa2: Waiting 21:35:15 5c69ac0246d0: Download complete 21:35:15 3a2ae6a8a46f: Verifying Checksum 21:35:15 3a2ae6a8a46f: Download complete 21:35:15 33b1e0a273af: Verifying Checksum 21:35:15 33b1e0a273af: Download complete 21:35:15 5d3b04190fa2: Verifying Checksum 21:35:15 5d3b04190fa2: Download complete 21:35:15 ec43610c2a17: Verifying Checksum 21:35:15 ec43610c2a17: Download complete 21:35:15 5eb5b503b376: Download complete 21:35:16 2f39f015ded8: Download complete 21:35:17 5eb5b503b376: Pull complete 21:35:17 5c69ac0246d0: Pull complete 21:35:17 ec43610c2a17: Pull complete 21:35:17 3a2ae6a8a46f: Pull complete 21:35:18 33b1e0a273af: Pull complete 21:35:18 5d3b04190fa2: Pull complete 21:35:23 2f39f015ded8: Pull complete 21:35:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:35:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:35:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:23 prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container 21:35:23 $ 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-485 -v /w/workspace/xfoundry_device-modbus-go_PR-485:/w/workspace/xfoundry_device-modbus-go_PR-485:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-485@tmp:/w/workspace/xfoundry_device-modbus-go_PR-485@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 21:35:27 $ docker top 05d971bd391b5ede39431f7b421af89c937cb4b4983d3740411e38199332dfb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:28 ---> job-cost.sh 21:35:28 lf-activate-venv: SKIPPING 21:35:28 INFO: No Stack... 21:35:28 INFO: Retrieving Pricing Info for: v3-standard-8 21:35:28 INFO: Archiving Costs [Pipeline] sh 21:35:29 + cat /w/workspace/xfoundry_device-modbus-go_PR-485/archives/cost.csv 21:35:29 + cut -d, -f6 [Pipeline] lock 21:35:29 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-485-1-stack-cost] 21:35:29 Resource [jenkins-edgexfoundry-device-modbus-go-PR-485-1-stack-cost] did not exist. Created. 21:35:29 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-485-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:35:29 + echo total: 0.2199999988079071 [Pipeline] stash 21:35:29 Stashed 1 file(s) [Pipeline] } 21:35:29 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-485-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:35:29 $ docker stop --time=1 05d971bd391b5ede39431f7b421af89c937cb4b4983d3740411e38199332dfb7 21:35:31 $ docker rm -f --volumes 05d971bd391b5ede39431f7b421af89c937cb4b4983d3740411e38199332dfb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:35:37 Removing intermediate container 85dc6eab951e 21:35:37 ---> 0bc3ee7008cf 21:35:37 Step 9/10 : COPY . . 21:35:37 ---> b81602e36f52 21:35:37 Step 10/10 : RUN ${MAKE} 21:35:37 ---> Running in 3887f3b9d05a 21:35:37 noop 21:35:38 Removing intermediate container 3887f3b9d05a 21:35:38 ---> 05bab84bb592 21:35:38 Successfully built 05bab84bb592 21:35:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:38 + docker inspect -f . ci-base-image-arm64 21:35:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:39 prd-ubuntu20.04-docker-arm64-4c-16g-16364 does not seem to be running inside a container 21:35:39 $ 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 ******** ci-base-image-arm64 cat 21:35:40 $ docker top 0d60beeec68dc8f60e8622a370a2ad606f88b1c29de69f14fd1cc4c87eb0a2a5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:41 + go version 21:35:41 go version go1.20.2 linux/arm64 [Pipeline] } 21:35:41 $ docker stop --time=1 0d60beeec68dc8f60e8622a370a2ad606f88b1c29de69f14fd1cc4c87eb0a2a5 21:35:43 $ docker rm -f --volumes 0d60beeec68dc8f60e8622a370a2ad606f88b1c29de69f14fd1cc4c87eb0a2a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:44 + docker inspect -f . ci-base-image-arm64 21:35:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:44 prd-ubuntu20.04-docker-arm64-4c-16g-16364 does not seem to be running inside a container 21:35:44 $ 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 ******** ci-base-image-arm64 cat 21:35:46 $ docker top 34aba5f6ab97ba00687962b3de454cb2d904be4d86f229b6eb491bfde71be843 -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:46 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 21:35:47 + make test 21:35:47 go test ./... -coverprofile=coverage.out 21:36:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:39:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:39:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.091s coverage: 47.4% of statements 21:39:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:39:19 go vet ./... 21:39:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:39:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:39:51 ./bin/test-attribution-txt.sh [Pipeline] echo 21:39:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:39:51 $ docker stop --time=1 34aba5f6ab97ba00687962b3de454cb2d904be4d86f229b6eb491bfde71be843 21:39:53 $ docker rm -f --volumes 34aba5f6ab97ba00687962b3de454cb2d904be4d86f229b6eb491bfde71be843 [Pipeline] // withDockerContainer [Pipeline] sh 21:39:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:39:54 Warning: overwriting stash ‘coverage-report’ 21:39:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:39:56 + ls -al . 21:39:56 total 180 21:39:56 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:35 . 21:39:56 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:33 .. 21:39:56 -rw-rw-r-- 1 jenkins jenkins 140 May 22 21:33 .dockerignore 21:39:56 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:33 .git 21:39:56 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:33 .github 21:39:56 -rw-rw-r-- 1 jenkins jenkins 331 May 22 21:33 .gitignore 21:39:56 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:33 .golangci.yml 21:39:56 -rw-rw-r-- 1 jenkins jenkins 10132 May 22 21:33 Attribution.txt 21:39:56 -rw-rw-r-- 1 jenkins jenkins 11576 May 22 21:33 CHANGELOG.md 21:39:56 -rw-rw-r-- 1 jenkins jenkins 1365 May 22 21:33 Dockerfile 21:39:56 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:33 GOVERNANCE.md 21:39:56 -rw-rw-r-- 1 jenkins jenkins 680 May 22 21:33 Jenkinsfile 21:39:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 22 21:33 LICENSE 21:39:56 -rw-rw-r-- 1 jenkins jenkins 1705 May 22 21:33 Makefile 21:39:56 -rw-rw-r-- 1 jenkins jenkins 622 May 22 21:33 OWNERS.md 21:39:56 -rw-rw-r-- 1 jenkins jenkins 4554 May 22 21:33 README.md 21:39:56 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:33 VERSION 21:39:56 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:33 bin 21:39:56 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:33 cmd 21:39:56 -rw-r--r-- 1 jenkins jenkins 24160 May 22 21:39 coverage.out 21:39:56 -rw-rw-r-- 1 jenkins jenkins 3453 May 22 21:33 go.mod 21:39:56 -rw-rw-r-- 1 jenkins jenkins 31670 May 22 21:33 go.sum 21:39:56 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:33 internal 21:39:56 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:33 simulator 21:39:56 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:33 snap 21:39:56 -rw-rw-r-- 1 jenkins jenkins 229 May 22 21:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:57 + 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=edeb2b4233dffb32765bc97338f248b0dffae468 --label arch=arm64 --label version=0.0.0 . 21:39:57 Sending build context to Docker daemon 3.451MB 21:39:57 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:39:57 Step 2/22 : FROM ${BASE} AS builder 21:39:57 ---> 05bab84bb592 21:39:57 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:39:57 ---> Running in 6c5e4db07765 21:39:58 Removing intermediate container 6c5e4db07765 21:39:58 ---> 1d771b5129bc 21:39:58 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:58 ---> Running in f3408c983ca9 21:39:58 Removing intermediate container f3408c983ca9 21:39:58 ---> 38b15c8141ca 21:39:58 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:39:58 ---> Running in 4c6c61bcb78f 21:40:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:40:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:40:02 OK: 270 MiB in 61 packages 21:40:03 Removing intermediate container 4c6c61bcb78f 21:40:03 ---> 3493101d2c5c 21:40:03 Step 6/22 : WORKDIR /device-modbus-go 21:40:03 ---> Running in 2c62ff2ccf95 21:40:03 Removing intermediate container 2c62ff2ccf95 21:40:03 ---> bd5896a90726 21:40:03 Step 7/22 : COPY go.mod vendor* ./ 21:40:03 ---> e1b77a980a54 21:40:03 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:03 ---> Running in 22fc5d764d48 21:40:07 Removing intermediate container 22fc5d764d48 21:40:07 ---> caa085d81e12 21:40:07 Step 9/22 : COPY . . 21:40:08 ---> c297ce218a71 21:40:08 Step 10/22 : RUN ${MAKE} 21:40:08 ---> Running in 7f493730d2ad 21:40:09 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 21:43:01 Removing intermediate container 7f493730d2ad 21:43:01 ---> 4828e02f9b0f 21:43:01 Step 11/22 : FROM alpine:3.17 21:43:01 3.17: Pulling from library/alpine 21:43:01 c41833b44d91: Already exists 21:43:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:43:01 Status: Downloaded newer image for alpine:3.17 21:43:01 ---> 51e60588ff2c 21:43:01 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:43:01 ---> Running in a586260b0f71 21:43:01 Removing intermediate container a586260b0f71 21:43:01 ---> c2b4cfa4014b 21:43:01 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:43:01 ---> Running in 2c0f2bb40829 21:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:43:01 (1/1) Installing dumb-init (1.2.5-r2) 21:43:01 Executing busybox-1.35.0-r29.trigger 21:43:01 OK: 8 MiB in 16 packages 21:43:01 Removing intermediate container 2c0f2bb40829 21:43:01 ---> 5fa44ff36a91 21:43:01 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:43:01 ---> 02129df2a980 21:43:01 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:43:01 ---> 489a7d27d0f1 21:43:01 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:43:01 ---> 0ca1d34d6fe6 21:43:01 Step 17/22 : EXPOSE 59901 21:43:01 ---> Running in 3a03c7066fa9 21:43:01 Removing intermediate container 3a03c7066fa9 21:43:01 ---> 3bc5dfb3af2a 21:43:01 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:43:01 ---> Running in 573ba6b4280b 21:43:01 Removing intermediate container 573ba6b4280b 21:43:01 ---> 57d51d1f21a6 21:43:01 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:43:01 ---> Running in 559c3353d487 21:43:01 Removing intermediate container 559c3353d487 21:43:01 ---> a663b0b6cd76 21:43:01 Step 20/22 : LABEL arch=arm64 21:43:01 ---> Running in 7d53e5afc0d0 21:43:01 Removing intermediate container 7d53e5afc0d0 21:43:01 ---> 1baa8e9b5e32 21:43:01 Step 21/22 : LABEL git_sha=edeb2b4233dffb32765bc97338f248b0dffae468 21:43:01 ---> Running in 723da0feb31f 21:43:01 Removing intermediate container 723da0feb31f 21:43:01 ---> da93d0b1c3b3 21:43:01 Step 22/22 : LABEL version=0.0.0 21:43:01 ---> Running in 20575b7417f3 21:43:01 Removing intermediate container 20575b7417f3 21:43:01 ---> daa6e48c277a 21:43:01 [Warning] One or more build-args [ARCH] were not consumed 21:43:01 Successfully built daa6e48c277a 21:43:01 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 21:43:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:43:02 21:43:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:43:02 arm64: Pulling from edgex-lftools-log-publisher 21:43:02 8998bd30e6a1: Pulling fs layer 21:43:02 04944245beec: Pulling fs layer 21:43:02 699f458cf7ca: Pulling fs layer 21:43:02 765212b225bb: Pulling fs layer 21:43:02 f23df028b6ca: Pulling fs layer 21:43:02 d65c8cfc05b1: Pulling fs layer 21:43:02 2437ff75d9bd: Pulling fs layer 21:43:02 f23df028b6ca: Waiting 21:43:02 765212b225bb: Waiting 21:43:02 d65c8cfc05b1: Waiting 21:43:02 2437ff75d9bd: Waiting 21:43:02 04944245beec: Verifying Checksum 21:43:02 04944245beec: Download complete 21:43:02 765212b225bb: Verifying Checksum 21:43:02 765212b225bb: Download complete 21:43:02 f23df028b6ca: Verifying Checksum 21:43:02 f23df028b6ca: Download complete 21:43:02 d65c8cfc05b1: Verifying Checksum 21:43:02 d65c8cfc05b1: Download complete 21:43:02 699f458cf7ca: Verifying Checksum 21:43:02 699f458cf7ca: Download complete 21:43:03 8998bd30e6a1: Download complete 21:43:06 2437ff75d9bd: Verifying Checksum 21:43:06 2437ff75d9bd: Download complete 21:43:08 8998bd30e6a1: Pull complete 21:43:08 04944245beec: Pull complete 21:43:09 699f458cf7ca: Pull complete 21:43:10 765212b225bb: Pull complete 21:43:11 f23df028b6ca: Pull complete 21:43:11 d65c8cfc05b1: Pull complete 21:43:26 2437ff75d9bd: Pull complete 21:43:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:43:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:27 prd-ubuntu20.04-docker-arm64-4c-16g-16364 does not seem to be running inside a container 21:43:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:43:30 $ docker top 066d2c77df83f149edd1f1f7c7a719c7f806d62da132cf48d11ba17258b523ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:43:31 ---> job-cost.sh 21:43:31 lf-activate-venv: SKIPPING 21:43:31 INFO: No Stack... 21:43:31 INFO: Retrieving Pricing Info for: v3-standard-4 21:43:32 INFO: Archiving Costs [Pipeline] sh 21:43:33 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 21:43:33 + cut -d, -f6 [Pipeline] lock 21:43:33 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-485-1-stack-cost] 21:43:33 Resource [jenkins-edgexfoundry-device-modbus-go-PR-485-1-stack-cost] did not exist. Created. 21:43:33 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-485-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:43:33 /w/workspace/device-modbus-go/1@tmp/durable-b1ea46a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:43:34 + echo total: 0.10999999940395355 [Pipeline] stash 21:43:34 Warning: overwriting stash ‘stack-cost’ 21:43:34 Stashed 1 file(s) [Pipeline] } 21:43:34 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-485-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:43:34 $ docker stop --time=1 066d2c77df83f149edd1f1f7c7a719c7f806d62da132cf48d11ba17258b523ff 21:43:36 $ docker rm -f --volumes 066d2c77df83f149edd1f1f7c7a719c7f806d62da132cf48d11ba17258b523ff [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 21:43:37 provisioning config files... 21:43:37 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-485@tmp/config7515167424323267760tmp [Pipeline] { [Pipeline] sh 21:43:37 + set +x 21:43:37 + bash -s -- 21:43:37 + curl -s https://codecov.io/bash 21:43:37 21:43:37 _____ _ 21:43:37 / ____| | | 21:43:37 | | ___ __| | ___ ___ _____ __ 21:43:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:43:37 | |___| (_) | (_| | __/ (_| (_) \ V / 21:43:37 \_____\___/ \__,_|\___|\___\___/ \_/ 21:43:37 Bash-1.0.6 21:43:37 21:43:37 21:43:37 ==> git version 2.25.1 found 21:43:37 ==> 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 21:43:37 Release-Date: 2020-01-08 21:43:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:43:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:43:37 ==> Jenkins CI detected. 21:43:37 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-485 21:43:37 project root: . 21:43:37 --> token set from env 21:43:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:43:37 ==> Running gcov in . (disable via -X gcov) 21:43:37 ==> Python coveragepy not found 21:43:37 ==> Searching for coverage reports in: 21:43:37 + . 21:43:37 -> Found 1 reports 21:43:37 ==> Detecting git/mercurial file structure 21:43:37 ==> Reading reports 21:43:37 + ./coverage.out bytes=24160 21:43:37 ==> Appending adjustments 21:43:37 https://docs.codecov.io/docs/fixing-reports 21:43:38 + Found adjustments 21:43:38 ==> Gzipping contents 21:43:38 4.0K /tmp/codecov.H5gCBF.gz 21:43:38 ==> Uploading reports 21:43:38 url: https://codecov.io 21:43:38 query: branch=PR-485&commit=edeb2b4233dffb32765bc97338f248b0dffae468&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-485%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=485&job=&cmd_args= 21:43:38 -> Pinging Codecov 21:43:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-485&commit=edeb2b4233dffb32765bc97338f248b0dffae468&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-485%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=485&job=&cmd_args= 21:43:38 -> Uploading to 21:43:38 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/55DBCA73C666E3227836607328DD7E49/edeb2b4233dffb32765bc97338f248b0dffae468/6f043aee-1e3a-48b2-a8d1-f8acaa4efb1d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T214337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d079ab51cc8a3a81f46c89f05c6a32cc535493bebf69376b3a788c88f1939022 21:43:38 % Total % Received % Xferd Average Speed Time Time Time Current 21:43:38 Dload Upload Total Spent Left Speed 21:43:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19718 --:--:-- --:--:-- --:--:-- 19818 21:43:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/edeb2b4233dffb32765bc97338f248b0dffae468 [Pipeline] } 21:43:38 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 21:43:40 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-485/archives ] 21:43:40 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-485/archives 21:43:40 total 16 21:43:40 drwxr-xr-x 3 root root 4096 May 22 21:35 . 21:43:40 drwxrwxr-x 11 jenkins jenkins 4096 May 22 21:35 .. 21:43:40 drwxr-xr-x 2 root root 4096 May 22 21:35 cost 21:43:40 -rw-r--r-- 1 root root 88 May 22 21:35 cost.csv 21:43:40 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-485/archives 21:43:40 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-485/archives 21:43:40 total 16 21:43:40 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:35 . 21:43:40 drwxrwxr-x 11 jenkins jenkins 4096 May 22 21:35 .. 21:43:40 drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:35 cost 21:43:40 -rw-r--r-- 1 jenkins jenkins 88 May 22 21:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:43:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:43:41 ---> package-listing.sh 21:43:41 ++ tr '[:upper:]' '[:lower:]' 21:43:41 ++ facter osfamily 21:43:41 + OS_FAMILY=debian 21:43:41 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-485 21:43:41 + START_PACKAGES=/tmp/packages_start.txt 21:43:41 + END_PACKAGES=/tmp/packages_end.txt 21:43:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:43:41 + PACKAGES=/tmp/packages_start.txt 21:43:41 + '[' /w/workspace/xfoundry_device-modbus-go_PR-485 ']' 21:43:41 + PACKAGES=/tmp/packages_end.txt 21:43:41 + case "${OS_FAMILY}" in 21:43:41 + dpkg -l 21:43:41 + grep '^ii' 21:43:41 + '[' -f /tmp/packages_start.txt ']' 21:43:41 + '[' -f /tmp/packages_end.txt ']' 21:43:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:43:41 + '[' /w/workspace/xfoundry_device-modbus-go_PR-485 ']' 21:43:41 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-485/archives/ 21:43:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-485/archives/ [Pipeline] echo 21:43:41 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-485/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:43:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:42 prd-ubuntu20.04-docker-8c-8g-16365 does not seem to be running inside a container 21:43:42 $ 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-485/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-485 -v /w/workspace/xfoundry_device-modbus-go_PR-485:/w/workspace/xfoundry_device-modbus-go_PR-485:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-485@tmp:/w/workspace/xfoundry_device-modbus-go_PR-485@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:43:42 $ docker top 3bd001549af2c9fc9a97e88ca2a420530cefe13377e926ff7008c4f61f570bbd -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:43 + touch /tmp/pre-build-complete [Pipeline] sh 21:43:43 + mkdir -p /var/log/sysstat [Pipeline] sh 21:43:43 + ls /var/log/sa-host 21:43:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:43:44 provisioning config files... 21:43:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-485@tmp/config1060551583451524339tmp [Pipeline] { [Pipeline] echo 21:43:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:43:44 ---> create-netrc.sh [Pipeline] } 21:43:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:43:44 ---> python-tools-install.sh [Pipeline] echo 21:43:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:43:45 ---> sudo-logs.sh 21:43:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:43:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:43:45 ---> job-cost.sh 21:43:45 lf-activate-venv: SKIPPING 21:43:45 DEBUG: total: 0.2199999988079071 21:43:45 INFO: Retrieving Stack Cost... 21:43:46 INFO: Retrieving Pricing Info for: v3-standard-8 21:43:46 INFO: Archiving Costs [Pipeline] echo 21:43:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:43:46 ---> logs-deploy.sh 21:43:46 lf-activate-venv: SKIPPING 21:43:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-485/1 21:43:46 INFO: archiving workspace using pattern(s): 21:43:47 Archives upload complete. 21:43:47 INFO: archiving logs to Nexus