Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 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-ssh2657904837488510882.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh81353634315114240.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 a03e002eace0db65b27acd1444eb3c4392a49323 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4841554635803067533.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > 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-ssh124519973202654875.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6055810118417964277.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 Running on prd-centos7-docker-4c-2g-199 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh7265804585209719855.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 # timeout=10 Commit message: "Merge pull request #1066 from lenny-intel/released-go-mods" > git rev-list --no-walk 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T20:04:15.808Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T20:04:15.856Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T20:04:15.868Z] ========================================================= [2021-11-11T20:04:15.868Z] EdgeX Global Pipelines Version Info [2021-11-11T20:04:15.868Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:04:17.022Z] ------------------- [2021-11-11T20:04:17.023Z] stable info: [2021-11-11T20:04:17.023Z] ------------------- [2021-11-11T20:04:17.023Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T20:04:17.023Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:04:17.023Z] Message: update stable to v1.0.213 [2021-11-11T20:04:17.595Z] ------------------- [2021-11-11T20:04:17.595Z] experimental info: [2021-11-11T20:04:17.595Z] ------------------- [2021-11-11T20:04:17.595Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T20:04:17.595Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:04:17.595Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T20:04:17.672Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-11T20:04:17.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-11T20:04:17.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T20:04:17.709Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T20:04:17.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T20:04:17.727Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T20:04:17.736Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T20:04:17.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-11T20:04:17.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T20:04:17.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T20:04:17.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T20:04:17.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-11T20:04:17.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T20:04:17.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T20:04:17.814Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:04:17.824Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:04:17.835Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:04:17.846Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:04:17.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T20:04:17.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T20:04:17.876Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-11T20:04:17.886Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-11T20:04:17.899Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T20:04:17.909Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T20:04:17.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-11T20:04:17.935Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T20:04:17.945Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-11T20:04:17.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-11T20:04:17.965Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-11T20:04:17.977Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [Pipeline] echo [2021-11-11T20:04:17.987Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8594ac2 [Pipeline] echo [2021-11-11T20:04:17.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:04:18.045Z] provisioning config files... [2021-11-11T20:04:18.058Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4924842184752920283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:04:18.367Z] ---> docker-login.sh [2021-11-11T20:04:18.367Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:04:18.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:04:18.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:04:18.630Z] Configure a credential helper to remove this warning. See [2021-11-11T20:04:18.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:04:18.630Z] [2021-11-11T20:04:18.630Z] Login Succeeded [2021-11-11T20:04:18.630Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:04:18.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:04:18.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:04:18.630Z] Configure a credential helper to remove this warning. See [2021-11-11T20:04:18.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:04:18.630Z] [2021-11-11T20:04:18.630Z] Login Succeeded [2021-11-11T20:04:18.630Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:04:18.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:04:18.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:04:18.893Z] Configure a credential helper to remove this warning. See [2021-11-11T20:04:18.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:04:18.893Z] [2021-11-11T20:04:18.893Z] Login Succeeded [2021-11-11T20:04:18.893Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:04:18.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:04:18.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:04:18.893Z] Configure a credential helper to remove this warning. See [2021-11-11T20:04:18.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:04:18.893Z] [2021-11-11T20:04:18.893Z] Login Succeeded [2021-11-11T20:04:18.893Z] docker.io [2021-11-11T20:04:18.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:04:19.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:04:19.465Z] Configure a credential helper to remove this warning. See [2021-11-11T20:04:19.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:04:19.465Z] [2021-11-11T20:04:19.465Z] Login Succeeded [2021-11-11T20:04:19.465Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:04:19.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T20:04:19.892Z] + git rev-list -1 --merges 8594ac2f7ffce9ed2fa5e632b0287c300efb8695~1..8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [Pipeline] echo [2021-11-11T20:04:19.930Z] -----------> git rev-list -1 --merges 8594ac2f7ffce9ed2fa5e632b0287c300efb8695~1..8594ac2f7ffce9ed2fa5e632b0287c300efb8695 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [2021-11-11T20:04:19.930Z] 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [false] [Pipeline] sh [2021-11-11T20:04:20.228Z] + git log --format=format:%s -1 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [Pipeline] echo [2021-11-11T20:04:20.243Z] ========================================================= [2021-11-11T20:04:20.243Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T20:04:20.243Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:04:20.577Z] + git log --format=format:%s -1 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [Pipeline] echo [2021-11-11T20:04:20.588Z] [semverPrep] GIT_COMMIT: 8594ac2f7ffce9ed2fa5e632b0287c300efb8695, Commit Message: Merge pull request #1066 from lenny-intel/released-go-mods [Pipeline] echo [2021-11-11T20:04:20.597Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:04:21.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:04:21.178Z] [2021-11-11T20:04:21.178Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:04:21.482Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:04:21.482Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T20:04:21.482Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:04:21.482Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T20:04:21.482Z] 4c7163046ea9: Pulling fs layer [2021-11-11T20:04:21.482Z] 0c2d73faf560: Pulling fs layer [2021-11-11T20:04:21.482Z] 0c2d73faf560: Waiting [2021-11-11T20:04:21.482Z] 3e5f54012d9b: Download complete [2021-11-11T20:04:21.482Z] a0d0a0d46f8b: Download complete [2021-11-11T20:04:21.482Z] 4c7163046ea9: Verifying Checksum [2021-11-11T20:04:21.482Z] 4c7163046ea9: Download complete [2021-11-11T20:04:21.482Z] 0c2d73faf560: Verifying Checksum [2021-11-11T20:04:21.482Z] 0c2d73faf560: Download complete [2021-11-11T20:04:21.752Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:04:21.752Z] 3e5f54012d9b: Pull complete [2021-11-11T20:04:22.019Z] 4c7163046ea9: Pull complete [2021-11-11T20:04:22.284Z] 0c2d73faf560: Pull complete [2021-11-11T20:04:22.284Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T20:04:22.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:04:22.284Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T20:04:22.354Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2021-11-11T20:04:22.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:04:23.069Z] $ docker top 052ed3952f47b340f744ad8cbe6c68c147327290fcd5ccd2c68366b996c1e254 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:04:23.168Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:04:23.168Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:04:23.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:04:23.284Z] $ docker exec 052ed3952f47b340f744ad8cbe6c68c147327290fcd5ccd2c68366b996c1e254 ssh-agent [2021-11-11T20:04:23.393Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBMBAJP/agent.15 [2021-11-11T20:04:23.393Z] SSH_AGENT_PID=21 [2021-11-11T20:04:23.399Z] Running ssh-add (command line suppressed) [2021-11-11T20:04:23.482Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7772508311548935039.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7772508311548935039.key) [2021-11-11T20:04:23.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:04:23.789Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T20:04:23.802Z] $ docker exec --env ******** --env ******** 052ed3952f47b340f744ad8cbe6c68c147327290fcd5ccd2c68366b996c1e254 ssh-agent -k [2021-11-11T20:04:23.892Z] unset SSH_AUTH_SOCK; [2021-11-11T20:04:23.893Z] unset SSH_AGENT_PID; [2021-11-11T20:04:23.893Z] echo Agent pid 21 killed; [2021-11-11T20:04:23.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T20:04:23.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:04:23.928Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:04:24.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:04:24.034Z] $ docker exec 052ed3952f47b340f744ad8cbe6c68c147327290fcd5ccd2c68366b996c1e254 ssh-agent [2021-11-11T20:04:24.137Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEHOeFj/agent.56 [2021-11-11T20:04:24.137Z] SSH_AGENT_PID=62 [2021-11-11T20:04:24.143Z] Running ssh-add (command line suppressed) [2021-11-11T20:04:24.256Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1065038291989434582.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1065038291989434582.key) [2021-11-11T20:04:24.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:04:24.563Z] + git semver init [2021-11-11T20:04:24.563Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:04:24.563Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-11T20:04:24.563Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-11T20:04:24.563Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:04:24.563Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:04:24.563Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:04:24.563Z] # $SEMVER_BRANCH = main [2021-11-11T20:04:24.563Z] # $SEMVER_TEMP = /tmp/semver-731905622 [2021-11-11T20:04:24.564Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-11T20:04:25.508Z] # '/tmp/semver-731905622' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-11-11T20:04:25.508Z] # -> Force: false [2021-11-11T20:04:25.508Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-11T20:04:25.520Z] $ docker exec --env ******** --env ******** 052ed3952f47b340f744ad8cbe6c68c147327290fcd5ccd2c68366b996c1e254 ssh-agent -k [2021-11-11T20:04:25.617Z] unset SSH_AUTH_SOCK; [2021-11-11T20:04:25.617Z] unset SSH_AGENT_PID; [2021-11-11T20:04:25.618Z] echo Agent pid 62 killed; [2021-11-11T20:04:25.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:04:25.936Z] + git semver [Pipeline] } [2021-11-11T20:04:25.957Z] $ docker stop --time=1 052ed3952f47b340f744ad8cbe6c68c147327290fcd5ccd2c68366b996c1e254 [2021-11-11T20:04:27.177Z] $ docker rm -f 052ed3952f47b340f744ad8cbe6c68c147327290fcd5ccd2c68366b996c1e254 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:04:27.530Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T20:04:27.740Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T20:04:27.744Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.32 [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-11T20:04:28.025Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-204 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-11T20:04:28.036Z] Running in /w/workspace/device-sdk-go/31 [Pipeline] { [Pipeline] checkout [2021-11-11T20:04:28.199Z] Selected Git installation does not exist. Using Default [2021-11-11T20:04:28.199Z] The recommended git tool is: NONE [2021-11-11T20:04:33.040Z] using credential edgex-jenkins-ssh [2021-11-11T20:04:33.061Z] Cloning the remote Git repository [2021-11-11T20:04:33.136Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:04:33.237Z] > git init /w/workspace/device-sdk-go/31 # timeout=10 [2021-11-11T20:04:33.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:04:33.316Z] > git --version # timeout=10 [2021-11-11T20:04:33.332Z] > git --version # 'git version 2.17.1' [2021-11-11T20:04:33.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:04:33.415Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:04:34.636Z] Avoid second fetch [2021-11-11T20:04:34.636Z] Checking out Revision 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 (main) [2021-11-11T20:04:34.607Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T20:04:34.630Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:04:34.670Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:04:34.682Z] > git checkout -f 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 # timeout=10 [2021-11-11T20:04:38.901Z] Commit message: "Merge pull request #1066 from lenny-intel/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:04:39.723Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T20:04:39.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:04:39.723Z] Dload Upload Total Spent Left Speed [2021-11-11T20:04:39.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 86941 0 --:--:-- --:--:-- --:--:-- 87585 [Pipeline] sh [2021-11-11T20:04:40.135Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T20:04:40.477Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T20:04:40.477Z] + sudo tee /etc/docker/daemon.new [2021-11-11T20:04:40.477Z] { [2021-11-11T20:04:40.477Z] "registry-mirrors": [ [2021-11-11T20:04:40.477Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T20:04:40.477Z] ], [2021-11-11T20:04:40.477Z] "bip": "10.250.0.254/24", [2021-11-11T20:04:40.477Z] "hosts": [ [2021-11-11T20:04:40.477Z] "tcp://0.0.0.0:5555", [2021-11-11T20:04:40.477Z] "unix:///var/run/docker.sock" [2021-11-11T20:04:40.477Z] ], [2021-11-11T20:04:40.477Z] "mtu": 1458, [2021-11-11T20:04:40.477Z] "selinux-enabled": true, [2021-11-11T20:04:40.477Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T20:04:40.477Z] } [Pipeline] sh [2021-11-11T20:04:40.829Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T20:04:41.182Z] + sudo service docker restart [2021-11-11T20:04:42.870Z] Still waiting to schedule task [2021-11-11T20:04:42.870Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-199’ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:04:59.515Z] provisioning config files... [2021-11-11T20:04:59.539Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/31@tmp/config8318959964022390116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:04:59.891Z] ---> docker-login.sh [2021-11-11T20:04:59.891Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:05:00.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:05:00.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:05:00.760Z] Configure a credential helper to remove this warning. See [2021-11-11T20:05:00.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:05:00.760Z] [2021-11-11T20:05:00.760Z] Login Succeeded [2021-11-11T20:05:00.760Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:05:01.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:05:01.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:05:01.356Z] Configure a credential helper to remove this warning. See [2021-11-11T20:05:01.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:05:01.356Z] [2021-11-11T20:05:01.356Z] Login Succeeded [2021-11-11T20:05:01.356Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:05:01.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:05:01.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:05:01.912Z] Configure a credential helper to remove this warning. See [2021-11-11T20:05:01.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:05:01.912Z] [2021-11-11T20:05:01.912Z] Login Succeeded [2021-11-11T20:05:01.912Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:05:02.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:05:02.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:05:02.457Z] Configure a credential helper to remove this warning. See [2021-11-11T20:05:02.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:05:02.457Z] [2021-11-11T20:05:02.457Z] Login Succeeded [2021-11-11T20:05:02.457Z] docker.io [2021-11-11T20:05:02.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:05:03.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:05:03.324Z] Configure a credential helper to remove this warning. See [2021-11-11T20:05:03.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:05:03.324Z] [2021-11-11T20:05:03.324Z] Login Succeeded [2021-11-11T20:05:03.324Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:05:03.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:05:03.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:05:03.605Z] ========================================================= [2021-11-11T20:05:03.605Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T20:05:03.605Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:05:03.962Z] + 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-11T20:05:04.235Z] Sending build context to Docker daemon 2.737MB [2021-11-11T20:05:04.511Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:05:04.511Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-11T20:05:04.511Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T20:05:04.511Z] 552d1f2373af: Pulling fs layer [2021-11-11T20:05:04.511Z] ea3f2d53f512: Pulling fs layer [2021-11-11T20:05:04.511Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T20:05:04.511Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T20:05:04.511Z] 72dc09318566: Pulling fs layer [2021-11-11T20:05:04.511Z] f4f7b4309257: Pulling fs layer [2021-11-11T20:05:04.511Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T20:05:04.511Z] b78e95d17946: Pulling fs layer [2021-11-11T20:05:04.511Z] 7a9cfe048b4a: Waiting [2021-11-11T20:05:04.511Z] 72dc09318566: Waiting [2021-11-11T20:05:04.511Z] f4f7b4309257: Waiting [2021-11-11T20:05:04.511Z] 0ac9a79272e3: Waiting [2021-11-11T20:05:04.511Z] b78e95d17946: Waiting [2021-11-11T20:05:04.511Z] 9e70ebbbe112: Verifying Checksum [2021-11-11T20:05:04.511Z] 9e70ebbbe112: Download complete [2021-11-11T20:05:04.511Z] ea3f2d53f512: Verifying Checksum [2021-11-11T20:05:04.511Z] ea3f2d53f512: Download complete [2021-11-11T20:05:04.511Z] 72dc09318566: Verifying Checksum [2021-11-11T20:05:04.511Z] 72dc09318566: Download complete [2021-11-11T20:05:04.788Z] f4f7b4309257: Verifying Checksum [2021-11-11T20:05:04.788Z] f4f7b4309257: Download complete [2021-11-11T20:05:04.788Z] 552d1f2373af: Verifying Checksum [2021-11-11T20:05:04.788Z] 552d1f2373af: Download complete [2021-11-11T20:05:04.788Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T20:05:04.788Z] 0ac9a79272e3: Download complete [2021-11-11T20:05:05.390Z] 552d1f2373af: Pull complete [2021-11-11T20:05:06.375Z] ea3f2d53f512: Pull complete [2021-11-11T20:05:06.687Z] 9e70ebbbe112: Pull complete [2021-11-11T20:05:06.687Z] b78e95d17946: Verifying Checksum [2021-11-11T20:05:06.687Z] b78e95d17946: Download complete [2021-11-11T20:05:07.334Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T20:05:07.334Z] 7a9cfe048b4a: Download complete [2021-11-11T20:05:17.505Z] 7a9cfe048b4a: Pull complete [2021-11-11T20:05:17.780Z] 72dc09318566: Pull complete [2021-11-11T20:05:18.377Z] f4f7b4309257: Pull complete [2021-11-11T20:05:18.651Z] 0ac9a79272e3: Pull complete [2021-11-11T20:05:25.375Z] b78e95d17946: Pull complete [2021-11-11T20:05:25.375Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T20:05:25.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T20:05:25.375Z] ---> 8b459fc5aaf0 [2021-11-11T20:05:25.375Z] Step 3/10 : ARG MAKE=make build [2021-11-11T20:05:25.375Z] ---> Running in c074b9d1611b [2021-11-11T20:05:25.654Z] Removing intermediate container c074b9d1611b [2021-11-11T20:05:25.654Z] ---> 3f890d4226e4 [2021-11-11T20:05:25.654Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-11T20:05:25.654Z] ---> Running in f71945aa2020 [2021-11-11T20:05:26.256Z] Removing intermediate container f71945aa2020 [2021-11-11T20:05:26.256Z] ---> e7327a34c2d9 [2021-11-11T20:05:26.256Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:05:26.256Z] ---> Running in c8f61c92031e [2021-11-11T20:05:26.851Z] Removing intermediate container c8f61c92031e [2021-11-11T20:05:26.851Z] ---> f59eb3255e08 [2021-11-11T20:05:26.851Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:05:26.851Z] ---> Running in aa8a8bedabdf [2021-11-11T20:05:28.828Z] Removing intermediate container aa8a8bedabdf [2021-11-11T20:05:28.828Z] ---> c66f6fc11093 [2021-11-11T20:05:28.828Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:05:28.828Z] ---> Running in 9738fe72fb91 [2021-11-11T20:05:30.262Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:05:30.857Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:05:31.838Z] OK: 219 MiB in 52 packages [2021-11-11T20:05:32.435Z] Removing intermediate container 9738fe72fb91 [2021-11-11T20:05:32.435Z] ---> f330223098c2 [2021-11-11T20:05:32.435Z] Step 8/10 : COPY . . [2021-11-11T20:05:33.870Z] ---> e2791e3b7e5e [2021-11-11T20:05:33.870Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:05:33.870Z] ---> Running in 1485c93186ef [2021-11-11T20:06:55.647Z] Removing intermediate container 1485c93186ef [2021-11-11T20:06:55.647Z] ---> fbb336135f97 [2021-11-11T20:06:55.647Z] Step 10/10 : RUN ${MAKE} [2021-11-11T20:06:55.647Z] ---> Running in 08266c272996 [2021-11-11T20:06:55.647Z] noop [2021-11-11T20:06:55.647Z] Removing intermediate container 08266c272996 [2021-11-11T20:06:55.647Z] ---> 323c48c5fc35 [2021-11-11T20:06:55.647Z] Successfully built 323c48c5fc35 [2021-11-11T20:06:55.647Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:06:55.985Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:06:55.985Z] . [Pipeline] withDockerContainer [2021-11-11T20:06:56.231Z] prd-ubuntu18.04-docker-arm64-4c-16g-204 does not seem to be running inside a container [2021-11-11T20:06:56.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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 ******** ci-base-image-arm64 cat [2021-11-11T20:06:57.733Z] $ docker top 6b55922aee2b64cd5b2117ce130d68db02d51da8d383e20c1c3b7c897bc09edd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:06:58.662Z] + go version [2021-11-11T20:06:58.662Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T20:06:58.699Z] $ docker stop --time=1 6b55922aee2b64cd5b2117ce130d68db02d51da8d383e20c1c3b7c897bc09edd [2021-11-11T20:07:00.337Z] $ docker rm -f 6b55922aee2b64cd5b2117ce130d68db02d51da8d383e20c1c3b7c897bc09edd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:07:01.591Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:07:01.591Z] . [Pipeline] withDockerContainer [2021-11-11T20:07:01.825Z] prd-ubuntu18.04-docker-arm64-4c-16g-204 does not seem to be running inside a container [2021-11-11T20:07:01.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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 ******** ci-base-image-arm64 cat [2021-11-11T20:07:03.373Z] $ docker top 056eaee21520ea53ab0ac66a194c9bd4219d9f810b609a4f79bd18251da53a3f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T20:07:04.296Z] + make test [2021-11-11T20:07:04.296Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-11T20:07:26.466Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-11T20:08:34.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-11T20:08:34.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-11T20:08:34.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-11T20:08:39.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.253s coverage: 23.3% of statements [2021-11-11T20:08:39.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-11T20:08:39.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.228s coverage: 27.6% of statements [2021-11-11T20:08:39.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.231s coverage: 78.9% of statements [2021-11-11T20:08:39.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.236s coverage: 9.0% of statements [2021-11-11T20:08:39.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-11T20:08:39.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-11T20:08:39.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-11T20:08:40.928Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.294s coverage: 28.7% of statements [2021-11-11T20:08:40.928Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-11T20:08:41.527Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.293s coverage: 83.3% of statements [2021-11-11T20:08:41.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-11T20:08:41.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T20:08:42.127Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.347s coverage: 57.8% of statements [2021-11-11T20:08:45.776Z] Running on prd-centos7-docker-4c-2g-206 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-11T20:08:45.792Z] Running in /w/workspace/device-sdk-go/31 [Pipeline] { [Pipeline] checkout [2021-11-11T20:08:45.902Z] Selected Git installation does not exist. Using Default [2021-11-11T20:08:45.902Z] The recommended git tool is: NONE [2021-11-11T20:08:46.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.006s coverage: 89.2% of statements [2021-11-11T20:08:46.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-11T20:08:46.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.204s coverage: 4.8% of statements [2021-11-11T20:08:46.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-11T20:08:47.060Z] GO111MODULE=on go vet ./... [2021-11-11T20:08:47.960Z] using credential edgex-jenkins-ssh [2021-11-11T20:08:47.971Z] Cloning the remote Git repository [2021-11-11T20:08:47.140Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:08:47.200Z] > git init /w/workspace/device-sdk-go/31 # timeout=10 [2021-11-11T20:08:47.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:08:47.230Z] > git --version # timeout=10 [2021-11-11T20:08:47.235Z] > git --version # 'git version 2.24.4' [2021-11-11T20:08:47.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:08:47.258Z] [INFO] Currently running in a labeled security context [2021-11-11T20:08:47.258Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:08:47.258Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/31@tmp/jenkins-gitclient-ssh1595186109425269331.key [2021-11-11T20:08:47.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:08:48.889Z] Avoid second fetch [2021-11-11T20:08:48.889Z] Checking out Revision 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 (main) [2021-11-11T20:08:48.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T20:08:48.034Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:08:48.052Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:08:48.062Z] > git checkout -f 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 # timeout=10 [2021-11-11T20:08:52.488Z] Commit message: "Merge pull request #1066 from lenny-intel/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:08:52.947Z] provisioning config files... [2021-11-11T20:08:52.960Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/31@tmp/config4605662393197822202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:08:53.348Z] ---> docker-login.sh [2021-11-11T20:08:53.348Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:08:53.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:08:53.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:08:53.611Z] Configure a credential helper to remove this warning. See [2021-11-11T20:08:53.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:08:53.611Z] [2021-11-11T20:08:53.611Z] Login Succeeded [2021-11-11T20:08:53.611Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:08:53.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:08:53.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:08:53.611Z] Configure a credential helper to remove this warning. See [2021-11-11T20:08:53.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:08:53.611Z] [2021-11-11T20:08:53.611Z] Login Succeeded [2021-11-11T20:08:53.611Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:08:53.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:08:53.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:08:53.611Z] Configure a credential helper to remove this warning. See [2021-11-11T20:08:53.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:08:53.611Z] [2021-11-11T20:08:53.611Z] Login Succeeded [2021-11-11T20:08:53.611Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:08:53.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:08:53.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:08:53.872Z] Configure a credential helper to remove this warning. See [2021-11-11T20:08:53.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:08:53.872Z] [2021-11-11T20:08:53.872Z] Login Succeeded [2021-11-11T20:08:53.872Z] docker.io [2021-11-11T20:08:53.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:08:54.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:08:54.133Z] Configure a credential helper to remove this warning. See [2021-11-11T20:08:54.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:08:54.133Z] [2021-11-11T20:08:54.133Z] Login Succeeded [2021-11-11T20:08:54.133Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:08:54.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:08:54.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:08:54.311Z] ========================================================= [2021-11-11T20:08:54.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T20:08:54.311Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:08:54.619Z] + 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-11T20:08:54.619Z] Sending build context to Docker daemon 2.739MB [2021-11-11T20:08:54.619Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:08:54.619Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-11T20:08:54.619Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T20:08:54.619Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:08:54.619Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T20:08:54.619Z] b8b176561691: Pulling fs layer [2021-11-11T20:08:54.619Z] 4527c011a84f: Pulling fs layer [2021-11-11T20:08:54.619Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T20:08:54.619Z] e0aca202a116: Pulling fs layer [2021-11-11T20:08:54.619Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T20:08:54.619Z] 34cad66bf833: Pulling fs layer [2021-11-11T20:08:54.619Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T20:08:54.619Z] e0aca202a116: Waiting [2021-11-11T20:08:54.619Z] 3a43be97a3b4: Waiting [2021-11-11T20:08:54.619Z] 34cad66bf833: Waiting [2021-11-11T20:08:54.619Z] b4e3c513aaa6: Waiting [2021-11-11T20:08:54.619Z] 4527c011a84f: Waiting [2021-11-11T20:08:54.619Z] 5d74067f8e1e: Waiting [2021-11-11T20:08:54.619Z] b8b176561691: Verifying Checksum [2021-11-11T20:08:54.619Z] b8b176561691: Download complete [2021-11-11T20:08:54.619Z] 31adcdaf11c8: Verifying Checksum [2021-11-11T20:08:54.619Z] 31adcdaf11c8: Download complete [2021-11-11T20:08:54.619Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T20:08:54.619Z] 5d74067f8e1e: Download complete [2021-11-11T20:08:54.901Z] e0aca202a116: Verifying Checksum [2021-11-11T20:08:54.901Z] e0aca202a116: Download complete [2021-11-11T20:08:54.901Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:08:54.901Z] a0d0a0d46f8b: Download complete [2021-11-11T20:08:54.901Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T20:08:54.901Z] 3a43be97a3b4: Download complete [2021-11-11T20:08:54.901Z] 34cad66bf833: Verifying Checksum [2021-11-11T20:08:54.901Z] 34cad66bf833: Download complete [2021-11-11T20:08:55.174Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T20:08:55.174Z] b4e3c513aaa6: Download complete [2021-11-11T20:08:55.446Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:08:55.446Z] 4527c011a84f: Verifying Checksum [2021-11-11T20:08:55.446Z] 4527c011a84f: Download complete [2021-11-11T20:08:55.446Z] 31adcdaf11c8: Pull complete [2021-11-11T20:08:55.446Z] b8b176561691: Pull complete [2021-11-11T20:08:59.690Z] 4527c011a84f: Pull complete [2021-11-11T20:08:59.690Z] 5d74067f8e1e: Pull complete [2021-11-11T20:08:59.690Z] e0aca202a116: Pull complete [2021-11-11T20:08:59.690Z] 3a43be97a3b4: Pull complete [2021-11-11T20:08:59.690Z] 34cad66bf833: Pull complete [2021-11-11T20:09:02.278Z] b4e3c513aaa6: Pull complete [2021-11-11T20:09:02.278Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T20:09:02.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T20:09:02.278Z] ---> 9f6097aaca64 [2021-11-11T20:09:02.278Z] Step 3/10 : ARG MAKE=make build [2021-11-11T20:09:05.584Z] ---> Running in d99ad53d0ebc [2021-11-11T20:09:05.846Z] Removing intermediate container d99ad53d0ebc [2021-11-11T20:09:05.846Z] ---> b576950b8a6c [2021-11-11T20:09:05.846Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-11T20:09:05.846Z] ---> Running in 1be5dd494eae [2021-11-11T20:09:05.846Z] Removing intermediate container 1be5dd494eae [2021-11-11T20:09:05.846Z] ---> 27236e14881a [2021-11-11T20:09:05.846Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:09:05.846Z] ---> Running in a12c86315a21 [2021-11-11T20:09:05.846Z] Removing intermediate container a12c86315a21 [2021-11-11T20:09:05.846Z] ---> 4fcae53cccff [2021-11-11T20:09:05.846Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:09:06.108Z] ---> Running in 4c27edc26789 [2021-11-11T20:09:06.375Z] Removing intermediate container 4c27edc26789 [2021-11-11T20:09:06.375Z] ---> e27822c2c157 [2021-11-11T20:09:06.375Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:09:06.375Z] ---> Running in 5a0118bab301 [2021-11-11T20:09:06.642Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:09:07.600Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:09:07.863Z] OK: 220 MiB in 52 packages [2021-11-11T20:09:08.130Z] Removing intermediate container 5a0118bab301 [2021-11-11T20:09:08.130Z] ---> 093c782461c6 [2021-11-11T20:09:08.130Z] Step 8/10 : COPY . . [2021-11-11T20:09:08.390Z] ---> ddace5a2db68 [2021-11-11T20:09:08.390Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:09:08.390Z] ---> Running in 119bd012bb51 [2021-11-11T20:09:40.539Z] Removing intermediate container 119bd012bb51 [2021-11-11T20:09:40.539Z] ---> 39034a3cf1a7 [2021-11-11T20:09:40.539Z] Step 10/10 : RUN ${MAKE} [2021-11-11T20:09:40.539Z] ---> Running in d72caaf7a326 [2021-11-11T20:09:40.539Z] noop [2021-11-11T20:09:40.539Z] Removing intermediate container d72caaf7a326 [2021-11-11T20:09:40.539Z] ---> 883d92b09c7d [2021-11-11T20:09:40.539Z] Successfully built 883d92b09c7d [2021-11-11T20:09:40.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:09:40.850Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:09:40.850Z] . [Pipeline] withDockerContainer [2021-11-11T20:09:40.919Z] prd-centos7-docker-4c-2g-206 does not seem to be running inside a container [2021-11-11T20:09:40.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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 ******** ci-base-image-x86_64 cat [2021-11-11T20:09:41.280Z] $ docker top 1cfdf3ea95c1dac9257363868b947f45958baa904a10277551ba0f18278d6306 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:09:41.655Z] + go version [2021-11-11T20:09:41.655Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T20:09:41.667Z] $ docker stop --time=1 1cfdf3ea95c1dac9257363868b947f45958baa904a10277551ba0f18278d6306 [2021-11-11T20:09:42.841Z] $ docker rm -f 1cfdf3ea95c1dac9257363868b947f45958baa904a10277551ba0f18278d6306 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:09:43.302Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:09:43.302Z] . [Pipeline] withDockerContainer [2021-11-11T20:09:43.365Z] prd-centos7-docker-4c-2g-206 does not seem to be running inside a container [2021-11-11T20:09:43.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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 ******** ci-base-image-x86_64 cat [2021-11-11T20:09:43.635Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:09:43.635Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:09:43.635Z] ./bin/test-attribution-txt.sh [2021-11-11T20:09:43.777Z] $ docker top d9525d4c35736ac5ef9229aaccbda48cb57ea7e0fc524bf4aaec49612b92878a -eo pid,comm [Pipeline] { [Pipeline] } [2021-11-11T20:09:43.857Z] $ docker stop --time=1 056eaee21520ea53ab0ac66a194c9bd4219d9f810b609a4f79bd18251da53a3f [2021-11-11T20:09:45.746Z] $ docker rm -f 056eaee21520ea53ab0ac66a194c9bd4219d9f810b609a4f79bd18251da53a3f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] fileExists [Pipeline] sh [2021-11-11T20:09:46.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:09:46.849Z] + make test [2021-11-11T20:09:46.849Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-11T20:09:47.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:09:48.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T20:09:49.281Z] + ls -al . [2021-11-11T20:09:49.281Z] total 300 [2021-11-11T20:09:49.281Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 20:09 . [2021-11-11T20:09:49.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:04 .. [2021-11-11T20:09:49.281Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 20:04 .dockerignore [2021-11-11T20:09:49.281Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:04 .git [2021-11-11T20:09:49.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:04 .github [2021-11-11T20:09:49.281Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 11 20:04 .gitignore [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 11 20:04 CHANGELOG.md [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 20:04 GOVERNANCE.md [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 11 20:04 Jenkinsfile [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 20:04 LICENSE [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 11 20:04 Makefile [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 20:04 OWNERS.md [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 11 20:04 README.md [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 11 20:04 VERSION [2021-11-11T20:09:49.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:04 bin [2021-11-11T20:09:49.282Z] -rw-r--r-- 1 jenkins jenkins 128370 Nov 11 20:08 coverage.out [2021-11-11T20:09:49.282Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 20:04 example [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 576 Nov 11 20:04 go.mod [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 48946 Nov 11 20:04 go.sum [2021-11-11T20:09:49.282Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 11 20:04 internal [2021-11-11T20:09:49.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:04 openapi [2021-11-11T20:09:49.282Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 20:04 pkg [2021-11-11T20:09:49.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:04 snap [2021-11-11T20:09:49.282Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 20:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:09:49.688Z] + 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=8594ac2f7ffce9ed2fa5e632b0287c300efb8695 --label arch=arm64 --label version=2.0.1-dev.32 . [2021-11-11T20:09:50.297Z] Sending build context to Docker daemon 2.866MB [2021-11-11T20:09:50.572Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:09:50.572Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T20:09:50.572Z] ---> 323c48c5fc35 [2021-11-11T20:09:50.572Z] Step 3/24 : ARG MAKE=make build [2021-11-11T20:09:50.572Z] ---> Running in 6933ad3479fd [2021-11-11T20:09:51.166Z] Removing intermediate container 6933ad3479fd [2021-11-11T20:09:51.166Z] ---> 0e11e8b897e6 [2021-11-11T20:09:51.166Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-11T20:09:51.166Z] ---> Running in b6c8d5dd209f [2021-11-11T20:09:51.439Z] Removing intermediate container b6c8d5dd209f [2021-11-11T20:09:51.439Z] ---> 5e47eaac5220 [2021-11-11T20:09:51.439Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:09:51.710Z] ---> Running in 886b80322d2e [2021-11-11T20:09:51.985Z] Removing intermediate container 886b80322d2e [2021-11-11T20:09:51.985Z] ---> f1c5b27c2b73 [2021-11-11T20:09:51.985Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:09:51.985Z] ---> Running in e57f42c2ada5 [2021-11-11T20:09:52.244Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-11T20:09:53.990Z] Removing intermediate container e57f42c2ada5 [2021-11-11T20:09:53.990Z] ---> faa110b10253 [2021-11-11T20:09:53.990Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:09:53.990Z] ---> Running in db0fa1325bff [2021-11-11T20:09:55.425Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:09:56.015Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:09:56.990Z] OK: 219 MiB in 52 packages [2021-11-11T20:09:57.965Z] Removing intermediate container db0fa1325bff [2021-11-11T20:09:57.965Z] ---> 63f849c2353c [2021-11-11T20:09:57.965Z] Step 8/24 : COPY . . [2021-11-11T20:09:58.952Z] ---> 8a14642bdfee [2021-11-11T20:09:58.952Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:09:58.952Z] ---> Running in 7c85c1ecb889 [2021-11-11T20:10:01.573Z] Removing intermediate container 7c85c1ecb889 [2021-11-11T20:10:01.573Z] ---> 3e71844206dc [2021-11-11T20:10:01.573Z] Step 10/24 : RUN ${MAKE} [2021-11-11T20:10:01.573Z] ---> Running in b77cd4f88f47 [2021-11-11T20:10:02.551Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.32" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-11T20:10:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-11T20:10:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-11T20:10:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-11T20:10:18.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.064s coverage: 23.3% of statements [2021-11-11T20:10:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-11T20:10:18.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.045s coverage: 27.6% of statements [2021-11-11T20:10:18.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-11-11T20:10:18.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements [2021-11-11T20:10:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-11T20:10:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-11T20:10:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-11T20:10:18.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.073s coverage: 28.7% of statements [2021-11-11T20:10:18.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-11T20:10:19.568Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.048s coverage: 83.3% of statements [2021-11-11T20:10:19.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-11T20:10:19.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T20:10:19.568Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-11-11T20:10:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.842s coverage: 89.2% of statements [2021-11-11T20:10:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-11T20:10:20.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.8% of statements [2021-11-11T20:10:20.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-11T20:10:20.980Z] GO111MODULE=on go vet ./... [2021-11-11T20:10:34.901Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-11T20:10:37.514Z] Removing intermediate container b77cd4f88f47 [2021-11-11T20:10:37.514Z] ---> 7fd2152a6946 [2021-11-11T20:10:37.514Z] Step 11/24 : FROM alpine:3.14 [2021-11-11T20:10:39.177Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:10:39.177Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:10:39.177Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T20:10:39.449Z] $ docker stop --time=1 d9525d4c35736ac5ef9229aaccbda48cb57ea7e0fc524bf4aaec49612b92878a [2021-11-11T20:10:40.898Z] $ docker rm -f d9525d4c35736ac5ef9229aaccbda48cb57ea7e0fc524bf4aaec49612b92878a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:10:41.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:10:41.340Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T20:10:41.530Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-11-11T20:10:41.798Z] 3.14: Pulling from library/alpine [2021-11-11T20:10:41.798Z] 552d1f2373af: Already exists [2021-11-11T20:10:41.798Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:10:41.798Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:10:41.798Z] ---> bb3de5531c18 [2021-11-11T20:10:41.798Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:10:41.798Z] ---> Running in a75ee67c4dff [2021-11-11T20:10:42.073Z] Removing intermediate container a75ee67c4dff [2021-11-11T20:10:42.073Z] ---> ea1acd23c6b2 [2021-11-11T20:10:42.073Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:10:42.073Z] ---> Running in 7a4c9a1b2a55 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-11T20:10:43.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T20:10:43.856Z] + ls -al . [2021-11-11T20:10:43.856Z] total 264 [2021-11-11T20:10:43.856Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 11 20:10 . [2021-11-11T20:10:43.856Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 11 20:08 .. [2021-11-11T20:10:43.856Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 20:08 bin [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 11 20:08 CHANGELOG.md [2021-11-11T20:10:43.856Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 11 20:10 coverage.out [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 11 20:08 .dockerignore [2021-11-11T20:10:43.856Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 11 20:08 example [2021-11-11T20:10:43.856Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 11 20:08 .git [2021-11-11T20:10:43.856Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 11 20:08 .github [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 11 20:08 .gitignore [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 576 Nov 11 20:08 go.mod [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 48946 Nov 11 20:08 go.sum [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 20:08 GOVERNANCE.md [2021-11-11T20:10:43.856Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 11 20:08 internal [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 11 20:08 Jenkinsfile [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 11 20:08 LICENSE [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 11 20:08 Makefile [2021-11-11T20:10:43.856Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 11 20:08 openapi [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 11 20:08 OWNERS.md [2021-11-11T20:10:43.856Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 11 20:08 pkg [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 11 20:08 README.md [2021-11-11T20:10:43.856Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 11 20:08 snap [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 11 20:04 VERSION [2021-11-11T20:10:43.856Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 11 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:10:44.045Z] Removing intermediate container 7a4c9a1b2a55 [2021-11-11T20:10:44.046Z] ---> 46848a03937d [2021-11-11T20:10:44.046Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-11T20:10:44.046Z] ---> Running in bcd86f57738b [2021-11-11T20:10:44.168Z] + 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=8594ac2f7ffce9ed2fa5e632b0287c300efb8695 --label arch=amd64 --label version=2.0.1-dev.32 . [2021-11-11T20:10:44.168Z] Sending build context to Docker daemon 2.868MB [2021-11-11T20:10:44.168Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:10:44.168Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T20:10:44.168Z] ---> 883d92b09c7d [2021-11-11T20:10:44.168Z] Step 3/24 : ARG MAKE=make build [2021-11-11T20:10:44.168Z] ---> Running in 259f7137cdbe [2021-11-11T20:10:44.430Z] Removing intermediate container 259f7137cdbe [2021-11-11T20:10:44.430Z] ---> 19c50dae1fc8 [2021-11-11T20:10:44.430Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-11T20:10:44.430Z] ---> Running in bb4114048bd3 [2021-11-11T20:10:44.430Z] Removing intermediate container bb4114048bd3 [2021-11-11T20:10:44.430Z] ---> 81748c4669d4 [2021-11-11T20:10:44.430Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:10:44.430Z] ---> Running in fd8211cabbd4 [2021-11-11T20:10:44.430Z] Removing intermediate container fd8211cabbd4 [2021-11-11T20:10:44.430Z] ---> de26c7697994 [2021-11-11T20:10:44.430Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:10:44.699Z] ---> Running in d4928a5a982c [2021-11-11T20:10:44.960Z] Removing intermediate container d4928a5a982c [2021-11-11T20:10:44.960Z] ---> b6032012de05 [2021-11-11T20:10:44.960Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:10:44.960Z] ---> Running in 7404c070b88a [2021-11-11T20:10:45.219Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:10:45.474Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:10:46.065Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:10:46.175Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:10:46.437Z] OK: 220 MiB in 52 packages [2021-11-11T20:10:46.705Z] Removing intermediate container 7404c070b88a [2021-11-11T20:10:46.705Z] ---> 4f95e0178249 [2021-11-11T20:10:46.705Z] Step 8/24 : COPY . . [2021-11-11T20:10:47.039Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:10:47.039Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-11T20:10:47.039Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:10:47.039Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-11T20:10:47.282Z] ---> c8bc633cce12 [2021-11-11T20:10:47.282Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:10:47.282Z] ---> Running in ba135dd76dfe [2021-11-11T20:10:47.310Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-11T20:10:47.310Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:10:47.310Z] OK: 8 MiB in 19 packages [2021-11-11T20:10:47.854Z] Removing intermediate container ba135dd76dfe [2021-11-11T20:10:47.854Z] ---> 1887a1ef8d57 [2021-11-11T20:10:47.854Z] Step 10/24 : RUN ${MAKE} [2021-11-11T20:10:47.854Z] ---> Running in 5df46b4a8f66 [2021-11-11T20:10:48.122Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.32" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-11T20:10:48.291Z] Removing intermediate container bcd86f57738b [2021-11-11T20:10:48.291Z] ---> 6b0fd32789a5 [2021-11-11T20:10:48.291Z] Step 15/24 : WORKDIR / [2021-11-11T20:10:48.291Z] ---> Running in ffe3c4ee16fe [2021-11-11T20:10:48.883Z] Removing intermediate container ffe3c4ee16fe [2021-11-11T20:10:48.883Z] ---> ac086cbdb6b8 [2021-11-11T20:10:48.883Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-11T20:10:49.475Z] ---> 6903d60fc56a [2021-11-11T20:10:49.475Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-11T20:10:50.899Z] ---> 310817519e72 [2021-11-11T20:10:50.899Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-11T20:10:51.491Z] ---> 2dbc4d08cc29 [2021-11-11T20:10:51.491Z] Step 19/24 : EXPOSE 59999 [2021-11-11T20:10:51.491Z] ---> Running in 11df17a24035 [2021-11-11T20:10:51.773Z] Removing intermediate container 11df17a24035 [2021-11-11T20:10:51.773Z] ---> 6e9f694b419b [2021-11-11T20:10:51.773Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-11T20:10:52.047Z] ---> Running in c1fbc3552d3e [2021-11-11T20:10:52.319Z] Removing intermediate container c1fbc3552d3e [2021-11-11T20:10:52.319Z] ---> 18febaf2e2cb [2021-11-11T20:10:52.319Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T20:10:52.590Z] ---> Running in 43c277de4e23 [2021-11-11T20:10:52.862Z] Removing intermediate container 43c277de4e23 [2021-11-11T20:10:52.862Z] ---> 9ce1e1917c24 [2021-11-11T20:10:52.862Z] Step 22/24 : LABEL arch=arm64 [2021-11-11T20:10:52.862Z] ---> Running in accbc0dfb8b4 [2021-11-11T20:10:53.454Z] Removing intermediate container accbc0dfb8b4 [2021-11-11T20:10:53.454Z] ---> 9cbc2b667f70 [2021-11-11T20:10:53.454Z] Step 23/24 : LABEL git_sha=8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [2021-11-11T20:10:53.454Z] ---> Running in 021ba14ddf88 [2021-11-11T20:10:53.726Z] Removing intermediate container 021ba14ddf88 [2021-11-11T20:10:53.726Z] ---> f58a86a519ab [2021-11-11T20:10:53.726Z] Step 24/24 : LABEL version=2.0.1-dev.32 [2021-11-11T20:10:53.999Z] ---> Running in edaccd7b64b9 [2021-11-11T20:10:54.269Z] Removing intermediate container edaccd7b64b9 [2021-11-11T20:10:54.269Z] ---> 3bf93c87384e [2021-11-11T20:10:54.269Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:10:54.269Z] Successfully built 3bf93c87384e [2021-11-11T20:10:54.269Z] 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-11T20:10:54.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:10:54.835Z] [2021-11-11T20:10:54.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:10:55.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:10:55.450Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T20:10:55.450Z] 448f6bf000e3: Pulling fs layer [2021-11-11T20:10:55.450Z] f757da607395: Pulling fs layer [2021-11-11T20:10:55.450Z] 05883995daec: Pulling fs layer [2021-11-11T20:10:55.450Z] 8603b9c90790: Pulling fs layer [2021-11-11T20:10:55.450Z] 1560dd03e051: Pulling fs layer [2021-11-11T20:10:55.450Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T20:10:55.450Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T20:10:55.450Z] 27f5ce0e4adf: Waiting [2021-11-11T20:10:55.450Z] c2d8d7efcc4b: Waiting [2021-11-11T20:10:55.450Z] 8603b9c90790: Waiting [2021-11-11T20:10:55.450Z] f757da607395: Download complete [2021-11-11T20:10:55.450Z] 8603b9c90790: Verifying Checksum [2021-11-11T20:10:55.450Z] 8603b9c90790: Download complete [2021-11-11T20:10:55.450Z] 1560dd03e051: Verifying Checksum [2021-11-11T20:10:55.450Z] 1560dd03e051: Download complete [2021-11-11T20:10:55.722Z] 27f5ce0e4adf: Verifying Checksum [2021-11-11T20:10:55.722Z] 27f5ce0e4adf: Download complete [2021-11-11T20:10:55.722Z] 05883995daec: Verifying Checksum [2021-11-11T20:10:55.722Z] 05883995daec: Download complete [2021-11-11T20:10:55.995Z] 448f6bf000e3: Download complete [2021-11-11T20:10:58.620Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T20:10:58.620Z] c2d8d7efcc4b: Download complete [2021-11-11T20:10:59.597Z] 448f6bf000e3: Pull complete [2021-11-11T20:11:00.193Z] f757da607395: Pull complete [2021-11-11T20:11:00.487Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-11T20:11:00.487Z] Removing intermediate container 5df46b4a8f66 [2021-11-11T20:11:00.487Z] ---> ec62b8d2dbb3 [2021-11-11T20:11:00.487Z] Step 11/24 : FROM alpine:3.14 [2021-11-11T20:11:01.626Z] 05883995daec: Pull complete [2021-11-11T20:11:01.898Z] 8603b9c90790: Pull complete [2021-11-11T20:11:02.879Z] 1560dd03e051: Pull complete [2021-11-11T20:11:03.034Z] 3.14: Pulling from library/alpine [2021-11-11T20:11:03.152Z] 27f5ce0e4adf: Pull complete [2021-11-11T20:11:03.292Z] a0d0a0d46f8b: Already exists [2021-11-11T20:11:03.551Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:11:03.551Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:11:03.551Z] ---> 14119a10abf4 [2021-11-11T20:11:03.551Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:11:03.551Z] ---> Running in d9d2af37bdba [2021-11-11T20:11:03.551Z] Removing intermediate container d9d2af37bdba [2021-11-11T20:11:03.551Z] ---> 9fda654e0a3e [2021-11-11T20:11:03.551Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:11:03.551Z] ---> Running in 1c47572be7b4 [2021-11-11T20:11:04.133Z] Removing intermediate container 1c47572be7b4 [2021-11-11T20:11:04.133Z] ---> 316067999f83 [2021-11-11T20:11:04.133Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-11T20:11:04.133Z] ---> Running in a1f31486ba16 [2021-11-11T20:11:04.391Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:11:05.331Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:11:05.331Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:11:05.592Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-11T20:11:05.592Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:11:05.854Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-11T20:11:05.854Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-11T20:11:05.854Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:11:05.854Z] OK: 8 MiB in 19 packages [2021-11-11T20:11:06.423Z] Removing intermediate container a1f31486ba16 [2021-11-11T20:11:06.423Z] ---> 961a9cbe0289 [2021-11-11T20:11:06.423Z] Step 15/24 : WORKDIR / [2021-11-11T20:11:06.684Z] ---> Running in 323d4deceb68 [2021-11-11T20:11:06.953Z] Removing intermediate container 323d4deceb68 [2021-11-11T20:11:06.953Z] ---> 0224343f67df [2021-11-11T20:11:06.953Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-11T20:11:06.953Z] ---> b01c63704b0e [2021-11-11T20:11:06.953Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-11T20:11:07.215Z] ---> ffcd3309a679 [2021-11-11T20:11:07.215Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-11T20:11:07.477Z] ---> eea298fdf3fb [2021-11-11T20:11:07.477Z] Step 19/24 : EXPOSE 59999 [2021-11-11T20:11:07.477Z] ---> Running in c988bf9ce8a4 [2021-11-11T20:11:07.477Z] Removing intermediate container c988bf9ce8a4 [2021-11-11T20:11:07.477Z] ---> 8a59a3e6d520 [2021-11-11T20:11:07.477Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-11T20:11:07.477Z] ---> Running in 19493720b260 [2021-11-11T20:11:07.737Z] Removing intermediate container 19493720b260 [2021-11-11T20:11:07.737Z] ---> d0bdbcef2be8 [2021-11-11T20:11:07.737Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T20:11:07.737Z] ---> Running in 6f580145a0a6 [2021-11-11T20:11:07.737Z] Removing intermediate container 6f580145a0a6 [2021-11-11T20:11:07.737Z] ---> 99310bb5e129 [2021-11-11T20:11:07.737Z] Step 22/24 : LABEL arch=amd64 [2021-11-11T20:11:07.737Z] ---> Running in 2647ef5152e9 [2021-11-11T20:11:07.997Z] Removing intermediate container 2647ef5152e9 [2021-11-11T20:11:07.997Z] ---> 3b2da7284f9a [2021-11-11T20:11:07.997Z] Step 23/24 : LABEL git_sha=8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [2021-11-11T20:11:07.997Z] ---> Running in 76981873d151 [2021-11-11T20:11:07.997Z] Removing intermediate container 76981873d151 [2021-11-11T20:11:07.997Z] ---> 90048e2491bc [2021-11-11T20:11:07.997Z] Step 24/24 : LABEL version=2.0.1-dev.32 [2021-11-11T20:11:07.997Z] ---> Running in 485e5a335c9a [2021-11-11T20:11:07.997Z] Removing intermediate container 485e5a335c9a [2021-11-11T20:11:07.997Z] ---> 77effbb2d5d1 [2021-11-11T20:11:07.997Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:11:07.997Z] Successfully built 77effbb2d5d1 [2021-11-11T20:11:07.997Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:11:08.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:11:08.541Z] [2021-11-11T20:11:08.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:11:08.843Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:11:08.843Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:11:08.844Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:11:08.844Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:11:08.844Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:11:08.844Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:11:08.844Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:11:08.844Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:11:08.844Z] d287ab97295c: Pulling fs layer [2021-11-11T20:11:08.844Z] 77bc0d833cb6: Waiting [2021-11-11T20:11:08.844Z] 9065ff56babe: Waiting [2021-11-11T20:11:08.844Z] d287ab97295c: Waiting [2021-11-11T20:11:08.844Z] dc539afda2c1: Waiting [2021-11-11T20:11:08.844Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:11:08.844Z] a1111a8f2ec3: Download complete [2021-11-11T20:11:08.844Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:11:08.844Z] dc539afda2c1: Download complete [2021-11-11T20:11:08.844Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:11:08.844Z] ed53099fbce6: Download complete [2021-11-11T20:11:08.844Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:11:08.844Z] 77bc0d833cb6: Download complete [2021-11-11T20:11:09.108Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:11:09.108Z] 9065ff56babe: Download complete [2021-11-11T20:11:09.108Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:11:09.108Z] b4d181a07f80: Download complete [2021-11-11T20:11:09.682Z] d287ab97295c: Verifying Checksum [2021-11-11T20:11:09.682Z] d287ab97295c: Download complete [2021-11-11T20:11:10.635Z] b4d181a07f80: Pull complete [2021-11-11T20:11:10.635Z] a1111a8f2ec3: Pull complete [2021-11-11T20:11:11.211Z] ed53099fbce6: Pull complete [2021-11-11T20:11:11.470Z] dc539afda2c1: Pull complete [2021-11-11T20:11:11.738Z] 77bc0d833cb6: Pull complete [2021-11-11T20:11:11.738Z] 9065ff56babe: Pull complete [2021-11-11T20:11:17.067Z] d287ab97295c: Pull complete [2021-11-11T20:11:17.067Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:11:17.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:11:17.067Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:11:17.132Z] prd-centos7-docker-4c-2g-206 does not seem to be running inside a container [2021-11-11T20:11:17.178Z] $ 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/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:11:18.233Z] c2d8d7efcc4b: Pull complete [2021-11-11T20:11:18.233Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T20:11:18.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:11:18.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:11:19.643Z] $ docker top 90a95779444f0c422f421dc1de685d5d01ab3b2396cb3e10d114068dc1598b88 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-11-11T20:11:19.943Z] prd-ubuntu18.04-docker-arm64-4c-16g-204 does not seem to be running inside a container [2021-11-11T20:11:20.056Z] $ 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/31 -v /w/workspace/device-sdk-go/31:/w/workspace/device-sdk-go/31:rw,z -v /w/workspace/device-sdk-go/31@tmp:/w/workspace/device-sdk-go/31@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-11T20:11:22.806Z] $ docker top 1036bd9d6ef4c0bc608d392f8cbef529464beec8028395ebc7d8ca1920594891 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:11:23.481Z] ---> job-cost.sh [2021-11-11T20:11:23.481Z] lf-activate-venv: SKIPPING [2021-11-11T20:11:23.481Z] INFO: No Stack... [2021-11-11T20:11:23.885Z] ---> job-cost.sh [2021-11-11T20:11:23.885Z] lf-activate-venv: SKIPPING [2021-11-11T20:11:23.885Z] INFO: No Stack... [2021-11-11T20:11:24.049Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:11:24.310Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:11:24.476Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T20:11:24.609Z] + cat /w/workspace/device-sdk-go/31/archives/cost.csv [2021-11-11T20:11:24.609Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T20:11:24.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-31-stack-cost] [2021-11-11T20:11:24.643Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-31-stack-cost] did not exist. Created. [2021-11-11T20:11:24.643Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:11:24.961Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T20:11:24.995Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:11:25.002Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:11:25.020Z] $ docker stop --time=1 90a95779444f0c422f421dc1de685d5d01ab3b2396cb3e10d114068dc1598b88 [2021-11-11T20:11:25.067Z] INFO: Archiving Costs [2021-11-11T20:11:26.179Z] $ docker rm -f 90a95779444f0c422f421dc1de685d5d01ab3b2396cb3e10d114068dc1598b88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-11T20:11:26.883Z] + cat /w/workspace/device-sdk-go/31/archives/cost.csv [2021-11-11T20:11:26.883Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T20:11:26.942Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-31-stack-cost] [2021-11-11T20:11:26.950Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-31-stack-cost] did not exist. Created. [2021-11-11T20:11:26.950Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:11:27.623Z] /w/workspace/device-sdk-go/31@tmp/durable-00e53315/script.sh: 1: /w/workspace/device-sdk-go/31@tmp/durable-00e53315/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T20:11:28.283Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T20:11:28.309Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T20:11:28.365Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:11:28.371Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:11:28.400Z] $ docker stop --time=1 1036bd9d6ef4c0bc608d392f8cbef529464beec8028395ebc7d8ca1920594891 [2021-11-11T20:11:29.949Z] $ docker rm -f 1036bd9d6ef4c0bc608d392f8cbef529464beec8028395ebc7d8ca1920594891 [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-11T20:11:30.670Z] provisioning config files... [2021-11-11T20:11:30.678Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5719569948642998841tmp [Pipeline] { [Pipeline] sh [2021-11-11T20:11:30.989Z] + set +x [2021-11-11T20:11:30.990Z] + curl -s https://codecov.io/bash [2021-11-11T20:11:30.990Z] + bash -s -- [2021-11-11T20:11:30.990Z] [2021-11-11T20:11:30.990Z] _____ _ [2021-11-11T20:11:30.990Z] / ____| | | [2021-11-11T20:11:30.990Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T20:11:30.990Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T20:11:30.990Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T20:11:30.990Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T20:11:30.990Z] Bash-1.0.6 [2021-11-11T20:11:30.990Z] [2021-11-11T20:11:30.990Z] [2021-11-11T20:11:30.990Z] ==> git version 2.24.4 found [2021-11-11T20:11:30.990Z] ==> 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-11T20:11:30.990Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T20:11:30.990Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T20:11:30.990Z] ==> Jenkins CI detected. [2021-11-11T20:11:31.249Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-11T20:11:31.249Z] project root: . [2021-11-11T20:11:31.249Z] --> token set from env [2021-11-11T20:11:31.249Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T20:11:31.249Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T20:11:31.249Z] ==> Python coveragepy not found [2021-11-11T20:11:31.249Z] ==> Searching for coverage reports in: [2021-11-11T20:11:31.249Z] + . [2021-11-11T20:11:31.249Z] -> Found 1 reports [2021-11-11T20:11:31.249Z] ==> Detecting git/mercurial file structure [2021-11-11T20:11:31.249Z] ==> Reading reports [2021-11-11T20:11:31.249Z] + ./coverage.out bytes=128369 [2021-11-11T20:11:31.249Z] ==> Appending adjustments [2021-11-11T20:11:31.249Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T20:11:31.510Z] + Found adjustments [2021-11-11T20:11:31.510Z] ==> Gzipping contents [2021-11-11T20:11:31.510Z] 16K /tmp/codecov.KKFNMZ.gz [2021-11-11T20:11:31.510Z] ==> Uploading reports [2021-11-11T20:11:31.510Z] url: https://codecov.io [2021-11-11T20:11:31.510Z] query: branch=main&commit=8594ac2f7ffce9ed2fa5e632b0287c300efb8695&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T20:11:31.510Z] -> Pinging Codecov [2021-11-11T20:11:31.510Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=8594ac2f7ffce9ed2fa5e632b0287c300efb8695&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T20:11:32.081Z] -> Uploading to [2021-11-11T20:11:32.081Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/7E55EF52A471D76F132DFD9A03CDDE97/8594ac2f7ffce9ed2fa5e632b0287c300efb8695/219256e8-c8c8-4c1d-9fba-e811908251d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T201131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4703230a2da6b4cdd6e44df78f3512385d9460104d9749e2e605261ab944762e [2021-11-11T20:11:32.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:11:32.081Z] Dload Upload Total Spent Left Speed [2021-11-11T20:11:32.342Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16310 0 0 100 16310 0 45690 --:--:-- --:--:-- --:--:-- 45814 [2021-11-11T20:11:32.342Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [Pipeline] } [2021-11-11T20:11:32.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-11T20:11:32.710Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-11T20:11:32.721Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:11:33.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T20:11:33.012Z] [2021-11-11T20:11:33.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:11:33.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T20:11:33.311Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-11T20:11:33.311Z] 188c0c94c7c5: Pulling fs layer [2021-11-11T20:11:33.311Z] 0ef7d3d256c8: Pulling fs layer [2021-11-11T20:11:33.311Z] de9db76c5a1d: Pulling fs layer [2021-11-11T20:11:33.311Z] 0eba1c9be4d2: Pulling fs layer [2021-11-11T20:11:33.311Z] 0d57e429df01: Pulling fs layer [2021-11-11T20:11:33.311Z] 4e4be7b47b0d: Pulling fs layer [2021-11-11T20:11:33.311Z] e1f770b5df2f: Pulling fs layer [2021-11-11T20:11:33.311Z] 85a0685a4137: Pulling fs layer [2021-11-11T20:11:33.311Z] 0d57e429df01: Waiting [2021-11-11T20:11:33.311Z] 4e4be7b47b0d: Waiting [2021-11-11T20:11:33.311Z] e1f770b5df2f: Waiting [2021-11-11T20:11:33.311Z] 85a0685a4137: Waiting [2021-11-11T20:11:33.311Z] 0eba1c9be4d2: Waiting [2021-11-11T20:11:33.311Z] de9db76c5a1d: Verifying Checksum [2021-11-11T20:11:33.311Z] de9db76c5a1d: Download complete [2021-11-11T20:11:33.311Z] 0ef7d3d256c8: Verifying Checksum [2021-11-11T20:11:33.311Z] 0ef7d3d256c8: Download complete [2021-11-11T20:11:33.311Z] 0d57e429df01: Verifying Checksum [2021-11-11T20:11:33.311Z] 0d57e429df01: Download complete [2021-11-11T20:11:33.311Z] 188c0c94c7c5: Verifying Checksum [2021-11-11T20:11:33.311Z] 188c0c94c7c5: Download complete [2021-11-11T20:11:33.311Z] 4e4be7b47b0d: Verifying Checksum [2021-11-11T20:11:33.311Z] 4e4be7b47b0d: Download complete [2021-11-11T20:11:33.577Z] e1f770b5df2f: Verifying Checksum [2021-11-11T20:11:33.577Z] e1f770b5df2f: Download complete [2021-11-11T20:11:33.841Z] 0eba1c9be4d2: Verifying Checksum [2021-11-11T20:11:33.841Z] 0eba1c9be4d2: Download complete [2021-11-11T20:11:33.841Z] 188c0c94c7c5: Pull complete [2021-11-11T20:11:34.104Z] 85a0685a4137: Verifying Checksum [2021-11-11T20:11:34.104Z] 85a0685a4137: Download complete [2021-11-11T20:11:34.104Z] 0ef7d3d256c8: Pull complete [2021-11-11T20:11:34.104Z] de9db76c5a1d: Pull complete [2021-11-11T20:11:37.447Z] 0eba1c9be4d2: Pull complete [2021-11-11T20:11:37.447Z] 0d57e429df01: Pull complete [2021-11-11T20:11:37.708Z] 4e4be7b47b0d: Pull complete [2021-11-11T20:11:38.278Z] e1f770b5df2f: Pull complete [2021-11-11T20:11:42.526Z] 85a0685a4137: Pull complete [2021-11-11T20:11:42.526Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-11T20:11:42.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T20:11:42.526Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-11T20:11:42.584Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2021-11-11T20:11:42.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-11T20:11:45.003Z] $ docker top 0150a507f651f1aeec787a321c58c48f4e00e5f3c3b7cfb0c754bd380ca0fe72 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-11T20:11:45.088Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-11T20:11:45.366Z] + set -o pipefail [2021-11-11T20:11:45.366Z] + snyk monitor '--org=edgex-jenkins' [2021-11-11T20:11:50.660Z] [2021-11-11T20:11:50.660Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-11-11T20:11:50.660Z] [2021-11-11T20:11:50.660Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/83ab1177-f229-4d7d-be61-712340944ce1 [2021-11-11T20:11:50.660Z] [2021-11-11T20:11:50.660Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-11T20:11:50.660Z] [2021-11-11T20:11:50.660Z] [2021-11-11T20:11:50.660Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-11T20:11:50.660Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-11T20:11:50.671Z] $ docker stop --time=1 0150a507f651f1aeec787a321c58c48f4e00e5f3c3b7cfb0c754bd380ca0fe72 [2021-11-11T20:11:52.660Z] $ docker rm -f 0150a507f651f1aeec787a321c58c48f4e00e5f3c3b7cfb0c754bd380ca0fe72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-11-11T20:11:53.203Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:11:53.215Z] provisioning config files... [2021-11-11T20:11:53.222Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8222126736202702203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:11:53.518Z] --> edgex-publish-swagger.sh [2021-11-11T20:11:53.518Z] === Publish openapi/v2 API === [2021-11-11T20:11:53.518Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-11T20:11:53.518Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-11-11T20:11:53.518Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:11:53.518Z] Dload Upload Total Spent Left Speed [2021-11-11T20:11:54.087Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 68685 --:--:-- --:--:-- --:--:-- 68695 [2021-11-11T20:11:54.087Z] [2021-11-11T20:11:54.087Z] [Pipeline] } [2021-11-11T20:11:54.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:11:54.518Z] + git log --format=format:%s -1 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:11:54.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:11:54.812Z] . [Pipeline] withDockerContainer [2021-11-11T20:11:54.873Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2021-11-11T20:11:54.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:11:55.295Z] $ docker top 097698829f70fee3a9a5ffebb35ec61f71f7f8b6b73403eb4752aa92d64d9d0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:11:55.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:11:55.385Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:11:55.494Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:11:55.497Z] $ docker exec 097698829f70fee3a9a5ffebb35ec61f71f7f8b6b73403eb4752aa92d64d9d0a ssh-agent [2021-11-11T20:11:55.603Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNFgMMI/agent.15 [2021-11-11T20:11:55.603Z] SSH_AGENT_PID=22 [2021-11-11T20:11:55.611Z] Running ssh-add (command line suppressed) [2021-11-11T20:11:55.708Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5773936244963500109.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5773936244963500109.key) [2021-11-11T20:11:55.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:11:56.011Z] + git semver tag [2021-11-11T20:11:56.011Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:11:56.011Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-11T20:11:56.011Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-11T20:11:56.011Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:11:56.011Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:11:56.011Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:11:56.011Z] # $SEMVER_BRANCH = main [2021-11-11T20:11:56.011Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-11T20:11:56.011Z] # 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 HEAD [2021-11-11T20:11:56.011Z] # -> Force: false [2021-11-11T20:11:56.011Z] # 70742faf5b89c9b603a1a89de5c6ead552210090 refs/tags/v2.0.1-dev.32 [Pipeline] } [2021-11-11T20:11:56.020Z] $ docker exec --env ******** --env ******** 097698829f70fee3a9a5ffebb35ec61f71f7f8b6b73403eb4752aa92d64d9d0a ssh-agent -k [2021-11-11T20:11:56.122Z] unset SSH_AUTH_SOCK; [2021-11-11T20:11:56.123Z] unset SSH_AGENT_PID; [2021-11-11T20:11:56.123Z] echo Agent pid 22 killed; [2021-11-11T20:11:56.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:11:56.451Z] + git semver [Pipeline] } [2021-11-11T20:11:56.464Z] $ docker stop --time=1 097698829f70fee3a9a5ffebb35ec61f71f7f8b6b73403eb4752aa92d64d9d0a [2021-11-11T20:11:57.663Z] $ docker rm -f 097698829f70fee3a9a5ffebb35ec61f71f7f8b6b73403eb4752aa92d64d9d0a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:11:58.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T20:11:58.044Z] [2021-11-11T20:11:58.044Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:11:58.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T20:11:58.343Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-11T20:11:58.343Z] ab5ef0e58194: Pulling fs layer [2021-11-11T20:11:58.343Z] 9712f1f96733: Pulling fs layer [2021-11-11T20:11:58.343Z] 63f879dbbcfc: Pulling fs layer [2021-11-11T20:11:58.343Z] 0d9ebad4ef96: Pulling fs layer [2021-11-11T20:11:58.343Z] e9a5061849ea: Pulling fs layer [2021-11-11T20:11:58.343Z] d747dcd14b5f: Pulling fs layer [2021-11-11T20:11:58.343Z] 2de7ff778b66: Pulling fs layer [2021-11-11T20:11:58.343Z] 0d9ebad4ef96: Waiting [2021-11-11T20:11:58.343Z] e9a5061849ea: Waiting [2021-11-11T20:11:58.343Z] d747dcd14b5f: Waiting [2021-11-11T20:11:58.343Z] 2de7ff778b66: Waiting [2021-11-11T20:11:58.343Z] 9712f1f96733: Verifying Checksum [2021-11-11T20:11:58.343Z] 9712f1f96733: Download complete [2021-11-11T20:11:58.615Z] 63f879dbbcfc: Verifying Checksum [2021-11-11T20:11:58.615Z] 63f879dbbcfc: Download complete [2021-11-11T20:11:58.880Z] 0d9ebad4ef96: Verifying Checksum [2021-11-11T20:11:58.880Z] 0d9ebad4ef96: Download complete [2021-11-11T20:11:58.880Z] d747dcd14b5f: Verifying Checksum [2021-11-11T20:11:58.880Z] d747dcd14b5f: Download complete [2021-11-11T20:11:58.880Z] e9a5061849ea: Verifying Checksum [2021-11-11T20:11:58.880Z] e9a5061849ea: Download complete [2021-11-11T20:11:58.880Z] ab5ef0e58194: Verifying Checksum [2021-11-11T20:11:58.880Z] ab5ef0e58194: Download complete [2021-11-11T20:11:58.880Z] 2de7ff778b66: Verifying Checksum [2021-11-11T20:11:58.880Z] 2de7ff778b66: Download complete [2021-11-11T20:12:01.454Z] ab5ef0e58194: Pull complete [2021-11-11T20:12:01.723Z] 9712f1f96733: Pull complete [2021-11-11T20:12:02.312Z] 63f879dbbcfc: Pull complete [2021-11-11T20:12:06.522Z] 0d9ebad4ef96: Pull complete [2021-11-11T20:12:06.522Z] e9a5061849ea: Pull complete [2021-11-11T20:12:06.522Z] d747dcd14b5f: Pull complete [2021-11-11T20:12:07.918Z] 2de7ff778b66: Pull complete [2021-11-11T20:12:07.918Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-11T20:12:07.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T20:12:07.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-11T20:12:07.986Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2021-11-11T20:12:08.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-11T20:12:11.337Z] $ docker top 1e5c0d12ce9fa6090b2410e1258c37c78fa3e9d7cdbadf51efef738f5fc64489 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:12:11.416Z] provisioning config files... [2021-11-11T20:12:11.425Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8046735121412251442tmp [2021-11-11T20:12:11.437Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5637814558836845848tmp [2021-11-11T20:12:11.448Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5048330474099814650tmp [Pipeline] { [Pipeline] echo [2021-11-11T20:12:11.459Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:11.743Z] ---> sigul-configuration.sh [2021-11-11T20:12:11.743Z] gpg: directory `/root/.gnupg' created [2021-11-11T20:12:11.743Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-11T20:12:11.743Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-11T20:12:11.743Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-11T20:12:11.743Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-11T20:12:11.743Z] gpg: CAST5 encrypted data [2021-11-11T20:12:11.743Z] gpg: encrypted with 1 passphrase [2021-11-11T20:12:11.743Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-11T20:12:12.034Z] + mkdir /home/jenkins [2021-11-11T20:12:12.034Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-11T20:12:12.329Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-11-11T20:12:12.339Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:12.626Z] ---> sigul-install.sh [2021-11-11T20:12:12.626Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-11T20:12:12.915Z] + git tag --list [2021-11-11T20:12:12.915Z] 0.7.1 [2021-11-11T20:12:12.915Z] delhi-tag [2021-11-11T20:12:12.915Z] v1.0.0 [2021-11-11T20:12:12.915Z] v1.1.0 [2021-11-11T20:12:12.915Z] v1.1.1 [2021-11-11T20:12:12.915Z] v1.1.2 [2021-11-11T20:12:12.915Z] v1.2.0 [2021-11-11T20:12:12.915Z] v1.2.1 [2021-11-11T20:12:12.915Z] v1.2.2 [2021-11-11T20:12:12.915Z] v1.2.3 [2021-11-11T20:12:12.915Z] v1.3.0 [2021-11-11T20:12:12.915Z] v1.4.0 [2021-11-11T20:12:12.915Z] v2.0.0 [2021-11-11T20:12:12.915Z] v2.0.1-dev.1 [2021-11-11T20:12:12.915Z] v2.0.1-dev.10 [2021-11-11T20:12:12.915Z] v2.0.1-dev.11 [2021-11-11T20:12:12.915Z] v2.0.1-dev.12 [2021-11-11T20:12:12.915Z] v2.0.1-dev.13 [2021-11-11T20:12:12.915Z] v2.0.1-dev.14 [2021-11-11T20:12:12.915Z] v2.0.1-dev.15 [2021-11-11T20:12:12.915Z] v2.0.1-dev.16 [2021-11-11T20:12:12.915Z] v2.0.1-dev.17 [2021-11-11T20:12:12.915Z] v2.0.1-dev.18 [2021-11-11T20:12:12.915Z] v2.0.1-dev.19 [2021-11-11T20:12:12.915Z] v2.0.1-dev.2 [2021-11-11T20:12:12.915Z] v2.0.1-dev.20 [2021-11-11T20:12:12.915Z] v2.0.1-dev.21 [2021-11-11T20:12:12.915Z] v2.0.1-dev.22 [2021-11-11T20:12:12.915Z] v2.0.1-dev.23 [2021-11-11T20:12:12.915Z] v2.0.1-dev.24 [2021-11-11T20:12:12.915Z] v2.0.1-dev.25 [2021-11-11T20:12:12.915Z] v2.0.1-dev.26 [2021-11-11T20:12:12.915Z] v2.0.1-dev.27 [2021-11-11T20:12:12.915Z] v2.0.1-dev.28 [2021-11-11T20:12:12.915Z] v2.0.1-dev.29 [2021-11-11T20:12:12.915Z] v2.0.1-dev.3 [2021-11-11T20:12:12.915Z] v2.0.1-dev.30 [2021-11-11T20:12:12.915Z] v2.0.1-dev.31 [2021-11-11T20:12:12.915Z] v2.0.1-dev.32 [2021-11-11T20:12:12.915Z] v2.0.1-dev.4 [2021-11-11T20:12:12.915Z] v2.0.1-dev.5 [2021-11-11T20:12:12.915Z] v2.0.1-dev.6 [2021-11-11T20:12:12.915Z] v2.0.1-dev.7 [2021-11-11T20:12:12.915Z] v2.0.1-dev.8 [2021-11-11T20:12:12.915Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-11T20:12:13.210Z] + lftools sign git-tag v2.0.1-dev.32 [2021-11-11T20:12:13.781Z] Signing Git tag with Sigul... [2021-11-11T20:12:13.781Z] Signing v2.0.1-dev.32 [Pipeline] echo [2021-11-11T20:12:14.732Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:15.026Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-11T20:12:15.035Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-11T20:12:15.053Z] $ docker stop --time=1 1e5c0d12ce9fa6090b2410e1258c37c78fa3e9d7cdbadf51efef738f5fc64489 [2021-11-11T20:12:16.243Z] $ docker rm -f 1e5c0d12ce9fa6090b2410e1258c37c78fa3e9d7cdbadf51efef738f5fc64489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:12:16.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:12:16.841Z] . [Pipeline] withDockerContainer [2021-11-11T20:12:16.906Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2021-11-11T20:12:17.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:12:17.332Z] $ docker top b4e53159c834372ae141ff70b768b794df2c7fc9b31a03522561787f8e8c683c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:12:17.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:12:17.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:12:17.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:12:17.514Z] $ docker exec b4e53159c834372ae141ff70b768b794df2c7fc9b31a03522561787f8e8c683c ssh-agent [2021-11-11T20:12:17.613Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeFFClA/agent.14 [2021-11-11T20:12:17.613Z] SSH_AGENT_PID=20 [2021-11-11T20:12:17.618Z] Running ssh-add (command line suppressed) [2021-11-11T20:12:17.701Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5795456307759335912.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5795456307759335912.key) [2021-11-11T20:12:17.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:12:18.004Z] + git semver bump pre [2021-11-11T20:12:18.004Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:12:18.004Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-11T20:12:18.004Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-11T20:12:18.004Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:12:18.004Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:12:18.004Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:12:18.004Z] # $SEMVER_BRANCH = main [2021-11-11T20:12:18.004Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-11T20:12:18.004Z] 2.0.1-dev.33 [Pipeline] } [2021-11-11T20:12:18.018Z] $ docker exec --env ******** --env ******** b4e53159c834372ae141ff70b768b794df2c7fc9b31a03522561787f8e8c683c ssh-agent -k [2021-11-11T20:12:18.111Z] unset SSH_AUTH_SOCK; [2021-11-11T20:12:18.111Z] unset SSH_AGENT_PID; [2021-11-11T20:12:18.111Z] echo Agent pid 20 killed; [2021-11-11T20:12:18.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:12:18.427Z] + git semver [Pipeline] } [2021-11-11T20:12:18.442Z] $ docker stop --time=1 b4e53159c834372ae141ff70b768b794df2c7fc9b31a03522561787f8e8c683c [2021-11-11T20:12:19.624Z] $ docker rm -f b4e53159c834372ae141ff70b768b794df2c7fc9b31a03522561787f8e8c683c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:12:19.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:12:19.966Z] . [Pipeline] withDockerContainer [2021-11-11T20:12:20.027Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2021-11-11T20:12:20.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:12:20.426Z] $ docker top dfce734a106118b97c293a40811013ca3bab1009268adc4d1aa76dab59cd950c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:12:20.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:12:20.518Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:12:20.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:12:20.630Z] $ docker exec dfce734a106118b97c293a40811013ca3bab1009268adc4d1aa76dab59cd950c ssh-agent [2021-11-11T20:12:20.728Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIlEjOP/agent.14 [2021-11-11T20:12:20.728Z] SSH_AGENT_PID=20 [2021-11-11T20:12:20.733Z] Running ssh-add (command line suppressed) [2021-11-11T20:12:20.832Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2370888627900650300.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2370888627900650300.key) [2021-11-11T20:12:20.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:12:21.140Z] + git semver push [2021-11-11T20:12:21.140Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:12:21.140Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-11T20:12:21.140Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-11T20:12:21.140Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:12:21.140Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:12:21.140Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:12:21.140Z] # $SEMVER_BRANCH = main [2021-11-11T20:12:21.140Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-11T20:12:23.694Z] $ docker exec --env ******** --env ******** dfce734a106118b97c293a40811013ca3bab1009268adc4d1aa76dab59cd950c ssh-agent -k [2021-11-11T20:12:23.784Z] unset SSH_AUTH_SOCK; [2021-11-11T20:12:23.785Z] unset SSH_AGENT_PID; [2021-11-11T20:12:23.785Z] echo Agent pid 20 killed; [2021-11-11T20:12:23.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:12:24.118Z] + git semver [Pipeline] } [2021-11-11T20:12:24.130Z] $ docker stop --time=1 dfce734a106118b97c293a40811013ca3bab1009268adc4d1aa76dab59cd950c [2021-11-11T20:12:25.323Z] $ docker rm -f dfce734a106118b97c293a40811013ca3bab1009268adc4d1aa76dab59cd950c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-11T20:12:26.205Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:26.504Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:27.057Z] ---> package-listing.sh [2021-11-11T20:12:27.057Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T20:12:27.057Z] ++ facter osfamily [2021-11-11T20:12:27.320Z] + OS_FAMILY=redhat [2021-11-11T20:12:27.320Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-11-11T20:12:27.320Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T20:12:27.320Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T20:12:27.320Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T20:12:27.320Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T20:12:27.320Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-11T20:12:27.320Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T20:12:27.320Z] + case "${OS_FAMILY}" in [2021-11-11T20:12:27.320Z] + sort [2021-11-11T20:12:27.320Z] + rpm -qa [2021-11-11T20:12:27.890Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T20:12:27.890Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T20:12:27.890Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T20:12:27.890Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-11T20:12:27.890Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-11-11T20:12:27.890Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-11-11T20:12:27.900Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-11T20:12:28.180Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:12:28.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:12:28.734Z] [2021-11-11T20:12:28.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:12:29.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:12:29.036Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:12:29.036Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:12:29.036Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:12:29.036Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:12:29.036Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:12:29.036Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:12:29.036Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:12:29.036Z] d287ab97295c: Pulling fs layer [2021-11-11T20:12:29.036Z] dc539afda2c1: Waiting [2021-11-11T20:12:29.036Z] 77bc0d833cb6: Waiting [2021-11-11T20:12:29.036Z] 9065ff56babe: Waiting [2021-11-11T20:12:29.036Z] d287ab97295c: Waiting [2021-11-11T20:12:29.036Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:12:29.036Z] a1111a8f2ec3: Download complete [2021-11-11T20:12:29.036Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:12:29.036Z] dc539afda2c1: Download complete [2021-11-11T20:12:29.036Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:12:29.036Z] ed53099fbce6: Download complete [2021-11-11T20:12:29.294Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:12:29.295Z] 9065ff56babe: Download complete [2021-11-11T20:12:29.295Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:12:29.295Z] 77bc0d833cb6: Download complete [2021-11-11T20:12:29.295Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:12:29.295Z] b4d181a07f80: Download complete [2021-11-11T20:12:29.869Z] d287ab97295c: Verifying Checksum [2021-11-11T20:12:29.869Z] d287ab97295c: Download complete [2021-11-11T20:12:30.820Z] b4d181a07f80: Pull complete [2021-11-11T20:12:30.820Z] a1111a8f2ec3: Pull complete [2021-11-11T20:12:31.395Z] ed53099fbce6: Pull complete [2021-11-11T20:12:31.395Z] dc539afda2c1: Pull complete [2021-11-11T20:12:31.658Z] 77bc0d833cb6: Pull complete [2021-11-11T20:12:31.658Z] 9065ff56babe: Pull complete [2021-11-11T20:12:37.004Z] d287ab97295c: Pull complete [2021-11-11T20:12:37.004Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:12:37.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:12:37.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:12:37.065Z] prd-centos7-docker-4c-2g-199 does not seem to be running inside a container [2021-11-11T20:12:37.094Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:12:39.696Z] $ docker top 6b768ba5957bed1e9afc32cca02495ba69666ebb5afc99841e9c8217da593edd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:12:40.055Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T20:12:40.345Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T20:12:40.637Z] + ls /var/log/sa-host [2021-11-11T20:12:40.637Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T20:12:40.637Z] file_magic: OK [2021-11-11T20:12:40.637Z] HZ: Using current value: 100 [2021-11-11T20:12:40.637Z] file_header: OK [2021-11-11T20:12:40.637Z] 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-11T20:12:40.637Z] Statistics: [2021-11-11T20:12:40.637Z] 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...Hnuu...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...Hnuu...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...Hnuu...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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T20:12:40.637Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T20:12:40.637Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T20:12:40.637Z] file_magic: OK [2021-11-11T20:12:40.637Z] HZ: Using current value: 100 [2021-11-11T20:12:40.637Z] file_header: OK [2021-11-11T20:12:40.637Z] 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-11T20:12:40.637Z] Statistics: [2021-11-11T20:12:40.637Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T20:12:40.637Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:12:40.913Z] provisioning config files... [2021-11-11T20:12:40.923Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8794354267688051084tmp [Pipeline] { [Pipeline] echo [2021-11-11T20:12:40.935Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:41.313Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T20:12:41.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:41.655Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T20:12:41.664Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:41.952Z] ---> sudo-logs.sh [2021-11-11T20:12:41.952Z] Archiving 'sudo' log.. [2021-11-11T20:12:41.952Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-199.novalocal: Name or service not known [2021-11-11T20:12:41.952Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-199.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T20:12:41.972Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:42.269Z] ---> job-cost.sh [2021-11-11T20:12:42.269Z] lf-activate-venv: SKIPPING [2021-11-11T20:12:42.269Z] DEBUG: total: 0.10999999940395355 [2021-11-11T20:12:42.269Z] INFO: Retrieving Stack Cost... [2021-11-11T20:12:42.529Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:12:43.098Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T20:12:43.109Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:12:43.404Z] ---> logs-deploy.sh [2021-11-11T20:12:43.404Z] lf-activate-venv: SKIPPING [2021-11-11T20:12:43.404Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/31 [2021-11-11T20:12:43.404Z] INFO: archiving workspace using pattern(s): [2021-11-11T20:12:43.974Z] Archives upload complete. [2021-11-11T20:12:44.234Z] INFO: archiving logs to Nexus