Pull request #488 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 4043164b7337e1db1bede6ff26841e4d6947650d rather than da3204d87b5747ad11908252c9b7f11f8ab17213 Obtained Jenkinsfile from 4043164b7337e1db1bede6ff26841e4d6947650d 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-ssh14223646882048227203.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-ssh16638623437552719106.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-488/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-488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8866511166628942165.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-488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8739626635333665136.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-ssh13811102854448092166.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-488/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-488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15983469720141401694.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17182 in /w/workspace/xfoundry_device-modbus-go_PR-488 [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-488 # 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/488/head:refs/remotes/origin/PR-488 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4043164b7337e1db1bede6ff26841e4d6947650d into PR head commit da3204d87b5747ad11908252c9b7f11f8ab17213 Merge succeeded, producing da3204d87b5747ad11908252c9b7f11f8ab17213 Checking out Revision da3204d87b5747ad11908252c9b7f11f8ab17213 (PR-488) > git config core.sparsecheckout # timeout=10 > git checkout -f da3204d87b5747ad11908252c9b7f11f8ab17213 # 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 4043164b7337e1db1bede6ff26841e4d6947650d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da3204d87b5747ad11908252c9b7f11f8ab17213 # timeout=10 Commit message: "fix: Replace slack chat with github discussion" 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 22:37:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:37:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:37:05 ========================================================= 22:37:05 EdgeX Global Pipelines Version Info 22:37:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:37:05 ------------------- 22:37:05 stable info: 22:37:05 ------------------- 22:37:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:37:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:37:05 Message: update stable to v1.0.249 22:37:06 ------------------- 22:37:06 experimental info: 22:37:06 ------------------- 22:37:06 Commited By: **** collab-it+edgex@linuxfoundation.org 22:37:06 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:37:06 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:37:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-488 [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-488 [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-488 [Pipeline] echo 22:37:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da3204d87b5747ad11908252c9b7f11f8ab17213 [Pipeline] echo 22:37:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da3204d [Pipeline] echo 22:37:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:08 provisioning config files... 22:37:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/config12473434201990919483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:08 ---> docker-login.sh 22:37:08 nexus3.edgexfoundry.org:10001 22:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:08 Configure a credential helper to remove this warning. See 22:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:08 22:37:08 Login Succeeded 22:37:08 nexus3.edgexfoundry.org:10002 22:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:09 Configure a credential helper to remove this warning. See 22:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:09 22:37:09 Login Succeeded 22:37:09 nexus3.edgexfoundry.org:10003 22:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:09 Configure a credential helper to remove this warning. See 22:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:09 22:37:09 Login Succeeded 22:37:09 nexus3.edgexfoundry.org:10004 22:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:09 Configure a credential helper to remove this warning. See 22:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:09 22:37:09 Login Succeeded 22:37:09 docker.io 22:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:09 Configure a credential helper to remove this warning. See 22:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:09 22:37:09 Login Succeeded 22:37:09 ---> docker-login.sh ends [Pipeline] } 22:37:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:37:10 + git rev-list -1 --merges da3204d87b5747ad11908252c9b7f11f8ab17213~1..da3204d87b5747ad11908252c9b7f11f8ab17213 [Pipeline] echo 22:37:10 -----------> git rev-list -1 --merges da3204d87b5747ad11908252c9b7f11f8ab17213~1..da3204d87b5747ad11908252c9b7f11f8ab17213 da3204d87b5747ad11908252c9b7f11f8ab17213 [false] [Pipeline] sh 22:37:10 + git log --format=format:%s -1 da3204d87b5747ad11908252c9b7f11f8ab17213 [Pipeline] echo 22:37:10 ========================================================= 22:37:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:37:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:11 + git log --format=format:%s -1 da3204d87b5747ad11908252c9b7f11f8ab17213 [Pipeline] echo 22:37:11 [semverPrep] GIT_COMMIT: da3204d87b5747ad11908252c9b7f11f8ab17213, Commit Message: fix: Replace slack chat with github discussion [Pipeline] echo 22:37:11 [semverPrep] This is not a build commit. [Pipeline] sh 22:37:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:37:11 + grep -v github /etc/ssh/ssh_known_hosts 22:37:11 + [ -e /tmp/ssh_known_hosts ] 22:37:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:37:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:37:11 + sudo tee -a /etc/ssh/ssh_known_hosts 22:37:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:37:12 22:37:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:37:12 0.1.4: Pulling from edgex-devops/py-git-semver 22:37:12 b85a868b505f: Pulling fs layer 22:37:12 e2be974225ed: Pulling fs layer 22:37:12 339a4e72a1f5: Pulling fs layer 22:37:12 988bab9f4d93: Pulling fs layer 22:37:12 1469e6f7b9e6: Pulling fs layer 22:37:12 eaf3925da568: Pulling fs layer 22:37:12 bab4dde63d76: Pulling fs layer 22:37:12 bde34c3a00c8: Pulling fs layer 22:37:12 b352a97aabf1: Pulling fs layer 22:37:12 4872d77fe225: Pulling fs layer 22:37:12 5851b861e8e6: Pulling fs layer 22:37:12 988bab9f4d93: Waiting 22:37:12 eaf3925da568: Waiting 22:37:12 1469e6f7b9e6: Waiting 22:37:12 4872d77fe225: Waiting 22:37:12 bab4dde63d76: Waiting 22:37:12 bde34c3a00c8: Waiting 22:37:12 5851b861e8e6: Waiting 22:37:12 b352a97aabf1: Waiting 22:37:12 e2be974225ed: Verifying Checksum 22:37:12 e2be974225ed: Download complete 22:37:12 988bab9f4d93: Verifying Checksum 22:37:12 988bab9f4d93: Download complete 22:37:12 1469e6f7b9e6: Verifying Checksum 22:37:12 1469e6f7b9e6: Download complete 22:37:12 339a4e72a1f5: Verifying Checksum 22:37:12 339a4e72a1f5: Download complete 22:37:12 eaf3925da568: Download complete 22:37:12 bde34c3a00c8: Verifying Checksum 22:37:12 bde34c3a00c8: Download complete 22:37:12 b352a97aabf1: Verifying Checksum 22:37:12 b352a97aabf1: Download complete 22:37:12 4872d77fe225: Verifying Checksum 22:37:12 4872d77fe225: Download complete 22:37:12 5851b861e8e6: Download complete 22:37:12 b85a868b505f: Verifying Checksum 22:37:12 b85a868b505f: Download complete 22:37:13 bab4dde63d76: Verifying Checksum 22:37:13 bab4dde63d76: Download complete 22:37:14 b85a868b505f: Pull complete 22:37:14 e2be974225ed: Pull complete 22:37:14 339a4e72a1f5: Pull complete 22:37:14 988bab9f4d93: Pull complete 22:37:15 1469e6f7b9e6: Pull complete 22:37:15 eaf3925da568: Pull complete 22:37:16 bab4dde63d76: Pull complete 22:37:16 bde34c3a00c8: Pull complete 22:37:16 b352a97aabf1: Pull complete 22:37:16 4872d77fe225: Pull complete 22:37:16 5851b861e8e6: Pull complete 22:37:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:37:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:37:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:17 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 22:37:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@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-devops/py-git-semver:0.1.4 cat 22:37:19 $ docker top a6248d758198ecc345c64af6d6157ad07f938cff81ade5016cd717718a7d7bad -eo pid,comm 22:37:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:37:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:37:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:37:19 [ssh-agent] Looking for ssh-agent implementation... 22:37:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:37:20 $ docker exec a6248d758198ecc345c64af6d6157ad07f938cff81ade5016cd717718a7d7bad ssh-agent 22:37:20 SSH_AUTH_SOCK=/tmp/ssh-nQPRa10myBtd/agent.32 22:37:20 SSH_AGENT_PID=38 22:37:20 Running ssh-add (command line suppressed) 22:37:20 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-488@tmp/private_key_952728395046682202.key (/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/private_key_952728395046682202.key) 22:37:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:37:20 + git tag --points-at HEAD [Pipeline] } 22:37:20 $ docker exec --env ******** --env ******** a6248d758198ecc345c64af6d6157ad07f938cff81ade5016cd717718a7d7bad ssh-agent -k 22:37:20 unset SSH_AUTH_SOCK; 22:37:20 unset SSH_AGENT_PID; 22:37:20 echo Agent pid 38 killed; 22:37:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:37:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:37:20 [ssh-agent] Looking for ssh-agent implementation... 22:37:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:37:21 $ docker exec a6248d758198ecc345c64af6d6157ad07f938cff81ade5016cd717718a7d7bad ssh-agent 22:37:21 SSH_AUTH_SOCK=/tmp/ssh-zsuThBS21IIT/agent.70 22:37:21 SSH_AGENT_PID=76 22:37:21 Running ssh-add (command line suppressed) 22:37:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-488@tmp/private_key_14062704215416936686.key (/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/private_key_14062704215416936686.key) 22:37:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:37:21 + git semver init 22:37:21 2023-05-29 22:37:21,799 [run_init] DEBUG init version:0.0.0 force:False 22:37:21 2023-05-29 22:37:21,800 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-488/.semver 22:37:21 2023-05-29 22:37:21,801 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-488/.semver 22:37:21 2023-05-29 22:37:21,801 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-488/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-488, universal_newlines=False, shell=None, istream=None) 22:37:22 2023-05-29 22:37:22,562 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-488/.git/info/exclude 22:37:22 2023-05-29 22:37:22,563 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-488/.semver/PR-488 with force:False 22:37:22 2023-05-29 22:37:22,563 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-488/.semver/PR-488 22:37:22 2023-05-29 22:37:22,567 [execute] INFO git cat-file --batch-check 22:37:22 2023-05-29 22:37:22,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-488/.semver, universal_newlines=False, shell=None, istream=) 22:37:22 2023-05-29 22:37:22,574 [execute] INFO git cat-file --batch 22:37:22 2023-05-29 22:37:22,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-488/.semver, universal_newlines=False, shell=None, istream=) 22:37:22 2023-05-29 22:37:22,579 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-488/.semver/PR-488 22:37:22 0.0.0 [Pipeline] } 22:37:22 $ docker exec --env ******** --env ******** a6248d758198ecc345c64af6d6157ad07f938cff81ade5016cd717718a7d7bad ssh-agent -k 22:37:22 unset SSH_AUTH_SOCK; 22:37:22 unset SSH_AGENT_PID; 22:37:22 echo Agent pid 76 killed; 22:37:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:37:23 + git semver [Pipeline] } 22:37:23 $ docker stop --time=1 a6248d758198ecc345c64af6d6157ad07f938cff81ade5016cd717718a7d7bad 22:37:24 $ docker rm -f --volumes a6248d758198ecc345c64af6d6157ad07f938cff81ade5016cd717718a7d7bad [Pipeline] // withDockerContainer [Pipeline] sh 22:37:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:37:25 Stashed 1 file(s) [Pipeline] echo 22:37:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:26 provisioning config files... 22:37:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/config6411891131912235588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:26 ---> docker-login.sh 22:37:26 nexus3.edgexfoundry.org:10001 22:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:26 Configure a credential helper to remove this warning. See 22:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:26 22:37:26 Login Succeeded 22:37:26 nexus3.edgexfoundry.org:10002 22:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:26 Configure a credential helper to remove this warning. See 22:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:26 22:37:26 Login Succeeded 22:37:26 nexus3.edgexfoundry.org:10003 22:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:26 Configure a credential helper to remove this warning. See 22:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:26 22:37:26 Login Succeeded 22:37:26 nexus3.edgexfoundry.org:10004 22:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:26 Configure a credential helper to remove this warning. See 22:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:26 22:37:26 Login Succeeded 22:37:26 docker.io 22:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:27 Configure a credential helper to remove this warning. See 22:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:27 22:37:27 Login Succeeded 22:37:27 ---> docker-login.sh ends [Pipeline] } 22:37:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:37:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:27 ========================================================= 22:37:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:37:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:37:27 Sending build context to Docker daemon 6.554MB 22:37:27 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 22:37:27 Step 2/10 : FROM ${BASE} AS builder 22:37:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:37:27 f56be85fc22e: Pulling fs layer 22:37:27 85791d961cd3: Pulling fs layer 22:37:27 d694b5ae8c79: Pulling fs layer 22:37:27 9f32a84ed3da: Pulling fs layer 22:37:27 4d19c01a9841: Pulling fs layer 22:37:27 9325e15d5711: Pulling fs layer 22:37:27 556b6ee489ea: Pulling fs layer 22:37:27 c5a4b2cf53e6: Pulling fs layer 22:37:27 9f32a84ed3da: Waiting 22:37:27 556b6ee489ea: Waiting 22:37:27 9325e15d5711: Waiting 22:37:27 c5a4b2cf53e6: Waiting 22:37:27 85791d961cd3: Download complete 22:37:27 9f32a84ed3da: Verifying Checksum 22:37:27 9f32a84ed3da: Download complete 22:37:28 4d19c01a9841: Download complete 22:37:28 f56be85fc22e: Verifying Checksum 22:37:28 f56be85fc22e: Download complete 22:37:28 9325e15d5711: Verifying Checksum 22:37:28 9325e15d5711: Download complete 22:37:28 f56be85fc22e: Pull complete 22:37:28 85791d961cd3: Pull complete 22:37:28 c5a4b2cf53e6: Verifying Checksum 22:37:28 c5a4b2cf53e6: Download complete 22:37:28 d694b5ae8c79: Verifying Checksum 22:37:28 d694b5ae8c79: Download complete 22:37:28 556b6ee489ea: Download complete 22:37:32 d694b5ae8c79: Pull complete 22:37:32 9f32a84ed3da: Pull complete 22:37:32 4d19c01a9841: Pull complete 22:37:32 9325e15d5711: Pull complete 22:37:35 556b6ee489ea: Pull complete 22:37:35 c5a4b2cf53e6: Pull complete 22:37:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:37:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:37:35 ---> c4be618373d6 22:37:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:37:38 ---> Running in 81aa5ef0198b 22:37:38 Removing intermediate container 81aa5ef0198b 22:37:38 ---> 84750efbf426 22:37:38 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:37:39 ---> Running in 2daa35d34fad 22:37:39 Removing intermediate container 2daa35d34fad 22:37:39 ---> 72732d913d27 22:37:39 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:37:39 ---> Running in 942c9c5725a8 22:37:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:37:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:37:39 (1/8) Installing openssh-keygen (9.1_p1-r3) 22:37:39 (2/8) Installing libedit (20221030.3.1-r0) 22:37:39 (3/8) Installing openssh-client-common (9.1_p1-r3) 22:37:39 (4/8) Installing openssh-client-default (9.1_p1-r3) 22:37:39 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 22:37:39 (6/8) Installing openssh-server-common (9.1_p1-r3) 22:37:39 (7/8) Installing openssh-server (9.1_p1-r3) 22:37:39 (8/8) Installing openssh (9.1_p1-r3) 22:37:39 Executing busybox-1.35.0-r29.trigger 22:37:39 OK: 270 MiB in 61 packages 22:37:40 Removing intermediate container 942c9c5725a8 22:37:40 ---> 258f3ae693a3 22:37:40 Step 6/10 : WORKDIR /device-modbus-go 22:37:40 ---> Running in 6bec2fad95bf 22:37:40 Removing intermediate container 6bec2fad95bf 22:37:40 ---> 10289a0fedeb 22:37:40 Step 7/10 : COPY go.mod vendor* ./ 22:37:40 ---> 757121f22802 22:37:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:37:40 ---> Running in 06970851cec2 22:37:41 Still waiting to schedule task 22:37:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:38:12 Removing intermediate container 06970851cec2 22:38:12 ---> adcce9da896d 22:38:12 Step 9/10 : COPY . . 22:38:12 ---> 65f83b94cb8a 22:38:12 Step 10/10 : RUN ${MAKE} 22:38:12 ---> Running in 04d545786268 22:38:12 noop 22:38:12 Removing intermediate container 04d545786268 22:38:12 ---> 7cb208a94619 22:38:12 Successfully built 7cb208a94619 22:38:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:12 + docker inspect -f . ci-base-image-x86_64 22:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:13 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 22:38:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:38:13 $ docker top 7bcc9c3b75bdba8a7461c5c200065f84e5a5abe62dbcb8271b6bb39d3113b27b -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:13 + go version 22:38:13 go version go1.20.2 linux/amd64 [Pipeline] } 22:38:13 $ docker stop --time=1 7bcc9c3b75bdba8a7461c5c200065f84e5a5abe62dbcb8271b6bb39d3113b27b 22:38:15 $ docker rm -f --volumes 7bcc9c3b75bdba8a7461c5c200065f84e5a5abe62dbcb8271b6bb39d3113b27b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:15 + docker inspect -f . ci-base-image-x86_64 22:38:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:16 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 22:38:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:38:16 $ docker top 6180ddb2cf50930099a1be76ff4bcb454adf7e20eba4329197c114212e004548 -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:16 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-488 [Pipeline] fileExists [Pipeline] sh 22:38:17 + make test 22:38:17 go test ./... -coverprofile=coverage.out 22:38:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:38:31 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:38:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.4% of statements 22:38:35 go vet ./... 22:38:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:38:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:38:38 ./bin/test-attribution-txt.sh [Pipeline] echo 22:38:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:38:39 $ docker stop --time=1 6180ddb2cf50930099a1be76ff4bcb454adf7e20eba4329197c114212e004548 22:38:42 $ docker rm -f --volumes 6180ddb2cf50930099a1be76ff4bcb454adf7e20eba4329197c114212e004548 [Pipeline] // withDockerContainer [Pipeline] sh 22:38:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:38:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:38:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:38:43 + ls -al . 22:38:43 total 184 22:38:43 drwxrwxr-x 10 jenkins jenkins 4096 May 29 22:38 . 22:38:43 drwxrwxr-x 4 jenkins jenkins 4096 May 29 22:36 .. 22:38:43 -rw-rw-r-- 1 jenkins jenkins 140 May 29 22:37 .dockerignore 22:38:43 drwxrwxr-x 8 jenkins jenkins 4096 May 29 22:37 .git 22:38:43 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:37 .github 22:38:43 -rw-rw-r-- 1 jenkins jenkins 331 May 29 22:37 .gitignore 22:38:43 -rw-rw-r-- 1 jenkins jenkins 41 May 29 22:37 .golangci.yml 22:38:43 drwxr-xr-x 3 jenkins jenkins 4096 May 29 22:37 .semver 22:38:43 -rw-rw-r-- 1 jenkins jenkins 10132 May 29 22:37 Attribution.txt 22:38:43 -rw-rw-r-- 1 jenkins jenkins 11576 May 29 22:37 CHANGELOG.md 22:38:43 -rw-rw-r-- 1 jenkins jenkins 1365 May 29 22:37 Dockerfile 22:38:43 -rw-rw-r-- 1 jenkins jenkins 677 May 29 22:37 GOVERNANCE.md 22:38:43 -rw-rw-r-- 1 jenkins jenkins 680 May 29 22:37 Jenkinsfile 22:38:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 22:37 LICENSE 22:38:43 -rw-rw-r-- 1 jenkins jenkins 1705 May 29 22:37 Makefile 22:38:43 -rw-rw-r-- 1 jenkins jenkins 622 May 29 22:37 OWNERS.md 22:38:43 -rw-rw-r-- 1 jenkins jenkins 4598 May 29 22:37 README.md 22:38:43 -rw-rw-r-- 1 jenkins jenkins 5 May 29 22:37 VERSION 22:38:43 drwxrwxr-x 2 jenkins jenkins 4096 May 29 22:37 bin 22:38:43 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:37 cmd 22:38:43 -rw-r--r-- 1 jenkins jenkins 24160 May 29 22:38 coverage.out 22:38:43 -rw-rw-r-- 1 jenkins jenkins 3405 May 29 22:37 go.mod 22:38:43 -rw-rw-r-- 1 jenkins jenkins 31574 May 29 22:37 go.sum 22:38:43 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:37 internal 22:38:43 drwxrwxr-x 2 jenkins jenkins 4096 May 29 22:37 simulator 22:38:43 drwxrwxr-x 4 jenkins jenkins 4096 May 29 22:37 snap 22:38:43 -rw-rw-r-- 1 jenkins jenkins 229 May 29 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:44 + 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=da3204d87b5747ad11908252c9b7f11f8ab17213 --label arch=amd64 --label version=0.0.0 . 22:38:44 Sending build context to Docker daemon 6.579MB 22:38:44 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 22:38:44 Step 2/22 : FROM ${BASE} AS builder 22:38:44 ---> 7cb208a94619 22:38:44 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:38:44 ---> Running in 31cad2666194 22:38:44 Removing intermediate container 31cad2666194 22:38:44 ---> c64aaab57bab 22:38:44 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:38:44 ---> Running in 9c32595f98af 22:38:44 Removing intermediate container 9c32595f98af 22:38:44 ---> 169785b0248c 22:38:44 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:38:44 ---> Running in 6a4fb0d8ec52 22:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:38:45 OK: 270 MiB in 61 packages 22:38:45 Removing intermediate container 6a4fb0d8ec52 22:38:45 ---> e2c222b460f0 22:38:45 Step 6/22 : WORKDIR /device-modbus-go 22:38:45 ---> Running in 6af2983853b9 22:38:45 Removing intermediate container 6af2983853b9 22:38:45 ---> 02f988012283 22:38:45 Step 7/22 : COPY go.mod vendor* ./ 22:38:45 ---> b7e3a38c49ab 22:38:45 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:45 ---> Running in 077e32177312 22:38:46 Removing intermediate container 077e32177312 22:38:46 ---> fc64fb07371d 22:38:46 Step 9/22 : COPY . . 22:38:46 ---> 64a75206b82e 22:38:46 Step 10/22 : RUN ${MAKE} 22:38:46 ---> Running in 55300aa0dae3 22:38:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:39:08 Removing intermediate container 55300aa0dae3 22:39:08 ---> 0c9a8dcd463a 22:39:08 Step 11/22 : FROM alpine:3.17 22:39:08 3.17: Pulling from library/alpine 22:39:08 f56be85fc22e: Already exists 22:39:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:39:08 Status: Downloaded newer image for alpine:3.17 22:39:08 ---> 9ed4aefc74f6 22:39:08 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:39:08 ---> Running in 456ca9a6d14f 22:39:08 Removing intermediate container 456ca9a6d14f 22:39:08 ---> dc7c25c7c6d6 22:39:08 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:39:08 ---> Running in 83cd9c26f11f 22:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:39:08 (1/1) Installing dumb-init (1.2.5-r2) 22:39:08 Executing busybox-1.35.0-r29.trigger 22:39:08 OK: 7 MiB in 16 packages 22:39:08 Removing intermediate container 83cd9c26f11f 22:39:08 ---> bd4e367cc58f 22:39:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:39:08 ---> 22c30d2cd8eb 22:39:08 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:39:08 ---> f442e2462ecd 22:39:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:39:08 ---> 36432d60382a 22:39:08 Step 17/22 : EXPOSE 59901 22:39:08 ---> Running in 741f95004db1 22:39:08 Removing intermediate container 741f95004db1 22:39:08 ---> 7acc8e642c29 22:39:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:39:08 ---> Running in 83d7c3c07823 22:39:08 Removing intermediate container 83d7c3c07823 22:39:08 ---> 27ea28547688 22:39:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:39:08 ---> Running in 91fdf68c8855 22:39:08 Removing intermediate container 91fdf68c8855 22:39:08 ---> 9137efefc9b7 22:39:08 Step 20/22 : LABEL arch=amd64 22:39:08 ---> Running in e5e54bc743b7 22:39:08 Removing intermediate container e5e54bc743b7 22:39:08 ---> 174acf6c2532 22:39:08 Step 21/22 : LABEL git_sha=da3204d87b5747ad11908252c9b7f11f8ab17213 22:39:08 ---> Running in 824d2f840194 22:39:08 Removing intermediate container 824d2f840194 22:39:08 ---> a5411e1ee0f4 22:39:08 Step 22/22 : LABEL version=0.0.0 22:39:08 ---> Running in bc52d65ad880 22:39:08 Removing intermediate container bc52d65ad880 22:39:08 ---> 06e1eb0a2115 22:39:08 [Warning] One or more build-args [ARCH] were not consumed 22:39:08 Successfully built 06e1eb0a2115 22:39:08 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:39:09 22:39:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:39:10 latest: Pulling from edgex-lftools-log-publisher 22:39:10 5eb5b503b376: Pulling fs layer 22:39:10 5c69ac0246d0: Pulling fs layer 22:39:10 ec43610c2a17: Pulling fs layer 22:39:10 3a2ae6a8a46f: Pulling fs layer 22:39:10 33b1e0a273af: Pulling fs layer 22:39:10 5d3b04190fa2: Pulling fs layer 22:39:10 2f39f015ded8: Pulling fs layer 22:39:10 3a2ae6a8a46f: Waiting 22:39:10 33b1e0a273af: Waiting 22:39:10 5d3b04190fa2: Waiting 22:39:10 2f39f015ded8: Waiting 22:39:10 5c69ac0246d0: Verifying Checksum 22:39:10 5c69ac0246d0: Download complete 22:39:10 3a2ae6a8a46f: Verifying Checksum 22:39:10 3a2ae6a8a46f: Download complete 22:39:10 33b1e0a273af: Verifying Checksum 22:39:10 33b1e0a273af: Download complete 22:39:10 5d3b04190fa2: Verifying Checksum 22:39:10 5d3b04190fa2: Download complete 22:39:10 ec43610c2a17: Verifying Checksum 22:39:10 ec43610c2a17: Download complete 22:39:10 5eb5b503b376: Verifying Checksum 22:39:10 5eb5b503b376: Download complete 22:39:10 2f39f015ded8: Download complete 22:39:11 5eb5b503b376: Pull complete 22:39:11 5c69ac0246d0: Pull complete 22:39:12 ec43610c2a17: Pull complete 22:39:12 3a2ae6a8a46f: Pull complete 22:39:12 33b1e0a273af: Pull complete 22:39:12 5d3b04190fa2: Pull complete 22:39:17 2f39f015ded8: Pull complete 22:39:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:39:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:39:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:17 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 22:39:17 $ 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-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:39:20 $ docker top 81c1ea6697121efdbc0438e530f641b55b6c908f60d83480f93dba4393e8bc65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:39:21 ---> job-cost.sh 22:39:21 lf-activate-venv: SKIPPING 22:39:21 INFO: No Stack... 22:39:21 INFO: Retrieving Pricing Info for: v3-standard-8 22:39:21 INFO: Archiving Costs [Pipeline] sh 22:39:22 + cat /w/workspace/xfoundry_device-modbus-go_PR-488/archives/cost.csv 22:39:22 + cut -d, -f6 [Pipeline] lock 22:39:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-488-1-stack-cost] 22:39:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-488-1-stack-cost] did not exist. Created. 22:39:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-488-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:39:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17183 in /w/workspace/xfoundry_device-modbus-go_PR-488 [Pipeline] { [Pipeline] ws 22:39:22 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 22:39:22 Selected Git installation does not exist. Using Default 22:39:22 The recommended git tool is: NONE 22:39:22 + echo total: 0.2199999988079071 [Pipeline] stash 22:39:22 Stashed 1 file(s) [Pipeline] } 22:39:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-488-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:39:22 $ docker stop --time=1 81c1ea6697121efdbc0438e530f641b55b6c908f60d83480f93dba4393e8bc65 22:39:24 $ docker rm -f --volumes 81c1ea6697121efdbc0438e530f641b55b6c908f60d83480f93dba4393e8bc65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:39:27 using credential edgex-jenkins-ssh 22:39:27 Cloning the remote Git repository 22:39:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:39:27 > git init /w/workspace/device-modbus-go/1 # timeout=10 22:39:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:39:27 > git --version # timeout=10 22:39:27 > git --version # 'git version 2.25.1' 22:39:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:39:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:39:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:39:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:39:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:39:30 Merging remotes/origin/main commit 4043164b7337e1db1bede6ff26841e4d6947650d into PR head commit da3204d87b5747ad11908252c9b7f11f8ab17213 22:39:30 Merge succeeded, producing da3204d87b5747ad11908252c9b7f11f8ab17213 22:39:30 Checking out Revision da3204d87b5747ad11908252c9b7f11f8ab17213 (PR-488) 22:39:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:39:30 using GIT_SSH to set credentials SSH Credentials for GitHub 22:39:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/488/head:refs/remotes/origin/PR-488 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:39:30 > git config core.sparsecheckout # timeout=10 22:39:30 > git checkout -f da3204d87b5747ad11908252c9b7f11f8ab17213 # timeout=10 22:39:30 > git remote # timeout=10 22:39:30 > git config --get remote.origin.url # timeout=10 22:39:30 using GIT_SSH to set credentials SSH Credentials for GitHub 22:39:30 > git merge 4043164b7337e1db1bede6ff26841e4d6947650d # timeout=10 22:39:30 > git rev-parse HEAD^{commit} # timeout=10 22:39:30 > git config core.sparsecheckout # timeout=10 22:39:30 > git checkout -f da3204d87b5747ad11908252c9b7f11f8ab17213 # timeout=10 22:39:34 Commit message: "fix: Replace slack chat with github discussion" 22:39:34 > git --version # timeout=10 22:39:34 > git --version # 'git version 2.25.1' 22:39:34 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:39:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:39:35 % Total % Received % Xferd Average Speed Time Time Time Current 22:39:35 Dload Upload Total Spent Left Speed 22:39:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 37613 0 --:--:-- --:--:-- --:--:-- 37613 [Pipeline] sh 22:39:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:39:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:39:36 + sudo tee /etc/docker/daemon.new 22:39:36 { 22:39:36 "registry-mirrors": [ 22:39:36 "https://nexus3.edgexfoundry.org:10001" 22:39:36 ], 22:39:36 "bip": "10.250.0.254/24", 22:39:36 "hosts": [ 22:39:36 "tcp://0.0.0.0:5555", 22:39:36 "unix:///var/run/docker.sock" 22:39:36 ], 22:39:36 "mtu": 1458, 22:39:36 "selinux-enabled": true, 22:39:36 "seccomp-profile": "/etc/docker/seccomp.json" 22:39:36 } [Pipeline] sh 22:39:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:39:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:39:55 provisioning config files... 22:39:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config9117630847111530592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:39:56 ---> docker-login.sh 22:39:56 nexus3.edgexfoundry.org:10001 22:39:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:56 Configure a credential helper to remove this warning. See 22:39:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:56 22:39:56 Login Succeeded 22:39:56 nexus3.edgexfoundry.org:10002 22:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:57 Configure a credential helper to remove this warning. See 22:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:57 22:39:57 Login Succeeded 22:39:57 nexus3.edgexfoundry.org:10003 22:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:57 Configure a credential helper to remove this warning. See 22:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:57 22:39:57 Login Succeeded 22:39:57 nexus3.edgexfoundry.org:10004 22:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:57 Configure a credential helper to remove this warning. See 22:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:57 22:39:57 Login Succeeded 22:39:57 docker.io 22:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:58 Configure a credential helper to remove this warning. See 22:39:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:58 22:39:58 Login Succeeded 22:39:58 ---> docker-login.sh ends [Pipeline] } 22:39:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:39:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:39:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:39:58 ========================================================= 22:39:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:39:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:39:59 Sending build context to Docker daemon 3.434MB 22:40:02 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 22:40:02 Step 2/10 : FROM ${BASE} AS builder 22:40:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:40:02 c41833b44d91: Pulling fs layer 22:40:02 ed15518f5707: Pulling fs layer 22:40:02 feae8fd75edb: Pulling fs layer 22:40:02 242c74f7c9fa: Pulling fs layer 22:40:02 3cdef696dda3: Pulling fs layer 22:40:02 2ced38df9373: Pulling fs layer 22:40:02 58f1dce35555: Pulling fs layer 22:40:02 3cdef696dda3: Waiting 22:40:02 242c74f7c9fa: Waiting 22:40:02 2ced38df9373: Waiting 22:40:02 ed15518f5707: Verifying Checksum 22:40:02 ed15518f5707: Download complete 22:40:02 242c74f7c9fa: Verifying Checksum 22:40:02 242c74f7c9fa: Download complete 22:40:02 c41833b44d91: Verifying Checksum 22:40:02 c41833b44d91: Download complete 22:40:03 c41833b44d91: Pull complete 22:40:04 58f1dce35555: Verifying Checksum 22:40:04 58f1dce35555: Download complete 22:40:04 ed15518f5707: Pull complete 22:40:05 feae8fd75edb: Verifying Checksum 22:40:05 feae8fd75edb: Download complete 22:40:05 2ced38df9373: Verifying Checksum 22:40:05 2ced38df9373: Download complete 22:40:17 feae8fd75edb: Pull complete 22:40:17 242c74f7c9fa: Pull complete 22:40:17 3cdef696dda3: Pull complete 22:40:24 2ced38df9373: Pull complete 22:40:26 58f1dce35555: Pull complete 22:40:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:40:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:40:26 ---> fadd8f120f05 22:40:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:40:27 ---> Running in 6949ceb437e7 22:40:27 Removing intermediate container 6949ceb437e7 22:40:27 ---> 938b277512ae 22:40:27 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:40:27 ---> Running in 6047835c4d81 22:40:28 Removing intermediate container 6047835c4d81 22:40:28 ---> 8742f14dc2f7 22:40:28 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:40:28 ---> Running in 29ca6ce98c9e 22:40:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:40:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:40:30 (1/8) Installing openssh-keygen (9.1_p1-r3) 22:40:30 (2/8) Installing libedit (20221030.3.1-r0) 22:40:30 (3/8) Installing openssh-client-common (9.1_p1-r3) 22:40:30 (4/8) Installing openssh-client-default (9.1_p1-r3) 22:40:30 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 22:40:30 (6/8) Installing openssh-server-common (9.1_p1-r3) 22:40:30 (7/8) Installing openssh-server (9.1_p1-r3) 22:40:30 (8/8) Installing openssh (9.1_p1-r3) 22:40:30 Executing busybox-1.35.0-r29.trigger 22:40:30 OK: 270 MiB in 61 packages 22:40:31 Removing intermediate container 29ca6ce98c9e 22:40:31 ---> 41f063679a5f 22:40:31 Step 6/10 : WORKDIR /device-modbus-go 22:40:31 ---> Running in a4126c9fc452 22:40:32 Removing intermediate container a4126c9fc452 22:40:32 ---> 503aed6d1d86 22:40:32 Step 7/10 : COPY go.mod vendor* ./ 22:40:32 ---> 5dde8480d72d 22:40:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:32 ---> Running in e1c7da6cc4b4 22:41:40 Removing intermediate container e1c7da6cc4b4 22:41:40 ---> 237567d459f2 22:41:40 Step 9/10 : COPY . . 22:41:40 ---> 7c08b6681ead 22:41:40 Step 10/10 : RUN ${MAKE} 22:41:40 ---> Running in 59e9a57321d1 22:41:40 noop 22:41:40 Removing intermediate container 59e9a57321d1 22:41:40 ---> 4e461ffaa441 22:41:40 Successfully built 4e461ffaa441 22:41:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:41 + docker inspect -f . ci-base-image-arm64 22:41:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:41 prd-ubuntu20.04-docker-arm64-4c-16g-17183 does not seem to be running inside a container 22:41:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:41:42 $ docker top 2c6e2266b35e2c99cf1133cc281c09311e24f4f4f4f9ea166d228f9439885cd5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:43 + go version 22:41:43 go version go1.20.2 linux/arm64 [Pipeline] } 22:41:43 $ docker stop --time=1 2c6e2266b35e2c99cf1133cc281c09311e24f4f4f4f9ea166d228f9439885cd5 22:41:45 $ docker rm -f --volumes 2c6e2266b35e2c99cf1133cc281c09311e24f4f4f4f9ea166d228f9439885cd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:46 + docker inspect -f . ci-base-image-arm64 22:41:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:46 prd-ubuntu20.04-docker-arm64-4c-16g-17183 does not seem to be running inside a container 22:41:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:41:47 $ docker top c405557068e794bc98159e290ecee1551a30fe4888b12b6710fa104ae9c5b251 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:48 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 22:41:48 + make test 22:41:48 go test ./... -coverprofile=coverage.out 22:42:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:44:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:44:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 47.4% of statements 22:44:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:44:12 go vet ./... 22:44:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:44:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:44:44 ./bin/test-attribution-txt.sh [Pipeline] echo 22:44:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:44:44 $ docker stop --time=1 c405557068e794bc98159e290ecee1551a30fe4888b12b6710fa104ae9c5b251 22:44:46 $ docker rm -f --volumes c405557068e794bc98159e290ecee1551a30fe4888b12b6710fa104ae9c5b251 [Pipeline] // withDockerContainer [Pipeline] sh 22:44:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:44:48 Warning: overwriting stash ‘coverage-report’ 22:44:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:44:49 + ls -al . 22:44:49 total 180 22:44:49 drwxrwxr-x 9 jenkins jenkins 4096 May 29 22:41 . 22:44:49 drwxrwxr-x 4 jenkins jenkins 4096 May 29 22:39 .. 22:44:49 -rw-rw-r-- 1 jenkins jenkins 140 May 29 22:39 .dockerignore 22:44:49 drwxrwxr-x 8 jenkins jenkins 4096 May 29 22:39 .git 22:44:49 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:39 .github 22:44:49 -rw-rw-r-- 1 jenkins jenkins 331 May 29 22:39 .gitignore 22:44:49 -rw-rw-r-- 1 jenkins jenkins 41 May 29 22:39 .golangci.yml 22:44:49 -rw-rw-r-- 1 jenkins jenkins 10132 May 29 22:39 Attribution.txt 22:44:49 -rw-rw-r-- 1 jenkins jenkins 11576 May 29 22:39 CHANGELOG.md 22:44:49 -rw-rw-r-- 1 jenkins jenkins 1365 May 29 22:39 Dockerfile 22:44:49 -rw-rw-r-- 1 jenkins jenkins 677 May 29 22:39 GOVERNANCE.md 22:44:49 -rw-rw-r-- 1 jenkins jenkins 680 May 29 22:39 Jenkinsfile 22:44:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 22:39 LICENSE 22:44:49 -rw-rw-r-- 1 jenkins jenkins 1705 May 29 22:39 Makefile 22:44:49 -rw-rw-r-- 1 jenkins jenkins 622 May 29 22:39 OWNERS.md 22:44:49 -rw-rw-r-- 1 jenkins jenkins 4598 May 29 22:39 README.md 22:44:49 -rw-rw-r-- 1 jenkins jenkins 5 May 29 22:37 VERSION 22:44:49 drwxrwxr-x 2 jenkins jenkins 4096 May 29 22:39 bin 22:44:49 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:39 cmd 22:44:49 -rw-r--r-- 1 jenkins jenkins 24160 May 29 22:44 coverage.out 22:44:49 -rw-rw-r-- 1 jenkins jenkins 3405 May 29 22:39 go.mod 22:44:49 -rw-rw-r-- 1 jenkins jenkins 31574 May 29 22:39 go.sum 22:44:49 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:39 internal 22:44:49 drwxrwxr-x 2 jenkins jenkins 4096 May 29 22:39 simulator 22:44:49 drwxrwxr-x 4 jenkins jenkins 4096 May 29 22:39 snap 22:44:49 -rw-rw-r-- 1 jenkins jenkins 229 May 29 22:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:50 + 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=da3204d87b5747ad11908252c9b7f11f8ab17213 --label arch=arm64 --label version=0.0.0 . 22:44:50 Sending build context to Docker daemon 3.459MB 22:44:50 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 22:44:50 Step 2/22 : FROM ${BASE} AS builder 22:44:50 ---> 4e461ffaa441 22:44:50 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:44:50 ---> Running in f3e98802e8bb 22:44:50 Removing intermediate container f3e98802e8bb 22:44:50 ---> a7a41c68ee6c 22:44:50 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:44:51 ---> Running in 9140b8bab370 22:44:51 Removing intermediate container 9140b8bab370 22:44:51 ---> a591e90be40e 22:44:51 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:44:51 ---> Running in 299c259d8331 22:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:44:54 OK: 270 MiB in 61 packages 22:44:55 Removing intermediate container 299c259d8331 22:44:55 ---> 94d3920ff081 22:44:55 Step 6/22 : WORKDIR /device-modbus-go 22:44:55 ---> Running in 7d7f99b66b9a 22:44:55 Removing intermediate container 7d7f99b66b9a 22:44:55 ---> 06a7518d1037 22:44:55 Step 7/22 : COPY go.mod vendor* ./ 22:44:56 ---> d2cd497564de 22:44:56 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:56 ---> Running in 549ceff180af 22:44:58 Removing intermediate container 549ceff180af 22:44:58 ---> 7be7bbcca854 22:44:58 Step 9/22 : COPY . . 22:44:59 ---> 5f122895d7dd 22:44:59 Step 10/22 : RUN ${MAKE} 22:44:59 ---> Running in 064804923a20 22:45:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:47:07 Removing intermediate container 064804923a20 22:47:07 ---> e037792e3b5e 22:47:07 Step 11/22 : FROM alpine:3.17 22:47:07 3.17: Pulling from library/alpine 22:47:07 c41833b44d91: Already exists 22:47:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:47:07 Status: Downloaded newer image for alpine:3.17 22:47:07 ---> 51e60588ff2c 22:47:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:47:07 ---> Running in 04c2240e4aa2 22:47:07 Removing intermediate container 04c2240e4aa2 22:47:07 ---> 5791c6da2665 22:47:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:47:07 ---> Running in 0fb575ac162e 22:47:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:47:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:47:10 (1/1) Installing dumb-init (1.2.5-r2) 22:47:10 Executing busybox-1.35.0-r29.trigger 22:47:10 OK: 8 MiB in 16 packages 22:47:10 Removing intermediate container 0fb575ac162e 22:47:10 ---> 7da6237438ab 22:47:10 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:47:12 ---> e61838da9165 22:47:12 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:47:12 ---> cc7d82098925 22:47:12 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:47:13 ---> 3a80bbf62423 22:47:13 Step 17/22 : EXPOSE 59901 22:47:13 ---> Running in e2651f3acd37 22:47:13 Removing intermediate container e2651f3acd37 22:47:13 ---> 67e28cdff067 22:47:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:47:13 ---> Running in 949cbbd861dc 22:47:13 Removing intermediate container 949cbbd861dc 22:47:13 ---> 86bd72d3108b 22:47:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:47:13 ---> Running in 8b2d2a0af487 22:47:14 Removing intermediate container 8b2d2a0af487 22:47:14 ---> ea5f6d6d6b18 22:47:14 Step 20/22 : LABEL arch=arm64 22:47:14 ---> Running in 43c0f1bcef29 22:47:14 Removing intermediate container 43c0f1bcef29 22:47:14 ---> e3cf270221fb 22:47:14 Step 21/22 : LABEL git_sha=da3204d87b5747ad11908252c9b7f11f8ab17213 22:47:14 ---> Running in 73428f11159a 22:47:17 Removing intermediate container 73428f11159a 22:47:17 ---> 306ceea604f5 22:47:17 Step 22/22 : LABEL version=0.0.0 22:47:17 ---> Running in 4836f96a2d18 22:47:17 Removing intermediate container 4836f96a2d18 22:47:17 ---> f05f3a446991 22:47:17 [Warning] One or more build-args [ARCH] were not consumed 22:47:17 Successfully built f05f3a446991 22:47:17 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:47:18 22:47:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:47:19 arm64: Pulling from edgex-lftools-log-publisher 22:47:19 8998bd30e6a1: Pulling fs layer 22:47:19 04944245beec: Pulling fs layer 22:47:19 699f458cf7ca: Pulling fs layer 22:47:19 765212b225bb: Pulling fs layer 22:47:19 f23df028b6ca: Pulling fs layer 22:47:19 d65c8cfc05b1: Pulling fs layer 22:47:19 2437ff75d9bd: Pulling fs layer 22:47:19 f23df028b6ca: Waiting 22:47:19 d65c8cfc05b1: Waiting 22:47:19 2437ff75d9bd: Waiting 22:47:19 765212b225bb: Waiting 22:47:19 04944245beec: Verifying Checksum 22:47:19 04944245beec: Download complete 22:47:19 765212b225bb: Verifying Checksum 22:47:19 765212b225bb: Download complete 22:47:19 f23df028b6ca: Verifying Checksum 22:47:19 f23df028b6ca: Download complete 22:47:19 d65c8cfc05b1: Verifying Checksum 22:47:19 d65c8cfc05b1: Download complete 22:47:19 699f458cf7ca: Download complete 22:47:19 8998bd30e6a1: Verifying Checksum 22:47:19 8998bd30e6a1: Download complete 22:47:21 2437ff75d9bd: Verifying Checksum 22:47:21 2437ff75d9bd: Download complete 22:47:23 8998bd30e6a1: Pull complete 22:47:24 04944245beec: Pull complete 22:47:25 699f458cf7ca: Pull complete 22:47:25 765212b225bb: Pull complete 22:47:26 f23df028b6ca: Pull complete 22:47:26 d65c8cfc05b1: Pull complete 22:47:38 2437ff75d9bd: Pull complete 22:47:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:47:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:47:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:39 prd-ubuntu20.04-docker-arm64-4c-16g-17183 does not seem to be running inside a container 22:47:39 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:47:41 $ docker top 43498db2ec30de132ca82f4aadede55c075574c985ee82c66a2d1f8276fb4bf0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:42 ---> job-cost.sh 22:47:42 lf-activate-venv: SKIPPING 22:47:42 INFO: No Stack... 22:47:43 INFO: Retrieving Pricing Info for: v3-standard-4 22:47:43 INFO: Archiving Costs [Pipeline] sh 22:47:44 + + cat /w/workspace/device-modbus-go/1/archives/cost.csvcut -d, -f6 22:47:44 [Pipeline] lock 22:47:44 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-488-1-stack-cost] 22:47:44 Resource [jenkins-edgexfoundry-device-modbus-go-PR-488-1-stack-cost] did not exist. Created. 22:47:44 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-488-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:47:44 /w/workspace/device-modbus-go/1@tmp/durable-e92e14fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:47:45 + echo total: 0.10999999940395355 [Pipeline] stash 22:47:45 Warning: overwriting stash ‘stack-cost’ 22:47:45 Stashed 1 file(s) [Pipeline] } 22:47:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-488-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:47:45 $ docker stop --time=1 43498db2ec30de132ca82f4aadede55c075574c985ee82c66a2d1f8276fb4bf0 22:47:46 $ docker rm -f --volumes 43498db2ec30de132ca82f4aadede55c075574c985ee82c66a2d1f8276fb4bf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:47:47 provisioning config files... 22:47:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/config17671979431839108857tmp [Pipeline] { [Pipeline] sh 22:47:48 + set +x 22:47:48 + curl -s https://codecov.io/bash 22:47:48 + bash -s -- 22:47:48 22:47:48 _____ _ 22:47:48 / ____| | | 22:47:48 | | ___ __| | ___ ___ _____ __ 22:47:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:47:48 | |___| (_) | (_| | __/ (_| (_) \ V / 22:47:48 \_____\___/ \__,_|\___|\___\___/ \_/ 22:47:48 Bash-1.0.6 22:47:48 22:47:48 22:47:48 ==> git version 2.25.1 found 22:47: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 22:47:48 Release-Date: 2020-01-08 22:47: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 22:47:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:47:48 ==> Jenkins CI detected. 22:47:48 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-488 22:47:48 project root: . 22:47:48 --> token set from env 22:47:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:47:48 ==> Running gcov in . (disable via -X gcov) 22:47:48 ==> Python coveragepy not found 22:47:48 ==> Searching for coverage reports in: 22:47:48 + . 22:47:48 -> Found 1 reports 22:47:48 ==> Detecting git/mercurial file structure 22:47:48 ==> Reading reports 22:47:48 + ./coverage.out bytes=24160 22:47:48 ==> Appending adjustments 22:47:48 https://docs.codecov.io/docs/fixing-reports 22:47:48 + Found adjustments 22:47:48 ==> Gzipping contents 22:47:48 4.0K /tmp/codecov.wL34Tx.gz 22:47:48 ==> Uploading reports 22:47:48 url: https://codecov.io 22:47:48 query: branch=PR-488&commit=da3204d87b5747ad11908252c9b7f11f8ab17213&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-488%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=488&job=&cmd_args= 22:47:48 -> Pinging Codecov 22:47:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-488&commit=da3204d87b5747ad11908252c9b7f11f8ab17213&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-488%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=488&job=&cmd_args= 22:47:48 -> Uploading to 22:47:48 https://storage.googleapis.com/codecov/v4/raw/2023-05-29/55DBCA73C666E3227836607328DD7E49/da3204d87b5747ad11908252c9b7f11f8ab17213/0121a80c-51b9-43b2-911c-56df9bdbe8ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230529%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230529T224748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0175f22fdf6e004c580c277074b3c9703f1905d3d3475bdc0389f99922f2bbb9 22:47:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:47:48 Dload Upload Total Spent Left Speed 22:47:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19330 --:--:-- --:--:-- --:--:-- 19235 100 3924 0 0 100 3924 0 17517 --:--:-- --:--:-- --:--:-- 17440 22:47:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/da3204d87b5747ad11908252c9b7f11f8ab17213 [Pipeline] } 22:47: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 22:47:50 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-488/archives ] 22:47:50 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-488/archives 22:47:50 total 16 22:47:50 drwxr-xr-x 3 root root 4096 May 29 22:39 . 22:47:50 drwxrwxr-x 11 jenkins jenkins 4096 May 29 22:39 .. 22:47:50 drwxr-xr-x 2 root root 4096 May 29 22:39 cost 22:47:50 -rw-r--r-- 1 root root 88 May 29 22:39 cost.csv 22:47:50 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-488/archives 22:47:50 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-488/archives 22:47:50 total 16 22:47:50 drwxr-xr-x 3 jenkins jenkins 4096 May 29 22:39 . 22:47:50 drwxrwxr-x 11 jenkins jenkins 4096 May 29 22:39 .. 22:47:50 drwxr-xr-x 2 jenkins jenkins 4096 May 29 22:39 cost 22:47:50 -rw-r--r-- 1 jenkins jenkins 88 May 29 22:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:47:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:47:52 ---> package-listing.sh 22:47:52 ++ facter osfamily 22:47:52 ++ tr '[:upper:]' '[:lower:]' 22:47:52 + OS_FAMILY=debian 22:47:52 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-488 22:47:52 + START_PACKAGES=/tmp/packages_start.txt 22:47:52 + END_PACKAGES=/tmp/packages_end.txt 22:47:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:47:52 + PACKAGES=/tmp/packages_start.txt 22:47:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-488 ']' 22:47:52 + PACKAGES=/tmp/packages_end.txt 22:47:52 + case "${OS_FAMILY}" in 22:47:52 + dpkg -l 22:47:52 + grep '^ii' 22:47:52 + '[' -f /tmp/packages_start.txt ']' 22:47:52 + '[' -f /tmp/packages_end.txt ']' 22:47:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:47:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-488 ']' 22:47:52 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-488/archives/ 22:47:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-488/archives/ [Pipeline] echo 22:47: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-488/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:47:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:53 prd-ubuntu20.04-docker-8c-8g-17182 does not seem to be running inside a container 22:47:53 $ 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-488/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-488 -v /w/workspace/xfoundry_device-modbus-go_PR-488:/w/workspace/xfoundry_device-modbus-go_PR-488:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-488@tmp:/w/workspace/xfoundry_device-modbus-go_PR-488@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:47:53 $ docker top cc0c89261b795f7d9f5934c5b21211615ebf90ce13f5532faf1a0b2fb9eee268 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:54 + touch /tmp/pre-build-complete [Pipeline] sh 22:47:54 + mkdir -p /var/log/sysstat [Pipeline] sh 22:47:54 + ls /var/log/sa-host 22:47:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:54 provisioning config files... 22:47:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-488@tmp/config6733050546414343696tmp [Pipeline] { [Pipeline] echo 22:47:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:47:55 ---> create-netrc.sh [Pipeline] } 22:47:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:47:55 ---> python-tools-install.sh [Pipeline] echo 22:47:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:47:56 ---> sudo-logs.sh 22:47:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:47:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:47:56 ---> job-cost.sh 22:47:56 lf-activate-venv: SKIPPING 22:47:56 DEBUG: total: 0.2199999988079071 22:47:56 INFO: Retrieving Stack Cost... 22:47:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:47:57 INFO: Archiving Costs [Pipeline] echo 22:47:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:47:57 ---> logs-deploy.sh 22:47:57 lf-activate-venv: SKIPPING 22:47:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-488/1 22:47:57 INFO: archiving workspace using pattern(s): 22:47:58 Archives upload complete. 22:47:58 INFO: archiving logs to Nexus