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 05:45:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:19 ========================================================= 05:45:19 EdgeX Global Pipelines Version Info 05:45:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:20 ------------------- 05:45:20 stable info: 05:45:20 ------------------- 05:45:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:45:20 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 05:45:20 Message: update stable to v1.0.217 05:45:21 ------------------- 05:45:21 experimental info: 05:45:21 ------------------- 05:45:21 Commited By: **** collab-it+edgex@linuxfoundation.org 05:45:21 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 05:45:21 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1076 [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1076 [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1076 [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf147a2 [Pipeline] echo 05:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:23 provisioning config files... 05:45:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config4723100980724858352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:23 ---> docker-login.sh 05:45:23 nexus3.edgexfoundry.org:10001 05:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:23 Configure a credential helper to remove this warning. See 05:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:23 05:45:23 Login Succeeded 05:45:23 nexus3.edgexfoundry.org:10002 05:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:23 Configure a credential helper to remove this warning. See 05:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:23 05:45:23 Login Succeeded 05:45:23 nexus3.edgexfoundry.org:10003 05:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:23 Configure a credential helper to remove this warning. See 05:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:23 05:45:23 Login Succeeded 05:45:23 nexus3.edgexfoundry.org:10004 05:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:23 Configure a credential helper to remove this warning. See 05:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:23 05:45:23 Login Succeeded 05:45:23 docker.io 05:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:24 Configure a credential helper to remove this warning. See 05:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:24 05:45:24 Login Succeeded 05:45:24 ---> docker-login.sh ends [Pipeline] } 05:45:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:45:25 + git rev-list -1 --merges cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6~1..cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [Pipeline] echo 05:45:25 -----------> git rev-list -1 --merges cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6~1..cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [false] [Pipeline] sh 05:45:25 + git log --format=format:%s -1 cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [Pipeline] echo 05:45:25 ========================================================= 05:45:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:45:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:26 + git log --format=format:%s -1 cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 [Pipeline] echo 05:45:26 [semverPrep] GIT_COMMIT: cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 05:45:26 [semverPrep] This is not a build commit. [Pipeline] sh 05:45:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:45:26 + grep -v github /etc/ssh/ssh_known_hosts 05:45:26 + '[' -e /tmp/ssh_known_hosts ']' 05:45:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:45:26 + sudo tee -a /etc/ssh/ssh_known_hosts 05:45:26 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 05:45:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:45:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:26 05:45:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:45:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:27 latest: Pulling from edgex-devops/git-semver 05:45:27 a0d0a0d46f8b: Pulling fs layer 05:45:27 3e5f54012d9b: Pulling fs layer 05:45:27 4c7163046ea9: Pulling fs layer 05:45:27 0c2d73faf560: Pulling fs layer 05:45:27 0c2d73faf560: Waiting 05:45:27 3e5f54012d9b: Verifying Checksum 05:45:27 3e5f54012d9b: Download complete 05:45:27 a0d0a0d46f8b: Verifying Checksum 05:45:27 a0d0a0d46f8b: Download complete 05:45:27 4c7163046ea9: Verifying Checksum 05:45:27 4c7163046ea9: Download complete 05:45:27 0c2d73faf560: Verifying Checksum 05:45:27 0c2d73faf560: Download complete 05:45:27 a0d0a0d46f8b: Pull complete 05:45:27 3e5f54012d9b: Pull complete 05:45:27 4c7163046ea9: Pull complete 05:45:28 0c2d73faf560: Pull complete 05:45:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:45:28 prd-centos7-docker-4c-2g-758 does not seem to be running inside a container 05:45:28 $ 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 05:45:28 $ docker top 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:29 [ssh-agent] Looking for ssh-agent implementation... 05:45:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:29 $ docker exec 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 ssh-agent 05:45:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXePOpHA/agent.14 05:45:29 SSH_AGENT_PID=20 05:45:29 Running ssh-add (command line suppressed) 05:45:29 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) 05:45:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:29 + git tag --points-at HEAD [Pipeline] } 05:45:29 $ docker exec --env ******** --env ******** 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 ssh-agent -k 05:45:29 unset SSH_AUTH_SOCK; 05:45:29 unset SSH_AGENT_PID; 05:45:29 echo Agent pid 20 killed; 05:45:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:45:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:29 [ssh-agent] Looking for ssh-agent implementation... 05:45:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:30 $ docker exec 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 ssh-agent 05:45:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDlnOiG/agent.54 05:45:30 SSH_AGENT_PID=60 05:45:30 Running ssh-add (command line suppressed) 05:45:30 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) 05:45:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:30 + git semver init 05:45:30 # -> Open(): unable to determine branch for HEAD 05:45:30 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1076/.git 05:45:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1076 05:45:30 # $SEMVER_REMOTE_NAME = origin 05:45:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:45:30 # $SEMVER_USER_NAME = edgex-jenkins 05:45:30 # $SEMVER_BRANCH = PR-1076 05:45:30 # $SEMVER_TEMP = /tmp/semver-043525654 05:45:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:45:31 # '/tmp/semver-043525654' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1076/.semver' 05:45:31 # -> Force: false 05:45:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1076/.semver [Pipeline] } 05:45:31 $ docker exec --env ******** --env ******** 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 ssh-agent -k 05:45:31 unset SSH_AUTH_SOCK; 05:45:31 unset SSH_AGENT_PID; 05:45:31 echo Agent pid 60 killed; 05:45:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:32 + git semver [Pipeline] } 05:45:32 $ docker stop --time=1 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 05:45:33 $ docker rm -f 18d82db18b36638775cea717ad641aefd24903b017f668d9a5444636d0942f17 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:45:34 Stashed 1 file(s) [Pipeline] echo 05:45:34 [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 05:45:49 Still waiting to schedule task 05:45:49 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-758’ 05:45:49 Still waiting to schedule task 05:45:49 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:47:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-759 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] ws 05:47:14 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:47:14 The recommended git tool is: git 05:47:18 using credential edgex-jenkins-ssh 05:47:18 Cloning the remote Git repository 05:47:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:47:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:47:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:47:19 > git --version # timeout=10 05:47:19 > git --version # 'git version 2.17.1' 05:47:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:21 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 05:47:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:47:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:47:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:47:20 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:20 > 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 05:47:21 > git config core.sparsecheckout # timeout=10 05:47:21 > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 05:47:21 Merge succeeded, producing cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 05:47:21 Checking out Revision cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 (PR-1076) 05:47:21 > git remote # timeout=10 05:47:21 > git config --get remote.origin.url # timeout=10 05:47:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:21 > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 05:47:21 > git rev-parse HEAD^{commit} # timeout=10 05:47:21 > git config core.sparsecheckout # timeout=10 05:47:21 > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 05:47:26 Commit message: "feat(security): Enable gosec and default linter set" 05:47:26 > git --version # timeout=10 05:47:26 > git --version # 'git version 2.17.1' 05:47:26 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:47:27 % Total % Received % Xferd Average Speed Time Time Time Current 05:47:27 Dload Upload Total Spent Left Speed 05:47:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78826 0 --:--:-- --:--:-- --:--:-- 79355 [Pipeline] sh 05:47:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:47:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:47:28 + sudo tee /etc/docker/daemon.new 05:47:28 { 05:47:28 "registry-mirrors": [ 05:47:28 "https://nexus3.edgexfoundry.org:10001" 05:47:28 ], 05:47:28 "bip": "10.250.0.254/24", 05:47:28 "hosts": [ 05:47:28 "tcp://0.0.0.0:5555", 05:47:28 "unix:///var/run/docker.sock" 05:47:28 ], 05:47:28 "mtu": 1458, 05:47:28 "selinux-enabled": true, 05:47:28 "seccomp-profile": "/etc/docker/seccomp.json" 05:47:28 } [Pipeline] sh 05:47:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:47:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:47 provisioning config files... 05:47:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2088822933200940373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:48 ---> docker-login.sh 05:47:48 nexus3.edgexfoundry.org:10001 05:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:49 Configure a credential helper to remove this warning. See 05:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:49 05:47:49 Login Succeeded 05:47:49 nexus3.edgexfoundry.org:10002 05:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:49 Configure a credential helper to remove this warning. See 05:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:49 05:47:49 Login Succeeded 05:47:49 nexus3.edgexfoundry.org:10003 05:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:49 Configure a credential helper to remove this warning. See 05:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:49 05:47:49 Login Succeeded 05:47:49 nexus3.edgexfoundry.org:10004 05:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:50 Configure a credential helper to remove this warning. See 05:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:50 05:47:50 Login Succeeded 05:47:50 docker.io 05:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:50 Configure a credential helper to remove this warning. See 05:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:50 05:47:50 Login Succeeded 05:47:50 ---> docker-login.sh ends [Pipeline] } 05:47:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:47:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:47:51 ========================================================= 05:47:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:47:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:47:52 + 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 . 05:47:52 Sending build context to Docker daemon 5.057MB 05:47:52 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 05:47:52 Step 2/10 : FROM ${BASE} AS builder 05:47:52 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:47:52 552d1f2373af: Pulling fs layer 05:47:52 ea3f2d53f512: Pulling fs layer 05:47:52 9e70ebbbe112: Pulling fs layer 05:47:52 7a9cfe048b4a: Pulling fs layer 05:47:52 72dc09318566: Pulling fs layer 05:47:52 f4f7b4309257: Pulling fs layer 05:47:52 0ac9a79272e3: Pulling fs layer 05:47:52 b78e95d17946: Pulling fs layer 05:47:52 f4f7b4309257: Waiting 05:47:52 7a9cfe048b4a: Waiting 05:47:52 72dc09318566: Waiting 05:47:52 0ac9a79272e3: Waiting 05:47:52 b78e95d17946: Waiting 05:47:52 9e70ebbbe112: Download complete 05:47:52 ea3f2d53f512: Verifying Checksum 05:47:52 ea3f2d53f512: Download complete 05:47:52 72dc09318566: Verifying Checksum 05:47:52 72dc09318566: Download complete 05:47:52 f4f7b4309257: Verifying Checksum 05:47:52 f4f7b4309257: Download complete 05:47:52 552d1f2373af: Verifying Checksum 05:47:52 552d1f2373af: Download complete 05:47:52 0ac9a79272e3: Verifying Checksum 05:47:52 0ac9a79272e3: Download complete 05:47:53 552d1f2373af: Pull complete 05:47:54 ea3f2d53f512: Pull complete 05:47:54 9e70ebbbe112: Pull complete 05:47:54 b78e95d17946: Verifying Checksum 05:47:54 b78e95d17946: Download complete 05:47:55 7a9cfe048b4a: Verifying Checksum 05:47:55 7a9cfe048b4a: Download complete 05:48:07 7a9cfe048b4a: Pull complete 05:48:07 72dc09318566: Pull complete 05:48:07 f4f7b4309257: Pull complete 05:48:07 0ac9a79272e3: Pull complete 05:48:13 b78e95d17946: Pull complete 05:48:13 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 05:48:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:48:13 ---> 8b459fc5aaf0 05:48:13 Step 3/10 : ARG MAKE=make build 05:48:13 Running on prd-centos7-docker-4c-2g-760 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] ws 05:48:13 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:48:13 The recommended git tool is: git 05:48:14 ---> Running in 9c7b62d9bdc4 05:48:14 Removing intermediate container 9c7b62d9bdc4 05:48:14 ---> 132f99f7c5c5 05:48:14 Step 4/10 : WORKDIR /device-sdk-go 05:48:14 ---> Running in 6d791e0dc36b 05:48:14 Removing intermediate container 6d791e0dc36b 05:48:14 ---> 2c0f7223f701 05:48:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:48:15 ---> Running in c625301bd969 05:48:15 Removing intermediate container c625301bd969 05:48:15 ---> ff0cdb8f5c05 05:48:15 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:15 ---> Running in 6f79585bc227 05:48:15 using credential edgex-jenkins-ssh 05:48:15 Cloning the remote Git repository 05:48:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:48:14 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:48:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:14 > git --version # timeout=10 05:48:14 > git --version # 'git version 2.24.4' 05:48:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:14 [INFO] Currently running in a labeled security context 05:48:14 [INFO] Currently SELinux is 'enforcing' on the host 05:48:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8952076270114695846.key 05:48:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:17 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 05:48:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:15 [INFO] Currently running in a labeled security context 05:48:15 [INFO] Currently SELinux is 'enforcing' on the host 05:48:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7836204008269787197.key 05:48:15 > 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 05:48:17 Merge succeeded, producing cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 05:48:17 Checking out Revision cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 (PR-1076) 05:48:17 Removing intermediate container 6f79585bc227 05:48:17 ---> 0013c7cbe1fc 05:48:17 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:48:17 ---> Running in 360c57c02ba9 05:48:16 > git config core.sparsecheckout # timeout=10 05:48:16 > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 05:48:16 > git remote # timeout=10 05:48:16 > git config --get remote.origin.url # timeout=10 05:48:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:16 [INFO] Currently running in a labeled security context 05:48:16 [INFO] Currently SELinux is 'enforcing' on the host 05:48:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6219259420304862834.key 05:48:16 > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 05:48:16 > git rev-parse HEAD^{commit} # timeout=10 05:48:16 > git config core.sparsecheckout # timeout=10 05:48:16 > git checkout -f cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 05:48:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:48:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:48:20 OK: 219 MiB in 52 packages 05:48:21 Commit message: "feat(security): Enable gosec and default linter set" 05:48:21 Removing intermediate container 360c57c02ba9 05:48:21 ---> b635ac18245b 05:48:21 Step 8/10 : COPY . . 05:48:20 > git --version # timeout=10 05:48:20 > git --version # 'git version 2.24.4' 05:48:20 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:21 provisioning config files... 05:48:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7230528194669212447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:22 ---> 4c20cf23b97d 05:48:22 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:48:22 ---> docker-login.sh 05:48:22 nexus3.edgexfoundry.org:10001 05:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:22 Configure a credential helper to remove this warning. See 05:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:22 05:48:22 Login Succeeded 05:48:22 ---> Running in ed10b22b7722 05:48:22 nexus3.edgexfoundry.org:10002 05:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:22 Configure a credential helper to remove this warning. See 05:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:22 05:48:22 Login Succeeded 05:48:22 nexus3.edgexfoundry.org:10003 05:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:22 Configure a credential helper to remove this warning. See 05:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:22 05:48:22 Login Succeeded 05:48:22 nexus3.edgexfoundry.org:10004 05:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:22 Configure a credential helper to remove this warning. See 05:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:22 05:48:22 Login Succeeded 05:48:22 docker.io 05:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:22 Configure a credential helper to remove this warning. See 05:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:22 05:48:22 Login Succeeded 05:48:22 ---> docker-login.sh ends [Pipeline] } 05:48:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:48:23 ========================================================= 05:48:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:48:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:48:23 + 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 . 05:48:23 Sending build context to Docker daemon 5.058MB 05:48:23 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 05:48:23 Step 2/10 : FROM ${BASE} AS builder 05:48:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:48:23 a0d0a0d46f8b: Pulling fs layer 05:48:23 31adcdaf11c8: Pulling fs layer 05:48:23 b8b176561691: Pulling fs layer 05:48:23 4527c011a84f: Pulling fs layer 05:48:23 5d74067f8e1e: Pulling fs layer 05:48:23 e0aca202a116: Pulling fs layer 05:48:23 3a43be97a3b4: Pulling fs layer 05:48:23 34cad66bf833: Pulling fs layer 05:48:23 b4e3c513aaa6: Pulling fs layer 05:48:23 e0aca202a116: Waiting 05:48:23 3a43be97a3b4: Waiting 05:48:23 4527c011a84f: Waiting 05:48:23 34cad66bf833: Waiting 05:48:23 b4e3c513aaa6: Waiting 05:48:23 5d74067f8e1e: Waiting 05:48:23 b8b176561691: Download complete 05:48:23 31adcdaf11c8: Download complete 05:48:23 5d74067f8e1e: Verifying Checksum 05:48:23 5d74067f8e1e: Download complete 05:48:23 e0aca202a116: Verifying Checksum 05:48:23 e0aca202a116: Download complete 05:48:23 3a43be97a3b4: Verifying Checksum 05:48:23 3a43be97a3b4: Download complete 05:48:23 a0d0a0d46f8b: Verifying Checksum 05:48:23 a0d0a0d46f8b: Download complete 05:48:23 34cad66bf833: Verifying Checksum 05:48:23 34cad66bf833: Download complete 05:48:24 4527c011a84f: Verifying Checksum 05:48:24 4527c011a84f: Download complete 05:48:24 a0d0a0d46f8b: Pull complete 05:48:24 b4e3c513aaa6: Verifying Checksum 05:48:24 b4e3c513aaa6: Download complete 05:48:24 31adcdaf11c8: Pull complete 05:48:24 b8b176561691: Pull complete 05:48:28 4527c011a84f: Pull complete 05:48:28 5d74067f8e1e: Pull complete 05:48:28 e0aca202a116: Pull complete 05:48:28 3a43be97a3b4: Pull complete 05:48:28 34cad66bf833: Pull complete 05:48:30 b4e3c513aaa6: Pull complete 05:48:30 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 05:48:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:48:30 ---> 9f6097aaca64 05:48:30 Step 3/10 : ARG MAKE=make build 05:48:33 ---> Running in fa681b397a6b 05:48:33 Removing intermediate container fa681b397a6b 05:48:33 ---> 720f0cd7bb7e 05:48:33 Step 4/10 : WORKDIR /device-sdk-go 05:48:33 ---> Running in 33759c64660c 05:48:33 Removing intermediate container 33759c64660c 05:48:33 ---> 5fc18705d10a 05:48:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:48:33 ---> Running in 2eb181cc184d 05:48:33 Removing intermediate container 2eb181cc184d 05:48:33 ---> 007340580858 05:48:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:33 ---> Running in 85a5677f9a88 05:48:33 Removing intermediate container 85a5677f9a88 05:48:33 ---> 782b39db9476 05:48:33 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:48:33 ---> Running in c9a6cde31e27 05:48:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:48:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:48:34 OK: 220 MiB in 52 packages 05:48:35 Removing intermediate container c9a6cde31e27 05:48:35 ---> 5ab329ceb4a2 05:48:35 Step 8/10 : COPY . . 05:48:35 ---> 8c1ce70b88c8 05:48:35 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:48:35 ---> Running in 2a9de4719d9f 05:49:07 Removing intermediate container 2a9de4719d9f 05:49:07 ---> c5b9b727c70e 05:49:07 Step 10/10 : RUN ${MAKE} 05:49:07 ---> Running in 8d476139360e 05:49:07 noop 05:49:07 Removing intermediate container 8d476139360e 05:49:07 ---> 7a9abd15eaf0 05:49:07 Successfully built 7a9abd15eaf0 05:49:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:49:07 + docker inspect -f . ci-base-image-x86_64 05:49:07 . [Pipeline] withDockerContainer 05:49:08 prd-centos7-docker-4c-2g-760 does not seem to be running inside a container 05:49:08 $ 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 05:49:08 $ docker top 7e0140c549b33e84b6ffdcef39812a30970084b7ac7ca06afd92e0eb5e444fa6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:08 + go version 05:49:08 go version go1.16.8 linux/amd64 [Pipeline] } 05:49:08 $ docker stop --time=1 7e0140c549b33e84b6ffdcef39812a30970084b7ac7ca06afd92e0eb5e444fa6 05:49:10 $ docker rm -f 7e0140c549b33e84b6ffdcef39812a30970084b7ac7ca06afd92e0eb5e444fa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:10 + docker inspect -f . ci-base-image-x86_64 05:49:10 . [Pipeline] withDockerContainer 05:49:10 prd-centos7-docker-4c-2g-760 does not seem to be running inside a container 05:49:10 $ 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 05:49:11 $ docker top c5123f393330a356d5b71600d3b7aab469f6b9acca9d9c59ccbdab63269c47af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:49:11 + make test 05:49:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:49:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:49:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.091s coverage: 23.3% of statements 05:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:49:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements 05:49:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements 05:49:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements 05:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:49:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements 05:49:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:49:44 Removing intermediate container ed10b22b7722 05:49:44 ---> 9d5cfc0373b5 05:49:44 Step 10/10 : RUN ${MAKE} 05:49:44 ---> Running in e8633a6dbc0c 05:49:44 noop 05:49:44 Removing intermediate container e8633a6dbc0c 05:49:44 ---> 9b2bd5ae3c71 05:49:44 Successfully built 9b2bd5ae3c71 05:49:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.052s coverage: 83.3% of statements 05:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.4% of statements 05:49:44 + docker inspect -f . ci-base-image-arm64 05:49:44 . [Pipeline] withDockerContainer 05:49:44 prd-ubuntu18.04-docker-arm64-4c-16g-759 does not seem to be running inside a container 05:49:44 $ 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 05:49:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.860s coverage: 89.2% of statements 05:49:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:49:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.8% of statements 05:49:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:49:46 $ docker top 30b0f0a45e2522cf2b2f7fb400f94adcd8ad8679fac37e96640a6be35c535697 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:47 + go version 05:49:47 go version go1.16.8 linux/arm64 [Pipeline] } 05:49:47 $ docker stop --time=1 30b0f0a45e2522cf2b2f7fb400f94adcd8ad8679fac37e96640a6be35c535697 05:49:48 $ docker rm -f 30b0f0a45e2522cf2b2f7fb400f94adcd8ad8679fac37e96640a6be35c535697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:49 + docker inspect -f . ci-base-image-arm64 05:49:49 . [Pipeline] withDockerContainer 05:49:49 prd-ubuntu18.04-docker-arm64-4c-16g-759 does not seem to be running inside a container 05:49:49 $ 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 05:49:51 $ docker top f76991a6250671318cd304f8d05c3521ee75259d09a65eba9dcb90fc9bb03a26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:49:52 + make test 05:49:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:50:07 internal/messaging/messaging.go:84:5: S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple) 05:50:07 select { 05:50:07 ^ 05:50:07 internal/autodiscovery/autodiscovery.go:48:4: SA2000: should call wg.Add(1) before starting the goroutine to avoid a race (staticcheck) 05:50:07 wg.Add(1) 05:50:07 ^ 05:50:07 make: *** [Makefile:39: lint] Error 1 [Pipeline] } 05:50:07 $ docker stop --time=1 c5123f393330a356d5b71600d3b7aab469f6b9acca9d9c59ccbdab63269c47af 05:50:09 $ 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 05:50:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:50:10 05:50:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:50:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:50:10 latest: Pulling from edgex-lftools-log-publisher 05:50:10 b4d181a07f80: Pulling fs layer 05:50:10 a1111a8f2ec3: Pulling fs layer 05:50:10 ed53099fbce6: Pulling fs layer 05:50:10 dc539afda2c1: Pulling fs layer 05:50:10 77bc0d833cb6: Pulling fs layer 05:50:10 9065ff56babe: Pulling fs layer 05:50:10 d287ab97295c: Pulling fs layer 05:50:10 dc539afda2c1: Waiting 05:50:10 77bc0d833cb6: Waiting 05:50:10 9065ff56babe: Waiting 05:50:10 d287ab97295c: Waiting 05:50:10 a1111a8f2ec3: Verifying Checksum 05:50:10 a1111a8f2ec3: Download complete 05:50:10 dc539afda2c1: Verifying Checksum 05:50:10 dc539afda2c1: Download complete 05:50:10 77bc0d833cb6: Verifying Checksum 05:50:10 77bc0d833cb6: Download complete 05:50:10 ed53099fbce6: Verifying Checksum 05:50:10 ed53099fbce6: Download complete 05:50:11 9065ff56babe: Verifying Checksum 05:50:11 9065ff56babe: Download complete 05:50:11 b4d181a07f80: Verifying Checksum 05:50:11 b4d181a07f80: Download complete 05:50:11 d287ab97295c: Verifying Checksum 05:50:11 d287ab97295c: Download complete 05:50:12 b4d181a07f80: Pull complete 05:50:12 a1111a8f2ec3: Pull complete 05:50:13 ed53099fbce6: Pull complete 05:50:13 dc539afda2c1: Pull complete 05:50:13 77bc0d833cb6: Pull complete 05:50:13 9065ff56babe: Pull complete 05:50:18 d287ab97295c: Pull complete 05:50:18 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:50:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:50:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:50:18 prd-centos7-docker-4c-2g-760 does not seem to be running inside a container 05:50:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 05:50:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:50:21 $ docker top 28fb9aae35663088e2acf1734ed792043b778a39cbd3d539abb8b4dda7cf3208 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:22 ---> job-cost.sh 05:50:22 lf-activate-venv: SKIPPING 05:50:22 INFO: No Stack... 05:50:22 INFO: Retrieving Pricing Info for: v3-standard-2 05:50:22 INFO: Archiving Costs [Pipeline] sh 05:50:23 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:50:23 + cut -d, -f6 [Pipeline] lock 05:50:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] 05:50:23 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] did not exist. Created. 05:50:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:50:23 + echo total: 0.05999999865889549 [Pipeline] stash 05:50:23 Stashed 1 file(s) [Pipeline] } 05:50:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:50:23 $ docker stop --time=1 28fb9aae35663088e2acf1734ed792043b778a39cbd3d539abb8b4dda7cf3208 05:50:25 $ 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] } 05:50:25 Failed in branch amd64 05:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:51:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.467s coverage: 23.3% of statements 05:51:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:51:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.215s coverage: 27.6% of statements 05:51:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.225s coverage: 78.9% of statements 05:51:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.210s coverage: 9.0% of statements 05:51:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:51:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:51:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:51:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.386s coverage: 28.7% of statements 05:51:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:51:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.248s coverage: 83.3% of statements 05:51:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:51:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:51:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.419s coverage: 57.4% of statements 05:51:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.058s coverage: 89.2% of statements 05:51:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:51:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.182s coverage: 4.8% of statements 05:51:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:51:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:51:34 GO111MODULE=on go vet ./... 05:52:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:52:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:52:31 ./bin/test-attribution-txt.sh [Pipeline] echo 05:52:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:52:31 $ docker stop --time=1 f76991a6250671318cd304f8d05c3521ee75259d09a65eba9dcb90fc9bb03a26 05:52:33 $ docker rm -f f76991a6250671318cd304f8d05c3521ee75259d09a65eba9dcb90fc9bb03a26 [Pipeline] // withDockerContainer [Pipeline] sh 05:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:52:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:52:36 + ls -al . 05:52:36 total 308 05:52:36 drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 05:52 . 05:52:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 05:47 .. 05:52:36 -rw-rw-r-- 1 jenkins jenkins 140 Jan 5 05:47 .dockerignore 05:52:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 05:47 .git 05:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 05:47 .github 05:52:36 -rw-rw-r-- 1 jenkins jenkins 131 Jan 5 05:47 .gitignore 05:52:36 -rw-rw-r-- 1 jenkins jenkins 42 Jan 5 05:47 .golangci.yml 05:52:36 -rw-rw-r-- 1 jenkins jenkins 26321 Jan 5 05:47 CHANGELOG.md 05:52:36 -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 05:47 GOVERNANCE.md 05:52:36 -rw-rw-r-- 1 jenkins jenkins 880 Jan 5 05:47 Jenkinsfile 05:52:36 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 5 05:47 LICENSE 05:52:36 -rw-rw-r-- 1 jenkins jenkins 1590 Jan 5 05:47 Makefile 05:52:36 -rw-rw-r-- 1 jenkins jenkins 619 Jan 5 05:47 OWNERS.md 05:52:36 -rw-rw-r-- 1 jenkins jenkins 4881 Jan 5 05:47 README.md 05:52:36 -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 05:45 VERSION 05:52:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 05:47 bin 05:52:36 -rw-r--r-- 1 jenkins jenkins 128756 Jan 5 05:51 coverage.out 05:52:36 drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 05:47 example 05:52:36 -rw-rw-r-- 1 jenkins jenkins 582 Jan 5 05:47 go.mod 05:52:36 -rw-rw-r-- 1 jenkins jenkins 49492 Jan 5 05:47 go.sum 05:52:36 drwxrwxr-x 15 jenkins jenkins 4096 Jan 5 05:47 internal 05:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 05:47 openapi 05:52:36 drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 05:47 pkg 05:52:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 05:47 snap 05:52:36 -rw-rw-r-- 1 jenkins jenkins 222 Jan 5 05:47 version.go [Pipeline] isUnix [Pipeline] sh 05:52:37 + 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 . 05:52:37 Sending build context to Docker daemon 5.186MB 05:52:37 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 05:52:37 Step 2/24 : FROM ${BASE} AS builder 05:52:37 ---> 9b2bd5ae3c71 05:52:37 Step 3/24 : ARG MAKE=make build 05:52:37 ---> Running in 105cf8153df9 05:52:38 Removing intermediate container 105cf8153df9 05:52:38 ---> 0a3c85f6476f 05:52:38 Step 4/24 : WORKDIR /device-sdk-go 05:52:38 ---> Running in 842c60c8b334 05:52:38 Removing intermediate container 842c60c8b334 05:52:38 ---> b89b72e3a33a 05:52:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:52:38 ---> Running in bbd14fe138ca 05:52:39 Removing intermediate container bbd14fe138ca 05:52:39 ---> f65d76d78fc1 05:52:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:52:39 ---> Running in 869aeac76bf2 05:52:40 Removing intermediate container 869aeac76bf2 05:52:40 ---> 3f1343e2baa2 05:52:40 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:52:41 ---> Running in d63a100b384c 05:52:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:52:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:52:43 OK: 219 MiB in 52 packages 05:52:44 Removing intermediate container d63a100b384c 05:52:44 ---> f6c452368122 05:52:44 Step 8/24 : COPY . . 05:52:45 ---> 19188859908f 05:52:45 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:52:45 ---> Running in acc80630a410 05:52:47 Removing intermediate container acc80630a410 05:52:47 ---> ee36f6008970 05:52:47 Step 10/24 : RUN ${MAKE} 05:52:47 ---> Running in 1320934fa80f 05:52:48 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 05:53:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:53:23 Removing intermediate container 1320934fa80f 05:53:23 ---> 35b4a7716451 05:53:23 Step 11/24 : FROM alpine:3.14 05:53:24 3.14: Pulling from library/alpine 05:53:24 be307f383ecc: Pulling fs layer 05:53:24 be307f383ecc: Verifying Checksum 05:53:24 be307f383ecc: Download complete 05:53:24 be307f383ecc: Pull complete 05:53:24 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:53:24 Status: Downloaded newer image for alpine:3.14 05:53:24 ---> 5b8b7b635229 05:53:24 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:25 ---> Running in f28d221ca2b0 05:53:25 Removing intermediate container f28d221ca2b0 05:53:25 ---> 211e82953190 05:53:25 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:25 ---> Running in 1212f1ca62b0 05:53:27 Removing intermediate container 1212f1ca62b0 05:53:27 ---> 9d33efa39223 05:53:27 Step 14/24 : RUN apk add --update --no-cache zeromq 05:53:27 ---> Running in 5cd3e4e34dbd 05:53:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:53:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:53:29 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:53:29 (2/5) Installing libsodium (1.0.18-r0) 05:53:29 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:53:30 (4/5) Installing libzmq (4.3.4-r0) 05:53:30 (5/5) Installing zeromq (4.3.4-r0) 05:53:30 Executing busybox-1.33.1-r6.trigger 05:53:30 OK: 8 MiB in 19 packages 05:53:31 Removing intermediate container 5cd3e4e34dbd 05:53:31 ---> 17696a32a390 05:53:31 Step 15/24 : WORKDIR / 05:53:31 ---> Running in b3f12c42f29e 05:53:31 Removing intermediate container b3f12c42f29e 05:53:31 ---> 8b9caf43c44d 05:53:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:53:32 ---> 3b96cc471c0e 05:53:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:53:33 ---> dcce48876571 05:53:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:53:33 ---> b3c2eb035111 05:53:33 Step 19/24 : EXPOSE 59999 05:53:33 ---> Running in abfbab2a7837 05:53:34 Removing intermediate container abfbab2a7837 05:53:34 ---> 97323100ca75 05:53:34 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:53:34 ---> Running in f54bb067bec2 05:53:34 Removing intermediate container f54bb067bec2 05:53:34 ---> 5cc7d66167c9 05:53:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:53:34 ---> Running in 27e4520494ed 05:53:35 Removing intermediate container 27e4520494ed 05:53:35 ---> 11c4c8210935 05:53:35 Step 22/24 : LABEL arch=arm64 05:53:35 ---> Running in 618ac93f5622 05:53:35 Removing intermediate container 618ac93f5622 05:53:35 ---> 4b4d308b6145 05:53:35 Step 23/24 : LABEL git_sha=cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 05:53:35 ---> Running in 9880f4a7e5f1 05:53:36 Removing intermediate container 9880f4a7e5f1 05:53:36 ---> f669507d3e3a 05:53:36 Step 24/24 : LABEL version=0.0.0 05:53:36 ---> Running in 80d0b16fb1a5 05:53:36 Removing intermediate container 80d0b16fb1a5 05:53:36 ---> 76a8244c7af8 05:53:36 [Warning] One or more build-args [ARCH] were not consumed 05:53:36 Successfully built 76a8244c7af8 05:53:36 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 05:53:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:37 05:53:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:53:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:37 arm64: Pulling from edgex-lftools-log-publisher 05:53:37 448f6bf000e3: Pulling fs layer 05:53:37 f757da607395: Pulling fs layer 05:53:37 05883995daec: Pulling fs layer 05:53:37 8603b9c90790: Pulling fs layer 05:53:37 1560dd03e051: Pulling fs layer 05:53:37 27f5ce0e4adf: Pulling fs layer 05:53:37 c2d8d7efcc4b: Pulling fs layer 05:53:37 8603b9c90790: Waiting 05:53:37 1560dd03e051: Waiting 05:53:37 27f5ce0e4adf: Waiting 05:53:37 c2d8d7efcc4b: Waiting 05:53:37 f757da607395: Verifying Checksum 05:53:37 f757da607395: Download complete 05:53:37 8603b9c90790: Download complete 05:53:37 1560dd03e051: Verifying Checksum 05:53:37 1560dd03e051: Download complete 05:53:37 27f5ce0e4adf: Verifying Checksum 05:53:37 27f5ce0e4adf: Download complete 05:53:38 05883995daec: Verifying Checksum 05:53:38 05883995daec: Download complete 05:53:38 448f6bf000e3: Verifying Checksum 05:53:38 448f6bf000e3: Download complete 05:53:40 c2d8d7efcc4b: Verifying Checksum 05:53:40 c2d8d7efcc4b: Download complete 05:53:41 448f6bf000e3: Pull complete 05:53:42 f757da607395: Pull complete 05:53:43 05883995daec: Pull complete 05:53:44 8603b9c90790: Pull complete 05:53:45 1560dd03e051: Pull complete 05:53:45 27f5ce0e4adf: Pull complete 05:54:00 c2d8d7efcc4b: Pull complete 05:54:00 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:54:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:54:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:54:00 prd-ubuntu18.04-docker-arm64-4c-16g-759 does not seem to be running inside a container 05:54:00 $ 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 05:54:03 $ docker top 9eaa920ab356550eb3c523d897d12411e1949be0898bef2745fab1f83f505dfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:04 ---> job-cost.sh 05:54:04 lf-activate-venv: SKIPPING 05:54:04 INFO: No Stack... 05:54:04 INFO: Retrieving Pricing Info for: v3-standard-4 05:54:04 INFO: Archiving Costs [Pipeline] sh 05:54:05 + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 05:54:05 [Pipeline] lock 05:54:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] 05:54:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] did not exist. Created. 05:54:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:54:06 /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 05:54:07 + echo total: 0.10999999940395355 [Pipeline] stash 05:54:07 Warning: overwriting stash ‘stack-cost’ 05:54:07 Stashed 1 file(s) [Pipeline] } 05:54:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:54:07 $ docker stop --time=1 9eaa920ab356550eb3c523d897d12411e1949be0898bef2745fab1f83f505dfb 05:54:08 $ 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 05:54:11 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:54:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:54:12 ---> package-listing.sh 05:54:12 ++ tr '[:upper:]' '[:lower:]' 05:54:12 ++ facter osfamily 05:54:12 + OS_FAMILY=redhat 05:54:12 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1076 05:54:12 + START_PACKAGES=/tmp/packages_start.txt 05:54:12 + END_PACKAGES=/tmp/packages_end.txt 05:54:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:54:12 + PACKAGES=/tmp/packages_start.txt 05:54:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1076 ']' 05:54:12 + PACKAGES=/tmp/packages_end.txt 05:54:12 + case "${OS_FAMILY}" in 05:54:12 + sort 05:54:12 + rpm -qa 05:54:13 + '[' -f /tmp/packages_start.txt ']' 05:54:13 + '[' -f /tmp/packages_end.txt ']' 05:54:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:54:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1076 ']' 05:54:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives/ 05:54:13 + 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 05:54:13 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 05:54:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:54:14 05:54:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:54:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:54:14 latest: Pulling from edgex-lftools-log-publisher 05:54:14 b4d181a07f80: Pulling fs layer 05:54:14 a1111a8f2ec3: Pulling fs layer 05:54:14 ed53099fbce6: Pulling fs layer 05:54:14 dc539afda2c1: Pulling fs layer 05:54:14 77bc0d833cb6: Pulling fs layer 05:54:14 9065ff56babe: Pulling fs layer 05:54:14 d287ab97295c: Pulling fs layer 05:54:14 dc539afda2c1: Waiting 05:54:14 77bc0d833cb6: Waiting 05:54:14 9065ff56babe: Waiting 05:54:14 d287ab97295c: Waiting 05:54:14 a1111a8f2ec3: Verifying Checksum 05:54:14 a1111a8f2ec3: Download complete 05:54:14 dc539afda2c1: Verifying Checksum 05:54:14 dc539afda2c1: Download complete 05:54:14 77bc0d833cb6: Verifying Checksum 05:54:14 77bc0d833cb6: Download complete 05:54:14 ed53099fbce6: Verifying Checksum 05:54:14 ed53099fbce6: Download complete 05:54:14 9065ff56babe: Verifying Checksum 05:54:14 9065ff56babe: Download complete 05:54:14 b4d181a07f80: Verifying Checksum 05:54:14 b4d181a07f80: Download complete 05:54:15 d287ab97295c: Verifying Checksum 05:54:15 d287ab97295c: Download complete 05:54:16 b4d181a07f80: Pull complete 05:54:16 a1111a8f2ec3: Pull complete 05:54:16 ed53099fbce6: Pull complete 05:54:16 dc539afda2c1: Pull complete 05:54:17 77bc0d833cb6: Pull complete 05:54:17 9065ff56babe: Pull complete 05:54:22 d287ab97295c: Pull complete 05:54:22 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:54:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:54:22 prd-centos7-docker-4c-2g-758 does not seem to be running inside a container 05:54:22 $ 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 05:54:25 $ docker top 2561265a510728cf3dce751a9ee0124eec9bad63bd432c24498ba00c8f4a37ef -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:25 + touch /tmp/pre-build-complete [Pipeline] sh 05:54:26 + mkdir -p /var/log/sysstat [Pipeline] sh 05:54:26 + ls /var/log/sa-host 05:54:26 + sadf -c /var/log/sa-host/sa05 05:54:26 file_magic: OK 05:54:26 HZ: Using current value: 100 05:54:26 file_header: OK 05:54:26 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 05:54:26 Statistics: 05:54:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:26 File successfully converted to sysstat format version 12.0.3 05:54:26 + sadf -c /var/log/sa-host/sa17 05:54:26 file_magic: OK 05:54:26 HZ: Using current value: 100 05:54:26 file_header: OK 05:54:26 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 05:54:26 Statistics: 05:54:26 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:54:26 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:26 provisioning config files... 05:54:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config2038937883310693402tmp [Pipeline] { [Pipeline] echo 05:54:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:54:27 ---> create-netrc.sh [Pipeline] } 05:54:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:54:27 ---> python-tools-install.sh [Pipeline] echo 05:54:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:54:27 ---> sudo-logs.sh 05:54:27 Archiving 'sudo' log.. 05:54:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-758.novalocal: Name or service not known 05:54:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-758.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:54:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:54:28 ---> job-cost.sh 05:54:28 lf-activate-venv: SKIPPING 05:54:28 DEBUG: total: 0.10999999940395355 05:54:28 INFO: Retrieving Stack Cost... 05:54:28 INFO: Retrieving Pricing Info for: v3-standard-2 05:54:28 INFO: Archiving Costs [Pipeline] echo 05:54:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:54:29 ---> logs-deploy.sh 05:54:29 lf-activate-venv: SKIPPING 05:54:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1076/1 05:54:29 INFO: archiving workspace using pattern(s): 05:54:29 Archives upload complete. 05:54:30 INFO: archiving logs to Nexus