Pull request #501 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec4342f9c2ed8f812900d6b9ee34788e55f4fc02+aeb07f10ff8131d5f056bccd17568abba8c1758b (1d9c1e472d927c4657e6a04da1ec6eb6df560c80) 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-ssh13534025863913487655.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-ssh6632056573051460381.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-501/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-501/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1073825362278423995.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-501/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5085235076591093622.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-ssh13547349007907685718.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-501/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-501/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6589158715264770254.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6462 in /w/workspace/xfoundry_device-modbus-go_PR-501 [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-501 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/501/head:refs/remotes/origin/PR-501 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aeb07f10ff8131d5f056bccd17568abba8c1758b into PR head commit ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 Merge succeeded, producing ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 Checking out Revision ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 (PR-501) 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 03:00:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:00:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:00:36 ========================================================= 03:00:36 EdgeX Global Pipelines Version Info 03:00:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 # 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 aeb07f10ff8131d5f056bccd17568abba8c1758b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 # timeout=10 03:00:37 ------------------- 03:00:37 stable info: 03:00:37 ------------------- 03:00:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:00:37 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:00:37 Message: update stable to v1.0.254 03:00:37 ------------------- 03:00:37 experimental info: 03:00:37 ------------------- 03:00:37 Commited By: **** collab-it+edgex@linuxfoundation.org 03:00:37 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:00:37 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:00:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-501 [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-501 [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-501 [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec4342f [Pipeline] echo 03:00:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:39 provisioning config files... 03:00:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-501@tmp/config4955807841571894507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:40 ---> docker-login.sh 03:00:40 nexus3.edgexfoundry.org:10001 03:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:40 Configure a credential helper to remove this warning. See 03:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:40 03:00:40 Login Succeeded 03:00:40 nexus3.edgexfoundry.org:10002 03:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:40 Configure a credential helper to remove this warning. See 03:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:40 03:00:40 Login Succeeded 03:00:40 nexus3.edgexfoundry.org:10003 03:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:40 Configure a credential helper to remove this warning. See 03:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:40 03:00:40 Login Succeeded 03:00:40 nexus3.edgexfoundry.org:10004 03:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:40 Configure a credential helper to remove this warning. See 03:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:40 03:00:40 Login Succeeded 03:00:40 docker.io 03:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:41 Configure a credential helper to remove this warning. See 03:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:41 03:00:41 Login Succeeded 03:00:41 ---> docker-login.sh ends [Pipeline] } 03:00:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:00:41 + git rev-list -1 --merges ec4342f9c2ed8f812900d6b9ee34788e55f4fc02~1..ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 [Pipeline] echo 03:00:41 -----------> git rev-list -1 --merges ec4342f9c2ed8f812900d6b9ee34788e55f4fc02~1..ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 [false] [Pipeline] sh 03:00:42 + git log --format=format:%s -1 ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 [Pipeline] echo 03:00:42 ========================================================= 03:00:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:00:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:00:42 + git log --format=format:%s -1 ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 [Pipeline] echo 03:00:42 [semverPrep] GIT_COMMIT: ec4342f9c2ed8f812900d6b9ee34788e55f4fc02, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:00:42 [semverPrep] This is not a build commit. [Pipeline] sh 03:00:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:43 + grep -v github /etc/ssh/ssh_known_hosts 03:00:43 + [ -e /tmp/ssh_known_hosts ] 03:00:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:00:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:00:43 + sudo tee -a /etc/ssh/ssh_known_hosts 03:00:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:43 03:00:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:43 0.1.4: Pulling from edgex-devops/py-git-semver 03:00:43 b85a868b505f: Pulling fs layer 03:00:43 e2be974225ed: Pulling fs layer 03:00:43 339a4e72a1f5: Pulling fs layer 03:00:43 988bab9f4d93: Pulling fs layer 03:00:43 1469e6f7b9e6: Pulling fs layer 03:00:43 eaf3925da568: Pulling fs layer 03:00:43 bab4dde63d76: Pulling fs layer 03:00:43 bde34c3a00c8: Pulling fs layer 03:00:43 b352a97aabf1: Pulling fs layer 03:00:43 4872d77fe225: Pulling fs layer 03:00:43 5851b861e8e6: Pulling fs layer 03:00:43 eaf3925da568: Waiting 03:00:43 1469e6f7b9e6: Waiting 03:00:43 bde34c3a00c8: Waiting 03:00:43 b352a97aabf1: Waiting 03:00:43 4872d77fe225: Waiting 03:00:43 bab4dde63d76: Waiting 03:00:43 5851b861e8e6: Waiting 03:00:43 988bab9f4d93: Waiting 03:00:43 e2be974225ed: Verifying Checksum 03:00:43 e2be974225ed: Download complete 03:00:43 988bab9f4d93: Download complete 03:00:43 339a4e72a1f5: Verifying Checksum 03:00:43 339a4e72a1f5: Download complete 03:00:43 eaf3925da568: Verifying Checksum 03:00:43 eaf3925da568: Download complete 03:00:44 1469e6f7b9e6: Verifying Checksum 03:00:44 1469e6f7b9e6: Download complete 03:00:44 bde34c3a00c8: Download complete 03:00:44 b352a97aabf1: Download complete 03:00:44 4872d77fe225: Download complete 03:00:44 5851b861e8e6: Download complete 03:00:44 b85a868b505f: Verifying Checksum 03:00:44 b85a868b505f: Download complete 03:00:44 bab4dde63d76: Verifying Checksum 03:00:44 bab4dde63d76: Download complete 03:00:45 b85a868b505f: Pull complete 03:00:45 e2be974225ed: Pull complete 03:00:45 339a4e72a1f5: Pull complete 03:00:45 988bab9f4d93: Pull complete 03:00:46 1469e6f7b9e6: Pull complete 03:00:46 eaf3925da568: Pull complete 03:00:48 bab4dde63d76: Pull complete 03:00:48 bde34c3a00c8: Pull complete 03:00:48 b352a97aabf1: Pull complete 03:00:48 4872d77fe225: Pull complete 03:00:48 5851b861e8e6: Pull complete 03:00:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:00:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:48 prd-ubuntu20.04-docker-8c-8g-6462 does not seem to be running inside a container 03:00:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-501 -v /w/workspace/xfoundry_device-modbus-go_PR-501:/w/workspace/xfoundry_device-modbus-go_PR-501:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-501@tmp:/w/workspace/xfoundry_device-modbus-go_PR-501@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:00:52 $ docker top 7cf978901cacfd0839c96a3910f3bf988eb75751e5ba8c270d2c0fe3e40a6c6a -eo pid,comm 03:00:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:00:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:52 [ssh-agent] Looking for ssh-agent implementation... 03:00:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:52 $ docker exec 7cf978901cacfd0839c96a3910f3bf988eb75751e5ba8c270d2c0fe3e40a6c6a ssh-agent 03:00:52 SSH_AUTH_SOCK=/tmp/ssh-V2aBhQOJzPzp/agent.35 03:00:52 SSH_AGENT_PID=41 03:00:52 Running ssh-add (command line suppressed) 03:00:52 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-501@tmp/private_key_11611131793729045062.key (/w/workspace/xfoundry_device-modbus-go_PR-501@tmp/private_key_11611131793729045062.key) 03:00:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:53 + git tag --points-at HEAD [Pipeline] } 03:00:53 $ docker exec --env ******** --env ******** 7cf978901cacfd0839c96a3910f3bf988eb75751e5ba8c270d2c0fe3e40a6c6a ssh-agent -k 03:00:53 unset SSH_AUTH_SOCK; 03:00:53 unset SSH_AGENT_PID; 03:00:53 echo Agent pid 41 killed; 03:00:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:00:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:53 [ssh-agent] Looking for ssh-agent implementation... 03:00:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:53 $ docker exec 7cf978901cacfd0839c96a3910f3bf988eb75751e5ba8c270d2c0fe3e40a6c6a ssh-agent 03:00:53 SSH_AUTH_SOCK=/tmp/ssh-C94tZl3fIGQx/agent.73 03:00:53 SSH_AGENT_PID=79 03:00:53 Running ssh-add (command line suppressed) 03:00:53 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-501@tmp/private_key_17795811712772795551.key (/w/workspace/xfoundry_device-modbus-go_PR-501@tmp/private_key_17795811712772795551.key) 03:00:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:54 + git semver init 03:00:54 2023-09-19 03:00:54,434 [run_init] DEBUG init version:0.0.0 force:False 03:00:54 2023-09-19 03:00:54,436 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-501/.semver 03:00:54 2023-09-19 03:00:54,436 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-501/.semver 03:00:54 2023-09-19 03:00:54,437 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-501/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-501, universal_newlines=False, shell=None, istream=None) 03:00:55 2023-09-19 03:00:55,185 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-501/.git/info/exclude 03:00:55 2023-09-19 03:00:55,186 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-501/.semver/PR-501 with force:False 03:00:55 2023-09-19 03:00:55,186 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-501/.semver/PR-501 03:00:55 2023-09-19 03:00:55,190 [execute] INFO git cat-file --batch-check 03:00:55 2023-09-19 03:00:55,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-501/.semver, universal_newlines=False, shell=None, istream=) 03:00:55 2023-09-19 03:00:55,196 [execute] INFO git cat-file --batch 03:00:55 2023-09-19 03:00:55,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-501/.semver, universal_newlines=False, shell=None, istream=) 03:00:55 2023-09-19 03:00:55,201 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-501/.semver/PR-501 03:00:55 0.0.0 [Pipeline] } 03:00:55 $ docker exec --env ******** --env ******** 7cf978901cacfd0839c96a3910f3bf988eb75751e5ba8c270d2c0fe3e40a6c6a ssh-agent -k 03:00:55 unset SSH_AUTH_SOCK; 03:00:55 unset SSH_AGENT_PID; 03:00:55 echo Agent pid 79 killed; 03:00:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:56 + git semver [Pipeline] } 03:00:56 $ docker stop --time=1 7cf978901cacfd0839c96a3910f3bf988eb75751e5ba8c270d2c0fe3e40a6c6a 03:00:57 $ docker rm -f --volumes 7cf978901cacfd0839c96a3910f3bf988eb75751e5ba8c270d2c0fe3e40a6c6a [Pipeline] // withDockerContainer [Pipeline] sh 03:00:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:00:58 Stashed 1 file(s) [Pipeline] echo 03:00:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:58 provisioning config files... 03:00:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-501@tmp/config1093394404338002889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:59 ---> docker-login.sh 03:00:59 nexus3.edgexfoundry.org:10001 03:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:59 Configure a credential helper to remove this warning. See 03:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:59 03:00:59 Login Succeeded 03:00:59 nexus3.edgexfoundry.org:10002 03:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:59 Configure a credential helper to remove this warning. See 03:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:59 03:00:59 Login Succeeded 03:00:59 nexus3.edgexfoundry.org:10003 03:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:59 Configure a credential helper to remove this warning. See 03:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:59 03:00:59 Login Succeeded 03:00:59 nexus3.edgexfoundry.org:10004 03:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:59 Configure a credential helper to remove this warning. See 03:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:59 03:00:59 Login Succeeded 03:00:59 docker.io 03:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:59 Configure a credential helper to remove this warning. See 03:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:59 03:00:59 Login Succeeded 03:00:59 ---> docker-login.sh ends [Pipeline] } 03:00:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:01:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:01:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:01:00 ========================================================= 03:01:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:01:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:01:00 Sending build context to Docker daemon 6.466MB 03:01:00 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:01:00 Step 2/10 : FROM ${BASE} AS builder 03:01:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:01:00 7264a8db6415: Pulling fs layer 03:01:00 c4d48a809fc2: Pulling fs layer 03:01:00 4f1c88b9dad5: Pulling fs layer 03:01:00 ad3a456e5733: Pulling fs layer 03:01:00 9e4f439ed901: Pulling fs layer 03:01:00 feaf6a47b606: Pulling fs layer 03:01:00 5e8b037d7d82: Pulling fs layer 03:01:00 8ac70367396e: Pulling fs layer 03:01:00 6db16350a2e2: Pulling fs layer 03:01:00 9250d5d63582: Pulling fs layer 03:01:00 feaf6a47b606: Waiting 03:01:00 5e8b037d7d82: Waiting 03:01:00 8ac70367396e: Waiting 03:01:00 6db16350a2e2: Waiting 03:01:00 9250d5d63582: Waiting 03:01:00 ad3a456e5733: Waiting 03:01:00 9e4f439ed901: Waiting 03:01:00 c4d48a809fc2: Download complete 03:01:00 ad3a456e5733: Download complete 03:01:00 9e4f439ed901: Verifying Checksum 03:01:00 9e4f439ed901: Download complete 03:01:00 7264a8db6415: Verifying Checksum 03:01:00 7264a8db6415: Download complete 03:01:00 feaf6a47b606: Verifying Checksum 03:01:00 feaf6a47b606: Download complete 03:01:00 7264a8db6415: Pull complete 03:01:01 8ac70367396e: Verifying Checksum 03:01:01 8ac70367396e: Download complete 03:01:01 c4d48a809fc2: Pull complete 03:01:01 4f1c88b9dad5: Verifying Checksum 03:01:01 4f1c88b9dad5: Download complete 03:01:01 6db16350a2e2: Verifying Checksum 03:01:01 6db16350a2e2: Download complete 03:01:01 5e8b037d7d82: Verifying Checksum 03:01:01 5e8b037d7d82: Download complete 03:01:01 9250d5d63582: Verifying Checksum 03:01:01 9250d5d63582: Download complete 03:01:04 4f1c88b9dad5: Pull complete 03:01:04 ad3a456e5733: Pull complete 03:01:04 9e4f439ed901: Pull complete 03:01:04 feaf6a47b606: Pull complete 03:01:07 5e8b037d7d82: Pull complete 03:01:07 8ac70367396e: Pull complete 03:01:07 6db16350a2e2: Pull complete 03:01:08 9250d5d63582: Pull complete 03:01:08 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 03:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:01:08 ---> fa269f55d9b9 03:01:08 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:01:13 Still waiting to schedule task 03:01:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:01:16 ---> Running in 2ae70c47abe1 03:01:16 Removing intermediate container 2ae70c47abe1 03:01:16 ---> 4309376caa4d 03:01:16 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:01:16 ---> Running in 844301ef2465 03:01:16 Removing intermediate container 844301ef2465 03:01:16 ---> 6b4f5c8a9768 03:01:16 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:01:16 ---> Running in ce3af423842e 03:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:01:16 (1/8) Installing openssh-keygen (9.3_p2-r0) 03:01:16 (2/8) Installing libedit (20221030.3.1-r1) 03:01:16 (3/8) Installing openssh-client-common (9.3_p2-r0) 03:01:16 (4/8) Installing openssh-client-default (9.3_p2-r0) 03:01:16 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 03:01:16 (6/8) Installing openssh-server-common (9.3_p2-r0) 03:01:16 (7/8) Installing openssh-server (9.3_p2-r0) 03:01:16 (8/8) Installing openssh (9.3_p2-r0) 03:01:16 Executing busybox-1.36.1-r2.trigger 03:01:16 OK: 271 MiB in 64 packages 03:01:16 Removing intermediate container ce3af423842e 03:01:16 ---> aed1c158cda6 03:01:16 Step 6/10 : WORKDIR /device-modbus-go 03:01:16 ---> Running in 146d7e858bf8 03:01:17 Removing intermediate container 146d7e858bf8 03:01:17 ---> 100d4d651cfc 03:01:17 Step 7/10 : COPY go.mod vendor* ./ 03:01:17 ---> 748fa1989522 03:01:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:01:17 ---> Running in 5f9d0ee66eea 03:02:25 Removing intermediate container 5f9d0ee66eea 03:02:25 ---> c3703aadff23 03:02:25 Step 9/10 : COPY . . 03:02:25 ---> c54f94dde6b3 03:02:25 Step 10/10 : RUN ${MAKE} 03:02:25 ---> Running in a8b290f81754 03:02:25 noop 03:02:25 Removing intermediate container a8b290f81754 03:02:25 ---> a5826d4bd863 03:02:25 Successfully built a5826d4bd863 03:02:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:25 + docker inspect -f . ci-base-image-x86_64 03:02:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:25 prd-ubuntu20.04-docker-8c-8g-6462 does not seem to be running inside a container 03:02:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-501 -v /w/workspace/xfoundry_device-modbus-go_PR-501:/w/workspace/xfoundry_device-modbus-go_PR-501:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-501@tmp:/w/workspace/xfoundry_device-modbus-go_PR-501@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:02:26 $ docker top ba2c33e5ffcde9d0b33410c5b25cc083488fac93bf380c560e4c411ae79d0654 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:26 + go version 03:02:26 go version go1.21.0 linux/amd64 [Pipeline] } 03:02:26 $ docker stop --time=1 ba2c33e5ffcde9d0b33410c5b25cc083488fac93bf380c560e4c411ae79d0654 03:02:28 $ docker rm -f --volumes ba2c33e5ffcde9d0b33410c5b25cc083488fac93bf380c560e4c411ae79d0654 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:28 + docker inspect -f . ci-base-image-x86_64 03:02:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:28 prd-ubuntu20.04-docker-8c-8g-6462 does not seem to be running inside a container 03:02:29 $ 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-501 -v /w/workspace/xfoundry_device-modbus-go_PR-501:/w/workspace/xfoundry_device-modbus-go_PR-501:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-501@tmp:/w/workspace/xfoundry_device-modbus-go_PR-501@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:02:29 $ docker top 269cbfe290f9aa38c2232547d428809dab4392e407cc61cfa8de3aa9e8552e08 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:29 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-501 [Pipeline] fileExists [Pipeline] sh 03:02:30 + make test 03:02:30 go test ./... -coverprofile=coverage.out 03:02:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:02:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:02:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.9% of statements 03:02:49 go vet ./... 03:02:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:02:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:02:52 ./bin/test-attribution-txt.sh [Pipeline] echo 03:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:02:52 $ docker stop --time=1 269cbfe290f9aa38c2232547d428809dab4392e407cc61cfa8de3aa9e8552e08 03:02:56 $ docker rm -f --volumes 269cbfe290f9aa38c2232547d428809dab4392e407cc61cfa8de3aa9e8552e08 [Pipeline] // withDockerContainer [Pipeline] sh 03:02:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:02:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:02:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:02:57 + ls -al . 03:02:57 total 192 03:02:57 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 03:02 . 03:02:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:00 .. 03:02:57 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 03:00 .dockerignore 03:02:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 03:02 .git 03:02:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:00 .github 03:02:57 -rw-rw-r-- 1 jenkins jenkins 331 Sep 19 03:00 .gitignore 03:02:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 03:00 .golangci.yml 03:02:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 03:00 .semver 03:02:57 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 19 03:00 Attribution.txt 03:02:57 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 19 03:00 CHANGELOG.md 03:02:57 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 19 03:00 Dockerfile 03:02:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 03:00 GOVERNANCE.md 03:02:57 -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 03:00 Jenkinsfile 03:02:57 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 03:00 LICENSE 03:02:57 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 19 03:00 Makefile 03:02:57 -rw-rw-r-- 1 jenkins jenkins 622 Sep 19 03:00 OWNERS.md 03:02:57 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 19 03:00 README.md 03:02:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 03:00 VERSION 03:02:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:00 bin 03:02:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:00 cmd 03:02:57 -rw-r--r-- 1 jenkins jenkins 24334 Sep 19 03:02 coverage.out 03:02:57 -rw-rw-r-- 1 jenkins jenkins 3941 Sep 19 03:00 go.mod 03:02:57 -rw-rw-r-- 1 jenkins jenkins 35965 Sep 19 03:00 go.sum 03:02:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:00 internal 03:02:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:00 simulator 03:02:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:00 snap 03:02:57 -rw-rw-r-- 1 jenkins jenkins 229 Sep 19 03:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:57 + 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=ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 --label arch=amd64 --label version=0.0.0 . 03:02:57 Sending build context to Docker daemon 6.491MB 03:02:57 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 03:02:57 Step 2/22 : FROM ${BASE} AS builder 03:02:57 ---> a5826d4bd863 03:02:57 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:02:58 ---> Running in 18cece0095c5 03:02:58 Removing intermediate container 18cece0095c5 03:02:58 ---> 31edc051c6ab 03:02:58 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:02:58 ---> Running in d95c328a1ea6 03:02:58 Removing intermediate container d95c328a1ea6 03:02:58 ---> 522940980704 03:02:58 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:02:58 ---> Running in ae663d4e0ed1 03:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:02:59 OK: 271 MiB in 64 packages 03:02:59 Removing intermediate container ae663d4e0ed1 03:02:59 ---> a92d4d16d0e9 03:02:59 Step 6/22 : WORKDIR /device-modbus-go 03:02:59 ---> Running in 06ea2a791ce6 03:02:59 Removing intermediate container 06ea2a791ce6 03:02:59 ---> dfe6e7b943f5 03:02:59 Step 7/22 : COPY go.mod vendor* ./ 03:02:59 ---> 8006643c3e71 03:02:59 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:02:59 ---> Running in 51b09fe6beeb 03:03:00 Removing intermediate container 51b09fe6beeb 03:03:00 ---> 467e199ea9ba 03:03:00 Step 9/22 : COPY . . 03:03:00 ---> f82065eb0dd4 03:03:00 Step 10/22 : RUN ${MAKE} 03:03:00 ---> Running in 41a9337204db 03:03:01 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.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 03:03:22 Removing intermediate container 41a9337204db 03:03:22 ---> c65d21bdcca4 03:03:22 Step 11/22 : FROM alpine:3.18 03:03:22 3.18: Pulling from library/alpine 03:03:22 7264a8db6415: Already exists 03:03:22 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 03:03:22 Status: Downloaded newer image for alpine:3.18 03:03:22 ---> 7e01a0d0a1dc 03:03:22 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:03:22 ---> Running in 7bf88d4876dc 03:03:22 Removing intermediate container 7bf88d4876dc 03:03:22 ---> 2c6e3521fe84 03:03:22 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:03:22 ---> Running in 39e682be5643 03:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:03:22 (1/1) Installing dumb-init (1.2.5-r2) 03:03:22 Executing busybox-1.36.1-r2.trigger 03:03:22 OK: 7 MiB in 16 packages 03:03:22 Removing intermediate container 39e682be5643 03:03:22 ---> 0de9c3689730 03:03:22 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:03:22 ---> 37b43c09407c 03:03:22 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:03:22 ---> a26bdf4d2356 03:03:22 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:03:23 ---> 079fb472623f 03:03:23 Step 17/22 : EXPOSE 59901 03:03:23 ---> Running in cacf0ba1ba31 03:03:23 Removing intermediate container cacf0ba1ba31 03:03:23 ---> 5ab489110160 03:03:23 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:03:23 ---> Running in 101cff589664 03:03:23 Removing intermediate container 101cff589664 03:03:23 ---> 182e8a969516 03:03:23 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:03:23 ---> Running in 5d2363e4dd2d 03:03:23 Removing intermediate container 5d2363e4dd2d 03:03:23 ---> 30fc46099d57 03:03:23 Step 20/22 : LABEL arch=amd64 03:03:23 ---> Running in 73598e23279b 03:03:23 Removing intermediate container 73598e23279b 03:03:23 ---> 817590b20987 03:03:23 Step 21/22 : LABEL git_sha=ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 03:03:23 ---> Running in eb145528bff8 03:03:23 Removing intermediate container eb145528bff8 03:03:23 ---> ee22e8624119 03:03:23 Step 22/22 : LABEL version=0.0.0 03:03:23 ---> Running in fd84ac9856d8 03:03:23 Removing intermediate container fd84ac9856d8 03:03:23 ---> e68e68094871 03:03:23 [Warning] One or more build-args [ARCH] were not consumed 03:03:23 Successfully built e68e68094871 03:03:23 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 03:03:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:03:24 03:03:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:03:25 latest: Pulling from edgex-lftools-log-publisher 03:03:25 5eb5b503b376: Pulling fs layer 03:03:25 5c69ac0246d0: Pulling fs layer 03:03:25 ec43610c2a17: Pulling fs layer 03:03:25 3a2ae6a8a46f: Pulling fs layer 03:03:25 33b1e0a273af: Pulling fs layer 03:03:25 5d3b04190fa2: Pulling fs layer 03:03:25 2f39f015ded8: Pulling fs layer 03:03:25 3a2ae6a8a46f: Waiting 03:03:25 33b1e0a273af: Waiting 03:03:25 2f39f015ded8: Waiting 03:03:25 5d3b04190fa2: Waiting 03:03:25 5c69ac0246d0: Verifying Checksum 03:03:25 5c69ac0246d0: Download complete 03:03:25 3a2ae6a8a46f: Verifying Checksum 03:03:25 3a2ae6a8a46f: Download complete 03:03:25 33b1e0a273af: Verifying Checksum 03:03:25 33b1e0a273af: Download complete 03:03:25 ec43610c2a17: Verifying Checksum 03:03:25 ec43610c2a17: Download complete 03:03:25 5d3b04190fa2: Download complete 03:03:25 5eb5b503b376: Verifying Checksum 03:03:25 5eb5b503b376: Download complete 03:03:25 2f39f015ded8: Download complete 03:03:26 5eb5b503b376: Pull complete 03:03:26 5c69ac0246d0: Pull complete 03:03:26 ec43610c2a17: Pull complete 03:03:26 3a2ae6a8a46f: Pull complete 03:03:27 33b1e0a273af: Pull complete 03:03:27 5d3b04190fa2: Pull complete 03:03:31 2f39f015ded8: Pull complete 03:03:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:03:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:31 prd-ubuntu20.04-docker-8c-8g-6462 does not seem to be running inside a container 03:03:31 $ 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-501 -v /w/workspace/xfoundry_device-modbus-go_PR-501:/w/workspace/xfoundry_device-modbus-go_PR-501:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-501@tmp:/w/workspace/xfoundry_device-modbus-go_PR-501@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 03:03:36 $ docker top ba191cef3d93b970d5e594fb4174f5ac7e2364299d820283a9a0ff9228c48d00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:36 ---> job-cost.sh 03:03:36 lf-activate-venv: SKIPPING 03:03:36 INFO: No Stack... 03:03:37 INFO: Retrieving Pricing Info for: v3-standard-8 03:03:37 INFO: Archiving Costs [Pipeline] sh 03:03:37 + cat /w/workspace/xfoundry_device-modbus-go_PR-501/archives/cost.csv 03:03:37 + cut -d, -f6 [Pipeline] lock 03:03:37 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-501-1-stack-cost] 03:03:37 Resource [jenkins-edgexfoundry-device-modbus-go-PR-501-1-stack-cost] did not exist. Created. 03:03:37 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-501-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:03:38 + echo total: 0.2199999988079071 [Pipeline] stash 03:03:38 Stashed 1 file(s) [Pipeline] } 03:03:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-501-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:03:38 $ docker stop --time=1 ba191cef3d93b970d5e594fb4174f5ac7e2364299d820283a9a0ff9228c48d00 03:03:39 $ docker rm -f --volumes ba191cef3d93b970d5e594fb4174f5ac7e2364299d820283a9a0ff9228c48d00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:05:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6465 in /w/workspace/xfoundry_device-modbus-go_PR-501 [Pipeline] { [Pipeline] ws 03:05:13 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 03:05:13 Selected Git installation does not exist. Using Default 03:05:13 The recommended git tool is: NONE 03:05:18 using credential edgex-jenkins-ssh 03:05:18 Cloning the remote Git repository 03:05:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:05:18 > git init /w/workspace/device-modbus-go/1 # timeout=10 03:05:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:05:18 > git --version # timeout=10 03:05:18 > git --version # 'git version 2.25.1' 03:05:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:05:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:05:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:05:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:05:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:05:20 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/501/head:refs/remotes/origin/PR-501 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:05:21 Merging remotes/origin/main commit aeb07f10ff8131d5f056bccd17568abba8c1758b into PR head commit ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 03:05:21 Merge succeeded, producing ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 03:05:21 Checking out Revision ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 (PR-501) 03:05:21 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:05:21 > git --version # timeout=10 03:05:21 > git --version # 'git version 2.25.1' 03:05:21 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 03:05:21 > git config core.sparsecheckout # timeout=10 03:05:21 > git checkout -f ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 # timeout=10 03:05:21 > git remote # timeout=10 03:05:21 > git config --get remote.origin.url # timeout=10 03:05:21 using GIT_SSH to set credentials SSH Credentials for GitHub 03:05:21 > git merge aeb07f10ff8131d5f056bccd17568abba8c1758b # timeout=10 03:05:21 > git rev-parse HEAD^{commit} # timeout=10 03:05:21 > git config core.sparsecheckout # timeout=10 03:05:21 > git checkout -f ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:06:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:06:51 % Total % Received % Xferd Average Speed Time Time Time Current 03:06:51 Dload Upload Total Spent Left Speed 03:06:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10472 0 0 96962 0 --:--:-- --:--:-- --:--:-- 96073 100 12751 100 12751 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh 03:06:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:06:52 + sudo tee /etc/docker/daemon.new 03:06:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:06:52 { 03:06:52 "registry-mirrors": [ 03:06:52 "https://nexus3.edgexfoundry.org:10001" 03:06:52 ], 03:06:52 "bip": "10.250.0.254/24", 03:06:52 "hosts": [ 03:06:52 "tcp://0.0.0.0:5555", 03:06:52 "unix:///var/run/docker.sock" 03:06:52 ], 03:06:52 "mtu": 1458, 03:06:52 "selinux-enabled": true, 03:06:52 "seccomp-profile": "/etc/docker/seccomp.json" 03:06:52 } [Pipeline] sh 03:06:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:06:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:07:11 provisioning config files... 03:07:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config916399442496676674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:07:11 ---> docker-login.sh 03:07:11 nexus3.edgexfoundry.org:10001 03:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:12 Configure a credential helper to remove this warning. See 03:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:12 03:07:12 Login Succeeded 03:07:12 nexus3.edgexfoundry.org:10002 03:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:12 Configure a credential helper to remove this warning. See 03:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:12 03:07:12 Login Succeeded 03:07:12 nexus3.edgexfoundry.org:10003 03:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:12 Configure a credential helper to remove this warning. See 03:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:12 03:07:12 Login Succeeded 03:07:12 nexus3.edgexfoundry.org:10004 03:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:13 Configure a credential helper to remove this warning. See 03:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:13 03:07:13 Login Succeeded 03:07:13 docker.io 03:07:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:13 Configure a credential helper to remove this warning. See 03:07:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:13 03:07:13 Login Succeeded 03:07:13 ---> docker-login.sh ends [Pipeline] } 03:07:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:07:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:07:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:07:14 ========================================================= 03:07:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:07:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:07:14 Sending build context to Docker daemon 3.355MB 03:07:14 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:07:14 Step 2/10 : FROM ${BASE} AS builder 03:07:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:07:14 9fda8d8052c6: Pulling fs layer 03:07:14 5d54e960e981: Pulling fs layer 03:07:14 c4a7e357bf2a: Pulling fs layer 03:07:14 f0e02332f6b5: Pulling fs layer 03:07:14 66412af1f25a: Pulling fs layer 03:07:14 1baf3a5c0e64: Pulling fs layer 03:07:14 9a37bb91b891: Pulling fs layer 03:07:14 f0e02332f6b5: Waiting 03:07:14 66412af1f25a: Waiting 03:07:14 1baf3a5c0e64: Waiting 03:07:14 a29adfc67d43: Pulling fs layer 03:07:14 d5de9f91c1a4: Pulling fs layer 03:07:14 9a37bb91b891: Waiting 03:07:14 a29adfc67d43: Waiting 03:07:14 d5de9f91c1a4: Waiting 03:07:15 5d54e960e981: Download complete 03:07:15 f0e02332f6b5: Verifying Checksum 03:07:15 f0e02332f6b5: Download complete 03:07:15 66412af1f25a: Verifying Checksum 03:07:15 66412af1f25a: Download complete 03:07:15 9fda8d8052c6: Verifying Checksum 03:07:15 9fda8d8052c6: Download complete 03:07:15 9a37bb91b891: Verifying Checksum 03:07:15 9a37bb91b891: Download complete 03:07:15 9fda8d8052c6: Pull complete 03:07:15 a29adfc67d43: Verifying Checksum 03:07:15 a29adfc67d43: Download complete 03:07:16 5d54e960e981: Pull complete 03:07:16 d5de9f91c1a4: Verifying Checksum 03:07:16 d5de9f91c1a4: Download complete 03:07:16 c4a7e357bf2a: Verifying Checksum 03:07:16 c4a7e357bf2a: Download complete 03:07:17 1baf3a5c0e64: Verifying Checksum 03:07:17 1baf3a5c0e64: Download complete 03:07:28 c4a7e357bf2a: Pull complete 03:07:28 f0e02332f6b5: Pull complete 03:07:28 66412af1f25a: Pull complete 03:07:34 1baf3a5c0e64: Pull complete 03:07:36 9a37bb91b891: Pull complete 03:07:40 a29adfc67d43: Pull complete 03:07:41 d5de9f91c1a4: Pull complete 03:07:41 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 03:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:07:41 ---> 746ca1b523b5 03:07:41 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:07:43 ---> Running in a11b9bd4feeb 03:07:43 Removing intermediate container a11b9bd4feeb 03:07:43 ---> ecc53a1b9a41 03:07:43 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:07:43 ---> Running in 95ffe8917a0b 03:07:43 Removing intermediate container 95ffe8917a0b 03:07:43 ---> 829784dd5136 03:07:43 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:07:43 ---> Running in 807d1fac5f64 03:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:07:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:07:46 (1/8) Installing openssh-keygen (9.3_p2-r0) 03:07:46 (2/8) Installing libedit (20221030.3.1-r1) 03:07:46 (3/8) Installing openssh-client-common (9.3_p2-r0) 03:07:46 (4/8) Installing openssh-client-default (9.3_p2-r0) 03:07:46 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 03:07:46 (6/8) Installing openssh-server-common (9.3_p2-r0) 03:07:46 (7/8) Installing openssh-server (9.3_p2-r0) 03:07:46 (8/8) Installing openssh (9.3_p2-r0) 03:07:46 Executing busybox-1.36.1-r2.trigger 03:07:46 OK: 274 MiB in 64 packages 03:07:47 Removing intermediate container 807d1fac5f64 03:07:47 ---> 9f2e3afc95ef 03:07:47 Step 6/10 : WORKDIR /device-modbus-go 03:07:47 ---> Running in 9be87dce3705 03:07:47 Removing intermediate container 9be87dce3705 03:07:47 ---> 0ef340b887fb 03:07:47 Step 7/10 : COPY go.mod vendor* ./ 03:07:48 ---> 80721cd9d454 03:07:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:07:48 ---> Running in 50835bbc608b 03:08:56 Removing intermediate container 50835bbc608b 03:08:56 ---> 88b84df6db6a 03:08:56 Step 9/10 : COPY . . 03:08:56 ---> 3d886fc15e53 03:08:56 Step 10/10 : RUN ${MAKE} 03:08:56 ---> Running in 28a22207e3df 03:08:56 noop 03:08:56 Removing intermediate container 28a22207e3df 03:08:56 ---> 766f35a96706 03:08:56 Successfully built 766f35a96706 03:08:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:56 + docker inspect -f . ci-base-image-arm64 03:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:08:57 prd-ubuntu20.04-docker-arm64-4c-16g-6465 does not seem to be running inside a container 03:08:57 $ 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 03:08:58 $ docker top 3909536cf84aab3db6963548451ffa7b5d509350b9de47869b02b46ba51e2d80 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:59 + go version 03:08:59 go version go1.21.0 linux/arm64 [Pipeline] } 03:08:59 $ docker stop --time=1 3909536cf84aab3db6963548451ffa7b5d509350b9de47869b02b46ba51e2d80 03:09:00 $ docker rm -f --volumes 3909536cf84aab3db6963548451ffa7b5d509350b9de47869b02b46ba51e2d80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:01 + docker inspect -f . ci-base-image-arm64 03:09:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:01 prd-ubuntu20.04-docker-arm64-4c-16g-6465 does not seem to be running inside a container 03:09:01 $ 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 03:09:03 $ docker top 27533be2a89470ae293ef16b4f2fcb18ac8c500035a1d824dea113aee7fc61fa -eo pid,comm [Pipeline] { [Pipeline] sh 03:09:03 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 03:09:04 + make test 03:09:04 go test ./... -coverprofile=coverage.out 03:09:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:11:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:11:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.9% of statements 03:11:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:11:00 go vet ./... 03:11:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:11:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:11:23 ./bin/test-attribution-txt.sh [Pipeline] echo 03:11:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:11:23 $ docker stop --time=1 27533be2a89470ae293ef16b4f2fcb18ac8c500035a1d824dea113aee7fc61fa 03:11:25 $ docker rm -f --volumes 27533be2a89470ae293ef16b4f2fcb18ac8c500035a1d824dea113aee7fc61fa [Pipeline] // withDockerContainer [Pipeline] sh 03:11:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:11:26 Warning: overwriting stash ‘coverage-report’ 03:11:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:11:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:11:28 + ls -al . 03:11:28 total 188 03:11:28 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 03:09 . 03:11:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:05 .. 03:11:28 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 03:05 .dockerignore 03:11:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 03:05 .git 03:11:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:05 .github 03:11:28 -rw-rw-r-- 1 jenkins jenkins 331 Sep 19 03:05 .gitignore 03:11:28 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 03:05 .golangci.yml 03:11:28 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 19 03:05 Attribution.txt 03:11:28 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 19 03:05 CHANGELOG.md 03:11:28 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 19 03:05 Dockerfile 03:11:28 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 03:05 GOVERNANCE.md 03:11:28 -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 03:05 Jenkinsfile 03:11:28 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 03:05 LICENSE 03:11:28 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 19 03:05 Makefile 03:11:28 -rw-rw-r-- 1 jenkins jenkins 622 Sep 19 03:05 OWNERS.md 03:11:28 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 19 03:05 README.md 03:11:28 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 03:00 VERSION 03:11:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:05 bin 03:11:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:05 cmd 03:11:28 -rw-r--r-- 1 jenkins jenkins 24334 Sep 19 03:10 coverage.out 03:11:28 -rw-rw-r-- 1 jenkins jenkins 3941 Sep 19 03:05 go.mod 03:11:28 -rw-rw-r-- 1 jenkins jenkins 35965 Sep 19 03:05 go.sum 03:11:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:05 internal 03:11:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:05 simulator 03:11:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:05 snap 03:11:28 -rw-rw-r-- 1 jenkins jenkins 229 Sep 19 03:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:28 + 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=ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 --label arch=arm64 --label version=0.0.0 . 03:11:29 Sending build context to Docker daemon 3.38MB 03:11:29 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 03:11:29 Step 2/22 : FROM ${BASE} AS builder 03:11:29 ---> 766f35a96706 03:11:29 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:11:29 ---> Running in c720ee73ce41 03:11:29 Removing intermediate container c720ee73ce41 03:11:29 ---> ab4b0388a91b 03:11:29 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:11:29 ---> Running in 8a7aab18af5a 03:11:29 Removing intermediate container 8a7aab18af5a 03:11:29 ---> c06fc705f946 03:11:29 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:11:29 ---> Running in 26be71b44643 03:11:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:11:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:11:32 OK: 274 MiB in 64 packages 03:11:33 Removing intermediate container 26be71b44643 03:11:33 ---> 707d9eac1189 03:11:33 Step 6/22 : WORKDIR /device-modbus-go 03:11:33 ---> Running in 2092374aefa5 03:11:33 Removing intermediate container 2092374aefa5 03:11:33 ---> 066fb024edb9 03:11:33 Step 7/22 : COPY go.mod vendor* ./ 03:11:34 ---> 3867d7e2a609 03:11:34 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:11:34 ---> Running in eff05efd433c 03:11:36 Removing intermediate container eff05efd433c 03:11:36 ---> ea15917b294e 03:11:36 Step 9/22 : COPY . . 03:11:36 ---> b0fe47a5e9d5 03:11:36 Step 10/22 : RUN ${MAKE} 03:11:36 ---> Running in e52b70ddcb66 03:11:37 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.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 03:13:29 Removing intermediate container e52b70ddcb66 03:13:29 ---> e8494cab14b5 03:13:29 Step 11/22 : FROM alpine:3.18 03:13:29 3.18: Pulling from library/alpine 03:13:29 9fda8d8052c6: Already exists 03:13:29 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 03:13:29 Status: Downloaded newer image for alpine:3.18 03:13:29 ---> f6648c04cd6c 03:13:29 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:13:29 ---> Running in 55c7cb23c97b 03:13:29 Removing intermediate container 55c7cb23c97b 03:13:29 ---> cd3ace471727 03:13:29 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:13:29 ---> Running in 45383e58c504 03:13:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:13:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:13:29 (1/1) Installing dumb-init (1.2.5-r2) 03:13:29 Executing busybox-1.36.1-r2.trigger 03:13:29 OK: 8 MiB in 16 packages 03:13:29 Removing intermediate container 45383e58c504 03:13:29 ---> 224f6edfc644 03:13:29 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:13:29 ---> 0b60ca787e91 03:13:29 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:13:29 ---> 6d09d89cf8ef 03:13:29 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:13:29 ---> bffa15944676 03:13:29 Step 17/22 : EXPOSE 59901 03:13:29 ---> Running in a769c339cf34 03:13:29 Removing intermediate container a769c339cf34 03:13:29 ---> ba84db9e9bef 03:13:29 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:13:29 ---> Running in c909639b8724 03:13:29 Removing intermediate container c909639b8724 03:13:29 ---> 403934c89f60 03:13:29 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:13:29 ---> Running in bbaeeaec8cb7 03:13:29 Removing intermediate container bbaeeaec8cb7 03:13:29 ---> dceeccb32ac5 03:13:29 Step 20/22 : LABEL arch=arm64 03:13:29 ---> Running in 09f68645dd46 03:13:29 Removing intermediate container 09f68645dd46 03:13:29 ---> 4b96b7d4f715 03:13:29 Step 21/22 : LABEL git_sha=ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 03:13:29 ---> Running in 2c6235a380ce 03:13:29 Removing intermediate container 2c6235a380ce 03:13:29 ---> bc1ed6872c65 03:13:29 Step 22/22 : LABEL version=0.0.0 03:13:29 ---> Running in b63bd52ec484 03:13:29 Removing intermediate container b63bd52ec484 03:13:29 ---> fd8dd44f78f2 03:13:29 [Warning] One or more build-args [ARCH] were not consumed 03:13:29 Successfully built fd8dd44f78f2 03:13:29 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:13:30 03:13:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:13:31 arm64: Pulling from edgex-lftools-log-publisher 03:13:31 8998bd30e6a1: Pulling fs layer 03:13:31 04944245beec: Pulling fs layer 03:13:31 699f458cf7ca: Pulling fs layer 03:13:31 765212b225bb: Pulling fs layer 03:13:31 f23df028b6ca: Pulling fs layer 03:13:31 d65c8cfc05b1: Pulling fs layer 03:13:31 2437ff75d9bd: Pulling fs layer 03:13:31 f23df028b6ca: Waiting 03:13:31 d65c8cfc05b1: Waiting 03:13:31 2437ff75d9bd: Waiting 03:13:31 765212b225bb: Waiting 03:13:31 04944245beec: Verifying Checksum 03:13:31 04944245beec: Download complete 03:13:31 765212b225bb: Verifying Checksum 03:13:31 765212b225bb: Download complete 03:13:31 f23df028b6ca: Verifying Checksum 03:13:31 f23df028b6ca: Download complete 03:13:31 d65c8cfc05b1: Verifying Checksum 03:13:31 d65c8cfc05b1: Download complete 03:13:31 699f458cf7ca: Verifying Checksum 03:13:31 699f458cf7ca: Download complete 03:13:31 8998bd30e6a1: Verifying Checksum 03:13:34 2437ff75d9bd: Verifying Checksum 03:13:34 2437ff75d9bd: Download complete 03:13:35 8998bd30e6a1: Pull complete 03:13:36 04944245beec: Pull complete 03:13:37 699f458cf7ca: Pull complete 03:13:37 765212b225bb: Pull complete 03:13:38 f23df028b6ca: Pull complete 03:13:38 d65c8cfc05b1: Pull complete 03:13:53 2437ff75d9bd: Pull complete 03:13:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:13:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:53 prd-ubuntu20.04-docker-arm64-4c-16g-6465 does not seem to be running inside a container 03:13: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 03:13:56 $ docker top 6d32357f4a3d87c2004fc29152eb194cbd5a36878c5cc73512b7d5ef0a84cfbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:57 ---> job-cost.sh 03:13:57 lf-activate-venv: SKIPPING 03:13:57 INFO: No Stack... 03:13:57 INFO: Retrieving Pricing Info for: v3-standard-4 03:13:58 INFO: Archiving Costs [Pipeline] sh 03:13:58 + cut -d, -f6 03:13:58 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 03:13:59 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-501-1-stack-cost] 03:13:59 Resource [jenkins-edgexfoundry-device-modbus-go-PR-501-1-stack-cost] did not exist. Created. 03:13:59 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-501-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:13:59 /w/workspace/device-modbus-go/1@tmp/durable-b9622765/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:14:00 + echo total: 0.10999999940395355 [Pipeline] stash 03:14:00 Warning: overwriting stash ‘stack-cost’ 03:14:00 Stashed 1 file(s) [Pipeline] } 03:14:00 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-501-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:14:00 $ docker stop --time=1 6d32357f4a3d87c2004fc29152eb194cbd5a36878c5cc73512b7d5ef0a84cfbc 03:14:01 $ docker rm -f --volumes 6d32357f4a3d87c2004fc29152eb194cbd5a36878c5cc73512b7d5ef0a84cfbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:14:02 provisioning config files... 03:14:02 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-501@tmp/config2714911345110096227tmp [Pipeline] { [Pipeline] sh 03:14:02 + set +x 03:14:02 + curl -s https://codecov.io/bash 03:14:02 + bash -s -- 03:14:02 03:14:02 _____ _ 03:14:02 / ____| | | 03:14:02 | | ___ __| | ___ ___ _____ __ 03:14:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:14:02 | |___| (_) | (_| | __/ (_| (_) \ V / 03:14:02 \_____\___/ \__,_|\___|\___\___/ \_/ 03:14:02 Bash-1.0.6 03:14:02 03:14:02 03:14:02 ==> git version 2.25.1 found 03:14:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:14:02 Release-Date: 2020-01-08 03:14:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:14:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:14:02 ==> Jenkins CI detected. 03:14:02 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-501 03:14:02 project root: . 03:14:02 --> token set from env 03:14:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:14:02 ==> Running gcov in . (disable via -X gcov) 03:14:02 ==> Python coveragepy not found 03:14:02 ==> Searching for coverage reports in: 03:14:02 + . 03:14:02 -> Found 1 reports 03:14:02 ==> Detecting git/mercurial file structure 03:14:02 ==> Reading reports 03:14:02 + ./coverage.out bytes=24334 03:14:02 ==> Appending adjustments 03:14:02 https://docs.codecov.io/docs/fixing-reports 03:14:03 + Found adjustments 03:14:03 ==> Gzipping contents 03:14:03 4.0K /tmp/codecov.IWnhb3.gz 03:14:03 ==> Uploading reports 03:14:03 url: https://codecov.io 03:14:03 query: branch=PR-501&commit=ec4342f9c2ed8f812900d6b9ee34788e55f4fc02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-501%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=501&job=&cmd_args= 03:14:03 -> Pinging Codecov 03:14: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-501&commit=ec4342f9c2ed8f812900d6b9ee34788e55f4fc02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-501%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=501&job=&cmd_args= 03:14:03 -> Uploading to 03:14:03 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/55DBCA73C666E3227836607328DD7E49/ec4342f9c2ed8f812900d6b9ee34788e55f4fc02/588f68a1-de73-4a04-9bf8-a9345816803b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T031403Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5270bf2ef4e6b977817a79aacf9dcf2b07132917059561d0882e780e9e5ad674 03:14:03 % Total % Received % Xferd Average Speed Time Time Time Current 03:14:03 Dload Upload Total Spent Left Speed 03:14:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 19576 --:--:-- --:--:-- --:--:-- 19480 100 3974 0 0 100 3974 0 18570 --:--:-- --:--:-- --:--:-- 18483 03:14:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ec4342f9c2ed8f812900d6b9ee34788e55f4fc02 [Pipeline] } 03:14:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:14:05 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-501/archives ] 03:14:05 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-501/archives 03:14:05 total 16 03:14:05 drwxr-xr-x 3 root root 4096 Sep 19 03:03 . 03:14:05 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 03:03 .. 03:14:05 drwxr-xr-x 2 root root 4096 Sep 19 03:03 cost 03:14:05 -rw-r--r-- 1 root root 88 Sep 19 03:03 cost.csv 03:14:05 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-501/archives 03:14:05 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-501/archives 03:14:05 total 16 03:14:05 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 03:03 . 03:14:05 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 03:03 .. 03:14:05 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 03:03 cost 03:14:05 -rw-r--r-- 1 jenkins jenkins 88 Sep 19 03:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:14:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:14:06 ---> package-listing.sh 03:14:06 ++ facter osfamily 03:14:06 ++ tr '[:upper:]' '[:lower:]' 03:14:06 + OS_FAMILY=debian 03:14:06 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-501 03:14:06 + START_PACKAGES=/tmp/packages_start.txt 03:14:06 + END_PACKAGES=/tmp/packages_end.txt 03:14:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:14:06 + PACKAGES=/tmp/packages_start.txt 03:14:06 + '[' /w/workspace/xfoundry_device-modbus-go_PR-501 ']' 03:14:06 + PACKAGES=/tmp/packages_end.txt 03:14:06 + case "${OS_FAMILY}" in 03:14:06 + dpkg -l 03:14:06 + grep '^ii' 03:14:06 + '[' -f /tmp/packages_start.txt ']' 03:14:06 + '[' -f /tmp/packages_end.txt ']' 03:14:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:14:06 + '[' /w/workspace/xfoundry_device-modbus-go_PR-501 ']' 03:14:06 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-501/archives/ 03:14:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-501/archives/ [Pipeline] echo 03:14:06 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-501/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:14:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:07 prd-ubuntu20.04-docker-8c-8g-6462 does not seem to be running inside a container 03:14:07 $ 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-501/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-501 -v /w/workspace/xfoundry_device-modbus-go_PR-501:/w/workspace/xfoundry_device-modbus-go_PR-501:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-501@tmp:/w/workspace/xfoundry_device-modbus-go_PR-501@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:14:08 $ docker top 197f48df2d2e295fe69ff3e794e3e49565ba3f401190cb97f1b18b073c351a35 -eo pid,comm [Pipeline] { [Pipeline] sh 03:14:08 + touch /tmp/pre-build-complete [Pipeline] sh 03:14:08 + mkdir -p /var/log/sysstat [Pipeline] sh 03:14:09 + ls /var/log/sa-host 03:14:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:09 provisioning config files... 03:14:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-501@tmp/config18270481132383937194tmp [Pipeline] { [Pipeline] echo 03:14:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:14:09 ---> create-netrc.sh [Pipeline] } 03:14:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:14:10 ---> python-tools-install.sh [Pipeline] echo 03:14:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:14:10 ---> sudo-logs.sh 03:14:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:14:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:14:10 ---> job-cost.sh 03:14:10 lf-activate-venv: SKIPPING 03:14:10 DEBUG: total: 0.2199999988079071 03:14:10 INFO: Retrieving Stack Cost... 03:14:11 INFO: Retrieving Pricing Info for: v3-standard-8 03:14:11 INFO: Archiving Costs [Pipeline] echo 03:14:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:14:12 ---> logs-deploy.sh 03:14:12 lf-activate-venv: SKIPPING 03:14:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-501/1 03:14:12 INFO: archiving workspace using pattern(s): 03:14:12 Archives upload complete. 03:14:12 INFO: archiving logs to Nexus