Pull request #419 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 77210627d1b74a3d5b59b3a5a2d9479510698a1f+96c9b25060a854e15776706019f04b40fe16d5e0 (63978d3338f8382cd05e8eb749290d91479c781b) 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-ssh7600058161465089093.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14606296801238142916.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-419/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-419/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16224794658134280517.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6339749800227486247.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-419/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-419/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9115400227916058080.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.18 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-7590 in /w/workspace/xfoundry_device-modbus-go_PR-419 [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-419 # 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/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96c9b25060a854e15776706019f04b40fe16d5e0 into PR head commit 77210627d1b74a3d5b59b3a5a2d9479510698a1f Merge succeeded, producing e79e8edbbbda87ce70d68e80a7af49f46533eea2 Checking out Revision e79e8edbbbda87ce70d68e80a7af49f46533eea2 (PR-419) > git config core.sparsecheckout # timeout=10 > git checkout -f 77210627d1b74a3d5b59b3a5a2d9479510698a1f # 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 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e79e8edbbbda87ce70d68e80a7af49f46533eea2 # timeout=10 Commit message: "Merge commit '96c9b25060a854e15776706019f04b40fe16d5e0' into HEAD" > git rev-list --no-walk 77210627d1b74a3d5b59b3a5a2d9479510698a1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:16:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:16:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:16:38 ========================================================= 15:16:38 EdgeX Global Pipelines Version Info 15:16:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:16:39 ------------------- 15:16:39 stable info: 15:16:39 ------------------- 15:16:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:16:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:16:39 Message: update stable to v1.0.244 15:16:39 ------------------- 15:16:39 experimental info: 15:16:39 ------------------- 15:16:39 Commited By: **** collab-it+edgex@linuxfoundation.org 15:16:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:16:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-419 [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-419 [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-419 [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e79e8ed [Pipeline] echo 15:16:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:16:40 provisioning config files... 15:16:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config5536566415597173868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:40 ---> docker-login.sh 15:16:40 nexus3.edgexfoundry.org:10001 15:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:41 Configure a credential helper to remove this warning. See 15:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:41 15:16:41 Login Succeeded 15:16:41 nexus3.edgexfoundry.org:10002 15:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:41 Configure a credential helper to remove this warning. See 15:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:41 15:16:41 Login Succeeded 15:16:41 nexus3.edgexfoundry.org:10003 15:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:41 Configure a credential helper to remove this warning. See 15:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:41 15:16:41 Login Succeeded 15:16:41 nexus3.edgexfoundry.org:10004 15:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:41 Configure a credential helper to remove this warning. See 15:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:41 15:16:41 Login Succeeded 15:16:41 docker.io 15:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:41 Configure a credential helper to remove this warning. See 15:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:41 15:16:41 Login Succeeded 15:16:41 ---> docker-login.sh ends [Pipeline] } 15:16:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:16:41 + git rev-list -1 --merges e79e8edbbbda87ce70d68e80a7af49f46533eea2~1..e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] echo 15:16:41 -----------> git rev-list -1 --merges e79e8edbbbda87ce70d68e80a7af49f46533eea2~1..e79e8edbbbda87ce70d68e80a7af49f46533eea2 e79e8edbbbda87ce70d68e80a7af49f46533eea2 15:16:41 e79e8edbbbda87ce70d68e80a7af49f46533eea2 [false] [Pipeline] sh 15:16:42 + git log --format=format:%s -1 e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] echo 15:16:42 ========================================================= 15:16:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:16:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:16:42 + git log --format=format:%s -1 e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] echo 15:16:42 [semverPrep] GIT_COMMIT: e79e8edbbbda87ce70d68e80a7af49f46533eea2, Commit Message: Merge commit '96c9b25060a854e15776706019f04b40fe16d5e0' into HEAD [Pipeline] echo 15:16:42 [semverPrep] This is not a build commit. [Pipeline] sh 15:16:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:16:42 + grep -v github /etc/ssh/ssh_known_hosts 15:16:42 + [ -e /tmp/ssh_known_hosts ] 15:16:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:16:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:16:42 + sudo tee -a /etc/ssh/ssh_known_hosts 15:16:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:16:43 15:16:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:16:43 0.1.4: Pulling from edgex-devops/py-git-semver 15:16:43 b85a868b505f: Pulling fs layer 15:16:43 e2be974225ed: Pulling fs layer 15:16:43 339a4e72a1f5: Pulling fs layer 15:16:43 988bab9f4d93: Pulling fs layer 15:16:43 1469e6f7b9e6: Pulling fs layer 15:16:43 eaf3925da568: Pulling fs layer 15:16:43 bab4dde63d76: Pulling fs layer 15:16:43 bde34c3a00c8: Pulling fs layer 15:16:43 b352a97aabf1: Pulling fs layer 15:16:43 4872d77fe225: Pulling fs layer 15:16:43 5851b861e8e6: Pulling fs layer 15:16:43 bab4dde63d76: Waiting 15:16:43 bde34c3a00c8: Waiting 15:16:43 b352a97aabf1: Waiting 15:16:43 4872d77fe225: Waiting 15:16:43 5851b861e8e6: Waiting 15:16:43 988bab9f4d93: Waiting 15:16:43 1469e6f7b9e6: Waiting 15:16:43 eaf3925da568: Waiting 15:16:43 e2be974225ed: Download complete 15:16:43 988bab9f4d93: Verifying Checksum 15:16:43 988bab9f4d93: Download complete 15:16:43 339a4e72a1f5: Verifying Checksum 15:16:43 339a4e72a1f5: Download complete 15:16:43 1469e6f7b9e6: Verifying Checksum 15:16:43 1469e6f7b9e6: Download complete 15:16:43 eaf3925da568: Download complete 15:16:43 bde34c3a00c8: Download complete 15:16:43 b352a97aabf1: Download complete 15:16:43 4872d77fe225: Verifying Checksum 15:16:43 4872d77fe225: Download complete 15:16:43 5851b861e8e6: Verifying Checksum 15:16:43 5851b861e8e6: Download complete 15:16:43 b85a868b505f: Verifying Checksum 15:16:43 b85a868b505f: Download complete 15:16:44 bab4dde63d76: Verifying Checksum 15:16:44 bab4dde63d76: Download complete 15:16:45 b85a868b505f: Pull complete 15:16:45 e2be974225ed: Pull complete 15:16:45 339a4e72a1f5: Pull complete 15:16:45 988bab9f4d93: Pull complete 15:16:46 1469e6f7b9e6: Pull complete 15:16:46 eaf3925da568: Pull complete 15:16:48 bab4dde63d76: Pull complete 15:16:48 bde34c3a00c8: Pull complete 15:16:48 b352a97aabf1: Pull complete 15:16:48 4872d77fe225: Pull complete 15:16:48 5851b861e8e6: Pull complete 15:16:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:16:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:16:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:48 prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container 15:16:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:16:50 $ docker top 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 -eo pid,comm 15:16:50 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). 15:16:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:16:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:16:50 [ssh-agent] Looking for ssh-agent implementation... 15:16:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:16:50 $ docker exec 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 ssh-agent 15:16:50 SSH_AUTH_SOCK=/tmp/ssh-jCYY2llckANE/agent.33 15:16:50 SSH_AGENT_PID=39 15:16:50 Running ssh-add (command line suppressed) 15:16:50 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_10551940151531262790.key (/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_10551940151531262790.key) 15:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:16:51 + git tag --points-at HEAD [Pipeline] } 15:16:51 $ docker exec --env ******** --env ******** 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 ssh-agent -k 15:16:51 unset SSH_AUTH_SOCK; 15:16:51 unset SSH_AGENT_PID; 15:16:51 echo Agent pid 39 killed; 15:16:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:16:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:16:51 [ssh-agent] Looking for ssh-agent implementation... 15:16:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:16:51 $ docker exec 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 ssh-agent 15:16:51 SSH_AUTH_SOCK=/tmp/ssh-jFZA84RMdQTy/agent.71 15:16:51 SSH_AGENT_PID=77 15:16:51 Running ssh-add (command line suppressed) 15:16:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_9488796656880921644.key (/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/private_key_9488796656880921644.key) 15:16:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:16:52 + git semver init 15:16:52 2023-02-27 15:16:52,232 [run_init] DEBUG init version:0.0.0 force:False 15:16:52 2023-02-27 15:16:52,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver 15:16:52 2023-02-27 15:16:52,234 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-419/.semver 15:16:52 2023-02-27 15:16:52,234 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-419/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419, universal_newlines=False, shell=None, istream=None) 15:16:53 2023-02-27 15:16:53,210 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-419/.git/info/exclude 15:16:53 2023-02-27 15:16:53,210 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 with force:False 15:16:53 2023-02-27 15:16:53,210 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 15:16:53 2023-02-27 15:16:53,214 [execute] INFO git cat-file --batch-check 15:16:53 2023-02-27 15:16:53,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419/.semver, universal_newlines=False, shell=None, istream=) 15:16:53 2023-02-27 15:16:53,222 [execute] INFO git cat-file --batch 15:16:53 2023-02-27 15:16:53,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-419/.semver, universal_newlines=False, shell=None, istream=) 15:16:53 2023-02-27 15:16:53,228 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-419/.semver/PR-419 15:16:53 0.0.0 [Pipeline] } 15:16:53 $ docker exec --env ******** --env ******** 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 ssh-agent -k 15:16:53 unset SSH_AUTH_SOCK; 15:16:53 unset SSH_AGENT_PID; 15:16:53 echo Agent pid 77 killed; 15:16:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:16:53 + git semver [Pipeline] } 15:16:54 $ docker stop --time=1 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 15:16:55 $ docker rm -f --volumes 6ab4165e295b4d4bea2b99bfd0fc8fb9b38de1c8c37d50deea5d9afeefd85d42 [Pipeline] // withDockerContainer [Pipeline] sh 15:16:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:16:56 Stashed 1 file(s) [Pipeline] echo 15:16:56 [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 15:16:56 provisioning config files... 15:16:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config5108909920423155375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:56 ---> docker-login.sh 15:16:56 nexus3.edgexfoundry.org:10001 15:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:56 Configure a credential helper to remove this warning. See 15:16:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:56 15:16:56 Login Succeeded 15:16:56 nexus3.edgexfoundry.org:10002 15:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:56 Configure a credential helper to remove this warning. See 15:16:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:56 15:16:56 Login Succeeded 15:16:56 nexus3.edgexfoundry.org:10003 15:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:56 Configure a credential helper to remove this warning. See 15:16:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:56 15:16:56 Login Succeeded 15:16:56 nexus3.edgexfoundry.org:10004 15:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:56 Configure a credential helper to remove this warning. See 15:16:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:56 15:16:56 Login Succeeded 15:16:56 docker.io 15:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:56 Configure a credential helper to remove this warning. See 15:16:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:56 15:16:56 Login Succeeded 15:16:56 ---> docker-login.sh ends [Pipeline] } 15:16:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:16:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:16:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:16:57 ========================================================= 15:16:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:16:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:16:57 Sending build context to Docker daemon 6.433MB 15:16:57 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:16:57 Step 2/10 : FROM ${BASE} AS builder 15:16:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:16:57 213ec9aee27d: Pulling fs layer 15:16:57 4583459ba037: Pulling fs layer 15:16:57 93c1e223e6f2: Pulling fs layer 15:16:57 53926ce57604: Pulling fs layer 15:16:57 21b2b0c7a3f4: Pulling fs layer 15:16:57 22ff95d597cd: Pulling fs layer 15:16:57 12d6caf4c0d1: Pulling fs layer 15:16:57 96b7cbca73a9: Pulling fs layer 15:16:57 a7acece74701: Pulling fs layer 15:16:57 96b7cbca73a9: Waiting 15:16:57 21b2b0c7a3f4: Waiting 15:16:57 a7acece74701: Waiting 15:16:57 22ff95d597cd: Waiting 15:16:57 12d6caf4c0d1: Waiting 15:16:57 53926ce57604: Waiting 15:16:57 93c1e223e6f2: Verifying Checksum 15:16:57 93c1e223e6f2: Download complete 15:16:57 4583459ba037: Download complete 15:16:57 21b2b0c7a3f4: Verifying Checksum 15:16:57 21b2b0c7a3f4: Download complete 15:16:57 22ff95d597cd: Verifying Checksum 15:16:57 22ff95d597cd: Download complete 15:16:57 213ec9aee27d: Verifying Checksum 15:16:57 213ec9aee27d: Download complete 15:16:57 12d6caf4c0d1: Verifying Checksum 15:16:57 12d6caf4c0d1: Download complete 15:16:57 213ec9aee27d: Pull complete 15:16:57 4583459ba037: Pull complete 15:16:57 93c1e223e6f2: Pull complete 15:16:58 a7acece74701: Verifying Checksum 15:16:58 a7acece74701: Download complete 15:16:58 53926ce57604: Verifying Checksum 15:16:58 53926ce57604: Download complete 15:16:58 96b7cbca73a9: Verifying Checksum 15:16:58 96b7cbca73a9: Download complete 15:17:02 53926ce57604: Pull complete 15:17:02 21b2b0c7a3f4: Pull complete 15:17:02 22ff95d597cd: Pull complete 15:17:02 12d6caf4c0d1: Pull complete 15:17:04 96b7cbca73a9: Pull complete 15:17:05 a7acece74701: Pull complete 15:17:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:17:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:17:05 ---> db6d94c90886 15:17:05 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:17:08 ---> Running in 8f4e8a18c1c2 15:17:08 Removing intermediate container 8f4e8a18c1c2 15:17:08 ---> ba5264f41ead 15:17:08 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:17:08 ---> Running in 755e3ed3ac19 15:17:08 Removing intermediate container 755e3ed3ac19 15:17:08 ---> ae6759b5c176 15:17:08 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:17:08 ---> Running in 08ebec8dc350 15:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:17:08 (1/8) Installing openssh-keygen (9.0_p1-r2) 15:17:08 (2/8) Installing libedit (20210910.3.1-r0) 15:17:08 (3/8) Installing openssh-client-common (9.0_p1-r2) 15:17:09 (4/8) Installing openssh-client-default (9.0_p1-r2) 15:17:09 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 15:17:09 (6/8) Installing openssh-server-common (9.0_p1-r2) 15:17:09 (7/8) Installing openssh-server (9.0_p1-r2) 15:17:09 (8/8) Installing openssh (9.0_p1-r2) 15:17:09 Executing busybox-1.35.0-r17.trigger 15:17:09 OK: 217 MiB in 59 packages 15:17:09 Removing intermediate container 08ebec8dc350 15:17:09 ---> a06c1e3f4a87 15:17:09 Step 6/10 : WORKDIR /device-modbus-go 15:17:09 ---> Running in 5cebd91bfde0 15:17:09 Removing intermediate container 5cebd91bfde0 15:17:09 ---> abb353614a84 15:17:09 Step 7/10 : COPY go.mod vendor* ./ 15:17:09 ---> d76a454c0265 15:17:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:17:09 ---> Running in 6e11f89a4477 15:17:11 Still waiting to schedule task 15:17:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7591’ is offline 15:17:36 Removing intermediate container 6e11f89a4477 15:17:36 ---> 6918d7f5b176 15:17:36 Step 9/10 : COPY . . 15:17:36 ---> 066673db113d 15:17:36 Step 10/10 : RUN ${MAKE} 15:17:36 ---> Running in 2f9f52ead1fd 15:17:36 noop 15:17:36 Removing intermediate container 2f9f52ead1fd 15:17:36 ---> aac0d5be23da 15:17:36 Successfully built aac0d5be23da 15:17:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:36 + docker inspect -f . ci-base-image-x86_64 15:17:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:36 prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container 15:17:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:17:36 $ docker top 757db2274b8da40d9580b2d4f0cb4d6c582780ef4efb06b4cebc01472327ab66 -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:37 + go version 15:17:37 go version go1.18.7 linux/amd64 [Pipeline] } 15:17:37 $ docker stop --time=1 757db2274b8da40d9580b2d4f0cb4d6c582780ef4efb06b4cebc01472327ab66 15:17:38 $ docker rm -f --volumes 757db2274b8da40d9580b2d4f0cb4d6c582780ef4efb06b4cebc01472327ab66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:38 + docker inspect -f . ci-base-image-x86_64 15:17:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:39 prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container 15:17:39 $ 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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:17:39 $ docker top 4aff7efc8f24b897e536de70a79aa6c4b611eaad3674eaf7042f7d2036442734 -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:39 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-419 [Pipeline] fileExists [Pipeline] sh 15:17:40 + make test 15:17:40 go test ./... -coverprofile=coverage.out 15:17:40 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:17:50 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:17:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.047s coverage: 47.7% of statements 15:17:56 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:17:56 go vet ./... 15:18:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:18:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:18:00 ./bin/test-attribution-txt.sh [Pipeline] echo 15:18:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:18:00 $ docker stop --time=1 4aff7efc8f24b897e536de70a79aa6c4b611eaad3674eaf7042f7d2036442734 15:18:02 $ docker rm -f --volumes 4aff7efc8f24b897e536de70a79aa6c4b611eaad3674eaf7042f7d2036442734 [Pipeline] // withDockerContainer [Pipeline] sh 15:18:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:18:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:18:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:18:03 + ls -al . 15:18:03 total 184 15:18:03 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 15:17 . 15:18:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:16 .. 15:18:03 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 15:16 .dockerignore 15:18:03 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:17 .git 15:18:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:16 .github 15:18:03 -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 15:16 .gitignore 15:18:03 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:16 .golangci.yml 15:18:03 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:16 .semver 15:18:03 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 15:16 Attribution.txt 15:18:03 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 15:16 CHANGELOG.md 15:18:03 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 15:16 Dockerfile 15:18:03 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:16 GOVERNANCE.md 15:18:03 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:16 Jenkinsfile 15:18:03 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:16 LICENSE 15:18:03 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 15:16 Makefile 15:18:03 -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 15:16 OWNERS.md 15:18:03 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 15:16 README.md 15:18:03 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 15:16 VERSION 15:18:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:16 bin 15:18:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:16 cmd 15:18:03 -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 15:17 coverage.out 15:18:03 -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 15:16 go.mod 15:18:03 -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 15:16 go.sum 15:18:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:16 internal 15:18:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:16 simulator 15:18:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:16 snap 15:18:03 -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 15:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:03 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e79e8edbbbda87ce70d68e80a7af49f46533eea2 --label arch=amd64 --label version=0.0.0 . 15:18:03 Sending build context to Docker daemon 6.457MB 15:18:03 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 15:18:03 Step 2/22 : FROM ${BASE} AS builder 15:18:03 ---> aac0d5be23da 15:18:03 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:18:03 ---> Running in a35ef8be5ed8 15:18:04 Removing intermediate container a35ef8be5ed8 15:18:04 ---> b1c1f436c1fe 15:18:04 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:18:04 ---> Running in 0e80c6e819fb 15:18:04 Removing intermediate container 0e80c6e819fb 15:18:04 ---> d61f9cf31095 15:18:04 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:18:04 ---> Running in 0a59c9463893 15:18:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:18:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:18:04 OK: 217 MiB in 59 packages 15:18:04 Removing intermediate container 0a59c9463893 15:18:04 ---> f79091b540f3 15:18:04 Step 6/22 : WORKDIR /device-modbus-go 15:18:04 ---> Running in 89bd8965470f 15:18:05 Removing intermediate container 89bd8965470f 15:18:05 ---> 72711bf5a803 15:18:05 Step 7/22 : COPY go.mod vendor* ./ 15:18:05 ---> 31faf1ffd8dc 15:18:05 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:18:05 ---> Running in 47b1f0bf3ad6 15:18:06 Removing intermediate container 47b1f0bf3ad6 15:18:06 ---> e90ccfdc3571 15:18:06 Step 9/22 : COPY . . 15:18:06 ---> 132261289178 15:18:06 Step 10/22 : RUN ${MAKE} 15:18:06 ---> Running in 18899f5fe96e 15:18:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 15:18:28 Removing intermediate container 18899f5fe96e 15:18:28 ---> 23da92e7c8fc 15:18:28 Step 11/22 : FROM alpine:3.14 15:18:28 3.14: Pulling from library/alpine 15:18:28 d261077062b2: Pulling fs layer 15:18:28 d261077062b2: Verifying Checksum 15:18:28 d261077062b2: Download complete 15:18:28 d261077062b2: Pull complete 15:18:28 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 15:18:28 Status: Downloaded newer image for alpine:3.14 15:18:28 ---> 6dff1269bc79 15:18:28 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:18:28 ---> Running in a0891d1fb48c 15:18:28 Removing intermediate container a0891d1fb48c 15:18:28 ---> f2c27d027891 15:18:28 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:18:28 ---> Running in 08c2c99e525e 15:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:18:28 (1/1) Installing dumb-init (1.2.5-r1) 15:18:28 Executing busybox-1.33.1-r8.trigger 15:18:28 OK: 6 MiB in 15 packages 15:18:28 Removing intermediate container 08c2c99e525e 15:18:28 ---> 262bab73f1a2 15:18:28 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:18:28 ---> 7f59652a8eb6 15:18:28 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:18:28 ---> 274312ec4eb6 15:18:28 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:18:28 ---> 29ce0adcd498 15:18:28 Step 17/22 : EXPOSE 59901 15:18:29 ---> Running in 4277db2e0732 15:18:29 Removing intermediate container 4277db2e0732 15:18:29 ---> 472f93778869 15:18:29 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:18:29 ---> Running in 8de1964eaf11 15:18:29 Removing intermediate container 8de1964eaf11 15:18:29 ---> 4de6e2907973 15:18:29 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:18:29 ---> Running in e1fed8b1e0d8 15:18:29 Removing intermediate container e1fed8b1e0d8 15:18:29 ---> 63c82087f4c9 15:18:29 Step 20/22 : LABEL arch=amd64 15:18:29 ---> Running in 264e2ab7200c 15:18:29 Removing intermediate container 264e2ab7200c 15:18:29 ---> 39f494cc6b87 15:18:29 Step 21/22 : LABEL git_sha=e79e8edbbbda87ce70d68e80a7af49f46533eea2 15:18:29 ---> Running in f10c7aff0b0b 15:18:29 Removing intermediate container f10c7aff0b0b 15:18:29 ---> 1c3957f89620 15:18:29 Step 22/22 : LABEL version=0.0.0 15:18:29 ---> Running in 2aba234d5052 15:18:29 Removing intermediate container 2aba234d5052 15:18:29 ---> 839ba1bdfb29 15:18:29 [Warning] One or more build-args [ARCH] were not consumed 15:18:29 Successfully built 839ba1bdfb29 15:18:29 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:29 15:18:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:30 latest: Pulling from edgex-lftools-log-publisher 15:18:30 5eb5b503b376: Pulling fs layer 15:18:30 5c69ac0246d0: Pulling fs layer 15:18:30 ec43610c2a17: Pulling fs layer 15:18:30 3a2ae6a8a46f: Pulling fs layer 15:18:30 33b1e0a273af: Pulling fs layer 15:18:30 5d3b04190fa2: Pulling fs layer 15:18:30 2f39f015ded8: Pulling fs layer 15:18:30 2f39f015ded8: Waiting 15:18:30 33b1e0a273af: Waiting 15:18:30 3a2ae6a8a46f: Waiting 15:18:30 5d3b04190fa2: Waiting 15:18:30 5c69ac0246d0: Verifying Checksum 15:18:30 5c69ac0246d0: Download complete 15:18:30 3a2ae6a8a46f: Download complete 15:18:30 33b1e0a273af: Verifying Checksum 15:18:30 33b1e0a273af: Download complete 15:18:30 ec43610c2a17: Verifying Checksum 15:18:30 ec43610c2a17: Download complete 15:18:30 5d3b04190fa2: Download complete 15:18:30 5eb5b503b376: Verifying Checksum 15:18:30 5eb5b503b376: Download complete 15:18:31 2f39f015ded8: Verifying Checksum 15:18:31 2f39f015ded8: Download complete 15:18:31 5eb5b503b376: Pull complete 15:18:31 5c69ac0246d0: Pull complete 15:18:32 ec43610c2a17: Pull complete 15:18:32 3a2ae6a8a46f: Pull complete 15:18:32 33b1e0a273af: Pull complete 15:18:32 5d3b04190fa2: Pull complete 15:18:36 2f39f015ded8: Pull complete 15:18:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:18:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:36 prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container 15:18:36 $ 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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:18:39 $ docker top e5d7bcb19bb3695c8b8dd671592ca3793c639302632a4ba24e379f786cf81e27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:39 ---> job-cost.sh 15:18:39 lf-activate-venv: SKIPPING 15:18:39 INFO: No Stack... 15:18:40 INFO: Retrieving Pricing Info for: v3-standard-8 15:18:40 INFO: Archiving Costs [Pipeline] sh 15:18:41 + cat /w/workspace/xfoundry_device-modbus-go_PR-419/archives/cost.csv 15:18:41 + cut -d, -f6 [Pipeline] lock 15:18:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] 15:18:41 Resource [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] did not exist. Created. 15:18:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:18:41 + echo total: 0.2199999988079071 [Pipeline] stash 15:18:41 Stashed 1 file(s) [Pipeline] } 15:18:41 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:18:41 $ docker stop --time=1 e5d7bcb19bb3695c8b8dd671592ca3793c639302632a4ba24e379f786cf81e27 15:18:42 $ docker rm -f --volumes e5d7bcb19bb3695c8b8dd671592ca3793c639302632a4ba24e379f786cf81e27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:19:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7592 in /w/workspace/xfoundry_device-modbus-go_PR-419 [Pipeline] { [Pipeline] ws 15:19:47 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 15:19:47 Selected Git installation does not exist. Using Default 15:19:47 The recommended git tool is: NONE 15:19:55 using credential edgex-jenkins-ssh 15:19:55 Cloning the remote Git repository 15:19:55 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:19:55 > git init /w/workspace/device-modbus-go/2 # timeout=10 15:19:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:19:56 > git --version # timeout=10 15:19:56 > git --version # 'git version 2.25.1' 15:19:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:19:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:19:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:19:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:19:59 Merging remotes/origin/main commit 96c9b25060a854e15776706019f04b40fe16d5e0 into PR head commit 77210627d1b74a3d5b59b3a5a2d9479510698a1f 15:19:59 Merge succeeded, producing 4a1c4304152c335d1479a18ef7520bb4eb2b5147 15:19:59 Checking out Revision 4a1c4304152c335d1479a18ef7520bb4eb2b5147 (PR-419) 15:19:58 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:19:58 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:19:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:19:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:19:59 > git config core.sparsecheckout # timeout=10 15:19:59 > git checkout -f 77210627d1b74a3d5b59b3a5a2d9479510698a1f # timeout=10 15:19:59 > git remote # timeout=10 15:19:59 > git config --get remote.origin.url # timeout=10 15:19:59 using GIT_SSH to set credentials SSH Credentials for GitHub 15:19:59 > git merge 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 15:19:59 > git rev-parse HEAD^{commit} # timeout=10 15:19:59 > git config core.sparsecheckout # timeout=10 15:19:59 > git checkout -f 4a1c4304152c335d1479a18ef7520bb4eb2b5147 # timeout=10 15:20:03 Commit message: "Merge commit '96c9b25060a854e15776706019f04b40fe16d5e0' into HEAD" 15:20:03 > git rev-list --no-walk 77210627d1b74a3d5b59b3a5a2d9479510698a1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:20:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:20:04 % Total % Received % Xferd Average Speed Time Time Time Current 15:20:04 Dload Upload Total Spent Left Speed 15:20:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 15:20:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:20:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:20:05 + sudo tee /etc/docker/daemon.new 15:20:05 { 15:20:05 "registry-mirrors": [ 15:20:05 "https://nexus3.edgexfoundry.org:10001" 15:20:05 ], 15:20:05 "bip": "10.250.0.254/24", 15:20:05 "hosts": [ 15:20:05 "tcp://0.0.0.0:5555", 15:20:05 "unix:///var/run/docker.sock" 15:20:05 ], 15:20:05 "mtu": 1458, 15:20:05 "selinux-enabled": true, 15:20:05 "seccomp-profile": "/etc/docker/seccomp.json" 15:20:05 } [Pipeline] sh 15:20:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:20:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:20:24 provisioning config files... 15:20:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config5923892241506913143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:20:24 ---> docker-login.sh 15:20:24 nexus3.edgexfoundry.org:10001 15:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:25 Configure a credential helper to remove this warning. See 15:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:25 15:20:25 Login Succeeded 15:20:25 nexus3.edgexfoundry.org:10002 15:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:25 Configure a credential helper to remove this warning. See 15:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:25 15:20:25 Login Succeeded 15:20:25 nexus3.edgexfoundry.org:10003 15:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:25 Configure a credential helper to remove this warning. See 15:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:25 15:20:25 Login Succeeded 15:20:25 nexus3.edgexfoundry.org:10004 15:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:26 Configure a credential helper to remove this warning. See 15:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:26 15:20:26 Login Succeeded 15:20:26 docker.io 15:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:26 Configure a credential helper to remove this warning. See 15:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:26 15:20:26 Login Succeeded 15:20:26 ---> docker-login.sh ends [Pipeline] } 15:20:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:20:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:20:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:20:27 ========================================================= 15:20:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:20:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:20:28 Sending build context to Docker daemon 3.36MB 15:20:28 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:20:28 Step 2/10 : FROM ${BASE} AS builder 15:20:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:20:28 9b18e9b68314: Pulling fs layer 15:20:28 35d82f9e3411: Pulling fs layer 15:20:28 e16973657156: Pulling fs layer 15:20:28 fc693d55d65f: Pulling fs layer 15:20:28 7e9fc2657dce: Pulling fs layer 15:20:28 dda99020689f: Pulling fs layer 15:20:28 db1c61fa0a46: Pulling fs layer 15:20:28 891c053d2c06: Pulling fs layer 15:20:28 7e9fc2657dce: Waiting 15:20:28 dda99020689f: Waiting 15:20:28 db1c61fa0a46: Waiting 15:20:28 891c053d2c06: Waiting 15:20:28 fc693d55d65f: Waiting 15:20:28 e16973657156: Verifying Checksum 15:20:28 e16973657156: Download complete 15:20:28 35d82f9e3411: Verifying Checksum 15:20:28 35d82f9e3411: Download complete 15:20:28 7e9fc2657dce: Verifying Checksum 15:20:28 7e9fc2657dce: Download complete 15:20:28 dda99020689f: Verifying Checksum 15:20:28 dda99020689f: Download complete 15:20:28 9b18e9b68314: Verifying Checksum 15:20:28 9b18e9b68314: Download complete 15:20:29 9b18e9b68314: Pull complete 15:20:29 891c053d2c06: Verifying Checksum 15:20:29 891c053d2c06: Download complete 15:20:29 35d82f9e3411: Pull complete 15:20:30 e16973657156: Pull complete 15:20:30 db1c61fa0a46: Verifying Checksum 15:20:30 db1c61fa0a46: Download complete 15:20:31 fc693d55d65f: Verifying Checksum 15:20:31 fc693d55d65f: Download complete 15:20:43 fc693d55d65f: Pull complete 15:20:43 7e9fc2657dce: Pull complete 15:20:43 dda99020689f: Pull complete 15:20:48 db1c61fa0a46: Pull complete 15:20:49 891c053d2c06: Pull complete 15:20:49 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:20:49 ---> f96f9c87975a 15:20:49 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:20:51 ---> Running in 3abb76d3d573 15:20:51 Removing intermediate container 3abb76d3d573 15:20:51 ---> b8588763f83f 15:20:51 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:20:51 ---> Running in 3a18c7e3f8f1 15:20:52 Removing intermediate container 3a18c7e3f8f1 15:20:52 ---> e835942342ae 15:20:52 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:20:52 ---> Running in 5236b3a446ea 15:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:20:54 (1/8) Installing openssh-keygen (9.0_p1-r2) 15:20:54 (2/8) Installing libedit (20210910.3.1-r0) 15:20:54 (3/8) Installing openssh-client-common (9.0_p1-r2) 15:20:54 (4/8) Installing openssh-client-default (9.0_p1-r2) 15:20:54 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 15:20:54 (6/8) Installing openssh-server-common (9.0_p1-r2) 15:20:54 (7/8) Installing openssh-server (9.0_p1-r2) 15:20:54 (8/8) Installing openssh (9.0_p1-r2) 15:20:54 Executing busybox-1.35.0-r17.trigger 15:20:54 OK: 228 MiB in 59 packages 15:20:55 Removing intermediate container 5236b3a446ea 15:20:55 ---> 74202f88043c 15:20:55 Step 6/10 : WORKDIR /device-modbus-go 15:20:56 ---> Running in 9a59150320c9 15:20:56 Removing intermediate container 9a59150320c9 15:20:56 ---> a6315fabb605 15:20:56 Step 7/10 : COPY go.mod vendor* ./ 15:20:56 ---> 48ca53f83f34 15:20:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:20:56 ---> Running in 97462e57288d 15:22:04 Removing intermediate container 97462e57288d 15:22:04 ---> 06f9a8771bb4 15:22:04 Step 9/10 : COPY . . 15:22:04 ---> 76ff64f66562 15:22:04 Step 10/10 : RUN ${MAKE} 15:22:04 ---> Running in 2d4e6aee2abc 15:22:04 noop 15:22:04 Removing intermediate container 2d4e6aee2abc 15:22:04 ---> f9a2be096aa6 15:22:04 Successfully built f9a2be096aa6 15:22:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:05 + docker inspect -f . ci-base-image-arm64 15:22:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:05 prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container 15:22:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:22:06 $ docker top c2ea57cf55752ece400bd0de097eadad5d94f20865e9bed8bf813aa18c61ba60 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:07 + go version 15:22:07 go version go1.18.7 linux/arm64 [Pipeline] } 15:22:07 $ docker stop --time=1 c2ea57cf55752ece400bd0de097eadad5d94f20865e9bed8bf813aa18c61ba60 15:22:09 $ docker rm -f --volumes c2ea57cf55752ece400bd0de097eadad5d94f20865e9bed8bf813aa18c61ba60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:09 + docker inspect -f . ci-base-image-arm64 15:22:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:09 prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container 15:22:10 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:22:11 $ docker top 505b8f92b5ceb9e7a4c478b3a67987e3110966a9ada7f3366802f94b46a5ca41 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:11 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 15:22:12 + make test 15:22:12 go test ./... -coverprofile=coverage.out 15:22:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:23:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:23:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements 15:23:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:23:36 go vet ./... 15:23:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:23:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:23:58 ./bin/test-attribution-txt.sh [Pipeline] echo 15:23:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:23:58 $ docker stop --time=1 505b8f92b5ceb9e7a4c478b3a67987e3110966a9ada7f3366802f94b46a5ca41 15:24:00 $ docker rm -f --volumes 505b8f92b5ceb9e7a4c478b3a67987e3110966a9ada7f3366802f94b46a5ca41 [Pipeline] // withDockerContainer [Pipeline] sh 15:24:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:24:01 Warning: overwriting stash ‘coverage-report’ 15:24:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:03 + ls -al . 15:24:03 total 180 15:24:03 drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 15:22 . 15:24:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:19 .. 15:24:03 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 15:19 .dockerignore 15:24:03 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:19 .git 15:24:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:19 .github 15:24:03 -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 15:19 .gitignore 15:24:03 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:19 .golangci.yml 15:24:03 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 15:19 Attribution.txt 15:24:03 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 15:19 CHANGELOG.md 15:24:03 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 15:19 Dockerfile 15:24:03 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:19 GOVERNANCE.md 15:24:03 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:19 Jenkinsfile 15:24:03 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:19 LICENSE 15:24:03 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 15:19 Makefile 15:24:03 -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 15:19 OWNERS.md 15:24:03 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 15:19 README.md 15:24:03 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 15:16 VERSION 15:24:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:19 bin 15:24:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:19 cmd 15:24:03 -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 15:23 coverage.out 15:24:03 -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 15:19 go.mod 15:24:03 -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 15:19 go.sum 15:24:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:19 internal 15:24:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:19 simulator 15:24:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:19 snap 15:24:03 -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 15:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:03 + 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=4a1c4304152c335d1479a18ef7520bb4eb2b5147 --label arch=arm64 --label version=0.0.0 . 15:24:03 Sending build context to Docker daemon 3.384MB 15:24:03 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 15:24:03 Step 2/22 : FROM ${BASE} AS builder 15:24:03 ---> f9a2be096aa6 15:24:03 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:24:03 ---> Running in c51513fe29d0 15:24:04 Removing intermediate container c51513fe29d0 15:24:04 ---> 07a5f49f03d5 15:24:04 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:24:04 ---> Running in 6151c562f659 15:24:04 Removing intermediate container 6151c562f659 15:24:04 ---> c2e751d36b86 15:24:04 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:24:04 ---> Running in b9fab675a838 15:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:24:06 OK: 228 MiB in 59 packages 15:24:07 Removing intermediate container b9fab675a838 15:24:07 ---> e87fa23c464d 15:24:07 Step 6/22 : WORKDIR /device-modbus-go 15:24:07 ---> Running in 1a6d2acf0bf6 15:24:07 Removing intermediate container 1a6d2acf0bf6 15:24:07 ---> 1b3dd6794c05 15:24:07 Step 7/22 : COPY go.mod vendor* ./ 15:24:08 ---> 4264c5cca37c 15:24:08 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:24:08 ---> Running in febde800a335 15:24:11 Removing intermediate container febde800a335 15:24:11 ---> 8dbf6de3a5d5 15:24:11 Step 9/22 : COPY . . 15:24:14 ---> b4804f9d78a8 15:24:14 Step 10/22 : RUN ${MAKE} 15:24:14 ---> Running in f48a15c65e3a 15:24:15 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 15:26:22 Removing intermediate container f48a15c65e3a 15:26:22 ---> b59638dc2cdf 15:26:22 Step 11/22 : FROM alpine:3.14 15:26:22 3.14: Pulling from library/alpine 15:26:22 6f0e733d82e2: Pulling fs layer 15:26:22 6f0e733d82e2: Verifying Checksum 15:26:22 6f0e733d82e2: Download complete 15:26:22 6f0e733d82e2: Pull complete 15:26:22 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 15:26:22 Status: Downloaded newer image for alpine:3.14 15:26:22 ---> bf97f6347a60 15:26:22 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:26:22 ---> Running in e71e0ed71e3e 15:26:22 Removing intermediate container e71e0ed71e3e 15:26:22 ---> 71a507c8be5f 15:26:22 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:26:22 ---> Running in ea8a66f45a53 15:26:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:26:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:26:22 (1/1) Installing dumb-init (1.2.5-r1) 15:26:22 Executing busybox-1.33.1-r8.trigger 15:26:22 OK: 6 MiB in 15 packages 15:26:22 Removing intermediate container ea8a66f45a53 15:26:22 ---> 2bc06103f65b 15:26:22 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:26:22 ---> 7edeff454a3c 15:26:22 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:26:22 ---> 30da3b5ba692 15:26:22 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:26:22 ---> e0dfba98ce09 15:26:22 Step 17/22 : EXPOSE 59901 15:26:22 ---> Running in 4dd15d3f5a0e 15:26:23 Removing intermediate container 4dd15d3f5a0e 15:26:23 ---> 90af7707b74c 15:26:23 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:26:23 ---> Running in 84b2c7da3ff8 15:26:23 Removing intermediate container 84b2c7da3ff8 15:26:23 ---> b26613711051 15:26:23 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:26:23 ---> Running in 72fcdb55629f 15:26:24 Removing intermediate container 72fcdb55629f 15:26:24 ---> c94e4502eae2 15:26:24 Step 20/22 : LABEL arch=arm64 15:26:24 ---> Running in 42e6b1a9fb22 15:26:24 Removing intermediate container 42e6b1a9fb22 15:26:24 ---> f53780331578 15:26:24 Step 21/22 : LABEL git_sha=4a1c4304152c335d1479a18ef7520bb4eb2b5147 15:26:24 ---> Running in 038f2f57a8ae 15:26:24 Removing intermediate container 038f2f57a8ae 15:26:24 ---> 5c2b4869aeed 15:26:24 Step 22/22 : LABEL version=0.0.0 15:26:24 ---> Running in 443214f8a31c 15:26:25 Removing intermediate container 443214f8a31c 15:26:25 ---> 432c2e2bd0fd 15:26:25 [Warning] One or more build-args [ARCH] were not consumed 15:26:25 Successfully built 432c2e2bd0fd 15:26:25 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 15:26:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:25 15:26:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:25 arm64: Pulling from edgex-lftools-log-publisher 15:26:25 8998bd30e6a1: Pulling fs layer 15:26:25 04944245beec: Pulling fs layer 15:26:25 699f458cf7ca: Pulling fs layer 15:26:25 765212b225bb: Pulling fs layer 15:26:25 f23df028b6ca: Pulling fs layer 15:26:25 d65c8cfc05b1: Pulling fs layer 15:26:25 2437ff75d9bd: Pulling fs layer 15:26:25 f23df028b6ca: Waiting 15:26:25 d65c8cfc05b1: Waiting 15:26:25 765212b225bb: Waiting 15:26:25 2437ff75d9bd: Waiting 15:26:26 04944245beec: Verifying Checksum 15:26:26 04944245beec: Download complete 15:26:26 765212b225bb: Verifying Checksum 15:26:26 765212b225bb: Download complete 15:26:26 f23df028b6ca: Download complete 15:26:26 d65c8cfc05b1: Verifying Checksum 15:26:26 d65c8cfc05b1: Download complete 15:26:26 699f458cf7ca: Verifying Checksum 15:26:26 699f458cf7ca: Download complete 15:26:26 8998bd30e6a1: Verifying Checksum 15:26:26 8998bd30e6a1: Download complete 15:26:29 2437ff75d9bd: Verifying Checksum 15:26:29 2437ff75d9bd: Download complete 15:26:30 8998bd30e6a1: Pull complete 15:26:30 04944245beec: Pull complete 15:26:32 699f458cf7ca: Pull complete 15:26:32 765212b225bb: Pull complete 15:26:35 f23df028b6ca: Pull complete 15:26:35 d65c8cfc05b1: Pull complete 15:26:50 2437ff75d9bd: Pull complete 15:26:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:26:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:51 prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container 15:26:51 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:26:53 $ docker top f5e4da24ae1b965232f50ee6b0f39d261928ffb3a788eb302066b91adf0cb3a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:54 ---> job-cost.sh 15:26:54 lf-activate-venv: SKIPPING 15:26:54 INFO: No Stack... 15:26:54 INFO: Retrieving Pricing Info for: v3-standard-4 15:26:55 INFO: Archiving Costs [Pipeline] sh 15:26:56 + cut -d, -f6 15:26:56 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 15:26:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] 15:26:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] did not exist. Created. 15:26:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:56 /w/workspace/device-modbus-go/2@tmp/durable-1bd2e8f2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:26:57 + echo total: 0.10999999940395355 [Pipeline] stash 15:26:57 Warning: overwriting stash ‘stack-cost’ 15:26:57 Stashed 1 file(s) [Pipeline] } 15:26:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-419-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:26:57 $ docker stop --time=1 f5e4da24ae1b965232f50ee6b0f39d261928ffb3a788eb302066b91adf0cb3a5 15:27:01 $ docker rm -f --volumes f5e4da24ae1b965232f50ee6b0f39d261928ffb3a788eb302066b91adf0cb3a5 [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 15:27:01 provisioning config files... 15:27:01 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config6709426565678818451tmp [Pipeline] { [Pipeline] sh 15:27:02 + set +x 15:27:02 + bash -s -- 15:27:02 + curl -s https://codecov.io/bash 15:27:02 15:27:02 _____ _ 15:27:02 / ____| | | 15:27:02 | | ___ __| | ___ ___ _____ __ 15:27:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:27:02 | |___| (_) | (_| | __/ (_| (_) \ V / 15:27:02 \_____\___/ \__,_|\___|\___\___/ \_/ 15:27:02 Bash-1.0.6 15:27:02 15:27:02 15:27:02 ==> git version 2.25.1 found 15:27:02 ==> 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 15:27:02 Release-Date: 2020-01-08 15:27:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:27:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:27:02 ==> Jenkins CI detected. 15:27:02 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-419 15:27:02 project root: . 15:27:02 --> token set from env 15:27:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:27:02 ==> Running gcov in . (disable via -X gcov) 15:27:02 ==> Python coveragepy not found 15:27:02 ==> Searching for coverage reports in: 15:27:02 + . 15:27:02 -> Found 1 reports 15:27:02 ==> Detecting git/mercurial file structure 15:27:02 ==> Reading reports 15:27:02 + ./coverage.out bytes=23241 15:27:02 ==> Appending adjustments 15:27:02 https://docs.codecov.io/docs/fixing-reports 15:27:02 + Found adjustments 15:27:02 ==> Gzipping contents 15:27:02 4.0K /tmp/codecov.IGeKAy.gz 15:27:02 ==> Uploading reports 15:27:02 url: https://codecov.io 15:27:02 query: branch=PR-419&commit=e79e8edbbbda87ce70d68e80a7af49f46533eea2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-419%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=419&job=&cmd_args= 15:27:02 -> Pinging Codecov 15:27:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-419&commit=e79e8edbbbda87ce70d68e80a7af49f46533eea2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-419%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=419&job=&cmd_args= 15:27:02 -> Uploading to 15:27:02 https://storage.googleapis.com/codecov/v4/raw/2023-02-27/55DBCA73C666E3227836607328DD7E49/e79e8edbbbda87ce70d68e80a7af49f46533eea2/dad2ff01-646e-4bd2-8f1e-2c39745a509b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T152702Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d30e3b7dc51840bffd3805bdd2d29334750743e4d5e6e9f76160ef3f390e8b1a 15:27:02 % Total % Received % Xferd Average Speed Time Time Time Current 15:27:02 Dload Upload Total Spent Left Speed 15:27:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3899 0 0 100 3899 0 19206 --:--:-- --:--:-- --:--:-- 19112 100 3899 0 0 100 3899 0 16521 --:--:-- --:--:-- --:--:-- 16451 15:27:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e79e8edbbbda87ce70d68e80a7af49f46533eea2 [Pipeline] } 15:27:02 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 15:27:03 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-419/archives ] 15:27:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-419/archives 15:27:03 total 16 15:27:03 drwxr-xr-x 3 root root 4096 Feb 27 15:18 . 15:27:03 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 15:18 .. 15:27:03 drwxr-xr-x 2 root root 4096 Feb 27 15:18 cost 15:27:03 -rw-r--r-- 1 root root 88 Feb 27 15:18 cost.csv 15:27:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-419/archives 15:27:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-419/archives 15:27:03 total 16 15:27:03 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:18 . 15:27:03 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 15:18 .. 15:27:03 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 15:18 cost 15:27:03 -rw-r--r-- 1 jenkins jenkins 88 Feb 27 15:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:27:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:27:04 ---> package-listing.sh 15:27:04 ++ facter osfamily 15:27:04 ++ tr '[:upper:]' '[:lower:]' 15:27:04 + OS_FAMILY=debian 15:27:04 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-419 15:27:04 + START_PACKAGES=/tmp/packages_start.txt 15:27:04 + END_PACKAGES=/tmp/packages_end.txt 15:27:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:27:04 + PACKAGES=/tmp/packages_start.txt 15:27:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-419 ']' 15:27:04 + PACKAGES=/tmp/packages_end.txt 15:27:04 + case "${OS_FAMILY}" in 15:27:04 + dpkg -l 15:27:04 + grep '^ii' 15:27:04 + '[' -f /tmp/packages_start.txt ']' 15:27:04 + '[' -f /tmp/packages_end.txt ']' 15:27:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:27:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-419 ']' 15:27:04 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-419/archives/ 15:27:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-419/archives/ [Pipeline] echo 15:27:04 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-419/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:27:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:05 prd-ubuntu20.04-docker-8c-8g-7590 does not seem to be running inside a container 15:27:05 $ 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-419/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-419 -v /w/workspace/xfoundry_device-modbus-go_PR-419:/w/workspace/xfoundry_device-modbus-go_PR-419:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-419@tmp:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:27:05 $ docker top d45f8a7314d98b6f7d98ea9bbb899d22db290f80194b9317b2428ee88a172a68 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:06 + touch /tmp/pre-build-complete [Pipeline] sh 15:27:06 + mkdir -p /var/log/sysstat [Pipeline] sh 15:27:06 + ls /var/log/sa-host 15:27:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:06 provisioning config files... 15:27:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-419@tmp/config11421669258287859771tmp [Pipeline] { [Pipeline] echo 15:27:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:27:07 ---> create-netrc.sh [Pipeline] } 15:27:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:27:07 ---> python-tools-install.sh [Pipeline] echo 15:27:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:27:07 ---> sudo-logs.sh 15:27:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:27:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:27:08 ---> job-cost.sh 15:27:08 lf-activate-venv: SKIPPING 15:27:08 DEBUG: total: 0.2199999988079071 15:27:08 INFO: Retrieving Stack Cost... 15:27:08 INFO: Retrieving Pricing Info for: v3-standard-8 15:27:09 INFO: Archiving Costs [Pipeline] echo 15:27:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:27:09 ---> logs-deploy.sh 15:27:09 lf-activate-venv: SKIPPING 15:27:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-419/2 15:27:09 INFO: archiving workspace using pattern(s): 15:27:10 Archives upload complete. 15:27:10 INFO: archiving logs to Nexus