Pull request #507 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f0567d3a692cf00c0b07daf83bb576ce12882e74+091e49834ad2b8f5ca54fa7b36ec487638af0a66 (19e2478881c9c5e22267e5fab9ea10e7f7205fb7) 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-ssh15619279841393455927.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-ssh1320554645342533545.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-507/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-507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh459808458566823945.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-507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12831523694782925791.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-ssh3401889759055609395.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-507/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-507/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18076490152682314295.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-8452 in /w/workspace/xfoundry_device-modbus-go_PR-507 [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-507 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 091e49834ad2b8f5ca54fa7b36ec487638af0a66 into PR head commit f0567d3a692cf00c0b07daf83bb576ce12882e74 Merge succeeded, producing f0567d3a692cf00c0b07daf83bb576ce12882e74 Checking out Revision f0567d3a692cf00c0b07daf83bb576ce12882e74 (PR-507) 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f f0567d3a692cf00c0b07daf83bb576ce12882e74 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 091e49834ad2b8f5ca54fa7b36ec487638af0a66 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f0567d3a692cf00c0b07daf83bb576ce12882e74 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:31:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:31:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:31:13 ========================================================= 05:31:13 EdgeX Global Pipelines Version Info 05:31:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:31:14 ------------------- 05:31:14 stable info: 05:31:14 ------------------- 05:31:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:31:14 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:31:14 Message: update stable to v1.0.254 05:31:15 ------------------- 05:31:15 experimental info: 05:31:15 ------------------- 05:31:15 Commited By: **** collab-it+edgex@linuxfoundation.org 05:31:15 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:31:15 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:31:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-507 [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-507 [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-507 [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f0567d3 [Pipeline] echo 05:31:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:16 provisioning config files... 05:31:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/config8984264576693439494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:17 ---> docker-login.sh 05:31:17 nexus3.edgexfoundry.org:10001 05:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:17 Configure a credential helper to remove this warning. See 05:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:17 05:31:17 Login Succeeded 05:31:17 nexus3.edgexfoundry.org:10002 05:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:18 Configure a credential helper to remove this warning. See 05:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:18 05:31:18 Login Succeeded 05:31:18 nexus3.edgexfoundry.org:10003 05:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:18 Configure a credential helper to remove this warning. See 05:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:18 05:31:18 Login Succeeded 05:31:18 nexus3.edgexfoundry.org:10004 05:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:18 Configure a credential helper to remove this warning. See 05:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:18 05:31:18 Login Succeeded 05:31:18 docker.io 05:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:18 Configure a credential helper to remove this warning. See 05:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:18 05:31:18 Login Succeeded 05:31:18 ---> docker-login.sh ends [Pipeline] } 05:31:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:31:19 + git rev-list -1 --merges f0567d3a692cf00c0b07daf83bb576ce12882e74~1..f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] echo 05:31:19 -----------> git rev-list -1 --merges f0567d3a692cf00c0b07daf83bb576ce12882e74~1..f0567d3a692cf00c0b07daf83bb576ce12882e74 f0567d3a692cf00c0b07daf83bb576ce12882e74 [false] [Pipeline] sh 05:31:19 + git log --format=format:%s -1 f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] echo 05:31:19 ========================================================= 05:31:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:31:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:20 + git log --format=format:%s -1 f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] echo 05:31:20 [semverPrep] GIT_COMMIT: f0567d3a692cf00c0b07daf83bb576ce12882e74, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:31:20 [semverPrep] This is not a build commit. [Pipeline] sh 05:31:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:20 + grep -v github /etc/ssh/ssh_known_hosts 05:31:20 + [ -e /tmp/ssh_known_hosts ] 05:31:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:31:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:31:20 + sudo tee -a /etc/ssh/ssh_known_hosts 05:31:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:21 05:31:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:21 0.1.4: Pulling from edgex-devops/py-git-semver 05:31:21 b85a868b505f: Pulling fs layer 05:31:21 e2be974225ed: Pulling fs layer 05:31:21 339a4e72a1f5: Pulling fs layer 05:31:21 988bab9f4d93: Pulling fs layer 05:31:21 1469e6f7b9e6: Pulling fs layer 05:31:21 eaf3925da568: Pulling fs layer 05:31:21 bab4dde63d76: Pulling fs layer 05:31:21 bde34c3a00c8: Pulling fs layer 05:31:21 b352a97aabf1: Pulling fs layer 05:31:21 988bab9f4d93: Waiting 05:31:21 4872d77fe225: Pulling fs layer 05:31:21 5851b861e8e6: Pulling fs layer 05:31:21 1469e6f7b9e6: Waiting 05:31:21 eaf3925da568: Waiting 05:31:21 bab4dde63d76: Waiting 05:31:21 bde34c3a00c8: Waiting 05:31:21 4872d77fe225: Waiting 05:31:21 b352a97aabf1: Waiting 05:31:21 5851b861e8e6: Waiting 05:31:21 e2be974225ed: Verifying Checksum 05:31:21 e2be974225ed: Download complete 05:31:21 988bab9f4d93: Download complete 05:31:21 1469e6f7b9e6: Verifying Checksum 05:31:21 1469e6f7b9e6: Download complete 05:31:21 339a4e72a1f5: Verifying Checksum 05:31:21 339a4e72a1f5: Download complete 05:31:21 eaf3925da568: Verifying Checksum 05:31:21 eaf3925da568: Download complete 05:31:21 bde34c3a00c8: Verifying Checksum 05:31:21 bde34c3a00c8: Download complete 05:31:21 b352a97aabf1: Download complete 05:31:21 4872d77fe225: Verifying Checksum 05:31:21 4872d77fe225: Download complete 05:31:21 5851b861e8e6: Verifying Checksum 05:31:21 5851b861e8e6: Download complete 05:31:21 b85a868b505f: Verifying Checksum 05:31:21 b85a868b505f: Download complete 05:31:22 bab4dde63d76: Verifying Checksum 05:31:22 bab4dde63d76: Download complete 05:31:23 b85a868b505f: Pull complete 05:31:23 e2be974225ed: Pull complete 05:31:23 339a4e72a1f5: Pull complete 05:31:23 988bab9f4d93: Pull complete 05:31:24 1469e6f7b9e6: Pull complete 05:31:24 eaf3925da568: Pull complete 05:31:26 bab4dde63d76: Pull complete 05:31:26 bde34c3a00c8: Pull complete 05:31:26 b352a97aabf1: Pull complete 05:31:26 4872d77fe225: Pull complete 05:31:26 5851b861e8e6: Pull complete 05:31:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:31:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:27 prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container 05:31:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:31:31 $ docker top 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 -eo pid,comm 05:31:31 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:31:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:32 [ssh-agent] Looking for ssh-agent implementation... 05:31:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:32 $ docker exec 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 ssh-agent 05:31:32 SSH_AUTH_SOCK=/tmp/ssh-LABtDQtQTRWN/agent.32 05:31:32 SSH_AGENT_PID=38 05:31:32 Running ssh-add (command line suppressed) 05:31:32 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-507@tmp/private_key_12130538668242134935.key (/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/private_key_12130538668242134935.key) 05:31:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:32 + git tag --points-at HEAD [Pipeline] } 05:31:32 $ docker exec --env ******** --env ******** 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 ssh-agent -k 05:31:32 unset SSH_AUTH_SOCK; 05:31:32 unset SSH_AGENT_PID; 05:31:32 echo Agent pid 38 killed; 05:31:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:31:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:32 [ssh-agent] Looking for ssh-agent implementation... 05:31:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:33 $ docker exec 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 ssh-agent 05:31:33 SSH_AUTH_SOCK=/tmp/ssh-m0xD5dDxxek8/agent.70 05:31:33 SSH_AGENT_PID=76 05:31:33 Running ssh-add (command line suppressed) 05:31:33 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-507@tmp/private_key_8277535231703159147.key (/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/private_key_8277535231703159147.key) 05:31:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:34 + git semver init 05:31:34 2023-10-04 05:31:33,778 [run_init] DEBUG init version:0.0.0 force:False 05:31:34 2023-10-04 05:31:33,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-507/.semver 05:31:34 2023-10-04 05:31:33,779 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-507/.semver 05:31:34 2023-10-04 05:31:33,779 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-507/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-507, universal_newlines=False, shell=None, istream=None) 05:31:34 2023-10-04 05:31:34,641 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-507/.git/info/exclude 05:31:34 2023-10-04 05:31:34,642 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-507/.semver/PR-507 with force:False 05:31:34 2023-10-04 05:31:34,642 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-507/.semver/PR-507 05:31:34 2023-10-04 05:31:34,646 [execute] INFO git cat-file --batch-check 05:31:34 2023-10-04 05:31:34,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-507/.semver, universal_newlines=False, shell=None, istream=) 05:31:34 2023-10-04 05:31:34,651 [execute] INFO git cat-file --batch 05:31:34 2023-10-04 05:31:34,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-507/.semver, universal_newlines=False, shell=None, istream=) 05:31:34 2023-10-04 05:31:34,656 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-507/.semver/PR-507 05:31:34 0.0.0 [Pipeline] } 05:31:34 $ docker exec --env ******** --env ******** 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 ssh-agent -k 05:31:35 unset SSH_AUTH_SOCK; 05:31:35 unset SSH_AGENT_PID; 05:31:35 echo Agent pid 76 killed; 05:31:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:35 + git semver [Pipeline] } 05:31:35 $ docker stop --time=1 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 05:31:37 $ docker rm -f --volumes 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 [Pipeline] // withDockerContainer [Pipeline] sh 05:31:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:31:37 Stashed 1 file(s) [Pipeline] echo 05:31:37 [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:31:38 provisioning config files... 05:31:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/config7466147229304304195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:38 ---> docker-login.sh 05:31:38 nexus3.edgexfoundry.org:10001 05:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:38 Configure a credential helper to remove this warning. See 05:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:38 05:31:38 Login Succeeded 05:31:38 nexus3.edgexfoundry.org:10002 05:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:38 Configure a credential helper to remove this warning. See 05:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:38 05:31:38 Login Succeeded 05:31:38 nexus3.edgexfoundry.org:10003 05:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:38 Configure a credential helper to remove this warning. See 05:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:38 05:31:38 Login Succeeded 05:31:38 nexus3.edgexfoundry.org:10004 05:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:38 Configure a credential helper to remove this warning. See 05:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:38 05:31:38 Login Succeeded 05:31:38 docker.io 05:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:39 Configure a credential helper to remove this warning. See 05:31:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:39 05:31:39 Login Succeeded 05:31:39 ---> docker-login.sh ends [Pipeline] } 05:31:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:31:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:31:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:31:39 ========================================================= 05:31:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:31:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:40 + 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:31:40 Sending build context to Docker daemon 6.504MB 05:31:40 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:31:40 Step 2/10 : FROM ${BASE} AS builder 05:31:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:31:40 7264a8db6415: Pulling fs layer 05:31:40 c4d48a809fc2: Pulling fs layer 05:31:40 4f1c88b9dad5: Pulling fs layer 05:31:40 ad3a456e5733: Pulling fs layer 05:31:40 33e27b845d1e: Pulling fs layer 05:31:40 c68163c4e522: Pulling fs layer 05:31:40 50da416c3ac9: Pulling fs layer 05:31:40 23d2d4c4bb30: Pulling fs layer 05:31:40 33e27b845d1e: Waiting 05:31:40 c68163c4e522: Waiting 05:31:40 23d2d4c4bb30: Waiting 05:31:40 50da416c3ac9: Waiting 05:31:40 ad3a456e5733: Waiting 05:31:40 c4d48a809fc2: Verifying Checksum 05:31:40 c4d48a809fc2: Download complete 05:31:40 ad3a456e5733: Verifying Checksum 05:31:40 ad3a456e5733: Download complete 05:31:40 33e27b845d1e: Download complete 05:31:40 7264a8db6415: Verifying Checksum 05:31:40 7264a8db6415: Download complete 05:31:40 7264a8db6415: Pull complete 05:31:40 c4d48a809fc2: Pull complete 05:31:40 c68163c4e522: Verifying Checksum 05:31:40 c68163c4e522: Download complete 05:31:40 23d2d4c4bb30: Verifying Checksum 05:31:40 23d2d4c4bb30: Download complete 05:31:41 4f1c88b9dad5: Verifying Checksum 05:31:41 4f1c88b9dad5: Download complete 05:31:41 50da416c3ac9: Verifying Checksum 05:31:41 50da416c3ac9: Download complete 05:31:44 4f1c88b9dad5: Pull complete 05:31:44 ad3a456e5733: Pull complete 05:31:44 33e27b845d1e: Pull complete 05:31:45 c68163c4e522: Pull complete 05:31:48 50da416c3ac9: Pull complete 05:31:48 23d2d4c4bb30: Pull complete 05:31:48 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:31:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:31:48 ---> 0786185ac409 05:31:48 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:31:53 Still waiting to schedule task 05:31:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:31:54 ---> Running in cad6230093d8 05:31:54 Removing intermediate container cad6230093d8 05:31:54 ---> 9d2695cd88b0 05:31:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:31:54 ---> Running in 004cc2444e31 05:31:54 Removing intermediate container 004cc2444e31 05:31:54 ---> 68ea220087a1 05:31:54 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:31:54 ---> Running in 306582e6cc3d 05:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:31:55 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:31:55 (2/8) Installing libedit (20221030.3.1-r1) 05:31:55 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:31:55 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:31:55 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:31:55 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:31:55 (7/8) Installing openssh-server (9.3_p2-r0) 05:31:55 (8/8) Installing openssh (9.3_p2-r0) 05:31:55 Executing busybox-1.36.1-r2.trigger 05:31:55 OK: 270 MiB in 60 packages 05:31:55 Removing intermediate container 306582e6cc3d 05:31:55 ---> 5214636146d1 05:31:55 Step 6/10 : WORKDIR /device-modbus-go 05:31:55 ---> Running in 01da4c872b6d 05:31:55 Removing intermediate container 01da4c872b6d 05:31:55 ---> 4ea8f8f5fcd4 05:31:55 Step 7/10 : COPY go.mod vendor* ./ 05:31:56 ---> 9fd27b1d7663 05:31:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:31:56 ---> Running in c6451212649c 05:32:34 Removing intermediate container c6451212649c 05:32:34 ---> 5f0e6ca1188c 05:32:34 Step 9/10 : COPY . . 05:32:34 ---> 9968dad013f3 05:32:34 Step 10/10 : RUN ${MAKE} 05:32:34 ---> Running in 1a332afe9d6d 05:32:34 noop 05:32:34 Removing intermediate container 1a332afe9d6d 05:32:34 ---> 272954ac6a2c 05:32:34 Successfully built 272954ac6a2c 05:32:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:35 + docker inspect -f . ci-base-image-x86_64 05:32:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:35 prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container 05:32:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:32:35 $ docker top 70927aac2ca806cb97596c5f65d9ac22a69b22603bbee511aa996f09b2b0ebd8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:36 + go version 05:32:36 go version go1.21.0 linux/amd64 [Pipeline] } 05:32:36 $ docker stop --time=1 70927aac2ca806cb97596c5f65d9ac22a69b22603bbee511aa996f09b2b0ebd8 05:32:37 $ docker rm -f --volumes 70927aac2ca806cb97596c5f65d9ac22a69b22603bbee511aa996f09b2b0ebd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:38 + docker inspect -f . ci-base-image-x86_64 05:32:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:38 prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container 05:32:38 $ 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-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:32:38 $ docker top ed4a7439538d858d91789f1ee25b4bd4e6ee860894a5bba6778258b006ec30f6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:39 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-507 [Pipeline] fileExists [Pipeline] sh 05:32:39 + make test 05:32:39 go test ./... -coverprofile=coverage.out 05:32:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:32:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:32:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 05:32:56 go vet ./... 05:32:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:32:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:32:59 ./bin/test-attribution-txt.sh [Pipeline] echo 05:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:32:59 $ docker stop --time=1 ed4a7439538d858d91789f1ee25b4bd4e6ee860894a5bba6778258b006ec30f6 05:33:03 $ docker rm -f --volumes ed4a7439538d858d91789f1ee25b4bd4e6ee860894a5bba6778258b006ec30f6 [Pipeline] // withDockerContainer [Pipeline] sh 05:33:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:33:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:33:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:33:04 + ls -al . 05:33:04 total 192 05:33:04 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 05:32 . 05:33:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:31 .. 05:33:04 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 05:31 .dockerignore 05:33:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:32 .git 05:33:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:31 .github 05:33:04 -rw-rw-r-- 1 jenkins jenkins 331 Oct 4 05:31 .gitignore 05:33:04 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 05:31 .golangci.yml 05:33:04 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:31 .semver 05:33:04 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 4 05:31 Attribution.txt 05:33:04 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 4 05:31 CHANGELOG.md 05:33:04 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 4 05:31 Dockerfile 05:33:04 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 05:31 GOVERNANCE.md 05:33:04 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 05:31 Jenkinsfile 05:33:04 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 05:31 LICENSE 05:33:04 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 4 05:31 Makefile 05:33:04 -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 05:31 OWNERS.md 05:33:04 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 4 05:31 README.md 05:33:04 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 05:31 VERSION 05:33:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:31 bin 05:33:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:31 cmd 05:33:04 -rw-r--r-- 1 jenkins jenkins 24334 Oct 4 05:32 coverage.out 05:33:04 -rw-rw-r-- 1 jenkins jenkins 3941 Oct 4 05:31 go.mod 05:33:04 -rw-rw-r-- 1 jenkins jenkins 35965 Oct 4 05:31 go.sum 05:33:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:31 internal 05:33:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:31 simulator 05:33:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:31 snap 05:33:04 -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:05 + 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=f0567d3a692cf00c0b07daf83bb576ce12882e74 --label arch=amd64 --label version=0.0.0 . 05:33:05 Sending build context to Docker daemon 6.53MB 05:33:05 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:33:05 Step 2/22 : FROM ${BASE} AS builder 05:33:05 ---> 272954ac6a2c 05:33:05 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:33:05 ---> Running in bcf225cb132c 05:33:05 Removing intermediate container bcf225cb132c 05:33:05 ---> 4011a751dcda 05:33:05 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:33:05 ---> Running in 575607f12d5e 05:33:05 Removing intermediate container 575607f12d5e 05:33:05 ---> 6de28289040e 05:33:05 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:33:05 ---> Running in ffe1ad89c5c9 05:33:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:33:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:33:06 OK: 270 MiB in 60 packages 05:33:06 Removing intermediate container ffe1ad89c5c9 05:33:06 ---> 7316d81f9f97 05:33:06 Step 6/22 : WORKDIR /device-modbus-go 05:33:06 ---> Running in 84c821d6cb8a 05:33:06 Removing intermediate container 84c821d6cb8a 05:33:06 ---> 1b895099548c 05:33:06 Step 7/22 : COPY go.mod vendor* ./ 05:33:06 ---> 13e7d068d928 05:33:06 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:06 ---> Running in f6ce31dd3e3f 05:33:07 Removing intermediate container f6ce31dd3e3f 05:33:07 ---> 4a07f8a15334 05:33:07 Step 9/22 : COPY . . 05:33:07 ---> 336a87850d8d 05:33:07 Step 10/22 : RUN ${MAKE} 05:33:07 ---> Running in 616c64e3aac3 05:33:08 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.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:33:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8453 in /w/workspace/xfoundry_device-modbus-go_PR-507 [Pipeline] { [Pipeline] ws 05:33:24 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:33:24 Selected Git installation does not exist. Using Default 05:33:24 The recommended git tool is: NONE 05:33:29 using credential edgex-jenkins-ssh 05:33:29 Cloning the remote Git repository 05:33:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:33:29 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:33:30 Removing intermediate container 616c64e3aac3 05:33:30 ---> f82112b529e4 05:33:30 Step 11/22 : FROM alpine:3.18 05:33:30 3.18: Pulling from library/alpine 05:33:30 96526aa774ef: Pulling fs layer 05:33:30 96526aa774ef: Download complete 05:33:30 96526aa774ef: Pull complete 05:33:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:33:30 Status: Downloaded newer image for alpine:3.18 05:33:30 ---> 8ca4688f4f35 05:33:30 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:33:30 ---> Running in afac402d7094 05:33:30 Removing intermediate container afac402d7094 05:33:30 ---> b90ddf0bab2f 05:33:30 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:33:30 ---> Running in 0c7a85d70b26 05:33:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:33:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:33:30 (1/1) Installing dumb-init (1.2.5-r2) 05:33:30 Executing busybox-1.36.1-r2.trigger 05:33:30 OK: 7 MiB in 16 packages 05:33:30 Removing intermediate container 0c7a85d70b26 05:33:30 ---> 85f243d0b4cb 05:33:30 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:33:30 ---> fb323c815f94 05:33:30 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:33:30 ---> 8d97a17da44a 05:33:30 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:33:30 ---> 37bca0945f37 05:33:30 Step 17/22 : EXPOSE 59901 05:33:30 ---> Running in e2c232da305a 05:33:30 Removing intermediate container e2c232da305a 05:33:30 ---> fad6433dd2a0 05:33:30 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:33:30 ---> Running in c54d24ce138c 05:33:30 Removing intermediate container c54d24ce138c 05:33:30 ---> ed7d3ec36a99 05:33:30 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:33:30 ---> Running in 93b4199c59ad 05:33:30 Removing intermediate container 93b4199c59ad 05:33:30 ---> 3d845d44e8d7 05:33:30 Step 20/22 : LABEL arch=amd64 05:33:30 ---> Running in f3406afbd09a 05:33:30 Removing intermediate container f3406afbd09a 05:33:30 ---> ea852b505334 05:33:30 Step 21/22 : LABEL git_sha=f0567d3a692cf00c0b07daf83bb576ce12882e74 05:33:30 ---> Running in 3e652c956582 05:33:30 Removing intermediate container 3e652c956582 05:33:30 ---> 1cf83946cfab 05:33:30 Step 22/22 : LABEL version=0.0.0 05:33:30 ---> Running in f10607152817 05:33:30 Removing intermediate container f10607152817 05:33:30 ---> c164df3dc163 05:33:30 [Warning] One or more build-args [ARCH] were not consumed 05:33:30 Successfully built c164df3dc163 05:33:30 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:33:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:33:29 > git --version # timeout=10 05:33:29 > git --version # 'git version 2.25.1' 05:33:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:33:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:31 05:33:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:31 latest: Pulling from edgex-lftools-log-publisher 05:33:31 5eb5b503b376: Pulling fs layer 05:33:31 5c69ac0246d0: Pulling fs layer 05:33:31 ec43610c2a17: Pulling fs layer 05:33:31 3a2ae6a8a46f: Pulling fs layer 05:33:31 33b1e0a273af: Pulling fs layer 05:33:31 5d3b04190fa2: Pulling fs layer 05:33:31 2f39f015ded8: Pulling fs layer 05:33:31 2f39f015ded8: Waiting 05:33:31 5d3b04190fa2: Waiting 05:33:31 5c69ac0246d0: Verifying Checksum 05:33:31 5c69ac0246d0: Download complete 05:33:31 3a2ae6a8a46f: Verifying Checksum 05:33:31 3a2ae6a8a46f: Download complete 05:33:31 33b1e0a273af: Verifying Checksum 05:33:31 33b1e0a273af: Download complete 05:33:31 5d3b04190fa2: Download complete 05:33:31 ec43610c2a17: Verifying Checksum 05:33:31 ec43610c2a17: Download complete 05:33:32 5eb5b503b376: Verifying Checksum 05:33:32 5eb5b503b376: Download complete 05:33:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:33:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:33:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:33:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:33:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:33:32 Merging remotes/origin/main commit 091e49834ad2b8f5ca54fa7b36ec487638af0a66 into PR head commit f0567d3a692cf00c0b07daf83bb576ce12882e74 05:33:32 Merge succeeded, producing f0567d3a692cf00c0b07daf83bb576ce12882e74 05:33:32 Checking out Revision f0567d3a692cf00c0b07daf83bb576ce12882e74 (PR-507) 05:33:33 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:33:33 5eb5b503b376: Pull complete 05:33:33 > git --version # timeout=10 05:33:33 > git --version # 'git version 2.25.1' 05:33:33 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 05:33:33 5c69ac0246d0: Pull complete 05:33:32 > git config core.sparsecheckout # timeout=10 05:33:32 > git checkout -f f0567d3a692cf00c0b07daf83bb576ce12882e74 # timeout=10 05:33:32 > git remote # timeout=10 05:33:32 > git config --get remote.origin.url # timeout=10 05:33:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:32 > git merge 091e49834ad2b8f5ca54fa7b36ec487638af0a66 # timeout=10 05:33:32 > git rev-parse HEAD^{commit} # timeout=10 05:33:32 > git config core.sparsecheckout # timeout=10 05:33:32 > git checkout -f f0567d3a692cf00c0b07daf83bb576ce12882e74 # timeout=10 05:33:33 ec43610c2a17: Pull complete 05:33:33 3a2ae6a8a46f: Pull complete 05:33:33 05:33:33 GitHub has been notified of this commit’s build result 05:33:33 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:33:34 33b1e0a273af: Pull complete 05:33:34 5d3b04190fa2: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh 05:33:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:33:34 % Total % Received % Xferd Average Speed Time Time Time Current 05:33:34 Dload Upload Total Spent Left Speed 05:33:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 05:33:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:33:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:33:35 + sudo tee /etc/docker/daemon.new 05:33:35 { 05:33:35 "registry-mirrors": [ 05:33:35 "https://nexus3.edgexfoundry.org:10001" 05:33:35 ], 05:33:35 "bip": "10.250.0.254/24", 05:33:35 "hosts": [ 05:33:35 "tcp://0.0.0.0:5555", 05:33:35 "unix:///var/run/docker.sock" 05:33:35 ], 05:33:35 "mtu": 1458, 05:33:35 "selinux-enabled": true, 05:33:35 "seccomp-profile": "/etc/docker/seccomp.json" 05:33:35 } [Pipeline] sh 05:33:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:33:36 + sudo service docker restart 05:33:38 2f39f015ded8: Pull complete 05:33:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:33:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:38 prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container 05:33:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@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:33:43 $ docker top 9cd20ed421390acd175b8e01aca3c314b6a8d4096d864027eeb93ef62ad2ab5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:43 ---> job-cost.sh 05:33:43 lf-activate-venv: SKIPPING 05:33:43 INFO: No Stack... 05:33:44 INFO: Retrieving Pricing Info for: v3-standard-8 05:33:44 INFO: Archiving Costs [Pipeline] sh 05:33:45 + cut -d, -f6 05:33:45 + cat /w/workspace/xfoundry_device-modbus-go_PR-507/archives/cost.csv [Pipeline] lock 05:33:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] 05:33:45 Resource [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] did not exist. Created. 05:33:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:33:45 + echo total: 0.2199999988079071 [Pipeline] stash 05:33:45 Stashed 1 file(s) [Pipeline] } 05:33:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:33:45 $ docker stop --time=1 9cd20ed421390acd175b8e01aca3c314b6a8d4096d864027eeb93ef62ad2ab5e 05:33:46 $ docker rm -f --volumes 9cd20ed421390acd175b8e01aca3c314b6a8d4096d864027eeb93ef62ad2ab5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:33:54 provisioning config files... 05:33:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6216521754815589095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:54 ---> docker-login.sh 05:33:54 nexus3.edgexfoundry.org:10001 05:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:55 Configure a credential helper to remove this warning. See 05:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:55 05:33:55 Login Succeeded 05:33:55 nexus3.edgexfoundry.org:10002 05:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:55 Configure a credential helper to remove this warning. See 05:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:55 05:33:55 Login Succeeded 05:33:55 nexus3.edgexfoundry.org:10003 05:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:55 Configure a credential helper to remove this warning. See 05:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:55 05:33:55 Login Succeeded 05:33:55 nexus3.edgexfoundry.org:10004 05:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:56 Configure a credential helper to remove this warning. See 05:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:56 05:33:56 Login Succeeded 05:33:56 docker.io 05:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:57 Configure a credential helper to remove this warning. See 05:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:57 05:33:57 Login Succeeded 05:33:57 ---> docker-login.sh ends [Pipeline] } 05:33:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:33:57 ========================================================= 05:33:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:33:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:58 + 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:33:58 Sending build context to Docker daemon 3.378MB 05:33:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:33:58 Step 2/10 : FROM ${BASE} AS builder 05:33:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:33:58 9fda8d8052c6: Pulling fs layer 05:33:58 5d54e960e981: Pulling fs layer 05:33:58 c4a7e357bf2a: Pulling fs layer 05:33:58 f0e02332f6b5: Pulling fs layer 05:33:58 cefa15bbcfad: Pulling fs layer 05:33:58 17808c966233: Pulling fs layer 05:33:58 f4c1fc716caa: Pulling fs layer 05:33:58 cefa15bbcfad: Waiting 05:33:58 17808c966233: Waiting 05:33:58 f4c1fc716caa: Waiting 05:33:58 f0e02332f6b5: Waiting 05:33:58 5d54e960e981: Verifying Checksum 05:33:58 5d54e960e981: Download complete 05:33:58 f0e02332f6b5: Download complete 05:33:58 cefa15bbcfad: Download complete 05:33:58 9fda8d8052c6: Download complete 05:33:59 f4c1fc716caa: Verifying Checksum 05:33:59 f4c1fc716caa: Download complete 05:33:59 9fda8d8052c6: Pull complete 05:34:00 5d54e960e981: Pull complete 05:34:00 c4a7e357bf2a: Verifying Checksum 05:34:00 c4a7e357bf2a: Download complete 05:34:01 17808c966233: Verifying Checksum 05:34:01 17808c966233: Download complete 05:34:13 c4a7e357bf2a: Pull complete 05:34:13 f0e02332f6b5: Pull complete 05:34:13 cefa15bbcfad: Pull complete 05:34:18 17808c966233: Pull complete 05:34:20 f4c1fc716caa: Pull complete 05:34:20 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:34:20 ---> ea914061e18c 05:34:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:34:22 ---> Running in 7e176a82ba69 05:34:22 Removing intermediate container 7e176a82ba69 05:34:22 ---> efae6bb88fb3 05:34:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:34:22 ---> Running in b4cde03855ab 05:34:22 Removing intermediate container b4cde03855ab 05:34:22 ---> 23f7361b0aed 05:34:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:34:22 ---> Running in cec0589aa85b 05:34:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:34:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:34:25 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:34:25 (2/8) Installing libedit (20221030.3.1-r1) 05:34:25 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:34:25 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:34:25 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:34:25 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:34:25 (7/8) Installing openssh-server (9.3_p2-r0) 05:34:25 (8/8) Installing openssh (9.3_p2-r0) 05:34:25 Executing busybox-1.36.1-r2.trigger 05:34:25 OK: 272 MiB in 60 packages 05:34:26 Removing intermediate container cec0589aa85b 05:34:26 ---> ce0369d93b8e 05:34:26 Step 6/10 : WORKDIR /device-modbus-go 05:34:26 ---> Running in b20633909bf4 05:34:26 Removing intermediate container b20633909bf4 05:34:26 ---> 8e38bcc04eaa 05:34:26 Step 7/10 : COPY go.mod vendor* ./ 05:34:26 ---> 3fcdd26ba267 05:34:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:34:27 ---> Running in 1fcd4d32fba7 05:35:35 Removing intermediate container 1fcd4d32fba7 05:35:35 ---> 299e4b968ce9 05:35:35 Step 9/10 : COPY . . 05:35:35 ---> bb005b8ebcbe 05:35:35 Step 10/10 : RUN ${MAKE} 05:35:35 ---> Running in 5039ced2577e 05:35:36 noop 05:35:36 Removing intermediate container 5039ced2577e 05:35:36 ---> a784e32cd193 05:35:36 Successfully built a784e32cd193 05:35:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:37 + docker inspect -f . ci-base-image-arm64 05:35:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:35:37 prd-ubuntu20.04-docker-arm64-4c-16g-8453 does not seem to be running inside a container 05:35:37 $ 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:35:38 $ docker top 8f6bff6e35532296c3cdfb89ccf6e24d6f6bc4ad6151726943934b058e7d06d9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:35:39 + go version 05:35:39 go version go1.21.0 linux/arm64 [Pipeline] } 05:35:39 $ docker stop --time=1 8f6bff6e35532296c3cdfb89ccf6e24d6f6bc4ad6151726943934b058e7d06d9 05:35:41 $ docker rm -f --volumes 8f6bff6e35532296c3cdfb89ccf6e24d6f6bc4ad6151726943934b058e7d06d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:41 + docker inspect -f . ci-base-image-arm64 05:35:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:35:42 prd-ubuntu20.04-docker-arm64-4c-16g-8453 does not seem to be running inside a container 05:35:42 $ 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:35:43 $ docker top 3e714f2e1d6ed4f44a097c267b115cb9e2f359195f57876977f58285dde1997a -eo pid,comm [Pipeline] { [Pipeline] sh 05:35:43 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:35:44 + make test 05:35:44 go test ./... -coverprofile=coverage.out 05:35:50 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:37:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:37:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.9% of statements 05:37:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:37:27 go vet ./... 05:37:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:37:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:37:37 ./bin/test-attribution-txt.sh [Pipeline] echo 05:37:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:37:37 $ docker stop --time=1 3e714f2e1d6ed4f44a097c267b115cb9e2f359195f57876977f58285dde1997a 05:37:39 $ docker rm -f --volumes 3e714f2e1d6ed4f44a097c267b115cb9e2f359195f57876977f58285dde1997a [Pipeline] // withDockerContainer [Pipeline] sh 05:37:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:37:40 Warning: overwriting stash ‘coverage-report’ 05:37:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:37:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:37:42 + ls -al . 05:37:42 total 188 05:37:42 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 05:35 . 05:37:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:33 .. 05:37:42 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 05:33 .dockerignore 05:37:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:33 .git 05:37:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:33 .github 05:37:42 -rw-rw-r-- 1 jenkins jenkins 331 Oct 4 05:33 .gitignore 05:37:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 05:33 .golangci.yml 05:37:42 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 4 05:33 Attribution.txt 05:37:42 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 4 05:33 CHANGELOG.md 05:37:42 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 4 05:33 Dockerfile 05:37:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 05:33 GOVERNANCE.md 05:37:42 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 05:33 Jenkinsfile 05:37:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 05:33 LICENSE 05:37:42 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 4 05:33 Makefile 05:37:42 -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 05:33 OWNERS.md 05:37:42 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 4 05:33 README.md 05:37:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 05:31 VERSION 05:37:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:33 bin 05:37:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:33 cmd 05:37:42 -rw-r--r-- 1 jenkins jenkins 24334 Oct 4 05:37 coverage.out 05:37:42 -rw-rw-r-- 1 jenkins jenkins 3941 Oct 4 05:33 go.mod 05:37:42 -rw-rw-r-- 1 jenkins jenkins 35965 Oct 4 05:33 go.sum 05:37:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:33 internal 05:37:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:33 simulator 05:37:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:33 snap 05:37:42 -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 05:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:42 + 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=f0567d3a692cf00c0b07daf83bb576ce12882e74 --label arch=arm64 --label version=0.0.0 . 05:37:42 Sending build context to Docker daemon 3.403MB 05:37:42 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:37:42 Step 2/22 : FROM ${BASE} AS builder 05:37:42 ---> a784e32cd193 05:37:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:37:43 ---> Running in 9e331074b663 05:37:43 Removing intermediate container 9e331074b663 05:37:43 ---> 311c5a4b3381 05:37:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:37:43 ---> Running in b4fdae3389e1 05:37:43 Removing intermediate container b4fdae3389e1 05:37:43 ---> 7ce40e605c7c 05:37:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:37:43 ---> Running in 9556ece27550 05:37:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:37:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:37:46 OK: 272 MiB in 60 packages 05:37:47 Removing intermediate container 9556ece27550 05:37:47 ---> 8537e0696ca3 05:37:47 Step 6/22 : WORKDIR /device-modbus-go 05:37:48 ---> Running in c851a9c8a9bb 05:37:48 Removing intermediate container c851a9c8a9bb 05:37:48 ---> f2ff0266913c 05:37:48 Step 7/22 : COPY go.mod vendor* ./ 05:37:49 ---> 90ee901021fe 05:37:49 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:37:49 ---> Running in cbcb1b69e2b2 05:37:51 Removing intermediate container cbcb1b69e2b2 05:37:51 ---> 6e19b174e2ba 05:37:51 Step 9/22 : COPY . . 05:37:52 ---> 47de74c0e857 05:37:52 Step 10/22 : RUN ${MAKE} 05:37:52 ---> Running in 578f724c37c3 05:37:52 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.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:39:59 Removing intermediate container 578f724c37c3 05:39:59 ---> 3fac31786975 05:39:59 Step 11/22 : FROM alpine:3.18 05:39:59 3.18: Pulling from library/alpine 05:39:59 579b34f0a95b: Pulling fs layer 05:39:59 579b34f0a95b: Verifying Checksum 05:39:59 579b34f0a95b: Download complete 05:39:59 579b34f0a95b: Pull complete 05:39:59 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:39:59 Status: Downloaded newer image for alpine:3.18 05:39:59 ---> 3cc203321400 05:39:59 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:39:59 ---> Running in 6d8f57dfda22 05:39:59 Removing intermediate container 6d8f57dfda22 05:39:59 ---> e73b1b20b9b8 05:39:59 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:39:59 ---> Running in dc275baeb563 05:39:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:39:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:39:59 (1/1) Installing dumb-init (1.2.5-r2) 05:39:59 Executing busybox-1.36.1-r2.trigger 05:39:59 OK: 8 MiB in 16 packages 05:39:59 Removing intermediate container dc275baeb563 05:39:59 ---> 5bebab192d85 05:39:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:39:59 ---> 9ebcc9798474 05:39:59 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:39:59 ---> b1e66ebc00f3 05:39:59 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:39:59 ---> 0b3193afde68 05:39:59 Step 17/22 : EXPOSE 59901 05:39:59 ---> Running in 098d6bf0647c 05:39:59 Removing intermediate container 098d6bf0647c 05:39:59 ---> 55c5611d1fd2 05:39:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:39:59 ---> Running in 55456b12db78 05:40:00 Removing intermediate container 55456b12db78 05:40:00 ---> 6768e79e6cb9 05:40:00 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:40:00 ---> Running in be44033a2696 05:40:00 Removing intermediate container be44033a2696 05:40:00 ---> a9e2e52a7b3c 05:40:00 Step 20/22 : LABEL arch=arm64 05:40:00 ---> Running in 204642a5954e 05:40:00 Removing intermediate container 204642a5954e 05:40:00 ---> 9c4f109cf621 05:40:00 Step 21/22 : LABEL git_sha=f0567d3a692cf00c0b07daf83bb576ce12882e74 05:40:00 ---> Running in b6819ee9c3f9 05:40:00 Removing intermediate container b6819ee9c3f9 05:40:00 ---> ee33fbc3ada5 05:40:00 Step 22/22 : LABEL version=0.0.0 05:40:01 ---> Running in 3d9ca9801e2c 05:40:01 Removing intermediate container 3d9ca9801e2c 05:40:01 ---> 71dfb961dcc8 05:40:01 [Warning] One or more build-args [ARCH] were not consumed 05:40:01 Successfully built 71dfb961dcc8 05:40:01 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:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:40:02 05:40:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:40:04 arm64: Pulling from edgex-lftools-log-publisher 05:40:04 8998bd30e6a1: Pulling fs layer 05:40:04 04944245beec: Pulling fs layer 05:40:04 699f458cf7ca: Pulling fs layer 05:40:04 765212b225bb: Pulling fs layer 05:40:04 f23df028b6ca: Pulling fs layer 05:40:04 d65c8cfc05b1: Pulling fs layer 05:40:04 2437ff75d9bd: Pulling fs layer 05:40:04 d65c8cfc05b1: Waiting 05:40:04 765212b225bb: Waiting 05:40:04 f23df028b6ca: Waiting 05:40:04 2437ff75d9bd: Waiting 05:40:04 04944245beec: Verifying Checksum 05:40:04 04944245beec: Download complete 05:40:04 765212b225bb: Verifying Checksum 05:40:04 765212b225bb: Download complete 05:40:04 f23df028b6ca: Verifying Checksum 05:40:04 f23df028b6ca: Download complete 05:40:04 d65c8cfc05b1: Verifying Checksum 05:40:04 d65c8cfc05b1: Download complete 05:40:04 699f458cf7ca: Verifying Checksum 05:40:04 699f458cf7ca: Download complete 05:40:05 8998bd30e6a1: Verifying Checksum 05:40:05 8998bd30e6a1: Download complete 05:40:07 2437ff75d9bd: Verifying Checksum 05:40:07 2437ff75d9bd: Download complete 05:40:09 8998bd30e6a1: Pull complete 05:40:09 04944245beec: Pull complete 05:40:11 699f458cf7ca: Pull complete 05:40:11 765212b225bb: Pull complete 05:40:12 f23df028b6ca: Pull complete 05:40:12 d65c8cfc05b1: Pull complete 05:40:27 2437ff75d9bd: Pull complete 05:40:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:40:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:40:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:27 prd-ubuntu20.04-docker-arm64-4c-16g-8453 does not seem to be running inside a container 05:40:27 $ 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:40:30 $ docker top 7e25ab47609ccb89c53fc7e9c61d9332dec69e0e8dc907a6554ea5b49bdfe961 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:31 ---> job-cost.sh 05:40:31 lf-activate-venv: SKIPPING 05:40:31 INFO: No Stack... 05:40:31 INFO: Retrieving Pricing Info for: v3-standard-4 05:40:32 INFO: Archiving Costs [Pipeline] sh 05:40:32 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:40:32 + cut -d, -f6 [Pipeline] lock 05:40:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] 05:40:33 Resource [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] did not exist. Created. 05:40:33 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:40:33 /w/workspace/device-modbus-go/1@tmp/durable-2573143a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:40:33 + echo total: 0.10999999940395355 [Pipeline] stash 05:40:33 Warning: overwriting stash ‘stack-cost’ 05:40:33 Stashed 1 file(s) [Pipeline] } 05:40:33 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:40:33 $ docker stop --time=1 7e25ab47609ccb89c53fc7e9c61d9332dec69e0e8dc907a6554ea5b49bdfe961 05:40:35 $ docker rm -f --volumes 7e25ab47609ccb89c53fc7e9c61d9332dec69e0e8dc907a6554ea5b49bdfe961 [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:40:36 provisioning config files... 05:40:36 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/config8492171466087899128tmp [Pipeline] { [Pipeline] sh 05:40:36 + set +x 05:40:36 + + bashcurl -s -s -- https://codecov.io/bash 05:40:36 05:40:36 05:40:36 _____ _ 05:40:36 / ____| | | 05:40:36 | | ___ __| | ___ ___ _____ __ 05:40:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:40:36 | |___| (_) | (_| | __/ (_| (_) \ V / 05:40:36 \_____\___/ \__,_|\___|\___\___/ \_/ 05:40:36 Bash-1.0.6 05:40:36 05:40:36 05:40:36 ==> git version 2.25.1 found 05:40:36 ==> 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:40:36 Release-Date: 2020-01-08 05:40:36 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:40:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:40:36 ==> Jenkins CI detected. 05:40:36 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-507 05:40:36 project root: . 05:40:36 --> token set from env 05:40:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:40:36 ==> Running gcov in . (disable via -X gcov) 05:40:36 ==> Python coveragepy not found 05:40:36 ==> Searching for coverage reports in: 05:40:36 + . 05:40:36 -> Found 1 reports 05:40:36 ==> Detecting git/mercurial file structure 05:40:37 ==> Reading reports 05:40:37 + ./coverage.out bytes=24334 05:40:37 ==> Appending adjustments 05:40:37 https://docs.codecov.io/docs/fixing-reports 05:40:37 + Found adjustments 05:40:37 ==> Gzipping contents 05:40:37 4.0K /tmp/codecov.0K3IGd.gz 05:40:37 ==> Uploading reports 05:40:37 url: https://codecov.io 05:40:37 query: branch=PR-507&commit=f0567d3a692cf00c0b07daf83bb576ce12882e74&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=507&job=&cmd_args= 05:40:37 -> Pinging Codecov 05:40:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-507&commit=f0567d3a692cf00c0b07daf83bb576ce12882e74&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=507&job=&cmd_args= 05:40:37 -> Uploading to 05:40:37 https://storage.googleapis.com/codecov/v4/raw/2023-10-04/55DBCA73C666E3227836607328DD7E49/f0567d3a692cf00c0b07daf83bb576ce12882e74/ea60ec82-2146-4eb1-9daf-4bccc9404981.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T054037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0771c7d81672b2333f0d3d9fb3c172f1a0ad342888a6819594a8b561bc6c885c 05:40:37 % Total % Received % Xferd Average Speed Time Time Time Current 05:40:37 Dload Upload Total Spent Left Speed 05:40:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 19198 --:--:-- --:--:-- --:--:-- 19105 100 3974 0 0 100 3974 0 16627 --:--:-- --:--:-- --:--:-- 16558 05:40:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] } 05:40:37 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:40:39 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-507/archives ] 05:40:39 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-507/archives 05:40:39 total 16 05:40:39 drwxr-xr-x 3 root root 4096 Oct 4 05:33 . 05:40:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 05:33 .. 05:40:39 drwxr-xr-x 2 root root 4096 Oct 4 05:33 cost 05:40:39 -rw-r--r-- 1 root root 88 Oct 4 05:33 cost.csv 05:40:39 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-507/archives 05:40:39 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-507/archives 05:40:39 total 16 05:40:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:33 . 05:40:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 05:33 .. 05:40:39 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 05:33 cost 05:40:39 -rw-r--r-- 1 jenkins jenkins 88 Oct 4 05:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:40:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:40:40 ---> package-listing.sh 05:40:40 ++ facter osfamily 05:40:40 ++ tr '[:upper:]' '[:lower:]' 05:40:40 + OS_FAMILY=debian 05:40:40 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-507 05:40:40 + START_PACKAGES=/tmp/packages_start.txt 05:40:40 + END_PACKAGES=/tmp/packages_end.txt 05:40:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:40:40 + PACKAGES=/tmp/packages_start.txt 05:40:40 + '[' /w/workspace/xfoundry_device-modbus-go_PR-507 ']' 05:40:40 + PACKAGES=/tmp/packages_end.txt 05:40:40 + case "${OS_FAMILY}" in 05:40:40 + dpkg -l 05:40:40 + grep '^ii' 05:40:40 + '[' -f /tmp/packages_start.txt ']' 05:40:40 + '[' -f /tmp/packages_end.txt ']' 05:40:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:40:40 + '[' /w/workspace/xfoundry_device-modbus-go_PR-507 ']' 05:40:40 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-507/archives/ 05:40:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-507/archives/ [Pipeline] echo 05:40:41 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-507/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:40:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:40:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:42 prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container 05:40:42 $ 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-507/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-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:40:42 $ docker top 45606451aec5fbfab9df7aae508767ec6252b760baf1c3ed309c23af476e12f5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:42 + touch /tmp/pre-build-complete [Pipeline] sh 05:40:43 + mkdir -p /var/log/sysstat [Pipeline] sh 05:40:43 + ls /var/log/sa-host 05:40:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:43 provisioning config files... 05:40:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/config12274799194045957270tmp [Pipeline] { [Pipeline] echo 05:40:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:40:43 ---> create-netrc.sh [Pipeline] } 05:40:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:40:44 ---> python-tools-install.sh [Pipeline] echo 05:40:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:40:44 ---> sudo-logs.sh 05:40:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:40:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:40:45 ---> job-cost.sh 05:40:45 lf-activate-venv: SKIPPING 05:40:45 DEBUG: total: 0.2199999988079071 05:40:45 INFO: Retrieving Stack Cost... 05:40:45 INFO: Retrieving Pricing Info for: v3-standard-8 05:40:45 INFO: Archiving Costs [Pipeline] echo 05:40:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:40:46 ---> logs-deploy.sh 05:40:46 lf-activate-venv: SKIPPING 05:40:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-507/1 05:40:46 INFO: archiving workspace using pattern(s): 05:40:47 Archives upload complete. 05:40:47 INFO: archiving logs to Nexus