Pull request #1080 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 33d0a51da49b1357e78eddc947429615f795f612 rather than 5ad40cc097c3d24883087e08febb0400b354884e Obtained Jenkinsfile from 33d0a51da49b1357e78eddc947429615f795f612 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-ssh236011696861362658.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh4446776723381582557.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-1080/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-1080/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5482028262651287020.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-1080/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2727085815599974468.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > 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-ssh8351732969670973660.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-1080/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-1080/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18377208209138809218.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-1276 in /w/workspace/gexfoundry_device-sdk-go_PR-1080 [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-1080 # 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-1080@tmp/jenkins-gitclient-ssh2936908699420216764.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 33d0a51da49b1357e78eddc947429615f795f612 into PR head commit 5ad40cc097c3d24883087e08febb0400b354884e Merge succeeded, producing 5ad40cc097c3d24883087e08febb0400b354884e Checking out Revision 5ad40cc097c3d24883087e08febb0400b354884e (PR-1080) > 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-1080@tmp/jenkins-gitclient-ssh4405471277928930889.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1080/head:refs/remotes/origin/PR-1080 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ad40cc097c3d24883087e08febb0400b354884e # 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-1080@tmp/jenkins-gitclient-ssh3032741881097524589.key > git merge 33d0a51da49b1357e78eddc947429615f795f612 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ad40cc097c3d24883087e08febb0400b354884e # 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 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:40:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:40:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:40:43 ========================================================= 21:40:43 EdgeX Global Pipelines Version Info 21:40:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:40:44 ------------------- 21:40:44 stable info: 21:40:44 ------------------- 21:40:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:40:44 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 21:40:44 Message: update stable to v1.0.218 21:40:45 ------------------- 21:40:45 experimental info: 21:40:45 ------------------- 21:40:45 Commited By: **** collab-it+edgex@linuxfoundation.org 21:40:45 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 21:40:45 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:40:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:40:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:40:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:40:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:40:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1080 [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1080 [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1080 [Pipeline] echo 21:40:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] echo 21:40:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ad40cc [Pipeline] echo 21:40:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:47 provisioning config files... 21:40:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/config2634093041120639212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:47 ---> docker-login.sh 21:40:47 nexus3.edgexfoundry.org:10001 21:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:47 Configure a credential helper to remove this warning. See 21:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:47 21:40:47 Login Succeeded 21:40:47 nexus3.edgexfoundry.org:10002 21:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:47 Configure a credential helper to remove this warning. See 21:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:47 21:40:47 Login Succeeded 21:40:47 nexus3.edgexfoundry.org:10003 21:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:48 Configure a credential helper to remove this warning. See 21:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:48 21:40:48 Login Succeeded 21:40:48 nexus3.edgexfoundry.org:10004 21:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:48 Configure a credential helper to remove this warning. See 21:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:48 21:40:48 Login Succeeded 21:40:48 docker.io 21:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:48 Configure a credential helper to remove this warning. See 21:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:48 21:40:48 Login Succeeded 21:40:48 ---> docker-login.sh ends [Pipeline] } 21:40:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:40:49 + git rev-list -1 --merges 5ad40cc097c3d24883087e08febb0400b354884e~1..5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] echo 21:40:49 -----------> git rev-list -1 --merges 5ad40cc097c3d24883087e08febb0400b354884e~1..5ad40cc097c3d24883087e08febb0400b354884e 5ad40cc097c3d24883087e08febb0400b354884e [false] [Pipeline] sh 21:40:49 + git log --format=format:%s -1 5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] echo 21:40:49 ========================================================= 21:40:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:40:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:50 + git log --format=format:%s -1 5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] echo 21:40:50 [semverPrep] GIT_COMMIT: 5ad40cc097c3d24883087e08febb0400b354884e, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 21:40:50 [semverPrep] This is not a build commit. [Pipeline] sh 21:40:50 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 21:40:50 + grep -v github /etc/ssh/ssh_known_hosts 21:40:50 + '[' -e /tmp/ssh_known_hosts ']' 21:40:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:40:50 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 21:40:50 + sudo tee -a /etc/ssh/ssh_known_hosts 21:40:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:40:51 21:40:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:40:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:40:51 latest: Pulling from edgex-devops/git-semver 21:40:51 a0d0a0d46f8b: Pulling fs layer 21:40:51 3e5f54012d9b: Pulling fs layer 21:40:51 4c7163046ea9: Pulling fs layer 21:40:51 0c2d73faf560: Pulling fs layer 21:40:51 0c2d73faf560: Waiting 21:40:51 3e5f54012d9b: Verifying Checksum 21:40:51 3e5f54012d9b: Download complete 21:40:51 a0d0a0d46f8b: Verifying Checksum 21:40:51 a0d0a0d46f8b: Download complete 21:40:51 0c2d73faf560: Verifying Checksum 21:40:51 0c2d73faf560: Download complete 21:40:51 4c7163046ea9: Verifying Checksum 21:40:51 4c7163046ea9: Download complete 21:40:51 a0d0a0d46f8b: Pull complete 21:40:51 3e5f54012d9b: Pull complete 21:40:51 4c7163046ea9: Pull complete 21:40:52 0c2d73faf560: Pull complete 21:40:52 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:40:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:40:52 prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container 21:40:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@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 21:40:52 $ docker top bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:40:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:40:53 [ssh-agent] Looking for ssh-agent implementation... 21:40:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:40:53 $ docker exec bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 ssh-agent 21:40:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMjCNcC/agent.13 21:40:53 SSH_AGENT_PID=19 21:40:53 Running ssh-add (command line suppressed) 21:40:53 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/private_key_270933610107025844.key (/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/private_key_270933610107025844.key) 21:40:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:40:53 + git tag --points-at HEAD [Pipeline] } 21:40:53 $ docker exec --env ******** --env ******** bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 ssh-agent -k 21:40:54 unset SSH_AUTH_SOCK; 21:40:54 unset SSH_AGENT_PID; 21:40:54 echo Agent pid 19 killed; 21:40:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:40:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:40:54 [ssh-agent] Looking for ssh-agent implementation... 21:40:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:40:54 $ docker exec bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 ssh-agent 21:40:54 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBoneGB/agent.53 21:40:54 SSH_AGENT_PID=59 21:40:54 Running ssh-add (command line suppressed) 21:40:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/private_key_1103884556545553941.key (/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/private_key_1103884556545553941.key) 21:40:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:40:54 + git semver init 21:40:54 # -> Open(): unable to determine branch for HEAD 21:40:54 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1080/.git 21:40:54 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1080 21:40:54 # $SEMVER_REMOTE_NAME = origin 21:40:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:40:54 # $SEMVER_USER_NAME = edgex-jenkins 21:40:54 # $SEMVER_BRANCH = PR-1080 21:40:54 # $SEMVER_TEMP = /tmp/semver-049422624 21:40:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:40:55 # '/tmp/semver-049422624' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1080/.semver' 21:40:55 # -> Force: false 21:40:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1080/.semver [Pipeline] } 21:40:55 $ docker exec --env ******** --env ******** bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 ssh-agent -k 21:40:55 unset SSH_AUTH_SOCK; 21:40:55 unset SSH_AGENT_PID; 21:40:55 echo Agent pid 59 killed; 21:40:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:40:56 + git semver [Pipeline] } 21:40:56 $ docker stop --time=1 bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 21:40:57 $ docker rm -f bae9b824ba3c383726a6a72b7d4af5663c255f161f1e5dd19f8364c932f42474 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:40:58 Stashed 1 file(s) [Pipeline] echo 21:40:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:40:59 provisioning config files... 21:40:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/config7599686967849897928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:59 ---> docker-login.sh 21:40:59 nexus3.edgexfoundry.org:10001 21:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:59 Configure a credential helper to remove this warning. See 21:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:59 21:40:59 Login Succeeded 21:40:59 nexus3.edgexfoundry.org:10002 21:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:59 Configure a credential helper to remove this warning. See 21:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:59 21:40:59 Login Succeeded 21:40:59 nexus3.edgexfoundry.org:10003 21:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:59 Configure a credential helper to remove this warning. See 21:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:59 21:40:59 Login Succeeded 21:40:59 nexus3.edgexfoundry.org:10004 21:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:40:59 Configure a credential helper to remove this warning. See 21:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:40:59 21:40:59 Login Succeeded 21:40:59 docker.io 21:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:00 Configure a credential helper to remove this warning. See 21:41:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:00 21:41:00 Login Succeeded 21:41:00 ---> docker-login.sh ends [Pipeline] } 21:41:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:41:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:00 ========================================================= 21:41:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:41:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:41:00 + 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 . 21:41:00 Sending build context to Docker daemon 9.333MB 21:41:00 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:41:00 Step 2/10 : FROM ${BASE} AS builder 21:41:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:41:01 a0d0a0d46f8b: Already exists 21:41:01 31adcdaf11c8: Pulling fs layer 21:41:01 b8b176561691: Pulling fs layer 21:41:01 4527c011a84f: Pulling fs layer 21:41:01 5d74067f8e1e: Pulling fs layer 21:41:01 e0aca202a116: Pulling fs layer 21:41:01 3a43be97a3b4: Pulling fs layer 21:41:01 34cad66bf833: Pulling fs layer 21:41:01 b4e3c513aaa6: Pulling fs layer 21:41:01 5d74067f8e1e: Waiting 21:41:01 e0aca202a116: Waiting 21:41:01 3a43be97a3b4: Waiting 21:41:01 34cad66bf833: Waiting 21:41:01 b4e3c513aaa6: Waiting 21:41:01 b8b176561691: Verifying Checksum 21:41:01 b8b176561691: Download complete 21:41:01 31adcdaf11c8: Verifying Checksum 21:41:01 31adcdaf11c8: Download complete 21:41:01 5d74067f8e1e: Verifying Checksum 21:41:01 5d74067f8e1e: Download complete 21:41:01 e0aca202a116: Verifying Checksum 21:41:01 e0aca202a116: Download complete 21:41:01 3a43be97a3b4: Verifying Checksum 21:41:01 3a43be97a3b4: Download complete 21:41:01 31adcdaf11c8: Pull complete 21:41:01 34cad66bf833: Verifying Checksum 21:41:01 34cad66bf833: Download complete 21:41:01 b8b176561691: Pull complete 21:41:01 4527c011a84f: Verifying Checksum 21:41:01 4527c011a84f: Download complete 21:41:01 b4e3c513aaa6: Verifying Checksum 21:41:01 b4e3c513aaa6: Download complete 21:41:05 4527c011a84f: Pull complete 21:41:05 5d74067f8e1e: Pull complete 21:41:05 e0aca202a116: Pull complete 21:41:05 3a43be97a3b4: Pull complete 21:41:06 34cad66bf833: Pull complete 21:41:08 b4e3c513aaa6: Pull complete 21:41:08 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 21:41:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:41:08 ---> 9f6097aaca64 21:41:08 Step 3/10 : ARG MAKE=make build 21:41:10 ---> Running in b6d00e4a2fdf 21:41:10 Removing intermediate container b6d00e4a2fdf 21:41:10 ---> db712b32802c 21:41:10 Step 4/10 : WORKDIR /device-sdk-go 21:41:10 ---> Running in 4f2db43f02dc 21:41:10 Removing intermediate container 4f2db43f02dc 21:41:10 ---> c44820fb2321 21:41:10 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:41:10 ---> Running in 803506ed4c82 21:41:10 Removing intermediate container 803506ed4c82 21:41:10 ---> 7dc0462951ff 21:41:10 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:41:10 ---> Running in 01d49b4bead0 21:41:11 Removing intermediate container 01d49b4bead0 21:41:11 ---> 9fec82e2d5fd 21:41:11 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:41:11 ---> Running in 6677f7de2663 21:41:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:41:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:41:12 OK: 220 MiB in 52 packages 21:41:12 Removing intermediate container 6677f7de2663 21:41:12 ---> c016e1a7cd79 21:41:12 Step 8/10 : COPY . . 21:41:13 ---> 0088a28b8d36 21:41:13 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:41:13 ---> Running in 3b6e968bc38a 21:41:13 Still waiting to schedule task 21:41:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 21:41:45 Removing intermediate container 3b6e968bc38a 21:41:45 ---> 0553f98ce7ea 21:41:45 Step 10/10 : RUN ${MAKE} 21:41:45 ---> Running in 19da11b2c60e 21:41:45 noop 21:41:45 Removing intermediate container 19da11b2c60e 21:41:45 ---> bcac4c1830b4 21:41:45 Successfully built bcac4c1830b4 21:41:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:41:46 + docker inspect -f . ci-base-image-x86_64 21:41:46 . [Pipeline] withDockerContainer 21:41:46 prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container 21:41:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@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 21:41:46 $ docker top 3b7ff990dc14f415fb8e832ff821a142149d62996a75efd04134bcceb1a0e7c7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:41:47 + go version 21:41:47 go version go1.16.8 linux/amd64 [Pipeline] } 21:41:47 $ docker stop --time=1 3b7ff990dc14f415fb8e832ff821a142149d62996a75efd04134bcceb1a0e7c7 21:41:48 $ docker rm -f 3b7ff990dc14f415fb8e832ff821a142149d62996a75efd04134bcceb1a0e7c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:41:48 + docker inspect -f . ci-base-image-x86_64 21:41:48 . [Pipeline] withDockerContainer 21:41:48 prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container 21:41:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@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 21:41:49 $ docker top 8256e349f691ff2d1141d3cb46baf3c0f09f5fad52d293052e9f8b9369637832 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:41:49 + make test 21:41:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:41:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:42:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:42:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:42:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:42:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 23.3% of statements 21:42:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:42:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements 21:42:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements 21:42:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.050s coverage: 9.0% of statements 21:42:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:42:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:42:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:42:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements 21:42:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:42:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 86.1% of statements 21:42:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:42:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:42:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.4% of statements 21:42:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.879s coverage: 89.2% of statements 21:42:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:42:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.8% of statements 21:42:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:42:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1277 in /w/workspace/gexfoundry_device-sdk-go_PR-1080 [Pipeline] { [Pipeline] ws 21:42:33 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:42:34 The recommended git tool is: git 21:42:38 using credential edgex-jenkins-ssh 21:42:38 Cloning the remote Git repository 21:42:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:42:38 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:42:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:42:38 > git --version # timeout=10 21:42:38 > git --version # 'git version 2.17.1' 21:42:38 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:42:41 Merging remotes/origin/main commit 33d0a51da49b1357e78eddc947429615f795f612 into PR head commit 5ad40cc097c3d24883087e08febb0400b354884e 21:42:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:42:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:42:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:42:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:42:40 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1080/head:refs/remotes/origin/PR-1080 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:42:41 > git config core.sparsecheckout # timeout=10 21:42:41 > git checkout -f 5ad40cc097c3d24883087e08febb0400b354884e # timeout=10 21:42:41 > git remote # timeout=10 21:42:41 > git config --get remote.origin.url # timeout=10 21:42:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:41 Merge succeeded, producing 5ad40cc097c3d24883087e08febb0400b354884e 21:42:41 Checking out Revision 5ad40cc097c3d24883087e08febb0400b354884e (PR-1080) 21:42:41 > git merge 33d0a51da49b1357e78eddc947429615f795f612 # timeout=10 21:42:41 > git rev-parse HEAD^{commit} # timeout=10 21:42:41 > git config core.sparsecheckout # timeout=10 21:42:41 > git checkout -f 5ad40cc097c3d24883087e08febb0400b354884e # timeout=10 21:42:45 Commit message: "feat(security): Enable gosec and default linter set" 21:42:45 > git --version # timeout=10 21:42:45 > git --version # 'git version 2.17.1' 21:42:45 fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:42:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:42:46 % Total % Received % Xferd Average Speed Time Time Time Current 21:42:46 Dload Upload Total Spent Left Speed 21:42:51 GO111MODULE=on go vet ./... 21:42:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:42:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:42:55 ./bin/test-attribution-txt.sh [Pipeline] echo 21:42:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:42:56 $ docker stop --time=1 8256e349f691ff2d1141d3cb46baf3c0f09f5fad52d293052e9f8b9369637832 21:42:57 $ docker rm -f 8256e349f691ff2d1141d3cb46baf3c0f09f5fad52d293052e9f8b9369637832 [Pipeline] // withDockerContainer [Pipeline] sh 21:42:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:42:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 21:42:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0 100 11843 100 11843 0 0 1024 0 0:00:11 0:00:11 --:--:-- 2752 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh 21:42:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:42:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:42:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:42:59 + sudo tee /etc/docker/daemon.new 21:42:59 { 21:42:59 "registry-mirrors": [ 21:42:59 "https://nexus3.edgexfoundry.org:10001" 21:42:59 ], 21:42:59 "bip": "10.250.0.254/24", 21:42:59 "hosts": [ 21:42:59 "tcp://0.0.0.0:5555", 21:42:59 "unix:///var/run/docker.sock" 21:42:59 ], 21:42:59 "mtu": 1458, 21:42:59 "selinux-enabled": true, 21:42:59 "seccomp-profile": "/etc/docker/seccomp.json" 21:42:59 } [Pipeline] sh 21:43:00 + ls -al . 21:43:00 total 268 21:43:00 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 11 21:42 . 21:43:00 drwxrwxr-x. 4 jenkins jenkins 112 Jan 11 21:40 .. 21:43:00 drwxrwxr-x. 2 jenkins jenkins 37 Jan 11 21:40 bin 21:43:00 -rw-rw-r--. 1 jenkins jenkins 26321 Jan 11 21:40 CHANGELOG.md 21:43:00 -rw-r--r--. 1 jenkins jenkins 128667 Jan 11 21:42 coverage.out 21:43:00 -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 21:40 .dockerignore 21:43:00 drwxrwxr-x. 5 jenkins jenkins 62 Jan 11 21:40 example 21:43:00 drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 21:40 .git 21:43:00 drwxrwxr-x. 3 jenkins jenkins 125 Jan 11 21:40 .github 21:43:00 -rw-rw-r--. 1 jenkins jenkins 131 Jan 11 21:40 .gitignore 21:43:00 -rw-rw-r--. 1 jenkins jenkins 42 Jan 11 21:40 .golangci.yml 21:43:00 -rw-rw-r--. 1 jenkins jenkins 582 Jan 11 21:40 go.mod 21:43:00 -rw-rw-r--. 1 jenkins jenkins 48958 Jan 11 21:40 go.sum 21:43:00 -rw-rw-r--. 1 jenkins jenkins 677 Jan 11 21:40 GOVERNANCE.md 21:43:00 drwxrwxr-x. 15 jenkins jenkins 224 Jan 11 21:40 internal 21:43:00 -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 21:40 Jenkinsfile 21:43:00 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 21:40 LICENSE 21:43:00 -rw-rw-r--. 1 jenkins jenkins 1613 Jan 11 21:40 Makefile 21:43:00 drwxrwxr-x. 3 jenkins jenkins 16 Jan 11 21:40 openapi 21:43:00 -rw-rw-r--. 1 jenkins jenkins 619 Jan 11 21:40 OWNERS.md 21:43:00 drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 21:40 pkg 21:43:00 -rw-rw-r--. 1 jenkins jenkins 4881 Jan 11 21:40 README.md 21:43:00 drwx------. 3 jenkins jenkins 72 Jan 11 21:40 .semver 21:43:00 drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 21:40 snap 21:43:00 -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 21:40 VERSION 21:43:00 -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 21:40 version.go [Pipeline] isUnix [Pipeline] sh 21:43:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:43:00 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=5ad40cc097c3d24883087e08febb0400b354884e --label arch=amd64 --label version=0.0.0 . 21:43:00 Sending build context to Docker daemon 9.462MB 21:43:00 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:43:00 Step 2/24 : FROM ${BASE} AS builder 21:43:00 ---> bcac4c1830b4 21:43:00 Step 3/24 : ARG MAKE=make build 21:43:00 + sudo service docker restart 21:43:00 ---> Running in bb76c8f315e6 21:43:00 Removing intermediate container bb76c8f315e6 21:43:00 ---> ef154e681547 21:43:00 Step 4/24 : WORKDIR /device-sdk-go 21:43:00 ---> Running in 0ace3eed8089 21:43:00 Removing intermediate container 0ace3eed8089 21:43:00 ---> 0cc0ab1b936c 21:43:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:43:00 ---> Running in 9f863a5d4259 21:43:00 Removing intermediate container 9f863a5d4259 21:43:00 ---> bf2135bc4cf2 21:43:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:43:00 ---> Running in 239ec6cfc1a0 21:43:01 Removing intermediate container 239ec6cfc1a0 21:43:01 ---> 96dcfe925a6b 21:43:01 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:43:01 ---> Running in beaf136f96f3 21:43:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:43:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:43:02 OK: 220 MiB in 52 packages 21:43:02 Removing intermediate container beaf136f96f3 21:43:02 ---> 33a56e36aea7 21:43:02 Step 8/24 : COPY . . 21:43:03 ---> 70eb4ca03438 21:43:03 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:43:03 ---> Running in 6b1b65bb348f 21:43:04 Removing intermediate container 6b1b65bb348f 21:43:04 ---> 18adf0a2d54a 21:43:04 Step 10/24 : RUN ${MAKE} 21:43:04 ---> Running in 14fcd36545eb 21:43:04 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 21:43:16 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:43:16 Removing intermediate container 14fcd36545eb 21:43:16 ---> ffd502da1fb4 21:43:16 Step 11/24 : FROM alpine:3.14 21:43:16 3.14: Pulling from library/alpine 21:43:16 97518928ae5f: Pulling fs layer 21:43:16 97518928ae5f: Verifying Checksum 21:43:16 97518928ae5f: Download complete 21:43:16 97518928ae5f: Pull complete 21:43:16 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 21:43:16 Status: Downloaded newer image for alpine:3.14 21:43:16 ---> 0a97eee8041e 21:43:16 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:43:17 ---> Running in 353176e1e675 21:43:17 Removing intermediate container 353176e1e675 21:43:17 ---> 868df3d8c574 21:43:17 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:43:17 ---> Running in aa1e73cd92ad 21:43:17 Removing intermediate container aa1e73cd92ad 21:43:17 ---> 04f7415ddaa9 21:43:17 Step 14/24 : RUN apk add --update --no-cache zeromq 21:43:17 ---> Running in 269b990b789e 21:43:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:43:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:43:18 provisioning config files... 21:43:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2807289527400714663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:43:19 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:43:19 (2/5) Installing libsodium (1.0.18-r0) 21:43:19 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:43:19 ---> docker-login.sh 21:43:19 nexus3.edgexfoundry.org:10001 21:43:19 (4/5) Installing libzmq (4.3.4-r0) 21:43:19 (5/5) Installing zeromq (4.3.4-r0) 21:43:19 Executing busybox-1.33.1-r6.trigger 21:43:19 OK: 8 MiB in 19 packages 21:43:19 Removing intermediate container 269b990b789e 21:43:19 ---> a78b74f32039 21:43:19 Step 15/24 : WORKDIR / 21:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:43:19 Configure a credential helper to remove this warning. See 21:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:43:19 21:43:19 Login Succeeded 21:43:19 nexus3.edgexfoundry.org:10002 21:43:20 ---> Running in 4a78a29ce5af 21:43:20 Removing intermediate container 4a78a29ce5af 21:43:20 ---> 38831e959bbb 21:43:20 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:43:20 ---> d3f041021761 21:43:20 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:43:20 Configure a credential helper to remove this warning. See 21:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:43:20 21:43:20 Login Succeeded 21:43:20 nexus3.edgexfoundry.org:10003 21:43:20 ---> 1796dcb8d080 21:43:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:43:20 Configure a credential helper to remove this warning. See 21:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:43:20 21:43:20 Login Succeeded 21:43:20 nexus3.edgexfoundry.org:10004 21:43:20 ---> 9418a980c9ff 21:43:20 Step 19/24 : EXPOSE 59999 21:43:20 ---> Running in e14cc0ee5238 21:43:20 Removing intermediate container e14cc0ee5238 21:43:20 ---> e7352a659d2b 21:43:20 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:43:20 ---> Running in 0a33e9c63909 21:43:20 Removing intermediate container 0a33e9c63909 21:43:20 ---> 365c8b552812 21:43:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:43:21 ---> Running in e95aa24b2f67 21:43:21 Removing intermediate container e95aa24b2f67 21:43:21 ---> 7af4aa822f00 21:43:21 Step 22/24 : LABEL arch=amd64 21:43:21 ---> Running in b8d53397bdef 21:43:21 Removing intermediate container b8d53397bdef 21:43:21 ---> 0a1ee02151da 21:43:21 Step 23/24 : LABEL git_sha=5ad40cc097c3d24883087e08febb0400b354884e 21:43:21 ---> Running in 13c282d1d651 21:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:43:21 Configure a credential helper to remove this warning. See 21:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:43:21 21:43:21 Login Succeeded 21:43:21 docker.io 21:43:21 Removing intermediate container 13c282d1d651 21:43:21 ---> c72b7dd0e92d 21:43:21 Step 24/24 : LABEL version=0.0.0 21:43:21 ---> Running in c3bc5bcba670 21:43:21 Removing intermediate container c3bc5bcba670 21:43:21 ---> c4d600a7df6b 21:43:21 [Warning] One or more build-args [ARCH] were not consumed 21:43:21 Successfully built c4d600a7df6b 21:43:21 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage 21:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:43:21 Configure a credential helper to remove this warning. See 21:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:43:21 21:43:21 Login Succeeded 21:43:21 ---> docker-login.sh ends [Pipeline] } 21:43:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 21:43:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:22 21:43:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:43:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:22 latest: Pulling from edgex-lftools-log-publisher 21:43:22 b4d181a07f80: Pulling fs layer 21:43:22 a1111a8f2ec3: Pulling fs layer 21:43:22 ed53099fbce6: Pulling fs layer 21:43:22 dc539afda2c1: Pulling fs layer 21:43:22 77bc0d833cb6: Pulling fs layer 21:43:22 9065ff56babe: Pulling fs layer 21:43:22 d287ab97295c: Pulling fs layer 21:43:22 dc539afda2c1: Waiting 21:43:22 77bc0d833cb6: Waiting 21:43:22 9065ff56babe: Waiting 21:43:22 d287ab97295c: Waiting 21:43:22 a1111a8f2ec3: Verifying Checksum 21:43:22 a1111a8f2ec3: Download complete 21:43:22 dc539afda2c1: Verifying Checksum 21:43:22 dc539afda2c1: Download complete [Pipeline] echo 21:43:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:43:22 ========================================================= 21:43:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:43:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:43:22 ed53099fbce6: Verifying Checksum 21:43:22 ed53099fbce6: Download complete 21:43:22 77bc0d833cb6: Verifying Checksum 21:43:22 77bc0d833cb6: Download complete 21:43:22 9065ff56babe: Verifying Checksum 21:43:22 9065ff56babe: Download complete 21:43:22 b4d181a07f80: Download complete 21:43:23 + 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 . 21:43:23 d287ab97295c: Verifying Checksum 21:43:23 d287ab97295c: Download complete 21:43:23 Sending build context to Docker daemon 5.043MB 21:43:23 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:43:23 Step 2/10 : FROM ${BASE} AS builder 21:43:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:43:23 552d1f2373af: Pulling fs layer 21:43:23 ea3f2d53f512: Pulling fs layer 21:43:23 9e70ebbbe112: Pulling fs layer 21:43:23 7a9cfe048b4a: Pulling fs layer 21:43:23 72dc09318566: Pulling fs layer 21:43:23 f4f7b4309257: Pulling fs layer 21:43:23 0ac9a79272e3: Pulling fs layer 21:43:23 b78e95d17946: Pulling fs layer 21:43:23 f4f7b4309257: Waiting 21:43:23 7a9cfe048b4a: Waiting 21:43:23 72dc09318566: Waiting 21:43:23 b78e95d17946: Waiting 21:43:23 9e70ebbbe112: Verifying Checksum 21:43:23 9e70ebbbe112: Download complete 21:43:23 ea3f2d53f512: Verifying Checksum 21:43:23 ea3f2d53f512: Download complete 21:43:23 72dc09318566: Verifying Checksum 21:43:23 72dc09318566: Download complete 21:43:23 f4f7b4309257: Verifying Checksum 21:43:23 f4f7b4309257: Download complete 21:43:23 552d1f2373af: Verifying Checksum 21:43:23 552d1f2373af: Download complete 21:43:23 0ac9a79272e3: Verifying Checksum 21:43:23 0ac9a79272e3: Download complete 21:43:24 552d1f2373af: Pull complete 21:43:24 b4d181a07f80: Pull complete 21:43:24 a1111a8f2ec3: Pull complete 21:43:24 ea3f2d53f512: Pull complete 21:43:25 9e70ebbbe112: Pull complete 21:43:25 ed53099fbce6: Pull complete 21:43:25 dc539afda2c1: Pull complete 21:43:25 b78e95d17946: Verifying Checksum 21:43:25 b78e95d17946: Download complete 21:43:25 77bc0d833cb6: Pull complete 21:43:25 9065ff56babe: Pull complete 21:43:25 7a9cfe048b4a: Verifying Checksum 21:43:25 7a9cfe048b4a: Download complete 21:43:30 d287ab97295c: Pull complete 21:43:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:43:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:43:30 prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container 21:43:31 $ 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/gexfoundry_device-sdk-go_PR-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@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 21:43:33 $ docker top 53c66b7820aaa855b3bcef400745f8d45d1a233ec1755a4976c21aadf59bc90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:43:34 ---> job-cost.sh 21:43:34 lf-activate-venv: SKIPPING 21:43:34 INFO: No Stack... 21:43:34 INFO: Retrieving Pricing Info for: v3-standard-2 21:43:34 INFO: Archiving Costs [Pipeline] sh 21:43:35 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives/cost.csv 21:43:35 + cut -d, -f6 [Pipeline] lock 21:43:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] 21:43:35 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] did not exist. Created. 21:43:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:43:35 + echo total: 0.05999999865889549 [Pipeline] stash 21:43:35 Stashed 1 file(s) [Pipeline] } 21:43:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:43:35 $ docker stop --time=1 53c66b7820aaa855b3bcef400745f8d45d1a233ec1755a4976c21aadf59bc90e 21:43:36 $ docker rm -f 53c66b7820aaa855b3bcef400745f8d45d1a233ec1755a4976c21aadf59bc90e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:43:38 7a9cfe048b4a: Pull complete 21:43:38 72dc09318566: Pull complete 21:43:38 f4f7b4309257: Pull complete 21:43:38 0ac9a79272e3: Pull complete 21:43:43 b78e95d17946: Pull complete 21:43:43 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 21:43:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:43:43 ---> 8b459fc5aaf0 21:43:43 Step 3/10 : ARG MAKE=make build 21:43:45 ---> Running in d11e5510397a 21:43:45 Removing intermediate container d11e5510397a 21:43:45 ---> 7385ee98b3ca 21:43:45 Step 4/10 : WORKDIR /device-sdk-go 21:43:45 ---> Running in 7809b02cc8b2 21:43:45 Removing intermediate container 7809b02cc8b2 21:43:45 ---> 0bc4bc81ec49 21:43:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:43:45 ---> Running in 83ac88526105 21:43:46 Removing intermediate container 83ac88526105 21:43:46 ---> 53a874195cf8 21:43:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:43:46 ---> Running in a901f4d7b513 21:43:48 Removing intermediate container a901f4d7b513 21:43:48 ---> 135e8bbd99e0 21:43:48 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:43:48 ---> Running in 31a20c9c8b11 21:43:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:43:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:43:50 OK: 219 MiB in 52 packages 21:43:51 Removing intermediate container 31a20c9c8b11 21:43:51 ---> 7e07b080d6d7 21:43:51 Step 8/10 : COPY . . 21:43:52 ---> 09d85c26e077 21:43:52 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:43:52 ---> Running in 3864e23d603e 21:45:14 Removing intermediate container 3864e23d603e 21:45:14 ---> 94e026f22c2d 21:45:14 Step 10/10 : RUN ${MAKE} 21:45:14 ---> Running in 61ba63bef79c 21:45:14 noop 21:45:14 Removing intermediate container 61ba63bef79c 21:45:14 ---> 2e0c74844399 21:45:14 Successfully built 2e0c74844399 21:45:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:45:14 + docker inspect -f . ci-base-image-arm64 21:45:14 . [Pipeline] withDockerContainer 21:45:15 prd-ubuntu18.04-docker-arm64-4c-16g-1277 does not seem to be running inside a container 21:45:15 $ 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 21:45:16 $ docker top 87c5c30b3bd0079aab60fdd15192b27778f4d6f9c4a2102533bbd203b6da2588 -eo pid,comm [Pipeline] { [Pipeline] sh 21:45:17 + go version 21:45:17 go version go1.16.8 linux/arm64 [Pipeline] } 21:45:17 $ docker stop --time=1 87c5c30b3bd0079aab60fdd15192b27778f4d6f9c4a2102533bbd203b6da2588 21:45:19 $ docker rm -f 87c5c30b3bd0079aab60fdd15192b27778f4d6f9c4a2102533bbd203b6da2588 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:45:19 + docker inspect -f . ci-base-image-arm64 21:45:19 . [Pipeline] withDockerContainer 21:45:20 prd-ubuntu18.04-docker-arm64-4c-16g-1277 does not seem to be running inside a container 21:45:20 $ 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 21:45:21 $ docker top 9b0cb07bfbfbdd5a8a4035bc48366cbbdbda4bc50c34606477c5b545ad278053 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:45:22 + make test 21:45:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:45:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:46:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:46:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:46:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.272s coverage: 23.3% of statements 21:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.217s coverage: 27.6% of statements 21:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.225s coverage: 78.9% of statements 21:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.247s coverage: 9.0% of statements 21:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:46:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.424s coverage: 28.7% of statements 21:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:47:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.260s coverage: 86.1% of statements 21:47:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:47:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:47:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.397s coverage: 57.4% of statements 21:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.157s coverage: 89.2% of statements 21:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:47:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 4.8% of statements 21:47:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:47:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:47:04 GO111MODULE=on go vet ./... 21:48:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:48:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:48:00 ./bin/test-attribution-txt.sh [Pipeline] echo 21:48:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:48:00 $ docker stop --time=1 9b0cb07bfbfbdd5a8a4035bc48366cbbdbda4bc50c34606477c5b545ad278053 21:48:02 $ docker rm -f 9b0cb07bfbfbdd5a8a4035bc48366cbbdbda4bc50c34606477c5b545ad278053 [Pipeline] // withDockerContainer [Pipeline] sh 21:48:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:48:03 Warning: overwriting stash ‘coverage-report’ 21:48:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:48:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:48:05 + ls -al . 21:48:05 total 304 21:48:05 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 21:48 . 21:48:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:42 .. 21:48:05 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 21:42 .dockerignore 21:48:05 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:42 .git 21:48:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:42 .github 21:48:05 -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 21:42 .gitignore 21:48:05 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 21:42 .golangci.yml 21:48:05 -rw-rw-r-- 1 jenkins jenkins 26321 Jan 11 21:42 CHANGELOG.md 21:48:05 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:42 GOVERNANCE.md 21:48:05 -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 21:42 Jenkinsfile 21:48:05 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 21:42 LICENSE 21:48:05 -rw-rw-r-- 1 jenkins jenkins 1613 Jan 11 21:42 Makefile 21:48:05 -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 21:42 OWNERS.md 21:48:05 -rw-rw-r-- 1 jenkins jenkins 4881 Jan 11 21:42 README.md 21:48:05 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:40 VERSION 21:48:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:42 bin 21:48:05 -rw-r--r-- 1 jenkins jenkins 128668 Jan 11 21:47 coverage.out 21:48:05 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 21:42 example 21:48:05 -rw-rw-r-- 1 jenkins jenkins 582 Jan 11 21:42 go.mod 21:48:05 -rw-rw-r-- 1 jenkins jenkins 48958 Jan 11 21:42 go.sum 21:48:05 drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 21:42 internal 21:48:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:42 openapi 21:48:05 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 21:42 pkg 21:48:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:42 snap 21:48:05 -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 21:42 version.go [Pipeline] isUnix [Pipeline] sh 21:48:05 + 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=5ad40cc097c3d24883087e08febb0400b354884e --label arch=arm64 --label version=0.0.0 . 21:48:05 Sending build context to Docker daemon 5.173MB 21:48:06 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:48:06 Step 2/24 : FROM ${BASE} AS builder 21:48:06 ---> 2e0c74844399 21:48:06 Step 3/24 : ARG MAKE=make build 21:48:06 ---> Running in dafde667a4b3 21:48:06 Removing intermediate container dafde667a4b3 21:48:06 ---> 74723310906a 21:48:06 Step 4/24 : WORKDIR /device-sdk-go 21:48:06 ---> Running in d2ccc15342e4 21:48:06 Removing intermediate container d2ccc15342e4 21:48:06 ---> b1f1a4d0bfe3 21:48:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:48:06 ---> Running in 18a87e4363f0 21:48:07 Removing intermediate container 18a87e4363f0 21:48:07 ---> e674eb70dbf9 21:48:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:48:07 ---> Running in a6085f6f4ed3 21:48:09 Removing intermediate container a6085f6f4ed3 21:48:09 ---> ee46b9cc37d6 21:48:09 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:48:09 ---> Running in 4607fb27fd94 21:48:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:48:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:48:12 OK: 219 MiB in 52 packages 21:48:12 Removing intermediate container 4607fb27fd94 21:48:12 ---> beb6e3fb0176 21:48:12 Step 8/24 : COPY . . 21:48:14 ---> 54516fdd24b4 21:48:14 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:48:14 ---> Running in eef2cc3ea50e 21:48:16 Removing intermediate container eef2cc3ea50e 21:48:16 ---> 7300d101958e 21:48:16 Step 10/24 : RUN ${MAKE} 21:48:16 ---> Running in 5c750452b875 21:48:17 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 21:48:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:48:50 Removing intermediate container 5c750452b875 21:48:50 ---> 0722e1435569 21:48:50 Step 11/24 : FROM alpine:3.14 21:48:51 3.14: Pulling from library/alpine 21:48:51 be307f383ecc: Pulling fs layer 21:48:51 be307f383ecc: Verifying Checksum 21:48:51 be307f383ecc: Download complete 21:48:52 be307f383ecc: Pull complete 21:48:52 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 21:48:52 Status: Downloaded newer image for alpine:3.14 21:48:52 ---> 5b8b7b635229 21:48:52 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:48:52 ---> Running in 75e49de8e78f 21:48:52 Removing intermediate container 75e49de8e78f 21:48:52 ---> 21c981613441 21:48:52 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:48:53 ---> Running in 41537e78337a 21:48:54 Removing intermediate container 41537e78337a 21:48:54 ---> a918164df7cf 21:48:54 Step 14/24 : RUN apk add --update --no-cache zeromq 21:48:54 ---> Running in d3fe051af6af 21:48:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:48:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:48:57 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:48:57 (2/5) Installing libsodium (1.0.18-r0) 21:48:57 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:48:57 (4/5) Installing libzmq (4.3.4-r0) 21:48:57 (5/5) Installing zeromq (4.3.4-r0) 21:48:57 Executing busybox-1.33.1-r6.trigger 21:48:57 OK: 8 MiB in 19 packages 21:48:58 Removing intermediate container d3fe051af6af 21:48:58 ---> c0fc89b133ae 21:48:58 Step 15/24 : WORKDIR / 21:48:58 ---> Running in bcedb98cea00 21:48:59 Removing intermediate container bcedb98cea00 21:48:59 ---> 5b4b9a42b133 21:48:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:48:59 ---> 2ba068bccb6b 21:48:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:49:00 ---> 84696ead08bf 21:49:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:49:01 ---> 8373c7ba6199 21:49:01 Step 19/24 : EXPOSE 59999 21:49:01 ---> Running in d5183d06f055 21:49:01 Removing intermediate container d5183d06f055 21:49:01 ---> 89b9ae81fe23 21:49:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:49:01 ---> Running in 7f65a5be2a5f 21:49:01 Removing intermediate container 7f65a5be2a5f 21:49:01 ---> 00eaaa3163ef 21:49:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:49:02 ---> Running in 3f5aae52aaa5 21:49:02 Removing intermediate container 3f5aae52aaa5 21:49:02 ---> 3bcca28b1495 21:49:02 Step 22/24 : LABEL arch=arm64 21:49:02 ---> Running in f733148bef69 21:49:03 Removing intermediate container f733148bef69 21:49:03 ---> cf5f491c4693 21:49:03 Step 23/24 : LABEL git_sha=5ad40cc097c3d24883087e08febb0400b354884e 21:49:03 ---> Running in 4574ec49c0fd 21:49:03 Removing intermediate container 4574ec49c0fd 21:49:03 ---> fd360944a6c6 21:49:03 Step 24/24 : LABEL version=0.0.0 21:49:03 ---> Running in c4a056a5c8e0 21:49:04 Removing intermediate container c4a056a5c8e0 21:49:04 ---> c3d8125a0c8e 21:49:04 [Warning] One or more build-args [ARCH] were not consumed 21:49:04 Successfully built c3d8125a0c8e 21:49:04 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 21:49:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:04 21:49:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:49:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:05 arm64: Pulling from edgex-lftools-log-publisher 21:49:05 448f6bf000e3: Pulling fs layer 21:49:05 f757da607395: Pulling fs layer 21:49:05 05883995daec: Pulling fs layer 21:49:05 8603b9c90790: Pulling fs layer 21:49:05 1560dd03e051: Pulling fs layer 21:49:05 27f5ce0e4adf: Pulling fs layer 21:49:05 c2d8d7efcc4b: Pulling fs layer 21:49:05 1560dd03e051: Waiting 21:49:05 8603b9c90790: Waiting 21:49:05 27f5ce0e4adf: Waiting 21:49:05 c2d8d7efcc4b: Waiting 21:49:05 f757da607395: Verifying Checksum 21:49:05 f757da607395: Download complete 21:49:05 8603b9c90790: Verifying Checksum 21:49:05 8603b9c90790: Download complete 21:49:05 1560dd03e051: Verifying Checksum 21:49:05 1560dd03e051: Download complete 21:49:05 27f5ce0e4adf: Download complete 21:49:05 05883995daec: Verifying Checksum 21:49:05 05883995daec: Download complete 21:49:05 448f6bf000e3: Verifying Checksum 21:49:05 448f6bf000e3: Download complete 21:49:07 c2d8d7efcc4b: Verifying Checksum 21:49:07 c2d8d7efcc4b: Download complete 21:49:09 448f6bf000e3: Pull complete 21:49:09 f757da607395: Pull complete 21:49:11 05883995daec: Pull complete 21:49:11 8603b9c90790: Pull complete 21:49:12 1560dd03e051: Pull complete 21:49:12 27f5ce0e4adf: Pull complete 21:49:27 c2d8d7efcc4b: Pull complete 21:49:27 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:49:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:49:27 prd-ubuntu18.04-docker-arm64-4c-16g-1277 does not seem to be running inside a container 21:49:27 $ 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 21:49:30 $ docker top a9fc60187b726b7cd5afd183cf88f543621e6817072a9f4f1bddc3e815711dda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:31 ---> job-cost.sh 21:49:31 lf-activate-venv: SKIPPING 21:49:31 INFO: No Stack... 21:49:31 INFO: Retrieving Pricing Info for: v3-standard-4 21:49:32 INFO: Archiving Costs [Pipeline] sh 21:49:32 + cut -d, -f6 21:49:32 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 21:49:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] 21:49:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] did not exist. Created. 21:49:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:33 /w/workspace/device-sdk-go/1@tmp/durable-5e037d2b/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-5e037d2b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:49:34 + echo total: 0.10999999940395355 [Pipeline] stash 21:49:34 Warning: overwriting stash ‘stack-cost’ 21:49:34 Stashed 1 file(s) [Pipeline] } 21:49:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1080-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:34 $ docker stop --time=1 a9fc60187b726b7cd5afd183cf88f543621e6817072a9f4f1bddc3e815711dda 21:49:36 $ docker rm -f a9fc60187b726b7cd5afd183cf88f543621e6817072a9f4f1bddc3e815711dda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:49:37 provisioning config files... 21:49:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/config3877617197955219566tmp [Pipeline] { [Pipeline] sh 21:49:37 + set +x 21:49:37 + curl -s https://codecov.io/bash 21:49:37 + bash -s -- 21:49:37 21:49:37 _____ _ 21:49:37 / ____| | | 21:49:37 | | ___ __| | ___ ___ _____ __ 21:49:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:49:37 | |___| (_) | (_| | __/ (_| (_) \ V / 21:49:37 \_____\___/ \__,_|\___|\___\___/ \_/ 21:49:37 Bash-1.0.6 21:49:37 21:49:37 21:49:37 ==> git version 2.24.4 found 21:49:37 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 21:49:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:49:37 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:49:37 ==> Jenkins CI detected. 21:49:37 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1080 21:49:37 project root: . 21:49:37 --> token set from env 21:49:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:49:37 ==> Running gcov in . (disable via -X gcov) 21:49:37 ==> Python coveragepy not found 21:49:37 ==> Searching for coverage reports in: 21:49:37 + . 21:49:37 -> Found 1 reports 21:49:37 ==> Detecting git/mercurial file structure 21:49:37 ==> Reading reports 21:49:37 + ./coverage.out bytes=128668 21:49:37 ==> Appending adjustments 21:49:37 https://docs.codecov.io/docs/fixing-reports 21:49:37 + Found adjustments 21:49:37 ==> Gzipping contents 21:49:37 16K /tmp/codecov.AX0bIt.gz 21:49:37 ==> Uploading reports 21:49:37 url: https://codecov.io 21:49:37 query: branch=PR-1080&commit=5ad40cc097c3d24883087e08febb0400b354884e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1080%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1080&job=&cmd_args= 21:49:37 -> Pinging Codecov 21:49:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1080&commit=5ad40cc097c3d24883087e08febb0400b354884e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1080%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1080&job=&cmd_args= 21:49:38 -> Uploading to 21:49:38 https://storage.googleapis.com/codecov/v4/raw/2022-01-11/7E55EF52A471D76F132DFD9A03CDDE97/5ad40cc097c3d24883087e08febb0400b354884e/e6427068-02be-4430-8c63-0eb5c1d6995a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T214938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a221d20b37e3677de92c275b1b6d4a4f86872998a1d8498e6280642d2842b30 21:49:38 % Total % Received % Xferd Average Speed Time Time Time Current 21:49:38 Dload Upload Total Spent Left Speed 21:49:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16374 0 0 100 16374 0 49554 --:--:-- --:--:-- --:--:-- 49618 21:49:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5ad40cc097c3d24883087e08febb0400b354884e [Pipeline] } 21:49:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:49:40 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives ']' 21:49:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives 21:49:40 total 8 21:49:40 drwxr-xr-x. 3 root root 34 Jan 11 21:43 . 21:49:40 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 21:43 .. 21:49:40 drwxr-xr-x. 2 root root 6 Jan 11 21:43 cost 21:49:40 -rw-r--r--. 1 root root 85 Jan 11 21:43 cost.csv 21:49:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives 21:49:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives 21:49:40 total 8 21:49:40 drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 21:43 . 21:49:40 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 21:43 .. 21:49:40 drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 21:43 cost 21:49:40 -rw-r--r--. 1 jenkins jenkins 85 Jan 11 21:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:49:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:49:41 ---> package-listing.sh 21:49:41 ++ facter osfamily 21:49:41 ++ tr '[:upper:]' '[:lower:]' 21:49:41 + OS_FAMILY=redhat 21:49:41 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1080 21:49:41 + START_PACKAGES=/tmp/packages_start.txt 21:49:41 + END_PACKAGES=/tmp/packages_end.txt 21:49:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:49:41 + PACKAGES=/tmp/packages_start.txt 21:49:41 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1080 ']' 21:49:41 + PACKAGES=/tmp/packages_end.txt 21:49:41 + case "${OS_FAMILY}" in 21:49:41 + rpm -qa 21:49:41 + sort 21:49:42 + '[' -f /tmp/packages_start.txt ']' 21:49:42 + '[' -f /tmp/packages_end.txt ']' 21:49:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:49:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1080 ']' 21:49:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives/ 21:49:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1080/archives/ [Pipeline] echo 21:49:42 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-1080/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:49:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:42 . [Pipeline] withDockerContainer 21:49:43 prd-centos7-docker-4c-2g-1276 does not seem to be running inside a container 21:49:43 $ 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-1080/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-1080 -v /w/workspace/gexfoundry_device-sdk-go_PR-1080:/w/workspace/gexfoundry_device-sdk-go_PR-1080:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1080@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 21:49:43 $ docker top d5abb6ec67e34688e2dade42797c34d81ed1e3f73cf71f475660fdd2ba577788 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:43 + touch /tmp/pre-build-complete [Pipeline] sh 21:49:44 + mkdir -p /var/log/sysstat [Pipeline] sh 21:49:44 + ls /var/log/sa-host 21:49:44 + sadf -c /var/log/sa-host/sa11 21:49:44 file_magic: OK 21:49:44 HZ: Using current value: 100 21:49:44 file_header: OK 21:49:44 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 21:49:44 Statistics: 21:49:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:49:44 File successfully converted to sysstat format version 12.0.3 21:49:44 + sadf -c /var/log/sa-host/sa17 21:49:44 file_magic: OK 21:49:44 HZ: Using current value: 100 21:49:44 file_header: OK 21:49:44 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 21:49:44 Statistics: 21:49:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:49:44 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:44 provisioning config files... 21:49:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1080@tmp/config4610223371318358465tmp [Pipeline] { [Pipeline] echo 21:49:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:49:44 ---> create-netrc.sh [Pipeline] } 21:49:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:49:45 ---> python-tools-install.sh [Pipeline] echo 21:49:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:49:45 ---> sudo-logs.sh 21:49:45 Archiving 'sudo' log.. 21:49:45 sudo: unable to resolve host prd-centos7-docker-4c-2g-1276.novalocal: Name or service not known 21:49:45 sudo: unable to resolve host prd-centos7-docker-4c-2g-1276.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:49:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:49:46 ---> job-cost.sh 21:49:46 lf-activate-venv: SKIPPING 21:49:46 DEBUG: total: 0.05999999865889549 21:49:46 INFO: Retrieving Stack Cost... 21:49:46 INFO: Retrieving Pricing Info for: v3-standard-2 21:49:46 INFO: Archiving Costs [Pipeline] echo 21:49:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:49:47 ---> logs-deploy.sh 21:49:47 lf-activate-venv: SKIPPING 21:49:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1080/1 21:49:47 INFO: archiving workspace using pattern(s): 21:49:47 Archives upload complete. 21:49:47 INFO: archiving logs to Nexus