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 [2022-01-05T16:47:21.198Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-05T16:47:21.260Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-05T16:47:21.279Z] ========================================================= [2022-01-05T16:47:21.279Z] EdgeX Global Pipelines Version Info [2022-01-05T16:47:21.279Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:47:22.442Z] ------------------- [2022-01-05T16:47:22.442Z] stable info: [2022-01-05T16:47:22.442Z] ------------------- [2022-01-05T16:47:22.442Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-05T16:47:22.442Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-05T16:47:22.442Z] Message: update stable to v1.0.217 [2022-01-05T16:47:23.015Z] ------------------- [2022-01-05T16:47:23.015Z] experimental info: [2022-01-05T16:47:23.015Z] ------------------- [2022-01-05T16:47:23.015Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-05T16:47:23.015Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-05T16:47:23.015Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-05T16:47:23.150Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-05T16:47:23.159Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-05T16:47:23.167Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-05T16:47:23.176Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-05T16:47:23.184Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-05T16:47:23.193Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-05T16:47:23.206Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-05T16:47:23.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-05T16:47:23.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-05T16:47:23.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-05T16:47:23.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-05T16:47:23.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-05T16:47:23.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-05T16:47:23.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-05T16:47:23.330Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-05T16:47:23.343Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T16:47:23.358Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T16:47:23.370Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T16:47:23.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-05T16:47:23.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-05T16:47:23.414Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-05T16:47:23.434Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-05T16:47:23.450Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-05T16:47:23.462Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-05T16:47:23.475Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-05T16:47:23.488Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-05T16:47:23.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1076 [Pipeline] echo [2022-01-05T16:47:23.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1076 [Pipeline] echo [2022-01-05T16:47:23.547Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1076 [Pipeline] echo [2022-01-05T16:47:23.565Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] echo [2022-01-05T16:47:23.583Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88e700b [Pipeline] echo [2022-01-05T16:47:23.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T16:47:23.651Z] provisioning config files... [2022-01-05T16:47:23.665Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config5187994484895835220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:47:23.975Z] ---> docker-login.sh [2022-01-05T16:47:23.975Z] nexus3.edgexfoundry.org:10001 [2022-01-05T16:47:23.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:47:24.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:47:24.237Z] Configure a credential helper to remove this warning. See [2022-01-05T16:47:24.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:47:24.237Z] [2022-01-05T16:47:24.237Z] Login Succeeded [2022-01-05T16:47:24.237Z] nexus3.edgexfoundry.org:10002 [2022-01-05T16:47:24.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:47:24.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:47:24.237Z] Configure a credential helper to remove this warning. See [2022-01-05T16:47:24.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:47:24.237Z] [2022-01-05T16:47:24.237Z] Login Succeeded [2022-01-05T16:47:24.237Z] nexus3.edgexfoundry.org:10003 [2022-01-05T16:47:24.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:47:24.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:47:24.499Z] Configure a credential helper to remove this warning. See [2022-01-05T16:47:24.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:47:24.499Z] [2022-01-05T16:47:24.499Z] Login Succeeded [2022-01-05T16:47:24.499Z] nexus3.edgexfoundry.org:10004 [2022-01-05T16:47:24.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:47:24.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:47:24.499Z] Configure a credential helper to remove this warning. See [2022-01-05T16:47:24.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:47:24.499Z] [2022-01-05T16:47:24.499Z] Login Succeeded [2022-01-05T16:47:24.499Z] docker.io [2022-01-05T16:47:24.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:47:25.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:47:25.079Z] Configure a credential helper to remove this warning. See [2022-01-05T16:47:25.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:47:25.079Z] [2022-01-05T16:47:25.079Z] Login Succeeded [2022-01-05T16:47:25.079Z] ---> docker-login.sh ends [Pipeline] } [2022-01-05T16:47:25.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-05T16:47:25.495Z] + git rev-list -1 --merges 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61~1..88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] echo [2022-01-05T16:47:25.531Z] -----------> git rev-list -1 --merges 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61~1..88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [false] [Pipeline] sh [2022-01-05T16:47:25.835Z] + git log --format=format:%s -1 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] echo [2022-01-05T16:47:25.857Z] ========================================================= [2022-01-05T16:47:25.857Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-05T16:47:25.857Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T16:47:26.219Z] + git log --format=format:%s -1 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] echo [2022-01-05T16:47:26.232Z] [semverPrep] GIT_COMMIT: 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo [2022-01-05T16:47:26.242Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-05T16:47:26.697Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-05T16:47:26.697Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-05T16:47:26.697Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-05T16:47:26.697Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-05T16:47:26.697Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-05T16:47:26.697Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-05T16:47:26.697Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:47:27.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T16:47:27.135Z] [2022-01-05T16:47:27.135Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:47:27.442Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T16:47:27.442Z] latest: Pulling from edgex-devops/git-semver [2022-01-05T16:47:27.442Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T16:47:27.442Z] 3e5f54012d9b: Pulling fs layer [2022-01-05T16:47:27.442Z] 4c7163046ea9: Pulling fs layer [2022-01-05T16:47:27.442Z] 0c2d73faf560: Pulling fs layer [2022-01-05T16:47:27.442Z] 0c2d73faf560: Waiting [2022-01-05T16:47:27.442Z] 3e5f54012d9b: Verifying Checksum [2022-01-05T16:47:27.442Z] 3e5f54012d9b: Download complete [2022-01-05T16:47:27.442Z] a0d0a0d46f8b: Verifying Checksum [2022-01-05T16:47:27.442Z] a0d0a0d46f8b: Download complete [2022-01-05T16:47:27.442Z] 0c2d73faf560: Verifying Checksum [2022-01-05T16:47:27.442Z] 0c2d73faf560: Download complete [2022-01-05T16:47:27.442Z] 4c7163046ea9: Verifying Checksum [2022-01-05T16:47:27.442Z] 4c7163046ea9: Download complete [2022-01-05T16:47:27.706Z] a0d0a0d46f8b: Pull complete [2022-01-05T16:47:27.706Z] 3e5f54012d9b: Pull complete [2022-01-05T16:47:27.978Z] 4c7163046ea9: Pull complete [2022-01-05T16:47:28.241Z] 0c2d73faf560: Pull complete [2022-01-05T16:47:28.241Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-05T16:47:28.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T16:47:28.241Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-05T16:47:28.308Z] prd-centos7-docker-4c-2g-795 does not seem to be running inside a container [2022-01-05T16:47:27.900Z] $ 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 [2022-01-05T16:47:28.553Z] $ docker top 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-05T16:47:29.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T16:47:29.056Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T16:47:29.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T16:47:28.799Z] $ docker exec 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 ssh-agent [2022-01-05T16:47:29.296Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFPFmbJ/agent.15 [2022-01-05T16:47:29.296Z] SSH_AGENT_PID=21 [2022-01-05T16:47:29.304Z] Running ssh-add (command line suppressed) [2022-01-05T16:47:29.027Z] 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) [2022-01-05T16:47:29.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T16:47:29.701Z] + git tag --points-at HEAD [Pipeline] } [2022-01-05T16:47:29.375Z] $ docker exec --env ******** --env ******** 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 ssh-agent -k [2022-01-05T16:47:29.469Z] unset SSH_AUTH_SOCK; [2022-01-05T16:47:29.469Z] unset SSH_AGENT_PID; [2022-01-05T16:47:29.469Z] echo Agent pid 21 killed; [2022-01-05T16:47:29.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-05T16:47:29.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T16:47:29.840Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T16:47:29.954Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T16:47:29.640Z] $ docker exec 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 ssh-agent [2022-01-05T16:47:30.055Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIOGJFp/agent.55 [2022-01-05T16:47:30.055Z] SSH_AGENT_PID=61 [2022-01-05T16:47:30.060Z] Running ssh-add (command line suppressed) [2022-01-05T16:47:29.850Z] 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) [2022-01-05T16:47:30.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T16:47:30.452Z] + git semver init [2022-01-05T16:47:30.452Z] # -> Open(): unable to determine branch for HEAD [2022-01-05T16:47:30.452Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1076/.git [2022-01-05T16:47:30.452Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1076 [2022-01-05T16:47:30.452Z] # $SEMVER_REMOTE_NAME = origin [2022-01-05T16:47:30.452Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-05T16:47:30.452Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-05T16:47:30.452Z] # $SEMVER_BRANCH = PR-1076 [2022-01-05T16:47:30.452Z] # $SEMVER_TEMP = /tmp/semver-482994216 [2022-01-05T16:47:30.452Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-05T16:47:31.403Z] # '/tmp/semver-482994216' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1076/.semver' [2022-01-05T16:47:31.403Z] # -> Force: false [2022-01-05T16:47:31.403Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1076/.semver [Pipeline] } [2022-01-05T16:47:31.217Z] $ docker exec --env ******** --env ******** 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 ssh-agent -k [2022-01-05T16:47:31.316Z] unset SSH_AUTH_SOCK; [2022-01-05T16:47:31.316Z] unset SSH_AGENT_PID; [2022-01-05T16:47:31.317Z] echo Agent pid 61 killed; [2022-01-05T16:47:31.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-05T16:47:31.835Z] + git semver [Pipeline] } [2022-01-05T16:47:31.691Z] $ docker stop --time=1 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 [2022-01-05T16:47:32.969Z] $ docker rm -f 9d7a27f0750af880f58df5f4df359308820b794c0f4b68d550aa67a601a33076 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T16:47:33.381Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-05T16:47:33.627Z] Stashed 1 file(s) [Pipeline] echo [2022-01-05T16:47:33.631Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2022-01-05T16:47:48.734Z] Still waiting to schedule task [2022-01-05T16:47:48.734Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-795’ [2022-01-05T16:47:48.738Z] Still waiting to schedule task [2022-01-05T16:47:48.738Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-05T16:49:15.911Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-796 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] ws [2022-01-05T16:49:15.927Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-01-05T16:49:16.115Z] The recommended git tool is: git [2022-01-05T16:49:20.551Z] using credential edgex-jenkins-ssh [2022-01-05T16:49:20.566Z] Cloning the remote Git repository [2022-01-05T16:49:20.609Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T16:49:20.678Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-01-05T16:49:20.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T16:49:20.761Z] > git --version # timeout=10 [2022-01-05T16:49:20.777Z] > git --version # 'git version 2.17.1' [2022-01-05T16:49:20.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T16:49:20.856Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T16:49:23.097Z] Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [2022-01-05T16:49:23.338Z] Merge succeeded, producing 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [2022-01-05T16:49:23.338Z] Checking out Revision 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 (PR-1076) [2022-01-05T16:49:22.284Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-05T16:49:22.300Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T16:49:22.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-05T16:49:22.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T16:49:22.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T16:49:22.383Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1076/head:refs/remotes/origin/PR-1076 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-05T16:49:23.112Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T16:49:23.131Z] > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 [2022-01-05T16:49:23.240Z] > git remote # timeout=10 [2022-01-05T16:49:23.258Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T16:49:23.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T16:49:23.294Z] > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 [2022-01-05T16:49:23.315Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T16:49:23.344Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T16:49:23.356Z] > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 [2022-01-05T16:49:27.466Z] 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 [2022-01-05T16:49:28.343Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-05T16:49:28.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-05T16:49:28.343Z] Dload Upload Total Spent Left Speed [2022-01-05T16:49:28.343Z] 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 [2022-01-05T16:49:28.848Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-05T16:49:29.188Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-05T16:49:29.188Z] + sudo tee /etc/docker/daemon.new [2022-01-05T16:49:29.188Z] { [2022-01-05T16:49:29.188Z] "registry-mirrors": [ [2022-01-05T16:49:29.188Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-05T16:49:29.188Z] ], [2022-01-05T16:49:29.188Z] "bip": "10.250.0.254/24", [2022-01-05T16:49:29.188Z] "hosts": [ [2022-01-05T16:49:29.188Z] "tcp://0.0.0.0:5555", [2022-01-05T16:49:29.188Z] "unix:///var/run/docker.sock" [2022-01-05T16:49:29.188Z] ], [2022-01-05T16:49:29.188Z] "mtu": 1458, [2022-01-05T16:49:29.188Z] "selinux-enabled": true, [2022-01-05T16:49:29.188Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-05T16:49:29.188Z] } [Pipeline] sh [2022-01-05T16:49:29.556Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-05T16:49:29.895Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T16:49:48.207Z] provisioning config files... [2022-01-05T16:49:48.227Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4198753840408355495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:49:48.577Z] ---> docker-login.sh [2022-01-05T16:49:48.577Z] nexus3.edgexfoundry.org:10001 [2022-01-05T16:49:49.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:49:49.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:49:49.442Z] Configure a credential helper to remove this warning. See [2022-01-05T16:49:49.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:49:49.442Z] [2022-01-05T16:49:49.442Z] Login Succeeded [2022-01-05T16:49:49.442Z] nexus3.edgexfoundry.org:10002 [2022-01-05T16:49:49.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:49:49.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:49:49.715Z] Configure a credential helper to remove this warning. See [2022-01-05T16:49:49.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:49:49.715Z] [2022-01-05T16:49:49.715Z] Login Succeeded [2022-01-05T16:49:49.715Z] nexus3.edgexfoundry.org:10003 [2022-01-05T16:49:49.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:49:49.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:49:49.989Z] Configure a credential helper to remove this warning. See [2022-01-05T16:49:49.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:49:49.989Z] [2022-01-05T16:49:49.989Z] Login Succeeded [2022-01-05T16:49:49.989Z] nexus3.edgexfoundry.org:10004 [2022-01-05T16:49:50.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:49:50.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:49:50.541Z] Configure a credential helper to remove this warning. See [2022-01-05T16:49:50.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:49:50.541Z] [2022-01-05T16:49:50.541Z] Login Succeeded [2022-01-05T16:49:50.541Z] docker.io [2022-01-05T16:49:50.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:49:51.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:49:51.081Z] Configure a credential helper to remove this warning. See [2022-01-05T16:49:51.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:49:51.081Z] [2022-01-05T16:49:51.081Z] Login Succeeded [2022-01-05T16:49:51.081Z] ---> docker-login.sh ends [Pipeline] } [2022-01-05T16:49:51.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-05T16:49:51.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T16:49:51.566Z] ========================================================= [2022-01-05T16:49:51.566Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-05T16:49:51.566Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:49:51.949Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-05T16:49:52.573Z] Sending build context to Docker daemon 5.05MB [2022-01-05T16:49:52.573Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-05T16:49:52.573Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-05T16:49:52.573Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-05T16:49:52.573Z] 552d1f2373af: Pulling fs layer [2022-01-05T16:49:52.573Z] ea3f2d53f512: Pulling fs layer [2022-01-05T16:49:52.573Z] 9e70ebbbe112: Pulling fs layer [2022-01-05T16:49:52.573Z] 7a9cfe048b4a: Pulling fs layer [2022-01-05T16:49:52.573Z] 72dc09318566: Pulling fs layer [2022-01-05T16:49:52.573Z] f4f7b4309257: Pulling fs layer [2022-01-05T16:49:52.573Z] 0ac9a79272e3: Pulling fs layer [2022-01-05T16:49:52.573Z] b78e95d17946: Pulling fs layer [2022-01-05T16:49:52.573Z] f4f7b4309257: Waiting [2022-01-05T16:49:52.573Z] b78e95d17946: Waiting [2022-01-05T16:49:52.573Z] 0ac9a79272e3: Waiting [2022-01-05T16:49:52.573Z] 72dc09318566: Waiting [2022-01-05T16:49:52.573Z] 7a9cfe048b4a: Waiting [2022-01-05T16:49:52.573Z] 9e70ebbbe112: Verifying Checksum [2022-01-05T16:49:52.573Z] 9e70ebbbe112: Download complete [2022-01-05T16:49:52.573Z] ea3f2d53f512: Verifying Checksum [2022-01-05T16:49:52.573Z] ea3f2d53f512: Download complete [2022-01-05T16:49:52.573Z] 72dc09318566: Verifying Checksum [2022-01-05T16:49:52.573Z] 72dc09318566: Download complete [2022-01-05T16:49:52.573Z] f4f7b4309257: Download complete [2022-01-05T16:49:52.850Z] 552d1f2373af: Verifying Checksum [2022-01-05T16:49:52.850Z] 552d1f2373af: Download complete [2022-01-05T16:49:52.850Z] 0ac9a79272e3: Verifying Checksum [2022-01-05T16:49:52.850Z] 0ac9a79272e3: Download complete [2022-01-05T16:49:53.455Z] 552d1f2373af: Pull complete [2022-01-05T16:49:54.057Z] ea3f2d53f512: Pull complete [2022-01-05T16:49:54.336Z] 9e70ebbbe112: Pull complete [2022-01-05T16:49:54.612Z] b78e95d17946: Verifying Checksum [2022-01-05T16:49:54.612Z] b78e95d17946: Download complete [2022-01-05T16:49:54.888Z] 7a9cfe048b4a: Verifying Checksum [2022-01-05T16:49:54.888Z] 7a9cfe048b4a: Download complete [2022-01-05T16:50:03.261Z] Running on prd-centos7-docker-4c-2g-797 in /w/workspace/gexfoundry_device-sdk-go_PR-1076 [Pipeline] { [Pipeline] ws [2022-01-05T16:50:03.277Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-01-05T16:50:03.376Z] The recommended git tool is: git [2022-01-05T16:50:04.979Z] using credential edgex-jenkins-ssh [2022-01-05T16:50:04.992Z] Cloning the remote Git repository [2022-01-05T16:50:04.242Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T16:50:04.276Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-01-05T16:50:04.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T16:50:04.344Z] > git --version # timeout=10 [2022-01-05T16:50:04.352Z] > git --version # 'git version 2.24.4' [2022-01-05T16:50:04.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T16:50:04.370Z] [INFO] Currently running in a labeled security context [2022-01-05T16:50:04.370Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T16:50:04.370Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4831349945848696660.key [2022-01-05T16:50:04.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T16:50:05.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-05T16:50:05.483Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T16:50:05.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-05T16:50:05.508Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-05T16:50:05.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T16:50:05.509Z] [INFO] Currently running in a labeled security context [2022-01-05T16:50:05.509Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T16:50:05.509Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3020283410497064872.key [2022-01-05T16:50:05.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1076/head:refs/remotes/origin/PR-1076 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-05T16:50:06.845Z] Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [2022-01-05T16:50:06.965Z] Merge succeeded, producing 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [2022-01-05T16:50:06.965Z] Checking out Revision 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 (PR-1076) [2022-01-05T16:50:07.475Z] 7a9cfe048b4a: Pull complete [2022-01-05T16:50:07.475Z] 72dc09318566: Pull complete [2022-01-05T16:50:07.475Z] f4f7b4309257: Pull complete [2022-01-05T16:50:07.475Z] 0ac9a79272e3: Pull complete [2022-01-05T16:50:06.086Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T16:50:06.102Z] > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 [2022-01-05T16:50:06.148Z] > git remote # timeout=10 [2022-01-05T16:50:06.158Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T16:50:06.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T16:50:06.170Z] [INFO] Currently running in a labeled security context [2022-01-05T16:50:06.170Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T16:50:06.170Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1493516988480982980.key [2022-01-05T16:50:06.179Z] > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 [2022-01-05T16:50:06.189Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T16:50:06.200Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T16:50:06.220Z] > git checkout -f 88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 # timeout=10 [2022-01-05T16:50:10.568Z] 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 [2022-01-05T16:50:10.927Z] provisioning config files... [2022-01-05T16:50:10.942Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5829212630302704890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:50:11.328Z] ---> docker-login.sh [2022-01-05T16:50:11.328Z] nexus3.edgexfoundry.org:10001 [2022-01-05T16:50:11.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:50:11.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:50:11.328Z] Configure a credential helper to remove this warning. See [2022-01-05T16:50:11.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:50:11.328Z] [2022-01-05T16:50:11.328Z] Login Succeeded [2022-01-05T16:50:11.328Z] nexus3.edgexfoundry.org:10002 [2022-01-05T16:50:11.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:50:11.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:50:11.591Z] Configure a credential helper to remove this warning. See [2022-01-05T16:50:11.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:50:11.591Z] [2022-01-05T16:50:11.591Z] Login Succeeded [2022-01-05T16:50:11.591Z] nexus3.edgexfoundry.org:10003 [2022-01-05T16:50:11.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:50:11.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:50:11.591Z] Configure a credential helper to remove this warning. See [2022-01-05T16:50:11.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:50:11.591Z] [2022-01-05T16:50:11.591Z] Login Succeeded [2022-01-05T16:50:11.591Z] nexus3.edgexfoundry.org:10004 [2022-01-05T16:50:11.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:50:11.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:50:11.852Z] Configure a credential helper to remove this warning. See [2022-01-05T16:50:11.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:50:11.852Z] [2022-01-05T16:50:11.852Z] Login Succeeded [2022-01-05T16:50:11.852Z] docker.io [2022-01-05T16:50:11.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-05T16:50:12.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-05T16:50:12.119Z] Configure a credential helper to remove this warning. See [2022-01-05T16:50:12.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-05T16:50:12.119Z] [2022-01-05T16:50:12.119Z] Login Succeeded [2022-01-05T16:50:12.119Z] ---> docker-login.sh ends [Pipeline] } [2022-01-05T16:50:12.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-05T16:50:12.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T16:50:12.353Z] ========================================================= [2022-01-05T16:50:12.353Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-05T16:50:12.353Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:50:12.666Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-05T16:50:12.666Z] Sending build context to Docker daemon 5.058MB [2022-01-05T16:50:12.666Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-05T16:50:12.666Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-05T16:50:12.666Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-05T16:50:12.666Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T16:50:12.666Z] 31adcdaf11c8: Pulling fs layer [2022-01-05T16:50:12.666Z] b8b176561691: Pulling fs layer [2022-01-05T16:50:12.666Z] 4527c011a84f: Pulling fs layer [2022-01-05T16:50:12.666Z] 5d74067f8e1e: Pulling fs layer [2022-01-05T16:50:12.666Z] e0aca202a116: Pulling fs layer [2022-01-05T16:50:12.666Z] 3a43be97a3b4: Pulling fs layer [2022-01-05T16:50:12.666Z] 34cad66bf833: Pulling fs layer [2022-01-05T16:50:12.666Z] b4e3c513aaa6: Pulling fs layer [2022-01-05T16:50:12.666Z] 5d74067f8e1e: Waiting [2022-01-05T16:50:12.666Z] e0aca202a116: Waiting [2022-01-05T16:50:12.666Z] 3a43be97a3b4: Waiting [2022-01-05T16:50:12.666Z] 34cad66bf833: Waiting [2022-01-05T16:50:12.666Z] b4e3c513aaa6: Waiting [2022-01-05T16:50:12.666Z] 4527c011a84f: Waiting [2022-01-05T16:50:12.666Z] b8b176561691: Verifying Checksum [2022-01-05T16:50:12.666Z] b8b176561691: Download complete [2022-01-05T16:50:12.666Z] 31adcdaf11c8: Verifying Checksum [2022-01-05T16:50:12.666Z] 31adcdaf11c8: Download complete [2022-01-05T16:50:12.879Z] b78e95d17946: Pull complete [2022-01-05T16:50:12.879Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-05T16:50:12.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T16:50:12.879Z] ---> 8b459fc5aaf0 [2022-01-05T16:50:12.879Z] Step 3/10 : ARG MAKE=make build [2022-01-05T16:50:12.930Z] 5d74067f8e1e: Verifying Checksum [2022-01-05T16:50:12.930Z] 5d74067f8e1e: Download complete [2022-01-05T16:50:12.930Z] a0d0a0d46f8b: Download complete [2022-01-05T16:50:12.930Z] e0aca202a116: Verifying Checksum [2022-01-05T16:50:12.930Z] e0aca202a116: Download complete [2022-01-05T16:50:12.930Z] 3a43be97a3b4: Verifying Checksum [2022-01-05T16:50:12.930Z] 3a43be97a3b4: Download complete [2022-01-05T16:50:12.930Z] 34cad66bf833: Verifying Checksum [2022-01-05T16:50:12.930Z] 34cad66bf833: Download complete [2022-01-05T16:50:12.930Z] a0d0a0d46f8b: Pull complete [2022-01-05T16:50:13.509Z] 31adcdaf11c8: Pull complete [2022-01-05T16:50:13.509Z] b4e3c513aaa6: Verifying Checksum [2022-01-05T16:50:13.509Z] b4e3c513aaa6: Download complete [2022-01-05T16:50:13.509Z] 4527c011a84f: Verifying Checksum [2022-01-05T16:50:13.509Z] 4527c011a84f: Download complete [2022-01-05T16:50:13.509Z] b8b176561691: Pull complete [2022-01-05T16:50:13.857Z] ---> Running in c93179280f46 [2022-01-05T16:50:14.134Z] Removing intermediate container c93179280f46 [2022-01-05T16:50:14.134Z] ---> 15e78ca01928 [2022-01-05T16:50:14.134Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-05T16:50:14.134Z] ---> Running in 433ee1fbdf8f [2022-01-05T16:50:14.410Z] Removing intermediate container 433ee1fbdf8f [2022-01-05T16:50:14.410Z] ---> 11e90bb053ac [2022-01-05T16:50:14.410Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T16:50:14.685Z] ---> Running in c49368f5f130 [2022-01-05T16:50:14.955Z] Removing intermediate container c49368f5f130 [2022-01-05T16:50:14.955Z] ---> 574fee0e2bae [2022-01-05T16:50:14.955Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T16:50:14.955Z] ---> Running in 5c8b4499661b [2022-01-05T16:50:16.924Z] Removing intermediate container 5c8b4499661b [2022-01-05T16:50:16.924Z] ---> abb9a0be874f [2022-01-05T16:50:16.924Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-05T16:50:16.924Z] ---> Running in 9ca35c79c6f9 [2022-01-05T16:50:17.737Z] 4527c011a84f: Pull complete [2022-01-05T16:50:17.737Z] 5d74067f8e1e: Pull complete [2022-01-05T16:50:17.737Z] e0aca202a116: Pull complete [2022-01-05T16:50:17.737Z] 3a43be97a3b4: Pull complete [2022-01-05T16:50:17.737Z] 34cad66bf833: Pull complete [2022-01-05T16:50:17.901Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-05T16:50:18.871Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-05T16:50:19.463Z] OK: 219 MiB in 52 packages [2022-01-05T16:50:20.335Z] b4e3c513aaa6: Pull complete [2022-01-05T16:50:20.335Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-05T16:50:20.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T16:50:20.335Z] ---> 9f6097aaca64 [2022-01-05T16:50:20.335Z] Step 3/10 : ARG MAKE=make build [2022-01-05T16:50:20.435Z] Removing intermediate container 9ca35c79c6f9 [2022-01-05T16:50:20.435Z] ---> 9cd21473b729 [2022-01-05T16:50:20.435Z] Step 8/10 : COPY . . [2022-01-05T16:50:21.406Z] ---> 3485376e4688 [2022-01-05T16:50:21.406Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-05T16:50:21.677Z] ---> Running in e6e41e1b5230 [2022-01-05T16:50:21.730Z] ---> Running in 477c8573b493 [2022-01-05T16:50:21.999Z] Removing intermediate container 477c8573b493 [2022-01-05T16:50:21.999Z] ---> 96d298b688f9 [2022-01-05T16:50:21.999Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-05T16:50:21.999Z] ---> Running in 126dc3378b38 [2022-01-05T16:50:21.999Z] Removing intermediate container 126dc3378b38 [2022-01-05T16:50:21.999Z] ---> 12b272d2a0df [2022-01-05T16:50:21.999Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T16:50:21.999Z] ---> Running in dae37299b648 [2022-01-05T16:50:21.999Z] Removing intermediate container dae37299b648 [2022-01-05T16:50:21.999Z] ---> 6d1763b20b8f [2022-01-05T16:50:21.999Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T16:50:21.999Z] ---> Running in e51c050951c5 [2022-01-05T16:50:22.578Z] Removing intermediate container e51c050951c5 [2022-01-05T16:50:22.578Z] ---> 22351211c38d [2022-01-05T16:50:22.578Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-05T16:50:22.578Z] ---> Running in 4664fb309d95 [2022-01-05T16:50:22.841Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-05T16:50:23.785Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-05T16:50:24.050Z] OK: 220 MiB in 52 packages [2022-01-05T16:50:24.311Z] Removing intermediate container 4664fb309d95 [2022-01-05T16:50:24.311Z] ---> fd67094f91e9 [2022-01-05T16:50:24.311Z] Step 8/10 : COPY . . [2022-01-05T16:50:24.574Z] ---> b88c6c54ca46 [2022-01-05T16:50:24.574Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-05T16:50:24.574Z] ---> Running in e181708719b6 [2022-01-05T16:50:56.975Z] Removing intermediate container e181708719b6 [2022-01-05T16:50:56.975Z] ---> 85390d03e703 [2022-01-05T16:50:56.975Z] Step 10/10 : RUN ${MAKE} [2022-01-05T16:50:56.975Z] ---> Running in b5c31173321a [2022-01-05T16:50:56.975Z] noop [2022-01-05T16:50:56.975Z] Removing intermediate container b5c31173321a [2022-01-05T16:50:56.975Z] ---> 1dab38f30a1a [2022-01-05T16:50:56.975Z] Successfully built 1dab38f30a1a [2022-01-05T16:50:56.975Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:50:57.284Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T16:50:57.284Z] . [Pipeline] withDockerContainer [2022-01-05T16:50:57.350Z] prd-centos7-docker-4c-2g-797 does not seem to be running inside a container [2022-01-05T16:50:57.388Z] $ 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 [2022-01-05T16:50:57.763Z] $ docker top e31202d295df651af02b39bbe27a0a2498e4780b88b31714096c48087bc8ad75 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T16:50:58.165Z] + go version [2022-01-05T16:50:58.165Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-05T16:50:58.177Z] $ docker stop --time=1 e31202d295df651af02b39bbe27a0a2498e4780b88b31714096c48087bc8ad75 [2022-01-05T16:50:59.353Z] $ docker rm -f e31202d295df651af02b39bbe27a0a2498e4780b88b31714096c48087bc8ad75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:50:59.753Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T16:50:59.753Z] . [Pipeline] withDockerContainer [2022-01-05T16:50:59.824Z] prd-centos7-docker-4c-2g-797 does not seem to be running inside a container [2022-01-05T16:50:59.861Z] $ 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 [2022-01-05T16:51:00.206Z] $ docker top de34c54b60f837e2cbf1d7e0385b6950fd79a3db43190aa960e165d4efc60e5c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-05T16:51:00.587Z] + make test [2022-01-05T16:51:00.587Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-05T16:51:05.925Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-05T16:51:27.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-05T16:51:27.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-05T16:51:27.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-05T16:51:30.553Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.3% of statements [2022-01-05T16:51:30.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-05T16:51:30.553Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 27.6% of statements [2022-01-05T16:51:30.825Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-01-05T16:51:31.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 9.0% of statements [2022-01-05T16:51:31.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-05T16:51:31.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-05T16:51:31.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-05T16:51:31.683Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2022-01-05T16:51:31.683Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-05T16:51:32.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.044s coverage: 86.1% of statements [2022-01-05T16:51:32.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-05T16:51:32.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-05T16:51:32.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.4% of statements [2022-01-05T16:51:34.025Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.836s coverage: 89.2% of statements [2022-01-05T16:51:34.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-05T16:51:34.025Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 4.8% of statements [2022-01-05T16:51:34.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-05T16:51:43.430Z] Removing intermediate container e6e41e1b5230 [2022-01-05T16:51:43.430Z] ---> 6589da6137e5 [2022-01-05T16:51:43.430Z] Step 10/10 : RUN ${MAKE} [2022-01-05T16:51:43.430Z] ---> Running in 4ed9b6c57c2b [2022-01-05T16:51:43.430Z] noop [2022-01-05T16:51:43.430Z] Removing intermediate container 4ed9b6c57c2b [2022-01-05T16:51:43.430Z] ---> 9f7e7e97f180 [2022-01-05T16:51:43.430Z] Successfully built 9f7e7e97f180 [2022-01-05T16:51:43.430Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:51:43.769Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T16:51:43.769Z] . [Pipeline] withDockerContainer [2022-01-05T16:51:43.967Z] prd-ubuntu18.04-docker-arm64-4c-16g-796 does not seem to be running inside a container [2022-01-05T16:51:44.048Z] $ 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 [2022-01-05T16:51:45.298Z] $ docker top 8204717f8fe171301a45f843382fa0dc87f938d35de801f54f7f7a4ee691f828 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T16:51:46.171Z] + go version [2022-01-05T16:51:46.171Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-05T16:51:46.201Z] $ docker stop --time=1 8204717f8fe171301a45f843382fa0dc87f938d35de801f54f7f7a4ee691f828 [2022-01-05T16:51:47.791Z] $ docker rm -f 8204717f8fe171301a45f843382fa0dc87f938d35de801f54f7f7a4ee691f828 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:51:48.388Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T16:51:48.388Z] . [Pipeline] withDockerContainer [2022-01-05T16:51:48.609Z] prd-ubuntu18.04-docker-arm64-4c-16g-796 does not seem to be running inside a container [2022-01-05T16:51:48.694Z] $ 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 [2022-01-05T16:51:50.001Z] $ docker top cf506f574e273f16a40aa99ff4d9e846c99210a90c3753c5a35275108fd5b4e9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-05T16:51:50.890Z] + make test [2022-01-05T16:51:50.890Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-05T16:51:56.099Z] GO111MODULE=on go vet ./... [2022-01-05T16:52:04.278Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T16:52:04.278Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-05T16:52:04.278Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-05T16:52:04.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-05T16:52:04.308Z] $ docker stop --time=1 de34c54b60f837e2cbf1d7e0385b6950fd79a3db43190aa960e165d4efc60e5c [2022-01-05T16:52:05.874Z] $ docker rm -f de34c54b60f837e2cbf1d7e0385b6950fd79a3db43190aa960e165d4efc60e5c [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T16:52:06.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-05T16:52:06.587Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-05T16:52:07.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-05T16:52:08.012Z] + ls -al . [2022-01-05T16:52:08.012Z] total 272 [2022-01-05T16:52:08.012Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 5 16:52 . [2022-01-05T16:52:08.012Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 5 16:50 .. [2022-01-05T16:52:08.012Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 5 16:50 bin [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 5 16:50 CHANGELOG.md [2022-01-05T16:52:08.012Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 5 16:51 coverage.out [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 5 16:50 .dockerignore [2022-01-05T16:52:08.012Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 5 16:50 example [2022-01-05T16:52:08.012Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 5 16:50 .git [2022-01-05T16:52:08.012Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 5 16:50 .github [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 5 16:50 .gitignore [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 5 16:50 .golangci.yml [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 5 16:50 go.mod [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 49492 Jan 5 16:50 go.sum [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 5 16:50 GOVERNANCE.md [2022-01-05T16:52:08.012Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 5 16:50 internal [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 5 16:50 Jenkinsfile [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 5 16:50 LICENSE [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 1590 Jan 5 16:50 Makefile [2022-01-05T16:52:08.012Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 5 16:50 openapi [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 5 16:50 OWNERS.md [2022-01-05T16:52:08.012Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 5 16:50 pkg [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 5 16:50 README.md [2022-01-05T16:52:08.012Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 5 16:50 snap [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 5 16:47 VERSION [2022-01-05T16:52:08.012Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 5 16:50 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:52:08.324Z] + 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 . [2022-01-05T16:52:08.324Z] Sending build context to Docker daemon 5.188MB [2022-01-05T16:52:08.324Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-05T16:52:08.324Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-05T16:52:08.324Z] ---> 1dab38f30a1a [2022-01-05T16:52:08.324Z] Step 3/24 : ARG MAKE=make build [2022-01-05T16:52:08.585Z] ---> Running in 53f664c9a27f [2022-01-05T16:52:08.585Z] Removing intermediate container 53f664c9a27f [2022-01-05T16:52:08.585Z] ---> 1e7156c9a1e3 [2022-01-05T16:52:08.585Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-05T16:52:08.585Z] ---> Running in 56051c5cec2f [2022-01-05T16:52:08.585Z] Removing intermediate container 56051c5cec2f [2022-01-05T16:52:08.585Z] ---> 09e6ceaa0a5d [2022-01-05T16:52:08.585Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T16:52:08.847Z] ---> Running in 827a349aaf9e [2022-01-05T16:52:08.847Z] Removing intermediate container 827a349aaf9e [2022-01-05T16:52:08.847Z] ---> d517738150ec [2022-01-05T16:52:08.847Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T16:52:08.847Z] ---> Running in 279af71c705f [2022-01-05T16:52:09.793Z] Removing intermediate container 279af71c705f [2022-01-05T16:52:09.793Z] ---> 7b10c918e3be [2022-01-05T16:52:09.793Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-05T16:52:10.059Z] ---> Running in 8e6247b53a0f [2022-01-05T16:52:10.321Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-05T16:52:11.262Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-05T16:52:11.534Z] OK: 220 MiB in 52 packages [2022-01-05T16:52:11.798Z] Removing intermediate container 8e6247b53a0f [2022-01-05T16:52:11.798Z] ---> 3b3fe5b4f98f [2022-01-05T16:52:11.798Z] Step 8/24 : COPY . . [2022-01-05T16:52:12.375Z] ---> 17bda64eeac5 [2022-01-05T16:52:12.375Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-05T16:52:12.375Z] ---> Running in eac700cbe5ca [2022-01-05T16:52:12.945Z] Removing intermediate container eac700cbe5ca [2022-01-05T16:52:12.945Z] ---> 20f15e2baa23 [2022-01-05T16:52:12.945Z] Step 10/24 : RUN ${MAKE} [2022-01-05T16:52:12.945Z] ---> Running in a1165f52de4c [2022-01-05T16:52:13.209Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-05T16:52:17.680Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-05T16:52:23.340Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-05T16:52:24.726Z] Removing intermediate container a1165f52de4c [2022-01-05T16:52:24.726Z] ---> ba024d450321 [2022-01-05T16:52:24.726Z] Step 11/24 : FROM alpine:3.14 [2022-01-05T16:52:25.296Z] 3.14: Pulling from library/alpine [2022-01-05T16:52:25.296Z] 97518928ae5f: Pulling fs layer [2022-01-05T16:52:25.558Z] 97518928ae5f: Verifying Checksum [2022-01-05T16:52:25.558Z] 97518928ae5f: Download complete [2022-01-05T16:52:25.832Z] 97518928ae5f: Pull complete [2022-01-05T16:52:25.832Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-05T16:52:25.832Z] Status: Downloaded newer image for alpine:3.14 [2022-01-05T16:52:25.832Z] ---> 0a97eee8041e [2022-01-05T16:52:25.832Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T16:52:25.832Z] ---> Running in ae4c3d7918cd [2022-01-05T16:52:25.832Z] Removing intermediate container ae4c3d7918cd [2022-01-05T16:52:25.832Z] ---> 37027cb1e814 [2022-01-05T16:52:25.832Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T16:52:25.832Z] ---> Running in d01c51d35681 [2022-01-05T16:52:26.407Z] Removing intermediate container d01c51d35681 [2022-01-05T16:52:26.407Z] ---> 1a934cf9d9e3 [2022-01-05T16:52:26.407Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-05T16:52:26.407Z] ---> Running in 7da39f6179ff [2022-01-05T16:52:26.668Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-05T16:52:27.611Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-05T16:52:27.871Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-05T16:52:27.871Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-05T16:52:28.133Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-05T16:52:28.133Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-05T16:52:28.133Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-05T16:52:28.396Z] Executing busybox-1.33.1-r6.trigger [2022-01-05T16:52:28.396Z] OK: 8 MiB in 19 packages [2022-01-05T16:52:28.659Z] Removing intermediate container 7da39f6179ff [2022-01-05T16:52:28.659Z] ---> 248f4e4f3c53 [2022-01-05T16:52:28.659Z] Step 15/24 : WORKDIR / [2022-01-05T16:52:28.659Z] ---> Running in 518f02e72657 [2022-01-05T16:52:28.659Z] Removing intermediate container 518f02e72657 [2022-01-05T16:52:28.659Z] ---> 4200d11be7c5 [2022-01-05T16:52:28.659Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-05T16:52:28.923Z] ---> f76480b73bd5 [2022-01-05T16:52:28.923Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-05T16:52:29.188Z] ---> f9e390a1734e [2022-01-05T16:52:29.188Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-05T16:52:29.451Z] ---> 8d4dcdf23081 [2022-01-05T16:52:29.451Z] Step 19/24 : EXPOSE 59999 [2022-01-05T16:52:29.451Z] ---> Running in 164a05dd9794 [2022-01-05T16:52:29.451Z] Removing intermediate container 164a05dd9794 [2022-01-05T16:52:29.451Z] ---> d24ac1379191 [2022-01-05T16:52:29.451Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-05T16:52:29.451Z] ---> Running in e84fbf5d134e [2022-01-05T16:52:29.715Z] Removing intermediate container e84fbf5d134e [2022-01-05T16:52:29.715Z] ---> 81527b7c8293 [2022-01-05T16:52:29.715Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-05T16:52:29.715Z] ---> Running in 174268f1f7a8 [2022-01-05T16:52:29.715Z] Removing intermediate container 174268f1f7a8 [2022-01-05T16:52:29.715Z] ---> 780ec7027446 [2022-01-05T16:52:29.715Z] Step 22/24 : LABEL arch=amd64 [2022-01-05T16:52:29.715Z] ---> Running in bd96c754b4db [2022-01-05T16:52:29.715Z] Removing intermediate container bd96c754b4db [2022-01-05T16:52:29.715Z] ---> f14291cc6f3e [2022-01-05T16:52:29.715Z] Step 23/24 : LABEL git_sha=88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [2022-01-05T16:52:29.715Z] ---> Running in 700ce56cdb66 [2022-01-05T16:52:29.977Z] Removing intermediate container 700ce56cdb66 [2022-01-05T16:52:29.977Z] ---> 4b299b894951 [2022-01-05T16:52:29.977Z] Step 24/24 : LABEL version=0.0.0 [2022-01-05T16:52:29.977Z] ---> Running in 47f730edc97e [2022-01-05T16:52:29.977Z] Removing intermediate container 47f730edc97e [2022-01-05T16:52:29.977Z] ---> 57e944b380b9 [2022-01-05T16:52:29.977Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-05T16:52:29.977Z] Successfully built 57e944b380b9 [2022-01-05T16:52:29.977Z] 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 [2022-01-05T16:52:30.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T16:52:30.384Z] [2022-01-05T16:52:30.384Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:52:30.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T16:52:30.694Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T16:52:30.694Z] b4d181a07f80: Pulling fs layer [2022-01-05T16:52:30.694Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T16:52:30.694Z] ed53099fbce6: Pulling fs layer [2022-01-05T16:52:30.694Z] dc539afda2c1: Pulling fs layer [2022-01-05T16:52:30.694Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T16:52:30.694Z] 9065ff56babe: Pulling fs layer [2022-01-05T16:52:30.694Z] d287ab97295c: Pulling fs layer [2022-01-05T16:52:30.694Z] dc539afda2c1: Waiting [2022-01-05T16:52:30.694Z] 77bc0d833cb6: Waiting [2022-01-05T16:52:30.694Z] 9065ff56babe: Waiting [2022-01-05T16:52:30.694Z] d287ab97295c: Waiting [2022-01-05T16:52:30.694Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T16:52:30.694Z] a1111a8f2ec3: Download complete [2022-01-05T16:52:30.694Z] dc539afda2c1: Verifying Checksum [2022-01-05T16:52:30.694Z] dc539afda2c1: Download complete [2022-01-05T16:52:30.694Z] ed53099fbce6: Verifying Checksum [2022-01-05T16:52:30.694Z] ed53099fbce6: Download complete [2022-01-05T16:52:30.694Z] 9065ff56babe: Verifying Checksum [2022-01-05T16:52:30.694Z] 9065ff56babe: Download complete [2022-01-05T16:52:30.694Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T16:52:30.694Z] 77bc0d833cb6: Download complete [2022-01-05T16:52:30.968Z] b4d181a07f80: Verifying Checksum [2022-01-05T16:52:30.968Z] b4d181a07f80: Download complete [2022-01-05T16:52:31.551Z] d287ab97295c: Verifying Checksum [2022-01-05T16:52:31.551Z] d287ab97295c: Download complete [2022-01-05T16:52:32.513Z] b4d181a07f80: Pull complete [2022-01-05T16:52:32.513Z] a1111a8f2ec3: Pull complete [2022-01-05T16:52:33.087Z] ed53099fbce6: Pull complete [2022-01-05T16:52:33.087Z] dc539afda2c1: Pull complete [2022-01-05T16:52:33.350Z] 77bc0d833cb6: Pull complete [2022-01-05T16:52:33.350Z] 9065ff56babe: Pull complete [2022-01-05T16:52:38.667Z] d287ab97295c: Pull complete [2022-01-05T16:52:38.667Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T16:52:38.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T16:52:38.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T16:52:38.738Z] prd-centos7-docker-4c-2g-797 does not seem to be running inside a container [2022-01-05T16:52:38.789Z] $ 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 [2022-01-05T16:52:41.666Z] $ docker top b6e26f5e92a4185ed06d2a5651e91cb6213e7f3e5b0a53c41327744191fc37d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:52:42.162Z] ---> job-cost.sh [2022-01-05T16:52:42.162Z] lf-activate-venv: SKIPPING [2022-01-05T16:52:42.162Z] INFO: No Stack... [2022-01-05T16:52:42.425Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T16:52:42.686Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T16:52:42.985Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-01-05T16:52:42.985Z] + cut -d, -f6 [Pipeline] lock [2022-01-05T16:52:43.020Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [2022-01-05T16:52:43.028Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] did not exist. Created. [2022-01-05T16:52:43.028Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T16:52:43.340Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-05T16:52:43.386Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T16:52:43.393Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T16:52:43.414Z] $ docker stop --time=1 b6e26f5e92a4185ed06d2a5651e91cb6213e7f3e5b0a53c41327744191fc37d0 [2022-01-05T16:52:44.559Z] $ 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] } [2022-01-05T16:53:25.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-05T16:53:25.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-05T16:53:25.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-05T16:53:26.299Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.301s coverage: 23.3% of statements [2022-01-05T16:53:26.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-05T16:53:26.299Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.208s coverage: 27.6% of statements [2022-01-05T16:53:26.299Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.259s coverage: 78.9% of statements [2022-01-05T16:53:26.299Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.201s coverage: 9.0% of statements [2022-01-05T16:53:26.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-05T16:53:26.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-05T16:53:26.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-05T16:53:27.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.397s coverage: 28.7% of statements [2022-01-05T16:53:27.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-05T16:53:30.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.233s coverage: 86.1% of statements [2022-01-05T16:53:30.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-05T16:53:30.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-05T16:53:30.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.473s coverage: 57.4% of statements [2022-01-05T16:53:32.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.210s coverage: 89.2% of statements [2022-01-05T16:53:32.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-05T16:53:32.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 4.8% of statements [2022-01-05T16:53:32.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-05T16:53:32.391Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-05T16:53:32.391Z] GO111MODULE=on go vet ./... [2022-01-05T16:54:28.944Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T16:54:28.944Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-05T16:54:28.944Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-05T16:54:29.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-05T16:54:29.264Z] $ docker stop --time=1 cf506f574e273f16a40aa99ff4d9e846c99210a90c3753c5a35275108fd5b4e9 [2022-01-05T16:54:31.099Z] $ docker rm -f cf506f574e273f16a40aa99ff4d9e846c99210a90c3753c5a35275108fd5b4e9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T16:54:32.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-05T16:54:32.197Z] Warning: overwriting stash ‘coverage-report’ [2022-01-05T16:54:32.737Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T16:54:33.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-05T16:54:33.440Z] + ls -al . [2022-01-05T16:54:33.440Z] total 308 [2022-01-05T16:54:33.440Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 16:54 . [2022-01-05T16:54:33.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 16:49 .. [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 5 16:49 .dockerignore [2022-01-05T16:54:33.440Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 16:49 .git [2022-01-05T16:54:33.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 16:49 .github [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 5 16:49 .gitignore [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 5 16:49 .golangci.yml [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 5 16:49 CHANGELOG.md [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 16:49 GOVERNANCE.md [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 5 16:49 Jenkinsfile [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 5 16:49 LICENSE [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 1590 Jan 5 16:49 Makefile [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 5 16:49 OWNERS.md [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 5 16:49 README.md [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 16:47 VERSION [2022-01-05T16:54:33.440Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 16:49 bin [2022-01-05T16:54:33.440Z] -rw-r--r-- 1 jenkins jenkins 128668 Jan 5 16:53 coverage.out [2022-01-05T16:54:33.440Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 16:49 example [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 5 16:49 go.mod [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 49492 Jan 5 16:49 go.sum [2022-01-05T16:54:33.440Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 5 16:49 internal [2022-01-05T16:54:33.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 16:49 openapi [2022-01-05T16:54:33.440Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 16:49 pkg [2022-01-05T16:54:33.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 16:49 snap [2022-01-05T16:54:33.440Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 5 16:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:54:33.775Z] + 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 . [2022-01-05T16:54:34.373Z] Sending build context to Docker daemon 5.18MB [2022-01-05T16:54:34.373Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-05T16:54:34.373Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-05T16:54:34.373Z] ---> 9f7e7e97f180 [2022-01-05T16:54:34.373Z] Step 3/24 : ARG MAKE=make build [2022-01-05T16:54:34.373Z] ---> Running in a25c9299e751 [2022-01-05T16:54:34.646Z] Removing intermediate container a25c9299e751 [2022-01-05T16:54:34.646Z] ---> c6e7d62dec56 [2022-01-05T16:54:34.646Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-05T16:54:34.924Z] ---> Running in 3cf08df13bfb [2022-01-05T16:54:35.197Z] Removing intermediate container 3cf08df13bfb [2022-01-05T16:54:35.197Z] ---> 5808358c9121 [2022-01-05T16:54:35.197Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T16:54:35.197Z] ---> Running in b1eafb71746f [2022-01-05T16:54:35.470Z] Removing intermediate container b1eafb71746f [2022-01-05T16:54:35.470Z] ---> 4279b0a10552 [2022-01-05T16:54:35.470Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T16:54:35.745Z] ---> Running in 926b9b25bf23 [2022-01-05T16:54:37.185Z] Removing intermediate container 926b9b25bf23 [2022-01-05T16:54:37.185Z] ---> 9928ad28511e [2022-01-05T16:54:37.185Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-05T16:54:37.185Z] ---> Running in 720d36f04b54 [2022-01-05T16:54:38.171Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-05T16:54:39.146Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-05T16:54:39.741Z] OK: 219 MiB in 52 packages [2022-01-05T16:54:40.721Z] Removing intermediate container 720d36f04b54 [2022-01-05T16:54:40.721Z] ---> 912abbe257d4 [2022-01-05T16:54:40.721Z] Step 8/24 : COPY . . [2022-01-05T16:54:42.154Z] ---> fe5eef87be3a [2022-01-05T16:54:42.154Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-05T16:54:42.154Z] ---> Running in dc8f29ffe309 [2022-01-05T16:54:44.142Z] Removing intermediate container dc8f29ffe309 [2022-01-05T16:54:44.142Z] ---> 29f8475e493f [2022-01-05T16:54:44.142Z] Step 10/24 : RUN ${MAKE} [2022-01-05T16:54:44.142Z] ---> Running in 402457e74f24 [2022-01-05T16:54:45.123Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-05T16:55:17.498Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-05T16:55:19.475Z] Removing intermediate container 402457e74f24 [2022-01-05T16:55:19.475Z] ---> 8d59aa16ebd2 [2022-01-05T16:55:19.475Z] Step 11/24 : FROM alpine:3.14 [2022-01-05T16:55:20.068Z] 3.14: Pulling from library/alpine [2022-01-05T16:55:20.343Z] be307f383ecc: Pulling fs layer [2022-01-05T16:55:20.343Z] be307f383ecc: Verifying Checksum [2022-01-05T16:55:20.343Z] be307f383ecc: Download complete [2022-01-05T16:55:20.939Z] be307f383ecc: Pull complete [2022-01-05T16:55:20.939Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-05T16:55:20.939Z] Status: Downloaded newer image for alpine:3.14 [2022-01-05T16:55:20.939Z] ---> 5b8b7b635229 [2022-01-05T16:55:20.939Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-05T16:55:21.213Z] ---> Running in 47ec5f269bf5 [2022-01-05T16:55:21.485Z] Removing intermediate container 47ec5f269bf5 [2022-01-05T16:55:21.485Z] ---> de4180fbeca6 [2022-01-05T16:55:21.485Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-05T16:55:21.485Z] ---> Running in c4522d3ecd87 [2022-01-05T16:55:23.467Z] Removing intermediate container c4522d3ecd87 [2022-01-05T16:55:23.467Z] ---> 21979428a033 [2022-01-05T16:55:23.467Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-05T16:55:23.467Z] ---> Running in cb9696f0e739 [2022-01-05T16:55:24.450Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-05T16:55:25.429Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-05T16:55:26.026Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-05T16:55:26.026Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-05T16:55:26.026Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-05T16:55:26.303Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-05T16:55:26.303Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-05T16:55:26.303Z] Executing busybox-1.33.1-r6.trigger [2022-01-05T16:55:26.303Z] OK: 8 MiB in 19 packages [2022-01-05T16:55:27.295Z] Removing intermediate container cb9696f0e739 [2022-01-05T16:55:27.295Z] ---> 99dd80179b98 [2022-01-05T16:55:27.295Z] Step 15/24 : WORKDIR / [2022-01-05T16:55:27.295Z] ---> Running in 5becec52134a [2022-01-05T16:55:27.892Z] Removing intermediate container 5becec52134a [2022-01-05T16:55:27.892Z] ---> f324ffc36463 [2022-01-05T16:55:27.892Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-05T16:55:28.487Z] ---> d020a10aea38 [2022-01-05T16:55:28.487Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-05T16:55:29.531Z] ---> b35859df588b [2022-01-05T16:55:29.531Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-05T16:55:29.802Z] ---> db1c2ffe794b [2022-01-05T16:55:29.802Z] Step 19/24 : EXPOSE 59999 [2022-01-05T16:55:30.075Z] ---> Running in c1b0c29fb129 [2022-01-05T16:55:30.349Z] Removing intermediate container c1b0c29fb129 [2022-01-05T16:55:30.349Z] ---> 9457f1a13b96 [2022-01-05T16:55:30.349Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-05T16:55:30.349Z] ---> Running in 9fd5bf36d529 [2022-01-05T16:55:30.622Z] Removing intermediate container 9fd5bf36d529 [2022-01-05T16:55:30.622Z] ---> 8fe974d73266 [2022-01-05T16:55:30.622Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-05T16:55:30.901Z] ---> Running in db5a8f7d7fe5 [2022-01-05T16:55:31.173Z] Removing intermediate container db5a8f7d7fe5 [2022-01-05T16:55:31.173Z] ---> 523d6e0769cd [2022-01-05T16:55:31.173Z] Step 22/24 : LABEL arch=arm64 [2022-01-05T16:55:31.173Z] ---> Running in 02bfedbf35e5 [2022-01-05T16:55:31.445Z] Removing intermediate container 02bfedbf35e5 [2022-01-05T16:55:31.445Z] ---> 982cde079b23 [2022-01-05T16:55:31.445Z] Step 23/24 : LABEL git_sha=88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [2022-01-05T16:55:31.718Z] ---> Running in 4ce2cb6ecc7d [2022-01-05T16:55:31.990Z] Removing intermediate container 4ce2cb6ecc7d [2022-01-05T16:55:31.990Z] ---> ae844cd64244 [2022-01-05T16:55:31.990Z] Step 24/24 : LABEL version=0.0.0 [2022-01-05T16:55:31.990Z] ---> Running in 0edf0a06740e [2022-01-05T16:55:32.262Z] Removing intermediate container 0edf0a06740e [2022-01-05T16:55:32.262Z] ---> 94d9c02edf22 [2022-01-05T16:55:32.262Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-05T16:55:32.262Z] Successfully built 94d9c02edf22 [2022-01-05T16:55:32.262Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:55:32.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T16:55:32.688Z] [2022-01-05T16:55:32.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:55:33.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T16:55:33.032Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-05T16:55:33.032Z] 448f6bf000e3: Pulling fs layer [2022-01-05T16:55:33.032Z] f757da607395: Pulling fs layer [2022-01-05T16:55:33.032Z] 05883995daec: Pulling fs layer [2022-01-05T16:55:33.032Z] 8603b9c90790: Pulling fs layer [2022-01-05T16:55:33.032Z] 1560dd03e051: Pulling fs layer [2022-01-05T16:55:33.032Z] 27f5ce0e4adf: Pulling fs layer [2022-01-05T16:55:33.032Z] c2d8d7efcc4b: Pulling fs layer [2022-01-05T16:55:33.032Z] 1560dd03e051: Waiting [2022-01-05T16:55:33.032Z] 27f5ce0e4adf: Waiting [2022-01-05T16:55:33.032Z] c2d8d7efcc4b: Waiting [2022-01-05T16:55:33.032Z] 8603b9c90790: Waiting [2022-01-05T16:55:33.306Z] f757da607395: Verifying Checksum [2022-01-05T16:55:33.306Z] f757da607395: Download complete [2022-01-05T16:55:33.306Z] 8603b9c90790: Verifying Checksum [2022-01-05T16:55:33.306Z] 8603b9c90790: Download complete [2022-01-05T16:55:33.306Z] 1560dd03e051: Verifying Checksum [2022-01-05T16:55:33.306Z] 1560dd03e051: Download complete [2022-01-05T16:55:33.306Z] 27f5ce0e4adf: Verifying Checksum [2022-01-05T16:55:33.306Z] 27f5ce0e4adf: Download complete [2022-01-05T16:55:33.306Z] 05883995daec: Verifying Checksum [2022-01-05T16:55:33.306Z] 05883995daec: Download complete [2022-01-05T16:55:33.580Z] 448f6bf000e3: Verifying Checksum [2022-01-05T16:55:33.580Z] 448f6bf000e3: Download complete [2022-01-05T16:55:36.196Z] c2d8d7efcc4b: Verifying Checksum [2022-01-05T16:55:36.196Z] c2d8d7efcc4b: Download complete [2022-01-05T16:55:37.632Z] 448f6bf000e3: Pull complete [2022-01-05T16:55:37.905Z] f757da607395: Pull complete [2022-01-05T16:55:39.343Z] 05883995daec: Pull complete [2022-01-05T16:55:39.615Z] 8603b9c90790: Pull complete [2022-01-05T16:55:40.588Z] 1560dd03e051: Pull complete [2022-01-05T16:55:40.861Z] 27f5ce0e4adf: Pull complete [2022-01-05T16:55:55.936Z] c2d8d7efcc4b: Pull complete [2022-01-05T16:55:55.936Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-05T16:55:55.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T16:55:55.936Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-05T16:55:56.137Z] prd-ubuntu18.04-docker-arm64-4c-16g-796 does not seem to be running inside a container [2022-01-05T16:55:56.229Z] $ 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 [2022-01-05T16:55:58.795Z] $ docker top 0bdb62865a71932d2d5042d46787a10f5a8d2efc01b0c6d307afc002759fc6b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:55:59.675Z] ---> job-cost.sh [2022-01-05T16:55:59.675Z] lf-activate-venv: SKIPPING [2022-01-05T16:55:59.675Z] INFO: No Stack... [2022-01-05T16:55:59.947Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-05T16:56:00.219Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T16:56:00.886Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-01-05T16:56:00.886Z] + cut -d, -f6 [Pipeline] lock [2022-01-05T16:56:00.953Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [2022-01-05T16:56:00.960Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] did not exist. Created. [2022-01-05T16:56:00.960Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T16:56:01.638Z] /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 [2022-01-05T16:56:02.316Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-05T16:56:02.343Z] Warning: overwriting stash ‘stack-cost’ [2022-01-05T16:56:02.402Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T16:56:02.410Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1076-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T16:56:02.443Z] $ docker stop --time=1 0bdb62865a71932d2d5042d46787a10f5a8d2efc01b0c6d307afc002759fc6b9 [2022-01-05T16:56:03.951Z] $ 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 [2022-01-05T16:56:04.400Z] provisioning config files... [2022-01-05T16:56:04.409Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config4578184209645643914tmp [Pipeline] { [Pipeline] sh [2022-01-05T16:56:04.719Z] + set +x [2022-01-05T16:56:04.719Z] + curl -s https://codecov.io/bash [2022-01-05T16:56:04.719Z] + bash -s -- [2022-01-05T16:56:05.002Z] [2022-01-05T16:56:05.002Z] _____ _ [2022-01-05T16:56:05.002Z] / ____| | | [2022-01-05T16:56:05.002Z] | | ___ __| | ___ ___ _____ __ [2022-01-05T16:56:05.002Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-05T16:56:05.002Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-05T16:56:05.002Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-05T16:56:05.002Z] Bash-1.0.6 [2022-01-05T16:56:05.002Z] [2022-01-05T16:56:05.002Z] [2022-01-05T16:56:05.002Z] ==> git version 2.24.4 found [2022-01-05T16:56:05.002Z] ==> 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 [2022-01-05T16:56:05.002Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-05T16:56:05.002Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-05T16:56:05.002Z] ==> Jenkins CI detected. [2022-01-05T16:56:05.002Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1076 [2022-01-05T16:56:05.002Z] project root: . [2022-01-05T16:56:05.002Z] --> token set from env [2022-01-05T16:56:05.002Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-05T16:56:05.002Z] ==> Running gcov in . (disable via -X gcov) [2022-01-05T16:56:05.002Z] ==> Python coveragepy not found [2022-01-05T16:56:05.002Z] ==> Searching for coverage reports in: [2022-01-05T16:56:05.002Z] + . [2022-01-05T16:56:05.002Z] -> Found 1 reports [2022-01-05T16:56:05.002Z] ==> Detecting git/mercurial file structure [2022-01-05T16:56:05.002Z] ==> Reading reports [2022-01-05T16:56:05.002Z] + ./coverage.out bytes=128668 [2022-01-05T16:56:05.002Z] ==> Appending adjustments [2022-01-05T16:56:05.002Z] https://docs.codecov.io/docs/fixing-reports [2022-01-05T16:56:05.262Z] + Found adjustments [2022-01-05T16:56:05.262Z] ==> Gzipping contents [2022-01-05T16:56:05.262Z] 16K /tmp/codecov.lNaXjf.gz [2022-01-05T16:56:05.262Z] ==> Uploading reports [2022-01-05T16:56:05.262Z] url: https://codecov.io [2022-01-05T16:56:05.262Z] 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= [2022-01-05T16:56:05.262Z] -> Pinging Codecov [2022-01-05T16:56:05.262Z] 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= [2022-01-05T16:56:05.523Z] -> Uploading to [2022-01-05T16:56:05.523Z] 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 [2022-01-05T16:56:05.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-05T16:56:05.523Z] Dload Upload Total Spent Left Speed [2022-01-05T16:56:05.782Z] 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 [2022-01-05T16:56:05.782Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/88e700b7170d7cc1d5c316bfbdab362aa5ad8b61 [Pipeline] } [2022-01-05T16:56:05.790Z] 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 [2022-01-05T16:56:06.508Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:56:06.806Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:56:07.366Z] ---> package-listing.sh [2022-01-05T16:56:07.366Z] ++ facter osfamily [2022-01-05T16:56:07.366Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-05T16:56:07.628Z] + OS_FAMILY=redhat [2022-01-05T16:56:07.628Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1076 [2022-01-05T16:56:07.628Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-05T16:56:07.628Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-05T16:56:07.628Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-05T16:56:07.628Z] + PACKAGES=/tmp/packages_start.txt [2022-01-05T16:56:07.628Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1076 ']' [2022-01-05T16:56:07.628Z] + PACKAGES=/tmp/packages_end.txt [2022-01-05T16:56:07.628Z] + case "${OS_FAMILY}" in [2022-01-05T16:56:07.628Z] + rpm -qa [2022-01-05T16:56:07.628Z] + sort [2022-01-05T16:56:08.200Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-05T16:56:08.200Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-05T16:56:08.200Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-05T16:56:08.200Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1076 ']' [2022-01-05T16:56:08.200Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives/ [2022-01-05T16:56:08.200Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1076/archives/ [Pipeline] echo [2022-01-05T16:56:08.212Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1076/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-05T16:56:08.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:56:08.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T16:56:08.805Z] [2022-01-05T16:56:08.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T16:56:09.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T16:56:09.111Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T16:56:09.111Z] b4d181a07f80: Pulling fs layer [2022-01-05T16:56:09.111Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T16:56:09.111Z] ed53099fbce6: Pulling fs layer [2022-01-05T16:56:09.111Z] dc539afda2c1: Pulling fs layer [2022-01-05T16:56:09.111Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T16:56:09.111Z] 9065ff56babe: Pulling fs layer [2022-01-05T16:56:09.111Z] d287ab97295c: Pulling fs layer [2022-01-05T16:56:09.111Z] dc539afda2c1: Waiting [2022-01-05T16:56:09.111Z] 77bc0d833cb6: Waiting [2022-01-05T16:56:09.111Z] 9065ff56babe: Waiting [2022-01-05T16:56:09.111Z] d287ab97295c: Waiting [2022-01-05T16:56:09.111Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T16:56:09.111Z] a1111a8f2ec3: Download complete [2022-01-05T16:56:09.111Z] dc539afda2c1: Verifying Checksum [2022-01-05T16:56:09.111Z] dc539afda2c1: Download complete [2022-01-05T16:56:09.111Z] ed53099fbce6: Verifying Checksum [2022-01-05T16:56:09.111Z] ed53099fbce6: Download complete [2022-01-05T16:56:09.111Z] 9065ff56babe: Verifying Checksum [2022-01-05T16:56:09.111Z] 9065ff56babe: Download complete [2022-01-05T16:56:09.372Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T16:56:09.372Z] 77bc0d833cb6: Download complete [2022-01-05T16:56:09.372Z] b4d181a07f80: Verifying Checksum [2022-01-05T16:56:09.372Z] b4d181a07f80: Download complete [2022-01-05T16:56:09.949Z] d287ab97295c: Verifying Checksum [2022-01-05T16:56:09.949Z] d287ab97295c: Download complete [2022-01-05T16:56:10.533Z] b4d181a07f80: Pull complete [2022-01-05T16:56:10.807Z] a1111a8f2ec3: Pull complete [2022-01-05T16:56:11.384Z] ed53099fbce6: Pull complete [2022-01-05T16:56:11.384Z] dc539afda2c1: Pull complete [2022-01-05T16:56:11.655Z] 77bc0d833cb6: Pull complete [2022-01-05T16:56:11.655Z] 9065ff56babe: Pull complete [2022-01-05T16:56:16.997Z] d287ab97295c: Pull complete [2022-01-05T16:56:16.998Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T16:56:16.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T16:56:16.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T16:56:17.065Z] prd-centos7-docker-4c-2g-795 does not seem to be running inside a container [2022-01-05T16:56:17.097Z] $ 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 [2022-01-05T16:56:19.805Z] $ docker top 2f774c2fa472773a23334d6d0aa5ea451555fb9ea9bf8501a153c82d869bdd82 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T16:56:20.175Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-05T16:56:20.468Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-05T16:56:20.759Z] + ls /var/log/sa-host [2022-01-05T16:56:20.759Z] + sadf -c /var/log/sa-host/sa05 [2022-01-05T16:56:20.759Z] file_magic: OK [2022-01-05T16:56:20.759Z] HZ: Using current value: 100 [2022-01-05T16:56:20.759Z] file_header: OK [2022-01-05T16:56:20.759Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-05T16:56:20.759Z] Statistics: [2022-01-05T16:56:20.759Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T16:56:20.759Z] File successfully converted to sysstat format version 12.0.3 [2022-01-05T16:56:20.759Z] + sadf -c /var/log/sa-host/sa17 [2022-01-05T16:56:20.759Z] file_magic: OK [2022-01-05T16:56:20.759Z] HZ: Using current value: 100 [2022-01-05T16:56:20.759Z] file_header: OK [2022-01-05T16:56:20.760Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-05T16:56:20.760Z] Statistics: [2022-01-05T16:56:20.760Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T16:56:20.760Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T16:56:20.977Z] provisioning config files... [2022-01-05T16:56:20.988Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1076@tmp/config2174361369217565106tmp [Pipeline] { [Pipeline] echo [2022-01-05T16:56:21.005Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:56:21.295Z] ---> create-netrc.sh [Pipeline] } [2022-01-05T16:56:21.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:56:21.641Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-05T16:56:21.651Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:56:21.942Z] ---> sudo-logs.sh [2022-01-05T16:56:21.942Z] Archiving 'sudo' log.. [2022-01-05T16:56:21.942Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-795.novalocal: Name or service not known [2022-01-05T16:56:21.942Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-795.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-05T16:56:21.980Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:56:22.275Z] ---> job-cost.sh [2022-01-05T16:56:22.275Z] lf-activate-venv: SKIPPING [2022-01-05T16:56:22.275Z] DEBUG: total: 0.10999999940395355 [2022-01-05T16:56:22.275Z] INFO: Retrieving Stack Cost... [2022-01-05T16:56:22.537Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T16:56:23.106Z] INFO: Archiving Costs [Pipeline] echo [2022-01-05T16:56:23.118Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T16:56:23.403Z] ---> logs-deploy.sh [2022-01-05T16:56:23.403Z] lf-activate-venv: SKIPPING [2022-01-05T16:56:23.403Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1076/2 [2022-01-05T16:56:23.403Z] INFO: archiving workspace using pattern(s): [2022-01-05T16:56:23.973Z] Archives upload complete. [2022-01-05T16:56:24.234Z] INFO: archiving logs to Nexus