Pull request #519 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e2ff2043c21eae1b7948b2365d5c93f0134ee472+83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 (2058a40d5f5fa93e3868cb169943f2f0d848fb18) 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-ssh17354859015905666322.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-ssh9174773360015374076.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-519/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-519/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6309252843427331338.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-519/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3365972602464400075.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-ssh3367594885739028529.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-519/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-519/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11228865920254869804.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15629’ Running on prd-ubuntu20.04-docker-8c-8g-15648 in /w/workspace/xfoundry_device-modbus-go_PR-519 [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-519 # 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/519/head:refs/remotes/origin/PR-519 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit e2ff2043c21eae1b7948b2365d5c93f0134ee472 Merge succeeded, producing e2ff2043c21eae1b7948b2365d5c93f0134ee472 Checking out Revision e2ff2043c21eae1b7948b2365d5c93f0134ee472 (PR-519) Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f e2ff2043c21eae1b7948b2365d5c93f0134ee472 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2ff2043c21eae1b7948b2365d5c93f0134ee472 # timeout=10 [Pipeline] timeout 21:36:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:33 ========================================================= 21:36:33 EdgeX Global Pipelines Version Info 21:36:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:34 ------------------- 21:36:34 stable info: 21:36:34 ------------------- 21:36:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:34 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:36:34 Message: update stable to v1.0.254 21:36:34 ------------------- 21:36:34 experimental info: 21:36:34 ------------------- 21:36:34 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:34 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 21:36:34 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:36:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-519 [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-519 [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-519 [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2ff204 [Pipeline] echo 21:36:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:36 provisioning config files... 21:36:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/config12731220206915491009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:37 ---> docker-login.sh 21:36:37 nexus3.edgexfoundry.org:10001 21:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:37 Configure a credential helper to remove this warning. See 21:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:37 21:36:37 Login Succeeded 21:36:37 nexus3.edgexfoundry.org:10002 21:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:37 Configure a credential helper to remove this warning. See 21:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:37 21:36:37 Login Succeeded 21:36:37 nexus3.edgexfoundry.org:10003 21:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:37 Configure a credential helper to remove this warning. See 21:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:37 21:36:37 Login Succeeded 21:36:37 nexus3.edgexfoundry.org:10004 21:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:37 Configure a credential helper to remove this warning. See 21:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:37 21:36:37 Login Succeeded 21:36:37 docker.io 21:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:38 Configure a credential helper to remove this warning. See 21:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:38 21:36:38 Login Succeeded 21:36:38 ---> docker-login.sh ends [Pipeline] } 21:36:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:36:38 + git rev-list -1 --merges e2ff2043c21eae1b7948b2365d5c93f0134ee472~1..e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] echo 21:36:38 -----------> git rev-list -1 --merges e2ff2043c21eae1b7948b2365d5c93f0134ee472~1..e2ff2043c21eae1b7948b2365d5c93f0134ee472 e2ff2043c21eae1b7948b2365d5c93f0134ee472 [false] [Pipeline] sh 21:36:39 + git log --format=format:%s -1 e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] echo 21:36:39 ========================================================= 21:36:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:36:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:39 + git log --format=format:%s -1 e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] echo 21:36:39 [semverPrep] GIT_COMMIT: e2ff2043c21eae1b7948b2365d5c93f0134ee472, Commit Message: build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo 21:36:39 [semverPrep] This is not a build commit. [Pipeline] sh 21:36:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:40 + grep -v github /etc/ssh/ssh_known_hosts 21:36:40 + [ -e /tmp/ssh_known_hosts ] 21:36:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:36:40 + sudo tee -a /etc/ssh/ssh_known_hosts 21:36:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:40 21:36:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:41 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:41 b85a868b505f: Pulling fs layer 21:36:41 e2be974225ed: Pulling fs layer 21:36:41 339a4e72a1f5: Pulling fs layer 21:36:41 988bab9f4d93: Pulling fs layer 21:36:41 1469e6f7b9e6: Pulling fs layer 21:36:41 eaf3925da568: Pulling fs layer 21:36:41 bab4dde63d76: Pulling fs layer 21:36:41 bde34c3a00c8: Pulling fs layer 21:36:41 b352a97aabf1: Pulling fs layer 21:36:41 4872d77fe225: Pulling fs layer 21:36:41 5851b861e8e6: Pulling fs layer 21:36:41 988bab9f4d93: Waiting 21:36:41 4872d77fe225: Waiting 21:36:41 5851b861e8e6: Waiting 21:36:41 1469e6f7b9e6: Waiting 21:36:41 bde34c3a00c8: Waiting 21:36:41 eaf3925da568: Waiting 21:36:41 b352a97aabf1: Waiting 21:36:41 bab4dde63d76: Waiting 21:36:41 e2be974225ed: Verifying Checksum 21:36:41 e2be974225ed: Download complete 21:36:41 988bab9f4d93: Verifying Checksum 21:36:41 988bab9f4d93: Download complete 21:36:41 1469e6f7b9e6: Verifying Checksum 21:36:41 1469e6f7b9e6: Download complete 21:36:41 339a4e72a1f5: Verifying Checksum 21:36:41 339a4e72a1f5: Download complete 21:36:41 eaf3925da568: Verifying Checksum 21:36:41 eaf3925da568: Download complete 21:36:41 bde34c3a00c8: Verifying Checksum 21:36:41 bde34c3a00c8: Download complete 21:36:41 b352a97aabf1: Verifying Checksum 21:36:41 b352a97aabf1: Download complete 21:36:41 4872d77fe225: Verifying Checksum 21:36:41 4872d77fe225: Download complete 21:36:41 5851b861e8e6: Download complete 21:36:41 b85a868b505f: Verifying Checksum 21:36:41 b85a868b505f: Download complete 21:36:41 bab4dde63d76: Verifying Checksum 21:36:41 bab4dde63d76: Download complete 21:36:43 b85a868b505f: Pull complete 21:36:43 e2be974225ed: Pull complete 21:36:43 339a4e72a1f5: Pull complete 21:36:43 988bab9f4d93: Pull complete 21:36:43 1469e6f7b9e6: Pull complete 21:36:43 eaf3925da568: Pull complete 21:36:45 bab4dde63d76: Pull complete 21:36:45 bde34c3a00c8: Pull complete 21:36:46 b352a97aabf1: Pull complete 21:36:46 4872d77fe225: Pull complete 21:36:46 5851b861e8e6: Pull complete 21:36:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:36:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:46 prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container 21:36:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:36:49 $ docker top 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 -eo pid,comm 21:36:49 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). 21:36:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:50 [ssh-agent] Looking for ssh-agent implementation... 21:36:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:50 $ docker exec 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 ssh-agent 21:36:50 SSH_AUTH_SOCK=/tmp/ssh-8Cs905reIdTH/agent.33 21:36:50 SSH_AGENT_PID=39 21:36:50 Running ssh-add (command line suppressed) 21:36:50 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-519@tmp/private_key_17939332363735728061.key (/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/private_key_17939332363735728061.key) 21:36:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:50 + git tag --points-at HEAD [Pipeline] } 21:36:50 $ docker exec --env ******** --env ******** 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 ssh-agent -k 21:36:50 unset SSH_AUTH_SOCK; 21:36:50 unset SSH_AGENT_PID; 21:36:50 echo Agent pid 39 killed; 21:36:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:36:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:50 [ssh-agent] Looking for ssh-agent implementation... 21:36:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:51 $ docker exec 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 ssh-agent 21:36:51 SSH_AUTH_SOCK=/tmp/ssh-oOezSoNWSbMW/agent.71 21:36:51 SSH_AGENT_PID=77 21:36:51 Running ssh-add (command line suppressed) 21:36:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-519@tmp/private_key_1484075614743633904.key (/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/private_key_1484075614743633904.key) 21:36:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:51 + git semver init 21:36:51 2023-10-31 21:36:51,865 [run_init] DEBUG init version:0.0.0 force:False 21:36:51 2023-10-31 21:36:51,865 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-519/.semver 21:36:51 2023-10-31 21:36:51,866 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-519/.semver 21:36:51 2023-10-31 21:36:51,866 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-519/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-519, universal_newlines=False, shell=None, istream=None) 21:36:52 2023-10-31 21:36:52,752 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-519/.git/info/exclude 21:36:52 2023-10-31 21:36:52,753 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-519/.semver/PR-519 with force:False 21:36:52 2023-10-31 21:36:52,753 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-519/.semver/PR-519 21:36:52 2023-10-31 21:36:52,757 [execute] INFO git cat-file --batch-check 21:36:52 2023-10-31 21:36:52,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-519/.semver, universal_newlines=False, shell=None, istream=) 21:36:52 2023-10-31 21:36:52,765 [execute] INFO git cat-file --batch 21:36:52 2023-10-31 21:36:52,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-519/.semver, universal_newlines=False, shell=None, istream=) 21:36:52 2023-10-31 21:36:52,771 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-519/.semver/PR-519 21:36:52 0.0.0 [Pipeline] } 21:36:52 $ docker exec --env ******** --env ******** 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 ssh-agent -k 21:36:52 unset SSH_AUTH_SOCK; 21:36:52 unset SSH_AGENT_PID; 21:36:52 echo Agent pid 77 killed; 21:36:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:53 + git semver [Pipeline] } 21:36:53 $ docker stop --time=1 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 21:36:55 $ docker rm -f --volumes 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:36:55 Stashed 1 file(s) [Pipeline] echo 21:36:55 [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 21:36:56 provisioning config files... 21:36:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/config7608862843715817093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:56 ---> docker-login.sh 21:36:56 nexus3.edgexfoundry.org:10001 21:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:56 Configure a credential helper to remove this warning. See 21:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:56 21:36:56 Login Succeeded 21:36:56 nexus3.edgexfoundry.org:10002 21:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:56 Configure a credential helper to remove this warning. See 21:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:56 21:36:56 Login Succeeded 21:36:56 nexus3.edgexfoundry.org:10003 21:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:57 Configure a credential helper to remove this warning. See 21:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:57 21:36:57 Login Succeeded 21:36:57 nexus3.edgexfoundry.org:10004 21:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:57 Configure a credential helper to remove this warning. See 21:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:57 21:36:57 Login Succeeded 21:36:57 docker.io 21:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:57 Configure a credential helper to remove this warning. See 21:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:57 21:36:57 Login Succeeded 21:36:57 ---> docker-login.sh ends [Pipeline] } 21:36:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:57 ========================================================= 21:36:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:36:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:58 + 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 . 21:36:58 Sending build context to Docker daemon 6.58MB 21:36:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:36:58 Step 2/10 : FROM ${BASE} AS builder 21:36:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:36:58 7264a8db6415: Pulling fs layer 21:36:58 c4d48a809fc2: Pulling fs layer 21:36:58 4f1c88b9dad5: Pulling fs layer 21:36:58 ad3a456e5733: Pulling fs layer 21:36:58 33e27b845d1e: Pulling fs layer 21:36:58 c68163c4e522: Pulling fs layer 21:36:58 50da416c3ac9: Pulling fs layer 21:36:58 23d2d4c4bb30: Pulling fs layer 21:36:58 ad3a456e5733: Waiting 21:36:58 33e27b845d1e: Waiting 21:36:58 c68163c4e522: Waiting 21:36:58 50da416c3ac9: Waiting 21:36:58 23d2d4c4bb30: Waiting 21:36:58 c4d48a809fc2: Verifying Checksum 21:36:58 c4d48a809fc2: Download complete 21:36:58 ad3a456e5733: Verifying Checksum 21:36:58 ad3a456e5733: Download complete 21:36:58 33e27b845d1e: Verifying Checksum 21:36:58 33e27b845d1e: Download complete 21:36:58 7264a8db6415: Download complete 21:36:58 c68163c4e522: Verifying Checksum 21:36:58 c68163c4e522: Download complete 21:36:58 7264a8db6415: Pull complete 21:36:58 c4d48a809fc2: Pull complete 21:36:58 23d2d4c4bb30: Verifying Checksum 21:36:58 23d2d4c4bb30: Download complete 21:36:59 4f1c88b9dad5: Verifying Checksum 21:36:59 4f1c88b9dad5: Download complete 21:36:59 50da416c3ac9: Verifying Checksum 21:36:59 50da416c3ac9: Download complete 21:37:02 4f1c88b9dad5: Pull complete 21:37:02 ad3a456e5733: Pull complete 21:37:02 33e27b845d1e: Pull complete 21:37:02 c68163c4e522: Pull complete 21:37:05 50da416c3ac9: Pull complete 21:37:05 23d2d4c4bb30: Pull complete 21:37:05 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:37:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:37:05 ---> 0786185ac409 21:37:05 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:37:11 ---> Running in 7ec8d84c9635 21:37:11 Removing intermediate container 7ec8d84c9635 21:37:11 ---> 7677dd5d8d56 21:37:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:11 ---> Running in 138e5fc835f9 21:37:11 Still waiting to schedule task 21:37:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15630’ 21:37:11 Removing intermediate container 138e5fc835f9 21:37:11 ---> df47c4fc801f 21:37:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:37:11 ---> Running in 05f7040f36b2 21:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:37:12 (1/8) Installing openssh-keygen (9.3_p2-r0) 21:37:12 (2/8) Installing libedit (20221030.3.1-r1) 21:37:12 (3/8) Installing openssh-client-common (9.3_p2-r0) 21:37:12 (4/8) Installing openssh-client-default (9.3_p2-r0) 21:37:12 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 21:37:12 (6/8) Installing openssh-server-common (9.3_p2-r0) 21:37:12 (7/8) Installing openssh-server (9.3_p2-r0) 21:37:12 (8/8) Installing openssh (9.3_p2-r0) 21:37:12 Executing busybox-1.36.1-r2.trigger 21:37:12 OK: 270 MiB in 60 packages 21:37:12 Removing intermediate container 05f7040f36b2 21:37:12 ---> 6cb95252a42a 21:37:12 Step 6/10 : WORKDIR /device-modbus-go 21:37:12 ---> Running in 854844421ab6 21:37:12 Removing intermediate container 854844421ab6 21:37:12 ---> c02d0441fa9e 21:37:12 Step 7/10 : COPY go.mod vendor* ./ 21:37:13 ---> 8d4d36bd1aba 21:37:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:13 ---> Running in c3e399f2359f 21:37:51 Removing intermediate container c3e399f2359f 21:37:51 ---> ea2d7f0d6d2c 21:37:51 Step 9/10 : COPY . . 21:37:51 ---> 4051ac180bd9 21:37:51 Step 10/10 : RUN ${MAKE} 21:37:51 ---> Running in 62eeaea81641 21:37:51 noop 21:37:51 Removing intermediate container 62eeaea81641 21:37:51 ---> c1c99fec785d 21:37:51 Successfully built c1c99fec785d 21:37:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:52 + docker inspect -f . ci-base-image-x86_64 21:37:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:52 prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container 21:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:37:53 $ docker top 682002ab51ecb981d7d54cef6b2eb01c391417820ea4b2f196ff5cc0941511cc -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:53 + go version 21:37:53 go version go1.21.0 linux/amd64 [Pipeline] } 21:37:53 $ docker stop --time=1 682002ab51ecb981d7d54cef6b2eb01c391417820ea4b2f196ff5cc0941511cc 21:37:54 $ docker rm -f --volumes 682002ab51ecb981d7d54cef6b2eb01c391417820ea4b2f196ff5cc0941511cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:55 + docker inspect -f . ci-base-image-x86_64 21:37:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:55 prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container 21:37:55 $ 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-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:37:56 $ docker top 841f583dfefea86df84d68bb7c3a3ea16e10d1c74653578e429f52a10a773789 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:56 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-519 [Pipeline] fileExists [Pipeline] sh 21:37:57 + make test 21:37:57 go test ./... -coverprofile=coverage.out 21:37:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:38:08 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:38:08 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 21:38:15 go vet ./... 21:38:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:38:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:38:18 ./bin/test-attribution-txt.sh [Pipeline] echo 21:38:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:38:18 $ docker stop --time=1 841f583dfefea86df84d68bb7c3a3ea16e10d1c74653578e429f52a10a773789 21:38:22 $ docker rm -f --volumes 841f583dfefea86df84d68bb7c3a3ea16e10d1c74653578e429f52a10a773789 [Pipeline] // withDockerContainer [Pipeline] sh 21:38:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:38:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:38:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:38:23 + ls -al . 21:38:23 total 188 21:38:23 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:37 . 21:38:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:36 .. 21:38:23 -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 21:36 .dockerignore 21:38:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:38 .git 21:38:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 .github 21:38:23 -rw-rw-r-- 1 jenkins jenkins 266 Oct 31 21:36 .gitignore 21:38:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:36 .golangci.yml 21:38:23 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:36 .semver 21:38:23 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 31 21:36 Attribution.txt 21:38:23 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 31 21:36 CHANGELOG.md 21:38:23 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 31 21:36 Dockerfile 21:38:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:36 GOVERNANCE.md 21:38:23 -rw-rw-r-- 1 jenkins jenkins 658 Oct 31 21:36 Jenkinsfile 21:38:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:36 LICENSE 21:38:23 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 31 21:36 Makefile 21:38:23 -rw-rw-r-- 1 jenkins jenkins 622 Oct 31 21:36 OWNERS.md 21:38:23 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 31 21:36 README.md 21:38:23 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:36 VERSION 21:38:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:36 bin 21:38:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 cmd 21:38:23 -rw-r--r-- 1 jenkins jenkins 24334 Oct 31 21:38 coverage.out 21:38:23 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 31 21:36 go.mod 21:38:23 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 31 21:36 go.sum 21:38:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 internal 21:38:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:36 simulator 21:38:23 -rw-rw-r-- 1 jenkins jenkins 229 Oct 31 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:24 + 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=e2ff2043c21eae1b7948b2365d5c93f0134ee472 --label arch=amd64 --label version=0.0.0 . 21:38:24 Sending build context to Docker daemon 6.605MB 21:38:24 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 21:38:24 Step 2/22 : FROM ${BASE} AS builder 21:38:24 ---> c1c99fec785d 21:38:24 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:38:24 ---> Running in 4ddba017e638 21:38:24 Removing intermediate container 4ddba017e638 21:38:24 ---> 0c375d8cad1d 21:38:24 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:38:24 ---> Running in ea3475344538 21:38:24 Removing intermediate container ea3475344538 21:38:24 ---> c4d1241d1a55 21:38:24 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:38:24 ---> Running in 486b2af36cfc 21:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:38:25 OK: 270 MiB in 60 packages 21:38:25 Removing intermediate container 486b2af36cfc 21:38:25 ---> 1a9487aaa195 21:38:25 Step 6/22 : WORKDIR /device-modbus-go 21:38:25 ---> Running in e5b88d7af21c 21:38:25 Removing intermediate container e5b88d7af21c 21:38:25 ---> d075a770c929 21:38:25 Step 7/22 : COPY go.mod vendor* ./ 21:38:26 ---> 78bb2cf762a7 21:38:26 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:26 ---> Running in 549ef762e671 21:38:26 Removing intermediate container 549ef762e671 21:38:26 ---> af10ef465b69 21:38:26 Step 9/22 : COPY . . 21:38:26 ---> 93f7ef729fd7 21:38:26 Step 10/22 : RUN ${MAKE} 21:38:27 ---> Running in cf7fa7637423 21:38:27 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.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:38:49 Removing intermediate container cf7fa7637423 21:38:49 ---> 67162390fdba 21:38:49 Step 11/22 : FROM alpine:3.18 21:38:49 3.18: Pulling from library/alpine 21:38:49 96526aa774ef: Pulling fs layer 21:38:49 96526aa774ef: Verifying Checksum 21:38:49 96526aa774ef: Download complete 21:38:49 96526aa774ef: Pull complete 21:38:49 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:38:49 Status: Downloaded newer image for alpine:3.18 21:38:49 ---> 8ca4688f4f35 21:38:49 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:38:49 ---> Running in 2a58a005fc15 21:38:49 Removing intermediate container 2a58a005fc15 21:38:49 ---> 6b9cea17d52a 21:38:49 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:38:49 ---> Running in 9e6e8ee6c019 21:38:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:38:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:38:49 (1/1) Installing dumb-init (1.2.5-r2) 21:38:49 Executing busybox-1.36.1-r2.trigger 21:38:49 OK: 7 MiB in 16 packages 21:38:49 Removing intermediate container 9e6e8ee6c019 21:38:49 ---> ef52f0d85e32 21:38:49 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:38:50 ---> e462cd5e6d92 21:38:50 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:38:50 ---> f3da3d7a2381 21:38:50 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:38:52 ---> 9a572f4c1bdc 21:38:52 Step 17/22 : EXPOSE 59901 21:38:52 ---> Running in d1717ae19474 21:38:52 Removing intermediate container d1717ae19474 21:38:52 ---> b3a76f0ab4ab 21:38:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:38:52 ---> Running in 4681c51276f4 21:38:52 Removing intermediate container 4681c51276f4 21:38:52 ---> e43981c0ffaf 21:38:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:38:52 ---> Running in 41f5d6cefc92 21:38:52 Removing intermediate container 41f5d6cefc92 21:38:52 ---> a3001e04cd97 21:38:52 Step 20/22 : LABEL arch=amd64 21:38:52 ---> Running in 3e2591972777 21:38:52 Removing intermediate container 3e2591972777 21:38:52 ---> 76eba92fea97 21:38:52 Step 21/22 : LABEL git_sha=e2ff2043c21eae1b7948b2365d5c93f0134ee472 21:38:52 ---> Running in f2e9fe28d1bb 21:38:52 Removing intermediate container f2e9fe28d1bb 21:38:52 ---> f3b4e6b6b32b 21:38:52 Step 22/22 : LABEL version=0.0.0 21:38:52 ---> Running in 192d3e748106 21:38:52 Removing intermediate container 192d3e748106 21:38:52 ---> 817d0bb1de52 21:38:52 [Warning] One or more build-args [ARCH] were not consumed 21:38:52 Successfully built 817d0bb1de52 21:38:52 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 21:38:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:54 21:38:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:55 latest: Pulling from edgex-lftools-log-publisher 21:38:55 5eb5b503b376: Pulling fs layer 21:38:55 5c69ac0246d0: Pulling fs layer 21:38:55 ec43610c2a17: Pulling fs layer 21:38:55 3a2ae6a8a46f: Pulling fs layer 21:38:55 33b1e0a273af: Pulling fs layer 21:38:55 5d3b04190fa2: Pulling fs layer 21:38:55 2f39f015ded8: Pulling fs layer 21:38:55 33b1e0a273af: Waiting 21:38:55 5d3b04190fa2: Waiting 21:38:55 2f39f015ded8: Waiting 21:38:55 3a2ae6a8a46f: Waiting 21:38:55 5c69ac0246d0: Download complete 21:38:55 3a2ae6a8a46f: Verifying Checksum 21:38:55 3a2ae6a8a46f: Download complete 21:38:55 33b1e0a273af: Verifying Checksum 21:38:55 33b1e0a273af: Download complete 21:38:55 ec43610c2a17: Verifying Checksum 21:38:55 ec43610c2a17: Download complete 21:38:55 5d3b04190fa2: Download complete 21:38:55 5eb5b503b376: Verifying Checksum 21:38:55 5eb5b503b376: Download complete 21:38:55 2f39f015ded8: Download complete 21:38:56 5eb5b503b376: Pull complete 21:38:56 5c69ac0246d0: Pull complete 21:38:57 ec43610c2a17: Pull complete 21:38:57 3a2ae6a8a46f: Pull complete 21:38:57 33b1e0a273af: Pull complete 21:38:57 5d3b04190fa2: Pull complete 21:39:01 2f39f015ded8: Pull complete 21:39:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:01 prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container 21:39:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:39:07 $ docker top d1c97b2f88812a2ec1cd46d1f4a718ea522150c11edd67ec17a93f4da60a0f81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:08 ---> job-cost.sh 21:39:08 lf-activate-venv: SKIPPING 21:39:08 INFO: No Stack... 21:39:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:08 INFO: Archiving Costs [Pipeline] sh 21:39:09 + + cat /w/workspace/xfoundry_device-modbus-go_PR-519/archives/cost.csv 21:39:09 cut -d, -f6 [Pipeline] lock 21:39:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] 21:39:09 Resource [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] did not exist. Created. 21:39:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:09 + echo total: 0.2199999988079071 [Pipeline] stash 21:39:09 Stashed 1 file(s) [Pipeline] } 21:39:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:09 $ docker stop --time=1 d1c97b2f88812a2ec1cd46d1f4a718ea522150c11edd67ec17a93f4da60a0f81 21:39:10 $ docker rm -f --volumes d1c97b2f88812a2ec1cd46d1f4a718ea522150c11edd67ec17a93f4da60a0f81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:39:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15658 in /w/workspace/xfoundry_device-modbus-go_PR-519 [Pipeline] { [Pipeline] ws 21:39:54 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 21:39:54 Selected Git installation does not exist. Using Default 21:39:54 The recommended git tool is: NONE 21:40:01 using credential edgex-jenkins-ssh 21:40:01 Cloning the remote Git repository 21:40:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:40:01 > git init /w/workspace/device-modbus-go/1 # timeout=10 21:40:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:40:01 > git --version # timeout=10 21:40:01 > git --version # 'git version 2.25.1' 21:40:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:40:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:40:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:40:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:40:05 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/519/head:refs/remotes/origin/PR-519 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:40:06 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit e2ff2043c21eae1b7948b2365d5c93f0134ee472 21:40:06 Merge succeeded, producing e2ff2043c21eae1b7948b2365d5c93f0134ee472 21:40:06 Checking out Revision e2ff2043c21eae1b7948b2365d5c93f0134ee472 (PR-519) 21:40:07 Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" 21:40:07 > git --version # timeout=10 21:40:07 > git --version # 'git version 2.25.1' 21:40:07 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 21:40:06 > git config core.sparsecheckout # timeout=10 21:40:06 > git checkout -f e2ff2043c21eae1b7948b2365d5c93f0134ee472 # timeout=10 21:40:06 > git remote # timeout=10 21:40:06 > git config --get remote.origin.url # timeout=10 21:40:06 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:06 > git merge 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 21:40:06 > git rev-parse HEAD^{commit} # timeout=10 21:40:06 > git config core.sparsecheckout # timeout=10 21:40:06 > git checkout -f e2ff2043c21eae1b7948b2365d5c93f0134ee472 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:40:08 % Total % Received % Xferd Average Speed Time Time Time Current 21:40:08 Dload Upload Total Spent Left Speed 21:40:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 21:40:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:40:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:40:09 + sudo tee /etc/docker/daemon.new 21:40:09 { 21:40:09 "registry-mirrors": [ 21:40:09 "https://nexus3.edgexfoundry.org:10001" 21:40:09 ], 21:40:09 "bip": "10.250.0.254/24", 21:40:09 "hosts": [ 21:40:09 "tcp://0.0.0.0:5555", 21:40:09 "unix:///var/run/docker.sock" 21:40:09 ], 21:40:09 "mtu": 1458, 21:40:09 "selinux-enabled": true, 21:40:09 "seccomp-profile": "/etc/docker/seccomp.json" 21:40:09 } [Pipeline] sh 21:40:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:40:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:29 provisioning config files... 21:40:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2086625773939717725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:29 ---> docker-login.sh 21:40:29 nexus3.edgexfoundry.org:10001 21:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:30 Configure a credential helper to remove this warning. See 21:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:30 21:40:30 Login Succeeded 21:40:30 nexus3.edgexfoundry.org:10002 21:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:30 Configure a credential helper to remove this warning. See 21:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:30 21:40:30 Login Succeeded 21:40:30 nexus3.edgexfoundry.org:10003 21:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:31 Configure a credential helper to remove this warning. See 21:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:31 21:40:31 Login Succeeded 21:40:31 nexus3.edgexfoundry.org:10004 21:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:31 Configure a credential helper to remove this warning. See 21:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:31 21:40:31 Login Succeeded 21:40:31 docker.io 21:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:32 Configure a credential helper to remove this warning. See 21:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:32 21:40:32 Login Succeeded 21:40:32 ---> docker-login.sh ends [Pipeline] } 21:40:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:40:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:40:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:40:33 ========================================================= 21:40:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:40:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:33 + 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 . 21:40:33 Sending build context to Docker daemon 3.408MB 21:40:33 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:40:33 Step 2/10 : FROM ${BASE} AS builder 21:40:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:40:34 9fda8d8052c6: Pulling fs layer 21:40:34 5d54e960e981: Pulling fs layer 21:40:34 c4a7e357bf2a: Pulling fs layer 21:40:34 f0e02332f6b5: Pulling fs layer 21:40:34 cefa15bbcfad: Pulling fs layer 21:40:34 17808c966233: Pulling fs layer 21:40:34 f4c1fc716caa: Pulling fs layer 21:40:34 cefa15bbcfad: Waiting 21:40:34 17808c966233: Waiting 21:40:34 f0e02332f6b5: Waiting 21:40:34 f4c1fc716caa: Waiting 21:40:34 5d54e960e981: Download complete 21:40:34 f0e02332f6b5: Download complete 21:40:34 cefa15bbcfad: Verifying Checksum 21:40:34 cefa15bbcfad: Download complete 21:40:34 9fda8d8052c6: Download complete 21:40:35 f4c1fc716caa: Verifying Checksum 21:40:35 f4c1fc716caa: Download complete 21:40:35 9fda8d8052c6: Pull complete 21:40:36 5d54e960e981: Pull complete 21:40:36 c4a7e357bf2a: Download complete 21:40:38 17808c966233: Verifying Checksum 21:40:38 17808c966233: Download complete 21:40:53 c4a7e357bf2a: Pull complete 21:40:53 f0e02332f6b5: Pull complete 21:40:53 cefa15bbcfad: Pull complete 21:41:01 17808c966233: Pull complete 21:41:02 f4c1fc716caa: Pull complete 21:41:02 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:41:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:41:02 ---> ea914061e18c 21:41:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:41:04 ---> Running in f6ee850eb749 21:41:04 Removing intermediate container f6ee850eb749 21:41:04 ---> cbf7a2136062 21:41:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:41:04 ---> Running in a56ab49ff69b 21:41:05 Removing intermediate container a56ab49ff69b 21:41:05 ---> fbffedadc2eb 21:41:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:41:05 ---> Running in 4950f71d02da 21:41:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:41:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:41:08 (1/8) Installing openssh-keygen (9.3_p2-r0) 21:41:08 (2/8) Installing libedit (20221030.3.1-r1) 21:41:08 (3/8) Installing openssh-client-common (9.3_p2-r0) 21:41:08 (4/8) Installing openssh-client-default (9.3_p2-r0) 21:41:08 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 21:41:08 (6/8) Installing openssh-server-common (9.3_p2-r0) 21:41:08 (7/8) Installing openssh-server (9.3_p2-r0) 21:41:08 (8/8) Installing openssh (9.3_p2-r0) 21:41:08 Executing busybox-1.36.1-r2.trigger 21:41:08 OK: 272 MiB in 60 packages 21:41:09 Removing intermediate container 4950f71d02da 21:41:09 ---> 03c2d9d68d18 21:41:09 Step 6/10 : WORKDIR /device-modbus-go 21:41:09 ---> Running in a498a65cef42 21:41:10 Removing intermediate container a498a65cef42 21:41:10 ---> e8d7d503b70c 21:41:10 Step 7/10 : COPY go.mod vendor* ./ 21:41:10 ---> 0bbe9a2a2b44 21:41:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:41:10 ---> Running in 675d7dc88ad8 21:42:32 Removing intermediate container 675d7dc88ad8 21:42:32 ---> 723193f2e377 21:42:32 Step 9/10 : COPY . . 21:42:32 ---> 330b3f8dab36 21:42:32 Step 10/10 : RUN ${MAKE} 21:42:32 ---> Running in 225d4f722b17 21:42:33 noop 21:42:34 Removing intermediate container 225d4f722b17 21:42:34 ---> 71f1d479f4fc 21:42:34 Successfully built 71f1d479f4fc 21:42:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:35 + docker inspect -f . ci-base-image-arm64 21:42:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:35 prd-ubuntu20.04-docker-arm64-4c-16g-15658 does not seem to be running inside a container 21:42:35 $ 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 21:42:37 $ docker top 5a42764d0b1e4e84a5c7c3ec57092e6e027077eb9a4c8e79ab8798778107aa4f -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:38 + go version 21:42:38 go version go1.21.0 linux/arm64 [Pipeline] } 21:42:38 $ docker stop --time=1 5a42764d0b1e4e84a5c7c3ec57092e6e027077eb9a4c8e79ab8798778107aa4f 21:42:39 $ docker rm -f --volumes 5a42764d0b1e4e84a5c7c3ec57092e6e027077eb9a4c8e79ab8798778107aa4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:40 + docker inspect -f . ci-base-image-arm64 21:42:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:41 prd-ubuntu20.04-docker-arm64-4c-16g-15658 does not seem to be running inside a container 21:42:41 $ 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 21:42:46 $ docker top 0659e4c8ef97e871fe17b7a6af6fc1de065c5bee64fb44b623e3c549d8b117a5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:47 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 21:42:48 + make test 21:42:48 go test ./... -coverprofile=coverage.out 21:42:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:45:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:45:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.9% of statements 21:45:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:45:15 go vet ./... 21:45:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:45:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:45:37 ./bin/test-attribution-txt.sh [Pipeline] echo 21:45:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:45:38 $ docker stop --time=1 0659e4c8ef97e871fe17b7a6af6fc1de065c5bee64fb44b623e3c549d8b117a5 21:45:40 $ docker rm -f --volumes 0659e4c8ef97e871fe17b7a6af6fc1de065c5bee64fb44b623e3c549d8b117a5 [Pipeline] // withDockerContainer [Pipeline] sh 21:45:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:45:42 Warning: overwriting stash ‘coverage-report’ 21:45:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:45:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:45:43 + ls -al . 21:45:43 total 184 21:45:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:42 . 21:45:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:40 .. 21:45:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 21:40 .dockerignore 21:45:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:40 .git 21:45:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 .github 21:45:43 -rw-rw-r-- 1 jenkins jenkins 266 Oct 31 21:40 .gitignore 21:45:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:40 .golangci.yml 21:45:43 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 31 21:40 Attribution.txt 21:45:43 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 31 21:40 CHANGELOG.md 21:45:43 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 31 21:40 Dockerfile 21:45:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:40 GOVERNANCE.md 21:45:43 -rw-rw-r-- 1 jenkins jenkins 658 Oct 31 21:40 Jenkinsfile 21:45:43 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:40 LICENSE 21:45:43 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 31 21:40 Makefile 21:45:43 -rw-rw-r-- 1 jenkins jenkins 622 Oct 31 21:40 OWNERS.md 21:45:43 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 31 21:40 README.md 21:45:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:36 VERSION 21:45:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:40 bin 21:45:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 cmd 21:45:43 -rw-r--r-- 1 jenkins jenkins 24334 Oct 31 21:45 coverage.out 21:45:43 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 31 21:40 go.mod 21:45:43 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 31 21:40 go.sum 21:45:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 internal 21:45:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:40 simulator 21:45:43 -rw-rw-r-- 1 jenkins jenkins 229 Oct 31 21:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:44 + 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=e2ff2043c21eae1b7948b2365d5c93f0134ee472 --label arch=arm64 --label version=0.0.0 . 21:45:44 Sending build context to Docker daemon 3.433MB 21:45:44 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 21:45:44 Step 2/22 : FROM ${BASE} AS builder 21:45:44 ---> 71f1d479f4fc 21:45:44 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:45:45 ---> Running in 3ca0e4f41a60 21:45:45 Removing intermediate container 3ca0e4f41a60 21:45:45 ---> f83606c6e78a 21:45:45 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:45:45 ---> Running in b0e7928dc90f 21:45:46 Removing intermediate container b0e7928dc90f 21:45:46 ---> 7b418daf9e18 21:45:46 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:45:46 ---> Running in e6a2877604f2 21:45:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:45:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:45:49 OK: 272 MiB in 60 packages 21:45:50 Removing intermediate container e6a2877604f2 21:45:50 ---> 6f5a83229d83 21:45:50 Step 6/22 : WORKDIR /device-modbus-go 21:45:50 ---> Running in 0d57ab9ef261 21:45:51 Removing intermediate container 0d57ab9ef261 21:45:51 ---> 475f0981cdb2 21:45:51 Step 7/22 : COPY go.mod vendor* ./ 21:45:51 ---> c1d0d00cac42 21:45:51 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:45:52 ---> Running in bcc2c8361569 21:45:54 Removing intermediate container bcc2c8361569 21:45:54 ---> 60239e5be4cf 21:45:54 Step 9/22 : COPY . . 21:45:55 ---> 4fdc3a1aed97 21:45:55 Step 10/22 : RUN ${MAKE} 21:45:55 ---> Running in a9b6b4370a5e 21:45:56 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.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:48:33 Removing intermediate container a9b6b4370a5e 21:48:33 ---> 53c632967a54 21:48:33 Step 11/22 : FROM alpine:3.18 21:48:33 3.18: Pulling from library/alpine 21:48:33 579b34f0a95b: Pulling fs layer 21:48:33 579b34f0a95b: Verifying Checksum 21:48:33 579b34f0a95b: Download complete 21:48:33 579b34f0a95b: Pull complete 21:48:33 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:48:33 Status: Downloaded newer image for alpine:3.18 21:48:33 ---> 3cc203321400 21:48:33 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:48:33 ---> Running in c3967ade78ff 21:48:33 Removing intermediate container c3967ade78ff 21:48:33 ---> 6b746e63d5e2 21:48:33 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:48:33 ---> Running in b41b9aa66587 21:48:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:48:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:48:33 (1/1) Installing dumb-init (1.2.5-r2) 21:48:33 Executing busybox-1.36.1-r2.trigger 21:48:33 OK: 8 MiB in 16 packages 21:48:33 Removing intermediate container b41b9aa66587 21:48:33 ---> 7afe4bb62196 21:48:33 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:48:33 ---> 051d23638f72 21:48:33 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:48:33 ---> 6120e44e43bc 21:48:33 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:48:33 ---> 1ffe5c5a1df5 21:48:33 Step 17/22 : EXPOSE 59901 21:48:33 ---> Running in 0c2675bbda90 21:48:33 Removing intermediate container 0c2675bbda90 21:48:33 ---> d02e1b95b97c 21:48:33 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:48:33 ---> Running in 55cc8257636f 21:48:33 Removing intermediate container 55cc8257636f 21:48:33 ---> cf36df0bd409 21:48:33 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:48:33 ---> Running in 2ee57e7dd7de 21:48:33 Removing intermediate container 2ee57e7dd7de 21:48:33 ---> 0452fe803cbf 21:48:33 Step 20/22 : LABEL arch=arm64 21:48:33 ---> Running in 83cf4dbf4cd8 21:48:33 Removing intermediate container 83cf4dbf4cd8 21:48:33 ---> 13be8630b6cc 21:48:33 Step 21/22 : LABEL git_sha=e2ff2043c21eae1b7948b2365d5c93f0134ee472 21:48:33 ---> Running in ba942ecf50a3 21:48:33 Removing intermediate container ba942ecf50a3 21:48:33 ---> 6fadaeda3c2a 21:48:33 Step 22/22 : LABEL version=0.0.0 21:48:33 ---> Running in f40093cb41e3 21:48:34 Removing intermediate container f40093cb41e3 21:48:34 ---> 22686999885e 21:48:34 [Warning] One or more build-args [ARCH] were not consumed 21:48:34 Successfully built 22686999885e 21:48:34 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 21:48:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:35 21:48:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:35 arm64: Pulling from edgex-lftools-log-publisher 21:48:35 8998bd30e6a1: Pulling fs layer 21:48:35 04944245beec: Pulling fs layer 21:48:35 699f458cf7ca: Pulling fs layer 21:48:35 765212b225bb: Pulling fs layer 21:48:35 f23df028b6ca: Pulling fs layer 21:48:35 d65c8cfc05b1: Pulling fs layer 21:48:35 2437ff75d9bd: Pulling fs layer 21:48:35 f23df028b6ca: Waiting 21:48:35 d65c8cfc05b1: Waiting 21:48:35 2437ff75d9bd: Waiting 21:48:35 765212b225bb: Waiting 21:48:35 04944245beec: Verifying Checksum 21:48:35 04944245beec: Download complete 21:48:35 765212b225bb: Verifying Checksum 21:48:35 765212b225bb: Download complete 21:48:36 f23df028b6ca: Download complete 21:48:36 d65c8cfc05b1: Verifying Checksum 21:48:36 d65c8cfc05b1: Download complete 21:48:36 699f458cf7ca: Download complete 21:48:36 8998bd30e6a1: Verifying Checksum 21:48:36 8998bd30e6a1: Download complete 21:48:39 2437ff75d9bd: Verifying Checksum 21:48:39 2437ff75d9bd: Download complete 21:48:42 8998bd30e6a1: Pull complete 21:48:43 04944245beec: Pull complete 21:48:44 699f458cf7ca: Pull complete 21:48:45 765212b225bb: Pull complete 21:48:46 f23df028b6ca: Pull complete 21:48:46 d65c8cfc05b1: Pull complete 21:49:04 2437ff75d9bd: Pull complete 21:49:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:05 prd-ubuntu20.04-docker-arm64-4c-16g-15658 does not seem to be running inside a container 21:49:05 $ 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 21:49:08 $ docker top 6fa829103a30c9d44f2eb55298e06cfcffacd844195eff67150e325928b6df5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:09 ---> job-cost.sh 21:49:09 lf-activate-venv: SKIPPING 21:49:09 INFO: No Stack... 21:49:09 INFO: Retrieving Pricing Info for: v3-standard-4 21:49:10 INFO: Archiving Costs [Pipeline] sh 21:49:11 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 21:49:11 + cut -d, -f6 [Pipeline] lock 21:49:11 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] 21:49:11 Resource [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] did not exist. Created. 21:49:11 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:12 /w/workspace/device-modbus-go/1@tmp/durable-91dcad27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:49:13 + echo total: 0.10999999940395355 [Pipeline] stash 21:49:13 Warning: overwriting stash ‘stack-cost’ 21:49:13 Stashed 1 file(s) [Pipeline] } 21:49:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:13 $ docker stop --time=1 6fa829103a30c9d44f2eb55298e06cfcffacd844195eff67150e325928b6df5a 21:49:15 $ docker rm -f --volumes 6fa829103a30c9d44f2eb55298e06cfcffacd844195eff67150e325928b6df5a [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 21:49:16 provisioning config files... 21:49:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/config11212427986363276365tmp [Pipeline] { [Pipeline] sh 21:49:16 + set +x 21:49:16 + + bash -s -- 21:49:16 curl -s https://codecov.io/bash 21:49:16 21:49:16 _____ _ 21:49:16 / ____| | | 21:49:16 | | ___ __| | ___ ___ _____ __ 21:49:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:49:16 | |___| (_) | (_| | __/ (_| (_) \ V / 21:49:16 \_____\___/ \__,_|\___|\___\___/ \_/ 21:49:16 Bash-1.0.6 21:49:16 21:49:16 21:49:16 ==> git version 2.25.1 found 21:49:16 ==> 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 21:49:16 Release-Date: 2020-01-08 21:49:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:49:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:49:16 ==> Jenkins CI detected. 21:49:16 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-519 21:49:16 project root: . 21:49:16 --> token set from env 21:49:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:49:16 ==> Running gcov in . (disable via -X gcov) 21:49:16 ==> Python coveragepy not found 21:49:16 ==> Searching for coverage reports in: 21:49:16 + . 21:49:16 -> Found 1 reports 21:49:16 ==> Detecting git/mercurial file structure 21:49:16 ==> Reading reports 21:49:16 + ./coverage.out bytes=24334 21:49:16 ==> Appending adjustments 21:49:16 https://docs.codecov.io/docs/fixing-reports 21:49:16 + Found adjustments 21:49:16 ==> Gzipping contents 21:49:16 4.0K /tmp/codecov.VZmePa.gz 21:49:16 ==> Uploading reports 21:49:16 url: https://codecov.io 21:49:16 query: branch=PR-519&commit=e2ff2043c21eae1b7948b2365d5c93f0134ee472&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-519%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=519&job=&cmd_args= 21:49:16 -> Pinging Codecov 21:49:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-519&commit=e2ff2043c21eae1b7948b2365d5c93f0134ee472&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-519%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=519&job=&cmd_args= 21:49:16 -> Uploading to 21:49:16 https://storage.googleapis.com/codecov/v4/raw/2023-10-31/55DBCA73C666E3227836607328DD7E49/e2ff2043c21eae1b7948b2365d5c93f0134ee472/1d305928-6639-45c0-88a5-dc5048ca5c5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231031T214916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=201e85629b7809a715be6c01b10297f08c831033a5d3feeca2a1f1600ee7a3a9 21:49:16 % Total % Received % Xferd Average Speed Time Time Time Current 21:49:16 Dload Upload Total Spent Left Speed 21:49:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 18748 --:--:-- --:--:-- --:--:-- 18656 100 3806 0 0 100 3806 0 15346 --:--:-- --:--:-- --:--:-- 15285 21:49:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] } 21:49:17 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 21:49:19 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-519/archives ] 21:49:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-519/archives 21:49:19 total 16 21:49:19 drwxr-xr-x 3 root root 4096 Oct 31 21:39 . 21:49:19 drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:39 .. 21:49:19 drwxr-xr-x 2 root root 4096 Oct 31 21:39 cost 21:49:19 -rw-r--r-- 1 root root 88 Oct 31 21:39 cost.csv 21:49:19 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-519/archives 21:49:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-519/archives 21:49:19 total 16 21:49:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:39 . 21:49:19 drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:39 .. 21:49:19 drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:39 cost 21:49:19 -rw-r--r-- 1 jenkins jenkins 88 Oct 31 21:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:49:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:49:20 ---> package-listing.sh 21:49:20 ++ facter osfamily 21:49:20 ++ tr '[:upper:]' '[:lower:]' 21:49:20 + OS_FAMILY=debian 21:49:20 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-519 21:49:20 + START_PACKAGES=/tmp/packages_start.txt 21:49:20 + END_PACKAGES=/tmp/packages_end.txt 21:49:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:49:20 + PACKAGES=/tmp/packages_start.txt 21:49:20 + '[' /w/workspace/xfoundry_device-modbus-go_PR-519 ']' 21:49:20 + PACKAGES=/tmp/packages_end.txt 21:49:20 + case "${OS_FAMILY}" in 21:49:20 + dpkg -l 21:49:20 + grep '^ii' 21:49:20 + '[' -f /tmp/packages_start.txt ']' 21:49:20 + '[' -f /tmp/packages_end.txt ']' 21:49:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:49:20 + '[' /w/workspace/xfoundry_device-modbus-go_PR-519 ']' 21:49:20 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-519/archives/ 21:49:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-519/archives/ [Pipeline] echo 21:49:20 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-519/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:49:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:21 prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container 21:49:21 $ 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-519/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-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@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 21:49:22 $ docker top caee3a28fc32bea02207afd76264b943642f4d5aa985ae4fd571091e5a7aef32 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:22 + touch /tmp/pre-build-complete [Pipeline] sh 21:49:22 + mkdir -p /var/log/sysstat [Pipeline] sh 21:49:23 + ls /var/log/sa-host 21:49:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:23 provisioning config files... 21:49:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/config4662673179764910293tmp [Pipeline] { [Pipeline] echo 21:49:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:49:23 ---> create-netrc.sh [Pipeline] } 21:49:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:49:24 ---> python-tools-install.sh [Pipeline] echo 21:49:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:49:24 ---> sudo-logs.sh 21:49:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:49:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:49:25 ---> job-cost.sh 21:49:25 lf-activate-venv: SKIPPING 21:49:25 DEBUG: total: 0.2199999988079071 21:49:25 INFO: Retrieving Stack Cost... 21:49:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:25 INFO: Archiving Costs [Pipeline] echo 21:49:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:49:26 ---> logs-deploy.sh 21:49:26 lf-activate-venv: SKIPPING 21:49:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-519/1 21:49:26 INFO: archiving workspace using pattern(s): 21:49:27 Archives upload complete. 21:49:27 INFO: archiving logs to Nexus