Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 555c3bb6a6e69767d223739ff73f88b00326690d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9036799343951481809.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1900222107548228672.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/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-ssh803743455404670039.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5794434132967453710.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-ssh5480659394906044193.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-27717 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh712445585489045516.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 555c3bb6a6e69767d223739ff73f88b00326690d (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 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 Commit message: "Merge pull request #1054 from weichou1229/issue-1052" > git rev-list --no-walk 35284aa85d24a35feb544b47ef7c3f5e59bdf77f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-05T07:19:46.129Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-05T07:19:46.177Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-05T07:19:46.191Z] ========================================================= [2021-11-05T07:19:46.191Z] EdgeX Global Pipelines Version Info [2021-11-05T07:19:46.191Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:19:47.358Z] ------------------- [2021-11-05T07:19:47.358Z] stable info: [2021-11-05T07:19:47.358Z] ------------------- [2021-11-05T07:19:47.358Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-05T07:19:47.358Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-05T07:19:47.358Z] Message: update stable to v1.0.211 [2021-11-05T07:19:47.932Z] ------------------- [2021-11-05T07:19:47.932Z] experimental info: [2021-11-05T07:19:47.932Z] ------------------- [2021-11-05T07:19:47.932Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-05T07:19:47.932Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-05T07:19:47.932Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-05T07:19:48.015Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-05T07:19:48.026Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-05T07:19:48.036Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-05T07:19:48.046Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-05T07:19:48.058Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-05T07:19:48.072Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-05T07:19:48.082Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-05T07:19:48.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-05T07:19:48.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-05T07:19:48.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-05T07:19:48.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-05T07:19:48.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-05T07:19:48.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-05T07:19:48.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-05T07:19:48.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-05T07:19:48.173Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T07:19:48.182Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T07:19:48.191Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T07:19:48.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-05T07:19:48.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-05T07:19:48.223Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-05T07:19:48.233Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-05T07:19:48.243Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-05T07:19:48.253Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-05T07:19:48.264Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-05T07:19:48.274Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-05T07:19:48.283Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-05T07:19:48.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-05T07:19:48.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-05T07:19:48.312Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 555c3bb6a6e69767d223739ff73f88b00326690d [Pipeline] echo [2021-11-05T07:19:48.321Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 555c3bb [Pipeline] echo [2021-11-05T07:19:48.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T07:19:48.368Z] provisioning config files... [2021-11-05T07:19:48.381Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3281937605094244835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:19:48.686Z] ---> docker-login.sh [2021-11-05T07:19:48.687Z] nexus3.edgexfoundry.org:10001 [2021-11-05T07:19:48.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:19:48.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:19:48.949Z] Configure a credential helper to remove this warning. See [2021-11-05T07:19:48.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:19:48.949Z] [2021-11-05T07:19:48.949Z] Login Succeeded [2021-11-05T07:19:48.949Z] nexus3.edgexfoundry.org:10002 [2021-11-05T07:19:48.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:19:48.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:19:48.949Z] Configure a credential helper to remove this warning. See [2021-11-05T07:19:48.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:19:48.949Z] [2021-11-05T07:19:48.949Z] Login Succeeded [2021-11-05T07:19:48.949Z] nexus3.edgexfoundry.org:10003 [2021-11-05T07:19:49.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:19:49.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:19:49.214Z] Configure a credential helper to remove this warning. See [2021-11-05T07:19:49.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:19:49.214Z] [2021-11-05T07:19:49.214Z] Login Succeeded [2021-11-05T07:19:49.214Z] nexus3.edgexfoundry.org:10004 [2021-11-05T07:19:49.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:19:49.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:19:49.214Z] Configure a credential helper to remove this warning. See [2021-11-05T07:19:49.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:19:49.214Z] [2021-11-05T07:19:49.214Z] Login Succeeded [2021-11-05T07:19:49.214Z] docker.io [2021-11-05T07:19:49.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:19:49.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:19:49.736Z] Configure a credential helper to remove this warning. See [2021-11-05T07:19:49.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:19:49.736Z] [2021-11-05T07:19:49.736Z] Login Succeeded [2021-11-05T07:19:49.736Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T07:19:49.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-05T07:19:50.185Z] + git rev-list -1 --merges 555c3bb6a6e69767d223739ff73f88b00326690d~1..555c3bb6a6e69767d223739ff73f88b00326690d [Pipeline] echo [2021-11-05T07:19:50.223Z] -----------> git rev-list -1 --merges 555c3bb6a6e69767d223739ff73f88b00326690d~1..555c3bb6a6e69767d223739ff73f88b00326690d 555c3bb6a6e69767d223739ff73f88b00326690d [2021-11-05T07:19:50.223Z] 555c3bb6a6e69767d223739ff73f88b00326690d [false] [Pipeline] sh [2021-11-05T07:19:50.524Z] + git log --format=format:%s -1 555c3bb6a6e69767d223739ff73f88b00326690d [Pipeline] echo [2021-11-05T07:19:50.539Z] ========================================================= [2021-11-05T07:19:50.539Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-05T07:19:50.539Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T07:19:50.870Z] + git log --format=format:%s -1 555c3bb6a6e69767d223739ff73f88b00326690d [Pipeline] echo [2021-11-05T07:19:50.882Z] [semverPrep] GIT_COMMIT: 555c3bb6a6e69767d223739ff73f88b00326690d, Commit Message: Merge pull request #1054 from weichou1229/issue-1052 [Pipeline] echo [2021-11-05T07:19:50.892Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:19:51.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T07:19:51.483Z] [2021-11-05T07:19:51.483Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:19:51.791Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T07:19:51.791Z] latest: Pulling from edgex-devops/git-semver [2021-11-05T07:19:51.791Z] a0d0a0d46f8b: Pulling fs layer [2021-11-05T07:19:51.791Z] 3e5f54012d9b: Pulling fs layer [2021-11-05T07:19:51.791Z] 4c7163046ea9: Pulling fs layer [2021-11-05T07:19:51.791Z] 0c2d73faf560: Pulling fs layer [2021-11-05T07:19:51.791Z] 0c2d73faf560: Waiting [2021-11-05T07:19:51.791Z] 3e5f54012d9b: Verifying Checksum [2021-11-05T07:19:51.791Z] 3e5f54012d9b: Download complete [2021-11-05T07:19:51.791Z] a0d0a0d46f8b: Verifying Checksum [2021-11-05T07:19:51.791Z] a0d0a0d46f8b: Download complete [2021-11-05T07:19:51.791Z] 4c7163046ea9: Verifying Checksum [2021-11-05T07:19:51.791Z] 4c7163046ea9: Download complete [2021-11-05T07:19:51.791Z] 0c2d73faf560: Verifying Checksum [2021-11-05T07:19:51.791Z] 0c2d73faf560: Download complete [2021-11-05T07:19:52.058Z] a0d0a0d46f8b: Pull complete [2021-11-05T07:19:52.058Z] 3e5f54012d9b: Pull complete [2021-11-05T07:19:52.318Z] 4c7163046ea9: Pull complete [2021-11-05T07:19:52.590Z] 0c2d73faf560: Pull complete [2021-11-05T07:19:52.590Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-05T07:19:52.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T07:19:52.590Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-05T07:19:52.660Z] prd-centos7-docker-4c-2g-27717 does not seem to be running inside a container [2021-11-05T07:19:52.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-05T07:19:53.138Z] $ docker top 030bf5914ce38b0dbf0ff4e1c3aebc782d41623cfbec403ad555eceae3c15a99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-05T07:19:53.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T07:19:53.393Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T07:19:53.508Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T07:19:53.373Z] $ docker exec 030bf5914ce38b0dbf0ff4e1c3aebc782d41623cfbec403ad555eceae3c15a99 ssh-agent [2021-11-05T07:19:53.629Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBINMMd/agent.13 [2021-11-05T07:19:53.629Z] SSH_AGENT_PID=19 [2021-11-05T07:19:53.638Z] Running ssh-add (command line suppressed) [2021-11-05T07:19:53.614Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2339577882217862848.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2339577882217862848.key) [2021-11-05T07:19:53.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T07:19:54.038Z] + git tag --points-at HEAD [Pipeline] } [2021-11-05T07:19:53.960Z] $ docker exec --env ******** --env ******** 030bf5914ce38b0dbf0ff4e1c3aebc782d41623cfbec403ad555eceae3c15a99 ssh-agent -k [2021-11-05T07:19:54.056Z] unset SSH_AUTH_SOCK; [2021-11-05T07:19:54.056Z] unset SSH_AGENT_PID; [2021-11-05T07:19:54.056Z] echo Agent pid 19 killed; [2021-11-05T07:19:54.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-05T07:19:54.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T07:19:54.175Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T07:19:54.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T07:19:54.213Z] $ docker exec 030bf5914ce38b0dbf0ff4e1c3aebc782d41623cfbec403ad555eceae3c15a99 ssh-agent [2021-11-05T07:19:54.389Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbdAMLB/agent.51 [2021-11-05T07:19:54.389Z] SSH_AGENT_PID=57 [2021-11-05T07:19:54.394Z] Running ssh-add (command line suppressed) [2021-11-05T07:19:54.434Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4136138215835493616.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4136138215835493616.key) [2021-11-05T07:19:54.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T07:19:54.808Z] + git semver init [2021-11-05T07:19:54.808Z] # -> Open(): unable to determine branch for HEAD [2021-11-05T07:19:54.808Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-05T07:19:54.808Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-05T07:19:54.808Z] # $SEMVER_REMOTE_NAME = origin [2021-11-05T07:19:54.808Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-05T07:19:54.808Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-05T07:19:54.808Z] # $SEMVER_BRANCH = main [2021-11-05T07:19:54.808Z] # $SEMVER_TEMP = /tmp/semver-234932202 [2021-11-05T07:19:54.808Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-05T07:19:55.755Z] # '/tmp/semver-234932202' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-11-05T07:19:55.755Z] # -> Force: false [2021-11-05T07:19:55.755Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-05T07:19:55.765Z] $ docker exec --env ******** --env ******** 030bf5914ce38b0dbf0ff4e1c3aebc782d41623cfbec403ad555eceae3c15a99 ssh-agent -k [2021-11-05T07:19:55.852Z] unset SSH_AUTH_SOCK; [2021-11-05T07:19:55.853Z] unset SSH_AGENT_PID; [2021-11-05T07:19:55.853Z] echo Agent pid 57 killed; [2021-11-05T07:19:55.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-05T07:19:56.171Z] + git semver [Pipeline] } [2021-11-05T07:19:56.184Z] $ docker stop --time=1 030bf5914ce38b0dbf0ff4e1c3aebc782d41623cfbec403ad555eceae3c15a99 [2021-11-05T07:19:57.411Z] $ docker rm -f 030bf5914ce38b0dbf0ff4e1c3aebc782d41623cfbec403ad555eceae3c15a99 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T07:19:57.766Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-05T07:19:58.015Z] Stashed 1 file(s) [Pipeline] echo [2021-11-05T07:19:58.017Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.28 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-05T07:20:13.205Z] Still waiting to schedule task [2021-11-05T07:20:13.205Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27717’ [2021-11-05T07:20:13.206Z] Still waiting to schedule task [2021-11-05T07:20:13.207Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-05T07:22:04.691Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27718 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-05T07:22:04.701Z] Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout [2021-11-05T07:22:04.976Z] Selected Git installation does not exist. Using Default [2021-11-05T07:22:04.976Z] The recommended git tool is: NONE [2021-11-05T07:22:10.443Z] using credential edgex-jenkins-ssh [2021-11-05T07:22:10.460Z] Cloning the remote Git repository [2021-11-05T07:22:10.521Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T07:22:10.624Z] > git init /w/workspace/device-sdk-go/27 # timeout=10 [2021-11-05T07:22:10.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T07:22:10.721Z] > git --version # timeout=10 [2021-11-05T07:22:10.750Z] > git --version # 'git version 2.17.1' [2021-11-05T07:22:10.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T07:22:10.900Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T07:22:12.177Z] Avoid second fetch [2021-11-05T07:22:12.178Z] Checking out Revision 555c3bb6a6e69767d223739ff73f88b00326690d (main) [2021-11-05T07:22:12.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T07:22:12.161Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T07:22:12.204Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T07:22:12.230Z] > git checkout -f 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [2021-11-05T07:22:16.545Z] Commit message: "Merge pull request #1054 from weichou1229/issue-1052" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T07:22:17.523Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-05T07:22:17.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-05T07:22:17.523Z] Dload Upload Total Spent Left Speed [2021-11-05T07:22:17.523Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 67954 0 --:--:-- --:--:-- --:--:-- 67954 [Pipeline] sh [2021-11-05T07:22:17.925Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-05T07:22:18.283Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2021-11-05T07:22:18.283Z] /etc/docker/daemon.json [2021-11-05T07:22:18.283Z] { [2021-11-05T07:22:18.283Z] "registry-mirrors": [ [2021-11-05T07:22:18.283Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-05T07:22:18.283Z] ], [2021-11-05T07:22:18.283Z] "bip": "10.250.0.254/24", [2021-11-05T07:22:18.283Z] "hosts": [ [2021-11-05T07:22:18.283Z] "tcp://0.0.0.0:5555", [2021-11-05T07:22:18.283Z] "unix:///var/run/docker.sock" [2021-11-05T07:22:18.283Z] ], [2021-11-05T07:22:18.283Z] "mtu": 1458, [2021-11-05T07:22:18.283Z] "selinux-enabled": true, [2021-11-05T07:22:18.283Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-05T07:22:18.283Z] } [Pipeline] sh [2021-11-05T07:22:18.641Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-05T07:22:18.979Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T07:22:37.326Z] provisioning config files... [2021-11-05T07:22:37.351Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/27@tmp/config6882842586401632420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:22:37.718Z] ---> docker-login.sh [2021-11-05T07:22:37.718Z] nexus3.edgexfoundry.org:10001 [2021-11-05T07:22:38.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:22:38.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:22:38.909Z] Configure a credential helper to remove this warning. See [2021-11-05T07:22:38.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:22:38.909Z] [2021-11-05T07:22:38.909Z] Login Succeeded [2021-11-05T07:22:38.909Z] nexus3.edgexfoundry.org:10002 [2021-11-05T07:22:39.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:22:39.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:22:39.456Z] Configure a credential helper to remove this warning. See [2021-11-05T07:22:39.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:22:39.456Z] [2021-11-05T07:22:39.456Z] Login Succeeded [2021-11-05T07:22:39.456Z] nexus3.edgexfoundry.org:10003 [2021-11-05T07:22:39.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:22:40.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:22:40.005Z] Configure a credential helper to remove this warning. See [2021-11-05T07:22:40.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:22:40.005Z] [2021-11-05T07:22:40.005Z] Login Succeeded [2021-11-05T07:22:40.005Z] nexus3.edgexfoundry.org:10004 [2021-11-05T07:22:40.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:22:40.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:22:40.278Z] Configure a credential helper to remove this warning. See [2021-11-05T07:22:40.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:22:40.278Z] [2021-11-05T07:22:40.278Z] Login Succeeded [2021-11-05T07:22:40.552Z] docker.io [2021-11-05T07:22:40.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:22:41.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:22:41.095Z] Configure a credential helper to remove this warning. See [2021-11-05T07:22:41.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:22:41.095Z] [2021-11-05T07:22:41.095Z] Login Succeeded [2021-11-05T07:22:41.095Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T07:22:41.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-05T07:22:41.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-05T07:22:41.438Z] ========================================================= [2021-11-05T07:22:41.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-05T07:22:41.438Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:22:41.785Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-05T07:22:42.143Z] Sending build context to Docker daemon 2.717MB [2021-11-05T07:22:42.143Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T07:22:42.143Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-05T07:22:42.481Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-05T07:22:42.481Z] 552d1f2373af: Pulling fs layer [2021-11-05T07:22:42.481Z] ea3f2d53f512: Pulling fs layer [2021-11-05T07:22:42.481Z] 9e70ebbbe112: Pulling fs layer [2021-11-05T07:22:42.481Z] 7a9cfe048b4a: Pulling fs layer [2021-11-05T07:22:42.481Z] 72dc09318566: Pulling fs layer [2021-11-05T07:22:42.481Z] f4f7b4309257: Pulling fs layer [2021-11-05T07:22:42.481Z] 0ac9a79272e3: Pulling fs layer [2021-11-05T07:22:42.481Z] b78e95d17946: Pulling fs layer [2021-11-05T07:22:42.481Z] 72dc09318566: Waiting [2021-11-05T07:22:42.481Z] f4f7b4309257: Waiting [2021-11-05T07:22:42.481Z] 0ac9a79272e3: Waiting [2021-11-05T07:22:42.481Z] b78e95d17946: Waiting [2021-11-05T07:22:42.481Z] 7a9cfe048b4a: Waiting [2021-11-05T07:22:42.481Z] ea3f2d53f512: Verifying Checksum [2021-11-05T07:22:42.481Z] ea3f2d53f512: Download complete [2021-11-05T07:22:42.481Z] 9e70ebbbe112: Download complete [2021-11-05T07:22:42.481Z] 72dc09318566: Verifying Checksum [2021-11-05T07:22:42.481Z] 72dc09318566: Download complete [2021-11-05T07:22:42.481Z] f4f7b4309257: Verifying Checksum [2021-11-05T07:22:42.481Z] f4f7b4309257: Download complete [2021-11-05T07:22:42.481Z] 552d1f2373af: Verifying Checksum [2021-11-05T07:22:42.481Z] 552d1f2373af: Download complete [2021-11-05T07:22:42.481Z] 0ac9a79272e3: Verifying Checksum [2021-11-05T07:22:42.481Z] 0ac9a79272e3: Download complete [2021-11-05T07:22:43.475Z] 552d1f2373af: Pull complete [2021-11-05T07:22:44.244Z] ea3f2d53f512: Pull complete [2021-11-05T07:22:44.532Z] 9e70ebbbe112: Pull complete [2021-11-05T07:22:44.805Z] b78e95d17946: Download complete [2021-11-05T07:22:45.401Z] 7a9cfe048b4a: Verifying Checksum [2021-11-05T07:22:45.401Z] 7a9cfe048b4a: Download complete [2021-11-05T07:22:55.547Z] 7a9cfe048b4a: Pull complete [2021-11-05T07:22:55.547Z] 72dc09318566: Pull complete [2021-11-05T07:22:56.147Z] f4f7b4309257: Pull complete [2021-11-05T07:22:56.422Z] 0ac9a79272e3: Pull complete [2021-11-05T07:23:03.150Z] b78e95d17946: Pull complete [2021-11-05T07:23:03.150Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-05T07:23:03.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-05T07:23:03.150Z] ---> 8b459fc5aaf0 [2021-11-05T07:23:03.150Z] Step 3/10 : ARG MAKE=make build [2021-11-05T07:23:03.758Z] ---> Running in 671f16eef90e [2021-11-05T07:23:04.365Z] Removing intermediate container 671f16eef90e [2021-11-05T07:23:04.365Z] ---> 3dc7dfaca48d [2021-11-05T07:23:04.365Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-05T07:23:04.365Z] ---> Running in d8ad800eacaf [2021-11-05T07:23:04.963Z] Removing intermediate container d8ad800eacaf [2021-11-05T07:23:04.963Z] ---> 22013aea7e95 [2021-11-05T07:23:04.963Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T07:23:04.963Z] ---> Running in 03b3957a95a3 [2021-11-05T07:23:05.242Z] Removing intermediate container 03b3957a95a3 [2021-11-05T07:23:05.242Z] ---> e9be9b259c23 [2021-11-05T07:23:05.242Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T07:23:05.518Z] ---> Running in 832290a5b0d2 [2021-11-05T07:23:07.490Z] Removing intermediate container 832290a5b0d2 [2021-11-05T07:23:07.490Z] ---> 82251c77be2a [2021-11-05T07:23:07.490Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T07:23:07.764Z] ---> Running in ff55806e2bb6 [2021-11-05T07:23:08.745Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T07:23:09.723Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-05T07:23:10.714Z] OK: 219 MiB in 52 packages [2021-11-05T07:23:11.701Z] Removing intermediate container ff55806e2bb6 [2021-11-05T07:23:11.701Z] ---> 89376a600b13 [2021-11-05T07:23:11.701Z] Step 8/10 : COPY . . [2021-11-05T07:23:13.142Z] ---> bacf57fdcfa5 [2021-11-05T07:23:13.142Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T07:23:13.142Z] ---> Running in ebc774f168d5 [2021-11-05T07:24:24.071Z] Running on prd-centos7-docker-4c-2g-27719 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-05T07:24:24.082Z] Running in /w/workspace/device-sdk-go/27 [Pipeline] { [Pipeline] checkout [2021-11-05T07:24:24.205Z] Selected Git installation does not exist. Using Default [2021-11-05T07:24:24.205Z] The recommended git tool is: NONE [2021-11-05T07:24:26.297Z] using credential edgex-jenkins-ssh [2021-11-05T07:24:26.307Z] Cloning the remote Git repository [2021-11-05T07:24:25.473Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T07:24:25.532Z] > git init /w/workspace/device-sdk-go/27 # timeout=10 [2021-11-05T07:24:25.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T07:24:25.568Z] > git --version # timeout=10 [2021-11-05T07:24:25.586Z] > git --version # 'git version 2.24.4' [2021-11-05T07:24:25.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T07:24:25.612Z] [INFO] Currently running in a labeled security context [2021-11-05T07:24:25.613Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-05T07:24:25.613Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/27@tmp/jenkins-gitclient-ssh2601790383442561875.key [2021-11-05T07:24:25.639Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T07:24:27.550Z] Avoid second fetch [2021-11-05T07:24:27.550Z] Checking out Revision 555c3bb6a6e69767d223739ff73f88b00326690d (main) [2021-11-05T07:24:26.672Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T07:24:26.682Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T07:24:26.703Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T07:24:26.709Z] > git checkout -f 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [2021-11-05T07:24:31.148Z] Commit message: "Merge pull request #1054 from weichou1229/issue-1052" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T07:24:31.697Z] provisioning config files... [2021-11-05T07:24:31.708Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/27@tmp/config7651009646054980141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:24:32.102Z] ---> docker-login.sh [2021-11-05T07:24:32.102Z] nexus3.edgexfoundry.org:10001 [2021-11-05T07:24:32.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:24:32.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:24:32.102Z] Configure a credential helper to remove this warning. See [2021-11-05T07:24:32.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:24:32.102Z] [2021-11-05T07:24:32.102Z] Login Succeeded [2021-11-05T07:24:32.102Z] nexus3.edgexfoundry.org:10002 [2021-11-05T07:24:32.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:24:32.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:24:32.364Z] Configure a credential helper to remove this warning. See [2021-11-05T07:24:32.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:24:32.364Z] [2021-11-05T07:24:32.364Z] Login Succeeded [2021-11-05T07:24:32.364Z] nexus3.edgexfoundry.org:10003 [2021-11-05T07:24:32.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:24:32.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:24:32.364Z] Configure a credential helper to remove this warning. See [2021-11-05T07:24:32.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:24:32.364Z] [2021-11-05T07:24:32.364Z] Login Succeeded [2021-11-05T07:24:32.364Z] nexus3.edgexfoundry.org:10004 [2021-11-05T07:24:32.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:24:32.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:24:32.627Z] Configure a credential helper to remove this warning. See [2021-11-05T07:24:32.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:24:32.627Z] [2021-11-05T07:24:32.627Z] Login Succeeded [2021-11-05T07:24:32.627Z] docker.io [2021-11-05T07:24:32.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T07:24:32.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T07:24:32.889Z] Configure a credential helper to remove this warning. See [2021-11-05T07:24:32.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T07:24:32.889Z] [2021-11-05T07:24:32.889Z] Login Succeeded [2021-11-05T07:24:32.889Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T07:24:32.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-05T07:24:33.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-05T07:24:33.053Z] ========================================================= [2021-11-05T07:24:33.053Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-05T07:24:33.053Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:24:33.364Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-05T07:24:33.364Z] Sending build context to Docker daemon 2.717MB [2021-11-05T07:24:33.364Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T07:24:33.364Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-05T07:24:33.364Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-05T07:24:33.364Z] a0d0a0d46f8b: Pulling fs layer [2021-11-05T07:24:33.364Z] 31adcdaf11c8: Pulling fs layer [2021-11-05T07:24:33.364Z] b8b176561691: Pulling fs layer [2021-11-05T07:24:33.364Z] 4527c011a84f: Pulling fs layer [2021-11-05T07:24:33.364Z] 5d74067f8e1e: Pulling fs layer [2021-11-05T07:24:33.364Z] e0aca202a116: Pulling fs layer [2021-11-05T07:24:33.364Z] 3a43be97a3b4: Pulling fs layer [2021-11-05T07:24:33.364Z] 34cad66bf833: Pulling fs layer [2021-11-05T07:24:33.364Z] b4e3c513aaa6: Pulling fs layer [2021-11-05T07:24:33.364Z] 4527c011a84f: Waiting [2021-11-05T07:24:33.364Z] 5d74067f8e1e: Waiting [2021-11-05T07:24:33.364Z] e0aca202a116: Waiting [2021-11-05T07:24:33.364Z] 3a43be97a3b4: Waiting [2021-11-05T07:24:33.364Z] 34cad66bf833: Waiting [2021-11-05T07:24:33.364Z] b4e3c513aaa6: Waiting [2021-11-05T07:24:33.364Z] b8b176561691: Verifying Checksum [2021-11-05T07:24:33.364Z] b8b176561691: Download complete [2021-11-05T07:24:33.364Z] 31adcdaf11c8: Verifying Checksum [2021-11-05T07:24:33.364Z] 31adcdaf11c8: Download complete [2021-11-05T07:24:33.364Z] 5d74067f8e1e: Verifying Checksum [2021-11-05T07:24:33.364Z] 5d74067f8e1e: Download complete [2021-11-05T07:24:33.631Z] e0aca202a116: Verifying Checksum [2021-11-05T07:24:33.631Z] e0aca202a116: Download complete [2021-11-05T07:24:33.631Z] a0d0a0d46f8b: Verifying Checksum [2021-11-05T07:24:33.631Z] a0d0a0d46f8b: Download complete [2021-11-05T07:24:33.631Z] 3a43be97a3b4: Verifying Checksum [2021-11-05T07:24:33.631Z] 3a43be97a3b4: Download complete [2021-11-05T07:24:33.631Z] 34cad66bf833: Verifying Checksum [2021-11-05T07:24:33.631Z] 34cad66bf833: Download complete [2021-11-05T07:24:33.910Z] a0d0a0d46f8b: Pull complete [2021-11-05T07:24:33.910Z] 31adcdaf11c8: Pull complete [2021-11-05T07:24:34.178Z] b8b176561691: Pull complete [2021-11-05T07:24:34.178Z] 4527c011a84f: Verifying Checksum [2021-11-05T07:24:34.178Z] 4527c011a84f: Download complete [2021-11-05T07:24:34.178Z] b4e3c513aaa6: Verifying Checksum [2021-11-05T07:24:34.178Z] b4e3c513aaa6: Download complete [2021-11-05T07:24:34.983Z] Removing intermediate container ebc774f168d5 [2021-11-05T07:24:34.983Z] ---> 955588c21b36 [2021-11-05T07:24:34.983Z] Step 10/10 : RUN ${MAKE} [2021-11-05T07:24:34.983Z] ---> Running in 7777a0d1da3f [2021-11-05T07:24:34.983Z] noop [2021-11-05T07:24:34.983Z] Removing intermediate container 7777a0d1da3f [2021-11-05T07:24:34.983Z] ---> 078080049cca [2021-11-05T07:24:34.983Z] Successfully built 078080049cca [2021-11-05T07:24:34.983Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:24:35.326Z] + docker inspect -f . ci-base-image-arm64 [2021-11-05T07:24:35.326Z] . [Pipeline] withDockerContainer [2021-11-05T07:24:35.596Z] prd-ubuntu18.04-docker-arm64-4c-16g-27718 does not seem to be running inside a container [2021-11-05T07:24:35.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 [2021-11-05T07:24:37.412Z] $ docker top 1644284d514efd55828b97a5ef52bf6a9c1fbf4e9835c7a38d5260c83291ae75 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T07:24:38.414Z] + go version [2021-11-05T07:24:38.415Z] go version go1.16.8 linux/arm64 [2021-11-05T07:24:38.424Z] 4527c011a84f: Pull complete [2021-11-05T07:24:38.424Z] 5d74067f8e1e: Pull complete [2021-11-05T07:24:38.424Z] e0aca202a116: Pull complete [2021-11-05T07:24:38.424Z] 3a43be97a3b4: Pull complete [2021-11-05T07:24:38.424Z] 34cad66bf833: Pull complete [Pipeline] } [2021-11-05T07:24:38.444Z] $ docker stop --time=1 1644284d514efd55828b97a5ef52bf6a9c1fbf4e9835c7a38d5260c83291ae75 [2021-11-05T07:24:40.189Z] $ docker rm -f 1644284d514efd55828b97a5ef52bf6a9c1fbf4e9835c7a38d5260c83291ae75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:24:40.940Z] + docker inspect -f . ci-base-image-arm64 [2021-11-05T07:24:40.940Z] . [Pipeline] withDockerContainer [2021-11-05T07:24:41.002Z] b4e3c513aaa6: Pull complete [2021-11-05T07:24:41.203Z] prd-ubuntu18.04-docker-arm64-4c-16g-27718 does not seem to be running inside a container [2021-11-05T07:24:41.267Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-05T07:24:41.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-05T07:24:41.267Z] ---> 9f6097aaca64 [2021-11-05T07:24:41.267Z] Step 3/10 : ARG MAKE=make build [2021-11-05T07:24:41.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 [2021-11-05T07:24:42.835Z] $ docker top ba269391a07d7f5b76d5afe3a5c3172f9428aa0c4560cffc2b18e5f825f46d76 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-05T07:24:43.190Z] ---> Running in 47927dd32a6c [2021-11-05T07:24:43.191Z] Removing intermediate container 47927dd32a6c [2021-11-05T07:24:43.191Z] ---> 7493dee66302 [2021-11-05T07:24:43.191Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-05T07:24:43.191Z] ---> Running in da927d9ada9b [2021-11-05T07:24:43.191Z] Removing intermediate container da927d9ada9b [2021-11-05T07:24:43.191Z] ---> efef125ad49a [2021-11-05T07:24:43.191Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T07:24:43.191Z] ---> Running in 3beb9673e7e4 [2021-11-05T07:24:43.454Z] Removing intermediate container 3beb9673e7e4 [2021-11-05T07:24:43.454Z] ---> 2b09a521f4af [2021-11-05T07:24:43.454Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T07:24:43.454Z] ---> Running in 985dd42300c3 [2021-11-05T07:24:43.718Z] Removing intermediate container 985dd42300c3 [2021-11-05T07:24:43.718Z] ---> 341d6eeba2a6 [2021-11-05T07:24:43.718Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T07:24:43.840Z] + make test [2021-11-05T07:24:43.840Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-05T07:24:43.982Z] ---> Running in c22f67a79887 [2021-11-05T07:24:44.242Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T07:24:45.186Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T07:24:45.451Z] OK: 220 MiB in 52 packages [2021-11-05T07:24:45.451Z] Removing intermediate container c22f67a79887 [2021-11-05T07:24:45.451Z] ---> 275fd8cd4680 [2021-11-05T07:24:45.451Z] Step 8/10 : COPY . . [2021-11-05T07:24:46.033Z] ---> e491af09428a [2021-11-05T07:24:46.033Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T07:24:46.033Z] ---> Running in b51fec24ecb1 [2021-11-05T07:25:10.678Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-05T07:25:18.208Z] Removing intermediate container b51fec24ecb1 [2021-11-05T07:25:18.208Z] ---> e96f77930a60 [2021-11-05T07:25:18.208Z] Step 10/10 : RUN ${MAKE} [2021-11-05T07:25:18.208Z] ---> Running in 8cc13df80ac5 [2021-11-05T07:25:18.208Z] noop [2021-11-05T07:25:18.208Z] Removing intermediate container 8cc13df80ac5 [2021-11-05T07:25:18.208Z] ---> aa0bc7a56907 [2021-11-05T07:25:18.208Z] Successfully built aa0bc7a56907 [2021-11-05T07:25:18.208Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:25:18.532Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-05T07:25:18.533Z] . [Pipeline] withDockerContainer [2021-11-05T07:25:18.606Z] prd-centos7-docker-4c-2g-27719 does not seem to be running inside a container [2021-11-05T07:25:18.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 [2021-11-05T07:25:19.036Z] $ docker top b951bf81cbc1403a52e90d74f755c80f4d3e43de63707304be2acf5df58aa13e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T07:25:19.415Z] + go version [2021-11-05T07:25:19.415Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-05T07:25:19.425Z] $ docker stop --time=1 b951bf81cbc1403a52e90d74f755c80f4d3e43de63707304be2acf5df58aa13e [2021-11-05T07:25:20.610Z] $ docker rm -f b951bf81cbc1403a52e90d74f755c80f4d3e43de63707304be2acf5df58aa13e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:25:21.050Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-05T07:25:21.050Z] . [Pipeline] withDockerContainer [2021-11-05T07:25:21.105Z] prd-centos7-docker-4c-2g-27719 does not seem to be running inside a container [2021-11-05T07:25:21.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 [2021-11-05T07:25:21.489Z] $ docker top 4e4073cf82b2a9c607950fe4cf8c57df9712278d1dd1a1e80fb3ddf1a0b4c6b0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-05T07:25:21.859Z] + make test [2021-11-05T07:25:21.859Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-05T07:25:28.523Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-05T07:25:55.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-05T07:25:55.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-05T07:25:55.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-05T07:25:55.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 23.5% of statements [2021-11-05T07:25:55.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-05T07:25:55.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-11-05T07:25:55.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.057s coverage: 78.9% of statements [2021-11-05T07:25:55.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-11-05T07:25:55.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-05T07:25:55.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-05T07:25:55.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-05T07:25:55.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.086s coverage: 28.7% of statements [2021-11-05T07:25:55.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-05T07:25:56.134Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 83.3% of statements [2021-11-05T07:25:56.134Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-05T07:25:56.134Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-05T07:25:56.134Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.082s coverage: 57.8% of statements [2021-11-05T07:25:57.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.870s coverage: 89.2% of statements [2021-11-05T07:25:57.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-05T07:25:57.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.9% of statements [2021-11-05T07:25:57.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-05T07:25:57.535Z] GO111MODULE=on go vet ./... [2021-11-05T07:26:15.691Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-05T07:26:15.691Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-05T07:26:15.691Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-05T07:26:15.701Z] $ docker stop --time=1 4e4073cf82b2a9c607950fe4cf8c57df9712278d1dd1a1e80fb3ddf1a0b4c6b0 [2021-11-05T07:26:17.200Z] $ docker rm -f 4e4073cf82b2a9c607950fe4cf8c57df9712278d1dd1a1e80fb3ddf1a0b4c6b0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T07:26:17.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-05T07:26:17.841Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-11-05T07:26:18.730Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-05T07:26:18.730Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-05T07:26:18.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [Pipeline] sh [2021-11-05T07:26:19.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-05T07:26:19.386Z] + ls -al . [2021-11-05T07:26:19.386Z] total 264 [2021-11-05T07:26:19.386Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 5 07:26 . [2021-11-05T07:26:19.386Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 5 07:24 .. [2021-11-05T07:26:19.386Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 5 07:24 bin [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 5 07:24 CHANGELOG.md [2021-11-05T07:26:19.386Z] -rw-r--r--. 1 jenkins jenkins 127566 Nov 5 07:25 coverage.out [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 5 07:24 .dockerignore [2021-11-05T07:26:19.386Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 5 07:24 example [2021-11-05T07:26:19.386Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 5 07:24 .git [2021-11-05T07:26:19.386Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 5 07:24 .github [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 5 07:24 .gitignore [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 5 07:24 go.mod [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 5 07:24 go.sum [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 5 07:24 GOVERNANCE.md [2021-11-05T07:26:19.386Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 5 07:24 internal [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 5 07:24 Jenkinsfile [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 5 07:24 LICENSE [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 5 07:24 Makefile [2021-11-05T07:26:19.386Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 5 07:24 openapi [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 5 07:24 OWNERS.md [2021-11-05T07:26:19.386Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 5 07:24 pkg [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 5 07:24 README.md [2021-11-05T07:26:19.386Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 5 07:24 snap [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 5 07:19 VERSION [2021-11-05T07:26:19.386Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 5 07:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:26:19.689Z] + 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=555c3bb6a6e69767d223739ff73f88b00326690d --label arch=amd64 --label version=2.0.1-dev.28 . [2021-11-05T07:26:19.689Z] Sending build context to Docker daemon 2.845MB [2021-11-05T07:26:19.689Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T07:26:19.689Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-05T07:26:19.689Z] ---> aa0bc7a56907 [2021-11-05T07:26:19.689Z] Step 3/24 : ARG MAKE=make build [2021-11-05T07:26:19.689Z] ---> Running in d48742817093 [2021-11-05T07:26:19.952Z] Removing intermediate container d48742817093 [2021-11-05T07:26:19.952Z] ---> a879fb43f695 [2021-11-05T07:26:19.952Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-05T07:26:19.952Z] ---> Running in fde31e3a51d7 [2021-11-05T07:26:19.952Z] Removing intermediate container fde31e3a51d7 [2021-11-05T07:26:19.952Z] ---> 9c0a60881930 [2021-11-05T07:26:19.952Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T07:26:19.952Z] ---> Running in 7c26c54e4e19 [2021-11-05T07:26:19.952Z] Removing intermediate container 7c26c54e4e19 [2021-11-05T07:26:19.952Z] ---> ec6b9d7cc1d6 [2021-11-05T07:26:19.952Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T07:26:20.211Z] ---> Running in 039bdb4e2ecc [2021-11-05T07:26:20.474Z] Removing intermediate container 039bdb4e2ecc [2021-11-05T07:26:20.474Z] ---> 32f964fab510 [2021-11-05T07:26:20.474Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T07:26:20.474Z] ---> Running in 46b1d009c79d [2021-11-05T07:26:20.742Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T07:26:21.684Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T07:26:21.948Z] OK: 220 MiB in 52 packages [2021-11-05T07:26:22.208Z] Removing intermediate container 46b1d009c79d [2021-11-05T07:26:22.208Z] ---> 8c55a0ca72bb [2021-11-05T07:26:22.208Z] Step 8/24 : COPY . . [2021-11-05T07:26:22.468Z] ---> 37ff533800f2 [2021-11-05T07:26:22.468Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T07:26:22.732Z] ---> Running in fda2377af98f [2021-11-05T07:26:23.308Z] Removing intermediate container fda2377af98f [2021-11-05T07:26:23.308Z] ---> 7650abbc013b [2021-11-05T07:26:23.308Z] Step 10/24 : RUN ${MAKE} [2021-11-05T07:26:23.308Z] ---> Running in e8c2cfd64e5f [2021-11-05T07:26:23.569Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.28" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-05T07:26:27.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.333s coverage: 23.5% of statements [2021-11-05T07:26:27.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-05T07:26:27.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.202s coverage: 28.1% of statements [2021-11-05T07:26:27.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.319s coverage: 78.9% of statements [2021-11-05T07:26:27.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.215s coverage: 9.0% of statements [2021-11-05T07:26:27.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-05T07:26:27.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-05T07:26:27.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-05T07:26:27.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.390s coverage: 28.7% of statements [2021-11-05T07:26:27.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-05T07:26:30.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.244s coverage: 83.3% of statements [2021-11-05T07:26:30.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-05T07:26:30.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-05T07:26:30.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.378s coverage: 57.8% of statements [2021-11-05T07:26:31.994Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.210s coverage: 89.2% of statements [2021-11-05T07:26:31.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-05T07:26:31.994Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.203s coverage: 4.9% of statements [2021-11-05T07:26:31.994Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-05T07:26:32.591Z] GO111MODULE=on go vet ./... [2021-11-05T07:26:35.877Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-05T07:26:35.877Z] Removing intermediate container e8c2cfd64e5f [2021-11-05T07:26:35.877Z] ---> 5319cead11ef [2021-11-05T07:26:35.877Z] Step 11/24 : FROM alpine:3.14 [2021-11-05T07:26:38.429Z] 3.14: Pulling from library/alpine [2021-11-05T07:26:38.695Z] a0d0a0d46f8b: Already exists [2021-11-05T07:26:38.695Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-05T07:26:38.695Z] Status: Downloaded newer image for alpine:3.14 [2021-11-05T07:26:38.695Z] ---> 14119a10abf4 [2021-11-05T07:26:38.695Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T07:26:38.955Z] ---> Running in c5a9fcd0f08c [2021-11-05T07:26:38.955Z] Removing intermediate container c5a9fcd0f08c [2021-11-05T07:26:38.955Z] ---> 5468575b904c [2021-11-05T07:26:38.955Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T07:26:38.955Z] ---> Running in 9b0c3003bc06 [2021-11-05T07:26:39.539Z] Removing intermediate container 9b0c3003bc06 [2021-11-05T07:26:39.539Z] ---> 5f8d55c5e7d6 [2021-11-05T07:26:39.539Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-05T07:26:39.539Z] ---> Running in 36364b8aa598 [2021-11-05T07:26:39.800Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T07:26:40.741Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T07:26:41.000Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-05T07:26:41.000Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-05T07:26:41.000Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-05T07:26:41.260Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-05T07:26:41.260Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-05T07:26:41.260Z] Executing busybox-1.33.1-r3.trigger [2021-11-05T07:26:41.260Z] OK: 8 MiB in 19 packages [2021-11-05T07:26:41.520Z] Removing intermediate container 36364b8aa598 [2021-11-05T07:26:41.520Z] ---> 961879969c02 [2021-11-05T07:26:41.520Z] Step 15/24 : WORKDIR / [2021-11-05T07:26:41.780Z] ---> Running in c82311d6887b [2021-11-05T07:26:41.780Z] Removing intermediate container c82311d6887b [2021-11-05T07:26:41.780Z] ---> 6e3b36d5b625 [2021-11-05T07:26:41.780Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-05T07:26:41.780Z] ---> 27284da55033 [2021-11-05T07:26:41.780Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-05T07:26:42.351Z] ---> 449b97f4a08e [2021-11-05T07:26:42.351Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-05T07:26:42.351Z] ---> 0486189322ef [2021-11-05T07:26:42.351Z] Step 19/24 : EXPOSE 59999 [2021-11-05T07:26:42.351Z] ---> Running in f43e1e9f8df0 [2021-11-05T07:26:42.619Z] Removing intermediate container f43e1e9f8df0 [2021-11-05T07:26:42.619Z] ---> 84149bf5bf83 [2021-11-05T07:26:42.619Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-05T07:26:42.619Z] ---> Running in 5e94eafce749 [2021-11-05T07:26:42.619Z] Removing intermediate container 5e94eafce749 [2021-11-05T07:26:42.619Z] ---> 6554f5e25ece [2021-11-05T07:26:42.619Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-05T07:26:42.619Z] ---> Running in d25e5224fb6d [2021-11-05T07:26:42.619Z] Removing intermediate container d25e5224fb6d [2021-11-05T07:26:42.619Z] ---> 6b5f10a00cb7 [2021-11-05T07:26:42.619Z] Step 22/24 : LABEL arch=amd64 [2021-11-05T07:26:42.619Z] ---> Running in 29a16a829daf [2021-11-05T07:26:42.880Z] Removing intermediate container 29a16a829daf [2021-11-05T07:26:42.880Z] ---> fcb7caa28593 [2021-11-05T07:26:42.880Z] Step 23/24 : LABEL git_sha=555c3bb6a6e69767d223739ff73f88b00326690d [2021-11-05T07:26:42.880Z] ---> Running in 08363e496a40 [2021-11-05T07:26:42.880Z] Removing intermediate container 08363e496a40 [2021-11-05T07:26:42.880Z] ---> cca99c43e7dd [2021-11-05T07:26:42.880Z] Step 24/24 : LABEL version=2.0.1-dev.28 [2021-11-05T07:26:42.880Z] ---> Running in 61869eae9a3b [2021-11-05T07:26:43.140Z] Removing intermediate container 61869eae9a3b [2021-11-05T07:26:43.140Z] ---> 2a8891910c92 [2021-11-05T07:26:43.140Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-05T07:26:43.140Z] Successfully built 2a8891910c92 [2021-11-05T07:26:43.140Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:26:43.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T07:26:43.793Z] [2021-11-05T07:26:43.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:26:44.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T07:26:44.100Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-05T07:26:44.100Z] b4d181a07f80: Pulling fs layer [2021-11-05T07:26:44.100Z] a1111a8f2ec3: Pulling fs layer [2021-11-05T07:26:44.100Z] ed53099fbce6: Pulling fs layer [2021-11-05T07:26:44.100Z] dc539afda2c1: Pulling fs layer [2021-11-05T07:26:44.100Z] 77bc0d833cb6: Pulling fs layer [2021-11-05T07:26:44.100Z] 9065ff56babe: Pulling fs layer [2021-11-05T07:26:44.100Z] d287ab97295c: Pulling fs layer [2021-11-05T07:26:44.100Z] 77bc0d833cb6: Waiting [2021-11-05T07:26:44.100Z] 9065ff56babe: Waiting [2021-11-05T07:26:44.100Z] d287ab97295c: Waiting [2021-11-05T07:26:44.100Z] dc539afda2c1: Waiting [2021-11-05T07:26:44.100Z] a1111a8f2ec3: Verifying Checksum [2021-11-05T07:26:44.100Z] a1111a8f2ec3: Download complete [2021-11-05T07:26:44.100Z] dc539afda2c1: Verifying Checksum [2021-11-05T07:26:44.100Z] dc539afda2c1: Download complete [2021-11-05T07:26:44.100Z] ed53099fbce6: Verifying Checksum [2021-11-05T07:26:44.100Z] ed53099fbce6: Download complete [2021-11-05T07:26:44.368Z] 9065ff56babe: Verifying Checksum [2021-11-05T07:26:44.368Z] 9065ff56babe: Download complete [2021-11-05T07:26:44.368Z] 77bc0d833cb6: Verifying Checksum [2021-11-05T07:26:44.368Z] 77bc0d833cb6: Download complete [2021-11-05T07:26:44.368Z] b4d181a07f80: Verifying Checksum [2021-11-05T07:26:44.368Z] b4d181a07f80: Download complete [2021-11-05T07:26:44.941Z] d287ab97295c: Verifying Checksum [2021-11-05T07:26:44.941Z] d287ab97295c: Download complete [2021-11-05T07:26:45.889Z] b4d181a07f80: Pull complete [2021-11-05T07:26:46.149Z] a1111a8f2ec3: Pull complete [2021-11-05T07:26:46.737Z] ed53099fbce6: Pull complete [2021-11-05T07:26:46.737Z] dc539afda2c1: Pull complete [2021-11-05T07:26:46.997Z] 77bc0d833cb6: Pull complete [2021-11-05T07:26:46.997Z] 9065ff56babe: Pull complete [2021-11-05T07:26:52.344Z] d287ab97295c: Pull complete [2021-11-05T07:26:52.344Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-05T07:26:52.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T07:26:52.344Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-05T07:26:52.413Z] prd-centos7-docker-4c-2g-27719 does not seem to be running inside a container [2021-11-05T07:26:52.446Z] $ 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/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 [2021-11-05T07:26:55.097Z] $ docker top 155de8f1efb101671f3e377e71a54dfa886a0cb8f22519b213b0fab7a7966394 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:26:55.550Z] ---> job-cost.sh [2021-11-05T07:26:55.550Z] lf-activate-venv: SKIPPING [2021-11-05T07:26:55.550Z] INFO: No Stack... [2021-11-05T07:26:55.810Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-05T07:26:56.384Z] INFO: Archiving Costs [Pipeline] sh [2021-11-05T07:26:56.686Z] + cat /w/workspace/device-sdk-go/27/archives/cost.csv [2021-11-05T07:26:56.686Z] + cut -d, -f6 [Pipeline] lock [2021-11-05T07:26:56.713Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-27-stack-cost] [2021-11-05T07:26:56.719Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-27-stack-cost] did not exist. Created. [2021-11-05T07:26:56.719Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-05T07:26:57.023Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-05T07:26:57.057Z] Stashed 1 file(s) [Pipeline] } [2021-11-05T07:26:57.064Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-05T07:26:57.077Z] $ docker stop --time=1 155de8f1efb101671f3e377e71a54dfa886a0cb8f22519b213b0fab7a7966394 [2021-11-05T07:26:58.214Z] $ docker rm -f 155de8f1efb101671f3e377e71a54dfa886a0cb8f22519b213b0fab7a7966394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-05T07:27:29.194Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-05T07:27:29.194Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-05T07:27:29.468Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-05T07:27:32.117Z] $ docker stop --time=1 ba269391a07d7f5b76d5afe3a5c3172f9428aa0c4560cffc2b18e5f825f46d76 [2021-11-05T07:27:34.013Z] $ docker rm -f ba269391a07d7f5b76d5afe3a5c3172f9428aa0c4560cffc2b18e5f825f46d76 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T07:27:35.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-05T07:27:35.155Z] Warning: overwriting stash ‘coverage-report’ [2021-11-05T07:27:35.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T07:27:36.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-05T07:27:36.661Z] + ls -al . [2021-11-05T07:27:36.661Z] total 300 [2021-11-05T07:27:36.661Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 5 07:27 . [2021-11-05T07:27:36.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 5 07:22 .. [2021-11-05T07:27:36.661Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 5 07:22 .dockerignore [2021-11-05T07:27:36.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 5 07:22 .git [2021-11-05T07:27:36.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 07:22 .github [2021-11-05T07:27:36.661Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 5 07:22 .gitignore [2021-11-05T07:27:36.661Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 5 07:22 CHANGELOG.md [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 5 07:22 GOVERNANCE.md [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 5 07:22 Jenkinsfile [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 5 07:22 LICENSE [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 5 07:22 Makefile [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 5 07:22 OWNERS.md [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 5 07:22 README.md [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 5 07:19 VERSION [2021-11-05T07:27:36.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 5 07:22 bin [2021-11-05T07:27:36.662Z] -rw-r--r-- 1 jenkins jenkins 127566 Nov 5 07:26 coverage.out [2021-11-05T07:27:36.662Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 5 07:22 example [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 5 07:22 go.mod [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 5 07:22 go.sum [2021-11-05T07:27:36.662Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 5 07:22 internal [2021-11-05T07:27:36.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 07:22 openapi [2021-11-05T07:27:36.662Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 5 07:22 pkg [2021-11-05T07:27:36.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 5 07:22 snap [2021-11-05T07:27:36.662Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 5 07:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:27:37.003Z] + 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=555c3bb6a6e69767d223739ff73f88b00326690d --label arch=arm64 --label version=2.0.1-dev.28 . [2021-11-05T07:27:37.603Z] Sending build context to Docker daemon 2.845MB [2021-11-05T07:27:37.603Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T07:27:37.603Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-05T07:27:37.603Z] ---> 078080049cca [2021-11-05T07:27:37.603Z] Step 3/24 : ARG MAKE=make build [2021-11-05T07:27:37.603Z] ---> Running in 6368042c044d [2021-11-05T07:27:38.213Z] Removing intermediate container 6368042c044d [2021-11-05T07:27:38.213Z] ---> 1a02ce6a752b [2021-11-05T07:27:38.213Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-05T07:27:38.213Z] ---> Running in df6ddbe00561 [2021-11-05T07:27:38.816Z] Removing intermediate container df6ddbe00561 [2021-11-05T07:27:38.816Z] ---> 5a16bd968994 [2021-11-05T07:27:38.816Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T07:27:38.816Z] ---> Running in 4ecd3dca419f [2021-11-05T07:27:39.411Z] Removing intermediate container 4ecd3dca419f [2021-11-05T07:27:39.411Z] ---> 319a556ab0b1 [2021-11-05T07:27:39.411Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T07:27:39.411Z] ---> Running in b8b7f0e1bca5 [2021-11-05T07:27:41.385Z] Removing intermediate container b8b7f0e1bca5 [2021-11-05T07:27:41.385Z] ---> e87e32ecb58a [2021-11-05T07:27:41.385Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T07:27:41.385Z] ---> Running in fe690f873764 [2021-11-05T07:27:42.821Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T07:27:43.800Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-05T07:27:44.788Z] OK: 219 MiB in 52 packages [2021-11-05T07:27:45.770Z] Removing intermediate container fe690f873764 [2021-11-05T07:27:45.770Z] ---> ddcec283bb7e [2021-11-05T07:27:45.770Z] Step 8/24 : COPY . . [2021-11-05T07:27:46.760Z] ---> de057e416254 [2021-11-05T07:27:46.760Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T07:27:47.035Z] ---> Running in fc3f7b40780c [2021-11-05T07:27:49.662Z] Removing intermediate container fc3f7b40780c [2021-11-05T07:27:49.662Z] ---> 1a7fd272f616 [2021-11-05T07:27:49.662Z] Step 10/24 : RUN ${MAKE} [2021-11-05T07:27:49.662Z] ---> Running in 4bbfb428e4a7 [2021-11-05T07:27:50.638Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.28" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-05T07:28:29.676Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-05T07:28:29.676Z] Removing intermediate container 4bbfb428e4a7 [2021-11-05T07:28:29.676Z] ---> 21ea219f1d62 [2021-11-05T07:28:29.676Z] Step 11/24 : FROM alpine:3.14 [2021-11-05T07:28:33.054Z] 3.14: Pulling from library/alpine [2021-11-05T07:28:33.054Z] 552d1f2373af: Already exists [2021-11-05T07:28:33.054Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-05T07:28:33.054Z] Status: Downloaded newer image for alpine:3.14 [2021-11-05T07:28:33.054Z] ---> bb3de5531c18 [2021-11-05T07:28:33.054Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T07:28:33.054Z] ---> Running in 5b23394e3ba8 [2021-11-05T07:28:33.325Z] Removing intermediate container 5b23394e3ba8 [2021-11-05T07:28:33.325Z] ---> 172aa9ceac74 [2021-11-05T07:28:33.325Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T07:28:33.325Z] ---> Running in f06888a0abd9 [2021-11-05T07:28:35.294Z] Removing intermediate container f06888a0abd9 [2021-11-05T07:28:35.294Z] ---> 9145e2e4df28 [2021-11-05T07:28:35.294Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-05T07:28:35.294Z] ---> Running in 0f5048fec5d2 [2021-11-05T07:28:36.265Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T07:28:37.239Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-05T07:28:37.831Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-05T07:28:37.831Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-05T07:28:38.102Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-05T07:28:38.102Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-05T07:28:38.374Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-05T07:28:38.374Z] Executing busybox-1.33.1-r3.trigger [2021-11-05T07:28:38.374Z] OK: 8 MiB in 19 packages [2021-11-05T07:28:39.348Z] Removing intermediate container 0f5048fec5d2 [2021-11-05T07:28:39.348Z] ---> 6904e0b65273 [2021-11-05T07:28:39.348Z] Step 15/24 : WORKDIR / [2021-11-05T07:28:39.348Z] ---> Running in cf130bc43c3b [2021-11-05T07:28:39.619Z] Removing intermediate container cf130bc43c3b [2021-11-05T07:28:39.619Z] ---> db9b7e71f6b7 [2021-11-05T07:28:39.619Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-05T07:28:40.599Z] ---> 054f73a6e96d [2021-11-05T07:28:40.599Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-05T07:28:41.575Z] ---> 578007fb9e03 [2021-11-05T07:28:41.575Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-05T07:28:42.167Z] ---> b8c429150aa2 [2021-11-05T07:28:42.167Z] Step 19/24 : EXPOSE 59999 [2021-11-05T07:28:42.167Z] ---> Running in 8d93ccd889a4 [2021-11-05T07:28:42.442Z] Removing intermediate container 8d93ccd889a4 [2021-11-05T07:28:42.442Z] ---> d93660fe0327 [2021-11-05T07:28:42.442Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-05T07:28:42.717Z] ---> Running in 29ea885ed62c [2021-11-05T07:28:42.988Z] Removing intermediate container 29ea885ed62c [2021-11-05T07:28:42.988Z] ---> 9ac68bfcdd46 [2021-11-05T07:28:42.988Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-05T07:28:42.988Z] ---> Running in 28a5c2c6d55f [2021-11-05T07:28:43.583Z] Removing intermediate container 28a5c2c6d55f [2021-11-05T07:28:43.583Z] ---> fc4d49c4570c [2021-11-05T07:28:43.583Z] Step 22/24 : LABEL arch=arm64 [2021-11-05T07:28:43.583Z] ---> Running in 3251c3b978c5 [2021-11-05T07:28:43.856Z] Removing intermediate container 3251c3b978c5 [2021-11-05T07:28:43.856Z] ---> 7a65a9707e2a [2021-11-05T07:28:43.856Z] Step 23/24 : LABEL git_sha=555c3bb6a6e69767d223739ff73f88b00326690d [2021-11-05T07:28:44.129Z] ---> Running in 2c11ba24e0d9 [2021-11-05T07:28:44.402Z] Removing intermediate container 2c11ba24e0d9 [2021-11-05T07:28:44.402Z] ---> 512dc34442fd [2021-11-05T07:28:44.402Z] Step 24/24 : LABEL version=2.0.1-dev.28 [2021-11-05T07:28:44.402Z] ---> Running in 282d99954712 [2021-11-05T07:28:44.999Z] Removing intermediate container 282d99954712 [2021-11-05T07:28:44.999Z] ---> fb84af1d4049 [2021-11-05T07:28:44.999Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-05T07:28:44.999Z] Successfully built fb84af1d4049 [2021-11-05T07:28:44.999Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:28:45.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T07:28:45.537Z] [2021-11-05T07:28:45.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:28:46.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T07:28:46.428Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-05T07:28:46.428Z] 448f6bf000e3: Pulling fs layer [2021-11-05T07:28:46.428Z] f757da607395: Pulling fs layer [2021-11-05T07:28:46.428Z] 05883995daec: Pulling fs layer [2021-11-05T07:28:46.428Z] 8603b9c90790: Pulling fs layer [2021-11-05T07:28:46.428Z] 1560dd03e051: Pulling fs layer [2021-11-05T07:28:46.428Z] 27f5ce0e4adf: Pulling fs layer [2021-11-05T07:28:46.428Z] c2d8d7efcc4b: Pulling fs layer [2021-11-05T07:28:46.428Z] 1560dd03e051: Waiting [2021-11-05T07:28:46.428Z] c2d8d7efcc4b: Waiting [2021-11-05T07:28:46.428Z] 8603b9c90790: Waiting [2021-11-05T07:28:46.428Z] 27f5ce0e4adf: Waiting [2021-11-05T07:28:46.428Z] f757da607395: Verifying Checksum [2021-11-05T07:28:46.428Z] f757da607395: Download complete [2021-11-05T07:28:46.428Z] 8603b9c90790: Verifying Checksum [2021-11-05T07:28:46.428Z] 8603b9c90790: Download complete [2021-11-05T07:28:46.428Z] 1560dd03e051: Verifying Checksum [2021-11-05T07:28:46.428Z] 1560dd03e051: Download complete [2021-11-05T07:28:46.703Z] 27f5ce0e4adf: Verifying Checksum [2021-11-05T07:28:46.703Z] 27f5ce0e4adf: Download complete [2021-11-05T07:28:46.703Z] 05883995daec: Verifying Checksum [2021-11-05T07:28:46.703Z] 05883995daec: Download complete [2021-11-05T07:28:46.978Z] 448f6bf000e3: Verifying Checksum [2021-11-05T07:28:46.978Z] 448f6bf000e3: Download complete [2021-11-05T07:28:49.604Z] c2d8d7efcc4b: Verifying Checksum [2021-11-05T07:28:49.604Z] c2d8d7efcc4b: Download complete [2021-11-05T07:28:50.584Z] 448f6bf000e3: Pull complete [2021-11-05T07:28:51.189Z] f757da607395: Pull complete [2021-11-05T07:28:52.623Z] 05883995daec: Pull complete [2021-11-05T07:28:52.895Z] 8603b9c90790: Pull complete [2021-11-05T07:28:53.873Z] 1560dd03e051: Pull complete [2021-11-05T07:28:53.873Z] 27f5ce0e4adf: Pull complete [2021-11-05T07:29:08.974Z] c2d8d7efcc4b: Pull complete [2021-11-05T07:29:08.974Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-05T07:29:08.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T07:29:08.974Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-05T07:29:09.239Z] prd-ubuntu18.04-docker-arm64-4c-16g-27718 does not seem to be running inside a container [2021-11-05T07:29:09.331Z] $ 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/27 -v /w/workspace/device-sdk-go/27:/w/workspace/device-sdk-go/27:rw,z -v /w/workspace/device-sdk-go/27@tmp:/w/workspace/device-sdk-go/27@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 [2021-11-05T07:29:12.111Z] $ docker top a7a0a18e3b198d1d6fe03d7ecaf201fab53df337376469ecd3505708dd1a78af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:29:13.055Z] ---> job-cost.sh [2021-11-05T07:29:13.055Z] lf-activate-venv: SKIPPING [2021-11-05T07:29:13.055Z] INFO: No Stack... [2021-11-05T07:29:13.328Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-05T07:29:13.602Z] INFO: Archiving Costs [Pipeline] sh [2021-11-05T07:29:14.264Z] + cat /w/workspace/device-sdk-go/27/archives/cost.csv [2021-11-05T07:29:14.264Z] + cut -d, -f6 [Pipeline] lock [2021-11-05T07:29:14.325Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-27-stack-cost] [2021-11-05T07:29:14.332Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-27-stack-cost] did not exist. Created. [2021-11-05T07:29:14.332Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-05T07:29:15.015Z] /w/workspace/device-sdk-go/27@tmp/durable-41b71380/script.sh: 1: /w/workspace/device-sdk-go/27@tmp/durable-41b71380/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-05T07:29:15.683Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-05T07:29:15.710Z] Warning: overwriting stash ‘stack-cost’ [2021-11-05T07:29:15.776Z] Stashed 1 file(s) [Pipeline] } [2021-11-05T07:29:15.784Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-05T07:29:15.804Z] $ docker stop --time=1 a7a0a18e3b198d1d6fe03d7ecaf201fab53df337376469ecd3505708dd1a78af [2021-11-05T07:29:17.335Z] $ docker rm -f a7a0a18e3b198d1d6fe03d7ecaf201fab53df337376469ecd3505708dd1a78af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-05T07:29:18.043Z] provisioning config files... [2021-11-05T07:29:18.061Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1667030587016720251tmp [Pipeline] { [Pipeline] sh [2021-11-05T07:29:18.373Z] + set +x [2021-11-05T07:29:18.373Z] + curl -s https://codecov.io/bash [2021-11-05T07:29:18.373Z] + bash -s -- [2021-11-05T07:29:18.373Z] [2021-11-05T07:29:18.373Z] _____ _ [2021-11-05T07:29:18.373Z] / ____| | | [2021-11-05T07:29:18.373Z] | | ___ __| | ___ ___ _____ __ [2021-11-05T07:29:18.373Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-05T07:29:18.373Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-05T07:29:18.373Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-05T07:29:18.373Z] Bash-1.0.6 [2021-11-05T07:29:18.373Z] [2021-11-05T07:29:18.373Z] [2021-11-05T07:29:18.373Z] ==> git version 2.24.4 found [2021-11-05T07:29:18.373Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-05T07:29:18.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-05T07:29:18.374Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-05T07:29:18.374Z] ==> Jenkins CI detected. [2021-11-05T07:29:18.636Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-05T07:29:18.636Z] project root: . [2021-11-05T07:29:18.636Z] --> token set from env [2021-11-05T07:29:18.636Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-05T07:29:18.636Z] ==> Running gcov in . (disable via -X gcov) [2021-11-05T07:29:18.636Z] ==> Python coveragepy not found [2021-11-05T07:29:18.636Z] ==> Searching for coverage reports in: [2021-11-05T07:29:18.636Z] + . [2021-11-05T07:29:18.636Z] -> Found 1 reports [2021-11-05T07:29:18.636Z] ==> Detecting git/mercurial file structure [2021-11-05T07:29:18.636Z] ==> Reading reports [2021-11-05T07:29:18.636Z] + ./coverage.out bytes=127566 [2021-11-05T07:29:18.636Z] ==> Appending adjustments [2021-11-05T07:29:18.636Z] https://docs.codecov.io/docs/fixing-reports [2021-11-05T07:29:18.897Z] + Found adjustments [2021-11-05T07:29:18.897Z] ==> Gzipping contents [2021-11-05T07:29:18.897Z] 16K /tmp/codecov.Tkxgul.gz [2021-11-05T07:29:18.897Z] ==> Uploading reports [2021-11-05T07:29:18.897Z] url: https://codecov.io [2021-11-05T07:29:18.897Z] query: branch=main&commit=555c3bb6a6e69767d223739ff73f88b00326690d&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-05T07:29:18.897Z] -> Pinging Codecov [2021-11-05T07:29:18.897Z] 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=555c3bb6a6e69767d223739ff73f88b00326690d&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-05T07:29:19.473Z] -> Uploading to [2021-11-05T07:29:19.473Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-05/7E55EF52A471D76F132DFD9A03CDDE97/555c3bb6a6e69767d223739ff73f88b00326690d/96996691-6f75-46f4-9e8d-306d4d13750b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211105T072919Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ed060a429ecb2ca7f1abec9dd0c724c727efabadd6df4bf86911c4a34363835 [2021-11-05T07:29:19.473Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-05T07:29:19.473Z] Dload Upload Total Spent Left Speed [2021-11-05T07:29:19.735Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16267 0 0 100 16267 0 43693 --:--:-- --:--:-- --:--:-- 43611 100 16267 0 0 100 16267 0 43679 --:--:-- --:--:-- --:--:-- 43611 [2021-11-05T07:29:19.735Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/555c3bb6a6e69767d223739ff73f88b00326690d [Pipeline] } [2021-11-05T07:29:19.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-05T07:29:20.121Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-05T07:29:20.132Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:29:20.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-05T07:29:20.430Z] [2021-11-05T07:29:20.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:29:20.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-05T07:29:20.740Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-05T07:29:20.740Z] 188c0c94c7c5: Pulling fs layer [2021-11-05T07:29:20.740Z] 0ef7d3d256c8: Pulling fs layer [2021-11-05T07:29:20.740Z] de9db76c5a1d: Pulling fs layer [2021-11-05T07:29:20.740Z] 0eba1c9be4d2: Pulling fs layer [2021-11-05T07:29:20.740Z] 0d57e429df01: Pulling fs layer [2021-11-05T07:29:20.740Z] 4e4be7b47b0d: Pulling fs layer [2021-11-05T07:29:20.740Z] e1f770b5df2f: Pulling fs layer [2021-11-05T07:29:20.740Z] 85a0685a4137: Pulling fs layer [2021-11-05T07:29:20.740Z] 0eba1c9be4d2: Waiting [2021-11-05T07:29:20.740Z] 0d57e429df01: Waiting [2021-11-05T07:29:20.740Z] 4e4be7b47b0d: Waiting [2021-11-05T07:29:20.740Z] e1f770b5df2f: Waiting [2021-11-05T07:29:20.740Z] 85a0685a4137: Waiting [2021-11-05T07:29:20.740Z] de9db76c5a1d: Verifying Checksum [2021-11-05T07:29:20.740Z] de9db76c5a1d: Download complete [2021-11-05T07:29:20.740Z] 0ef7d3d256c8: Verifying Checksum [2021-11-05T07:29:20.740Z] 0ef7d3d256c8: Download complete [2021-11-05T07:29:20.740Z] 0d57e429df01: Verifying Checksum [2021-11-05T07:29:20.740Z] 0d57e429df01: Download complete [2021-11-05T07:29:20.740Z] 4e4be7b47b0d: Verifying Checksum [2021-11-05T07:29:20.740Z] 4e4be7b47b0d: Download complete [2021-11-05T07:29:20.740Z] 188c0c94c7c5: Verifying Checksum [2021-11-05T07:29:20.740Z] 188c0c94c7c5: Download complete [2021-11-05T07:29:21.015Z] e1f770b5df2f: Verifying Checksum [2021-11-05T07:29:21.015Z] e1f770b5df2f: Download complete [2021-11-05T07:29:21.601Z] 188c0c94c7c5: Pull complete [2021-11-05T07:29:21.601Z] 0eba1c9be4d2: Verifying Checksum [2021-11-05T07:29:21.601Z] 0eba1c9be4d2: Download complete [2021-11-05T07:29:21.601Z] 0ef7d3d256c8: Pull complete [2021-11-05T07:29:21.601Z] 85a0685a4137: Verifying Checksum [2021-11-05T07:29:21.601Z] 85a0685a4137: Download complete [2021-11-05T07:29:21.601Z] de9db76c5a1d: Pull complete [2021-11-05T07:29:25.879Z] 0eba1c9be4d2: Pull complete [2021-11-05T07:29:26.145Z] 0d57e429df01: Pull complete [2021-11-05T07:29:26.145Z] 4e4be7b47b0d: Pull complete [2021-11-05T07:29:26.746Z] e1f770b5df2f: Pull complete [2021-11-05T07:29:30.987Z] 85a0685a4137: Pull complete [2021-11-05T07:29:30.987Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-05T07:29:30.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-05T07:29:30.987Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-05T07:29:31.061Z] prd-centos7-docker-4c-2g-27717 does not seem to be running inside a container [2021-11-05T07:29:31.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-05T07:29:33.678Z] $ docker top 5cff2bf33315e98191d31ca2ffa1576910b91bbf12157bc2a941a13653290d26 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-05T07:29:33.781Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-05T07:29:34.069Z] + set -o pipefail [2021-11-05T07:29:34.069Z] + snyk monitor '--org=edgex-jenkins' [2021-11-05T07:29:40.681Z] [2021-11-05T07:29:40.681Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-11-05T07:29:40.681Z] [2021-11-05T07:29:40.681Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/f9460972-ac8b-4a22-ac59-2ebd547c59ed [2021-11-05T07:29:40.681Z] [2021-11-05T07:29:40.681Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-05T07:29:40.681Z] [2021-11-05T07:29:40.681Z] [2021-11-05T07:29:40.681Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-05T07:29:40.681Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-05T07:29:40.691Z] $ docker stop --time=1 5cff2bf33315e98191d31ca2ffa1576910b91bbf12157bc2a941a13653290d26 [2021-11-05T07:29:42.617Z] $ docker rm -f 5cff2bf33315e98191d31ca2ffa1576910b91bbf12157bc2a941a13653290d26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-11-05T07:29:43.156Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T07:29:43.166Z] provisioning config files... [2021-11-05T07:29:43.173Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4628076746856812181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:29:43.474Z] --> edgex-publish-swagger.sh [2021-11-05T07:29:43.474Z] === Publish openapi/v2 API === [2021-11-05T07:29:43.474Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-05T07:29:43.474Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-11-05T07:29:43.474Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-05T07:29:43.474Z] Dload Upload Total Spent Left Speed [2021-11-05T07:29:43.992Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51839 100 180 100 51659 264 75957 --:--:-- --:--:-- --:--:-- 75969 [2021-11-05T07:29:43.992Z] {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} [2021-11-05T07:29:43.992Z] [Pipeline] } [2021-11-05T07:29:43.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-05T07:29:44.419Z] + git log --format=format:%s -1 555c3bb6a6e69767d223739ff73f88b00326690d [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:29:44.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T07:29:44.740Z] . [Pipeline] withDockerContainer [2021-11-05T07:29:44.813Z] prd-centos7-docker-4c-2g-27717 does not seem to be running inside a container [2021-11-05T07:29:44.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-05T07:29:45.330Z] $ docker top d25acb0e99e926637985f0e3cfa973a2a63ac27bacc1bb4facf614bd2f188100 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-05T07:29:45.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T07:29:45.420Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T07:29:45.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T07:29:45.547Z] $ docker exec d25acb0e99e926637985f0e3cfa973a2a63ac27bacc1bb4facf614bd2f188100 ssh-agent [2021-11-05T07:29:45.664Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdcjDlA/agent.13 [2021-11-05T07:29:45.664Z] SSH_AGENT_PID=19 [2021-11-05T07:29:45.670Z] Running ssh-add (command line suppressed) [2021-11-05T07:29:45.783Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_240270583467743795.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_240270583467743795.key) [2021-11-05T07:29:45.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T07:29:46.090Z] + git semver tag [2021-11-05T07:29:46.090Z] # -> Open(): unable to determine branch for HEAD [2021-11-05T07:29:46.090Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-05T07:29:46.090Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-05T07:29:46.090Z] # $SEMVER_REMOTE_NAME = origin [2021-11-05T07:29:46.090Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-05T07:29:46.090Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-05T07:29:46.090Z] # $SEMVER_BRANCH = main [2021-11-05T07:29:46.090Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-05T07:29:46.090Z] # 555c3bb6a6e69767d223739ff73f88b00326690d HEAD [2021-11-05T07:29:46.090Z] # -> Force: false [2021-11-05T07:29:46.090Z] # dc0f0069990dad0f5fabaaf251538ca7b97d6008 refs/tags/v2.0.1-dev.28 [Pipeline] } [2021-11-05T07:29:46.102Z] $ docker exec --env ******** --env ******** d25acb0e99e926637985f0e3cfa973a2a63ac27bacc1bb4facf614bd2f188100 ssh-agent -k [2021-11-05T07:29:46.204Z] unset SSH_AUTH_SOCK; [2021-11-05T07:29:46.204Z] unset SSH_AGENT_PID; [2021-11-05T07:29:46.204Z] echo Agent pid 19 killed; [2021-11-05T07:29:46.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-05T07:29:46.533Z] + git semver [Pipeline] } [2021-11-05T07:29:46.546Z] $ docker stop --time=1 d25acb0e99e926637985f0e3cfa973a2a63ac27bacc1bb4facf614bd2f188100 [2021-11-05T07:29:47.750Z] $ docker rm -f d25acb0e99e926637985f0e3cfa973a2a63ac27bacc1bb4facf614bd2f188100 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:29:48.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-05T07:29:48.132Z] [2021-11-05T07:29:48.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:29:48.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-05T07:29:48.439Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-05T07:29:48.439Z] ab5ef0e58194: Pulling fs layer [2021-11-05T07:29:48.439Z] 9712f1f96733: Pulling fs layer [2021-11-05T07:29:48.439Z] 63f879dbbcfc: Pulling fs layer [2021-11-05T07:29:48.439Z] 0d9ebad4ef96: Pulling fs layer [2021-11-05T07:29:48.439Z] e9a5061849ea: Pulling fs layer [2021-11-05T07:29:48.439Z] d747dcd14b5f: Pulling fs layer [2021-11-05T07:29:48.439Z] 2de7ff778b66: Pulling fs layer [2021-11-05T07:29:48.439Z] e9a5061849ea: Waiting [2021-11-05T07:29:48.439Z] d747dcd14b5f: Waiting [2021-11-05T07:29:48.439Z] 2de7ff778b66: Waiting [2021-11-05T07:29:48.439Z] 0d9ebad4ef96: Waiting [2021-11-05T07:29:48.439Z] 9712f1f96733: Verifying Checksum [2021-11-05T07:29:48.439Z] 9712f1f96733: Download complete [2021-11-05T07:29:48.703Z] 63f879dbbcfc: Verifying Checksum [2021-11-05T07:29:48.703Z] 63f879dbbcfc: Download complete [2021-11-05T07:29:48.988Z] ab5ef0e58194: Verifying Checksum [2021-11-05T07:29:48.988Z] ab5ef0e58194: Download complete [2021-11-05T07:29:48.988Z] 0d9ebad4ef96: Verifying Checksum [2021-11-05T07:29:48.988Z] 0d9ebad4ef96: Download complete [2021-11-05T07:29:48.988Z] d747dcd14b5f: Verifying Checksum [2021-11-05T07:29:48.988Z] d747dcd14b5f: Download complete [2021-11-05T07:29:49.254Z] e9a5061849ea: Verifying Checksum [2021-11-05T07:29:49.254Z] e9a5061849ea: Download complete [2021-11-05T07:29:49.254Z] 2de7ff778b66: Verifying Checksum [2021-11-05T07:29:49.254Z] 2de7ff778b66: Download complete [2021-11-05T07:29:52.642Z] ab5ef0e58194: Pull complete [2021-11-05T07:29:52.642Z] 9712f1f96733: Pull complete [2021-11-05T07:29:53.223Z] 63f879dbbcfc: Pull complete [2021-11-05T07:29:58.582Z] 0d9ebad4ef96: Pull complete [2021-11-05T07:29:58.582Z] e9a5061849ea: Pull complete [2021-11-05T07:29:58.582Z] d747dcd14b5f: Pull complete [2021-11-05T07:29:59.981Z] 2de7ff778b66: Pull complete [2021-11-05T07:29:59.981Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-05T07:29:59.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-05T07:29:59.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-05T07:30:00.052Z] prd-centos7-docker-4c-2g-27717 does not seem to be running inside a container [2021-11-05T07:30:00.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-05T07:30:03.950Z] $ docker top 666dd1c4946dc37ddb850ef3e05ca1408b26ee077feb68e94f65d2dab7c9b1fa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-05T07:30:04.031Z] provisioning config files... [2021-11-05T07:30:04.040Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3745726759132753293tmp [2021-11-05T07:30:04.049Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config306628995930948370tmp [2021-11-05T07:30:04.058Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3557889790970371671tmp [Pipeline] { [Pipeline] echo [2021-11-05T07:30:04.073Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:04.365Z] ---> sigul-configuration.sh [2021-11-05T07:30:04.365Z] gpg: directory `/root/.gnupg' created [2021-11-05T07:30:04.365Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-05T07:30:04.365Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-05T07:30:04.365Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-05T07:30:04.365Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-05T07:30:04.365Z] gpg: CAST5 encrypted data [2021-11-05T07:30:04.365Z] gpg: encrypted with 1 passphrase [2021-11-05T07:30:04.365Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-05T07:30:04.667Z] + mkdir /home/jenkins [2021-11-05T07:30:04.667Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-05T07:30:04.958Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-11-05T07:30:04.968Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:05.256Z] ---> sigul-install.sh [2021-11-05T07:30:05.256Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-05T07:30:05.554Z] + git tag --list [2021-11-05T07:30:05.554Z] 0.7.1 [2021-11-05T07:30:05.554Z] delhi-tag [2021-11-05T07:30:05.554Z] v1.0.0 [2021-11-05T07:30:05.554Z] v1.1.0 [2021-11-05T07:30:05.554Z] v1.1.1 [2021-11-05T07:30:05.554Z] v1.1.2 [2021-11-05T07:30:05.554Z] v1.2.0 [2021-11-05T07:30:05.554Z] v1.2.1 [2021-11-05T07:30:05.554Z] v1.2.2 [2021-11-05T07:30:05.554Z] v1.2.3 [2021-11-05T07:30:05.554Z] v1.3.0 [2021-11-05T07:30:05.554Z] v1.4.0 [2021-11-05T07:30:05.554Z] v2.0.0 [2021-11-05T07:30:05.554Z] v2.0.1-dev.1 [2021-11-05T07:30:05.554Z] v2.0.1-dev.10 [2021-11-05T07:30:05.554Z] v2.0.1-dev.11 [2021-11-05T07:30:05.554Z] v2.0.1-dev.12 [2021-11-05T07:30:05.554Z] v2.0.1-dev.13 [2021-11-05T07:30:05.554Z] v2.0.1-dev.14 [2021-11-05T07:30:05.554Z] v2.0.1-dev.15 [2021-11-05T07:30:05.554Z] v2.0.1-dev.16 [2021-11-05T07:30:05.554Z] v2.0.1-dev.17 [2021-11-05T07:30:05.554Z] v2.0.1-dev.18 [2021-11-05T07:30:05.554Z] v2.0.1-dev.19 [2021-11-05T07:30:05.554Z] v2.0.1-dev.2 [2021-11-05T07:30:05.554Z] v2.0.1-dev.20 [2021-11-05T07:30:05.554Z] v2.0.1-dev.21 [2021-11-05T07:30:05.554Z] v2.0.1-dev.22 [2021-11-05T07:30:05.554Z] v2.0.1-dev.23 [2021-11-05T07:30:05.554Z] v2.0.1-dev.24 [2021-11-05T07:30:05.554Z] v2.0.1-dev.25 [2021-11-05T07:30:05.554Z] v2.0.1-dev.26 [2021-11-05T07:30:05.554Z] v2.0.1-dev.27 [2021-11-05T07:30:05.554Z] v2.0.1-dev.28 [2021-11-05T07:30:05.554Z] v2.0.1-dev.3 [2021-11-05T07:30:05.554Z] v2.0.1-dev.4 [2021-11-05T07:30:05.554Z] v2.0.1-dev.5 [2021-11-05T07:30:05.554Z] v2.0.1-dev.6 [2021-11-05T07:30:05.554Z] v2.0.1-dev.7 [2021-11-05T07:30:05.554Z] v2.0.1-dev.8 [2021-11-05T07:30:05.554Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-05T07:30:05.853Z] + lftools sign git-tag v2.0.1-dev.28 [2021-11-05T07:30:06.430Z] Signing Git tag with Sigul... [2021-11-05T07:30:06.430Z] Signing v2.0.1-dev.28 [Pipeline] echo [2021-11-05T07:30:07.382Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:07.681Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-05T07:30:07.688Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-05T07:30:07.711Z] $ docker stop --time=1 666dd1c4946dc37ddb850ef3e05ca1408b26ee077feb68e94f65d2dab7c9b1fa [2021-11-05T07:30:08.935Z] $ docker rm -f 666dd1c4946dc37ddb850ef3e05ca1408b26ee077feb68e94f65d2dab7c9b1fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:30:09.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T07:30:09.513Z] . [Pipeline] withDockerContainer [2021-11-05T07:30:09.577Z] prd-centos7-docker-4c-2g-27717 does not seem to be running inside a container [2021-11-05T07:30:09.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-05T07:30:10.134Z] $ docker top 9020d29a4ee2c8646170e6c3bcf5178bfd29cd928a9676a20a593963acc972cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-05T07:30:10.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T07:30:10.229Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T07:30:10.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T07:30:10.380Z] $ docker exec 9020d29a4ee2c8646170e6c3bcf5178bfd29cd928a9676a20a593963acc972cd ssh-agent [2021-11-05T07:30:10.528Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOPLDii/agent.14 [2021-11-05T07:30:10.528Z] SSH_AGENT_PID=21 [2021-11-05T07:30:10.535Z] Running ssh-add (command line suppressed) [2021-11-05T07:30:10.662Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7259248491520329297.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7259248491520329297.key) [2021-11-05T07:30:10.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T07:30:10.992Z] + git semver bump pre [2021-11-05T07:30:10.992Z] # -> Open(): unable to determine branch for HEAD [2021-11-05T07:30:10.992Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-05T07:30:10.992Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-05T07:30:10.992Z] # $SEMVER_REMOTE_NAME = origin [2021-11-05T07:30:10.992Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-05T07:30:10.992Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-05T07:30:10.992Z] # $SEMVER_BRANCH = main [2021-11-05T07:30:10.992Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-05T07:30:10.992Z] 2.0.1-dev.29 [Pipeline] } [2021-11-05T07:30:11.002Z] $ docker exec --env ******** --env ******** 9020d29a4ee2c8646170e6c3bcf5178bfd29cd928a9676a20a593963acc972cd ssh-agent -k [2021-11-05T07:30:11.127Z] unset SSH_AUTH_SOCK; [2021-11-05T07:30:11.127Z] unset SSH_AGENT_PID; [2021-11-05T07:30:11.128Z] echo Agent pid 21 killed; [2021-11-05T07:30:11.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-05T07:30:11.452Z] + git semver [Pipeline] } [2021-11-05T07:30:11.466Z] $ docker stop --time=1 9020d29a4ee2c8646170e6c3bcf5178bfd29cd928a9676a20a593963acc972cd [2021-11-05T07:30:12.671Z] $ docker rm -f 9020d29a4ee2c8646170e6c3bcf5178bfd29cd928a9676a20a593963acc972cd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:30:13.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T07:30:13.130Z] . [Pipeline] withDockerContainer [2021-11-05T07:30:13.282Z] prd-centos7-docker-4c-2g-27717 does not seem to be running inside a container [2021-11-05T07:30:13.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-05T07:30:13.938Z] $ docker top 94c5e7688cbb77de8cc005f6cdb76b05fce1b6fc0138f3e05300557b26620f6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-05T07:30:14.049Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T07:30:14.049Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T07:30:14.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T07:30:14.179Z] $ docker exec 94c5e7688cbb77de8cc005f6cdb76b05fce1b6fc0138f3e05300557b26620f6f ssh-agent [2021-11-05T07:30:14.292Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcBNfmc/agent.14 [2021-11-05T07:30:14.292Z] SSH_AGENT_PID=21 [2021-11-05T07:30:14.298Z] Running ssh-add (command line suppressed) [2021-11-05T07:30:14.401Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8035679692871468459.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8035679692871468459.key) [2021-11-05T07:30:14.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T07:30:14.710Z] + git semver push [2021-11-05T07:30:14.710Z] # -> Open(): unable to determine branch for HEAD [2021-11-05T07:30:14.710Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-05T07:30:14.710Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-05T07:30:14.710Z] # $SEMVER_REMOTE_NAME = origin [2021-11-05T07:30:14.710Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-05T07:30:14.710Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-05T07:30:14.710Z] # $SEMVER_BRANCH = main [2021-11-05T07:30:14.710Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-05T07:30:16.628Z] $ docker exec --env ******** --env ******** 94c5e7688cbb77de8cc005f6cdb76b05fce1b6fc0138f3e05300557b26620f6f ssh-agent -k [2021-11-05T07:30:16.725Z] unset SSH_AUTH_SOCK; [2021-11-05T07:30:16.725Z] unset SSH_AGENT_PID; [2021-11-05T07:30:16.725Z] echo Agent pid 21 killed; [2021-11-05T07:30:16.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-05T07:30:17.035Z] + git semver [Pipeline] } [2021-11-05T07:30:17.047Z] $ docker stop --time=1 94c5e7688cbb77de8cc005f6cdb76b05fce1b6fc0138f3e05300557b26620f6f [2021-11-05T07:30:18.245Z] $ docker rm -f 94c5e7688cbb77de8cc005f6cdb76b05fce1b6fc0138f3e05300557b26620f6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-05T07:30:19.112Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:19.408Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:19.976Z] ---> package-listing.sh [2021-11-05T07:30:19.976Z] ++ facter osfamily [2021-11-05T07:30:19.976Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-05T07:30:20.239Z] + OS_FAMILY=redhat [2021-11-05T07:30:20.239Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-11-05T07:30:20.239Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-05T07:30:20.239Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-05T07:30:20.239Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-05T07:30:20.239Z] + PACKAGES=/tmp/packages_start.txt [2021-11-05T07:30:20.239Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-05T07:30:20.239Z] + PACKAGES=/tmp/packages_end.txt [2021-11-05T07:30:20.239Z] + case "${OS_FAMILY}" in [2021-11-05T07:30:20.239Z] + rpm -qa [2021-11-05T07:30:20.239Z] + sort [2021-11-05T07:30:21.184Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-05T07:30:21.184Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-05T07:30:21.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-05T07:30:21.184Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-05T07:30:21.184Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-11-05T07:30:21.184Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-11-05T07:30:21.194Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-05T07:30:21.474Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:30:22.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T07:30:22.023Z] [2021-11-05T07:30:22.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T07:30:22.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T07:30:22.328Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-05T07:30:22.328Z] b4d181a07f80: Pulling fs layer [2021-11-05T07:30:22.328Z] a1111a8f2ec3: Pulling fs layer [2021-11-05T07:30:22.328Z] ed53099fbce6: Pulling fs layer [2021-11-05T07:30:22.328Z] dc539afda2c1: Pulling fs layer [2021-11-05T07:30:22.328Z] 77bc0d833cb6: Pulling fs layer [2021-11-05T07:30:22.328Z] 9065ff56babe: Pulling fs layer [2021-11-05T07:30:22.328Z] d287ab97295c: Pulling fs layer [2021-11-05T07:30:22.328Z] 77bc0d833cb6: Waiting [2021-11-05T07:30:22.328Z] 9065ff56babe: Waiting [2021-11-05T07:30:22.328Z] d287ab97295c: Waiting [2021-11-05T07:30:22.328Z] dc539afda2c1: Waiting [2021-11-05T07:30:22.328Z] a1111a8f2ec3: Verifying Checksum [2021-11-05T07:30:22.328Z] a1111a8f2ec3: Download complete [2021-11-05T07:30:22.328Z] dc539afda2c1: Verifying Checksum [2021-11-05T07:30:22.328Z] dc539afda2c1: Download complete [2021-11-05T07:30:22.328Z] ed53099fbce6: Verifying Checksum [2021-11-05T07:30:22.328Z] ed53099fbce6: Download complete [2021-11-05T07:30:22.598Z] 9065ff56babe: Verifying Checksum [2021-11-05T07:30:22.598Z] 9065ff56babe: Download complete [2021-11-05T07:30:22.598Z] 77bc0d833cb6: Verifying Checksum [2021-11-05T07:30:22.598Z] 77bc0d833cb6: Download complete [2021-11-05T07:30:22.598Z] b4d181a07f80: Verifying Checksum [2021-11-05T07:30:22.598Z] b4d181a07f80: Download complete [2021-11-05T07:30:23.184Z] d287ab97295c: Verifying Checksum [2021-11-05T07:30:23.184Z] d287ab97295c: Download complete [2021-11-05T07:30:24.145Z] b4d181a07f80: Pull complete [2021-11-05T07:30:24.145Z] a1111a8f2ec3: Pull complete [2021-11-05T07:30:24.721Z] ed53099fbce6: Pull complete [2021-11-05T07:30:24.721Z] dc539afda2c1: Pull complete [2021-11-05T07:30:25.294Z] 77bc0d833cb6: Pull complete [2021-11-05T07:30:25.294Z] 9065ff56babe: Pull complete [2021-11-05T07:30:30.609Z] d287ab97295c: Pull complete [2021-11-05T07:30:30.609Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-05T07:30:30.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T07:30:30.609Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-05T07:30:30.676Z] prd-centos7-docker-4c-2g-27717 does not seem to be running inside a container [2021-11-05T07:30:30.712Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-05T07:30:33.211Z] $ docker top b51067afdc708c58a531b90fa5a361500f24bece55bb7815615ddf220c27f48a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T07:30:33.572Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-05T07:30:33.868Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-05T07:30:34.157Z] + ls /var/log/sa-host [2021-11-05T07:30:34.157Z] + sadf -c /var/log/sa-host/sa05 [2021-11-05T07:30:34.157Z] file_magic: OK [2021-11-05T07:30:34.157Z] HZ: Using current value: 100 [2021-11-05T07:30:34.157Z] file_header: OK [2021-11-05T07:30:34.157Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-05T07:30:34.157Z] Statistics: [2021-11-05T07:30:34.157Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-05T07:30:34.157Z] File successfully converted to sysstat format version 12.0.3 [2021-11-05T07:30:34.157Z] + sadf -c /var/log/sa-host/sa30 [2021-11-05T07:30:34.157Z] file_magic: OK [2021-11-05T07:30:34.157Z] HZ: Using current value: 100 [2021-11-05T07:30:34.157Z] file_header: OK [2021-11-05T07:30:34.157Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-05T07:30:34.157Z] Statistics: [2021-11-05T07:30:34.157Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-05T07:30:34.157Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T07:30:34.511Z] provisioning config files... [2021-11-05T07:30:34.521Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config959096364649337386tmp [Pipeline] { [Pipeline] echo [2021-11-05T07:30:34.538Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:34.826Z] ---> create-netrc.sh [Pipeline] } [2021-11-05T07:30:34.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:35.169Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-05T07:30:35.178Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:35.469Z] ---> sudo-logs.sh [2021-11-05T07:30:35.469Z] Archiving 'sudo' log.. [2021-11-05T07:30:35.469Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27717.novalocal: Name or service not known [2021-11-05T07:30:35.469Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27717.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-05T07:30:35.492Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:35.781Z] ---> job-cost.sh [2021-11-05T07:30:35.781Z] lf-activate-venv: SKIPPING [2021-11-05T07:30:35.781Z] DEBUG: total: 0.10999999940395355 [2021-11-05T07:30:35.781Z] INFO: Retrieving Stack Cost... [2021-11-05T07:30:36.041Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-05T07:30:36.612Z] INFO: Archiving Costs [Pipeline] echo [2021-11-05T07:30:36.622Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T07:30:36.913Z] ---> logs-deploy.sh [2021-11-05T07:30:36.913Z] lf-activate-venv: SKIPPING [2021-11-05T07:30:36.913Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/27 [2021-11-05T07:30:36.913Z] INFO: archiving workspace using pattern(s): [2021-11-05T07:30:37.854Z] Archives upload complete. [2021-11-05T07:30:37.854Z] INFO: archiving logs to Nexus