Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dd2488f44e7de249a3f057dee004478318674dba 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-ssh17332794048463093202.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh70923121147813158.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh10005350690647877240.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh14857535334511606351.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-ssh5158862780529766664.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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4121 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/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-ssh4119726893778242336.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 dd2488f44e7de249a3f057dee004478318674dba (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 dd2488f44e7de249a3f057dee004478318674dba # timeout=10 Commit message: "Merge pull request #1093 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.7" > git rev-list --no-walk a9851280710ea98ed82e1cc903dc2e78d89d66e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-28T04:57:00.887Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-28T04:57:00.947Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-28T04:57:00.967Z] ========================================================= [2022-01-28T04:57:00.967Z] EdgeX Global Pipelines Version Info [2022-01-28T04:57:00.967Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-28T04:57:02.116Z] ------------------- [2022-01-28T04:57:02.116Z] stable info: [2022-01-28T04:57:02.116Z] ------------------- [2022-01-28T04:57:02.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-28T04:57:02.116Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-28T04:57:02.116Z] Message: update stable to v1.0.219 [2022-01-28T04:57:02.692Z] ------------------- [2022-01-28T04:57:02.692Z] experimental info: [2022-01-28T04:57:02.692Z] ------------------- [2022-01-28T04:57:02.692Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-28T04:57:02.692Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-28T04:57:02.692Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-28T04:57:02.835Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-28T04:57:02.852Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-28T04:57:02.871Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-28T04:57:02.890Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-28T04:57:02.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-28T04:57:02.922Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-28T04:57:02.937Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-28T04:57:02.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-28T04:57:02.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-28T04:57:02.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-28T04:57:02.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-28T04:57:03.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-28T04:57:03.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-28T04:57:03.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-28T04:57:03.046Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-28T04:57:03.062Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-28T04:57:03.073Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-28T04:57:03.087Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-28T04:57:03.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-28T04:57:03.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-28T04:57:03.131Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-28T04:57:03.144Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-28T04:57:03.157Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-28T04:57:03.169Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-28T04:57:03.181Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-28T04:57:03.195Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-28T04:57:03.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-28T04:57:03.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-28T04:57:03.234Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-28T04:57:03.249Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd2488f44e7de249a3f057dee004478318674dba [Pipeline] echo [2022-01-28T04:57:03.263Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd2488f [Pipeline] echo [2022-01-28T04:57:03.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-28T04:57:03.331Z] provisioning config files... [2022-01-28T04:57:03.346Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8700650341783902232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-28T04:57:03.667Z] ---> docker-login.sh [2022-01-28T04:57:03.667Z] nexus3.edgexfoundry.org:10001 [2022-01-28T04:57:03.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:03.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:03.930Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:03.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:03.930Z] [2022-01-28T04:57:03.930Z] Login Succeeded [2022-01-28T04:57:03.930Z] nexus3.edgexfoundry.org:10002 [2022-01-28T04:57:03.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:03.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:03.930Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:03.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:03.930Z] [2022-01-28T04:57:03.930Z] Login Succeeded [2022-01-28T04:57:03.930Z] nexus3.edgexfoundry.org:10003 [2022-01-28T04:57:04.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:04.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:04.193Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:04.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:04.193Z] [2022-01-28T04:57:04.193Z] Login Succeeded [2022-01-28T04:57:04.193Z] nexus3.edgexfoundry.org:10004 [2022-01-28T04:57:04.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:04.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:04.193Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:04.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:04.193Z] [2022-01-28T04:57:04.193Z] Login Succeeded [2022-01-28T04:57:04.193Z] docker.io [2022-01-28T04:57:04.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:04.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:04.719Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:04.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:04.719Z] [2022-01-28T04:57:04.719Z] Login Succeeded [2022-01-28T04:57:04.719Z] ---> docker-login.sh ends [Pipeline] } [2022-01-28T04:57:04.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-28T04:57:05.114Z] + git rev-list -1 --merges dd2488f44e7de249a3f057dee004478318674dba~1..dd2488f44e7de249a3f057dee004478318674dba [Pipeline] echo [2022-01-28T04:57:05.142Z] -----------> git rev-list -1 --merges dd2488f44e7de249a3f057dee004478318674dba~1..dd2488f44e7de249a3f057dee004478318674dba dd2488f44e7de249a3f057dee004478318674dba [2022-01-28T04:57:05.142Z] dd2488f44e7de249a3f057dee004478318674dba [false] [Pipeline] sh [2022-01-28T04:57:05.435Z] + git log --format=format:%s -1 dd2488f44e7de249a3f057dee004478318674dba [Pipeline] echo [2022-01-28T04:57:05.449Z] ========================================================= [2022-01-28T04:57:05.449Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-28T04:57:05.449Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-28T04:57:05.796Z] + git log --format=format:%s -1 dd2488f44e7de249a3f057dee004478318674dba [Pipeline] echo [2022-01-28T04:57:05.808Z] [semverPrep] GIT_COMMIT: dd2488f44e7de249a3f057dee004478318674dba, Commit Message: Merge pull request #1093 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.7 [Pipeline] echo [2022-01-28T04:57:05.814Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-28T04:57:06.245Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-28T04:57:06.245Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-28T04:57:06.245Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-28T04:57:06.245Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-28T04:57:06.245Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-28T04:57:06.245Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-28T04:57:06.245Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:57:06.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-28T04:57:06.674Z] [2022-01-28T04:57:06.674Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:57:06.987Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-28T04:57:06.988Z] latest: Pulling from edgex-devops/git-semver [2022-01-28T04:57:06.988Z] a0d0a0d46f8b: Pulling fs layer [2022-01-28T04:57:06.988Z] 3e5f54012d9b: Pulling fs layer [2022-01-28T04:57:06.988Z] 4c7163046ea9: Pulling fs layer [2022-01-28T04:57:06.988Z] 0c2d73faf560: Pulling fs layer [2022-01-28T04:57:06.988Z] 0c2d73faf560: Waiting [2022-01-28T04:57:06.988Z] 3e5f54012d9b: Verifying Checksum [2022-01-28T04:57:06.988Z] 3e5f54012d9b: Download complete [2022-01-28T04:57:06.988Z] a0d0a0d46f8b: Download complete [2022-01-28T04:57:06.988Z] 4c7163046ea9: Verifying Checksum [2022-01-28T04:57:06.988Z] 4c7163046ea9: Download complete [2022-01-28T04:57:06.988Z] 0c2d73faf560: Verifying Checksum [2022-01-28T04:57:06.988Z] 0c2d73faf560: Download complete [2022-01-28T04:57:07.253Z] a0d0a0d46f8b: Pull complete [2022-01-28T04:57:07.253Z] 3e5f54012d9b: Pull complete [2022-01-28T04:57:07.835Z] 4c7163046ea9: Pull complete [2022-01-28T04:57:07.835Z] 0c2d73faf560: Pull complete [2022-01-28T04:57:07.835Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-28T04:57:07.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-28T04:57:07.835Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-28T04:57:07.911Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T04:57:07.953Z] $ 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 [2022-01-28T04:57:08.628Z] $ docker top 8d53228491a5aa7a4d23003b449ad03cffff4268813888846103dba4c521b899 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-28T04:57:08.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-28T04:57:08.749Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-28T04:57:08.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-28T04:57:08.867Z] $ docker exec 8d53228491a5aa7a4d23003b449ad03cffff4268813888846103dba4c521b899 ssh-agent [2022-01-28T04:57:08.979Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbFHcmD/agent.13 [2022-01-28T04:57:08.979Z] SSH_AGENT_PID=20 [2022-01-28T04:57:08.991Z] Running ssh-add (command line suppressed) [2022-01-28T04:57:09.102Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4250609037519681190.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4250609037519681190.key) [2022-01-28T04:57:09.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-28T04:57:09.419Z] + git tag --points-at HEAD [Pipeline] } [2022-01-28T04:57:09.444Z] $ docker exec --env ******** --env ******** 8d53228491a5aa7a4d23003b449ad03cffff4268813888846103dba4c521b899 ssh-agent -k [2022-01-28T04:57:09.537Z] unset SSH_AUTH_SOCK; [2022-01-28T04:57:09.537Z] unset SSH_AGENT_PID; [2022-01-28T04:57:09.537Z] echo Agent pid 20 killed; [2022-01-28T04:57:09.547Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-28T04:57:09.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-28T04:57:09.578Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-28T04:57:09.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-28T04:57:09.713Z] $ docker exec 8d53228491a5aa7a4d23003b449ad03cffff4268813888846103dba4c521b899 ssh-agent [2022-01-28T04:57:09.811Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgHfBKD/agent.52 [2022-01-28T04:57:09.811Z] SSH_AGENT_PID=59 [2022-01-28T04:57:09.817Z] Running ssh-add (command line suppressed) [2022-01-28T04:57:09.920Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6762271639718382876.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6762271639718382876.key) [2022-01-28T04:57:09.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-28T04:57:10.227Z] + git semver init [2022-01-28T04:57:10.227Z] # -> Open(): unable to determine branch for HEAD [2022-01-28T04:57:10.227Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-28T04:57:10.227Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-28T04:57:10.227Z] # $SEMVER_REMOTE_NAME = origin [2022-01-28T04:57:10.227Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-28T04:57:10.227Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-28T04:57:10.227Z] # $SEMVER_BRANCH = main [2022-01-28T04:57:10.227Z] # $SEMVER_TEMP = /tmp/semver-505905698 [2022-01-28T04:57:10.227Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-28T04:57:11.172Z] # '/tmp/semver-505905698' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-01-28T04:57:11.172Z] # -> Force: false [2022-01-28T04:57:11.172Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-28T04:57:11.185Z] $ docker exec --env ******** --env ******** 8d53228491a5aa7a4d23003b449ad03cffff4268813888846103dba4c521b899 ssh-agent -k [2022-01-28T04:57:11.274Z] unset SSH_AUTH_SOCK; [2022-01-28T04:57:11.274Z] unset SSH_AGENT_PID; [2022-01-28T04:57:11.274Z] echo Agent pid 59 killed; [2022-01-28T04:57:11.279Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-28T04:57:11.599Z] + git semver [Pipeline] } [2022-01-28T04:57:11.619Z] $ docker stop --time=1 8d53228491a5aa7a4d23003b449ad03cffff4268813888846103dba4c521b899 [2022-01-28T04:57:12.880Z] $ docker rm -f 8d53228491a5aa7a4d23003b449ad03cffff4268813888846103dba4c521b899 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-28T04:57:13.235Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-28T04:57:13.476Z] Stashed 1 file(s) [Pipeline] echo [2022-01-28T04:57:13.481Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-28T04:57:13.617Z] provisioning config files... [2022-01-28T04:57:13.627Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6937026637996688221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-28T04:57:13.938Z] ---> docker-login.sh [2022-01-28T04:57:13.938Z] nexus3.edgexfoundry.org:10001 [2022-01-28T04:57:13.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:13.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:13.938Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:13.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:13.938Z] [2022-01-28T04:57:13.938Z] Login Succeeded [2022-01-28T04:57:13.938Z] nexus3.edgexfoundry.org:10002 [2022-01-28T04:57:13.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:14.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:14.200Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:14.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:14.200Z] [2022-01-28T04:57:14.200Z] Login Succeeded [2022-01-28T04:57:14.200Z] nexus3.edgexfoundry.org:10003 [2022-01-28T04:57:14.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:14.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:14.200Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:14.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:14.200Z] [2022-01-28T04:57:14.200Z] Login Succeeded [2022-01-28T04:57:14.200Z] nexus3.edgexfoundry.org:10004 [2022-01-28T04:57:14.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:14.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:14.461Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:14.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:14.461Z] [2022-01-28T04:57:14.461Z] Login Succeeded [2022-01-28T04:57:14.461Z] docker.io [2022-01-28T04:57:14.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:57:14.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:57:14.720Z] Configure a credential helper to remove this warning. See [2022-01-28T04:57:14.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:57:14.720Z] [2022-01-28T04:57:14.720Z] Login Succeeded [2022-01-28T04:57:14.720Z] ---> docker-login.sh ends [Pipeline] } [2022-01-28T04:57:14.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-28T04:57:14.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-28T04:57:14.795Z] ========================================================= [2022-01-28T04:57:14.795Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-28T04:57:14.795Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:57:15.099Z] + 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.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-28T04:57:15.099Z] Sending build context to Docker daemon 9.404MB [2022-01-28T04:57:15.099Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-28T04:57:15.099Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-28T04:57:15.364Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-28T04:57:15.364Z] 59bf1c3509f3: Pulling fs layer [2022-01-28T04:57:15.364Z] 666ba61612fd: Pulling fs layer [2022-01-28T04:57:15.364Z] 8ed8ca486205: Pulling fs layer [2022-01-28T04:57:15.364Z] 4fe6c5a15a65: Pulling fs layer [2022-01-28T04:57:15.364Z] 22a0e8bec74d: Pulling fs layer [2022-01-28T04:57:15.364Z] f965cba54748: Pulling fs layer [2022-01-28T04:57:15.364Z] 861ffc35075e: Pulling fs layer [2022-01-28T04:57:15.364Z] 4b385c91608e: Pulling fs layer [2022-01-28T04:57:15.364Z] 560528eb2ebb: Pulling fs layer [2022-01-28T04:57:15.364Z] f965cba54748: Waiting [2022-01-28T04:57:15.364Z] 861ffc35075e: Waiting [2022-01-28T04:57:15.364Z] 4b385c91608e: Waiting [2022-01-28T04:57:15.364Z] 560528eb2ebb: Waiting [2022-01-28T04:57:15.364Z] 22a0e8bec74d: Waiting [2022-01-28T04:57:15.364Z] 8ed8ca486205: Verifying Checksum [2022-01-28T04:57:15.364Z] 8ed8ca486205: Download complete [2022-01-28T04:57:15.364Z] 666ba61612fd: Verifying Checksum [2022-01-28T04:57:15.364Z] 666ba61612fd: Download complete [2022-01-28T04:57:15.364Z] 22a0e8bec74d: Verifying Checksum [2022-01-28T04:57:15.364Z] 22a0e8bec74d: Download complete [2022-01-28T04:57:15.364Z] f965cba54748: Verifying Checksum [2022-01-28T04:57:15.364Z] f965cba54748: Download complete [2022-01-28T04:57:15.364Z] 861ffc35075e: Verifying Checksum [2022-01-28T04:57:15.364Z] 861ffc35075e: Download complete [2022-01-28T04:57:15.364Z] 59bf1c3509f3: Verifying Checksum [2022-01-28T04:57:15.364Z] 4b385c91608e: Verifying Checksum [2022-01-28T04:57:15.364Z] 4b385c91608e: Download complete [2022-01-28T04:57:15.633Z] 59bf1c3509f3: Pull complete [2022-01-28T04:57:15.904Z] 666ba61612fd: Pull complete [2022-01-28T04:57:15.904Z] 4fe6c5a15a65: Verifying Checksum [2022-01-28T04:57:15.904Z] 4fe6c5a15a65: Download complete [2022-01-28T04:57:15.904Z] 8ed8ca486205: Pull complete [2022-01-28T04:57:16.172Z] 560528eb2ebb: Verifying Checksum [2022-01-28T04:57:16.172Z] 560528eb2ebb: Download complete [2022-01-28T04:57:20.422Z] 4fe6c5a15a65: Pull complete [2022-01-28T04:57:20.422Z] 22a0e8bec74d: Pull complete [2022-01-28T04:57:20.422Z] f965cba54748: Pull complete [2022-01-28T04:57:20.422Z] 861ffc35075e: Pull complete [2022-01-28T04:57:20.422Z] 4b385c91608e: Pull complete [2022-01-28T04:57:22.992Z] 560528eb2ebb: Pull complete [2022-01-28T04:57:22.992Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-28T04:57:22.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-28T04:57:22.992Z] ---> dd4a08f94e63 [2022-01-28T04:57:22.992Z] Step 3/11 : ARG MAKE=make build [2022-01-28T04:57:24.907Z] ---> Running in 40ae63acb1bd [2022-01-28T04:57:24.907Z] Removing intermediate container 40ae63acb1bd [2022-01-28T04:57:24.907Z] ---> 9baaa1c6b8c2 [2022-01-28T04:57:24.907Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-28T04:57:25.169Z] ---> Running in c7febd1730d9 [2022-01-28T04:57:25.169Z] Removing intermediate container c7febd1730d9 [2022-01-28T04:57:25.169Z] ---> 090fb8702aec [2022-01-28T04:57:25.169Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-28T04:57:25.169Z] ---> Running in eeaad2cb1db5 [2022-01-28T04:57:25.169Z] Removing intermediate container eeaad2cb1db5 [2022-01-28T04:57:25.169Z] ---> 63c6ad86c432 [2022-01-28T04:57:25.169Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-28T04:57:25.441Z] ---> Running in f95381ad7703 [2022-01-28T04:57:26.012Z] Removing intermediate container f95381ad7703 [2022-01-28T04:57:26.012Z] ---> b6d87442210e [2022-01-28T04:57:26.012Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-28T04:57:26.012Z] ---> Running in 0aa2270df1a3 [2022-01-28T04:57:26.275Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-28T04:57:27.226Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-28T04:57:27.486Z] OK: 221 MiB in 52 packages [2022-01-28T04:57:27.745Z] Removing intermediate container 0aa2270df1a3 [2022-01-28T04:57:27.745Z] ---> 822f08e0a003 [2022-01-28T04:57:27.745Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-28T04:57:27.745Z] ---> 7fad72a11e80 [2022-01-28T04:57:27.745Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-28T04:57:27.745Z] ---> Running in 2ca66d316741 [2022-01-28T04:57:28.568Z] Still waiting to schedule task [2022-01-28T04:57:28.568Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-28T04:57:59.958Z] Removing intermediate container 2ca66d316741 [2022-01-28T04:57:59.958Z] ---> 9b3a2877b4f0 [2022-01-28T04:57:59.958Z] Step 10/11 : COPY . . [2022-01-28T04:57:59.958Z] ---> a2b8260261c3 [2022-01-28T04:57:59.958Z] Step 11/11 : RUN ${MAKE} [2022-01-28T04:57:59.958Z] ---> Running in 2068eea0565b [2022-01-28T04:57:59.958Z] noop [2022-01-28T04:57:59.958Z] Removing intermediate container 2068eea0565b [2022-01-28T04:57:59.958Z] ---> 9636634616a4 [2022-01-28T04:57:59.958Z] Successfully built 9636634616a4 [2022-01-28T04:57:59.958Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:58:00.256Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-28T04:58:00.257Z] . [Pipeline] withDockerContainer [2022-01-28T04:58:00.324Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T04:58:00.369Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-28T04:58:00.755Z] $ docker top fc0c503a2cf8e3181998512c560f85603c26a2cb4a28f49592b8d43de4047daa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-28T04:58:01.113Z] + go version [2022-01-28T04:58:01.113Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-28T04:58:01.128Z] $ docker stop --time=1 fc0c503a2cf8e3181998512c560f85603c26a2cb4a28f49592b8d43de4047daa [2022-01-28T04:58:02.311Z] $ docker rm -f fc0c503a2cf8e3181998512c560f85603c26a2cb4a28f49592b8d43de4047daa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:58:02.734Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-28T04:58:02.734Z] . [Pipeline] withDockerContainer [2022-01-28T04:58:02.798Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T04:58:02.836Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-28T04:58:03.250Z] $ docker top d23ff64d50cd023d0b9c4989c04187fae02e6b6773337f326e20baadc01196bd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-28T04:58:03.627Z] + make test [2022-01-28T04:58:03.627Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-28T04:58:03.889Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-28T04:58:18.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-28T04:58:18.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-28T04:58:18.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-28T04:58:20.849Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.018s coverage: 23.3% of statements [2022-01-28T04:58:20.849Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-28T04:58:20.849Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.014s coverage: 27.6% of statements [2022-01-28T04:58:21.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.007s coverage: 78.9% of statements [2022-01-28T04:58:21.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.008s coverage: 9.0% of statements [2022-01-28T04:58:21.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-28T04:58:21.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-28T04:58:21.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-28T04:58:21.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.019s coverage: 28.7% of statements [2022-01-28T04:58:21.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-28T04:58:23.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.014s coverage: 86.1% of statements [2022-01-28T04:58:23.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-28T04:58:23.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-28T04:58:23.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.014s coverage: 57.4% of statements [2022-01-28T04:58:23.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.032s coverage: 89.2% of statements [2022-01-28T04:58:23.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-28T04:58:23.932Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.009s coverage: 4.8% of statements [2022-01-28T04:58:23.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-28T04:58:36.286Z] GO111MODULE=on go vet ./... [2022-01-28T04:58:41.611Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-28T04:58:41.611Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-28T04:58:41.611Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-28T04:58:41.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-28T04:58:41.902Z] $ docker stop --time=1 d23ff64d50cd023d0b9c4989c04187fae02e6b6773337f326e20baadc01196bd [2022-01-28T04:58:43.424Z] $ docker rm -f d23ff64d50cd023d0b9c4989c04187fae02e6b6773337f326e20baadc01196bd [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-28T04:58:43.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-28T04:58:43.990Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-28T04:58:45.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-28T04:58:45.466Z] + ls -al . [2022-01-28T04:58:45.466Z] total 272 [2022-01-28T04:58:45.466Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 28 04:58 . [2022-01-28T04:58:45.466Z] drwxrwxr-x. 4 jenkins jenkins 110 Jan 28 04:56 .. [2022-01-28T04:58:45.466Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 28 04:56 bin [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 28 04:56 CHANGELOG.md [2022-01-28T04:58:45.466Z] -rw-r--r--. 1 jenkins jenkins 128608 Jan 28 04:58 coverage.out [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 04:56 .dockerignore [2022-01-28T04:58:45.466Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 28 04:56 example [2022-01-28T04:58:45.466Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 28 04:57 .git [2022-01-28T04:58:45.466Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 28 04:56 .github [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 28 04:56 .gitignore [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 28 04:56 .golangci.yml [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 2766 Jan 28 04:56 go.mod [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 49665 Jan 28 04:56 go.sum [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 28 04:56 GOVERNANCE.md [2022-01-28T04:58:45.466Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 28 04:56 internal [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 28 04:56 Jenkinsfile [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 04:56 LICENSE [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 28 04:56 Makefile [2022-01-28T04:58:45.466Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 28 04:56 openapi [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 28 04:56 OWNERS.md [2022-01-28T04:58:45.466Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 04:56 pkg [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 28 04:56 README.md [2022-01-28T04:58:45.466Z] drwx------. 3 jenkins jenkins 57 Jan 28 04:57 .semver [2022-01-28T04:58:45.466Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 04:56 snap [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 12 Jan 28 04:57 VERSION [2022-01-28T04:58:45.466Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 04:56 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:58:45.776Z] + 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=dd2488f44e7de249a3f057dee004478318674dba --label arch=amd64 --label version=2.2.0-dev.13 . [2022-01-28T04:58:45.777Z] Sending build context to Docker daemon 9.533MB [2022-01-28T04:58:45.777Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-28T04:58:45.777Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-28T04:58:45.777Z] ---> 9636634616a4 [2022-01-28T04:58:45.777Z] Step 3/25 : ARG MAKE=make build [2022-01-28T04:58:45.777Z] ---> Running in ff0f9f3c0407 [2022-01-28T04:58:46.052Z] Removing intermediate container ff0f9f3c0407 [2022-01-28T04:58:46.052Z] ---> 35d83034d05a [2022-01-28T04:58:46.052Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-28T04:58:46.052Z] ---> Running in 6e62319b3102 [2022-01-28T04:58:46.052Z] Removing intermediate container 6e62319b3102 [2022-01-28T04:58:46.052Z] ---> d981ba826d8d [2022-01-28T04:58:46.052Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-28T04:58:46.052Z] ---> Running in a48b8fe9fb7a [2022-01-28T04:58:46.317Z] Removing intermediate container a48b8fe9fb7a [2022-01-28T04:58:46.317Z] ---> 8070142363ee [2022-01-28T04:58:46.317Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-28T04:58:46.317Z] ---> Running in b62ab47ae032 [2022-01-28T04:58:46.578Z] Removing intermediate container b62ab47ae032 [2022-01-28T04:58:46.578Z] ---> 2040597a622b [2022-01-28T04:58:46.578Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-28T04:58:46.844Z] ---> Running in d46d002dc81f [2022-01-28T04:58:47.108Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-28T04:58:47.682Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-28T04:58:48.256Z] OK: 221 MiB in 52 packages [2022-01-28T04:58:48.256Z] Removing intermediate container d46d002dc81f [2022-01-28T04:58:48.256Z] ---> f7e15f5fda67 [2022-01-28T04:58:48.256Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-28T04:58:48.520Z] ---> 648882818736 [2022-01-28T04:58:48.520Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-28T04:58:48.520Z] ---> Running in 8cc113a28a56 [2022-01-28T04:58:49.098Z] Removing intermediate container 8cc113a28a56 [2022-01-28T04:58:49.098Z] ---> 31cce12b6093 [2022-01-28T04:58:49.098Z] Step 10/25 : COPY . . [2022-01-28T04:58:49.673Z] ---> 17f24c1f3e10 [2022-01-28T04:58:49.673Z] Step 11/25 : RUN ${MAKE} [2022-01-28T04:58:49.673Z] ---> Running in 99c3c4bf2201 [2022-01-28T04:58:49.935Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-28T04:58:57.786Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4122 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-28T04:58:57.794Z] Running in /w/workspace/device-sdk-go/46 [Pipeline] { [Pipeline] checkout [2022-01-28T04:58:57.982Z] The recommended git tool is: git [2022-01-28T04:59:02.230Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-28T04:59:02.534Z] using credential edgex-jenkins-ssh [2022-01-28T04:59:02.550Z] Cloning the remote Git repository [2022-01-28T04:59:02.801Z] Removing intermediate container 99c3c4bf2201 [2022-01-28T04:59:02.801Z] ---> 210ba3adfc43 [2022-01-28T04:59:02.801Z] Step 12/25 : FROM alpine:3.14 [2022-01-28T04:59:02.603Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-28T04:59:02.675Z] > git init /w/workspace/device-sdk-go/46 # timeout=10 [2022-01-28T04:59:02.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-28T04:59:02.758Z] > git --version # timeout=10 [2022-01-28T04:59:02.782Z] > git --version # 'git version 2.17.1' [2022-01-28T04:59:02.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-28T04:59:02.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-28T04:59:03.061Z] 3.14: Pulling from library/alpine [2022-01-28T04:59:03.329Z] 97518928ae5f: Pulling fs layer [2022-01-28T04:59:03.593Z] 97518928ae5f: Verifying Checksum [2022-01-28T04:59:03.593Z] 97518928ae5f: Download complete [2022-01-28T04:59:03.593Z] 97518928ae5f: Pull complete [2022-01-28T04:59:03.593Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-28T04:59:03.593Z] Status: Downloaded newer image for alpine:3.14 [2022-01-28T04:59:03.593Z] ---> 0a97eee8041e [2022-01-28T04:59:03.593Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-28T04:59:03.853Z] ---> Running in c2f127e0faf0 [2022-01-28T04:59:03.853Z] Removing intermediate container c2f127e0faf0 [2022-01-28T04:59:03.853Z] ---> 7079e41c6332 [2022-01-28T04:59:03.853Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-28T04:59:03.853Z] ---> Running in 358e30156141 [2022-01-28T04:59:04.430Z] Removing intermediate container 358e30156141 [2022-01-28T04:59:04.430Z] ---> 71762039d4f7 [2022-01-28T04:59:04.430Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-28T04:59:04.430Z] ---> Running in 5d934b9f4d36 [2022-01-28T04:59:04.433Z] Avoid second fetch [2022-01-28T04:59:04.433Z] Checking out Revision dd2488f44e7de249a3f057dee004478318674dba (main) [2022-01-28T04:59:04.692Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-28T04:59:04.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-28T04:59:04.416Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-28T04:59:04.454Z] > git config core.sparsecheckout # timeout=10 [2022-01-28T04:59:04.467Z] > git checkout -f dd2488f44e7de249a3f057dee004478318674dba # timeout=10 [2022-01-28T04:59:05.633Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-28T04:59:05.896Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-28T04:59:05.896Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-28T04:59:05.896Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-28T04:59:06.157Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-28T04:59:06.157Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-28T04:59:06.157Z] Executing busybox-1.33.1-r6.trigger [2022-01-28T04:59:06.157Z] OK: 8 MiB in 19 packages [2022-01-28T04:59:06.420Z] Removing intermediate container 5d934b9f4d36 [2022-01-28T04:59:06.420Z] ---> 1e0174d14f38 [2022-01-28T04:59:06.420Z] Step 16/25 : WORKDIR / [2022-01-28T04:59:06.682Z] ---> Running in b91d6b51af65 [2022-01-28T04:59:06.682Z] Removing intermediate container b91d6b51af65 [2022-01-28T04:59:06.682Z] ---> 637720f3fcc0 [2022-01-28T04:59:06.682Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-28T04:59:06.947Z] ---> fc8e06dfe99a [2022-01-28T04:59:06.947Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-28T04:59:07.208Z] ---> 99bd284aa269 [2022-01-28T04:59:07.208Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-28T04:59:07.208Z] ---> 7c377d167777 [2022-01-28T04:59:07.208Z] Step 20/25 : EXPOSE 59999 [2022-01-28T04:59:07.470Z] ---> Running in e1db5046c553 [2022-01-28T04:59:07.470Z] Removing intermediate container e1db5046c553 [2022-01-28T04:59:07.470Z] ---> 75b0a0aecb47 [2022-01-28T04:59:07.470Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-28T04:59:07.470Z] ---> Running in d9ee09c8ba69 [2022-01-28T04:59:07.470Z] Removing intermediate container d9ee09c8ba69 [2022-01-28T04:59:07.470Z] ---> adcab4c5b6bf [2022-01-28T04:59:07.470Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-28T04:59:07.470Z] ---> Running in 04d11ad49cc7 [2022-01-28T04:59:07.731Z] Removing intermediate container 04d11ad49cc7 [2022-01-28T04:59:07.731Z] ---> 445d408f6711 [2022-01-28T04:59:07.731Z] Step 23/25 : LABEL arch=amd64 [2022-01-28T04:59:07.731Z] ---> Running in dc79b48d96d3 [2022-01-28T04:59:07.731Z] Removing intermediate container dc79b48d96d3 [2022-01-28T04:59:07.731Z] ---> 11caad1bc3f5 [2022-01-28T04:59:07.731Z] Step 24/25 : LABEL git_sha=dd2488f44e7de249a3f057dee004478318674dba [2022-01-28T04:59:07.731Z] ---> Running in 649e91a2460c [2022-01-28T04:59:07.731Z] Removing intermediate container 649e91a2460c [2022-01-28T04:59:07.731Z] ---> edd8cd5061bb [2022-01-28T04:59:07.731Z] Step 25/25 : LABEL version=2.2.0-dev.13 [2022-01-28T04:59:07.992Z] ---> Running in c7dca95c0b7e [2022-01-28T04:59:07.992Z] Removing intermediate container c7dca95c0b7e [2022-01-28T04:59:07.992Z] ---> 77677bb0f98d [2022-01-28T04:59:07.992Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-28T04:59:07.992Z] Successfully built 77677bb0f98d [2022-01-28T04:59:07.992Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:59:08.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-28T04:59:08.439Z] [2022-01-28T04:59:08.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:59:08.581Z] Commit message: "Merge pull request #1093 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.7" [2022-01-28T04:59:08.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-28T04:59:08.745Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-28T04:59:08.745Z] b4d181a07f80: Pulling fs layer [2022-01-28T04:59:08.745Z] a1111a8f2ec3: Pulling fs layer [2022-01-28T04:59:08.745Z] ed53099fbce6: Pulling fs layer [2022-01-28T04:59:08.745Z] dc539afda2c1: Pulling fs layer [2022-01-28T04:59:08.745Z] 77bc0d833cb6: Pulling fs layer [2022-01-28T04:59:08.745Z] 9065ff56babe: Pulling fs layer [2022-01-28T04:59:08.745Z] d287ab97295c: Pulling fs layer [2022-01-28T04:59:08.745Z] dc539afda2c1: Waiting [2022-01-28T04:59:08.745Z] 77bc0d833cb6: Waiting [2022-01-28T04:59:08.745Z] 9065ff56babe: Waiting [2022-01-28T04:59:08.745Z] d287ab97295c: Waiting [2022-01-28T04:59:08.745Z] a1111a8f2ec3: Verifying Checksum [2022-01-28T04:59:08.745Z] a1111a8f2ec3: Download complete [2022-01-28T04:59:08.745Z] dc539afda2c1: Verifying Checksum [2022-01-28T04:59:08.745Z] dc539afda2c1: Download complete [2022-01-28T04:59:08.892Z] [2022-01-28T04:59:08.892Z] GitHub has been notified of this commit’s build result [2022-01-28T04:59:08.892Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-28T04:59:09.008Z] ed53099fbce6: Verifying Checksum [2022-01-28T04:59:09.008Z] ed53099fbce6: Download complete [2022-01-28T04:59:09.008Z] 9065ff56babe: Verifying Checksum [2022-01-28T04:59:09.008Z] 9065ff56babe: Download complete [2022-01-28T04:59:09.008Z] 77bc0d833cb6: Verifying Checksum [2022-01-28T04:59:09.008Z] 77bc0d833cb6: Download complete [2022-01-28T04:59:09.008Z] b4d181a07f80: Verifying Checksum [2022-01-28T04:59:09.008Z] b4d181a07f80: Download complete [2022-01-28T04:59:09.432Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-28T04:59:09.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-28T04:59:09.432Z] Dload Upload Total Spent Left Speed [2022-01-28T04:59:09.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 81116 [2022-01-28T04:59:09.580Z] d287ab97295c: Verifying Checksum [2022-01-28T04:59:09.580Z] d287ab97295c: Download complete [Pipeline] sh [2022-01-28T04:59:09.922Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-28T04:59:10.262Z] + sudo tee /etc/docker/daemon.new [2022-01-28T04:59:10.262Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-28T04:59:10.262Z] { [2022-01-28T04:59:10.262Z] "registry-mirrors": [ [2022-01-28T04:59:10.262Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-28T04:59:10.262Z] ], [2022-01-28T04:59:10.262Z] "bip": "10.250.0.254/24", [2022-01-28T04:59:10.262Z] "hosts": [ [2022-01-28T04:59:10.262Z] "tcp://0.0.0.0:5555", [2022-01-28T04:59:10.262Z] "unix:///var/run/docker.sock" [2022-01-28T04:59:10.262Z] ], [2022-01-28T04:59:10.262Z] "mtu": 1458, [2022-01-28T04:59:10.262Z] "selinux-enabled": true, [2022-01-28T04:59:10.262Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-28T04:59:10.262Z] } [Pipeline] sh [2022-01-28T04:59:10.538Z] b4d181a07f80: Pull complete [2022-01-28T04:59:10.610Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-28T04:59:10.804Z] a1111a8f2ec3: Pull complete [2022-01-28T04:59:11.007Z] + sudo service docker restart [2022-01-28T04:59:11.384Z] ed53099fbce6: Pull complete [2022-01-28T04:59:11.384Z] dc539afda2c1: Pull complete [2022-01-28T04:59:11.644Z] 77bc0d833cb6: Pull complete [2022-01-28T04:59:11.910Z] 9065ff56babe: Pull complete [2022-01-28T04:59:17.247Z] d287ab97295c: Pull complete [2022-01-28T04:59:17.247Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-28T04:59:17.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-28T04:59:17.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-28T04:59:17.324Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T04:59:17.360Z] $ 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/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-lftools-log-publisher:latest cat [2022-01-28T04:59:20.529Z] $ docker top 3763bca2576b349d318233e835cd9eb5c66d31d4480cb56e07e5fea076131ebf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-28T04:59:21.103Z] ---> job-cost.sh [2022-01-28T04:59:21.103Z] lf-activate-venv: SKIPPING [2022-01-28T04:59:21.103Z] INFO: No Stack... [2022-01-28T04:59:21.412Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-28T04:59:21.733Z] INFO: Archiving Costs [Pipeline] sh [2022-01-28T04:59:22.091Z] + cut -d, -f6 [2022-01-28T04:59:22.092Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock [2022-01-28T04:59:22.108Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-46-stack-cost] [2022-01-28T04:59:22.115Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-46-stack-cost] did not exist. Created. [2022-01-28T04:59:22.115Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-28T04:59:22.430Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-28T04:59:22.469Z] Stashed 1 file(s) [Pipeline] } [2022-01-28T04:59:22.476Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-28T04:59:22.497Z] $ docker stop --time=1 3763bca2576b349d318233e835cd9eb5c66d31d4480cb56e07e5fea076131ebf [2022-01-28T04:59:23.634Z] $ docker rm -f 3763bca2576b349d318233e835cd9eb5c66d31d4480cb56e07e5fea076131ebf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-28T04:59:29.346Z] provisioning config files... [2022-01-28T04:59:29.369Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/46@tmp/config7814413940763672550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-28T04:59:29.728Z] ---> docker-login.sh [2022-01-28T04:59:29.728Z] nexus3.edgexfoundry.org:10001 [2022-01-28T04:59:30.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:59:30.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:59:30.601Z] Configure a credential helper to remove this warning. See [2022-01-28T04:59:30.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:59:30.601Z] [2022-01-28T04:59:30.601Z] Login Succeeded [2022-01-28T04:59:30.601Z] nexus3.edgexfoundry.org:10002 [2022-01-28T04:59:30.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:59:30.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:59:30.874Z] Configure a credential helper to remove this warning. See [2022-01-28T04:59:30.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:59:30.874Z] [2022-01-28T04:59:30.874Z] Login Succeeded [2022-01-28T04:59:30.874Z] nexus3.edgexfoundry.org:10003 [2022-01-28T04:59:31.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:59:31.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:59:31.419Z] Configure a credential helper to remove this warning. See [2022-01-28T04:59:31.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:59:31.419Z] [2022-01-28T04:59:31.419Z] Login Succeeded [2022-01-28T04:59:31.419Z] nexus3.edgexfoundry.org:10004 [2022-01-28T04:59:31.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:59:31.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:59:31.694Z] Configure a credential helper to remove this warning. See [2022-01-28T04:59:31.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:59:31.694Z] [2022-01-28T04:59:31.694Z] Login Succeeded [2022-01-28T04:59:31.694Z] docker.io [2022-01-28T04:59:32.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-28T04:59:32.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-28T04:59:32.560Z] Configure a credential helper to remove this warning. See [2022-01-28T04:59:32.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-28T04:59:32.560Z] [2022-01-28T04:59:32.560Z] Login Succeeded [2022-01-28T04:59:32.560Z] ---> docker-login.sh ends [Pipeline] } [2022-01-28T04:59:32.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-28T04:59:33.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-28T04:59:33.082Z] ========================================================= [2022-01-28T04:59:33.082Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-28T04:59:33.082Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-28T04:59:33.430Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-28T04:59:33.704Z] Sending build context to Docker daemon 5.073MB [2022-01-28T04:59:33.981Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-28T04:59:33.981Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-28T04:59:33.981Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-28T04:59:33.981Z] 9b3977197b4f: Pulling fs layer [2022-01-28T04:59:33.981Z] 1a89e8eeedd5: Pulling fs layer [2022-01-28T04:59:33.981Z] 94645a83ff95: Pulling fs layer [2022-01-28T04:59:33.981Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-28T04:59:33.981Z] 0c92f367c5e7: Pulling fs layer [2022-01-28T04:59:33.981Z] 4b8299f9d1f4: Pulling fs layer [2022-01-28T04:59:33.981Z] 9a6b49a46696: Pulling fs layer [2022-01-28T04:59:33.981Z] cf05db05a679: Pulling fs layer [2022-01-28T04:59:33.981Z] 4b8299f9d1f4: Waiting [2022-01-28T04:59:33.981Z] 9a6b49a46696: Waiting [2022-01-28T04:59:33.981Z] 3f3a8bcf1eab: Waiting [2022-01-28T04:59:33.981Z] 0c92f367c5e7: Waiting [2022-01-28T04:59:33.981Z] cf05db05a679: Waiting [2022-01-28T04:59:33.981Z] 94645a83ff95: Verifying Checksum [2022-01-28T04:59:33.981Z] 94645a83ff95: Download complete [2022-01-28T04:59:33.981Z] 1a89e8eeedd5: Verifying Checksum [2022-01-28T04:59:33.981Z] 1a89e8eeedd5: Download complete [2022-01-28T04:59:33.981Z] 0c92f367c5e7: Verifying Checksum [2022-01-28T04:59:33.981Z] 0c92f367c5e7: Download complete [2022-01-28T04:59:33.981Z] 4b8299f9d1f4: Verifying Checksum [2022-01-28T04:59:33.981Z] 4b8299f9d1f4: Download complete [2022-01-28T04:59:33.981Z] 9b3977197b4f: Verifying Checksum [2022-01-28T04:59:33.981Z] 9a6b49a46696: Verifying Checksum [2022-01-28T04:59:33.981Z] 9a6b49a46696: Download complete [2022-01-28T04:59:34.970Z] 9b3977197b4f: Pull complete [2022-01-28T04:59:35.248Z] 1a89e8eeedd5: Pull complete [2022-01-28T04:59:35.845Z] 94645a83ff95: Pull complete [2022-01-28T04:59:35.845Z] cf05db05a679: Download complete [2022-01-28T04:59:36.439Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-28T04:59:36.439Z] 3f3a8bcf1eab: Download complete [2022-01-28T04:59:48.836Z] 3f3a8bcf1eab: Pull complete [2022-01-28T04:59:48.836Z] 0c92f367c5e7: Pull complete [2022-01-28T04:59:48.836Z] 4b8299f9d1f4: Pull complete [2022-01-28T04:59:48.836Z] 9a6b49a46696: Pull complete [2022-01-28T04:59:55.548Z] cf05db05a679: Pull complete [2022-01-28T04:59:55.548Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-28T04:59:55.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-28T04:59:55.548Z] ---> 0ccda1f7e2ee [2022-01-28T04:59:55.548Z] Step 3/11 : ARG MAKE=make build [2022-01-28T04:59:56.143Z] ---> Running in c754d91de95d [2022-01-28T04:59:56.419Z] Removing intermediate container c754d91de95d [2022-01-28T04:59:56.419Z] ---> b0b1aa26170e [2022-01-28T04:59:56.419Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-28T04:59:56.697Z] ---> Running in 543887b089f1 [2022-01-28T04:59:56.969Z] Removing intermediate container 543887b089f1 [2022-01-28T04:59:56.970Z] ---> 35b2ee85f8fe [2022-01-28T04:59:56.970Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-28T04:59:57.245Z] ---> Running in 4016df0ea45d [2022-01-28T04:59:57.521Z] Removing intermediate container 4016df0ea45d [2022-01-28T04:59:57.521Z] ---> 9dbbd0973e4d [2022-01-28T04:59:57.521Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-28T04:59:57.521Z] ---> Running in c0c97cb7ca40 [2022-01-28T04:59:59.511Z] Removing intermediate container c0c97cb7ca40 [2022-01-28T04:59:59.511Z] ---> 47afb2ad248b [2022-01-28T04:59:59.511Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-28T04:59:59.511Z] ---> Running in c168462dbb06 [2022-01-28T05:00:00.494Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-28T05:00:01.471Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-28T05:00:02.067Z] OK: 220 MiB in 52 packages [2022-01-28T05:00:03.047Z] Removing intermediate container c168462dbb06 [2022-01-28T05:00:03.047Z] ---> 10caa143a6a7 [2022-01-28T05:00:03.047Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-28T05:00:03.639Z] ---> 510ee0212fa1 [2022-01-28T05:00:03.639Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-28T05:00:03.639Z] ---> Running in ea39bd155e00 [2022-01-28T05:01:11.678Z] Removing intermediate container ea39bd155e00 [2022-01-28T05:01:11.678Z] ---> ed4c77835f5d [2022-01-28T05:01:11.678Z] Step 10/11 : COPY . . [2022-01-28T05:01:12.275Z] ---> 20e1beb82f3e [2022-01-28T05:01:12.275Z] Step 11/11 : RUN ${MAKE} [2022-01-28T05:01:12.275Z] ---> Running in 1fd866a790e2 [2022-01-28T05:01:13.251Z] noop [2022-01-28T05:01:13.845Z] Removing intermediate container 1fd866a790e2 [2022-01-28T05:01:13.845Z] ---> ea0c9f83cb3c [2022-01-28T05:01:13.845Z] Successfully built ea0c9f83cb3c [2022-01-28T05:01:13.845Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:01:14.193Z] + docker inspect -f . ci-base-image-arm64 [2022-01-28T05:01:14.193Z] . [Pipeline] withDockerContainer [2022-01-28T05:01:14.430Z] prd-ubuntu18.04-docker-arm64-4c-16g-4122 does not seem to be running inside a container [2022-01-28T05:01:14.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/46 -v /w/workspace/device-sdk-go/46:/w/workspace/device-sdk-go/46:rw,z -v /w/workspace/device-sdk-go/46@tmp:/w/workspace/device-sdk-go/46@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-arm64 cat [2022-01-28T05:01:15.796Z] $ docker top 78614ea47d241f6b098c393223df08ac395d845aa41e86d00f4f28aab41e3776 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-28T05:01:16.690Z] + go version [2022-01-28T05:01:16.690Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-28T05:01:16.709Z] $ docker stop --time=1 78614ea47d241f6b098c393223df08ac395d845aa41e86d00f4f28aab41e3776 [2022-01-28T05:01:18.335Z] $ docker rm -f 78614ea47d241f6b098c393223df08ac395d845aa41e86d00f4f28aab41e3776 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:01:18.903Z] + docker inspect -f . ci-base-image-arm64 [2022-01-28T05:01:18.903Z] . [Pipeline] withDockerContainer [2022-01-28T05:01:19.128Z] prd-ubuntu18.04-docker-arm64-4c-16g-4122 does not seem to be running inside a container [2022-01-28T05:01:19.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/46 -v /w/workspace/device-sdk-go/46:/w/workspace/device-sdk-go/46:rw,z -v /w/workspace/device-sdk-go/46@tmp:/w/workspace/device-sdk-go/46@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-arm64 cat [2022-01-28T05:01:20.488Z] $ docker top ff0cc9e25b9794e4946fb5f9c745a6afc7734ddba54fc44f1d979fb69f9eeb14 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-28T05:01:21.373Z] + make test [2022-01-28T05:01:21.373Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-28T05:01:22.809Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-28T05:02:09.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-28T05:02:09.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-28T05:02:09.804Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-28T05:02:14.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.078s coverage: 23.3% of statements [2022-01-28T05:02:14.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-28T05:02:14.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements [2022-01-28T05:02:14.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements [2022-01-28T05:02:14.151Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.068s coverage: 9.0% of statements [2022-01-28T05:02:14.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-28T05:02:14.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-28T05:02:14.151Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-28T05:02:16.149Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.073s coverage: 28.7% of statements [2022-01-28T05:02:16.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-28T05:02:16.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.085s coverage: 86.1% of statements [2022-01-28T05:02:16.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-28T05:02:16.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-28T05:02:16.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.4% of statements [2022-01-28T05:02:17.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.168s coverage: 89.2% of statements [2022-01-28T05:02:17.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-28T05:02:18.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements [2022-01-28T05:02:18.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-28T05:02:18.784Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-28T05:02:18.784Z] GO111MODULE=on go vet ./... [2022-01-28T05:02:37.129Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-28T05:02:37.129Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-28T05:02:37.129Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-28T05:02:38.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-28T05:02:38.131Z] $ docker stop --time=1 ff0cc9e25b9794e4946fb5f9c745a6afc7734ddba54fc44f1d979fb69f9eeb14 [2022-01-28T05:02:39.870Z] $ docker rm -f ff0cc9e25b9794e4946fb5f9c745a6afc7734ddba54fc44f1d979fb69f9eeb14 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-28T05:02:40.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-28T05:02:40.735Z] Warning: overwriting stash ‘coverage-report’ [2022-01-28T05:02:41.274Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-28T05:02:41.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-28T05:02:42.012Z] + ls -al . [2022-01-28T05:02:42.012Z] total 308 [2022-01-28T05:02:42.012Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 05:02 . [2022-01-28T05:02:42.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 04:59 .. [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 04:59 .dockerignore [2022-01-28T05:02:42.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 04:59 .git [2022-01-28T05:02:42.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 28 04:59 .github [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 28 04:59 .gitignore [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 28 04:59 .golangci.yml [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 28 04:59 CHANGELOG.md [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 28 04:59 GOVERNANCE.md [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 28 04:59 Jenkinsfile [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 04:59 LICENSE [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 28 04:59 Makefile [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 28 04:59 OWNERS.md [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 28 04:59 README.md [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 12 Jan 28 04:57 VERSION [2022-01-28T05:02:42.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 04:59 bin [2022-01-28T05:02:42.012Z] -rw-r--r-- 1 jenkins jenkins 128608 Jan 28 05:02 coverage.out [2022-01-28T05:02:42.012Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 04:59 example [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 2766 Jan 28 04:59 go.mod [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 49665 Jan 28 04:59 go.sum [2022-01-28T05:02:42.012Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 04:59 internal [2022-01-28T05:02:42.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 28 04:59 openapi [2022-01-28T05:02:42.012Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 04:59 pkg [2022-01-28T05:02:42.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 04:59 snap [2022-01-28T05:02:42.012Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 04:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:02:42.357Z] + 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=dd2488f44e7de249a3f057dee004478318674dba --label arch=arm64 --label version=2.2.0-dev.13 . [2022-01-28T05:02:42.630Z] Sending build context to Docker daemon 5.203MB [2022-01-28T05:02:42.901Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-28T05:02:42.901Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-28T05:02:42.901Z] ---> ea0c9f83cb3c [2022-01-28T05:02:42.901Z] Step 3/25 : ARG MAKE=make build [2022-01-28T05:02:42.901Z] ---> Running in c3d9fc500927 [2022-01-28T05:02:43.177Z] Removing intermediate container c3d9fc500927 [2022-01-28T05:02:43.177Z] ---> f2c76076d3ec [2022-01-28T05:02:43.177Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-28T05:02:43.456Z] ---> Running in fa9cb7f85445 [2022-01-28T05:02:43.735Z] Removing intermediate container fa9cb7f85445 [2022-01-28T05:02:43.735Z] ---> f494474c8ccc [2022-01-28T05:02:43.735Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-28T05:02:43.735Z] ---> Running in af4e06e24aab [2022-01-28T05:02:44.332Z] Removing intermediate container af4e06e24aab [2022-01-28T05:02:44.332Z] ---> 19e0016a8a3d [2022-01-28T05:02:44.332Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-28T05:02:44.332Z] ---> Running in 6cbee6b8b9f8 [2022-01-28T05:02:46.308Z] Removing intermediate container 6cbee6b8b9f8 [2022-01-28T05:02:46.309Z] ---> 81f057a3e63b [2022-01-28T05:02:46.309Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-28T05:02:46.309Z] ---> Running in b2ec70da39b8 [2022-01-28T05:02:46.901Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-28T05:02:47.873Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-28T05:02:48.854Z] OK: 220 MiB in 52 packages [2022-01-28T05:02:49.453Z] Removing intermediate container b2ec70da39b8 [2022-01-28T05:02:49.453Z] ---> 32e80e77ac2a [2022-01-28T05:02:49.453Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-28T05:02:50.046Z] ---> 5fda9eb30f07 [2022-01-28T05:02:50.046Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-28T05:02:50.319Z] ---> Running in 2d2b3737a6d6 [2022-01-28T05:02:52.290Z] Removing intermediate container 2d2b3737a6d6 [2022-01-28T05:02:52.290Z] ---> a9102873db71 [2022-01-28T05:02:52.290Z] Step 10/25 : COPY . . [2022-01-28T05:02:53.274Z] ---> 61d92e715ebf [2022-01-28T05:02:53.274Z] Step 11/25 : RUN ${MAKE} [2022-01-28T05:02:53.549Z] ---> Running in 2f4431d9cfef [2022-01-28T05:02:54.541Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-28T05:03:33.641Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-28T05:03:33.641Z] Removing intermediate container 2f4431d9cfef [2022-01-28T05:03:33.641Z] ---> 0a3a9a85d2b4 [2022-01-28T05:03:33.641Z] Step 12/25 : FROM alpine:3.14 [2022-01-28T05:03:33.641Z] 3.14: Pulling from library/alpine [2022-01-28T05:03:33.641Z] be307f383ecc: Pulling fs layer [2022-01-28T05:03:33.641Z] be307f383ecc: Download complete [2022-01-28T05:03:33.641Z] be307f383ecc: Pull complete [2022-01-28T05:03:33.641Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-28T05:03:33.641Z] Status: Downloaded newer image for alpine:3.14 [2022-01-28T05:03:33.641Z] ---> 5b8b7b635229 [2022-01-28T05:03:33.641Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-28T05:03:33.641Z] ---> Running in 77a5dfd96597 [2022-01-28T05:03:33.641Z] Removing intermediate container 77a5dfd96597 [2022-01-28T05:03:33.641Z] ---> dde9bf4fc96d [2022-01-28T05:03:33.641Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-28T05:03:33.641Z] ---> Running in 9f374148f450 [2022-01-28T05:03:35.627Z] Removing intermediate container 9f374148f450 [2022-01-28T05:03:35.627Z] ---> c482029e0b81 [2022-01-28T05:03:35.627Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-28T05:03:35.627Z] ---> Running in c8d5b985b5c4 [2022-01-28T05:03:36.223Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-28T05:03:37.197Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-28T05:03:37.792Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-28T05:03:38.065Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-28T05:03:38.065Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-28T05:03:38.336Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-28T05:03:38.336Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-28T05:03:38.336Z] Executing busybox-1.33.1-r6.trigger [2022-01-28T05:03:38.610Z] OK: 8 MiB in 19 packages [2022-01-28T05:03:39.587Z] Removing intermediate container c8d5b985b5c4 [2022-01-28T05:03:39.587Z] ---> 6d004d2313f1 [2022-01-28T05:03:39.587Z] Step 16/25 : WORKDIR / [2022-01-28T05:03:39.587Z] ---> Running in 67a73a8956aa [2022-01-28T05:03:39.859Z] Removing intermediate container 67a73a8956aa [2022-01-28T05:03:39.859Z] ---> 894da83906b8 [2022-01-28T05:03:39.859Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-28T05:03:40.456Z] ---> 748dae13475e [2022-01-28T05:03:40.456Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-28T05:03:41.433Z] ---> ed207ff4ecec [2022-01-28T05:03:41.433Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-28T05:03:42.030Z] ---> 495d8c520fab [2022-01-28T05:03:42.030Z] Step 20/25 : EXPOSE 59999 [2022-01-28T05:03:42.030Z] ---> Running in 00e68eb7387e [2022-01-28T05:03:42.625Z] Removing intermediate container 00e68eb7387e [2022-01-28T05:03:42.625Z] ---> f14eb0feff9f [2022-01-28T05:03:42.625Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-28T05:03:42.625Z] ---> Running in 930bbdb56d23 [2022-01-28T05:03:42.905Z] Removing intermediate container 930bbdb56d23 [2022-01-28T05:03:42.905Z] ---> 7617e506ace3 [2022-01-28T05:03:42.905Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-28T05:03:42.905Z] ---> Running in 984cedcb3d25 [2022-01-28T05:03:43.498Z] Removing intermediate container 984cedcb3d25 [2022-01-28T05:03:43.498Z] ---> 35af918d2190 [2022-01-28T05:03:43.498Z] Step 23/25 : LABEL arch=arm64 [2022-01-28T05:03:43.498Z] ---> Running in 2c25d17ecf3a [2022-01-28T05:03:43.775Z] Removing intermediate container 2c25d17ecf3a [2022-01-28T05:03:43.775Z] ---> d324859f2376 [2022-01-28T05:03:43.775Z] Step 24/25 : LABEL git_sha=dd2488f44e7de249a3f057dee004478318674dba [2022-01-28T05:03:43.775Z] ---> Running in 21c1563b29b6 [2022-01-28T05:03:44.365Z] Removing intermediate container 21c1563b29b6 [2022-01-28T05:03:44.365Z] ---> e422d83517d1 [2022-01-28T05:03:44.365Z] Step 25/25 : LABEL version=2.2.0-dev.13 [2022-01-28T05:03:44.365Z] ---> Running in f3276b946d24 [2022-01-28T05:03:44.636Z] Removing intermediate container f3276b946d24 [2022-01-28T05:03:44.636Z] ---> e1e79c63beb5 [2022-01-28T05:03:44.636Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-28T05:03:44.636Z] Successfully built e1e79c63beb5 [2022-01-28T05:03:44.636Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:03:45.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-28T05:03:45.062Z] [2022-01-28T05:03:45.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:03:45.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-28T05:03:45.688Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-28T05:03:45.688Z] 448f6bf000e3: Pulling fs layer [2022-01-28T05:03:45.688Z] f757da607395: Pulling fs layer [2022-01-28T05:03:45.688Z] 05883995daec: Pulling fs layer [2022-01-28T05:03:45.688Z] 8603b9c90790: Pulling fs layer [2022-01-28T05:03:45.688Z] 1560dd03e051: Pulling fs layer [2022-01-28T05:03:45.688Z] 27f5ce0e4adf: Pulling fs layer [2022-01-28T05:03:45.688Z] c2d8d7efcc4b: Pulling fs layer [2022-01-28T05:03:45.688Z] 8603b9c90790: Waiting [2022-01-28T05:03:45.688Z] 27f5ce0e4adf: Waiting [2022-01-28T05:03:45.688Z] c2d8d7efcc4b: Waiting [2022-01-28T05:03:45.688Z] 1560dd03e051: Waiting [2022-01-28T05:03:45.688Z] f757da607395: Verifying Checksum [2022-01-28T05:03:45.688Z] f757da607395: Download complete [2022-01-28T05:03:45.688Z] 8603b9c90790: Verifying Checksum [2022-01-28T05:03:45.688Z] 8603b9c90790: Download complete [2022-01-28T05:03:45.688Z] 1560dd03e051: Verifying Checksum [2022-01-28T05:03:45.688Z] 1560dd03e051: Download complete [2022-01-28T05:03:45.688Z] 27f5ce0e4adf: Download complete [2022-01-28T05:03:45.965Z] 05883995daec: Verifying Checksum [2022-01-28T05:03:45.965Z] 05883995daec: Download complete [2022-01-28T05:03:46.236Z] 448f6bf000e3: Verifying Checksum [2022-01-28T05:03:46.236Z] 448f6bf000e3: Download complete [2022-01-28T05:03:48.847Z] c2d8d7efcc4b: Download complete [2022-01-28T05:03:49.824Z] 448f6bf000e3: Pull complete [2022-01-28T05:03:50.421Z] f757da607395: Pull complete [2022-01-28T05:03:51.852Z] 05883995daec: Pull complete [2022-01-28T05:03:52.126Z] 8603b9c90790: Pull complete [2022-01-28T05:03:53.108Z] 1560dd03e051: Pull complete [2022-01-28T05:03:53.380Z] 27f5ce0e4adf: Pull complete [2022-01-28T05:04:08.461Z] c2d8d7efcc4b: Pull complete [2022-01-28T05:04:08.461Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-28T05:04:08.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-28T05:04:08.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-28T05:04:08.687Z] prd-ubuntu18.04-docker-arm64-4c-16g-4122 does not seem to be running inside a container [2022-01-28T05:04:08.760Z] $ 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/46 -v /w/workspace/device-sdk-go/46:/w/workspace/device-sdk-go/46:rw,z -v /w/workspace/device-sdk-go/46@tmp:/w/workspace/device-sdk-go/46@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:arm64 cat [2022-01-28T05:04:11.324Z] $ docker top d142079f2efd2e8bc6c3759d670925c683db7f382548828ec4c91ba1121b2495 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:04:12.240Z] ---> job-cost.sh [2022-01-28T05:04:12.240Z] lf-activate-venv: SKIPPING [2022-01-28T05:04:12.240Z] INFO: No Stack... [2022-01-28T05:04:12.509Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-28T05:04:12.779Z] INFO: Archiving Costs [Pipeline] sh [2022-01-28T05:04:13.440Z] + cut -d, -f6 [2022-01-28T05:04:13.440Z] + cat /w/workspace/device-sdk-go/46/archives/cost.csv [Pipeline] lock [2022-01-28T05:04:13.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-46-stack-cost] [2022-01-28T05:04:13.515Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-46-stack-cost] did not exist. Created. [2022-01-28T05:04:13.515Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-28T05:04:14.197Z] /w/workspace/device-sdk-go/46@tmp/durable-a7f173ba/script.sh: 1: /w/workspace/device-sdk-go/46@tmp/durable-a7f173ba/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-28T05:04:14.865Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-28T05:04:14.887Z] Warning: overwriting stash ‘stack-cost’ [2022-01-28T05:04:14.950Z] Stashed 1 file(s) [Pipeline] } [2022-01-28T05:04:14.957Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-28T05:04:14.970Z] $ docker stop --time=1 d142079f2efd2e8bc6c3759d670925c683db7f382548828ec4c91ba1121b2495 [2022-01-28T05:04:16.423Z] $ docker rm -f d142079f2efd2e8bc6c3759d670925c683db7f382548828ec4c91ba1121b2495 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-28T05:04:16.905Z] provisioning config files... [2022-01-28T05:04:16.913Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7737133742051091109tmp [Pipeline] { [Pipeline] sh [2022-01-28T05:04:17.215Z] + set +x [2022-01-28T05:04:17.215Z] + bash -s -- [2022-01-28T05:04:17.215Z] + curl -s https://codecov.io/bash [2022-01-28T05:04:17.215Z] [2022-01-28T05:04:17.215Z] _____ _ [2022-01-28T05:04:17.215Z] / ____| | | [2022-01-28T05:04:17.215Z] | | ___ __| | ___ ___ _____ __ [2022-01-28T05:04:17.215Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-28T05:04:17.215Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-28T05:04:17.215Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-28T05:04:17.215Z] Bash-1.0.6 [2022-01-28T05:04:17.215Z] [2022-01-28T05:04:17.215Z] [2022-01-28T05:04:17.215Z] ==> git version 2.24.4 found [2022-01-28T05:04:17.215Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-28T05:04:17.215Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-28T05:04:17.215Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-28T05:04:17.216Z] ==> Jenkins CI detected. [2022-01-28T05:04:17.216Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-28T05:04:17.216Z] project root: . [2022-01-28T05:04:17.216Z] --> token set from env [2022-01-28T05:04:17.216Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-28T05:04:17.479Z] ==> Running gcov in . (disable via -X gcov) [2022-01-28T05:04:17.479Z] ==> Python coveragepy not found [2022-01-28T05:04:17.479Z] ==> Searching for coverage reports in: [2022-01-28T05:04:17.479Z] + . [2022-01-28T05:04:17.479Z] -> Found 1 reports [2022-01-28T05:04:17.479Z] ==> Detecting git/mercurial file structure [2022-01-28T05:04:17.479Z] ==> Reading reports [2022-01-28T05:04:17.479Z] + ./coverage.out bytes=128608 [2022-01-28T05:04:17.479Z] ==> Appending adjustments [2022-01-28T05:04:17.479Z] https://docs.codecov.io/docs/fixing-reports [2022-01-28T05:04:17.739Z] + Found adjustments [2022-01-28T05:04:17.739Z] ==> Gzipping contents [2022-01-28T05:04:17.739Z] 16K /tmp/codecov.J7nfHy.gz [2022-01-28T05:04:17.739Z] ==> Uploading reports [2022-01-28T05:04:17.739Z] url: https://codecov.io [2022-01-28T05:04:17.739Z] query: branch=main&commit=dd2488f44e7de249a3f057dee004478318674dba&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-28T05:04:17.739Z] -> Pinging Codecov [2022-01-28T05:04:17.739Z] 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=dd2488f44e7de249a3f057dee004478318674dba&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-28T05:04:18.001Z] -> Uploading to [2022-01-28T05:04:18.001Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-28/7E55EF52A471D76F132DFD9A03CDDE97/dd2488f44e7de249a3f057dee004478318674dba/ebdb6da4-7bff-4f20-831e-85bb455f751c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220128T050417Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=625a20a7386b74d6e9b466e74254fce6514fac25e270a6c13665745f3610ded9 [2022-01-28T05:04:18.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-28T05:04:18.001Z] Dload Upload Total Spent Left Speed [2022-01-28T05:04:18.264Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16089 0 0 100 16089 0 50233 --:--:-- --:--:-- --:--:-- 50278 [2022-01-28T05:04:18.264Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dd2488f44e7de249a3f057dee004478318674dba [Pipeline] } [2022-01-28T05:04:18.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-28T05:04:18.550Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-28T05:04:18.564Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:04:18.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-28T05:04:18.863Z] [2022-01-28T05:04:18.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:04:19.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-28T05:04:19.168Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-28T05:04:19.168Z] 188c0c94c7c5: Pulling fs layer [2022-01-28T05:04:19.168Z] 0ef7d3d256c8: Pulling fs layer [2022-01-28T05:04:19.168Z] de9db76c5a1d: Pulling fs layer [2022-01-28T05:04:19.168Z] 0eba1c9be4d2: Pulling fs layer [2022-01-28T05:04:19.168Z] 0d57e429df01: Pulling fs layer [2022-01-28T05:04:19.168Z] 4e4be7b47b0d: Pulling fs layer [2022-01-28T05:04:19.168Z] e1f770b5df2f: Pulling fs layer [2022-01-28T05:04:19.168Z] 85a0685a4137: Pulling fs layer [2022-01-28T05:04:19.168Z] 0d57e429df01: Waiting [2022-01-28T05:04:19.168Z] 4e4be7b47b0d: Waiting [2022-01-28T05:04:19.168Z] e1f770b5df2f: Waiting [2022-01-28T05:04:19.168Z] 85a0685a4137: Waiting [2022-01-28T05:04:19.168Z] de9db76c5a1d: Verifying Checksum [2022-01-28T05:04:19.168Z] de9db76c5a1d: Download complete [2022-01-28T05:04:19.169Z] 0ef7d3d256c8: Verifying Checksum [2022-01-28T05:04:19.169Z] 0ef7d3d256c8: Download complete [2022-01-28T05:04:19.169Z] 0d57e429df01: Verifying Checksum [2022-01-28T05:04:19.169Z] 0d57e429df01: Download complete [2022-01-28T05:04:19.169Z] 4e4be7b47b0d: Verifying Checksum [2022-01-28T05:04:19.169Z] 4e4be7b47b0d: Download complete [2022-01-28T05:04:19.169Z] 188c0c94c7c5: Verifying Checksum [2022-01-28T05:04:19.169Z] 188c0c94c7c5: Download complete [2022-01-28T05:04:19.432Z] e1f770b5df2f: Verifying Checksum [2022-01-28T05:04:19.432Z] e1f770b5df2f: Download complete [2022-01-28T05:04:19.698Z] 188c0c94c7c5: Pull complete [2022-01-28T05:04:19.698Z] 0eba1c9be4d2: Verifying Checksum [2022-01-28T05:04:19.698Z] 0eba1c9be4d2: Download complete [2022-01-28T05:04:19.968Z] 0ef7d3d256c8: Pull complete [2022-01-28T05:04:19.968Z] 85a0685a4137: Verifying Checksum [2022-01-28T05:04:19.968Z] 85a0685a4137: Download complete [2022-01-28T05:04:19.968Z] de9db76c5a1d: Pull complete [2022-01-28T05:04:24.245Z] 0eba1c9be4d2: Pull complete [2022-01-28T05:04:24.245Z] 0d57e429df01: Pull complete [2022-01-28T05:04:24.245Z] 4e4be7b47b0d: Pull complete [2022-01-28T05:04:24.245Z] e1f770b5df2f: Pull complete [2022-01-28T05:04:28.502Z] 85a0685a4137: Pull complete [2022-01-28T05:04:28.502Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-28T05:04:28.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-28T05:04:28.502Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-28T05:04:28.569Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T05:04:28.602Z] $ 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 [2022-01-28T05:04:30.456Z] $ docker top d04bde3a5ff8f4adf562032683a5c54b9051fb58fc397c708d76fb078a47970e -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-28T05:04:30.533Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-28T05:04:30.820Z] + set -o pipefail [2022-01-28T05:04:30.820Z] + snyk monitor '--org=edgex-jenkins' [2022-01-28T05:04:37.423Z] [2022-01-28T05:04:37.423Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-01-28T05:04:37.423Z] [2022-01-28T05:04:37.423Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/658f5c1d-63cf-43f0-be15-86d0ef480881 [2022-01-28T05:04:37.423Z] [2022-01-28T05:04:37.423Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-28T05:04:37.423Z] [2022-01-28T05:04:37.423Z] [Pipeline] } [2022-01-28T05:04:37.438Z] $ docker stop --time=1 d04bde3a5ff8f4adf562032683a5c54b9051fb58fc397c708d76fb078a47970e [2022-01-28T05:04:39.196Z] $ docker rm -f d04bde3a5ff8f4adf562032683a5c54b9051fb58fc397c708d76fb078a47970e [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 [2022-01-28T05:04:39.636Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-28T05:04:39.650Z] provisioning config files... [2022-01-28T05:04:39.662Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config291689148789392286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:04:39.965Z] --> edgex-publish-swagger.sh [2022-01-28T05:04:39.965Z] === Publish openapi/v2 API === [2022-01-28T05:04:39.965Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-01-28T05:04:39.965Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-01-28T05:04:39.965Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-28T05:04:39.965Z] Dload Upload Total Spent Left Speed [2022-01-28T05:04:40.910Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52147 0 0 100 52147 0 60847 --:--:-- --:--:-- --:--:-- 60848 100 52147 0 0 100 52147 0 60834 --:--:-- --:--:-- --:--:-- 60777 [2022-01-28T05:04:40.910Z] [2022-01-28T05:04:40.910Z] [Pipeline] } [2022-01-28T05:04:40.918Z] 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 [2022-01-28T05:04:41.315Z] + git log --format=format:%s -1 dd2488f44e7de249a3f057dee004478318674dba [Pipeline] sh [2022-01-28T05:04:41.610Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-28T05:04:41.610Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:04:41.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-28T05:04:41.918Z] . [Pipeline] withDockerContainer [2022-01-28T05:04:41.980Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T05:04:42.014Z] $ 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 [2022-01-28T05:04:42.376Z] $ docker top c4a03727ce4fdda97946b69301b7ecd2dd1b75225df872bdae17269279bc4a8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-28T05:04:42.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-28T05:04:42.479Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-28T05:04:42.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-28T05:04:42.613Z] $ docker exec c4a03727ce4fdda97946b69301b7ecd2dd1b75225df872bdae17269279bc4a8b ssh-agent [2022-01-28T05:04:42.719Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAeAPaF/agent.13 [2022-01-28T05:04:42.719Z] SSH_AGENT_PID=19 [2022-01-28T05:04:42.725Z] Running ssh-add (command line suppressed) [2022-01-28T05:04:42.824Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8641942259989440006.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8641942259989440006.key) [2022-01-28T05:04:42.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-28T05:04:43.130Z] + git semver tag [2022-01-28T05:04:43.130Z] # -> Open(): unable to determine branch for HEAD [2022-01-28T05:04:43.130Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-28T05:04:43.130Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-28T05:04:43.130Z] # $SEMVER_REMOTE_NAME = origin [2022-01-28T05:04:43.130Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-28T05:04:43.130Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-28T05:04:43.130Z] # $SEMVER_BRANCH = main [2022-01-28T05:04:43.130Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-28T05:04:43.130Z] # dd2488f44e7de249a3f057dee004478318674dba HEAD [2022-01-28T05:04:43.130Z] # -> Force: false [2022-01-28T05:04:43.130Z] # 1c66847bb02e0111e0f92ac80ebc1bad42b7bfbf refs/tags/v2.2.0-dev.13 [Pipeline] } [2022-01-28T05:04:43.141Z] $ docker exec --env ******** --env ******** c4a03727ce4fdda97946b69301b7ecd2dd1b75225df872bdae17269279bc4a8b ssh-agent -k [2022-01-28T05:04:43.224Z] unset SSH_AUTH_SOCK; [2022-01-28T05:04:43.225Z] unset SSH_AGENT_PID; [2022-01-28T05:04:43.225Z] echo Agent pid 19 killed; [2022-01-28T05:04:43.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-28T05:04:43.548Z] + git semver [Pipeline] } [2022-01-28T05:04:43.563Z] $ docker stop --time=1 c4a03727ce4fdda97946b69301b7ecd2dd1b75225df872bdae17269279bc4a8b [2022-01-28T05:04:44.740Z] $ docker rm -f c4a03727ce4fdda97946b69301b7ecd2dd1b75225df872bdae17269279bc4a8b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:04:45.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-28T05:04:45.131Z] [2022-01-28T05:04:45.131Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:04:45.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-28T05:04:45.440Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-28T05:04:45.440Z] ab5ef0e58194: Pulling fs layer [2022-01-28T05:04:45.440Z] 9712f1f96733: Pulling fs layer [2022-01-28T05:04:45.440Z] 63f879dbbcfc: Pulling fs layer [2022-01-28T05:04:45.440Z] 0d9ebad4ef96: Pulling fs layer [2022-01-28T05:04:45.440Z] e9a5061849ea: Pulling fs layer [2022-01-28T05:04:45.440Z] d747dcd14b5f: Pulling fs layer [2022-01-28T05:04:45.440Z] 2de7ff778b66: Pulling fs layer [2022-01-28T05:04:45.440Z] 0d9ebad4ef96: Waiting [2022-01-28T05:04:45.440Z] e9a5061849ea: Waiting [2022-01-28T05:04:45.440Z] d747dcd14b5f: Waiting [2022-01-28T05:04:45.440Z] 2de7ff778b66: Waiting [2022-01-28T05:04:45.440Z] 9712f1f96733: Verifying Checksum [2022-01-28T05:04:45.440Z] 9712f1f96733: Download complete [2022-01-28T05:04:45.721Z] 63f879dbbcfc: Verifying Checksum [2022-01-28T05:04:45.721Z] 63f879dbbcfc: Download complete [2022-01-28T05:04:45.991Z] ab5ef0e58194: Verifying Checksum [2022-01-28T05:04:45.991Z] ab5ef0e58194: Download complete [2022-01-28T05:04:45.991Z] d747dcd14b5f: Verifying Checksum [2022-01-28T05:04:45.991Z] d747dcd14b5f: Download complete [2022-01-28T05:04:45.991Z] 0d9ebad4ef96: Verifying Checksum [2022-01-28T05:04:45.991Z] 0d9ebad4ef96: Download complete [2022-01-28T05:04:45.991Z] e9a5061849ea: Verifying Checksum [2022-01-28T05:04:45.991Z] e9a5061849ea: Download complete [2022-01-28T05:04:45.991Z] 2de7ff778b66: Verifying Checksum [2022-01-28T05:04:45.991Z] 2de7ff778b66: Download complete [2022-01-28T05:04:49.319Z] ab5ef0e58194: Pull complete [2022-01-28T05:04:49.319Z] 9712f1f96733: Pull complete [2022-01-28T05:04:49.591Z] 63f879dbbcfc: Pull complete [2022-01-28T05:04:53.842Z] 0d9ebad4ef96: Pull complete [2022-01-28T05:04:54.103Z] e9a5061849ea: Pull complete [2022-01-28T05:04:54.103Z] d747dcd14b5f: Pull complete [2022-01-28T05:04:55.510Z] 2de7ff778b66: Pull complete [2022-01-28T05:04:55.510Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-28T05:04:55.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-28T05:04:55.510Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-28T05:04:55.590Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T05:04:55.631Z] $ 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 [2022-01-28T05:04:58.720Z] $ docker top 304a3f54306a09bbf6dd95b02d98d799bd37c7026f393211be95de246b2409b6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-28T05:04:58.802Z] provisioning config files... [2022-01-28T05:04:58.811Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8433463142576270550tmp [2022-01-28T05:04:58.820Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8227617755870882755tmp [2022-01-28T05:04:58.830Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config393280323731150785tmp [Pipeline] { [Pipeline] echo [2022-01-28T05:04:58.845Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:04:59.130Z] ---> sigul-configuration.sh [2022-01-28T05:04:59.130Z] gpg: directory `/root/.gnupg' created [2022-01-28T05:04:59.130Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-28T05:04:59.130Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-28T05:04:59.130Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-28T05:04:59.130Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-28T05:04:59.130Z] gpg: CAST5 encrypted data [2022-01-28T05:04:59.130Z] gpg: encrypted with 1 passphrase [2022-01-28T05:04:59.130Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-28T05:04:59.418Z] + mkdir /home/jenkins [2022-01-28T05:04:59.418Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-28T05:04:59.725Z] + 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 [2022-01-28T05:04:59.736Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:00.026Z] ---> sigul-install.sh [2022-01-28T05:05:00.026Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-28T05:05:00.322Z] + git tag --list [2022-01-28T05:05:00.322Z] 0.7.1 [2022-01-28T05:05:00.322Z] delhi-tag [2022-01-28T05:05:00.322Z] v1.0.0 [2022-01-28T05:05:00.322Z] v1.1.0 [2022-01-28T05:05:00.322Z] v1.1.1 [2022-01-28T05:05:00.322Z] v1.1.2 [2022-01-28T05:05:00.322Z] v1.2.0 [2022-01-28T05:05:00.322Z] v1.2.1 [2022-01-28T05:05:00.322Z] v1.2.2 [2022-01-28T05:05:00.322Z] v1.2.3 [2022-01-28T05:05:00.322Z] v1.3.0 [2022-01-28T05:05:00.322Z] v1.4.0 [2022-01-28T05:05:00.322Z] v2.0.0 [2022-01-28T05:05:00.322Z] v2.0.1-dev.1 [2022-01-28T05:05:00.322Z] v2.0.1-dev.10 [2022-01-28T05:05:00.322Z] v2.0.1-dev.11 [2022-01-28T05:05:00.322Z] v2.0.1-dev.12 [2022-01-28T05:05:00.322Z] v2.0.1-dev.13 [2022-01-28T05:05:00.322Z] v2.0.1-dev.14 [2022-01-28T05:05:00.322Z] v2.0.1-dev.15 [2022-01-28T05:05:00.322Z] v2.0.1-dev.16 [2022-01-28T05:05:00.322Z] v2.0.1-dev.17 [2022-01-28T05:05:00.322Z] v2.0.1-dev.18 [2022-01-28T05:05:00.322Z] v2.0.1-dev.19 [2022-01-28T05:05:00.322Z] v2.0.1-dev.2 [2022-01-28T05:05:00.322Z] v2.0.1-dev.20 [2022-01-28T05:05:00.322Z] v2.0.1-dev.21 [2022-01-28T05:05:00.322Z] v2.0.1-dev.22 [2022-01-28T05:05:00.322Z] v2.0.1-dev.23 [2022-01-28T05:05:00.322Z] v2.0.1-dev.24 [2022-01-28T05:05:00.322Z] v2.0.1-dev.25 [2022-01-28T05:05:00.322Z] v2.0.1-dev.26 [2022-01-28T05:05:00.322Z] v2.0.1-dev.27 [2022-01-28T05:05:00.322Z] v2.0.1-dev.28 [2022-01-28T05:05:00.322Z] v2.0.1-dev.29 [2022-01-28T05:05:00.322Z] v2.0.1-dev.3 [2022-01-28T05:05:00.322Z] v2.0.1-dev.30 [2022-01-28T05:05:00.322Z] v2.0.1-dev.31 [2022-01-28T05:05:00.322Z] v2.0.1-dev.32 [2022-01-28T05:05:00.322Z] v2.0.1-dev.33 [2022-01-28T05:05:00.322Z] v2.0.1-dev.4 [2022-01-28T05:05:00.322Z] v2.0.1-dev.5 [2022-01-28T05:05:00.322Z] v2.0.1-dev.6 [2022-01-28T05:05:00.322Z] v2.0.1-dev.7 [2022-01-28T05:05:00.322Z] v2.0.1-dev.8 [2022-01-28T05:05:00.322Z] v2.0.1-dev.9 [2022-01-28T05:05:00.322Z] v2.1.0 [2022-01-28T05:05:00.322Z] v2.1.1-dev.1 [2022-01-28T05:05:00.322Z] v2.2.0-dev.1 [2022-01-28T05:05:00.322Z] v2.2.0-dev.10 [2022-01-28T05:05:00.322Z] v2.2.0-dev.11 [2022-01-28T05:05:00.322Z] v2.2.0-dev.12 [2022-01-28T05:05:00.322Z] v2.2.0-dev.13 [2022-01-28T05:05:00.322Z] v2.2.0-dev.2 [2022-01-28T05:05:00.322Z] v2.2.0-dev.3 [2022-01-28T05:05:00.322Z] v2.2.0-dev.4 [2022-01-28T05:05:00.322Z] v2.2.0-dev.5 [2022-01-28T05:05:00.322Z] v2.2.0-dev.6 [2022-01-28T05:05:00.322Z] v2.2.0-dev.7 [2022-01-28T05:05:00.322Z] v2.2.0-dev.8 [2022-01-28T05:05:00.322Z] v2.2.0-dev.9 [Pipeline] sh [2022-01-28T05:05:00.611Z] + lftools sign git-tag v2.2.0-dev.13 [2022-01-28T05:05:01.184Z] Signing Git tag with Sigul... [2022-01-28T05:05:01.184Z] Signing v2.2.0-dev.13 [Pipeline] echo [2022-01-28T05:05:01.457Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:01.745Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-28T05:05:01.754Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-28T05:05:01.774Z] $ docker stop --time=1 304a3f54306a09bbf6dd95b02d98d799bd37c7026f393211be95de246b2409b6 [2022-01-28T05:05:02.979Z] $ docker rm -f 304a3f54306a09bbf6dd95b02d98d799bd37c7026f393211be95de246b2409b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-28T05:05:03.422Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-28T05:05:03.422Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:05:03.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-28T05:05:03.726Z] . [Pipeline] withDockerContainer [2022-01-28T05:05:03.798Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T05:05:03.833Z] $ 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 [2022-01-28T05:05:04.217Z] $ docker top 220b80a73e0c54cae58ebb0f0c6422c83e8983c12577181f3537d90e0c58838f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-28T05:05:04.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-28T05:05:04.316Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-28T05:05:04.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-28T05:05:04.427Z] $ docker exec 220b80a73e0c54cae58ebb0f0c6422c83e8983c12577181f3537d90e0c58838f ssh-agent [2022-01-28T05:05:04.521Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjnjdAp/agent.13 [2022-01-28T05:05:04.521Z] SSH_AGENT_PID=19 [2022-01-28T05:05:04.530Z] Running ssh-add (command line suppressed) [2022-01-28T05:05:04.635Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5167157199706809354.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5167157199706809354.key) [2022-01-28T05:05:04.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-28T05:05:04.955Z] + git semver bump pre [2022-01-28T05:05:04.955Z] # -> Open(): unable to determine branch for HEAD [2022-01-28T05:05:04.955Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-28T05:05:04.955Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-28T05:05:04.955Z] # $SEMVER_REMOTE_NAME = origin [2022-01-28T05:05:04.955Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-28T05:05:04.955Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-28T05:05:04.955Z] # $SEMVER_BRANCH = main [2022-01-28T05:05:04.955Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-28T05:05:04.955Z] 2.2.0-dev.14 [Pipeline] } [2022-01-28T05:05:04.968Z] $ docker exec --env ******** --env ******** 220b80a73e0c54cae58ebb0f0c6422c83e8983c12577181f3537d90e0c58838f ssh-agent -k [2022-01-28T05:05:05.055Z] unset SSH_AUTH_SOCK; [2022-01-28T05:05:05.055Z] unset SSH_AGENT_PID; [2022-01-28T05:05:05.055Z] echo Agent pid 19 killed; [2022-01-28T05:05:05.064Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-28T05:05:05.371Z] + git semver [Pipeline] } [2022-01-28T05:05:05.388Z] $ docker stop --time=1 220b80a73e0c54cae58ebb0f0c6422c83e8983c12577181f3537d90e0c58838f [2022-01-28T05:05:06.582Z] $ docker rm -f 220b80a73e0c54cae58ebb0f0c6422c83e8983c12577181f3537d90e0c58838f [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-28T05:05:06.945Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-28T05:05:06.945Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:05:07.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-28T05:05:07.245Z] . [Pipeline] withDockerContainer [2022-01-28T05:05:07.309Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T05:05:07.346Z] $ 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 [2022-01-28T05:05:07.693Z] $ docker top 316dea28c0529759e06c975138fe7863501c1ca0fefba6e5b76a3d6d9dca1a26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-28T05:05:07.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-28T05:05:07.788Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-28T05:05:07.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-28T05:05:07.897Z] $ docker exec 316dea28c0529759e06c975138fe7863501c1ca0fefba6e5b76a3d6d9dca1a26 ssh-agent [2022-01-28T05:05:07.998Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCCgEgJ/agent.13 [2022-01-28T05:05:07.998Z] SSH_AGENT_PID=20 [2022-01-28T05:05:08.005Z] Running ssh-add (command line suppressed) [2022-01-28T05:05:08.102Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3550923816954961613.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3550923816954961613.key) [2022-01-28T05:05:08.115Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-28T05:05:08.411Z] + git semver push [2022-01-28T05:05:08.411Z] # -> Open(): unable to determine branch for HEAD [2022-01-28T05:05:08.411Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-28T05:05:08.411Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-28T05:05:08.411Z] # $SEMVER_REMOTE_NAME = origin [2022-01-28T05:05:08.411Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-28T05:05:08.411Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-28T05:05:08.411Z] # $SEMVER_BRANCH = main [2022-01-28T05:05:08.411Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-28T05:05:10.355Z] $ docker exec --env ******** --env ******** 316dea28c0529759e06c975138fe7863501c1ca0fefba6e5b76a3d6d9dca1a26 ssh-agent -k [2022-01-28T05:05:10.448Z] unset SSH_AUTH_SOCK; [2022-01-28T05:05:10.448Z] unset SSH_AGENT_PID; [2022-01-28T05:05:10.448Z] echo Agent pid 20 killed; [2022-01-28T05:05:10.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-28T05:05:10.771Z] + git semver [Pipeline] } [2022-01-28T05:05:10.787Z] $ docker stop --time=1 316dea28c0529759e06c975138fe7863501c1ca0fefba6e5b76a3d6d9dca1a26 [2022-01-28T05:05:11.967Z] $ docker rm -f 316dea28c0529759e06c975138fe7863501c1ca0fefba6e5b76a3d6d9dca1a26 [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 [2022-01-28T05:05:12.602Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [2022-01-28T05:05:12.602Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-28T05:05:12.602Z] total 8 [2022-01-28T05:05:12.602Z] drwxr-xr-x. 3 root root 34 Jan 28 04:59 . [2022-01-28T05:05:12.602Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 28 05:04 .. [2022-01-28T05:05:12.602Z] drwxr-xr-x. 2 root root 6 Jan 28 04:59 cost [2022-01-28T05:05:12.602Z] -rw-r--r--. 1 root root 83 Jan 28 04:59 cost.csv [2022-01-28T05:05:12.602Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-28T05:05:12.602Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-28T05:05:12.602Z] total 8 [2022-01-28T05:05:12.602Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 28 04:59 . [2022-01-28T05:05:12.602Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 28 05:04 .. [2022-01-28T05:05:12.602Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 28 04:59 cost [2022-01-28T05:05:12.602Z] -rw-r--r--. 1 jenkins jenkins 83 Jan 28 04:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:12.907Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:13.464Z] ---> package-listing.sh [2022-01-28T05:05:13.464Z] ++ facter osfamily [2022-01-28T05:05:13.464Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-28T05:05:13.727Z] + OS_FAMILY=redhat [2022-01-28T05:05:13.727Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-01-28T05:05:13.727Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-28T05:05:13.727Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-28T05:05:13.727Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-28T05:05:13.727Z] + PACKAGES=/tmp/packages_start.txt [2022-01-28T05:05:13.727Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-28T05:05:13.727Z] + PACKAGES=/tmp/packages_end.txt [2022-01-28T05:05:13.727Z] + case "${OS_FAMILY}" in [2022-01-28T05:05:13.727Z] + rpm -qa [2022-01-28T05:05:13.727Z] + sort [2022-01-28T05:05:14.300Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-28T05:05:14.300Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-28T05:05:14.300Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-28T05:05:14.300Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-28T05:05:14.300Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-01-28T05:05:14.300Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-01-28T05:05:14.320Z] 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 [2022-01-28T05:05:14.602Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-28T05:05:15.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-28T05:05:15.224Z] . [Pipeline] withDockerContainer [2022-01-28T05:05:15.449Z] prd-centos7-docker-4c-2g-4121 does not seem to be running inside a container [2022-01-28T05:05:15.490Z] $ 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 [2022-01-28T05:05:15.714Z] $ docker top 43c8bd62522613693e87be3b3dd55ccd0ddcd555767827fe0d5fe176c42fec7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-28T05:05:16.071Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-28T05:05:16.363Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-28T05:05:16.656Z] + ls /var/log/sa-host [2022-01-28T05:05:16.656Z] + sadf -c /var/log/sa-host/sa17 [2022-01-28T05:05:16.656Z] file_magic: OK [2022-01-28T05:05:16.656Z] HZ: Using current value: 100 [2022-01-28T05:05:16.656Z] file_header: OK [2022-01-28T05:05:16.656Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-28T05:05:16.656Z] Statistics: [2022-01-28T05:05:16.656Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-28T05:05:16.656Z] File successfully converted to sysstat format version 12.0.3 [2022-01-28T05:05:16.656Z] + sadf -c /var/log/sa-host/sa28 [2022-01-28T05:05:16.656Z] file_magic: OK [2022-01-28T05:05:16.656Z] HZ: Using current value: 100 [2022-01-28T05:05:16.656Z] file_header: OK [2022-01-28T05:05:16.656Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-28T05:05:16.656Z] Statistics: [2022-01-28T05:05:16.656Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-28T05:05:16.656Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-28T05:05:16.878Z] provisioning config files... [2022-01-28T05:05:16.889Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2986021031678957314tmp [Pipeline] { [Pipeline] echo [2022-01-28T05:05:16.904Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:17.191Z] ---> create-netrc.sh [Pipeline] } [2022-01-28T05:05:17.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:17.527Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-28T05:05:17.538Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:17.824Z] ---> sudo-logs.sh [2022-01-28T05:05:17.824Z] Archiving 'sudo' log.. [2022-01-28T05:05:17.824Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4121.novalocal: Name or service not known [2022-01-28T05:05:17.824Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4121.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-28T05:05:17.848Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:18.135Z] ---> job-cost.sh [2022-01-28T05:05:18.135Z] lf-activate-venv: SKIPPING [2022-01-28T05:05:18.135Z] DEBUG: total: 0.05999999865889549 [2022-01-28T05:05:18.135Z] INFO: Retrieving Stack Cost... [2022-01-28T05:05:18.398Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-28T05:05:18.973Z] INFO: Archiving Costs [Pipeline] echo [2022-01-28T05:05:18.989Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-28T05:05:19.280Z] ---> logs-deploy.sh [2022-01-28T05:05:19.280Z] lf-activate-venv: SKIPPING [2022-01-28T05:05:19.280Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/46 [2022-01-28T05:05:19.280Z] INFO: archiving workspace using pattern(s): [2022-01-28T05:05:19.852Z] Archives upload complete. [2022-01-28T05:05:20.113Z] INFO: archiving logs to Nexus