Pull request #1076 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 2c9dfba109846ec6e3a71fe827451a179e021c5b rather than 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 Obtained Jenkinsfile from 2c9dfba109846ec6e3a71fe827451a179e021c5b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7747889455554267541.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14791151641243066040.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5715584252190695634.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh5502466765363164921.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1076/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1000264907597026140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-795 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1076 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/jenkins-gitclient-ssh8751444795852159503.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/jenkins-gitclient-ssh8278519567111751096.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1076/head:refs/remotes/origin/PR-1076 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 Checking out Revision 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 (PR-1076) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/jenkins-gitclient-ssh5726428450416205736.key > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 Commit message: "feat(security): Enable gosec and default linter set" First time build. Skipping changelog. > git rev-list --no-walk cf147a2b6904b9f5bb4e03616db30a0d9aa9bcc6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:47:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:47:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:47:21 ========================================================= 16:47:21 EdgeX Global Pipelines Version Info 16:47:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:47:22 ------------------- 16:47:22 stable info: 16:47:22 ------------------- 16:47:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:47:22 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 16:47:22 Message: update stable to v1.0.217 16:47:23 ------------------- 16:47:23 experimental info: 16:47:23 ------------------- 16:47:23 Commited By: **** collab-it+edgex@linuxfoundation.org 16:47:23 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 16:47:23 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1076 [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1076 [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1076 [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88e700b [Pipeline] echo 16:47:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:47:23 provisioning config files... 16:47:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config5187994484895835220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:23 ---> docker-login.sh 16:47:23 nexus3.edgexfoundry.org:10001 16:47:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:24 Configure a credential helper to remove this warning. See 16:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:24 16:47:24 Login Succeeded 16:47:24 nexus3.edgexfoundry.org:10002 16:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:24 Configure a credential helper to remove this warning. See 16:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:24 16:47:24 Login Succeeded 16:47:24 nexus3.edgexfoundry.org:10003 16:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:24 Configure a credential helper to remove this warning. See 16:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:24 16:47:24 Login Succeeded 16:47:24 nexus3.edgexfoundry.org:10004 16:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:24 Configure a credential helper to remove this warning. See 16:47:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:24 16:47:24 Login Succeeded 16:47:24 docker.io 16:47:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:25 Configure a credential helper to remove this warning. See 16:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:25 16:47:25 Login Succeeded 16:47:25 ---> docker-login.sh ends [Pipeline] } 16:47:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:47:25 + git rev-list -1 --merges 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61~1..88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] echo 16:47:25 -----------> git rev-list -1 --merges 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61~1..88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [false] [Pipeline] sh 16:47:25 + git log --format=format:%s -1 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] echo 16:47:25 ========================================================= 16:47:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:47:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:47:26 + git log --format=format:%s -1 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] echo 16:47:26 [semverPrep] GIT_COMMIT: 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo 16:47:26 [semverPrep] This is not a build commit. [Pipeline] sh 16:47:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 16:47:26 + grep -v github /etc/ssh/ssh_known_hosts 16:47:26 + '[' -e /tmp/ssh_known_hosts ']' 16:47:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:47:26 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 16:47:26 + sudo tee -a /etc/ssh/ssh_known_hosts 16:47:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:47:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:47:27 16:47:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:47:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:47:27 latest: Pulling from edgex-devops/git-semver 16:47:27 a0d0a0d46f8b: Pulling fs layer 16:47:27 3e5f54012d9b: Pulling fs layer 16:47:27 4c7163046ea9: Pulling fs layer 16:47:27 0c2d73faf560: Pulling fs layer 16:47:27 0c2d73faf560: Waiting 16:47:27 3e5f54012d9b: Verifying Checksum 16:47:27 3e5f54012d9b: Download complete 16:47:27 a0d0a0d46f8b: Verifying Checksum 16:47:27 a0d0a0d46f8b: Download complete 16:47:27 0c2d73faf560: Verifying Checksum 16:47:27 0c2d73faf560: Download complete 16:47:27 4c7163046ea9: Verifying Checksum 16:47:27 4c7163046ea9: Download complete 16:47:27 a0d0a0d46f8b: Pull complete 16:47:27 3e5f54012d9b: Pull complete 16:47:27 4c7163046ea9: Pull complete 16:47:28 0c2d73faf560: Pull complete 16:47:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:47:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:47:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:47:28 prd-centos7-docker-4c-2g-795 does not seem to be running inside a container 16:47:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1076 -v /w/workspace/gexfoundry_device-sdk-go_PR-1076:/w/workspace/gexfoundry_device-sdk-go_PR-1076:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:47:28 $ docker top 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:47:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:47:29 [ssh-agent] Looking for ssh-agent implementation... 16:47:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:47:28 $ docker exec 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 ssh-agent 16:47:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFPFmbJ/agent.15 16:47:29 SSH_AGENT_PID=21 16:47:29 Running ssh-add (command line suppressed) 16:47:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/private_key_5956328536877718818.key (/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/private_key_5956328536877718818.key) 16:47:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:47:29 + git tag --points-at HEAD [Pipeline] } 16:47:29 $ docker exec --env ******** --env ******** 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 ssh-agent -k 16:47:29 unset SSH_AUTH_SOCK; 16:47:29 unset SSH_AGENT_PID; 16:47:29 echo Agent pid 21 killed; 16:47:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:47:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:47:29 [ssh-agent] Looking for ssh-agent implementation... 16:47:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:47:29 $ docker exec 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 ssh-agent 16:47:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIOGJFp/agent.55 16:47:30 SSH_AGENT_PID=61 16:47:30 Running ssh-add (command line suppressed) 16:47:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/private_key_7189409611149460970.key (/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/private_key_7189409611149460970.key) 16:47:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:47:30 + git semver init 16:47:30 # -> Open(): unable to determine branch for HEAD 16:47:30 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1076/.git 16:47:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1076 16:47:30 # $SEMVER_REMOTE_NAME = origin 16:47:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:47:30 # $SEMVER_USER_NAME = edgex-jenkins 16:47:30 # $SEMVER_BRANCH = PR-1076 16:47:30 # $SEMVER_TEMP = /tmp/semver-482994216 16:47:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:47:31 # '/tmp/semver-482994216' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1076/.semver' 16:47:31 # -> Force: false 16:47:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1076/.semver [Pipeline] } 16:47:31 $ docker exec --env ******** --env ******** 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 ssh-agent -k 16:47:31 unset SSH_AUTH_SOCK; 16:47:31 unset SSH_AGENT_PID; 16:47:31 echo Agent pid 61 killed; 16:47:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:47:31 + git semver [Pipeline] } 16:47:31 $ docker stop --time=1 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 16:47:32 $ docker rm -f 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 [Pipeline] // withDockerContainer [Pipeline] sh 16:47:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:47:33 Stashed 1 file(s) [Pipeline] echo 16:47:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:47:48 Still waiting to schedule task 16:47:48 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-795’ 16:47:48 Still waiting to schedule task 16:47:48 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:49:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-796 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] ws 16:49:15 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:49:16 The recommended git tool is: git 16:49:20 using credential edgex-jenkins-ssh 16:49:20 Cloning the remote Git repository 16:49:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:49:20 > git init /w/workspace/device-sdk-go/2 # timeout=10 16:49:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:49:20 > git --version # timeout=10 16:49:20 > git --version # 'git version 2.17.1' 16:49:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:23 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 16:49:23 Merge succeeded, producing 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 16:49:23 Checking out Revision 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 (PR-1076) 16:49:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:49:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:49:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:49:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:49:22 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1076/head:refs/remotes/origin/PR-1076 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:49:23 > git config core.sparsecheckout # timeout=10 16:49:23 > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 16:49:23 > git remote # timeout=10 16:49:23 > git config --get remote.origin.url # timeout=10 16:49:23 using GIT_SSH to set credentials SSH Credentials for GitHub 16:49:23 > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 16:49:23 > git rev-parse HEAD^{commit} # timeout=10 16:49:23 > git config core.sparsecheckout # timeout=10 16:49:23 > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 16:49:27 Commit message: "feat(security): Enable gosec and default linter set" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:49:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:49:28 % Total % Received % Xferd Average Speed Time Time Time Current 16:49:28 Dload Upload Total Spent Left Speed 16:49:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 75312 0 --:--:-- --:--:-- --:--:-- 74835 100 11824 100 11824 0 0 74364 0 --:--:-- --:--:-- --:--:-- 74364 [Pipeline] sh 16:49:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:49:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:49:29 + sudo tee /etc/docker/daemon.new 16:49:29 { 16:49:29 "registry-mirrors": [ 16:49:29 "https://nexus3.edgexfoundry.org:10001" 16:49:29 ], 16:49:29 "bip": "10.250.0.254/24", 16:49:29 "hosts": [ 16:49:29 "tcp://0.0.0.0:5555", 16:49:29 "unix:///var/run/docker.sock" 16:49:29 ], 16:49:29 "mtu": 1458, 16:49:29 "selinux-enabled": true, 16:49:29 "seccomp-profile": "/etc/docker/seccomp.json" 16:49:29 } [Pipeline] sh 16:49:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:49:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:49:48 provisioning config files... 16:49:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4198753840408355495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:48 ---> docker-login.sh 16:49:48 nexus3.edgexfoundry.org:10001 16:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:49 Configure a credential helper to remove this warning. See 16:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:49 16:49:49 Login Succeeded 16:49:49 nexus3.edgexfoundry.org:10002 16:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:49 Configure a credential helper to remove this warning. See 16:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:49 16:49:49 Login Succeeded 16:49:49 nexus3.edgexfoundry.org:10003 16:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:49 Configure a credential helper to remove this warning. See 16:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:49 16:49:49 Login Succeeded 16:49:49 nexus3.edgexfoundry.org:10004 16:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:50 Configure a credential helper to remove this warning. See 16:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:50 16:49:50 Login Succeeded 16:49:50 docker.io 16:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:51 Configure a credential helper to remove this warning. See 16:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:51 16:49:51 Login Succeeded 16:49:51 ---> docker-login.sh ends [Pipeline] } 16:49:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:49:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:49:51 ========================================================= 16:49:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:49:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:49:51 + 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 . 16:49:52 Sending build context to Docker daemon 5.05MB 16:49:52 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 16:49:52 Step 2/10 : FROM ${BASE} AS builder 16:49:52 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:49:52 552d1f2373af: Pulling fs layer 16:49:52 ea3f2d53f512: Pulling fs layer 16:49:52 9e70ebbbe112: Pulling fs layer 16:49:52 7a9cfe048b4a: Pulling fs layer 16:49:52 72dc09318566: Pulling fs layer 16:49:52 f4f7b4309257: Pulling fs layer 16:49:52 0ac9a79272e3: Pulling fs layer 16:49:52 b78e95d17946: Pulling fs layer 16:49:52 f4f7b4309257: Waiting 16:49:52 b78e95d17946: Waiting 16:49:52 0ac9a79272e3: Waiting 16:49:52 72dc09318566: Waiting 16:49:52 7a9cfe048b4a: Waiting 16:49:52 9e70ebbbe112: Verifying Checksum 16:49:52 9e70ebbbe112: Download complete 16:49:52 ea3f2d53f512: Verifying Checksum 16:49:52 ea3f2d53f512: Download complete 16:49:52 72dc09318566: Verifying Checksum 16:49:52 72dc09318566: Download complete 16:49:52 f4f7b4309257: Download complete 16:49:52 552d1f2373af: Verifying Checksum 16:49:52 552d1f2373af: Download complete 16:49:52 0ac9a79272e3: Verifying Checksum 16:49:52 0ac9a79272e3: Download complete 16:49:53 552d1f2373af: Pull complete 16:49:54 ea3f2d53f512: Pull complete 16:49:54 9e70ebbbe112: Pull complete 16:49:54 b78e95d17946: Verifying Checksum 16:49:54 b78e95d17946: Download complete 16:49:54 7a9cfe048b4a: Verifying Checksum 16:49:54 7a9cfe048b4a: Download complete 16:50:03 Running on prd-centos7-docker-4c-2g-797 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] ws 16:50:03 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:50:03 The recommended git tool is: git 16:50:04 using credential edgex-jenkins-ssh 16:50:04 Cloning the remote Git repository 16:50:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:50:04 > git init /w/workspace/device-sdk-go/2 # timeout=10 16:50:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:50:04 > git --version # timeout=10 16:50:04 > git --version # 'git version 2.24.4' 16:50:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:50:04 [INFO] Currently running in a labeled security context 16:50:04 [INFO] Currently SELinux is 'enforcing' on the host 16:50:04 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4831349945848696660.key 16:50:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:50:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:50:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:50:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:50:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:50:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:50:05 [INFO] Currently running in a labeled security context 16:50:05 [INFO] Currently SELinux is 'enforcing' on the host 16:50:05 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3020283410497064872.key 16:50:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1076/head:refs/remotes/origin/PR-1076 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:50:06 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 16:50:06 Merge succeeded, producing 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 16:50:06 Checking out Revision 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 (PR-1076) 16:50:07 7a9cfe048b4a: Pull complete 16:50:07 72dc09318566: Pull complete 16:50:07 f4f7b4309257: Pull complete 16:50:07 0ac9a79272e3: Pull complete 16:50:06 > git config core.sparsecheckout # timeout=10 16:50:06 > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 16:50:06 > git remote # timeout=10 16:50:06 > git config --get remote.origin.url # timeout=10 16:50:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:50:06 [INFO] Currently running in a labeled security context 16:50:06 [INFO] Currently SELinux is 'enforcing' on the host 16:50:06 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1493516988480982980.key 16:50:06 > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 16:50:06 > git rev-parse HEAD^{commit} # timeout=10 16:50:06 > git config core.sparsecheckout # timeout=10 16:50:06 > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 16:50:10 Commit message: "feat(security): Enable gosec and default linter set" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:50:10 provisioning config files... 16:50:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5829212630302704890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:11 ---> docker-login.sh 16:50:11 nexus3.edgexfoundry.org:10001 16:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:11 Configure a credential helper to remove this warning. See 16:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:11 16:50:11 Login Succeeded 16:50:11 nexus3.edgexfoundry.org:10002 16:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:11 Configure a credential helper to remove this warning. See 16:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:11 16:50:11 Login Succeeded 16:50:11 nexus3.edgexfoundry.org:10003 16:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:11 Configure a credential helper to remove this warning. See 16:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:11 16:50:11 Login Succeeded 16:50:11 nexus3.edgexfoundry.org:10004 16:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:11 Configure a credential helper to remove this warning. See 16:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:11 16:50:11 Login Succeeded 16:50:11 docker.io 16:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:12 Configure a credential helper to remove this warning. See 16:50:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:12 16:50:12 Login Succeeded 16:50:12 ---> docker-login.sh ends [Pipeline] } 16:50:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:50:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:50:12 ========================================================= 16:50:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:50:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:50:12 + 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 . 16:50:12 Sending build context to Docker daemon 5.058MB 16:50:12 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 16:50:12 Step 2/10 : FROM ${BASE} AS builder 16:50:12 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:50:12 a0d0a0d46f8b: Pulling fs layer 16:50:12 31adcdaf11c8: Pulling fs layer 16:50:12 b8b176561691: Pulling fs layer 16:50:12 4527c011a84f: Pulling fs layer 16:50:12 5d74067f8e1e: Pulling fs layer 16:50:12 e0aca202a116: Pulling fs layer 16:50:12 3a43be97a3b4: Pulling fs layer 16:50:12 34cad66bf833: Pulling fs layer 16:50:12 b4e3c513aaa6: Pulling fs layer 16:50:12 5d74067f8e1e: Waiting 16:50:12 e0aca202a116: Waiting 16:50:12 3a43be97a3b4: Waiting 16:50:12 34cad66bf833: Waiting 16:50:12 b4e3c513aaa6: Waiting 16:50:12 4527c011a84f: Waiting 16:50:12 b8b176561691: Verifying Checksum 16:50:12 b8b176561691: Download complete 16:50:12 31adcdaf11c8: Verifying Checksum 16:50:12 31adcdaf11c8: Download complete 16:50:12 b78e95d17946: Pull complete 16:50:12 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 16:50:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:50:12 ---> 8b459fc5aaf0 16:50:12 Step 3/10 : ARG MAKE=make build 16:50:12 5d74067f8e1e: Verifying Checksum 16:50:12 5d74067f8e1e: Download complete 16:50:12 a0d0a0d46f8b: Download complete 16:50:12 e0aca202a116: Verifying Checksum 16:50:12 e0aca202a116: Download complete 16:50:12 3a43be97a3b4: Verifying Checksum 16:50:12 3a43be97a3b4: Download complete 16:50:12 34cad66bf833: Verifying Checksum 16:50:12 34cad66bf833: Download complete 16:50:12 a0d0a0d46f8b: Pull complete 16:50:13 31adcdaf11c8: Pull complete 16:50:13 b4e3c513aaa6: Verifying Checksum 16:50:13 b4e3c513aaa6: Download complete 16:50:13 4527c011a84f: Verifying Checksum 16:50:13 4527c011a84f: Download complete 16:50:13 b8b176561691: Pull complete 16:50:13 ---> Running in c93179280f46 16:50:14 Removing intermediate container c93179280f46 16:50:14 ---> 15e78ca01928 16:50:14 Step 4/10 : WORKDIR /device-sdk-go 16:50:14 ---> Running in 433ee1fbdf8f 16:50:14 Removing intermediate container 433ee1fbdf8f 16:50:14 ---> 11e90bb053ac 16:50:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:50:14 ---> Running in c49368f5f130 16:50:14 Removing intermediate container c49368f5f130 16:50:14 ---> 574fee0e2bae 16:50:14 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:50:14 ---> Running in 5c8b4499661b 16:50:16 Removing intermediate container 5c8b4499661b 16:50:16 ---> abb9a0be874f 16:50:16 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:50:16 ---> Running in 9ca35c79c6f9 16:50:17 4527c011a84f: Pull complete 16:50:17 5d74067f8e1e: Pull complete 16:50:17 e0aca202a116: Pull complete 16:50:17 3a43be97a3b4: Pull complete 16:50:17 34cad66bf833: Pull complete 16:50:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:50:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:50:19 OK: 219 MiB in 52 packages 16:50:20 b4e3c513aaa6: Pull complete 16:50:20 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 16:50:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:50:20 ---> 9f6097aaca64 16:50:20 Step 3/10 : ARG MAKE=make build 16:50:20 Removing intermediate container 9ca35c79c6f9 16:50:20 ---> 9cd21473b729 16:50:20 Step 8/10 : COPY . . 16:50:21 ---> 3485376e4688 16:50:21 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:21 ---> Running in e6e41e1b5230 16:50:21 ---> Running in 477c8573b493 16:50:21 Removing intermediate container 477c8573b493 16:50:21 ---> 96d298b688f9 16:50:21 Step 4/10 : WORKDIR /device-sdk-go 16:50:21 ---> Running in 126dc3378b38 16:50:21 Removing intermediate container 126dc3378b38 16:50:21 ---> 12b272d2a0df 16:50:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:50:21 ---> Running in dae37299b648 16:50:21 Removing intermediate container dae37299b648 16:50:21 ---> 6d1763b20b8f 16:50:21 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:50:21 ---> Running in e51c050951c5 16:50:22 Removing intermediate container e51c050951c5 16:50:22 ---> 22351211c38d 16:50:22 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:50:22 ---> Running in 4664fb309d95 16:50:22 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:50:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:50:24 OK: 220 MiB in 52 packages 16:50:24 Removing intermediate container 4664fb309d95 16:50:24 ---> fd67094f91e9 16:50:24 Step 8/10 : COPY . . 16:50:24 ---> b88c6c54ca46 16:50:24 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:24 ---> Running in e181708719b6 16:50:56 Removing intermediate container e181708719b6 16:50:56 ---> 85390d03e703 16:50:56 Step 10/10 : RUN ${MAKE} 16:50:56 ---> Running in b5c31173321a 16:50:56 noop 16:50:56 Removing intermediate container b5c31173321a 16:50:56 ---> 1dab38f30a1a 16:50:56 Successfully built 1dab38f30a1a 16:50:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:50:57 + docker inspect -f . ci-base-image-x86_64 16:50:57 . [Pipeline] withDockerContainer 16:50:57 prd-centos7-docker-4c-2g-797 does not seem to be running inside a container 16:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:50:57 $ docker top e31202d295df651af02b39bbe27a0a2498e4780b88b31714096c48087bc8ad75 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:58 + go version 16:50:58 go version go1.16.8 linux/amd64 [Pipeline] } 16:50:58 $ docker stop --time=1 e31202d295df651af02b39bbe27a0a2498e4780b88b31714096c48087bc8ad75 16:50:59 $ docker rm -f e31202d295df651af02b39bbe27a0a2498e4780b88b31714096c48087bc8ad75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:50:59 + docker inspect -f . ci-base-image-x86_64 16:50:59 . [Pipeline] withDockerContainer 16:50:59 prd-centos7-docker-4c-2g-797 does not seem to be running inside a container 16:50:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:51:00 $ docker top de34c54b60f837e2cbf1d7e0385b6950fd79a3db43190aa960e165d4efc60e5c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:51:00 + make test 16:51:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:51:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:51:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.3% of statements 16:51:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:51:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 27.6% of statements 16:51:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 16:51:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 9.0% of statements 16:51:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 16:51:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:51:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:51:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements 16:51:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:51:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.044s coverage: 86.1% of statements 16:51:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:51:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:51:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.4% of statements 16:51:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.836s coverage: 89.2% of statements 16:51:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:51:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 4.8% of statements 16:51:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:51:43 Removing intermediate container e6e41e1b5230 16:51:43 ---> 6589da6137e5 16:51:43 Step 10/10 : RUN ${MAKE} 16:51:43 ---> Running in 4ed9b6c57c2b 16:51:43 noop 16:51:43 Removing intermediate container 4ed9b6c57c2b 16:51:43 ---> 9f7e7e97f180 16:51:43 Successfully built 9f7e7e97f180 16:51:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:51:43 + docker inspect -f . ci-base-image-arm64 16:51:43 . [Pipeline] withDockerContainer 16:51:43 prd-ubuntu18.04-docker-arm64-4c-16g-796 does not seem to be running inside a container 16:51:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:51:45 $ docker top 8204717f8fe171301a45f843382fa0dc87f938d35de801f54f7f7a4ee691f828 -eo pid,comm [Pipeline] { [Pipeline] sh 16:51:46 + go version 16:51:46 go version go1.16.8 linux/arm64 [Pipeline] } 16:51:46 $ docker stop --time=1 8204717f8fe171301a45f843382fa0dc87f938d35de801f54f7f7a4ee691f828 16:51:47 $ docker rm -f 8204717f8fe171301a45f843382fa0dc87f938d35de801f54f7f7a4ee691f828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:51:48 + docker inspect -f . ci-base-image-arm64 16:51:48 . [Pipeline] withDockerContainer 16:51:48 prd-ubuntu18.04-docker-arm64-4c-16g-796 does not seem to be running inside a container 16:51:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:51:50 $ docker top cf506f574e273f16a40aa99ff4d9e846c99210a90c3753c5a35275108fd5b4e9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:51:50 + make test 16:51:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:51:56 GO111MODULE=on go vet ./... 16:52:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:52:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:52:04 ./bin/test-attribution-txt.sh [Pipeline] echo 16:52:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:52:04 $ docker stop --time=1 de34c54b60f837e2cbf1d7e0385b6950fd79a3db43190aa960e165d4efc60e5c 16:52:05 $ docker rm -f de34c54b60f837e2cbf1d7e0385b6950fd79a3db43190aa960e165d4efc60e5c [Pipeline] // withDockerContainer [Pipeline] sh 16:52:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:52:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:52:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:52:08 + ls -al . 16:52:08 total 272 16:52:08 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 5 16:52 . 16:52:08 drwxrwxr-x. 4 jenkins jenkins 28 Jan 5 16:50 .. 16:52:08 drwxrwxr-x. 2 jenkins jenkins 37 Jan 5 16:50 bin 16:52:08 -rw-rw-r--. 1 jenkins jenkins 26321 Jan 5 16:50 CHANGELOG.md 16:52:08 -rw-r--r--. 1 jenkins jenkins 128667 Jan 5 16:51 coverage.out 16:52:08 -rw-rw-r--. 1 jenkins jenkins 140 Jan 5 16:50 .dockerignore 16:52:08 drwxrwxr-x. 5 jenkins jenkins 62 Jan 5 16:50 example 16:52:08 drwxrwxr-x. 8 jenkins jenkins 179 Jan 5 16:50 .git 16:52:08 drwxrwxr-x. 3 jenkins jenkins 125 Jan 5 16:50 .github 16:52:08 -rw-rw-r--. 1 jenkins jenkins 131 Jan 5 16:50 .gitignore 16:52:08 -rw-rw-r--. 1 jenkins jenkins 42 Jan 5 16:50 .golangci.yml 16:52:08 -rw-rw-r--. 1 jenkins jenkins 582 Jan 5 16:50 go.mod 16:52:08 -rw-rw-r--. 1 jenkins jenkins 49492 Jan 5 16:50 go.sum 16:52:08 -rw-rw-r--. 1 jenkins jenkins 677 Jan 5 16:50 GOVERNANCE.md 16:52:08 drwxrwxr-x. 15 jenkins jenkins 224 Jan 5 16:50 internal 16:52:08 -rw-rw-r--. 1 jenkins jenkins 880 Jan 5 16:50 Jenkinsfile 16:52:08 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 5 16:50 LICENSE 16:52:08 -rw-rw-r--. 1 jenkins jenkins 1590 Jan 5 16:50 Makefile 16:52:08 drwxrwxr-x. 3 jenkins jenkins 16 Jan 5 16:50 openapi 16:52:08 -rw-rw-r--. 1 jenkins jenkins 619 Jan 5 16:50 OWNERS.md 16:52:08 drwxrwxr-x. 5 jenkins jenkins 50 Jan 5 16:50 pkg 16:52:08 -rw-rw-r--. 1 jenkins jenkins 4881 Jan 5 16:50 README.md 16:52:08 drwxrwxr-x. 4 jenkins jenkins 54 Jan 5 16:50 snap 16:52:08 -rw-rw-r--. 1 jenkins jenkins 5 Jan 5 16:47 VERSION 16:52:08 -rw-rw-r--. 1 jenkins jenkins 222 Jan 5 16:50 version.go [Pipeline] isUnix [Pipeline] sh 16:52:08 + 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=88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 --label arch=amd64 --label version=0.0.0 . 16:52:08 Sending build context to Docker daemon 5.188MB 16:52:08 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 16:52:08 Step 2/24 : FROM ${BASE} AS builder 16:52:08 ---> 1dab38f30a1a 16:52:08 Step 3/24 : ARG MAKE=make build 16:52:08 ---> Running in 53f664c9a27f 16:52:08 Removing intermediate container 53f664c9a27f 16:52:08 ---> 1e7156c9a1e3 16:52:08 Step 4/24 : WORKDIR /device-sdk-go 16:52:08 ---> Running in 56051c5cec2f 16:52:08 Removing intermediate container 56051c5cec2f 16:52:08 ---> 09e6ceaa0a5d 16:52:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:52:08 ---> Running in 827a349aaf9e 16:52:08 Removing intermediate container 827a349aaf9e 16:52:08 ---> d517738150ec 16:52:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:52:08 ---> Running in 279af71c705f 16:52:09 Removing intermediate container 279af71c705f 16:52:09 ---> 7b10c918e3be 16:52:09 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:52:10 ---> Running in 8e6247b53a0f 16:52:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:52:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:52:11 OK: 220 MiB in 52 packages 16:52:11 Removing intermediate container 8e6247b53a0f 16:52:11 ---> 3b3fe5b4f98f 16:52:11 Step 8/24 : COPY . . 16:52:12 ---> 17bda64eeac5 16:52:12 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:52:12 ---> Running in eac700cbe5ca 16:52:12 Removing intermediate container eac700cbe5ca 16:52:12 ---> 20f15e2baa23 16:52:12 Step 10/24 : RUN ${MAKE} 16:52:12 ---> Running in a1165f52de4c 16:52:13 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 16:52:17 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:52:23 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:52:24 Removing intermediate container a1165f52de4c 16:52:24 ---> ba024d450321 16:52:24 Step 11/24 : FROM alpine:3.14 16:52:25 3.14: Pulling from library/alpine 16:52:25 97518928ae5f: Pulling fs layer 16:52:25 97518928ae5f: Verifying Checksum 16:52:25 97518928ae5f: Download complete 16:52:25 97518928ae5f: Pull complete 16:52:25 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 16:52:25 Status: Downloaded newer image for alpine:3.14 16:52:25 ---> 0a97eee8041e 16:52:25 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:52:25 ---> Running in ae4c3d7918cd 16:52:25 Removing intermediate container ae4c3d7918cd 16:52:25 ---> 37027cb1e814 16:52:25 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:52:25 ---> Running in d01c51d35681 16:52:26 Removing intermediate container d01c51d35681 16:52:26 ---> 1a934cf9d9e3 16:52:26 Step 14/24 : RUN apk add --update --no-cache zeromq 16:52:26 ---> Running in 7da39f6179ff 16:52:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:52:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:52:27 (1/5) Installing libgcc (10.3.1_git20210424-r2) 16:52:27 (2/5) Installing libsodium (1.0.18-r0) 16:52:28 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 16:52:28 (4/5) Installing libzmq (4.3.4-r0) 16:52:28 (5/5) Installing zeromq (4.3.4-r0) 16:52:28 Executing busybox-1.33.1-r6.trigger 16:52:28 OK: 8 MiB in 19 packages 16:52:28 Removing intermediate container 7da39f6179ff 16:52:28 ---> 248f4e4f3c53 16:52:28 Step 15/24 : WORKDIR / 16:52:28 ---> Running in 518f02e72657 16:52:28 Removing intermediate container 518f02e72657 16:52:28 ---> 4200d11be7c5 16:52:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:52:28 ---> f76480b73bd5 16:52:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:52:29 ---> f9e390a1734e 16:52:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:52:29 ---> 8d4dcdf23081 16:52:29 Step 19/24 : EXPOSE 59999 16:52:29 ---> Running in 164a05dd9794 16:52:29 Removing intermediate container 164a05dd9794 16:52:29 ---> d24ac1379191 16:52:29 Step 20/24 : ENTRYPOINT ["/device-simple"] 16:52:29 ---> Running in e84fbf5d134e 16:52:29 Removing intermediate container e84fbf5d134e 16:52:29 ---> 81527b7c8293 16:52:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:52:29 ---> Running in 174268f1f7a8 16:52:29 Removing intermediate container 174268f1f7a8 16:52:29 ---> 780ec7027446 16:52:29 Step 22/24 : LABEL arch=amd64 16:52:29 ---> Running in bd96c754b4db 16:52:29 Removing intermediate container bd96c754b4db 16:52:29 ---> f14291cc6f3e 16:52:29 Step 23/24 : LABEL git_sha=88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 16:52:29 ---> Running in 700ce56cdb66 16:52:29 Removing intermediate container 700ce56cdb66 16:52:29 ---> 4b299b894951 16:52:29 Step 24/24 : LABEL version=0.0.0 16:52:29 ---> Running in 47f730edc97e 16:52:29 Removing intermediate container 47f730edc97e 16:52:29 ---> 57e944b380b9 16:52:29 [Warning] One or more build-args [ARCH] were not consumed 16:52:29 Successfully built 57e944b380b9 16:52:29 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 [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:52:30 16:52:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:52:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:52:30 latest: Pulling from edgex-lftools-log-publisher 16:52:30 b4d181a07f80: Pulling fs layer 16:52:30 a1111a8f2ec3: Pulling fs layer 16:52:30 ed53099fbce6: Pulling fs layer 16:52:30 dc539afda2c1: Pulling fs layer 16:52:30 77bc0d833cb6: Pulling fs layer 16:52:30 9065ff56babe: Pulling fs layer 16:52:30 d287ab97295c: Pulling fs layer 16:52:30 dc539afda2c1: Waiting 16:52:30 77bc0d833cb6: Waiting 16:52:30 9065ff56babe: Waiting 16:52:30 d287ab97295c: Waiting 16:52:30 a1111a8f2ec3: Verifying Checksum 16:52:30 a1111a8f2ec3: Download complete 16:52:30 dc539afda2c1: Verifying Checksum 16:52:30 dc539afda2c1: Download complete 16:52:30 ed53099fbce6: Verifying Checksum 16:52:30 ed53099fbce6: Download complete 16:52:30 9065ff56babe: Verifying Checksum 16:52:30 9065ff56babe: Download complete 16:52:30 77bc0d833cb6: Verifying Checksum 16:52:30 77bc0d833cb6: Download complete 16:52:30 b4d181a07f80: Verifying Checksum 16:52:30 b4d181a07f80: Download complete 16:52:31 d287ab97295c: Verifying Checksum 16:52:31 d287ab97295c: Download complete 16:52:32 b4d181a07f80: Pull complete 16:52:32 a1111a8f2ec3: Pull complete 16:52:33 ed53099fbce6: Pull complete 16:52:33 dc539afda2c1: Pull complete 16:52:33 77bc0d833cb6: Pull complete 16:52:33 9065ff56babe: Pull complete 16:52:38 d287ab97295c: Pull complete 16:52:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:52:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:52:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:52:38 prd-centos7-docker-4c-2g-797 does not seem to be running inside a container 16:52:38 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:52:41 $ docker top b6e26f5e92a4185ed06d2a5651e91cb6213e7f3e5b0a53c41327744191fc37d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:42 ---> job-cost.sh 16:52:42 lf-activate-venv: SKIPPING 16:52:42 INFO: No Stack... 16:52:42 INFO: Retrieving Pricing Info for: v3-standard-2 16:52:42 INFO: Archiving Costs [Pipeline] sh 16:52:42 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 16:52:42 + cut -d, -f6 [Pipeline] lock 16:52:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] 16:52:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] did not exist. Created. 16:52:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:52:43 + echo total: 0.05999999865889549 [Pipeline] stash 16:52:43 Stashed 1 file(s) [Pipeline] } 16:52:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:52:43 $ docker stop --time=1 b6e26f5e92a4185ed06d2a5651e91cb6213e7f3e5b0a53c41327744191fc37d0 16:52:44 $ docker rm -f b6e26f5e92a4185ed06d2a5651e91cb6213e7f3e5b0a53c41327744191fc37d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:53:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:53:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:53:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.301s coverage: 23.3% of statements 16:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.208s coverage: 27.6% of statements 16:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.259s coverage: 78.9% of statements 16:53:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.201s coverage: 9.0% of statements 16:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 16:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:53:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:53:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.397s coverage: 28.7% of statements 16:53:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:53:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.233s coverage: 86.1% of statements 16:53:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:53:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:53:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.473s coverage: 57.4% of statements 16:53:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.210s coverage: 89.2% of statements 16:53:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:53:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 4.8% of statements 16:53:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:53:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:53:32 GO111MODULE=on go vet ./... 16:54:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:54:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:54:28 ./bin/test-attribution-txt.sh [Pipeline] echo 16:54:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:54:29 $ docker stop --time=1 cf506f574e273f16a40aa99ff4d9e846c99210a90c3753c5a35275108fd5b4e9 16:54:31 $ docker rm -f cf506f574e273f16a40aa99ff4d9e846c99210a90c3753c5a35275108fd5b4e9 [Pipeline] // withDockerContainer [Pipeline] sh 16:54:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:54:32 Warning: overwriting stash ‘coverage-report’ 16:54:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:54:33 + ls -al . 16:54:33 total 308 16:54:33 drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 16:54 . 16:54:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 16:49 .. 16:54:33 -rw-rw-r-- 1 jenkins jenkins 140 Jan 5 16:49 .dockerignore 16:54:33 drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 16:49 .git 16:54:33 drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 16:49 .github 16:54:33 -rw-rw-r-- 1 jenkins jenkins 131 Jan 5 16:49 .gitignore 16:54:33 -rw-rw-r-- 1 jenkins jenkins 42 Jan 5 16:49 .golangci.yml 16:54:33 -rw-rw-r-- 1 jenkins jenkins 26321 Jan 5 16:49 CHANGELOG.md 16:54:33 -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 16:49 GOVERNANCE.md 16:54:33 -rw-rw-r-- 1 jenkins jenkins 880 Jan 5 16:49 Jenkinsfile 16:54:33 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 5 16:49 LICENSE 16:54:33 -rw-rw-r-- 1 jenkins jenkins 1590 Jan 5 16:49 Makefile 16:54:33 -rw-rw-r-- 1 jenkins jenkins 619 Jan 5 16:49 OWNERS.md 16:54:33 -rw-rw-r-- 1 jenkins jenkins 4881 Jan 5 16:49 README.md 16:54:33 -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 16:47 VERSION 16:54:33 drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 16:49 bin 16:54:33 -rw-r--r-- 1 jenkins jenkins 128668 Jan 5 16:53 coverage.out 16:54:33 drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 16:49 example 16:54:33 -rw-rw-r-- 1 jenkins jenkins 582 Jan 5 16:49 go.mod 16:54:33 -rw-rw-r-- 1 jenkins jenkins 49492 Jan 5 16:49 go.sum 16:54:33 drwxrwxr-x 15 jenkins jenkins 4096 Jan 5 16:49 internal 16:54:33 drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 16:49 openapi 16:54:33 drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 16:49 pkg 16:54:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 16:49 snap 16:54:33 -rw-rw-r-- 1 jenkins jenkins 222 Jan 5 16:49 version.go [Pipeline] isUnix [Pipeline] sh 16:54:33 + 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=88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 --label arch=arm64 --label version=0.0.0 . 16:54:34 Sending build context to Docker daemon 5.18MB 16:54:34 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 16:54:34 Step 2/24 : FROM ${BASE} AS builder 16:54:34 ---> 9f7e7e97f180 16:54:34 Step 3/24 : ARG MAKE=make build 16:54:34 ---> Running in a25c9299e751 16:54:34 Removing intermediate container a25c9299e751 16:54:34 ---> c6e7d62dec56 16:54:34 Step 4/24 : WORKDIR /device-sdk-go 16:54:34 ---> Running in 3cf08df13bfb 16:54:35 Removing intermediate container 3cf08df13bfb 16:54:35 ---> 5808358c9121 16:54:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:54:35 ---> Running in b1eafb71746f 16:54:35 Removing intermediate container b1eafb71746f 16:54:35 ---> 4279b0a10552 16:54:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:54:35 ---> Running in 926b9b25bf23 16:54:37 Removing intermediate container 926b9b25bf23 16:54:37 ---> 9928ad28511e 16:54:37 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:54:37 ---> Running in 720d36f04b54 16:54:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:54:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:54:39 OK: 219 MiB in 52 packages 16:54:40 Removing intermediate container 720d36f04b54 16:54:40 ---> 912abbe257d4 16:54:40 Step 8/24 : COPY . . 16:54:42 ---> fe5eef87be3a 16:54:42 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:42 ---> Running in dc8f29ffe309 16:54:44 Removing intermediate container dc8f29ffe309 16:54:44 ---> 29f8475e493f 16:54:44 Step 10/24 : RUN ${MAKE} 16:54:44 ---> Running in 402457e74f24 16:54:45 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 16:55:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:55:19 Removing intermediate container 402457e74f24 16:55:19 ---> 8d59aa16ebd2 16:55:19 Step 11/24 : FROM alpine:3.14 16:55:20 3.14: Pulling from library/alpine 16:55:20 be307f383ecc: Pulling fs layer 16:55:20 be307f383ecc: Verifying Checksum 16:55:20 be307f383ecc: Download complete 16:55:20 be307f383ecc: Pull complete 16:55:20 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 16:55:20 Status: Downloaded newer image for alpine:3.14 16:55:20 ---> 5b8b7b635229 16:55:20 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:55:21 ---> Running in 47ec5f269bf5 16:55:21 Removing intermediate container 47ec5f269bf5 16:55:21 ---> de4180fbeca6 16:55:21 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:21 ---> Running in c4522d3ecd87 16:55:23 Removing intermediate container c4522d3ecd87 16:55:23 ---> 21979428a033 16:55:23 Step 14/24 : RUN apk add --update --no-cache zeromq 16:55:23 ---> Running in cb9696f0e739 16:55:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:55:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:55:26 (1/5) Installing libgcc (10.3.1_git20210424-r2) 16:55:26 (2/5) Installing libsodium (1.0.18-r0) 16:55:26 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 16:55:26 (4/5) Installing libzmq (4.3.4-r0) 16:55:26 (5/5) Installing zeromq (4.3.4-r0) 16:55:26 Executing busybox-1.33.1-r6.trigger 16:55:26 OK: 8 MiB in 19 packages 16:55:27 Removing intermediate container cb9696f0e739 16:55:27 ---> 99dd80179b98 16:55:27 Step 15/24 : WORKDIR / 16:55:27 ---> Running in 5becec52134a 16:55:27 Removing intermediate container 5becec52134a 16:55:27 ---> f324ffc36463 16:55:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:55:28 ---> d020a10aea38 16:55:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:55:29 ---> b35859df588b 16:55:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:55:29 ---> db1c2ffe794b 16:55:29 Step 19/24 : EXPOSE 59999 16:55:30 ---> Running in c1b0c29fb129 16:55:30 Removing intermediate container c1b0c29fb129 16:55:30 ---> 9457f1a13b96 16:55:30 Step 20/24 : ENTRYPOINT ["/device-simple"] 16:55:30 ---> Running in 9fd5bf36d529 16:55:30 Removing intermediate container 9fd5bf36d529 16:55:30 ---> 8fe974d73266 16:55:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:55:30 ---> Running in db5a8f7d7fe5 16:55:31 Removing intermediate container db5a8f7d7fe5 16:55:31 ---> 523d6e0769cd 16:55:31 Step 22/24 : LABEL arch=arm64 16:55:31 ---> Running in 02bfedbf35e5 16:55:31 Removing intermediate container 02bfedbf35e5 16:55:31 ---> 982cde079b23 16:55:31 Step 23/24 : LABEL git_sha=88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 16:55:31 ---> Running in 4ce2cb6ecc7d 16:55:31 Removing intermediate container 4ce2cb6ecc7d 16:55:31 ---> ae844cd64244 16:55:31 Step 24/24 : LABEL version=0.0.0 16:55:31 ---> Running in 0edf0a06740e 16:55:32 Removing intermediate container 0edf0a06740e 16:55:32 ---> 94d9c02edf22 16:55:32 [Warning] One or more build-args [ARCH] were not consumed 16:55:32 Successfully built 94d9c02edf22 16:55:32 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 16:55:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:55:32 16:55:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:55:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:55:33 arm64: Pulling from edgex-lftools-log-publisher 16:55:33 448f6bf000e3: Pulling fs layer 16:55:33 f757da607395: Pulling fs layer 16:55:33 05883995daec: Pulling fs layer 16:55:33 8603b9c90790: Pulling fs layer 16:55:33 1560dd03e051: Pulling fs layer 16:55:33 27f5ce0e4adf: Pulling fs layer 16:55:33 c2d8d7efcc4b: Pulling fs layer 16:55:33 1560dd03e051: Waiting 16:55:33 27f5ce0e4adf: Waiting 16:55:33 c2d8d7efcc4b: Waiting 16:55:33 8603b9c90790: Waiting 16:55:33 f757da607395: Verifying Checksum 16:55:33 f757da607395: Download complete 16:55:33 8603b9c90790: Verifying Checksum 16:55:33 8603b9c90790: Download complete 16:55:33 1560dd03e051: Verifying Checksum 16:55:33 1560dd03e051: Download complete 16:55:33 27f5ce0e4adf: Verifying Checksum 16:55:33 27f5ce0e4adf: Download complete 16:55:33 05883995daec: Verifying Checksum 16:55:33 05883995daec: Download complete 16:55:33 448f6bf000e3: Verifying Checksum 16:55:33 448f6bf000e3: Download complete 16:55:36 c2d8d7efcc4b: Verifying Checksum 16:55:36 c2d8d7efcc4b: Download complete 16:55:37 448f6bf000e3: Pull complete 16:55:37 f757da607395: Pull complete 16:55:39 05883995daec: Pull complete 16:55:39 8603b9c90790: Pull complete 16:55:40 1560dd03e051: Pull complete 16:55:40 27f5ce0e4adf: Pull complete 16:55:55 c2d8d7efcc4b: Pull complete 16:55:55 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:55:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:55:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:55:56 prd-ubuntu18.04-docker-arm64-4c-16g-796 does not seem to be running inside a container 16:55:56 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:55:58 $ docker top 0bdb62865a71932d2d5042d46787a10f5a8d2efc01b0c6d307afc002759fc6b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:59 ---> job-cost.sh 16:55:59 lf-activate-venv: SKIPPING 16:55:59 INFO: No Stack... 16:55:59 INFO: Retrieving Pricing Info for: v3-standard-4 16:56:00 INFO: Archiving Costs [Pipeline] sh 16:56:00 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 16:56:00 + cut -d, -f6 [Pipeline] lock 16:56:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] 16:56:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] did not exist. Created. 16:56:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:56:01 /w/workspace/device-sdk-go/2@tmp/durable-8608b0f1/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-8608b0f1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:56:02 + echo total: 0.10999999940395355 [Pipeline] stash 16:56:02 Warning: overwriting stash ‘stack-cost’ 16:56:02 Stashed 1 file(s) [Pipeline] } 16:56:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:56:02 $ docker stop --time=1 0bdb62865a71932d2d5042d46787a10f5a8d2efc01b0c6d307afc002759fc6b9 16:56:03 $ docker rm -f 0bdb62865a71932d2d5042d46787a10f5a8d2efc01b0c6d307afc002759fc6b9 [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 16:56:04 provisioning config files... 16:56:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config4578184209645643914tmp [Pipeline] { [Pipeline] sh 16:56:04 + set +x 16:56:04 + curl -s https://codecov.io/bash 16:56:04 + bash -s -- 16:56:05 16:56:05 _____ _ 16:56:05 / ____| | | 16:56:05 | | ___ __| | ___ ___ _____ __ 16:56:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:56:05 | |___| (_) | (_| | __/ (_| (_) \ V / 16:56:05 \_____\___/ \__,_|\___|\___\___/ \_/ 16:56:05 Bash-1.0.6 16:56:05 16:56:05 16:56:05 ==> git version 2.24.4 found 16:56:05 ==> 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 16:56:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:56:05 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:56:05 ==> Jenkins CI detected. 16:56:05 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1076 16:56:05 project root: . 16:56:05 --> token set from env 16:56:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:56:05 ==> Running gcov in . (disable via -X gcov) 16:56:05 ==> Python coveragepy not found 16:56:05 ==> Searching for coverage reports in: 16:56:05 + . 16:56:05 -> Found 1 reports 16:56:05 ==> Detecting git/mercurial file structure 16:56:05 ==> Reading reports 16:56:05 + ./coverage.out bytes=128668 16:56:05 ==> Appending adjustments 16:56:05 https://docs.codecov.io/docs/fixing-reports 16:56:05 + Found adjustments 16:56:05 ==> Gzipping contents 16:56:05 16K /tmp/codecov.lNaXjf.gz 16:56:05 ==> Uploading reports 16:56:05 url: https://codecov.io 16:56:05 query: branch=PR-1076&commit=88e700b7170d7cc1d5c316bfbdab362aa5ad8b61&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1076%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1076&job=&cmd_args= 16:56:05 -> Pinging Codecov 16:56:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1076&commit=88e700b7170d7cc1d5c316bfbdab362aa5ad8b61&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1076%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1076&job=&cmd_args= 16:56:05 -> Uploading to 16:56:05 https://storage.googleapis.com/codecov/v4/raw/2022-01-05/7E55EF52A471D76F132DFD9A03CDDE97/88e700b7170d7cc1d5c316bfbdab362aa5ad8b61/8c1a6ac8-b95b-4b1a-980b-25ea720437e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220105T165605Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32d537fe0021bafe259c2932016666d891fd29b757cecf0c950a2a5c6ccbc1bc 16:56:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:56:05 Dload Upload Total Spent Left Speed 16:56:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16365 0 0 100 16365 0 47292 --:--:-- --:--:-- --:--:-- 47297 16:56:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] } 16:56:05 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 16:56:06 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:56:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:56:07 ---> package-listing.sh 16:56:07 ++ facter osfamily 16:56:07 ++ tr '[:upper:]' '[:lower:]' 16:56:07 + OS_FAMILY=redhat 16:56:07 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1076 16:56:07 + START_PACKAGES=/tmp/packages_start.txt 16:56:07 + END_PACKAGES=/tmp/packages_end.txt 16:56:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:56:07 + PACKAGES=/tmp/packages_start.txt 16:56:07 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1076 ']' 16:56:07 + PACKAGES=/tmp/packages_end.txt 16:56:07 + case "${OS_FAMILY}" in 16:56:07 + rpm -qa 16:56:07 + sort 16:56:08 + '[' -f /tmp/packages_start.txt ']' 16:56:08 + '[' -f /tmp/packages_end.txt ']' 16:56:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:56:08 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1076 ']' 16:56:08 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives/ 16:56:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives/ [Pipeline] echo 16:56:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1076/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:56:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:56:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:08 16:56:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:56:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:09 latest: Pulling from edgex-lftools-log-publisher 16:56:09 b4d181a07f80: Pulling fs layer 16:56:09 a1111a8f2ec3: Pulling fs layer 16:56:09 ed53099fbce6: Pulling fs layer 16:56:09 dc539afda2c1: Pulling fs layer 16:56:09 77bc0d833cb6: Pulling fs layer 16:56:09 9065ff56babe: Pulling fs layer 16:56:09 d287ab97295c: Pulling fs layer 16:56:09 dc539afda2c1: Waiting 16:56:09 77bc0d833cb6: Waiting 16:56:09 9065ff56babe: Waiting 16:56:09 d287ab97295c: Waiting 16:56:09 a1111a8f2ec3: Verifying Checksum 16:56:09 a1111a8f2ec3: Download complete 16:56:09 dc539afda2c1: Verifying Checksum 16:56:09 dc539afda2c1: Download complete 16:56:09 ed53099fbce6: Verifying Checksum 16:56:09 ed53099fbce6: Download complete 16:56:09 9065ff56babe: Verifying Checksum 16:56:09 9065ff56babe: Download complete 16:56:09 77bc0d833cb6: Verifying Checksum 16:56:09 77bc0d833cb6: Download complete 16:56:09 b4d181a07f80: Verifying Checksum 16:56:09 b4d181a07f80: Download complete 16:56:09 d287ab97295c: Verifying Checksum 16:56:09 d287ab97295c: Download complete 16:56:10 b4d181a07f80: Pull complete 16:56:10 a1111a8f2ec3: Pull complete 16:56:11 ed53099fbce6: Pull complete 16:56:11 dc539afda2c1: Pull complete 16:56:11 77bc0d833cb6: Pull complete 16:56:11 9065ff56babe: Pull complete 16:56:16 d287ab97295c: Pull complete 16:56:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:56:17 prd-centos7-docker-4c-2g-795 does not seem to be running inside a container 16:56:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1076/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1076 -v /w/workspace/gexfoundry_device-sdk-go_PR-1076:/w/workspace/gexfoundry_device-sdk-go_PR-1076:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:56:19 $ docker top 2f774c2fa472773a23334d6d0aa5ea451555fb9ea9bf8501a153c82d869bdd82 -eo pid,comm [Pipeline] { [Pipeline] sh 16:56:20 + touch /tmp/pre-build-complete [Pipeline] sh 16:56:20 + mkdir -p /var/log/sysstat [Pipeline] sh 16:56:20 + ls /var/log/sa-host 16:56:20 + sadf -c /var/log/sa-host/sa05 16:56:20 file_magic: OK 16:56:20 HZ: Using current value: 100 16:56:20 file_header: OK 16:56:20 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 16:56:20 Statistics: 16:56:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:56:20 File successfully converted to sysstat format version 12.0.3 16:56:20 + sadf -c /var/log/sa-host/sa17 16:56:20 file_magic: OK 16:56:20 HZ: Using current value: 100 16:56:20 file_header: OK 16:56:20 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 16:56:20 Statistics: 16:56:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:56:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:20 provisioning config files... 16:56:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config2174361369217565106tmp [Pipeline] { [Pipeline] echo 16:56:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:56:21 ---> create-netrc.sh [Pipeline] } 16:56:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:56:21 ---> python-tools-install.sh [Pipeline] echo 16:56:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:56:21 ---> sudo-logs.sh 16:56:21 Archiving 'sudo' log.. 16:56:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-795.novalocal: Name or service not known 16:56:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-795.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 16:56:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:56:22 ---> job-cost.sh 16:56:22 lf-activate-venv: SKIPPING 16:56:22 DEBUG: total: 0.10999999940395355 16:56:22 INFO: Retrieving Stack Cost... 16:56:22 INFO: Retrieving Pricing Info for: v3-standard-2 16:56:23 INFO: Archiving Costs [Pipeline] echo 16:56:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:56:23 ---> logs-deploy.sh 16:56:23 lf-activate-venv: SKIPPING 16:56:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1076/2 16:56:23 INFO: archiving workspace using pattern(s): 16:56:23 Archives upload complete. 16:56:24 INFO: archiving logs to Nexus