Pull request #497 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ccb6e6b255d38d4204eb6b52887c54b90775ace+d21f7114bade91926d0e99e1f605d1c822a787f1 (525556aace4808a99d501ee9041e211a592cccaf) 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-ssh17067575964982984714.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh10957845159609578692.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-497/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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4682276726155560418.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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh522868797485578496.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh10922432725488612270.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-497/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-497/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17458681470429037494.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5319 in /w/workspace/xfoundry_device-modbus-go_PR-497 [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-497 # 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/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d21f7114bade91926d0e99e1f605d1c822a787f1 into PR head commit 6ccb6e6b255d38d4204eb6b52887c54b90775ace Merge succeeded, producing 6ccb6e6b255d38d4204eb6b52887c54b90775ace Checking out Revision 6ccb6e6b255d38d4204eb6b52887c54b90775ace (PR-497) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:01:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:01:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:01:08 ========================================================= 06:01:08 EdgeX Global Pipelines Version Info 06:01:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 6ccb6e6b255d38d4204eb6b52887c54b90775ace # 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 d21f7114bade91926d0e99e1f605d1c822a787f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ccb6e6b255d38d4204eb6b52887c54b90775ace # timeout=10 06:01:09 ------------------- 06:01:09 stable info: 06:01:09 ------------------- 06:01:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:01:09 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:01:09 Message: update stable to v1.0.253 06:01:10 ------------------- 06:01:10 experimental info: 06:01:10 ------------------- 06:01:10 Commited By: **** collab-it+edgex@linuxfoundation.org 06:01:10 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:01:10 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:01:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-497 [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-497 [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-497 [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ccb6e6 [Pipeline] echo 06:01:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:11 provisioning config files... 06:01:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/config9690431793911366215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:12 ---> docker-login.sh 06:01:12 nexus3.edgexfoundry.org:10001 06:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:12 Configure a credential helper to remove this warning. See 06:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:12 06:01:12 Login Succeeded 06:01:12 nexus3.edgexfoundry.org:10002 06:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:12 Configure a credential helper to remove this warning. See 06:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:12 06:01:12 Login Succeeded 06:01:12 nexus3.edgexfoundry.org:10003 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 nexus3.edgexfoundry.org:10004 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 docker.io 06:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 ---> docker-login.sh ends [Pipeline] } 06:01:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:01:13 + git rev-list -1 --merges 6ccb6e6b255d38d4204eb6b52887c54b90775ace~1..6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] echo 06:01:14 -----------> git rev-list -1 --merges 6ccb6e6b255d38d4204eb6b52887c54b90775ace~1..6ccb6e6b255d38d4204eb6b52887c54b90775ace 6ccb6e6b255d38d4204eb6b52887c54b90775ace [false] [Pipeline] sh 06:01:14 + git log --format=format:%s -1 6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] echo 06:01:14 ========================================================= 06:01:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:01:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:14 + git log --format=format:%s -1 6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] echo 06:01:14 [semverPrep] GIT_COMMIT: 6ccb6e6b255d38d4204eb6b52887c54b90775ace, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:01:14 [semverPrep] This is not a build commit. [Pipeline] sh 06:01:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:01:15 + grep -v github /etc/ssh/ssh_known_hosts 06:01:15 + [ -e /tmp/ssh_known_hosts ] 06:01:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:01:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:01:15 + sudo tee -a /etc/ssh/ssh_known_hosts 06:01:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:01:15 06:01:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:01:16 0.1.4: Pulling from edgex-devops/py-git-semver 06:01:16 b85a868b505f: Pulling fs layer 06:01:16 e2be974225ed: Pulling fs layer 06:01:16 339a4e72a1f5: Pulling fs layer 06:01:16 988bab9f4d93: Pulling fs layer 06:01:16 1469e6f7b9e6: Pulling fs layer 06:01:16 eaf3925da568: Pulling fs layer 06:01:16 bab4dde63d76: Pulling fs layer 06:01:16 bde34c3a00c8: Pulling fs layer 06:01:16 b352a97aabf1: Pulling fs layer 06:01:16 4872d77fe225: Pulling fs layer 06:01:16 5851b861e8e6: Pulling fs layer 06:01:16 988bab9f4d93: Waiting 06:01:16 1469e6f7b9e6: Waiting 06:01:16 eaf3925da568: Waiting 06:01:16 bab4dde63d76: Waiting 06:01:16 bde34c3a00c8: Waiting 06:01:16 b352a97aabf1: Waiting 06:01:16 4872d77fe225: Waiting 06:01:16 5851b861e8e6: Waiting 06:01:16 e2be974225ed: Verifying Checksum 06:01:16 e2be974225ed: Download complete 06:01:16 988bab9f4d93: Download complete 06:01:16 1469e6f7b9e6: Verifying Checksum 06:01:16 1469e6f7b9e6: Download complete 06:01:16 339a4e72a1f5: Verifying Checksum 06:01:16 339a4e72a1f5: Download complete 06:01:16 bde34c3a00c8: Download complete 06:01:16 b352a97aabf1: Download complete 06:01:16 4872d77fe225: Verifying Checksum 06:01:16 4872d77fe225: Download complete 06:01:16 5851b861e8e6: Download complete 06:01:16 b85a868b505f: Verifying Checksum 06:01:16 b85a868b505f: Download complete 06:01:16 bab4dde63d76: Verifying Checksum 06:01:16 bab4dde63d76: Download complete 06:01:17 b85a868b505f: Pull complete 06:01:17 e2be974225ed: Pull complete 06:01:18 339a4e72a1f5: Pull complete 06:01:18 988bab9f4d93: Pull complete 06:01:18 1469e6f7b9e6: Pull complete 06:01:18 eaf3925da568: Pull complete 06:01:20 bab4dde63d76: Pull complete 06:01:20 bde34c3a00c8: Pull complete 06:01:20 b352a97aabf1: Pull complete 06:01:20 4872d77fe225: Pull complete 06:01:20 5851b861e8e6: Pull complete 06:01:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:01:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:01:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:21 prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container 06:01:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:01:24 $ docker top d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 -eo pid,comm 06:01:24 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). 06:01:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:01:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:24 [ssh-agent] Looking for ssh-agent implementation... 06:01:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:24 $ docker exec d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 ssh-agent 06:01:24 SSH_AUTH_SOCK=/tmp/ssh-J1hcqPfNP64W/agent.32 06:01:24 SSH_AGENT_PID=38 06:01:24 Running ssh-add (command line suppressed) 06:01:24 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-497@tmp/private_key_17214871390769123329.key (/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/private_key_17214871390769123329.key) 06:01:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:24 + git tag --points-at HEAD [Pipeline] } 06:01:24 $ docker exec --env ******** --env ******** d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 ssh-agent -k 06:01:25 unset SSH_AUTH_SOCK; 06:01:25 unset SSH_AGENT_PID; 06:01:25 echo Agent pid 38 killed; 06:01:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:01:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:25 [ssh-agent] Looking for ssh-agent implementation... 06:01:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:25 $ docker exec d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 ssh-agent 06:01:25 SSH_AUTH_SOCK=/tmp/ssh-BNj95XvpH0Hm/agent.70 06:01:25 SSH_AGENT_PID=76 06:01:25 Running ssh-add (command line suppressed) 06:01:25 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-497@tmp/private_key_3682306498864911466.key (/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/private_key_3682306498864911466.key) 06:01:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:25 + git semver init 06:01:26 2023-09-05 06:01:26,018 [run_init] DEBUG init version:0.0.0 force:False 06:01:26 2023-09-05 06:01:26,018 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-497/.semver 06:01:26 2023-09-05 06:01:26,019 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-497/.semver 06:01:26 2023-09-05 06:01:26,019 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-497/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-497, universal_newlines=False, shell=None, istream=None) 06:01:27 2023-09-05 06:01:26,803 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-497/.git/info/exclude 06:01:27 2023-09-05 06:01:26,804 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-497/.semver/PR-497 with force:False 06:01:27 2023-09-05 06:01:26,804 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-497/.semver/PR-497 06:01:27 2023-09-05 06:01:26,808 [execute] INFO git cat-file --batch-check 06:01:27 2023-09-05 06:01:26,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-497/.semver, universal_newlines=False, shell=None, istream=) 06:01:27 2023-09-05 06:01:26,815 [execute] INFO git cat-file --batch 06:01:27 2023-09-05 06:01:26,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-497/.semver, universal_newlines=False, shell=None, istream=) 06:01:27 2023-09-05 06:01:26,820 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-497/.semver/PR-497 06:01:27 0.0.0 [Pipeline] } 06:01:27 $ docker exec --env ******** --env ******** d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 ssh-agent -k 06:01:27 unset SSH_AUTH_SOCK; 06:01:27 unset SSH_AGENT_PID; 06:01:27 echo Agent pid 76 killed; 06:01:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:01:27 + git semver [Pipeline] } 06:01:27 $ docker stop --time=1 d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 06:01:29 $ docker rm -f --volumes d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:01:29 Stashed 1 file(s) [Pipeline] echo 06:01:29 [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 06:01:30 provisioning config files... 06:01:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/config15741965707673416263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:30 ---> docker-login.sh 06:01:30 nexus3.edgexfoundry.org:10001 06:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:30 Configure a credential helper to remove this warning. See 06:01:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:30 06:01:30 Login Succeeded 06:01:30 nexus3.edgexfoundry.org:10002 06:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:30 Configure a credential helper to remove this warning. See 06:01:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:30 06:01:30 Login Succeeded 06:01:30 nexus3.edgexfoundry.org:10003 06:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:31 Configure a credential helper to remove this warning. See 06:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:31 06:01:31 Login Succeeded 06:01:31 nexus3.edgexfoundry.org:10004 06:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:31 Configure a credential helper to remove this warning. See 06:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:31 06:01:31 Login Succeeded 06:01:31 docker.io 06:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:31 Configure a credential helper to remove this warning. See 06:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:31 06:01:31 Login Succeeded 06:01:31 ---> docker-login.sh ends [Pipeline] } 06:01:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:31 ========================================================= 06:01:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:01:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:01:32 Sending build context to Docker daemon 6.423MB 06:01:32 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:01:32 Step 2/10 : FROM ${BASE} AS builder 06:01:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:01:32 4db1b89c0bd1: Pulling fs layer 06:01:32 6911f1a30b25: Pulling fs layer 06:01:32 e194b8c5c2a9: Pulling fs layer 06:01:32 6863d3e3a2b1: Pulling fs layer 06:01:32 ec0bb842ea78: Pulling fs layer 06:01:32 40a00589a448: Pulling fs layer 06:01:32 6863d3e3a2b1: Waiting 06:01:32 ec0bb842ea78: Waiting 06:01:32 6c08303d61cc: Pulling fs layer 06:01:32 798269fcf238: Pulling fs layer 06:01:32 798269fcf238: Waiting 06:01:32 6c08303d61cc: Waiting 06:01:32 40a00589a448: Waiting 06:01:32 6911f1a30b25: Verifying Checksum 06:01:32 6911f1a30b25: Download complete 06:01:32 6863d3e3a2b1: Verifying Checksum 06:01:32 6863d3e3a2b1: Download complete 06:01:32 ec0bb842ea78: Verifying Checksum 06:01:32 ec0bb842ea78: Download complete 06:01:32 4db1b89c0bd1: Verifying Checksum 06:01:32 4db1b89c0bd1: Download complete 06:01:32 40a00589a448: Verifying Checksum 06:01:32 40a00589a448: Download complete 06:01:32 4db1b89c0bd1: Pull complete 06:01:32 6911f1a30b25: Pull complete 06:01:33 798269fcf238: Download complete 06:01:33 e194b8c5c2a9: Verifying Checksum 06:01:33 e194b8c5c2a9: Download complete 06:01:33 6c08303d61cc: Verifying Checksum 06:01:33 6c08303d61cc: Download complete 06:01:36 e194b8c5c2a9: Pull complete 06:01:36 6863d3e3a2b1: Pull complete 06:01:36 ec0bb842ea78: Pull complete 06:01:37 40a00589a448: Pull complete 06:01:39 6c08303d61cc: Pull complete 06:01:40 798269fcf238: Pull complete 06:01:40 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 06:01:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:01:40 ---> ec979cd7f677 06:01:40 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:45 Still waiting to schedule task 06:01:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:01:45 ---> Running in 6e4f6b87b4f3 06:01:45 Removing intermediate container 6e4f6b87b4f3 06:01:45 ---> b4e39161aa03 06:01:45 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:45 ---> Running in 2ba214945f01 06:01:45 Removing intermediate container 2ba214945f01 06:01:45 ---> e831ac2326ac 06:01:45 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:45 ---> Running in bd59db10e777 06:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:46 (1/8) Installing openssh-keygen (9.1_p1-r4) 06:01:46 (2/8) Installing libedit (20221030.3.1-r0) 06:01:46 (3/8) Installing openssh-client-common (9.1_p1-r4) 06:01:46 (4/8) Installing openssh-client-default (9.1_p1-r4) 06:01:46 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 06:01:46 (6/8) Installing openssh-server-common (9.1_p1-r4) 06:01:46 (7/8) Installing openssh-server (9.1_p1-r4) 06:01:46 (8/8) Installing openssh (9.1_p1-r4) 06:01:46 Executing busybox-1.35.0-r29.trigger 06:01:46 OK: 270 MiB in 61 packages 06:01:46 Removing intermediate container bd59db10e777 06:01:46 ---> 9bf60da6d28b 06:01:46 Step 6/10 : WORKDIR /device-modbus-go 06:01:46 ---> Running in 6683289f6075 06:01:46 Removing intermediate container 6683289f6075 06:01:46 ---> ed5b0a8ebed7 06:01:46 Step 7/10 : COPY go.mod vendor* ./ 06:01:47 ---> bae625c28c70 06:01:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:47 ---> Running in 117b163bb700 06:02:34 Removing intermediate container 117b163bb700 06:02:34 ---> 40a741a69b40 06:02:34 Step 9/10 : COPY . . 06:02:34 ---> 84407e44b7e7 06:02:34 Step 10/10 : RUN ${MAKE} 06:02:34 ---> Running in abc3e0d2afa1 06:02:34 noop 06:02:34 Removing intermediate container abc3e0d2afa1 06:02:34 ---> 8514bf838e74 06:02:34 Successfully built 8514bf838e74 06:02:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:34 + docker inspect -f . ci-base-image-x86_64 06:02:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:34 prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container 06:02:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:02:34 $ docker top 985985c3f9b7b998c556c61832df5b0252f7a7e7a4ca70e0a4fe2f6faac831e9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:35 + go version 06:02:35 go version go1.20.6 linux/amd64 [Pipeline] } 06:02:35 $ docker stop --time=1 985985c3f9b7b998c556c61832df5b0252f7a7e7a4ca70e0a4fe2f6faac831e9 06:02:36 $ docker rm -f --volumes 985985c3f9b7b998c556c61832df5b0252f7a7e7a4ca70e0a4fe2f6faac831e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:37 + docker inspect -f . ci-base-image-x86_64 06:02:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:37 prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container 06:02:37 $ 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-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:02:37 $ docker top c245e8e616c38593118b6c31aac6fde6bbc247d4c808f98d8b1c63271af4d978 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:38 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-497 [Pipeline] fileExists [Pipeline] sh 06:02:38 + make test 06:02:38 go test ./... -coverprofile=coverage.out 06:02:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:02:53 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:02:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements 06:03:00 go vet ./... 06:03:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:03:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:03:04 ./bin/test-attribution-txt.sh [Pipeline] echo 06:03:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:03:04 $ docker stop --time=1 c245e8e616c38593118b6c31aac6fde6bbc247d4c808f98d8b1c63271af4d978 06:03:09 $ docker rm -f --volumes c245e8e616c38593118b6c31aac6fde6bbc247d4c808f98d8b1c63271af4d978 [Pipeline] // withDockerContainer [Pipeline] sh 06:03:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:03:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:03:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:03:10 + ls -al . 06:03:10 total 192 06:03:10 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 06:02 . 06:03:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 06:01 .. 06:03:10 -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 06:01 .dockerignore 06:03:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 06:01 .git 06:03:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:01 .github 06:03:10 -rw-rw-r-- 1 jenkins jenkins 331 Sep 5 06:01 .gitignore 06:03:10 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 06:01 .golangci.yml 06:03:10 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 06:01 .semver 06:03:10 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 5 06:01 Attribution.txt 06:03:10 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 5 06:01 CHANGELOG.md 06:03:10 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 5 06:01 Dockerfile 06:03:10 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 06:01 GOVERNANCE.md 06:03:10 -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 06:01 Jenkinsfile 06:03:10 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 06:01 LICENSE 06:03:10 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 5 06:01 Makefile 06:03:10 -rw-rw-r-- 1 jenkins jenkins 622 Sep 5 06:01 OWNERS.md 06:03:10 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 5 06:01 README.md 06:03:10 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 06:01 VERSION 06:03:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 06:01 bin 06:03:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:01 cmd 06:03:10 -rw-r--r-- 1 jenkins jenkins 24334 Sep 5 06:02 coverage.out 06:03:10 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 5 06:01 go.mod 06:03:10 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 5 06:01 go.sum 06:03:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:01 internal 06:03:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 06:01 simulator 06:03:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 06:01 snap 06:03:10 -rw-rw-r-- 1 jenkins jenkins 229 Sep 5 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:11 + 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=6ccb6e6b255d38d4204eb6b52887c54b90775ace --label arch=amd64 --label version=0.0.0 . 06:03:11 Sending build context to Docker daemon 6.448MB 06:03:11 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:03:11 Step 2/22 : FROM ${BASE} AS builder 06:03:11 ---> 8514bf838e74 06:03:11 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:03:11 ---> Running in a5f5cc26312d 06:03:11 Removing intermediate container a5f5cc26312d 06:03:11 ---> c00868b6c09c 06:03:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:11 ---> Running in 2fa3fd5dd466 06:03:11 Removing intermediate container 2fa3fd5dd466 06:03:11 ---> cf1a98db0d25 06:03:11 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:03:11 ---> Running in 61b04598b091 06:03:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5320 in /w/workspace/xfoundry_device-modbus-go_PR-497 [Pipeline] { [Pipeline] ws 06:03:11 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:03:11 Selected Git installation does not exist. Using Default 06:03:11 The recommended git tool is: NONE 06:03:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:03:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:03:15 OK: 270 MiB in 61 packages 06:03:15 Removing intermediate container 61b04598b091 06:03:15 ---> cc61387c420d 06:03:15 Step 6/22 : WORKDIR /device-modbus-go 06:03:15 ---> Running in 6d8c237ca667 06:03:15 Removing intermediate container 6d8c237ca667 06:03:15 ---> 0a5400f599b5 06:03:15 Step 7/22 : COPY go.mod vendor* ./ 06:03:15 ---> bf9fbc849042 06:03:15 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:15 ---> Running in 20ee00d5e642 06:03:16 Removing intermediate container 20ee00d5e642 06:03:16 ---> 1373ee2f7735 06:03:16 Step 9/22 : COPY . . 06:03:16 ---> d0597e671ea6 06:03:16 Step 10/22 : RUN ${MAKE} 06:03:16 ---> Running in 8cb87ae435b9 06:03:16 using credential edgex-jenkins-ssh 06:03:16 Cloning the remote Git repository 06:03:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:03:16 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:03:17 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:03:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:17 > git --version # timeout=10 06:03:17 > git --version # 'git version 2.25.1' 06:03:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:19 Merging remotes/origin/main commit d21f7114bade91926d0e99e1f605d1c822a787f1 into PR head commit 6ccb6e6b255d38d4204eb6b52887c54b90775ace 06:03:20 Merge succeeded, producing 6ccb6e6b255d38d4204eb6b52887c54b90775ace 06:03:20 Checking out Revision 6ccb6e6b255d38d4204eb6b52887c54b90775ace (PR-497) 06:03:20 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:03:20 > git --version # timeout=10 06:03:20 > git --version # 'git version 2.25.1' 06:03:20 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:03:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:03:19 > git config core.sparsecheckout # timeout=10 06:03:19 > git checkout -f 6ccb6e6b255d38d4204eb6b52887c54b90775ace # timeout=10 06:03:19 > git remote # timeout=10 06:03:20 > git config --get remote.origin.url # timeout=10 06:03:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:20 > git merge d21f7114bade91926d0e99e1f605d1c822a787f1 # timeout=10 06:03:20 > git rev-parse HEAD^{commit} # timeout=10 06:03:20 > git config core.sparsecheckout # timeout=10 06:03:20 > git checkout -f 6ccb6e6b255d38d4204eb6b52887c54b90775ace # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:21 Dload Upload Total Spent Left Speed 06:03:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 06:03:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:22 + sudo tee /etc/docker/daemon.new 06:03:22 { 06:03:22 "registry-mirrors": [ 06:03:22 "https://nexus3.edgexfoundry.org:10001" 06:03:22 ], 06:03:22 "bip": "10.250.0.254/24", 06:03:22 "hosts": [ 06:03:22 "tcp://0.0.0.0:5555", 06:03:22 "unix:///var/run/docker.sock" 06:03:22 ], 06:03:22 "mtu": 1458, 06:03:22 "selinux-enabled": true, 06:03:22 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:22 } [Pipeline] sh 06:03:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:23 + sudo service docker restart 06:03:38 Removing intermediate container 8cb87ae435b9 06:03:38 ---> 9b51d036d8b9 06:03:38 Step 11/22 : FROM alpine:3.17 06:03:38 3.17: Pulling from library/alpine 06:03:38 9398808236ff: Pulling fs layer 06:03:38 9398808236ff: Verifying Checksum 06:03:38 9398808236ff: Download complete 06:03:38 9398808236ff: Pull complete 06:03:38 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 06:03:38 Status: Downloaded newer image for alpine:3.17 06:03:38 ---> 1e0b8b5322fc 06:03:38 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:03:38 ---> Running in 3e7e1597b8b8 06:03:38 Removing intermediate container 3e7e1597b8b8 06:03:38 ---> 7050626adebf 06:03:38 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:03:38 ---> Running in 2c1e7dba4278 06:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:03:38 (1/1) Installing dumb-init (1.2.5-r2) 06:03:38 Executing busybox-1.35.0-r29.trigger 06:03:38 OK: 7 MiB in 16 packages 06:03:38 Removing intermediate container 2c1e7dba4278 06:03:38 ---> ec709459a7af 06:03:38 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:03:40 ---> 2d63bff65e4e 06:03:40 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:03:40 ---> ffdc20904922 06:03:40 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:03:40 ---> b9f04f8a3f06 06:03:40 Step 17/22 : EXPOSE 59901 06:03:40 ---> Running in f631bfbbfb0f 06:03:40 Removing intermediate container f631bfbbfb0f 06:03:40 ---> 1eb2d8ce755a 06:03:40 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:03:40 ---> Running in 06e50511993a 06:03:40 Removing intermediate container 06e50511993a 06:03:40 ---> 4fa1d5a9394e 06:03:40 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:03:40 ---> Running in 7934229d534f 06:03:40 Removing intermediate container 7934229d534f 06:03:40 ---> 2fae28d989b0 06:03:40 Step 20/22 : LABEL arch=amd64 06:03:40 ---> Running in b46ba064db30 06:03:40 Removing intermediate container b46ba064db30 06:03:40 ---> 829d7c9e31f4 06:03:40 Step 21/22 : LABEL git_sha=6ccb6e6b255d38d4204eb6b52887c54b90775ace 06:03:40 ---> Running in 7eca22c33c88 06:03:40 Removing intermediate container 7eca22c33c88 06:03:40 ---> 91ba170bf692 06:03:40 Step 22/22 : LABEL version=0.0.0 06:03:40 ---> Running in 21990d85e3a8 06:03:40 Removing intermediate container 21990d85e3a8 06:03:40 ---> a6630e34df83 06:03:40 [Warning] One or more build-args [ARCH] were not consumed 06:03:40 Successfully built a6630e34df83 06:03:40 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:41 provisioning config files... 06:03:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12426802596907858914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:41 06:03:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:42 ---> docker-login.sh 06:03:42 nexus3.edgexfoundry.org:10001 06:03:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:42 latest: Pulling from edgex-lftools-log-publisher 06:03:42 5eb5b503b376: Pulling fs layer 06:03:42 5c69ac0246d0: Pulling fs layer 06:03:42 ec43610c2a17: Pulling fs layer 06:03:42 3a2ae6a8a46f: Pulling fs layer 06:03:42 33b1e0a273af: Pulling fs layer 06:03:42 5d3b04190fa2: Pulling fs layer 06:03:42 2f39f015ded8: Pulling fs layer 06:03:42 3a2ae6a8a46f: Waiting 06:03:42 33b1e0a273af: Waiting 06:03:42 5c69ac0246d0: Download complete 06:03:42 3a2ae6a8a46f: Verifying Checksum 06:03:42 3a2ae6a8a46f: Download complete 06:03:42 33b1e0a273af: Verifying Checksum 06:03:42 33b1e0a273af: Download complete 06:03:42 5d3b04190fa2: Verifying Checksum 06:03:42 5d3b04190fa2: Download complete 06:03:42 ec43610c2a17: Verifying Checksum 06:03:42 ec43610c2a17: Download complete 06:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:42 5eb5b503b376: Verifying Checksum 06:03:42 5eb5b503b376: Download complete 06:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:42 Configure a credential helper to remove this warning. See 06:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:42 06:03:42 Login Succeeded 06:03:42 nexus3.edgexfoundry.org:10002 06:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:42 Configure a credential helper to remove this warning. See 06:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:42 06:03:42 Login Succeeded 06:03:42 nexus3.edgexfoundry.org:10003 06:03:42 2f39f015ded8: Download complete 06:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:43 Configure a credential helper to remove this warning. See 06:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:43 06:03:43 Login Succeeded 06:03:43 nexus3.edgexfoundry.org:10004 06:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:43 5eb5b503b376: Pull complete 06:03:43 5c69ac0246d0: Pull complete 06:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:43 Configure a credential helper to remove this warning. See 06:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:43 06:03:43 Login Succeeded 06:03:43 docker.io 06:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:44 ec43610c2a17: Pull complete 06:03:44 3a2ae6a8a46f: Pull complete 06:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:44 Configure a credential helper to remove this warning. See 06:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:44 06:03:44 Login Succeeded 06:03:44 ---> docker-login.sh ends [Pipeline] } 06:03:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:03:44 33b1e0a273af: Pull complete 06:03:44 5d3b04190fa2: Pull complete [Pipeline] echo 06:03:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:44 ========================================================= 06:03:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:03:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:03:45 Sending build context to Docker daemon 3.333MB 06:03:45 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:03:45 Step 2/10 : FROM ${BASE} AS builder 06:03:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:45 edb6bdbacee9: Pulling fs layer 06:03:45 5f9638ab2659: Pulling fs layer 06:03:45 8d51d6327a98: Pulling fs layer 06:03:45 8b374f2dd631: Pulling fs layer 06:03:45 ec14aa9079de: Pulling fs layer 06:03:45 2f466654f4bb: Pulling fs layer 06:03:45 554e91adad29: Pulling fs layer 06:03:45 554e91adad29: Waiting 06:03:45 ec14aa9079de: Waiting 06:03:45 2f466654f4bb: Waiting 06:03:45 8b374f2dd631: Waiting 06:03:45 5f9638ab2659: Download complete 06:03:45 8b374f2dd631: Verifying Checksum 06:03:45 8b374f2dd631: Download complete 06:03:45 ec14aa9079de: Verifying Checksum 06:03:45 ec14aa9079de: Download complete 06:03:45 edb6bdbacee9: Verifying Checksum 06:03:45 edb6bdbacee9: Download complete 06:03:46 edb6bdbacee9: Pull complete 06:03:46 554e91adad29: Verifying Checksum 06:03:47 5f9638ab2659: Pull complete 06:03:48 8d51d6327a98: Verifying Checksum 06:03:48 8d51d6327a98: Download complete 06:03:48 2f466654f4bb: Verifying Checksum 06:03:48 2f466654f4bb: Download complete 06:03:48 2f39f015ded8: Pull complete 06:03:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:03:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:48 prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container 06:03:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@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 06:03:53 $ docker top 19947886c60ec5384e688966ed392d0adb6e2cf71db1c7d9caa6c58635ae6ef3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:53 ---> job-cost.sh 06:03:53 lf-activate-venv: SKIPPING 06:03:53 INFO: No Stack... 06:03:54 INFO: Retrieving Pricing Info for: v3-standard-8 06:03:55 INFO: Archiving Costs [Pipeline] sh 06:03:55 + cat /w/workspace/xfoundry_device-modbus-go_PR-497/archives/cost.csv 06:03:55 + cut -d, -f6 [Pipeline] lock 06:03:55 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] 06:03:55 Resource [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] did not exist. Created. 06:03:55 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:55 + echo total: 0.2199999988079071 [Pipeline] stash 06:03:56 Stashed 1 file(s) [Pipeline] } 06:03:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:03:56 $ docker stop --time=1 19947886c60ec5384e688966ed392d0adb6e2cf71db1c7d9caa6c58635ae6ef3 06:03:57 $ docker rm -f --volumes 19947886c60ec5384e688966ed392d0adb6e2cf71db1c7d9caa6c58635ae6ef3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:04:00 8d51d6327a98: Pull complete 06:04:00 8b374f2dd631: Pull complete 06:04:00 ec14aa9079de: Pull complete 06:04:05 2f466654f4bb: Pull complete 06:04:08 554e91adad29: Pull complete 06:04:08 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 06:04:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:04:08 ---> 1e15ea492957 06:04:08 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:10 ---> Running in 72d8b4ab53c6 06:04:10 Removing intermediate container 72d8b4ab53c6 06:04:10 ---> bc53b465c4e2 06:04:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:10 ---> Running in 06d9fcbaf7ec 06:04:10 Removing intermediate container 06d9fcbaf7ec 06:04:10 ---> db815475c1b5 06:04:10 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:04:11 ---> Running in e15c408c556b 06:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:04:13 (1/8) Installing openssh-keygen (9.1_p1-r4) 06:04:13 (2/8) Installing libedit (20221030.3.1-r0) 06:04:13 (3/8) Installing openssh-client-common (9.1_p1-r4) 06:04:13 (4/8) Installing openssh-client-default (9.1_p1-r4) 06:04:13 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 06:04:13 (6/8) Installing openssh-server-common (9.1_p1-r4) 06:04:13 (7/8) Installing openssh-server (9.1_p1-r4) 06:04:13 (8/8) Installing openssh (9.1_p1-r4) 06:04:13 Executing busybox-1.35.0-r29.trigger 06:04:13 OK: 270 MiB in 61 packages 06:04:14 Removing intermediate container e15c408c556b 06:04:14 ---> a881ad50dc7b 06:04:14 Step 6/10 : WORKDIR /device-modbus-go 06:04:14 ---> Running in e5892259535a 06:04:15 Removing intermediate container e5892259535a 06:04:15 ---> a12cd4d5db60 06:04:15 Step 7/10 : COPY go.mod vendor* ./ 06:04:15 ---> 821d04f423a0 06:04:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:15 ---> Running in 87e1c3c50053 06:05:23 Removing intermediate container 87e1c3c50053 06:05:23 ---> 1e9e442fc2e4 06:05:23 Step 9/10 : COPY . . 06:05:23 ---> 26f42a09a1c3 06:05:23 Step 10/10 : RUN ${MAKE} 06:05:23 ---> Running in 26e582cd05bb 06:05:23 noop 06:05:23 Removing intermediate container 26e582cd05bb 06:05:23 ---> e5fbbb6648ed 06:05:23 Successfully built e5fbbb6648ed 06:05:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:24 + docker inspect -f . ci-base-image-arm64 06:05:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:24 prd-ubuntu20.04-docker-arm64-4c-16g-5320 does not seem to be running inside a container 06:05:24 $ 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 06:05:27 $ docker top 43fa42862223a8bb4153205f16240b9f183e8048188f826b55f6b45582865831 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:28 + go version 06:05:28 go version go1.20.6 linux/arm64 [Pipeline] } 06:05:28 $ docker stop --time=1 43fa42862223a8bb4153205f16240b9f183e8048188f826b55f6b45582865831 06:05:29 $ docker rm -f --volumes 43fa42862223a8bb4153205f16240b9f183e8048188f826b55f6b45582865831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:30 + docker inspect -f . ci-base-image-arm64 06:05:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:30 prd-ubuntu20.04-docker-arm64-4c-16g-5320 does not seem to be running inside a container 06:05:30 $ 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 06:05:32 $ docker top f4da191918589d3395923c98db875c2d9cda4461cac77909e36bdc3cb9255d2a -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:32 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:05:33 + make test 06:05:33 go test ./... -coverprofile=coverage.out 06:06:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:07:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:07:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements 06:07:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:07:57 go vet ./... 06:08:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:08:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:08:29 ./bin/test-attribution-txt.sh [Pipeline] echo 06:08:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:08:29 $ docker stop --time=1 f4da191918589d3395923c98db875c2d9cda4461cac77909e36bdc3cb9255d2a 06:08:31 $ docker rm -f --volumes f4da191918589d3395923c98db875c2d9cda4461cac77909e36bdc3cb9255d2a [Pipeline] // withDockerContainer [Pipeline] sh 06:08:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:08:32 Warning: overwriting stash ‘coverage-report’ 06:08:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:08:33 + ls -al . 06:08:33 total 188 06:08:33 drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 06:05 . 06:08:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 06:03 .. 06:08:33 -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 06:03 .dockerignore 06:08:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 06:03 .git 06:08:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:03 .github 06:08:33 -rw-rw-r-- 1 jenkins jenkins 331 Sep 5 06:03 .gitignore 06:08:33 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 06:03 .golangci.yml 06:08:33 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 5 06:03 Attribution.txt 06:08:33 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 5 06:03 CHANGELOG.md 06:08:33 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 5 06:03 Dockerfile 06:08:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 06:03 GOVERNANCE.md 06:08:33 -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 06:03 Jenkinsfile 06:08:33 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 06:03 LICENSE 06:08:33 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 5 06:03 Makefile 06:08:33 -rw-rw-r-- 1 jenkins jenkins 622 Sep 5 06:03 OWNERS.md 06:08:33 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 5 06:03 README.md 06:08:33 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 06:01 VERSION 06:08:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 06:03 bin 06:08:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:03 cmd 06:08:33 -rw-r--r-- 1 jenkins jenkins 24334 Sep 5 06:07 coverage.out 06:08:33 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 5 06:03 go.mod 06:08:33 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 5 06:03 go.sum 06:08:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:03 internal 06:08:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 06:03 simulator 06:08:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 06:03 snap 06:08:33 -rw-rw-r-- 1 jenkins jenkins 229 Sep 5 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:34 + 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=6ccb6e6b255d38d4204eb6b52887c54b90775ace --label arch=arm64 --label version=0.0.0 . 06:08:34 Sending build context to Docker daemon 3.358MB 06:08:34 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:08:34 Step 2/22 : FROM ${BASE} AS builder 06:08:34 ---> e5fbbb6648ed 06:08:34 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:08:36 ---> Running in 29c68ddbf6e2 06:08:36 Removing intermediate container 29c68ddbf6e2 06:08:36 ---> 626c8e7b5d79 06:08:36 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:36 ---> Running in b79faab0326a 06:08:36 Removing intermediate container b79faab0326a 06:08:36 ---> 5b5c2d8d93cd 06:08:36 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:08:37 ---> Running in 4015dcec06de 06:08:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:08:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:08:39 OK: 270 MiB in 61 packages 06:08:40 Removing intermediate container 4015dcec06de 06:08:40 ---> 995853de2c9b 06:08:40 Step 6/22 : WORKDIR /device-modbus-go 06:08:40 ---> Running in 9ba79afbb7bd 06:08:40 Removing intermediate container 9ba79afbb7bd 06:08:40 ---> ba5d86b6a80f 06:08:40 Step 7/22 : COPY go.mod vendor* ./ 06:08:41 ---> feb8933fbe2e 06:08:41 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:41 ---> Running in 02afb2cac22e 06:08:43 Removing intermediate container 02afb2cac22e 06:08:43 ---> 89d669178aac 06:08:43 Step 9/22 : COPY . . 06:08:43 ---> d416f658d083 06:08:43 Step 10/22 : RUN ${MAKE} 06:08:44 ---> Running in ce18af98ad37 06:08:45 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.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:10:51 Removing intermediate container ce18af98ad37 06:10:51 ---> 71dd93b8c498 06:10:51 Step 11/22 : FROM alpine:3.17 06:10:52 3.17: Pulling from library/alpine 06:10:52 4060ece20d7a: Pulling fs layer 06:10:52 4060ece20d7a: Verifying Checksum 06:10:52 4060ece20d7a: Download complete 06:10:52 4060ece20d7a: Pull complete 06:10:52 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 06:10:52 Status: Downloaded newer image for alpine:3.17 06:10:52 ---> 8650cd65339b 06:10:52 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:10:53 ---> Running in 95232f17c53e 06:10:53 Removing intermediate container 95232f17c53e 06:10:53 ---> 559a328ab7e8 06:10:53 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:10:53 ---> Running in b9cff8af0606 06:10:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:10:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:10:55 (1/1) Installing dumb-init (1.2.5-r2) 06:10:55 Executing busybox-1.35.0-r29.trigger 06:10:55 OK: 8 MiB in 16 packages 06:10:56 Removing intermediate container b9cff8af0606 06:10:56 ---> ae1b5dedc8cd 06:10:56 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:10:58 ---> 304a3bfcdf18 06:10:58 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:10:58 ---> 174084c28e35 06:10:58 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:10:58 ---> 2088a3004d1e 06:10:58 Step 17/22 : EXPOSE 59901 06:10:58 ---> Running in 10536d6a86bb 06:10:59 Removing intermediate container 10536d6a86bb 06:10:59 ---> a6b4e66214ad 06:10:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:10:59 ---> Running in de94495c93b6 06:10:59 Removing intermediate container de94495c93b6 06:10:59 ---> 90e77dc7ca0c 06:10:59 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:10:59 ---> Running in e2e1a6250484 06:10:59 Removing intermediate container e2e1a6250484 06:10:59 ---> f06960479365 06:10:59 Step 20/22 : LABEL arch=arm64 06:10:59 ---> Running in 4b2531ddcd4f 06:10:59 Removing intermediate container 4b2531ddcd4f 06:10:59 ---> 645190bd8726 06:10:59 Step 21/22 : LABEL git_sha=6ccb6e6b255d38d4204eb6b52887c54b90775ace 06:11:00 ---> Running in 531f9dab244f 06:11:00 Removing intermediate container 531f9dab244f 06:11:00 ---> bf778cfa4fca 06:11:00 Step 22/22 : LABEL version=0.0.0 06:11:00 ---> Running in 8d60e9b6b005 06:11:00 Removing intermediate container 8d60e9b6b005 06:11:00 ---> 40d210bd3854 06:11:00 [Warning] One or more build-args [ARCH] were not consumed 06:11:00 Successfully built 40d210bd3854 06:11:00 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 06:11:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:01 06:11:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:01 arm64: Pulling from edgex-lftools-log-publisher 06:11:01 8998bd30e6a1: Pulling fs layer 06:11:01 04944245beec: Pulling fs layer 06:11:01 699f458cf7ca: Pulling fs layer 06:11:01 765212b225bb: Pulling fs layer 06:11:01 f23df028b6ca: Pulling fs layer 06:11:01 d65c8cfc05b1: Pulling fs layer 06:11:01 2437ff75d9bd: Pulling fs layer 06:11:01 d65c8cfc05b1: Waiting 06:11:01 2437ff75d9bd: Waiting 06:11:01 765212b225bb: Waiting 06:11:01 f23df028b6ca: Waiting 06:11:02 04944245beec: Verifying Checksum 06:11:02 04944245beec: Download complete 06:11:02 765212b225bb: Verifying Checksum 06:11:02 765212b225bb: Download complete 06:11:02 f23df028b6ca: Verifying Checksum 06:11:02 f23df028b6ca: Download complete 06:11:02 d65c8cfc05b1: Verifying Checksum 06:11:02 d65c8cfc05b1: Download complete 06:11:02 699f458cf7ca: Verifying Checksum 06:11:02 699f458cf7ca: Download complete 06:11:02 8998bd30e6a1: Verifying Checksum 06:11:02 8998bd30e6a1: Download complete 06:11:04 2437ff75d9bd: Verifying Checksum 06:11:04 2437ff75d9bd: Download complete 06:11:06 8998bd30e6a1: Pull complete 06:11:07 04944245beec: Pull complete 06:11:08 699f458cf7ca: Pull complete 06:11:08 765212b225bb: Pull complete 06:11:09 f23df028b6ca: Pull complete 06:11:09 d65c8cfc05b1: Pull complete 06:11:24 2437ff75d9bd: Pull complete 06:11:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:11:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:24 prd-ubuntu20.04-docker-arm64-4c-16g-5320 does not seem to be running inside a container 06:11:24 $ 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 06:11:27 $ docker top d817a14c5dc91b565f9d0fdf560038204663a00c77c75d080f2a31fcd17a0019 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:28 ---> job-cost.sh 06:11:28 lf-activate-venv: SKIPPING 06:11:28 INFO: No Stack... 06:11:28 INFO: Retrieving Pricing Info for: v3-standard-4 06:11:29 INFO: Archiving Costs [Pipeline] sh 06:11:29 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:11:29 + cut -d, -f6 [Pipeline] lock 06:11:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] 06:11:30 Resource [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] did not exist. Created. 06:11:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:30 /w/workspace/device-modbus-go/1@tmp/durable-5d41687e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:11:31 + echo total: 0.10999999940395355 [Pipeline] stash 06:11:31 Warning: overwriting stash ‘stack-cost’ 06:11:31 Stashed 1 file(s) [Pipeline] } 06:11:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:31 $ docker stop --time=1 d817a14c5dc91b565f9d0fdf560038204663a00c77c75d080f2a31fcd17a0019 06:11:32 $ docker rm -f --volumes d817a14c5dc91b565f9d0fdf560038204663a00c77c75d080f2a31fcd17a0019 [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 06:11:33 provisioning config files... 06:11:33 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/config10963167588972973311tmp [Pipeline] { [Pipeline] sh 06:11:34 + set +x 06:11:34 + bash -s -- 06:11:34 + curl -s https://codecov.io/bash 06:11:34 06:11:34 _____ _ 06:11:34 / ____| | | 06:11:34 | | ___ __| | ___ ___ _____ __ 06:11:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:11:34 | |___| (_) | (_| | __/ (_| (_) \ V / 06:11:34 \_____\___/ \__,_|\___|\___\___/ \_/ 06:11:34 Bash-1.0.6 06:11:34 06:11:34 06:11:34 ==> git version 2.25.1 found 06:11:34 ==> 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 06:11:34 Release-Date: 2020-01-08 06:11:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:11:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:11:34 ==> Jenkins CI detected. 06:11:34 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-497 06:11:34 project root: . 06:11:34 --> token set from env 06:11:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:11:34 ==> Running gcov in . (disable via -X gcov) 06:11:34 ==> Python coveragepy not found 06:11:34 ==> Searching for coverage reports in: 06:11:34 + . 06:11:34 -> Found 1 reports 06:11:34 ==> Detecting git/mercurial file structure 06:11:34 ==> Reading reports 06:11:34 + ./coverage.out bytes=24334 06:11:34 ==> Appending adjustments 06:11:34 https://docs.codecov.io/docs/fixing-reports 06:11:34 + Found adjustments 06:11:34 ==> Gzipping contents 06:11:34 4.0K /tmp/codecov.zkoxSG.gz 06:11:34 ==> Uploading reports 06:11:34 url: https://codecov.io 06:11:34 query: branch=PR-497&commit=6ccb6e6b255d38d4204eb6b52887c54b90775ace&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=497&job=&cmd_args= 06:11:34 -> Pinging Codecov 06:11:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-497&commit=6ccb6e6b255d38d4204eb6b52887c54b90775ace&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=497&job=&cmd_args= 06:11:34 -> Uploading to 06:11:34 https://storage.googleapis.com/codecov/v4/raw/2023-09-05/55DBCA73C666E3227836607328DD7E49/6ccb6e6b255d38d4204eb6b52887c54b90775ace/d540bec1-ec94-4b54-82c3-9d3eff0e8e2d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T061134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b282a5d1950515255001686d1dd62a39a790254e848179a632aa112dbb7ffba1 06:11:34 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:34 Dload Upload Total Spent Left Speed 06:11:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 20484 --:--:-- --:--:-- --:--:-- 20590 06:11:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] } 06:11:34 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 06:11:36 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-497/archives ] 06:11:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-497/archives 06:11:36 total 16 06:11:36 drwxr-xr-x 3 root root 4096 Sep 5 06:03 . 06:11:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 06:03 .. 06:11:36 drwxr-xr-x 2 root root 4096 Sep 5 06:03 cost 06:11:36 -rw-r--r-- 1 root root 88 Sep 5 06:03 cost.csv 06:11:36 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-497/archives 06:11:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-497/archives 06:11:36 total 16 06:11:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 06:03 . 06:11:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 06:03 .. 06:11:36 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 06:03 cost 06:11:36 -rw-r--r-- 1 jenkins jenkins 88 Sep 5 06:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:37 ---> package-listing.sh 06:11:37 ++ facter osfamily 06:11:37 ++ tr '[:upper:]' '[:lower:]' 06:11:38 + OS_FAMILY=debian 06:11:38 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-497 06:11:38 + START_PACKAGES=/tmp/packages_start.txt 06:11:38 + END_PACKAGES=/tmp/packages_end.txt 06:11:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:38 + PACKAGES=/tmp/packages_start.txt 06:11:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-497 ']' 06:11:38 + PACKAGES=/tmp/packages_end.txt 06:11:38 + case "${OS_FAMILY}" in 06:11:38 + dpkg -l 06:11:38 + grep '^ii' 06:11:38 + '[' -f /tmp/packages_start.txt ']' 06:11:38 + '[' -f /tmp/packages_end.txt ']' 06:11:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-497 ']' 06:11:38 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-497/archives/ 06:11:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-497/archives/ [Pipeline] echo 06:11:38 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-497/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:39 prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container 06:11:39 $ 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-497/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-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:39 $ docker top 7bda44b8341457fd8bafc20ac902201eae0dd7e1a47322d93dfd22f9ce65685f -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:39 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:40 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:40 + ls /var/log/sa-host 06:11:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:40 provisioning config files... 06:11:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/config2360721275554263473tmp [Pipeline] { [Pipeline] echo 06:11:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:40 ---> create-netrc.sh [Pipeline] } 06:11:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:41 ---> python-tools-install.sh [Pipeline] echo 06:11:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:41 ---> sudo-logs.sh 06:11:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:42 ---> job-cost.sh 06:11:42 lf-activate-venv: SKIPPING 06:11:42 DEBUG: total: 0.2199999988079071 06:11:42 INFO: Retrieving Stack Cost... 06:11:42 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:42 INFO: Archiving Costs [Pipeline] echo 06:11:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:43 ---> logs-deploy.sh 06:11:43 lf-activate-venv: SKIPPING 06:11:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-497/1 06:11:43 INFO: archiving workspace using pattern(s): 06:11:44 Archives upload complete. 06:11:44 INFO: archiving logs to Nexus