Pull request #511 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cb9b136dde47a2ad380df8ea097ecc7e54ddad6d+c4f8d58e38c56fa084baf69a7312e6a371ed19c6 (743fc9bea765e5bed39e5103c12107850784eedd) 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-ssh1052339034467309489.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3355872182363876346.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-511/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-511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6577080669596320608.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-511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17953125497525864823.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh16481586022110191156.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-511/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-511/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15244291966498018031.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-9488 in /w/workspace/xfoundry_device-modbus-go_PR-511 [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-511 # 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 Merging remotes/origin/main commit c4f8d58e38c56fa084baf69a7312e6a371ed19c6 into PR head commit cb9b136dde47a2ad380df8ea097ecc7e54ddad6d > 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/511/head:refs/remotes/origin/PR-511 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb9b136dde47a2ad380df8ea097ecc7e54ddad6d # timeout=10 Merge succeeded, producing cb9b136dde47a2ad380df8ea097ecc7e54ddad6d Checking out Revision cb9b136dde47a2ad380df8ea097ecc7e54ddad6d (PR-511) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:08:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:08:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:08:01 ========================================================= 05:08:01 EdgeX Global Pipelines Version Info 05:08:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c4f8d58e38c56fa084baf69a7312e6a371ed19c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb9b136dde47a2ad380df8ea097ecc7e54ddad6d # timeout=10 05:08:02 ------------------- 05:08:02 stable info: 05:08:02 ------------------- 05:08:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:08:02 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:08:02 Message: update stable to v1.0.254 05:08:02 ------------------- 05:08:02 experimental info: 05:08:02 ------------------- 05:08:02 Commited By: **** collab-it+edgex@linuxfoundation.org 05:08:02 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:08:02 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:08:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-511 [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-511 [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-511 [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb9b136dde47a2ad380df8ea097ecc7e54ddad6d [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb9b136 [Pipeline] echo 05:08:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:04 provisioning config files... 05:08:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp/config8190581964696026476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:04 ---> docker-login.sh 05:08:04 nexus3.edgexfoundry.org:10001 05:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:05 Configure a credential helper to remove this warning. See 05:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:05 05:08:05 Login Succeeded 05:08:05 nexus3.edgexfoundry.org:10002 05:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:05 Configure a credential helper to remove this warning. See 05:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:05 05:08:05 Login Succeeded 05:08:05 nexus3.edgexfoundry.org:10003 05:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:05 Configure a credential helper to remove this warning. See 05:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:05 05:08:05 Login Succeeded 05:08:05 nexus3.edgexfoundry.org:10004 05:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:05 Configure a credential helper to remove this warning. See 05:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:05 05:08:05 Login Succeeded 05:08:05 docker.io 05:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:05 Configure a credential helper to remove this warning. See 05:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:05 05:08:05 Login Succeeded 05:08:05 ---> docker-login.sh ends [Pipeline] } 05:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:08:06 + git rev-list -1 --merges cb9b136dde47a2ad380df8ea097ecc7e54ddad6d~1..cb9b136dde47a2ad380df8ea097ecc7e54ddad6d [Pipeline] echo 05:08:06 -----------> git rev-list -1 --merges cb9b136dde47a2ad380df8ea097ecc7e54ddad6d~1..cb9b136dde47a2ad380df8ea097ecc7e54ddad6d cb9b136dde47a2ad380df8ea097ecc7e54ddad6d [false] [Pipeline] sh 05:08:07 + git log --format=format:%s -1 cb9b136dde47a2ad380df8ea097ecc7e54ddad6d [Pipeline] echo 05:08:07 ========================================================= 05:08:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:08:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:07 + git log --format=format:%s -1 cb9b136dde47a2ad380df8ea097ecc7e54ddad6d [Pipeline] echo 05:08:07 [semverPrep] GIT_COMMIT: cb9b136dde47a2ad380df8ea097ecc7e54ddad6d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:08:07 [semverPrep] This is not a build commit. [Pipeline] sh 05:08:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:08:08 + grep -v github /etc/ssh/ssh_known_hosts 05:08:08 + [ -e /tmp/ssh_known_hosts ] 05:08:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:08:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:08:08 + sudo tee -a /etc/ssh/ssh_known_hosts 05:08:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:08:08 05:08:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:08:08 0.1.4: Pulling from edgex-devops/py-git-semver 05:08:08 b85a868b505f: Pulling fs layer 05:08:08 e2be974225ed: Pulling fs layer 05:08:08 339a4e72a1f5: Pulling fs layer 05:08:08 988bab9f4d93: Pulling fs layer 05:08:08 1469e6f7b9e6: Pulling fs layer 05:08:08 eaf3925da568: Pulling fs layer 05:08:08 bab4dde63d76: Pulling fs layer 05:08:08 bde34c3a00c8: Pulling fs layer 05:08:08 b352a97aabf1: Pulling fs layer 05:08:08 4872d77fe225: Pulling fs layer 05:08:08 5851b861e8e6: Pulling fs layer 05:08:08 bde34c3a00c8: Waiting 05:08:08 bab4dde63d76: Waiting 05:08:08 b352a97aabf1: Waiting 05:08:08 988bab9f4d93: Waiting 05:08:08 1469e6f7b9e6: Waiting 05:08:08 eaf3925da568: Waiting 05:08:08 4872d77fe225: Waiting 05:08:08 5851b861e8e6: Waiting 05:08:08 e2be974225ed: Download complete 05:08:08 988bab9f4d93: Verifying Checksum 05:08:08 988bab9f4d93: Download complete 05:08:08 1469e6f7b9e6: Verifying Checksum 05:08:08 1469e6f7b9e6: Download complete 05:08:08 eaf3925da568: Download complete 05:08:09 339a4e72a1f5: Verifying Checksum 05:08:09 339a4e72a1f5: Download complete 05:08:09 bde34c3a00c8: Verifying Checksum 05:08:09 bde34c3a00c8: Download complete 05:08:09 b352a97aabf1: Verifying Checksum 05:08:09 b352a97aabf1: Download complete 05:08:09 4872d77fe225: Verifying Checksum 05:08:09 4872d77fe225: Download complete 05:08:09 5851b861e8e6: Verifying Checksum 05:08:09 5851b861e8e6: Download complete 05:08:09 b85a868b505f: Verifying Checksum 05:08:09 b85a868b505f: Download complete 05:08:09 bab4dde63d76: Verifying Checksum 05:08:09 bab4dde63d76: Download complete 05:08:10 b85a868b505f: Pull complete 05:08:10 e2be974225ed: Pull complete 05:08:11 339a4e72a1f5: Pull complete 05:08:11 988bab9f4d93: Pull complete 05:08:11 1469e6f7b9e6: Pull complete 05:08:11 eaf3925da568: Pull complete 05:08:13 bab4dde63d76: Pull complete 05:08:13 bde34c3a00c8: Pull complete 05:08:13 b352a97aabf1: Pull complete 05:08:13 4872d77fe225: Pull complete 05:08:13 5851b861e8e6: Pull complete 05:08:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:08:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:08:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:13 prd-ubuntu20.04-docker-8c-8g-9488 does not seem to be running inside a container 05:08:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-511 -v /w/workspace/xfoundry_device-modbus-go_PR-511:/w/workspace/xfoundry_device-modbus-go_PR-511:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-511@tmp:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:08:16 $ docker top c451e131b381ca3053a82a173b91fcc1e0b54f140d63eb172ceee2c6077c0af1 -eo pid,comm 05:08:16 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:08:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:08:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:08:17 [ssh-agent] Looking for ssh-agent implementation... 05:08:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:08:17 $ docker exec c451e131b381ca3053a82a173b91fcc1e0b54f140d63eb172ceee2c6077c0af1 ssh-agent 05:08:17 SSH_AUTH_SOCK=/tmp/ssh-dIMHJPYMjxPM/agent.34 05:08:17 SSH_AGENT_PID=40 05:08:17 Running ssh-add (command line suppressed) 05:08:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-511@tmp/private_key_12299681838906657794.key (/w/workspace/xfoundry_device-modbus-go_PR-511@tmp/private_key_12299681838906657794.key) 05:08:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:08:17 + git tag --points-at HEAD [Pipeline] } 05:08:17 $ docker exec --env ******** --env ******** c451e131b381ca3053a82a173b91fcc1e0b54f140d63eb172ceee2c6077c0af1 ssh-agent -k 05:08:17 unset SSH_AUTH_SOCK; 05:08:17 unset SSH_AGENT_PID; 05:08:17 echo Agent pid 40 killed; 05:08:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:08:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:08:17 [ssh-agent] Looking for ssh-agent implementation... 05:08:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:08:18 $ docker exec c451e131b381ca3053a82a173b91fcc1e0b54f140d63eb172ceee2c6077c0af1 ssh-agent 05:08:18 SSH_AUTH_SOCK=/tmp/ssh-qiATuslXEo44/agent.72 05:08:18 SSH_AGENT_PID=78 05:08:18 Running ssh-add (command line suppressed) 05:08:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-511@tmp/private_key_3395270034974821098.key (/w/workspace/xfoundry_device-modbus-go_PR-511@tmp/private_key_3395270034974821098.key) 05:08:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:08:18 + git semver init 05:08:18 2023-10-18 05:08:18,782 [run_init] DEBUG init version:0.0.0 force:False 05:08:18 2023-10-18 05:08:18,783 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-511/.semver 05:08:18 2023-10-18 05:08:18,784 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-511/.semver 05:08:18 2023-10-18 05:08:18,784 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-511/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-511, universal_newlines=False, shell=None, istream=None) 05:08:19 2023-10-18 05:08:19,572 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-511/.git/info/exclude 05:08:19 2023-10-18 05:08:19,573 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-511/.semver/PR-511 with force:False 05:08:19 2023-10-18 05:08:19,573 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-511/.semver/PR-511 05:08:19 2023-10-18 05:08:19,576 [execute] INFO git cat-file --batch-check 05:08:19 2023-10-18 05:08:19,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-511/.semver, universal_newlines=False, shell=None, istream=) 05:08:19 2023-10-18 05:08:19,581 [execute] INFO git cat-file --batch 05:08:19 2023-10-18 05:08:19,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-511/.semver, universal_newlines=False, shell=None, istream=) 05:08:19 2023-10-18 05:08:19,586 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-511/.semver/PR-511 05:08:19 0.0.0 [Pipeline] } 05:08:19 $ docker exec --env ******** --env ******** c451e131b381ca3053a82a173b91fcc1e0b54f140d63eb172ceee2c6077c0af1 ssh-agent -k 05:08:19 unset SSH_AUTH_SOCK; 05:08:19 unset SSH_AGENT_PID; 05:08:19 echo Agent pid 78 killed; 05:08:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:08:20 + git semver [Pipeline] } 05:08:20 $ docker stop --time=1 c451e131b381ca3053a82a173b91fcc1e0b54f140d63eb172ceee2c6077c0af1 05:08:21 $ docker rm -f --volumes c451e131b381ca3053a82a173b91fcc1e0b54f140d63eb172ceee2c6077c0af1 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:08:22 Stashed 1 file(s) [Pipeline] echo 05:08:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:23 provisioning config files... 05:08:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp/config15157325884729579859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:23 ---> docker-login.sh 05:08:23 nexus3.edgexfoundry.org:10001 05:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:23 Configure a credential helper to remove this warning. See 05:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:23 05:08:23 Login Succeeded 05:08:23 nexus3.edgexfoundry.org:10002 05:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:23 Configure a credential helper to remove this warning. See 05:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:23 05:08:23 Login Succeeded 05:08:23 nexus3.edgexfoundry.org:10003 05:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:23 Configure a credential helper to remove this warning. See 05:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:23 05:08:23 Login Succeeded 05:08:23 nexus3.edgexfoundry.org:10004 05:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:23 Configure a credential helper to remove this warning. See 05:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:23 05:08:23 Login Succeeded 05:08:23 docker.io 05:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:24 Configure a credential helper to remove this warning. See 05:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:24 05:08:24 Login Succeeded 05:08:24 ---> docker-login.sh ends [Pipeline] } 05:08:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:24 ========================================================= 05:08:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:08:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:08:24 Sending build context to Docker daemon 6.521MB 05:08:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:08:24 Step 2/10 : FROM ${BASE} AS builder 05:08:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:08:24 7264a8db6415: Pulling fs layer 05:08:24 c4d48a809fc2: Pulling fs layer 05:08:24 4f1c88b9dad5: Pulling fs layer 05:08:24 ad3a456e5733: Pulling fs layer 05:08:24 33e27b845d1e: Pulling fs layer 05:08:24 c68163c4e522: Pulling fs layer 05:08:24 50da416c3ac9: Pulling fs layer 05:08:24 23d2d4c4bb30: Pulling fs layer 05:08:24 c68163c4e522: Waiting 05:08:24 33e27b845d1e: Waiting 05:08:24 50da416c3ac9: Waiting 05:08:24 ad3a456e5733: Waiting 05:08:24 c4d48a809fc2: Download complete 05:08:24 ad3a456e5733: Download complete 05:08:24 33e27b845d1e: Verifying Checksum 05:08:24 33e27b845d1e: Download complete 05:08:25 7264a8db6415: Verifying Checksum 05:08:25 7264a8db6415: Download complete 05:08:25 c68163c4e522: Verifying Checksum 05:08:25 c68163c4e522: Download complete 05:08:25 7264a8db6415: Pull complete 05:08:25 c4d48a809fc2: Pull complete 05:08:25 23d2d4c4bb30: Verifying Checksum 05:08:25 23d2d4c4bb30: Download complete 05:08:25 4f1c88b9dad5: Verifying Checksum 05:08:25 4f1c88b9dad5: Download complete 05:08:25 50da416c3ac9: Verifying Checksum 05:08:25 50da416c3ac9: Download complete 05:08:28 4f1c88b9dad5: Pull complete 05:08:28 ad3a456e5733: Pull complete 05:08:28 33e27b845d1e: Pull complete 05:08:28 c68163c4e522: Pull complete 05:08:30 50da416c3ac9: Pull complete 05:08:30 23d2d4c4bb30: Pull complete 05:08:30 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:08:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:08:30 ---> 0786185ac409 05:08:30 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:08:36 ---> Running in 8e0256a5f0a9 05:08:36 Removing intermediate container 8e0256a5f0a9 05:08:36 ---> d73bc9551f51 05:08:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:36 ---> Running in d16424b1fbc7 05:08:36 Removing intermediate container d16424b1fbc7 05:08:36 ---> c9cde904d517 05:08:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:08:36 ---> Running in 04f49e3d5f17 05:08:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:08:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:08:36 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:08:36 (2/8) Installing libedit (20221030.3.1-r1) 05:08:36 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:08:36 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:08:36 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:08:36 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:08:36 (7/8) Installing openssh-server (9.3_p2-r0) 05:08:36 (8/8) Installing openssh (9.3_p2-r0) 05:08:36 Executing busybox-1.36.1-r2.trigger 05:08:36 OK: 270 MiB in 60 packages 05:08:37 Removing intermediate container 04f49e3d5f17 05:08:37 ---> 5cf2e5b9e539 05:08:37 Step 6/10 : WORKDIR /device-modbus-go 05:08:37 ---> Running in 571c3f21dea8 05:08:37 Removing intermediate container 571c3f21dea8 05:08:37 ---> 397fba61e0b8 05:08:37 Step 7/10 : COPY go.mod vendor* ./ 05:08:37 ---> 1218814719c9 05:08:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:37 ---> Running in 52f2e0308fa9 05:08:38 Still waiting to schedule task 05:08:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:09:33 Removing intermediate container 52f2e0308fa9 05:09:33 ---> 0df893491809 05:09:33 Step 9/10 : COPY . . 05:09:33 ---> e126d01e1ddb 05:09:33 Step 10/10 : RUN ${MAKE} 05:09:33 ---> Running in 1a2b781bab0d 05:09:33 noop 05:09:33 Removing intermediate container 1a2b781bab0d 05:09:33 ---> 238f8020a22a 05:09:33 Successfully built 238f8020a22a 05:09:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:34 + docker inspect -f . ci-base-image-x86_64 05:09:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:34 prd-ubuntu20.04-docker-8c-8g-9488 does not seem to be running inside a container 05:09:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-511 -v /w/workspace/xfoundry_device-modbus-go_PR-511:/w/workspace/xfoundry_device-modbus-go_PR-511:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-511@tmp:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:09:34 $ docker top fbc419b2a64346719c6d253230053a33b499fce3f810721b25a12c05ac767152 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:35 + go version 05:09:35 go version go1.21.0 linux/amd64 [Pipeline] } 05:09:35 $ docker stop --time=1 fbc419b2a64346719c6d253230053a33b499fce3f810721b25a12c05ac767152 05:09:36 $ docker rm -f --volumes fbc419b2a64346719c6d253230053a33b499fce3f810721b25a12c05ac767152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:37 + docker inspect -f . ci-base-image-x86_64 05:09:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:37 prd-ubuntu20.04-docker-8c-8g-9488 does not seem to be running inside a container 05:09:37 $ 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-511 -v /w/workspace/xfoundry_device-modbus-go_PR-511:/w/workspace/xfoundry_device-modbus-go_PR-511:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-511@tmp:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:09:37 $ docker top 6dfea8bde61bd22ea2d243c038d4d74376922d1944ab52f7f3dec4936c73e39a -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:38 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-511 [Pipeline] fileExists [Pipeline] sh 05:09:38 + make test 05:09:38 go test ./... -coverprofile=coverage.out 05:09:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:09:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:09:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements 05:09:55 go vet ./... 05:09:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:57 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:57 $ docker stop --time=1 6dfea8bde61bd22ea2d243c038d4d74376922d1944ab52f7f3dec4936c73e39a 05:10:00 $ docker rm -f --volumes 6dfea8bde61bd22ea2d243c038d4d74376922d1944ab52f7f3dec4936c73e39a [Pipeline] // withDockerContainer [Pipeline] sh 05:10:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:10:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:02 + ls -al . 05:10:02 total 192 05:10:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 05:09 . 05:10:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 05:07 .. 05:10:02 -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 05:08 .dockerignore 05:10:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 05:09 .git 05:10:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:08 .github 05:10:02 -rw-rw-r-- 1 jenkins jenkins 331 Oct 18 05:08 .gitignore 05:10:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 05:08 .golangci.yml 05:10:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 05:08 .semver 05:10:02 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 18 05:08 Attribution.txt 05:10:02 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 18 05:08 CHANGELOG.md 05:10:02 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 18 05:08 Dockerfile 05:10:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 05:08 GOVERNANCE.md 05:10:02 -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 05:08 Jenkinsfile 05:10:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 05:08 LICENSE 05:10:02 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 18 05:08 Makefile 05:10:02 -rw-rw-r-- 1 jenkins jenkins 622 Oct 18 05:08 OWNERS.md 05:10:02 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 18 05:08 README.md 05:10:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 05:08 VERSION 05:10:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 05:08 bin 05:10:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:08 cmd 05:10:02 -rw-r--r-- 1 jenkins jenkins 24334 Oct 18 05:09 coverage.out 05:10:02 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 18 05:08 go.mod 05:10:02 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 18 05:08 go.sum 05:10:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:08 internal 05:10:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 05:08 simulator 05:10:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 05:08 snap 05:10:02 -rw-rw-r-- 1 jenkins jenkins 229 Oct 18 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:02 + 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=cb9b136dde47a2ad380df8ea097ecc7e54ddad6d --label arch=amd64 --label version=0.0.0 . 05:10:02 Sending build context to Docker daemon 6.546MB 05:10:02 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:10:02 Step 2/22 : FROM ${BASE} AS builder 05:10:02 ---> 238f8020a22a 05:10:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:10:03 ---> Running in 966a81a78b51 05:10:03 Removing intermediate container 966a81a78b51 05:10:03 ---> 8504ffa4ce5c 05:10:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:10:03 ---> Running in 7220e52b8a74 05:10:03 Removing intermediate container 7220e52b8a74 05:10:03 ---> c49f6e572379 05:10:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:10:03 ---> Running in a21eea868282 05:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:10:03 OK: 270 MiB in 60 packages 05:10:04 Removing intermediate container a21eea868282 05:10:04 ---> 54b07287a4eb 05:10:04 Step 6/22 : WORKDIR /device-modbus-go 05:10:04 ---> Running in 0af5e2566857 05:10:04 Removing intermediate container 0af5e2566857 05:10:04 ---> 9444c751ef51 05:10:04 Step 7/22 : COPY go.mod vendor* ./ 05:10:04 ---> 075f12bfd8dd 05:10:04 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:04 ---> Running in 9361e75d2378 05:10:05 Removing intermediate container 9361e75d2378 05:10:05 ---> 4d33082a2d1f 05:10:05 Step 9/22 : COPY . . 05:10:05 ---> 3747bad6bc29 05:10:05 Step 10/22 : RUN ${MAKE} 05:10:05 ---> Running in 84c5fae4cb8c 05:10:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:10:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9489 in /w/workspace/xfoundry_device-modbus-go_PR-511 [Pipeline] { [Pipeline] ws 05:10:21 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:10:22 Selected Git installation does not exist. Using Default 05:10:22 The recommended git tool is: NONE 05:10:24 Removing intermediate container 84c5fae4cb8c 05:10:24 ---> f7159fe0f5e9 05:10:24 Step 11/22 : FROM alpine:3.18 05:10:24 3.18: Pulling from library/alpine 05:10:24 96526aa774ef: Pulling fs layer 05:10:24 96526aa774ef: Verifying Checksum 05:10:24 96526aa774ef: Download complete 05:10:24 96526aa774ef: Pull complete 05:10:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:10:24 Status: Downloaded newer image for alpine:3.18 05:10:24 ---> 8ca4688f4f35 05:10:24 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:10:25 ---> Running in fe6a6615c3e2 05:10:25 Removing intermediate container fe6a6615c3e2 05:10:25 ---> efba6ead6afd 05:10:25 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:10:25 ---> Running in aa68396d67e6 05:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:10:25 (1/1) Installing dumb-init (1.2.5-r2) 05:10:25 Executing busybox-1.36.1-r2.trigger 05:10:25 OK: 7 MiB in 16 packages 05:10:26 Removing intermediate container aa68396d67e6 05:10:26 ---> 6a70c43d7883 05:10:26 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:10:26 ---> 9d4ea84756df 05:10:26 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:10:27 ---> d351983c6804 05:10:27 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:10:27 ---> 3360e86e091b 05:10:27 Step 17/22 : EXPOSE 59901 05:10:27 ---> Running in 162ab4d633a0 05:10:27 Removing intermediate container 162ab4d633a0 05:10:27 ---> 049509a35caf 05:10:27 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:10:27 ---> Running in 307d06202ead 05:10:27 using credential edgex-jenkins-ssh 05:10:27 Cloning the remote Git repository 05:10:27 Removing intermediate container 307d06202ead 05:10:27 ---> e077943d843b 05:10:27 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:10:27 ---> Running in bba1b4aea918 05:10:27 Removing intermediate container bba1b4aea918 05:10:27 ---> 1857fc2ca2bf 05:10:27 Step 20/22 : LABEL arch=amd64 05:10:27 ---> Running in 7b2f1f2f2c29 05:10:27 Removing intermediate container 7b2f1f2f2c29 05:10:27 ---> 4889f1b527b8 05:10:27 Step 21/22 : LABEL git_sha=cb9b136dde47a2ad380df8ea097ecc7e54ddad6d 05:10:27 ---> Running in 4084265b19d0 05:10:27 Removing intermediate container 4084265b19d0 05:10:27 ---> 742dc0157158 05:10:27 Step 22/22 : LABEL version=0.0.0 05:10:27 ---> Running in 4b9b2bf3cc80 05:10:27 Removing intermediate container 4b9b2bf3cc80 05:10:27 ---> a108555db97f 05:10:27 [Warning] One or more build-args [ARCH] were not consumed 05:10:27 Successfully built a108555db97f 05:10: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 05:10:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:10:27 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:10:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:10:27 > git --version # timeout=10 05:10:27 > git --version # 'git version 2.25.1' 05:10:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:28 05:10:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:28 latest: Pulling from edgex-lftools-log-publisher 05:10:28 5eb5b503b376: Pulling fs layer 05:10:28 5c69ac0246d0: Pulling fs layer 05:10:28 ec43610c2a17: Pulling fs layer 05:10:28 3a2ae6a8a46f: Pulling fs layer 05:10:28 33b1e0a273af: Pulling fs layer 05:10:28 5d3b04190fa2: Pulling fs layer 05:10:28 2f39f015ded8: Pulling fs layer 05:10:28 3a2ae6a8a46f: Waiting 05:10:28 2f39f015ded8: Waiting 05:10:28 33b1e0a273af: Waiting 05:10:28 5d3b04190fa2: Waiting 05:10:28 5c69ac0246d0: Verifying Checksum 05:10:28 5c69ac0246d0: Download complete 05:10:28 3a2ae6a8a46f: Verifying Checksum 05:10:28 3a2ae6a8a46f: Download complete 05:10:28 33b1e0a273af: Verifying Checksum 05:10:28 33b1e0a273af: Download complete 05:10:28 5d3b04190fa2: Verifying Checksum 05:10:28 5d3b04190fa2: Download complete 05:10:28 ec43610c2a17: Verifying Checksum 05:10:28 ec43610c2a17: Download complete 05:10:29 5eb5b503b376: Verifying Checksum 05:10:29 5eb5b503b376: Download complete 05:10:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:10:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:29 2f39f015ded8: Download complete 05:10:30 5eb5b503b376: Pull complete 05:10:30 5c69ac0246d0: Pull complete 05:10:30 Merging remotes/origin/main commit c4f8d58e38c56fa084baf69a7312e6a371ed19c6 into PR head commit cb9b136dde47a2ad380df8ea097ecc7e54ddad6d 05:10:30 Merge succeeded, producing cb9b136dde47a2ad380df8ea097ecc7e54ddad6d 05:10:30 Checking out Revision cb9b136dde47a2ad380df8ea097ecc7e54ddad6d (PR-511) 05:10:30 ec43610c2a17: Pull complete 05:10:30 3a2ae6a8a46f: Pull complete 05:10:30 33b1e0a273af: Pull complete 05:10:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:10:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:10:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/511/head:refs/remotes/origin/PR-511 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:10:30 > git config core.sparsecheckout # timeout=10 05:10:30 > git checkout -f cb9b136dde47a2ad380df8ea097ecc7e54ddad6d # timeout=10 05:10:30 > git remote # timeout=10 05:10:30 > git config --get remote.origin.url # timeout=10 05:10:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:30 > git merge c4f8d58e38c56fa084baf69a7312e6a371ed19c6 # timeout=10 05:10:30 > git rev-parse HEAD^{commit} # timeout=10 05:10:30 > git config core.sparsecheckout # timeout=10 05:10:30 > git checkout -f cb9b136dde47a2ad380df8ea097ecc7e54ddad6d # timeout=10 05:10:31 5d3b04190fa2: Pull complete 05:10:31 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:10:31 > git --version # timeout=10 05:10:31 > git --version # 'git version 2.25.1' 05:10:31 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 05:10:31 05:10:31 GitHub has been notified of this commit’s build result 05:10:31 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:10:32 % Total % Received % Xferd Average Speed Time Time Time Current 05:10:32 Dload Upload Total Spent Left Speed 05:10:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh 05:10:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:10:33 + sudo tee /etc/docker/daemon.new 05:10:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:10:33 { 05:10:33 "registry-mirrors": [ 05:10:33 "https://nexus3.edgexfoundry.org:10001" 05:10:33 ], 05:10:33 "bip": "10.250.0.254/24", 05:10:33 "hosts": [ 05:10:33 "tcp://0.0.0.0:5555", 05:10:33 "unix:///var/run/docker.sock" 05:10:33 ], 05:10:33 "mtu": 1458, 05:10:33 "selinux-enabled": true, 05:10:33 "seccomp-profile": "/etc/docker/seccomp.json" 05:10:33 } [Pipeline] sh 05:10:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:10:35 2f39f015ded8: Pull complete 05:10:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:10:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:35 prd-ubuntu20.04-docker-8c-8g-9488 does not seem to be running inside a container 05:10:35 + sudo service docker restart 05:10: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-511 -v /w/workspace/xfoundry_device-modbus-go_PR-511:/w/workspace/xfoundry_device-modbus-go_PR-511:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-511@tmp:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:10:41 $ docker top 0978e6371e5123f2e988372d8d9926a591f3fac6a9b0d0c91400f73619aba235 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:41 ---> job-cost.sh 05:10:41 lf-activate-venv: SKIPPING 05:10:41 INFO: No Stack... 05:10:42 INFO: Retrieving Pricing Info for: v3-standard-8 05:10:42 INFO: Archiving Costs [Pipeline] sh 05:10:43 + cat /w/workspace/xfoundry_device-modbus-go_PR-511/archives/cost.csv 05:10:43 + cut -d, -f6 [Pipeline] lock 05:10:43 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-511-1-stack-cost] 05:10:43 Resource [jenkins-edgexfoundry-device-modbus-go-PR-511-1-stack-cost] did not exist. Created. 05:10:43 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-511-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:10:43 + echo total: 0.2199999988079071 [Pipeline] stash 05:10:43 Stashed 1 file(s) [Pipeline] } 05:10:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-511-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:10:43 $ docker stop --time=1 0978e6371e5123f2e988372d8d9926a591f3fac6a9b0d0c91400f73619aba235 05:10:44 $ docker rm -f --volumes 0978e6371e5123f2e988372d8d9926a591f3fac6a9b0d0c91400f73619aba235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:54 provisioning config files... 05:10:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7849226049574561207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:54 ---> docker-login.sh 05:10:54 nexus3.edgexfoundry.org:10001 05:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:55 Configure a credential helper to remove this warning. See 05:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:55 05:10:55 Login Succeeded 05:10:55 nexus3.edgexfoundry.org:10002 05:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:55 Configure a credential helper to remove this warning. See 05:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:55 05:10:55 Login Succeeded 05:10:55 nexus3.edgexfoundry.org:10003 05:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:56 Configure a credential helper to remove this warning. See 05:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:56 05:10:56 Login Succeeded 05:10:56 nexus3.edgexfoundry.org:10004 05:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:56 Configure a credential helper to remove this warning. See 05:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:56 05:10:56 Login Succeeded 05:10:56 docker.io 05:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:56 Configure a credential helper to remove this warning. See 05:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:56 05:10:56 Login Succeeded 05:10:56 ---> docker-login.sh ends [Pipeline] } 05:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:57 ========================================================= 05:10:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:10:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:10:58 Sending build context to Docker daemon 3.387MB 05:10:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:10:58 Step 2/10 : FROM ${BASE} AS builder 05:10:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:10:58 9fda8d8052c6: Pulling fs layer 05:10:58 5d54e960e981: Pulling fs layer 05:10:58 c4a7e357bf2a: Pulling fs layer 05:10:58 f0e02332f6b5: Pulling fs layer 05:10:58 cefa15bbcfad: Pulling fs layer 05:10:58 17808c966233: Pulling fs layer 05:10:58 f4c1fc716caa: Pulling fs layer 05:10:58 f0e02332f6b5: Waiting 05:10:58 cefa15bbcfad: Waiting 05:10:58 17808c966233: Waiting 05:10:58 f4c1fc716caa: Waiting 05:10:58 5d54e960e981: Download complete 05:10:58 f0e02332f6b5: Verifying Checksum 05:10:58 f0e02332f6b5: Download complete 05:10:58 cefa15bbcfad: Verifying Checksum 05:10:58 cefa15bbcfad: Download complete 05:10:58 9fda8d8052c6: Download complete 05:10:59 f4c1fc716caa: Verifying Checksum 05:10:59 f4c1fc716caa: Download complete 05:10:59 9fda8d8052c6: Pull complete 05:10:59 5d54e960e981: Pull complete 05:11:00 c4a7e357bf2a: Verifying Checksum 05:11:00 c4a7e357bf2a: Download complete 05:11:01 17808c966233: Verifying Checksum 05:11:01 17808c966233: Download complete 05:11:13 c4a7e357bf2a: Pull complete 05:11:13 f0e02332f6b5: Pull complete 05:11:13 cefa15bbcfad: Pull complete 05:11:21 17808c966233: Pull complete 05:11:22 f4c1fc716caa: Pull complete 05:11:22 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:11:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:11:22 ---> ea914061e18c 05:11:22 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:11:24 ---> Running in 7bdbf9c2667b 05:11:24 Removing intermediate container 7bdbf9c2667b 05:11:24 ---> b6a6bfab2a37 05:11:24 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:11:24 ---> Running in 9145d09f1ce8 05:11:24 Removing intermediate container 9145d09f1ce8 05:11:24 ---> 00d13029e770 05:11:24 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:11:24 ---> Running in dc0bfcc59072 05:11:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:11:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:11:27 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:11:27 (2/8) Installing libedit (20221030.3.1-r1) 05:11:27 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:11:27 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:11:27 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:11:27 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:11:27 (7/8) Installing openssh-server (9.3_p2-r0) 05:11:27 (8/8) Installing openssh (9.3_p2-r0) 05:11:27 Executing busybox-1.36.1-r2.trigger 05:11:27 OK: 272 MiB in 60 packages 05:11:31 Removing intermediate container dc0bfcc59072 05:11:31 ---> 024177de8988 05:11:31 Step 6/10 : WORKDIR /device-modbus-go 05:11:31 ---> Running in 51cdfb98308c 05:11:31 Removing intermediate container 51cdfb98308c 05:11:31 ---> 28553611705f 05:11:31 Step 7/10 : COPY go.mod vendor* ./ 05:11:31 ---> de72e97d9531 05:11:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:31 ---> Running in 9070b930482b 05:13:08 Removing intermediate container 9070b930482b 05:13:08 ---> f23f9be405c3 05:13:08 Step 9/10 : COPY . . 05:13:08 ---> eee9c86325cb 05:13:08 Step 10/10 : RUN ${MAKE} 05:13:08 ---> Running in f85f23f1e992 05:13:08 noop 05:13:08 Removing intermediate container f85f23f1e992 05:13:08 ---> b8dba72a3fa9 05:13:08 Successfully built b8dba72a3fa9 05:13:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:08 + docker inspect -f . ci-base-image-arm64 05:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:09 prd-ubuntu20.04-docker-arm64-4c-16g-9489 does not seem to be running inside a container 05:13:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:13:10 $ docker top 849e7c41acae4f9211a594d2ecfdfea195aa269a30fc020b2b9a9c641c67cc52 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:11 + go version 05:13:11 go version go1.21.0 linux/arm64 [Pipeline] } 05:13:11 $ docker stop --time=1 849e7c41acae4f9211a594d2ecfdfea195aa269a30fc020b2b9a9c641c67cc52 05:13:13 $ docker rm -f --volumes 849e7c41acae4f9211a594d2ecfdfea195aa269a30fc020b2b9a9c641c67cc52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:13 + docker inspect -f . ci-base-image-arm64 05:13:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:14 prd-ubuntu20.04-docker-arm64-4c-16g-9489 does not seem to be running inside a container 05:13:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:13:16 $ docker top e8c4a0ecb94b85fdb4e426c14f812712efef3c1e8e5421093cc2e7a12fd0b7bd -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:17 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:13:18 + make test 05:13:18 go test ./... -coverprofile=coverage.out 05:13:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:14:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:14:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.9% of statements 05:14:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:14:59 go vet ./... 05:15:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:15:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:15:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:15:26 $ docker stop --time=1 e8c4a0ecb94b85fdb4e426c14f812712efef3c1e8e5421093cc2e7a12fd0b7bd 05:15:29 $ docker rm -f --volumes e8c4a0ecb94b85fdb4e426c14f812712efef3c1e8e5421093cc2e7a12fd0b7bd [Pipeline] // withDockerContainer [Pipeline] sh 05:15:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:15:31 Warning: overwriting stash ‘coverage-report’ 05:15:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:32 + ls -al . 05:15:32 total 188 05:15:32 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 05:13 . 05:15:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 05:10 .. 05:15:32 -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 05:10 .dockerignore 05:15:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 05:10 .git 05:15:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:10 .github 05:15:32 -rw-rw-r-- 1 jenkins jenkins 331 Oct 18 05:10 .gitignore 05:15:32 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 05:10 .golangci.yml 05:15:32 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 18 05:10 Attribution.txt 05:15:32 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 18 05:10 CHANGELOG.md 05:15:32 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 18 05:10 Dockerfile 05:15:32 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 05:10 GOVERNANCE.md 05:15:32 -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 05:10 Jenkinsfile 05:15:32 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 05:10 LICENSE 05:15:32 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 18 05:10 Makefile 05:15:32 -rw-rw-r-- 1 jenkins jenkins 622 Oct 18 05:10 OWNERS.md 05:15:32 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 18 05:10 README.md 05:15:32 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 05:08 VERSION 05:15:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 05:10 bin 05:15:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:10 cmd 05:15:32 -rw-r--r-- 1 jenkins jenkins 24334 Oct 18 05:14 coverage.out 05:15:32 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 18 05:10 go.mod 05:15:32 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 18 05:10 go.sum 05:15:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 05:10 internal 05:15:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 05:10 simulator 05:15:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 05:10 snap 05:15:32 -rw-rw-r-- 1 jenkins jenkins 229 Oct 18 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:32 + 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=cb9b136dde47a2ad380df8ea097ecc7e54ddad6d --label arch=arm64 --label version=0.0.0 . 05:15:33 Sending build context to Docker daemon 3.412MB 05:15:33 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:15:33 Step 2/22 : FROM ${BASE} AS builder 05:15:33 ---> b8dba72a3fa9 05:15:33 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:15:33 ---> Running in ffe4b2547699 05:15:33 Removing intermediate container ffe4b2547699 05:15:33 ---> f025f64fb559 05:15:33 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:33 ---> Running in a204c696041b 05:15:34 Removing intermediate container a204c696041b 05:15:34 ---> 958311ebcdd8 05:15:34 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:15:34 ---> Running in 596fdeb17427 05:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:15:36 OK: 272 MiB in 60 packages 05:15:37 Removing intermediate container 596fdeb17427 05:15:37 ---> 9fe9973e2f95 05:15:37 Step 6/22 : WORKDIR /device-modbus-go 05:15:37 ---> Running in 1987c629a087 05:15:37 Removing intermediate container 1987c629a087 05:15:37 ---> 67af5ec18e44 05:15:37 Step 7/22 : COPY go.mod vendor* ./ 05:15:38 ---> f552ac58efb2 05:15:38 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:38 ---> Running in 83f2a492eee5 05:15:40 Removing intermediate container 83f2a492eee5 05:15:40 ---> 5272adf72b57 05:15:40 Step 9/22 : COPY . . 05:15:43 ---> 88c272eb4e07 05:15:43 Step 10/22 : RUN ${MAKE} 05:15:43 ---> Running in c0b94a8c438f 05:15:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:17:35 Removing intermediate container c0b94a8c438f 05:17:35 ---> ad3cae066238 05:17:35 Step 11/22 : FROM alpine:3.18 05:17:35 3.18: Pulling from library/alpine 05:17:35 579b34f0a95b: Pulling fs layer 05:17:35 579b34f0a95b: Verifying Checksum 05:17:35 579b34f0a95b: Download complete 05:17:35 579b34f0a95b: Pull complete 05:17:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:17:35 Status: Downloaded newer image for alpine:3.18 05:17:35 ---> 3cc203321400 05:17:35 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:17:35 ---> Running in aa8a23f4d6c8 05:17:35 Removing intermediate container aa8a23f4d6c8 05:17:35 ---> 9e3f269a6325 05:17:35 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:17:35 ---> Running in 15d05cf268ae 05:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:17:35 (1/1) Installing dumb-init (1.2.5-r2) 05:17:35 Executing busybox-1.36.1-r2.trigger 05:17:35 OK: 8 MiB in 16 packages 05:17:35 Removing intermediate container 15d05cf268ae 05:17:35 ---> 384a1651fb09 05:17:35 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:17:35 ---> fd9597b9d049 05:17:35 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:17:35 ---> 5e20c6367bce 05:17:35 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:17:35 ---> a293290fad11 05:17:35 Step 17/22 : EXPOSE 59901 05:17:35 ---> Running in cb7c816cf0a1 05:17:35 Removing intermediate container cb7c816cf0a1 05:17:35 ---> e305caaaf92e 05:17:35 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:17:35 ---> Running in 60d79acafc56 05:17:35 Removing intermediate container 60d79acafc56 05:17:35 ---> 348e3aa9175a 05:17:35 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:17:35 ---> Running in 9772248193bd 05:17:36 Removing intermediate container 9772248193bd 05:17:36 ---> 5260e8397a14 05:17:36 Step 20/22 : LABEL arch=arm64 05:17:36 ---> Running in 484d7676e2d3 05:17:36 Removing intermediate container 484d7676e2d3 05:17:36 ---> 74f6ea53706b 05:17:36 Step 21/22 : LABEL git_sha=cb9b136dde47a2ad380df8ea097ecc7e54ddad6d 05:17:36 ---> Running in 908b3a22b9fb 05:17:37 Removing intermediate container 908b3a22b9fb 05:17:37 ---> 1f165fff8331 05:17:37 Step 22/22 : LABEL version=0.0.0 05:17:37 ---> Running in 1d9270a482a0 05:17:37 Removing intermediate container 1d9270a482a0 05:17:37 ---> 3e830e4d6413 05:17:37 [Warning] One or more build-args [ARCH] were not consumed 05:17:37 Successfully built 3e830e4d6413 05:17:37 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:17:38 05:17:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:17:38 arm64: Pulling from edgex-lftools-log-publisher 05:17:38 8998bd30e6a1: Pulling fs layer 05:17:38 04944245beec: Pulling fs layer 05:17:38 699f458cf7ca: Pulling fs layer 05:17:38 765212b225bb: Pulling fs layer 05:17:38 f23df028b6ca: Pulling fs layer 05:17:38 d65c8cfc05b1: Pulling fs layer 05:17:38 2437ff75d9bd: Pulling fs layer 05:17:38 f23df028b6ca: Waiting 05:17:38 d65c8cfc05b1: Waiting 05:17:38 2437ff75d9bd: Waiting 05:17:38 765212b225bb: Waiting 05:17:38 04944245beec: Verifying Checksum 05:17:38 04944245beec: Download complete 05:17:38 765212b225bb: Verifying Checksum 05:17:38 765212b225bb: Download complete 05:17:38 f23df028b6ca: Verifying Checksum 05:17:38 f23df028b6ca: Download complete 05:17:38 d65c8cfc05b1: Verifying Checksum 05:17:38 d65c8cfc05b1: Download complete 05:17:39 699f458cf7ca: Verifying Checksum 05:17:39 699f458cf7ca: Download complete 05:17:39 8998bd30e6a1: Verifying Checksum 05:17:39 8998bd30e6a1: Download complete 05:17:41 2437ff75d9bd: Verifying Checksum 05:17:41 2437ff75d9bd: Download complete 05:17:43 8998bd30e6a1: Pull complete 05:17:44 04944245beec: Pull complete 05:17:48 699f458cf7ca: Pull complete 05:17:48 765212b225bb: Pull complete 05:17:49 f23df028b6ca: Pull complete 05:17:49 d65c8cfc05b1: Pull complete 05:18:07 2437ff75d9bd: Pull complete 05:18:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:18:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:07 prd-ubuntu20.04-docker-arm64-4c-16g-9489 does not seem to be running inside a container 05:18:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:18:10 $ docker top 90dcf9b42d4184b15eb12fa76aec5e82b79fc3e63a09278ea898541d9bf91a48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:11 ---> job-cost.sh 05:18:11 lf-activate-venv: SKIPPING 05:18:11 INFO: No Stack... 05:18:11 INFO: Retrieving Pricing Info for: v3-standard-4 05:18:12 INFO: Archiving Costs [Pipeline] sh 05:18:13 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:18:13 + cut -d, -f6 [Pipeline] lock 05:18:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-511-1-stack-cost] 05:18:13 Resource [jenkins-edgexfoundry-device-modbus-go-PR-511-1-stack-cost] did not exist. Created. 05:18:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-511-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:18:14 /w/workspace/device-modbus-go/1@tmp/durable-1660dd6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:18:14 + echo total: 0.10999999940395355 [Pipeline] stash 05:18:14 Warning: overwriting stash ‘stack-cost’ 05:18:14 Stashed 1 file(s) [Pipeline] } 05:18:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-511-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:18:15 $ docker stop --time=1 90dcf9b42d4184b15eb12fa76aec5e82b79fc3e63a09278ea898541d9bf91a48 05:18:17 $ docker rm -f --volumes 90dcf9b42d4184b15eb12fa76aec5e82b79fc3e63a09278ea898541d9bf91a48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:18:18 provisioning config files... 05:18:18 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp/config16259077273164395165tmp [Pipeline] { [Pipeline] sh 05:18:19 + set +x 05:18:19 + curl -s https://codecov.io/bash 05:18:19 + bash -s -- 05:18:19 05:18:19 _____ _ 05:18:19 / ____| | | 05:18:19 | | ___ __| | ___ ___ _____ __ 05:18:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:18:19 | |___| (_) | (_| | __/ (_| (_) \ V / 05:18:19 \_____\___/ \__,_|\___|\___\___/ \_/ 05:18:19 Bash-1.0.6 05:18:19 05:18:19 05:18:19 ==> git version 2.25.1 found 05:18:19 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:18:19 Release-Date: 2020-01-08 05:18:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:18:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:18:19 ==> Jenkins CI detected. 05:18:19 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-511 05:18:19 project root: . 05:18:19 --> token set from env 05:18:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:18:19 ==> Running gcov in . (disable via -X gcov) 05:18:19 ==> Python coveragepy not found 05:18:19 ==> Searching for coverage reports in: 05:18:19 + . 05:18:19 -> Found 1 reports 05:18:19 ==> Detecting git/mercurial file structure 05:18:19 ==> Reading reports 05:18:19 + ./coverage.out bytes=24334 05:18:19 ==> Appending adjustments 05:18:19 https://docs.codecov.io/docs/fixing-reports 05:18:19 + Found adjustments 05:18:19 ==> Gzipping contents 05:18:19 4.0K /tmp/codecov.kbF1e5.gz 05:18:19 ==> Uploading reports 05:18:19 url: https://codecov.io 05:18:19 query: branch=PR-511&commit=cb9b136dde47a2ad380df8ea097ecc7e54ddad6d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=511&job=&cmd_args= 05:18:19 -> Pinging Codecov 05:18:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-511&commit=cb9b136dde47a2ad380df8ea097ecc7e54ddad6d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=511&job=&cmd_args= 05:18:19 -> Uploading to 05:18:19 https://storage.googleapis.com/codecov/v4/raw/2023-10-18/55DBCA73C666E3227836607328DD7E49/cb9b136dde47a2ad380df8ea097ecc7e54ddad6d/85caebf6-cc57-4766-8339-1923bb3d9792.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T051819Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0c51be4f697b2b14127cca928b565c3b4c9520d92486eaad8a903de0e17073e 05:18:19 % Total % Received % Xferd Average Speed Time Time Time Current 05:18:19 Dload Upload Total Spent Left Speed 05:18:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 13656 --:--:-- --:--:-- --:--:-- 13656 05:18:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/cb9b136dde47a2ad380df8ea097ecc7e54ddad6d [Pipeline] } 05:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:18:21 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-511/archives ] 05:18:21 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-511/archives 05:18:21 total 16 05:18:21 drwxr-xr-x 3 root root 4096 Oct 18 05:10 . 05:18:21 drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 05:10 .. 05:18:21 drwxr-xr-x 2 root root 4096 Oct 18 05:10 cost 05:18:21 -rw-r--r-- 1 root root 88 Oct 18 05:10 cost.csv 05:18:21 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-511/archives 05:18:21 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-511/archives 05:18:21 total 16 05:18:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 05:10 . 05:18:21 drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 05:10 .. 05:18:21 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 05:10 cost 05:18:21 -rw-r--r-- 1 jenkins jenkins 88 Oct 18 05:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:18:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:18:23 ---> package-listing.sh 05:18:23 ++ facter osfamily 05:18:23 ++ tr '[:upper:]' '[:lower:]' 05:18:23 + OS_FAMILY=debian 05:18:23 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-511 05:18:23 + START_PACKAGES=/tmp/packages_start.txt 05:18:23 + END_PACKAGES=/tmp/packages_end.txt 05:18:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:18:23 + PACKAGES=/tmp/packages_start.txt 05:18:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-511 ']' 05:18:23 + PACKAGES=/tmp/packages_end.txt 05:18:23 + case "${OS_FAMILY}" in 05:18:23 + dpkg -l 05:18:23 + grep '^ii' 05:18:23 + '[' -f /tmp/packages_start.txt ']' 05:18:23 + '[' -f /tmp/packages_end.txt ']' 05:18:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:18:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-511 ']' 05:18:23 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-511/archives/ 05:18:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-511/archives/ [Pipeline] echo 05:18:23 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-511/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:18:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:18:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:24 prd-ubuntu20.04-docker-8c-8g-9488 does not seem to be running inside a container 05:18:24 $ 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-511/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-511 -v /w/workspace/xfoundry_device-modbus-go_PR-511:/w/workspace/xfoundry_device-modbus-go_PR-511:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-511@tmp:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:18:24 $ docker top a2462fabcf7624f8985d4945fb66d32b6a2c2275b56f66bef34e93a8b338007d -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:25 + touch /tmp/pre-build-complete [Pipeline] sh 05:18:25 + mkdir -p /var/log/sysstat [Pipeline] sh 05:18:25 + ls /var/log/sa-host 05:18:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:25 provisioning config files... 05:18:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-511@tmp/config1272343649439973140tmp [Pipeline] { [Pipeline] echo 05:18:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:18:26 ---> create-netrc.sh [Pipeline] } 05:18:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:18:26 ---> python-tools-install.sh [Pipeline] echo 05:18:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:18:27 ---> sudo-logs.sh 05:18:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:18:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:18:27 ---> job-cost.sh 05:18:27 lf-activate-venv: SKIPPING 05:18:27 DEBUG: total: 0.2199999988079071 05:18:27 INFO: Retrieving Stack Cost... 05:18:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:18:28 INFO: Archiving Costs [Pipeline] echo 05:18:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:18:28 ---> logs-deploy.sh 05:18:28 lf-activate-venv: SKIPPING 05:18:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-511/1 05:18:28 INFO: archiving workspace using pattern(s): 05:18:29 Archives upload complete. 05:18:29 INFO: archiving logs to Nexus