Pull request #499 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 72ab50f0cee417665049107d2e4b962eca5852c3+1acbf7f5d5843a7481e353b92dd344f6df368a1e (172bfa8c222f13d4f222eef3cd2f55ab933da6d1) 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-ssh4726327247787632966.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16036627556362393085.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-499/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-499/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1590575986695183522.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-499/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2035351468805337213.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh9000149031022412164.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-499/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-499/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9660590003431789791.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-5775 in /w/workspace/xfoundry_device-modbus-go_PR-499 [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-499 # 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/499/head:refs/remotes/origin/PR-499 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1acbf7f5d5843a7481e353b92dd344f6df368a1e into PR head commit 72ab50f0cee417665049107d2e4b962eca5852c3 Merge succeeded, producing 72ab50f0cee417665049107d2e4b962eca5852c3 Checking out Revision 72ab50f0cee417665049107d2e4b962eca5852c3 (PR-499) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:29:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 72ab50f0cee417665049107d2e4b962eca5852c3 # 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 1acbf7f5d5843a7481e353b92dd344f6df368a1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72ab50f0cee417665049107d2e4b962eca5852c3 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:29:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:29:04 ========================================================= 05:29:04 EdgeX Global Pipelines Version Info 05:29:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:29:05 ------------------- 05:29:05 stable info: 05:29:05 ------------------- 05:29:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:29:05 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:29:05 Message: update stable to v1.0.253 05:29:06 ------------------- 05:29:06 experimental info: 05:29:06 ------------------- 05:29:06 Commited By: **** collab-it+edgex@linuxfoundation.org 05:29:06 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:29:06 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:29:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-499 [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-499 [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-499 [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72ab50f0cee417665049107d2e4b962eca5852c3 [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72ab50f [Pipeline] echo 05:29:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:07 provisioning config files... 05:29:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp/config15128246653640175983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:08 ---> docker-login.sh 05:29:08 nexus3.edgexfoundry.org:10001 05:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:09 Configure a credential helper to remove this warning. See 05:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:09 05:29:09 Login Succeeded 05:29:09 nexus3.edgexfoundry.org:10002 05:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:09 Configure a credential helper to remove this warning. See 05:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:09 05:29:09 Login Succeeded 05:29:09 nexus3.edgexfoundry.org:10003 05:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:09 Configure a credential helper to remove this warning. See 05:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:09 05:29:09 Login Succeeded 05:29:09 nexus3.edgexfoundry.org:10004 05:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:09 Configure a credential helper to remove this warning. See 05:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:09 05:29:09 Login Succeeded 05:29:09 docker.io 05:29:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:09 Configure a credential helper to remove this warning. See 05:29:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:09 05:29:09 Login Succeeded 05:29:09 ---> docker-login.sh ends [Pipeline] } 05:29:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:29:10 + git rev-list -1 --merges 72ab50f0cee417665049107d2e4b962eca5852c3~1..72ab50f0cee417665049107d2e4b962eca5852c3 [Pipeline] echo 05:29:10 -----------> git rev-list -1 --merges 72ab50f0cee417665049107d2e4b962eca5852c3~1..72ab50f0cee417665049107d2e4b962eca5852c3 72ab50f0cee417665049107d2e4b962eca5852c3 [false] [Pipeline] sh 05:29:10 + git log --format=format:%s -1 72ab50f0cee417665049107d2e4b962eca5852c3 [Pipeline] echo 05:29:10 ========================================================= 05:29:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:29:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:29:11 + git log --format=format:%s -1 72ab50f0cee417665049107d2e4b962eca5852c3 [Pipeline] echo 05:29:11 [semverPrep] GIT_COMMIT: 72ab50f0cee417665049107d2e4b962eca5852c3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:29:11 [semverPrep] This is not a build commit. [Pipeline] sh 05:29:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:29:11 + grep -v github /etc/ssh/ssh_known_hosts 05:29:11 + [ -e /tmp/ssh_known_hosts ] 05:29:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:29:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:29:11 + sudo tee -a /etc/ssh/ssh_known_hosts 05:29:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:29:12 05:29:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:29:12 0.1.4: Pulling from edgex-devops/py-git-semver 05:29:12 b85a868b505f: Pulling fs layer 05:29:12 e2be974225ed: Pulling fs layer 05:29:12 339a4e72a1f5: Pulling fs layer 05:29:12 988bab9f4d93: Pulling fs layer 05:29:12 1469e6f7b9e6: Pulling fs layer 05:29:12 eaf3925da568: Pulling fs layer 05:29:12 bab4dde63d76: Pulling fs layer 05:29:12 bde34c3a00c8: Pulling fs layer 05:29:12 b352a97aabf1: Pulling fs layer 05:29:12 4872d77fe225: Pulling fs layer 05:29:12 5851b861e8e6: Pulling fs layer 05:29:12 988bab9f4d93: Waiting 05:29:12 bab4dde63d76: Waiting 05:29:12 bde34c3a00c8: Waiting 05:29:12 4872d77fe225: Waiting 05:29:12 1469e6f7b9e6: Waiting 05:29:12 eaf3925da568: Waiting 05:29:12 b352a97aabf1: Waiting 05:29:12 e2be974225ed: Verifying Checksum 05:29:12 e2be974225ed: Download complete 05:29:12 988bab9f4d93: Download complete 05:29:12 1469e6f7b9e6: Verifying Checksum 05:29:12 1469e6f7b9e6: Download complete 05:29:12 eaf3925da568: Download complete 05:29:12 339a4e72a1f5: Verifying Checksum 05:29:12 339a4e72a1f5: Download complete 05:29:12 b352a97aabf1: Download complete 05:29:12 4872d77fe225: Verifying Checksum 05:29:12 4872d77fe225: Download complete 05:29:12 5851b861e8e6: Verifying Checksum 05:29:12 5851b861e8e6: Download complete 05:29:12 b85a868b505f: Verifying Checksum 05:29:12 b85a868b505f: Download complete 05:29:13 bab4dde63d76: Verifying Checksum 05:29:13 bab4dde63d76: Download complete 05:29:14 b85a868b505f: Pull complete 05:29:14 e2be974225ed: Pull complete 05:29:14 339a4e72a1f5: Pull complete 05:29:14 988bab9f4d93: Pull complete 05:29:15 1469e6f7b9e6: Pull complete 05:29:15 eaf3925da568: Pull complete 05:29:17 bab4dde63d76: Pull complete 05:29:17 bde34c3a00c8: Pull complete 05:29:17 b352a97aabf1: Pull complete 05:29:17 4872d77fe225: Pull complete 05:29:17 5851b861e8e6: Pull complete 05:29:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:29:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:29:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:17 prd-ubuntu20.04-docker-8c-8g-5775 does not seem to be running inside a container 05:29:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-499 -v /w/workspace/xfoundry_device-modbus-go_PR-499:/w/workspace/xfoundry_device-modbus-go_PR-499:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-499@tmp:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:29:21 $ docker top d1bc6f701158fc9c0682fe6e9c573b170c86c64a6bc56aaec5cabff1e086adce -eo pid,comm 05:29:21 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). 05:29:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:29:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:29:21 [ssh-agent] Looking for ssh-agent implementation... 05:29:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:29:21 $ docker exec d1bc6f701158fc9c0682fe6e9c573b170c86c64a6bc56aaec5cabff1e086adce ssh-agent 05:29:21 SSH_AUTH_SOCK=/tmp/ssh-EXPQIzEUizSq/agent.32 05:29:21 SSH_AGENT_PID=38 05:29:21 Running ssh-add (command line suppressed) 05:29:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-499@tmp/private_key_2802542495297317051.key (/w/workspace/xfoundry_device-modbus-go_PR-499@tmp/private_key_2802542495297317051.key) 05:29:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:29:21 + git tag --points-at HEAD [Pipeline] } 05:29:22 $ docker exec --env ******** --env ******** d1bc6f701158fc9c0682fe6e9c573b170c86c64a6bc56aaec5cabff1e086adce ssh-agent -k 05:29:22 unset SSH_AUTH_SOCK; 05:29:22 unset SSH_AGENT_PID; 05:29:22 echo Agent pid 38 killed; 05:29:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:29:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:29:22 [ssh-agent] Looking for ssh-agent implementation... 05:29:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:29:22 $ docker exec d1bc6f701158fc9c0682fe6e9c573b170c86c64a6bc56aaec5cabff1e086adce ssh-agent 05:29:22 SSH_AUTH_SOCK=/tmp/ssh-POIkuoCH01Wt/agent.71 05:29:22 SSH_AGENT_PID=77 05:29:22 Running ssh-add (command line suppressed) 05:29:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-499@tmp/private_key_17812109087552792911.key (/w/workspace/xfoundry_device-modbus-go_PR-499@tmp/private_key_17812109087552792911.key) 05:29:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:29:22 + git semver init 05:29:23 2023-09-11 05:29:23,028 [run_init] DEBUG init version:0.0.0 force:False 05:29:23 2023-09-11 05:29:23,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-499/.semver 05:29:23 2023-09-11 05:29:23,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-499/.semver 05:29:23 2023-09-11 05:29:23,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-499/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-499, universal_newlines=False, shell=None, istream=None) 05:29:24 2023-09-11 05:29:23,779 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-499/.git/info/exclude 05:29:24 2023-09-11 05:29:23,780 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-499/.semver/PR-499 with force:False 05:29:24 2023-09-11 05:29:23,780 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-499/.semver/PR-499 05:29:24 2023-09-11 05:29:23,785 [execute] INFO git cat-file --batch-check 05:29:24 2023-09-11 05:29:23,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-499/.semver, universal_newlines=False, shell=None, istream=) 05:29:24 2023-09-11 05:29:23,792 [execute] INFO git cat-file --batch 05:29:24 2023-09-11 05:29:23,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-499/.semver, universal_newlines=False, shell=None, istream=) 05:29:24 2023-09-11 05:29:23,798 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-499/.semver/PR-499 05:29:24 0.0.0 [Pipeline] } 05:29:24 $ docker exec --env ******** --env ******** d1bc6f701158fc9c0682fe6e9c573b170c86c64a6bc56aaec5cabff1e086adce ssh-agent -k 05:29:24 unset SSH_AUTH_SOCK; 05:29:24 unset SSH_AGENT_PID; 05:29:24 echo Agent pid 77 killed; 05:29:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:29:24 + git semver [Pipeline] } 05:29:24 $ docker stop --time=1 d1bc6f701158fc9c0682fe6e9c573b170c86c64a6bc56aaec5cabff1e086adce 05:29:26 $ docker rm -f --volumes d1bc6f701158fc9c0682fe6e9c573b170c86c64a6bc56aaec5cabff1e086adce [Pipeline] // withDockerContainer [Pipeline] sh 05:29:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:29:26 Stashed 1 file(s) [Pipeline] echo 05:29:26 [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 05:29:27 provisioning config files... 05:29:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp/config5467400735638368913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:27 ---> docker-login.sh 05:29:27 nexus3.edgexfoundry.org:10001 05:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:27 Configure a credential helper to remove this warning. See 05:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:27 05:29:27 Login Succeeded 05:29:27 nexus3.edgexfoundry.org:10002 05:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:27 Configure a credential helper to remove this warning. See 05:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:27 05:29:27 Login Succeeded 05:29:27 nexus3.edgexfoundry.org:10003 05:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:28 Configure a credential helper to remove this warning. See 05:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:28 05:29:28 Login Succeeded 05:29:28 nexus3.edgexfoundry.org:10004 05:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:28 Configure a credential helper to remove this warning. See 05:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:28 05:29:28 Login Succeeded 05:29:28 docker.io 05:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:29:28 Configure a credential helper to remove this warning. See 05:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:29:28 05:29:28 Login Succeeded 05:29:28 ---> docker-login.sh ends [Pipeline] } 05:29:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:29:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:29:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:29:28 ========================================================= 05:29:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:29:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:29 + 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 . 05:29:29 Sending build context to Docker daemon 6.427MB 05:29:29 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:29:29 Step 2/10 : FROM ${BASE} AS builder 05:29:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:29:29 4db1b89c0bd1: Pulling fs layer 05:29:29 6911f1a30b25: Pulling fs layer 05:29:29 e194b8c5c2a9: Pulling fs layer 05:29:29 6863d3e3a2b1: Pulling fs layer 05:29:29 6863d3e3a2b1: Waiting 05:29:29 ec0bb842ea78: Pulling fs layer 05:29:29 40a00589a448: Pulling fs layer 05:29:29 6c08303d61cc: Pulling fs layer 05:29:29 798269fcf238: Pulling fs layer 05:29:29 6c08303d61cc: Waiting 05:29:29 ec0bb842ea78: Waiting 05:29:29 40a00589a448: Waiting 05:29:29 6911f1a30b25: Verifying Checksum 05:29:29 6911f1a30b25: Download complete 05:29:29 6863d3e3a2b1: Verifying Checksum 05:29:29 6863d3e3a2b1: Download complete 05:29:29 ec0bb842ea78: Verifying Checksum 05:29:29 ec0bb842ea78: Download complete 05:29:29 4db1b89c0bd1: Verifying Checksum 05:29:29 4db1b89c0bd1: Download complete 05:29:29 40a00589a448: Verifying Checksum 05:29:29 40a00589a448: Download complete 05:29:29 4db1b89c0bd1: Pull complete 05:29:29 6911f1a30b25: Pull complete 05:29:30 798269fcf238: Verifying Checksum 05:29:30 798269fcf238: Download complete 05:29:30 e194b8c5c2a9: Verifying Checksum 05:29:30 e194b8c5c2a9: Download complete 05:29:30 6c08303d61cc: Verifying Checksum 05:29:30 6c08303d61cc: Download complete 05:29:34 e194b8c5c2a9: Pull complete 05:29:34 6863d3e3a2b1: Pull complete 05:29:34 ec0bb842ea78: Pull complete 05:29:35 40a00589a448: Pull complete 05:29:37 6c08303d61cc: Pull complete 05:29:38 798269fcf238: Pull complete 05:29:38 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 05:29:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:29:38 ---> ec979cd7f677 05:29:38 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:29:42 Still waiting to schedule task 05:29:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:29:44 ---> Running in 216ec1fcf470 05:29:44 Removing intermediate container 216ec1fcf470 05:29:44 ---> 96f5f9d26c99 05:29:44 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:29:44 ---> Running in df24440b92c3 05:29:44 Removing intermediate container df24440b92c3 05:29:44 ---> 3d0611f71623 05:29:44 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:29:44 ---> Running in 1ecf962c1b57 05:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:29:44 (1/8) Installing openssh-keygen (9.1_p1-r4) 05:29:44 (2/8) Installing libedit (20221030.3.1-r0) 05:29:44 (3/8) Installing openssh-client-common (9.1_p1-r4) 05:29:44 (4/8) Installing openssh-client-default (9.1_p1-r4) 05:29:44 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 05:29:44 (6/8) Installing openssh-server-common (9.1_p1-r4) 05:29:44 (7/8) Installing openssh-server (9.1_p1-r4) 05:29:44 (8/8) Installing openssh (9.1_p1-r4) 05:29:44 Executing busybox-1.35.0-r29.trigger 05:29:44 OK: 270 MiB in 61 packages 05:29:45 Removing intermediate container 1ecf962c1b57 05:29:45 ---> 3c29efb8db3b 05:29:45 Step 6/10 : WORKDIR /device-modbus-go 05:29:45 ---> Running in d7c013104264 05:29:45 Removing intermediate container d7c013104264 05:29:45 ---> 53b5f9dd33e0 05:29:45 Step 7/10 : COPY go.mod vendor* ./ 05:29:45 ---> d42a5debf27b 05:29:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:29:45 ---> Running in 23ba848c0c7a 05:30:53 Removing intermediate container 23ba848c0c7a 05:30:53 ---> e7725fab0dba 05:30:53 Step 9/10 : COPY . . 05:30:53 ---> b4e37d7decb5 05:30:53 Step 10/10 : RUN ${MAKE} 05:30:53 ---> Running in ee1b2d7cd31a 05:30:53 noop 05:30:53 Removing intermediate container ee1b2d7cd31a 05:30:53 ---> 8acf6a08aeea 05:30:53 Successfully built 8acf6a08aeea 05:30:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:53 + docker inspect -f . ci-base-image-x86_64 05:30:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:53 prd-ubuntu20.04-docker-8c-8g-5775 does not seem to be running inside a container 05:30:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-499 -v /w/workspace/xfoundry_device-modbus-go_PR-499:/w/workspace/xfoundry_device-modbus-go_PR-499:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-499@tmp:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:30:54 $ docker top 63bcf49ac99891add3fcdb1639d36c18207fad93dae1200402538e0abe145539 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:54 + go version 05:30:54 go version go1.20.6 linux/amd64 [Pipeline] } 05:30:54 $ docker stop --time=1 63bcf49ac99891add3fcdb1639d36c18207fad93dae1200402538e0abe145539 05:30:56 $ docker rm -f --volumes 63bcf49ac99891add3fcdb1639d36c18207fad93dae1200402538e0abe145539 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:56 + docker inspect -f . ci-base-image-x86_64 05:30:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:57 prd-ubuntu20.04-docker-8c-8g-5775 does not seem to be running inside a container 05:30:57 $ 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-499 -v /w/workspace/xfoundry_device-modbus-go_PR-499:/w/workspace/xfoundry_device-modbus-go_PR-499:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-499@tmp:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:30:57 $ docker top ed200c84470e07088250085ac622926624f497e7d1fc4015432fd4a3efd2ce20 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:57 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-499 [Pipeline] fileExists [Pipeline] sh 05:30:58 + make test 05:30:58 go test ./... -coverprofile=coverage.out 05:31:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:31:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5776 in /w/workspace/xfoundry_device-modbus-go_PR-499 [Pipeline] { [Pipeline] ws 05:31:14 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:31:14 Selected Git installation does not exist. Using Default 05:31:14 The recommended git tool is: NONE 05:31:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:31:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.036s coverage: 47.9% of statements 05:31:18 using credential edgex-jenkins-ssh 05:31:18 Cloning the remote Git repository 05:31:19 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:31:19 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:31:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:31:19 > git --version # timeout=10 05:31:19 > git --version # 'git version 2.25.1' 05:31:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:31:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:31:21 go vet ./... 05:31:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:31:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:31:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:31:21 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:31:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:31:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:31:21 Merging remotes/origin/main commit 1acbf7f5d5843a7481e353b92dd344f6df368a1e into PR head commit 72ab50f0cee417665049107d2e4b962eca5852c3 05:31:22 Merge succeeded, producing 72ab50f0cee417665049107d2e4b962eca5852c3 05:31:22 Checking out Revision 72ab50f0cee417665049107d2e4b962eca5852c3 (PR-499) 05:31:22 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:31:22 > git --version # timeout=10 05:31:22 > git --version # 'git version 2.25.1' 05:31:22 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:31:21 > git config core.sparsecheckout # timeout=10 05:31:21 > git checkout -f 72ab50f0cee417665049107d2e4b962eca5852c3 # timeout=10 05:31:21 > git remote # timeout=10 05:31:21 > git config --get remote.origin.url # timeout=10 05:31:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:31:22 > git merge 1acbf7f5d5843a7481e353b92dd344f6df368a1e # timeout=10 05:31:22 > git rev-parse HEAD^{commit} # timeout=10 05:31:22 > git config core.sparsecheckout # timeout=10 05:31:22 > git checkout -f 72ab50f0cee417665049107d2e4b962eca5852c3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:31:23 % Total % Received % Xferd Average Speed Time Time Time Current 05:31:23 Dload Upload Total Spent Left Speed 05:31:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 05:31:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:31:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:31:24 + sudo tee /etc/docker/daemon.new 05:31:24 { 05:31:24 "registry-mirrors": [ 05:31:24 "https://nexus3.edgexfoundry.org:10001" 05:31:24 ], 05:31:24 "bip": "10.250.0.254/24", 05:31:24 "hosts": [ 05:31:24 "tcp://0.0.0.0:5555", 05:31:24 "unix:///var/run/docker.sock" 05:31:24 ], 05:31:24 "mtu": 1458, 05:31:24 "selinux-enabled": true, 05:31:24 "seccomp-profile": "/etc/docker/seccomp.json" 05:31:24 } [Pipeline] sh 05:31:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:31:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:31:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:31:25 ./bin/test-attribution-txt.sh [Pipeline] echo 05:31:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:31:25 $ docker stop --time=1 ed200c84470e07088250085ac622926624f497e7d1fc4015432fd4a3efd2ce20 05:31:25 + sudo service docker restart 05:31:26 $ docker rm -f --volumes ed200c84470e07088250085ac622926624f497e7d1fc4015432fd4a3efd2ce20 [Pipeline] // withDockerContainer [Pipeline] sh 05:31:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:31:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:31:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:31:28 + ls -al . 05:31:28 total 192 05:31:28 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 05:30 . 05:31:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 05:29 .. 05:31:28 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 05:29 .dockerignore 05:31:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 05:29 .git 05:31:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 05:29 .github 05:31:28 -rw-rw-r-- 1 jenkins jenkins 331 Sep 11 05:29 .gitignore 05:31:28 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 05:29 .golangci.yml 05:31:28 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 05:29 .semver 05:31:28 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 11 05:29 Attribution.txt 05:31:28 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 11 05:29 CHANGELOG.md 05:31:28 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 11 05:29 Dockerfile 05:31:28 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 05:29 GOVERNANCE.md 05:31:28 -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 05:29 Jenkinsfile 05:31:28 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 05:29 LICENSE 05:31:28 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 11 05:29 Makefile 05:31:28 -rw-rw-r-- 1 jenkins jenkins 622 Sep 11 05:29 OWNERS.md 05:31:28 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 11 05:29 README.md 05:31:28 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 05:29 VERSION 05:31:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 05:29 bin 05:31:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 05:29 cmd 05:31:28 -rw-r--r-- 1 jenkins jenkins 24334 Sep 11 05:31 coverage.out 05:31:28 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 11 05:29 go.mod 05:31:28 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 11 05:29 go.sum 05:31:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 05:29 internal 05:31:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 05:29 simulator 05:31:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 05:29 snap 05:31:28 -rw-rw-r-- 1 jenkins jenkins 229 Sep 11 05:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:29 + 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=72ab50f0cee417665049107d2e4b962eca5852c3 --label arch=amd64 --label version=0.0.0 . 05:31:29 Sending build context to Docker daemon 6.452MB 05:31:29 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:31:29 Step 2/22 : FROM ${BASE} AS builder 05:31:29 ---> 8acf6a08aeea 05:31:29 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:31:29 ---> Running in bdf190a0da35 05:31:29 Removing intermediate container bdf190a0da35 05:31:29 ---> cf35338cc2c3 05:31:29 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:31:29 ---> Running in f884e4b065ae 05:31:29 Removing intermediate container f884e4b065ae 05:31:29 ---> 9582df752fe5 05:31:29 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:31:29 ---> Running in b661030b89b3 05:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:31:30 OK: 270 MiB in 61 packages 05:31:30 Removing intermediate container b661030b89b3 05:31:30 ---> 7eba10f48c04 05:31:30 Step 6/22 : WORKDIR /device-modbus-go 05:31:30 ---> Running in 9e050e5fd2bf 05:31:30 Removing intermediate container 9e050e5fd2bf 05:31:30 ---> b0d5a3f4181a 05:31:30 Step 7/22 : COPY go.mod vendor* ./ 05:31:30 ---> 39068806a7ee 05:31:30 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:31:30 ---> Running in 7d756ff59b18 05:31:31 Removing intermediate container 7d756ff59b18 05:31:31 ---> 64772026fd82 05:31:31 Step 9/22 : COPY . . 05:31:31 ---> 660ad396a1e6 05:31:31 Step 10/22 : RUN ${MAKE} 05:31:31 ---> Running in 640fa67c5564 05:31:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:43 provisioning config files... 05:31:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6178220521032794723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:44 ---> docker-login.sh 05:31:44 nexus3.edgexfoundry.org:10001 05:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:44 Configure a credential helper to remove this warning. See 05:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:44 05:31:44 Login Succeeded 05:31:44 nexus3.edgexfoundry.org:10002 05:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:44 Configure a credential helper to remove this warning. See 05:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:44 05:31:44 Login Succeeded 05:31:44 nexus3.edgexfoundry.org:10003 05:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:45 Configure a credential helper to remove this warning. See 05:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:45 05:31:45 Login Succeeded 05:31:45 nexus3.edgexfoundry.org:10004 05:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:45 Configure a credential helper to remove this warning. See 05:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:45 05:31:45 Login Succeeded 05:31:45 docker.io 05:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:46 Configure a credential helper to remove this warning. See 05:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:46 05:31:46 Login Succeeded 05:31:46 ---> docker-login.sh ends [Pipeline] } 05:31:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:31:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:31:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:31:46 ========================================================= 05:31:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:31:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:47 + 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 . 05:31:47 Sending build context to Docker daemon 3.334MB 05:31:47 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:31:47 Step 2/10 : FROM ${BASE} AS builder 05:31:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:31:47 edb6bdbacee9: Pulling fs layer 05:31:47 5f9638ab2659: Pulling fs layer 05:31:47 8d51d6327a98: Pulling fs layer 05:31:47 8b374f2dd631: Pulling fs layer 05:31:47 ec14aa9079de: Pulling fs layer 05:31:47 2f466654f4bb: Pulling fs layer 05:31:47 554e91adad29: Pulling fs layer 05:31:47 ec14aa9079de: Waiting 05:31:47 2f466654f4bb: Waiting 05:31:47 554e91adad29: Waiting 05:31:47 5f9638ab2659: Verifying Checksum 05:31:47 5f9638ab2659: Download complete 05:31:47 8b374f2dd631: Verifying Checksum 05:31:47 8b374f2dd631: Download complete 05:31:47 ec14aa9079de: Verifying Checksum 05:31:47 ec14aa9079de: Download complete 05:31:47 edb6bdbacee9: Download complete 05:31:49 edb6bdbacee9: Pull complete 05:31:49 554e91adad29: Verifying Checksum 05:31:49 554e91adad29: Download complete 05:31:49 5f9638ab2659: Pull complete 05:31:50 2f466654f4bb: Verifying Checksum 05:31:50 2f466654f4bb: Download complete 05:31:50 8d51d6327a98: Download complete 05:31:54 Removing intermediate container 640fa67c5564 05:31:54 ---> 96e333030c8c 05:31:54 Step 11/22 : FROM alpine:3.17 05:31:54 3.17: Pulling from library/alpine 05:31:54 9398808236ff: Pulling fs layer 05:31:54 9398808236ff: Download complete 05:31:54 9398808236ff: Pull complete 05:31:54 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:31:54 Status: Downloaded newer image for alpine:3.17 05:31:54 ---> 1e0b8b5322fc 05:31:54 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:31:54 ---> Running in 453cfc427ea4 05:31:54 Removing intermediate container 453cfc427ea4 05:31:54 ---> afb33894db32 05:31:54 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:31:54 ---> Running in a9ce369f60da 05:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:31:54 (1/1) Installing dumb-init (1.2.5-r2) 05:31:54 Executing busybox-1.35.0-r29.trigger 05:31:54 OK: 7 MiB in 16 packages 05:31:54 Removing intermediate container a9ce369f60da 05:31:54 ---> 66505c632c60 05:31:54 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:31:54 ---> c36bce8d58d2 05:31:54 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:31:54 ---> ea856dddae4b 05:31:54 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:31:54 ---> 1a9fa1f44c03 05:31:54 Step 17/22 : EXPOSE 59901 05:31:54 ---> Running in d5861af0b3dc 05:31:54 Removing intermediate container d5861af0b3dc 05:31:54 ---> 30a82793dda9 05:31:54 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:31:54 ---> Running in d67eca71220f 05:31:54 Removing intermediate container d67eca71220f 05:31:54 ---> aeb93c566f3d 05:31:54 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:31:54 ---> Running in 4f7418360e77 05:31:54 Removing intermediate container 4f7418360e77 05:31:54 ---> fe3b8ae0fbac 05:31:54 Step 20/22 : LABEL arch=amd64 05:31:54 ---> Running in 64ece719c4a7 05:31:54 Removing intermediate container 64ece719c4a7 05:31:54 ---> 8b4e46ea5fbb 05:31:54 Step 21/22 : LABEL git_sha=72ab50f0cee417665049107d2e4b962eca5852c3 05:31:54 ---> Running in 2228dc6912de 05:31:54 Removing intermediate container 2228dc6912de 05:31:54 ---> 0859d962a20c 05:31:54 Step 22/22 : LABEL version=0.0.0 05:31:54 ---> Running in 49b823152991 05:31:54 Removing intermediate container 49b823152991 05:31:54 ---> 3524a5e7e3df 05:31:54 [Warning] One or more build-args [ARCH] were not consumed 05:31:54 Successfully built 3524a5e7e3df 05:31:54 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 05:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:54 05:31:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:55 latest: Pulling from edgex-lftools-log-publisher 05:31:55 5eb5b503b376: Pulling fs layer 05:31:55 5c69ac0246d0: Pulling fs layer 05:31:55 ec43610c2a17: Pulling fs layer 05:31:55 3a2ae6a8a46f: Pulling fs layer 05:31:55 33b1e0a273af: Pulling fs layer 05:31:55 5d3b04190fa2: Pulling fs layer 05:31:55 2f39f015ded8: Pulling fs layer 05:31:55 3a2ae6a8a46f: Waiting 05:31:55 33b1e0a273af: Waiting 05:31:55 5d3b04190fa2: Waiting 05:31:55 2f39f015ded8: Waiting 05:31:55 5c69ac0246d0: Download complete 05:31:55 3a2ae6a8a46f: Verifying Checksum 05:31:55 3a2ae6a8a46f: Download complete 05:31:55 33b1e0a273af: Verifying Checksum 05:31:55 33b1e0a273af: Download complete 05:31:55 5d3b04190fa2: Verifying Checksum 05:31:55 5d3b04190fa2: Download complete 05:31:55 ec43610c2a17: Verifying Checksum 05:31:55 ec43610c2a17: Download complete 05:31:55 5eb5b503b376: Verifying Checksum 05:31:55 5eb5b503b376: Download complete 05:31:56 2f39f015ded8: Verifying Checksum 05:31:56 2f39f015ded8: Download complete 05:31:56 5eb5b503b376: Pull complete 05:31:56 5c69ac0246d0: Pull complete 05:31:57 ec43610c2a17: Pull complete 05:31:57 3a2ae6a8a46f: Pull complete 05:31:57 33b1e0a273af: Pull complete 05:31:57 5d3b04190fa2: Pull complete 05:32:01 2f39f015ded8: Pull complete 05:32:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:32:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:01 prd-ubuntu20.04-docker-8c-8g-5775 does not seem to be running inside a container 05:32:02 $ 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-499 -v /w/workspace/xfoundry_device-modbus-go_PR-499:/w/workspace/xfoundry_device-modbus-go_PR-499:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-499@tmp:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:32:02 8d51d6327a98: Pull complete 05:32:02 8b374f2dd631: Pull complete 05:32:02 ec14aa9079de: Pull complete 05:32:05 $ docker top 95ceacfb4fa84bf03c77b10be1fa36a173c91fcef82039d01d36842bb7b03b62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:06 ---> job-cost.sh 05:32:06 lf-activate-venv: SKIPPING 05:32:06 INFO: No Stack... 05:32:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:32:06 INFO: Archiving Costs [Pipeline] sh 05:32:07 + cat /w/workspace/xfoundry_device-modbus-go_PR-499/archives/cost.csv 05:32:07 + cut -d, -f6 [Pipeline] lock 05:32:07 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-499-1-stack-cost] 05:32:07 Resource [jenkins-edgexfoundry-device-modbus-go-PR-499-1-stack-cost] did not exist. Created. 05:32:07 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-499-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:32:07 + echo total: 0.2199999988079071 [Pipeline] stash 05:32:07 Stashed 1 file(s) [Pipeline] } 05:32:07 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-499-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:32:07 $ docker stop --time=1 95ceacfb4fa84bf03c77b10be1fa36a173c91fcef82039d01d36842bb7b03b62 05:32:08 $ docker rm -f --volumes 95ceacfb4fa84bf03c77b10be1fa36a173c91fcef82039d01d36842bb7b03b62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:32:09 2f466654f4bb: Pull complete 05:32:11 554e91adad29: Pull complete 05:32:11 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 05:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:32:11 ---> 1e15ea492957 05:32:11 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:32:13 ---> Running in b63ff42c65e9 05:32:13 Removing intermediate container b63ff42c65e9 05:32:13 ---> bc8f38d65031 05:32:13 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:32:13 ---> Running in a78f9f170eb0 05:32:13 Removing intermediate container a78f9f170eb0 05:32:13 ---> f00e1c3b874c 05:32:13 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:32:13 ---> Running in ca26e97d6e1f 05:32:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:32:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:32:16 (1/8) Installing openssh-keygen (9.1_p1-r4) 05:32:16 (2/8) Installing libedit (20221030.3.1-r0) 05:32:16 (3/8) Installing openssh-client-common (9.1_p1-r4) 05:32:16 (4/8) Installing openssh-client-default (9.1_p1-r4) 05:32:16 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 05:32:16 (6/8) Installing openssh-server-common (9.1_p1-r4) 05:32:16 (7/8) Installing openssh-server (9.1_p1-r4) 05:32:16 (8/8) Installing openssh (9.1_p1-r4) 05:32:16 Executing busybox-1.35.0-r29.trigger 05:32:16 OK: 270 MiB in 61 packages 05:32:17 Removing intermediate container ca26e97d6e1f 05:32:17 ---> a4db35e259c1 05:32:17 Step 6/10 : WORKDIR /device-modbus-go 05:32:17 ---> Running in 79f34087a8b4 05:32:17 Removing intermediate container 79f34087a8b4 05:32:17 ---> 48cf043e23f8 05:32:17 Step 7/10 : COPY go.mod vendor* ./ 05:32:18 ---> c5e5a4fc1a36 05:32:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:18 ---> Running in 397d17942a6b 05:33:26 Removing intermediate container 397d17942a6b 05:33:26 ---> f2f190e99df4 05:33:26 Step 9/10 : COPY . . 05:33:26 ---> c829c0da85d8 05:33:26 Step 10/10 : RUN ${MAKE} 05:33:26 ---> Running in 7150293af0f0 05:33:26 noop 05:33:26 Removing intermediate container 7150293af0f0 05:33:26 ---> 7250300222ca 05:33:26 Successfully built 7250300222ca 05:33:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:26 + docker inspect -f . ci-base-image-arm64 05:33:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:27 prd-ubuntu20.04-docker-arm64-4c-16g-5776 does not seem to be running inside a container 05:33:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:33:28 $ docker top 3463527b6ec1fd811f156c6980ec1749a31c04503bcb6796f3618819b64a3afb -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:29 + go version 05:33:29 go version go1.20.6 linux/arm64 [Pipeline] } 05:33:29 $ docker stop --time=1 3463527b6ec1fd811f156c6980ec1749a31c04503bcb6796f3618819b64a3afb 05:33:30 $ docker rm -f --volumes 3463527b6ec1fd811f156c6980ec1749a31c04503bcb6796f3618819b64a3afb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:31 + docker inspect -f . ci-base-image-arm64 05:33:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:31 prd-ubuntu20.04-docker-arm64-4c-16g-5776 does not seem to be running inside a container 05:33:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:33:33 $ docker top 8397d7398406f7687bf82e5a7212a474c84122e1fde9a0e6d263f4798f38df10 -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:33 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:33:34 + make test 05:33:34 go test ./... -coverprofile=coverage.out 05:34:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:35:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:36:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.077s coverage: 47.9% of statements 05:36:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:36:03 go vet ./... 05:36:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:36:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:36:42 ./bin/test-attribution-txt.sh [Pipeline] echo 05:36:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:36:42 $ docker stop --time=1 8397d7398406f7687bf82e5a7212a474c84122e1fde9a0e6d263f4798f38df10 05:36:43 $ docker rm -f --volumes 8397d7398406f7687bf82e5a7212a474c84122e1fde9a0e6d263f4798f38df10 [Pipeline] // withDockerContainer [Pipeline] sh 05:36:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:36:45 Warning: overwriting stash ‘coverage-report’ 05:36:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:36:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:36:46 + ls -al . 05:36:46 total 188 05:36:46 drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 05:33 . 05:36:46 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 05:31 .. 05:36:46 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 05:31 .dockerignore 05:36:46 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 05:31 .git 05:36:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 05:31 .github 05:36:46 -rw-rw-r-- 1 jenkins jenkins 331 Sep 11 05:31 .gitignore 05:36:46 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 05:31 .golangci.yml 05:36:46 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 11 05:31 Attribution.txt 05:36:46 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 11 05:31 CHANGELOG.md 05:36:46 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 11 05:31 Dockerfile 05:36:46 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 05:31 GOVERNANCE.md 05:36:46 -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 05:31 Jenkinsfile 05:36:46 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 05:31 LICENSE 05:36:46 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 11 05:31 Makefile 05:36:46 -rw-rw-r-- 1 jenkins jenkins 622 Sep 11 05:31 OWNERS.md 05:36:46 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 11 05:31 README.md 05:36:46 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 05:29 VERSION 05:36:46 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 05:31 bin 05:36:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 05:31 cmd 05:36:46 -rw-r--r-- 1 jenkins jenkins 24334 Sep 11 05:36 coverage.out 05:36:46 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 11 05:31 go.mod 05:36:46 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 11 05:31 go.sum 05:36:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 05:31 internal 05:36:46 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 05:31 simulator 05:36:46 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 05:31 snap 05:36:46 -rw-rw-r-- 1 jenkins jenkins 229 Sep 11 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:46 + 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=72ab50f0cee417665049107d2e4b962eca5852c3 --label arch=arm64 --label version=0.0.0 . 05:36:47 Sending build context to Docker daemon 3.359MB 05:36:47 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:36:47 Step 2/22 : FROM ${BASE} AS builder 05:36:47 ---> 7250300222ca 05:36:47 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:36:47 ---> Running in c2b6e5ab84dd 05:36:47 Removing intermediate container c2b6e5ab84dd 05:36:47 ---> 68ee395cefd4 05:36:47 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:36:47 ---> Running in 760e479e1813 05:36:48 Removing intermediate container 760e479e1813 05:36:48 ---> 40aa8df5be5e 05:36:48 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:36:48 ---> Running in bc2ee7b0a722 05:36:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:36:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:36:50 OK: 270 MiB in 61 packages 05:36:51 Removing intermediate container bc2ee7b0a722 05:36:51 ---> 360f33a07cf8 05:36:51 Step 6/22 : WORKDIR /device-modbus-go 05:36:51 ---> Running in 30254c1263d8 05:36:51 Removing intermediate container 30254c1263d8 05:36:51 ---> 530a11043fb2 05:36:51 Step 7/22 : COPY go.mod vendor* ./ 05:36:52 ---> 2757e810c878 05:36:52 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:52 ---> Running in 745f40b6119d 05:36:54 Removing intermediate container 745f40b6119d 05:36:54 ---> 9a9fde14105e 05:36:54 Step 9/22 : COPY . . 05:36:55 ---> 77aa42facf32 05:36:55 Step 10/22 : RUN ${MAKE} 05:36:55 ---> Running in ecd1dd00898d 05:36:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:39:17 Removing intermediate container ecd1dd00898d 05:39:17 ---> 47da0f3e233c 05:39:17 Step 11/22 : FROM alpine:3.17 05:39:17 3.17: Pulling from library/alpine 05:39:17 4060ece20d7a: Pulling fs layer 05:39:17 4060ece20d7a: Verifying Checksum 05:39:17 4060ece20d7a: Download complete 05:39:17 4060ece20d7a: Pull complete 05:39:17 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:39:17 Status: Downloaded newer image for alpine:3.17 05:39:17 ---> 8650cd65339b 05:39:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:39:17 ---> Running in 30e46987441b 05:39:17 Removing intermediate container 30e46987441b 05:39:17 ---> 74ef6c182664 05:39:17 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:39:17 ---> Running in f90a40c20107 05:39:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:39:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:39:17 (1/1) Installing dumb-init (1.2.5-r2) 05:39:17 Executing busybox-1.35.0-r29.trigger 05:39:17 OK: 8 MiB in 16 packages 05:39:17 Removing intermediate container f90a40c20107 05:39:17 ---> 5c41d9658a12 05:39:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:39:17 ---> 1cc316d141c1 05:39:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:39:17 ---> b0e1a7c3ac01 05:39:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:39:17 ---> 234cf697cfe9 05:39:17 Step 17/22 : EXPOSE 59901 05:39:17 ---> Running in 2fc0d99d88de 05:39:17 Removing intermediate container 2fc0d99d88de 05:39:17 ---> 655e4b35fbd9 05:39:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:39:17 ---> Running in 4ad1e839de2f 05:39:17 Removing intermediate container 4ad1e839de2f 05:39:17 ---> 9ce544f410ac 05:39:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:39:17 ---> Running in 207fdab64756 05:39:17 Removing intermediate container 207fdab64756 05:39:17 ---> 257c90c7ffc9 05:39:17 Step 20/22 : LABEL arch=arm64 05:39:17 ---> Running in ab9c7928cd8e 05:39:17 Removing intermediate container ab9c7928cd8e 05:39:17 ---> 191bcd34a7d5 05:39:17 Step 21/22 : LABEL git_sha=72ab50f0cee417665049107d2e4b962eca5852c3 05:39:17 ---> Running in ec9c51b5f2e4 05:39:17 Removing intermediate container ec9c51b5f2e4 05:39:17 ---> 3d72a4edf7b9 05:39:17 Step 22/22 : LABEL version=0.0.0 05:39:17 ---> Running in 13da36a4e8f4 05:39:17 Removing intermediate container 13da36a4e8f4 05:39:17 ---> a5c201f703da 05:39:17 [Warning] One or more build-args [ARCH] were not consumed 05:39:17 Successfully built a5c201f703da 05:39: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 05:39:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:39:18 05:39:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:39:19 arm64: Pulling from edgex-lftools-log-publisher 05:39:19 8998bd30e6a1: Pulling fs layer 05:39:19 04944245beec: Pulling fs layer 05:39:19 699f458cf7ca: Pulling fs layer 05:39:19 765212b225bb: Pulling fs layer 05:39:19 f23df028b6ca: Pulling fs layer 05:39:19 d65c8cfc05b1: Pulling fs layer 05:39:19 2437ff75d9bd: Pulling fs layer 05:39:19 2437ff75d9bd: Waiting 05:39:19 765212b225bb: Waiting 05:39:19 f23df028b6ca: Waiting 05:39:19 d65c8cfc05b1: Waiting 05:39:19 04944245beec: Verifying Checksum 05:39:19 04944245beec: Download complete 05:39:19 765212b225bb: Download complete 05:39:19 f23df028b6ca: Verifying Checksum 05:39:19 f23df028b6ca: Download complete 05:39:19 d65c8cfc05b1: Verifying Checksum 05:39:19 d65c8cfc05b1: Download complete 05:39:19 699f458cf7ca: Verifying Checksum 05:39:19 699f458cf7ca: Download complete 05:39:19 8998bd30e6a1: Download complete 05:39:21 2437ff75d9bd: Verifying Checksum 05:39:21 2437ff75d9bd: Download complete 05:39:23 8998bd30e6a1: Pull complete 05:39:24 04944245beec: Pull complete 05:39:25 699f458cf7ca: Pull complete 05:39:25 765212b225bb: Pull complete 05:39:26 f23df028b6ca: Pull complete 05:39:26 d65c8cfc05b1: Pull complete 05:39:41 2437ff75d9bd: Pull complete 05:39:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:39:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:42 prd-ubuntu20.04-docker-arm64-4c-16g-5776 does not seem to be running inside a container 05:39:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:39:44 $ docker top e4eebdac0bc82fe2ba1356d6edef0fba2e1463ec202bea36f0b338a497f78960 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:45 ---> job-cost.sh 05:39:45 lf-activate-venv: SKIPPING 05:39:45 INFO: No Stack... 05:39:45 INFO: Retrieving Pricing Info for: v3-standard-4 05:39:46 INFO: Archiving Costs [Pipeline] sh 05:39:47 + + cutcat -d, /w/workspace/device-modbus-go/1/archives/cost.csv -f6 05:39:47 [Pipeline] lock 05:39:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-499-1-stack-cost] 05:39:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-499-1-stack-cost] did not exist. Created. 05:39:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-499-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:39:47 /w/workspace/device-modbus-go/1@tmp/durable-70cf9a83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:39:47 + echo total: 0.10999999940395355 [Pipeline] stash 05:39:48 Warning: overwriting stash ‘stack-cost’ 05:39:48 Stashed 1 file(s) [Pipeline] } 05:39:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-499-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:39:48 $ docker stop --time=1 e4eebdac0bc82fe2ba1356d6edef0fba2e1463ec202bea36f0b338a497f78960 05:39:49 $ docker rm -f --volumes e4eebdac0bc82fe2ba1356d6edef0fba2e1463ec202bea36f0b338a497f78960 [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 05:39:50 provisioning config files... 05:39:50 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp/config16715930700915773017tmp [Pipeline] { [Pipeline] sh 05:39:51 + set +x 05:39:51 + bash -s -- 05:39:51 + curl -s https://codecov.io/bash 05:39:51 05:39:51 _____ _ 05:39:51 / ____| | | 05:39:51 | | ___ __| | ___ ___ _____ __ 05:39:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:39:51 | |___| (_) | (_| | __/ (_| (_) \ V / 05:39:51 \_____\___/ \__,_|\___|\___\___/ \_/ 05:39:51 Bash-1.0.6 05:39:51 05:39:51 05:39:51 ==> git version 2.25.1 found 05:39:51 ==> 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 05:39:51 Release-Date: 2020-01-08 05:39:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:39:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:39:51 ==> Jenkins CI detected. 05:39:51 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-499 05:39:51 project root: . 05:39:51 --> token set from env 05:39:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:39:51 ==> Running gcov in . (disable via -X gcov) 05:39:51 ==> Python coveragepy not found 05:39:51 ==> Searching for coverage reports in: 05:39:51 + . 05:39:51 -> Found 1 reports 05:39:51 ==> Detecting git/mercurial file structure 05:39:51 ==> Reading reports 05:39:51 + ./coverage.out bytes=24334 05:39:51 ==> Appending adjustments 05:39:51 https://docs.codecov.io/docs/fixing-reports 05:39:51 + Found adjustments 05:39:51 ==> Gzipping contents 05:39:51 4.0K /tmp/codecov.GSnkuH.gz 05:39:51 ==> Uploading reports 05:39:51 url: https://codecov.io 05:39:51 query: branch=PR-499&commit=72ab50f0cee417665049107d2e4b962eca5852c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-499%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=499&job=&cmd_args= 05:39:51 -> Pinging Codecov 05:39:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-499&commit=72ab50f0cee417665049107d2e4b962eca5852c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-499%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=499&job=&cmd_args= 05:39:51 -> Uploading to 05:39:51 https://storage.googleapis.com/codecov/v4/raw/2023-09-11/55DBCA73C666E3227836607328DD7E49/72ab50f0cee417665049107d2e4b962eca5852c3/bcb1dfb8-fa9b-4261-a391-1e64ac361f06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T053951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb044a9e47fcc4f600ca0d61a686dff6a42b732c3c55e6631f60d481297be8d2 05:39:51 % Total % Received % Xferd Average Speed Time Time Time Current 05:39:51 Dload Upload Total Spent Left Speed 05:39:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 18923 --:--:-- --:--:-- --:--:-- 18834 100 3974 0 0 100 3974 0 18923 --:--:-- --:--:-- --:--:-- 18834 05:39:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/72ab50f0cee417665049107d2e4b962eca5852c3 [Pipeline] } 05:39:51 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 05:39:53 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-499/archives ] 05:39:53 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-499/archives 05:39:53 total 16 05:39:53 drwxr-xr-x 3 root root 4096 Sep 11 05:32 . 05:39:53 drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 05:32 .. 05:39:53 drwxr-xr-x 2 root root 4096 Sep 11 05:32 cost 05:39:53 -rw-r--r-- 1 root root 88 Sep 11 05:32 cost.csv 05:39:53 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-499/archives 05:39:53 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-499/archives 05:39:53 total 16 05:39:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 05:32 . 05:39:53 drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 05:32 .. 05:39:53 drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 05:32 cost 05:39:53 -rw-r--r-- 1 jenkins jenkins 88 Sep 11 05:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:39:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:39:54 ---> package-listing.sh 05:39:54 ++ facter osfamily 05:39:54 ++ tr '[:upper:]' '[:lower:]' 05:39:55 + OS_FAMILY=debian 05:39:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-499 05:39:55 + START_PACKAGES=/tmp/packages_start.txt 05:39:55 + END_PACKAGES=/tmp/packages_end.txt 05:39:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:39:55 + PACKAGES=/tmp/packages_start.txt 05:39:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-499 ']' 05:39:55 + PACKAGES=/tmp/packages_end.txt 05:39:55 + case "${OS_FAMILY}" in 05:39:55 + dpkg -l 05:39:55 + grep '^ii' 05:39:55 + '[' -f /tmp/packages_start.txt ']' 05:39:55 + '[' -f /tmp/packages_end.txt ']' 05:39:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:39:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-499 ']' 05:39:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-499/archives/ 05:39:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-499/archives/ [Pipeline] echo 05:39:55 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-499/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:39:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:56 prd-ubuntu20.04-docker-8c-8g-5775 does not seem to be running inside a container 05:39:56 $ 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-499/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-499 -v /w/workspace/xfoundry_device-modbus-go_PR-499:/w/workspace/xfoundry_device-modbus-go_PR-499:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-499@tmp:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:39:56 $ docker top 89edbb509b0c88ca7eca9016b42d6f0cd27dfc46293fbd5a68f44d372461a482 -eo pid,comm [Pipeline] { [Pipeline] sh 05:39:56 + touch /tmp/pre-build-complete [Pipeline] sh 05:39:57 + mkdir -p /var/log/sysstat [Pipeline] sh 05:39:57 + ls /var/log/sa-host 05:39:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:57 provisioning config files... 05:39:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-499@tmp/config15234824867840613543tmp [Pipeline] { [Pipeline] echo 05:39:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:39:58 ---> create-netrc.sh [Pipeline] } 05:39:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:39:58 ---> python-tools-install.sh [Pipeline] echo 05:39:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:39:58 ---> sudo-logs.sh 05:39:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:39:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:39:59 ---> job-cost.sh 05:39:59 lf-activate-venv: SKIPPING 05:39:59 DEBUG: total: 0.2199999988079071 05:39:59 INFO: Retrieving Stack Cost... 05:39:59 INFO: Retrieving Pricing Info for: v3-standard-8 05:39:59 INFO: Archiving Costs [Pipeline] echo 05:40:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:40:00 ---> logs-deploy.sh 05:40:00 lf-activate-venv: SKIPPING 05:40:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-499/1 05:40:00 INFO: archiving workspace using pattern(s): 05:40:01 Archives upload complete. 05:40:01 INFO: archiving logs to Nexus