Pull request #477 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3dfe206c6d0c39a2049002eceba5e982be12b096+a3185666607ac015ce8e2ed96cee91149733c6fa (c03fea10a5c86297381cb9966f67a481b98d38e1) 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-ssh8427514560563759024.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-ssh18378009359789877118.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-477/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-477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4129479749574983630.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-477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9217273275392260768.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-ssh10449875937646998149.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-477/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-477/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8671472338656804711.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-14955 in /w/workspace/xfoundry_device-modbus-go_PR-477 [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-477 # 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/477/head:refs/remotes/origin/PR-477 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3185666607ac015ce8e2ed96cee91149733c6fa into PR head commit 3dfe206c6d0c39a2049002eceba5e982be12b096 Merge succeeded, producing 3dfe206c6d0c39a2049002eceba5e982be12b096 Checking out Revision 3dfe206c6d0c39a2049002eceba5e982be12b096 (PR-477) 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 20:32:24 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 3dfe206c6d0c39a2049002eceba5e982be12b096 # 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 a3185666607ac015ce8e2ed96cee91149733c6fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3dfe206c6d0c39a2049002eceba5e982be12b096 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:32:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:32:24 ========================================================= 20:32:24 EdgeX Global Pipelines Version Info 20:32:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:32:25 ------------------- 20:32:25 stable info: 20:32:25 ------------------- 20:32:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:32:25 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:32:25 Message: update stable to v1.0.249 20:32:25 ------------------- 20:32:25 experimental info: 20:32:25 ------------------- 20:32:25 Commited By: **** collab-it+edgex@linuxfoundation.org 20:32:25 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:32:25 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:32:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-477 [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-477 [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-477 [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3dfe206c6d0c39a2049002eceba5e982be12b096 [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3dfe206 [Pipeline] echo 20:32:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:27 provisioning config files... 20:32:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/config12970979402560281239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:27 ---> docker-login.sh 20:32:27 nexus3.edgexfoundry.org:10001 20:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:28 Configure a credential helper to remove this warning. See 20:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:28 20:32:28 Login Succeeded 20:32:28 nexus3.edgexfoundry.org:10002 20:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:28 Configure a credential helper to remove this warning. See 20:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:28 20:32:28 Login Succeeded 20:32:28 nexus3.edgexfoundry.org:10003 20:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:28 Configure a credential helper to remove this warning. See 20:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:28 20:32:28 Login Succeeded 20:32:28 nexus3.edgexfoundry.org:10004 20:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:28 Configure a credential helper to remove this warning. See 20:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:28 20:32:28 Login Succeeded 20:32:28 docker.io 20:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:28 Configure a credential helper to remove this warning. See 20:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:28 20:32:28 Login Succeeded 20:32:28 ---> docker-login.sh ends [Pipeline] } 20:32:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:32:29 + git rev-list -1 --merges 3dfe206c6d0c39a2049002eceba5e982be12b096~1..3dfe206c6d0c39a2049002eceba5e982be12b096 [Pipeline] echo 20:32:29 -----------> git rev-list -1 --merges 3dfe206c6d0c39a2049002eceba5e982be12b096~1..3dfe206c6d0c39a2049002eceba5e982be12b096 3dfe206c6d0c39a2049002eceba5e982be12b096 [false] [Pipeline] sh 20:32:29 + git log --format=format:%s -1 3dfe206c6d0c39a2049002eceba5e982be12b096 [Pipeline] echo 20:32:29 ========================================================= 20:32:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:32:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:30 + git log --format=format:%s -1 3dfe206c6d0c39a2049002eceba5e982be12b096 [Pipeline] echo 20:32:30 [semverPrep] GIT_COMMIT: 3dfe206c6d0c39a2049002eceba5e982be12b096, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:32:30 [semverPrep] This is not a build commit. [Pipeline] sh 20:32:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:32:30 + grep -v github /etc/ssh/ssh_known_hosts 20:32:30 + [ -e /tmp/ssh_known_hosts ] 20:32:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:32:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:32:30 + sudo tee -a /etc/ssh/ssh_known_hosts 20:32:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:31 20:32:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:31 0.1.4: Pulling from edgex-devops/py-git-semver 20:32:31 b85a868b505f: Pulling fs layer 20:32:31 e2be974225ed: Pulling fs layer 20:32:31 339a4e72a1f5: Pulling fs layer 20:32:31 988bab9f4d93: Pulling fs layer 20:32:31 1469e6f7b9e6: Pulling fs layer 20:32:31 eaf3925da568: Pulling fs layer 20:32:31 bab4dde63d76: Pulling fs layer 20:32:31 bde34c3a00c8: Pulling fs layer 20:32:31 b352a97aabf1: Pulling fs layer 20:32:31 4872d77fe225: Pulling fs layer 20:32:31 5851b861e8e6: Pulling fs layer 20:32:31 bab4dde63d76: Waiting 20:32:31 b352a97aabf1: Waiting 20:32:31 bde34c3a00c8: Waiting 20:32:31 5851b861e8e6: Waiting 20:32:31 988bab9f4d93: Waiting 20:32:31 1469e6f7b9e6: Waiting 20:32:31 eaf3925da568: Waiting 20:32:31 4872d77fe225: Waiting 20:32:31 e2be974225ed: Verifying Checksum 20:32:31 e2be974225ed: Download complete 20:32:31 988bab9f4d93: Download complete 20:32:31 1469e6f7b9e6: Verifying Checksum 20:32:31 1469e6f7b9e6: Download complete 20:32:31 339a4e72a1f5: Verifying Checksum 20:32:31 339a4e72a1f5: Download complete 20:32:31 eaf3925da568: Verifying Checksum 20:32:31 eaf3925da568: Download complete 20:32:31 bde34c3a00c8: Verifying Checksum 20:32:31 bde34c3a00c8: Download complete 20:32:31 b352a97aabf1: Download complete 20:32:31 4872d77fe225: Verifying Checksum 20:32:31 4872d77fe225: Download complete 20:32:31 5851b861e8e6: Verifying Checksum 20:32:31 5851b861e8e6: Download complete 20:32:31 b85a868b505f: Verifying Checksum 20:32:31 b85a868b505f: Download complete 20:32:32 bab4dde63d76: Verifying Checksum 20:32:32 bab4dde63d76: Download complete 20:32:33 b85a868b505f: Pull complete 20:32:33 e2be974225ed: Pull complete 20:32:33 339a4e72a1f5: Pull complete 20:32:33 988bab9f4d93: Pull complete 20:32:34 1469e6f7b9e6: Pull complete 20:32:34 eaf3925da568: Pull complete 20:32:36 bab4dde63d76: Pull complete 20:32:36 bde34c3a00c8: Pull complete 20:32:36 b352a97aabf1: Pull complete 20:32:36 4872d77fe225: Pull complete 20:32:36 5851b861e8e6: Pull complete 20:32:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:32:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:36 prd-ubuntu20.04-docker-8c-8g-14955 does not seem to be running inside a container 20:32:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:32:38 $ docker top ca046dc82b3289b60cd278ccc8c9c8a57b92d6f60ba654f56116da7d83e1a8e0 -eo pid,comm 20:32:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:32:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:32:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:38 [ssh-agent] Looking for ssh-agent implementation... 20:32:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:39 $ docker exec ca046dc82b3289b60cd278ccc8c9c8a57b92d6f60ba654f56116da7d83e1a8e0 ssh-agent 20:32:39 SSH_AUTH_SOCK=/tmp/ssh-GsrGYXTGcTI8/agent.32 20:32:39 SSH_AGENT_PID=38 20:32:39 Running ssh-add (command line suppressed) 20:32:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-477@tmp/private_key_7579124887321169672.key (/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/private_key_7579124887321169672.key) 20:32:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:39 + git tag --points-at HEAD [Pipeline] } 20:32:39 $ docker exec --env ******** --env ******** ca046dc82b3289b60cd278ccc8c9c8a57b92d6f60ba654f56116da7d83e1a8e0 ssh-agent -k 20:32:39 unset SSH_AUTH_SOCK; 20:32:39 unset SSH_AGENT_PID; 20:32:39 echo Agent pid 38 killed; 20:32:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:32:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:39 [ssh-agent] Looking for ssh-agent implementation... 20:32:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:39 $ docker exec ca046dc82b3289b60cd278ccc8c9c8a57b92d6f60ba654f56116da7d83e1a8e0 ssh-agent 20:32:40 SSH_AUTH_SOCK=/tmp/ssh-lCdKpyWS2GRU/agent.70 20:32:40 SSH_AGENT_PID=76 20:32:40 Running ssh-add (command line suppressed) 20:32:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-477@tmp/private_key_4625304182762214636.key (/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/private_key_4625304182762214636.key) 20:32:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:40 + git semver init 20:32:40 2023-05-10 20:32:40,826 [run_init] DEBUG init version:0.0.0 force:False 20:32:40 2023-05-10 20:32:40,827 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-477/.semver 20:32:40 2023-05-10 20:32:40,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-477/.semver 20:32:40 2023-05-10 20:32:40,828 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-477/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-477, universal_newlines=False, shell=None, istream=None) 20:32:41 2023-05-10 20:32:41,631 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-477/.git/info/exclude 20:32:41 2023-05-10 20:32:41,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-477/.semver/PR-477 with force:False 20:32:41 2023-05-10 20:32:41,632 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-477/.semver/PR-477 20:32:41 2023-05-10 20:32:41,637 [execute] INFO git cat-file --batch-check 20:32:41 2023-05-10 20:32:41,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-477/.semver, universal_newlines=False, shell=None, istream=) 20:32:41 2023-05-10 20:32:41,644 [execute] INFO git cat-file --batch 20:32:41 2023-05-10 20:32:41,644 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-477/.semver, universal_newlines=False, shell=None, istream=) 20:32:41 2023-05-10 20:32:41,649 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-477/.semver/PR-477 20:32:41 0.0.0 [Pipeline] } 20:32:41 $ docker exec --env ******** --env ******** ca046dc82b3289b60cd278ccc8c9c8a57b92d6f60ba654f56116da7d83e1a8e0 ssh-agent -k 20:32:41 unset SSH_AUTH_SOCK; 20:32:41 unset SSH_AGENT_PID; 20:32:41 echo Agent pid 76 killed; 20:32:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:32:42 + git semver [Pipeline] } 20:32:42 $ docker stop --time=1 ca046dc82b3289b60cd278ccc8c9c8a57b92d6f60ba654f56116da7d83e1a8e0 20:32:44 $ docker rm -f --volumes ca046dc82b3289b60cd278ccc8c9c8a57b92d6f60ba654f56116da7d83e1a8e0 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:32:44 Stashed 1 file(s) [Pipeline] echo 20:32:44 [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 20:32:45 provisioning config files... 20:32:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/config14150860842444551777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:45 ---> docker-login.sh 20:32:45 nexus3.edgexfoundry.org:10001 20:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:45 Configure a credential helper to remove this warning. See 20:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:45 20:32:45 Login Succeeded 20:32:45 nexus3.edgexfoundry.org:10002 20:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:45 Configure a credential helper to remove this warning. See 20:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:45 20:32:45 Login Succeeded 20:32:45 nexus3.edgexfoundry.org:10003 20:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:45 Configure a credential helper to remove this warning. See 20:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:45 20:32:45 Login Succeeded 20:32:45 nexus3.edgexfoundry.org:10004 20:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:45 Configure a credential helper to remove this warning. See 20:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:45 20:32:45 Login Succeeded 20:32:45 docker.io 20:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:46 Configure a credential helper to remove this warning. See 20:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:46 20:32:46 Login Succeeded 20:32:46 ---> docker-login.sh ends [Pipeline] } 20:32:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:32:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:32:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:32:46 ========================================================= 20:32:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:32:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:32:46 Sending build context to Docker daemon 6.508MB 20:32:46 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:32:46 Step 2/10 : FROM ${BASE} AS builder 20:32:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:32:46 f56be85fc22e: Pulling fs layer 20:32:46 85791d961cd3: Pulling fs layer 20:32:46 d694b5ae8c79: Pulling fs layer 20:32:46 9f32a84ed3da: Pulling fs layer 20:32:46 4d19c01a9841: Pulling fs layer 20:32:46 9325e15d5711: Pulling fs layer 20:32:46 9f32a84ed3da: Waiting 20:32:46 4d19c01a9841: Waiting 20:32:46 9325e15d5711: Waiting 20:32:46 556b6ee489ea: Pulling fs layer 20:32:46 c5a4b2cf53e6: Pulling fs layer 20:32:46 c5a4b2cf53e6: Waiting 20:32:46 556b6ee489ea: Waiting 20:32:46 85791d961cd3: Verifying Checksum 20:32:46 85791d961cd3: Download complete 20:32:46 9f32a84ed3da: Verifying Checksum 20:32:46 9f32a84ed3da: Download complete 20:32:46 4d19c01a9841: Verifying Checksum 20:32:46 4d19c01a9841: Download complete 20:32:47 f56be85fc22e: Verifying Checksum 20:32:47 f56be85fc22e: Download complete 20:32:47 9325e15d5711: Verifying Checksum 20:32:47 9325e15d5711: Download complete 20:32:47 f56be85fc22e: Pull complete 20:32:47 85791d961cd3: Pull complete 20:32:48 c5a4b2cf53e6: Verifying Checksum 20:32:48 c5a4b2cf53e6: Download complete 20:32:48 d694b5ae8c79: Verifying Checksum 20:32:48 d694b5ae8c79: Download complete 20:32:48 556b6ee489ea: Verifying Checksum 20:32:48 556b6ee489ea: Download complete 20:32:51 d694b5ae8c79: Pull complete 20:32:51 9f32a84ed3da: Pull complete 20:32:51 4d19c01a9841: Pull complete 20:32:51 9325e15d5711: Pull complete 20:32:54 556b6ee489ea: Pull complete 20:32:55 c5a4b2cf53e6: Pull complete 20:32:55 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:32:55 ---> c4be618373d6 20:32:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:32:58 ---> Running in d2a5dc542448 20:32:58 Removing intermediate container d2a5dc542448 20:32:58 ---> a9379a8f6157 20:32:58 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:32:58 ---> Running in 3faede739d78 20:32:58 Removing intermediate container 3faede739d78 20:32:58 ---> da04ab0df4d1 20:32:58 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:32:58 ---> Running in 5d72f2e3b527 20:32:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:32:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:32:59 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:32:59 (2/8) Installing libedit (20221030.3.1-r0) 20:32:59 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:32:59 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:32:59 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:32:59 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:32:59 (7/8) Installing openssh-server (9.1_p1-r2) 20:32:59 (8/8) Installing openssh (9.1_p1-r2) 20:32:59 Executing busybox-1.35.0-r29.trigger 20:32:59 OK: 270 MiB in 61 packages 20:32:59 Removing intermediate container 5d72f2e3b527 20:32:59 ---> 1b887d9cc902 20:32:59 Step 6/10 : WORKDIR /device-modbus-go 20:32:59 ---> Running in e3aa66932010 20:33:00 Removing intermediate container e3aa66932010 20:33:00 ---> 995c6ff9c8e3 20:33:00 Step 7/10 : COPY go.mod vendor* ./ 20:33:00 ---> 00bb9f56f799 20:33:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:00 ---> Running in 012eea56b6ef 20:33:00 Still waiting to schedule task 20:33:00 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14954’ 20:33:26 Removing intermediate container 012eea56b6ef 20:33:26 ---> fabd475d8d27 20:33:26 Step 9/10 : COPY . . 20:33:26 ---> 79ca1f580582 20:33:26 Step 10/10 : RUN ${MAKE} 20:33:26 ---> Running in 4bbb26df4a10 20:33:26 noop 20:33:26 Removing intermediate container 4bbb26df4a10 20:33:26 ---> d852f77c7b3a 20:33:26 Successfully built d852f77c7b3a 20:33:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:27 + docker inspect -f . ci-base-image-x86_64 20:33:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:27 prd-ubuntu20.04-docker-8c-8g-14955 does not seem to be running inside a container 20:33:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:33:27 $ docker top d95d6924afb1570407c571b91c71e7b805bfd96e746add7c7d9fd4e3b6c4d38b -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:28 + go version 20:33:28 go version go1.20.2 linux/amd64 [Pipeline] } 20:33:28 $ docker stop --time=1 d95d6924afb1570407c571b91c71e7b805bfd96e746add7c7d9fd4e3b6c4d38b 20:33:29 $ docker rm -f --volumes d95d6924afb1570407c571b91c71e7b805bfd96e746add7c7d9fd4e3b6c4d38b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:30 + docker inspect -f . ci-base-image-x86_64 20:33:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:30 prd-ubuntu20.04-docker-8c-8g-14955 does not seem to be running inside a container 20:33:30 $ 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-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:33:30 $ docker top e94dac9650d5916c73babd47739d0470bcd55dc55806e13360d4bb9772d42a24 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:31 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-477 [Pipeline] fileExists [Pipeline] sh 20:33:31 + make test 20:33:31 go test ./... -coverprofile=coverage.out 20:33:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:33:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:33:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 20:33:54 go vet ./... 20:33:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:33:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:33:58 ./bin/test-attribution-txt.sh [Pipeline] echo 20:33:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:33:58 $ docker stop --time=1 e94dac9650d5916c73babd47739d0470bcd55dc55806e13360d4bb9772d42a24 20:34:01 $ docker rm -f --volumes e94dac9650d5916c73babd47739d0470bcd55dc55806e13360d4bb9772d42a24 [Pipeline] // withDockerContainer [Pipeline] sh 20:34:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:34:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:34:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:34:02 + ls -al . 20:34:02 total 180 20:34:02 drwxrwxr-x 10 jenkins jenkins 4096 May 10 20:33 . 20:34:02 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:32 .. 20:34:02 -rw-rw-r-- 1 jenkins jenkins 140 May 10 20:32 .dockerignore 20:34:02 drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:32 .git 20:34:02 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:32 .github 20:34:02 -rw-rw-r-- 1 jenkins jenkins 331 May 10 20:32 .gitignore 20:34:02 -rw-rw-r-- 1 jenkins jenkins 41 May 10 20:32 .golangci.yml 20:34:02 drwxr-xr-x 3 jenkins jenkins 4096 May 10 20:32 .semver 20:34:02 -rw-rw-r-- 1 jenkins jenkins 10132 May 10 20:32 Attribution.txt 20:34:02 -rw-rw-r-- 1 jenkins jenkins 11576 May 10 20:32 CHANGELOG.md 20:34:02 -rw-rw-r-- 1 jenkins jenkins 1365 May 10 20:32 Dockerfile 20:34:02 -rw-rw-r-- 1 jenkins jenkins 677 May 10 20:32 GOVERNANCE.md 20:34:02 -rw-rw-r-- 1 jenkins jenkins 680 May 10 20:32 Jenkinsfile 20:34:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 20:32 LICENSE 20:34:02 -rw-rw-r-- 1 jenkins jenkins 1705 May 10 20:32 Makefile 20:34:02 -rw-rw-r-- 1 jenkins jenkins 622 May 10 20:32 OWNERS.md 20:34:02 -rw-rw-r-- 1 jenkins jenkins 4045 May 10 20:32 README.md 20:34:02 -rw-rw-r-- 1 jenkins jenkins 5 May 10 20:32 VERSION 20:34:02 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:32 bin 20:34:02 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:32 cmd 20:34:02 -rw-r--r-- 1 jenkins jenkins 24160 May 10 20:33 coverage.out 20:34:02 -rw-rw-r-- 1 jenkins jenkins 3453 May 10 20:32 go.mod 20:34:02 -rw-rw-r-- 1 jenkins jenkins 31670 May 10 20:32 go.sum 20:34:02 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:32 internal 20:34:02 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:32 simulator 20:34:02 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:32 snap 20:34:02 -rw-rw-r-- 1 jenkins jenkins 229 May 10 20:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:03 + 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=3dfe206c6d0c39a2049002eceba5e982be12b096 --label arch=amd64 --label version=0.0.0 . 20:34:03 Sending build context to Docker daemon 6.533MB 20:34:03 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:34:03 Step 2/22 : FROM ${BASE} AS builder 20:34:03 ---> d852f77c7b3a 20:34:03 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:34:03 ---> Running in 90b472f89d66 20:34:03 Removing intermediate container 90b472f89d66 20:34:03 ---> b2521baa7957 20:34:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:34:03 ---> Running in 5c7ef84556c8 20:34:03 Removing intermediate container 5c7ef84556c8 20:34:03 ---> 6a4846c34b44 20:34:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:34:03 ---> Running in 58b7fa0e4ede 20:34:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:34:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:34:04 OK: 270 MiB in 61 packages 20:34:04 Removing intermediate container 58b7fa0e4ede 20:34:04 ---> 3c45b6b6d3b2 20:34:04 Step 6/22 : WORKDIR /device-modbus-go 20:34:04 ---> Running in 9692d9c10cfe 20:34:04 Removing intermediate container 9692d9c10cfe 20:34:04 ---> 4c996e9518e1 20:34:04 Step 7/22 : COPY go.mod vendor* ./ 20:34:04 ---> dd115e78155d 20:34:04 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:04 ---> Running in 95b2623611c7 20:34:05 Removing intermediate container 95b2623611c7 20:34:05 ---> e5dc2033a1e7 20:34:05 Step 9/22 : COPY . . 20:34:06 ---> 4dcaa30ebfb7 20:34:06 Step 10/22 : RUN ${MAKE} 20:34:06 ---> Running in f17a2724b72a 20:34:06 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 20:34:25 Removing intermediate container f17a2724b72a 20:34:25 ---> 026252d95db2 20:34:25 Step 11/22 : FROM alpine:3.17 20:34:25 3.17: Pulling from library/alpine 20:34:25 f56be85fc22e: Already exists 20:34:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:34:26 Status: Downloaded newer image for alpine:3.17 20:34:26 ---> 9ed4aefc74f6 20:34:26 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:34:26 ---> Running in eaa822ce0ba1 20:34:26 Removing intermediate container eaa822ce0ba1 20:34:26 ---> 9ed58c4b6bd9 20:34:26 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:34:26 ---> Running in aa3493c70994 20:34:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:34:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:34:27 (1/1) Installing dumb-init (1.2.5-r2) 20:34:27 Executing busybox-1.35.0-r29.trigger 20:34:27 OK: 7 MiB in 16 packages 20:34:28 Removing intermediate container aa3493c70994 20:34:28 ---> 2f16ee4b73e0 20:34:28 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:34:29 ---> c807b561305b 20:34:29 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:34:30 ---> 8302c626e6ef 20:34:30 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:34:31 ---> 6ed913c61f3c 20:34:31 Step 17/22 : EXPOSE 59901 20:34:31 ---> Running in 3e7a8bfb72e1 20:34:32 Removing intermediate container 3e7a8bfb72e1 20:34:32 ---> 974277f3f795 20:34:32 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:34:32 ---> Running in 59275d2662e0 20:34:32 Removing intermediate container 59275d2662e0 20:34:32 ---> ecce38c9b709 20:34:32 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:34:32 ---> Running in 599ec365449c 20:34:32 Removing intermediate container 599ec365449c 20:34:32 ---> d6633585c8fa 20:34:32 Step 20/22 : LABEL arch=amd64 20:34:32 ---> Running in 84be03774a26 20:34:32 Removing intermediate container 84be03774a26 20:34:32 ---> aa531b38ff34 20:34:32 Step 21/22 : LABEL git_sha=3dfe206c6d0c39a2049002eceba5e982be12b096 20:34:32 ---> Running in bfcc8b1fd2f7 20:34:32 Removing intermediate container bfcc8b1fd2f7 20:34:32 ---> c9e8cf6d9b7c 20:34:32 Step 22/22 : LABEL version=0.0.0 20:34:32 ---> Running in c14496a9f0f5 20:34:32 Removing intermediate container c14496a9f0f5 20:34:32 ---> 6fb231ff4aa7 20:34:32 [Warning] One or more build-args [ARCH] were not consumed 20:34:32 Successfully built 6fb231ff4aa7 20:34:32 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 20:34:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:33 20:34:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:33 latest: Pulling from edgex-lftools-log-publisher 20:34:33 5eb5b503b376: Pulling fs layer 20:34:33 5c69ac0246d0: Pulling fs layer 20:34:33 ec43610c2a17: Pulling fs layer 20:34:33 3a2ae6a8a46f: Pulling fs layer 20:34:33 33b1e0a273af: Pulling fs layer 20:34:33 5d3b04190fa2: Pulling fs layer 20:34:33 2f39f015ded8: Pulling fs layer 20:34:33 33b1e0a273af: Waiting 20:34:33 5d3b04190fa2: Waiting 20:34:33 2f39f015ded8: Waiting 20:34:33 3a2ae6a8a46f: Waiting 20:34:33 5c69ac0246d0: Verifying Checksum 20:34:33 5c69ac0246d0: Download complete 20:34:33 3a2ae6a8a46f: Verifying Checksum 20:34:33 3a2ae6a8a46f: Download complete 20:34:34 33b1e0a273af: Verifying Checksum 20:34:34 33b1e0a273af: Download complete 20:34:34 5d3b04190fa2: Verifying Checksum 20:34:34 5d3b04190fa2: Download complete 20:34:34 ec43610c2a17: Verifying Checksum 20:34:34 ec43610c2a17: Download complete 20:34:34 5eb5b503b376: Verifying Checksum 20:34:34 5eb5b503b376: Download complete 20:34:35 2f39f015ded8: Download complete 20:34:35 5eb5b503b376: Pull complete 20:34:36 5c69ac0246d0: Pull complete 20:34:36 ec43610c2a17: Pull complete 20:34:36 3a2ae6a8a46f: Pull complete 20:34:37 33b1e0a273af: Pull complete 20:34:37 5d3b04190fa2: Pull complete 20:34:42 2f39f015ded8: Pull complete 20:34:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:34:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:42 prd-ubuntu20.04-docker-8c-8g-14955 does not seem to be running inside a container 20:34:42 $ 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-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:34:46 $ docker top 967c9ccca724d5e17c3c472a4deb7cc0a40d37df353c3856470e2980dc9d7896 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:46 ---> job-cost.sh 20:34:46 lf-activate-venv: SKIPPING 20:34:46 INFO: No Stack... 20:34:47 INFO: Retrieving Pricing Info for: v3-standard-8 20:34:47 INFO: Archiving Costs [Pipeline] sh 20:34:48 + cat /w/workspace/xfoundry_device-modbus-go_PR-477/archives/cost.csv 20:34:48 + cut -d, -f6 [Pipeline] lock 20:34:48 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-477-1-stack-cost] 20:34:48 Resource [jenkins-edgexfoundry-device-modbus-go-PR-477-1-stack-cost] did not exist. Created. 20:34:48 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-477-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:34:48 + echo total: 0.2199999988079071 [Pipeline] stash 20:34:48 Stashed 1 file(s) [Pipeline] } 20:34:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-477-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:34:48 $ docker stop --time=1 967c9ccca724d5e17c3c472a4deb7cc0a40d37df353c3856470e2980dc9d7896 20:34:49 $ docker rm -f --volumes 967c9ccca724d5e17c3c472a4deb7cc0a40d37df353c3856470e2980dc9d7896 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:35:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14957 in /w/workspace/xfoundry_device-modbus-go_PR-477 [Pipeline] { [Pipeline] ws 20:35:24 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 20:35:25 Selected Git installation does not exist. Using Default 20:35:25 The recommended git tool is: NONE 20:35:31 using credential edgex-jenkins-ssh 20:35:31 Cloning the remote Git repository 20:35:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:35:31 > git init /w/workspace/device-modbus-go/1 # timeout=10 20:35:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:35:31 > git --version # timeout=10 20:35:31 > git --version # 'git version 2.25.1' 20:35:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:35:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:35:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:35:34 Merging remotes/origin/main commit a3185666607ac015ce8e2ed96cee91149733c6fa into PR head commit 3dfe206c6d0c39a2049002eceba5e982be12b096 20:35:35 Merge succeeded, producing 3dfe206c6d0c39a2049002eceba5e982be12b096 20:35:35 Checking out Revision 3dfe206c6d0c39a2049002eceba5e982be12b096 (PR-477) 20:35:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:35:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:35:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/477/head:refs/remotes/origin/PR-477 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:35:34 > git config core.sparsecheckout # timeout=10 20:35:34 > git checkout -f 3dfe206c6d0c39a2049002eceba5e982be12b096 # timeout=10 20:35:35 > git remote # timeout=10 20:35:35 > git config --get remote.origin.url # timeout=10 20:35:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:35 > git merge a3185666607ac015ce8e2ed96cee91149733c6fa # timeout=10 20:35:35 > git rev-parse HEAD^{commit} # timeout=10 20:35:35 > git config core.sparsecheckout # timeout=10 20:35:35 > git checkout -f 3dfe206c6d0c39a2049002eceba5e982be12b096 # timeout=10 20:35:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:35:35 > git --version # timeout=10 20:35:35 > git --version # 'git version 2.25.1' 20:35:35 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:35:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:35:36 % Total % Received % Xferd Average Speed Time Time Time Current 20:35:36 Dload Upload Total Spent Left Speed 20:35:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 20:35:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:35:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:35:37 + sudo tee /etc/docker/daemon.new 20:35:37 { 20:35:37 "registry-mirrors": [ 20:35:37 "https://nexus3.edgexfoundry.org:10001" 20:35:37 ], 20:35:37 "bip": "10.250.0.254/24", 20:35:37 "hosts": [ 20:35:37 "tcp://0.0.0.0:5555", 20:35:37 "unix:///var/run/docker.sock" 20:35:37 ], 20:35:37 "mtu": 1458, 20:35:37 "selinux-enabled": true, 20:35:37 "seccomp-profile": "/etc/docker/seccomp.json" 20:35:37 } [Pipeline] sh 20:35:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:35:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:35:57 provisioning config files... 20:35:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6935500391596529921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:57 ---> docker-login.sh 20:35:57 nexus3.edgexfoundry.org:10001 20:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:58 Configure a credential helper to remove this warning. See 20:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:58 20:35:58 Login Succeeded 20:35:58 nexus3.edgexfoundry.org:10002 20:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:59 Configure a credential helper to remove this warning. See 20:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:59 20:35:59 Login Succeeded 20:35:59 nexus3.edgexfoundry.org:10003 20:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:59 Configure a credential helper to remove this warning. See 20:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:59 20:35:59 Login Succeeded 20:35:59 nexus3.edgexfoundry.org:10004 20:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:00 Configure a credential helper to remove this warning. See 20:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:00 20:36:00 Login Succeeded 20:36:00 docker.io 20:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:00 Configure a credential helper to remove this warning. See 20:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:00 20:36:00 Login Succeeded 20:36:00 ---> docker-login.sh ends [Pipeline] } 20:36:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:01 ========================================================= 20:36:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:36:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:36:02 Sending build context to Docker daemon 3.402MB 20:36:02 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:36:02 Step 2/10 : FROM ${BASE} AS builder 20:36:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:36:02 c41833b44d91: Pulling fs layer 20:36:02 ed15518f5707: Pulling fs layer 20:36:02 feae8fd75edb: Pulling fs layer 20:36:02 242c74f7c9fa: Pulling fs layer 20:36:02 3cdef696dda3: Pulling fs layer 20:36:02 2ced38df9373: Pulling fs layer 20:36:02 58f1dce35555: Pulling fs layer 20:36:02 242c74f7c9fa: Waiting 20:36:02 3cdef696dda3: Waiting 20:36:02 58f1dce35555: Waiting 20:36:02 ed15518f5707: Verifying Checksum 20:36:02 ed15518f5707: Download complete 20:36:02 242c74f7c9fa: Verifying Checksum 20:36:02 242c74f7c9fa: Download complete 20:36:02 3cdef696dda3: Verifying Checksum 20:36:02 3cdef696dda3: Download complete 20:36:02 c41833b44d91: Verifying Checksum 20:36:02 c41833b44d91: Download complete 20:36:03 c41833b44d91: Pull complete 20:36:04 58f1dce35555: Verifying Checksum 20:36:04 58f1dce35555: Download complete 20:36:04 ed15518f5707: Pull complete 20:36:05 feae8fd75edb: Verifying Checksum 20:36:05 feae8fd75edb: Download complete 20:36:05 2ced38df9373: Download complete 20:36:15 feae8fd75edb: Pull complete 20:36:15 242c74f7c9fa: Pull complete 20:36:16 3cdef696dda3: Pull complete 20:36:22 2ced38df9373: Pull complete 20:36:25 58f1dce35555: Pull complete 20:36:25 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:36:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:36:25 ---> fadd8f120f05 20:36:25 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:36:27 ---> Running in 05e81bd92a8e 20:36:27 Removing intermediate container 05e81bd92a8e 20:36:27 ---> c7ad12191d61 20:36:27 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:36:27 ---> Running in 85917726b445 20:36:27 Removing intermediate container 85917726b445 20:36:27 ---> 372e0f63744c 20:36:27 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:36:28 ---> Running in 348219f24718 20:36:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:36:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:36:31 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:36:31 (2/8) Installing libedit (20221030.3.1-r0) 20:36:31 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:36:31 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:36:31 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:36:31 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:36:31 (7/8) Installing openssh-server (9.1_p1-r2) 20:36:31 (8/8) Installing openssh (9.1_p1-r2) 20:36:31 Executing busybox-1.35.0-r29.trigger 20:36:31 OK: 270 MiB in 61 packages 20:36:32 Removing intermediate container 348219f24718 20:36:32 ---> a255363fbd29 20:36:32 Step 6/10 : WORKDIR /device-modbus-go 20:36:32 ---> Running in 91359f2b4edf 20:36:32 Removing intermediate container 91359f2b4edf 20:36:32 ---> c804541c3f2d 20:36:32 Step 7/10 : COPY go.mod vendor* ./ 20:36:33 ---> 7685f4aa1731 20:36:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:33 ---> Running in d734fb9285c5 20:37:54 Removing intermediate container d734fb9285c5 20:37:54 ---> 10732faf6823 20:37:54 Step 9/10 : COPY . . 20:37:54 ---> 1532774fad7b 20:37:54 Step 10/10 : RUN ${MAKE} 20:37:54 ---> Running in bb6391fdb6f5 20:37:54 noop 20:37:54 Removing intermediate container bb6391fdb6f5 20:37:54 ---> 3f1dc643480a 20:37:54 Successfully built 3f1dc643480a 20:37:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:55 + docker inspect -f . ci-base-image-arm64 20:37:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:55 prd-ubuntu20.04-docker-arm64-4c-16g-14957 does not seem to be running inside a container 20:37:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:37:56 $ docker top dc82464a507956f92d37b79c80578335854ce22cbc56027ab1b2b61e62b6301a -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:57 + go version 20:37:57 go version go1.20.2 linux/arm64 [Pipeline] } 20:37:57 $ docker stop --time=1 dc82464a507956f92d37b79c80578335854ce22cbc56027ab1b2b61e62b6301a 20:38:01 $ docker rm -f --volumes dc82464a507956f92d37b79c80578335854ce22cbc56027ab1b2b61e62b6301a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:01 + docker inspect -f . ci-base-image-arm64 20:38:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:02 prd-ubuntu20.04-docker-arm64-4c-16g-14957 does not seem to be running inside a container 20:38:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:38:03 $ docker top 791a927a1c8b889fb7d816e3daf223f9201c6505bac660ac9c5a560c91b8af73 -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:04 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 20:38:04 + make test 20:38:04 go test ./... -coverprofile=coverage.out 20:38:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:41:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:41:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.4% of statements 20:41:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:41:05 go vet ./... 20:41:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:41:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:41:32 ./bin/test-attribution-txt.sh [Pipeline] echo 20:41:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:41:32 $ docker stop --time=1 791a927a1c8b889fb7d816e3daf223f9201c6505bac660ac9c5a560c91b8af73 20:41:35 $ docker rm -f --volumes 791a927a1c8b889fb7d816e3daf223f9201c6505bac660ac9c5a560c91b8af73 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:37 Warning: overwriting stash ‘coverage-report’ 20:41:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:38 + ls -al . 20:41:38 total 176 20:41:38 drwxrwxr-x 9 jenkins jenkins 4096 May 10 20:38 . 20:41:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:35 .. 20:41:38 -rw-rw-r-- 1 jenkins jenkins 140 May 10 20:35 .dockerignore 20:41:38 drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:35 .git 20:41:38 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:35 .github 20:41:38 -rw-rw-r-- 1 jenkins jenkins 331 May 10 20:35 .gitignore 20:41:38 -rw-rw-r-- 1 jenkins jenkins 41 May 10 20:35 .golangci.yml 20:41:38 -rw-rw-r-- 1 jenkins jenkins 10132 May 10 20:35 Attribution.txt 20:41:38 -rw-rw-r-- 1 jenkins jenkins 11576 May 10 20:35 CHANGELOG.md 20:41:38 -rw-rw-r-- 1 jenkins jenkins 1365 May 10 20:35 Dockerfile 20:41:38 -rw-rw-r-- 1 jenkins jenkins 677 May 10 20:35 GOVERNANCE.md 20:41:38 -rw-rw-r-- 1 jenkins jenkins 680 May 10 20:35 Jenkinsfile 20:41:38 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 20:35 LICENSE 20:41:38 -rw-rw-r-- 1 jenkins jenkins 1705 May 10 20:35 Makefile 20:41:38 -rw-rw-r-- 1 jenkins jenkins 622 May 10 20:35 OWNERS.md 20:41:38 -rw-rw-r-- 1 jenkins jenkins 4045 May 10 20:35 README.md 20:41:38 -rw-rw-r-- 1 jenkins jenkins 5 May 10 20:32 VERSION 20:41:38 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:35 bin 20:41:38 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:35 cmd 20:41:38 -rw-r--r-- 1 jenkins jenkins 24160 May 10 20:41 coverage.out 20:41:38 -rw-rw-r-- 1 jenkins jenkins 3453 May 10 20:35 go.mod 20:41:38 -rw-rw-r-- 1 jenkins jenkins 31670 May 10 20:35 go.sum 20:41:38 drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:35 internal 20:41:38 drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:35 simulator 20:41:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:35 snap 20:41:38 -rw-rw-r-- 1 jenkins jenkins 229 May 10 20:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:38 + 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=3dfe206c6d0c39a2049002eceba5e982be12b096 --label arch=arm64 --label version=0.0.0 . 20:41:39 Sending build context to Docker daemon 3.427MB 20:41:39 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:41:39 Step 2/22 : FROM ${BASE} AS builder 20:41:39 ---> 3f1dc643480a 20:41:39 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:41:39 ---> Running in d5897d198107 20:41:39 Removing intermediate container d5897d198107 20:41:39 ---> 2d54719202f5 20:41:39 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:39 ---> Running in 96b0f33c541e 20:41:39 Removing intermediate container 96b0f33c541e 20:41:39 ---> 3410e5095a4d 20:41:39 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:41:40 ---> Running in d49ab1574b38 20:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:41:43 OK: 270 MiB in 61 packages 20:41:43 Removing intermediate container d49ab1574b38 20:41:43 ---> 95b584311a19 20:41:43 Step 6/22 : WORKDIR /device-modbus-go 20:41:43 ---> Running in c4f84b3a18da 20:41:44 Removing intermediate container c4f84b3a18da 20:41:44 ---> 110dd8aa1aae 20:41:44 Step 7/22 : COPY go.mod vendor* ./ 20:41:45 ---> 20ac2f101492 20:41:45 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:45 ---> Running in e436b522fd1d 20:41:50 Removing intermediate container e436b522fd1d 20:41:50 ---> 0d62e354bbcb 20:41:50 Step 9/22 : COPY . . 20:41:50 ---> d579f17b46ec 20:41:50 Step 10/22 : RUN ${MAKE} 20:41:50 ---> Running in e99b8b7a64a7 20:41:52 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 20:44:13 Removing intermediate container e99b8b7a64a7 20:44:13 ---> 9df6acb9a061 20:44:13 Step 11/22 : FROM alpine:3.17 20:44:13 3.17: Pulling from library/alpine 20:44:13 c41833b44d91: Already exists 20:44:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:44:13 Status: Downloaded newer image for alpine:3.17 20:44:13 ---> 51e60588ff2c 20:44:13 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:44:13 ---> Running in 45d34c688209 20:44:13 Removing intermediate container 45d34c688209 20:44:13 ---> 2beb7e179cf3 20:44:13 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:44:13 ---> Running in 6dc64b1dad75 20:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:44:13 (1/1) Installing dumb-init (1.2.5-r2) 20:44:13 Executing busybox-1.35.0-r29.trigger 20:44:13 OK: 8 MiB in 16 packages 20:44:13 Removing intermediate container 6dc64b1dad75 20:44:13 ---> 43bd08178557 20:44:13 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:44:13 ---> af25c9e93805 20:44:13 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:44:13 ---> 2d2582b11ea7 20:44:13 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:44:13 ---> b37773bf5248 20:44:13 Step 17/22 : EXPOSE 59901 20:44:13 ---> Running in b624ef2379b1 20:44:13 Removing intermediate container b624ef2379b1 20:44:13 ---> 946547d1374d 20:44:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:44:13 ---> Running in cda068914168 20:44:13 Removing intermediate container cda068914168 20:44:13 ---> 2bef9a7cd8ac 20:44:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:44:13 ---> Running in 08eb697fcbb2 20:44:13 Removing intermediate container 08eb697fcbb2 20:44:13 ---> d8027f8e020e 20:44:13 Step 20/22 : LABEL arch=arm64 20:44:13 ---> Running in 5050beeea26b 20:44:13 Removing intermediate container 5050beeea26b 20:44:13 ---> 826dc8c9ba98 20:44:13 Step 21/22 : LABEL git_sha=3dfe206c6d0c39a2049002eceba5e982be12b096 20:44:13 ---> Running in b470ff4ebb7f 20:44:13 Removing intermediate container b470ff4ebb7f 20:44:13 ---> 98f7c90d841c 20:44:13 Step 22/22 : LABEL version=0.0.0 20:44:13 ---> Running in df10efa4bdb9 20:44:13 Removing intermediate container df10efa4bdb9 20:44:13 ---> de1810be654f 20:44:13 [Warning] One or more build-args [ARCH] were not consumed 20:44:13 Successfully built de1810be654f 20:44:13 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 20:44:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:14 20:44:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:14 arm64: Pulling from edgex-lftools-log-publisher 20:44:14 8998bd30e6a1: Pulling fs layer 20:44:14 04944245beec: Pulling fs layer 20:44:14 699f458cf7ca: Pulling fs layer 20:44:14 765212b225bb: Pulling fs layer 20:44:14 f23df028b6ca: Pulling fs layer 20:44:14 765212b225bb: Waiting 20:44:14 d65c8cfc05b1: Pulling fs layer 20:44:14 2437ff75d9bd: Pulling fs layer 20:44:14 f23df028b6ca: Waiting 20:44:14 2437ff75d9bd: Waiting 20:44:14 d65c8cfc05b1: Waiting 20:44:15 04944245beec: Verifying Checksum 20:44:15 04944245beec: Download complete 20:44:15 765212b225bb: Verifying Checksum 20:44:15 765212b225bb: Download complete 20:44:15 f23df028b6ca: Download complete 20:44:15 d65c8cfc05b1: Verifying Checksum 20:44:15 d65c8cfc05b1: Download complete 20:44:15 699f458cf7ca: Verifying Checksum 20:44:15 699f458cf7ca: Download complete 20:44:15 8998bd30e6a1: Verifying Checksum 20:44:15 8998bd30e6a1: Download complete 20:44:18 2437ff75d9bd: Verifying Checksum 20:44:18 2437ff75d9bd: Download complete 20:44:19 8998bd30e6a1: Pull complete 20:44:20 04944245beec: Pull complete 20:44:21 699f458cf7ca: Pull complete 20:44:21 765212b225bb: Pull complete 20:44:22 f23df028b6ca: Pull complete 20:44:22 d65c8cfc05b1: Pull complete 20:44:37 2437ff75d9bd: Pull complete 20:44:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:44:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:44:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:38 prd-ubuntu20.04-docker-arm64-4c-16g-14957 does not seem to be running inside a container 20:44:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:44:41 $ docker top acda882e8e71bbde6eda2556736bb9d9adc6f81d7e7c39067f86be8ab24aa769 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:42 ---> job-cost.sh 20:44:42 lf-activate-venv: SKIPPING 20:44:42 INFO: No Stack... 20:44:43 INFO: Retrieving Pricing Info for: v3-standard-4 20:44:43 INFO: Archiving Costs [Pipeline] sh 20:44:44 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 20:44:44 + cut -d, -f6 [Pipeline] lock 20:44:44 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-477-1-stack-cost] 20:44:44 Resource [jenkins-edgexfoundry-device-modbus-go-PR-477-1-stack-cost] did not exist. Created. 20:44:44 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-477-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:44:45 /w/workspace/device-modbus-go/1@tmp/durable-abbdb043/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:44:45 + echo total: 0.10999999940395355 [Pipeline] stash 20:44:45 Warning: overwriting stash ‘stack-cost’ 20:44:45 Stashed 1 file(s) [Pipeline] } 20:44:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-477-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:44:45 $ docker stop --time=1 acda882e8e71bbde6eda2556736bb9d9adc6f81d7e7c39067f86be8ab24aa769 20:44:47 $ docker rm -f --volumes acda882e8e71bbde6eda2556736bb9d9adc6f81d7e7c39067f86be8ab24aa769 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:44:48 provisioning config files... 20:44:48 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/config1010314035677571598tmp [Pipeline] { [Pipeline] sh 20:44:48 + set +x 20:44:48 + curl -s https://codecov.io/bash 20:44:48 + bash -s -- 20:44:48 20:44:48 _____ _ 20:44:48 / ____| | | 20:44:48 | | ___ __| | ___ ___ _____ __ 20:44:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:44:48 | |___| (_) | (_| | __/ (_| (_) \ V / 20:44:48 \_____\___/ \__,_|\___|\___\___/ \_/ 20:44:48 Bash-1.0.6 20:44:48 20:44:48 20:44:48 ==> git version 2.25.1 found 20:44:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:44:48 Release-Date: 2020-01-08 20:44:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:44:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:44:48 ==> Jenkins CI detected. 20:44:48 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-477 20:44:48 project root: . 20:44:48 --> token set from env 20:44:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:44:48 ==> Running gcov in . (disable via -X gcov) 20:44:48 ==> Python coveragepy not found 20:44:48 ==> Searching for coverage reports in: 20:44:48 + . 20:44:48 -> Found 1 reports 20:44:48 ==> Detecting git/mercurial file structure 20:44:48 ==> Reading reports 20:44:48 + ./coverage.out bytes=24160 20:44:49 ==> Appending adjustments 20:44:49 https://docs.codecov.io/docs/fixing-reports 20:44:49 + Found adjustments 20:44:49 ==> Gzipping contents 20:44:49 4.0K /tmp/codecov.PH9xQE.gz 20:44:49 ==> Uploading reports 20:44:49 url: https://codecov.io 20:44:49 query: branch=PR-477&commit=3dfe206c6d0c39a2049002eceba5e982be12b096&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-477%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=477&job=&cmd_args= 20:44:49 -> Pinging Codecov 20:44:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-477&commit=3dfe206c6d0c39a2049002eceba5e982be12b096&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-477%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=477&job=&cmd_args= 20:44:49 -> Uploading to 20:44:49 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/55DBCA73C666E3227836607328DD7E49/3dfe206c6d0c39a2049002eceba5e982be12b096/8b8b80d7-a6a2-46c5-b8e3-d9f1fc9abf77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T204449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a48599c234d157fb68f58faeee33b1500c0bda508ca418cabc0edc24c425248b 20:44:49 % Total % Received % Xferd Average Speed Time Time Time Current 20:44:49 Dload Upload Total Spent Left Speed 20:44:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 15822 --:--:-- --:--:-- --:--:-- 15822 20:44:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3dfe206c6d0c39a2049002eceba5e982be12b096 [Pipeline] } 20:44:49 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 20:44:51 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-477/archives ] 20:44:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-477/archives 20:44:51 total 16 20:44:51 drwxr-xr-x 3 root root 4096 May 10 20:34 . 20:44:51 drwxrwxr-x 11 jenkins jenkins 4096 May 10 20:34 .. 20:44:51 drwxr-xr-x 2 root root 4096 May 10 20:34 cost 20:44:51 -rw-r--r-- 1 root root 88 May 10 20:34 cost.csv 20:44:51 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-477/archives 20:44:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-477/archives 20:44:51 total 16 20:44:51 drwxr-xr-x 3 jenkins jenkins 4096 May 10 20:34 . 20:44:51 drwxrwxr-x 11 jenkins jenkins 4096 May 10 20:34 .. 20:44:51 drwxr-xr-x 2 jenkins jenkins 4096 May 10 20:34 cost 20:44:51 -rw-r--r-- 1 jenkins jenkins 88 May 10 20:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:44:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:44:52 ---> package-listing.sh 20:44:52 ++ facter osfamily 20:44:52 ++ tr '[:upper:]' '[:lower:]' 20:44:52 + OS_FAMILY=debian 20:44:52 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-477 20:44:52 + START_PACKAGES=/tmp/packages_start.txt 20:44:52 + END_PACKAGES=/tmp/packages_end.txt 20:44:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:44:52 + PACKAGES=/tmp/packages_start.txt 20:44:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-477 ']' 20:44:52 + PACKAGES=/tmp/packages_end.txt 20:44:52 + case "${OS_FAMILY}" in 20:44:52 + dpkg -l 20:44:52 + grep '^ii' 20:44:52 + '[' -f /tmp/packages_start.txt ']' 20:44:52 + '[' -f /tmp/packages_end.txt ']' 20:44:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:44:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-477 ']' 20:44:52 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-477/archives/ 20:44:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-477/archives/ [Pipeline] echo 20:44:52 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-477/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:44:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:44:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:53 prd-ubuntu20.04-docker-8c-8g-14955 does not seem to be running inside a container 20:44:54 $ 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-477/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-477 -v /w/workspace/xfoundry_device-modbus-go_PR-477:/w/workspace/xfoundry_device-modbus-go_PR-477:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-477@tmp:/w/workspace/xfoundry_device-modbus-go_PR-477@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 20:44:54 $ docker top 50136bf59c4319018ed325c53ba3831b5976a9afd3e32bb77fa85c802e5caa86 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:44:55 + mkdir -p /var/log/sysstat [Pipeline] sh 20:44:56 + ls /var/log/sa-host 20:44:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:56 provisioning config files... 20:44:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-477@tmp/config2524335416819021067tmp [Pipeline] { [Pipeline] echo 20:44:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:44:56 ---> create-netrc.sh [Pipeline] } 20:44:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:44:57 ---> python-tools-install.sh [Pipeline] echo 20:44:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:44:57 ---> sudo-logs.sh 20:44:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:44:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:44:58 ---> job-cost.sh 20:44:58 lf-activate-venv: SKIPPING 20:44:58 DEBUG: total: 0.2199999988079071 20:44:58 INFO: Retrieving Stack Cost... 20:44:58 INFO: Retrieving Pricing Info for: v3-standard-8 20:44:58 INFO: Archiving Costs [Pipeline] echo 20:44:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:44:59 ---> logs-deploy.sh 20:44:59 lf-activate-venv: SKIPPING 20:44:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-477/1 20:44:59 INFO: archiving workspace using pattern(s): 20:45:00 Archives upload complete. 20:45:00 INFO: archiving logs to Nexus