Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bde2d747de05544a39dfcd72cdc82a601752da1+18e5bddd1624945f7f79c46e89df23b543e6953b (0fa15452704ac9321af6ad237a4b383290398f0d) 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-ssh13990810289170606647.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-ssh3485859354613154176.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-ssh1106284285679384171.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-ssh11228135049257238332.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-ssh17123184452178772486.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-17425 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 > 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 Merging remotes/origin/main commit 18e5bddd1624945f7f79c46e89df23b543e6953b into PR head commit 9bde2d747de05544a39dfcd72cdc82a601752da1 Merge succeeded, producing 73c3e2d1572060524067cf3c54d5579e72bfbe11 Checking out Revision 73c3e2d1572060524067cf3c54d5579e72bfbe11 (PR-484) > 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 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73c3e2d1572060524067cf3c54d5579e72bfbe11 # timeout=10 Commit message: "Merge commit '18e5bddd1624945f7f79c46e89df23b543e6953b' into HEAD" > git rev-list --no-walk fb70f3ad2e85cd4029202ad14d1614efe3d97380 # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:53:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:53:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:53:22 ========================================================= 00:53:22 EdgeX Global Pipelines Version Info 00:53:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:53:23 ------------------- 00:53:23 stable info: 00:53:23 ------------------- 00:53:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:53:23 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:53:23 Message: update stable to v1.0.249 00:53:23 ------------------- 00:53:23 experimental info: 00:53:23 ------------------- 00:53:23 Commited By: **** collab-it+edgex@linuxfoundation.org 00:53:23 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:53:23 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:53:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-484 [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-484 [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-484 [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73c3e2d1572060524067cf3c54d5579e72bfbe11 [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73c3e2d [Pipeline] echo 00:53:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:24 provisioning config files... 00:53:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/config8184790961880640113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:24 ---> docker-login.sh 00:53:24 nexus3.edgexfoundry.org:10001 00:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:24 Configure a credential helper to remove this warning. See 00:53:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:24 00:53:24 Login Succeeded 00:53:24 nexus3.edgexfoundry.org:10002 00:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:25 Configure a credential helper to remove this warning. See 00:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:25 00:53:25 Login Succeeded 00:53:25 nexus3.edgexfoundry.org:10003 00:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:25 Configure a credential helper to remove this warning. See 00:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:25 00:53:25 Login Succeeded 00:53:25 nexus3.edgexfoundry.org:10004 00:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:25 Configure a credential helper to remove this warning. See 00:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:25 00:53:25 Login Succeeded 00:53:25 docker.io 00:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:25 Configure a credential helper to remove this warning. See 00:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:25 00:53:25 Login Succeeded 00:53:25 ---> docker-login.sh ends [Pipeline] } 00:53:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:53:26 + git rev-list -1 --merges 73c3e2d1572060524067cf3c54d5579e72bfbe11~1..73c3e2d1572060524067cf3c54d5579e72bfbe11 [Pipeline] echo 00:53:26 -----------> git rev-list -1 --merges 73c3e2d1572060524067cf3c54d5579e72bfbe11~1..73c3e2d1572060524067cf3c54d5579e72bfbe11 73c3e2d1572060524067cf3c54d5579e72bfbe11 00:53:26 73c3e2d1572060524067cf3c54d5579e72bfbe11 [false] [Pipeline] sh 00:53:26 + git log --format=format:%s -1 73c3e2d1572060524067cf3c54d5579e72bfbe11 [Pipeline] echo 00:53:26 ========================================================= 00:53:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:53:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:26 + git log --format=format:%s -1 73c3e2d1572060524067cf3c54d5579e72bfbe11 [Pipeline] echo 00:53:26 [semverPrep] GIT_COMMIT: 73c3e2d1572060524067cf3c54d5579e72bfbe11, Commit Message: Merge commit '18e5bddd1624945f7f79c46e89df23b543e6953b' into HEAD [Pipeline] echo 00:53:26 [semverPrep] This is not a build commit. [Pipeline] sh 00:53:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:53:27 + grep -v github /etc/ssh/ssh_known_hosts 00:53:27 + [ -e /tmp/ssh_known_hosts ] 00:53:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:53:27 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 00:53:27 -a /etc/ssh/ssh_known_hosts 00:53:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:27 00:53:27 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:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:27 0.1.4: Pulling from edgex-devops/py-git-semver 00:53:27 b85a868b505f: Pulling fs layer 00:53:27 e2be974225ed: Pulling fs layer 00:53:27 339a4e72a1f5: Pulling fs layer 00:53:27 988bab9f4d93: Pulling fs layer 00:53:27 1469e6f7b9e6: Pulling fs layer 00:53:27 eaf3925da568: Pulling fs layer 00:53:27 bab4dde63d76: Pulling fs layer 00:53:27 bde34c3a00c8: Pulling fs layer 00:53:27 b352a97aabf1: Pulling fs layer 00:53:27 4872d77fe225: Pulling fs layer 00:53:27 5851b861e8e6: Pulling fs layer 00:53:27 b352a97aabf1: Waiting 00:53:27 5851b861e8e6: Waiting 00:53:27 4872d77fe225: Waiting 00:53:27 bab4dde63d76: Waiting 00:53:27 bde34c3a00c8: Waiting 00:53:27 eaf3925da568: Waiting 00:53:27 988bab9f4d93: Waiting 00:53:27 e2be974225ed: Verifying Checksum 00:53:27 e2be974225ed: Download complete 00:53:27 988bab9f4d93: Download complete 00:53:28 1469e6f7b9e6: Verifying Checksum 00:53:28 1469e6f7b9e6: Download complete 00:53:28 eaf3925da568: Verifying Checksum 00:53:28 eaf3925da568: Download complete 00:53:28 339a4e72a1f5: Verifying Checksum 00:53:28 339a4e72a1f5: Download complete 00:53:28 bde34c3a00c8: Verifying Checksum 00:53:28 bde34c3a00c8: Download complete 00:53:28 b352a97aabf1: Verifying Checksum 00:53:28 b352a97aabf1: Download complete 00:53:28 4872d77fe225: Download complete 00:53:28 5851b861e8e6: Verifying Checksum 00:53:28 5851b861e8e6: Download complete 00:53:28 b85a868b505f: Download complete 00:53:28 bab4dde63d76: Verifying Checksum 00:53:28 bab4dde63d76: Download complete 00:53:29 b85a868b505f: Pull complete 00:53:29 e2be974225ed: Pull complete 00:53:29 339a4e72a1f5: Pull complete 00:53:30 988bab9f4d93: Pull complete 00:53:30 1469e6f7b9e6: Pull complete 00:53:30 eaf3925da568: Pull complete 00:53:32 bab4dde63d76: Pull complete 00:53:32 bde34c3a00c8: Pull complete 00:53:32 b352a97aabf1: Pull complete 00:53:32 4872d77fe225: Pull complete 00:53:32 5851b861e8e6: Pull complete 00:53:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:32 prd-ubuntu20.04-docker-8c-8g-17425 does not seem to be running inside a container 00:53:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:53:36 $ docker top d10b1a752dc25e5b9432f1cd4337e6badcb8d8ea719ba112119f06d63ff01f0c -eo pid,comm 00:53:36 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:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:53:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:36 [ssh-agent] Looking for ssh-agent implementation... 00:53:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:36 $ docker exec d10b1a752dc25e5b9432f1cd4337e6badcb8d8ea719ba112119f06d63ff01f0c ssh-agent 00:53:36 SSH_AUTH_SOCK=/tmp/ssh-5OXjSrrx40SY/agent.32 00:53:36 SSH_AGENT_PID=38 00:53:36 Running ssh-add (command line suppressed) 00:53:36 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-484@tmp/private_key_16297157746140638831.key (/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/private_key_16297157746140638831.key) 00:53:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:37 + git tag --points-at HEAD [Pipeline] } 00:53:37 $ docker exec --env ******** --env ******** d10b1a752dc25e5b9432f1cd4337e6badcb8d8ea719ba112119f06d63ff01f0c ssh-agent -k 00:53:37 unset SSH_AUTH_SOCK; 00:53:37 unset SSH_AGENT_PID; 00:53:37 echo Agent pid 38 killed; 00:53:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:53:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:37 [ssh-agent] Looking for ssh-agent implementation... 00:53:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:37 $ docker exec d10b1a752dc25e5b9432f1cd4337e6badcb8d8ea719ba112119f06d63ff01f0c ssh-agent 00:53:37 SSH_AUTH_SOCK=/tmp/ssh-8M1EClmedEoa/agent.70 00:53:37 SSH_AGENT_PID=76 00:53:37 Running ssh-add (command line suppressed) 00:53:37 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-484@tmp/private_key_13069653130737699742.key (/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/private_key_13069653130737699742.key) 00:53:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:37 + git semver init 00:53:38 2023-05-31 00:53:38,038 [run_init] DEBUG init version:0.0.0 force:False 00:53:38 2023-05-31 00:53:38,038 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-484/.semver 00:53:38 2023-05-31 00:53:38,039 [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:38 2023-05-31 00:53:38,039 [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:39 2023-05-31 00:53:38,840 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-484/.git/info/exclude 00:53:39 2023-05-31 00:53:38,841 [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:39 2023-05-31 00:53:38,841 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-484/.semver/PR-484 00:53:39 2023-05-31 00:53:38,846 [execute] INFO git cat-file --batch-check 00:53:39 2023-05-31 00:53:38,846 [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:39 2023-05-31 00:53:38,853 [execute] INFO git cat-file --batch 00:53:39 2023-05-31 00:53:38,853 [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:39 2023-05-31 00:53:38,859 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-484/.semver/PR-484 00:53:39 0.0.0 [Pipeline] } 00:53:39 $ docker exec --env ******** --env ******** d10b1a752dc25e5b9432f1cd4337e6badcb8d8ea719ba112119f06d63ff01f0c ssh-agent -k 00:53:39 unset SSH_AUTH_SOCK; 00:53:39 unset SSH_AGENT_PID; 00:53:39 echo Agent pid 76 killed; 00:53:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:53:39 + git semver [Pipeline] } 00:53:39 $ docker stop --time=1 d10b1a752dc25e5b9432f1cd4337e6badcb8d8ea719ba112119f06d63ff01f0c 00:53:41 $ docker rm -f --volumes d10b1a752dc25e5b9432f1cd4337e6badcb8d8ea719ba112119f06d63ff01f0c [Pipeline] // withDockerContainer [Pipeline] sh 00:53:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:53:41 Stashed 1 file(s) [Pipeline] echo 00:53:41 [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:41 provisioning config files... 00:53:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/config12833467407866023449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:42 ---> docker-login.sh 00:53:42 nexus3.edgexfoundry.org:10001 00:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:42 Configure a credential helper to remove this warning. See 00:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:42 00:53:42 Login Succeeded 00:53:42 nexus3.edgexfoundry.org:10002 00:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:42 Configure a credential helper to remove this warning. See 00:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:42 00:53:42 Login Succeeded 00:53:42 nexus3.edgexfoundry.org:10003 00:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:42 Configure a credential helper to remove this warning. See 00:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:42 00:53:42 Login Succeeded 00:53:42 nexus3.edgexfoundry.org:10004 00:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:42 Configure a credential helper to remove this warning. See 00:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:42 00:53:42 Login Succeeded 00:53:42 docker.io 00:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:42 Configure a credential helper to remove this warning. See 00:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:42 00:53:42 Login Succeeded 00:53:42 ---> docker-login.sh ends [Pipeline] } 00:53:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:53:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:42 ========================================================= 00:53:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:53:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:43 + 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:43 Sending build context to Docker daemon 6.571MB 00:53:43 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:53:43 Step 2/10 : FROM ${BASE} AS builder 00:53:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:53:43 f56be85fc22e: Pulling fs layer 00:53:43 85791d961cd3: Pulling fs layer 00:53:43 d694b5ae8c79: Pulling fs layer 00:53:43 9f32a84ed3da: Pulling fs layer 00:53:43 9f32a84ed3da: Waiting 00:53:43 4d19c01a9841: Pulling fs layer 00:53:43 9325e15d5711: Pulling fs layer 00:53:43 556b6ee489ea: Pulling fs layer 00:53:43 c5a4b2cf53e6: Pulling fs layer 00:53:43 9325e15d5711: Waiting 00:53:43 556b6ee489ea: Waiting 00:53:43 4d19c01a9841: Waiting 00:53:43 c5a4b2cf53e6: Waiting 00:53:43 85791d961cd3: Verifying Checksum 00:53:43 85791d961cd3: Download complete 00:53:43 9f32a84ed3da: Download complete 00:53:43 4d19c01a9841: Verifying Checksum 00:53:43 4d19c01a9841: Download complete 00:53:43 f56be85fc22e: Verifying Checksum 00:53:43 f56be85fc22e: Download complete 00:53:43 9325e15d5711: Download complete 00:53:43 f56be85fc22e: Pull complete 00:53:43 85791d961cd3: Pull complete 00:53:44 c5a4b2cf53e6: Verifying Checksum 00:53:44 c5a4b2cf53e6: Download complete 00:53:44 d694b5ae8c79: Verifying Checksum 00:53:44 d694b5ae8c79: Download complete 00:53:44 556b6ee489ea: Verifying Checksum 00:53:44 556b6ee489ea: Download complete 00:53:48 d694b5ae8c79: Pull complete 00:53:48 9f32a84ed3da: Pull complete 00:53:48 4d19c01a9841: Pull complete 00:53:48 9325e15d5711: Pull complete 00:53:50 556b6ee489ea: Pull complete 00:53:51 c5a4b2cf53e6: Pull complete 00:53:51 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:53:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:53:51 ---> c4be618373d6 00:53:51 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:53:56 ---> Running in 6ae4b7571196 00:53:56 Removing intermediate container 6ae4b7571196 00:53:56 ---> 5921d326d3fe 00:53:56 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:53:56 ---> Running in bb9edcff5cbf 00:53:56 Removing intermediate container bb9edcff5cbf 00:53:56 ---> 28d4db1009ae 00:53:56 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:53:56 ---> Running in ddb4f9d0687f 00:53:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:53:56 Still waiting to schedule task 00:53:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:53:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:53:57 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:53:57 (2/8) Installing libedit (20221030.3.1-r0) 00:53:57 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:53:57 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:53:57 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:53:57 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:53:57 (7/8) Installing openssh-server (9.1_p1-r3) 00:53:57 (8/8) Installing openssh (9.1_p1-r3) 00:53:57 Executing busybox-1.35.0-r29.trigger 00:53:57 OK: 270 MiB in 61 packages 00:53:57 Removing intermediate container ddb4f9d0687f 00:53:57 ---> db291283c4dc 00:53:57 Step 6/10 : WORKDIR /device-modbus-go 00:53:57 ---> Running in 73bc26b5bd85 00:53:57 Removing intermediate container 73bc26b5bd85 00:53:57 ---> d082601b469f 00:53:57 Step 7/10 : COPY go.mod vendor* ./ 00:53:57 ---> 8614a449c4d3 00:53:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:57 ---> Running in ca7d9d12d240 00:54:29 Removing intermediate container ca7d9d12d240 00:54:29 ---> 9b88a48f176b 00:54:29 Step 9/10 : COPY . . 00:54:29 ---> 6296340d7fd2 00:54:29 Step 10/10 : RUN ${MAKE} 00:54:29 ---> Running in a9c9da8ec5de 00:54:29 noop 00:54:29 Removing intermediate container a9c9da8ec5de 00:54:29 ---> 00255c9cc24c 00:54:29 Successfully built 00255c9cc24c 00:54:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:30 + docker inspect -f . ci-base-image-x86_64 00:54:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:30 prd-ubuntu20.04-docker-8c-8g-17425 does not seem to be running inside a container 00:54:30 $ 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 ******** ci-base-image-x86_64 cat 00:54:30 $ docker top ec2b073a8e9dac021ac4a9aa7a9347b773c09489e843793b52ed76d7a015e0dc -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:31 + go version 00:54:31 go version go1.20.2 linux/amd64 [Pipeline] } 00:54:31 $ docker stop --time=1 ec2b073a8e9dac021ac4a9aa7a9347b773c09489e843793b52ed76d7a015e0dc 00:54:32 $ docker rm -f --volumes ec2b073a8e9dac021ac4a9aa7a9347b773c09489e843793b52ed76d7a015e0dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:32 + docker inspect -f . ci-base-image-x86_64 00:54:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:32 prd-ubuntu20.04-docker-8c-8g-17425 does not seem to be running inside a container 00:54:32 $ 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 ******** ci-base-image-x86_64 cat 00:54:33 $ docker top 30a7c926942487301e252a184858b27cfe620f3468e6c6dfa25d740f8620d9bf -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:33 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-484 [Pipeline] fileExists [Pipeline] sh 00:54:33 + make test 00:54:33 go test ./... -coverprofile=coverage.out 00:54:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:54:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:54:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements 00:54:55 go vet ./... 00:54:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:54:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:54:58 ./bin/test-attribution-txt.sh [Pipeline] echo 00:54:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:54:58 $ docker stop --time=1 30a7c926942487301e252a184858b27cfe620f3468e6c6dfa25d740f8620d9bf 00:55:01 $ docker rm -f --volumes 30a7c926942487301e252a184858b27cfe620f3468e6c6dfa25d740f8620d9bf [Pipeline] // withDockerContainer [Pipeline] sh 00:55:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:55:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:55:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:55:03 + ls -al . 00:55:03 total 188 00:55:03 drwxrwxr-x 10 jenkins jenkins 4096 May 31 00:54 . 00:55:03 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:53 .. 00:55:03 -rw-rw-r-- 1 jenkins jenkins 140 May 31 00:53 .dockerignore 00:55:03 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:53 .git 00:55:03 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:53 .github 00:55:03 -rw-rw-r-- 1 jenkins jenkins 331 May 31 00:53 .gitignore 00:55:03 -rw-rw-r-- 1 jenkins jenkins 41 May 31 00:53 .golangci.yml 00:55:03 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:53 .semver 00:55:03 -rw-rw-r-- 1 jenkins jenkins 10132 May 31 00:53 Attribution.txt 00:55:03 -rw-rw-r-- 1 jenkins jenkins 14764 May 31 00:53 CHANGELOG.md 00:55:03 -rw-rw-r-- 1 jenkins jenkins 1365 May 31 00:53 Dockerfile 00:55:03 -rw-rw-r-- 1 jenkins jenkins 677 May 31 00:53 GOVERNANCE.md 00:55:03 -rw-rw-r-- 1 jenkins jenkins 680 May 31 00:53 Jenkinsfile 00:55:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 00:53 LICENSE 00:55:03 -rw-rw-r-- 1 jenkins jenkins 1705 May 31 00:53 Makefile 00:55:03 -rw-rw-r-- 1 jenkins jenkins 622 May 31 00:53 OWNERS.md 00:55:03 -rw-rw-r-- 1 jenkins jenkins 4578 May 31 00:53 README.md 00:55:03 -rw-rw-r-- 1 jenkins jenkins 5 May 31 00:53 VERSION 00:55:03 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:53 bin 00:55:03 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:53 cmd 00:55:03 -rw-r--r-- 1 jenkins jenkins 24160 May 31 00:54 coverage.out 00:55:03 -rw-rw-r-- 1 jenkins jenkins 3405 May 31 00:53 go.mod 00:55:03 -rw-rw-r-- 1 jenkins jenkins 31664 May 31 00:53 go.sum 00:55:03 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:53 internal 00:55:03 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:53 simulator 00:55:03 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:53 snap 00:55:03 -rw-rw-r-- 1 jenkins jenkins 229 May 31 00:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:03 + 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=73c3e2d1572060524067cf3c54d5579e72bfbe11 --label arch=amd64 --label version=0.0.0 . 00:55:03 Sending build context to Docker daemon 6.596MB 00:55:03 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:55:03 Step 2/22 : FROM ${BASE} AS builder 00:55:03 ---> 00255c9cc24c 00:55:03 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:55:03 ---> Running in 60ad516aae8c 00:55:03 Removing intermediate container 60ad516aae8c 00:55:03 ---> 390f9692a3e2 00:55:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:03 ---> Running in dfbc8a87a0fb 00:55:03 Removing intermediate container dfbc8a87a0fb 00:55:03 ---> 54f9be33e0ec 00:55:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:55:03 ---> Running in 0ace5111a790 00:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:04 OK: 270 MiB in 61 packages 00:55:04 Removing intermediate container 0ace5111a790 00:55:04 ---> 956e6169e31e 00:55:04 Step 6/22 : WORKDIR /device-modbus-go 00:55:04 ---> Running in ae0c247a5f75 00:55:04 Removing intermediate container ae0c247a5f75 00:55:04 ---> 8a66c53fae2d 00:55:04 Step 7/22 : COPY go.mod vendor* ./ 00:55:05 ---> de03359a3376 00:55:05 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:05 ---> Running in 776205be7464 00:55:05 Removing intermediate container 776205be7464 00:55:05 ---> 10fc6ddb7931 00:55:05 Step 9/22 : COPY . . 00:55:06 ---> 7b11dc0ff39a 00:55:06 Step 10/22 : RUN ${MAKE} 00:55:06 ---> Running in beb08046dcf0 00:55:06 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:28 Removing intermediate container beb08046dcf0 00:55:28 ---> c3ccea965288 00:55:28 Step 11/22 : FROM alpine:3.17 00:55:28 3.17: Pulling from library/alpine 00:55:28 f56be85fc22e: Already exists 00:55:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:55:28 Status: Downloaded newer image for alpine:3.17 00:55:28 ---> 9ed4aefc74f6 00:55:28 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:55:28 ---> Running in 669247e474bb 00:55:28 Removing intermediate container 669247e474bb 00:55:28 ---> e96f4e607004 00:55:28 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:55:28 ---> Running in da80d32c8be3 00:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:28 (1/1) Installing dumb-init (1.2.5-r2) 00:55:28 Executing busybox-1.35.0-r29.trigger 00:55:28 OK: 7 MiB in 16 packages 00:55:28 Removing intermediate container da80d32c8be3 00:55:28 ---> fb33ab44b1ee 00:55:28 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:55:28 ---> c0db5a327e10 00:55:28 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:55:28 ---> 6bddc3a6ea4d 00:55:28 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:55:28 ---> 8b4cd018f8d4 00:55:28 Step 17/22 : EXPOSE 59901 00:55:28 ---> Running in f7957085450c 00:55:28 Removing intermediate container f7957085450c 00:55:28 ---> 7dc0aba12364 00:55:28 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:55:28 ---> Running in d627d63ffa1c 00:55:28 Removing intermediate container d627d63ffa1c 00:55:28 ---> 80070d40d9f2 00:55:28 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:55:28 ---> Running in b662e4a3f16b 00:55:28 Removing intermediate container b662e4a3f16b 00:55:28 ---> 88e61f1c5ec4 00:55:28 Step 20/22 : LABEL arch=amd64 00:55:28 ---> Running in 7b044c8a3180 00:55:29 Removing intermediate container 7b044c8a3180 00:55:29 ---> 43e3a0385491 00:55:29 Step 21/22 : LABEL git_sha=73c3e2d1572060524067cf3c54d5579e72bfbe11 00:55:29 ---> Running in 821ca31f1668 00:55:29 Removing intermediate container 821ca31f1668 00:55:29 ---> 13906952a41c 00:55:29 Step 22/22 : LABEL version=0.0.0 00:55:29 ---> Running in 3bbe53d9c776 00:55:29 Removing intermediate container 3bbe53d9c776 00:55:29 ---> a35d4fa0ba8c 00:55:29 [Warning] One or more build-args [ARCH] were not consumed 00:55:29 Successfully built a35d4fa0ba8c 00:55:29 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:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:29 00:55:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:30 latest: Pulling from edgex-lftools-log-publisher 00:55:30 5eb5b503b376: Pulling fs layer 00:55:30 5c69ac0246d0: Pulling fs layer 00:55:30 ec43610c2a17: Pulling fs layer 00:55:30 3a2ae6a8a46f: Pulling fs layer 00:55:30 33b1e0a273af: Pulling fs layer 00:55:30 5d3b04190fa2: Pulling fs layer 00:55:30 2f39f015ded8: Pulling fs layer 00:55:30 33b1e0a273af: Waiting 00:55:30 5d3b04190fa2: Waiting 00:55:30 3a2ae6a8a46f: Waiting 00:55:30 2f39f015ded8: Waiting 00:55:30 5c69ac0246d0: Verifying Checksum 00:55:30 5c69ac0246d0: Download complete 00:55:30 3a2ae6a8a46f: Download complete 00:55:30 33b1e0a273af: Verifying Checksum 00:55:30 33b1e0a273af: Download complete 00:55:30 ec43610c2a17: Verifying Checksum 00:55:30 ec43610c2a17: Download complete 00:55:30 5d3b04190fa2: Download complete 00:55:30 5eb5b503b376: Verifying Checksum 00:55:30 5eb5b503b376: Download complete 00:55:31 2f39f015ded8: Download complete 00:55:32 5eb5b503b376: Pull complete 00:55:32 5c69ac0246d0: Pull complete 00:55:32 ec43610c2a17: Pull complete 00:55:32 3a2ae6a8a46f: Pull complete 00:55:32 33b1e0a273af: Pull complete 00:55:33 5d3b04190fa2: Pull complete 00:55:37 2f39f015ded8: Pull complete 00:55:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:55:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:37 prd-ubuntu20.04-docker-8c-8g-17425 does not seem to be running inside a container 00:55:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:55:46 $ docker top c3064b77b8db86699cb159a4be7deb44d5bfa74a29dcb61cdf0b21ee0c3a8c8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:46 ---> job-cost.sh 00:55:46 lf-activate-venv: SKIPPING 00:55:46 INFO: No Stack... 00:55:47 INFO: Retrieving Pricing Info for: v3-standard-8 00:55:47 INFO: Archiving Costs [Pipeline] sh 00:55:47 + cat /w/workspace/xfoundry_device-modbus-go_PR-484/archives/cost.csv 00:55:47 + cut -d, -f6 [Pipeline] lock 00:55:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-484-7-stack-cost] 00:55:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-484-7-stack-cost] did not exist. Created. 00:55:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-484-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:55:48 + echo total: 0.2199999988079071 [Pipeline] stash 00:55:48 Stashed 1 file(s) [Pipeline] } 00:55:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-484-7-stack-cost] [Pipeline] // lock [Pipeline] } 00:55:48 $ docker stop --time=1 c3064b77b8db86699cb159a4be7deb44d5bfa74a29dcb61cdf0b21ee0c3a8c8e 00:55:49 $ docker rm -f --volumes c3064b77b8db86699cb159a4be7deb44d5bfa74a29dcb61cdf0b21ee0c3a8c8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:56:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17428 in /w/workspace/xfoundry_device-modbus-go_PR-484 [Pipeline] { [Pipeline] ws 00:56:56 Running in /w/workspace/device-modbus-go/7 [Pipeline] { [Pipeline] checkout 00:56:56 Selected Git installation does not exist. Using Default 00:56:56 The recommended git tool is: NONE 00:57:02 using credential edgex-jenkins-ssh 00:57:02 Cloning the remote Git repository 00:57:02 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:57:02 > git init /w/workspace/device-modbus-go/7 # timeout=10 00:57:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:57:02 > git --version # timeout=10 00:57:02 > git --version # 'git version 2.25.1' 00:57:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:57:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:05 Merging remotes/origin/main commit 18e5bddd1624945f7f79c46e89df23b543e6953b into PR head commit 9bde2d747de05544a39dfcd72cdc82a601752da1 00:57:06 Merge succeeded, producing 3be9f9f9341dc85f2a410e39c7b928f31ab61a09 00:57:06 Checking out Revision 3be9f9f9341dc85f2a410e39c7b928f31ab61a09 (PR-484) 00:57:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:57:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:57:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:05 > 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:57:05 > git config core.sparsecheckout # timeout=10 00:57:05 > git checkout -f 9bde2d747de05544a39dfcd72cdc82a601752da1 # timeout=10 00:57:05 > git remote # timeout=10 00:57:05 > git config --get remote.origin.url # timeout=10 00:57:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:06 > git merge 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 00:57:06 > git rev-parse HEAD^{commit} # timeout=10 00:57:06 > git config core.sparsecheckout # timeout=10 00:57:06 > git checkout -f 3be9f9f9341dc85f2a410e39c7b928f31ab61a09 # timeout=10 00:57:09 Commit message: "Merge commit '18e5bddd1624945f7f79c46e89df23b543e6953b' into HEAD" 00:57:09 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:57:10 % Total % Received % Xferd Average Speed Time Time Time Current 00:57:10 Dload Upload Total Spent Left Speed 00:57:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 00:57:09 > git rev-list --no-walk fb70f3ad2e85cd4029202ad14d1614efe3d97380 # timeout=10 00:57:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:57:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:57:11 + sudo tee /etc/docker/daemon.new 00:57:11 { 00:57:11 "registry-mirrors": [ 00:57:11 "https://nexus3.edgexfoundry.org:10001" 00:57:11 ], 00:57:11 "bip": "10.250.0.254/24", 00:57:11 "hosts": [ 00:57:11 "tcp://0.0.0.0:5555", 00:57:11 "unix:///var/run/docker.sock" 00:57:11 ], 00:57:11 "mtu": 1458, 00:57:11 "selinux-enabled": true, 00:57:11 "seccomp-profile": "/etc/docker/seccomp.json" 00:57:11 } [Pipeline] sh 00:57:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:57:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:31 provisioning config files... 00:57:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/7@tmp/config15171240856353048509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:31 ---> docker-login.sh 00:57:31 nexus3.edgexfoundry.org:10001 00:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:32 Configure a credential helper to remove this warning. See 00:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:32 00:57:32 Login Succeeded 00:57:32 nexus3.edgexfoundry.org:10002 00:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:32 Configure a credential helper to remove this warning. See 00:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:32 00:57:32 Login Succeeded 00:57:32 nexus3.edgexfoundry.org:10003 00:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:32 Configure a credential helper to remove this warning. See 00:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:32 00:57:32 Login Succeeded 00:57:32 nexus3.edgexfoundry.org:10004 00:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:33 Configure a credential helper to remove this warning. See 00:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:33 00:57:33 Login Succeeded 00:57:33 docker.io 00:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:33 Configure a credential helper to remove this warning. See 00:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:33 00:57:33 Login Succeeded 00:57:33 ---> docker-login.sh ends [Pipeline] } 00:57:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:57:34 ========================================================= 00:57:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:57:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:34 + 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:57:34 Sending build context to Docker daemon 3.447MB 00:57:34 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:57:34 Step 2/10 : FROM ${BASE} AS builder 00:57:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:57:34 c41833b44d91: Pulling fs layer 00:57:34 ed15518f5707: Pulling fs layer 00:57:34 feae8fd75edb: Pulling fs layer 00:57:34 242c74f7c9fa: Pulling fs layer 00:57:34 3cdef696dda3: Pulling fs layer 00:57:34 2ced38df9373: Pulling fs layer 00:57:34 58f1dce35555: Pulling fs layer 00:57:34 242c74f7c9fa: Waiting 00:57:34 3cdef696dda3: Waiting 00:57:34 2ced38df9373: Waiting 00:57:34 58f1dce35555: Waiting 00:57:34 ed15518f5707: Verifying Checksum 00:57:34 ed15518f5707: Download complete 00:57:34 242c74f7c9fa: Verifying Checksum 00:57:34 242c74f7c9fa: Download complete 00:57:34 3cdef696dda3: Verifying Checksum 00:57:34 3cdef696dda3: Download complete 00:57:34 c41833b44d91: Verifying Checksum 00:57:34 c41833b44d91: Download complete 00:57:36 c41833b44d91: Pull complete 00:57:36 58f1dce35555: Verifying Checksum 00:57:36 58f1dce35555: Download complete 00:57:36 ed15518f5707: Pull complete 00:57:37 feae8fd75edb: Download complete 00:57:37 2ced38df9373: Verifying Checksum 00:57:37 2ced38df9373: Download complete 00:57:52 feae8fd75edb: Pull complete 00:57:52 242c74f7c9fa: Pull complete 00:57:52 3cdef696dda3: Pull complete 00:57:58 2ced38df9373: Pull complete 00:58:00 58f1dce35555: Pull complete 00:58:00 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:58:00 ---> fadd8f120f05 00:58:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:58:02 ---> Running in 410a61c0aba4 00:58:02 Removing intermediate container 410a61c0aba4 00:58:02 ---> 3c88eb62b82b 00:58:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:58:02 ---> Running in 4cf41db4878f 00:58:03 Removing intermediate container 4cf41db4878f 00:58:03 ---> 2871accee8ea 00:58:03 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:58:03 ---> Running in 9181477bfcfe 00:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:58:06 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:58:06 (2/8) Installing libedit (20221030.3.1-r0) 00:58:06 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:58:06 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:58:06 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:58:06 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:58:06 (7/8) Installing openssh-server (9.1_p1-r3) 00:58:06 (8/8) Installing openssh (9.1_p1-r3) 00:58:06 Executing busybox-1.35.0-r29.trigger 00:58:06 OK: 270 MiB in 61 packages 00:58:08 Removing intermediate container 9181477bfcfe 00:58:08 ---> 17cb9958eed1 00:58:08 Step 6/10 : WORKDIR /device-modbus-go 00:58:08 ---> Running in ff3d3cbb1b69 00:58:08 Removing intermediate container ff3d3cbb1b69 00:58:08 ---> b6dd54f4c14b 00:58:08 Step 7/10 : COPY go.mod vendor* ./ 00:58:08 ---> a2897beb88a5 00:58:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:58:09 ---> Running in 677ca606613c 00:59:17 Removing intermediate container 677ca606613c 00:59:17 ---> e5416e29e081 00:59:17 Step 9/10 : COPY . . 00:59:17 ---> f90ef414094e 00:59:17 Step 10/10 : RUN ${MAKE} 00:59:17 ---> Running in 07d213cef715 00:59:17 noop 00:59:17 Removing intermediate container 07d213cef715 00:59:17 ---> 600466451e97 00:59:17 Successfully built 600466451e97 00:59:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:18 + docker inspect -f . ci-base-image-arm64 00:59:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:18 prd-ubuntu20.04-docker-arm64-4c-16g-17428 does not seem to be running inside a container 00:59:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/7 -v /w/workspace/device-modbus-go/7:/w/workspace/device-modbus-go/7:rw,z -v /w/workspace/device-modbus-go/7@tmp:/w/workspace/device-modbus-go/7@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:59:19 $ docker top 3f2f8fd4f66594b6cb1f58bc2eeda813f2b2c517ec1594b30134cbcbd6df4866 -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:20 + go version 00:59:20 go version go1.20.2 linux/arm64 [Pipeline] } 00:59:20 $ docker stop --time=1 3f2f8fd4f66594b6cb1f58bc2eeda813f2b2c517ec1594b30134cbcbd6df4866 00:59:22 $ docker rm -f --volumes 3f2f8fd4f66594b6cb1f58bc2eeda813f2b2c517ec1594b30134cbcbd6df4866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:22 + docker inspect -f . ci-base-image-arm64 00:59:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:22 prd-ubuntu20.04-docker-arm64-4c-16g-17428 does not seem to be running inside a container 00:59:22 $ 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/7 -v /w/workspace/device-modbus-go/7:/w/workspace/device-modbus-go/7:rw,z -v /w/workspace/device-modbus-go/7@tmp:/w/workspace/device-modbus-go/7@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:59:24 $ docker top f6f6fc44b6f7987bfc4bc7f759090f3c2659f2aed4799ee70b5be7fe1c65f46c -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:24 + git config --global --add safe.directory /w/workspace/device-modbus-go/7 [Pipeline] fileExists [Pipeline] sh 00:59:25 + make test 00:59:25 go test ./... -coverprofile=coverage.out 01:00:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:02:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:02:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.4% of statements 01:02:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:02:11 go vet ./... 01:02:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:02:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:02:50 ./bin/test-attribution-txt.sh [Pipeline] echo 01:02:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:02:50 $ docker stop --time=1 f6f6fc44b6f7987bfc4bc7f759090f3c2659f2aed4799ee70b5be7fe1c65f46c 01:02:52 $ docker rm -f --volumes f6f6fc44b6f7987bfc4bc7f759090f3c2659f2aed4799ee70b5be7fe1c65f46c [Pipeline] // withDockerContainer [Pipeline] sh 01:02:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:02:53 Warning: overwriting stash ‘coverage-report’ 01:02:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:02:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:02:54 + ls -al . 01:02:54 total 184 01:02:54 drwxrwxr-x 9 jenkins jenkins 4096 May 31 00:59 . 01:02:54 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:57 .. 01:02:54 -rw-rw-r-- 1 jenkins jenkins 140 May 31 00:57 .dockerignore 01:02:54 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:57 .git 01:02:54 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:57 .github 01:02:54 -rw-rw-r-- 1 jenkins jenkins 331 May 31 00:57 .gitignore 01:02:54 -rw-rw-r-- 1 jenkins jenkins 41 May 31 00:57 .golangci.yml 01:02:54 -rw-rw-r-- 1 jenkins jenkins 10132 May 31 00:57 Attribution.txt 01:02:54 -rw-rw-r-- 1 jenkins jenkins 14764 May 31 00:57 CHANGELOG.md 01:02:54 -rw-rw-r-- 1 jenkins jenkins 1365 May 31 00:57 Dockerfile 01:02:54 -rw-rw-r-- 1 jenkins jenkins 677 May 31 00:57 GOVERNANCE.md 01:02:54 -rw-rw-r-- 1 jenkins jenkins 680 May 31 00:57 Jenkinsfile 01:02:54 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 00:57 LICENSE 01:02:54 -rw-rw-r-- 1 jenkins jenkins 1705 May 31 00:57 Makefile 01:02:54 -rw-rw-r-- 1 jenkins jenkins 622 May 31 00:57 OWNERS.md 01:02:54 -rw-rw-r-- 1 jenkins jenkins 4578 May 31 00:57 README.md 01:02:54 -rw-rw-r-- 1 jenkins jenkins 5 May 31 00:53 VERSION 01:02:54 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:57 bin 01:02:54 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:57 cmd 01:02:54 -rw-r--r-- 1 jenkins jenkins 24160 May 31 01:02 coverage.out 01:02:54 -rw-rw-r-- 1 jenkins jenkins 3405 May 31 00:57 go.mod 01:02:54 -rw-rw-r-- 1 jenkins jenkins 31664 May 31 00:57 go.sum 01:02:54 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:57 internal 01:02:54 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:57 simulator 01:02:54 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:57 snap 01:02:54 -rw-rw-r-- 1 jenkins jenkins 229 May 31 00:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:55 + 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=3be9f9f9341dc85f2a410e39c7b928f31ab61a09 --label arch=arm64 --label version=0.0.0 . 01:02:55 Sending build context to Docker daemon 3.472MB 01:02:55 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 01:02:55 Step 2/22 : FROM ${BASE} AS builder 01:02:55 ---> 600466451e97 01:02:55 Step 3/22 : ARG ADD_BUILD_TAGS="" 01:02:55 ---> Running in 73a7ccf542a1 01:02:56 Removing intermediate container 73a7ccf542a1 01:02:56 ---> e0ab79eb7493 01:02:56 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:02:56 ---> Running in 05fe18aa75a1 01:02:56 Removing intermediate container 05fe18aa75a1 01:02:56 ---> a1a568a8e377 01:02:56 Step 5/22 : RUN apk add --update --no-cache make git openssh 01:02:56 ---> Running in 079763d99d26 01:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:02:59 OK: 270 MiB in 61 packages 01:03:00 Removing intermediate container 079763d99d26 01:03:00 ---> cbfce95658cc 01:03:00 Step 6/22 : WORKDIR /device-modbus-go 01:03:00 ---> Running in cf504696424e 01:03:01 Removing intermediate container cf504696424e 01:03:01 ---> d599ba7901dc 01:03:01 Step 7/22 : COPY go.mod vendor* ./ 01:03:01 ---> df19166c5127 01:03:01 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:03:01 ---> Running in 31183017055a 01:03:04 Removing intermediate container 31183017055a 01:03:04 ---> 5cb9d1988317 01:03:04 Step 9/22 : COPY . . 01:03:05 ---> f1f1711da75c 01:03:05 Step 10/22 : RUN ${MAKE} 01:03:05 ---> Running in 18af0c6c9240 01:03:06 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:05:28 Removing intermediate container 18af0c6c9240 01:05:28 ---> 55d9d8ec757d 01:05:28 Step 11/22 : FROM alpine:3.17 01:05:28 3.17: Pulling from library/alpine 01:05:28 c41833b44d91: Already exists 01:05:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:05:28 Status: Downloaded newer image for alpine:3.17 01:05:28 ---> 51e60588ff2c 01:05:28 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:05:28 ---> Running in 183fe62295da 01:05:28 Removing intermediate container 183fe62295da 01:05:28 ---> 839eeaca9690 01:05:28 Step 13/22 : RUN apk add --update --no-cache dumb-init 01:05:28 ---> Running in c19907b71554 01:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:05:28 (1/1) Installing dumb-init (1.2.5-r2) 01:05:28 Executing busybox-1.35.0-r29.trigger 01:05:28 OK: 8 MiB in 16 packages 01:05:28 Removing intermediate container c19907b71554 01:05:28 ---> 9d3c326186ee 01:05:28 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 01:05:28 ---> a446a030d3db 01:05:28 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 01:05:28 ---> 416ced63b242 01:05:28 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:05:28 ---> bb09a9578551 01:05:28 Step 17/22 : EXPOSE 59901 01:05:28 ---> Running in dc6724ea3192 01:05:28 Removing intermediate container dc6724ea3192 01:05:28 ---> 24468980877d 01:05:28 Step 18/22 : ENTRYPOINT ["/device-modbus"] 01:05:28 ---> Running in 990d4daccae8 01:05:29 Removing intermediate container 990d4daccae8 01:05:29 ---> 18f92b3ce7b0 01:05:29 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:05:29 ---> Running in 26bbd16bada6 01:05:29 Removing intermediate container 26bbd16bada6 01:05:29 ---> 3df198d8ab2d 01:05:29 Step 20/22 : LABEL arch=arm64 01:05:29 ---> Running in ebf6ac072bc9 01:05:29 Removing intermediate container ebf6ac072bc9 01:05:29 ---> dace4c3ff6d2 01:05:29 Step 21/22 : LABEL git_sha=3be9f9f9341dc85f2a410e39c7b928f31ab61a09 01:05:29 ---> Running in 7868e462c646 01:05:30 Removing intermediate container 7868e462c646 01:05:30 ---> bd3be8c69955 01:05:30 Step 22/22 : LABEL version=0.0.0 01:05:30 ---> Running in aa35fc302a7e 01:05:30 Removing intermediate container aa35fc302a7e 01:05:30 ---> 1d1ebb4bb38e 01:05:30 [Warning] One or more build-args [ARCH] were not consumed 01:05:30 Successfully built 1d1ebb4bb38e 01:05:30 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:05:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:30 01:05:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:35 arm64: Pulling from edgex-lftools-log-publisher 01:05:35 8998bd30e6a1: Pulling fs layer 01:05:35 04944245beec: Pulling fs layer 01:05:35 699f458cf7ca: Pulling fs layer 01:05:35 765212b225bb: Pulling fs layer 01:05:35 f23df028b6ca: Pulling fs layer 01:05:35 d65c8cfc05b1: Pulling fs layer 01:05:35 2437ff75d9bd: Pulling fs layer 01:05:35 765212b225bb: Waiting 01:05:35 f23df028b6ca: Waiting 01:05:35 d65c8cfc05b1: Waiting 01:05:35 2437ff75d9bd: Waiting 01:05:35 04944245beec: Verifying Checksum 01:05:35 04944245beec: Download complete 01:05:35 765212b225bb: Verifying Checksum 01:05:35 765212b225bb: Download complete 01:05:35 f23df028b6ca: Verifying Checksum 01:05:35 f23df028b6ca: Download complete 01:05:35 d65c8cfc05b1: Verifying Checksum 01:05:35 d65c8cfc05b1: Download complete 01:05:35 699f458cf7ca: Verifying Checksum 01:05:35 699f458cf7ca: Download complete 01:05:35 8998bd30e6a1: Verifying Checksum 01:05:35 8998bd30e6a1: Download complete 01:05:38 2437ff75d9bd: Verifying Checksum 01:05:38 2437ff75d9bd: Download complete 01:05:39 8998bd30e6a1: Pull complete 01:05:39 04944245beec: Pull complete 01:05:41 699f458cf7ca: Pull complete 01:05:41 765212b225bb: Pull complete 01:05:42 f23df028b6ca: Pull complete 01:05:42 d65c8cfc05b1: Pull complete 01:05:57 2437ff75d9bd: Pull complete 01:05:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:05:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:57 prd-ubuntu20.04-docker-arm64-4c-16g-17428 does not seem to be running inside a container 01:05:57 $ 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/7 -v /w/workspace/device-modbus-go/7:/w/workspace/device-modbus-go/7:rw,z -v /w/workspace/device-modbus-go/7@tmp:/w/workspace/device-modbus-go/7@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:06:00 $ docker top 559fb90de9d0a4cc167d21fb9327b64b8b8c4a7ff3c12a9419967559812afef5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:01 ---> job-cost.sh 01:06:01 lf-activate-venv: SKIPPING 01:06:01 INFO: No Stack... 01:06:01 INFO: Retrieving Pricing Info for: v3-standard-4 01:06:02 INFO: Archiving Costs [Pipeline] sh 01:06:03 + cat /w/workspace/device-modbus-go/7/archives/cost.csv 01:06:03 + cut -d, -f6 [Pipeline] lock 01:06:03 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-484-7-stack-cost] 01:06:03 Resource [jenkins-edgexfoundry-device-modbus-go-PR-484-7-stack-cost] did not exist. Created. 01:06:03 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-484-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:04 /w/workspace/device-modbus-go/7@tmp/durable-16dac46f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:06:04 + echo total: 0.10999999940395355 [Pipeline] stash 01:06:04 Warning: overwriting stash ‘stack-cost’ 01:06:04 Stashed 1 file(s) [Pipeline] } 01:06:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-484-7-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:04 $ docker stop --time=1 559fb90de9d0a4cc167d21fb9327b64b8b8c4a7ff3c12a9419967559812afef5 01:06:06 $ docker rm -f --volumes 559fb90de9d0a4cc167d21fb9327b64b8b8c4a7ff3c12a9419967559812afef5 [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:06:06 provisioning config files... 01:06:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/config9667567869362288407tmp [Pipeline] { [Pipeline] sh 01:06:06 + set +x 01:06:06 + curl+ -s https://codecov.io/bash 01:06:06 bash -s -- 01:06:06 01:06:06 _____ _ 01:06:06 / ____| | | 01:06:06 | | ___ __| | ___ ___ _____ __ 01:06:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:06:06 | |___| (_) | (_| | __/ (_| (_) \ V / 01:06:06 \_____\___/ \__,_|\___|\___\___/ \_/ 01:06:06 Bash-1.0.6 01:06:06 01:06:06 01:06:06 ==> git version 2.25.1 found 01:06:06 ==> 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:06:06 Release-Date: 2020-01-08 01:06:06 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:06:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:06:06 ==> Jenkins CI detected. 01:06:06 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-484 01:06:06 project root: . 01:06:06 --> token set from env 01:06:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:06:06 ==> Running gcov in . (disable via -X gcov) 01:06:06 ==> Python coveragepy not found 01:06:06 ==> Searching for coverage reports in: 01:06:06 + . 01:06:06 -> Found 1 reports 01:06:06 ==> Detecting git/mercurial file structure 01:06:06 ==> Reading reports 01:06:07 + ./coverage.out bytes=24160 01:06:07 ==> Appending adjustments 01:06:07 https://docs.codecov.io/docs/fixing-reports 01:06:07 + Found adjustments 01:06:07 ==> Gzipping contents 01:06:07 4.0K /tmp/codecov.eQivNI.gz 01:06:07 ==> Uploading reports 01:06:07 url: https://codecov.io 01:06:07 query: branch=PR-484&commit=73c3e2d1572060524067cf3c54d5579e72bfbe11&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-484%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=484&job=&cmd_args= 01:06:07 -> Pinging Codecov 01:06:07 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=73c3e2d1572060524067cf3c54d5579e72bfbe11&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-484%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=484&job=&cmd_args= 01:06:09 -> Uploading to 01:06:09 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/55DBCA73C666E3227836607328DD7E49/73c3e2d1572060524067cf3c54d5579e72bfbe11/78ec4b2f-9e12-40fc-b91a-fd6b3b46610d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T010608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d76a6d2d4503906c373e9acef36a9e2060c75478043989232c899e7c3e4f66be 01:06:09 % Total % Received % Xferd Average Speed Time Time Time Current 01:06:09 Dload Upload Total Spent Left Speed 01:06:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17836 --:--:-- --:--:-- --:--:-- 17755 100 3924 0 0 100 3924 0 17440 --:--:-- --:--:-- --:--:-- 17362 01:06:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/73c3e2d1572060524067cf3c54d5579e72bfbe11 [Pipeline] } 01:06:09 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:06:09 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-484/archives ] 01:06:09 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-484/archives 01:06:09 total 16 01:06:09 drwxr-xr-x 3 root root 4096 May 31 00:55 . 01:06:09 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:55 .. 01:06:09 drwxr-xr-x 2 root root 4096 May 31 00:55 cost 01:06:09 -rw-r--r-- 1 root root 88 May 31 00:55 cost.csv 01:06:09 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-484/archives 01:06:09 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-484/archives 01:06:09 total 16 01:06:09 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:55 . 01:06:09 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:55 .. 01:06:09 drwxr-xr-x 2 jenkins jenkins 4096 May 31 00:55 cost 01:06:09 -rw-r--r-- 1 jenkins jenkins 88 May 31 00:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:06:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:06:11 ---> package-listing.sh 01:06:11 ++ facter osfamily 01:06:11 ++ tr '[:upper:]' '[:lower:]' 01:06:11 + OS_FAMILY=debian 01:06:11 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-484 01:06:11 + START_PACKAGES=/tmp/packages_start.txt 01:06:11 + END_PACKAGES=/tmp/packages_end.txt 01:06:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:06:11 + PACKAGES=/tmp/packages_start.txt 01:06:11 + '[' /w/workspace/xfoundry_device-modbus-go_PR-484 ']' 01:06:11 + PACKAGES=/tmp/packages_end.txt 01:06:11 + case "${OS_FAMILY}" in 01:06:11 + dpkg -l 01:06:11 + grep '^ii' 01:06:11 + '[' -f /tmp/packages_start.txt ']' 01:06:11 + '[' -f /tmp/packages_end.txt ']' 01:06:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:06:11 + '[' /w/workspace/xfoundry_device-modbus-go_PR-484 ']' 01:06:11 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-484/archives/ 01:06:11 + 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:06:11 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:06:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:12 prd-ubuntu20.04-docker-8c-8g-17425 does not seem to be running inside a container 01:06:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:06:12 $ docker top a3ab8c20d9d2f323654e34a185776dd3dc6f6a82374ebdb643bdeb01d6bae792 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:12 + touch /tmp/pre-build-complete [Pipeline] sh 01:06:13 + mkdir -p /var/log/sysstat [Pipeline] sh 01:06:13 + ls /var/log/sa-host 01:06:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:06:13 provisioning config files... 01:06:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-484@tmp/config16373398319177923674tmp [Pipeline] { [Pipeline] echo 01:06:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:06:13 ---> create-netrc.sh [Pipeline] } 01:06:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:06:14 ---> python-tools-install.sh [Pipeline] echo 01:06:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:06:14 ---> sudo-logs.sh 01:06:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:06:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:06:14 ---> job-cost.sh 01:06:14 lf-activate-venv: SKIPPING 01:06:14 DEBUG: total: 0.2199999988079071 01:06:14 INFO: Retrieving Stack Cost... 01:06:15 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:15 INFO: Archiving Costs [Pipeline] echo 01:06:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:06:15 ---> logs-deploy.sh 01:06:15 lf-activate-venv: SKIPPING 01:06:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-484/7 01:06:15 INFO: archiving workspace using pattern(s): 01:06:16 Archives upload complete. 01:06:16 INFO: archiving logs to Nexus