Pull request #516 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b78431b837dc6b22d42e05989846cc27db5233f0+3673e51062d5a24ca3a0eb46c133605be474e190 (588ed03ac1832a2169c3af25f9e4a76b2fa62685) 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-ssh2911621011644563355.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-ssh12636394868800785250.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-516/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-516/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6678313885865736676.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-516/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9608222399048277646.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-ssh16270148959998372228.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-516/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-516/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5272089895063779349.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] ========================================================= [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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10329 in /w/workspace/xfoundry_device-modbus-go_PR-516 [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-516 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3673e51062d5a24ca3a0eb46c133605be474e190 into PR head commit b78431b837dc6b22d42e05989846cc27db5233f0 Merge succeeded, producing b78431b837dc6b22d42e05989846cc27db5233f0 Checking out Revision b78431b837dc6b22d42e05989846cc27db5233f0 (PR-516) > 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/516/head:refs/remotes/origin/PR-516 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b78431b837dc6b22d42e05989846cc27db5233f0 # 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 3673e51062d5a24ca3a0eb46c133605be474e190 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b78431b837dc6b22d42e05989846cc27db5233f0 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:27:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:27:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:27:59 ========================================================= 23:27:59 EdgeX Global Pipelines Version Info 23:27:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:28:00 ------------------- 23:28:00 stable info: 23:28:00 ------------------- 23:28:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:28:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:28:00 Message: update stable to v1.0.254 23:28:01 ------------------- 23:28:01 experimental info: 23:28:01 ------------------- 23:28:01 Commited By: **** collab-it+edgex@linuxfoundation.org 23:28:01 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:28:01 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:28:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-516 [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-516 [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-516 [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b78431b837dc6b22d42e05989846cc27db5233f0 [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b78431b [Pipeline] echo 23:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:02 provisioning config files... 23:28:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp/config5313148630491739888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:03 ---> docker-login.sh 23:28:03 nexus3.edgexfoundry.org:10001 23:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:03 Configure a credential helper to remove this warning. See 23:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:03 23:28:03 Login Succeeded 23:28:03 nexus3.edgexfoundry.org:10002 23:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:03 Configure a credential helper to remove this warning. See 23:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:03 23:28:03 Login Succeeded 23:28:03 nexus3.edgexfoundry.org:10003 23:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:04 Configure a credential helper to remove this warning. See 23:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:04 23:28:04 Login Succeeded 23:28:04 nexus3.edgexfoundry.org:10004 23:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:04 Configure a credential helper to remove this warning. See 23:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:04 23:28:04 Login Succeeded 23:28:04 docker.io 23:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:04 Configure a credential helper to remove this warning. See 23:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:04 23:28:04 Login Succeeded 23:28:04 ---> docker-login.sh ends [Pipeline] } 23:28:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:28:05 + git rev-list -1 --merges b78431b837dc6b22d42e05989846cc27db5233f0~1..b78431b837dc6b22d42e05989846cc27db5233f0 [Pipeline] echo 23:28:05 -----------> git rev-list -1 --merges b78431b837dc6b22d42e05989846cc27db5233f0~1..b78431b837dc6b22d42e05989846cc27db5233f0 b78431b837dc6b22d42e05989846cc27db5233f0 [false] [Pipeline] sh 23:28:05 + git log --format=format:%s -1 b78431b837dc6b22d42e05989846cc27db5233f0 [Pipeline] echo 23:28:05 ========================================================= 23:28:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:28:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:28:05 + git log --format=format:%s -1 b78431b837dc6b22d42e05989846cc27db5233f0 [Pipeline] echo 23:28:05 [semverPrep] GIT_COMMIT: b78431b837dc6b22d42e05989846cc27db5233f0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 23:28:05 [semverPrep] This is not a build commit. [Pipeline] sh 23:28:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:28:06 + grep -v github /etc/ssh/ssh_known_hosts 23:28:06 + [ -e /tmp/ssh_known_hosts ] 23:28:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:28:06 + + echosudo tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 23:28:06 /etc/ssh/ssh_known_hosts 23:28:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:06 23:28:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:07 0.1.4: Pulling from edgex-devops/py-git-semver 23:28:07 b85a868b505f: Pulling fs layer 23:28:07 e2be974225ed: Pulling fs layer 23:28:07 339a4e72a1f5: Pulling fs layer 23:28:07 988bab9f4d93: Pulling fs layer 23:28:07 1469e6f7b9e6: Pulling fs layer 23:28:07 eaf3925da568: Pulling fs layer 23:28:07 bab4dde63d76: Pulling fs layer 23:28:07 bde34c3a00c8: Pulling fs layer 23:28:07 b352a97aabf1: Pulling fs layer 23:28:07 4872d77fe225: Pulling fs layer 23:28:07 5851b861e8e6: Pulling fs layer 23:28:07 bab4dde63d76: Waiting 23:28:07 bde34c3a00c8: Waiting 23:28:07 b352a97aabf1: Waiting 23:28:07 4872d77fe225: Waiting 23:28:07 5851b861e8e6: Waiting 23:28:07 1469e6f7b9e6: Waiting 23:28:07 eaf3925da568: Waiting 23:28:07 e2be974225ed: Download complete 23:28:07 988bab9f4d93: Verifying Checksum 23:28:07 988bab9f4d93: Download complete 23:28:07 1469e6f7b9e6: Verifying Checksum 23:28:07 1469e6f7b9e6: Download complete 23:28:07 eaf3925da568: Verifying Checksum 23:28:07 eaf3925da568: Download complete 23:28:07 339a4e72a1f5: Verifying Checksum 23:28:07 339a4e72a1f5: Download complete 23:28:07 bde34c3a00c8: Download complete 23:28:07 b352a97aabf1: Download complete 23:28:07 4872d77fe225: Verifying Checksum 23:28:07 4872d77fe225: Download complete 23:28:07 5851b861e8e6: Download complete 23:28:07 b85a868b505f: Verifying Checksum 23:28:07 b85a868b505f: Download complete 23:28:07 bab4dde63d76: Verifying Checksum 23:28:07 bab4dde63d76: Download complete 23:28:08 b85a868b505f: Pull complete 23:28:08 e2be974225ed: Pull complete 23:28:09 339a4e72a1f5: Pull complete 23:28:09 988bab9f4d93: Pull complete 23:28:09 1469e6f7b9e6: Pull complete 23:28:09 eaf3925da568: Pull complete 23:28:11 bab4dde63d76: Pull complete 23:28:11 bde34c3a00c8: Pull complete 23:28:11 b352a97aabf1: Pull complete 23:28:11 4872d77fe225: Pull complete 23:28:11 5851b861e8e6: Pull complete 23:28:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:28:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:11 prd-ubuntu20.04-docker-8c-8g-10329 does not seem to be running inside a container 23:28:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-516 -v /w/workspace/xfoundry_device-modbus-go_PR-516:/w/workspace/xfoundry_device-modbus-go_PR-516:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-516@tmp:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:28:14 $ docker top ff3594e16e66044a6a9a3694a7dec992da64539296cb4b80cac2b4992ee7af47 -eo pid,comm 23:28:14 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). 23:28:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:14 [ssh-agent] Looking for ssh-agent implementation... 23:28:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:14 $ docker exec ff3594e16e66044a6a9a3694a7dec992da64539296cb4b80cac2b4992ee7af47 ssh-agent 23:28:14 SSH_AUTH_SOCK=/tmp/ssh-Htlke7M8vCC5/agent.33 23:28:14 SSH_AGENT_PID=39 23:28:14 Running ssh-add (command line suppressed) 23:28:14 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-516@tmp/private_key_4592118461349903518.key (/w/workspace/xfoundry_device-modbus-go_PR-516@tmp/private_key_4592118461349903518.key) 23:28:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:15 + git tag --points-at HEAD [Pipeline] } 23:28:15 $ docker exec --env ******** --env ******** ff3594e16e66044a6a9a3694a7dec992da64539296cb4b80cac2b4992ee7af47 ssh-agent -k 23:28:15 unset SSH_AUTH_SOCK; 23:28:15 unset SSH_AGENT_PID; 23:28:15 echo Agent pid 39 killed; 23:28:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:28:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:15 [ssh-agent] Looking for ssh-agent implementation... 23:28:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:15 $ docker exec ff3594e16e66044a6a9a3694a7dec992da64539296cb4b80cac2b4992ee7af47 ssh-agent 23:28:15 SSH_AUTH_SOCK=/tmp/ssh-y4W4kRjBAUKq/agent.72 23:28:15 SSH_AGENT_PID=78 23:28:15 Running ssh-add (command line suppressed) 23:28:15 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-516@tmp/private_key_13645116662815240414.key (/w/workspace/xfoundry_device-modbus-go_PR-516@tmp/private_key_13645116662815240414.key) 23:28:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:16 + git semver init 23:28:16 2023-10-24 23:28:16,356 [run_init] DEBUG init version:0.0.0 force:False 23:28:16 2023-10-24 23:28:16,356 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-516/.semver 23:28:16 2023-10-24 23:28:16,357 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-516/.semver 23:28:16 2023-10-24 23:28:16,357 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-516/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-516, universal_newlines=False, shell=None, istream=None) 23:28:17 2023-10-24 23:28:17,236 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-516/.git/info/exclude 23:28:17 2023-10-24 23:28:17,237 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-516/.semver/PR-516 with force:False 23:28:17 2023-10-24 23:28:17,237 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-516/.semver/PR-516 23:28:17 2023-10-24 23:28:17,241 [execute] INFO git cat-file --batch-check 23:28:17 2023-10-24 23:28:17,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-516/.semver, universal_newlines=False, shell=None, istream=) 23:28:17 2023-10-24 23:28:17,246 [execute] INFO git cat-file --batch 23:28:17 2023-10-24 23:28:17,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-516/.semver, universal_newlines=False, shell=None, istream=) 23:28:17 2023-10-24 23:28:17,250 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-516/.semver/PR-516 23:28:17 0.0.0 [Pipeline] } 23:28:17 $ docker exec --env ******** --env ******** ff3594e16e66044a6a9a3694a7dec992da64539296cb4b80cac2b4992ee7af47 ssh-agent -k 23:28:17 unset SSH_AUTH_SOCK; 23:28:17 unset SSH_AGENT_PID; 23:28:17 echo Agent pid 78 killed; 23:28:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:17 + git semver [Pipeline] } 23:28:18 $ docker stop --time=1 ff3594e16e66044a6a9a3694a7dec992da64539296cb4b80cac2b4992ee7af47 23:28:19 $ docker rm -f --volumes ff3594e16e66044a6a9a3694a7dec992da64539296cb4b80cac2b4992ee7af47 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:28:20 Stashed 1 file(s) [Pipeline] echo 23:28:20 [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 23:28:20 provisioning config files... 23:28:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp/config16381929378895765680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:21 ---> docker-login.sh 23:28:21 nexus3.edgexfoundry.org:10001 23:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:21 Configure a credential helper to remove this warning. See 23:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:21 23:28:21 Login Succeeded 23:28:21 nexus3.edgexfoundry.org:10002 23:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:21 Configure a credential helper to remove this warning. See 23:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:21 23:28:21 Login Succeeded 23:28:21 nexus3.edgexfoundry.org:10003 23:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:21 Configure a credential helper to remove this warning. See 23:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:21 23:28:21 Login Succeeded 23:28:21 nexus3.edgexfoundry.org:10004 23:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:21 Configure a credential helper to remove this warning. See 23:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:21 23:28:21 Login Succeeded 23:28:21 docker.io 23:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:21 Configure a credential helper to remove this warning. See 23:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:21 23:28:21 Login Succeeded 23:28:21 ---> docker-login.sh ends [Pipeline] } 23:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:21 ========================================================= 23:28:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:28:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:22 + 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 . 23:28:22 Sending build context to Docker daemon 6.537MB 23:28:22 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 23:28:22 Step 2/10 : FROM ${BASE} AS builder 23:28:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:28:22 7264a8db6415: Pulling fs layer 23:28:22 c4d48a809fc2: Pulling fs layer 23:28:22 4f1c88b9dad5: Pulling fs layer 23:28:22 ad3a456e5733: Pulling fs layer 23:28:22 33e27b845d1e: Pulling fs layer 23:28:22 c68163c4e522: Pulling fs layer 23:28:22 50da416c3ac9: Pulling fs layer 23:28:22 23d2d4c4bb30: Pulling fs layer 23:28:22 ad3a456e5733: Waiting 23:28:22 c68163c4e522: Waiting 23:28:22 50da416c3ac9: Waiting 23:28:22 23d2d4c4bb30: Waiting 23:28:22 33e27b845d1e: Waiting 23:28:22 c4d48a809fc2: Download complete 23:28:22 ad3a456e5733: Verifying Checksum 23:28:22 ad3a456e5733: Download complete 23:28:22 33e27b845d1e: Verifying Checksum 23:28:22 33e27b845d1e: Download complete 23:28:22 7264a8db6415: Verifying Checksum 23:28:22 7264a8db6415: Download complete 23:28:22 c68163c4e522: Verifying Checksum 23:28:22 c68163c4e522: Download complete 23:28:22 7264a8db6415: Pull complete 23:28:22 23d2d4c4bb30: Verifying Checksum 23:28:22 23d2d4c4bb30: Download complete 23:28:22 c4d48a809fc2: Pull complete 23:28:22 4f1c88b9dad5: Verifying Checksum 23:28:22 4f1c88b9dad5: Download complete 23:28:23 50da416c3ac9: Verifying Checksum 23:28:23 50da416c3ac9: Download complete 23:28:25 4f1c88b9dad5: Pull complete 23:28:25 ad3a456e5733: Pull complete 23:28:26 33e27b845d1e: Pull complete 23:28:26 c68163c4e522: Pull complete 23:28:28 50da416c3ac9: Pull complete 23:28:28 23d2d4c4bb30: Pull complete 23:28:28 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 23:28:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:28:28 ---> 0786185ac409 23:28:28 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:28:31 ---> Running in 43129b61fd90 23:28:31 Removing intermediate container 43129b61fd90 23:28:31 ---> bcc5811eebc2 23:28:31 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:31 ---> Running in 3524f8bafdf1 23:28:31 Removing intermediate container 3524f8bafdf1 23:28:31 ---> 77cbdeb7a66d 23:28:31 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:28:31 ---> Running in 792a03069575 23:28:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:28:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:28:32 (1/8) Installing openssh-keygen (9.3_p2-r0) 23:28:32 (2/8) Installing libedit (20221030.3.1-r1) 23:28:32 (3/8) Installing openssh-client-common (9.3_p2-r0) 23:28:32 (4/8) Installing openssh-client-default (9.3_p2-r0) 23:28:32 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 23:28:32 (6/8) Installing openssh-server-common (9.3_p2-r0) 23:28:32 (7/8) Installing openssh-server (9.3_p2-r0) 23:28:32 (8/8) Installing openssh (9.3_p2-r0) 23:28:32 Executing busybox-1.36.1-r2.trigger 23:28:32 OK: 270 MiB in 60 packages 23:28:33 Removing intermediate container 792a03069575 23:28:33 ---> b6c5f1a918af 23:28:33 Step 6/10 : WORKDIR /device-modbus-go 23:28:33 ---> Running in c625537dd67a 23:28:33 Removing intermediate container c625537dd67a 23:28:33 ---> 9fa95bd227ee 23:28:33 Step 7/10 : COPY go.mod vendor* ./ 23:28:33 ---> 5be38c93da6b 23:28:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:33 ---> Running in 7363971851f5 23:28:35 Still waiting to schedule task 23:28:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:29:19 Removing intermediate container 7363971851f5 23:29:19 ---> 8c4c96322eb2 23:29:19 Step 9/10 : COPY . . 23:29:19 ---> a72f99dec07e 23:29:19 Step 10/10 : RUN ${MAKE} 23:29:19 ---> Running in a042635af71c 23:29:19 noop 23:29:19 Removing intermediate container a042635af71c 23:29:19 ---> 88c6c6408a03 23:29:19 Successfully built 88c6c6408a03 23:29:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:20 + docker inspect -f . ci-base-image-x86_64 23:29:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:20 prd-ubuntu20.04-docker-8c-8g-10329 does not seem to be running inside a container 23:29:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-516 -v /w/workspace/xfoundry_device-modbus-go_PR-516:/w/workspace/xfoundry_device-modbus-go_PR-516:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-516@tmp:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:29:20 $ docker top d3ed4e2389aa6131bec4ebffa93fdf9aec3a3753d6d54cacc596bfad0821cf2e -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:21 + go version 23:29:21 go version go1.21.0 linux/amd64 [Pipeline] } 23:29:21 $ docker stop --time=1 d3ed4e2389aa6131bec4ebffa93fdf9aec3a3753d6d54cacc596bfad0821cf2e 23:29:22 $ docker rm -f --volumes d3ed4e2389aa6131bec4ebffa93fdf9aec3a3753d6d54cacc596bfad0821cf2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:23 + docker inspect -f . ci-base-image-x86_64 23:29:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:23 prd-ubuntu20.04-docker-8c-8g-10329 does not seem to be running inside a container 23:29:23 $ 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-516 -v /w/workspace/xfoundry_device-modbus-go_PR-516:/w/workspace/xfoundry_device-modbus-go_PR-516:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-516@tmp:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:29:23 $ docker top fcdef9d9f7463f5702a461d09333bf09c5b3e02098a4c1771d8823f42ddb4df3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:24 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-516 [Pipeline] fileExists [Pipeline] sh 23:29:24 + make test 23:29:24 go test ./... -coverprofile=coverage.out 23:29:25 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:29:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:29:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 23:29:41 go vet ./... 23:29:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:29:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:29:43 ./bin/test-attribution-txt.sh [Pipeline] echo 23:29:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:29:43 $ docker stop --time=1 fcdef9d9f7463f5702a461d09333bf09c5b3e02098a4c1771d8823f42ddb4df3 23:29:46 $ docker rm -f --volumes fcdef9d9f7463f5702a461d09333bf09c5b3e02098a4c1771d8823f42ddb4df3 [Pipeline] // withDockerContainer [Pipeline] sh 23:29:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:29:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:29:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:29:48 + ls -al . 23:29:48 total 188 23:29:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 23:29 . 23:29:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:27 .. 23:29:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 23:27 .dockerignore 23:29:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:29 .git 23:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:27 .github 23:29:48 -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 23:27 .gitignore 23:29:48 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:27 .golangci.yml 23:29:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:28 .semver 23:29:48 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 23:27 Attribution.txt 23:29:48 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 23:27 CHANGELOG.md 23:29:48 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 23:27 Dockerfile 23:29:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:27 GOVERNANCE.md 23:29:48 -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 23:27 Jenkinsfile 23:29:48 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:27 LICENSE 23:29:48 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 23:27 Makefile 23:29:48 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 23:27 OWNERS.md 23:29:48 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 23:27 README.md 23:29:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 23:28 VERSION 23:29:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:27 bin 23:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:27 cmd 23:29:48 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 23:29 coverage.out 23:29:48 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 23:27 go.mod 23:29:48 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 23:27 go.sum 23:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:27 internal 23:29:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:27 simulator 23:29:48 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 23:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:48 + 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=b78431b837dc6b22d42e05989846cc27db5233f0 --label arch=amd64 --label version=0.0.0 . 23:29:48 Sending build context to Docker daemon 6.562MB 23:29:48 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 23:29:48 Step 2/22 : FROM ${BASE} AS builder 23:29:48 ---> 88c6c6408a03 23:29:48 Step 3/22 : ARG ADD_BUILD_TAGS="" 23:29:48 ---> Running in 5abffc56c591 23:29:48 Removing intermediate container 5abffc56c591 23:29:48 ---> b582a3512dd5 23:29:48 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:29:48 ---> Running in b1b6ab6c70d4 23:29:48 Removing intermediate container b1b6ab6c70d4 23:29:48 ---> 98fafb3b8d81 23:29:48 Step 5/22 : RUN apk add --update --no-cache make git openssh 23:29:48 ---> Running in 0723bdcde16f 23:29:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:29:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:29:49 OK: 270 MiB in 60 packages 23:29:49 Removing intermediate container 0723bdcde16f 23:29:49 ---> 46b56d395150 23:29:49 Step 6/22 : WORKDIR /device-modbus-go 23:29:49 ---> Running in cf0d032ffd56 23:29:50 Removing intermediate container cf0d032ffd56 23:29:50 ---> 18b7e22ebf39 23:29:50 Step 7/22 : COPY go.mod vendor* ./ 23:29:50 ---> 88aa112c594d 23:29:50 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:29:50 ---> Running in 69bceaf2403a 23:29:50 Removing intermediate container 69bceaf2403a 23:29:50 ---> d755a01dadb7 23:29:50 Step 9/22 : COPY . . 23:29:51 ---> 2147338b1b56 23:29:51 Step 10/22 : RUN ${MAKE} 23:29:51 ---> Running in e329970945b0 23:29:51 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.36" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:30:09 Removing intermediate container e329970945b0 23:30:09 ---> b16e8a3355c1 23:30:09 Step 11/22 : FROM alpine:3.18 23:30:09 3.18: Pulling from library/alpine 23:30:09 96526aa774ef: Pulling fs layer 23:30:09 96526aa774ef: Verifying Checksum 23:30:09 96526aa774ef: Download complete 23:30:09 96526aa774ef: Pull complete 23:30:09 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:30:09 Status: Downloaded newer image for alpine:3.18 23:30:09 ---> 8ca4688f4f35 23:30:09 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:30:09 ---> Running in 28b553538427 23:30:09 Removing intermediate container 28b553538427 23:30:09 ---> 325e3a9a88d8 23:30:09 Step 13/22 : RUN apk add --update --no-cache dumb-init 23:30:09 ---> Running in fd5bc8826617 23:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:30:10 (1/1) Installing dumb-init (1.2.5-r2) 23:30:10 Executing busybox-1.36.1-r2.trigger 23:30:10 OK: 7 MiB in 16 packages 23:30:10 Removing intermediate container fd5bc8826617 23:30:10 ---> 6ebfd399632b 23:30:10 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:30:11 ---> b1eec3750830 23:30:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:30:11 ---> 86ebc07a24be 23:30:11 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:30:11 ---> d9d6d48e4232 23:30:11 Step 17/22 : EXPOSE 59901 23:30:11 ---> Running in c9e25be55938 23:30:12 Removing intermediate container c9e25be55938 23:30:12 ---> 08b2ce939a95 23:30:12 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:30:12 ---> Running in b80fe374210c 23:30:12 Removing intermediate container b80fe374210c 23:30:12 ---> ad9770b269e8 23:30:12 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:30:12 ---> Running in ae505a533f25 23:30:12 Removing intermediate container ae505a533f25 23:30:12 ---> 02e76c6b8151 23:30:12 Step 20/22 : LABEL arch=amd64 23:30:12 ---> Running in 55b359a99298 23:30:12 Removing intermediate container 55b359a99298 23:30:12 ---> e945ab642730 23:30:12 Step 21/22 : LABEL git_sha=b78431b837dc6b22d42e05989846cc27db5233f0 23:30:12 ---> Running in 62652cc9ec60 23:30:12 Removing intermediate container 62652cc9ec60 23:30:12 ---> 913412bc5329 23:30:12 Step 22/22 : LABEL version=0.0.0 23:30:12 ---> Running in f39a75d91b31 23:30:12 Removing intermediate container f39a75d91b31 23:30:12 ---> 8eb947e926b9 23:30:12 [Warning] One or more build-args [ARCH] were not consumed 23:30:12 Successfully built 8eb947e926b9 23:30:12 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:13 23:30:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:13 latest: Pulling from edgex-lftools-log-publisher 23:30:13 5eb5b503b376: Pulling fs layer 23:30:13 5c69ac0246d0: Pulling fs layer 23:30:13 ec43610c2a17: Pulling fs layer 23:30:13 3a2ae6a8a46f: Pulling fs layer 23:30:13 33b1e0a273af: Pulling fs layer 23:30:13 5d3b04190fa2: Pulling fs layer 23:30:13 2f39f015ded8: Pulling fs layer 23:30:13 5d3b04190fa2: Waiting 23:30:13 3a2ae6a8a46f: Waiting 23:30:13 33b1e0a273af: Waiting 23:30:13 2f39f015ded8: Waiting 23:30:13 5c69ac0246d0: Verifying Checksum 23:30:13 5c69ac0246d0: Download complete 23:30:13 3a2ae6a8a46f: Download complete 23:30:13 33b1e0a273af: Verifying Checksum 23:30:13 33b1e0a273af: Download complete 23:30:13 ec43610c2a17: Verifying Checksum 23:30:13 ec43610c2a17: Download complete 23:30:13 5d3b04190fa2: Download complete 23:30:14 5eb5b503b376: Verifying Checksum 23:30:14 5eb5b503b376: Download complete 23:30:14 2f39f015ded8: Verifying Checksum 23:30:14 2f39f015ded8: Download complete 23:30:15 5eb5b503b376: Pull complete 23:30:15 5c69ac0246d0: Pull complete 23:30:15 ec43610c2a17: Pull complete 23:30:15 3a2ae6a8a46f: Pull complete 23:30:15 33b1e0a273af: Pull complete 23:30:16 5d3b04190fa2: Pull complete 23:30:20 2f39f015ded8: Pull complete 23:30:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:30:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:20 prd-ubuntu20.04-docker-8c-8g-10329 does not seem to be running inside a container 23:30:20 $ 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-516 -v /w/workspace/xfoundry_device-modbus-go_PR-516:/w/workspace/xfoundry_device-modbus-go_PR-516:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-516@tmp:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:30:24 $ docker top 155b553af97609f21939b02bdd59ebb3c5e87fa37fe8a20abf807d953280f8f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:24 ---> job-cost.sh 23:30:24 lf-activate-venv: SKIPPING 23:30:24 INFO: No Stack... 23:30:25 INFO: Retrieving Pricing Info for: v3-standard-8 23:30:25 INFO: Archiving Costs [Pipeline] sh 23:30:26 + cat /w/workspace/xfoundry_device-modbus-go_PR-516/archives/cost.csv 23:30:26 + cut -d, -f6 [Pipeline] lock 23:30:26 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-516-1-stack-cost] 23:30:26 Resource [jenkins-edgexfoundry-device-modbus-go-PR-516-1-stack-cost] did not exist. Created. 23:30:26 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-516-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:26 + echo total: 0.2199999988079071 [Pipeline] stash 23:30:26 Stashed 1 file(s) [Pipeline] } 23:30:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-516-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:26 $ docker stop --time=1 155b553af97609f21939b02bdd59ebb3c5e87fa37fe8a20abf807d953280f8f3 23:30:27 $ docker rm -f --volumes 155b553af97609f21939b02bdd59ebb3c5e87fa37fe8a20abf807d953280f8f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:31:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10331 in /w/workspace/xfoundry_device-modbus-go_PR-516 [Pipeline] { [Pipeline] ws 23:31:35 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 23:31:35 Selected Git installation does not exist. Using Default 23:31:35 The recommended git tool is: NONE 23:31:42 using credential edgex-jenkins-ssh 23:31:42 Cloning the remote Git repository 23:31:42 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:31:42 > git init /w/workspace/device-modbus-go/1 # timeout=10 23:31:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:31:42 > git --version # timeout=10 23:31:42 > git --version # 'git version 2.25.1' 23:31:42 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:31:43 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:31:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:31:45 Merging remotes/origin/main commit 3673e51062d5a24ca3a0eb46c133605be474e190 into PR head commit b78431b837dc6b22d42e05989846cc27db5233f0 23:31:46 Merge succeeded, producing b78431b837dc6b22d42e05989846cc27db5233f0 23:31:46 Checking out Revision b78431b837dc6b22d42e05989846cc27db5233f0 (PR-516) 23:31:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:31:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:31:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/516/head:refs/remotes/origin/PR-516 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:31:45 > git config core.sparsecheckout # timeout=10 23:31:45 > git checkout -f b78431b837dc6b22d42e05989846cc27db5233f0 # timeout=10 23:31:46 > git remote # timeout=10 23:31:46 > git config --get remote.origin.url # timeout=10 23:31:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:31:46 > git merge 3673e51062d5a24ca3a0eb46c133605be474e190 # timeout=10 23:31:46 > git rev-parse HEAD^{commit} # timeout=10 23:31:46 > git config core.sparsecheckout # timeout=10 23:31:46 > git checkout -f b78431b837dc6b22d42e05989846cc27db5233f0 # timeout=10 23:31:46 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 23:31:46 > git --version # timeout=10 23:31:46 > git --version # 'git version 2.25.1' 23:31:46 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:31:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:31:48 % Total % Received % Xferd Average Speed Time Time Time Current 23:31:48 Dload Upload Total Spent Left Speed 23:31:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 23:31:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:31:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:31:49 + sudo tee /etc/docker/daemon.new 23:31:49 { 23:31:49 "registry-mirrors": [ 23:31:49 "https://nexus3.edgexfoundry.org:10001" 23:31:49 ], 23:31:49 "bip": "10.250.0.254/24", 23:31:49 "hosts": [ 23:31:49 "tcp://0.0.0.0:5555", 23:31:49 "unix:///var/run/docker.sock" 23:31:49 ], 23:31:49 "mtu": 1458, 23:31:49 "selinux-enabled": true, 23:31:49 "seccomp-profile": "/etc/docker/seccomp.json" 23:31:49 } [Pipeline] sh 23:31:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:31:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:08 provisioning config files... 23:32:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config17099115191269783600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:08 ---> docker-login.sh 23:32:08 nexus3.edgexfoundry.org:10001 23:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:09 Configure a credential helper to remove this warning. See 23:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:09 23:32:09 Login Succeeded 23:32:09 nexus3.edgexfoundry.org:10002 23:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:09 Configure a credential helper to remove this warning. See 23:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:09 23:32:09 Login Succeeded 23:32:09 nexus3.edgexfoundry.org:10003 23:32:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:10 Configure a credential helper to remove this warning. See 23:32:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:10 23:32:10 Login Succeeded 23:32:10 nexus3.edgexfoundry.org:10004 23:32:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:10 Configure a credential helper to remove this warning. See 23:32:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:10 23:32:10 Login Succeeded 23:32:10 docker.io 23:32:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:11 Configure a credential helper to remove this warning. See 23:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:11 23:32:11 Login Succeeded 23:32:11 ---> docker-login.sh ends [Pipeline] } 23:32:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:32:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:32:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:32:11 ========================================================= 23:32:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:32:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:12 + 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 . 23:32:12 Sending build context to Docker daemon 3.386MB 23:32:12 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 23:32:12 Step 2/10 : FROM ${BASE} AS builder 23:32:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:32:12 9fda8d8052c6: Pulling fs layer 23:32:12 5d54e960e981: Pulling fs layer 23:32:12 c4a7e357bf2a: Pulling fs layer 23:32:12 f0e02332f6b5: Pulling fs layer 23:32:12 cefa15bbcfad: Pulling fs layer 23:32:12 17808c966233: Pulling fs layer 23:32:12 f4c1fc716caa: Pulling fs layer 23:32:12 f0e02332f6b5: Waiting 23:32:12 cefa15bbcfad: Waiting 23:32:12 17808c966233: Waiting 23:32:12 f4c1fc716caa: Waiting 23:32:13 5d54e960e981: Download complete 23:32:13 f0e02332f6b5: Verifying Checksum 23:32:13 f0e02332f6b5: Download complete 23:32:13 cefa15bbcfad: Verifying Checksum 23:32:13 cefa15bbcfad: Download complete 23:32:13 9fda8d8052c6: Verifying Checksum 23:32:13 9fda8d8052c6: Download complete 23:32:13 f4c1fc716caa: Verifying Checksum 23:32:13 f4c1fc716caa: Download complete 23:32:15 c4a7e357bf2a: Verifying Checksum 23:32:15 c4a7e357bf2a: Download complete 23:32:15 17808c966233: Download complete 23:32:16 9fda8d8052c6: Pull complete 23:32:16 5d54e960e981: Pull complete 23:32:31 c4a7e357bf2a: Pull complete 23:32:31 f0e02332f6b5: Pull complete 23:32:31 cefa15bbcfad: Pull complete 23:32:40 17808c966233: Pull complete 23:32:41 f4c1fc716caa: Pull complete 23:32:41 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 23:32:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:32:41 ---> ea914061e18c 23:32:41 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:32:43 ---> Running in b184117b4186 23:32:45 Removing intermediate container b184117b4186 23:32:45 ---> 000e14623c9e 23:32:45 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:32:45 ---> Running in e341bab679bf 23:32:45 Removing intermediate container e341bab679bf 23:32:45 ---> bd96827277f6 23:32:45 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:32:45 ---> Running in 269062207e8d 23:32:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:32:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:32:48 (1/8) Installing openssh-keygen (9.3_p2-r0) 23:32:48 (2/8) Installing libedit (20221030.3.1-r1) 23:32:48 (3/8) Installing openssh-client-common (9.3_p2-r0) 23:32:49 (4/8) Installing openssh-client-default (9.3_p2-r0) 23:32:49 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 23:32:49 (6/8) Installing openssh-server-common (9.3_p2-r0) 23:32:49 (7/8) Installing openssh-server (9.3_p2-r0) 23:32:49 (8/8) Installing openssh (9.3_p2-r0) 23:32:49 Executing busybox-1.36.1-r2.trigger 23:32:49 OK: 272 MiB in 60 packages 23:32:50 Removing intermediate container 269062207e8d 23:32:50 ---> f0bb5bb98bdd 23:32:50 Step 6/10 : WORKDIR /device-modbus-go 23:32:50 ---> Running in e6b5ef9821bd 23:32:50 Removing intermediate container e6b5ef9821bd 23:32:50 ---> 5630bb6770f9 23:32:50 Step 7/10 : COPY go.mod vendor* ./ 23:32:51 ---> 763267d46920 23:32:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:32:51 ---> Running in 6dd765a62f58 23:34:28 Removing intermediate container 6dd765a62f58 23:34:28 ---> 541242c9951a 23:34:28 Step 9/10 : COPY . . 23:34:29 ---> 43b9325e4541 23:34:29 Step 10/10 : RUN ${MAKE} 23:34:29 ---> Running in 61133969c45b 23:34:29 noop 23:34:30 Removing intermediate container 61133969c45b 23:34:30 ---> 1b7563115ccd 23:34:30 Successfully built 1b7563115ccd 23:34:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:31 + docker inspect -f . ci-base-image-arm64 23:34:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:31 prd-ubuntu20.04-docker-arm64-4c-16g-10331 does not seem to be running inside a container 23:34:31 $ 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 ******** ci-base-image-arm64 cat 23:34:36 $ docker top 3204082ff7ed70aab949e920c7e681717f0b6fc6505000c957e907208c2909e4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:36 + go version 23:34:36 go version go1.21.0 linux/arm64 [Pipeline] } 23:34:36 $ docker stop --time=1 3204082ff7ed70aab949e920c7e681717f0b6fc6505000c957e907208c2909e4 23:34:38 $ docker rm -f --volumes 3204082ff7ed70aab949e920c7e681717f0b6fc6505000c957e907208c2909e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:39 + docker inspect -f . ci-base-image-arm64 23:34:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:39 prd-ubuntu20.04-docker-arm64-4c-16g-10331 does not seem to be running inside a container 23:34:39 $ 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 ******** ci-base-image-arm64 cat 23:34:41 $ docker top 3bc0c1732b6067d4213f218dc99331b9ec55183333030ffb31940539f8ac8fc0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:42 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 23:34:42 + make test 23:34:42 go test ./... -coverprofile=coverage.out 23:34:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:36:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:36:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.9% of statements 23:36:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:36:42 go vet ./... 23:37:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:37:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:37:01 ./bin/test-attribution-txt.sh [Pipeline] echo 23:37:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:37:01 $ docker stop --time=1 3bc0c1732b6067d4213f218dc99331b9ec55183333030ffb31940539f8ac8fc0 23:37:03 $ docker rm -f --volumes 3bc0c1732b6067d4213f218dc99331b9ec55183333030ffb31940539f8ac8fc0 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:37:04 Warning: overwriting stash ‘coverage-report’ 23:37:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:37:05 + ls -al . 23:37:05 total 184 23:37:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:34 . 23:37:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:31 .. 23:37:05 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 23:31 .dockerignore 23:37:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:31 .git 23:37:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:31 .github 23:37:05 -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 23:31 .gitignore 23:37:05 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:31 .golangci.yml 23:37:05 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 23:31 Attribution.txt 23:37:05 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 23:31 CHANGELOG.md 23:37:05 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 23:31 Dockerfile 23:37:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:31 GOVERNANCE.md 23:37:05 -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 23:31 Jenkinsfile 23:37:05 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:31 LICENSE 23:37:05 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 23:31 Makefile 23:37:05 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 23:31 OWNERS.md 23:37:05 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 23:31 README.md 23:37:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 23:28 VERSION 23:37:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:31 bin 23:37:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:31 cmd 23:37:05 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 23:36 coverage.out 23:37:05 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 23:31 go.mod 23:37:05 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 23:31 go.sum 23:37:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:31 internal 23:37:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:31 simulator 23:37:05 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 23:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:06 + 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=b78431b837dc6b22d42e05989846cc27db5233f0 --label arch=arm64 --label version=0.0.0 . 23:37:06 Sending build context to Docker daemon 3.411MB 23:37:06 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 23:37:06 Step 2/22 : FROM ${BASE} AS builder 23:37:06 ---> 1b7563115ccd 23:37:06 Step 3/22 : ARG ADD_BUILD_TAGS="" 23:37:09 ---> Running in 928be387ed9a 23:37:09 Removing intermediate container 928be387ed9a 23:37:09 ---> bfac5ac37ccc 23:37:09 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:09 ---> Running in 3d7064009e63 23:37:09 Removing intermediate container 3d7064009e63 23:37:09 ---> d165072a95e9 23:37:09 Step 5/22 : RUN apk add --update --no-cache make git openssh 23:37:09 ---> Running in b635024b4e87 23:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:37:12 OK: 272 MiB in 60 packages 23:37:13 Removing intermediate container b635024b4e87 23:37:13 ---> c5246cb2ea1a 23:37:13 Step 6/22 : WORKDIR /device-modbus-go 23:37:13 ---> Running in c395860f8314 23:37:13 Removing intermediate container c395860f8314 23:37:13 ---> d310798a5157 23:37:13 Step 7/22 : COPY go.mod vendor* ./ 23:37:14 ---> 1667868c466c 23:37:14 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:14 ---> Running in 0ee35ead7fe7 23:37:16 Removing intermediate container 0ee35ead7fe7 23:37:16 ---> b8651435b760 23:37:16 Step 9/22 : COPY . . 23:37:17 ---> 03ec36356be0 23:37:17 Step 10/22 : RUN ${MAKE} 23:37:17 ---> Running in 31bee8bdc6c9 23:37:18 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.36" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:39:24 Removing intermediate container 31bee8bdc6c9 23:39:24 ---> d5dc9a306657 23:39:24 Step 11/22 : FROM alpine:3.18 23:39:24 3.18: Pulling from library/alpine 23:39:24 579b34f0a95b: Pulling fs layer 23:39:24 579b34f0a95b: Download complete 23:39:24 579b34f0a95b: Pull complete 23:39:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:39:24 Status: Downloaded newer image for alpine:3.18 23:39:24 ---> 3cc203321400 23:39:24 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:39:24 ---> Running in 255fded90086 23:39:24 Removing intermediate container 255fded90086 23:39:24 ---> fee32bc05c34 23:39:24 Step 13/22 : RUN apk add --update --no-cache dumb-init 23:39:24 ---> Running in c28264aa1839 23:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:39:24 (1/1) Installing dumb-init (1.2.5-r2) 23:39:24 Executing busybox-1.36.1-r2.trigger 23:39:24 OK: 8 MiB in 16 packages 23:39:24 Removing intermediate container c28264aa1839 23:39:24 ---> a5655d771693 23:39:24 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 23:39:24 ---> 2f52e2e752d3 23:39:24 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 23:39:24 ---> 57d33eeca1dc 23:39:24 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:39:24 ---> fb7b55c1c7b3 23:39:24 Step 17/22 : EXPOSE 59901 23:39:24 ---> Running in 4ce958d55a07 23:39:24 Removing intermediate container 4ce958d55a07 23:39:24 ---> 048f1d74f80b 23:39:24 Step 18/22 : ENTRYPOINT ["/device-modbus"] 23:39:24 ---> Running in 4617767c4db4 23:39:24 Removing intermediate container 4617767c4db4 23:39:24 ---> 5b3d79d23a82 23:39:24 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:39:24 ---> Running in 96b6b3c86709 23:39:24 Removing intermediate container 96b6b3c86709 23:39:24 ---> 760f2ebac924 23:39:24 Step 20/22 : LABEL arch=arm64 23:39:24 ---> Running in 7adb6ed1de1e 23:39:24 Removing intermediate container 7adb6ed1de1e 23:39:24 ---> 5bb5a6b706ca 23:39:24 Step 21/22 : LABEL git_sha=b78431b837dc6b22d42e05989846cc27db5233f0 23:39:24 ---> Running in 53923e8a899f 23:39:24 Removing intermediate container 53923e8a899f 23:39:24 ---> b459fe2448ed 23:39:24 Step 22/22 : LABEL version=0.0.0 23:39:24 ---> Running in e68d5fe8c0b8 23:39:24 Removing intermediate container e68d5fe8c0b8 23:39:24 ---> 70d0dff4ebfa 23:39:24 [Warning] One or more build-args [ARCH] were not consumed 23:39:24 Successfully built 70d0dff4ebfa 23:39:24 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 23:39:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:25 23:39:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:26 arm64: Pulling from edgex-lftools-log-publisher 23:39:26 8998bd30e6a1: Pulling fs layer 23:39:26 04944245beec: Pulling fs layer 23:39:26 699f458cf7ca: Pulling fs layer 23:39:26 765212b225bb: Pulling fs layer 23:39:26 f23df028b6ca: Pulling fs layer 23:39:26 765212b225bb: Waiting 23:39:26 f23df028b6ca: Waiting 23:39:26 d65c8cfc05b1: Pulling fs layer 23:39:26 2437ff75d9bd: Pulling fs layer 23:39:26 d65c8cfc05b1: Waiting 23:39:26 2437ff75d9bd: Waiting 23:39:26 04944245beec: Verifying Checksum 23:39:26 04944245beec: Download complete 23:39:26 765212b225bb: Verifying Checksum 23:39:26 765212b225bb: Download complete 23:39:26 f23df028b6ca: Verifying Checksum 23:39:26 f23df028b6ca: Download complete 23:39:26 d65c8cfc05b1: Download complete 23:39:26 699f458cf7ca: Verifying Checksum 23:39:26 699f458cf7ca: Download complete 23:39:27 8998bd30e6a1: Verifying Checksum 23:39:27 8998bd30e6a1: Download complete 23:39:29 2437ff75d9bd: Verifying Checksum 23:39:29 2437ff75d9bd: Download complete 23:39:31 8998bd30e6a1: Pull complete 23:39:32 04944245beec: Pull complete 23:39:33 699f458cf7ca: Pull complete 23:39:33 765212b225bb: Pull complete 23:39:34 f23df028b6ca: Pull complete 23:39:34 d65c8cfc05b1: Pull complete 23:39:52 2437ff75d9bd: Pull complete 23:39:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:39:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:53 prd-ubuntu20.04-docker-arm64-4c-16g-10331 does not seem to be running inside a container 23:39:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:39:56 $ docker top bddd4a67ea417dbaf9c76e559a6f951b306a5989e96dedda1cee42265ec1f6cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:57 ---> job-cost.sh 23:39:57 lf-activate-venv: SKIPPING 23:39:57 INFO: No Stack... 23:39:57 INFO: Retrieving Pricing Info for: v3-standard-4 23:39:58 INFO: Archiving Costs [Pipeline] sh 23:39:58 + cut -d, -f6 23:39:58 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 23:39:58 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-516-1-stack-cost] 23:39:59 Resource [jenkins-edgexfoundry-device-modbus-go-PR-516-1-stack-cost] did not exist. Created. 23:39:59 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-516-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:39:59 /w/workspace/device-modbus-go/1@tmp/durable-05744443/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:00 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:00 Warning: overwriting stash ‘stack-cost’ 23:40:00 Stashed 1 file(s) [Pipeline] } 23:40:00 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-516-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:00 $ docker stop --time=1 bddd4a67ea417dbaf9c76e559a6f951b306a5989e96dedda1cee42265ec1f6cf 23:40:02 $ docker rm -f --volumes bddd4a67ea417dbaf9c76e559a6f951b306a5989e96dedda1cee42265ec1f6cf [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 23:40:03 provisioning config files... 23:40:03 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp/config4504114254096664619tmp [Pipeline] { [Pipeline] sh 23:40:03 + set +x 23:40:03 + curl -s https://codecov.io/bash 23:40:03 + bash -s -- 23:40:03 23:40:03 _____ _ 23:40:03 / ____| | | 23:40:03 | | ___ __| | ___ ___ _____ __ 23:40:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:03 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:03 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:03 Bash-1.0.6 23:40:03 23:40:03 23:40:03 ==> git version 2.25.1 found 23:40:03 ==> 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 23:40:03 Release-Date: 2020-01-08 23:40:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:40:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:40:03 ==> Jenkins CI detected. 23:40:03 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-516 23:40:03 project root: . 23:40:03 --> token set from env 23:40:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:03 ==> Running gcov in . (disable via -X gcov) 23:40:03 ==> Python coveragepy not found 23:40:03 ==> Searching for coverage reports in: 23:40:03 + . 23:40:03 -> Found 1 reports 23:40:03 ==> Detecting git/mercurial file structure 23:40:03 ==> Reading reports 23:40:03 + ./coverage.out bytes=24334 23:40:03 ==> Appending adjustments 23:40:03 https://docs.codecov.io/docs/fixing-reports 23:40:03 + Found adjustments 23:40:03 ==> Gzipping contents 23:40:03 4.0K /tmp/codecov.nN3OCP.gz 23:40:03 ==> Uploading reports 23:40:03 url: https://codecov.io 23:40:03 query: branch=PR-516&commit=b78431b837dc6b22d42e05989846cc27db5233f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-516%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=516&job=&cmd_args= 23:40:03 -> Pinging Codecov 23:40:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-516&commit=b78431b837dc6b22d42e05989846cc27db5233f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-516%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=516&job=&cmd_args= 23:40:03 -> Uploading to 23:40:03 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/b78431b837dc6b22d42e05989846cc27db5233f0/59877d10-abfe-4f00-88a3-00722c369f60.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T234003Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=812a5cb8da18313e83bc62a31a89ef81d9a27134830906c9b152bfde5f029d52 23:40:03 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:03 Dload Upload Total Spent Left Speed 23:40:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 13034 --:--:-- --:--:-- --:--:-- 13034 23:40:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b78431b837dc6b22d42e05989846cc27db5233f0 [Pipeline] } 23:40:04 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 23:40:06 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-516/archives ] 23:40:06 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-516/archives 23:40:06 total 16 23:40:06 drwxr-xr-x 3 root root 4096 Oct 24 23:30 . 23:40:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 23:30 .. 23:40:06 drwxr-xr-x 2 root root 4096 Oct 24 23:30 cost 23:40:06 -rw-r--r-- 1 root root 88 Oct 24 23:30 cost.csv 23:40:06 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-516/archives 23:40:06 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-516/archives 23:40:06 total 16 23:40:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:30 . 23:40:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 23:30 .. 23:40:06 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 23:30 cost 23:40:06 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 23:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:40:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:40:07 ---> package-listing.sh 23:40:07 ++ tr '[:upper:]' '[:lower:]' 23:40:07 ++ facter osfamily 23:40:07 + OS_FAMILY=debian 23:40:07 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-516 23:40:07 + START_PACKAGES=/tmp/packages_start.txt 23:40:07 + END_PACKAGES=/tmp/packages_end.txt 23:40:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:40:07 + PACKAGES=/tmp/packages_start.txt 23:40:07 + '[' /w/workspace/xfoundry_device-modbus-go_PR-516 ']' 23:40:07 + PACKAGES=/tmp/packages_end.txt 23:40:07 + case "${OS_FAMILY}" in 23:40:07 + dpkg -l 23:40:07 + grep '^ii' 23:40:07 + '[' -f /tmp/packages_start.txt ']' 23:40:07 + '[' -f /tmp/packages_end.txt ']' 23:40:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:40:07 + '[' /w/workspace/xfoundry_device-modbus-go_PR-516 ']' 23:40:07 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-516/archives/ 23:40:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-516/archives/ [Pipeline] echo 23:40:07 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-516/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:40:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:40:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:08 prd-ubuntu20.04-docker-8c-8g-10329 does not seem to be running inside a container 23:40:08 $ 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-516/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-516 -v /w/workspace/xfoundry_device-modbus-go_PR-516:/w/workspace/xfoundry_device-modbus-go_PR-516:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-516@tmp:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:40:08 $ docker top db2c5342fcdfc7bdd19d6726386346748aa5ba719cf89376b8cf7ebac91ebebe -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:09 + touch /tmp/pre-build-complete [Pipeline] sh 23:40:09 + mkdir -p /var/log/sysstat [Pipeline] sh 23:40:09 + ls /var/log/sa-host 23:40:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:10 provisioning config files... 23:40:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-516@tmp/config8060332972038559024tmp [Pipeline] { [Pipeline] echo 23:40:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:40:10 ---> create-netrc.sh [Pipeline] } 23:40:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:40:10 ---> python-tools-install.sh [Pipeline] echo 23:40:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:40:11 ---> sudo-logs.sh 23:40:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:40:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:40:11 ---> job-cost.sh 23:40:11 lf-activate-venv: SKIPPING 23:40:11 DEBUG: total: 0.2199999988079071 23:40:11 INFO: Retrieving Stack Cost... 23:40:12 INFO: Retrieving Pricing Info for: v3-standard-8 23:40:12 INFO: Archiving Costs [Pipeline] echo 23:40:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:40:12 ---> logs-deploy.sh 23:40:12 lf-activate-venv: SKIPPING 23:40:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-516/1 23:40:12 INFO: archiving workspace using pattern(s): 23:40:13 Archives upload complete. 23:40:13 INFO: archiving logs to Nexus