Pull request #513 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from e3f00256943a58c81974b75910b32e26900dac71+4cb387cfbbf91fe1a6210dbc029113972bd5a732 (f206bf6ca6a76ab4d879111cb5ddf4abb2bdb6c9) 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-ssh17740878983145052526.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4391581627308329985.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-513/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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10767609913797817034.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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh368727411349278972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16449436306629452658.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-513/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-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16679853599176777757.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9869 in /w/workspace/xfoundry_device-modbus-go_PR-513 [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-513 # 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/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4cb387cfbbf91fe1a6210dbc029113972bd5a732 into PR head commit e3f00256943a58c81974b75910b32e26900dac71 Merge succeeded, producing e3f00256943a58c81974b75910b32e26900dac71 Checking out Revision e3f00256943a58c81974b75910b32e26900dac71 (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f e3f00256943a58c81974b75910b32e26900dac71 # 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 4cb387cfbbf91fe1a6210dbc029113972bd5a732 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3f00256943a58c81974b75910b32e26900dac71 # timeout=10 Commit message: "feat: Accept DISCRETES_INPUT and DISCRETE_INPUTS as primary table" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:30:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:30:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:30:39 ========================================================= 03:30:39 EdgeX Global Pipelines Version Info 03:30:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:30:40 ------------------- 03:30:40 stable info: 03:30:40 ------------------- 03:30:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:30:40 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:30:40 Message: update stable to v1.0.254 03:30:41 ------------------- 03:30:41 experimental info: 03:30:41 ------------------- 03:30:41 Commited By: **** collab-it+edgex@linuxfoundation.org 03:30:41 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:30:41 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:30:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo 03:30:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] echo 03:30:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3f0025 [Pipeline] echo 03:30:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:43 provisioning config files... 03:30:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/config3722578285212963410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:43 ---> docker-login.sh 03:30:43 nexus3.edgexfoundry.org:10001 03:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:43 Configure a credential helper to remove this warning. See 03:30:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:43 03:30:43 Login Succeeded 03:30:43 nexus3.edgexfoundry.org:10002 03:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:44 Configure a credential helper to remove this warning. See 03:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:44 03:30:44 Login Succeeded 03:30:44 nexus3.edgexfoundry.org:10003 03:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:44 Configure a credential helper to remove this warning. See 03:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:44 03:30:44 Login Succeeded 03:30:44 nexus3.edgexfoundry.org:10004 03:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:44 Configure a credential helper to remove this warning. See 03:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:44 03:30:44 Login Succeeded 03:30:44 docker.io 03:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:44 Configure a credential helper to remove this warning. See 03:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:44 03:30:44 Login Succeeded 03:30:44 ---> docker-login.sh ends [Pipeline] } 03:30:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:30:45 + git rev-list -1 --merges e3f00256943a58c81974b75910b32e26900dac71~1..e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] echo 03:30:45 -----------> git rev-list -1 --merges e3f00256943a58c81974b75910b32e26900dac71~1..e3f00256943a58c81974b75910b32e26900dac71 e3f00256943a58c81974b75910b32e26900dac71 [false] [Pipeline] sh 03:30:45 + git log --format=format:%s -1 e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] echo 03:30:45 ========================================================= 03:30:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:30:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:46 + git log --format=format:%s -1 e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] echo 03:30:46 [semverPrep] GIT_COMMIT: e3f00256943a58c81974b75910b32e26900dac71, Commit Message: feat: Accept DISCRETES_INPUT and DISCRETE_INPUTS as primary table [Pipeline] echo 03:30:46 [semverPrep] This is not a build commit. [Pipeline] sh 03:30:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:30:46 + grep -v github /etc/ssh/ssh_known_hosts 03:30:46 + [ -e /tmp/ssh_known_hosts ] 03:30:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:30:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:30:46 + sudo tee -a /etc/ssh/ssh_known_hosts 03:30:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:47 03:30:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:47 0.1.4: Pulling from edgex-devops/py-git-semver 03:30:47 b85a868b505f: Pulling fs layer 03:30:47 e2be974225ed: Pulling fs layer 03:30:47 339a4e72a1f5: Pulling fs layer 03:30:47 988bab9f4d93: Pulling fs layer 03:30:47 1469e6f7b9e6: Pulling fs layer 03:30:47 eaf3925da568: Pulling fs layer 03:30:47 bab4dde63d76: Pulling fs layer 03:30:47 bde34c3a00c8: Pulling fs layer 03:30:47 b352a97aabf1: Pulling fs layer 03:30:47 4872d77fe225: Pulling fs layer 03:30:47 5851b861e8e6: Pulling fs layer 03:30:47 bde34c3a00c8: Waiting 03:30:47 eaf3925da568: Waiting 03:30:47 4872d77fe225: Waiting 03:30:47 bab4dde63d76: Waiting 03:30:47 b352a97aabf1: Waiting 03:30:47 5851b861e8e6: Waiting 03:30:47 988bab9f4d93: Waiting 03:30:47 1469e6f7b9e6: Waiting 03:30:47 e2be974225ed: Verifying Checksum 03:30:47 e2be974225ed: Download complete 03:30:47 988bab9f4d93: Download complete 03:30:47 1469e6f7b9e6: Verifying Checksum 03:30:47 1469e6f7b9e6: Download complete 03:30:47 339a4e72a1f5: Verifying Checksum 03:30:47 339a4e72a1f5: Download complete 03:30:47 eaf3925da568: Download complete 03:30:47 bde34c3a00c8: Verifying Checksum 03:30:47 bde34c3a00c8: Download complete 03:30:47 b352a97aabf1: Download complete 03:30:47 4872d77fe225: Download complete 03:30:47 5851b861e8e6: Verifying Checksum 03:30:47 5851b861e8e6: Download complete 03:30:47 b85a868b505f: Verifying Checksum 03:30:47 b85a868b505f: Download complete 03:30:48 bab4dde63d76: Verifying Checksum 03:30:48 bab4dde63d76: Download complete 03:30:48 b85a868b505f: Pull complete 03:30:49 e2be974225ed: Pull complete 03:30:49 339a4e72a1f5: Pull complete 03:30:49 988bab9f4d93: Pull complete 03:30:50 1469e6f7b9e6: Pull complete 03:30:50 eaf3925da568: Pull complete 03:30:51 bab4dde63d76: Pull complete 03:30:51 bde34c3a00c8: Pull complete 03:30:52 b352a97aabf1: Pull complete 03:30:52 4872d77fe225: Pull complete 03:30:52 5851b861e8e6: Pull complete 03:30:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:30:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:52 prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container 03:30:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@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 03:30:55 $ docker top 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 -eo pid,comm 03:30:55 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). 03:30:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:30:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:30:55 [ssh-agent] Looking for ssh-agent implementation... 03:30:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:30:56 $ docker exec 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 ssh-agent 03:30:56 SSH_AUTH_SOCK=/tmp/ssh-OSUu1tmPRVlD/agent.31 03:30:56 SSH_AGENT_PID=37 03:30:56 Running ssh-add (command line suppressed) 03:30:56 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-513@tmp/private_key_13533049373362062853.key (/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/private_key_13533049373362062853.key) 03:30:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:30:56 + git tag --points-at HEAD [Pipeline] } 03:30:56 $ docker exec --env ******** --env ******** 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 ssh-agent -k 03:30:56 unset SSH_AUTH_SOCK; 03:30:56 unset SSH_AGENT_PID; 03:30:56 echo Agent pid 37 killed; 03:30:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:30:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:30:56 [ssh-agent] Looking for ssh-agent implementation... 03:30:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:30:56 $ docker exec 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 ssh-agent 03:30:57 SSH_AUTH_SOCK=/tmp/ssh-gjZH5uIYvvPP/agent.69 03:30:57 SSH_AGENT_PID=75 03:30:57 Running ssh-add (command line suppressed) 03:30:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-513@tmp/private_key_6272049048087421324.key (/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/private_key_6272049048087421324.key) 03:30:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:30:57 + git semver init 03:30:57 2023-10-24 03:30:57,668 [run_init] DEBUG init version:0.0.0 force:False 03:30:57 2023-10-24 03:30:57,669 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-513/.semver 03:30:57 2023-10-24 03:30:57,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-513/.semver 03:30:57 2023-10-24 03:30:57,670 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-513/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-513, universal_newlines=False, shell=None, istream=None) 03:30:58 2023-10-24 03:30:58,577 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-513/.git/info/exclude 03:30:58 2023-10-24 03:30:58,577 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-513/.semver/PR-513 with force:False 03:30:58 2023-10-24 03:30:58,578 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-513/.semver/PR-513 03:30:58 2023-10-24 03:30:58,581 [execute] INFO git cat-file --batch-check 03:30:58 2023-10-24 03:30:58,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-513/.semver, universal_newlines=False, shell=None, istream=) 03:30:58 2023-10-24 03:30:58,586 [execute] INFO git cat-file --batch 03:30:58 2023-10-24 03:30:58,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-513/.semver, universal_newlines=False, shell=None, istream=) 03:30:58 2023-10-24 03:30:58,592 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-513/.semver/PR-513 03:30:58 0.0.0 [Pipeline] } 03:30:58 $ docker exec --env ******** --env ******** 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 ssh-agent -k 03:30:58 unset SSH_AUTH_SOCK; 03:30:58 unset SSH_AGENT_PID; 03:30:58 echo Agent pid 75 killed; 03:30:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:30:59 + git semver [Pipeline] } 03:30:59 $ docker stop --time=1 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 03:31:00 $ docker rm -f --volumes 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 [Pipeline] // withDockerContainer [Pipeline] sh 03:31:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:31:01 Stashed 1 file(s) [Pipeline] echo 03:31:01 [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 03:31:02 provisioning config files... 03:31:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/config6083782780167791183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:31:02 ---> docker-login.sh 03:31:02 nexus3.edgexfoundry.org:10001 03:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:02 Configure a credential helper to remove this warning. See 03:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:02 03:31:02 Login Succeeded 03:31:02 nexus3.edgexfoundry.org:10002 03:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:02 Configure a credential helper to remove this warning. See 03:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:02 03:31:02 Login Succeeded 03:31:02 nexus3.edgexfoundry.org:10003 03:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:02 Configure a credential helper to remove this warning. See 03:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:02 03:31:02 Login Succeeded 03:31:02 nexus3.edgexfoundry.org:10004 03:31:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:02 Configure a credential helper to remove this warning. See 03:31:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:02 03:31:02 Login Succeeded 03:31:02 docker.io 03:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:31:03 Configure a credential helper to remove this warning. See 03:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:31:03 03:31:03 Login Succeeded 03:31:03 ---> docker-login.sh ends [Pipeline] } 03:31:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:31:03 ========================================================= 03:31:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:31:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:04 + 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 . 03:31:04 Sending build context to Docker daemon 6.534MB 03:31:04 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:31:04 Step 2/10 : FROM ${BASE} AS builder 03:31:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:31:04 7264a8db6415: Pulling fs layer 03:31:04 c4d48a809fc2: Pulling fs layer 03:31:04 4f1c88b9dad5: Pulling fs layer 03:31:04 ad3a456e5733: Pulling fs layer 03:31:04 33e27b845d1e: Pulling fs layer 03:31:04 c68163c4e522: Pulling fs layer 03:31:04 50da416c3ac9: Pulling fs layer 03:31:04 23d2d4c4bb30: Pulling fs layer 03:31:04 c68163c4e522: Waiting 03:31:04 23d2d4c4bb30: Waiting 03:31:04 ad3a456e5733: Waiting 03:31:04 33e27b845d1e: Waiting 03:31:04 50da416c3ac9: Waiting 03:31:04 c4d48a809fc2: Download complete 03:31:04 ad3a456e5733: Verifying Checksum 03:31:04 ad3a456e5733: Download complete 03:31:04 33e27b845d1e: Verifying Checksum 03:31:04 33e27b845d1e: Download complete 03:31:04 7264a8db6415: Verifying Checksum 03:31:04 7264a8db6415: Download complete 03:31:04 c68163c4e522: Verifying Checksum 03:31:04 c68163c4e522: Download complete 03:31:04 7264a8db6415: Pull complete 03:31:04 c4d48a809fc2: Pull complete 03:31:04 23d2d4c4bb30: Verifying Checksum 03:31:04 23d2d4c4bb30: Download complete 03:31:04 4f1c88b9dad5: Verifying Checksum 03:31:04 4f1c88b9dad5: Download complete 03:31:05 50da416c3ac9: Verifying Checksum 03:31:05 50da416c3ac9: Download complete 03:31:08 4f1c88b9dad5: Pull complete 03:31:08 ad3a456e5733: Pull complete 03:31:08 33e27b845d1e: Pull complete 03:31:08 c68163c4e522: Pull complete 03:31:10 50da416c3ac9: Pull complete 03:31:10 23d2d4c4bb30: Pull complete 03:31:10 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 03:31:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:31:10 ---> 0786185ac409 03:31:10 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:31:16 Still waiting to schedule task 03:31:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:31:17 ---> Running in 6cca7e57708f 03:31:17 Removing intermediate container 6cca7e57708f 03:31:17 ---> 6954a4d8c963 03:31:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:31:17 ---> Running in 83306b55fd2b 03:31:17 Removing intermediate container 83306b55fd2b 03:31:17 ---> 2ab160b53ede 03:31:17 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:31:17 ---> Running in a8bd20df20d4 03:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:31:17 (1/8) Installing openssh-keygen (9.3_p2-r0) 03:31:17 (2/8) Installing libedit (20221030.3.1-r1) 03:31:17 (3/8) Installing openssh-client-common (9.3_p2-r0) 03:31:17 (4/8) Installing openssh-client-default (9.3_p2-r0) 03:31:17 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 03:31:17 (6/8) Installing openssh-server-common (9.3_p2-r0) 03:31:17 (7/8) Installing openssh-server (9.3_p2-r0) 03:31:17 (8/8) Installing openssh (9.3_p2-r0) 03:31:17 Executing busybox-1.36.1-r2.trigger 03:31:17 OK: 270 MiB in 60 packages 03:31:18 Removing intermediate container a8bd20df20d4 03:31:18 ---> 85a340ca9d1c 03:31:18 Step 6/10 : WORKDIR /device-modbus-go 03:31:18 ---> Running in 54c911d328f6 03:31:18 Removing intermediate container 54c911d328f6 03:31:18 ---> a4775ab48390 03:31:18 Step 7/10 : COPY go.mod vendor* ./ 03:31:18 ---> 22ddbaa2ce7e 03:31:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:31:18 ---> Running in 7fa70892afaf 03:32:26 Removing intermediate container 7fa70892afaf 03:32:26 ---> ddbbf0cdffdb 03:32:26 Step 9/10 : COPY . . 03:32:26 ---> 96d16ddde6b2 03:32:26 Step 10/10 : RUN ${MAKE} 03:32:26 ---> Running in 621a13b83eb5 03:32:26 noop 03:32:26 Removing intermediate container 621a13b83eb5 03:32:26 ---> 152116364ae1 03:32:26 Successfully built 152116364ae1 03:32:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:26 + docker inspect -f . ci-base-image-x86_64 03:32:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:27 prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container 03:32:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@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 03:32:27 $ docker top 25a74f3b891f4767463d342963de57f403500f213255197bdd7d9f92cd610743 -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:27 + go version 03:32:27 go version go1.21.0 linux/amd64 [Pipeline] } 03:32:27 $ docker stop --time=1 25a74f3b891f4767463d342963de57f403500f213255197bdd7d9f92cd610743 03:32:29 $ docker rm -f --volumes 25a74f3b891f4767463d342963de57f403500f213255197bdd7d9f92cd610743 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:29 + docker inspect -f . ci-base-image-x86_64 03:32:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:29 prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container 03:32:30 $ 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-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@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 03:32:30 $ docker top cfde7a0a938840499191e44e562e8163fd507e85b3c9ac4a2948b1593faa47fd -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:30 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-513 [Pipeline] fileExists [Pipeline] sh 03:32:31 + make test 03:32:31 go test ./... -coverprofile=coverage.out 03:32:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:32:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:32:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements 03:32:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9870 in /w/workspace/xfoundry_device-modbus-go_PR-513 [Pipeline] { [Pipeline] ws 03:32:47 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 03:32:47 Selected Git installation does not exist. Using Default 03:32:47 The recommended git tool is: NONE 03:32:50 go vet ./... 03:32:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:32:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:32:52 ./bin/test-attribution-txt.sh [Pipeline] echo 03:32:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:32:52 $ docker stop --time=1 cfde7a0a938840499191e44e562e8163fd507e85b3c9ac4a2948b1593faa47fd 03:32:53 using credential edgex-jenkins-ssh 03:32:53 Cloning the remote Git repository 03:32:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:32:53 > git init /w/workspace/device-modbus-go/1 # timeout=10 03:32:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:32:53 > git --version # timeout=10 03:32:53 > git --version # 'git version 2.25.1' 03:32:53 using GIT_SSH to set credentials SSH Credentials for GitHub 03:32:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:32:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:32:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:32:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:32:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:32:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:32:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:32:56 $ docker rm -f --volumes cfde7a0a938840499191e44e562e8163fd507e85b3c9ac4a2948b1593faa47fd [Pipeline] // withDockerContainer 03:32:56 Merging remotes/origin/main commit 4cb387cfbbf91fe1a6210dbc029113972bd5a732 into PR head commit e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] sh 03:32:56 Merge succeeded, producing e3f00256943a58c81974b75910b32e26900dac71 03:32:56 Checking out Revision e3f00256943a58c81974b75910b32e26900dac71 (PR-513) 03:32:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:32:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 03:32:56 > git config core.sparsecheckout # timeout=10 03:32:56 > git checkout -f e3f00256943a58c81974b75910b32e26900dac71 # timeout=10 03:32:56 > git remote # timeout=10 03:32:56 > git config --get remote.origin.url # timeout=10 03:32:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:32:56 > git merge 4cb387cfbbf91fe1a6210dbc029113972bd5a732 # timeout=10 03:32:56 > git rev-parse HEAD^{commit} # timeout=10 03:32:56 > git config core.sparsecheckout # timeout=10 03:32:56 > git checkout -f e3f00256943a58c81974b75910b32e26900dac71 # timeout=10 [Pipeline] sh 03:32:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:32:58 + ls -al . 03:32:58 total 192 03:32:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 03:32 . 03:32:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:30 .. 03:32:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 03:30 .dockerignore 03:32:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:32 .git 03:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:30 .github 03:32:58 -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 03:30 .gitignore 03:32:58 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 03:30 .golangci.yml 03:32:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:30 .semver 03:32:58 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 03:30 Attribution.txt 03:32:58 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 03:30 CHANGELOG.md 03:32:58 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 03:30 Dockerfile 03:32:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:30 GOVERNANCE.md 03:32:58 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 03:30 Jenkinsfile 03:32:58 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 03:30 LICENSE 03:32:58 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 03:30 Makefile 03:32:58 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 03:30 OWNERS.md 03:32:58 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 24 03:30 README.md 03:32:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:31 VERSION 03:32:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:30 bin 03:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:30 cmd 03:32:58 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 03:32 coverage.out 03:32:58 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 03:30 go.mod 03:32:58 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 03:30 go.sum 03:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:30 internal 03:32:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:30 simulator 03:32:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:30 snap 03:32:58 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 03:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:58 + 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=e3f00256943a58c81974b75910b32e26900dac71 --label arch=amd64 --label version=0.0.0 . 03:32:58 Sending build context to Docker daemon 6.559MB 03:32:58 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 03:32:58 Step 2/22 : FROM ${BASE} AS builder 03:32:58 ---> 152116364ae1 03:32:58 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:32:58 ---> Running in 364f2b49db7c 03:32:58 Removing intermediate container 364f2b49db7c 03:32:58 ---> f335a631d264 03:32:58 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:32:58 ---> Running in 9de2707d18d0 03:32:58 Removing intermediate container 9de2707d18d0 03:32:58 ---> 252efb5d0c16 03:32:58 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:32:58 ---> Running in 48cba9739ce2 03:32:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:32:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:32:59 OK: 270 MiB in 60 packages 03:33:00 Commit message: "feat: Accept DISCRETES_INPUT and DISCRETE_INPUTS as primary table" 03:33:00 > git --version # timeout=10 03:33:00 > git --version # 'git version 2.25.1' 03:33:00 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 03:33:00 Removing intermediate container 48cba9739ce2 03:33:00 ---> 1d974b5de82c 03:33:00 Step 6/22 : WORKDIR /device-modbus-go 03:33:00 ---> Running in 9729bebae1a2 03:33:00 Removing intermediate container 9729bebae1a2 03:33:00 ---> 285c0924ef1c 03:33:00 Step 7/22 : COPY go.mod vendor* ./ 03:33:00 ---> be1710fc1072 03:33:00 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:33:00 ---> Running in 66c1e34f01f6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:01 Removing intermediate container 66c1e34f01f6 03:33:01 ---> 154ff98263a9 03:33:01 Step 9/22 : COPY . . 03:33:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:33:01 % Total % Received % Xferd Average Speed Time Time Time Current 03:33:01 Dload Upload Total Spent Left Speed 03:33:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh 03:33:01 ---> 9baf818375ff 03:33:01 Step 10/22 : RUN ${MAKE} 03:33:01 ---> Running in bf96edea44b0 03:33:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 03:33:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] sh 03:33:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:33:02 + sudo tee /etc/docker/daemon.new 03:33:02 { 03:33:02 "registry-mirrors": [ 03:33:02 "https://nexus3.edgexfoundry.org:10001" 03:33:02 ], 03:33:02 "bip": "10.250.0.254/24", 03:33:02 "hosts": [ 03:33:02 "tcp://0.0.0.0:5555", 03:33:02 "unix:///var/run/docker.sock" 03:33:02 ], 03:33:02 "mtu": 1458, 03:33:02 "selinux-enabled": true, 03:33:02 "seccomp-profile": "/etc/docker/seccomp.json" 03:33:02 } [Pipeline] sh 03:33:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:33:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:21 provisioning config files... 03:33:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config930282097025557377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:21 ---> docker-login.sh 03:33:21 nexus3.edgexfoundry.org:10001 03:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:22 Configure a credential helper to remove this warning. See 03:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:22 03:33:22 Login Succeeded 03:33:22 nexus3.edgexfoundry.org:10002 03:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:22 Configure a credential helper to remove this warning. See 03:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:22 03:33:22 Login Succeeded 03:33:22 nexus3.edgexfoundry.org:10003 03:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:23 Configure a credential helper to remove this warning. See 03:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:23 03:33:23 Login Succeeded 03:33:23 nexus3.edgexfoundry.org:10004 03:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:23 Configure a credential helper to remove this warning. See 03:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:23 03:33:23 Login Succeeded 03:33:23 docker.io 03:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:23 Configure a credential helper to remove this warning. See 03:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:23 03:33:23 Login Succeeded 03:33:23 ---> docker-login.sh ends [Pipeline] } 03:33:23 Deleting 1 temporary files 03:33:24 Removing intermediate container bf96edea44b0 03:33:24 ---> 768f28977c2c 03:33:24 Step 11/22 : FROM alpine:3.18 03:33:24 3.18: Pulling from library/alpine 03:33:24 96526aa774ef: Pulling fs layer 03:33:24 96526aa774ef: Download complete [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 03:33:24 96526aa774ef: Pull complete 03:33:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:33:24 Status: Downloaded newer image for alpine:3.18 03:33:24 ---> 8ca4688f4f35 03:33:24 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:33:24 ---> Running in f2ed31e6173b [Pipeline] echo 03:33:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:33:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:33:24 ========================================================= 03:33:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:33:24 ========================================================= [Pipeline] fileExists 03:33:24 Removing intermediate container f2ed31e6173b 03:33:24 ---> 172dfa358d4e 03:33:24 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:33:24 ---> Running in 16b13227bf77 03:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:33:25 + 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 . 03:33:25 (1/1) Installing dumb-init (1.2.5-r2) 03:33:25 Executing busybox-1.36.1-r2.trigger 03:33:25 OK: 7 MiB in 16 packages 03:33:25 Sending build context to Docker daemon 3.399MB 03:33:25 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:33:25 Step 2/10 : FROM ${BASE} AS builder 03:33:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:33:25 9fda8d8052c6: Pulling fs layer 03:33:25 5d54e960e981: Pulling fs layer 03:33:25 c4a7e357bf2a: Pulling fs layer 03:33:25 f0e02332f6b5: Pulling fs layer 03:33:25 cefa15bbcfad: Pulling fs layer 03:33:25 f0e02332f6b5: Waiting 03:33:25 cefa15bbcfad: Waiting 03:33:25 17808c966233: Pulling fs layer 03:33:25 f4c1fc716caa: Pulling fs layer 03:33:25 17808c966233: Waiting 03:33:25 f4c1fc716caa: Waiting 03:33:25 5d54e960e981: Download complete 03:33:25 f0e02332f6b5: Verifying Checksum 03:33:25 f0e02332f6b5: Download complete 03:33:25 cefa15bbcfad: Verifying Checksum 03:33:25 cefa15bbcfad: Download complete 03:33:25 9fda8d8052c6: Verifying Checksum 03:33:25 9fda8d8052c6: Download complete 03:33:25 Removing intermediate container 16b13227bf77 03:33:25 ---> 1932c7c64ecf 03:33:25 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:33:26 f4c1fc716caa: Verifying Checksum 03:33:26 f4c1fc716caa: Download complete 03:33:26 ---> d317be568014 03:33:26 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:33:26 ---> 6f34988415c9 03:33:26 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:33:26 ---> 7d2f77da75c3 03:33:26 Step 17/22 : EXPOSE 59901 03:33:26 ---> Running in 5eae57d1c9ca 03:33:26 Removing intermediate container 5eae57d1c9ca 03:33:26 ---> 77cc6785409e 03:33:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:33:26 ---> Running in 8e52f99635a4 03:33:26 9fda8d8052c6: Pull complete 03:33:27 Removing intermediate container 8e52f99635a4 03:33:27 ---> 3a2d79cce875 03:33:27 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:33:27 ---> Running in ebc4dd812db1 03:33:27 Removing intermediate container ebc4dd812db1 03:33:27 ---> 012fa3e29ffd 03:33:27 Step 20/22 : LABEL arch=amd64 03:33:27 ---> Running in 3c78d3a4ffe5 03:33:27 Removing intermediate container 3c78d3a4ffe5 03:33:27 ---> ac7d79843f66 03:33:27 Step 21/22 : LABEL git_sha=e3f00256943a58c81974b75910b32e26900dac71 03:33:27 5d54e960e981: Pull complete 03:33:27 ---> Running in 00fd6b9b1aec 03:33:27 Removing intermediate container 00fd6b9b1aec 03:33:27 ---> ee1de6fc1cb5 03:33:27 Step 22/22 : LABEL version=0.0.0 03:33:27 ---> Running in cae66ab1f006 03:33:27 Removing intermediate container cae66ab1f006 03:33:27 ---> 905dc3e0ce35 03:33:27 [Warning] One or more build-args [ARCH] were not consumed 03:33:27 Successfully built 905dc3e0ce35 03:33:27 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 03:33:27 c4a7e357bf2a: Verifying Checksum 03:33:27 c4a7e357bf2a: Download complete [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 03:33:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:28 03:33:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:28 latest: Pulling from edgex-lftools-log-publisher 03:33:28 5eb5b503b376: Pulling fs layer 03:33:28 5c69ac0246d0: Pulling fs layer 03:33:28 ec43610c2a17: Pulling fs layer 03:33:28 3a2ae6a8a46f: Pulling fs layer 03:33:28 33b1e0a273af: Pulling fs layer 03:33:28 5d3b04190fa2: Pulling fs layer 03:33:28 2f39f015ded8: Pulling fs layer 03:33:28 3a2ae6a8a46f: Waiting 03:33:28 33b1e0a273af: Waiting 03:33:28 5d3b04190fa2: Waiting 03:33:28 2f39f015ded8: Waiting 03:33:28 5c69ac0246d0: Verifying Checksum 03:33:28 5c69ac0246d0: Download complete 03:33:28 3a2ae6a8a46f: Download complete 03:33:28 ec43610c2a17: Verifying Checksum 03:33:28 ec43610c2a17: Download complete 03:33:28 33b1e0a273af: Verifying Checksum 03:33:28 33b1e0a273af: Download complete 03:33:28 5d3b04190fa2: Verifying Checksum 03:33:28 5d3b04190fa2: Download complete 03:33:28 5eb5b503b376: Download complete 03:33:28 17808c966233: Verifying Checksum 03:33:28 17808c966233: Download complete 03:33:29 2f39f015ded8: Download complete 03:33:29 5eb5b503b376: Pull complete 03:33:30 5c69ac0246d0: Pull complete 03:33:30 ec43610c2a17: Pull complete 03:33:30 3a2ae6a8a46f: Pull complete 03:33:31 33b1e0a273af: Pull complete 03:33:31 5d3b04190fa2: Pull complete 03:33:35 2f39f015ded8: Pull complete 03:33:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:33:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:35 prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container 03:33:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@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 03:33:41 c4a7e357bf2a: Pull complete 03:33:41 f0e02332f6b5: Pull complete 03:33:41 cefa15bbcfad: Pull complete 03:33:41 $ docker top 70e8acf73a9044558a5581ed2d8123335d6bfecce1426e3e0293cbf6ef611be0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:41 ---> job-cost.sh 03:33:41 lf-activate-venv: SKIPPING 03:33:41 INFO: No Stack... 03:33:42 INFO: Retrieving Pricing Info for: v3-standard-8 03:33:42 INFO: Archiving Costs [Pipeline] sh 03:33:43 + cat /w/workspace/xfoundry_device-modbus-go_PR-513/archives/cost.csv 03:33:43 + cut -d, -f6 [Pipeline] lock 03:33:43 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] 03:33:43 Resource [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] did not exist. Created. 03:33:43 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:33:43 + echo total: 0.2199999988079071 [Pipeline] stash 03:33:43 Stashed 1 file(s) [Pipeline] } 03:33:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:33:43 $ docker stop --time=1 70e8acf73a9044558a5581ed2d8123335d6bfecce1426e3e0293cbf6ef611be0 03:33:44 $ docker rm -f --volumes 70e8acf73a9044558a5581ed2d8123335d6bfecce1426e3e0293cbf6ef611be0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:33:49 17808c966233: Pull complete 03:33:51 f4c1fc716caa: Pull complete 03:33:51 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 03:33:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:33:51 ---> ea914061e18c 03:33:51 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:33:52 ---> Running in 25d0cf70187b 03:33:52 Removing intermediate container 25d0cf70187b 03:33:52 ---> 236f9b2c31cf 03:33:52 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:33:52 ---> Running in 2cf9bae61568 03:33:53 Removing intermediate container 2cf9bae61568 03:33:53 ---> 97274915b6e3 03:33:53 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:33:53 ---> Running in eb7df7569d73 03:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:33:56 (1/8) Installing openssh-keygen (9.3_p2-r0) 03:33:56 (2/8) Installing libedit (20221030.3.1-r1) 03:33:56 (3/8) Installing openssh-client-common (9.3_p2-r0) 03:33:56 (4/8) Installing openssh-client-default (9.3_p2-r0) 03:33:56 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 03:33:56 (6/8) Installing openssh-server-common (9.3_p2-r0) 03:33:56 (7/8) Installing openssh-server (9.3_p2-r0) 03:33:56 (8/8) Installing openssh (9.3_p2-r0) 03:33:56 Executing busybox-1.36.1-r2.trigger 03:33:56 OK: 272 MiB in 60 packages 03:33:57 Removing intermediate container eb7df7569d73 03:33:57 ---> 0f06a229a599 03:33:57 Step 6/10 : WORKDIR /device-modbus-go 03:33:57 ---> Running in c7d89332e1c7 03:33:57 Removing intermediate container c7d89332e1c7 03:33:57 ---> 48e9aa30286e 03:33:57 Step 7/10 : COPY go.mod vendor* ./ 03:34:02 ---> e6e5213fa9be 03:34:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:02 ---> Running in 6c836ee066e8 03:35:38 Removing intermediate container 6c836ee066e8 03:35:38 ---> 910471ee9510 03:35:38 Step 9/10 : COPY . . 03:35:38 ---> bf489dbdaa0e 03:35:38 Step 10/10 : RUN ${MAKE} 03:35:38 ---> Running in 646019306dc9 03:35:38 noop 03:35:38 Removing intermediate container 646019306dc9 03:35:38 ---> 14e09ac68453 03:35:38 Successfully built 14e09ac68453 03:35:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:39 + docker inspect -f . ci-base-image-arm64 03:35:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:39 prd-ubuntu20.04-docker-arm64-4c-16g-9870 does not seem to be running inside a container 03:35:39 $ 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 03:35:40 $ docker top d231ec45ad0d072cae1aea6a9b4f2bfcc0ff5c8b8d260ff4a53aeb7e5aa067c3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:41 + go version 03:35:41 go version go1.21.0 linux/arm64 [Pipeline] } 03:35:41 $ docker stop --time=1 d231ec45ad0d072cae1aea6a9b4f2bfcc0ff5c8b8d260ff4a53aeb7e5aa067c3 03:35:43 $ docker rm -f --volumes d231ec45ad0d072cae1aea6a9b4f2bfcc0ff5c8b8d260ff4a53aeb7e5aa067c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:44 + docker inspect -f . ci-base-image-arm64 03:35:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:44 prd-ubuntu20.04-docker-arm64-4c-16g-9870 does not seem to be running inside a container 03:35:44 $ 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 03:35:45 $ docker top aa8f26cd0969f6a5ba2f5a855e5951618abce18e4e1966040070a25df047db17 -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:46 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 03:35:46 + make test 03:35:46 go test ./... -coverprofile=coverage.out 03:35:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:37:30 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:37:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.094s coverage: 47.9% of statements 03:37:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:37:30 go vet ./... 03:37:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:37:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:37:56 ./bin/test-attribution-txt.sh [Pipeline] echo 03:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:37:57 $ docker stop --time=1 aa8f26cd0969f6a5ba2f5a855e5951618abce18e4e1966040070a25df047db17 03:37:59 $ docker rm -f --volumes aa8f26cd0969f6a5ba2f5a855e5951618abce18e4e1966040070a25df047db17 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:38:00 Warning: overwriting stash ‘coverage-report’ 03:38:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:38:01 + ls -al . 03:38:01 total 188 03:38:01 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 03:35 . 03:38:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:32 .. 03:38:01 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 03:32 .dockerignore 03:38:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:32 .git 03:38:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:32 .github 03:38:01 -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 03:32 .gitignore 03:38:01 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 03:32 .golangci.yml 03:38:01 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 03:32 Attribution.txt 03:38:01 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 03:32 CHANGELOG.md 03:38:01 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 03:32 Dockerfile 03:38:01 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:32 GOVERNANCE.md 03:38:01 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 03:32 Jenkinsfile 03:38:01 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 03:32 LICENSE 03:38:01 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 03:32 Makefile 03:38:01 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 03:32 OWNERS.md 03:38:01 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 24 03:32 README.md 03:38:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:31 VERSION 03:38:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:32 bin 03:38:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:32 cmd 03:38:01 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 03:37 coverage.out 03:38:01 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 03:32 go.mod 03:38:01 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 03:32 go.sum 03:38:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:32 internal 03:38:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:32 simulator 03:38:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:32 snap 03:38:01 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 03:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:02 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e3f00256943a58c81974b75910b32e26900dac71 --label arch=arm64 --label version=0.0.0 . 03:38:02 Sending build context to Docker daemon 3.424MB 03:38:02 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 03:38:02 Step 2/22 : FROM ${BASE} AS builder 03:38:02 ---> 14e09ac68453 03:38:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:38:02 ---> Running in f5746211cb50 03:38:03 Removing intermediate container f5746211cb50 03:38:03 ---> 2114d0446da5 03:38:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:38:03 ---> Running in b46b71b17be7 03:38:03 Removing intermediate container b46b71b17be7 03:38:03 ---> 67f9c0b76442 03:38:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:38:03 ---> Running in 4a83ef1843a2 03:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:38:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:38:06 OK: 272 MiB in 60 packages 03:38:09 Removing intermediate container 4a83ef1843a2 03:38:09 ---> 7a2e047fd10b 03:38:09 Step 6/22 : WORKDIR /device-modbus-go 03:38:09 ---> Running in 03cab6d7e4d6 03:38:09 Removing intermediate container 03cab6d7e4d6 03:38:09 ---> d26ad21094ba 03:38:09 Step 7/22 : COPY go.mod vendor* ./ 03:38:09 ---> 7fe37d11d8cf 03:38:09 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:09 ---> Running in 350ae4029559 03:38:12 Removing intermediate container 350ae4029559 03:38:12 ---> 765bc6c90ffc 03:38:12 Step 9/22 : COPY . . 03:38:12 ---> 150fc05cbbe0 03:38:12 Step 10/22 : RUN ${MAKE} 03:38:12 ---> Running in 6fa83ed97e30 03:38:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 03:40:05 Removing intermediate container 6fa83ed97e30 03:40:05 ---> 35f2528f3b8f 03:40:05 Step 11/22 : FROM alpine:3.18 03:40:05 3.18: Pulling from library/alpine 03:40:05 579b34f0a95b: Pulling fs layer 03:40:05 579b34f0a95b: Download complete 03:40:05 579b34f0a95b: Pull complete 03:40:05 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:40:05 Status: Downloaded newer image for alpine:3.18 03:40:05 ---> 3cc203321400 03:40:05 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:40:05 ---> Running in 18611e69f528 03:40:05 Removing intermediate container 18611e69f528 03:40:05 ---> a42aeb0db9d8 03:40:05 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:40:05 ---> Running in 997c156a15f2 03:40:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:40:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:40:05 (1/1) Installing dumb-init (1.2.5-r2) 03:40:05 Executing busybox-1.36.1-r2.trigger 03:40:05 OK: 8 MiB in 16 packages 03:40:05 Removing intermediate container 997c156a15f2 03:40:05 ---> ecf2c8f3311f 03:40:05 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:40:05 ---> 5029bf03e72d 03:40:05 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:40:05 ---> ade13c18f70b 03:40:05 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:40:05 ---> 27633482b5d1 03:40:05 Step 17/22 : EXPOSE 59901 03:40:05 ---> Running in 33b3f0ef291a 03:40:05 Removing intermediate container 33b3f0ef291a 03:40:05 ---> a8ede689eb19 03:40:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:40:05 ---> Running in d7b8d5d7a3c4 03:40:05 Removing intermediate container d7b8d5d7a3c4 03:40:05 ---> 1fe3f0a719a4 03:40:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:40:05 ---> Running in f7b185e2a863 03:40:05 Removing intermediate container f7b185e2a863 03:40:05 ---> cf61ec01e2ac 03:40:05 Step 20/22 : LABEL arch=arm64 03:40:05 ---> Running in 98a010f62378 03:40:05 Removing intermediate container 98a010f62378 03:40:05 ---> a47db6d17829 03:40:05 Step 21/22 : LABEL git_sha=e3f00256943a58c81974b75910b32e26900dac71 03:40:05 ---> Running in 043eaae68547 03:40:05 Removing intermediate container 043eaae68547 03:40:05 ---> e05b7bf1729b 03:40:05 Step 22/22 : LABEL version=0.0.0 03:40:05 ---> Running in a3c857b1df16 03:40:05 Removing intermediate container a3c857b1df16 03:40:05 ---> 984b30d421be 03:40:05 [Warning] One or more build-args [ARCH] were not consumed 03:40:05 Successfully built 984b30d421be 03:40:05 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 03:40:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:40:06 03:40:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:40:06 arm64: Pulling from edgex-lftools-log-publisher 03:40:06 8998bd30e6a1: Pulling fs layer 03:40:06 04944245beec: Pulling fs layer 03:40:06 699f458cf7ca: Pulling fs layer 03:40:06 765212b225bb: Pulling fs layer 03:40:06 f23df028b6ca: Pulling fs layer 03:40:06 d65c8cfc05b1: Pulling fs layer 03:40:06 2437ff75d9bd: Pulling fs layer 03:40:06 765212b225bb: Waiting 03:40:06 f23df028b6ca: Waiting 03:40:06 d65c8cfc05b1: Waiting 03:40:06 2437ff75d9bd: Waiting 03:40:06 04944245beec: Verifying Checksum 03:40:06 04944245beec: Download complete 03:40:06 765212b225bb: Verifying Checksum 03:40:06 765212b225bb: Download complete 03:40:06 f23df028b6ca: Verifying Checksum 03:40:06 f23df028b6ca: Download complete 03:40:06 d65c8cfc05b1: Verifying Checksum 03:40:06 d65c8cfc05b1: Download complete 03:40:07 699f458cf7ca: Verifying Checksum 03:40:07 699f458cf7ca: Download complete 03:40:07 8998bd30e6a1: Verifying Checksum 03:40:07 8998bd30e6a1: Download complete 03:40:10 2437ff75d9bd: Verifying Checksum 03:40:10 2437ff75d9bd: Download complete 03:40:12 8998bd30e6a1: Pull complete 03:40:12 04944245beec: Pull complete 03:40:14 699f458cf7ca: Pull complete 03:40:14 765212b225bb: Pull complete 03:40:15 f23df028b6ca: Pull complete 03:40:15 d65c8cfc05b1: Pull complete 03:40:33 2437ff75d9bd: Pull complete 03:40:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:40:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:40:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:34 prd-ubuntu20.04-docker-arm64-4c-16g-9870 does not seem to be running inside a container 03:40:34 $ 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 03:40:39 $ docker top 6adf74123077f6ae108b6b619e4b1215d8413ab67945eef0c170367be30daab5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:39 ---> job-cost.sh 03:40:40 lf-activate-venv: SKIPPING 03:40:40 INFO: No Stack... 03:40:40 INFO: Retrieving Pricing Info for: v3-standard-4 03:40:41 INFO: Archiving Costs [Pipeline] sh 03:40:41 + cut -d, -f6 03:40:41 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 03:40:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] 03:40:41 Resource [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] did not exist. Created. 03:40:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:42 /w/workspace/device-modbus-go/1@tmp/durable-aaa25285/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:40:42 + echo total: 0.10999999940395355 [Pipeline] stash 03:40:42 Warning: overwriting stash ‘stack-cost’ 03:40:43 Stashed 1 file(s) [Pipeline] } 03:40:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:40:43 $ docker stop --time=1 6adf74123077f6ae108b6b619e4b1215d8413ab67945eef0c170367be30daab5 03:40:44 $ docker rm -f --volumes 6adf74123077f6ae108b6b619e4b1215d8413ab67945eef0c170367be30daab5 [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 03:40:45 provisioning config files... 03:40:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/config18074468589340897132tmp [Pipeline] { [Pipeline] sh 03:40:46 + set +x 03:40:46 + curl -s https://codecov.io/bash 03:40:46 + bash -s -- 03:40:46 03:40:46 _____ _ 03:40:46 / ____| | | 03:40:46 | | ___ __| | ___ ___ _____ __ 03:40:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:40:46 | |___| (_) | (_| | __/ (_| (_) \ V / 03:40:46 \_____\___/ \__,_|\___|\___\___/ \_/ 03:40:46 Bash-1.0.6 03:40:46 03:40:46 03:40:46 ==> git version 2.25.1 found 03:40:46 ==> 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 03:40:46 Release-Date: 2020-01-08 03:40:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:40:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:40:46 ==> Jenkins CI detected. 03:40:46 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-513 03:40:46 project root: . 03:40:46 --> token set from env 03:40:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:40:46 ==> Running gcov in . (disable via -X gcov) 03:40:46 ==> Python coveragepy not found 03:40:46 ==> Searching for coverage reports in: 03:40:46 + . 03:40:46 -> Found 1 reports 03:40:46 ==> Detecting git/mercurial file structure 03:40:46 ==> Reading reports 03:40:46 + ./coverage.out bytes=24334 03:40:46 ==> Appending adjustments 03:40:46 https://docs.codecov.io/docs/fixing-reports 03:40:46 + Found adjustments 03:40:46 ==> Gzipping contents 03:40:46 4.0K /tmp/codecov.5IkJLP.gz 03:40:46 ==> Uploading reports 03:40:46 url: https://codecov.io 03:40:46 query: branch=PR-513&commit=e3f00256943a58c81974b75910b32e26900dac71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-513%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=513&job=&cmd_args= 03:40:46 -> Pinging Codecov 03:40:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-513&commit=e3f00256943a58c81974b75910b32e26900dac71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-513%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=513&job=&cmd_args= 03:40:46 -> Uploading to 03:40:46 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/e3f00256943a58c81974b75910b32e26900dac71/984f0c12-6fd5-44ad-a64c-7a82a72d9481.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T034046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=634b92791f35e51d782d48a38f7041a45d57308d03ae1feb67c23f3e4bade48f 03:40:46 % Total % Received % Xferd Average Speed Time Time Time Current 03:40:46 Dload Upload Total Spent Left Speed 03:40:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3981 0 0 100 3981 0 19610 --:--:-- --:--:-- --:--:-- 19514 100 3981 0 0 100 3981 0 13968 --:--:-- --:--:-- --:--:-- 13919 03:40:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] } 03:40:46 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 03:40:48 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-513/archives ] 03:40:48 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-513/archives 03:40:48 total 16 03:40:48 drwxr-xr-x 3 root root 4096 Oct 24 03:33 . 03:40:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:33 .. 03:40:48 drwxr-xr-x 2 root root 4096 Oct 24 03:33 cost 03:40:48 -rw-r--r-- 1 root root 88 Oct 24 03:33 cost.csv 03:40:48 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-513/archives 03:40:48 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-513/archives 03:40:48 total 16 03:40:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:33 . 03:40:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:33 .. 03:40:48 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 03:33 cost 03:40:48 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 03:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:40:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:40:49 ---> package-listing.sh 03:40:49 ++ facter osfamily 03:40:49 ++ tr '[:upper:]' '[:lower:]' 03:40:50 + OS_FAMILY=debian 03:40:50 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-513 03:40:50 + START_PACKAGES=/tmp/packages_start.txt 03:40:50 + END_PACKAGES=/tmp/packages_end.txt 03:40:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:40:50 + PACKAGES=/tmp/packages_start.txt 03:40:50 + '[' /w/workspace/xfoundry_device-modbus-go_PR-513 ']' 03:40:50 + PACKAGES=/tmp/packages_end.txt 03:40:50 + case "${OS_FAMILY}" in 03:40:50 + dpkg -l 03:40:50 + grep '^ii' 03:40:50 + '[' -f /tmp/packages_start.txt ']' 03:40:50 + '[' -f /tmp/packages_end.txt ']' 03:40:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:40:50 + '[' /w/workspace/xfoundry_device-modbus-go_PR-513 ']' 03:40:50 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-513/archives/ 03:40:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-513/archives/ [Pipeline] echo 03:40:50 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-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:40:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:51 prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container 03:40:51 $ 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-513/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-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@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 03:40:51 $ docker top a9ea0c863cb2d741123df8903d6841420aa3d6ea874e191999131831bdfdc584 -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:51 + touch /tmp/pre-build-complete [Pipeline] sh 03:40:52 + mkdir -p /var/log/sysstat [Pipeline] sh 03:40:52 + ls /var/log/sa-host 03:40:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:40:52 provisioning config files... 03:40:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/config1153149145842804789tmp [Pipeline] { [Pipeline] echo 03:40:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:40:52 ---> create-netrc.sh [Pipeline] } 03:40:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:40:53 ---> python-tools-install.sh [Pipeline] echo 03:40:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:40:53 ---> sudo-logs.sh 03:40:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:40:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:40:54 ---> job-cost.sh 03:40:54 lf-activate-venv: SKIPPING 03:40:54 DEBUG: total: 0.2199999988079071 03:40:54 INFO: Retrieving Stack Cost... 03:40:54 INFO: Retrieving Pricing Info for: v3-standard-8 03:40:54 INFO: Archiving Costs [Pipeline] echo 03:40:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:40:55 ---> logs-deploy.sh 03:40:55 lf-activate-venv: SKIPPING 03:40:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-513/1 03:40:55 INFO: archiving workspace using pattern(s): 03:40:56 Archives upload complete. 03:40:56 INFO: archiving logs to Nexus