Pull request #1076 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 2c9dfba109846ec6e3a71fe827451a179e021c5b rather than cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 Obtained Jenkinsfile from 2c9dfba109846ec6e3a71fe827451a179e021c5b 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-ssh550382171927075850.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh12911251386863009940.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17931159816853405714.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5861999216736729825.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh12443076214113792547.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18033129593004453251.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-758 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1076 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/jenkins-gitclient-ssh1144700077915251267.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 Merge succeeded, producing cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 Checking out Revision cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 (PR-1076) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/jenkins-gitclient-ssh5436416457444982828.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1076/head:refs/remotes/origin/PR-1076 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/jenkins-gitclient-ssh5333526791595617153.key > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 Commit message: "feat(security): Enable gosec and default linter set" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-05T05:45:19.420Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-05T05:45:19.583Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-05T05:45:19.687Z] ========================================================= [2022-01-05T05:45:19.687Z] EdgeX Global Pipelines Version Info [2022-01-05T05:45:19.687Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:45:20.835Z] ------------------- [2022-01-05T05:45:20.835Z] stable info: [2022-01-05T05:45:20.835Z] ------------------- [2022-01-05T05:45:20.835Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-05T05:45:20.835Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-05T05:45:20.835Z] Message: update stable to v1.0.217 [2022-01-05T05:45:21.408Z] ------------------- [2022-01-05T05:45:21.408Z] experimental info: [2022-01-05T05:45:21.408Z] ------------------- [2022-01-05T05:45:21.408Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-05T05:45:21.408Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-05T05:45:21.408Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-05T05:45:21.666Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-05T05:45:21.702Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-05T05:45:21.744Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-05T05:45:21.785Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-05T05:45:21.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-05T05:45:21.866Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-05T05:45:21.905Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-05T05:45:21.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-05T05:45:21.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-05T05:45:22.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-05T05:45:22.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-05T05:45:22.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-05T05:45:22.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-05T05:45:22.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-05T05:45:22.226Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-05T05:45:22.264Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T05:45:22.302Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T05:45:22.343Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T05:45:22.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-05T05:45:22.429Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-05T05:45:22.472Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-05T05:45:22.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-05T05:45:22.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-05T05:45:22.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-05T05:45:22.633Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-05T05:45:22.673Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-05T05:45:22.712Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1076 [Pipeline] echo [2022-01-05T05:45:22.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1076 [Pipeline] echo [2022-01-05T05:45:22.785Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1076 [Pipeline] echo [2022-01-05T05:45:22.822Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [Pipeline] echo [2022-01-05T05:45:22.863Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf147a2 [Pipeline] echo [2022-01-05T05:45:22.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T05:45:23.008Z] provisioning config files... [2022-01-05T05:45:23.025Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config4723100980724858352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:45:23.390Z] ---> docker-login.sh [2022-01-05T05:45:23.390Z] nexus3.edgexfoundry.org:10001 [2022-01-05T05:45:23.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:45:23.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:45:23.651Z] Configure a credential helper to remove this warning. See [2022-01-05T05:45:23.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:45:23.651Z] [2022-01-05T05:45:23.651Z] Login Succeeded [2022-01-05T05:45:23.651Z] nexus3.edgexfoundry.org:10002 [2022-01-05T05:45:23.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:45:23.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:45:23.651Z] Configure a credential helper to remove this warning. See [2022-01-05T05:45:23.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:45:23.651Z] [2022-01-05T05:45:23.651Z] Login Succeeded [2022-01-05T05:45:23.651Z] nexus3.edgexfoundry.org:10003 [2022-01-05T05:45:23.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:45:23.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:45:23.921Z] Configure a credential helper to remove this warning. See [2022-01-05T05:45:23.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:45:23.921Z] [2022-01-05T05:45:23.921Z] Login Succeeded [2022-01-05T05:45:23.921Z] nexus3.edgexfoundry.org:10004 [2022-01-05T05:45:23.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:45:23.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:45:23.921Z] Configure a credential helper to remove this warning. See [2022-01-05T05:45:23.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:45:23.921Z] [2022-01-05T05:45:23.921Z] Login Succeeded [2022-01-05T05:45:23.921Z] docker.io [2022-01-05T05:45:23.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:45:24.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:45:24.495Z] Configure a credential helper to remove this warning. See [2022-01-05T05:45:24.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:45:24.495Z] [2022-01-05T05:45:24.495Z] Login Succeeded [2022-01-05T05:45:24.495Z] ---> docker-login.sh ends [Pipeline] } [2022-01-05T05:45:24.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-05T05:45:25.173Z] + git rev-list -1 --merges cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6~1..cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [Pipeline] echo [2022-01-05T05:45:25.218Z] -----------> git rev-list -1 --merges cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6~1..cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [false] [Pipeline] sh [2022-01-05T05:45:25.535Z] + git log --format=format:%s -1 cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [Pipeline] echo [2022-01-05T05:45:25.567Z] ========================================================= [2022-01-05T05:45:25.567Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-05T05:45:25.567Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T05:45:26.001Z] + git log --format=format:%s -1 cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [Pipeline] echo [2022-01-05T05:45:26.033Z] [semverPrep] GIT_COMMIT: cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo [2022-01-05T05:45:26.062Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-05T05:45:26.509Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-05T05:45:26.510Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-05T05:45:26.510Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-05T05:45:26.510Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-05T05:45:26.510Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-05T05:45:26.510Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-05T05:45:26.510Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:45:26.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T05:45:26.984Z] [2022-01-05T05:45:26.984Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:45:27.338Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T05:45:27.338Z] latest: Pulling from edgex-devops/git-semver [2022-01-05T05:45:27.338Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T05:45:27.338Z] 3e5f54012d9b: Pulling fs layer [2022-01-05T05:45:27.338Z] 4c7163046ea9: Pulling fs layer [2022-01-05T05:45:27.338Z] 0c2d73faf560: Pulling fs layer [2022-01-05T05:45:27.338Z] 0c2d73faf560: Waiting [2022-01-05T05:45:27.338Z] 3e5f54012d9b: Verifying Checksum [2022-01-05T05:45:27.338Z] 3e5f54012d9b: Download complete [2022-01-05T05:45:27.338Z] a0d0a0d46f8b: Verifying Checksum [2022-01-05T05:45:27.338Z] a0d0a0d46f8b: Download complete [2022-01-05T05:45:27.338Z] 4c7163046ea9: Verifying Checksum [2022-01-05T05:45:27.338Z] 4c7163046ea9: Download complete [2022-01-05T05:45:27.338Z] 0c2d73faf560: Verifying Checksum [2022-01-05T05:45:27.338Z] 0c2d73faf560: Download complete [2022-01-05T05:45:27.599Z] a0d0a0d46f8b: Pull complete [2022-01-05T05:45:27.599Z] 3e5f54012d9b: Pull complete [2022-01-05T05:45:27.862Z] 4c7163046ea9: Pull complete [2022-01-05T05:45:28.126Z] 0c2d73faf560: Pull complete [2022-01-05T05:45:28.126Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-05T05:45:28.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T05:45:28.126Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-05T05:45:28.226Z] prd-centos7-docker-4c-2g-758 does not seem to be running inside a container [2022-01-05T05:45:28.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1076 -v /w/workspace/gexfoundry_device-sdk-go_PR-1076:/w/workspace/gexfoundry_device-sdk-go_PR-1076:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-05T05:45:28.873Z] $ docker top 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-05T05:45:29.052Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T05:45:29.052Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T05:45:29.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T05:45:29.180Z] $ docker exec 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 ssh-agent [2022-01-05T05:45:29.300Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXePOpHA/agent.14 [2022-01-05T05:45:29.300Z] SSH_AGENT_PID=20 [2022-01-05T05:45:29.307Z] Running ssh-add (command line suppressed) [2022-01-05T05:45:29.408Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/private_key_1039123349118318050.key (/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/private_key_1039123349118318050.key) [2022-01-05T05:45:29.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T05:45:29.764Z] + git tag --points-at HEAD [Pipeline] } [2022-01-05T05:45:29.789Z] $ docker exec --env ******** --env ******** 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 ssh-agent -k [2022-01-05T05:45:29.870Z] unset SSH_AUTH_SOCK; [2022-01-05T05:45:29.870Z] unset SSH_AGENT_PID; [2022-01-05T05:45:29.870Z] echo Agent pid 20 killed; [2022-01-05T05:45:29.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-05T05:45:29.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T05:45:29.973Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T05:45:30.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T05:45:30.070Z] $ docker exec 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 ssh-agent [2022-01-05T05:45:30.164Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDlnOiG/agent.54 [2022-01-05T05:45:30.164Z] SSH_AGENT_PID=60 [2022-01-05T05:45:30.170Z] Running ssh-add (command line suppressed) [2022-01-05T05:45:30.261Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/private_key_6490710047092758403.key (/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/private_key_6490710047092758403.key) [2022-01-05T05:45:30.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T05:45:30.609Z] + git semver init [2022-01-05T05:45:30.609Z] # -> Open(): unable to determine branch for HEAD [2022-01-05T05:45:30.609Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1076/.git [2022-01-05T05:45:30.609Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1076 [2022-01-05T05:45:30.609Z] # $SEMVER_REMOTE_NAME = origin [2022-01-05T05:45:30.609Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-05T05:45:30.609Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-05T05:45:30.609Z] # $SEMVER_BRANCH = PR-1076 [2022-01-05T05:45:30.609Z] # $SEMVER_TEMP = /tmp/semver-043525654 [2022-01-05T05:45:30.609Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-05T05:45:31.554Z] # '/tmp/semver-043525654' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1076/.semver' [2022-01-05T05:45:31.554Z] # -> Force: false [2022-01-05T05:45:31.554Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1076/.semver [Pipeline] } [2022-01-05T05:45:31.579Z] $ docker exec --env ******** --env ******** 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 ssh-agent -k [2022-01-05T05:45:31.670Z] unset SSH_AUTH_SOCK; [2022-01-05T05:45:31.671Z] unset SSH_AGENT_PID; [2022-01-05T05:45:31.671Z] echo Agent pid 60 killed; [2022-01-05T05:45:31.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-05T05:45:32.111Z] + git semver [Pipeline] } [2022-01-05T05:45:32.140Z] $ docker stop --time=1 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 [2022-01-05T05:45:33.417Z] $ docker rm -f 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T05:45:33.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-05T05:45:34.109Z] Stashed 1 file(s) [Pipeline] echo [2022-01-05T05:45:34.131Z] [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] node [Pipeline] node [2022-01-05T05:45:49.520Z] Still waiting to schedule task [2022-01-05T05:45:49.520Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-758’ [2022-01-05T05:45:49.539Z] Still waiting to schedule task [2022-01-05T05:45:49.540Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-05T05:47:14.100Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-759 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] ws [2022-01-05T05:47:14.143Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-05T05:47:14.363Z] The recommended git tool is: git [2022-01-05T05:47:18.972Z] using credential edgex-jenkins-ssh [2022-01-05T05:47:18.992Z] Cloning the remote Git repository [2022-01-05T05:47:19.037Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T05:47:19.119Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-05T05:47:19.208Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T05:47:19.209Z] > git --version # timeout=10 [2022-01-05T05:47:19.228Z] > git --version # 'git version 2.17.1' [2022-01-05T05:47:19.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T05:47:19.326Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T05:47:21.706Z] Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [2022-01-05T05:47:20.821Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-05T05:47:20.838Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T05:47:20.866Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-05T05:47:20.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T05:47:20.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T05:47:20.975Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1076/head:refs/remotes/origin/PR-1076 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-05T05:47:21.717Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T05:47:21.734Z] > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 [2022-01-05T05:47:21.950Z] Merge succeeded, producing cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [2022-01-05T05:47:21.951Z] Checking out Revision cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 (PR-1076) [2022-01-05T05:47:21.851Z] > git remote # timeout=10 [2022-01-05T05:47:21.873Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T05:47:21.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T05:47:21.906Z] > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 [2022-01-05T05:47:21.928Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T05:47:21.949Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T05:47:21.964Z] > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 [2022-01-05T05:47:26.165Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-05T05:47:26.216Z] > git --version # timeout=10 [2022-01-05T05:47:26.227Z] > git --version # 'git version 2.17.1' [2022-01-05T05:47:26.237Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T05:47:27.603Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-05T05:47:27.603Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-05T05:47:27.603Z] Dload Upload Total Spent Left Speed [2022-01-05T05:47:27.603Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78826 0 --:--:-- --:--:-- --:--:-- 79355 [Pipeline] sh [2022-01-05T05:47:28.149Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-05T05:47:28.499Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-05T05:47:28.499Z] + sudo tee /etc/docker/daemon.new [2022-01-05T05:47:28.499Z] { [2022-01-05T05:47:28.499Z] "registry-mirrors": [ [2022-01-05T05:47:28.499Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-05T05:47:28.499Z] ], [2022-01-05T05:47:28.499Z] "bip": "10.250.0.254/24", [2022-01-05T05:47:28.499Z] "hosts": [ [2022-01-05T05:47:28.499Z] "tcp://0.0.0.0:5555", [2022-01-05T05:47:28.499Z] "unix:///var/run/docker.sock" [2022-01-05T05:47:28.499Z] ], [2022-01-05T05:47:28.499Z] "mtu": 1458, [2022-01-05T05:47:28.499Z] "selinux-enabled": true, [2022-01-05T05:47:28.499Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-05T05:47:28.499Z] } [Pipeline] sh [2022-01-05T05:47:28.866Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-05T05:47:29.355Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T05:47:47.734Z] provisioning config files... [2022-01-05T05:47:47.758Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2088822933200940373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:47:48.148Z] ---> docker-login.sh [2022-01-05T05:47:48.148Z] nexus3.edgexfoundry.org:10001 [2022-01-05T05:47:48.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:47:49.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:47:49.017Z] Configure a credential helper to remove this warning. See [2022-01-05T05:47:49.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:47:49.017Z] [2022-01-05T05:47:49.017Z] Login Succeeded [2022-01-05T05:47:49.017Z] nexus3.edgexfoundry.org:10002 [2022-01-05T05:47:49.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:47:49.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:47:49.291Z] Configure a credential helper to remove this warning. See [2022-01-05T05:47:49.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:47:49.291Z] [2022-01-05T05:47:49.291Z] Login Succeeded [2022-01-05T05:47:49.291Z] nexus3.edgexfoundry.org:10003 [2022-01-05T05:47:49.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:47:49.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:47:49.844Z] Configure a credential helper to remove this warning. See [2022-01-05T05:47:49.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:47:49.844Z] [2022-01-05T05:47:49.844Z] Login Succeeded [2022-01-05T05:47:49.844Z] nexus3.edgexfoundry.org:10004 [2022-01-05T05:47:50.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:47:50.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:47:50.120Z] Configure a credential helper to remove this warning. See [2022-01-05T05:47:50.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:47:50.120Z] [2022-01-05T05:47:50.120Z] Login Succeeded [2022-01-05T05:47:50.120Z] docker.io [2022-01-05T05:47:50.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:47:50.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:47:50.998Z] Configure a credential helper to remove this warning. See [2022-01-05T05:47:50.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:47:50.998Z] [2022-01-05T05:47:50.998Z] Login Succeeded [2022-01-05T05:47:50.998Z] ---> docker-login.sh ends [Pipeline] } [2022-01-05T05:47:51.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-05T05:47:51.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T05:47:51.768Z] ========================================================= [2022-01-05T05:47:51.768Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-05T05:47:51.768Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:47:52.250Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-05T05:47:52.856Z] Sending build context to Docker daemon 5.057MB [2022-01-05T05:47:52.856Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-05T05:47:52.856Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-05T05:47:52.856Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-05T05:47:52.856Z] 552d1f2373af: Pulling fs layer [2022-01-05T05:47:52.856Z] ea3f2d53f512: Pulling fs layer [2022-01-05T05:47:52.856Z] 9e70ebbbe112: Pulling fs layer [2022-01-05T05:47:52.856Z] 7a9cfe048b4a: Pulling fs layer [2022-01-05T05:47:52.856Z] 72dc09318566: Pulling fs layer [2022-01-05T05:47:52.856Z] f4f7b4309257: Pulling fs layer [2022-01-05T05:47:52.856Z] 0ac9a79272e3: Pulling fs layer [2022-01-05T05:47:52.856Z] b78e95d17946: Pulling fs layer [2022-01-05T05:47:52.856Z] f4f7b4309257: Waiting [2022-01-05T05:47:52.856Z] 7a9cfe048b4a: Waiting [2022-01-05T05:47:52.856Z] 72dc09318566: Waiting [2022-01-05T05:47:52.856Z] 0ac9a79272e3: Waiting [2022-01-05T05:47:52.856Z] b78e95d17946: Waiting [2022-01-05T05:47:52.856Z] 9e70ebbbe112: Download complete [2022-01-05T05:47:52.856Z] ea3f2d53f512: Verifying Checksum [2022-01-05T05:47:52.856Z] ea3f2d53f512: Download complete [2022-01-05T05:47:52.856Z] 72dc09318566: Verifying Checksum [2022-01-05T05:47:52.856Z] 72dc09318566: Download complete [2022-01-05T05:47:52.856Z] f4f7b4309257: Verifying Checksum [2022-01-05T05:47:52.856Z] f4f7b4309257: Download complete [2022-01-05T05:47:52.856Z] 552d1f2373af: Verifying Checksum [2022-01-05T05:47:52.856Z] 552d1f2373af: Download complete [2022-01-05T05:47:52.856Z] 0ac9a79272e3: Verifying Checksum [2022-01-05T05:47:52.856Z] 0ac9a79272e3: Download complete [2022-01-05T05:47:53.468Z] 552d1f2373af: Pull complete [2022-01-05T05:47:54.070Z] ea3f2d53f512: Pull complete [2022-01-05T05:47:54.345Z] 9e70ebbbe112: Pull complete [2022-01-05T05:47:54.950Z] b78e95d17946: Verifying Checksum [2022-01-05T05:47:54.950Z] b78e95d17946: Download complete [2022-01-05T05:47:55.222Z] 7a9cfe048b4a: Verifying Checksum [2022-01-05T05:47:55.222Z] 7a9cfe048b4a: Download complete [2022-01-05T05:48:07.617Z] 7a9cfe048b4a: Pull complete [2022-01-05T05:48:07.617Z] 72dc09318566: Pull complete [2022-01-05T05:48:07.617Z] f4f7b4309257: Pull complete [2022-01-05T05:48:07.617Z] 0ac9a79272e3: Pull complete [2022-01-05T05:48:13.044Z] b78e95d17946: Pull complete [2022-01-05T05:48:13.044Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-05T05:48:13.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T05:48:13.044Z] ---> 8b459fc5aaf0 [2022-01-05T05:48:13.044Z] Step 3/10 : ARG MAKE=make build [2022-01-05T05:48:13.804Z] Running on prd-centos7-docker-4c-2g-760 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] ws [2022-01-05T05:48:13.845Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-05T05:48:13.958Z] The recommended git tool is: git [2022-01-05T05:48:14.041Z] ---> Running in 9c7b62d9bdc4 [2022-01-05T05:48:14.715Z] Removing intermediate container 9c7b62d9bdc4 [2022-01-05T05:48:14.715Z] ---> 132f99f7c5c5 [2022-01-05T05:48:14.715Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-05T05:48:14.715Z] ---> Running in 6d791e0dc36b [2022-01-05T05:48:14.988Z] Removing intermediate container 6d791e0dc36b [2022-01-05T05:48:14.988Z] ---> 2c0f7223f701 [2022-01-05T05:48:14.988Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T05:48:15.261Z] ---> Running in c625301bd969 [2022-01-05T05:48:15.535Z] Removing intermediate container c625301bd969 [2022-01-05T05:48:15.535Z] ---> ff0cdb8f5c05 [2022-01-05T05:48:15.535Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T05:48:15.535Z] ---> Running in 6f79585bc227 [2022-01-05T05:48:15.653Z] using credential edgex-jenkins-ssh [2022-01-05T05:48:15.663Z] Cloning the remote Git repository [2022-01-05T05:48:14.804Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T05:48:14.836Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-05T05:48:14.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T05:48:14.917Z] > git --version # timeout=10 [2022-01-05T05:48:14.931Z] > git --version # 'git version 2.24.4' [2022-01-05T05:48:14.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T05:48:14.953Z] [INFO] Currently running in a labeled security context [2022-01-05T05:48:14.953Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T05:48:14.953Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8952076270114695846.key [2022-01-05T05:48:14.977Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T05:48:17.314Z] Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [2022-01-05T05:48:15.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-05T05:48:15.823Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T05:48:15.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-05T05:48:15.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T05:48:15.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T05:48:15.865Z] [INFO] Currently running in a labeled security context [2022-01-05T05:48:15.865Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T05:48:15.866Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7836204008269787197.key [2022-01-05T05:48:15.876Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1076/head:refs/remotes/origin/PR-1076 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-05T05:48:17.442Z] Merge succeeded, producing cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [2022-01-05T05:48:17.442Z] Checking out Revision cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 (PR-1076) [2022-01-05T05:48:17.519Z] Removing intermediate container 6f79585bc227 [2022-01-05T05:48:17.519Z] ---> 0013c7cbe1fc [2022-01-05T05:48:17.519Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-05T05:48:17.519Z] ---> Running in 360c57c02ba9 [2022-01-05T05:48:16.446Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T05:48:16.460Z] > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 [2022-01-05T05:48:16.505Z] > git remote # timeout=10 [2022-01-05T05:48:16.514Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T05:48:16.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T05:48:16.520Z] [INFO] Currently running in a labeled security context [2022-01-05T05:48:16.520Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T05:48:16.520Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6219259420304862834.key [2022-01-05T05:48:16.545Z] > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 [2022-01-05T05:48:16.554Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T05:48:16.567Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T05:48:16.577Z] > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 [2022-01-05T05:48:18.510Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-05T05:48:19.491Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-05T05:48:20.119Z] OK: 219 MiB in 52 packages [2022-01-05T05:48:21.072Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-05T05:48:21.096Z] Removing intermediate container 360c57c02ba9 [2022-01-05T05:48:21.096Z] ---> b635ac18245b [2022-01-05T05:48:21.096Z] Step 8/10 : COPY . . [2022-01-05T05:48:20.216Z] > git --version # timeout=10 [2022-01-05T05:48:20.223Z] > git --version # 'git version 2.24.4' [2022-01-05T05:48:20.227Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T05:48:21.649Z] provisioning config files... [2022-01-05T05:48:21.664Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7230528194669212447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:48:22.076Z] ---> 4c20cf23b97d [2022-01-05T05:48:22.076Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-05T05:48:22.101Z] ---> docker-login.sh [2022-01-05T05:48:22.101Z] nexus3.edgexfoundry.org:10001 [2022-01-05T05:48:22.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:48:22.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:48:22.101Z] Configure a credential helper to remove this warning. See [2022-01-05T05:48:22.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:48:22.101Z] [2022-01-05T05:48:22.101Z] Login Succeeded [2022-01-05T05:48:22.351Z] ---> Running in ed10b22b7722 [2022-01-05T05:48:22.364Z] nexus3.edgexfoundry.org:10002 [2022-01-05T05:48:22.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:48:22.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:48:22.364Z] Configure a credential helper to remove this warning. See [2022-01-05T05:48:22.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:48:22.364Z] [2022-01-05T05:48:22.364Z] Login Succeeded [2022-01-05T05:48:22.364Z] nexus3.edgexfoundry.org:10003 [2022-01-05T05:48:22.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:48:22.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:48:22.364Z] Configure a credential helper to remove this warning. See [2022-01-05T05:48:22.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:48:22.364Z] [2022-01-05T05:48:22.364Z] Login Succeeded [2022-01-05T05:48:22.364Z] nexus3.edgexfoundry.org:10004 [2022-01-05T05:48:22.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:48:22.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:48:22.624Z] Configure a credential helper to remove this warning. See [2022-01-05T05:48:22.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:48:22.624Z] [2022-01-05T05:48:22.624Z] Login Succeeded [2022-01-05T05:48:22.624Z] docker.io [2022-01-05T05:48:22.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T05:48:22.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T05:48:22.887Z] Configure a credential helper to remove this warning. See [2022-01-05T05:48:22.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T05:48:22.887Z] [2022-01-05T05:48:22.887Z] Login Succeeded [2022-01-05T05:48:22.887Z] ---> docker-login.sh ends [Pipeline] } [2022-01-05T05:48:22.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-05T05:48:23.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T05:48:23.278Z] ========================================================= [2022-01-05T05:48:23.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-05T05:48:23.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:48:23.706Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-05T05:48:23.706Z] Sending build context to Docker daemon 5.058MB [2022-01-05T05:48:23.706Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-05T05:48:23.706Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-05T05:48:23.706Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-05T05:48:23.706Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T05:48:23.706Z] 31adcdaf11c8: Pulling fs layer [2022-01-05T05:48:23.706Z] b8b176561691: Pulling fs layer [2022-01-05T05:48:23.706Z] 4527c011a84f: Pulling fs layer [2022-01-05T05:48:23.706Z] 5d74067f8e1e: Pulling fs layer [2022-01-05T05:48:23.706Z] e0aca202a116: Pulling fs layer [2022-01-05T05:48:23.706Z] 3a43be97a3b4: Pulling fs layer [2022-01-05T05:48:23.706Z] 34cad66bf833: Pulling fs layer [2022-01-05T05:48:23.706Z] b4e3c513aaa6: Pulling fs layer [2022-01-05T05:48:23.706Z] e0aca202a116: Waiting [2022-01-05T05:48:23.706Z] 3a43be97a3b4: Waiting [2022-01-05T05:48:23.706Z] 4527c011a84f: Waiting [2022-01-05T05:48:23.706Z] 34cad66bf833: Waiting [2022-01-05T05:48:23.706Z] b4e3c513aaa6: Waiting [2022-01-05T05:48:23.706Z] 5d74067f8e1e: Waiting [2022-01-05T05:48:23.706Z] b8b176561691: Download complete [2022-01-05T05:48:23.706Z] 31adcdaf11c8: Download complete [2022-01-05T05:48:23.975Z] 5d74067f8e1e: Verifying Checksum [2022-01-05T05:48:23.975Z] 5d74067f8e1e: Download complete [2022-01-05T05:48:23.975Z] e0aca202a116: Verifying Checksum [2022-01-05T05:48:23.975Z] e0aca202a116: Download complete [2022-01-05T05:48:23.975Z] 3a43be97a3b4: Verifying Checksum [2022-01-05T05:48:23.975Z] 3a43be97a3b4: Download complete [2022-01-05T05:48:23.975Z] a0d0a0d46f8b: Verifying Checksum [2022-01-05T05:48:23.975Z] a0d0a0d46f8b: Download complete [2022-01-05T05:48:23.975Z] 34cad66bf833: Verifying Checksum [2022-01-05T05:48:23.975Z] 34cad66bf833: Download complete [2022-01-05T05:48:24.240Z] 4527c011a84f: Verifying Checksum [2022-01-05T05:48:24.240Z] 4527c011a84f: Download complete [2022-01-05T05:48:24.509Z] a0d0a0d46f8b: Pull complete [2022-01-05T05:48:24.509Z] b4e3c513aaa6: Verifying Checksum [2022-01-05T05:48:24.509Z] b4e3c513aaa6: Download complete [2022-01-05T05:48:24.509Z] 31adcdaf11c8: Pull complete [2022-01-05T05:48:24.509Z] b8b176561691: Pull complete [2022-01-05T05:48:28.740Z] 4527c011a84f: Pull complete [2022-01-05T05:48:28.740Z] 5d74067f8e1e: Pull complete [2022-01-05T05:48:28.740Z] e0aca202a116: Pull complete [2022-01-05T05:48:28.740Z] 3a43be97a3b4: Pull complete [2022-01-05T05:48:28.740Z] 34cad66bf833: Pull complete [2022-01-05T05:48:30.683Z] b4e3c513aaa6: Pull complete [2022-01-05T05:48:30.683Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-05T05:48:30.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T05:48:30.683Z] ---> 9f6097aaca64 [2022-01-05T05:48:30.683Z] Step 3/10 : ARG MAKE=make build [2022-01-05T05:48:33.237Z] ---> Running in fa681b397a6b [2022-01-05T05:48:33.237Z] Removing intermediate container fa681b397a6b [2022-01-05T05:48:33.237Z] ---> 720f0cd7bb7e [2022-01-05T05:48:33.237Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-05T05:48:33.237Z] ---> Running in 33759c64660c [2022-01-05T05:48:33.237Z] Removing intermediate container 33759c64660c [2022-01-05T05:48:33.237Z] ---> 5fc18705d10a [2022-01-05T05:48:33.237Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T05:48:33.237Z] ---> Running in 2eb181cc184d [2022-01-05T05:48:33.237Z] Removing intermediate container 2eb181cc184d [2022-01-05T05:48:33.237Z] ---> 007340580858 [2022-01-05T05:48:33.237Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T05:48:33.237Z] ---> Running in 85a5677f9a88 [2022-01-05T05:48:33.499Z] Removing intermediate container 85a5677f9a88 [2022-01-05T05:48:33.499Z] ---> 782b39db9476 [2022-01-05T05:48:33.499Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-05T05:48:33.499Z] ---> Running in c9a6cde31e27 [2022-01-05T05:48:33.760Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-05T05:48:34.699Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-05T05:48:34.959Z] OK: 220 MiB in 52 packages [2022-01-05T05:48:35.222Z] Removing intermediate container c9a6cde31e27 [2022-01-05T05:48:35.222Z] ---> 5ab329ceb4a2 [2022-01-05T05:48:35.222Z] Step 8/10 : COPY . . [2022-01-05T05:48:35.486Z] ---> 8c1ce70b88c8 [2022-01-05T05:48:35.486Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-05T05:48:35.486Z] ---> Running in 2a9de4719d9f [2022-01-05T05:49:07.637Z] Removing intermediate container 2a9de4719d9f [2022-01-05T05:49:07.637Z] ---> c5b9b727c70e [2022-01-05T05:49:07.637Z] Step 10/10 : RUN ${MAKE} [2022-01-05T05:49:07.637Z] ---> Running in 8d476139360e [2022-01-05T05:49:07.637Z] noop [2022-01-05T05:49:07.637Z] Removing intermediate container 8d476139360e [2022-01-05T05:49:07.637Z] ---> 7a9abd15eaf0 [2022-01-05T05:49:07.637Z] Successfully built 7a9abd15eaf0 [2022-01-05T05:49:07.637Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:49:07.978Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T05:49:07.978Z] . [Pipeline] withDockerContainer [2022-01-05T05:49:08.068Z] prd-centos7-docker-4c-2g-760 does not seem to be running inside a container [2022-01-05T05:49:08.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-05T05:49:08.436Z] $ docker top 7e0140c549b33e84b6ffdcef39812a30970084b7ac7ca06afd92e0eb5e444fa6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T05:49:08.846Z] + go version [2022-01-05T05:49:08.846Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-05T05:49:08.880Z] $ docker stop --time=1 7e0140c549b33e84b6ffdcef39812a30970084b7ac7ca06afd92e0eb5e444fa6 [2022-01-05T05:49:10.061Z] $ docker rm -f 7e0140c549b33e84b6ffdcef39812a30970084b7ac7ca06afd92e0eb5e444fa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:49:10.749Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T05:49:10.749Z] . [Pipeline] withDockerContainer [2022-01-05T05:49:10.838Z] prd-centos7-docker-4c-2g-760 does not seem to be running inside a container [2022-01-05T05:49:10.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-05T05:49:11.204Z] $ docker top c5123f393330a356d5b71600d3b7aab469f6b9acca9d9c59ccbdab63269c47af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-05T05:49:11.668Z] + make test [2022-01-05T05:49:11.668Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-05T05:49:16.998Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-05T05:49:43.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-05T05:49:43.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-05T05:49:43.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-05T05:49:43.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.091s coverage: 23.3% of statements [2022-01-05T05:49:43.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-05T05:49:43.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements [2022-01-05T05:49:43.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements [2022-01-05T05:49:43.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2022-01-05T05:49:43.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-05T05:49:43.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-05T05:49:43.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-05T05:49:43.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2022-01-05T05:49:43.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-05T05:49:44.116Z] Removing intermediate container ed10b22b7722 [2022-01-05T05:49:44.116Z] ---> 9d5cfc0373b5 [2022-01-05T05:49:44.116Z] Step 10/10 : RUN ${MAKE} [2022-01-05T05:49:44.116Z] ---> Running in e8633a6dbc0c [2022-01-05T05:49:44.116Z] noop [2022-01-05T05:49:44.116Z] Removing intermediate container e8633a6dbc0c [2022-01-05T05:49:44.116Z] ---> 9b2bd5ae3c71 [2022-01-05T05:49:44.116Z] Successfully built 9b2bd5ae3c71 [2022-01-05T05:49:44.116Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:49:44.277Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.052s coverage: 83.3% of statements [2022-01-05T05:49:44.277Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-05T05:49:44.277Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-05T05:49:44.277Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.4% of statements [2022-01-05T05:49:44.501Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T05:49:44.501Z] . [Pipeline] withDockerContainer [2022-01-05T05:49:44.746Z] prd-ubuntu18.04-docker-arm64-4c-16g-759 does not seem to be running inside a container [2022-01-05T05:49:44.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-05T05:49:45.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.860s coverage: 89.2% of statements [2022-01-05T05:49:45.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-05T05:49:45.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.8% of statements [2022-01-05T05:49:45.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-05T05:49:46.105Z] $ docker top 30b0f0a45e2522cf2b2f7fb400f94adcd8ad8679fac37e96640a6be35c535697 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T05:49:47.068Z] + go version [2022-01-05T05:49:47.068Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-05T05:49:47.120Z] $ docker stop --time=1 30b0f0a45e2522cf2b2f7fb400f94adcd8ad8679fac37e96640a6be35c535697 [2022-01-05T05:49:48.728Z] $ docker rm -f 30b0f0a45e2522cf2b2f7fb400f94adcd8ad8679fac37e96640a6be35c535697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:49:49.582Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T05:49:49.583Z] . [Pipeline] withDockerContainer [2022-01-05T05:49:49.815Z] prd-ubuntu18.04-docker-arm64-4c-16g-759 does not seem to be running inside a container [2022-01-05T05:49:49.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-05T05:49:51.177Z] $ docker top f76991a6250671318cd304f8d05c3521ee75259d09a65eba9dcb90fc9bb03a26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-05T05:49:52.161Z] + make test [2022-01-05T05:49:52.161Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-05T05:50:07.760Z] internal/messaging/messaging.go:84:5: S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple) [2022-01-05T05:50:07.761Z] select { [2022-01-05T05:50:07.761Z] ^ [2022-01-05T05:50:07.761Z] internal/autodiscovery/autodiscovery.go:48:4: SA2000: should call wg.Add(1) before starting the goroutine to avoid a race (staticcheck) [2022-01-05T05:50:07.761Z] wg.Add(1) [2022-01-05T05:50:07.761Z] ^ [2022-01-05T05:50:07.761Z] make: *** [Makefile:39: lint] Error 1 [Pipeline] } [2022-01-05T05:50:07.810Z] $ docker stop --time=1 c5123f393330a356d5b71600d3b7aab469f6b9acca9d9c59ccbdab63269c47af [2022-01-05T05:50:09.294Z] $ docker rm -f c5123f393330a356d5b71600d3b7aab469f6b9acca9d9c59ccbdab63269c47af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:50:10.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T05:50:10.484Z] [2022-01-05T05:50:10.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:50:10.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T05:50:10.830Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T05:50:10.830Z] b4d181a07f80: Pulling fs layer [2022-01-05T05:50:10.830Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T05:50:10.830Z] ed53099fbce6: Pulling fs layer [2022-01-05T05:50:10.830Z] dc539afda2c1: Pulling fs layer [2022-01-05T05:50:10.830Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T05:50:10.830Z] 9065ff56babe: Pulling fs layer [2022-01-05T05:50:10.830Z] d287ab97295c: Pulling fs layer [2022-01-05T05:50:10.830Z] dc539afda2c1: Waiting [2022-01-05T05:50:10.830Z] 77bc0d833cb6: Waiting [2022-01-05T05:50:10.830Z] 9065ff56babe: Waiting [2022-01-05T05:50:10.830Z] d287ab97295c: Waiting [2022-01-05T05:50:10.830Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T05:50:10.830Z] a1111a8f2ec3: Download complete [2022-01-05T05:50:10.830Z] dc539afda2c1: Verifying Checksum [2022-01-05T05:50:10.830Z] dc539afda2c1: Download complete [2022-01-05T05:50:10.830Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T05:50:10.830Z] 77bc0d833cb6: Download complete [2022-01-05T05:50:10.830Z] ed53099fbce6: Verifying Checksum [2022-01-05T05:50:10.830Z] ed53099fbce6: Download complete [2022-01-05T05:50:11.090Z] 9065ff56babe: Verifying Checksum [2022-01-05T05:50:11.090Z] 9065ff56babe: Download complete [2022-01-05T05:50:11.090Z] b4d181a07f80: Verifying Checksum [2022-01-05T05:50:11.090Z] b4d181a07f80: Download complete [2022-01-05T05:50:11.671Z] d287ab97295c: Verifying Checksum [2022-01-05T05:50:11.671Z] d287ab97295c: Download complete [2022-01-05T05:50:12.636Z] b4d181a07f80: Pull complete [2022-01-05T05:50:12.636Z] a1111a8f2ec3: Pull complete [2022-01-05T05:50:13.204Z] ed53099fbce6: Pull complete [2022-01-05T05:50:13.204Z] dc539afda2c1: Pull complete [2022-01-05T05:50:13.466Z] 77bc0d833cb6: Pull complete [2022-01-05T05:50:13.466Z] 9065ff56babe: Pull complete [2022-01-05T05:50:18.804Z] d287ab97295c: Pull complete [2022-01-05T05:50:18.804Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T05:50:18.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T05:50:18.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T05:50:18.899Z] prd-centos7-docker-4c-2g-760 does not seem to be running inside a container [2022-01-05T05:50:18.946Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-05T05:50:18.981Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-05T05:50:21.515Z] $ docker top 28fb9aae35663088e2acf1734ed792043b778a39cbd3d539abb8b4dda7cf3208 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:50:22.027Z] ---> job-cost.sh [2022-01-05T05:50:22.027Z] lf-activate-venv: SKIPPING [2022-01-05T05:50:22.027Z] INFO: No Stack... [2022-01-05T05:50:22.287Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T05:50:22.862Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T05:50:23.184Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-01-05T05:50:23.184Z] + cut -d, -f6 [Pipeline] lock [2022-01-05T05:50:23.231Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [2022-01-05T05:50:23.235Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] did not exist. Created. [2022-01-05T05:50:23.236Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T05:50:23.645Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-05T05:50:23.849Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T05:50:23.865Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T05:50:23.958Z] $ docker stop --time=1 28fb9aae35663088e2acf1734ed792043b778a39cbd3d539abb8b4dda7cf3208 [2022-01-05T05:50:25.092Z] $ docker rm -f 28fb9aae35663088e2acf1734ed792043b778a39cbd3d539abb8b4dda7cf3208 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-05T05:50:25.669Z] Failed in branch amd64 [2022-01-05T05:51:27.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-05T05:51:27.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-05T05:51:27.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-05T05:51:29.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.467s coverage: 23.3% of statements [2022-01-05T05:51:29.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-05T05:51:29.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.215s coverage: 27.6% of statements [2022-01-05T05:51:29.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.225s coverage: 78.9% of statements [2022-01-05T05:51:29.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.210s coverage: 9.0% of statements [2022-01-05T05:51:29.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-05T05:51:29.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-05T05:51:29.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-05T05:51:30.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.386s coverage: 28.7% of statements [2022-01-05T05:51:30.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-05T05:51:31.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.248s coverage: 83.3% of statements [2022-01-05T05:51:31.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-05T05:51:31.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-05T05:51:31.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.419s coverage: 57.4% of statements [2022-01-05T05:51:34.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.058s coverage: 89.2% of statements [2022-01-05T05:51:34.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-05T05:51:34.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.182s coverage: 4.8% of statements [2022-01-05T05:51:34.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-05T05:51:34.803Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-05T05:51:34.803Z] GO111MODULE=on go vet ./... [2022-01-05T05:52:31.370Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T05:52:31.370Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-05T05:52:31.370Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-05T05:52:31.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-05T05:52:31.459Z] $ docker stop --time=1 f76991a6250671318cd304f8d05c3521ee75259d09a65eba9dcb90fc9bb03a26 [2022-01-05T05:52:33.251Z] $ docker rm -f f76991a6250671318cd304f8d05c3521ee75259d09a65eba9dcb90fc9bb03a26 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T05:52:34.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-05T05:52:35.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T05:52:36.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-05T05:52:36.942Z] + ls -al . [2022-01-05T05:52:36.943Z] total 308 [2022-01-05T05:52:36.943Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 05:52 . [2022-01-05T05:52:36.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 05:47 .. [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 5 05:47 .dockerignore [2022-01-05T05:52:36.943Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 05:47 .git [2022-01-05T05:52:36.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 05:47 .github [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 5 05:47 .gitignore [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 5 05:47 .golangci.yml [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 5 05:47 CHANGELOG.md [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 05:47 GOVERNANCE.md [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 5 05:47 Jenkinsfile [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 5 05:47 LICENSE [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 1590 Jan 5 05:47 Makefile [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 5 05:47 OWNERS.md [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 5 05:47 README.md [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 05:45 VERSION [2022-01-05T05:52:36.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 05:47 bin [2022-01-05T05:52:36.943Z] -rw-r--r-- 1 jenkins jenkins 128756 Jan 5 05:51 coverage.out [2022-01-05T05:52:36.943Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 05:47 example [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 5 05:47 go.mod [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 49492 Jan 5 05:47 go.sum [2022-01-05T05:52:36.943Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 5 05:47 internal [2022-01-05T05:52:36.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 05:47 openapi [2022-01-05T05:52:36.943Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 05:47 pkg [2022-01-05T05:52:36.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 05:47 snap [2022-01-05T05:52:36.943Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 5 05:47 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:52:37.332Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 --label arch=arm64 --label version=0.0.0 . [2022-01-05T05:52:37.961Z] Sending build context to Docker daemon 5.186MB [2022-01-05T05:52:37.961Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-05T05:52:37.961Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-05T05:52:37.961Z] ---> 9b2bd5ae3c71 [2022-01-05T05:52:37.961Z] Step 3/24 : ARG MAKE=make build [2022-01-05T05:52:37.961Z] ---> Running in 105cf8153df9 [2022-01-05T05:52:38.232Z] Removing intermediate container 105cf8153df9 [2022-01-05T05:52:38.232Z] ---> 0a3c85f6476f [2022-01-05T05:52:38.232Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-05T05:52:38.505Z] ---> Running in 842c60c8b334 [2022-01-05T05:52:38.780Z] Removing intermediate container 842c60c8b334 [2022-01-05T05:52:38.780Z] ---> b89b72e3a33a [2022-01-05T05:52:38.780Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T05:52:38.780Z] ---> Running in bbd14fe138ca [2022-01-05T05:52:39.389Z] Removing intermediate container bbd14fe138ca [2022-01-05T05:52:39.389Z] ---> f65d76d78fc1 [2022-01-05T05:52:39.389Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T05:52:39.389Z] ---> Running in 869aeac76bf2 [2022-01-05T05:52:40.821Z] Removing intermediate container 869aeac76bf2 [2022-01-05T05:52:40.821Z] ---> 3f1343e2baa2 [2022-01-05T05:52:40.821Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-05T05:52:41.093Z] ---> Running in d63a100b384c [2022-01-05T05:52:42.069Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-05T05:52:43.041Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-05T05:52:43.634Z] OK: 219 MiB in 52 packages [2022-01-05T05:52:44.610Z] Removing intermediate container d63a100b384c [2022-01-05T05:52:44.610Z] ---> f6c452368122 [2022-01-05T05:52:44.610Z] Step 8/24 : COPY . . [2022-01-05T05:52:45.589Z] ---> 19188859908f [2022-01-05T05:52:45.589Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-05T05:52:45.864Z] ---> Running in acc80630a410 [2022-01-05T05:52:47.844Z] Removing intermediate container acc80630a410 [2022-01-05T05:52:47.844Z] ---> ee36f6008970 [2022-01-05T05:52:47.844Z] Step 10/24 : RUN ${MAKE} [2022-01-05T05:52:47.844Z] ---> Running in 1320934fa80f [2022-01-05T05:52:48.823Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-05T05:53:21.168Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-05T05:53:23.778Z] Removing intermediate container 1320934fa80f [2022-01-05T05:53:23.778Z] ---> 35b4a7716451 [2022-01-05T05:53:23.778Z] Step 11/24 : FROM alpine:3.14 [2022-01-05T05:53:24.050Z] 3.14: Pulling from library/alpine [2022-01-05T05:53:24.050Z] be307f383ecc: Pulling fs layer [2022-01-05T05:53:24.321Z] be307f383ecc: Verifying Checksum [2022-01-05T05:53:24.321Z] be307f383ecc: Download complete [2022-01-05T05:53:24.917Z] be307f383ecc: Pull complete [2022-01-05T05:53:24.917Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-05T05:53:24.917Z] Status: Downloaded newer image for alpine:3.14 [2022-01-05T05:53:24.917Z] ---> 5b8b7b635229 [2022-01-05T05:53:24.917Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T05:53:25.191Z] ---> Running in f28d221ca2b0 [2022-01-05T05:53:25.465Z] Removing intermediate container f28d221ca2b0 [2022-01-05T05:53:25.465Z] ---> 211e82953190 [2022-01-05T05:53:25.465Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T05:53:25.465Z] ---> Running in 1212f1ca62b0 [2022-01-05T05:53:27.436Z] Removing intermediate container 1212f1ca62b0 [2022-01-05T05:53:27.436Z] ---> 9d33efa39223 [2022-01-05T05:53:27.436Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-05T05:53:27.436Z] ---> Running in 5cd3e4e34dbd [2022-01-05T05:53:28.030Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-05T05:53:28.999Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-05T05:53:29.974Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-05T05:53:29.974Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-05T05:53:29.974Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-05T05:53:30.246Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-05T05:53:30.246Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-05T05:53:30.246Z] Executing busybox-1.33.1-r6.trigger [2022-01-05T05:53:30.527Z] OK: 8 MiB in 19 packages [2022-01-05T05:53:31.500Z] Removing intermediate container 5cd3e4e34dbd [2022-01-05T05:53:31.500Z] ---> 17696a32a390 [2022-01-05T05:53:31.500Z] Step 15/24 : WORKDIR / [2022-01-05T05:53:31.500Z] ---> Running in b3f12c42f29e [2022-01-05T05:53:31.771Z] Removing intermediate container b3f12c42f29e [2022-01-05T05:53:31.771Z] ---> 8b9caf43c44d [2022-01-05T05:53:31.771Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-05T05:53:32.364Z] ---> 3b96cc471c0e [2022-01-05T05:53:32.364Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-05T05:53:33.342Z] ---> dcce48876571 [2022-01-05T05:53:33.343Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-05T05:53:33.938Z] ---> b3c2eb035111 [2022-01-05T05:53:33.938Z] Step 19/24 : EXPOSE 59999 [2022-01-05T05:53:33.938Z] ---> Running in abfbab2a7837 [2022-01-05T05:53:34.213Z] Removing intermediate container abfbab2a7837 [2022-01-05T05:53:34.213Z] ---> 97323100ca75 [2022-01-05T05:53:34.213Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-05T05:53:34.488Z] ---> Running in f54bb067bec2 [2022-01-05T05:53:34.765Z] Removing intermediate container f54bb067bec2 [2022-01-05T05:53:34.765Z] ---> 5cc7d66167c9 [2022-01-05T05:53:34.765Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-05T05:53:34.765Z] ---> Running in 27e4520494ed [2022-01-05T05:53:35.037Z] Removing intermediate container 27e4520494ed [2022-01-05T05:53:35.037Z] ---> 11c4c8210935 [2022-01-05T05:53:35.037Z] Step 22/24 : LABEL arch=arm64 [2022-01-05T05:53:35.308Z] ---> Running in 618ac93f5622 [2022-01-05T05:53:35.582Z] Removing intermediate container 618ac93f5622 [2022-01-05T05:53:35.582Z] ---> 4b4d308b6145 [2022-01-05T05:53:35.582Z] Step 23/24 : LABEL git_sha=cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [2022-01-05T05:53:35.582Z] ---> Running in 9880f4a7e5f1 [2022-01-05T05:53:36.179Z] Removing intermediate container 9880f4a7e5f1 [2022-01-05T05:53:36.179Z] ---> f669507d3e3a [2022-01-05T05:53:36.179Z] Step 24/24 : LABEL version=0.0.0 [2022-01-05T05:53:36.179Z] ---> Running in 80d0b16fb1a5 [2022-01-05T05:53:36.450Z] Removing intermediate container 80d0b16fb1a5 [2022-01-05T05:53:36.450Z] ---> 76a8244c7af8 [2022-01-05T05:53:36.450Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-05T05:53:36.450Z] Successfully built 76a8244c7af8 [2022-01-05T05:53:36.450Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-01-05T05:53:37.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T05:53:37.188Z] [2022-01-05T05:53:37.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:53:37.557Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T05:53:37.834Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-05T05:53:37.834Z] 448f6bf000e3: Pulling fs layer [2022-01-05T05:53:37.834Z] f757da607395: Pulling fs layer [2022-01-05T05:53:37.834Z] 05883995daec: Pulling fs layer [2022-01-05T05:53:37.834Z] 8603b9c90790: Pulling fs layer [2022-01-05T05:53:37.834Z] 1560dd03e051: Pulling fs layer [2022-01-05T05:53:37.834Z] 27f5ce0e4adf: Pulling fs layer [2022-01-05T05:53:37.834Z] c2d8d7efcc4b: Pulling fs layer [2022-01-05T05:53:37.834Z] 8603b9c90790: Waiting [2022-01-05T05:53:37.834Z] 1560dd03e051: Waiting [2022-01-05T05:53:37.834Z] 27f5ce0e4adf: Waiting [2022-01-05T05:53:37.834Z] c2d8d7efcc4b: Waiting [2022-01-05T05:53:37.834Z] f757da607395: Verifying Checksum [2022-01-05T05:53:37.834Z] f757da607395: Download complete [2022-01-05T05:53:37.834Z] 8603b9c90790: Download complete [2022-01-05T05:53:37.834Z] 1560dd03e051: Verifying Checksum [2022-01-05T05:53:37.834Z] 1560dd03e051: Download complete [2022-01-05T05:53:37.834Z] 27f5ce0e4adf: Verifying Checksum [2022-01-05T05:53:37.834Z] 27f5ce0e4adf: Download complete [2022-01-05T05:53:38.106Z] 05883995daec: Verifying Checksum [2022-01-05T05:53:38.106Z] 05883995daec: Download complete [2022-01-05T05:53:38.377Z] 448f6bf000e3: Verifying Checksum [2022-01-05T05:53:38.377Z] 448f6bf000e3: Download complete [2022-01-05T05:53:40.991Z] c2d8d7efcc4b: Verifying Checksum [2022-01-05T05:53:40.991Z] c2d8d7efcc4b: Download complete [2022-01-05T05:53:41.969Z] 448f6bf000e3: Pull complete [2022-01-05T05:53:42.564Z] f757da607395: Pull complete [2022-01-05T05:53:43.999Z] 05883995daec: Pull complete [2022-01-05T05:53:44.272Z] 8603b9c90790: Pull complete [2022-01-05T05:53:45.243Z] 1560dd03e051: Pull complete [2022-01-05T05:53:45.243Z] 27f5ce0e4adf: Pull complete [2022-01-05T05:54:00.311Z] c2d8d7efcc4b: Pull complete [2022-01-05T05:54:00.312Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-05T05:54:00.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T05:54:00.312Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-05T05:54:00.553Z] prd-ubuntu18.04-docker-arm64-4c-16g-759 does not seem to be running inside a container [2022-01-05T05:54:00.711Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-05T05:54:03.381Z] $ docker top 9eaa920ab356550eb3c523d897d12411e1949be0898bef2745fab1f83f505dfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:54:04.382Z] ---> job-cost.sh [2022-01-05T05:54:04.382Z] lf-activate-venv: SKIPPING [2022-01-05T05:54:04.382Z] INFO: No Stack... [2022-01-05T05:54:04.658Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-05T05:54:04.930Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T05:54:05.601Z] + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2022-01-05T05:54:05.601Z] [Pipeline] lock [2022-01-05T05:54:05.676Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [2022-01-05T05:54:05.681Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] did not exist. Created. [2022-01-05T05:54:05.681Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T05:54:06.422Z] /w/workspace/device-sdk-go/1@tmp/durable-d247bc05/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-d247bc05/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-05T05:54:07.111Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-05T05:54:07.150Z] Warning: overwriting stash ‘stack-cost’ [2022-01-05T05:54:07.205Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T05:54:07.223Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T05:54:07.327Z] $ docker stop --time=1 9eaa920ab356550eb3c523d897d12411e1949be0898bef2745fab1f83f505dfb [2022-01-05T05:54:08.804Z] $ docker rm -f 9eaa920ab356550eb3c523d897d12411e1949be0898bef2745fab1f83f505dfb [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-05T05:54:11.454Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:54:11.800Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:54:12.424Z] ---> package-listing.sh [2022-01-05T05:54:12.424Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-05T05:54:12.424Z] ++ facter osfamily [2022-01-05T05:54:12.424Z] + OS_FAMILY=redhat [2022-01-05T05:54:12.424Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1076 [2022-01-05T05:54:12.424Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-05T05:54:12.424Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-05T05:54:12.424Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-05T05:54:12.424Z] + PACKAGES=/tmp/packages_start.txt [2022-01-05T05:54:12.424Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1076 ']' [2022-01-05T05:54:12.424Z] + PACKAGES=/tmp/packages_end.txt [2022-01-05T05:54:12.424Z] + case "${OS_FAMILY}" in [2022-01-05T05:54:12.424Z] + sort [2022-01-05T05:54:12.424Z] + rpm -qa [2022-01-05T05:54:13.381Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-05T05:54:13.381Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-05T05:54:13.381Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-05T05:54:13.381Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1076 ']' [2022-01-05T05:54:13.381Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives/ [2022-01-05T05:54:13.381Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives/ [Pipeline] echo [2022-01-05T05:54:13.418Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1076/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-05T05:54:13.726Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:54:14.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T05:54:14.320Z] [2022-01-05T05:54:14.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T05:54:14.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T05:54:14.682Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T05:54:14.682Z] b4d181a07f80: Pulling fs layer [2022-01-05T05:54:14.682Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T05:54:14.682Z] ed53099fbce6: Pulling fs layer [2022-01-05T05:54:14.682Z] dc539afda2c1: Pulling fs layer [2022-01-05T05:54:14.682Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T05:54:14.682Z] 9065ff56babe: Pulling fs layer [2022-01-05T05:54:14.682Z] d287ab97295c: Pulling fs layer [2022-01-05T05:54:14.682Z] dc539afda2c1: Waiting [2022-01-05T05:54:14.682Z] 77bc0d833cb6: Waiting [2022-01-05T05:54:14.682Z] 9065ff56babe: Waiting [2022-01-05T05:54:14.682Z] d287ab97295c: Waiting [2022-01-05T05:54:14.682Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T05:54:14.682Z] a1111a8f2ec3: Download complete [2022-01-05T05:54:14.682Z] dc539afda2c1: Verifying Checksum [2022-01-05T05:54:14.682Z] dc539afda2c1: Download complete [2022-01-05T05:54:14.682Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T05:54:14.682Z] 77bc0d833cb6: Download complete [2022-01-05T05:54:14.682Z] ed53099fbce6: Verifying Checksum [2022-01-05T05:54:14.682Z] ed53099fbce6: Download complete [2022-01-05T05:54:14.682Z] 9065ff56babe: Verifying Checksum [2022-01-05T05:54:14.682Z] 9065ff56babe: Download complete [2022-01-05T05:54:14.949Z] b4d181a07f80: Verifying Checksum [2022-01-05T05:54:14.950Z] b4d181a07f80: Download complete [2022-01-05T05:54:15.527Z] d287ab97295c: Verifying Checksum [2022-01-05T05:54:15.527Z] d287ab97295c: Download complete [2022-01-05T05:54:16.108Z] b4d181a07f80: Pull complete [2022-01-05T05:54:16.377Z] a1111a8f2ec3: Pull complete [2022-01-05T05:54:16.959Z] ed53099fbce6: Pull complete [2022-01-05T05:54:16.959Z] dc539afda2c1: Pull complete [2022-01-05T05:54:17.219Z] 77bc0d833cb6: Pull complete [2022-01-05T05:54:17.483Z] 9065ff56babe: Pull complete [2022-01-05T05:54:22.821Z] d287ab97295c: Pull complete [2022-01-05T05:54:22.821Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T05:54:22.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T05:54:22.821Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T05:54:22.909Z] prd-centos7-docker-4c-2g-758 does not seem to be running inside a container [2022-01-05T05:54:22.938Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1076/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1076 -v /w/workspace/gexfoundry_device-sdk-go_PR-1076:/w/workspace/gexfoundry_device-sdk-go_PR-1076:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-05T05:54:25.461Z] $ docker top 2561265a510728cf3dce751a9ee0124eec9bad63bd432c24498ba00c8f4a37ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T05:54:25.866Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-05T05:54:26.179Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-05T05:54:26.494Z] + ls /var/log/sa-host [2022-01-05T05:54:26.494Z] + sadf -c /var/log/sa-host/sa05 [2022-01-05T05:54:26.494Z] file_magic: OK [2022-01-05T05:54:26.494Z] HZ: Using current value: 100 [2022-01-05T05:54:26.494Z] file_header: OK [2022-01-05T05:54:26.494Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-05T05:54:26.494Z] Statistics: [2022-01-05T05:54:26.494Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T05:54:26.494Z] File successfully converted to sysstat format version 12.0.3 [2022-01-05T05:54:26.494Z] + sadf -c /var/log/sa-host/sa17 [2022-01-05T05:54:26.494Z] file_magic: OK [2022-01-05T05:54:26.494Z] HZ: Using current value: 100 [2022-01-05T05:54:26.494Z] file_header: OK [2022-01-05T05:54:26.494Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-05T05:54:26.494Z] Statistics: [2022-01-05T05:54:26.494Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T05:54:26.494Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T05:54:26.776Z] provisioning config files... [2022-01-05T05:54:26.787Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config2038937883310693402tmp [Pipeline] { [Pipeline] echo [2022-01-05T05:54:26.835Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:54:27.155Z] ---> create-netrc.sh [Pipeline] } [2022-01-05T05:54:27.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:54:27.595Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-05T05:54:27.628Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:54:27.946Z] ---> sudo-logs.sh [2022-01-05T05:54:27.946Z] Archiving 'sudo' log.. [2022-01-05T05:54:27.946Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-758.novalocal: Name or service not known [2022-01-05T05:54:27.946Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-758.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-05T05:54:28.031Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:54:28.348Z] ---> job-cost.sh [2022-01-05T05:54:28.348Z] lf-activate-venv: SKIPPING [2022-01-05T05:54:28.348Z] DEBUG: total: 0.10999999940395355 [2022-01-05T05:54:28.348Z] INFO: Retrieving Stack Cost... [2022-01-05T05:54:28.609Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T05:54:28.870Z] INFO: Archiving Costs [Pipeline] echo [2022-01-05T05:54:28.907Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T05:54:29.233Z] ---> logs-deploy.sh [2022-01-05T05:54:29.233Z] lf-activate-venv: SKIPPING [2022-01-05T05:54:29.233Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1076/1 [2022-01-05T05:54:29.233Z] INFO: archiving workspace using pattern(s): [2022-01-05T05:54:29.808Z] Archives upload complete. [2022-01-05T05:54:30.072Z] INFO: archiving logs to Nexus