Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from acaad2eaf7e331afa60e093f2992ed3dd0e5840e+b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 (9b64e974a9e78a5f73b4f09ab27680e9e01af94c) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh7925122647232172298.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3700026464261341892.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-1060/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-1060/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2515088706149401703.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh4023135995034037184.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-1060/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-1060/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7294170466551565557.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 on ‘prd-centos7-docker-4c-2g-28151’ Running on prd-centos7-docker-4c-2g-28434 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-1060 # 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-1060@tmp/jenkins-gitclient-ssh4119344992102191779.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-1060@tmp/jenkins-gitclient-ssh7195848907302921888.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit acaad2eaf7e331afa60e093f2992ed3dd0e5840e Merge succeeded, producing 619ce27ea7f7d4bb160fb811b12171039ec6e4ee Checking out Revision 619ce27ea7f7d4bb160fb811b12171039ec6e4ee (PR-1060) > git config core.sparsecheckout # timeout=10 > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/jenkins-gitclient-ssh1706075217862066299.key > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 619ce27ea7f7d4bb160fb811b12171039ec6e4ee # timeout=10 Commit message: "Merge commit 'b65f5695dadca3fd7b85e6de0c13b69f00bad0e6' into HEAD" > git rev-list --no-walk acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T20:01:23.537Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T20:01:23.620Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T20:01:23.637Z] ========================================================= [2021-11-09T20:01:23.638Z] EdgeX Global Pipelines Version Info [2021-11-09T20:01:23.638Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:01:26.180Z] ------------------- [2021-11-09T20:01:26.180Z] stable info: [2021-11-09T20:01:26.180Z] ------------------- [2021-11-09T20:01:26.180Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T20:01:26.180Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T20:01:26.180Z] Message: update stable to v1.0.211 [2021-11-09T20:01:26.764Z] ------------------- [2021-11-09T20:01:26.764Z] experimental info: [2021-11-09T20:01:26.764Z] ------------------- [2021-11-09T20:01:26.764Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T20:01:26.764Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T20:01:26.764Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T20:01:27.082Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-09T20:01:27.091Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-09T20:01:27.103Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T20:01:27.118Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T20:01:28.180Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T20:01:28.191Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T20:01:28.202Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T20:01:28.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-09T20:01:28.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T20:01:28.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T20:01:28.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T20:01:28.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-09T20:01:28.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T20:01:28.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T20:01:28.279Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T20:01:28.288Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:28.299Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:28.310Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:28.321Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T20:01:28.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-09T20:01:28.345Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-09T20:01:28.357Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-09T20:01:28.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T20:01:28.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T20:01:28.392Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-09T20:01:28.404Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T20:01:28.416Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1060 [Pipeline] echo [2021-11-09T20:01:28.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1060 [Pipeline] echo [2021-11-09T20:01:28.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1060 [Pipeline] echo [2021-11-09T20:01:28.456Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 619ce27ea7f7d4bb160fb811b12171039ec6e4ee [Pipeline] echo [2021-11-09T20:01:28.467Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 619ce27 [Pipeline] echo [2021-11-09T20:01:28.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:01:28.515Z] provisioning config files... [2021-11-09T20:01:28.536Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config4889547889482938344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:01:28.887Z] ---> docker-login.sh [2021-11-09T20:01:28.887Z] nexus3.edgexfoundry.org:10001 [2021-11-09T20:01:28.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:29.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:29.148Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:29.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:29.148Z] [2021-11-09T20:01:29.148Z] Login Succeeded [2021-11-09T20:01:29.148Z] nexus3.edgexfoundry.org:10002 [2021-11-09T20:01:29.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:29.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:29.148Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:29.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:29.148Z] [2021-11-09T20:01:29.148Z] Login Succeeded [2021-11-09T20:01:29.148Z] nexus3.edgexfoundry.org:10003 [2021-11-09T20:01:29.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:29.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:29.411Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:29.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:29.411Z] [2021-11-09T20:01:29.411Z] Login Succeeded [2021-11-09T20:01:29.411Z] nexus3.edgexfoundry.org:10004 [2021-11-09T20:01:29.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:29.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:29.677Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:29.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:29.677Z] [2021-11-09T20:01:29.677Z] Login Succeeded [2021-11-09T20:01:29.677Z] docker.io [2021-11-09T20:01:29.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:29.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:29.940Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:29.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:29.940Z] [2021-11-09T20:01:29.940Z] Login Succeeded [2021-11-09T20:01:29.940Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T20:01:29.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T20:01:30.372Z] + git rev-list -1 --merges 619ce27ea7f7d4bb160fb811b12171039ec6e4ee~1..619ce27ea7f7d4bb160fb811b12171039ec6e4ee [Pipeline] echo [2021-11-09T20:01:30.424Z] -----------> git rev-list -1 --merges 619ce27ea7f7d4bb160fb811b12171039ec6e4ee~1..619ce27ea7f7d4bb160fb811b12171039ec6e4ee 619ce27ea7f7d4bb160fb811b12171039ec6e4ee [2021-11-09T20:01:30.424Z] 619ce27ea7f7d4bb160fb811b12171039ec6e4ee [false] [Pipeline] sh [2021-11-09T20:01:30.719Z] + git log --format=format:%s -1 619ce27ea7f7d4bb160fb811b12171039ec6e4ee [Pipeline] echo [2021-11-09T20:01:30.742Z] ========================================================= [2021-11-09T20:01:30.742Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T20:01:30.742Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T20:01:32.233Z] + git log --format=format:%s -1 619ce27ea7f7d4bb160fb811b12171039ec6e4ee [Pipeline] echo [2021-11-09T20:01:32.249Z] [semverPrep] GIT_COMMIT: 619ce27ea7f7d4bb160fb811b12171039ec6e4ee, Commit Message: Merge commit 'b65f5695dadca3fd7b85e6de0c13b69f00bad0e6' into HEAD [Pipeline] echo [2021-11-09T20:01:32.258Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:01:32.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:32.704Z] [2021-11-09T20:01:32.704Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:01:33.042Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:33.042Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T20:01:33.042Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T20:01:33.042Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T20:01:33.042Z] 4c7163046ea9: Pulling fs layer [2021-11-09T20:01:33.042Z] 0c2d73faf560: Pulling fs layer [2021-11-09T20:01:33.042Z] 0c2d73faf560: Waiting [2021-11-09T20:01:33.042Z] 3e5f54012d9b: Verifying Checksum [2021-11-09T20:01:33.042Z] 3e5f54012d9b: Download complete [2021-11-09T20:01:33.305Z] 0c2d73faf560: Verifying Checksum [2021-11-09T20:01:33.305Z] 0c2d73faf560: Download complete [2021-11-09T20:01:33.577Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T20:01:33.577Z] a0d0a0d46f8b: Download complete [2021-11-09T20:01:33.577Z] a0d0a0d46f8b: Pull complete [2021-11-09T20:01:33.851Z] 3e5f54012d9b: Pull complete [2021-11-09T20:01:33.851Z] 4c7163046ea9: Verifying Checksum [2021-11-09T20:01:33.851Z] 4c7163046ea9: Download complete [2021-11-09T20:01:34.127Z] 4c7163046ea9: Pull complete [2021-11-09T20:01:34.127Z] 0c2d73faf560: Pull complete [2021-11-09T20:01:34.127Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T20:01:34.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:34.127Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T20:01:34.200Z] prd-centos7-docker-4c-2g-28434 does not seem to be running inside a container [2021-11-09T20:01:34.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1060 -v /w/workspace/gexfoundry_device-sdk-go_PR-1060:/w/workspace/gexfoundry_device-sdk-go_PR-1060:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1060@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T20:01:35.260Z] $ docker top a6291ad9b42fd41268cc585db41c304d52b80963213c039d269399672d01a966 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T20:01:36.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T20:01:36.449Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T20:01:36.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T20:01:36.573Z] $ docker exec a6291ad9b42fd41268cc585db41c304d52b80963213c039d269399672d01a966 ssh-agent [2021-11-09T20:01:36.679Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlAEdAo/agent.14 [2021-11-09T20:01:36.679Z] SSH_AGENT_PID=20 [2021-11-09T20:01:36.688Z] Running ssh-add (command line suppressed) [2021-11-09T20:01:36.773Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_421132707557793103.key (/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_421132707557793103.key) [2021-11-09T20:01:36.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T20:01:37.097Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T20:01:37.127Z] $ docker exec --env ******** --env ******** a6291ad9b42fd41268cc585db41c304d52b80963213c039d269399672d01a966 ssh-agent -k [2021-11-09T20:01:37.229Z] unset SSH_AUTH_SOCK; [2021-11-09T20:01:37.229Z] unset SSH_AGENT_PID; [2021-11-09T20:01:37.229Z] echo Agent pid 20 killed; [2021-11-09T20:01:37.381Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T20:01:37.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T20:01:37.416Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T20:01:37.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T20:01:37.532Z] $ docker exec a6291ad9b42fd41268cc585db41c304d52b80963213c039d269399672d01a966 ssh-agent [2021-11-09T20:01:37.629Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXceBfEc/agent.53 [2021-11-09T20:01:37.629Z] SSH_AGENT_PID=59 [2021-11-09T20:01:37.639Z] Running ssh-add (command line suppressed) [2021-11-09T20:01:37.744Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_2072303412716725333.key (/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_2072303412716725333.key) [2021-11-09T20:01:37.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T20:01:38.083Z] + git semver init [2021-11-09T20:01:38.083Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T20:01:38.083Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1060/.git [2021-11-09T20:01:38.083Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-09T20:01:38.083Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T20:01:38.083Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T20:01:38.083Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T20:01:38.083Z] # $SEMVER_BRANCH = PR-1060 [2021-11-09T20:01:38.083Z] # $SEMVER_TEMP = /tmp/semver-427988531 [2021-11-09T20:01:38.083Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-09T20:01:39.028Z] # '/tmp/semver-427988531' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1060/.semver' [2021-11-09T20:01:39.028Z] # -> Force: false [2021-11-09T20:01:39.028Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1060/.semver [Pipeline] } [2021-11-09T20:01:39.041Z] $ docker exec --env ******** --env ******** a6291ad9b42fd41268cc585db41c304d52b80963213c039d269399672d01a966 ssh-agent -k [2021-11-09T20:01:39.134Z] unset SSH_AUTH_SOCK; [2021-11-09T20:01:39.135Z] unset SSH_AGENT_PID; [2021-11-09T20:01:39.135Z] echo Agent pid 59 killed; [2021-11-09T20:01:39.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T20:01:39.476Z] + git semver [Pipeline] } [2021-11-09T20:01:39.495Z] $ docker stop --time=1 a6291ad9b42fd41268cc585db41c304d52b80963213c039d269399672d01a966 [2021-11-09T20:01:40.820Z] $ docker rm -f a6291ad9b42fd41268cc585db41c304d52b80963213c039d269399672d01a966 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T20:01:41.424Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T20:01:41.919Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T20:01:41.922Z] [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 [2021-11-09T20:01:57.080Z] Still waiting to schedule task [2021-11-09T20:01:57.081Z] ‘prd-centos7-docker-4c-2g-28429’ is offline [2021-11-09T20:01:57.081Z] ‘prd-centos7-docker-4c-2g-28441’ is offline [2021-11-09T20:01:57.083Z] Still waiting to schedule task [2021-11-09T20:01:57.084Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-28432’ [2021-11-09T20:04:55.992Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28445 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [Pipeline] { [Pipeline] ws [2021-11-09T20:04:56.005Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-09T20:04:56.308Z] Selected Git installation does not exist. Using Default [2021-11-09T20:04:56.308Z] The recommended git tool is: NONE [2021-11-09T20:05:01.725Z] Running on prd-centos7-docker-4c-2g-28448 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [Pipeline] { [Pipeline] ws [2021-11-09T20:05:01.739Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-09T20:05:01.856Z] Selected Git installation does not exist. Using Default [2021-11-09T20:05:01.856Z] The recommended git tool is: NONE [2021-11-09T20:05:06.283Z] using credential edgex-jenkins-ssh [2021-11-09T20:05:06.303Z] Cloning the remote Git repository [2021-11-09T20:05:06.388Z] using credential edgex-jenkins-ssh [2021-11-09T20:05:06.397Z] Cloning the remote Git repository [2021-11-09T20:05:06.386Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:06.513Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-09T20:05:06.619Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:06.620Z] > git --version # timeout=10 [2021-11-09T20:05:06.638Z] > git --version # 'git version 2.17.1' [2021-11-09T20:05:06.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:05.477Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:05.531Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-09T20:05:05.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:05.566Z] > git --version # timeout=10 [2021-11-09T20:05:05.577Z] > git --version # 'git version 2.24.4' [2021-11-09T20:05:05.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:05.604Z] [INFO] Currently running in a labeled security context [2021-11-09T20:05:05.605Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:05:05.605Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7563469568647126008.key [2021-11-09T20:05:05.625Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:05:07.990Z] Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-09T20:05:08.125Z] Merge succeeded, producing 44b4496e681e24ff0b0e4d7b182b256e91dc68a6 [2021-11-09T20:05:08.125Z] Checking out Revision 44b4496e681e24ff0b0e4d7b182b256e91dc68a6 (PR-1060) [2021-11-09T20:05:06.526Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T20:05:06.536Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:05:06.547Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T20:05:06.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:06.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:06.570Z] [INFO] Currently running in a labeled security context [2021-11-09T20:05:06.570Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:05:06.570Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8134070169281585653.key [2021-11-09T20:05:06.580Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T20:05:07.130Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:05:07.137Z] > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-09T20:05:07.185Z] > git remote # timeout=10 [2021-11-09T20:05:07.203Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T20:05:07.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:07.214Z] [INFO] Currently running in a labeled security context [2021-11-09T20:05:07.214Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:05:07.214Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5025840665497758295.key [2021-11-09T20:05:07.223Z] > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [2021-11-09T20:05:07.251Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T20:05:07.269Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:05:06.746Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:05:08.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T20:05:08.130Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:05:08.865Z] Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-09T20:05:09.226Z] Merge succeeded, producing d2189140b37be7edb294bbd18987d1f097bef8f0 [2021-11-09T20:05:09.227Z] Checking out Revision d2189140b37be7edb294bbd18987d1f097bef8f0 (PR-1060) [2021-11-09T20:05:07.282Z] > git checkout -f 44b4496e681e24ff0b0e4d7b182b256e91dc68a6 # timeout=10 [2021-11-09T20:05:08.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T20:05:08.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:08.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:08.221Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T20:05:08.891Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:05:08.911Z] > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-09T20:05:09.037Z] > git remote # timeout=10 [2021-11-09T20:05:09.062Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T20:05:09.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:09.105Z] > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [2021-11-09T20:05:09.205Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T20:05:09.234Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:05:09.256Z] > git checkout -f d2189140b37be7edb294bbd18987d1f097bef8f0 # timeout=10 [2021-11-09T20:05:12.472Z] Commit message: "Merge commit 'b65f5695dadca3fd7b85e6de0c13b69f00bad0e6' into HEAD" [2021-11-09T20:05:11.981Z] > git rev-list --no-walk acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:05:12.945Z] provisioning config files... [2021-11-09T20:05:12.959Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1084687341255129068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:05:13.351Z] ---> docker-login.sh [2021-11-09T20:05:13.351Z] nexus3.edgexfoundry.org:10001 [2021-11-09T20:05:13.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:13.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:13.614Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:13.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:13.614Z] [2021-11-09T20:05:13.614Z] Login Succeeded [2021-11-09T20:05:13.614Z] nexus3.edgexfoundry.org:10002 [2021-11-09T20:05:13.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:13.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:13.614Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:13.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:13.614Z] [2021-11-09T20:05:13.614Z] Login Succeeded [2021-11-09T20:05:13.614Z] nexus3.edgexfoundry.org:10003 [2021-11-09T20:05:13.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:13.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:13.887Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:13.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:13.887Z] [2021-11-09T20:05:13.887Z] Login Succeeded [2021-11-09T20:05:13.887Z] nexus3.edgexfoundry.org:10004 [2021-11-09T20:05:13.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:13.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:13.887Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:13.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:13.887Z] [2021-11-09T20:05:13.887Z] Login Succeeded [2021-11-09T20:05:13.887Z] docker.io [2021-11-09T20:05:13.931Z] Commit message: "Merge commit 'b65f5695dadca3fd7b85e6de0c13b69f00bad0e6' into HEAD" [2021-11-09T20:05:13.941Z] > git rev-list --no-walk acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-09T20:05:14.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T20:05:14.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:14.417Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:14.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:14.417Z] [2021-11-09T20:05:14.417Z] Login Succeeded [2021-11-09T20:05:14.417Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T20:05:14.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T20:05:14.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T20:05:14.731Z] ========================================================= [2021-11-09T20:05:14.731Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T20:05:14.731Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:05:14.935Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T20:05:14.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T20:05:14.935Z] Dload Upload Total Spent Left Speed [2021-11-09T20:05:14.935Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11824 89 10502 0 0 157k 0 --:--:-- --:--:-- --:--:-- 155k 100 11824 100 11824 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2021-11-09T20:05:15.050Z] + 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 . [2021-11-09T20:05:15.050Z] Sending build context to Docker daemon 2.753MB [2021-11-09T20:05:15.050Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T20:05:15.050Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T20:05:15.050Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T20:05:15.050Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T20:05:15.050Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T20:05:15.050Z] b8b176561691: Pulling fs layer [2021-11-09T20:05:15.050Z] 4527c011a84f: Pulling fs layer [2021-11-09T20:05:15.050Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T20:05:15.050Z] e0aca202a116: Pulling fs layer [2021-11-09T20:05:15.050Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T20:05:15.050Z] 34cad66bf833: Pulling fs layer [2021-11-09T20:05:15.050Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T20:05:15.050Z] 4527c011a84f: Waiting [2021-11-09T20:05:15.050Z] 5d74067f8e1e: Waiting [2021-11-09T20:05:15.050Z] e0aca202a116: Waiting [2021-11-09T20:05:15.050Z] 3a43be97a3b4: Waiting [2021-11-09T20:05:15.050Z] 34cad66bf833: Waiting [2021-11-09T20:05:15.050Z] b4e3c513aaa6: Waiting [2021-11-09T20:05:15.050Z] b8b176561691: Verifying Checksum [2021-11-09T20:05:15.050Z] b8b176561691: Download complete [2021-11-09T20:05:15.050Z] 31adcdaf11c8: Verifying Checksum [2021-11-09T20:05:15.050Z] 31adcdaf11c8: Download complete [2021-11-09T20:05:15.317Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T20:05:15.317Z] 5d74067f8e1e: Download complete [2021-11-09T20:05:15.317Z] e0aca202a116: Verifying Checksum [2021-11-09T20:05:15.317Z] e0aca202a116: Download complete [2021-11-09T20:05:15.317Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T20:05:15.317Z] a0d0a0d46f8b: Download complete [2021-11-09T20:05:15.317Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T20:05:15.317Z] 3a43be97a3b4: Download complete [2021-11-09T20:05:15.317Z] 34cad66bf833: Verifying Checksum [2021-11-09T20:05:15.317Z] 34cad66bf833: Download complete [2021-11-09T20:05:15.375Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-09T20:05:15.588Z] a0d0a0d46f8b: Pull complete [2021-11-09T20:05:15.745Z] + sudo tee /etc/docker/daemon.new [2021-11-09T20:05:15.745Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-09T20:05:15.745Z] { [2021-11-09T20:05:15.745Z] "registry-mirrors": [ [2021-11-09T20:05:15.745Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T20:05:15.745Z] ], [2021-11-09T20:05:15.745Z] "bip": "10.250.0.254/24", [2021-11-09T20:05:15.745Z] "hosts": [ [2021-11-09T20:05:15.745Z] "tcp://0.0.0.0:5555", [2021-11-09T20:05:15.745Z] "unix:///var/run/docker.sock" [2021-11-09T20:05:15.745Z] ], [2021-11-09T20:05:15.745Z] "mtu": 1458, [2021-11-09T20:05:15.745Z] "selinux-enabled": true, [2021-11-09T20:05:15.745Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T20:05:15.745Z] } [Pipeline] sh [2021-11-09T20:05:15.857Z] 31adcdaf11c8: Pull complete [2021-11-09T20:05:15.857Z] b8b176561691: Pull complete [2021-11-09T20:05:15.857Z] 4527c011a84f: Verifying Checksum [2021-11-09T20:05:15.857Z] 4527c011a84f: Download complete [2021-11-09T20:05:16.122Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-09T20:05:16.442Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T20:05:16.442Z] b4e3c513aaa6: Download complete [2021-11-09T20:05:16.485Z] + sudo service docker restart [2021-11-09T20:05:20.611Z] 4527c011a84f: Pull complete [2021-11-09T20:05:20.611Z] 5d74067f8e1e: Pull complete [2021-11-09T20:05:20.611Z] e0aca202a116: Pull complete [2021-11-09T20:05:20.611Z] 3a43be97a3b4: Pull complete [2021-11-09T20:05:20.611Z] 34cad66bf833: Pull complete [2021-11-09T20:05:23.774Z] b4e3c513aaa6: Pull complete [2021-11-09T20:05:23.774Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T20:05:23.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T20:05:23.774Z] ---> 9f6097aaca64 [2021-11-09T20:05:23.774Z] Step 3/10 : ARG MAKE=make build [2021-11-09T20:05:25.709Z] ---> Running in 50fb882d72dd [2021-11-09T20:05:25.709Z] Removing intermediate container 50fb882d72dd [2021-11-09T20:05:25.709Z] ---> 9ce593a8ab4c [2021-11-09T20:05:25.709Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T20:05:25.709Z] ---> Running in aeee2ccf1f36 [2021-11-09T20:05:25.709Z] Removing intermediate container aeee2ccf1f36 [2021-11-09T20:05:25.709Z] ---> 2bc13dafc9db [2021-11-09T20:05:25.709Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:05:25.973Z] ---> Running in a41dfa781d99 [2021-11-09T20:05:25.973Z] Removing intermediate container a41dfa781d99 [2021-11-09T20:05:25.973Z] ---> 1d5f56fcf60a [2021-11-09T20:05:25.973Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:05:25.973Z] ---> Running in e1c76fe66553 [2021-11-09T20:05:26.548Z] Removing intermediate container e1c76fe66553 [2021-11-09T20:05:26.548Z] ---> cb699f69f911 [2021-11-09T20:05:26.548Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T20:05:26.548Z] ---> Running in bf77db2a66f3 [2021-11-09T20:05:27.123Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T20:05:27.699Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T20:05:28.273Z] OK: 220 MiB in 52 packages [2021-11-09T20:05:28.534Z] Removing intermediate container bf77db2a66f3 [2021-11-09T20:05:28.534Z] ---> 7ac04db5108a [2021-11-09T20:05:28.534Z] Step 8/10 : COPY . . [2021-11-09T20:05:28.797Z] ---> 6333c25a20d5 [2021-11-09T20:05:28.797Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T20:05:29.063Z] ---> Running in 0223cc4f97a8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:05:35.897Z] provisioning config files... [2021-11-09T20:05:35.955Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6299075038939702585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:05:36.356Z] ---> docker-login.sh [2021-11-09T20:05:36.356Z] nexus3.edgexfoundry.org:10001 [2021-11-09T20:05:36.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:37.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:37.556Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:37.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:37.556Z] [2021-11-09T20:05:37.556Z] Login Succeeded [2021-11-09T20:05:37.556Z] nexus3.edgexfoundry.org:10002 [2021-11-09T20:05:37.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:38.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:38.103Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:38.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:38.103Z] [2021-11-09T20:05:38.103Z] Login Succeeded [2021-11-09T20:05:38.103Z] nexus3.edgexfoundry.org:10003 [2021-11-09T20:05:38.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:38.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:38.655Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:38.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:38.655Z] [2021-11-09T20:05:38.655Z] Login Succeeded [2021-11-09T20:05:38.655Z] nexus3.edgexfoundry.org:10004 [2021-11-09T20:05:38.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:39.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:39.206Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:39.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:39.206Z] [2021-11-09T20:05:39.206Z] Login Succeeded [2021-11-09T20:05:39.206Z] docker.io [2021-11-09T20:05:39.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:40.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:40.079Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:40.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:40.079Z] [2021-11-09T20:05:40.079Z] Login Succeeded [2021-11-09T20:05:40.079Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T20:05:40.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T20:05:40.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T20:05:40.599Z] ========================================================= [2021-11-09T20:05:40.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T20:05:40.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:05:40.972Z] + 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 . [2021-11-09T20:05:42.395Z] Sending build context to Docker daemon 2.752MB [2021-11-09T20:05:42.395Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T20:05:42.395Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T20:05:42.395Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T20:05:42.395Z] 552d1f2373af: Pulling fs layer [2021-11-09T20:05:42.395Z] ea3f2d53f512: Pulling fs layer [2021-11-09T20:05:42.395Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T20:05:42.395Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T20:05:42.395Z] 72dc09318566: Pulling fs layer [2021-11-09T20:05:42.395Z] f4f7b4309257: Pulling fs layer [2021-11-09T20:05:42.395Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T20:05:42.395Z] b78e95d17946: Pulling fs layer [2021-11-09T20:05:42.395Z] f4f7b4309257: Waiting [2021-11-09T20:05:42.395Z] 0ac9a79272e3: Waiting [2021-11-09T20:05:42.395Z] 7a9cfe048b4a: Waiting [2021-11-09T20:05:42.395Z] b78e95d17946: Waiting [2021-11-09T20:05:42.395Z] 72dc09318566: Waiting [2021-11-09T20:05:42.395Z] 9e70ebbbe112: Verifying Checksum [2021-11-09T20:05:42.395Z] 9e70ebbbe112: Download complete [2021-11-09T20:05:42.395Z] ea3f2d53f512: Download complete [2021-11-09T20:05:42.395Z] 72dc09318566: Verifying Checksum [2021-11-09T20:05:42.395Z] 72dc09318566: Download complete [2021-11-09T20:05:42.395Z] f4f7b4309257: Download complete [2021-11-09T20:05:42.395Z] 0ac9a79272e3: Verifying Checksum [2021-11-09T20:05:42.395Z] 0ac9a79272e3: Download complete [2021-11-09T20:05:44.137Z] b78e95d17946: Verifying Checksum [2021-11-09T20:05:44.137Z] b78e95d17946: Download complete [2021-11-09T20:05:44.446Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T20:05:44.446Z] 7a9cfe048b4a: Download complete [2021-11-09T20:05:45.478Z] 552d1f2373af: Verifying Checksum [2021-11-09T20:05:45.478Z] 552d1f2373af: Download complete [2021-11-09T20:05:46.013Z] 552d1f2373af: Pull complete [2021-11-09T20:05:46.306Z] ea3f2d53f512: Pull complete [2021-11-09T20:05:47.181Z] 9e70ebbbe112: Pull complete [2021-11-09T20:05:57.773Z] 7a9cfe048b4a: Pull complete [2021-11-09T20:05:57.773Z] 72dc09318566: Pull complete [2021-11-09T20:05:57.773Z] f4f7b4309257: Pull complete [2021-11-09T20:05:57.773Z] 0ac9a79272e3: Pull complete [2021-11-09T20:06:04.146Z] b78e95d17946: Pull complete [2021-11-09T20:06:04.146Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T20:06:04.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T20:06:04.146Z] ---> 8b459fc5aaf0 [2021-11-09T20:06:04.146Z] Step 3/10 : ARG MAKE=make build [2021-11-09T20:06:05.385Z] ---> Running in 597a18899adf [2021-11-09T20:06:06.044Z] Removing intermediate container 597a18899adf [2021-11-09T20:06:06.044Z] ---> aec61d28af89 [2021-11-09T20:06:06.044Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T20:06:06.323Z] ---> Running in 95e52c0c54d3 [2021-11-09T20:06:06.945Z] Removing intermediate container 95e52c0c54d3 [2021-11-09T20:06:06.945Z] ---> 665ef5fc8f44 [2021-11-09T20:06:06.945Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:06:06.945Z] ---> Running in d268f5b272ce [2021-11-09T20:06:07.787Z] Removing intermediate container d268f5b272ce [2021-11-09T20:06:07.787Z] ---> d00fabe89008 [2021-11-09T20:06:07.787Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:06:08.101Z] ---> Running in c53a27206ec5 [2021-11-09T20:06:08.955Z] Removing intermediate container 0223cc4f97a8 [2021-11-09T20:06:08.955Z] ---> 942fcbeb6fc4 [2021-11-09T20:06:08.955Z] Step 10/10 : RUN ${MAKE} [2021-11-09T20:06:08.955Z] ---> Running in df93440f533b [2021-11-09T20:06:08.955Z] noop [2021-11-09T20:06:08.955Z] Removing intermediate container df93440f533b [2021-11-09T20:06:08.955Z] ---> c87004a8b350 [2021-11-09T20:06:08.955Z] Successfully built c87004a8b350 [2021-11-09T20:06:08.955Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:06:09.485Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T20:06:09.485Z] . [Pipeline] withDockerContainer [2021-11-09T20:06:09.558Z] prd-centos7-docker-4c-2g-28448 does not seem to be running inside a container [2021-11-09T20:06:09.596Z] $ 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 ******** ci-base-image-x86_64 cat [2021-11-09T20:06:10.073Z] $ docker top 8ede95e2e6523cdeb7da7157a7e227de6da735197aa852f42812c09c750d61f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T20:06:10.453Z] + go version [2021-11-09T20:06:10.453Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T20:06:10.463Z] $ docker stop --time=1 8ede95e2e6523cdeb7da7157a7e227de6da735197aa852f42812c09c750d61f2 [2021-11-09T20:06:10.806Z] Removing intermediate container c53a27206ec5 [2021-11-09T20:06:10.806Z] ---> 2f700b275c72 [2021-11-09T20:06:10.806Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T20:06:10.806Z] ---> Running in ef9837f9426f [2021-11-09T20:06:11.686Z] $ docker rm -f 8ede95e2e6523cdeb7da7157a7e227de6da735197aa852f42812c09c750d61f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:06:12.055Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T20:06:12.465Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T20:06:12.465Z] . [Pipeline] withDockerContainer [2021-11-09T20:06:12.851Z] prd-centos7-docker-4c-2g-28448 does not seem to be running inside a container [2021-11-09T20:06:13.153Z] $ 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 ******** ci-base-image-x86_64 cat [2021-11-09T20:06:13.596Z] $ docker top 601bacb1f94f0263c794fc9d7628a9166b3c28e3f72374f41f0f50519e8692db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T20:06:13.977Z] + make test [2021-11-09T20:06:13.977Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T20:06:14.540Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T20:06:20.463Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T20:06:28.241Z] OK: 219 MiB in 52 packages [2021-11-09T20:06:28.241Z] Removing intermediate container ef9837f9426f [2021-11-09T20:06:28.241Z] ---> 03647ee4d4fb [2021-11-09T20:06:28.241Z] Step 8/10 : COPY . . [2021-11-09T20:06:28.864Z] ---> 10a517801db7 [2021-11-09T20:06:28.864Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T20:06:28.864Z] ---> Running in e0ee5d3a08f9 [2021-11-09T20:06:48.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T20:06:48.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T20:06:48.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T20:06:48.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 23.3% of statements [2021-11-09T20:06:48.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T20:06:48.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2021-11-09T20:06:48.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-11-09T20:06:48.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2021-11-09T20:06:48.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T20:06:48.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T20:06:48.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T20:06:49.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.078s coverage: 28.7% of statements [2021-11-09T20:06:49.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T20:06:50.974Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 83.3% of statements [2021-11-09T20:06:50.974Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T20:06:50.974Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T20:06:50.974Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 57.8% of statements [2021-11-09T20:06:52.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.982s coverage: 89.2% of statements [2021-11-09T20:06:52.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T20:06:52.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.8% of statements [2021-11-09T20:06:52.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T20:06:52.629Z] GO111MODULE=on go vet ./... [2021-11-09T20:07:15.384Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T20:07:15.384Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T20:07:15.644Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T20:07:16.228Z] $ docker stop --time=1 601bacb1f94f0263c794fc9d7628a9166b3c28e3f72374f41f0f50519e8692db [2021-11-09T20:07:17.647Z] $ docker rm -f 601bacb1f94f0263c794fc9d7628a9166b3c28e3f72374f41f0f50519e8692db [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T20:07:18.099Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T20:07:18.278Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-09T20:07:19.794Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T20:07:20.099Z] + ls -al . [2021-11-09T20:07:20.099Z] total 264 [2021-11-09T20:07:20.099Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 20:07 . [2021-11-09T20:07:20.099Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 20:05 .. [2021-11-09T20:07:20.099Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 20:05 bin [2021-11-09T20:07:20.099Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 20:05 CHANGELOG.md [2021-11-09T20:07:20.099Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 9 20:06 coverage.out [2021-11-09T20:07:20.099Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 20:05 .dockerignore [2021-11-09T20:07:20.099Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 20:05 example [2021-11-09T20:07:20.099Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 20:05 .git [2021-11-09T20:07:20.099Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 20:05 .github [2021-11-09T20:07:20.099Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 20:05 .gitignore [2021-11-09T20:07:20.099Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 20:05 go.mod [2021-11-09T20:07:20.099Z] -rw-rw-r--. 1 jenkins jenkins 49140 Nov 9 20:05 go.sum [2021-11-09T20:07:20.099Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 20:05 GOVERNANCE.md [2021-11-09T20:07:20.100Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 20:05 internal [2021-11-09T20:07:20.100Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 20:05 Jenkinsfile [2021-11-09T20:07:20.100Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 20:05 LICENSE [2021-11-09T20:07:20.100Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 20:05 Makefile [2021-11-09T20:07:20.100Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 20:05 openapi [2021-11-09T20:07:20.100Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 20:05 OWNERS.md [2021-11-09T20:07:20.100Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 20:05 pkg [2021-11-09T20:07:20.100Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 20:05 README.md [2021-11-09T20:07:20.100Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 20:05 snap [2021-11-09T20:07:20.100Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 20:01 VERSION [2021-11-09T20:07:20.100Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 20:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:07:20.397Z] + 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=d2189140b37be7edb294bbd18987d1f097bef8f0 --label arch=amd64 --label version=0.0.0 . [2021-11-09T20:07:20.398Z] Sending build context to Docker daemon 2.882MB [2021-11-09T20:07:20.398Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T20:07:20.398Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T20:07:20.398Z] ---> c87004a8b350 [2021-11-09T20:07:20.398Z] Step 3/24 : ARG MAKE=make build [2021-11-09T20:07:20.398Z] ---> Running in f0593ee72a37 [2021-11-09T20:07:20.662Z] Removing intermediate container f0593ee72a37 [2021-11-09T20:07:20.662Z] ---> c93b91d26aa9 [2021-11-09T20:07:20.662Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T20:07:20.662Z] ---> Running in f0ebe5d58fc4 [2021-11-09T20:07:20.662Z] Removing intermediate container f0ebe5d58fc4 [2021-11-09T20:07:20.662Z] ---> 54b7cc65179c [2021-11-09T20:07:20.662Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:07:20.662Z] ---> Running in f9d772407732 [2021-11-09T20:07:20.926Z] Removing intermediate container f9d772407732 [2021-11-09T20:07:20.926Z] ---> c1fd19cd388f [2021-11-09T20:07:20.926Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:07:20.926Z] ---> Running in d6765f138cc6 [2021-11-09T20:07:21.499Z] Removing intermediate container d6765f138cc6 [2021-11-09T20:07:21.499Z] ---> 738d26d4f8d2 [2021-11-09T20:07:21.499Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T20:07:21.499Z] ---> Running in 7d03bc383978 [2021-11-09T20:07:21.499Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T20:07:22.442Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T20:07:22.709Z] OK: 220 MiB in 52 packages [2021-11-09T20:07:22.969Z] Removing intermediate container 7d03bc383978 [2021-11-09T20:07:22.969Z] ---> 01ed11a1d71c [2021-11-09T20:07:22.969Z] Step 8/24 : COPY . . [2021-11-09T20:07:23.229Z] ---> 4e56eff35d88 [2021-11-09T20:07:23.229Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T20:07:23.229Z] ---> Running in 5e486cd29579 [2021-11-09T20:07:23.806Z] Removing intermediate container 5e486cd29579 [2021-11-09T20:07:23.806Z] ---> 9bc3f41e8d7d [2021-11-09T20:07:23.806Z] Step 10/24 : RUN ${MAKE} [2021-11-09T20:07:23.806Z] ---> Running in 76e08d4c5115 [2021-11-09T20:07:24.077Z] 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 [2021-11-09T20:07:47.149Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T20:07:47.149Z] Removing intermediate container 76e08d4c5115 [2021-11-09T20:07:47.149Z] ---> 8de73a6ec2c9 [2021-11-09T20:07:47.149Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T20:07:51.347Z] 3.14: Pulling from library/alpine [2021-11-09T20:07:52.630Z] Removing intermediate container e0ee5d3a08f9 [2021-11-09T20:07:52.630Z] ---> 5f759ffa7a18 [2021-11-09T20:07:52.630Z] Step 10/10 : RUN ${MAKE} [2021-11-09T20:07:52.630Z] ---> Running in b9a45d39ecdb [2021-11-09T20:07:52.630Z] noop [2021-11-09T20:07:52.630Z] Removing intermediate container b9a45d39ecdb [2021-11-09T20:07:52.630Z] ---> f2401f89dbb4 [2021-11-09T20:07:52.630Z] Successfully built f2401f89dbb4 [2021-11-09T20:07:52.630Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:07:52.980Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T20:07:52.980Z] . [Pipeline] withDockerContainer [2021-11-09T20:07:53.249Z] prd-ubuntu18.04-docker-arm64-4c-16g-28445 does not seem to be running inside a container [2021-11-09T20:07:53.353Z] $ 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 ******** ci-base-image-arm64 cat [2021-11-09T20:07:55.227Z] $ docker top cfa3b206bff503b60f8734a7833c64b28e533450ecee262113f0a1ffc13f4289 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T20:07:57.048Z] a0d0a0d46f8b: Already exists [2021-11-09T20:07:57.048Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T20:07:57.048Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T20:07:57.048Z] ---> 14119a10abf4 [2021-11-09T20:07:57.048Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:07:57.048Z] ---> Running in e300186b1f07 [2021-11-09T20:07:57.048Z] Removing intermediate container e300186b1f07 [2021-11-09T20:07:57.048Z] ---> 5e8eb3a6bea1 [2021-11-09T20:07:57.048Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:07:57.048Z] ---> Running in 49f46ad323b9 [2021-11-09T20:07:57.048Z] Removing intermediate container 49f46ad323b9 [2021-11-09T20:07:57.048Z] ---> 9fb669991cac [2021-11-09T20:07:57.048Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T20:07:57.048Z] ---> Running in b6043c39610d [2021-11-09T20:07:57.048Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T20:07:57.061Z] + go version [2021-11-09T20:07:57.061Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-09T20:07:57.083Z] $ docker stop --time=1 cfa3b206bff503b60f8734a7833c64b28e533450ecee262113f0a1ffc13f4289 [2021-11-09T20:07:58.001Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T20:07:58.932Z] $ docker rm -f cfa3b206bff503b60f8734a7833c64b28e533450ecee262113f0a1ffc13f4289 [2021-11-09T20:07:59.216Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T20:07:59.216Z] (2/5) Installing libsodium (1.0.18-r0) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:07:59.502Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T20:07:59.773Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T20:07:59.773Z] . [Pipeline] withDockerContainer [2021-11-09T20:08:00.130Z] prd-ubuntu18.04-docker-arm64-4c-16g-28445 does not seem to be running inside a container [2021-11-09T20:08:00.295Z] $ 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 ******** ci-base-image-arm64 cat [2021-11-09T20:08:00.717Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T20:08:01.004Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T20:08:01.294Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T20:08:01.294Z] OK: 8 MiB in 19 packages [2021-11-09T20:08:01.602Z] Removing intermediate container b6043c39610d [2021-11-09T20:08:01.602Z] ---> 34f6c2a2f0e7 [2021-11-09T20:08:01.602Z] Step 15/24 : WORKDIR / [2021-11-09T20:08:01.602Z] ---> Running in f4637a42b520 [2021-11-09T20:08:01.602Z] Removing intermediate container f4637a42b520 [2021-11-09T20:08:01.602Z] ---> 0c1f08ccd78e [2021-11-09T20:08:01.602Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T20:08:01.869Z] ---> 6de8fac72f28 [2021-11-09T20:08:01.869Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T20:08:02.033Z] $ docker top 433f9837919402461f46d846825341e54a2d62c8c071fb9697cca183b7200ddc -eo pid,comm [2021-11-09T20:08:02.161Z] ---> 3e55ad16dc5d [2021-11-09T20:08:02.161Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T20:08:02.436Z] ---> 23b058a14dbd [2021-11-09T20:08:02.436Z] Step 19/24 : EXPOSE 59999 [2021-11-09T20:08:02.436Z] ---> Running in 9b4a8a9fd536 [2021-11-09T20:08:02.436Z] Removing intermediate container 9b4a8a9fd536 [2021-11-09T20:08:02.436Z] ---> 14b200ec7a8c [2021-11-09T20:08:02.436Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T20:08:02.436Z] ---> Running in c18c338bf6f4 [2021-11-09T20:08:02.436Z] Removing intermediate container c18c338bf6f4 [2021-11-09T20:08:02.436Z] ---> 00c89d9c9d03 [2021-11-09T20:08:02.436Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T20:08:02.436Z] ---> Running in ee404e701498 [2021-11-09T20:08:02.722Z] Removing intermediate container ee404e701498 [2021-11-09T20:08:02.722Z] ---> dd82550ebc85 [2021-11-09T20:08:02.722Z] Step 22/24 : LABEL arch=amd64 [2021-11-09T20:08:02.722Z] ---> Running in aa906132934c [2021-11-09T20:08:02.723Z] Removing intermediate container aa906132934c [2021-11-09T20:08:02.723Z] ---> be7b14ba19e4 [2021-11-09T20:08:02.723Z] Step 23/24 : LABEL git_sha=d2189140b37be7edb294bbd18987d1f097bef8f0 [2021-11-09T20:08:02.723Z] ---> Running in a4164d1aa909 [2021-11-09T20:08:02.723Z] Removing intermediate container a4164d1aa909 [2021-11-09T20:08:02.723Z] ---> 2155172a32b4 [2021-11-09T20:08:02.723Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T20:08:02.723Z] ---> Running in 19f400e436c1 [2021-11-09T20:08:03.012Z] Removing intermediate container 19f400e436c1 [2021-11-09T20:08:03.012Z] ---> b6f5f04b3015 [2021-11-09T20:08:03.012Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T20:08:03.012Z] Successfully built b6f5f04b3015 [2021-11-09T20:08:03.012Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-11-09T20:08:03.154Z] + make test [2021-11-09T20:08:03.154Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [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 [2021-11-09T20:08:04.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:08:04.729Z] [2021-11-09T20:08:04.729Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:08:05.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:08:10.540Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T20:08:10.540Z] b4d181a07f80: Pulling fs layer [2021-11-09T20:08:10.540Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T20:08:10.540Z] ed53099fbce6: Pulling fs layer [2021-11-09T20:08:10.540Z] dc539afda2c1: Pulling fs layer [2021-11-09T20:08:10.540Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T20:08:10.540Z] 9065ff56babe: Pulling fs layer [2021-11-09T20:08:10.540Z] d287ab97295c: Pulling fs layer [2021-11-09T20:08:10.540Z] dc539afda2c1: Waiting [2021-11-09T20:08:10.540Z] 77bc0d833cb6: Waiting [2021-11-09T20:08:10.540Z] 9065ff56babe: Waiting [2021-11-09T20:08:10.540Z] d287ab97295c: Waiting [2021-11-09T20:08:10.540Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T20:08:10.540Z] a1111a8f2ec3: Download complete [2021-11-09T20:08:10.540Z] dc539afda2c1: Verifying Checksum [2021-11-09T20:08:10.540Z] dc539afda2c1: Download complete [2021-11-09T20:08:10.823Z] b4d181a07f80: Verifying Checksum [2021-11-09T20:08:10.823Z] b4d181a07f80: Download complete [2021-11-09T20:08:11.124Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T20:08:11.124Z] 77bc0d833cb6: Download complete [2021-11-09T20:08:11.961Z] b4d181a07f80: Pull complete [2021-11-09T20:08:11.962Z] ed53099fbce6: Verifying Checksum [2021-11-09T20:08:11.962Z] ed53099fbce6: Download complete [2021-11-09T20:08:12.463Z] a1111a8f2ec3: Pull complete [2021-11-09T20:08:12.976Z] ed53099fbce6: Pull complete [2021-11-09T20:08:12.976Z] dc539afda2c1: Pull complete [2021-11-09T20:08:13.268Z] 77bc0d833cb6: Pull complete [2021-11-09T20:08:15.927Z] 9065ff56babe: Download complete [2021-11-09T20:08:15.927Z] 9065ff56babe: Pull complete [2021-11-09T20:08:16.533Z] d287ab97295c: Verifying Checksum [2021-11-09T20:08:16.533Z] d287ab97295c: Download complete [2021-11-09T20:08:25.497Z] d287ab97295c: Pull complete [2021-11-09T20:08:27.430Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T20:08:27.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:08:27.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T20:08:27.503Z] prd-centos7-docker-4c-2g-28448 does not seem to be running inside a container [2021-11-09T20:08:27.546Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T20:08:34.517Z] $ docker top 4a6efad1a825dd1c88d67981852620aea0265cfc6a3f377cbb1b0a9a2c2d9139 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:08:34.925Z] ---> job-cost.sh [2021-11-09T20:08:34.925Z] lf-activate-venv: SKIPPING [2021-11-09T20:08:34.925Z] INFO: No Stack... [2021-11-09T20:08:35.183Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T20:08:36.265Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T20:08:36.556Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-11-09T20:08:36.556Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T20:08:36.582Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1060-2-stack-cost] [2021-11-09T20:08:36.591Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-2-stack-cost] did not exist. Created. [2021-11-09T20:08:36.591Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1060-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T20:08:36.906Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T20:08:36.937Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T20:08:36.947Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T20:08:36.965Z] $ docker stop --time=1 4a6efad1a825dd1c88d67981852620aea0265cfc6a3f377cbb1b0a9a2c2d9139 [2021-11-09T20:08:38.648Z] $ docker rm -f 4a6efad1a825dd1c88d67981852620aea0265cfc6a3f377cbb1b0a9a2c2d9139 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-11-09T20:08:38.847Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] // stage [Pipeline] } [2021-11-09T20:10:03.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T20:10:03.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T20:10:03.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T20:10:10.833Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.535s coverage: 23.3% of statements [2021-11-09T20:10:10.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T20:10:10.833Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.253s coverage: 27.6% of statements [2021-11-09T20:10:10.833Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.338s coverage: 78.9% of statements [2021-11-09T20:10:10.833Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.382s coverage: 9.0% of statements [2021-11-09T20:10:10.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T20:10:10.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T20:10:10.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T20:10:11.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.421s coverage: 28.7% of statements [2021-11-09T20:10:11.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T20:10:14.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.331s coverage: 83.3% of statements [2021-11-09T20:10:14.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T20:10:14.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T20:10:14.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.399s coverage: 57.8% of statements [2021-11-09T20:10:16.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.447s coverage: 89.2% of statements [2021-11-09T20:10:16.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T20:10:16.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.216s coverage: 4.8% of statements [2021-11-09T20:10:16.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T20:10:17.600Z] GO111MODULE=on go vet ./... [2021-11-09T20:11:27.163Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T20:11:27.163Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T20:11:27.163Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T20:11:27.180Z] $ docker stop --time=1 433f9837919402461f46d846825341e54a2d62c8c071fb9697cca183b7200ddc [2021-11-09T20:11:29.132Z] $ docker rm -f 433f9837919402461f46d846825341e54a2d62c8c071fb9697cca183b7200ddc [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T20:11:30.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T20:11:30.364Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T20:11:31.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T20:11:31.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T20:11:31.923Z] + ls -al . [2021-11-09T20:11:31.923Z] total 300 [2021-11-09T20:11:31.923Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 20:11 . [2021-11-09T20:11:31.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 20:05 .. [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 20:05 .dockerignore [2021-11-09T20:11:31.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 20:05 .git [2021-11-09T20:11:31.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 20:05 .github [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 20:05 .gitignore [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 20:05 CHANGELOG.md [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 20:05 GOVERNANCE.md [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 20:05 Jenkinsfile [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 20:05 LICENSE [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 20:05 Makefile [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 20:05 OWNERS.md [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 20:05 README.md [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 20:01 VERSION [2021-11-09T20:11:31.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 20:05 bin [2021-11-09T20:11:31.923Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 9 20:10 coverage.out [2021-11-09T20:11:31.923Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 20:05 example [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 20:05 go.mod [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 49140 Nov 9 20:05 go.sum [2021-11-09T20:11:31.923Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 20:05 internal [2021-11-09T20:11:31.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 20:05 openapi [2021-11-09T20:11:31.923Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 20:05 pkg [2021-11-09T20:11:31.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 20:05 snap [2021-11-09T20:11:31.923Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 20:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:11:32.956Z] + 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=d2189140b37be7edb294bbd18987d1f097bef8f0 --label arch=arm64 --label version=0.0.0 . [2021-11-09T20:11:32.956Z] Sending build context to Docker daemon 2.881MB [2021-11-09T20:11:32.956Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T20:11:32.956Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T20:11:32.956Z] ---> f2401f89dbb4 [2021-11-09T20:11:32.956Z] Step 3/24 : ARG MAKE=make build [2021-11-09T20:11:32.956Z] ---> Running in 702e0e6e0265 [2021-11-09T20:11:33.555Z] Removing intermediate container 702e0e6e0265 [2021-11-09T20:11:33.555Z] ---> 29cdf4582142 [2021-11-09T20:11:33.555Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T20:11:33.555Z] ---> Running in 50d9fc2edc06 [2021-11-09T20:11:34.212Z] Removing intermediate container 50d9fc2edc06 [2021-11-09T20:11:34.212Z] ---> da511cc47da2 [2021-11-09T20:11:34.212Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:11:34.212Z] ---> Running in 0f304dd058b6 [2021-11-09T20:11:34.821Z] Removing intermediate container 0f304dd058b6 [2021-11-09T20:11:34.821Z] ---> 47e7a0d657fb [2021-11-09T20:11:34.821Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:11:34.821Z] ---> Running in e017f6a3c3dd [2021-11-09T20:11:37.462Z] Removing intermediate container e017f6a3c3dd [2021-11-09T20:11:37.462Z] ---> a32524662cbe [2021-11-09T20:11:37.462Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T20:11:37.462Z] ---> Running in c86bf3f7c6d8 [2021-11-09T20:11:38.441Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T20:11:39.446Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T20:11:40.430Z] OK: 219 MiB in 52 packages [2021-11-09T20:11:41.419Z] Removing intermediate container c86bf3f7c6d8 [2021-11-09T20:11:41.419Z] ---> 0b0a1d60e1ec [2021-11-09T20:11:41.419Z] Step 8/24 : COPY . . [2021-11-09T20:11:42.860Z] ---> 9c21a8bd8484 [2021-11-09T20:11:42.860Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T20:11:43.134Z] ---> Running in 81a6375ad424 [2021-11-09T20:11:45.761Z] Removing intermediate container 81a6375ad424 [2021-11-09T20:11:45.761Z] ---> afa0188e5941 [2021-11-09T20:11:45.761Z] Step 10/24 : RUN ${MAKE} [2021-11-09T20:11:45.761Z] ---> Running in 06d963b726bb [2021-11-09T20:11:47.226Z] 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 [2021-11-09T20:12:34.253Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T20:12:34.253Z] Removing intermediate container 06d963b726bb [2021-11-09T20:12:34.254Z] ---> 5b64e564ab5c [2021-11-09T20:12:34.254Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T20:12:34.254Z] 3.14: Pulling from library/alpine [2021-11-09T20:12:34.254Z] 552d1f2373af: Already exists [2021-11-09T20:12:34.254Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T20:12:34.254Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T20:12:34.254Z] ---> bb3de5531c18 [2021-11-09T20:12:34.254Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:12:34.254Z] ---> Running in 9ffea15c84ed [2021-11-09T20:12:34.254Z] Removing intermediate container 9ffea15c84ed [2021-11-09T20:12:34.254Z] ---> 8177845c78ba [2021-11-09T20:12:34.254Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:12:34.254Z] ---> Running in 01b750b4cca9 [2021-11-09T20:12:35.768Z] Removing intermediate container 01b750b4cca9 [2021-11-09T20:12:35.768Z] ---> 235a24660bc9 [2021-11-09T20:12:35.768Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T20:12:35.768Z] ---> Running in 7e79a3a19e50 [2021-11-09T20:12:36.783Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T20:12:38.980Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T20:12:40.011Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T20:12:40.011Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T20:12:40.294Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T20:12:41.278Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T20:12:41.553Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T20:12:41.553Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T20:12:41.553Z] OK: 8 MiB in 19 packages [2021-11-09T20:12:42.539Z] Removing intermediate container 7e79a3a19e50 [2021-11-09T20:12:42.539Z] ---> 82a4693f072a [2021-11-09T20:12:42.539Z] Step 15/24 : WORKDIR / [2021-11-09T20:12:42.539Z] ---> Running in 792d58f90527 [2021-11-09T20:12:43.150Z] Removing intermediate container 792d58f90527 [2021-11-09T20:12:43.150Z] ---> 99f9ffe4a5f5 [2021-11-09T20:12:43.150Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T20:12:43.747Z] ---> 553429373dc8 [2021-11-09T20:12:43.747Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T20:12:44.754Z] ---> 5a29ed0bdebd [2021-11-09T20:12:44.754Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T20:12:45.355Z] ---> a50653b93acc [2021-11-09T20:12:45.355Z] Step 19/24 : EXPOSE 59999 [2021-11-09T20:12:45.634Z] ---> Running in 2745edc74ecd [2021-11-09T20:12:46.821Z] Removing intermediate container 2745edc74ecd [2021-11-09T20:12:46.821Z] ---> 9812b19629bb [2021-11-09T20:12:46.821Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T20:12:46.821Z] ---> Running in 249263383b4f [2021-11-09T20:12:46.821Z] Removing intermediate container 249263383b4f [2021-11-09T20:12:46.821Z] ---> 381154c50457 [2021-11-09T20:12:46.821Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T20:12:46.821Z] ---> Running in 382d2a9b7f12 [2021-11-09T20:12:47.094Z] Removing intermediate container 382d2a9b7f12 [2021-11-09T20:12:47.094Z] ---> 39a5e6d1a314 [2021-11-09T20:12:47.094Z] Step 22/24 : LABEL arch=arm64 [2021-11-09T20:12:47.094Z] ---> Running in eb41f1177232 [2021-11-09T20:12:47.370Z] Removing intermediate container eb41f1177232 [2021-11-09T20:12:47.370Z] ---> 673dd7697877 [2021-11-09T20:12:47.370Z] Step 23/24 : LABEL git_sha=d2189140b37be7edb294bbd18987d1f097bef8f0 [2021-11-09T20:12:47.645Z] ---> Running in ffd47c501504 [2021-11-09T20:12:47.923Z] Removing intermediate container ffd47c501504 [2021-11-09T20:12:47.923Z] ---> 4e2e5525b56f [2021-11-09T20:12:47.923Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T20:12:48.431Z] ---> Running in 832feefedbb4 [2021-11-09T20:12:48.431Z] Removing intermediate container 832feefedbb4 [2021-11-09T20:12:48.431Z] ---> 978dbb45a794 [2021-11-09T20:12:48.431Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T20:12:48.707Z] Successfully built 978dbb45a794 [2021-11-09T20:12:48.707Z] 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 [2021-11-09T20:12:49.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:12:49.556Z] [2021-11-09T20:12:49.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:12:50.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:12:50.740Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T20:12:50.740Z] 448f6bf000e3: Pulling fs layer [2021-11-09T20:12:50.740Z] f757da607395: Pulling fs layer [2021-11-09T20:12:50.740Z] 05883995daec: Pulling fs layer [2021-11-09T20:12:50.740Z] 8603b9c90790: Pulling fs layer [2021-11-09T20:12:50.740Z] 1560dd03e051: Pulling fs layer [2021-11-09T20:12:50.740Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T20:12:50.740Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T20:12:50.740Z] 1560dd03e051: Waiting [2021-11-09T20:12:50.740Z] 27f5ce0e4adf: Waiting [2021-11-09T20:12:50.740Z] c2d8d7efcc4b: Waiting [2021-11-09T20:12:50.740Z] 8603b9c90790: Waiting [2021-11-09T20:12:50.740Z] f757da607395: Verifying Checksum [2021-11-09T20:12:50.740Z] f757da607395: Download complete [2021-11-09T20:12:50.740Z] 8603b9c90790: Verifying Checksum [2021-11-09T20:12:50.740Z] 8603b9c90790: Download complete [2021-11-09T20:12:51.025Z] 1560dd03e051: Verifying Checksum [2021-11-09T20:12:51.025Z] 1560dd03e051: Download complete [2021-11-09T20:12:51.025Z] 27f5ce0e4adf: Download complete [2021-11-09T20:12:51.025Z] 05883995daec: Verifying Checksum [2021-11-09T20:12:51.025Z] 05883995daec: Download complete [2021-11-09T20:12:51.300Z] 448f6bf000e3: Verifying Checksum [2021-11-09T20:12:51.300Z] 448f6bf000e3: Download complete [2021-11-09T20:12:53.925Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T20:12:53.925Z] c2d8d7efcc4b: Download complete [2021-11-09T20:12:55.365Z] 448f6bf000e3: Pull complete [2021-11-09T20:12:55.961Z] f757da607395: Pull complete [2021-11-09T20:12:57.400Z] 05883995daec: Pull complete [2021-11-09T20:12:58.001Z] 8603b9c90790: Pull complete [2021-11-09T20:12:58.995Z] 1560dd03e051: Pull complete [2021-11-09T20:12:58.995Z] 27f5ce0e4adf: Pull complete [2021-11-09T20:13:14.932Z] c2d8d7efcc4b: Pull complete [2021-11-09T20:13:14.932Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T20:13:14.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:13:14.932Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T20:13:15.421Z] prd-ubuntu18.04-docker-arm64-4c-16g-28445 does not seem to be running inside a container [2021-11-09T20:13:15.513Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-09T20:13:18.890Z] $ docker top 8fe44461226e94712d813928b6e5332b17c0f2b0e18eb3981f6f83a3cfe79780 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:19.909Z] ---> job-cost.sh [2021-11-09T20:13:19.909Z] lf-activate-venv: SKIPPING [2021-11-09T20:13:19.909Z] INFO: No Stack... [2021-11-09T20:13:21.356Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T20:13:21.629Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T20:13:23.487Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-11-09T20:13:23.487Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T20:13:23.556Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1060-2-stack-cost] [2021-11-09T20:13:23.563Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-2-stack-cost] did not exist. Created. [2021-11-09T20:13:23.563Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1060-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T20:13:24.290Z] /w/workspace/device-sdk-go/2@tmp/durable-22bf57d5/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-22bf57d5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T20:13:25.328Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T20:13:25.356Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T20:13:25.432Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T20:13:25.443Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T20:13:25.448Z] $ docker stop --time=1 8fe44461226e94712d813928b6e5332b17c0f2b0e18eb3981f6f83a3cfe79780 [2021-11-09T20:13:27.083Z] $ docker rm -f 8fe44461226e94712d813928b6e5332b17c0f2b0e18eb3981f6f83a3cfe79780 [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 [2021-11-09T20:13:27.802Z] provisioning config files... [2021-11-09T20:13:27.812Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config2953326785948038956tmp [Pipeline] { [Pipeline] sh [2021-11-09T20:13:28.131Z] + set +x [2021-11-09T20:13:28.131Z] + curl -s https://codecov.io/bash [2021-11-09T20:13:28.131Z] + bash -s -- [2021-11-09T20:13:28.131Z] [2021-11-09T20:13:28.131Z] _____ _ [2021-11-09T20:13:28.131Z] / ____| | | [2021-11-09T20:13:28.131Z] | | ___ __| | ___ ___ _____ __ [2021-11-09T20:13:28.131Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-09T20:13:28.131Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-09T20:13:28.131Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-09T20:13:28.131Z] Bash-1.0.6 [2021-11-09T20:13:28.131Z] [2021-11-09T20:13:28.131Z] [2021-11-09T20:13:28.131Z] ==> git version 2.24.4 found [2021-11-09T20:13:28.131Z] ==> 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 [2021-11-09T20:13:28.131Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-09T20:13:28.131Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-09T20:13:28.131Z] ==> Jenkins CI detected. [2021-11-09T20:13:28.131Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-09T20:13:28.131Z] project root: . [2021-11-09T20:13:28.131Z] --> token set from env [2021-11-09T20:13:28.131Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-09T20:13:28.131Z] ==> Running gcov in . (disable via -X gcov) [2021-11-09T20:13:28.131Z] ==> Python coveragepy not found [2021-11-09T20:13:28.131Z] ==> Searching for coverage reports in: [2021-11-09T20:13:28.131Z] + . [2021-11-09T20:13:28.131Z] -> Found 1 reports [2021-11-09T20:13:28.131Z] ==> Detecting git/mercurial file structure [2021-11-09T20:13:28.392Z] ==> Reading reports [2021-11-09T20:13:28.392Z] + ./coverage.out bytes=128369 [2021-11-09T20:13:28.392Z] ==> Appending adjustments [2021-11-09T20:13:28.392Z] https://docs.codecov.io/docs/fixing-reports [2021-11-09T20:13:28.653Z] + Found adjustments [2021-11-09T20:13:28.653Z] ==> Gzipping contents [2021-11-09T20:13:28.653Z] 16K /tmp/codecov.5gNsYq.gz [2021-11-09T20:13:28.653Z] ==> Uploading reports [2021-11-09T20:13:28.653Z] url: https://codecov.io [2021-11-09T20:13:28.653Z] query: branch=PR-1060&commit=619ce27ea7f7d4bb160fb811b12171039ec6e4ee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1060%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1060&job=&cmd_args= [2021-11-09T20:13:28.653Z] -> Pinging Codecov [2021-11-09T20:13:28.653Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1060&commit=619ce27ea7f7d4bb160fb811b12171039ec6e4ee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1060%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1060&job=&cmd_args= [2021-11-09T20:13:28.920Z] -> Uploading to [2021-11-09T20:13:28.920Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/619ce27ea7f7d4bb160fb811b12171039ec6e4ee/0f04842c-7d9f-4f6f-b4b3-709a4c77a641.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T201328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0786cd75cf240f91468338fb50d2dcc6dc08bfacb85de9995fbb295c2563a96d [2021-11-09T20:13:28.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T20:13:28.920Z] Dload Upload Total Spent Left Speed [2021-11-09T20:13:29.179Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16303 0 0 100 16303 0 50667 --:--:-- --:--:-- --:--:-- 50788 [2021-11-09T20:13:29.179Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/619ce27ea7f7d4bb160fb811b12171039ec6e4ee [Pipeline] } [2021-11-09T20:13:29.187Z] 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 [2021-11-09T20:13:31.545Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:31.848Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:32.415Z] ---> package-listing.sh [2021-11-09T20:13:32.415Z] ++ facter osfamily [2021-11-09T20:13:32.415Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T20:13:32.676Z] + OS_FAMILY=redhat [2021-11-09T20:13:32.676Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-09T20:13:32.676Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T20:13:32.676Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T20:13:32.676Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T20:13:32.676Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T20:13:32.676Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1060 ']' [2021-11-09T20:13:32.676Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T20:13:32.676Z] + case "${OS_FAMILY}" in [2021-11-09T20:13:32.676Z] + rpm -qa [2021-11-09T20:13:32.676Z] + sort [2021-11-09T20:13:33.248Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T20:13:33.248Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T20:13:33.248Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T20:13:33.248Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1060 ']' [2021-11-09T20:13:33.248Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives/ [2021-11-09T20:13:33.248Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives/ [Pipeline] echo [2021-11-09T20:13:33.306Z] 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-1060/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-09T20:13:33.677Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:13:33.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:13:33.981Z] [2021-11-09T20:13:33.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:13:34.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:13:34.490Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T20:13:34.490Z] b4d181a07f80: Pulling fs layer [2021-11-09T20:13:34.490Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T20:13:34.490Z] ed53099fbce6: Pulling fs layer [2021-11-09T20:13:34.490Z] dc539afda2c1: Pulling fs layer [2021-11-09T20:13:34.490Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T20:13:34.490Z] 9065ff56babe: Pulling fs layer [2021-11-09T20:13:34.490Z] d287ab97295c: Pulling fs layer [2021-11-09T20:13:34.490Z] dc539afda2c1: Waiting [2021-11-09T20:13:34.490Z] 77bc0d833cb6: Waiting [2021-11-09T20:13:34.490Z] 9065ff56babe: Waiting [2021-11-09T20:13:34.490Z] d287ab97295c: Waiting [2021-11-09T20:13:34.490Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T20:13:34.490Z] a1111a8f2ec3: Download complete [2021-11-09T20:13:34.490Z] dc539afda2c1: Verifying Checksum [2021-11-09T20:13:34.490Z] dc539afda2c1: Download complete [2021-11-09T20:13:34.750Z] ed53099fbce6: Verifying Checksum [2021-11-09T20:13:34.750Z] ed53099fbce6: Download complete [2021-11-09T20:13:34.750Z] 9065ff56babe: Verifying Checksum [2021-11-09T20:13:34.750Z] 9065ff56babe: Download complete [2021-11-09T20:13:34.750Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T20:13:34.750Z] 77bc0d833cb6: Download complete [2021-11-09T20:13:34.750Z] b4d181a07f80: Verifying Checksum [2021-11-09T20:13:34.750Z] b4d181a07f80: Download complete [2021-11-09T20:13:36.149Z] b4d181a07f80: Pull complete [2021-11-09T20:13:36.149Z] a1111a8f2ec3: Pull complete [2021-11-09T20:13:36.732Z] ed53099fbce6: Pull complete [2021-11-09T20:13:36.996Z] dc539afda2c1: Pull complete [2021-11-09T20:13:36.996Z] d287ab97295c: Verifying Checksum [2021-11-09T20:13:36.996Z] d287ab97295c: Download complete [2021-11-09T20:13:37.266Z] 77bc0d833cb6: Pull complete [2021-11-09T20:13:37.266Z] 9065ff56babe: Pull complete [2021-11-09T20:13:42.603Z] d287ab97295c: Pull complete [2021-11-09T20:13:42.603Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T20:13:42.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:13:42.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T20:13:42.677Z] prd-centos7-docker-4c-2g-28434 does not seem to be running inside a container [2021-11-09T20:13:42.931Z] $ 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-1060/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-1060 -v /w/workspace/gexfoundry_device-sdk-go_PR-1060:/w/workspace/gexfoundry_device-sdk-go_PR-1060:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T20:13:45.065Z] $ docker top e12e3e700e39d516ff8b9c7b8bd4f90dcea8a48ab1b1e7baa25b8fcfd6e2fdbe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T20:13:45.431Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T20:13:45.727Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T20:13:46.034Z] + ls /var/log/sa-host [2021-11-09T20:13:46.034Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T20:13:46.034Z] file_magic: OK [2021-11-09T20:13:46.034Z] HZ: Using current value: 100 [2021-11-09T20:13:46.034Z] file_header: OK [2021-11-09T20:13:46.034Z] 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 [2021-11-09T20:13:46.034Z] Statistics: [2021-11-09T20:13:46.034Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T20:13:46.034Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T20:13:46.034Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T20:13:46.034Z] file_magic: OK [2021-11-09T20:13:46.034Z] HZ: Using current value: 100 [2021-11-09T20:13:46.034Z] file_header: OK [2021-11-09T20:13:46.034Z] 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 [2021-11-09T20:13:46.034Z] Statistics: [2021-11-09T20:13:46.034Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T20:13:46.034Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:13:46.117Z] provisioning config files... [2021-11-09T20:13:46.127Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config8374176766011409809tmp [Pipeline] { [Pipeline] echo [2021-11-09T20:13:46.145Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:46.437Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T20:13:46.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:46.782Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T20:13:46.794Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:47.299Z] ---> sudo-logs.sh [2021-11-09T20:13:47.299Z] Archiving 'sudo' log.. [2021-11-09T20:13:47.299Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28434.novalocal: Name or service not known [2021-11-09T20:13:47.299Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28434.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T20:13:47.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:48.778Z] ---> job-cost.sh [2021-11-09T20:13:48.778Z] lf-activate-venv: SKIPPING [2021-11-09T20:13:48.778Z] DEBUG: total: 0.10999999940395355 [2021-11-09T20:13:48.778Z] INFO: Retrieving Stack Cost... [2021-11-09T20:13:52.513Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T20:13:52.513Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T20:13:52.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:52.849Z] ---> logs-deploy.sh [2021-11-09T20:13:52.849Z] lf-activate-venv: SKIPPING [2021-11-09T20:13:52.849Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1060/2 [2021-11-09T20:13:52.849Z] INFO: archiving workspace using pattern(s): [2021-11-09T20:13:53.422Z] Archives upload complete. [2021-11-09T20:13:53.422Z] INFO: archiving logs to Nexus [2021-11-09T20:13:54.000Z] ---> uname -a: [2021-11-09T20:13:54.000Z] Linux prd-centos7-docker-4c-2g-28434.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux [2021-11-09T20:13:54.000Z] [2021-11-09T20:13:54.000Z] [2021-11-09T20:13:54.000Z] ---> lscpu: [2021-11-09T20:13:54.000Z] Architecture: x86_64 [2021-11-09T20:13:54.000Z] CPU op-mode(s): 32-bit, 64-bit [2021-11-09T20:13:54.000Z] Byte Order: Little Endian [2021-11-09T20:13:54.000Z] Address sizes: 40 bits physical, 48 bits virtual [2021-11-09T20:13:54.000Z] CPU(s): 2 [2021-11-09T20:13:54.000Z] On-line CPU(s) list: 0,1 [2021-11-09T20:13:54.000Z] Thread(s) per core: 1 [2021-11-09T20:13:54.000Z] Core(s) per socket: 1 [2021-11-09T20:13:54.000Z] Socket(s): 2 [2021-11-09T20:13:54.000Z] NUMA node(s): 1 [2021-11-09T20:13:54.000Z] Vendor ID: AuthenticAMD [2021-11-09T20:13:54.000Z] CPU family: 23 [2021-11-09T20:13:54.000Z] Model: 49 [2021-11-09T20:13:54.000Z] Model name: AMD EPYC-Rome Processor [2021-11-09T20:13:54.000Z] Stepping: 0 [2021-11-09T20:13:54.000Z] CPU MHz: 2799.998 [2021-11-09T20:13:54.000Z] BogoMIPS: 5599.99 [2021-11-09T20:13:54.000Z] Virtualization: AMD-V [2021-11-09T20:13:54.000Z] Hypervisor vendor: KVM [2021-11-09T20:13:54.000Z] Virtualization type: full [2021-11-09T20:13:54.000Z] L1d cache: 32K [2021-11-09T20:13:54.000Z] L1i cache: 32K [2021-11-09T20:13:54.000Z] L2 cache: 512K [2021-11-09T20:13:54.000Z] L3 cache: 16384K [2021-11-09T20:13:54.000Z] NUMA node0 CPU(s): 0,1 [2021-11-09T20:13:54.000Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-11-09T20:13:54.000Z] [2021-11-09T20:13:54.000Z]