Pull request #472 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 9b66715b8b241736f2c193df6e5011bc294930f2 rather than c5e98415a4e0f41d678991d34a286e6ffa2ced9c Obtained Jenkinsfile from 9b66715b8b241736f2c193df6e5011bc294930f2 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-ssh5497559383148471199.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7648627713413846296.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-472/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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh29121839489166644.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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1916440912598373248.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2428741058487083085.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-472/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-472/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8794636238008985768.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14450 in /w/workspace/xfoundry_device-modbus-go_PR-472 [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-472 # 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/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9b66715b8b241736f2c193df6e5011bc294930f2 into PR head commit c5e98415a4e0f41d678991d34a286e6ffa2ced9c Merge succeeded, producing c5e98415a4e0f41d678991d34a286e6ffa2ced9c Checking out Revision c5e98415a4e0f41d678991d34a286e6ffa2ced9c (PR-472) > git config core.sparsecheckout # timeout=10 > git checkout -f c5e98415a4e0f41d678991d34a286e6ffa2ced9c # 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 9b66715b8b241736f2c193df6e5011bc294930f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5e98415a4e0f41d678991d34a286e6ffa2ced9c # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:36:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:36:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:36:03 ========================================================= 04:36:03 EdgeX Global Pipelines Version Info 04:36:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:36:04 ------------------- 04:36:04 stable info: 04:36:04 ------------------- 04:36:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:36:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:36:04 Message: update stable to v1.0.249 04:36:04 ------------------- 04:36:04 experimental info: 04:36:04 ------------------- 04:36:04 Commited By: **** collab-it+edgex@linuxfoundation.org 04:36:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:36:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:36:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-472 [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-472 [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-472 [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5e98415a4e0f41d678991d34a286e6ffa2ced9c [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5e9841 [Pipeline] echo 04:36:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:06 provisioning config files... 04:36:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp/config15257868893946387541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:06 ---> docker-login.sh 04:36:06 nexus3.edgexfoundry.org:10001 04:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:07 Configure a credential helper to remove this warning. See 04:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:07 04:36:07 Login Succeeded 04:36:07 nexus3.edgexfoundry.org:10002 04:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:07 Configure a credential helper to remove this warning. See 04:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:07 04:36:07 Login Succeeded 04:36:07 nexus3.edgexfoundry.org:10003 04:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:07 Configure a credential helper to remove this warning. See 04:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:07 04:36:07 Login Succeeded 04:36:07 nexus3.edgexfoundry.org:10004 04:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:07 Configure a credential helper to remove this warning. See 04:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:07 04:36:07 Login Succeeded 04:36:07 docker.io 04:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:07 Configure a credential helper to remove this warning. See 04:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:07 04:36:07 Login Succeeded 04:36:07 ---> docker-login.sh ends [Pipeline] } 04:36:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:36:08 + git rev-list -1 --merges c5e98415a4e0f41d678991d34a286e6ffa2ced9c~1..c5e98415a4e0f41d678991d34a286e6ffa2ced9c [Pipeline] echo 04:36:08 -----------> git rev-list -1 --merges c5e98415a4e0f41d678991d34a286e6ffa2ced9c~1..c5e98415a4e0f41d678991d34a286e6ffa2ced9c c5e98415a4e0f41d678991d34a286e6ffa2ced9c [false] [Pipeline] sh 04:36:08 + git log --format=format:%s -1 c5e98415a4e0f41d678991d34a286e6ffa2ced9c [Pipeline] echo 04:36:08 ========================================================= 04:36:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:36:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:36:09 + git log --format=format:%s -1 c5e98415a4e0f41d678991d34a286e6ffa2ced9c [Pipeline] echo 04:36:09 [semverPrep] GIT_COMMIT: c5e98415a4e0f41d678991d34a286e6ffa2ced9c, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo 04:36:09 [semverPrep] This is not a build commit. [Pipeline] sh 04:36:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:36:09 + grep -v github /etc/ssh/ssh_known_hosts 04:36:09 + [ -e /tmp/ssh_known_hosts ] 04:36:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:36:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:36:09 + sudo tee -a /etc/ssh/ssh_known_hosts 04:36:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:36:10 04:36:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:36:10 0.1.4: Pulling from edgex-devops/py-git-semver 04:36:10 b85a868b505f: Pulling fs layer 04:36:10 e2be974225ed: Pulling fs layer 04:36:10 339a4e72a1f5: Pulling fs layer 04:36:10 988bab9f4d93: Pulling fs layer 04:36:10 1469e6f7b9e6: Pulling fs layer 04:36:10 eaf3925da568: Pulling fs layer 04:36:10 bab4dde63d76: Pulling fs layer 04:36:10 bde34c3a00c8: Pulling fs layer 04:36:10 b352a97aabf1: Pulling fs layer 04:36:10 4872d77fe225: Pulling fs layer 04:36:10 5851b861e8e6: Pulling fs layer 04:36:10 bab4dde63d76: Waiting 04:36:10 bde34c3a00c8: Waiting 04:36:10 b352a97aabf1: Waiting 04:36:10 4872d77fe225: Waiting 04:36:10 5851b861e8e6: Waiting 04:36:10 988bab9f4d93: Waiting 04:36:10 1469e6f7b9e6: Waiting 04:36:10 eaf3925da568: Waiting 04:36:10 e2be974225ed: Verifying Checksum 04:36:10 e2be974225ed: Download complete 04:36:10 988bab9f4d93: Download complete 04:36:10 339a4e72a1f5: Verifying Checksum 04:36:10 339a4e72a1f5: Download complete 04:36:10 1469e6f7b9e6: Verifying Checksum 04:36:10 1469e6f7b9e6: Download complete 04:36:10 eaf3925da568: Verifying Checksum 04:36:10 eaf3925da568: Download complete 04:36:10 bde34c3a00c8: Verifying Checksum 04:36:10 b352a97aabf1: Download complete 04:36:10 4872d77fe225: Verifying Checksum 04:36:10 4872d77fe225: Download complete 04:36:10 5851b861e8e6: Download complete 04:36:10 b85a868b505f: Verifying Checksum 04:36:10 b85a868b505f: Download complete 04:36:10 bab4dde63d76: Verifying Checksum 04:36:10 bab4dde63d76: Download complete 04:36:11 b85a868b505f: Pull complete 04:36:12 e2be974225ed: Pull complete 04:36:12 339a4e72a1f5: Pull complete 04:36:12 988bab9f4d93: Pull complete 04:36:12 1469e6f7b9e6: Pull complete 04:36:12 eaf3925da568: Pull complete 04:36:14 bab4dde63d76: Pull complete 04:36:14 bde34c3a00c8: Pull complete 04:36:14 b352a97aabf1: Pull complete 04:36:15 4872d77fe225: Pull complete 04:36:15 5851b861e8e6: Pull complete 04:36:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:36:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:15 prd-ubuntu20.04-docker-8c-8g-14450 does not seem to be running inside a container 04:36:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-472 -v /w/workspace/xfoundry_device-modbus-go_PR-472:/w/workspace/xfoundry_device-modbus-go_PR-472:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-472@tmp:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:36:16 $ docker top 301264c72a9afee95645980b9ca2657bddc75560e0cbd1c412c6073de4ec722c -eo pid,comm 04:36:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:36:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:16 [ssh-agent] Looking for ssh-agent implementation... 04:36:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:16 $ docker exec 301264c72a9afee95645980b9ca2657bddc75560e0cbd1c412c6073de4ec722c ssh-agent 04:36:17 SSH_AUTH_SOCK=/tmp/ssh-vrch30Xm0D23/agent.33 04:36:17 SSH_AGENT_PID=39 04:36:17 Running ssh-add (command line suppressed) 04:36:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-472@tmp/private_key_17184271218367142688.key (/w/workspace/xfoundry_device-modbus-go_PR-472@tmp/private_key_17184271218367142688.key) 04:36:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:17 + git tag --points-at HEAD [Pipeline] } 04:36:17 $ docker exec --env ******** --env ******** 301264c72a9afee95645980b9ca2657bddc75560e0cbd1c412c6073de4ec722c ssh-agent -k 04:36:17 unset SSH_AUTH_SOCK; 04:36:17 unset SSH_AGENT_PID; 04:36:17 echo Agent pid 39 killed; 04:36:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:36:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:17 [ssh-agent] Looking for ssh-agent implementation... 04:36:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:17 $ docker exec 301264c72a9afee95645980b9ca2657bddc75560e0cbd1c412c6073de4ec722c ssh-agent 04:36:17 SSH_AUTH_SOCK=/tmp/ssh-8SqaaUq9uRy6/agent.71 04:36:17 SSH_AGENT_PID=77 04:36:17 Running ssh-add (command line suppressed) 04:36:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-472@tmp/private_key_17640101157746316290.key (/w/workspace/xfoundry_device-modbus-go_PR-472@tmp/private_key_17640101157746316290.key) 04:36:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:18 + git semver init 04:36:18 2023-05-08 04:36:18,576 [run_init] DEBUG init version:0.0.0 force:False 04:36:18 2023-05-08 04:36:18,576 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-472/.semver 04:36:18 2023-05-08 04:36:18,577 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-472/.semver 04:36:18 2023-05-08 04:36:18,577 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-472/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-472, universal_newlines=False, shell=None, istream=None) 04:36:19 2023-05-08 04:36:19,301 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-472/.git/info/exclude 04:36:19 2023-05-08 04:36:19,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-472/.semver/PR-472 with force:False 04:36:19 2023-05-08 04:36:19,302 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-472/.semver/PR-472 04:36:19 2023-05-08 04:36:19,306 [execute] INFO git cat-file --batch-check 04:36:19 2023-05-08 04:36:19,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-472/.semver, universal_newlines=False, shell=None, istream=) 04:36:19 2023-05-08 04:36:19,314 [execute] INFO git cat-file --batch 04:36:19 2023-05-08 04:36:19,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-472/.semver, universal_newlines=False, shell=None, istream=) 04:36:19 2023-05-08 04:36:19,321 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-472/.semver/PR-472 04:36:19 0.0.0 [Pipeline] } 04:36:19 $ docker exec --env ******** --env ******** 301264c72a9afee95645980b9ca2657bddc75560e0cbd1c412c6073de4ec722c ssh-agent -k 04:36:19 unset SSH_AUTH_SOCK; 04:36:19 unset SSH_AGENT_PID; 04:36:19 echo Agent pid 77 killed; 04:36:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:20 + git semver [Pipeline] } 04:36:20 $ docker stop --time=1 301264c72a9afee95645980b9ca2657bddc75560e0cbd1c412c6073de4ec722c 04:36:21 $ docker rm -f --volumes 301264c72a9afee95645980b9ca2657bddc75560e0cbd1c412c6073de4ec722c [Pipeline] // withDockerContainer [Pipeline] sh 04:36:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:36:22 Stashed 1 file(s) [Pipeline] echo 04:36:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:23 provisioning config files... 04:36:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp/config2209073098277246587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:23 ---> docker-login.sh 04:36:23 nexus3.edgexfoundry.org:10001 04:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:23 Configure a credential helper to remove this warning. See 04:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:23 04:36:23 Login Succeeded 04:36:23 nexus3.edgexfoundry.org:10002 04:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:23 Configure a credential helper to remove this warning. See 04:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:23 04:36:23 Login Succeeded 04:36:23 nexus3.edgexfoundry.org:10003 04:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:23 Configure a credential helper to remove this warning. See 04:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:23 04:36:23 Login Succeeded 04:36:23 nexus3.edgexfoundry.org:10004 04:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:23 Configure a credential helper to remove this warning. See 04:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:23 04:36:23 Login Succeeded 04:36:23 docker.io 04:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:23 Configure a credential helper to remove this warning. See 04:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:23 04:36:23 Login Succeeded 04:36:23 ---> docker-login.sh ends [Pipeline] } 04:36:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:36:24 ========================================================= 04:36:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:36:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:36:24 Sending build context to Docker daemon 6.481MB 04:36:24 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:36:24 Step 2/10 : FROM ${BASE} AS builder 04:36:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:36:24 f56be85fc22e: Pulling fs layer 04:36:24 85791d961cd3: Pulling fs layer 04:36:24 d694b5ae8c79: Pulling fs layer 04:36:24 9f32a84ed3da: Pulling fs layer 04:36:24 4d19c01a9841: Pulling fs layer 04:36:24 9325e15d5711: Pulling fs layer 04:36:24 556b6ee489ea: Pulling fs layer 04:36:24 c5a4b2cf53e6: Pulling fs layer 04:36:24 9325e15d5711: Waiting 04:36:24 556b6ee489ea: Waiting 04:36:24 9f32a84ed3da: Waiting 04:36:24 c5a4b2cf53e6: Waiting 04:36:24 4d19c01a9841: Waiting 04:36:24 85791d961cd3: Download complete 04:36:24 9f32a84ed3da: Verifying Checksum 04:36:24 4d19c01a9841: Verifying Checksum 04:36:24 4d19c01a9841: Download complete 04:36:24 f56be85fc22e: Verifying Checksum 04:36:24 f56be85fc22e: Download complete 04:36:24 9325e15d5711: Verifying Checksum 04:36:24 9325e15d5711: Download complete 04:36:24 f56be85fc22e: Pull complete 04:36:25 85791d961cd3: Pull complete 04:36:25 c5a4b2cf53e6: Verifying Checksum 04:36:25 c5a4b2cf53e6: Download complete 04:36:25 d694b5ae8c79: Verifying Checksum 04:36:25 d694b5ae8c79: Download complete 04:36:25 556b6ee489ea: Verifying Checksum 04:36:25 556b6ee489ea: Download complete 04:36:28 d694b5ae8c79: Pull complete 04:36:28 9f32a84ed3da: Pull complete 04:36:28 4d19c01a9841: Pull complete 04:36:28 9325e15d5711: Pull complete 04:36:31 556b6ee489ea: Pull complete 04:36:32 c5a4b2cf53e6: Pull complete 04:36:32 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:36:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:36:32 ---> c4be618373d6 04:36:32 Step 3/10 : ARG ADD_BUILD_TAGS="" 04:36:34 ---> Running in baab04f20ec5 04:36:34 Removing intermediate container baab04f20ec5 04:36:34 ---> e3f19d41e8c9 04:36:34 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:36:34 ---> Running in da0ddaf34a9c 04:36:34 Removing intermediate container da0ddaf34a9c 04:36:34 ---> 5162fb875a33 04:36:34 Step 5/10 : RUN apk add --update --no-cache make git openssh 04:36:34 ---> Running in 0d7c8dfba551 04:36:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:36:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:36:34 (1/8) Installing openssh-keygen (9.1_p1-r2) 04:36:34 (2/8) Installing libedit (20221030.3.1-r0) 04:36:34 (3/8) Installing openssh-client-common (9.1_p1-r2) 04:36:34 (4/8) Installing openssh-client-default (9.1_p1-r2) 04:36:34 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 04:36:34 (6/8) Installing openssh-server-common (9.1_p1-r2) 04:36:34 (7/8) Installing openssh-server (9.1_p1-r2) 04:36:34 (8/8) Installing openssh (9.1_p1-r2) 04:36:35 Executing busybox-1.35.0-r29.trigger 04:36:35 OK: 270 MiB in 61 packages 04:36:35 Removing intermediate container 0d7c8dfba551 04:36:35 ---> fe803cfe3d09 04:36:35 Step 6/10 : WORKDIR /device-modbus-go 04:36:35 ---> Running in c24944137df4 04:36:35 Removing intermediate container c24944137df4 04:36:35 ---> c12dc31026ad 04:36:35 Step 7/10 : COPY go.mod vendor* ./ 04:36:35 ---> d35fa6cdb477 04:36:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:35 ---> Running in c151a134c3d4 04:36:37 Still waiting to schedule task 04:36:37 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:36:37 ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:36:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14451’ is offline 04:36:53 Removing intermediate container c151a134c3d4 04:36:53 ---> 177a1ff650eb 04:36:53 Step 9/10 : COPY . . 04:36:53 ---> c228141f3126 04:36:53 Step 10/10 : RUN ${MAKE} 04:36:53 ---> Running in 1257211c4733 04:36:54 noop 04:36:54 Removing intermediate container 1257211c4733 04:36:54 ---> 6ca0809df3cb 04:36:54 Successfully built 6ca0809df3cb 04:36:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:54 + docker inspect -f . ci-base-image-x86_64 04:36:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:54 prd-ubuntu20.04-docker-8c-8g-14450 does not seem to be running inside a container 04:36:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-472 -v /w/workspace/xfoundry_device-modbus-go_PR-472:/w/workspace/xfoundry_device-modbus-go_PR-472:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-472@tmp:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:36:55 $ docker top 28787dbe0ab21fa3585ee137bbd8d9d5832bba32e014e57a926123bb37e89aee -eo pid,comm [Pipeline] { [Pipeline] sh 04:36:55 + go version 04:36:55 go version go1.20.2 linux/amd64 [Pipeline] } 04:36:55 $ docker stop --time=1 28787dbe0ab21fa3585ee137bbd8d9d5832bba32e014e57a926123bb37e89aee 04:36:56 $ docker rm -f --volumes 28787dbe0ab21fa3585ee137bbd8d9d5832bba32e014e57a926123bb37e89aee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:57 + docker inspect -f . ci-base-image-x86_64 04:36:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:57 prd-ubuntu20.04-docker-8c-8g-14450 does not seem to be running inside a container 04:36:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-472 -v /w/workspace/xfoundry_device-modbus-go_PR-472:/w/workspace/xfoundry_device-modbus-go_PR-472:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-472@tmp:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:36:58 $ docker top 4e207fc2ac2941493311dc0af272ecf2c4cfac65ff7e02998e4f626a90c7eb44 -eo pid,comm [Pipeline] { [Pipeline] sh 04:36:58 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-472 [Pipeline] fileExists [Pipeline] sh 04:36:58 + make test 04:36:58 go test ./... -coverprofile=coverage.out 04:37:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:37:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:37:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 04:37:20 go vet ./... 04:37:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14451 in /w/workspace/xfoundry_device-modbus-go_PR-472 [Pipeline] { [Pipeline] ws 04:37:21 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 04:37:21 Selected Git installation does not exist. Using Default 04:37:21 The recommended git tool is: NONE 04:37:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:37:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:37:24 ./bin/test-attribution-txt.sh [Pipeline] echo 04:37:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:37:24 $ docker stop --time=1 4e207fc2ac2941493311dc0af272ecf2c4cfac65ff7e02998e4f626a90c7eb44 04:37:26 $ docker rm -f --volumes 4e207fc2ac2941493311dc0af272ecf2c4cfac65ff7e02998e4f626a90c7eb44 [Pipeline] // withDockerContainer [Pipeline] sh 04:37:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:37:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:37:29 using credential edgex-jenkins-ssh 04:37:29 Cloning the remote Git repository 04:37:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:37:29 + ls -al . 04:37:29 total 180 04:37:29 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:36 . 04:37:29 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:35 .. 04:37:29 -rw-rw-r-- 1 jenkins jenkins 140 May 8 04:35 .dockerignore 04:37:29 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:36 .git 04:37:29 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 .github 04:37:29 -rw-rw-r-- 1 jenkins jenkins 331 May 8 04:35 .gitignore 04:37:29 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:35 .golangci.yml 04:37:29 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:36 .semver 04:37:29 -rw-rw-r-- 1 jenkins jenkins 10132 May 8 04:35 Attribution.txt 04:37:29 -rw-rw-r-- 1 jenkins jenkins 11576 May 8 04:35 CHANGELOG.md 04:37:29 -rw-rw-r-- 1 jenkins jenkins 1365 May 8 04:35 Dockerfile 04:37:29 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:35 GOVERNANCE.md 04:37:29 -rw-rw-r-- 1 jenkins jenkins 680 May 8 04:35 Jenkinsfile 04:37:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:35 LICENSE 04:37:29 -rw-rw-r-- 1 jenkins jenkins 1705 May 8 04:35 Makefile 04:37:29 -rw-rw-r-- 1 jenkins jenkins 622 May 8 04:35 OWNERS.md 04:37:29 -rw-rw-r-- 1 jenkins jenkins 4045 May 8 04:35 README.md 04:37:29 -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:36 VERSION 04:37:29 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:35 bin 04:37:29 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 cmd 04:37:29 -rw-r--r-- 1 jenkins jenkins 24160 May 8 04:37 coverage.out 04:37:29 -rw-rw-r-- 1 jenkins jenkins 3453 May 8 04:35 go.mod 04:37:29 -rw-rw-r-- 1 jenkins jenkins 31670 May 8 04:35 go.sum 04:37:29 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 internal 04:37:29 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:35 simulator 04:37:29 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:35 snap 04:37:29 -rw-rw-r-- 1 jenkins jenkins 229 May 8 04:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:30 + 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=c5e98415a4e0f41d678991d34a286e6ffa2ced9c --label arch=amd64 --label version=0.0.0 . 04:37:30 Sending build context to Docker daemon 6.506MB 04:37:30 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 04:37:30 Step 2/22 : FROM ${BASE} AS builder 04:37:30 ---> 6ca0809df3cb 04:37:30 Step 3/22 : ARG ADD_BUILD_TAGS="" 04:37:30 ---> Running in b7cfd342a0ae 04:37:30 Removing intermediate container b7cfd342a0ae 04:37:30 ---> 66eda0d0934d 04:37:30 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:37:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:37:29 > git init /w/workspace/device-modbus-go/1 # timeout=10 04:37:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:37:29 > git --version # timeout=10 04:37:29 > git --version # 'git version 2.25.1' 04:37:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:30 ---> Running in a424460ceb67 04:37:30 Removing intermediate container a424460ceb67 04:37:30 ---> e232f28cb83b 04:37:30 Step 5/22 : RUN apk add --update --no-cache make git openssh 04:37:30 ---> Running in 06d5fa919d5c 04:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:37:31 OK: 270 MiB in 61 packages 04:37:31 Removing intermediate container 06d5fa919d5c 04:37:31 ---> a3571d269fb1 04:37:31 Step 6/22 : WORKDIR /device-modbus-go 04:37:31 ---> Running in 36af2b69d0a1 04:37:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:37:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:32 Removing intermediate container 36af2b69d0a1 04:37:32 ---> 270a58eba3d2 04:37:32 Step 7/22 : COPY go.mod vendor* ./ 04:37:32 ---> 892fb8c49b5d 04:37:32 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:37:32 ---> Running in 4a6c71bf1c99 04:37:33 Removing intermediate container 4a6c71bf1c99 04:37:33 ---> 05b76c127f74 04:37:33 Step 9/22 : COPY . . 04:37:33 Merging remotes/origin/main commit 9b66715b8b241736f2c193df6e5011bc294930f2 into PR head commit c5e98415a4e0f41d678991d34a286e6ffa2ced9c 04:37:33 ---> a69aeefae363 04:37:33 Step 10/22 : RUN ${MAKE} 04:37:33 ---> Running in 481ad743c45d 04:37:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:37:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:37:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:37:33 > git config core.sparsecheckout # timeout=10 04:37:33 > git checkout -f c5e98415a4e0f41d678991d34a286e6ffa2ced9c # timeout=10 04:37:33 > git remote # timeout=10 04:37:33 > git config --get remote.origin.url # timeout=10 04:37:33 Merge succeeded, producing c5e98415a4e0f41d678991d34a286e6ffa2ced9c 04:37:33 Checking out Revision c5e98415a4e0f41d678991d34a286e6ffa2ced9c (PR-472) 04:37:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 04:37:33 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:33 > git merge 9b66715b8b241736f2c193df6e5011bc294930f2 # timeout=10 04:37:33 > git rev-parse HEAD^{commit} # timeout=10 04:37:33 > git config core.sparsecheckout # timeout=10 04:37:33 > git checkout -f c5e98415a4e0f41d678991d34a286e6ffa2ced9c # timeout=10 04:37:37 Commit message: "build: Ignore all go-mods except device-sdk-go" 04:37:37 > git --version # timeout=10 04:37:37 > git --version # 'git version 2.25.1' 04:37:37 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:37:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:37:38 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:38 Dload Upload Total Spent Left Speed 04:37:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 04:37:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:37:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:37:39 + sudo tee /etc/docker/daemon.new 04:37:39 { 04:37:39 "registry-mirrors": [ 04:37:39 "https://nexus3.edgexfoundry.org:10001" 04:37:39 ], 04:37:39 "bip": "10.250.0.254/24", 04:37:39 "hosts": [ 04:37:39 "tcp://0.0.0.0:5555", 04:37:39 "unix:///var/run/docker.sock" 04:37:39 ], 04:37:39 "mtu": 1458, 04:37:39 "selinux-enabled": true, 04:37:39 "seccomp-profile": "/etc/docker/seccomp.json" 04:37:39 } [Pipeline] sh 04:37:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:37:40 + sudo service docker restart 04:37:51 Removing intermediate container 481ad743c45d 04:37:51 ---> ea0ccedf665e 04:37:51 Step 11/22 : FROM alpine:3.17 04:37:51 3.17: Pulling from library/alpine 04:37:51 f56be85fc22e: Already exists 04:37:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:37:51 Status: Downloaded newer image for alpine:3.17 04:37:51 ---> 9ed4aefc74f6 04:37:51 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:37:51 ---> Running in 7af8d301da29 04:37:51 Removing intermediate container 7af8d301da29 04:37:51 ---> a29405e8e791 04:37:51 Step 13/22 : RUN apk add --update --no-cache dumb-init 04:37:51 ---> Running in 6231b7156a8c 04:37:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:37:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:37:52 (1/1) Installing dumb-init (1.2.5-r2) 04:37:52 Executing busybox-1.35.0-r29.trigger 04:37:52 OK: 7 MiB in 16 packages 04:37:52 Removing intermediate container 6231b7156a8c 04:37:52 ---> d39f7193ef7f 04:37:52 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 04:37:52 ---> d68d0e85953e 04:37:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 04:37:52 ---> 7a56711dd887 04:37:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:37:53 ---> 098a7a4a32b9 04:37:53 Step 17/22 : EXPOSE 59901 04:37:53 ---> Running in 2fddf02865d3 04:37:53 Removing intermediate container 2fddf02865d3 04:37:53 ---> e88217575fbe 04:37:53 Step 18/22 : ENTRYPOINT ["/device-modbus"] 04:37:53 ---> Running in 6e3da4239eba 04:37:53 Removing intermediate container 6e3da4239eba 04:37:53 ---> f4bd42e62c40 04:37:53 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:37:53 ---> Running in 91e5d6c19594 04:37:53 Removing intermediate container 91e5d6c19594 04:37:53 ---> b56b797639f6 04:37:53 Step 20/22 : LABEL arch=amd64 04:37:53 ---> Running in 1308cbb2c7e3 04:37:53 Removing intermediate container 1308cbb2c7e3 04:37:53 ---> 5b2ce2f1591b 04:37:53 Step 21/22 : LABEL git_sha=c5e98415a4e0f41d678991d34a286e6ffa2ced9c 04:37:53 ---> Running in 10cc5a84fa51 04:37:53 Removing intermediate container 10cc5a84fa51 04:37:53 ---> 0d9afaf1eec2 04:37:53 Step 22/22 : LABEL version=0.0.0 04:37:53 ---> Running in 7a001d67fb00 04:37:53 Removing intermediate container 7a001d67fb00 04:37:53 ---> 2071b5759d7d 04:37:53 [Warning] One or more build-args [ARCH] were not consumed 04:37:53 Successfully built 2071b5759d7d 04:37:53 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 04:37:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:54 04:37:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:55 latest: Pulling from edgex-lftools-log-publisher 04:37:55 5eb5b503b376: Pulling fs layer 04:37:55 5c69ac0246d0: Pulling fs layer 04:37:55 ec43610c2a17: Pulling fs layer 04:37:55 3a2ae6a8a46f: Pulling fs layer 04:37:55 33b1e0a273af: Pulling fs layer 04:37:55 5d3b04190fa2: Pulling fs layer 04:37:55 2f39f015ded8: Pulling fs layer 04:37:55 33b1e0a273af: Waiting 04:37:55 5d3b04190fa2: Waiting 04:37:55 3a2ae6a8a46f: Waiting 04:37:55 2f39f015ded8: Waiting 04:37:55 5c69ac0246d0: Download complete 04:37:55 3a2ae6a8a46f: Verifying Checksum 04:37:55 3a2ae6a8a46f: Download complete 04:37:55 ec43610c2a17: Verifying Checksum 04:37:55 ec43610c2a17: Download complete 04:37:55 5d3b04190fa2: Verifying Checksum 04:37:55 5d3b04190fa2: Download complete 04:37:55 33b1e0a273af: Verifying Checksum 04:37:55 33b1e0a273af: Download complete 04:37:55 5eb5b503b376: Verifying Checksum 04:37:55 5eb5b503b376: Download complete 04:37:55 2f39f015ded8: Verifying Checksum 04:37:55 2f39f015ded8: Download complete 04:37:56 5eb5b503b376: Pull complete 04:37:56 5c69ac0246d0: Pull complete 04:37:56 ec43610c2a17: Pull complete 04:37:57 3a2ae6a8a46f: Pull complete 04:37:57 33b1e0a273af: Pull complete 04:37:57 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:58 provisioning config files... 04:37:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config474963563871991527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:59 ---> docker-login.sh 04:37:59 nexus3.edgexfoundry.org:10001 04:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:00 Configure a credential helper to remove this warning. See 04:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:00 04:38:00 Login Succeeded 04:38:00 nexus3.edgexfoundry.org:10002 04:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:00 Configure a credential helper to remove this warning. See 04:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:00 04:38:00 Login Succeeded 04:38:00 nexus3.edgexfoundry.org:10003 04:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:01 Configure a credential helper to remove this warning. See 04:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:01 04:38:01 Login Succeeded 04:38:01 nexus3.edgexfoundry.org:10004 04:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:01 Configure a credential helper to remove this warning. See 04:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:01 04:38:01 Login Succeeded 04:38:01 docker.io 04:38:01 2f39f015ded8: Pull complete 04:38:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:38:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:38:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 04:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:01 prd-ubuntu20.04-docker-8c-8g-14450 does not seem to be running inside a container 04:38:01 $ 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-472 -v /w/workspace/xfoundry_device-modbus-go_PR-472:/w/workspace/xfoundry_device-modbus-go_PR-472:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-472@tmp:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:01 Configure a credential helper to remove this warning. See 04:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:01 04:38:01 Login Succeeded 04:38:01 ---> docker-login.sh ends 04:38:03 $ docker top d2ae5acb8a07d7b587a93909eac7be27d7ecb67c817f1e7718293942152bd562 -eo pid,comm [Pipeline] { [Pipeline] } 04:38:03 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:38:03 ---> job-cost.sh 04:38:03 lf-activate-venv: SKIPPING 04:38:03 INFO: No Stack... [Pipeline] echo 04:38:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:38:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:38:03 ========================================================= 04:38:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:38:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:04 INFO: Retrieving Pricing Info for: v3-standard-8 04:38:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:38:04 INFO: Archiving Costs [Pipeline] sh 04:38:04 + cat /w/workspace/xfoundry_device-modbus-go_PR-472/archives/cost.csv 04:38:04 + cut -d, -f6 [Pipeline] lock 04:38:04 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-472-1-stack-cost] 04:38:04 Resource [jenkins-edgexfoundry-device-modbus-go-PR-472-1-stack-cost] did not exist. Created. 04:38:04 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:38:05 + echo total: 0.2199999988079071 [Pipeline] stash 04:38:05 Stashed 1 file(s) [Pipeline] } 04:38:05 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:38:05 $ docker stop --time=1 d2ae5acb8a07d7b587a93909eac7be27d7ecb67c817f1e7718293942152bd562 04:38:05 Sending build context to Docker daemon 3.387MB 04:38:05 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:38:05 Step 2/10 : FROM ${BASE} AS builder 04:38:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:38:05 c41833b44d91: Pulling fs layer 04:38:05 ed15518f5707: Pulling fs layer 04:38:05 feae8fd75edb: Pulling fs layer 04:38:05 242c74f7c9fa: Pulling fs layer 04:38:05 3cdef696dda3: Pulling fs layer 04:38:05 2ced38df9373: Pulling fs layer 04:38:05 58f1dce35555: Pulling fs layer 04:38:05 3cdef696dda3: Waiting 04:38:05 2ced38df9373: Waiting 04:38:05 58f1dce35555: Waiting 04:38:05 242c74f7c9fa: Waiting 04:38:05 ed15518f5707: Download complete 04:38:05 242c74f7c9fa: Verifying Checksum 04:38:05 242c74f7c9fa: Download complete 04:38:05 3cdef696dda3: Verifying Checksum 04:38:05 3cdef696dda3: Download complete 04:38:06 c41833b44d91: Verifying Checksum 04:38:06 c41833b44d91: Download complete 04:38:06 $ docker rm -f --volumes d2ae5acb8a07d7b587a93909eac7be27d7ecb67c817f1e7718293942152bd562 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:38:07 c41833b44d91: Pull complete 04:38:07 58f1dce35555: Verifying Checksum 04:38:07 58f1dce35555: Download complete 04:38:07 ed15518f5707: Pull complete 04:38:08 feae8fd75edb: Verifying Checksum 04:38:08 feae8fd75edb: Download complete 04:38:08 2ced38df9373: Verifying Checksum 04:38:08 2ced38df9373: Download complete 04:38:21 feae8fd75edb: Pull complete 04:38:21 242c74f7c9fa: Pull complete 04:38:21 3cdef696dda3: Pull complete 04:38:28 2ced38df9373: Pull complete 04:38:33 58f1dce35555: Pull complete 04:38:33 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:38:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:38:33 ---> fadd8f120f05 04:38:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 04:38:35 ---> Running in aa98d496d8d0 04:38:35 Removing intermediate container aa98d496d8d0 04:38:35 ---> 9c7bbacf814e 04:38:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:38:35 ---> Running in 6cd8b78b4721 04:38:35 Removing intermediate container 6cd8b78b4721 04:38:35 ---> 28117a062c19 04:38:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 04:38:35 ---> Running in 416763e1f4ed 04:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:38:39 (1/8) Installing openssh-keygen (9.1_p1-r2) 04:38:39 (2/8) Installing libedit (20221030.3.1-r0) 04:38:39 (3/8) Installing openssh-client-common (9.1_p1-r2) 04:38:39 (4/8) Installing openssh-client-default (9.1_p1-r2) 04:38:39 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 04:38:39 (6/8) Installing openssh-server-common (9.1_p1-r2) 04:38:39 (7/8) Installing openssh-server (9.1_p1-r2) 04:38:39 (8/8) Installing openssh (9.1_p1-r2) 04:38:39 Executing busybox-1.35.0-r29.trigger 04:38:39 OK: 270 MiB in 61 packages 04:38:40 Removing intermediate container 416763e1f4ed 04:38:40 ---> 2657bb1f7cf0 04:38:40 Step 6/10 : WORKDIR /device-modbus-go 04:38:40 ---> Running in 543728226a2b 04:38:41 Removing intermediate container 543728226a2b 04:38:41 ---> 745c00397d54 04:38:41 Step 7/10 : COPY go.mod vendor* ./ 04:38:41 ---> 6c1492a0b0dc 04:38:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:38:41 ---> Running in 4311d187c8c1 04:39:49 Removing intermediate container 4311d187c8c1 04:39:49 ---> 29d3d1533c7c 04:39:49 Step 9/10 : COPY . . 04:39:49 ---> 647aec46d586 04:39:49 Step 10/10 : RUN ${MAKE} 04:39:49 ---> Running in 1983af6b44b7 04:39:49 noop 04:39:49 Removing intermediate container 1983af6b44b7 04:39:49 ---> ebd31d42b01c 04:39:49 Successfully built ebd31d42b01c 04:39:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:50 + docker inspect -f . ci-base-image-arm64 04:39:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:50 prd-ubuntu20.04-docker-arm64-4c-16g-14451 does not seem to be running inside a container 04:39:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:39:51 $ docker top c78779be6361a0bee528e32dd31752333684f40a3c5f92f55aea84038a82e687 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:52 + go version 04:39:52 go version go1.20.2 linux/arm64 [Pipeline] } 04:39:52 $ docker stop --time=1 c78779be6361a0bee528e32dd31752333684f40a3c5f92f55aea84038a82e687 04:39:54 $ docker rm -f --volumes c78779be6361a0bee528e32dd31752333684f40a3c5f92f55aea84038a82e687 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:55 + docker inspect -f . ci-base-image-arm64 04:39:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:55 prd-ubuntu20.04-docker-arm64-4c-16g-14451 does not seem to be running inside a container 04:39:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:39:57 $ docker top fbec9769878c3c4eec261ccff9d0739b16fee0bc7ef666475cc5af3d3710ae26 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 04:39:58 + make test 04:39:58 go test ./... -coverprofile=coverage.out 04:40:37 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:42:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:42:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.082s coverage: 47.4% of statements 04:42:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:42:49 go vet ./... 04:43:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:43:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:43:21 ./bin/test-attribution-txt.sh [Pipeline] echo 04:43:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:43:21 $ docker stop --time=1 fbec9769878c3c4eec261ccff9d0739b16fee0bc7ef666475cc5af3d3710ae26 04:43:23 $ docker rm -f --volumes fbec9769878c3c4eec261ccff9d0739b16fee0bc7ef666475cc5af3d3710ae26 [Pipeline] // withDockerContainer [Pipeline] sh 04:43:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:43:25 Warning: overwriting stash ‘coverage-report’ 04:43:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:43:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:43:26 + ls -al . 04:43:26 total 176 04:43:26 drwxrwxr-x 9 jenkins jenkins 4096 May 8 04:40 . 04:43:26 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:37 .. 04:43:26 -rw-rw-r-- 1 jenkins jenkins 140 May 8 04:37 .dockerignore 04:43:26 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:37 .git 04:43:26 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:37 .github 04:43:26 -rw-rw-r-- 1 jenkins jenkins 331 May 8 04:37 .gitignore 04:43:26 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:37 .golangci.yml 04:43:26 -rw-rw-r-- 1 jenkins jenkins 10132 May 8 04:37 Attribution.txt 04:43:26 -rw-rw-r-- 1 jenkins jenkins 11576 May 8 04:37 CHANGELOG.md 04:43:26 -rw-rw-r-- 1 jenkins jenkins 1365 May 8 04:37 Dockerfile 04:43:26 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:37 GOVERNANCE.md 04:43:26 -rw-rw-r-- 1 jenkins jenkins 680 May 8 04:37 Jenkinsfile 04:43:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:37 LICENSE 04:43:26 -rw-rw-r-- 1 jenkins jenkins 1705 May 8 04:37 Makefile 04:43:26 -rw-rw-r-- 1 jenkins jenkins 622 May 8 04:37 OWNERS.md 04:43:26 -rw-rw-r-- 1 jenkins jenkins 4045 May 8 04:37 README.md 04:43:26 -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:36 VERSION 04:43:26 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:37 bin 04:43:26 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:37 cmd 04:43:26 -rw-r--r-- 1 jenkins jenkins 24160 May 8 04:42 coverage.out 04:43:26 -rw-rw-r-- 1 jenkins jenkins 3453 May 8 04:37 go.mod 04:43:26 -rw-rw-r-- 1 jenkins jenkins 31670 May 8 04:37 go.sum 04:43:26 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:37 internal 04:43:26 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:37 simulator 04:43:26 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:37 snap 04:43:26 -rw-rw-r-- 1 jenkins jenkins 229 May 8 04:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:27 + 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=c5e98415a4e0f41d678991d34a286e6ffa2ced9c --label arch=arm64 --label version=0.0.0 . 04:43:27 Sending build context to Docker daemon 3.412MB 04:43:27 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 04:43:27 Step 2/22 : FROM ${BASE} AS builder 04:43:27 ---> ebd31d42b01c 04:43:27 Step 3/22 : ARG ADD_BUILD_TAGS="" 04:43:27 ---> Running in 8eef1132dd3e 04:43:28 Removing intermediate container 8eef1132dd3e 04:43:28 ---> 21b55e312ee0 04:43:28 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:43:28 ---> Running in 6db06c2d780a 04:43:28 Removing intermediate container 6db06c2d780a 04:43:28 ---> a3edab414d6c 04:43:28 Step 5/22 : RUN apk add --update --no-cache make git openssh 04:43:28 ---> Running in 6a8c14284c61 04:43:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:43:31 OK: 270 MiB in 61 packages 04:43:32 Removing intermediate container 6a8c14284c61 04:43:32 ---> 235e97f0a402 04:43:32 Step 6/22 : WORKDIR /device-modbus-go 04:43:32 ---> Running in 19d8ec74d33b 04:43:32 Removing intermediate container 19d8ec74d33b 04:43:32 ---> 0dc59ab2042b 04:43:32 Step 7/22 : COPY go.mod vendor* ./ 04:43:33 ---> e268e3ef2c57 04:43:33 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:33 ---> Running in 4f936551c91c 04:43:36 Removing intermediate container 4f936551c91c 04:43:36 ---> 021dec877f05 04:43:36 Step 9/22 : COPY . . 04:43:37 ---> b52a6b69dbe3 04:43:37 Step 10/22 : RUN ${MAKE} 04:43:37 ---> Running in 6f7682092da0 04:43:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 04:46:15 Removing intermediate container 6f7682092da0 04:46:15 ---> b73ea4f865de 04:46:15 Step 11/22 : FROM alpine:3.17 04:46:15 3.17: Pulling from library/alpine 04:46:15 c41833b44d91: Already exists 04:46:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:46:15 Status: Downloaded newer image for alpine:3.17 04:46:15 ---> 51e60588ff2c 04:46:15 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:46:15 ---> Running in f2981445d46f 04:46:15 Removing intermediate container f2981445d46f 04:46:15 ---> ff5700f7bb28 04:46:15 Step 13/22 : RUN apk add --update --no-cache dumb-init 04:46:15 ---> Running in 2545a7f3c7ec 04:46:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:46:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:46:15 (1/1) Installing dumb-init (1.2.5-r2) 04:46:15 Executing busybox-1.35.0-r29.trigger 04:46:15 OK: 8 MiB in 16 packages 04:46:15 Removing intermediate container 2545a7f3c7ec 04:46:15 ---> 79f0b17b7ce3 04:46:15 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 04:46:15 ---> a2e10bfb4d7a 04:46:15 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 04:46:15 ---> 14a494118aea 04:46:15 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:46:15 ---> 930466701497 04:46:15 Step 17/22 : EXPOSE 59901 04:46:15 ---> Running in dc5c1982f696 04:46:15 Removing intermediate container dc5c1982f696 04:46:15 ---> 49a5f63f6a09 04:46:15 Step 18/22 : ENTRYPOINT ["/device-modbus"] 04:46:15 ---> Running in db99dd6d2e1a 04:46:15 Removing intermediate container db99dd6d2e1a 04:46:15 ---> 277a034881fa 04:46:15 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:46:15 ---> Running in 69aa4179e114 04:46:15 Removing intermediate container 69aa4179e114 04:46:15 ---> de8e6f51985b 04:46:15 Step 20/22 : LABEL arch=arm64 04:46:15 ---> Running in 0977fb54e1b7 04:46:15 Removing intermediate container 0977fb54e1b7 04:46:15 ---> 8a562822ffe6 04:46:15 Step 21/22 : LABEL git_sha=c5e98415a4e0f41d678991d34a286e6ffa2ced9c 04:46:15 ---> Running in b48b3d475e62 04:46:15 Removing intermediate container b48b3d475e62 04:46:15 ---> 3257feceb1f1 04:46:15 Step 22/22 : LABEL version=0.0.0 04:46:15 ---> Running in 7f57b0611429 04:46:15 Removing intermediate container 7f57b0611429 04:46:15 ---> 590d04c68af9 04:46:15 [Warning] One or more build-args [ARCH] were not consumed 04:46:15 Successfully built 590d04c68af9 04:46:15 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 04:46:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:16 04:46:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:16 arm64: Pulling from edgex-lftools-log-publisher 04:46:16 8998bd30e6a1: Pulling fs layer 04:46:16 04944245beec: Pulling fs layer 04:46:16 699f458cf7ca: Pulling fs layer 04:46:16 765212b225bb: Pulling fs layer 04:46:16 f23df028b6ca: Pulling fs layer 04:46:16 d65c8cfc05b1: Pulling fs layer 04:46:16 2437ff75d9bd: Pulling fs layer 04:46:16 d65c8cfc05b1: Waiting 04:46:16 2437ff75d9bd: Waiting 04:46:16 765212b225bb: Waiting 04:46:16 f23df028b6ca: Waiting 04:46:16 04944245beec: Verifying Checksum 04:46:16 04944245beec: Download complete 04:46:16 765212b225bb: Verifying Checksum 04:46:16 765212b225bb: Download complete 04:46:16 f23df028b6ca: Verifying Checksum 04:46:16 f23df028b6ca: Download complete 04:46:16 d65c8cfc05b1: Verifying Checksum 04:46:16 d65c8cfc05b1: Download complete 04:46:17 699f458cf7ca: Verifying Checksum 04:46:17 699f458cf7ca: Download complete 04:46:17 8998bd30e6a1: Verifying Checksum 04:46:17 8998bd30e6a1: Download complete 04:46:19 2437ff75d9bd: Verifying Checksum 04:46:19 2437ff75d9bd: Download complete 04:46:21 8998bd30e6a1: Pull complete 04:46:21 04944245beec: Pull complete 04:46:23 699f458cf7ca: Pull complete 04:46:23 765212b225bb: Pull complete 04:46:24 f23df028b6ca: Pull complete 04:46:24 d65c8cfc05b1: Pull complete 04:46:39 2437ff75d9bd: Pull complete 04:46:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:46:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:39 prd-ubuntu20.04-docker-arm64-4c-16g-14451 does not seem to be running inside a container 04:46:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:46:42 $ docker top 8e48f94f4de53bf291b34e2487e540eab99e911ad100e5c7718e856fe1ee43cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:43 ---> job-cost.sh 04:46:43 lf-activate-venv: SKIPPING 04:46:43 INFO: No Stack... 04:46:44 INFO: Retrieving Pricing Info for: v3-standard-4 04:46:44 INFO: Archiving Costs [Pipeline] sh 04:46:45 + cat+ /w/workspace/device-modbus-go/1/archives/cost.csv 04:46:45 cut -d, -f6 [Pipeline] lock 04:46:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-472-1-stack-cost] 04:46:45 Resource [jenkins-edgexfoundry-device-modbus-go-PR-472-1-stack-cost] did not exist. Created. 04:46:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:46:46 /w/workspace/device-modbus-go/1@tmp/durable-3a7ec86b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:46:47 + echo total: 0.10999999940395355 [Pipeline] stash 04:46:47 Warning: overwriting stash ‘stack-cost’ 04:46:47 Stashed 1 file(s) [Pipeline] } 04:46:47 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:46:47 $ docker stop --time=1 8e48f94f4de53bf291b34e2487e540eab99e911ad100e5c7718e856fe1ee43cd 04:46:48 $ docker rm -f --volumes 8e48f94f4de53bf291b34e2487e540eab99e911ad100e5c7718e856fe1ee43cd [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 04:46:50 provisioning config files... 04:46:50 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp/config3634959886023165483tmp [Pipeline] { [Pipeline] sh 04:46:50 + set +x 04:46:50 + curl -s https://codecov.io/bash 04:46:50 + bash -s -- 04:46:50 04:46:50 _____ _ 04:46:50 / ____| | | 04:46:50 | | ___ __| | ___ ___ _____ __ 04:46:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:46:50 | |___| (_) | (_| | __/ (_| (_) \ V / 04:46:50 \_____\___/ \__,_|\___|\___\___/ \_/ 04:46:50 Bash-1.0.6 04:46:50 04:46:50 04:46:50 ==> git version 2.25.1 found 04:46:50 ==> 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 04:46:50 Release-Date: 2020-01-08 04:46:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:46:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:46:50 ==> Jenkins CI detected. 04:46:50 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-472 04:46:50 project root: . 04:46:50 --> token set from env 04:46:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:46:50 ==> Running gcov in . (disable via -X gcov) 04:46:50 ==> Python coveragepy not found 04:46:50 ==> Searching for coverage reports in: 04:46:50 + . 04:46:50 -> Found 1 reports 04:46:50 ==> Detecting git/mercurial file structure 04:46:50 ==> Reading reports 04:46:50 + ./coverage.out bytes=24160 04:46:50 ==> Appending adjustments 04:46:50 https://docs.codecov.io/docs/fixing-reports 04:46:50 + Found adjustments 04:46:50 ==> Gzipping contents 04:46:50 4.0K /tmp/codecov.ypJac5.gz 04:46:50 ==> Uploading reports 04:46:50 url: https://codecov.io 04:46:50 query: branch=PR-472&commit=c5e98415a4e0f41d678991d34a286e6ffa2ced9c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=472&job=&cmd_args= 04:46:50 -> Pinging Codecov 04:46:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-472&commit=c5e98415a4e0f41d678991d34a286e6ffa2ced9c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=472&job=&cmd_args= 04:46:50 -> Uploading to 04:46:50 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/55DBCA73C666E3227836607328DD7E49/c5e98415a4e0f41d678991d34a286e6ffa2ced9c/8e0f092d-96c6-40c1-9947-e046e7d7a147.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T044650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a272623062bb6902c15ff68694f42efd85694444b3437e50d47fe833f14f774 04:46:51 % Total % Received % Xferd Average Speed Time Time Time Current 04:46:51 Dload Upload Total Spent Left Speed 04:46:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17675 --:--:-- --:--:-- --:--:-- 17675 04:46:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c5e98415a4e0f41d678991d34a286e6ffa2ced9c [Pipeline] } 04:46:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:46:52 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-472/archives ] 04:46:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-472/archives 04:46:52 total 16 04:46:52 drwxr-xr-x 3 root root 4096 May 8 04:38 . 04:46:52 drwxrwxr-x 11 jenkins jenkins 4096 May 8 04:38 .. 04:46:52 drwxr-xr-x 2 root root 4096 May 8 04:38 cost 04:46:52 -rw-r--r-- 1 root root 88 May 8 04:38 cost.csv 04:46:52 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-472/archives 04:46:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-472/archives 04:46:52 total 16 04:46:52 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:38 . 04:46:52 drwxrwxr-x 11 jenkins jenkins 4096 May 8 04:38 .. 04:46:52 drwxr-xr-x 2 jenkins jenkins 4096 May 8 04:38 cost 04:46:52 -rw-r--r-- 1 jenkins jenkins 88 May 8 04:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:46:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:46:53 ---> package-listing.sh 04:46:53 ++ facter osfamily 04:46:53 ++ tr '[:upper:]' '[:lower:]' 04:46:54 + OS_FAMILY=debian 04:46:54 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-472 04:46:54 + START_PACKAGES=/tmp/packages_start.txt 04:46:54 + END_PACKAGES=/tmp/packages_end.txt 04:46:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:46:54 + PACKAGES=/tmp/packages_start.txt 04:46:54 + '[' /w/workspace/xfoundry_device-modbus-go_PR-472 ']' 04:46:54 + PACKAGES=/tmp/packages_end.txt 04:46:54 + case "${OS_FAMILY}" in 04:46:54 + dpkg -l 04:46:54 + grep '^ii' 04:46:54 + '[' -f /tmp/packages_start.txt ']' 04:46:54 + '[' -f /tmp/packages_end.txt ']' 04:46:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:46:54 + '[' /w/workspace/xfoundry_device-modbus-go_PR-472 ']' 04:46:54 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-472/archives/ 04:46:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-472/archives/ [Pipeline] echo 04:46:54 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-472/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:46:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:55 prd-ubuntu20.04-docker-8c-8g-14450 does not seem to be running inside a container 04:46:55 $ 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-472/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-472 -v /w/workspace/xfoundry_device-modbus-go_PR-472:/w/workspace/xfoundry_device-modbus-go_PR-472:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-472@tmp:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:46:55 $ docker top 859e00ff18a9f87d993b7170c4eabaefbd7fc3b7b66fe83b52456cfca0a55d38 -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:55 + touch /tmp/pre-build-complete [Pipeline] sh 04:46:56 + mkdir -p /var/log/sysstat [Pipeline] sh 04:46:56 + ls /var/log/sa-host 04:46:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:46:56 provisioning config files... 04:46:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-472@tmp/config10839372245737357837tmp [Pipeline] { [Pipeline] echo 04:46:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:46:57 ---> create-netrc.sh [Pipeline] } 04:46:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:46:57 ---> python-tools-install.sh [Pipeline] echo 04:46:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:46:57 ---> sudo-logs.sh 04:46:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:46:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:46:58 ---> job-cost.sh 04:46:58 lf-activate-venv: SKIPPING 04:46:58 DEBUG: total: 0.2199999988079071 04:46:58 INFO: Retrieving Stack Cost... 04:46:58 INFO: Retrieving Pricing Info for: v3-standard-8 04:46:59 INFO: Archiving Costs [Pipeline] echo 04:46:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:46:59 ---> logs-deploy.sh 04:46:59 lf-activate-venv: SKIPPING 04:46:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-472/1 04:46:59 INFO: archiving workspace using pattern(s): 04:47:00 Archives upload complete. 04:47:00 INFO: archiving logs to Nexus