Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bde2d747de05544a39dfcd72cdc82a601752da1+b7c00ecea16ee3fe559c969829072d5131dcac71 (c797903afca5992275ee1fd159d92182801618c1) 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-ssh16679454510867579664.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14160573146814004231.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-484/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-484/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11787084585666364931.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 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-ssh964245219374327934.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-484/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-484/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7779838265747910390.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17228 in /w/workspace/xfoundry_device-modbus-go_PR-484 [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-484 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b7c00ecea16ee3fe559c969829072d5131dcac71 into PR head commit 9bde2d747de05544a39dfcd72cdc82a601752da1 Merge succeeded, producing 03237430faee7ddadb7daf298578e0afc99a8aa8 Checking out Revision 03237430faee7ddadb7daf298578e0afc99a8aa8 (PR-484) > 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/484/head:refs/remotes/origin/PR-484 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bde2d747de05544a39dfcd72cdc82a601752da1 # 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 b7c00ecea16ee3fe559c969829072d5131dcac71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03237430faee7ddadb7daf298578e0afc99a8aa8 # timeout=10 Commit message: "Merge commit 'b7c00ecea16ee3fe559c969829072d5131dcac71' into HEAD" > git rev-list --no-walk 9bde2d747de05544a39dfcd72cdc82a601752da1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:53:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:53:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:53:10 ========================================================= 00:53:10 EdgeX Global Pipelines Version Info 00:53:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:53:11 ------------------- 00:53:11 stable info: 00:53:11 ------------------- 00:53:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:53:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:53:11 Message: update stable to v1.0.249 00:53:11 ------------------- 00:53:11 experimental info: 00:53:11 ------------------- 00:53:11 Commited By: **** collab-it+edgex@linuxfoundation.org 00:53:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:53:11 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:53:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:53:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:53:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:53:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-484 [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-484 [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-484 [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03237430faee7ddadb7daf298578e0afc99a8aa8 [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0323743 [Pipeline] echo 00:53:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:12 provisioning config files... 00:53:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/config7213298155789933112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:12 ---> docker-login.sh 00:53:12 nexus3.edgexfoundry.org:10001 00:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:13 Configure a credential helper to remove this warning. See 00:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:13 00:53:13 Login Succeeded 00:53:13 nexus3.edgexfoundry.org:10002 00:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:13 Configure a credential helper to remove this warning. See 00:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:13 00:53:13 Login Succeeded 00:53:13 nexus3.edgexfoundry.org:10003 00:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:13 Configure a credential helper to remove this warning. See 00:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:13 00:53:13 Login Succeeded 00:53:13 nexus3.edgexfoundry.org:10004 00:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:13 Configure a credential helper to remove this warning. See 00:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:13 00:53:13 Login Succeeded 00:53:13 docker.io 00:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:13 Configure a credential helper to remove this warning. See 00:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:13 00:53:13 Login Succeeded 00:53:13 ---> docker-login.sh ends [Pipeline] } 00:53:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:53:14 + git rev-list -1 --merges 03237430faee7ddadb7daf298578e0afc99a8aa8~1..03237430faee7ddadb7daf298578e0afc99a8aa8 [Pipeline] echo 00:53:14 -----------> git rev-list -1 --merges 03237430faee7ddadb7daf298578e0afc99a8aa8~1..03237430faee7ddadb7daf298578e0afc99a8aa8 03237430faee7ddadb7daf298578e0afc99a8aa8 00:53:14 03237430faee7ddadb7daf298578e0afc99a8aa8 [false] [Pipeline] sh 00:53:14 + git log --format=format:%s -1 03237430faee7ddadb7daf298578e0afc99a8aa8 [Pipeline] echo 00:53:14 ========================================================= 00:53:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:53:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:14 + git log --format=format:%s -1 03237430faee7ddadb7daf298578e0afc99a8aa8 [Pipeline] echo 00:53:14 [semverPrep] GIT_COMMIT: 03237430faee7ddadb7daf298578e0afc99a8aa8, Commit Message: Merge commit 'b7c00ecea16ee3fe559c969829072d5131dcac71' into HEAD [Pipeline] echo 00:53:14 [semverPrep] This is not a build commit. [Pipeline] sh 00:53:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:53:15 + grep -v github /etc/ssh/ssh_known_hosts 00:53:15 + [ -e /tmp/ssh_known_hosts ] 00:53:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:53:15 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 00:53:15 -a /etc/ssh/ssh_known_hosts 00:53:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:15 00:53:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:15 0.1.4: Pulling from edgex-devops/py-git-semver 00:53:15 b85a868b505f: Pulling fs layer 00:53:15 e2be974225ed: Pulling fs layer 00:53:15 339a4e72a1f5: Pulling fs layer 00:53:15 988bab9f4d93: Pulling fs layer 00:53:15 1469e6f7b9e6: Pulling fs layer 00:53:15 eaf3925da568: Pulling fs layer 00:53:15 bab4dde63d76: Pulling fs layer 00:53:15 bde34c3a00c8: Pulling fs layer 00:53:15 b352a97aabf1: Pulling fs layer 00:53:15 4872d77fe225: Pulling fs layer 00:53:15 5851b861e8e6: Pulling fs layer 00:53:15 eaf3925da568: Waiting 00:53:15 bab4dde63d76: Waiting 00:53:15 4872d77fe225: Waiting 00:53:15 5851b861e8e6: Waiting 00:53:15 bde34c3a00c8: Waiting 00:53:15 b352a97aabf1: Waiting 00:53:15 988bab9f4d93: Waiting 00:53:15 1469e6f7b9e6: Waiting 00:53:15 e2be974225ed: Verifying Checksum 00:53:15 e2be974225ed: Download complete 00:53:15 988bab9f4d93: Verifying Checksum 00:53:15 988bab9f4d93: Download complete 00:53:16 1469e6f7b9e6: Verifying Checksum 00:53:16 1469e6f7b9e6: Download complete 00:53:16 eaf3925da568: Download complete 00:53:16 339a4e72a1f5: Verifying Checksum 00:53:16 339a4e72a1f5: Download complete 00:53:16 bde34c3a00c8: Download complete 00:53:16 b352a97aabf1: Download complete 00:53:16 4872d77fe225: Download complete 00:53:16 5851b861e8e6: Verifying Checksum 00:53:16 5851b861e8e6: Download complete 00:53:16 b85a868b505f: Verifying Checksum 00:53:16 b85a868b505f: Download complete 00:53:16 bab4dde63d76: Verifying Checksum 00:53:16 bab4dde63d76: Download complete 00:53:17 b85a868b505f: Pull complete 00:53:17 e2be974225ed: Pull complete 00:53:18 339a4e72a1f5: Pull complete 00:53:18 988bab9f4d93: Pull complete 00:53:18 1469e6f7b9e6: Pull complete 00:53:18 eaf3925da568: Pull complete 00:53:20 bab4dde63d76: Pull complete 00:53:20 bde34c3a00c8: Pull complete 00:53:20 b352a97aabf1: Pull complete 00:53:20 4872d77fe225: Pull complete 00:53:20 5851b861e8e6: Pull complete 00:53:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:21 prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container 00:53:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-484 -v /w/workspace/xfoundry_device-modbus-go_PR-484:/w/workspace/xfoundry_device-modbus-go_PR-484:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-484@tmp:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:53:22 $ docker top 45c7ce4de13617f7aa8c0f6ab5b24bcfe02be453780606451437eaf5f2761ceb -eo pid,comm 00:53:22 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). 00:53:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:53:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:22 [ssh-agent] Looking for ssh-agent implementation... 00:53:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:22 $ docker exec 45c7ce4de13617f7aa8c0f6ab5b24bcfe02be453780606451437eaf5f2761ceb ssh-agent 00:53:22 SSH_AUTH_SOCK=/tmp/ssh-GF22gh3ok188/agent.32 00:53:22 SSH_AGENT_PID=38 00:53:22 Running ssh-add (command line suppressed) 00:53:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-484@tmp/private_key_13822678037974022643.key (/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/private_key_13822678037974022643.key) 00:53:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:23 + git tag --points-at HEAD [Pipeline] } 00:53:23 $ docker exec --env ******** --env ******** 45c7ce4de13617f7aa8c0f6ab5b24bcfe02be453780606451437eaf5f2761ceb ssh-agent -k 00:53:23 unset SSH_AUTH_SOCK; 00:53:23 unset SSH_AGENT_PID; 00:53:23 echo Agent pid 38 killed; 00:53:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:53:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:23 [ssh-agent] Looking for ssh-agent implementation... 00:53:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:23 $ docker exec 45c7ce4de13617f7aa8c0f6ab5b24bcfe02be453780606451437eaf5f2761ceb ssh-agent 00:53:23 SSH_AUTH_SOCK=/tmp/ssh-DCgjUfQ0xV1f/agent.70 00:53:23 SSH_AGENT_PID=76 00:53:23 Running ssh-add (command line suppressed) 00:53:23 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-484@tmp/private_key_10319516731596251421.key (/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/private_key_10319516731596251421.key) 00:53:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:23 + git semver init 00:53:24 2023-05-30 00:53:24,147 [run_init] DEBUG init version:0.0.0 force:False 00:53:24 2023-05-30 00:53:24,147 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-484/.semver 00:53:24 2023-05-30 00:53:24,148 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-484/.semver 00:53:24 2023-05-30 00:53:24,148 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-484/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-484, universal_newlines=False, shell=None, istream=None) 00:53:25 2023-05-30 00:53:24,928 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-484/.git/info/exclude 00:53:25 2023-05-30 00:53:24,928 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-484/.semver/PR-484 with force:False 00:53:25 2023-05-30 00:53:24,928 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-484/.semver/PR-484 00:53:25 2023-05-30 00:53:24,933 [execute] INFO git cat-file --batch-check 00:53:25 2023-05-30 00:53:24,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-484/.semver, universal_newlines=False, shell=None, istream=) 00:53:25 2023-05-30 00:53:24,939 [execute] INFO git cat-file --batch 00:53:25 2023-05-30 00:53:24,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-484/.semver, universal_newlines=False, shell=None, istream=) 00:53:25 2023-05-30 00:53:24,945 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-484/.semver/PR-484 00:53:25 0.0.0 [Pipeline] } 00:53:25 $ docker exec --env ******** --env ******** 45c7ce4de13617f7aa8c0f6ab5b24bcfe02be453780606451437eaf5f2761ceb ssh-agent -k 00:53:25 unset SSH_AUTH_SOCK; 00:53:25 unset SSH_AGENT_PID; 00:53:25 echo Agent pid 76 killed; 00:53:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:53:26 + git semver [Pipeline] } 00:53:26 $ docker stop --time=1 45c7ce4de13617f7aa8c0f6ab5b24bcfe02be453780606451437eaf5f2761ceb 00:53:27 $ docker rm -f --volumes 45c7ce4de13617f7aa8c0f6ab5b24bcfe02be453780606451437eaf5f2761ceb [Pipeline] // withDockerContainer [Pipeline] sh 00:53:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:53:29 Stashed 1 file(s) [Pipeline] echo 00:53: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 00:53:30 provisioning config files... 00:53:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/config7096700499960760026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:30 ---> docker-login.sh 00:53:30 nexus3.edgexfoundry.org:10001 00:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:30 Configure a credential helper to remove this warning. See 00:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:30 00:53:30 Login Succeeded 00:53:30 nexus3.edgexfoundry.org:10002 00:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:30 Configure a credential helper to remove this warning. See 00:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:30 00:53:30 Login Succeeded 00:53:30 nexus3.edgexfoundry.org:10003 00:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:30 Configure a credential helper to remove this warning. See 00:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:30 00:53:30 Login Succeeded 00:53:30 nexus3.edgexfoundry.org:10004 00:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:30 Configure a credential helper to remove this warning. See 00:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:30 00:53:30 Login Succeeded 00:53:30 docker.io 00:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:30 Configure a credential helper to remove this warning. See 00:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:30 00:53:30 Login Succeeded 00:53:30 ---> docker-login.sh ends [Pipeline] } 00:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:30 ========================================================= 00:53:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:53:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:31 + 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 . 00:53:31 Sending build context to Docker daemon 6.558MB 00:53:31 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:53:31 Step 2/10 : FROM ${BASE} AS builder 00:53:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:53:31 f56be85fc22e: Pulling fs layer 00:53:31 85791d961cd3: Pulling fs layer 00:53:31 d694b5ae8c79: Pulling fs layer 00:53:31 9f32a84ed3da: Pulling fs layer 00:53:31 4d19c01a9841: Pulling fs layer 00:53:31 9325e15d5711: Pulling fs layer 00:53:31 556b6ee489ea: Pulling fs layer 00:53:31 c5a4b2cf53e6: Pulling fs layer 00:53:31 9f32a84ed3da: Waiting 00:53:31 4d19c01a9841: Waiting 00:53:31 9325e15d5711: Waiting 00:53:31 556b6ee489ea: Waiting 00:53:31 c5a4b2cf53e6: Waiting 00:53:31 85791d961cd3: Verifying Checksum 00:53:31 85791d961cd3: Download complete 00:53:31 9f32a84ed3da: Verifying Checksum 00:53:31 9f32a84ed3da: Download complete 00:53:31 4d19c01a9841: Verifying Checksum 00:53:31 4d19c01a9841: Download complete 00:53:31 f56be85fc22e: Verifying Checksum 00:53:31 f56be85fc22e: Download complete 00:53:31 9325e15d5711: Verifying Checksum 00:53:31 9325e15d5711: Download complete 00:53:31 f56be85fc22e: Pull complete 00:53:31 85791d961cd3: Pull complete 00:53:32 c5a4b2cf53e6: Verifying Checksum 00:53:32 c5a4b2cf53e6: Download complete 00:53:32 d694b5ae8c79: Verifying Checksum 00:53:32 d694b5ae8c79: Download complete 00:53:32 556b6ee489ea: Verifying Checksum 00:53:32 556b6ee489ea: Download complete 00:53:35 d694b5ae8c79: Pull complete 00:53:35 9f32a84ed3da: Pull complete 00:53:36 4d19c01a9841: Pull complete 00:53:36 9325e15d5711: Pull complete 00:53:38 556b6ee489ea: Pull complete 00:53:39 c5a4b2cf53e6: Pull complete 00:53:39 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:53:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:53:39 ---> c4be618373d6 00:53:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:53:41 ---> Running in 31b7709c277d 00:53:41 Removing intermediate container 31b7709c277d 00:53:41 ---> 9c6a8a30e8ce 00:53:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:53:41 ---> Running in 3588efa5e14b 00:53:41 Removing intermediate container 3588efa5e14b 00:53:41 ---> 9a6eabbb8c5f 00:53:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:53:41 ---> Running in 4d0b9d251f89 00:53:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:53:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:53:42 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:53:42 (2/8) Installing libedit (20221030.3.1-r0) 00:53:42 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:53:42 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:53:42 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:53:42 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:53:42 (7/8) Installing openssh-server (9.1_p1-r3) 00:53:42 (8/8) Installing openssh (9.1_p1-r3) 00:53:42 Executing busybox-1.35.0-r29.trigger 00:53:42 OK: 270 MiB in 61 packages 00:53:42 Removing intermediate container 4d0b9d251f89 00:53:42 ---> ae18f2c9c3bb 00:53:42 Step 6/10 : WORKDIR /device-modbus-go 00:53:42 ---> Running in ea9c49cbdfcb 00:53:42 Removing intermediate container ea9c49cbdfcb 00:53:42 ---> 38237ef9e144 00:53:42 Step 7/10 : COPY go.mod vendor* ./ 00:53:42 ---> 6ac71e01f121 00:53:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:43 ---> Running in d03ef65b3e8e 00:53:45 Still waiting to schedule task 00:53:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:54:09 Removing intermediate container d03ef65b3e8e 00:54:09 ---> 8f7f7f5c5967 00:54:09 Step 9/10 : COPY . . 00:54:09 ---> 924b7f5a881f 00:54:09 Step 10/10 : RUN ${MAKE} 00:54:09 ---> Running in cee5d2befe01 00:54:09 noop 00:54:09 Removing intermediate container cee5d2befe01 00:54:09 ---> b243b9aec11f 00:54:09 Successfully built b243b9aec11f 00:54:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:10 + docker inspect -f . ci-base-image-x86_64 00:54:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:10 prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container 00:54:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-484 -v /w/workspace/xfoundry_device-modbus-go_PR-484:/w/workspace/xfoundry_device-modbus-go_PR-484:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-484@tmp:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:54:10 $ docker top 63698f6639a873c2d68b4d3a436bdeb69d16381206dd9c604032a7f4dc9dfcfb -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:10 + go version 00:54:10 go version go1.20.2 linux/amd64 [Pipeline] } 00:54:10 $ docker stop --time=1 63698f6639a873c2d68b4d3a436bdeb69d16381206dd9c604032a7f4dc9dfcfb 00:54:12 $ docker rm -f --volumes 63698f6639a873c2d68b4d3a436bdeb69d16381206dd9c604032a7f4dc9dfcfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:12 + docker inspect -f . ci-base-image-x86_64 00:54:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:12 prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container 00:54:12 $ 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-484 -v /w/workspace/xfoundry_device-modbus-go_PR-484:/w/workspace/xfoundry_device-modbus-go_PR-484:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-484@tmp:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:54:13 $ docker top f33febf4b7f2a633bee54341bcf050b5afcdbd3217b6c905281337d0935242f9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:13 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-484 [Pipeline] fileExists [Pipeline] sh 00:54:13 + make test 00:54:13 go test ./... -coverprofile=coverage.out 00:54:19 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:54:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:54:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.4% of statements 00:54:37 go vet ./... 00:54:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:54:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:54:40 ./bin/test-attribution-txt.sh [Pipeline] echo 00:54:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:54:40 $ docker stop --time=1 f33febf4b7f2a633bee54341bcf050b5afcdbd3217b6c905281337d0935242f9 00:54:42 $ docker rm -f --volumes f33febf4b7f2a633bee54341bcf050b5afcdbd3217b6c905281337d0935242f9 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:54:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:54:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:54:44 + ls -al . 00:54:44 total 184 00:54:44 drwxrwxr-x 10 jenkins jenkins 4096 May 30 00:54 . 00:54:44 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:53 .. 00:54:44 -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:53 .dockerignore 00:54:44 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:53 .git 00:54:44 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:53 .github 00:54:44 -rw-rw-r-- 1 jenkins jenkins 331 May 30 00:53 .gitignore 00:54:44 -rw-rw-r-- 1 jenkins jenkins 41 May 30 00:53 .golangci.yml 00:54:44 drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:53 .semver 00:54:44 -rw-rw-r-- 1 jenkins jenkins 10132 May 30 00:53 Attribution.txt 00:54:44 -rw-rw-r-- 1 jenkins jenkins 11576 May 30 00:53 CHANGELOG.md 00:54:44 -rw-rw-r-- 1 jenkins jenkins 1365 May 30 00:53 Dockerfile 00:54:44 -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:53 GOVERNANCE.md 00:54:44 -rw-rw-r-- 1 jenkins jenkins 680 May 30 00:53 Jenkinsfile 00:54:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 00:53 LICENSE 00:54:44 -rw-rw-r-- 1 jenkins jenkins 1705 May 30 00:53 Makefile 00:54:44 -rw-rw-r-- 1 jenkins jenkins 622 May 30 00:53 OWNERS.md 00:54:44 -rw-rw-r-- 1 jenkins jenkins 4578 May 30 00:53 README.md 00:54:44 -rw-rw-r-- 1 jenkins jenkins 5 May 30 00:53 VERSION 00:54:44 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:53 bin 00:54:44 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:53 cmd 00:54:44 -rw-r--r-- 1 jenkins jenkins 24160 May 30 00:54 coverage.out 00:54:44 -rw-rw-r-- 1 jenkins jenkins 3405 May 30 00:53 go.mod 00:54:44 -rw-rw-r-- 1 jenkins jenkins 31664 May 30 00:53 go.sum 00:54:44 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:53 internal 00:54:44 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:53 simulator 00:54:44 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:53 snap 00:54:44 -rw-rw-r-- 1 jenkins jenkins 229 May 30 00:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:44 + 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=03237430faee7ddadb7daf298578e0afc99a8aa8 --label arch=amd64 --label version=0.0.0 . 00:54:44 Sending build context to Docker daemon 6.583MB 00:54:44 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:54:44 Step 2/22 : FROM ${BASE} AS builder 00:54:44 ---> b243b9aec11f 00:54:44 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:54:44 ---> Running in 5a1e4e61d18c 00:54:44 Removing intermediate container 5a1e4e61d18c 00:54:44 ---> 2a866e817a53 00:54:44 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:54:44 ---> Running in ee4e1f00f35f 00:54:44 Removing intermediate container ee4e1f00f35f 00:54:44 ---> cd4cef11b036 00:54:44 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:54:44 ---> Running in cbb1090499c6 00:54:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:54:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:54:45 OK: 270 MiB in 61 packages 00:54:45 Removing intermediate container cbb1090499c6 00:54:45 ---> 0d3c4534cbfd 00:54:45 Step 6/22 : WORKDIR /device-modbus-go 00:54:45 ---> Running in 4ca16e1123c9 00:54:45 Removing intermediate container 4ca16e1123c9 00:54:45 ---> 376162cc59c7 00:54:45 Step 7/22 : COPY go.mod vendor* ./ 00:54:46 ---> c998b7eda540 00:54:46 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:46 ---> Running in fdb2a6317cf0 00:54:46 Removing intermediate container fdb2a6317cf0 00:54:46 ---> 7b0ce53c67ac 00:54:46 Step 9/22 : COPY . . 00:54:47 ---> 5d5e11316c3d 00:54:47 Step 10/22 : RUN ${MAKE} 00:54:47 ---> Running in 51706854cbd0 00:54:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 00:55:09 Removing intermediate container 51706854cbd0 00:55:09 ---> 5fa34057321a 00:55:09 Step 11/22 : FROM alpine:3.17 00:55:09 3.17: Pulling from library/alpine 00:55:09 f56be85fc22e: Already exists 00:55:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:55:09 Status: Downloaded newer image for alpine:3.17 00:55:09 ---> 9ed4aefc74f6 00:55:09 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:55:09 ---> Running in c2d9b03ba6b6 00:55:09 Removing intermediate container c2d9b03ba6b6 00:55:09 ---> 49a93083dc31 00:55:09 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:55:09 ---> Running in 4d9ad364d2fb 00:55:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:09 (1/1) Installing dumb-init (1.2.5-r2) 00:55:09 Executing busybox-1.35.0-r29.trigger 00:55:09 OK: 7 MiB in 16 packages 00:55:09 Removing intermediate container 4d9ad364d2fb 00:55:09 ---> 9d74de71fcbb 00:55:09 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:55:09 ---> 9eab56ebc271 00:55:09 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:55:09 ---> a85ee208aa4d 00:55:09 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:55:09 ---> e88f59a0410c 00:55:09 Step 17/22 : EXPOSE 59901 00:55:09 ---> Running in fdfccf06b642 00:55:09 Removing intermediate container fdfccf06b642 00:55:09 ---> f045dfe352b3 00:55:09 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:55:09 ---> Running in 1648ad006a6c 00:55:09 Removing intermediate container 1648ad006a6c 00:55:09 ---> 1d9956a3c4b4 00:55:09 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:55:09 ---> Running in 44eb59ffce3f 00:55:09 Removing intermediate container 44eb59ffce3f 00:55:09 ---> 3db06184c0c6 00:55:09 Step 20/22 : LABEL arch=amd64 00:55:09 ---> Running in e1fa14e7861f 00:55:09 Removing intermediate container e1fa14e7861f 00:55:09 ---> 0307c3abaf20 00:55:09 Step 21/22 : LABEL git_sha=03237430faee7ddadb7daf298578e0afc99a8aa8 00:55:09 ---> Running in bf5bb84eef0a 00:55:09 Removing intermediate container bf5bb84eef0a 00:55:09 ---> 08a76e71f872 00:55:09 Step 22/22 : LABEL version=0.0.0 00:55:09 ---> Running in 6bdecb2006ca 00:55:09 Removing intermediate container 6bdecb2006ca 00:55:09 ---> a27a70c223c7 00:55:09 [Warning] One or more build-args [ARCH] were not consumed 00:55:09 Successfully built a27a70c223c7 00:55:09 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 00:55:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:09 00:55:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:10 latest: Pulling from edgex-lftools-log-publisher 00:55:10 5eb5b503b376: Pulling fs layer 00:55:10 5c69ac0246d0: Pulling fs layer 00:55:10 ec43610c2a17: Pulling fs layer 00:55:10 3a2ae6a8a46f: Pulling fs layer 00:55:10 33b1e0a273af: Pulling fs layer 00:55:10 5d3b04190fa2: Pulling fs layer 00:55:10 2f39f015ded8: Pulling fs layer 00:55:10 33b1e0a273af: Waiting 00:55:10 5d3b04190fa2: Waiting 00:55:10 3a2ae6a8a46f: Waiting 00:55:10 2f39f015ded8: Waiting 00:55:10 5c69ac0246d0: Download complete 00:55:10 3a2ae6a8a46f: Verifying Checksum 00:55:10 3a2ae6a8a46f: Download complete 00:55:10 33b1e0a273af: Verifying Checksum 00:55:10 33b1e0a273af: Download complete 00:55:10 5d3b04190fa2: Verifying Checksum 00:55:10 5d3b04190fa2: Download complete 00:55:10 ec43610c2a17: Download complete 00:55:10 5eb5b503b376: Download complete 00:55:11 2f39f015ded8: Verifying Checksum 00:55:11 2f39f015ded8: Download complete 00:55:11 5eb5b503b376: Pull complete 00:55:11 5c69ac0246d0: Pull complete 00:55:12 ec43610c2a17: Pull complete 00:55:12 3a2ae6a8a46f: Pull complete 00:55:12 33b1e0a273af: Pull complete 00:55:12 5d3b04190fa2: Pull complete 00:55:18 2f39f015ded8: Pull complete 00:55:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:55:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:18 prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container 00:55:18 $ 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-484 -v /w/workspace/xfoundry_device-modbus-go_PR-484:/w/workspace/xfoundry_device-modbus-go_PR-484:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-484@tmp:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:55:20 $ docker top 59c2a8190e40df8bea0a4802e2fef446b7fc17ea8f5683c6ca28b1f1c0410909 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:20 ---> job-cost.sh 00:55:20 lf-activate-venv: SKIPPING 00:55:20 INFO: No Stack... 00:55:21 INFO: Retrieving Pricing Info for: v3-standard-8 00:55:21 INFO: Archiving Costs [Pipeline] sh 00:55:21 + cat /w/workspace/xfoundry_device-modbus-go_PR-484/archives/cost.csv 00:55:21 + cut -d, -f6 [Pipeline] lock 00:55:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-484-6-stack-cost] 00:55:21 Resource [jenkins-edgexfoundry-device-modbus-go-PR-484-6-stack-cost] did not exist. Created. 00:55:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-484-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:55:22 + echo total: 0.2199999988079071 [Pipeline] stash 00:55:22 Stashed 1 file(s) [Pipeline] } 00:55:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-484-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:55:22 $ docker stop --time=1 59c2a8190e40df8bea0a4802e2fef446b7fc17ea8f5683c6ca28b1f1c0410909 00:55:23 $ docker rm -f --volumes 59c2a8190e40df8bea0a4802e2fef446b7fc17ea8f5683c6ca28b1f1c0410909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:55:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17230 in /w/workspace/xfoundry_device-modbus-go_PR-484 [Pipeline] { [Pipeline] ws 00:55:58 Running in /w/workspace/device-modbus-go/6 [Pipeline] { [Pipeline] checkout 00:55:58 Selected Git installation does not exist. Using Default 00:55:58 The recommended git tool is: NONE 00:56:04 using credential edgex-jenkins-ssh 00:56:04 Cloning the remote Git repository 00:56:04 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:56:04 > git init /w/workspace/device-modbus-go/6 # timeout=10 00:56:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:56:04 > git --version # timeout=10 00:56:04 > git --version # 'git version 2.25.1' 00:56:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:56:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:56:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:56:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:56:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:56:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:56:07 Merging remotes/origin/main commit b7c00ecea16ee3fe559c969829072d5131dcac71 into PR head commit 9bde2d747de05544a39dfcd72cdc82a601752da1 00:56:07 Merge succeeded, producing fb70f3ad2e85cd4029202ad14d1614efe3d97380 00:56:07 Checking out Revision fb70f3ad2e85cd4029202ad14d1614efe3d97380 (PR-484) 00:56:07 > git config core.sparsecheckout # timeout=10 00:56:07 > git checkout -f 9bde2d747de05544a39dfcd72cdc82a601752da1 # timeout=10 00:56:07 > git remote # timeout=10 00:56:07 > git config --get remote.origin.url # timeout=10 00:56:07 using GIT_SSH to set credentials SSH Credentials for GitHub 00:56:07 > git merge b7c00ecea16ee3fe559c969829072d5131dcac71 # timeout=10 00:56:07 > git rev-parse HEAD^{commit} # timeout=10 00:56:07 > git config core.sparsecheckout # timeout=10 00:56:07 > git checkout -f fb70f3ad2e85cd4029202ad14d1614efe3d97380 # timeout=10 00:56:11 Commit message: "Merge commit 'b7c00ecea16ee3fe559c969829072d5131dcac71' into HEAD" 00:56:11 > git rev-list --no-walk 9bde2d747de05544a39dfcd72cdc82a601752da1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:56:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:56:12 % Total % Received % Xferd Average Speed Time Time Time Current 00:56:12 Dload Upload Total Spent Left Speed 00:56:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 42503 0 --:--:-- --:--:-- --:--:-- 42503 [Pipeline] sh 00:56:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:56:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:56:13 + sudo tee /etc/docker/daemon.new 00:56:13 { 00:56:13 "registry-mirrors": [ 00:56:13 "https://nexus3.edgexfoundry.org:10001" 00:56:13 ], 00:56:13 "bip": "10.250.0.254/24", 00:56:13 "hosts": [ 00:56:13 "tcp://0.0.0.0:5555", 00:56:13 "unix:///var/run/docker.sock" 00:56:13 ], 00:56:13 "mtu": 1458, 00:56:13 "selinux-enabled": true, 00:56:13 "seccomp-profile": "/etc/docker/seccomp.json" 00:56:13 } [Pipeline] sh 00:56:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:56:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:32 provisioning config files... 00:56:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/6@tmp/config407281843528658707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:33 ---> docker-login.sh 00:56:33 nexus3.edgexfoundry.org:10001 00:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:34 Configure a credential helper to remove this warning. See 00:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:34 00:56:34 Login Succeeded 00:56:34 nexus3.edgexfoundry.org:10002 00:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:34 Configure a credential helper to remove this warning. See 00:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:34 00:56:34 Login Succeeded 00:56:34 nexus3.edgexfoundry.org:10003 00:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:34 Configure a credential helper to remove this warning. See 00:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:34 00:56:34 Login Succeeded 00:56:35 nexus3.edgexfoundry.org:10004 00:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:35 Configure a credential helper to remove this warning. See 00:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:35 00:56:35 Login Succeeded 00:56:35 docker.io 00:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:35 Configure a credential helper to remove this warning. See 00:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:35 00:56:35 Login Succeeded 00:56:35 ---> docker-login.sh ends [Pipeline] } 00:56:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:56:36 ========================================================= 00:56:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:56:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:36 + 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 . 00:56:37 Sending build context to Docker daemon 3.433MB 00:56:37 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:56:37 Step 2/10 : FROM ${BASE} AS builder 00:56:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:56:37 c41833b44d91: Pulling fs layer 00:56:37 ed15518f5707: Pulling fs layer 00:56:37 feae8fd75edb: Pulling fs layer 00:56:37 242c74f7c9fa: Pulling fs layer 00:56:37 3cdef696dda3: Pulling fs layer 00:56:37 2ced38df9373: Pulling fs layer 00:56:37 58f1dce35555: Pulling fs layer 00:56:37 3cdef696dda3: Waiting 00:56:37 2ced38df9373: Waiting 00:56:37 58f1dce35555: Waiting 00:56:37 242c74f7c9fa: Waiting 00:56:37 ed15518f5707: Verifying Checksum 00:56:37 ed15518f5707: Download complete 00:56:37 242c74f7c9fa: Download complete 00:56:37 3cdef696dda3: Verifying Checksum 00:56:37 3cdef696dda3: Download complete 00:56:37 c41833b44d91: Verifying Checksum 00:56:39 c41833b44d91: Pull complete 00:56:39 58f1dce35555: Verifying Checksum 00:56:39 58f1dce35555: Download complete 00:56:39 ed15518f5707: Pull complete 00:56:40 feae8fd75edb: Verifying Checksum 00:56:40 feae8fd75edb: Download complete 00:56:40 2ced38df9373: Verifying Checksum 00:56:40 2ced38df9373: Download complete 00:56:52 feae8fd75edb: Pull complete 00:56:52 242c74f7c9fa: Pull complete 00:56:52 3cdef696dda3: Pull complete 00:56:59 2ced38df9373: Pull complete 00:57:04 58f1dce35555: Pull complete 00:57:04 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:57:04 ---> fadd8f120f05 00:57:04 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:57:06 ---> Running in 217925a6ad42 00:57:07 Removing intermediate container 217925a6ad42 00:57:07 ---> 01b6ba6e57d5 00:57:07 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:07 ---> Running in 3c8864c02d82 00:57:07 Removing intermediate container 3c8864c02d82 00:57:07 ---> c7d307c5bce7 00:57:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:57:07 ---> Running in 17a633e93fb3 00:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:57:10 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:57:10 (2/8) Installing libedit (20221030.3.1-r0) 00:57:10 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:57:10 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:57:10 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:57:10 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:57:10 (7/8) Installing openssh-server (9.1_p1-r3) 00:57:10 (8/8) Installing openssh (9.1_p1-r3) 00:57:10 Executing busybox-1.35.0-r29.trigger 00:57:10 OK: 270 MiB in 61 packages 00:57:11 Removing intermediate container 17a633e93fb3 00:57:11 ---> 9dee0549f2ee 00:57:11 Step 6/10 : WORKDIR /device-modbus-go 00:57:11 ---> Running in aead04c157d0 00:57:12 Removing intermediate container aead04c157d0 00:57:12 ---> 6e830f42f9b0 00:57:12 Step 7/10 : COPY go.mod vendor* ./ 00:57:12 ---> d3dfb90e7dc0 00:57:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:12 ---> Running in 6101e59379fb 00:58:20 Removing intermediate container 6101e59379fb 00:58:20 ---> f4369610172e 00:58:20 Step 9/10 : COPY . . 00:58:20 ---> 3b166ca64c67 00:58:20 Step 10/10 : RUN ${MAKE} 00:58:20 ---> Running in 8aa0483df43c 00:58:20 noop 00:58:20 Removing intermediate container 8aa0483df43c 00:58:20 ---> ef9a619252ef 00:58:20 Successfully built ef9a619252ef 00:58:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:21 + docker inspect -f . ci-base-image-arm64 00:58:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:21 prd-ubuntu20.04-docker-arm64-4c-16g-17230 does not seem to be running inside a container 00:58:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:58:22 $ docker top 03f3be8a0fdd6d486daa583878b5f9dcf66c5c01029a04bd350a99bf383e9d1e -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:23 + go version 00:58:23 go version go1.20.2 linux/arm64 [Pipeline] } 00:58:23 $ docker stop --time=1 03f3be8a0fdd6d486daa583878b5f9dcf66c5c01029a04bd350a99bf383e9d1e 00:58:25 $ docker rm -f --volumes 03f3be8a0fdd6d486daa583878b5f9dcf66c5c01029a04bd350a99bf383e9d1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:25 + docker inspect -f . ci-base-image-arm64 00:58:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:26 prd-ubuntu20.04-docker-arm64-4c-16g-17230 does not seem to be running inside a container 00:58:26 $ 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/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:58:27 $ docker top 0dcd1cf0f7674d62a380a61a1b02c18950da76a8b49ee2eba328aad5e09ce293 -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:28 + git config --global --add safe.directory /w/workspace/device-modbus-go/6 [Pipeline] fileExists [Pipeline] sh 00:58:28 + make test 00:58:28 go test ./... -coverprofile=coverage.out 00:59:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:01:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:01:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.4% of statements 01:01:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:01:29 go vet ./... 01:01:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:01:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:01:56 ./bin/test-attribution-txt.sh [Pipeline] echo 01:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:01:56 $ docker stop --time=1 0dcd1cf0f7674d62a380a61a1b02c18950da76a8b49ee2eba328aad5e09ce293 01:01:58 $ docker rm -f --volumes 0dcd1cf0f7674d62a380a61a1b02c18950da76a8b49ee2eba328aad5e09ce293 [Pipeline] // withDockerContainer [Pipeline] sh 01:02:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:02:00 Warning: overwriting stash ‘coverage-report’ 01:02:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:02:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:02:01 + ls -al . 01:02:01 total 180 01:02:01 drwxrwxr-x 9 jenkins jenkins 4096 May 30 00:58 . 01:02:01 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:56 .. 01:02:01 -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:56 .dockerignore 01:02:01 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:56 .git 01:02:01 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:56 .github 01:02:01 -rw-rw-r-- 1 jenkins jenkins 331 May 30 00:56 .gitignore 01:02:01 -rw-rw-r-- 1 jenkins jenkins 41 May 30 00:56 .golangci.yml 01:02:01 -rw-rw-r-- 1 jenkins jenkins 10132 May 30 00:56 Attribution.txt 01:02:01 -rw-rw-r-- 1 jenkins jenkins 11576 May 30 00:56 CHANGELOG.md 01:02:01 -rw-rw-r-- 1 jenkins jenkins 1365 May 30 00:56 Dockerfile 01:02:01 -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:56 GOVERNANCE.md 01:02:01 -rw-rw-r-- 1 jenkins jenkins 680 May 30 00:56 Jenkinsfile 01:02:01 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 00:56 LICENSE 01:02:01 -rw-rw-r-- 1 jenkins jenkins 1705 May 30 00:56 Makefile 01:02:01 -rw-rw-r-- 1 jenkins jenkins 622 May 30 00:56 OWNERS.md 01:02:01 -rw-rw-r-- 1 jenkins jenkins 4578 May 30 00:56 README.md 01:02:01 -rw-rw-r-- 1 jenkins jenkins 5 May 30 00:53 VERSION 01:02:01 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:56 bin 01:02:01 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:56 cmd 01:02:01 -rw-r--r-- 1 jenkins jenkins 24160 May 30 01:01 coverage.out 01:02:01 -rw-rw-r-- 1 jenkins jenkins 3405 May 30 00:56 go.mod 01:02:01 -rw-rw-r-- 1 jenkins jenkins 31664 May 30 00:56 go.sum 01:02:01 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:56 internal 01:02:01 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:56 simulator 01:02:01 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:56 snap 01:02:01 -rw-rw-r-- 1 jenkins jenkins 229 May 30 00:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:01 + 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=fb70f3ad2e85cd4029202ad14d1614efe3d97380 --label arch=arm64 --label version=0.0.0 . 01:02:02 Sending build context to Docker daemon 3.458MB 01:02:02 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 01:02:02 Step 2/22 : FROM ${BASE} AS builder 01:02:02 ---> ef9a619252ef 01:02:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 01:02:04 ---> Running in 9f03695988a2 01:02:04 Removing intermediate container 9f03695988a2 01:02:04 ---> c1a1077207ac 01:02:04 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:02:04 ---> Running in ff0045ecd65e 01:02:04 Removing intermediate container ff0045ecd65e 01:02:04 ---> 438b01f058f5 01:02:04 Step 5/22 : RUN apk add --update --no-cache make git openssh 01:02:04 ---> Running in be1bc68c2f07 01:02:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:02:07 OK: 270 MiB in 61 packages 01:02:08 Removing intermediate container be1bc68c2f07 01:02:08 ---> d86a3ed1d790 01:02:08 Step 6/22 : WORKDIR /device-modbus-go 01:02:08 ---> Running in 188ddfc6705c 01:02:09 Removing intermediate container 188ddfc6705c 01:02:09 ---> f134b18ae1ca 01:02:09 Step 7/22 : COPY go.mod vendor* ./ 01:02:09 ---> 3d097a65290d 01:02:09 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:02:10 ---> Running in 65489b66b2bb 01:02:12 Removing intermediate container 65489b66b2bb 01:02:12 ---> e4bad0ebf396 01:02:12 Step 9/22 : COPY . . 01:02:13 ---> 74e6f6fc29ef 01:02:13 Step 10/22 : RUN ${MAKE} 01:02:13 ---> Running in 953d1826a2f2 01:02:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 01:04:36 Removing intermediate container 953d1826a2f2 01:04:36 ---> 0e23ebf3c2d8 01:04:36 Step 11/22 : FROM alpine:3.17 01:04:36 3.17: Pulling from library/alpine 01:04:36 c41833b44d91: Already exists 01:04:36 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:04:36 Status: Downloaded newer image for alpine:3.17 01:04:36 ---> 51e60588ff2c 01:04:36 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:04:36 ---> Running in 58885d3079cf 01:04:36 Removing intermediate container 58885d3079cf 01:04:36 ---> 347ea2abe57d 01:04:36 Step 13/22 : RUN apk add --update --no-cache dumb-init 01:04:36 ---> Running in 2ef78fad11b3 01:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:04:36 (1/1) Installing dumb-init (1.2.5-r2) 01:04:36 Executing busybox-1.35.0-r29.trigger 01:04:36 OK: 8 MiB in 16 packages 01:04:37 Removing intermediate container 2ef78fad11b3 01:04:37 ---> eb25aa8c7425 01:04:37 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:04:38 ---> bb4225b0caa1 01:04:38 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:04:39 ---> 15f5ebdfcb70 01:04:39 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:04:39 ---> ae3c98679ad2 01:04:39 Step 17/22 : EXPOSE 59901 01:04:39 ---> Running in 747a5e17c67c 01:04:40 Removing intermediate container 747a5e17c67c 01:04:40 ---> 4f251d0aaef8 01:04:40 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:04:40 ---> Running in ce9e7d18c396 01:04:40 Removing intermediate container ce9e7d18c396 01:04:40 ---> a75a66ddfc1e 01:04:40 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:04:40 ---> Running in f3f4ddd4d071 01:04:40 Removing intermediate container f3f4ddd4d071 01:04:40 ---> 79f535715329 01:04:40 Step 20/22 : LABEL arch=arm64 01:04:40 ---> Running in e2ef038f53d1 01:04:41 Removing intermediate container e2ef038f53d1 01:04:41 ---> 64c8f8140127 01:04:41 Step 21/22 : LABEL git_sha=fb70f3ad2e85cd4029202ad14d1614efe3d97380 01:04:41 ---> Running in 86ff575cda49 01:04:41 Removing intermediate container 86ff575cda49 01:04:41 ---> 8cafb6a2107d 01:04:41 Step 22/22 : LABEL version=0.0.0 01:04:41 ---> Running in c41f1e79c37e 01:04:41 Removing intermediate container c41f1e79c37e 01:04:41 ---> 46e5c26c9249 01:04:41 [Warning] One or more build-args [ARCH] were not consumed 01:04:41 Successfully built 46e5c26c9249 01:04:41 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 01:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:42 01:04:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:42 arm64: Pulling from edgex-lftools-log-publisher 01:04:42 8998bd30e6a1: Pulling fs layer 01:04:42 04944245beec: Pulling fs layer 01:04:42 699f458cf7ca: Pulling fs layer 01:04:42 765212b225bb: Pulling fs layer 01:04:42 f23df028b6ca: Pulling fs layer 01:04:42 d65c8cfc05b1: Pulling fs layer 01:04:42 2437ff75d9bd: Pulling fs layer 01:04:42 765212b225bb: Waiting 01:04:42 f23df028b6ca: Waiting 01:04:42 d65c8cfc05b1: Waiting 01:04:42 2437ff75d9bd: Waiting 01:04:43 04944245beec: Verifying Checksum 01:04:43 04944245beec: Download complete 01:04:43 765212b225bb: Verifying Checksum 01:04:43 765212b225bb: Download complete 01:04:43 f23df028b6ca: Verifying Checksum 01:04:43 f23df028b6ca: Download complete 01:04:43 d65c8cfc05b1: Download complete 01:04:43 699f458cf7ca: Verifying Checksum 01:04:43 699f458cf7ca: Download complete 01:04:43 8998bd30e6a1: Verifying Checksum 01:04:43 8998bd30e6a1: Download complete 01:04:46 2437ff75d9bd: Verifying Checksum 01:04:46 2437ff75d9bd: Download complete 01:04:48 8998bd30e6a1: Pull complete 01:04:48 04944245beec: Pull complete 01:04:50 699f458cf7ca: Pull complete 01:04:50 765212b225bb: Pull complete 01:04:50 f23df028b6ca: Pull complete 01:04:51 d65c8cfc05b1: Pull complete 01:05:06 2437ff75d9bd: Pull complete 01:05:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:06 prd-ubuntu20.04-docker-arm64-4c-16g-17230 does not seem to be running inside a container 01:05:06 $ 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/6 -v /w/workspace/device-modbus-go/6:/w/workspace/device-modbus-go/6:rw,z -v /w/workspace/device-modbus-go/6@tmp:/w/workspace/device-modbus-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:05:09 $ docker top 4266815be73f369b6f3acf325d67d2bcb82dd2d46926df940bbd987cc2d22b40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:10 ---> job-cost.sh 01:05:10 lf-activate-venv: SKIPPING 01:05:10 INFO: No Stack... 01:05:10 INFO: Retrieving Pricing Info for: v3-standard-4 01:05:11 INFO: Archiving Costs [Pipeline] sh 01:05:12 + cat /w/workspace/device-modbus-go/6/archives/cost.csv 01:05:12 + cut -d, -f6 [Pipeline] lock 01:05:12 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-484-6-stack-cost] 01:05:12 Resource [jenkins-edgexfoundry-device-modbus-go-PR-484-6-stack-cost] did not exist. Created. 01:05:12 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-484-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:05:12 /w/workspace/device-modbus-go/6@tmp/durable-e34746e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:05:13 + echo total: 0.10999999940395355 [Pipeline] stash 01:05:13 Warning: overwriting stash ‘stack-cost’ 01:05:13 Stashed 1 file(s) [Pipeline] } 01:05:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-484-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:05:13 $ docker stop --time=1 4266815be73f369b6f3acf325d67d2bcb82dd2d46926df940bbd987cc2d22b40 01:05:15 $ docker rm -f --volumes 4266815be73f369b6f3acf325d67d2bcb82dd2d46926df940bbd987cc2d22b40 [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 01:05:15 provisioning config files... 01:05:15 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/config8140419388962819159tmp [Pipeline] { [Pipeline] sh 01:05:15 + set +x 01:05:15 + curl -s https://codecov.io/bash 01:05:15 + bash -s -- 01:05:15 01:05:15 _____ _ 01:05:15 / ____| | | 01:05:15 | | ___ __| | ___ ___ _____ __ 01:05:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:05:15 | |___| (_) | (_| | __/ (_| (_) \ V / 01:05:15 \_____\___/ \__,_|\___|\___\___/ \_/ 01:05:15 Bash-1.0.6 01:05:15 01:05:15 01:05:15 ==> git version 2.25.1 found 01:05:15 ==> 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 01:05:15 Release-Date: 2020-01-08 01:05:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:05:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:05:15 ==> Jenkins CI detected. 01:05:15 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-484 01:05:15 project root: . 01:05:15 --> token set from env 01:05:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:05:15 ==> Running gcov in . (disable via -X gcov) 01:05:15 ==> Python coveragepy not found 01:05:15 ==> Searching for coverage reports in: 01:05:15 + . 01:05:15 -> Found 1 reports 01:05:15 ==> Detecting git/mercurial file structure 01:05:16 ==> Reading reports 01:05:16 + ./coverage.out bytes=24160 01:05:16 ==> Appending adjustments 01:05:16 https://docs.codecov.io/docs/fixing-reports 01:05:16 + Found adjustments 01:05:16 ==> Gzipping contents 01:05:16 4.0K /tmp/codecov.uW4VdA.gz 01:05:16 ==> Uploading reports 01:05:16 url: https://codecov.io 01:05:16 query: branch=PR-484&commit=03237430faee7ddadb7daf298578e0afc99a8aa8&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-484%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=484&job=&cmd_args= 01:05:16 -> Pinging Codecov 01:05:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-484&commit=03237430faee7ddadb7daf298578e0afc99a8aa8&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-484%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=484&job=&cmd_args= 01:05:16 -> Uploading to 01:05:16 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/55DBCA73C666E3227836607328DD7E49/03237430faee7ddadb7daf298578e0afc99a8aa8/de138767-7852-4db4-ac32-6190e1bdd8ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T010516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3bca2bb6f2ef668f5883f2f74b56f6c46fb9d310be38fb37369af686637325c 01:05:16 % Total % Received % Xferd Average Speed Time Time Time Current 01:05:16 Dload Upload Total Spent Left Speed 01:05:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16350 --:--:-- --:--:-- --:--:-- 16350 01:05:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/03237430faee7ddadb7daf298578e0afc99a8aa8 [Pipeline] } 01:05:16 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 01:05:17 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-484/archives ] 01:05:17 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-484/archives 01:05:17 total 16 01:05:17 drwxr-xr-x 3 root root 4096 May 30 00:55 . 01:05:17 drwxrwxr-x 11 jenkins jenkins 4096 May 30 00:55 .. 01:05:17 drwxr-xr-x 2 root root 4096 May 30 00:55 cost 01:05:17 -rw-r--r-- 1 root root 88 May 30 00:55 cost.csv 01:05:17 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-484/archives 01:05:17 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-484/archives 01:05:17 total 16 01:05:17 drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:55 . 01:05:17 drwxrwxr-x 11 jenkins jenkins 4096 May 30 00:55 .. 01:05:17 drwxr-xr-x 2 jenkins jenkins 4096 May 30 00:55 cost 01:05:17 -rw-r--r-- 1 jenkins jenkins 88 May 30 00:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:05:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:05:18 ---> package-listing.sh 01:05:18 ++ facter osfamily 01:05:18 ++ tr '[:upper:]' '[:lower:]' 01:05:18 + OS_FAMILY=debian 01:05:18 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-484 01:05:18 + START_PACKAGES=/tmp/packages_start.txt 01:05:18 + END_PACKAGES=/tmp/packages_end.txt 01:05:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:05:18 + PACKAGES=/tmp/packages_start.txt 01:05:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-484 ']' 01:05:18 + PACKAGES=/tmp/packages_end.txt 01:05:18 + case "${OS_FAMILY}" in 01:05:18 + dpkg -l 01:05:18 + grep '^ii' 01:05:18 + '[' -f /tmp/packages_start.txt ']' 01:05:18 + '[' -f /tmp/packages_end.txt ']' 01:05:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:05:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-484 ']' 01:05:18 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-484/archives/ 01:05:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-484/archives/ [Pipeline] echo 01:05:18 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-484/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:05:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:05:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:19 prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container 01:05:19 $ 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-484/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-484 -v /w/workspace/xfoundry_device-modbus-go_PR-484:/w/workspace/xfoundry_device-modbus-go_PR-484:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-484@tmp:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:05:19 $ docker top 46f7e3b9c2c5196dcafec10b51c81848bf24f3fa1386f236349a00c371b0a8f7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:20 + touch /tmp/pre-build-complete [Pipeline] sh 01:05:20 + mkdir -p /var/log/sysstat [Pipeline] sh 01:05:20 + ls /var/log/sa-host 01:05:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:20 provisioning config files... 01:05:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/config16759157287489589786tmp [Pipeline] { [Pipeline] echo 01:05:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:05:21 ---> create-netrc.sh [Pipeline] } 01:05:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:05:21 ---> python-tools-install.sh [Pipeline] echo 01:05:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:05:21 ---> sudo-logs.sh 01:05:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:05:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:05:22 ---> job-cost.sh 01:05:22 lf-activate-venv: SKIPPING 01:05:22 DEBUG: total: 0.2199999988079071 01:05:22 INFO: Retrieving Stack Cost... 01:05:22 INFO: Retrieving Pricing Info for: v3-standard-8 01:05:23 INFO: Archiving Costs [Pipeline] echo 01:05:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:05:23 ---> logs-deploy.sh 01:05:23 lf-activate-venv: SKIPPING 01:05:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-484/6 01:05:23 INFO: archiving workspace using pattern(s): 01:05:24 Archives upload complete. 01:05:24 INFO: archiving logs to Nexus