Pull request #524 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 ejlee3 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 9f4d0dc455bc068a6d887d8b06ff3933833238be+83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 (6027d599cebb1ec7f134dc5ded3c47a287538bfd) 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-ssh4777719690357448362.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14558873268517822939.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-524/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-524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17028613748763014466.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-524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7062260123722860334.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh3320909273485155584.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-524/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-524/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14262905198092774466.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17045 in /w/workspace/xfoundry_device-modbus-go_PR-524 [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-524 # 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/524/head:refs/remotes/origin/PR-524 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit 9f4d0dc455bc068a6d887d8b06ff3933833238be Merge succeeded, producing 9f4d0dc455bc068a6d887d8b06ff3933833238be Checking out Revision 9f4d0dc455bc068a6d887d8b06ff3933833238be (PR-524) > git config core.sparsecheckout # timeout=10 > git checkout -f 9f4d0dc455bc068a6d887d8b06ff3933833238be # 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 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f4d0dc455bc068a6d887d8b06ff3933833238be # timeout=10 Commit message: "build: Update go mod for Napa" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:24:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:24:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:24:47 ========================================================= 18:24:47 EdgeX Global Pipelines Version Info 18:24:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:24:48 ------------------- 18:24:48 stable info: 18:24:48 ------------------- 18:24:48 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:24:48 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:24:48 Message: update stable to v1.0.257 18:24:48 ------------------- 18:24:48 experimental info: 18:24:48 ------------------- 18:24:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:24:48 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:24:48 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:24:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:24:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-524 [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-524 [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-524 [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f4d0dc455bc068a6d887d8b06ff3933833238be [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f4d0dc [Pipeline] echo 18:24:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:50 provisioning config files... 18:24:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-524@tmp/config3494044704134573648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:50 ---> docker-login.sh 18:24:50 nexus3.edgexfoundry.org:10001 18:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:51 Configure a credential helper to remove this warning. See 18:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:51 18:24:51 Login Succeeded 18:24:51 nexus3.edgexfoundry.org:10002 18:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:51 Configure a credential helper to remove this warning. See 18:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:51 18:24:51 Login Succeeded 18:24:51 nexus3.edgexfoundry.org:10003 18:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:51 Configure a credential helper to remove this warning. See 18:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:51 18:24:51 Login Succeeded 18:24:51 nexus3.edgexfoundry.org:10004 18:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:51 Configure a credential helper to remove this warning. See 18:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:51 18:24:51 Login Succeeded 18:24:51 docker.io 18:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:51 Configure a credential helper to remove this warning. See 18:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:51 18:24:51 Login Succeeded 18:24:51 ---> docker-login.sh ends [Pipeline] } 18:24:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:24:52 + git rev-list -1 --merges 9f4d0dc455bc068a6d887d8b06ff3933833238be~1..9f4d0dc455bc068a6d887d8b06ff3933833238be [Pipeline] echo 18:24:52 -----------> git rev-list -1 --merges 9f4d0dc455bc068a6d887d8b06ff3933833238be~1..9f4d0dc455bc068a6d887d8b06ff3933833238be 9f4d0dc455bc068a6d887d8b06ff3933833238be [false] [Pipeline] sh 18:24:53 + git log --format=format:%s -1 9f4d0dc455bc068a6d887d8b06ff3933833238be [Pipeline] echo 18:24:53 ========================================================= 18:24:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:24:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:24:53 + git log --format=format:%s -1 9f4d0dc455bc068a6d887d8b06ff3933833238be [Pipeline] echo 18:24:53 [semverPrep] GIT_COMMIT: 9f4d0dc455bc068a6d887d8b06ff3933833238be, Commit Message: build: Update go mod for Napa [Pipeline] echo 18:24:53 [semverPrep] This is not a build commit. [Pipeline] sh 18:24:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:24:53 + grep -v github /etc/ssh/ssh_known_hosts 18:24:53 + [ -e /tmp/ssh_known_hosts ] 18:24:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:24:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:24:53 + sudo tee -a /etc/ssh/ssh_known_hosts 18:24:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:54 18:24:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:54 0.1.4: Pulling from edgex-devops/py-git-semver 18:24:54 b85a868b505f: Pulling fs layer 18:24:54 e2be974225ed: Pulling fs layer 18:24:54 339a4e72a1f5: Pulling fs layer 18:24:54 988bab9f4d93: Pulling fs layer 18:24:54 1469e6f7b9e6: Pulling fs layer 18:24:54 eaf3925da568: Pulling fs layer 18:24:54 bab4dde63d76: Pulling fs layer 18:24:54 bde34c3a00c8: Pulling fs layer 18:24:54 b352a97aabf1: Pulling fs layer 18:24:54 4872d77fe225: Pulling fs layer 18:24:54 5851b861e8e6: Pulling fs layer 18:24:54 1469e6f7b9e6: Waiting 18:24:54 4872d77fe225: Waiting 18:24:54 5851b861e8e6: Waiting 18:24:54 eaf3925da568: Waiting 18:24:54 b352a97aabf1: Waiting 18:24:54 bab4dde63d76: Waiting 18:24:54 bde34c3a00c8: Waiting 18:24:54 988bab9f4d93: Waiting 18:24:54 e2be974225ed: Verifying Checksum 18:24:54 e2be974225ed: Download complete 18:24:54 988bab9f4d93: Verifying Checksum 18:24:54 988bab9f4d93: Download complete 18:24:55 1469e6f7b9e6: Verifying Checksum 18:24:55 1469e6f7b9e6: Download complete 18:24:55 eaf3925da568: Download complete 18:24:55 339a4e72a1f5: Verifying Checksum 18:24:55 339a4e72a1f5: Download complete 18:24:55 bde34c3a00c8: Verifying Checksum 18:24:55 bde34c3a00c8: Download complete 18:24:55 b352a97aabf1: Verifying Checksum 18:24:55 b352a97aabf1: Download complete 18:24:55 4872d77fe225: Download complete 18:24:55 5851b861e8e6: Verifying Checksum 18:24:55 b85a868b505f: Verifying Checksum 18:24:55 b85a868b505f: Download complete 18:24:55 bab4dde63d76: Verifying Checksum 18:24:55 bab4dde63d76: Download complete 18:24:56 b85a868b505f: Pull complete 18:24:56 e2be974225ed: Pull complete 18:24:56 339a4e72a1f5: Pull complete 18:24:56 988bab9f4d93: Pull complete 18:24:57 1469e6f7b9e6: Pull complete 18:24:57 eaf3925da568: Pull complete 18:24:59 bab4dde63d76: Pull complete 18:24:59 bde34c3a00c8: Pull complete 18:24:59 b352a97aabf1: Pull complete 18:24:59 4872d77fe225: Pull complete 18:24:59 5851b861e8e6: Pull complete 18:24:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:24:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:59 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 18:24:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-524 -v /w/workspace/xfoundry_device-modbus-go_PR-524:/w/workspace/xfoundry_device-modbus-go_PR-524:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-524@tmp:/w/workspace/xfoundry_device-modbus-go_PR-524@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 18:25:03 $ docker top 04f67cbe5fb19568caa129adbc27f9811a28f951429932948f90ba3e0c2461cd -eo pid,comm 18:25:03 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). 18:25:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:25:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:25:03 [ssh-agent] Looking for ssh-agent implementation... 18:25:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:25:03 $ docker exec 04f67cbe5fb19568caa129adbc27f9811a28f951429932948f90ba3e0c2461cd ssh-agent 18:25:03 SSH_AUTH_SOCK=/tmp/ssh-yN9B4eqzg7nQ/agent.32 18:25:03 SSH_AGENT_PID=38 18:25:03 Running ssh-add (command line suppressed) 18:25:03 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-524@tmp/private_key_9079718573453873566.key (/w/workspace/xfoundry_device-modbus-go_PR-524@tmp/private_key_9079718573453873566.key) 18:25:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:25:03 + git tag --points-at HEAD [Pipeline] } 18:25:03 $ docker exec --env ******** --env ******** 04f67cbe5fb19568caa129adbc27f9811a28f951429932948f90ba3e0c2461cd ssh-agent -k 18:25:04 unset SSH_AUTH_SOCK; 18:25:04 unset SSH_AGENT_PID; 18:25:04 echo Agent pid 38 killed; 18:25:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:25:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:25:04 [ssh-agent] Looking for ssh-agent implementation... 18:25:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:25:04 $ docker exec 04f67cbe5fb19568caa129adbc27f9811a28f951429932948f90ba3e0c2461cd ssh-agent 18:25:04 SSH_AUTH_SOCK=/tmp/ssh-Klj7aZ2DxHTK/agent.70 18:25:04 SSH_AGENT_PID=75 18:25:04 Running ssh-add (command line suppressed) 18:25:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-524@tmp/private_key_13730192218883661346.key (/w/workspace/xfoundry_device-modbus-go_PR-524@tmp/private_key_13730192218883661346.key) 18:25:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:25:04 + git semver init 18:25:05 2023-11-08 18:25:05,025 [run_init] DEBUG init version:0.0.0 force:False 18:25:05 2023-11-08 18:25:05,026 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-524/.semver 18:25:05 2023-11-08 18:25:05,026 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-524/.semver 18:25:05 2023-11-08 18:25:05,026 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-524/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-524, universal_newlines=False, shell=None, istream=None) 18:25:06 2023-11-08 18:25:05,986 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-524/.git/info/exclude 18:25:06 2023-11-08 18:25:05,986 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-524/.semver/PR-524 with force:False 18:25:06 2023-11-08 18:25:05,986 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-524/.semver/PR-524 18:25:06 2023-11-08 18:25:05,990 [execute] INFO git cat-file --batch-check 18:25:06 2023-11-08 18:25:05,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-524/.semver, universal_newlines=False, shell=None, istream=) 18:25:06 2023-11-08 18:25:05,997 [execute] INFO git cat-file --batch 18:25:06 2023-11-08 18:25:05,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-524/.semver, universal_newlines=False, shell=None, istream=) 18:25:06 2023-11-08 18:25:06,002 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-524/.semver/PR-524 18:25:06 0.0.0 [Pipeline] } 18:25:06 $ docker exec --env ******** --env ******** 04f67cbe5fb19568caa129adbc27f9811a28f951429932948f90ba3e0c2461cd ssh-agent -k 18:25:06 unset SSH_AUTH_SOCK; 18:25:06 unset SSH_AGENT_PID; 18:25:06 echo Agent pid 75 killed; 18:25:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:25:06 + git semver [Pipeline] } 18:25:06 $ docker stop --time=1 04f67cbe5fb19568caa129adbc27f9811a28f951429932948f90ba3e0c2461cd 18:25:08 $ docker rm -f --volumes 04f67cbe5fb19568caa129adbc27f9811a28f951429932948f90ba3e0c2461cd [Pipeline] // withDockerContainer [Pipeline] sh 18:25:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:25:08 Stashed 1 file(s) [Pipeline] echo 18:25:08 [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 18:25:09 provisioning config files... 18:25:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-524@tmp/config15142604140435090706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:09 ---> docker-login.sh 18:25:09 nexus3.edgexfoundry.org:10001 18:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:09 Configure a credential helper to remove this warning. See 18:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:09 18:25:09 Login Succeeded 18:25:09 nexus3.edgexfoundry.org:10002 18:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:09 Configure a credential helper to remove this warning. See 18:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:09 18:25:09 Login Succeeded 18:25:09 nexus3.edgexfoundry.org:10003 18:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:10 Configure a credential helper to remove this warning. See 18:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:10 18:25:10 Login Succeeded 18:25:10 nexus3.edgexfoundry.org:10004 18:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:10 Configure a credential helper to remove this warning. See 18:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:10 18:25:10 Login Succeeded 18:25:10 docker.io 18:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:10 Configure a credential helper to remove this warning. See 18:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:10 18:25:10 Login Succeeded 18:25:10 ---> docker-login.sh ends [Pipeline] } 18:25:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:25:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:25:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:25:10 ========================================================= 18:25:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:25:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:25:11 Sending build context to Docker daemon 6.588MB 18:25:11 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:25:11 Step 2/10 : FROM ${BASE} AS builder 18:25:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:25:11 7264a8db6415: Pulling fs layer 18:25:11 c4d48a809fc2: Pulling fs layer 18:25:11 4f1c88b9dad5: Pulling fs layer 18:25:11 ad3a456e5733: Pulling fs layer 18:25:11 33e27b845d1e: Pulling fs layer 18:25:11 c68163c4e522: Pulling fs layer 18:25:11 50da416c3ac9: Pulling fs layer 18:25:11 23d2d4c4bb30: Pulling fs layer 18:25:11 ad3a456e5733: Waiting 18:25:11 33e27b845d1e: Waiting 18:25:11 c68163c4e522: Waiting 18:25:11 50da416c3ac9: Waiting 18:25:11 c4d48a809fc2: Verifying Checksum 18:25:11 c4d48a809fc2: Download complete 18:25:11 ad3a456e5733: Verifying Checksum 18:25:11 ad3a456e5733: Download complete 18:25:11 33e27b845d1e: Verifying Checksum 18:25:11 33e27b845d1e: Download complete 18:25:11 7264a8db6415: Verifying Checksum 18:25:11 7264a8db6415: Download complete 18:25:11 c68163c4e522: Verifying Checksum 18:25:11 c68163c4e522: Download complete 18:25:11 7264a8db6415: Pull complete 18:25:11 23d2d4c4bb30: Verifying Checksum 18:25:11 23d2d4c4bb30: Download complete 18:25:11 c4d48a809fc2: Pull complete 18:25:12 4f1c88b9dad5: Verifying Checksum 18:25:12 4f1c88b9dad5: Download complete 18:25:12 50da416c3ac9: Verifying Checksum 18:25:12 50da416c3ac9: Download complete 18:25:15 4f1c88b9dad5: Pull complete 18:25:15 ad3a456e5733: Pull complete 18:25:15 33e27b845d1e: Pull complete 18:25:15 c68163c4e522: Pull complete 18:25:18 50da416c3ac9: Pull complete 18:25:18 23d2d4c4bb30: Pull complete 18:25:18 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:25:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:25:18 ---> 0786185ac409 18:25:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 18:25:23 ---> Running in f8998aa45b1f 18:25:24 Removing intermediate container f8998aa45b1f 18:25:24 ---> fda14ca99bd0 18:25:24 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:25:24 ---> Running in 8e9264ae1684 18:25:24 Removing intermediate container 8e9264ae1684 18:25:24 ---> adef465c7f58 18:25:24 Step 5/10 : RUN apk add --update --no-cache make git openssh 18:25:24 ---> Running in 8f9cafe3fbea 18:25:24 Still waiting to schedule task 18:25:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:25:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:25:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:25:24 (1/8) Installing openssh-keygen (9.3_p2-r0) 18:25:24 (2/8) Installing libedit (20221030.3.1-r1) 18:25:24 (3/8) Installing openssh-client-common (9.3_p2-r0) 18:25:24 (4/8) Installing openssh-client-default (9.3_p2-r0) 18:25:25 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 18:25:25 (6/8) Installing openssh-server-common (9.3_p2-r0) 18:25:25 (7/8) Installing openssh-server (9.3_p2-r0) 18:25:25 (8/8) Installing openssh (9.3_p2-r0) 18:25:25 Executing busybox-1.36.1-r2.trigger 18:25:25 OK: 270 MiB in 60 packages 18:25:25 Removing intermediate container 8f9cafe3fbea 18:25:25 ---> f75b101c81c3 18:25:25 Step 6/10 : WORKDIR /device-modbus-go 18:25:25 ---> Running in 1c5de3c5abe5 18:25:25 Removing intermediate container 1c5de3c5abe5 18:25:25 ---> 5d78734b517e 18:25:25 Step 7/10 : COPY go.mod vendor* ./ 18:25:25 ---> 986231925f56 18:25:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:25 ---> Running in 718bf6ad8e6e 18:26:04 Removing intermediate container 718bf6ad8e6e 18:26:04 ---> f4a3205d93d1 18:26:04 Step 9/10 : COPY . . 18:26:04 ---> 0e74c9bf8c03 18:26:04 Step 10/10 : RUN ${MAKE} 18:26:04 ---> Running in 4146e59089e3 18:26:04 noop 18:26:04 Removing intermediate container 4146e59089e3 18:26:04 ---> b716c0773f15 18:26:04 Successfully built b716c0773f15 18:26:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:05 + docker inspect -f . ci-base-image-x86_64 18:26:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:05 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 18:26:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-524 -v /w/workspace/xfoundry_device-modbus-go_PR-524:/w/workspace/xfoundry_device-modbus-go_PR-524:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-524@tmp:/w/workspace/xfoundry_device-modbus-go_PR-524@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 18:26:05 $ docker top 6e1f375c8ff0cbc1818c6425ae513f19aa619de6709dec264a49ad21c757e09d -eo pid,comm [Pipeline] { [Pipeline] sh 18:26:06 + go version 18:26:06 go version go1.21.0 linux/amd64 [Pipeline] } 18:26:06 $ docker stop --time=1 6e1f375c8ff0cbc1818c6425ae513f19aa619de6709dec264a49ad21c757e09d 18:26:07 $ docker rm -f --volumes 6e1f375c8ff0cbc1818c6425ae513f19aa619de6709dec264a49ad21c757e09d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:08 + docker inspect -f . ci-base-image-x86_64 18:26:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:08 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 18:26:08 $ 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-524 -v /w/workspace/xfoundry_device-modbus-go_PR-524:/w/workspace/xfoundry_device-modbus-go_PR-524:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-524@tmp:/w/workspace/xfoundry_device-modbus-go_PR-524@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 18:26:08 $ docker top 9f93a928e876fcd9a2b66007ad34b60272c9a24f39907c56dcd7a3e0bd59743b -eo pid,comm [Pipeline] { [Pipeline] sh 18:26:09 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-524 [Pipeline] fileExists [Pipeline] sh 18:26:09 + make test 18:26:09 go test ./... -coverprofile=coverage.out 18:26:11 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:26:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:26:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 18:26:27 go vet ./... 18:26:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:26:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:26:31 ./bin/test-attribution-txt.sh [Pipeline] echo 18:26:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:26:31 $ docker stop --time=1 9f93a928e876fcd9a2b66007ad34b60272c9a24f39907c56dcd7a3e0bd59743b 18:26:35 $ docker rm -f --volumes 9f93a928e876fcd9a2b66007ad34b60272c9a24f39907c56dcd7a3e0bd59743b [Pipeline] // withDockerContainer [Pipeline] sh 18:26:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:26:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:26:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:26:37 + ls -al . 18:26:37 total 188 18:26:37 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 18:26 . 18:26:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:24 .. 18:26:37 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 18:24 .dockerignore 18:26:37 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:26 .git 18:26:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:24 .github 18:26:37 -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 18:24 .gitignore 18:26:37 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:24 .golangci.yml 18:26:37 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:25 .semver 18:26:37 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 8 18:24 Attribution.txt 18:26:37 -rw-rw-r-- 1 jenkins jenkins 14764 Nov 8 18:24 CHANGELOG.md 18:26:37 -rw-rw-r-- 1 jenkins jenkins 1365 Nov 8 18:24 Dockerfile 18:26:37 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:24 GOVERNANCE.md 18:26:37 -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 18:24 Jenkinsfile 18:26:37 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:24 LICENSE 18:26:37 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 8 18:24 Makefile 18:26:37 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 18:24 OWNERS.md 18:26:37 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 18:24 README.md 18:26:37 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:25 VERSION 18:26:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:24 bin 18:26:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:24 cmd 18:26:37 -rw-r--r-- 1 jenkins jenkins 24334 Nov 8 18:26 coverage.out 18:26:37 -rw-rw-r-- 1 jenkins jenkins 3895 Nov 8 18:24 go.mod 18:26:37 -rw-rw-r-- 1 jenkins jenkins 35342 Nov 8 18:24 go.sum 18:26:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:24 internal 18:26:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:24 simulator 18:26:37 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 18:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:37 + 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=9f4d0dc455bc068a6d887d8b06ff3933833238be --label arch=amd64 --label version=0.0.0 . 18:26:37 Sending build context to Docker daemon 6.613MB 18:26:37 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 18:26:37 Step 2/22 : FROM ${BASE} AS builder 18:26:37 ---> b716c0773f15 18:26:37 Step 3/22 : ARG ADD_BUILD_TAGS="" 18:26:38 ---> Running in 031f2df2e01c 18:26:38 Removing intermediate container 031f2df2e01c 18:26:38 ---> f246f45d29be 18:26:38 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:26:38 ---> Running in 4645d2046315 18:26:38 Removing intermediate container 4645d2046315 18:26:38 ---> ef7aa5e2a302 18:26:38 Step 5/22 : RUN apk add --update --no-cache make git openssh 18:26:38 ---> Running in 230aac6f2925 18:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:26:38 OK: 270 MiB in 60 packages 18:26:39 Removing intermediate container 230aac6f2925 18:26:39 ---> 7425dc2d6606 18:26:39 Step 6/22 : WORKDIR /device-modbus-go 18:26:39 ---> Running in 80ea23f14a21 18:26:39 Removing intermediate container 80ea23f14a21 18:26:39 ---> d5d19fbf3cfe 18:26:39 Step 7/22 : COPY go.mod vendor* ./ 18:26:39 ---> 6c8cf1bf0b64 18:26:39 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:26:39 ---> Running in fde9f182e591 18:26:39 Removing intermediate container fde9f182e591 18:26:39 ---> c4f5ab0925d4 18:26:39 Step 9/22 : COPY . . 18:26:40 ---> c083b952bfe4 18:26:40 Step 10/22 : RUN ${MAKE} 18:26:40 ---> Running in 27d6b1e32bd8 18:26:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 18:27:07 Removing intermediate container 27d6b1e32bd8 18:27:07 ---> 021b214c98fb 18:27:07 Step 11/22 : FROM alpine:3.18 18:27:07 3.18: Pulling from library/alpine 18:27:07 96526aa774ef: Pulling fs layer 18:27:07 96526aa774ef: Verifying Checksum 18:27:07 96526aa774ef: Download complete 18:27:07 96526aa774ef: Pull complete 18:27:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:27:07 Status: Downloaded newer image for alpine:3.18 18:27:07 ---> 8ca4688f4f35 18:27:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:27:07 ---> Running in b6feec741a08 18:27:07 Removing intermediate container b6feec741a08 18:27:07 ---> b73e8eb1ce9c 18:27:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 18:27:07 ---> Running in 40e7e0356597 18:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:27:07 (1/1) Installing dumb-init (1.2.5-r2) 18:27:07 Executing busybox-1.36.1-r2.trigger 18:27:07 OK: 7 MiB in 16 packages 18:27:07 Removing intermediate container 40e7e0356597 18:27:07 ---> 7caa19f90834 18:27:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:27:07 ---> 3623096ca097 18:27:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:27:07 ---> e65b968d933a 18:27:07 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:27:07 ---> 2b297d623f18 18:27:07 Step 17/22 : EXPOSE 59901 18:27:07 ---> Running in 996f5f2a000f 18:27:07 Removing intermediate container 996f5f2a000f 18:27:07 ---> bcb3fff8df42 18:27:07 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:27:07 ---> Running in 607b40123b3c 18:27:07 Removing intermediate container 607b40123b3c 18:27:07 ---> 1319a9793964 18:27:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:27:07 ---> Running in 61c26d76471c 18:27:07 Removing intermediate container 61c26d76471c 18:27:07 ---> 34701d797442 18:27:07 Step 20/22 : LABEL arch=amd64 18:27:07 ---> Running in 6dea16f4bbb5 18:27:07 Removing intermediate container 6dea16f4bbb5 18:27:07 ---> 01c702ea628d 18:27:07 Step 21/22 : LABEL git_sha=9f4d0dc455bc068a6d887d8b06ff3933833238be 18:27:07 ---> Running in 8d5198f7fac9 18:27:07 Removing intermediate container 8d5198f7fac9 18:27:07 ---> fefafca4b529 18:27:07 Step 22/22 : LABEL version=0.0.0 18:27:07 ---> Running in 0f91fcd1ca8c 18:27:07 Removing intermediate container 0f91fcd1ca8c 18:27:07 ---> acfe8d0f9242 18:27:07 [Warning] One or more build-args [ARCH] were not consumed 18:27:07 Successfully built acfe8d0f9242 18:27:07 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 18:27:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:08 18:27:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17046 in /w/workspace/xfoundry_device-modbus-go_PR-524 [Pipeline] { [Pipeline] ws 18:27:08 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 18:27:09 Selected Git installation does not exist. Using Default 18:27:09 The recommended git tool is: NONE 18:27:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:09 latest: Pulling from edgex-lftools-log-publisher 18:27:09 5eb5b503b376: Pulling fs layer 18:27:09 5c69ac0246d0: Pulling fs layer 18:27:09 ec43610c2a17: Pulling fs layer 18:27:09 3a2ae6a8a46f: Pulling fs layer 18:27:09 33b1e0a273af: Pulling fs layer 18:27:09 5d3b04190fa2: Pulling fs layer 18:27:09 2f39f015ded8: Pulling fs layer 18:27:09 33b1e0a273af: Waiting 18:27:09 3a2ae6a8a46f: Waiting 18:27:09 2f39f015ded8: Waiting 18:27:09 5d3b04190fa2: Waiting 18:27:09 5c69ac0246d0: Download complete 18:27:09 3a2ae6a8a46f: Verifying Checksum 18:27:09 3a2ae6a8a46f: Download complete 18:27:09 33b1e0a273af: Verifying Checksum 18:27:09 33b1e0a273af: Download complete 18:27:09 5d3b04190fa2: Verifying Checksum 18:27:09 5d3b04190fa2: Download complete 18:27:09 ec43610c2a17: Verifying Checksum 18:27:09 ec43610c2a17: Download complete 18:27:09 5eb5b503b376: Verifying Checksum 18:27:09 5eb5b503b376: Download complete 18:27:09 2f39f015ded8: Download complete 18:27:10 5eb5b503b376: Pull complete 18:27:10 5c69ac0246d0: Pull complete 18:27:11 ec43610c2a17: Pull complete 18:27:11 3a2ae6a8a46f: Pull complete 18:27:11 33b1e0a273af: Pull complete 18:27:11 5d3b04190fa2: Pull complete 18:27:13 using credential edgex-jenkins-ssh 18:27:14 Cloning the remote Git repository 18:27:14 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:27:14 > git init /w/workspace/device-modbus-go/1 # timeout=10 18:27:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:27:14 > git --version # timeout=10 18:27:14 > git --version # 'git version 2.25.1' 18:27:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:27:15 2f39f015ded8: Pull complete 18:27:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:27:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:16 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 18:27:16 $ 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-524 -v /w/workspace/xfoundry_device-modbus-go_PR-524:/w/workspace/xfoundry_device-modbus-go_PR-524:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-524@tmp:/w/workspace/xfoundry_device-modbus-go_PR-524@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 18:27:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:27:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:27:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:27:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:27:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/524/head:refs/remotes/origin/PR-524 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:27:19 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit 9f4d0dc455bc068a6d887d8b06ff3933833238be 18:27:19 Merge succeeded, producing 9f4d0dc455bc068a6d887d8b06ff3933833238be 18:27:19 Checking out Revision 9f4d0dc455bc068a6d887d8b06ff3933833238be (PR-524) 18:27:19 > git config core.sparsecheckout # timeout=10 18:27:19 > git checkout -f 9f4d0dc455bc068a6d887d8b06ff3933833238be # timeout=10 18:27:19 > git remote # timeout=10 18:27:19 > git config --get remote.origin.url # timeout=10 18:27:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:19 > git merge 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 18:27:19 > git rev-parse HEAD^{commit} # timeout=10 18:27:19 > git config core.sparsecheckout # timeout=10 18:27:19 > git checkout -f 9f4d0dc455bc068a6d887d8b06ff3933833238be # timeout=10 18:27:21 $ docker top 75c2b455b4b0d9708f3f115c07a8a6fc6d21ac579d41acd5c53f9aa47c102569 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:22 ---> job-cost.sh 18:27:22 lf-activate-venv: SKIPPING 18:27:22 INFO: No Stack... 18:27:22 INFO: Retrieving Pricing Info for: v3-standard-8 18:27:22 INFO: Archiving Costs [Pipeline] sh 18:27:22 + + cat /w/workspace/xfoundry_device-modbus-go_PR-524/archives/cost.csv 18:27:22 cut -d, -f6 [Pipeline] lock 18:27:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-524-1-stack-cost] 18:27:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-524-1-stack-cost] did not exist. Created. 18:27:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-524-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:27:23 + echo total: 0.2199999988079071 [Pipeline] stash 18:27:23 Stashed 1 file(s) [Pipeline] } 18:27:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-524-1-stack-cost] 18:27:23 Commit message: "build: Update go mod for Napa" [Pipeline] // lock [Pipeline] } 18:27:23 $ docker stop --time=1 75c2b455b4b0d9708f3f115c07a8a6fc6d21ac579d41acd5c53f9aa47c102569 18:27:23 > git --version # timeout=10 18:27:23 > git --version # 'git version 2.25.1' 18:27:23 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:27:23 18:27:23 GitHub has been notified of this commit’s build result 18:27:23 18:27:24 $ docker rm -f --volumes 75c2b455b4b0d9708f3f115c07a8a6fc6d21ac579d41acd5c53f9aa47c102569 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:27:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:27:25 Dload Upload Total Spent Left Speed 18:27:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 18:27:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:27:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:27:26 + sudo tee /etc/docker/daemon.new 18:27:26 { 18:27:26 "registry-mirrors": [ 18:27:26 "https://nexus3.edgexfoundry.org:10001" 18:27:26 ], 18:27:26 "bip": "10.250.0.254/24", 18:27:26 "hosts": [ 18:27:26 "tcp://0.0.0.0:5555", 18:27:26 "unix:///var/run/docker.sock" 18:27:26 ], 18:27:26 "mtu": 1458, 18:27:26 "selinux-enabled": true, 18:27:26 "seccomp-profile": "/etc/docker/seccomp.json" 18:27:26 } [Pipeline] sh 18:27:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:27:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:49 provisioning config files... 18:27:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6952069736817995799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:49 ---> docker-login.sh 18:27:49 nexus3.edgexfoundry.org:10001 18:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:50 Configure a credential helper to remove this warning. See 18:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:50 18:27:50 Login Succeeded 18:27:50 nexus3.edgexfoundry.org:10002 18:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:51 Configure a credential helper to remove this warning. See 18:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:51 18:27:51 Login Succeeded 18:27:51 nexus3.edgexfoundry.org:10003 18:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:51 Configure a credential helper to remove this warning. See 18:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:51 18:27:51 Login Succeeded 18:27:51 nexus3.edgexfoundry.org:10004 18:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:51 Configure a credential helper to remove this warning. See 18:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:51 18:27:51 Login Succeeded 18:27:51 docker.io 18:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:52 Configure a credential helper to remove this warning. See 18:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:52 18:27:52 Login Succeeded 18:27:52 ---> docker-login.sh ends [Pipeline] } 18:27:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:27:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:27:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:27:52 ========================================================= 18:27:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:27:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:27:53 Sending build context to Docker daemon 3.415MB 18:27:53 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:27:53 Step 2/10 : FROM ${BASE} AS builder 18:27:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:27:54 9fda8d8052c6: Pulling fs layer 18:27:54 5d54e960e981: Pulling fs layer 18:27:54 c4a7e357bf2a: Pulling fs layer 18:27:54 f0e02332f6b5: Pulling fs layer 18:27:54 cefa15bbcfad: Pulling fs layer 18:27:54 17808c966233: Pulling fs layer 18:27:54 f4c1fc716caa: Pulling fs layer 18:27:54 cefa15bbcfad: Waiting 18:27:54 17808c966233: Waiting 18:27:54 f4c1fc716caa: Waiting 18:27:54 5d54e960e981: Verifying Checksum 18:27:54 5d54e960e981: Download complete 18:27:54 f0e02332f6b5: Verifying Checksum 18:27:54 f0e02332f6b5: Download complete 18:27:54 cefa15bbcfad: Verifying Checksum 18:27:54 cefa15bbcfad: Download complete 18:27:54 9fda8d8052c6: Verifying Checksum 18:27:54 9fda8d8052c6: Download complete 18:27:54 f4c1fc716caa: Verifying Checksum 18:27:54 f4c1fc716caa: Download complete 18:27:55 9fda8d8052c6: Pull complete 18:27:55 5d54e960e981: Pull complete 18:27:56 c4a7e357bf2a: Verifying Checksum 18:27:56 c4a7e357bf2a: Download complete 18:27:57 17808c966233: Verifying Checksum 18:27:57 17808c966233: Download complete 18:28:09 c4a7e357bf2a: Pull complete 18:28:09 f0e02332f6b5: Pull complete 18:28:09 cefa15bbcfad: Pull complete 18:28:17 17808c966233: Pull complete 18:28:19 f4c1fc716caa: Pull complete 18:28:19 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:28:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:28:19 ---> ea914061e18c 18:28:19 Step 3/10 : ARG ADD_BUILD_TAGS="" 18:28:20 ---> Running in 2828063ca381 18:28:20 Removing intermediate container 2828063ca381 18:28:20 ---> 9736cda1577a 18:28:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:28:20 ---> Running in 2c562ab442da 18:28:20 Removing intermediate container 2c562ab442da 18:28:20 ---> 81b240175335 18:28:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 18:28:20 ---> Running in e9b7c2c902ca 18:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:28:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:28:23 (1/8) Installing openssh-keygen (9.3_p2-r0) 18:28:23 (2/8) Installing libedit (20221030.3.1-r1) 18:28:23 (3/8) Installing openssh-client-common (9.3_p2-r0) 18:28:23 (4/8) Installing openssh-client-default (9.3_p2-r0) 18:28:23 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 18:28:23 (6/8) Installing openssh-server-common (9.3_p2-r0) 18:28:23 (7/8) Installing openssh-server (9.3_p2-r0) 18:28:23 (8/8) Installing openssh (9.3_p2-r0) 18:28:23 Executing busybox-1.36.1-r2.trigger 18:28:23 OK: 272 MiB in 60 packages 18:28:27 Removing intermediate container e9b7c2c902ca 18:28:27 ---> ef2eeeff140a 18:28:27 Step 6/10 : WORKDIR /device-modbus-go 18:28:27 ---> Running in 9d1cde262afa 18:28:27 Removing intermediate container 9d1cde262afa 18:28:27 ---> c5d26ab9a367 18:28:27 Step 7/10 : COPY go.mod vendor* ./ 18:28:28 ---> cd452678a1c2 18:28:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:28:28 ---> Running in 0612fd1bba9c 18:29:50 Removing intermediate container 0612fd1bba9c 18:29:50 ---> 9619f7f7a0bb 18:29:50 Step 9/10 : COPY . . 18:29:50 ---> 93a5ceafce40 18:29:50 Step 10/10 : RUN ${MAKE} 18:29:50 ---> Running in 93a13f885190 18:29:50 noop 18:29:50 Removing intermediate container 93a13f885190 18:29:50 ---> f8d654534a35 18:29:50 Successfully built f8d654534a35 18:29:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:50 + docker inspect -f . ci-base-image-arm64 18:29:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:50 prd-ubuntu20.04-docker-arm64-4c-16g-17046 does not seem to be running inside a container 18:29:51 $ 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 18:29:52 $ docker top aef73f05c0c713bf8fb7b5a7af647b8ba6f1b8070aafd97a24ff35777118725b -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:53 + go version 18:29:53 go version go1.21.0 linux/arm64 [Pipeline] } 18:29:53 $ docker stop --time=1 aef73f05c0c713bf8fb7b5a7af647b8ba6f1b8070aafd97a24ff35777118725b 18:29:54 $ docker rm -f --volumes aef73f05c0c713bf8fb7b5a7af647b8ba6f1b8070aafd97a24ff35777118725b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:55 + docker inspect -f . ci-base-image-arm64 18:29:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:55 prd-ubuntu20.04-docker-arm64-4c-16g-17046 does not seem to be running inside a container 18:29: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 18:29:57 $ docker top 6e184093d2ab02d92857477967a1879e41bff6fd77713f7df178851a4454da8f -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 18:29:58 + make test 18:29:58 go test ./... -coverprofile=coverage.out 18:30:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:31:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:31:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.9% of statements 18:31:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:31:39 go vet ./... 18:31:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:31:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:31:55 ./bin/test-attribution-txt.sh [Pipeline] echo 18:31:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:31:56 $ docker stop --time=1 6e184093d2ab02d92857477967a1879e41bff6fd77713f7df178851a4454da8f 18:31:58 $ docker rm -f --volumes 6e184093d2ab02d92857477967a1879e41bff6fd77713f7df178851a4454da8f [Pipeline] // withDockerContainer [Pipeline] sh 18:31:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:31:59 Warning: overwriting stash ‘coverage-report’ 18:32:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:32:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:32:01 + ls -al . 18:32:01 total 184 18:32:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:30 . 18:32:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:27 .. 18:32:01 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 18:27 .dockerignore 18:32:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:27 .git 18:32:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:27 .github 18:32:01 -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 18:27 .gitignore 18:32:01 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:27 .golangci.yml 18:32:01 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 8 18:27 Attribution.txt 18:32:01 -rw-rw-r-- 1 jenkins jenkins 14764 Nov 8 18:27 CHANGELOG.md 18:32:01 -rw-rw-r-- 1 jenkins jenkins 1365 Nov 8 18:27 Dockerfile 18:32:01 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:27 GOVERNANCE.md 18:32:01 -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 18:27 Jenkinsfile 18:32:01 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:27 LICENSE 18:32:01 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 8 18:27 Makefile 18:32:01 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 18:27 OWNERS.md 18:32:01 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 18:27 README.md 18:32:01 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:25 VERSION 18:32:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:27 bin 18:32:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:27 cmd 18:32:01 -rw-r--r-- 1 jenkins jenkins 24334 Nov 8 18:31 coverage.out 18:32:01 -rw-rw-r-- 1 jenkins jenkins 3895 Nov 8 18:27 go.mod 18:32:01 -rw-rw-r-- 1 jenkins jenkins 35342 Nov 8 18:27 go.sum 18:32:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:27 internal 18:32:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:27 simulator 18:32:01 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:01 + 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=9f4d0dc455bc068a6d887d8b06ff3933833238be --label arch=arm64 --label version=0.0.0 . 18:32:02 Sending build context to Docker daemon 3.44MB 18:32:02 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 18:32:02 Step 2/22 : FROM ${BASE} AS builder 18:32:02 ---> f8d654534a35 18:32:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 18:32:03 ---> Running in e13a1619fd78 18:32:03 Removing intermediate container e13a1619fd78 18:32:03 ---> 06f4cdaf914e 18:32:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:32:03 ---> Running in 03c7dd142253 18:32:04 Removing intermediate container 03c7dd142253 18:32:04 ---> 8b9a979c075a 18:32:04 Step 5/22 : RUN apk add --update --no-cache make git openssh 18:32:04 ---> Running in faa9246d9abc 18:32:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:32:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:32:07 OK: 272 MiB in 60 packages 18:32:10 Removing intermediate container faa9246d9abc 18:32:10 ---> 458dc388f1e2 18:32:10 Step 6/22 : WORKDIR /device-modbus-go 18:32:10 ---> Running in e1a22b750a13 18:32:11 Removing intermediate container e1a22b750a13 18:32:11 ---> 43c21b042743 18:32:11 Step 7/22 : COPY go.mod vendor* ./ 18:32:12 ---> aa342a0169c7 18:32:12 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:12 ---> Running in f6b835355346 18:32:14 Removing intermediate container f6b835355346 18:32:14 ---> 79a22f9aedde 18:32:14 Step 9/22 : COPY . . 18:32:15 ---> 09375fa38e88 18:32:15 Step 10/22 : RUN ${MAKE} 18:32:15 ---> Running in b6795635bcc7 18:32:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 18:34:08 Removing intermediate container b6795635bcc7 18:34:08 ---> 595bd9a6c07e 18:34:08 Step 11/22 : FROM alpine:3.18 18:34:08 3.18: Pulling from library/alpine 18:34:08 579b34f0a95b: Pulling fs layer 18:34:08 579b34f0a95b: Download complete 18:34:08 579b34f0a95b: Pull complete 18:34:08 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:34:08 Status: Downloaded newer image for alpine:3.18 18:34:08 ---> 3cc203321400 18:34:08 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:34:08 ---> Running in 2938fc3109b4 18:34:08 Removing intermediate container 2938fc3109b4 18:34:08 ---> b601f3d5ab9e 18:34:08 Step 13/22 : RUN apk add --update --no-cache dumb-init 18:34:08 ---> Running in 791890db1bea 18:34:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:34:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:34:08 (1/1) Installing dumb-init (1.2.5-r2) 18:34:08 Executing busybox-1.36.1-r2.trigger 18:34:08 OK: 8 MiB in 16 packages 18:34:09 Removing intermediate container 791890db1bea 18:34:09 ---> ad364b44e9f7 18:34:09 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:34:11 ---> 85bc3431d66c 18:34:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:34:16 ---> 7ff839dabce6 18:34:16 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:34:17 ---> 7dce902689dc 18:34:17 Step 17/22 : EXPOSE 59901 18:34:17 ---> Running in d8404296a94d 18:34:17 Removing intermediate container d8404296a94d 18:34:17 ---> 67e77cfa1905 18:34:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:34:17 ---> Running in 1503ebea6a03 18:34:17 Removing intermediate container 1503ebea6a03 18:34:17 ---> 0bb960ded8a2 18:34:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:34:18 ---> Running in b39330ffa741 18:34:18 Removing intermediate container b39330ffa741 18:34:18 ---> 7d97a0aa5f32 18:34:18 Step 20/22 : LABEL arch=arm64 18:34:18 ---> Running in 2d005a07ea55 18:34:18 Removing intermediate container 2d005a07ea55 18:34:18 ---> 678fd1d63738 18:34:18 Step 21/22 : LABEL git_sha=9f4d0dc455bc068a6d887d8b06ff3933833238be 18:34:18 ---> Running in 7dd99d1548de 18:34:19 Removing intermediate container 7dd99d1548de 18:34:19 ---> 94ec5cd0fae4 18:34:19 Step 22/22 : LABEL version=0.0.0 18:34:19 ---> Running in 17aee1ed4736 18:34:19 Removing intermediate container 17aee1ed4736 18:34:19 ---> cd74f1f72ddb 18:34:19 [Warning] One or more build-args [ARCH] were not consumed 18:34:19 Successfully built cd74f1f72ddb 18:34:19 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 18:34:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:20 18:34:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:21 arm64: Pulling from edgex-lftools-log-publisher 18:34:21 8998bd30e6a1: Pulling fs layer 18:34:21 04944245beec: Pulling fs layer 18:34:21 699f458cf7ca: Pulling fs layer 18:34:21 765212b225bb: Pulling fs layer 18:34:21 f23df028b6ca: Pulling fs layer 18:34:21 d65c8cfc05b1: Pulling fs layer 18:34:21 2437ff75d9bd: Pulling fs layer 18:34:21 765212b225bb: Waiting 18:34:21 d65c8cfc05b1: Waiting 18:34:21 f23df028b6ca: Waiting 18:34:21 2437ff75d9bd: Waiting 18:34:21 04944245beec: Verifying Checksum 18:34:21 04944245beec: Download complete 18:34:21 765212b225bb: Verifying Checksum 18:34:21 765212b225bb: Download complete 18:34:21 f23df028b6ca: Verifying Checksum 18:34:21 f23df028b6ca: Download complete 18:34:21 d65c8cfc05b1: Verifying Checksum 18:34:21 d65c8cfc05b1: Download complete 18:34:21 699f458cf7ca: Verifying Checksum 18:34:21 699f458cf7ca: Download complete 18:34:21 8998bd30e6a1: Verifying Checksum 18:34:21 8998bd30e6a1: Download complete 18:34:24 2437ff75d9bd: Verifying Checksum 18:34:24 2437ff75d9bd: Download complete 18:34:26 8998bd30e6a1: Pull complete 18:34:26 04944245beec: Pull complete 18:34:28 699f458cf7ca: Pull complete 18:34:28 765212b225bb: Pull complete 18:34:29 f23df028b6ca: Pull complete 18:34:30 d65c8cfc05b1: Pull complete 18:34:48 2437ff75d9bd: Pull complete 18:34:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:34:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:48 prd-ubuntu20.04-docker-arm64-4c-16g-17046 does not seem to be running inside a container 18:34:48 $ 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 18:34:51 $ docker top be9047651ae25ff07b1406ffcba7c4e085e8ccb59fd58b98e6448c6404184919 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:52 ---> job-cost.sh 18:34:52 lf-activate-venv: SKIPPING 18:34:52 INFO: No Stack... 18:34:52 INFO: Retrieving Pricing Info for: v3-standard-4 18:34:53 INFO: Archiving Costs [Pipeline] sh 18:34:54 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 18:34:54 + cut -d, -f6 [Pipeline] lock 18:34:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-524-1-stack-cost] 18:34:54 Resource [jenkins-edgexfoundry-device-modbus-go-PR-524-1-stack-cost] did not exist. Created. 18:34:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-524-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:34:54 /w/workspace/device-modbus-go/1@tmp/durable-323ca892/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:34:55 + echo total: 0.10999999940395355 [Pipeline] stash 18:34:55 Warning: overwriting stash ‘stack-cost’ 18:34:55 Stashed 1 file(s) [Pipeline] } 18:34:55 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-524-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:34:55 $ docker stop --time=1 be9047651ae25ff07b1406ffcba7c4e085e8ccb59fd58b98e6448c6404184919 18:34:59 $ docker rm -f --volumes be9047651ae25ff07b1406ffcba7c4e085e8ccb59fd58b98e6448c6404184919 [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 18:35:00 provisioning config files... 18:35:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-524@tmp/config13362488738692035439tmp [Pipeline] { [Pipeline] sh 18:35:01 + set +x 18:35:01 + curl -s https://codecov.io/bash 18:35:01 + bash -s -- 18:35:01 18:35:01 _____ _ 18:35:01 / ____| | | 18:35:01 | | ___ __| | ___ ___ _____ __ 18:35:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:35:01 | |___| (_) | (_| | __/ (_| (_) \ V / 18:35:01 \_____\___/ \__,_|\___|\___\___/ \_/ 18:35:01 Bash-1.0.6 18:35:01 18:35:01 18:35:01 ==> git version 2.25.1 found 18:35:01 ==> 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 18:35:01 Release-Date: 2020-01-08 18:35:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:35:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:35:01 ==> Jenkins CI detected. 18:35:01 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-524 18:35:01 project root: . 18:35:01 --> token set from env 18:35:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:35:01 ==> Running gcov in . (disable via -X gcov) 18:35:01 ==> Python coveragepy not found 18:35:01 ==> Searching for coverage reports in: 18:35:01 + . 18:35:01 -> Found 1 reports 18:35:01 ==> Detecting git/mercurial file structure 18:35:01 ==> Reading reports 18:35:01 + ./coverage.out bytes=24334 18:35:01 ==> Appending adjustments 18:35:01 https://docs.codecov.io/docs/fixing-reports 18:35:01 + Found adjustments 18:35:01 ==> Gzipping contents 18:35:01 4.0K /tmp/codecov.DhhozY.gz 18:35:01 ==> Uploading reports 18:35:01 url: https://codecov.io 18:35:01 query: branch=PR-524&commit=9f4d0dc455bc068a6d887d8b06ff3933833238be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-524%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=524&job=&cmd_args= 18:35:01 -> Pinging Codecov 18:35:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-524&commit=9f4d0dc455bc068a6d887d8b06ff3933833238be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-524%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=524&job=&cmd_args= 18:35:01 -> Uploading to 18:35:01 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/55DBCA73C666E3227836607328DD7E49/9f4d0dc455bc068a6d887d8b06ff3933833238be/1c4435d0-d5c4-4125-beb7-dcfc6b2784a5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T183501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0995a64842f029e083592e137b034d24c3e4685b1307a237864ad735c16cfde8 18:35:01 % Total % Received % Xferd Average Speed Time Time Time Current 18:35:01 Dload Upload Total Spent Left Speed 18:35:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 18748 --:--:-- --:--:-- --:--:-- 18656 100 3806 0 0 100 3806 0 17067 --:--:-- --:--:-- --:--:-- 16991 18:35:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9f4d0dc455bc068a6d887d8b06ff3933833238be [Pipeline] } 18:35:01 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 18:35:03 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-524/archives ] 18:35:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-524/archives 18:35:03 total 16 18:35:03 drwxr-xr-x 3 root root 4096 Nov 8 18:27 . 18:35:03 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:27 .. 18:35:03 drwxr-xr-x 2 root root 4096 Nov 8 18:27 cost 18:35:03 -rw-r--r-- 1 root root 88 Nov 8 18:27 cost.csv 18:35:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-524/archives 18:35:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-524/archives 18:35:03 total 16 18:35:03 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:27 . 18:35:03 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:27 .. 18:35:03 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 18:27 cost 18:35:03 -rw-r--r-- 1 jenkins jenkins 88 Nov 8 18:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:35:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:35:04 ---> package-listing.sh 18:35:04 ++ facter osfamily 18:35:04 ++ tr '[:upper:]' '[:lower:]' 18:35:05 + OS_FAMILY=debian 18:35:05 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-524 18:35:05 + START_PACKAGES=/tmp/packages_start.txt 18:35:05 + END_PACKAGES=/tmp/packages_end.txt 18:35:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:35:05 + PACKAGES=/tmp/packages_start.txt 18:35:05 + '[' /w/workspace/xfoundry_device-modbus-go_PR-524 ']' 18:35:05 + PACKAGES=/tmp/packages_end.txt 18:35:05 + case "${OS_FAMILY}" in 18:35:05 + dpkg -l 18:35:05 + grep '^ii' 18:35:05 + '[' -f /tmp/packages_start.txt ']' 18:35:05 + '[' -f /tmp/packages_end.txt ']' 18:35:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:35:05 + '[' /w/workspace/xfoundry_device-modbus-go_PR-524 ']' 18:35:05 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-524/archives/ 18:35:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-524/archives/ [Pipeline] echo 18:35:05 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-524/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:35:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:06 prd-ubuntu20.04-docker-8c-8g-17045 does not seem to be running inside a container 18:35:06 $ 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-524/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-524 -v /w/workspace/xfoundry_device-modbus-go_PR-524:/w/workspace/xfoundry_device-modbus-go_PR-524:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-524@tmp:/w/workspace/xfoundry_device-modbus-go_PR-524@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 18:35:06 $ docker top eb105e127ebbadb5c76a20ca89efdfd10cc7942e3831f378ce2cb8782ec3f40b -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:06 + touch /tmp/pre-build-complete [Pipeline] sh 18:35:07 + mkdir -p /var/log/sysstat [Pipeline] sh 18:35:07 + ls /var/log/sa-host 18:35:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:07 provisioning config files... 18:35:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-524@tmp/config8546846438740936642tmp [Pipeline] { [Pipeline] echo 18:35:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:35:08 ---> create-netrc.sh [Pipeline] } 18:35:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:35:08 ---> python-tools-install.sh [Pipeline] echo 18:35:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:35:08 ---> sudo-logs.sh 18:35:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:35:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:35:09 ---> job-cost.sh 18:35:09 lf-activate-venv: SKIPPING 18:35:09 DEBUG: total: 0.2199999988079071 18:35:09 INFO: Retrieving Stack Cost... 18:35:09 INFO: Retrieving Pricing Info for: v3-standard-8 18:35:10 INFO: Archiving Costs [Pipeline] echo 18:35:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:35:10 ---> logs-deploy.sh 18:35:10 lf-activate-venv: SKIPPING 18:35:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-524/1 18:35:10 INFO: archiving workspace using pattern(s): 18:35:11 Archives upload complete. 18:35:11 INFO: archiving logs to Nexus