Pull request #466 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 90cad0090b363539242e7252c7c4457a85f761f3+831951377c32840706638568b0e432e598c2b631 (2e7f6a3e67faa3daf645b69889a2919878b187b8) 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-ssh575102906937013319.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh10402425527164919998.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-466/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-466/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh919847907257697097.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-466/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5973733506885737017.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh1159018474823885437.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-466/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-466/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9526416847424338777.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-11999 in /w/workspace/xfoundry_device-modbus-go_PR-466 [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-466 # 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/466/head:refs/remotes/origin/PR-466 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 90cad0090b363539242e7252c7c4457a85f761f3 Merge succeeded, producing 90cad0090b363539242e7252c7c4457a85f761f3 Checking out Revision 90cad0090b363539242e7252c7c4457a85f761f3 (PR-466) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 90cad0090b363539242e7252c7c4457a85f761f3 # 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 831951377c32840706638568b0e432e598c2b631 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90cad0090b363539242e7252c7c4457a85f761f3 # timeout=10 [Pipeline] echo 05:58:32 ========================================================= 05:58:32 EdgeX Global Pipelines Version Info 05:58:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:33 ------------------- 05:58:33 stable info: 05:58:33 ------------------- 05:58:33 Commited By: Bill Mahoney bill.mahoney@intel.com 05:58:33 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:58:33 Message: update stable to v1.0.248 05:58:34 ------------------- 05:58:34 experimental info: 05:58:34 ------------------- 05:58:34 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:34 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:58:34 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-466 [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-466 [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-466 [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90cad00 [Pipeline] echo 05:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:36 provisioning config files... 05:58:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/config4306944565708793168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:36 ---> docker-login.sh 05:58:36 nexus3.edgexfoundry.org:10001 05:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:36 Configure a credential helper to remove this warning. See 05:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:36 05:58:36 Login Succeeded 05:58:36 nexus3.edgexfoundry.org:10002 05:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:36 Configure a credential helper to remove this warning. See 05:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:36 05:58:36 Login Succeeded 05:58:36 nexus3.edgexfoundry.org:10003 05:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:36 Configure a credential helper to remove this warning. See 05:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:36 05:58:36 Login Succeeded 05:58:36 nexus3.edgexfoundry.org:10004 05:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:37 Configure a credential helper to remove this warning. See 05:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:37 05:58:37 Login Succeeded 05:58:37 docker.io 05:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:37 Configure a credential helper to remove this warning. See 05:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:37 05:58:37 Login Succeeded 05:58:37 ---> docker-login.sh ends [Pipeline] } 05:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:38 + git rev-list -1 --merges 90cad0090b363539242e7252c7c4457a85f761f3~1..90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] echo 05:58:38 -----------> git rev-list -1 --merges 90cad0090b363539242e7252c7c4457a85f761f3~1..90cad0090b363539242e7252c7c4457a85f761f3 90cad0090b363539242e7252c7c4457a85f761f3 [false] [Pipeline] sh 05:58:38 + git log --format=format:%s -1 90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] echo 05:58:38 ========================================================= 05:58:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:39 + git log --format=format:%s -1 90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] echo 05:58:39 [semverPrep] GIT_COMMIT: 90cad0090b363539242e7252c7c4457a85f761f3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:58:39 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:39 + grep -v github /etc/ssh/ssh_known_hosts 05:58:39 + [ -e /tmp/ssh_known_hosts ] 05:58:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:39 + sudo tee -a /etc/ssh/ssh_known_hosts 05:58:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:40 05:58:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:40 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:40 b85a868b505f: Pulling fs layer 05:58:40 e2be974225ed: Pulling fs layer 05:58:40 339a4e72a1f5: Pulling fs layer 05:58:40 988bab9f4d93: Pulling fs layer 05:58:40 1469e6f7b9e6: Pulling fs layer 05:58:40 eaf3925da568: Pulling fs layer 05:58:40 bab4dde63d76: Pulling fs layer 05:58:40 bde34c3a00c8: Pulling fs layer 05:58:40 b352a97aabf1: Pulling fs layer 05:58:40 4872d77fe225: Pulling fs layer 05:58:40 5851b861e8e6: Pulling fs layer 05:58:40 5851b861e8e6: Waiting 05:58:40 eaf3925da568: Waiting 05:58:40 b352a97aabf1: Waiting 05:58:40 bab4dde63d76: Waiting 05:58:40 bde34c3a00c8: Waiting 05:58:40 4872d77fe225: Waiting 05:58:40 988bab9f4d93: Waiting 05:58:40 e2be974225ed: Verifying Checksum 05:58:40 e2be974225ed: Download complete 05:58:40 988bab9f4d93: Verifying Checksum 05:58:40 988bab9f4d93: Download complete 05:58:40 1469e6f7b9e6: Verifying Checksum 05:58:40 1469e6f7b9e6: Download complete 05:58:40 339a4e72a1f5: Verifying Checksum 05:58:40 339a4e72a1f5: Download complete 05:58:40 eaf3925da568: Verifying Checksum 05:58:40 eaf3925da568: Download complete 05:58:40 bde34c3a00c8: Verifying Checksum 05:58:40 bde34c3a00c8: Download complete 05:58:40 b352a97aabf1: Verifying Checksum 05:58:40 b352a97aabf1: Download complete 05:58:40 4872d77fe225: Download complete 05:58:40 5851b861e8e6: Verifying Checksum 05:58:40 5851b861e8e6: Download complete 05:58:40 b85a868b505f: Verifying Checksum 05:58:40 b85a868b505f: Download complete 05:58:40 bab4dde63d76: Verifying Checksum 05:58:40 bab4dde63d76: Download complete 05:58:41 b85a868b505f: Pull complete 05:58:41 e2be974225ed: Pull complete 05:58:42 339a4e72a1f5: Pull complete 05:58:42 988bab9f4d93: Pull complete 05:58:42 1469e6f7b9e6: Pull complete 05:58:42 eaf3925da568: Pull complete 05:58:44 bab4dde63d76: Pull complete 05:58:44 bde34c3a00c8: Pull complete 05:58:44 b352a97aabf1: Pull complete 05:58:44 4872d77fe225: Pull complete 05:58:44 5851b861e8e6: Pull complete 05:58:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:44 prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container 05:58:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:46 $ docker top 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 -eo pid,comm 05:58:47 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:58:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:47 [ssh-agent] Looking for ssh-agent implementation... 05:58:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:47 $ docker exec 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 ssh-agent 05:58:47 SSH_AUTH_SOCK=/tmp/ssh-FWdUUiuGL8DL/agent.33 05:58:47 SSH_AGENT_PID=39 05:58:47 Running ssh-add (command line suppressed) 05:58:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-466@tmp/private_key_17262573112266542356.key (/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/private_key_17262573112266542356.key) 05:58:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:47 + git tag --points-at HEAD [Pipeline] } 05:58:47 $ docker exec --env ******** --env ******** 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 ssh-agent -k 05:58:47 unset SSH_AUTH_SOCK; 05:58:47 unset SSH_AGENT_PID; 05:58:47 echo Agent pid 39 killed; 05:58:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:48 [ssh-agent] Looking for ssh-agent implementation... 05:58:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:48 $ docker exec 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 ssh-agent 05:58:48 SSH_AUTH_SOCK=/tmp/ssh-KvF5xsrKDPFm/agent.71 05:58:48 SSH_AGENT_PID=77 05:58:48 Running ssh-add (command line suppressed) 05:58:48 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-466@tmp/private_key_15201949864281775495.key (/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/private_key_15201949864281775495.key) 05:58:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:48 + git semver init 05:58:48 2023-04-28 05:58:48,894 [run_init] DEBUG init version:0.0.0 force:False 05:58:48 2023-04-28 05:58:48,895 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-466/.semver 05:58:48 2023-04-28 05:58:48,895 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-466/.semver 05:58:48 2023-04-28 05:58:48,895 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-466/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-466, universal_newlines=False, shell=None, istream=None) 05:58:49 2023-04-28 05:58:49,614 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-466/.git/info/exclude 05:58:49 2023-04-28 05:58:49,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-466/.semver/PR-466 with force:False 05:58:49 2023-04-28 05:58:49,614 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-466/.semver/PR-466 05:58:49 2023-04-28 05:58:49,618 [execute] INFO git cat-file --batch-check 05:58:49 2023-04-28 05:58:49,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-466/.semver, universal_newlines=False, shell=None, istream=) 05:58:49 2023-04-28 05:58:49,623 [execute] INFO git cat-file --batch 05:58:49 2023-04-28 05:58:49,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-466/.semver, universal_newlines=False, shell=None, istream=) 05:58:49 2023-04-28 05:58:49,628 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-466/.semver/PR-466 05:58:49 0.0.0 [Pipeline] } 05:58:49 $ docker exec --env ******** --env ******** 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 ssh-agent -k 05:58:50 unset SSH_AUTH_SOCK; 05:58:50 unset SSH_AGENT_PID; 05:58:50 echo Agent pid 77 killed; 05:58:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:50 + git semver [Pipeline] } 05:58:50 $ docker stop --time=1 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 05:58:52 $ docker rm -f --volumes 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:52 Stashed 1 file(s) [Pipeline] echo 05:58:52 [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] { 05:58:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11997 in /w/workspace/xfoundry_device-modbus-go_PR-466 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:53 provisioning config files... 05:58:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/config7990303579051005029tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 05:58:53 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:58:53 Selected Git installation does not exist. Using Default 05:58:53 The recommended git tool is: NONE 05:58:53 ---> docker-login.sh 05:58:53 nexus3.edgexfoundry.org:10001 05:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:53 Configure a credential helper to remove this warning. See 05:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:53 05:58:53 Login Succeeded 05:58:53 nexus3.edgexfoundry.org:10002 05:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:53 Configure a credential helper to remove this warning. See 05:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:53 05:58:53 Login Succeeded 05:58:53 nexus3.edgexfoundry.org:10003 05:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:54 Configure a credential helper to remove this warning. See 05:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:54 05:58:54 Login Succeeded 05:58:54 nexus3.edgexfoundry.org:10004 05:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:54 Configure a credential helper to remove this warning. See 05:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:54 05:58:54 Login Succeeded 05:58:54 docker.io 05:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:54 Configure a credential helper to remove this warning. See 05:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:54 05:58:54 Login Succeeded 05:58:54 ---> docker-login.sh ends [Pipeline] } 05:58:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:54 ========================================================= 05:58:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:58:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:55 + 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:58:55 Sending build context to Docker daemon 6.466MB 05:58:55 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:58:55 Step 2/10 : FROM ${BASE} AS builder 05:58:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:55 f56be85fc22e: Pulling fs layer 05:58:55 85791d961cd3: Pulling fs layer 05:58:55 d694b5ae8c79: Pulling fs layer 05:58:55 9f32a84ed3da: Pulling fs layer 05:58:55 4d19c01a9841: Pulling fs layer 05:58:55 9325e15d5711: Pulling fs layer 05:58:55 556b6ee489ea: Pulling fs layer 05:58:55 c5a4b2cf53e6: Pulling fs layer 05:58:55 9f32a84ed3da: Waiting 05:58:55 4d19c01a9841: Waiting 05:58:55 9325e15d5711: Waiting 05:58:55 556b6ee489ea: Waiting 05:58:55 c5a4b2cf53e6: Waiting 05:58:55 85791d961cd3: Download complete 05:58:55 9f32a84ed3da: Verifying Checksum 05:58:55 9f32a84ed3da: Download complete 05:58:55 4d19c01a9841: Verifying Checksum 05:58:55 4d19c01a9841: Download complete 05:58:55 f56be85fc22e: Verifying Checksum 05:58:55 f56be85fc22e: Download complete 05:58:55 9325e15d5711: Verifying Checksum 05:58:55 9325e15d5711: Download complete 05:58:55 f56be85fc22e: Pull complete 05:58:55 85791d961cd3: Pull complete 05:58:55 c5a4b2cf53e6: Verifying Checksum 05:58:55 c5a4b2cf53e6: Download complete 05:58:55 d694b5ae8c79: Verifying Checksum 05:58:55 d694b5ae8c79: Download complete 05:58:56 556b6ee489ea: Verifying Checksum 05:58:56 556b6ee489ea: Download complete 05:58:58 using credential edgex-jenkins-ssh 05:58:58 Cloning the remote Git repository 05:58:58 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:58:58 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:58:58 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:58:58 > git --version # timeout=10 05:58:58 > git --version # 'git version 2.25.1' 05:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:59 d694b5ae8c79: Pull complete 05:58:59 9f32a84ed3da: Pull complete 05:58:59 4d19c01a9841: Pull complete 05:58:59 9325e15d5711: Pull complete 05:58:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:58:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/466/head:refs/remotes/origin/PR-466 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:59:01 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 90cad0090b363539242e7252c7c4457a85f761f3 05:59:01 556b6ee489ea: Pull complete 05:59:01 Merge succeeded, producing 90cad0090b363539242e7252c7c4457a85f761f3 05:59:01 Checking out Revision 90cad0090b363539242e7252c7c4457a85f761f3 (PR-466) 05:59:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:59:02 > git --version # timeout=10 05:59:02 > git --version # 'git version 2.25.1' 05:59:02 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:59:02 c5a4b2cf53e6: Pull complete 05:59:02 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:59:02 ---> c4be618373d6 05:59:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:59:01 > git config core.sparsecheckout # timeout=10 05:59:01 > git checkout -f 90cad0090b363539242e7252c7c4457a85f761f3 # timeout=10 05:59:01 > git remote # timeout=10 05:59:01 > git config --get remote.origin.url # timeout=10 05:59:01 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:01 > git merge 831951377c32840706638568b0e432e598c2b631 # timeout=10 05:59:01 > git rev-parse HEAD^{commit} # timeout=10 05:59:01 > git config core.sparsecheckout # timeout=10 05:59:01 > git checkout -f 90cad0090b363539242e7252c7c4457a85f761f3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:59:03 % Total % Received % Xferd Average Speed Time Time Time Current 05:59:03 Dload Upload Total Spent Left Speed 05:59:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 05:59:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:59:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:59:04 + sudo tee /etc/docker/daemon.new 05:59:04 { 05:59:04 "registry-mirrors": [ 05:59:04 "https://nexus3.edgexfoundry.org:10001" 05:59:04 ], 05:59:04 "bip": "10.250.0.254/24", 05:59:04 "hosts": [ 05:59:04 "tcp://0.0.0.0:5555", 05:59:04 "unix:///var/run/docker.sock" 05:59:04 ], 05:59:04 "mtu": 1458, 05:59:04 "selinux-enabled": true, 05:59:04 "seccomp-profile": "/etc/docker/seccomp.json" 05:59:04 } [Pipeline] sh 05:59:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:59:04 ---> Running in bd8d6398c5c2 05:59:04 Removing intermediate container bd8d6398c5c2 05:59:04 ---> ba21ada2091a 05:59:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:04 ---> Running in 77f6241d3c24 05:59:04 + sudo service docker restart 05:59:05 Removing intermediate container 77f6241d3c24 05:59:05 ---> 84ac62a13b16 05:59:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:59:05 ---> Running in ad18b4ef45be 05:59:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:05 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:59:05 (2/8) Installing libedit (20221030.3.1-r0) 05:59:05 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:59:05 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:59:05 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:59:05 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:59:05 (7/8) Installing openssh-server (9.1_p1-r2) 05:59:05 (8/8) Installing openssh (9.1_p1-r2) 05:59:05 Executing busybox-1.35.0-r29.trigger 05:59:05 OK: 270 MiB in 61 packages 05:59:06 Removing intermediate container ad18b4ef45be 05:59:06 ---> 610bc99b154c 05:59:06 Step 6/10 : WORKDIR /device-modbus-go 05:59:06 ---> Running in 00dfb50e5765 05:59:06 Removing intermediate container 00dfb50e5765 05:59:06 ---> fc9dfdbd50f7 05:59:06 Step 7/10 : COPY go.mod vendor* ./ 05:59:06 ---> 2cd69cc73f8e 05:59:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:06 ---> Running in d880995d2a6c [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:23 provisioning config files... 05:59:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12610062853079023090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:23 ---> docker-login.sh 05:59:23 nexus3.edgexfoundry.org:10001 05:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:24 Configure a credential helper to remove this warning. See 05:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:24 05:59:24 Login Succeeded 05:59:24 nexus3.edgexfoundry.org:10002 05:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:24 Configure a credential helper to remove this warning. See 05:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:24 05:59:24 Login Succeeded 05:59:24 nexus3.edgexfoundry.org:10003 05:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:25 Configure a credential helper to remove this warning. See 05:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:25 05:59:25 Login Succeeded 05:59:25 nexus3.edgexfoundry.org:10004 05:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:25 Configure a credential helper to remove this warning. See 05:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:25 05:59:25 Login Succeeded 05:59:25 docker.io 05:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:25 Configure a credential helper to remove this warning. See 05:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:25 05:59:25 Login Succeeded 05:59:25 ---> docker-login.sh ends [Pipeline] } 05:59:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:26 ========================================================= 05:59:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:59:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:26 + 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:59:27 Sending build context to Docker daemon 3.379MB 05:59:27 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:59:27 Step 2/10 : FROM ${BASE} AS builder 05:59:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:59:27 c41833b44d91: Pulling fs layer 05:59:27 ed15518f5707: Pulling fs layer 05:59:27 feae8fd75edb: Pulling fs layer 05:59:27 242c74f7c9fa: Pulling fs layer 05:59:27 3cdef696dda3: Pulling fs layer 05:59:27 2ced38df9373: Pulling fs layer 05:59:27 58f1dce35555: Pulling fs layer 05:59:27 3cdef696dda3: Waiting 05:59:27 2ced38df9373: Waiting 05:59:27 58f1dce35555: Waiting 05:59:27 242c74f7c9fa: Waiting 05:59:27 ed15518f5707: Verifying Checksum 05:59:27 ed15518f5707: Download complete 05:59:27 242c74f7c9fa: Verifying Checksum 05:59:27 242c74f7c9fa: Download complete 05:59:27 3cdef696dda3: Download complete 05:59:27 c41833b44d91: Verifying Checksum 05:59:27 c41833b44d91: Download complete 05:59:28 Removing intermediate container d880995d2a6c 05:59:28 ---> 4bcb83144eff 05:59:28 Step 9/10 : COPY . . 05:59:28 c41833b44d91: Pull complete 05:59:28 58f1dce35555: Verifying Checksum 05:59:28 58f1dce35555: Download complete 05:59:29 ed15518f5707: Pull complete 05:59:29 ---> fc8cb55decc5 05:59:29 Step 10/10 : RUN ${MAKE} 05:59:29 ---> Running in 87c266e1186e 05:59:29 noop 05:59:29 Removing intermediate container 87c266e1186e 05:59:29 ---> d1d24e2571ce 05:59:29 Successfully built d1d24e2571ce 05:59:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:30 feae8fd75edb: Verifying Checksum 05:59:30 feae8fd75edb: Download complete 05:59:30 2ced38df9373: Verifying Checksum 05:59:30 2ced38df9373: Download complete 05:59:30 + docker inspect -f . ci-base-image-x86_64 05:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:30 prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container 05:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:30 $ docker top 812fc37d20ed95f3649a93e495f3750a9f5538a0ad940d42434a8dd60b37ea16 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:31 + go version 05:59:31 go version go1.20.2 linux/amd64 [Pipeline] } 05:59:31 $ docker stop --time=1 812fc37d20ed95f3649a93e495f3750a9f5538a0ad940d42434a8dd60b37ea16 05:59:32 $ docker rm -f --volumes 812fc37d20ed95f3649a93e495f3750a9f5538a0ad940d42434a8dd60b37ea16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:33 + docker inspect -f . ci-base-image-x86_64 05:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:33 prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container 05:59:33 $ 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-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:33 $ docker top 7f57b7758371b7c94ce8d6211e0165a8157675bdc4b0b4c61298acd3f05fd6f8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:34 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-466 [Pipeline] fileExists [Pipeline] sh 05:59:34 + make test 05:59:34 go test ./... -coverprofile=coverage.out 05:59:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:59:42 feae8fd75edb: Pull complete 05:59:42 242c74f7c9fa: Pull complete 05:59:42 3cdef696dda3: Pull complete 05:59:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:59:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements 05:59:49 2ced38df9373: Pull complete 05:59:50 58f1dce35555: Pull complete 05:59:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:59:50 ---> fadd8f120f05 05:59:50 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:59:52 ---> Running in 4642313f4429 05:59:52 Removing intermediate container 4642313f4429 05:59:52 ---> 70abc1cc776d 05:59:52 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:52 ---> Running in 9f1d5cdc12c5 05:59:52 Removing intermediate container 9f1d5cdc12c5 05:59:52 ---> 5e7dc774e7ed 05:59:52 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:59:53 ---> Running in 55c4158f068e 05:59:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:59:54 go vet ./... 05:59:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:59:55 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:59:55 (2/8) Installing libedit (20221030.3.1-r0) 05:59:55 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:59:55 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:59:56 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:59:56 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:59:56 (7/8) Installing openssh-server (9.1_p1-r2) 05:59:56 (8/8) Installing openssh (9.1_p1-r2) 05:59:56 Executing busybox-1.35.0-r29.trigger 05:59:56 OK: 270 MiB in 61 packages 05:59:57 Removing intermediate container 55c4158f068e 05:59:57 ---> be1b8f22c9fc 05:59:57 Step 6/10 : WORKDIR /device-modbus-go 05:59:57 ---> Running in 13d8a7e76797 05:59:57 Removing intermediate container 13d8a7e76797 05:59:57 ---> 092a92b7e3fe 05:59:57 Step 7/10 : COPY go.mod vendor* ./ 05:59:57 ---> 87f18c150b59 05:59:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:57 ---> Running in 2816233a667e 05:59:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:59:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:59:58 ./bin/test-attribution-txt.sh [Pipeline] echo 05:59:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:59:58 $ docker stop --time=1 7f57b7758371b7c94ce8d6211e0165a8157675bdc4b0b4c61298acd3f05fd6f8 06:00:01 $ docker rm -f --volumes 7f57b7758371b7c94ce8d6211e0165a8157675bdc4b0b4c61298acd3f05fd6f8 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:00:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:02 + ls -al . 06:00:02 total 180 06:00:02 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 05:59 . 06:00:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 .. 06:00:02 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 05:58 .dockerignore 06:00:02 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:58 .git 06:00:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:58 .github 06:00:02 -rw-rw-r-- 1 jenkins jenkins 331 Apr 28 05:58 .gitignore 06:00:02 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 05:58 .golangci.yml 06:00:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 05:58 .semver 06:00:02 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 28 05:58 Attribution.txt 06:00:02 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 28 05:58 CHANGELOG.md 06:00:02 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 28 05:58 Dockerfile 06:00:02 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 05:58 GOVERNANCE.md 06:00:02 -rw-rw-r-- 1 jenkins jenkins 680 Apr 28 05:58 Jenkinsfile 06:00:02 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 05:58 LICENSE 06:00:02 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 28 05:58 Makefile 06:00:02 -rw-rw-r-- 1 jenkins jenkins 622 Apr 28 05:58 OWNERS.md 06:00:02 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 28 05:58 README.md 06:00:02 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:58 VERSION 06:00:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:58 bin 06:00:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:58 cmd 06:00:02 -rw-r--r-- 1 jenkins jenkins 24160 Apr 28 05:59 coverage.out 06:00:02 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 28 05:58 go.mod 06:00:02 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 28 05:58 go.sum 06:00:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:58 internal 06:00:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:58 simulator 06:00:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 snap 06:00:02 -rw-rw-r-- 1 jenkins jenkins 229 Apr 28 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:03 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=90cad0090b363539242e7252c7c4457a85f761f3 --label arch=amd64 --label version=0.0.0 . 06:00:03 Sending build context to Docker daemon 6.491MB 06:00:03 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:00:03 Step 2/22 : FROM ${BASE} AS builder 06:00:03 ---> d1d24e2571ce 06:00:03 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:00:03 ---> Running in a9c7eaa674b9 06:00:03 Removing intermediate container a9c7eaa674b9 06:00:03 ---> 876030b35392 06:00:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:03 ---> Running in ed36a2c63b90 06:00:03 Removing intermediate container ed36a2c63b90 06:00:03 ---> 750438542459 06:00:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:00:03 ---> Running in 1e6c7595afee 06:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:04 OK: 270 MiB in 61 packages 06:00:04 Removing intermediate container 1e6c7595afee 06:00:04 ---> 0ba774e810f6 06:00:04 Step 6/22 : WORKDIR /device-modbus-go 06:00:04 ---> Running in b7e6ed07a061 06:00:04 Removing intermediate container b7e6ed07a061 06:00:04 ---> 1e0914150203 06:00:04 Step 7/22 : COPY go.mod vendor* ./ 06:00:04 ---> e4d28070c3b5 06:00:04 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:04 ---> Running in d69ac733ff24 06:00:05 Removing intermediate container d69ac733ff24 06:00:05 ---> 1e1e98f2a227 06:00:05 Step 9/22 : COPY . . 06:00:06 ---> 78f9ad00ba97 06:00:06 Step 10/22 : RUN ${MAKE} 06:00:06 ---> Running in c4d2ea4963b6 06:00:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:00:24 Removing intermediate container c4d2ea4963b6 06:00:24 ---> c6fa9fe9b116 06:00:24 Step 11/22 : FROM alpine:3.17 06:00:24 3.17: Pulling from library/alpine 06:00:24 f56be85fc22e: Already exists 06:00:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:00:24 Status: Downloaded newer image for alpine:3.17 06:00:24 ---> 9ed4aefc74f6 06:00:24 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:00:24 ---> Running in c9049905128b 06:00:24 Removing intermediate container c9049905128b 06:00:24 ---> 0ebc55b20b39 06:00:24 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:00:24 ---> Running in f08214372ee6 06:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:25 (1/1) Installing dumb-init (1.2.5-r2) 06:00:25 Executing busybox-1.35.0-r29.trigger 06:00:25 OK: 7 MiB in 16 packages 06:00:25 Removing intermediate container f08214372ee6 06:00:25 ---> 882d334b57bc 06:00:25 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:00:26 ---> d03fda656f69 06:00:26 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:00:26 ---> 57761c2d7398 06:00:26 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:00:26 ---> 64f1f34796ed 06:00:26 Step 17/22 : EXPOSE 59901 06:00:26 ---> Running in 80794329a691 06:00:26 Removing intermediate container 80794329a691 06:00:26 ---> 38ec887676f9 06:00:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:00:26 ---> Running in 33d40e878030 06:00:26 Removing intermediate container 33d40e878030 06:00:26 ---> 98bb3567f373 06:00:26 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:00:26 ---> Running in 0ed2b24fbf57 06:00:26 Removing intermediate container 0ed2b24fbf57 06:00:26 ---> 167c38be7051 06:00:26 Step 20/22 : LABEL arch=amd64 06:00:26 ---> Running in a0f8959bc299 06:00:26 Removing intermediate container a0f8959bc299 06:00:26 ---> 47f8c3425c5e 06:00:26 Step 21/22 : LABEL git_sha=90cad0090b363539242e7252c7c4457a85f761f3 06:00:26 ---> Running in 692cbe25958e 06:00:26 Removing intermediate container 692cbe25958e 06:00:26 ---> 956e795805eb 06:00:26 Step 22/22 : LABEL version=0.0.0 06:00:27 ---> Running in 3c9e18fe14ef 06:00:27 Removing intermediate container 3c9e18fe14ef 06:00:27 ---> 29ec3585355c 06:00:27 [Warning] One or more build-args [ARCH] were not consumed 06:00:27 Successfully built 29ec3585355c 06:00:27 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 06:00:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:28 06:00:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:28 latest: Pulling from edgex-lftools-log-publisher 06:00:28 5eb5b503b376: Pulling fs layer 06:00:28 5c69ac0246d0: Pulling fs layer 06:00:28 ec43610c2a17: Pulling fs layer 06:00:28 3a2ae6a8a46f: Pulling fs layer 06:00:28 33b1e0a273af: Pulling fs layer 06:00:28 5d3b04190fa2: Pulling fs layer 06:00:28 2f39f015ded8: Pulling fs layer 06:00:28 33b1e0a273af: Waiting 06:00:28 5d3b04190fa2: Waiting 06:00:28 3a2ae6a8a46f: Waiting 06:00:28 2f39f015ded8: Waiting 06:00:28 5c69ac0246d0: Download complete 06:00:28 3a2ae6a8a46f: Verifying Checksum 06:00:28 3a2ae6a8a46f: Download complete 06:00:28 33b1e0a273af: Verifying Checksum 06:00:28 33b1e0a273af: Download complete 06:00:28 5d3b04190fa2: Verifying Checksum 06:00:28 5d3b04190fa2: Download complete 06:00:28 ec43610c2a17: Verifying Checksum 06:00:28 ec43610c2a17: Download complete 06:00:28 5eb5b503b376: Verifying Checksum 06:00:28 5eb5b503b376: Download complete 06:00:29 2f39f015ded8: Download complete 06:00:29 5eb5b503b376: Pull complete 06:00:29 5c69ac0246d0: Pull complete 06:00:30 ec43610c2a17: Pull complete 06:00:30 3a2ae6a8a46f: Pull complete 06:00:30 33b1e0a273af: Pull complete 06:00:30 5d3b04190fa2: Pull complete 06:00:34 2f39f015ded8: Pull complete 06:00:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:35 prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container 06:00:35 $ 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-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@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 06:00:37 $ docker top 923ccfa4505af0aa8482c3eed2a5348db1859eefb1e57b54a6d9eba614957bbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:37 ---> job-cost.sh 06:00:37 lf-activate-venv: SKIPPING 06:00:37 INFO: No Stack... 06:00:38 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:38 INFO: Archiving Costs [Pipeline] sh 06:00:39 + cat /w/workspace/xfoundry_device-modbus-go_PR-466/archives/cost.csv 06:00:39 + cut -d, -f6 [Pipeline] lock 06:00:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] 06:00:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] did not exist. Created. 06:00:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:39 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:39 Stashed 1 file(s) [Pipeline] } 06:00:39 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:39 $ docker stop --time=1 923ccfa4505af0aa8482c3eed2a5348db1859eefb1e57b54a6d9eba614957bbd 06:00:40 $ docker rm -f --volumes 923ccfa4505af0aa8482c3eed2a5348db1859eefb1e57b54a6d9eba614957bbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:01:05 Removing intermediate container 2816233a667e 06:01:05 ---> e7408464d3c1 06:01:05 Step 9/10 : COPY . . 06:01:05 ---> 7322b33118bb 06:01:05 Step 10/10 : RUN ${MAKE} 06:01:05 ---> Running in 7cfedb24b4a6 06:01:05 noop 06:01:05 Removing intermediate container 7cfedb24b4a6 06:01:05 ---> 0babf9b23d84 06:01:05 Successfully built 0babf9b23d84 06:01:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:06 + docker inspect -f . ci-base-image-arm64 06:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:06 prd-ubuntu20.04-docker-arm64-4c-16g-11997 does not seem to be running inside a container 06:01:06 $ 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 06:01:07 $ docker top b4e3b7e355000bcf89f0a5966fa5a6035dd34f1874dcae16b3ae2cfc4757e85d -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:08 + go version 06:01:08 go version go1.20.2 linux/arm64 [Pipeline] } 06:01:08 $ docker stop --time=1 b4e3b7e355000bcf89f0a5966fa5a6035dd34f1874dcae16b3ae2cfc4757e85d 06:01:10 $ docker rm -f --volumes b4e3b7e355000bcf89f0a5966fa5a6035dd34f1874dcae16b3ae2cfc4757e85d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:11 + docker inspect -f . ci-base-image-arm64 06:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:11 prd-ubuntu20.04-docker-arm64-4c-16g-11997 does not seem to be running inside a container 06:01:11 $ 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 06:01:12 $ docker top 8d73d560ab38746c015c7842c9ef40833301560b4027a3b12d747ee7aa40d869 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:13 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:01:14 + make test 06:01:14 go test ./... -coverprofile=coverage.out 06:01:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:03:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:03:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.4% of statements 06:03:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:03:38 go vet ./... 06:03:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:03:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:03:57 ./bin/test-attribution-txt.sh [Pipeline] echo 06:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:03:57 $ docker stop --time=1 8d73d560ab38746c015c7842c9ef40833301560b4027a3b12d747ee7aa40d869 06:03:59 $ docker rm -f --volumes 8d73d560ab38746c015c7842c9ef40833301560b4027a3b12d747ee7aa40d869 [Pipeline] // withDockerContainer [Pipeline] sh 06:04:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:04:00 Warning: overwriting stash ‘coverage-report’ 06:04:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:02 + ls -al . 06:04:02 total 176 06:04:02 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 06:01 . 06:04:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 .. 06:04:02 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 05:59 .dockerignore 06:04:02 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:59 .git 06:04:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:59 .github 06:04:02 -rw-rw-r-- 1 jenkins jenkins 331 Apr 28 05:59 .gitignore 06:04:02 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 05:59 .golangci.yml 06:04:02 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 28 05:59 Attribution.txt 06:04:02 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 28 05:59 CHANGELOG.md 06:04:02 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 28 05:59 Dockerfile 06:04:02 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 05:59 GOVERNANCE.md 06:04:02 -rw-rw-r-- 1 jenkins jenkins 680 Apr 28 05:59 Jenkinsfile 06:04:02 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 05:59 LICENSE 06:04:02 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 28 05:59 Makefile 06:04:02 -rw-rw-r-- 1 jenkins jenkins 622 Apr 28 05:59 OWNERS.md 06:04:02 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 28 05:59 README.md 06:04:02 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:58 VERSION 06:04:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:59 bin 06:04:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:59 cmd 06:04:02 -rw-r--r-- 1 jenkins jenkins 24160 Apr 28 06:03 coverage.out 06:04:02 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 28 05:59 go.mod 06:04:02 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 28 05:59 go.sum 06:04:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:59 internal 06:04:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:59 simulator 06:04:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:59 snap 06:04:02 -rw-rw-r-- 1 jenkins jenkins 229 Apr 28 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:02 + 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=90cad0090b363539242e7252c7c4457a85f761f3 --label arch=arm64 --label version=0.0.0 . 06:04:02 Sending build context to Docker daemon 3.404MB 06:04:02 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:04:02 Step 2/22 : FROM ${BASE} AS builder 06:04:02 ---> 0babf9b23d84 06:04:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:04:03 ---> Running in 01064ebe7094 06:04:03 Removing intermediate container 01064ebe7094 06:04:03 ---> 148ff5ed2bbf 06:04:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:03 ---> Running in 7fdd68a99a49 06:04:03 Removing intermediate container 7fdd68a99a49 06:04:03 ---> 65fa11167e1e 06:04:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:04:03 ---> Running in a884e02965bd 06:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:04:06 OK: 270 MiB in 61 packages 06:04:07 Removing intermediate container a884e02965bd 06:04:07 ---> 15fc3430027b 06:04:07 Step 6/22 : WORKDIR /device-modbus-go 06:04:07 ---> Running in e1d227e4bdd3 06:04:07 Removing intermediate container e1d227e4bdd3 06:04:07 ---> b7e01199ae72 06:04:07 Step 7/22 : COPY go.mod vendor* ./ 06:04:08 ---> 708675057640 06:04:08 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:08 ---> Running in 70dd954f91bb 06:04:10 Removing intermediate container 70dd954f91bb 06:04:10 ---> c25a7196cebe 06:04:10 Step 9/22 : COPY . . 06:04:12 ---> 6912301d09bb 06:04:12 Step 10/22 : RUN ${MAKE} 06:04:12 ---> Running in 65cabee79900 06:04:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:06:20 Removing intermediate container 65cabee79900 06:06:20 ---> 9b47fdf0c71f 06:06:20 Step 11/22 : FROM alpine:3.17 06:06:20 3.17: Pulling from library/alpine 06:06:20 c41833b44d91: Already exists 06:06:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:06:20 Status: Downloaded newer image for alpine:3.17 06:06:20 ---> 51e60588ff2c 06:06:20 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:06:20 ---> Running in 2a34b2476b20 06:06:20 Removing intermediate container 2a34b2476b20 06:06:20 ---> b96d0e12d4b5 06:06:20 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:06:20 ---> Running in abbf6eb73e91 06:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:06:20 (1/1) Installing dumb-init (1.2.5-r2) 06:06:20 Executing busybox-1.35.0-r29.trigger 06:06:20 OK: 8 MiB in 16 packages 06:06:20 Removing intermediate container abbf6eb73e91 06:06:20 ---> 9fc6aefa98ce 06:06:20 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:06:20 ---> b0280ff87f62 06:06:20 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:06:21 ---> bbd3fa8113ed 06:06:21 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:06:21 ---> c35d9c7423b4 06:06:21 Step 17/22 : EXPOSE 59901 06:06:21 ---> Running in ba6ff59811d2 06:06:22 Removing intermediate container ba6ff59811d2 06:06:22 ---> 05ec4fcc679b 06:06:22 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:06:22 ---> Running in cd91cae9c28c 06:06:22 Removing intermediate container cd91cae9c28c 06:06:22 ---> 055f8794afd9 06:06:22 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:06:22 ---> Running in 0c81c2211d8d 06:06:22 Removing intermediate container 0c81c2211d8d 06:06:22 ---> dd6603bafa90 06:06:22 Step 20/22 : LABEL arch=arm64 06:06:22 ---> Running in 3a48c267a350 06:06:23 Removing intermediate container 3a48c267a350 06:06:23 ---> 560bedeac020 06:06:23 Step 21/22 : LABEL git_sha=90cad0090b363539242e7252c7c4457a85f761f3 06:06:23 ---> Running in b7149819377b 06:06:23 Removing intermediate container b7149819377b 06:06:23 ---> 3516d968efa1 06:06:23 Step 22/22 : LABEL version=0.0.0 06:06:23 ---> Running in 2e97003ef106 06:06:23 Removing intermediate container 2e97003ef106 06:06:23 ---> e9599b2d4605 06:06:23 [Warning] One or more build-args [ARCH] were not consumed 06:06:23 Successfully built e9599b2d4605 06:06:24 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 06:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:24 06:06:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:26 arm64: Pulling from edgex-lftools-log-publisher 06:06:26 8998bd30e6a1: Pulling fs layer 06:06:26 04944245beec: Pulling fs layer 06:06:26 699f458cf7ca: Pulling fs layer 06:06:26 765212b225bb: Pulling fs layer 06:06:26 f23df028b6ca: Pulling fs layer 06:06:26 d65c8cfc05b1: Pulling fs layer 06:06:26 2437ff75d9bd: Pulling fs layer 06:06:26 f23df028b6ca: Waiting 06:06:26 d65c8cfc05b1: Waiting 06:06:26 765212b225bb: Waiting 06:06:26 2437ff75d9bd: Waiting 06:06:26 04944245beec: Verifying Checksum 06:06:26 04944245beec: Download complete 06:06:26 765212b225bb: Verifying Checksum 06:06:26 765212b225bb: Download complete 06:06:26 f23df028b6ca: Verifying Checksum 06:06:26 f23df028b6ca: Download complete 06:06:26 d65c8cfc05b1: Verifying Checksum 06:06:26 d65c8cfc05b1: Download complete 06:06:26 699f458cf7ca: Verifying Checksum 06:06:26 699f458cf7ca: Download complete 06:06:27 8998bd30e6a1: Verifying Checksum 06:06:27 8998bd30e6a1: Download complete 06:06:29 2437ff75d9bd: Verifying Checksum 06:06:29 2437ff75d9bd: Download complete 06:06:31 8998bd30e6a1: Pull complete 06:06:31 04944245beec: Pull complete 06:06:32 699f458cf7ca: Pull complete 06:06:32 765212b225bb: Pull complete 06:06:33 f23df028b6ca: Pull complete 06:06:33 d65c8cfc05b1: Pull complete 06:06:48 2437ff75d9bd: Pull complete 06:06:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:06:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:49 prd-ubuntu20.04-docker-arm64-4c-16g-11997 does not seem to be running inside a container 06:06:49 $ 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 06:06:51 $ docker top ecc07686e6845d391451c75417c8b53c1fc06579348a72047e6e9989f37d51a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:53 ---> job-cost.sh 06:06:53 lf-activate-venv: SKIPPING 06:06:53 INFO: No Stack... 06:06:53 INFO: Retrieving Pricing Info for: v3-standard-4 06:06:54 INFO: Archiving Costs [Pipeline] sh 06:06:54 + + cut -d, -f6 06:06:54 cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 06:06:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] 06:06:54 Resource [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] did not exist. Created. 06:06:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:55 /w/workspace/device-modbus-go/1@tmp/durable-417c6a2d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:06:55 + echo total: 0.2199999988079071 [Pipeline] stash 06:06:55 Warning: overwriting stash ‘stack-cost’ 06:06:55 Stashed 1 file(s) [Pipeline] } 06:06:55 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:56 $ docker stop --time=1 ecc07686e6845d391451c75417c8b53c1fc06579348a72047e6e9989f37d51a9 06:06:57 $ docker rm -f --volumes ecc07686e6845d391451c75417c8b53c1fc06579348a72047e6e9989f37d51a9 [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 06:06:58 provisioning config files... 06:06:58 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/config12842404355193958044tmp [Pipeline] { [Pipeline] sh 06:06:58 + set +x 06:06:58 + curl -s https://codecov.io/bash 06:06:58 + bash -s -- 06:06:58 06:06:58 _____ _ 06:06:58 / ____| | | 06:06:58 | | ___ __| | ___ ___ _____ __ 06:06:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:06:58 | |___| (_) | (_| | __/ (_| (_) \ V / 06:06:58 \_____\___/ \__,_|\___|\___\___/ \_/ 06:06:58 Bash-1.0.6 06:06:58 06:06:58 06:06:58 ==> git version 2.25.1 found 06:06:58 ==> 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 06:06:58 Release-Date: 2020-01-08 06:06:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:06:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:06:58 ==> Jenkins CI detected. 06:06:58 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-466 06:06:58 project root: . 06:06:58 --> token set from env 06:06:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:06:58 ==> Running gcov in . (disable via -X gcov) 06:06:58 ==> Python coveragepy not found 06:06:58 ==> Searching for coverage reports in: 06:06:58 + . 06:06:58 -> Found 1 reports 06:06:58 ==> Detecting git/mercurial file structure 06:06:58 ==> Reading reports 06:06:59 + ./coverage.out bytes=24160 06:06:59 ==> Appending adjustments 06:06:59 https://docs.codecov.io/docs/fixing-reports 06:06:59 + Found adjustments 06:06:59 ==> Gzipping contents 06:06:59 4.0K /tmp/codecov.YNTM5n.gz 06:06:59 ==> Uploading reports 06:06:59 url: https://codecov.io 06:06:59 query: branch=PR-466&commit=90cad0090b363539242e7252c7c4457a85f761f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-466%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=466&job=&cmd_args= 06:06:59 -> Pinging Codecov 06:06:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-466&commit=90cad0090b363539242e7252c7c4457a85f761f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-466%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=466&job=&cmd_args= 06:06:59 -> Uploading to 06:06:59 https://storage.googleapis.com/codecov/v4/raw/2023-04-28/55DBCA73C666E3227836607328DD7E49/90cad0090b363539242e7252c7c4457a85f761f3/263005f5-cfe5-4dec-a778-0e980600770d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230428T060659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=270710f76c4ba94324aa03d87a18763b05aa68a5c0b091b2893957ed648b1a21 06:06:59 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:59 Dload Upload Total Spent Left Speed 06:06:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16081 --:--:-- --:--:-- --:--:-- 16081 06:06:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] } 06:06:59 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 06:07:01 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-466/archives ] 06:07:01 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-466/archives 06:07:01 total 16 06:07:01 drwxr-xr-x 3 root root 4096 Apr 28 06:00 . 06:07:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 06:00 .. 06:07:01 drwxr-xr-x 2 root root 4096 Apr 28 06:00 cost 06:07:01 -rw-r--r-- 1 root root 88 Apr 28 06:00 cost.csv 06:07:01 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-466/archives 06:07:01 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-466/archives 06:07:01 total 16 06:07:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 06:00 . 06:07:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 06:00 .. 06:07:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 06:00 cost 06:07:01 -rw-r--r-- 1 jenkins jenkins 88 Apr 28 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:07:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:07:02 ---> package-listing.sh 06:07:02 ++ facter osfamily 06:07:02 ++ tr '[:upper:]' '[:lower:]' 06:07:02 + OS_FAMILY=debian 06:07:02 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-466 06:07:02 + START_PACKAGES=/tmp/packages_start.txt 06:07:02 + END_PACKAGES=/tmp/packages_end.txt 06:07:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:07:02 + PACKAGES=/tmp/packages_start.txt 06:07:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-466 ']' 06:07:02 + PACKAGES=/tmp/packages_end.txt 06:07:02 + case "${OS_FAMILY}" in 06:07:02 + dpkg -l 06:07:02 + grep '^ii' 06:07:02 + '[' -f /tmp/packages_start.txt ']' 06:07:02 + '[' -f /tmp/packages_end.txt ']' 06:07:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:07:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-466 ']' 06:07:02 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-466/archives/ 06:07:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-466/archives/ [Pipeline] echo 06:07:03 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-466/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:07:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:07:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:04 prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container 06:07:04 $ 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-466/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-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:07:04 $ docker top f529e45a00fd4affa4be0525b541d182fac9a9a804bee26c9822b45734cb0362 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:04 + touch /tmp/pre-build-complete [Pipeline] sh 06:07:05 + mkdir -p /var/log/sysstat [Pipeline] sh 06:07:05 + ls /var/log/sa-host 06:07:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:05 provisioning config files... 06:07:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/config17957512145409910432tmp [Pipeline] { [Pipeline] echo 06:07:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:07:06 ---> create-netrc.sh [Pipeline] } 06:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:07:06 ---> python-tools-install.sh [Pipeline] echo 06:07:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:07:06 ---> sudo-logs.sh 06:07:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:07:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:07:07 ---> job-cost.sh 06:07:07 lf-activate-venv: SKIPPING 06:07:07 DEBUG: total: 0.2199999988079071 06:07:07 INFO: Retrieving Stack Cost... 06:07:07 INFO: Retrieving Pricing Info for: v3-standard-8 06:07:08 INFO: Archiving Costs [Pipeline] echo 06:07:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:07:08 ---> logs-deploy.sh 06:07:08 lf-activate-venv: SKIPPING 06:07:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-466/1 06:07:08 INFO: archiving workspace using pattern(s): 06:07:09 Archives upload complete. 06:07:09 INFO: archiving logs to Nexus