Pull request #492 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of mglmc for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 06c6c40304b77554eb9683b844624724d2909e81 rather than 17dc72f002ebf344085b9a752535fb7c34705e89 Obtained Jenkinsfile from 06c6c40304b77554eb9683b844624724d2909e81 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-ssh16602874985372543700.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16529653176925013237.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-492/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-492/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1549336992898309750.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh10930446414390877235.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-492/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-492/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10770968943035719176.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2818 in /w/workspace/xfoundry_device-modbus-go_PR-492 [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-492 # 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/492/head:refs/remotes/origin/PR-492 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 06c6c40304b77554eb9683b844624724d2909e81 into PR head commit 17dc72f002ebf344085b9a752535fb7c34705e89 Merge succeeded, producing 17dc72f002ebf344085b9a752535fb7c34705e89 Checking out Revision 17dc72f002ebf344085b9a752535fb7c34705e89 (PR-492) > git config core.sparsecheckout # timeout=10 > git checkout -f 17dc72f002ebf344085b9a752535fb7c34705e89 # 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 06c6c40304b77554eb9683b844624724d2909e81 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17dc72f002ebf344085b9a752535fb7c34705e89 # timeout=10 Commit message: "feat: rawType int32 for valueType float64 added" First time build. Skipping changelog. > git rev-list --no-walk b0e8a58a81210339d7ff3e2d7790a874b0dd29b3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:19:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:19:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:19:24 ========================================================= 07:19:24 EdgeX Global Pipelines Version Info 07:19:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:19:25 ------------------- 07:19:25 stable info: 07:19:25 ------------------- 07:19:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:19:25 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 07:19:25 Message: update stable to v1.0.250 07:19:26 ------------------- 07:19:26 experimental info: 07:19:26 ------------------- 07:19:26 Commited By: **** collab-it+edgex@linuxfoundation.org 07:19:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 07:19:26 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-492 [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-492 [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-492 [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17dc72f002ebf344085b9a752535fb7c34705e89 [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17dc72f [Pipeline] echo 07:19:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:26 provisioning config files... 07:19:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/config7841436176314354969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:27 ---> docker-login.sh 07:19:27 nexus3.edgexfoundry.org:10001 07:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:27 Configure a credential helper to remove this warning. See 07:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:27 07:19:27 Login Succeeded 07:19:27 nexus3.edgexfoundry.org:10002 07:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:27 Configure a credential helper to remove this warning. See 07:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:27 07:19:27 Login Succeeded 07:19:27 nexus3.edgexfoundry.org:10003 07:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:27 Configure a credential helper to remove this warning. See 07:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:27 07:19:27 Login Succeeded 07:19:27 nexus3.edgexfoundry.org:10004 07:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:28 Configure a credential helper to remove this warning. See 07:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:28 07:19:28 Login Succeeded 07:19:28 docker.io 07:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:28 Configure a credential helper to remove this warning. See 07:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:28 07:19:28 Login Succeeded 07:19:28 ---> docker-login.sh ends [Pipeline] } 07:19:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:19:28 + git rev-list -1 --merges 17dc72f002ebf344085b9a752535fb7c34705e89~1..17dc72f002ebf344085b9a752535fb7c34705e89 [Pipeline] echo 07:19:28 -----------> git rev-list -1 --merges 17dc72f002ebf344085b9a752535fb7c34705e89~1..17dc72f002ebf344085b9a752535fb7c34705e89 17dc72f002ebf344085b9a752535fb7c34705e89 [false] [Pipeline] sh 07:19:29 + git log --format=format:%s -1 17dc72f002ebf344085b9a752535fb7c34705e89 [Pipeline] echo 07:19:29 ========================================================= 07:19:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:19:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:29 + git log --format=format:%s -1 17dc72f002ebf344085b9a752535fb7c34705e89 [Pipeline] echo 07:19:29 [semverPrep] GIT_COMMIT: 17dc72f002ebf344085b9a752535fb7c34705e89, Commit Message: feat: rawType int32 for valueType float64 added [Pipeline] echo 07:19:29 [semverPrep] This is not a build commit. [Pipeline] sh 07:19:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:19:29 + grep -v github /etc/ssh/ssh_known_hosts 07:19:29 + [ -e /tmp/ssh_known_hosts ] 07:19:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:19:29 + + sudo tee -a /etc/ssh/ssh_known_hosts 07:19:29 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:19:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:30 07:19:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:30 0.1.4: Pulling from edgex-devops/py-git-semver 07:19:30 b85a868b505f: Pulling fs layer 07:19:30 e2be974225ed: Pulling fs layer 07:19:30 339a4e72a1f5: Pulling fs layer 07:19:30 988bab9f4d93: Pulling fs layer 07:19:30 1469e6f7b9e6: Pulling fs layer 07:19:30 988bab9f4d93: Waiting 07:19:30 eaf3925da568: Pulling fs layer 07:19:30 bab4dde63d76: Pulling fs layer 07:19:30 1469e6f7b9e6: Waiting 07:19:30 bde34c3a00c8: Pulling fs layer 07:19:30 eaf3925da568: Waiting 07:19:30 b352a97aabf1: Pulling fs layer 07:19:30 bab4dde63d76: Waiting 07:19:30 bde34c3a00c8: Waiting 07:19:30 4872d77fe225: Pulling fs layer 07:19:30 b352a97aabf1: Waiting 07:19:30 5851b861e8e6: Pulling fs layer 07:19:30 4872d77fe225: Waiting 07:19:30 e2be974225ed: Verifying Checksum 07:19:30 e2be974225ed: Download complete 07:19:30 988bab9f4d93: Download complete 07:19:30 1469e6f7b9e6: Verifying Checksum 07:19:30 eaf3925da568: Download complete 07:19:30 339a4e72a1f5: Verifying Checksum 07:19:30 339a4e72a1f5: Download complete 07:19:30 bde34c3a00c8: Verifying Checksum 07:19:30 bde34c3a00c8: Download complete 07:19:30 b352a97aabf1: Verifying Checksum 07:19:30 b352a97aabf1: Download complete 07:19:30 4872d77fe225: Download complete 07:19:30 5851b861e8e6: Download complete 07:19:30 b85a868b505f: Verifying Checksum 07:19:30 b85a868b505f: Download complete 07:19:33 bab4dde63d76: Verifying Checksum 07:19:33 bab4dde63d76: Download complete 07:19:35 b85a868b505f: Pull complete 07:19:35 e2be974225ed: Pull complete 07:19:36 339a4e72a1f5: Pull complete 07:19:36 988bab9f4d93: Pull complete 07:19:36 1469e6f7b9e6: Pull complete 07:19:36 eaf3925da568: Pull complete 07:19:38 bab4dde63d76: Pull complete 07:19:38 bde34c3a00c8: Pull complete 07:19:38 b352a97aabf1: Pull complete 07:19:38 4872d77fe225: Pull complete 07:19:39 5851b861e8e6: Pull complete 07:19:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:19:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:39 prd-ubuntu20.04-docker-8c-8g-2818 does not seem to be running inside a container 07:19:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@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-devops/py-git-semver:0.1.4 cat 07:19:41 $ docker top 3f8e492588a687d500ac9d845656449d390cf3d917a6559e2f7511cfe58a8f60 -eo pid,comm 07:19:41 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). 07:19:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:19:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:41 [ssh-agent] Looking for ssh-agent implementation... 07:19:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:41 $ docker exec 3f8e492588a687d500ac9d845656449d390cf3d917a6559e2f7511cfe58a8f60 ssh-agent 07:19:41 SSH_AUTH_SOCK=/tmp/ssh-W02HDShzSBeK/agent.33 07:19:41 SSH_AGENT_PID=39 07:19:41 Running ssh-add (command line suppressed) 07:19:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-492@tmp/private_key_15984056160131373612.key (/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/private_key_15984056160131373612.key) 07:19:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:42 + git tag --points-at HEAD [Pipeline] } 07:19:42 $ docker exec --env ******** --env ******** 3f8e492588a687d500ac9d845656449d390cf3d917a6559e2f7511cfe58a8f60 ssh-agent -k 07:19:42 unset SSH_AUTH_SOCK; 07:19:42 unset SSH_AGENT_PID; 07:19:42 echo Agent pid 39 killed; 07:19:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:19:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:42 [ssh-agent] Looking for ssh-agent implementation... 07:19:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:42 $ docker exec 3f8e492588a687d500ac9d845656449d390cf3d917a6559e2f7511cfe58a8f60 ssh-agent 07:19:42 SSH_AUTH_SOCK=/tmp/ssh-eIb9YHBq4y5j/agent.71 07:19:42 SSH_AGENT_PID=77 07:19:42 Running ssh-add (command line suppressed) 07:19:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-492@tmp/private_key_13911743354152428329.key (/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/private_key_13911743354152428329.key) 07:19:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:43 + git semver init 07:19:43 2023-08-03 07:19:43,383 [run_init] DEBUG init version:0.0.0 force:False 07:19:43 2023-08-03 07:19:43,383 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-492/.semver 07:19:43 2023-08-03 07:19:43,384 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-492/.semver 07:19:43 2023-08-03 07:19:43,384 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-492/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-492, universal_newlines=False, shell=None, istream=None) 07:19:45 2023-08-03 07:19:45,576 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-492/.git/info/exclude 07:19:45 2023-08-03 07:19:45,576 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-492/.semver/PR-492 with force:False 07:19:45 2023-08-03 07:19:45,577 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-492/.semver/PR-492 07:19:45 2023-08-03 07:19:45,581 [execute] INFO git cat-file --batch-check 07:19:45 2023-08-03 07:19:45,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-492/.semver, universal_newlines=False, shell=None, istream=) 07:19:45 2023-08-03 07:19:45,588 [execute] INFO git cat-file --batch 07:19:45 2023-08-03 07:19:45,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-492/.semver, universal_newlines=False, shell=None, istream=) 07:19:45 2023-08-03 07:19:45,592 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-492/.semver/PR-492 07:19:45 0.0.0 [Pipeline] } 07:19:45 $ docker exec --env ******** --env ******** 3f8e492588a687d500ac9d845656449d390cf3d917a6559e2f7511cfe58a8f60 ssh-agent -k 07:19:45 unset SSH_AUTH_SOCK; 07:19:45 unset SSH_AGENT_PID; 07:19:45 echo Agent pid 77 killed; 07:19:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:19:45 + git semver [Pipeline] } 07:19:46 $ docker stop --time=1 3f8e492588a687d500ac9d845656449d390cf3d917a6559e2f7511cfe58a8f60 07:19:47 $ docker rm -f --volumes 3f8e492588a687d500ac9d845656449d390cf3d917a6559e2f7511cfe58a8f60 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:19:47 Stashed 1 file(s) [Pipeline] echo 07:19:47 [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 07:19:48 provisioning config files... 07:19:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/config6292777037463469258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:48 ---> docker-login.sh 07:19:48 nexus3.edgexfoundry.org:10001 07:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:48 Configure a credential helper to remove this warning. See 07:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:48 07:19:48 Login Succeeded 07:19:48 nexus3.edgexfoundry.org:10002 07:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:48 Configure a credential helper to remove this warning. See 07:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:48 07:19:48 Login Succeeded 07:19:48 nexus3.edgexfoundry.org:10003 07:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:48 Configure a credential helper to remove this warning. See 07:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:48 07:19:48 Login Succeeded 07:19:48 nexus3.edgexfoundry.org:10004 07:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:48 Configure a credential helper to remove this warning. See 07:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:48 07:19:48 Login Succeeded 07:19:48 docker.io 07:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:50 Configure a credential helper to remove this warning. See 07:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:50 07:19:50 Login Succeeded 07:19:50 ---> docker-login.sh ends [Pipeline] } 07:19:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:50 ========================================================= 07:19:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:19:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:51 + 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 . 07:19:51 Sending build context to Docker daemon 6.424MB 07:19:51 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:19:51 Step 2/10 : FROM ${BASE} AS builder 07:19:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:19:51 4db1b89c0bd1: Pulling fs layer 07:19:51 6911f1a30b25: Pulling fs layer 07:19:51 e194b8c5c2a9: Pulling fs layer 07:19:51 6863d3e3a2b1: Pulling fs layer 07:19:51 ec0bb842ea78: Pulling fs layer 07:19:51 40a00589a448: Pulling fs layer 07:19:51 6c08303d61cc: Pulling fs layer 07:19:51 798269fcf238: Pulling fs layer 07:19:51 6863d3e3a2b1: Waiting 07:19:51 6c08303d61cc: Waiting 07:19:51 ec0bb842ea78: Waiting 07:19:51 40a00589a448: Waiting 07:19:51 798269fcf238: Waiting 07:19:51 6911f1a30b25: Retrying in 5 seconds 07:19:51 4db1b89c0bd1: Verifying Checksum 07:19:51 4db1b89c0bd1: Download complete 07:19:51 6863d3e3a2b1: Verifying Checksum 07:19:51 6863d3e3a2b1: Download complete 07:19:51 ec0bb842ea78: Verifying Checksum 07:19:51 ec0bb842ea78: Download complete 07:19:51 40a00589a448: Verifying Checksum 07:19:51 40a00589a448: Download complete 07:19:51 4db1b89c0bd1: Pull complete 07:19:52 e194b8c5c2a9: Verifying Checksum 07:19:52 e194b8c5c2a9: Download complete 07:19:52 6911f1a30b25: Retrying in 4 seconds 07:19:52 6c08303d61cc: Verifying Checksum 07:19:52 6c08303d61cc: Download complete 07:19:52 798269fcf238: Verifying Checksum 07:19:52 798269fcf238: Download complete 07:19:53 6911f1a30b25: Retrying in 3 seconds 07:19:54 6911f1a30b25: Retrying in 2 seconds 07:19:55 6911f1a30b25: Retrying in 1 second 07:19:56 6911f1a30b25: Retrying in 10 seconds 07:19:57 6911f1a30b25: Retrying in 9 seconds 07:19:58 6911f1a30b25: Retrying in 8 seconds 07:19:59 6911f1a30b25: Retrying in 7 seconds 07:20:00 6911f1a30b25: Retrying in 6 seconds 07:20:01 6911f1a30b25: Retrying in 5 seconds 07:20:02 6911f1a30b25: Retrying in 4 seconds 07:20:03 Still waiting to schedule task 07:20:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:20:03 6911f1a30b25: Retrying in 3 seconds 07:20:04 6911f1a30b25: Retrying in 2 seconds 07:20:05 6911f1a30b25: Retrying in 1 second 07:20:06 6911f1a30b25: Download complete 07:20:06 6911f1a30b25: Pull complete 07:20:10 e194b8c5c2a9: Pull complete 07:20:10 6863d3e3a2b1: Pull complete 07:20:10 ec0bb842ea78: Pull complete 07:20:10 40a00589a448: Pull complete 07:20:12 6c08303d61cc: Pull complete 07:20:13 798269fcf238: Pull complete 07:20:13 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:20:13 ---> ec979cd7f677 07:20:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:20:17 ---> Running in cbf4b9f8d06e 07:20:17 Removing intermediate container cbf4b9f8d06e 07:20:17 ---> 407039139677 07:20:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:17 ---> Running in f61e9c9f24bd 07:20:17 Removing intermediate container f61e9c9f24bd 07:20:17 ---> 7e032671ff96 07:20:17 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:20:17 ---> Running in 6ffc9b8e2d5e 07:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:20:18 (1/8) Installing openssh-keygen (9.1_p1-r4) 07:20:18 (2/8) Installing libedit (20221030.3.1-r0) 07:20:18 (3/8) Installing openssh-client-common (9.1_p1-r4) 07:20:18 (4/8) Installing openssh-client-default (9.1_p1-r4) 07:20:18 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 07:20:18 (6/8) Installing openssh-server-common (9.1_p1-r4) 07:20:18 (7/8) Installing openssh-server (9.1_p1-r4) 07:20:18 (8/8) Installing openssh (9.1_p1-r4) 07:20:18 Executing busybox-1.35.0-r29.trigger 07:20:18 OK: 270 MiB in 61 packages 07:20:18 Removing intermediate container 6ffc9b8e2d5e 07:20:18 ---> 35bbb2376005 07:20:18 Step 6/10 : WORKDIR /device-modbus-go 07:20:18 ---> Running in 8e4afef67d78 07:20:18 Removing intermediate container 8e4afef67d78 07:20:18 ---> 2d7d399ab59b 07:20:18 Step 7/10 : COPY go.mod vendor* ./ 07:20:18 ---> 5125997a91d4 07:20:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:18 ---> Running in 3720572071d9 07:21:06 Removing intermediate container 3720572071d9 07:21:06 ---> c4cf10931dc4 07:21:06 Step 9/10 : COPY . . 07:21:06 ---> 6d44c8176dcf 07:21:06 Step 10/10 : RUN ${MAKE} 07:21:06 ---> Running in 6fe538ac5ad4 07:21:06 noop 07:21:06 Removing intermediate container 6fe538ac5ad4 07:21:06 ---> 0484eeb241b8 07:21:06 Successfully built 0484eeb241b8 07:21:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:06 + docker inspect -f . ci-base-image-x86_64 07:21:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:06 prd-ubuntu20.04-docker-8c-8g-2818 does not seem to be running inside a container 07:21:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:07 $ docker top 4c58e44188b804178a366c7502e554b6aae9b206f05254a29238a958486250f8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:07 + go version 07:21:07 go version go1.20.6 linux/amd64 [Pipeline] } 07:21:07 $ docker stop --time=1 4c58e44188b804178a366c7502e554b6aae9b206f05254a29238a958486250f8 07:21:08 $ docker rm -f --volumes 4c58e44188b804178a366c7502e554b6aae9b206f05254a29238a958486250f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:09 + docker inspect -f . ci-base-image-x86_64 07:21:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:09 prd-ubuntu20.04-docker-8c-8g-2818 does not seem to be running inside a container 07:21:09 $ 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-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:09 $ docker top 7a45880ab399784a6d41248ac547983186a4c1111b74c6a7fd8b1536e0a4ca5c -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:09 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-492 [Pipeline] fileExists [Pipeline] sh 07:21:10 + make test 07:21:10 go test ./... -coverprofile=coverage.out 07:21:15 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:21:25 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:21:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.9% of statements 07:21:31 go vet ./... 07:21:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2819 in /w/workspace/xfoundry_device-modbus-go_PR-492 [Pipeline] { [Pipeline] ws 07:21:33 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 07:21:33 Selected Git installation does not exist. Using Default 07:21:33 The recommended git tool is: NONE 07:21:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:21:35 ./bin/test-attribution-txt.sh [Pipeline] echo 07:21:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:21:35 $ docker stop --time=1 7a45880ab399784a6d41248ac547983186a4c1111b74c6a7fd8b1536e0a4ca5c 07:21:38 using credential edgex-jenkins-ssh 07:21:38 Cloning the remote Git repository 07:21:39 $ docker rm -f --volumes 7a45880ab399784a6d41248ac547983186a4c1111b74c6a7fd8b1536e0a4ca5c [Pipeline] // withDockerContainer [Pipeline] sh 07:21:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:21:38 > git init /w/workspace/device-modbus-go/3 # timeout=10 07:21:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:21:39 > git --version # timeout=10 07:21:39 > git --version # 'git version 2.25.1' 07:21:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:21:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:21:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:21:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:40 + ls -al . 07:21:40 total 188 07:21:40 drwxrwxr-x 10 jenkins jenkins 4096 Aug 3 07:21 . 07:21:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 07:19 .. 07:21:40 -rw-rw-r-- 1 jenkins jenkins 140 Aug 3 07:19 .dockerignore 07:21:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 07:19 .git 07:21:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 07:19 .github 07:21:40 -rw-rw-r-- 1 jenkins jenkins 331 Aug 3 07:19 .gitignore 07:21:40 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 07:19 .golangci.yml 07:21:40 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 07:19 .semver 07:21:40 -rw-rw-r-- 1 jenkins jenkins 10132 Aug 3 07:19 Attribution.txt 07:21:40 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 3 07:19 CHANGELOG.md 07:21:40 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 3 07:19 Dockerfile 07:21:40 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 07:19 GOVERNANCE.md 07:21:40 -rw-rw-r-- 1 jenkins jenkins 680 Aug 3 07:19 Jenkinsfile 07:21:40 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 3 07:19 LICENSE 07:21:40 -rw-rw-r-- 1 jenkins jenkins 1705 Aug 3 07:19 Makefile 07:21:40 -rw-rw-r-- 1 jenkins jenkins 622 Aug 3 07:19 OWNERS.md 07:21:40 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 3 07:19 README.md 07:21:40 -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 07:19 VERSION 07:21:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 07:19 bin 07:21:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 07:19 cmd 07:21:40 -rw-r--r-- 1 jenkins jenkins 24334 Aug 3 07:21 coverage.out 07:21:40 -rw-rw-r-- 1 jenkins jenkins 3405 Aug 3 07:19 go.mod 07:21:40 -rw-rw-r-- 1 jenkins jenkins 31664 Aug 3 07:19 go.sum 07:21:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 07:19 internal 07:21:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 07:19 simulator 07:21:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 07:19 snap 07:21:40 -rw-rw-r-- 1 jenkins jenkins 229 Aug 3 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:21:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:21:40 + 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=17dc72f002ebf344085b9a752535fb7c34705e89 --label arch=amd64 --label version=0.0.0 . 07:21:40 Sending build context to Docker daemon 6.449MB 07:21:40 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:21:40 Step 2/22 : FROM ${BASE} AS builder 07:21:40 ---> 0484eeb241b8 07:21:40 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:21:40 ---> Running in 25bb5173c9f0 07:21:40 Removing intermediate container 25bb5173c9f0 07:21:40 ---> d55fce1e6d4c 07:21:40 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:40 ---> Running in 649863af1fa5 07:21:40 Removing intermediate container 649863af1fa5 07:21:40 ---> 1d843491684e 07:21:40 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:21:40 ---> Running in fd317a40cdc7 07:21:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:21:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:21:41 Merging remotes/origin/main commit 06c6c40304b77554eb9683b844624724d2909e81 into PR head commit 17dc72f002ebf344085b9a752535fb7c34705e89 07:21:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:21:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:21:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:21:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:21:41 > git config core.sparsecheckout # timeout=10 07:21:42 OK: 270 MiB in 61 packages 07:21:42 Merge succeeded, producing 17dc72f002ebf344085b9a752535fb7c34705e89 07:21:42 Checking out Revision 17dc72f002ebf344085b9a752535fb7c34705e89 (PR-492) 07:21:42 Removing intermediate container fd317a40cdc7 07:21:42 ---> 30ca89eded08 07:21:42 Step 6/22 : WORKDIR /device-modbus-go 07:21:42 ---> Running in 2057a702939f 07:21:42 Removing intermediate container 2057a702939f 07:21:42 ---> 204008d99cc3 07:21:42 Step 7/22 : COPY go.mod vendor* ./ 07:21:42 ---> 18315dfedb68 07:21:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:42 ---> Running in 75f4e9d87799 07:21:43 Removing intermediate container 75f4e9d87799 07:21:43 ---> b2afa802c363 07:21:43 Step 9/22 : COPY . . 07:21:41 > git checkout -f 17dc72f002ebf344085b9a752535fb7c34705e89 # timeout=10 07:21:42 > git remote # timeout=10 07:21:42 > git config --get remote.origin.url # timeout=10 07:21:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:21:42 > git merge 06c6c40304b77554eb9683b844624724d2909e81 # timeout=10 07:21:42 > git rev-parse HEAD^{commit} # timeout=10 07:21:42 > git config core.sparsecheckout # timeout=10 07:21:42 > git checkout -f 17dc72f002ebf344085b9a752535fb7c34705e89 # timeout=10 07:21:43 ---> db555a2b9c51 07:21:43 Step 10/22 : RUN ${MAKE} 07:21:43 ---> Running in 746b02fddae0 07:21:43 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 07:21:45 Commit message: "feat: rawType int32 for valueType float64 added" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:21:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:21:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:21:46 Dload Upload Total Spent Left Speed 07:21:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 40097 0 --:--:-- --:--:-- --:--:-- 39971 [Pipeline] sh 07:21:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:21:47 + sudo tee /etc/docker/daemon.new 07:21:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:21:47 { 07:21:47 "registry-mirrors": [ 07:21:47 "https://nexus3.edgexfoundry.org:10001" 07:21:47 ], 07:21:47 "bip": "10.250.0.254/24", 07:21:47 "hosts": [ 07:21:47 "tcp://0.0.0.0:5555", 07:21:47 "unix:///var/run/docker.sock" 07:21:47 ], 07:21:47 "mtu": 1458, 07:21:47 "selinux-enabled": true, 07:21:47 "seccomp-profile": "/etc/docker/seccomp.json" 07:21:47 } [Pipeline] sh 07:21:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:21:48 + sudo service docker restart 07:22:05 Removing intermediate container 746b02fddae0 07:22:05 ---> 4129c9e7d8aa 07:22:05 Step 11/22 : FROM alpine:3.17 07:22:05 3.17: Pulling from library/alpine 07:22:05 4db1b89c0bd1: Already exists 07:22:05 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 07:22:05 Status: Downloaded newer image for alpine:3.17 07:22:05 ---> 1f73a9d63274 07:22:05 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:22:05 ---> Running in a8de22887b36 07:22:05 Removing intermediate container a8de22887b36 07:22:05 ---> e368021b123f 07:22:05 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:22:05 ---> Running in 2ead7bb828fb 07:22:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:22:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:22:05 (1/1) Installing dumb-init (1.2.5-r2) 07:22:05 Executing busybox-1.35.0-r29.trigger 07:22:05 OK: 7 MiB in 16 packages 07:22:05 Removing intermediate container 2ead7bb828fb 07:22:05 ---> a8a9809cda29 07:22:05 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:22:06 ---> 578952521427 07:22:06 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:22:06 ---> 9d8c4e4a32da 07:22:06 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:22:06 ---> ff0c01a9f04b 07:22:06 Step 17/22 : EXPOSE 59901 07:22:06 ---> Running in 3c7ef8c892aa 07:22:06 Removing intermediate container 3c7ef8c892aa 07:22:06 ---> a74ddcb67a48 07:22:06 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:22:06 ---> Running in c62185b706d3 07:22:06 Removing intermediate container c62185b706d3 07:22:06 ---> e73764c15dcd 07:22:06 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:22:06 ---> Running in 83808268490a 07:22:06 Removing intermediate container 83808268490a 07:22:06 ---> 56ce375ba31e 07:22:06 Step 20/22 : LABEL arch=amd64 07:22:06 ---> Running in 6df9c6ed71e6 07:22:06 Removing intermediate container 6df9c6ed71e6 07:22:06 ---> 9d98e8d649fb 07:22:06 Step 21/22 : LABEL git_sha=17dc72f002ebf344085b9a752535fb7c34705e89 07:22:06 ---> Running in 0725a76720a8 07:22:06 Removing intermediate container 0725a76720a8 07:22:06 ---> 8605453a1e47 07:22:06 Step 22/22 : LABEL version=0.0.0 07:22:06 ---> Running in f2e1249f45b4 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:06 provisioning config files... 07:22:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config9981550870373047541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:06 Removing intermediate container f2e1249f45b4 07:22:06 ---> bd7fda24513b 07:22:06 [Warning] One or more build-args [ARCH] were not consumed 07:22:06 Successfully built bd7fda24513b 07:22:06 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 07:22:07 ---> docker-login.sh 07:22:07 nexus3.edgexfoundry.org:10001 07:22:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:07 07:22:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:07 latest: Pulling from edgex-lftools-log-publisher 07:22:07 5eb5b503b376: Pulling fs layer 07:22:07 5c69ac0246d0: Pulling fs layer 07:22:07 ec43610c2a17: Pulling fs layer 07:22:07 3a2ae6a8a46f: Pulling fs layer 07:22:07 33b1e0a273af: Pulling fs layer 07:22:07 5d3b04190fa2: Pulling fs layer 07:22:07 2f39f015ded8: Pulling fs layer 07:22:07 3a2ae6a8a46f: Waiting 07:22:07 5d3b04190fa2: Waiting 07:22:07 2f39f015ded8: Waiting 07:22:07 5c69ac0246d0: Download complete 07:22:07 3a2ae6a8a46f: Verifying Checksum 07:22:07 3a2ae6a8a46f: Download complete 07:22:07 33b1e0a273af: Verifying Checksum 07:22:07 33b1e0a273af: Download complete 07:22:07 ec43610c2a17: Download complete 07:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:07 Configure a credential helper to remove this warning. See 07:22:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:07 07:22:07 Login Succeeded 07:22:07 nexus3.edgexfoundry.org:10002 07:22:07 5d3b04190fa2: Verifying Checksum 07:22:07 5d3b04190fa2: Download complete 07:22:07 5eb5b503b376: Verifying Checksum 07:22:07 5eb5b503b376: Download complete 07:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:07 Configure a credential helper to remove this warning. See 07:22:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:07 07:22:07 Login Succeeded 07:22:07 nexus3.edgexfoundry.org:10003 07:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:08 2f39f015ded8: Download complete 07:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:08 Configure a credential helper to remove this warning. See 07:22:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:08 07:22:08 Login Succeeded 07:22:08 nexus3.edgexfoundry.org:10004 07:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:08 Configure a credential helper to remove this warning. See 07:22:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:08 07:22:08 Login Succeeded 07:22:08 docker.io 07:22:09 5eb5b503b376: Pull complete 07:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:09 5c69ac0246d0: Pull complete 07:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:09 Configure a credential helper to remove this warning. See 07:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:09 07:22:09 Login Succeeded 07:22:09 ---> docker-login.sh ends [Pipeline] } 07:22:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:22:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:22:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:22:09 ========================================================= 07:22:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:22:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:09 ec43610c2a17: Pull complete 07:22:09 3a2ae6a8a46f: Pull complete 07:22:09 + 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 . 07:22:10 33b1e0a273af: Pull complete 07:22:10 5d3b04190fa2: Pull complete 07:22:10 Sending build context to Docker daemon 3.335MB 07:22:10 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:22:10 Step 2/10 : FROM ${BASE} AS builder 07:22:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:22:10 edb6bdbacee9: Pulling fs layer 07:22:10 5f9638ab2659: Pulling fs layer 07:22:10 8d51d6327a98: Pulling fs layer 07:22:10 8b374f2dd631: Pulling fs layer 07:22:10 ec14aa9079de: Pulling fs layer 07:22:10 8b374f2dd631: Waiting 07:22:10 2f466654f4bb: Pulling fs layer 07:22:10 554e91adad29: Pulling fs layer 07:22:10 2f466654f4bb: Waiting 07:22:10 ec14aa9079de: Waiting 07:22:10 554e91adad29: Waiting 07:22:10 5f9638ab2659: Verifying Checksum 07:22:10 5f9638ab2659: Download complete 07:22:10 8b374f2dd631: Verifying Checksum 07:22:10 8b374f2dd631: Download complete 07:22:10 ec14aa9079de: Verifying Checksum 07:22:10 ec14aa9079de: Download complete 07:22:10 edb6bdbacee9: Verifying Checksum 07:22:10 edb6bdbacee9: Download complete 07:22:11 edb6bdbacee9: Pull complete 07:22:11 554e91adad29: Verifying Checksum 07:22:11 554e91adad29: Download complete 07:22:12 5f9638ab2659: Pull complete 07:22:13 2f466654f4bb: Verifying Checksum 07:22:13 2f466654f4bb: Download complete 07:22:13 8d51d6327a98: Verifying Checksum 07:22:13 8d51d6327a98: Download complete 07:22:15 2f39f015ded8: Pull complete 07:22:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:22:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:15 prd-ubuntu20.04-docker-8c-8g-2818 does not seem to be running inside a container 07:22:15 $ 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-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:22:18 $ docker top 169557eb6ddc15aa4208296c3a8a1febeefce3db210e7668c6f9dbc9e739f572 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:19 ---> job-cost.sh 07:22:19 lf-activate-venv: SKIPPING 07:22:19 INFO: No Stack... 07:22:19 INFO: Retrieving Pricing Info for: v3-standard-8 07:22:19 INFO: Archiving Costs [Pipeline] sh 07:22:19 + cat /w/workspace/xfoundry_device-modbus-go_PR-492/archives/cost.csv 07:22:19 + cut -d, -f6 [Pipeline] lock 07:22:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-492-3-stack-cost] 07:22:19 Resource [jenkins-edgexfoundry-device-modbus-go-PR-492-3-stack-cost] did not exist. Created. 07:22:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-492-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:20 + echo total: 0.2199999988079071 [Pipeline] stash 07:22:20 Stashed 1 file(s) [Pipeline] } 07:22:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-492-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:20 $ docker stop --time=1 169557eb6ddc15aa4208296c3a8a1febeefce3db210e7668c6f9dbc9e739f572 07:22:21 $ docker rm -f --volumes 169557eb6ddc15aa4208296c3a8a1febeefce3db210e7668c6f9dbc9e739f572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:22:25 8d51d6327a98: Pull complete 07:22:25 8b374f2dd631: Pull complete 07:22:25 ec14aa9079de: Pull complete 07:22:30 2f466654f4bb: Pull complete 07:22:35 554e91adad29: Pull complete 07:22:35 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:22:35 ---> 1e15ea492957 07:22:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:22:36 ---> Running in de4bdeb13806 07:22:36 Removing intermediate container de4bdeb13806 07:22:36 ---> 4ecfd2332018 07:22:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:22:36 ---> Running in 5e1854be23d9 07:22:37 Removing intermediate container 5e1854be23d9 07:22:37 ---> a7046211a035 07:22:37 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:22:37 ---> Running in 6012de5248d6 07:22:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:22:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:22:39 (1/8) Installing openssh-keygen (9.1_p1-r4) 07:22:39 (2/8) Installing libedit (20221030.3.1-r0) 07:22:39 (3/8) Installing openssh-client-common (9.1_p1-r4) 07:22:39 (4/8) Installing openssh-client-default (9.1_p1-r4) 07:22:39 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 07:22:39 (6/8) Installing openssh-server-common (9.1_p1-r4) 07:22:39 (7/8) Installing openssh-server (9.1_p1-r4) 07:22:39 (8/8) Installing openssh (9.1_p1-r4) 07:22:39 Executing busybox-1.35.0-r29.trigger 07:22:39 OK: 270 MiB in 61 packages 07:22:40 Removing intermediate container 6012de5248d6 07:22:40 ---> b855f9a15eb6 07:22:40 Step 6/10 : WORKDIR /device-modbus-go 07:22:40 ---> Running in e647c4f2df0b 07:22:41 Removing intermediate container e647c4f2df0b 07:22:41 ---> 534bce3f6069 07:22:41 Step 7/10 : COPY go.mod vendor* ./ 07:22:41 ---> fe1abd9ae6d9 07:22:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:22:41 ---> Running in a02c8ddd79ec 07:23:49 Removing intermediate container a02c8ddd79ec 07:23:49 ---> d48df5fb1f35 07:23:49 Step 9/10 : COPY . . 07:23:49 ---> 84ee47bbc6ea 07:23:49 Step 10/10 : RUN ${MAKE} 07:23:49 ---> Running in 8a791dabc10f 07:23:49 noop 07:23:49 Removing intermediate container 8a791dabc10f 07:23:49 ---> bface5abd771 07:23:49 Successfully built bface5abd771 07:23:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:49 + docker inspect -f . ci-base-image-arm64 07:23:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:50 prd-ubuntu20.04-docker-arm64-4c-16g-2819 does not seem to be running inside a container 07:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:23:51 $ docker top ec7b8649d243c2b4588db356f80cf76c996acef4290c93f3c17789c058b49bc3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:52 + go version 07:23:52 go version go1.20.6 linux/arm64 [Pipeline] } 07:23:52 $ docker stop --time=1 ec7b8649d243c2b4588db356f80cf76c996acef4290c93f3c17789c058b49bc3 07:23:53 $ docker rm -f --volumes ec7b8649d243c2b4588db356f80cf76c996acef4290c93f3c17789c058b49bc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:54 + docker inspect -f . ci-base-image-arm64 07:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:54 prd-ubuntu20.04-docker-arm64-4c-16g-2819 does not seem to be running inside a container 07:23:54 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:23:55 $ docker top 36bde6ba2c451bd591913c7d701f9529b2aa0c252406e1eb0989cd4fd606b570 -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:56 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 07:23:56 + make test 07:23:56 go test ./... -coverprofile=coverage.out 07:24:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:26:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:26:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.9% of statements 07:26:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:26:20 go vet ./... 07:26:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:26:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:26:47 ./bin/test-attribution-txt.sh [Pipeline] echo 07:26:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:26:47 $ docker stop --time=1 36bde6ba2c451bd591913c7d701f9529b2aa0c252406e1eb0989cd4fd606b570 07:26:49 $ docker rm -f --volumes 36bde6ba2c451bd591913c7d701f9529b2aa0c252406e1eb0989cd4fd606b570 [Pipeline] // withDockerContainer [Pipeline] sh 07:26:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:26:50 Warning: overwriting stash ‘coverage-report’ 07:26:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:26:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:26:52 + ls -al . 07:26:52 total 184 07:26:52 drwxrwxr-x 9 jenkins jenkins 4096 Aug 3 07:23 . 07:26:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 07:21 .. 07:26:52 -rw-rw-r-- 1 jenkins jenkins 140 Aug 3 07:21 .dockerignore 07:26:52 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 07:21 .git 07:26:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 07:21 .github 07:26:52 -rw-rw-r-- 1 jenkins jenkins 331 Aug 3 07:21 .gitignore 07:26:52 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 07:21 .golangci.yml 07:26:52 -rw-rw-r-- 1 jenkins jenkins 10132 Aug 3 07:21 Attribution.txt 07:26:52 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 3 07:21 CHANGELOG.md 07:26:52 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 3 07:21 Dockerfile 07:26:52 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 07:21 GOVERNANCE.md 07:26:52 -rw-rw-r-- 1 jenkins jenkins 680 Aug 3 07:21 Jenkinsfile 07:26:52 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 3 07:21 LICENSE 07:26:52 -rw-rw-r-- 1 jenkins jenkins 1705 Aug 3 07:21 Makefile 07:26:52 -rw-rw-r-- 1 jenkins jenkins 622 Aug 3 07:21 OWNERS.md 07:26:52 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 3 07:21 README.md 07:26:52 -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 07:19 VERSION 07:26:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 07:21 bin 07:26:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 07:21 cmd 07:26:52 -rw-r--r-- 1 jenkins jenkins 24334 Aug 3 07:26 coverage.out 07:26:52 -rw-rw-r-- 1 jenkins jenkins 3405 Aug 3 07:21 go.mod 07:26:52 -rw-rw-r-- 1 jenkins jenkins 31664 Aug 3 07:21 go.sum 07:26:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 07:21 internal 07:26:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 07:21 simulator 07:26:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 07:21 snap 07:26:52 -rw-rw-r-- 1 jenkins jenkins 229 Aug 3 07:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:52 + 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=17dc72f002ebf344085b9a752535fb7c34705e89 --label arch=arm64 --label version=0.0.0 . 07:26:52 Sending build context to Docker daemon 3.36MB 07:26:52 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:26:52 Step 2/22 : FROM ${BASE} AS builder 07:26:52 ---> bface5abd771 07:26:52 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:26:52 ---> Running in ab060becdab9 07:26:53 Removing intermediate container ab060becdab9 07:26:53 ---> ece18b2c69d4 07:26:53 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:26:53 ---> Running in 30dbbaffbac1 07:26:53 Removing intermediate container 30dbbaffbac1 07:26:53 ---> 94dc1f9604cb 07:26:53 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:26:53 ---> Running in 1366fef9e3bf 07:26:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:26:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:26:56 OK: 270 MiB in 61 packages 07:26:57 Removing intermediate container 1366fef9e3bf 07:26:57 ---> d171e0e23ffa 07:26:57 Step 6/22 : WORKDIR /device-modbus-go 07:26:57 ---> Running in 360996ccc7ed 07:26:58 Removing intermediate container 360996ccc7ed 07:26:58 ---> e900d5345cbb 07:26:58 Step 7/22 : COPY go.mod vendor* ./ 07:26:59 ---> 3590306351e4 07:26:59 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:26:59 ---> Running in 0a6d019ae4c1 07:27:02 Removing intermediate container 0a6d019ae4c1 07:27:02 ---> 6d2262f3805b 07:27:02 Step 9/22 : COPY . . 07:27:04 ---> b1cca9a82359 07:27:04 Step 10/22 : RUN ${MAKE} 07:27:04 ---> Running in ea0031a9e092 07:27:07 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 07:29:14 Removing intermediate container ea0031a9e092 07:29:14 ---> 5e27d9edc03d 07:29:14 Step 11/22 : FROM alpine:3.17 07:29:14 3.17: Pulling from library/alpine 07:29:14 edb6bdbacee9: Already exists 07:29:14 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 07:29:14 Status: Downloaded newer image for alpine:3.17 07:29:14 ---> 779605e5fbc0 07:29:14 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:29:14 ---> Running in 03cc2566aceb 07:29:14 Removing intermediate container 03cc2566aceb 07:29:14 ---> 190f04710207 07:29:14 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:29:14 ---> Running in 3dd735bfb00f 07:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:29:14 (1/1) Installing dumb-init (1.2.5-r2) 07:29:14 Executing busybox-1.35.0-r29.trigger 07:29:14 OK: 8 MiB in 16 packages 07:29:14 Removing intermediate container 3dd735bfb00f 07:29:14 ---> c5c0293fc9f3 07:29:14 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:29:14 ---> 9441d7517802 07:29:14 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:29:14 ---> e9eed9f6fea5 07:29:14 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:29:14 ---> 0aa2b8a34e06 07:29:14 Step 17/22 : EXPOSE 59901 07:29:14 ---> Running in 58e1cc17c2d1 07:29:14 Removing intermediate container 58e1cc17c2d1 07:29:14 ---> 8019f724f7bb 07:29:14 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:29:14 ---> Running in 7548ab63b0a0 07:29:14 Removing intermediate container 7548ab63b0a0 07:29:14 ---> aabfa91e3a0e 07:29:14 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:29:14 ---> Running in f0b3a0419b24 07:29:14 Removing intermediate container f0b3a0419b24 07:29:14 ---> 4dc23ec56ced 07:29:14 Step 20/22 : LABEL arch=arm64 07:29:14 ---> Running in 589d84ff6a04 07:29:14 Removing intermediate container 589d84ff6a04 07:29:14 ---> 6f4401d53679 07:29:14 Step 21/22 : LABEL git_sha=17dc72f002ebf344085b9a752535fb7c34705e89 07:29:14 ---> Running in 986f3fb6378f 07:29:14 Removing intermediate container 986f3fb6378f 07:29:14 ---> 78eee8bc2338 07:29:14 Step 22/22 : LABEL version=0.0.0 07:29:14 ---> Running in ab2758f91a31 07:29:14 Removing intermediate container ab2758f91a31 07:29:14 ---> 47221e8cb2ed 07:29:14 [Warning] One or more build-args [ARCH] were not consumed 07:29:14 Successfully built 47221e8cb2ed 07:29:14 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 07:29:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:14 07:29:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:15 arm64: Pulling from edgex-lftools-log-publisher 07:29:15 8998bd30e6a1: Pulling fs layer 07:29:15 04944245beec: Pulling fs layer 07:29:15 699f458cf7ca: Pulling fs layer 07:29:15 765212b225bb: Pulling fs layer 07:29:15 f23df028b6ca: Pulling fs layer 07:29:15 d65c8cfc05b1: Pulling fs layer 07:29:15 2437ff75d9bd: Pulling fs layer 07:29:15 f23df028b6ca: Waiting 07:29:15 d65c8cfc05b1: Waiting 07:29:15 2437ff75d9bd: Waiting 07:29:15 765212b225bb: Waiting 07:29:15 04944245beec: Verifying Checksum 07:29:15 04944245beec: Download complete 07:29:15 765212b225bb: Verifying Checksum 07:29:15 765212b225bb: Download complete 07:29:15 f23df028b6ca: Download complete 07:29:15 d65c8cfc05b1: Verifying Checksum 07:29:15 d65c8cfc05b1: Download complete 07:29:15 699f458cf7ca: Verifying Checksum 07:29:15 699f458cf7ca: Download complete 07:29:15 8998bd30e6a1: Verifying Checksum 07:29:15 8998bd30e6a1: Download complete 07:29:17 2437ff75d9bd: Verifying Checksum 07:29:17 2437ff75d9bd: Download complete 07:29:19 8998bd30e6a1: Pull complete 07:29:20 04944245beec: Pull complete 07:29:21 699f458cf7ca: Pull complete 07:29:21 765212b225bb: Pull complete 07:29:22 f23df028b6ca: Pull complete 07:29:22 d65c8cfc05b1: Pull complete 07:29:37 2437ff75d9bd: Pull complete 07:29:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:29:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:37 prd-ubuntu20.04-docker-arm64-4c-16g-2819 does not seem to be running inside a container 07:29: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/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:29:40 $ docker top d7a546bf0ac492509ea2f1ad4f3cb02cf1f38c2925d98ff593b9392ddbbb05c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:41 ---> job-cost.sh 07:29:41 lf-activate-venv: SKIPPING 07:29:41 INFO: No Stack... 07:29:41 INFO: Retrieving Pricing Info for: v3-standard-4 07:29:42 INFO: Archiving Costs [Pipeline] sh 07:29:42 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 07:29:42 + cut -d, -f6 [Pipeline] lock 07:29:42 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-492-3-stack-cost] 07:29:42 Resource [jenkins-edgexfoundry-device-modbus-go-PR-492-3-stack-cost] did not exist. Created. 07:29:42 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-492-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:29:42 /w/workspace/device-modbus-go/3@tmp/durable-8a8ab5d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:29:43 + echo total: 0.10999999940395355 [Pipeline] stash 07:29:43 Warning: overwriting stash ‘stack-cost’ 07:29:43 Stashed 1 file(s) [Pipeline] } 07:29:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-492-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:29:43 $ docker stop --time=1 d7a546bf0ac492509ea2f1ad4f3cb02cf1f38c2925d98ff593b9392ddbbb05c5 07:29:45 $ docker rm -f --volumes d7a546bf0ac492509ea2f1ad4f3cb02cf1f38c2925d98ff593b9392ddbbb05c5 [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 07:29:45 provisioning config files... 07:29:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/config14864868656864595148tmp [Pipeline] { [Pipeline] sh 07:29:45 + set +x 07:29:45 + curl -s https://codecov.io/bash 07:29:45 + bash -s -- 07:29:45 07:29:45 _____ _ 07:29:45 / ____| | | 07:29:45 | | ___ __| | ___ ___ _____ __ 07:29:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:29:45 | |___| (_) | (_| | __/ (_| (_) \ V / 07:29:45 \_____\___/ \__,_|\___|\___\___/ \_/ 07:29:45 Bash-1.0.6 07:29:45 07:29:45 07:29:45 ==> git version 2.25.1 found 07:29:45 ==> 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 07:29:45 Release-Date: 2020-01-08 07:29:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:29:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:29:45 ==> Jenkins CI detected. 07:29:45 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-492 07:29:45 project root: . 07:29:45 --> token set from env 07:29:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:29:45 ==> Running gcov in . (disable via -X gcov) 07:29:45 ==> Python coveragepy not found 07:29:45 ==> Searching for coverage reports in: 07:29:45 + . 07:29:45 -> Found 1 reports 07:29:45 ==> Detecting git/mercurial file structure 07:29:46 ==> Reading reports 07:29:46 + ./coverage.out bytes=24334 07:29:46 ==> Appending adjustments 07:29:46 https://docs.codecov.io/docs/fixing-reports 07:29:46 + Found adjustments 07:29:46 ==> Gzipping contents 07:29:46 4.0K /tmp/codecov.eZ84Yd.gz 07:29:46 ==> Uploading reports 07:29:46 url: https://codecov.io 07:29:46 query: branch=PR-492&commit=17dc72f002ebf344085b9a752535fb7c34705e89&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-492%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=492&job=&cmd_args= 07:29:46 -> Pinging Codecov 07:29:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-492&commit=17dc72f002ebf344085b9a752535fb7c34705e89&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-492%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=492&job=&cmd_args= 07:29:46 -> Uploading to 07:29:46 https://storage.googleapis.com/codecov/v4/raw/2023-08-03/55DBCA73C666E3227836607328DD7E49/17dc72f002ebf344085b9a752535fb7c34705e89/be6a6e8b-0f14-4eb3-b4ab-6842c923c649.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230803%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230803T072946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db2e9008c3f254896d7556fef540d0bce425e26bf9783a17e3dd8fb0b69df0bb 07:29:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:29:46 Dload Upload Total Spent Left Speed 07:29:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 20806 --:--:-- --:--:-- --:--:-- 20806 07:29:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/17dc72f002ebf344085b9a752535fb7c34705e89 [Pipeline] } 07:29:46 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 07:29:47 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-492/archives ] 07:29:47 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-492/archives 07:29:47 total 16 07:29:47 drwxr-xr-x 3 root root 4096 Aug 3 07:22 . 07:29:47 drwxrwxr-x 11 jenkins jenkins 4096 Aug 3 07:22 .. 07:29:47 drwxr-xr-x 2 root root 4096 Aug 3 07:22 cost 07:29:47 -rw-r--r-- 1 root root 88 Aug 3 07:22 cost.csv 07:29:47 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-492/archives 07:29:47 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-492/archives 07:29:47 total 16 07:29:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 07:22 . 07:29:47 drwxrwxr-x 11 jenkins jenkins 4096 Aug 3 07:22 .. 07:29:47 drwxr-xr-x 2 jenkins jenkins 4096 Aug 3 07:22 cost 07:29:47 -rw-r--r-- 1 jenkins jenkins 88 Aug 3 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:29:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:29:48 ---> package-listing.sh 07:29:48 ++ tr '[:upper:]' '[:lower:]' 07:29:48 ++ facter osfamily 07:29:48 + OS_FAMILY=debian 07:29:48 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-492 07:29:48 + START_PACKAGES=/tmp/packages_start.txt 07:29:48 + END_PACKAGES=/tmp/packages_end.txt 07:29:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:29:48 + PACKAGES=/tmp/packages_start.txt 07:29:48 + '[' /w/workspace/xfoundry_device-modbus-go_PR-492 ']' 07:29:48 + PACKAGES=/tmp/packages_end.txt 07:29:48 + case "${OS_FAMILY}" in 07:29:48 + dpkg -l 07:29:48 + grep '^ii' 07:29:48 + '[' -f /tmp/packages_start.txt ']' 07:29:48 + '[' -f /tmp/packages_end.txt ']' 07:29:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:29:48 + '[' /w/workspace/xfoundry_device-modbus-go_PR-492 ']' 07:29:48 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-492/archives/ 07:29:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-492/archives/ [Pipeline] echo 07:29:48 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-492/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:29:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:29:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:49 prd-ubuntu20.04-docker-8c-8g-2818 does not seem to be running inside a container 07:29:49 $ 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-492/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-492 -v /w/workspace/xfoundry_device-modbus-go_PR-492:/w/workspace/xfoundry_device-modbus-go_PR-492:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-492@tmp:/w/workspace/xfoundry_device-modbus-go_PR-492@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:29:49 $ docker top 753bc89e3ba4756c7d19aa8bde4d21b888ee668f51e395b117c95405e5e3826d -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:49 + touch /tmp/pre-build-complete [Pipeline] sh 07:29:50 + mkdir -p /var/log/sysstat [Pipeline] sh 07:29:50 + ls /var/log/sa-host 07:29:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:50 provisioning config files... 07:29:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-492@tmp/config12757726313789962278tmp [Pipeline] { [Pipeline] echo 07:29:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:29:50 ---> create-netrc.sh [Pipeline] } 07:29:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:29:51 ---> python-tools-install.sh [Pipeline] echo 07:29:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:29:51 ---> sudo-logs.sh 07:29:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:29:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:29:51 ---> job-cost.sh 07:29:51 lf-activate-venv: SKIPPING 07:29:51 DEBUG: total: 0.2199999988079071 07:29:51 INFO: Retrieving Stack Cost... 07:29:52 INFO: Retrieving Pricing Info for: v3-standard-8 07:29:52 INFO: Archiving Costs [Pipeline] echo 07:29:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:29:53 ---> logs-deploy.sh 07:29:53 lf-activate-venv: SKIPPING 07:29:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-492/3 07:29:53 INFO: archiving workspace using pattern(s): 07:29:53 Archives upload complete. 07:29:53 INFO: archiving logs to Nexus