Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 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-ssh3084361721805349399.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-ssh7314687085110473512.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-ssh7171894612434598767.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-ssh195018573859610336.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-ssh2411669930272588417.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-28108 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-ssh233024292144332879.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 b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 (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 b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 Commit message: "Merge pull request #1055 from weichou1229/issue-1053" > git rev-list --no-walk 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T16:09:45.458Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T16:09:45.514Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T16:09:45.526Z] ========================================================= [2021-11-09T16:09:45.526Z] EdgeX Global Pipelines Version Info [2021-11-09T16:09:45.526Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:09:46.682Z] ------------------- [2021-11-09T16:09:46.682Z] stable info: [2021-11-09T16:09:46.682Z] ------------------- [2021-11-09T16:09:46.682Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T16:09:46.682Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T16:09:46.682Z] Message: update stable to v1.0.211 [2021-11-09T16:09:47.265Z] ------------------- [2021-11-09T16:09:47.265Z] experimental info: [2021-11-09T16:09:47.265Z] ------------------- [2021-11-09T16:09:47.265Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T16:09:47.265Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T16:09:47.265Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T16:09:48.969Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-09T16:09:48.982Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-09T16:09:48.993Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T16:09:49.003Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T16:09:49.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T16:09:49.022Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T16:09:49.032Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T16:09:49.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-09T16:09:49.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T16:09:49.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T16:09:49.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T16:09:49.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-09T16:09:49.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T16:09:49.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T16:09:49.121Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T16:09:49.135Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T16:09:49.149Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T16:09:49.157Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T16:09:49.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T16:09:49.173Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-09T16:09:49.180Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-09T16:09:49.186Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-09T16:09:49.193Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T16:09:49.200Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T16:09:49.207Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-09T16:09:49.214Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T16:09:49.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-09T16:09:49.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-09T16:09:49.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-09T16:09:49.242Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [Pipeline] echo [2021-11-09T16:09:49.249Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b65f569 [Pipeline] echo [2021-11-09T16:09:49.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T16:09:49.303Z] provisioning config files... [2021-11-09T16:09:49.315Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6510890130710056453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:09:49.618Z] ---> docker-login.sh [2021-11-09T16:09:49.618Z] nexus3.edgexfoundry.org:10001 [2021-11-09T16:09:49.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:09:49.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:09:49.878Z] Configure a credential helper to remove this warning. See [2021-11-09T16:09:49.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:09:49.878Z] [2021-11-09T16:09:49.878Z] Login Succeeded [2021-11-09T16:09:49.878Z] nexus3.edgexfoundry.org:10002 [2021-11-09T16:09:49.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:09:49.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:09:49.878Z] Configure a credential helper to remove this warning. See [2021-11-09T16:09:49.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:09:49.878Z] [2021-11-09T16:09:49.878Z] Login Succeeded [2021-11-09T16:09:49.878Z] nexus3.edgexfoundry.org:10003 [2021-11-09T16:09:49.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:09:50.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:09:50.144Z] Configure a credential helper to remove this warning. See [2021-11-09T16:09:50.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:09:50.144Z] [2021-11-09T16:09:50.144Z] Login Succeeded [2021-11-09T16:09:50.144Z] nexus3.edgexfoundry.org:10004 [2021-11-09T16:09:50.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:09:50.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:09:50.144Z] Configure a credential helper to remove this warning. See [2021-11-09T16:09:50.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:09:50.144Z] [2021-11-09T16:09:50.144Z] Login Succeeded [2021-11-09T16:09:50.144Z] docker.io [2021-11-09T16:09:50.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:09:50.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:09:50.722Z] Configure a credential helper to remove this warning. See [2021-11-09T16:09:50.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:09:50.722Z] [2021-11-09T16:09:50.722Z] Login Succeeded [2021-11-09T16:09:50.722Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T16:09:50.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T16:09:51.279Z] + git rev-list -1 --merges b65f5695dadca3fd7b85e6de0c13b69f00bad0e6~1..b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [Pipeline] echo [2021-11-09T16:09:51.318Z] -----------> git rev-list -1 --merges b65f5695dadca3fd7b85e6de0c13b69f00bad0e6~1..b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [2021-11-09T16:09:51.318Z] b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [false] [Pipeline] sh [2021-11-09T16:09:51.620Z] + git log --format=format:%s -1 b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [Pipeline] echo [2021-11-09T16:09:51.638Z] ========================================================= [2021-11-09T16:09:51.638Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T16:09:51.638Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T16:09:51.991Z] + git log --format=format:%s -1 b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [Pipeline] echo [2021-11-09T16:09:52.005Z] [semverPrep] GIT_COMMIT: b65f5695dadca3fd7b85e6de0c13b69f00bad0e6, Commit Message: Merge pull request #1055 from weichou1229/issue-1053 [Pipeline] echo [2021-11-09T16:09:52.014Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:09:52.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T16:09:52.619Z] [2021-11-09T16:09:52.619Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:09:52.936Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T16:09:52.936Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T16:09:52.936Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T16:09:52.936Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T16:09:52.936Z] 4c7163046ea9: Pulling fs layer [2021-11-09T16:09:52.936Z] 0c2d73faf560: Pulling fs layer [2021-11-09T16:09:52.936Z] 0c2d73faf560: Waiting [2021-11-09T16:09:52.936Z] 3e5f54012d9b: Verifying Checksum [2021-11-09T16:09:52.936Z] 3e5f54012d9b: Download complete [2021-11-09T16:09:52.936Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T16:09:52.936Z] a0d0a0d46f8b: Download complete [2021-11-09T16:09:52.936Z] 4c7163046ea9: Verifying Checksum [2021-11-09T16:09:52.936Z] 4c7163046ea9: Download complete [2021-11-09T16:09:52.936Z] 0c2d73faf560: Verifying Checksum [2021-11-09T16:09:52.936Z] 0c2d73faf560: Download complete [2021-11-09T16:09:53.197Z] a0d0a0d46f8b: Pull complete [2021-11-09T16:09:53.197Z] 3e5f54012d9b: Pull complete [2021-11-09T16:09:53.463Z] 4c7163046ea9: Pull complete [2021-11-09T16:09:53.726Z] 0c2d73faf560: Pull complete [2021-11-09T16:09:53.726Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T16:09:53.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T16:09:53.726Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T16:09:53.802Z] prd-centos7-docker-4c-2g-28108 does not seem to be running inside a container [2021-11-09T16:09:53.850Z] $ 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-09T16:09:54.375Z] $ docker top 58df9b40f658c0bf0222f18e686f6bbaf640022ab7295c4f13d2bfbb3df1adf8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T16:09:54.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T16:09:54.475Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T16:09:54.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T16:09:54.599Z] $ docker exec 58df9b40f658c0bf0222f18e686f6bbaf640022ab7295c4f13d2bfbb3df1adf8 ssh-agent [2021-11-09T16:09:54.725Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJaAajl/agent.14 [2021-11-09T16:09:54.725Z] SSH_AGENT_PID=20 [2021-11-09T16:09:54.745Z] Running ssh-add (command line suppressed) [2021-11-09T16:09:54.866Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1736812565464305973.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1736812565464305973.key) [2021-11-09T16:09:54.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T16:09:55.183Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T16:09:55.193Z] $ docker exec --env ******** --env ******** 58df9b40f658c0bf0222f18e686f6bbaf640022ab7295c4f13d2bfbb3df1adf8 ssh-agent -k [2021-11-09T16:09:55.281Z] unset SSH_AUTH_SOCK; [2021-11-09T16:09:55.281Z] unset SSH_AGENT_PID; [2021-11-09T16:09:55.281Z] echo Agent pid 20 killed; [2021-11-09T16:09:55.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T16:09:55.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T16:09:55.319Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T16:09:55.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T16:09:55.423Z] $ docker exec 58df9b40f658c0bf0222f18e686f6bbaf640022ab7295c4f13d2bfbb3df1adf8 ssh-agent [2021-11-09T16:09:55.526Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcLoeJL/agent.51 [2021-11-09T16:09:55.526Z] SSH_AGENT_PID=57 [2021-11-09T16:09:55.531Z] Running ssh-add (command line suppressed) [2021-11-09T16:09:55.623Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7010072655793525147.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7010072655793525147.key) [2021-11-09T16:09:55.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T16:09:55.935Z] + git semver init [2021-11-09T16:09:55.935Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T16:09:55.935Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-09T16:09:55.935Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-09T16:09:55.935Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T16:09:55.935Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T16:09:55.935Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T16:09:55.935Z] # $SEMVER_BRANCH = main [2021-11-09T16:09:55.935Z] # $SEMVER_TEMP = /tmp/semver-551693398 [2021-11-09T16:09:55.935Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-09T16:09:56.886Z] # '/tmp/semver-551693398' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-11-09T16:09:56.886Z] # -> Force: false [2021-11-09T16:09:56.886Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-09T16:09:56.894Z] $ docker exec --env ******** --env ******** 58df9b40f658c0bf0222f18e686f6bbaf640022ab7295c4f13d2bfbb3df1adf8 ssh-agent -k [2021-11-09T16:09:56.991Z] unset SSH_AUTH_SOCK; [2021-11-09T16:09:56.991Z] unset SSH_AGENT_PID; [2021-11-09T16:09:56.991Z] echo Agent pid 57 killed; [2021-11-09T16:09:57.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T16:09:57.312Z] + git semver [Pipeline] } [2021-11-09T16:09:57.323Z] $ docker stop --time=1 58df9b40f658c0bf0222f18e686f6bbaf640022ab7295c4f13d2bfbb3df1adf8 [2021-11-09T16:09:58.534Z] $ docker rm -f 58df9b40f658c0bf0222f18e686f6bbaf640022ab7295c4f13d2bfbb3df1adf8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T16:09:58.879Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T16:09:59.093Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T16:09:59.096Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.30 [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-09T16:10:14.282Z] Still waiting to schedule task [2021-11-09T16:10:14.282Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28108’ [2021-11-09T16:10:14.283Z] Still waiting to schedule task [2021-11-09T16:10:14.284Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-09T16:11:45.393Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28109 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-09T16:11:45.404Z] Running in /w/workspace/device-sdk-go/29 [Pipeline] { [Pipeline] checkout [2021-11-09T16:11:45.582Z] Selected Git installation does not exist. Using Default [2021-11-09T16:11:45.583Z] The recommended git tool is: NONE [2021-11-09T16:11:52.820Z] using credential edgex-jenkins-ssh [2021-11-09T16:11:52.838Z] Cloning the remote Git repository [2021-11-09T16:11:52.894Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T16:11:52.983Z] > git init /w/workspace/device-sdk-go/29 # timeout=10 [2021-11-09T16:11:53.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T16:11:53.053Z] > git --version # timeout=10 [2021-11-09T16:11:53.078Z] > git --version # 'git version 2.17.1' [2021-11-09T16:11:53.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T16:11:53.136Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T16:11:55.165Z] Avoid second fetch [2021-11-09T16:11:55.165Z] Checking out Revision b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 (main) [2021-11-09T16:11:55.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T16:11:55.147Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T16:11:55.190Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T16:11:55.205Z] > git checkout -f b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [2021-11-09T16:11:59.376Z] Commit message: "Merge pull request #1055 from weichou1229/issue-1053" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T16:12:00.410Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T16:12:00.410Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T16:12:00.410Z] Dload Upload Total Spent Left Speed [2021-11-09T16:12:00.410Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 60635 0 --:--:-- --:--:-- --:--:-- 60635 [Pipeline] sh [2021-11-09T16:12:00.823Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-09T16:12:01.162Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2021-11-09T16:12:01.162Z] sudo tee /etc/docker/daemon.new [2021-11-09T16:12:01.162Z] { [2021-11-09T16:12:01.162Z] "registry-mirrors": [ [2021-11-09T16:12:01.162Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T16:12:01.162Z] ], [2021-11-09T16:12:01.162Z] "bip": "10.250.0.254/24", [2021-11-09T16:12:01.162Z] "hosts": [ [2021-11-09T16:12:01.162Z] "tcp://0.0.0.0:5555", [2021-11-09T16:12:01.162Z] "unix:///var/run/docker.sock" [2021-11-09T16:12:01.162Z] ], [2021-11-09T16:12:01.162Z] "mtu": 1458, [2021-11-09T16:12:01.162Z] "selinux-enabled": true, [2021-11-09T16:12:01.162Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T16:12:01.162Z] } [Pipeline] sh [2021-11-09T16:12:01.519Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-09T16:12:01.856Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T16:12:20.187Z] provisioning config files... [2021-11-09T16:12:20.210Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/29@tmp/config3867702679766158051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:12:20.609Z] ---> docker-login.sh [2021-11-09T16:12:20.610Z] nexus3.edgexfoundry.org:10001 [2021-11-09T16:12:21.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:21.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:21.475Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:21.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:21.475Z] [2021-11-09T16:12:21.475Z] Login Succeeded [2021-11-09T16:12:21.475Z] nexus3.edgexfoundry.org:10002 [2021-11-09T16:12:21.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:22.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:22.018Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:22.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:22.018Z] [2021-11-09T16:12:22.018Z] Login Succeeded [2021-11-09T16:12:22.018Z] nexus3.edgexfoundry.org:10003 [2021-11-09T16:12:22.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:22.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:22.570Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:22.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:22.570Z] [2021-11-09T16:12:22.570Z] Login Succeeded [2021-11-09T16:12:22.570Z] nexus3.edgexfoundry.org:10004 [2021-11-09T16:12:22.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:22.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:22.841Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:22.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:22.841Z] [2021-11-09T16:12:22.841Z] Login Succeeded [2021-11-09T16:12:22.841Z] docker.io [2021-11-09T16:12:23.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:23.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:23.707Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:23.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:23.707Z] [2021-11-09T16:12:23.707Z] Login Succeeded [2021-11-09T16:12:23.707Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T16:12:23.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T16:12:23.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T16:12:23.972Z] ========================================================= [2021-11-09T16:12:23.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T16:12:23.972Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:12:24.299Z] + 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-09T16:12:24.570Z] Sending build context to Docker daemon 2.745MB [2021-11-09T16:12:24.570Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T16:12:24.570Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T16:12:24.842Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T16:12:24.842Z] 552d1f2373af: Pulling fs layer [2021-11-09T16:12:24.842Z] ea3f2d53f512: Pulling fs layer [2021-11-09T16:12:24.842Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T16:12:24.842Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T16:12:24.842Z] 72dc09318566: Pulling fs layer [2021-11-09T16:12:24.842Z] f4f7b4309257: Pulling fs layer [2021-11-09T16:12:24.842Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T16:12:24.842Z] b78e95d17946: Pulling fs layer [2021-11-09T16:12:24.842Z] 7a9cfe048b4a: Waiting [2021-11-09T16:12:24.842Z] 72dc09318566: Waiting [2021-11-09T16:12:24.842Z] f4f7b4309257: Waiting [2021-11-09T16:12:24.842Z] 0ac9a79272e3: Waiting [2021-11-09T16:12:24.842Z] b78e95d17946: Waiting [2021-11-09T16:12:24.842Z] 9e70ebbbe112: Verifying Checksum [2021-11-09T16:12:24.842Z] 9e70ebbbe112: Download complete [2021-11-09T16:12:24.842Z] ea3f2d53f512: Verifying Checksum [2021-11-09T16:12:24.842Z] ea3f2d53f512: Download complete [2021-11-09T16:12:24.842Z] 72dc09318566: Verifying Checksum [2021-11-09T16:12:24.842Z] 72dc09318566: Download complete [2021-11-09T16:12:24.842Z] f4f7b4309257: Verifying Checksum [2021-11-09T16:12:24.842Z] f4f7b4309257: Download complete [2021-11-09T16:12:24.842Z] 552d1f2373af: Download complete [2021-11-09T16:12:24.842Z] 0ac9a79272e3: Verifying Checksum [2021-11-09T16:12:24.842Z] 0ac9a79272e3: Download complete [2021-11-09T16:12:25.823Z] 552d1f2373af: Pull complete [2021-11-09T16:12:26.069Z] Running on prd-centos7-docker-4c-2g-28110 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-09T16:12:26.080Z] Running in /w/workspace/device-sdk-go/29 [Pipeline] { [Pipeline] checkout [2021-11-09T16:12:26.151Z] Selected Git installation does not exist. Using Default [2021-11-09T16:12:26.151Z] The recommended git tool is: NONE [2021-11-09T16:12:26.428Z] ea3f2d53f512: Pull complete [2021-11-09T16:12:27.507Z] 9e70ebbbe112: Pull complete [2021-11-09T16:12:27.507Z] b78e95d17946: Verifying Checksum [2021-11-09T16:12:27.507Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T16:12:27.507Z] 7a9cfe048b4a: Download complete [2021-11-09T16:12:29.084Z] using credential edgex-jenkins-ssh [2021-11-09T16:12:29.097Z] Cloning the remote Git repository [2021-11-09T16:12:28.699Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T16:12:28.762Z] > git init /w/workspace/device-sdk-go/29 # timeout=10 [2021-11-09T16:12:28.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T16:12:28.797Z] > git --version # timeout=10 [2021-11-09T16:12:28.811Z] > git --version # 'git version 2.24.4' [2021-11-09T16:12:28.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T16:12:28.840Z] [INFO] Currently running in a labeled security context [2021-11-09T16:12:28.840Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T16:12:28.841Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/29@tmp/jenkins-gitclient-ssh3866546138487580461.key [2021-11-09T16:12:28.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T16:12:30.416Z] Avoid second fetch [2021-11-09T16:12:30.417Z] Checking out Revision b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 (main) [2021-11-09T16:12:29.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T16:12:29.962Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T16:12:30.020Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T16:12:30.029Z] > git checkout -f b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [2021-11-09T16:12:34.061Z] Commit message: "Merge pull request #1055 from weichou1229/issue-1053" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T16:12:34.411Z] provisioning config files... [2021-11-09T16:12:34.427Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/29@tmp/config4494457575997763494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:12:34.813Z] ---> docker-login.sh [2021-11-09T16:12:34.813Z] nexus3.edgexfoundry.org:10001 [2021-11-09T16:12:34.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:35.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:35.076Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:35.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:35.076Z] [2021-11-09T16:12:35.076Z] Login Succeeded [2021-11-09T16:12:35.076Z] nexus3.edgexfoundry.org:10002 [2021-11-09T16:12:35.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:35.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:35.076Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:35.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:35.076Z] [2021-11-09T16:12:35.076Z] Login Succeeded [2021-11-09T16:12:35.076Z] nexus3.edgexfoundry.org:10003 [2021-11-09T16:12:35.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:35.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:35.337Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:35.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:35.337Z] [2021-11-09T16:12:35.337Z] Login Succeeded [2021-11-09T16:12:35.337Z] nexus3.edgexfoundry.org:10004 [2021-11-09T16:12:35.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:35.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:35.337Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:35.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:35.337Z] [2021-11-09T16:12:35.337Z] Login Succeeded [2021-11-09T16:12:35.337Z] docker.io [2021-11-09T16:12:35.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T16:12:35.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T16:12:35.860Z] Configure a credential helper to remove this warning. See [2021-11-09T16:12:35.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T16:12:35.860Z] [2021-11-09T16:12:35.860Z] Login Succeeded [2021-11-09T16:12:35.860Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T16:12:35.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T16:12:36.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T16:12:36.040Z] ========================================================= [2021-11-09T16:12:36.040Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T16:12:36.040Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:12:36.352Z] + 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-09T16:12:36.352Z] Sending build context to Docker daemon 2.746MB [2021-11-09T16:12:36.352Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T16:12:36.352Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T16:12:36.352Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T16:12:36.352Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T16:12:36.352Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T16:12:36.352Z] b8b176561691: Pulling fs layer [2021-11-09T16:12:36.352Z] 4527c011a84f: Pulling fs layer [2021-11-09T16:12:36.353Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T16:12:36.353Z] e0aca202a116: Pulling fs layer [2021-11-09T16:12:36.353Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T16:12:36.353Z] 34cad66bf833: Pulling fs layer [2021-11-09T16:12:36.353Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T16:12:36.353Z] 4527c011a84f: Waiting [2021-11-09T16:12:36.353Z] 5d74067f8e1e: Waiting [2021-11-09T16:12:36.353Z] e0aca202a116: Waiting [2021-11-09T16:12:36.353Z] 3a43be97a3b4: Waiting [2021-11-09T16:12:36.353Z] 34cad66bf833: Waiting [2021-11-09T16:12:36.353Z] b4e3c513aaa6: Waiting [2021-11-09T16:12:36.353Z] b8b176561691: Verifying Checksum [2021-11-09T16:12:36.353Z] b8b176561691: Download complete [2021-11-09T16:12:36.622Z] 31adcdaf11c8: Verifying Checksum [2021-11-09T16:12:36.622Z] 31adcdaf11c8: Download complete [2021-11-09T16:12:36.622Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T16:12:36.622Z] 5d74067f8e1e: Download complete [2021-11-09T16:12:36.622Z] e0aca202a116: Verifying Checksum [2021-11-09T16:12:36.622Z] e0aca202a116: Download complete [2021-11-09T16:12:36.622Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T16:12:36.622Z] a0d0a0d46f8b: Download complete [2021-11-09T16:12:36.622Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T16:12:36.622Z] 3a43be97a3b4: Download complete [2021-11-09T16:12:36.622Z] 34cad66bf833: Verifying Checksum [2021-11-09T16:12:36.622Z] 34cad66bf833: Download complete [2021-11-09T16:12:36.887Z] a0d0a0d46f8b: Pull complete [2021-11-09T16:12:37.154Z] 4527c011a84f: Verifying Checksum [2021-11-09T16:12:37.154Z] 4527c011a84f: Download complete [2021-11-09T16:12:37.154Z] 31adcdaf11c8: Pull complete [2021-11-09T16:12:37.154Z] b8b176561691: Pull complete [2021-11-09T16:12:37.421Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T16:12:37.421Z] b4e3c513aaa6: Download complete [2021-11-09T16:12:37.673Z] 7a9cfe048b4a: Pull complete [2021-11-09T16:12:37.947Z] 72dc09318566: Pull complete [2021-11-09T16:12:38.219Z] f4f7b4309257: Pull complete [2021-11-09T16:12:38.494Z] 0ac9a79272e3: Pull complete [2021-11-09T16:12:40.756Z] 4527c011a84f: Pull complete [2021-11-09T16:12:40.756Z] 5d74067f8e1e: Pull complete [2021-11-09T16:12:41.017Z] e0aca202a116: Pull complete [2021-11-09T16:12:41.017Z] 3a43be97a3b4: Pull complete [2021-11-09T16:12:41.017Z] 34cad66bf833: Pull complete [2021-11-09T16:12:43.586Z] b4e3c513aaa6: Pull complete [2021-11-09T16:12:43.586Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T16:12:43.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T16:12:43.586Z] ---> 9f6097aaca64 [2021-11-09T16:12:43.586Z] Step 3/10 : ARG MAKE=make build [2021-11-09T16:12:45.209Z] b78e95d17946: Pull complete [2021-11-09T16:12:45.209Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T16:12:45.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T16:12:45.209Z] ---> 8b459fc5aaf0 [2021-11-09T16:12:45.209Z] Step 3/10 : ARG MAKE=make build [2021-11-09T16:12:45.811Z] ---> Running in 50f785993aed [2021-11-09T16:12:46.436Z] Removing intermediate container 50f785993aed [2021-11-09T16:12:46.436Z] ---> 72a520c44216 [2021-11-09T16:12:46.436Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T16:12:46.436Z] ---> Running in 0694759d1f19 [2021-11-09T16:12:47.030Z] Removing intermediate container 0694759d1f19 [2021-11-09T16:12:47.030Z] ---> d8c34d88e2c9 [2021-11-09T16:12:47.030Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T16:12:47.030Z] ---> Running in ac8c481a6e92 [2021-11-09T16:12:47.626Z] Removing intermediate container ac8c481a6e92 [2021-11-09T16:12:47.626Z] ---> 5def093aa3af [2021-11-09T16:12:47.626Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T16:12:47.626Z] ---> Running in 56fa920160a5 [2021-11-09T16:12:47.804Z] ---> Running in acc1945904d9 [2021-11-09T16:12:47.804Z] Removing intermediate container acc1945904d9 [2021-11-09T16:12:47.804Z] ---> 55344922b854 [2021-11-09T16:12:47.804Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T16:12:47.804Z] ---> Running in c36895941549 [2021-11-09T16:12:47.804Z] Removing intermediate container c36895941549 [2021-11-09T16:12:47.804Z] ---> 90c6bf9ebc7c [2021-11-09T16:12:47.804Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T16:12:47.804Z] ---> Running in f932683dbb10 [2021-11-09T16:12:47.804Z] Removing intermediate container f932683dbb10 [2021-11-09T16:12:47.804Z] ---> 84fa7e755329 [2021-11-09T16:12:47.804Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T16:12:47.804Z] ---> Running in d0623f98affa [2021-11-09T16:12:48.067Z] Removing intermediate container d0623f98affa [2021-11-09T16:12:48.067Z] ---> 73a2aa084947 [2021-11-09T16:12:48.067Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T16:12:48.337Z] ---> Running in 81b729a64461 [2021-11-09T16:12:48.599Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T16:12:49.541Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T16:12:49.597Z] Removing intermediate container 56fa920160a5 [2021-11-09T16:12:49.597Z] ---> bf8db1063926 [2021-11-09T16:12:49.597Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T16:12:49.597Z] ---> Running in ead39e6ab8a8 [2021-11-09T16:12:49.802Z] OK: 220 MiB in 52 packages [2021-11-09T16:12:50.063Z] Removing intermediate container 81b729a64461 [2021-11-09T16:12:50.063Z] ---> 624df1d1a59b [2021-11-09T16:12:50.063Z] Step 8/10 : COPY . . [2021-11-09T16:12:50.327Z] ---> a87301007179 [2021-11-09T16:12:50.327Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T16:12:50.327Z] ---> Running in 4c2309323477 [2021-11-09T16:12:50.575Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T16:12:51.553Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T16:12:52.536Z] OK: 219 MiB in 52 packages [2021-11-09T16:12:53.133Z] Removing intermediate container ead39e6ab8a8 [2021-11-09T16:12:53.133Z] ---> 3116fcb1e624 [2021-11-09T16:12:53.133Z] Step 8/10 : COPY . . [2021-11-09T16:12:54.571Z] ---> 76e53a51728f [2021-11-09T16:12:54.571Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T16:12:54.571Z] ---> Running in 68c811498aa1 [2021-11-09T16:13:22.486Z] Removing intermediate container 4c2309323477 [2021-11-09T16:13:22.486Z] ---> ddc65f9e26cb [2021-11-09T16:13:22.486Z] Step 10/10 : RUN ${MAKE} [2021-11-09T16:13:22.486Z] ---> Running in 4bf54d3b199e [2021-11-09T16:13:22.747Z] noop [2021-11-09T16:13:23.010Z] Removing intermediate container 4bf54d3b199e [2021-11-09T16:13:23.010Z] ---> 7da6fbc32dae [2021-11-09T16:13:23.010Z] Successfully built 7da6fbc32dae [2021-11-09T16:13:23.010Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:13:23.316Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T16:13:23.316Z] . [Pipeline] withDockerContainer [2021-11-09T16:13:23.390Z] prd-centos7-docker-4c-2g-28110 does not seem to be running inside a container [2021-11-09T16:13:23.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T16:13:23.797Z] $ docker top 097fbef60334cc019d12cf6efd72ac394eff30379d10dbc9363c754187e78cfe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T16:13:24.171Z] + go version [2021-11-09T16:13:24.171Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T16:13:24.189Z] $ docker stop --time=1 097fbef60334cc019d12cf6efd72ac394eff30379d10dbc9363c754187e78cfe [2021-11-09T16:13:25.389Z] $ docker rm -f 097fbef60334cc019d12cf6efd72ac394eff30379d10dbc9363c754187e78cfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:13:25.912Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T16:13:25.912Z] . [Pipeline] withDockerContainer [2021-11-09T16:13:25.984Z] prd-centos7-docker-4c-2g-28110 does not seem to be running inside a container [2021-11-09T16:13:26.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T16:13:26.441Z] $ docker top 731ae0ac7dc3e54136dbeb6029a7a494e86940700728709e995a095481d6ee50 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T16:13:26.819Z] + make test [2021-11-09T16:13:26.819Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T16:13:33.447Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T16:13:55.528Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T16:13:55.528Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T16:13:55.528Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T16:13:57.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.3% of statements [2021-11-09T16:13:57.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T16:13:57.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 27.6% of statements [2021-11-09T16:13:57.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-11-09T16:13:57.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 9.0% of statements [2021-11-09T16:13:57.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T16:13:57.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T16:13:57.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T16:13:58.950Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 28.7% of statements [2021-11-09T16:13:58.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T16:13:59.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 83.3% of statements [2021-11-09T16:13:59.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T16:13:59.902Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T16:13:59.902Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 57.8% of statements [2021-11-09T16:14:01.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.841s coverage: 89.2% of statements [2021-11-09T16:14:01.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T16:14:01.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.8% of statements [2021-11-09T16:14:01.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T16:14:01.353Z] GO111MODULE=on go vet ./... [2021-11-09T16:14:16.411Z] Removing intermediate container 68c811498aa1 [2021-11-09T16:14:16.411Z] ---> d550be03fd83 [2021-11-09T16:14:16.411Z] Step 10/10 : RUN ${MAKE} [2021-11-09T16:14:16.411Z] ---> Running in 8c6a86319d06 [2021-11-09T16:14:16.411Z] noop [2021-11-09T16:14:16.411Z] Removing intermediate container 8c6a86319d06 [2021-11-09T16:14:16.411Z] ---> 9b24491b11d2 [2021-11-09T16:14:16.411Z] Successfully built 9b24491b11d2 [2021-11-09T16:14:16.411Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:14:16.753Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T16:14:16.753Z] . [Pipeline] withDockerContainer [2021-11-09T16:14:17.019Z] prd-ubuntu18.04-docker-arm64-4c-16g-28109 does not seem to be running inside a container [2021-11-09T16:14:17.093Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@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-09T16:14:18.507Z] $ docker top 5016271adc1134e1aff936a9b5a9996fa6cd0d79c318da43777688ea149e1206 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T16:14:19.463Z] + go version [2021-11-09T16:14:19.463Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-09T16:14:19.484Z] $ docker stop --time=1 5016271adc1134e1aff936a9b5a9996fa6cd0d79c318da43777688ea149e1206 [2021-11-09T16:14:20.457Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T16:14:20.457Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T16:14:20.457Z] ./bin/test-attribution-txt.sh [2021-11-09T16:14:21.143Z] $ docker rm -f 5016271adc1134e1aff936a9b5a9996fa6cd0d79c318da43777688ea149e1206 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-11-09T16:14:21.401Z] $ docker stop --time=1 731ae0ac7dc3e54136dbeb6029a7a494e86940700728709e995a095481d6ee50 [2021-11-09T16:14:23.493Z] $ docker rm -f 731ae0ac7dc3e54136dbeb6029a7a494e86940700728709e995a095481d6ee50 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:14:23.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T16:14:24.143Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T16:14:24.143Z] . [Pipeline] withDockerContainer [2021-11-09T16:14:24.166Z] Stashed 1 file(s) [2021-11-09T16:14:24.402Z] prd-ubuntu18.04-docker-arm64-4c-16g-28109 does not seem to be running inside a container [2021-11-09T16:14:24.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@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-09T16:14:25.896Z] $ docker top 7d6e565ee4f3f960433be4f0bda27c8d58bd9d7a8d76f47c11eb1187ef69768f -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] fileExists [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [2021-11-09T16:14:26.969Z] + make test [2021-11-09T16:14:26.969Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] sh [2021-11-09T16:14:28.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T16:14:28.645Z] + ls -al . [2021-11-09T16:14:28.645Z] total 264 [2021-11-09T16:14:28.645Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 16:14 . [2021-11-09T16:14:28.645Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 9 16:12 .. [2021-11-09T16:14:28.645Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 16:12 bin [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 16:12 CHANGELOG.md [2021-11-09T16:14:28.645Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 9 16:14 coverage.out [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 16:12 .dockerignore [2021-11-09T16:14:28.645Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 16:12 example [2021-11-09T16:14:28.645Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 9 16:12 .git [2021-11-09T16:14:28.645Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 16:12 .github [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 16:12 .gitignore [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 16:12 go.mod [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 9 16:12 go.sum [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 16:12 GOVERNANCE.md [2021-11-09T16:14:28.645Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 16:12 internal [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 16:12 Jenkinsfile [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 16:12 LICENSE [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 16:12 Makefile [2021-11-09T16:14:28.645Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 16:12 openapi [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 16:12 OWNERS.md [2021-11-09T16:14:28.645Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 16:12 pkg [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 16:12 README.md [2021-11-09T16:14:28.645Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 16:12 snap [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 9 16:09 VERSION [2021-11-09T16:14:28.645Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 16:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:14:28.946Z] + 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=b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 --label arch=amd64 --label version=2.0.1-dev.30 . [2021-11-09T16:14:28.946Z] Sending build context to Docker daemon 2.875MB [2021-11-09T16:14:28.946Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T16:14:28.946Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T16:14:28.946Z] ---> 7da6fbc32dae [2021-11-09T16:14:28.946Z] Step 3/24 : ARG MAKE=make build [2021-11-09T16:14:28.946Z] ---> Running in f0a7a6115032 [2021-11-09T16:14:29.210Z] Removing intermediate container f0a7a6115032 [2021-11-09T16:14:29.210Z] ---> 589db3745306 [2021-11-09T16:14:29.210Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T16:14:29.210Z] ---> Running in 1abe50587f27 [2021-11-09T16:14:29.210Z] Removing intermediate container 1abe50587f27 [2021-11-09T16:14:29.210Z] ---> be865701995f [2021-11-09T16:14:29.210Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T16:14:29.210Z] ---> Running in a17754469da0 [2021-11-09T16:14:29.210Z] Removing intermediate container a17754469da0 [2021-11-09T16:14:29.210Z] ---> 4c8543621dde [2021-11-09T16:14:29.210Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T16:14:29.471Z] ---> Running in 384c7e6f22d4 [2021-11-09T16:14:29.732Z] Removing intermediate container 384c7e6f22d4 [2021-11-09T16:14:29.732Z] ---> f607bfc44fbb [2021-11-09T16:14:29.732Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T16:14:29.732Z] ---> Running in 78ff2cae5038 [2021-11-09T16:14:29.995Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T16:14:30.936Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T16:14:31.197Z] OK: 220 MiB in 52 packages [2021-11-09T16:14:31.461Z] Removing intermediate container 78ff2cae5038 [2021-11-09T16:14:31.461Z] ---> 4cdcdf52af3b [2021-11-09T16:14:31.461Z] Step 8/24 : COPY . . [2021-11-09T16:14:31.721Z] ---> fb6cb2d86198 [2021-11-09T16:14:31.721Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T16:14:31.721Z] ---> Running in a49676b5cedc [2021-11-09T16:14:32.295Z] Removing intermediate container a49676b5cedc [2021-11-09T16:14:32.295Z] ---> 8e31032fbc73 [2021-11-09T16:14:32.295Z] Step 10/24 : RUN ${MAKE} [2021-11-09T16:14:32.295Z] ---> Running in 51c1c50d53cd [2021-11-09T16:14:32.563Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.30" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-09T16:14:44.855Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T16:14:44.855Z] Removing intermediate container 51c1c50d53cd [2021-11-09T16:14:44.855Z] ---> 185d066e1ac6 [2021-11-09T16:14:44.855Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T16:14:48.160Z] 3.14: Pulling from library/alpine [2021-11-09T16:14:48.160Z] a0d0a0d46f8b: Already exists [2021-11-09T16:14:48.420Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T16:14:48.420Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T16:14:48.420Z] ---> 14119a10abf4 [2021-11-09T16:14:48.420Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T16:14:48.420Z] ---> Running in ac6e543b6208 [2021-11-09T16:14:48.420Z] Removing intermediate container ac6e543b6208 [2021-11-09T16:14:48.420Z] ---> c80504f63471 [2021-11-09T16:14:48.420Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T16:14:48.420Z] ---> Running in 1b168f23bc45 [2021-11-09T16:14:48.990Z] Removing intermediate container 1b168f23bc45 [2021-11-09T16:14:48.990Z] ---> 096227bca187 [2021-11-09T16:14:48.990Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T16:14:48.990Z] ---> Running in ce61a926a691 [2021-11-09T16:14:48.990Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T16:14:49.746Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T16:14:49.932Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T16:14:50.197Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T16:14:50.197Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T16:14:50.458Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T16:14:50.458Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T16:14:50.724Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T16:14:50.724Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T16:14:50.724Z] OK: 8 MiB in 19 packages [2021-11-09T16:14:50.999Z] Removing intermediate container ce61a926a691 [2021-11-09T16:14:50.999Z] ---> d7296f805fed [2021-11-09T16:14:50.999Z] Step 15/24 : WORKDIR / [2021-11-09T16:14:50.999Z] ---> Running in f92a0783f3a1 [2021-11-09T16:14:50.999Z] Removing intermediate container f92a0783f3a1 [2021-11-09T16:14:50.999Z] ---> 223869143860 [2021-11-09T16:14:50.999Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T16:14:51.265Z] ---> 289c2e11d3f2 [2021-11-09T16:14:51.265Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T16:14:51.526Z] ---> 002d57d4a593 [2021-11-09T16:14:51.526Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T16:14:51.792Z] ---> 214e9553eeaf [2021-11-09T16:14:51.792Z] Step 19/24 : EXPOSE 59999 [2021-11-09T16:14:51.792Z] ---> Running in 96b3e3b6bcad [2021-11-09T16:14:51.792Z] Removing intermediate container 96b3e3b6bcad [2021-11-09T16:14:51.792Z] ---> d6e525e2f3d1 [2021-11-09T16:14:51.792Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T16:14:51.792Z] ---> Running in a35dd5bfec6a [2021-11-09T16:14:52.051Z] Removing intermediate container a35dd5bfec6a [2021-11-09T16:14:52.051Z] ---> 57a7cc630302 [2021-11-09T16:14:52.051Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T16:14:52.051Z] ---> Running in 3e1092b19528 [2021-11-09T16:14:52.051Z] Removing intermediate container 3e1092b19528 [2021-11-09T16:14:52.051Z] ---> 4040cd928f9b [2021-11-09T16:14:52.051Z] Step 22/24 : LABEL arch=amd64 [2021-11-09T16:14:52.051Z] ---> Running in 354cc6b66303 [2021-11-09T16:14:52.311Z] Removing intermediate container 354cc6b66303 [2021-11-09T16:14:52.311Z] ---> 89be4047060b [2021-11-09T16:14:52.311Z] Step 23/24 : LABEL git_sha=b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [2021-11-09T16:14:52.311Z] ---> Running in aa42bf8a8d4e [2021-11-09T16:14:52.311Z] Removing intermediate container aa42bf8a8d4e [2021-11-09T16:14:52.311Z] ---> 163c95a12358 [2021-11-09T16:14:52.311Z] Step 24/24 : LABEL version=2.0.1-dev.30 [2021-11-09T16:14:52.311Z] ---> Running in e41dbe2875b3 [2021-11-09T16:14:52.311Z] Removing intermediate container e41dbe2875b3 [2021-11-09T16:14:52.311Z] ---> 9077bbcb6cd0 [2021-11-09T16:14:52.311Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T16:14:52.311Z] Successfully built 9077bbcb6cd0 [2021-11-09T16:14:52.311Z] 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-09T16:14:52.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T16:14:52.927Z] [2021-11-09T16:14:52.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:14:53.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T16:14:53.229Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T16:14:53.229Z] b4d181a07f80: Pulling fs layer [2021-11-09T16:14:53.229Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T16:14:53.229Z] ed53099fbce6: Pulling fs layer [2021-11-09T16:14:53.229Z] dc539afda2c1: Pulling fs layer [2021-11-09T16:14:53.229Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T16:14:53.229Z] 9065ff56babe: Pulling fs layer [2021-11-09T16:14:53.229Z] d287ab97295c: Pulling fs layer [2021-11-09T16:14:53.229Z] 77bc0d833cb6: Waiting [2021-11-09T16:14:53.229Z] 9065ff56babe: Waiting [2021-11-09T16:14:53.229Z] d287ab97295c: Waiting [2021-11-09T16:14:53.229Z] dc539afda2c1: Waiting [2021-11-09T16:14:53.229Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T16:14:53.229Z] a1111a8f2ec3: Download complete [2021-11-09T16:14:53.229Z] dc539afda2c1: Verifying Checksum [2021-11-09T16:14:53.229Z] dc539afda2c1: Download complete [2021-11-09T16:14:53.493Z] ed53099fbce6: Verifying Checksum [2021-11-09T16:14:53.493Z] ed53099fbce6: Download complete [2021-11-09T16:14:53.493Z] 9065ff56babe: Verifying Checksum [2021-11-09T16:14:53.493Z] 9065ff56babe: Download complete [2021-11-09T16:14:53.493Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T16:14:53.493Z] 77bc0d833cb6: Download complete [2021-11-09T16:14:53.493Z] b4d181a07f80: Verifying Checksum [2021-11-09T16:14:53.493Z] b4d181a07f80: Download complete [2021-11-09T16:14:54.071Z] d287ab97295c: Verifying Checksum [2021-11-09T16:14:54.071Z] d287ab97295c: Download complete [2021-11-09T16:14:55.029Z] b4d181a07f80: Pull complete [2021-11-09T16:14:55.288Z] a1111a8f2ec3: Pull complete [2021-11-09T16:14:55.859Z] ed53099fbce6: Pull complete [2021-11-09T16:14:55.859Z] dc539afda2c1: Pull complete [2021-11-09T16:14:56.121Z] 77bc0d833cb6: Pull complete [2021-11-09T16:14:56.383Z] 9065ff56babe: Pull complete [2021-11-09T16:15:01.709Z] d287ab97295c: Pull complete [2021-11-09T16:15:01.709Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T16:15:01.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T16:15:01.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T16:15:01.775Z] prd-centos7-docker-4c-2g-28110 does not seem to be running inside a container [2021-11-09T16:15:01.811Z] $ 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/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T16:15:04.610Z] $ docker top cd3e4f60ab62ab775cad58c9cf2da6c35a011245ecce0aa952c868b2daad7287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:15:05.064Z] ---> job-cost.sh [2021-11-09T16:15:05.065Z] lf-activate-venv: SKIPPING [2021-11-09T16:15:05.065Z] INFO: No Stack... [2021-11-09T16:15:05.325Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T16:15:05.587Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T16:15:05.887Z] + cat /w/workspace/device-sdk-go/29/archives/cost.csv [2021-11-09T16:15:05.887Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T16:15:05.919Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-29-stack-cost] [2021-11-09T16:15:05.928Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-29-stack-cost] did not exist. Created. [2021-11-09T16:15:05.928Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T16:15:06.265Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T16:15:06.308Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T16:15:06.317Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T16:15:06.340Z] $ docker stop --time=1 cd3e4f60ab62ab775cad58c9cf2da6c35a011245ecce0aa952c868b2daad7287 [2021-11-09T16:15:07.464Z] $ docker rm -f cd3e4f60ab62ab775cad58c9cf2da6c35a011245ecce0aa952c868b2daad7287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-09T16:15:57.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T16:15:57.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T16:15:57.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T16:16:02.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.354s coverage: 23.3% of statements [2021-11-09T16:16:02.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T16:16:02.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.207s coverage: 27.6% of statements [2021-11-09T16:16:02.145Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.255s coverage: 78.9% of statements [2021-11-09T16:16:02.145Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.186s coverage: 9.0% of statements [2021-11-09T16:16:02.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T16:16:02.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T16:16:02.145Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T16:16:03.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.334s coverage: 28.7% of statements [2021-11-09T16:16:03.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T16:16:05.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.244s coverage: 83.3% of statements [2021-11-09T16:16:05.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T16:16:05.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T16:16:05.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.400s coverage: 57.8% of statements [2021-11-09T16:16:07.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.111s coverage: 89.2% of statements [2021-11-09T16:16:07.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T16:16:07.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 4.8% of statements [2021-11-09T16:16:07.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T16:16:08.170Z] GO111MODULE=on go vet ./... [2021-11-09T16:17:05.677Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T16:17:05.677Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T16:17:05.677Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T16:17:05.695Z] $ docker stop --time=1 7d6e565ee4f3f960433be4f0bda27c8d58bd9d7a8d76f47c11eb1187ef69768f [2021-11-09T16:17:07.576Z] $ docker rm -f 7d6e565ee4f3f960433be4f0bda27c8d58bd9d7a8d76f47c11eb1187ef69768f [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T16:17:08.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T16:17:08.673Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T16:17:09.251Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T16:17:09.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T16:17:10.066Z] + ls -al . [2021-11-09T16:17:10.066Z] total 300 [2021-11-09T16:17:10.066Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 16:17 . [2021-11-09T16:17:10.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 16:11 .. [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 16:11 .dockerignore [2021-11-09T16:17:10.066Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 16:11 .git [2021-11-09T16:17:10.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:11 .github [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 16:11 .gitignore [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 16:11 CHANGELOG.md [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 16:11 GOVERNANCE.md [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 16:11 Jenkinsfile [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 16:11 LICENSE [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 16:11 Makefile [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 16:11 OWNERS.md [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 16:11 README.md [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 9 16:09 VERSION [2021-11-09T16:17:10.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 16:11 bin [2021-11-09T16:17:10.066Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 9 16:16 coverage.out [2021-11-09T16:17:10.066Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 16:11 example [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 16:11 go.mod [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 9 16:11 go.sum [2021-11-09T16:17:10.066Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 16:11 internal [2021-11-09T16:17:10.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:11 openapi [2021-11-09T16:17:10.066Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 16:11 pkg [2021-11-09T16:17:10.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 16:11 snap [2021-11-09T16:17:10.066Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 16:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:17:10.399Z] + 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=b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 --label arch=arm64 --label version=2.0.1-dev.30 . [2021-11-09T16:17:10.997Z] Sending build context to Docker daemon 2.874MB [2021-11-09T16:17:10.997Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T16:17:10.997Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T16:17:10.997Z] ---> 9b24491b11d2 [2021-11-09T16:17:10.997Z] Step 3/24 : ARG MAKE=make build [2021-11-09T16:17:10.997Z] ---> Running in cc007573c1a2 [2021-11-09T16:17:11.596Z] Removing intermediate container cc007573c1a2 [2021-11-09T16:17:11.596Z] ---> b89da0735e68 [2021-11-09T16:17:11.596Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T16:17:11.596Z] ---> Running in 6ad64e00fe6b [2021-11-09T16:17:11.882Z] Removing intermediate container 6ad64e00fe6b [2021-11-09T16:17:11.882Z] ---> 769c3befa26c [2021-11-09T16:17:11.882Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T16:17:12.155Z] ---> Running in 7cc1e220d13f [2021-11-09T16:17:12.512Z] Removing intermediate container 7cc1e220d13f [2021-11-09T16:17:12.512Z] ---> 7c9a77ef55fb [2021-11-09T16:17:12.512Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T16:17:12.512Z] ---> Running in 7f482d279490 [2021-11-09T16:17:14.515Z] Removing intermediate container 7f482d279490 [2021-11-09T16:17:14.515Z] ---> ad8d17633dfa [2021-11-09T16:17:14.515Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T16:17:14.795Z] ---> Running in 67d79ee46f7d [2021-11-09T16:17:15.770Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T16:17:16.742Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T16:17:17.727Z] OK: 219 MiB in 52 packages [2021-11-09T16:17:18.326Z] Removing intermediate container 67d79ee46f7d [2021-11-09T16:17:18.326Z] ---> b0a97de7559b [2021-11-09T16:17:18.326Z] Step 8/24 : COPY . . [2021-11-09T16:17:19.758Z] ---> 694b2483e916 [2021-11-09T16:17:19.758Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T16:17:19.758Z] ---> Running in e6ebd255e4e4 [2021-11-09T16:17:21.735Z] Removing intermediate container e6ebd255e4e4 [2021-11-09T16:17:21.735Z] ---> b620457840ce [2021-11-09T16:17:21.735Z] Step 10/24 : RUN ${MAKE} [2021-11-09T16:17:21.735Z] ---> Running in bcae00f1c49a [2021-11-09T16:17:23.192Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.30" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-09T16:17:55.611Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T16:17:58.224Z] Removing intermediate container bcae00f1c49a [2021-11-09T16:17:58.224Z] ---> 6d01e6a7459f [2021-11-09T16:17:58.224Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T16:18:01.591Z] 3.14: Pulling from library/alpine [2021-11-09T16:18:01.860Z] 552d1f2373af: Already exists [2021-11-09T16:18:02.132Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T16:18:02.132Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T16:18:02.132Z] ---> bb3de5531c18 [2021-11-09T16:18:02.132Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T16:18:02.132Z] ---> Running in 47627be4dff0 [2021-11-09T16:18:02.724Z] Removing intermediate container 47627be4dff0 [2021-11-09T16:18:02.724Z] ---> 76150018a3fa [2021-11-09T16:18:02.724Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T16:18:02.724Z] ---> Running in d4080adf1366 [2021-11-09T16:18:04.689Z] Removing intermediate container d4080adf1366 [2021-11-09T16:18:04.689Z] ---> f006fbdc6f9d [2021-11-09T16:18:04.689Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T16:18:04.689Z] ---> Running in af592c530288 [2021-11-09T16:18:05.660Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T16:18:06.626Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T16:18:07.599Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T16:18:07.599Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T16:18:07.599Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T16:18:07.872Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T16:18:07.872Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T16:18:07.872Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T16:18:07.872Z] OK: 8 MiB in 19 packages [2021-11-09T16:18:08.849Z] Removing intermediate container af592c530288 [2021-11-09T16:18:08.849Z] ---> 6994123dc8b3 [2021-11-09T16:18:08.849Z] Step 15/24 : WORKDIR / [2021-11-09T16:18:09.121Z] ---> Running in 0750700ec02f [2021-11-09T16:18:09.392Z] Removing intermediate container 0750700ec02f [2021-11-09T16:18:09.392Z] ---> 22400272ff1e [2021-11-09T16:18:09.392Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T16:18:10.365Z] ---> a134a308c112 [2021-11-09T16:18:10.365Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T16:18:11.344Z] ---> 9246d98c5749 [2021-11-09T16:18:11.344Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T16:18:12.321Z] ---> 2e159e8073a5 [2021-11-09T16:18:12.321Z] Step 19/24 : EXPOSE 59999 [2021-11-09T16:18:12.321Z] ---> Running in a5a8cbf8e6e1 [2021-11-09T16:18:12.594Z] Removing intermediate container a5a8cbf8e6e1 [2021-11-09T16:18:12.594Z] ---> 31987a125d02 [2021-11-09T16:18:12.594Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T16:18:12.594Z] ---> Running in 34aee0941c01 [2021-11-09T16:18:13.188Z] Removing intermediate container 34aee0941c01 [2021-11-09T16:18:13.188Z] ---> a698c7d1b457 [2021-11-09T16:18:13.188Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T16:18:13.188Z] ---> Running in 440b42e0ce94 [2021-11-09T16:18:13.461Z] Removing intermediate container 440b42e0ce94 [2021-11-09T16:18:13.461Z] ---> 74ebc40bc18d [2021-11-09T16:18:13.461Z] Step 22/24 : LABEL arch=arm64 [2021-11-09T16:18:13.735Z] ---> Running in aca0bb998b68 [2021-11-09T16:18:14.008Z] Removing intermediate container aca0bb998b68 [2021-11-09T16:18:14.008Z] ---> b4f8fe768e9e [2021-11-09T16:18:14.008Z] Step 23/24 : LABEL git_sha=b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [2021-11-09T16:18:14.008Z] ---> Running in a0ce3b78d96d [2021-11-09T16:18:14.605Z] Removing intermediate container a0ce3b78d96d [2021-11-09T16:18:14.605Z] ---> 2d2bea460026 [2021-11-09T16:18:14.605Z] Step 24/24 : LABEL version=2.0.1-dev.30 [2021-11-09T16:18:14.605Z] ---> Running in bd70253a993f [2021-11-09T16:18:15.199Z] Removing intermediate container bd70253a993f [2021-11-09T16:18:15.199Z] ---> 9cab7378416d [2021-11-09T16:18:15.199Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T16:18:15.199Z] Successfully built 9cab7378416d [2021-11-09T16:18:15.199Z] 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-09T16:18:15.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T16:18:16.108Z] [2021-11-09T16:18:16.108Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:18:16.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T16:18:16.724Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T16:18:16.724Z] 448f6bf000e3: Pulling fs layer [2021-11-09T16:18:16.724Z] f757da607395: Pulling fs layer [2021-11-09T16:18:16.724Z] 05883995daec: Pulling fs layer [2021-11-09T16:18:16.724Z] 8603b9c90790: Pulling fs layer [2021-11-09T16:18:16.724Z] 1560dd03e051: Pulling fs layer [2021-11-09T16:18:16.724Z] 1560dd03e051: Waiting [2021-11-09T16:18:16.724Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T16:18:16.724Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T16:18:16.724Z] 27f5ce0e4adf: Waiting [2021-11-09T16:18:16.724Z] f757da607395: Verifying Checksum [2021-11-09T16:18:16.724Z] f757da607395: Download complete [2021-11-09T16:18:16.724Z] 8603b9c90790: Verifying Checksum [2021-11-09T16:18:16.724Z] 8603b9c90790: Download complete [2021-11-09T16:18:16.724Z] 1560dd03e051: Verifying Checksum [2021-11-09T16:18:16.724Z] 1560dd03e051: Download complete [2021-11-09T16:18:16.997Z] 27f5ce0e4adf: Verifying Checksum [2021-11-09T16:18:16.997Z] 27f5ce0e4adf: Download complete [2021-11-09T16:18:16.997Z] 05883995daec: Verifying Checksum [2021-11-09T16:18:16.997Z] 05883995daec: Download complete [2021-11-09T16:18:17.272Z] 448f6bf000e3: Verifying Checksum [2021-11-09T16:18:17.272Z] 448f6bf000e3: Download complete [2021-11-09T16:18:19.892Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T16:18:19.892Z] c2d8d7efcc4b: Download complete [2021-11-09T16:18:20.865Z] 448f6bf000e3: Pull complete [2021-11-09T16:18:21.461Z] f757da607395: Pull complete [2021-11-09T16:18:22.901Z] 05883995daec: Pull complete [2021-11-09T16:18:23.174Z] 8603b9c90790: Pull complete [2021-11-09T16:18:24.148Z] 1560dd03e051: Pull complete [2021-11-09T16:18:24.418Z] 27f5ce0e4adf: Pull complete [2021-11-09T16:18:39.482Z] c2d8d7efcc4b: Pull complete [2021-11-09T16:18:39.482Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T16:18:39.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T16:18:39.482Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T16:18:39.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-28109 does not seem to be running inside a container [2021-11-09T16:18:39.813Z] $ 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/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@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-09T16:18:42.546Z] $ docker top c71afa7095a32f779a1b82392e7ac5da4907ce816a9a3a6c6ca7ee2bd6d59424 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:18:43.512Z] ---> job-cost.sh [2021-11-09T16:18:43.512Z] lf-activate-venv: SKIPPING [2021-11-09T16:18:43.512Z] INFO: No Stack... [2021-11-09T16:18:43.784Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T16:18:44.056Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T16:18:44.717Z] + cut -d, -f6 [2021-11-09T16:18:44.717Z] + cat /w/workspace/device-sdk-go/29/archives/cost.csv [Pipeline] lock [2021-11-09T16:18:44.774Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-29-stack-cost] [2021-11-09T16:18:44.780Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-29-stack-cost] did not exist. Created. [2021-11-09T16:18:44.780Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T16:18:45.459Z] /w/workspace/device-sdk-go/29@tmp/durable-3bffbb61/script.sh: 1: /w/workspace/device-sdk-go/29@tmp/durable-3bffbb61/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T16:18:46.138Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T16:18:46.190Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T16:18:46.274Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T16:18:46.280Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T16:18:46.291Z] $ docker stop --time=1 c71afa7095a32f779a1b82392e7ac5da4907ce816a9a3a6c6ca7ee2bd6d59424 [2021-11-09T16:18:47.876Z] $ docker rm -f c71afa7095a32f779a1b82392e7ac5da4907ce816a9a3a6c6ca7ee2bd6d59424 [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-09T16:18:49.525Z] provisioning config files... [2021-11-09T16:18:49.533Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4451671673496036237tmp [Pipeline] { [Pipeline] sh [2021-11-09T16:18:49.860Z] + set +x [2021-11-09T16:18:49.861Z] + curl -s https://codecov.io/bash [2021-11-09T16:18:49.861Z] + bash -s -- [2021-11-09T16:18:49.861Z] [2021-11-09T16:18:49.861Z] _____ _ [2021-11-09T16:18:49.861Z] / ____| | | [2021-11-09T16:18:49.861Z] | | ___ __| | ___ ___ _____ __ [2021-11-09T16:18:49.861Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-09T16:18:49.861Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-09T16:18:49.861Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-09T16:18:49.861Z] Bash-1.0.6 [2021-11-09T16:18:49.861Z] [2021-11-09T16:18:49.861Z] [2021-11-09T16:18:49.861Z] ==> git version 2.24.4 found [2021-11-09T16:18:49.861Z] ==> 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-09T16:18:49.861Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-09T16:18:49.861Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-09T16:18:49.861Z] ==> Jenkins CI detected. [2021-11-09T16:18:49.861Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-09T16:18:49.861Z] project root: . [2021-11-09T16:18:49.861Z] --> token set from env [2021-11-09T16:18:49.861Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-09T16:18:49.861Z] ==> Running gcov in . (disable via -X gcov) [2021-11-09T16:18:50.123Z] ==> Python coveragepy not found [2021-11-09T16:18:50.123Z] ==> Searching for coverage reports in: [2021-11-09T16:18:50.123Z] + . [2021-11-09T16:18:50.123Z] -> Found 1 reports [2021-11-09T16:18:50.123Z] ==> Detecting git/mercurial file structure [2021-11-09T16:18:50.123Z] ==> Reading reports [2021-11-09T16:18:50.123Z] + ./coverage.out bytes=128369 [2021-11-09T16:18:50.123Z] ==> Appending adjustments [2021-11-09T16:18:50.123Z] https://docs.codecov.io/docs/fixing-reports [2021-11-09T16:18:50.387Z] + Found adjustments [2021-11-09T16:18:50.387Z] ==> Gzipping contents [2021-11-09T16:18:50.387Z] 16K /tmp/codecov.I6gWL3.gz [2021-11-09T16:18:50.387Z] ==> Uploading reports [2021-11-09T16:18:50.387Z] url: https://codecov.io [2021-11-09T16:18:50.387Z] query: branch=main&commit=b65f5695dadca3fd7b85e6de0c13b69f00bad0e6&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-09T16:18:50.387Z] -> Pinging Codecov [2021-11-09T16:18:50.387Z] 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=b65f5695dadca3fd7b85e6de0c13b69f00bad0e6&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-09T16:18:50.648Z] -> Uploading to [2021-11-09T16:18:50.648Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/b65f5695dadca3fd7b85e6de0c13b69f00bad0e6/7176c400-4de9-4c54-a6a5-071ad81e2075.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T161850Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0625e3e5000691b7e65be5d72f8937ecf1253d7576b3e16ea647633a64cd6a3 [2021-11-09T16:18:50.648Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T16:18:50.648Z] Dload Upload Total Spent Left Speed [2021-11-09T16:18:50.908Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16320 0 0 100 16320 0 57870 --:--:-- --:--:-- --:--:-- 58078 [2021-11-09T16:18:50.908Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [Pipeline] } [2021-11-09T16:18:50.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-09T16:18:51.259Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-09T16:18:51.273Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:18:51.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-09T16:18:51.573Z] [2021-11-09T16:18:51.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:18:51.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-09T16:18:51.884Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-09T16:18:51.884Z] 188c0c94c7c5: Pulling fs layer [2021-11-09T16:18:51.884Z] 0ef7d3d256c8: Pulling fs layer [2021-11-09T16:18:51.884Z] de9db76c5a1d: Pulling fs layer [2021-11-09T16:18:51.884Z] 0eba1c9be4d2: Pulling fs layer [2021-11-09T16:18:51.884Z] 0d57e429df01: Pulling fs layer [2021-11-09T16:18:51.884Z] 4e4be7b47b0d: Pulling fs layer [2021-11-09T16:18:51.884Z] e1f770b5df2f: Pulling fs layer [2021-11-09T16:18:51.884Z] 85a0685a4137: Pulling fs layer [2021-11-09T16:18:51.884Z] 0eba1c9be4d2: Waiting [2021-11-09T16:18:51.884Z] 0d57e429df01: Waiting [2021-11-09T16:18:51.884Z] 4e4be7b47b0d: Waiting [2021-11-09T16:18:51.884Z] e1f770b5df2f: Waiting [2021-11-09T16:18:51.884Z] 85a0685a4137: Waiting [2021-11-09T16:18:51.884Z] de9db76c5a1d: Verifying Checksum [2021-11-09T16:18:51.884Z] de9db76c5a1d: Download complete [2021-11-09T16:18:51.884Z] 0ef7d3d256c8: Verifying Checksum [2021-11-09T16:18:51.884Z] 0ef7d3d256c8: Download complete [2021-11-09T16:18:51.884Z] 0d57e429df01: Verifying Checksum [2021-11-09T16:18:51.884Z] 0d57e429df01: Download complete [2021-11-09T16:18:51.884Z] 188c0c94c7c5: Verifying Checksum [2021-11-09T16:18:51.884Z] 188c0c94c7c5: Download complete [2021-11-09T16:18:51.884Z] 4e4be7b47b0d: Verifying Checksum [2021-11-09T16:18:51.884Z] 4e4be7b47b0d: Download complete [2021-11-09T16:18:52.483Z] e1f770b5df2f: Verifying Checksum [2021-11-09T16:18:52.483Z] e1f770b5df2f: Download complete [2021-11-09T16:18:52.483Z] 0eba1c9be4d2: Verifying Checksum [2021-11-09T16:18:52.483Z] 0eba1c9be4d2: Download complete [2021-11-09T16:18:52.483Z] 188c0c94c7c5: Pull complete [2021-11-09T16:18:52.755Z] 85a0685a4137: Verifying Checksum [2021-11-09T16:18:52.755Z] 85a0685a4137: Download complete [2021-11-09T16:18:52.755Z] 0ef7d3d256c8: Pull complete [2021-11-09T16:18:52.755Z] de9db76c5a1d: Pull complete [2021-11-09T16:18:57.015Z] 0eba1c9be4d2: Pull complete [2021-11-09T16:18:57.015Z] 0d57e429df01: Pull complete [2021-11-09T16:18:57.015Z] 4e4be7b47b0d: Pull complete [2021-11-09T16:18:57.277Z] e1f770b5df2f: Pull complete [2021-11-09T16:19:01.532Z] 85a0685a4137: Pull complete [2021-11-09T16:19:01.532Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-09T16:19:01.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-09T16:19:01.532Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-09T16:19:01.605Z] prd-centos7-docker-4c-2g-28108 does not seem to be running inside a container [2021-11-09T16:19:01.644Z] $ 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-09T16:19:03.712Z] $ docker top 67d1641833f299d2c656e5d3118f4337b415178260bb19d506b6b4a73799dcdb -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-09T16:19:03.798Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-09T16:19:04.083Z] + set -o pipefail [2021-11-09T16:19:04.083Z] + snyk monitor '--org=edgex-jenkins' [2021-11-09T16:19:10.687Z] [2021-11-09T16:19:10.687Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-11-09T16:19:10.687Z] [2021-11-09T16:19:10.687Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/5abb2bd3-c41d-4a3a-933d-9ab7ffa059d7 [2021-11-09T16:19:10.687Z] [2021-11-09T16:19:10.687Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-09T16:19:10.688Z] [2021-11-09T16:19:10.688Z] [2021-11-09T16:19:10.688Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-09T16:19:10.688Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-09T16:19:10.695Z] $ docker stop --time=1 67d1641833f299d2c656e5d3118f4337b415178260bb19d506b6b4a73799dcdb [2021-11-09T16:19:12.547Z] $ docker rm -f 67d1641833f299d2c656e5d3118f4337b415178260bb19d506b6b4a73799dcdb [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-09T16:19:13.128Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T16:19:13.139Z] provisioning config files... [2021-11-09T16:19:13.148Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2418169910171686546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:19:13.447Z] --> edgex-publish-swagger.sh [2021-11-09T16:19:13.447Z] === Publish openapi/v2 API === [2021-11-09T16:19:13.447Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-09T16:19:13.447Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-11-09T16:19:13.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T16:19:13.447Z] Dload Upload Total Spent Left Speed [2021-11-09T16:19:14.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 60022 --:--:-- --:--:-- --:--:-- 59998 [2021-11-09T16:19:14.388Z] [2021-11-09T16:19:14.388Z] [Pipeline] } [2021-11-09T16:19:14.395Z] 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-09T16:19:14.848Z] + git log --format=format:%s -1 b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:19:15.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T16:19:15.147Z] . [Pipeline] withDockerContainer [2021-11-09T16:19:15.210Z] prd-centos7-docker-4c-2g-28108 does not seem to be running inside a container [2021-11-09T16:19:15.248Z] $ 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-09T16:19:15.624Z] $ docker top 72d105a15f59e9e22da8ea9128615c5f8f2dd582f1b6dd9e66e1801bd928842b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T16:19:15.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T16:19:15.711Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T16:19:15.823Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T16:19:15.823Z] $ docker exec 72d105a15f59e9e22da8ea9128615c5f8f2dd582f1b6dd9e66e1801bd928842b ssh-agent [2021-11-09T16:19:15.929Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmIEeLh/agent.14 [2021-11-09T16:19:15.929Z] SSH_AGENT_PID=20 [2021-11-09T16:19:15.934Z] Running ssh-add (command line suppressed) [2021-11-09T16:19:16.034Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1119433541641458216.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1119433541641458216.key) [2021-11-09T16:19:16.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T16:19:17.000Z] + git semver tag [2021-11-09T16:19:17.000Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T16:19:17.000Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-09T16:19:17.000Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-09T16:19:17.000Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T16:19:17.000Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T16:19:17.000Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T16:19:17.000Z] # $SEMVER_BRANCH = main [2021-11-09T16:19:17.000Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-09T16:19:17.000Z] # b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 HEAD [2021-11-09T16:19:17.000Z] # -> Force: false [2021-11-09T16:19:17.000Z] # 28a227fc4d50ff3e8bb276dc0c0d6784d4ce0ee9 refs/tags/v2.0.1-dev.30 [Pipeline] } [2021-11-09T16:19:17.007Z] $ docker exec --env ******** --env ******** 72d105a15f59e9e22da8ea9128615c5f8f2dd582f1b6dd9e66e1801bd928842b ssh-agent -k [2021-11-09T16:19:17.125Z] unset SSH_AUTH_SOCK; [2021-11-09T16:19:17.126Z] unset SSH_AGENT_PID; [2021-11-09T16:19:17.126Z] echo Agent pid 20 killed; [2021-11-09T16:19:17.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T16:19:17.441Z] + git semver [Pipeline] } [2021-11-09T16:19:17.451Z] $ docker stop --time=1 72d105a15f59e9e22da8ea9128615c5f8f2dd582f1b6dd9e66e1801bd928842b [2021-11-09T16:19:18.637Z] $ docker rm -f 72d105a15f59e9e22da8ea9128615c5f8f2dd582f1b6dd9e66e1801bd928842b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:19:19.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-09T16:19:19.016Z] [2021-11-09T16:19:19.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:19:19.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-09T16:19:19.319Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-09T16:19:19.319Z] ab5ef0e58194: Pulling fs layer [2021-11-09T16:19:19.319Z] 9712f1f96733: Pulling fs layer [2021-11-09T16:19:19.319Z] 63f879dbbcfc: Pulling fs layer [2021-11-09T16:19:19.319Z] 0d9ebad4ef96: Pulling fs layer [2021-11-09T16:19:19.319Z] e9a5061849ea: Pulling fs layer [2021-11-09T16:19:19.319Z] d747dcd14b5f: Pulling fs layer [2021-11-09T16:19:19.319Z] 2de7ff778b66: Pulling fs layer [2021-11-09T16:19:19.319Z] e9a5061849ea: Waiting [2021-11-09T16:19:19.319Z] d747dcd14b5f: Waiting [2021-11-09T16:19:19.319Z] 2de7ff778b66: Waiting [2021-11-09T16:19:19.319Z] 0d9ebad4ef96: Waiting [2021-11-09T16:19:19.319Z] 9712f1f96733: Verifying Checksum [2021-11-09T16:19:19.319Z] 9712f1f96733: Download complete [2021-11-09T16:19:19.588Z] 63f879dbbcfc: Verifying Checksum [2021-11-09T16:19:19.588Z] 63f879dbbcfc: Download complete [2021-11-09T16:19:19.858Z] e9a5061849ea: Verifying Checksum [2021-11-09T16:19:19.858Z] e9a5061849ea: Download complete [2021-11-09T16:19:19.858Z] d747dcd14b5f: Verifying Checksum [2021-11-09T16:19:19.858Z] d747dcd14b5f: Download complete [2021-11-09T16:19:19.858Z] 0d9ebad4ef96: Verifying Checksum [2021-11-09T16:19:19.858Z] 0d9ebad4ef96: Download complete [2021-11-09T16:19:19.858Z] ab5ef0e58194: Verifying Checksum [2021-11-09T16:19:19.858Z] ab5ef0e58194: Download complete [2021-11-09T16:19:20.119Z] 2de7ff778b66: Verifying Checksum [2021-11-09T16:19:20.119Z] 2de7ff778b66: Download complete [2021-11-09T16:19:22.683Z] ab5ef0e58194: Pull complete [2021-11-09T16:19:22.683Z] 9712f1f96733: Pull complete [2021-11-09T16:19:23.632Z] 63f879dbbcfc: Pull complete [2021-11-09T16:19:27.866Z] 0d9ebad4ef96: Pull complete [2021-11-09T16:19:27.866Z] e9a5061849ea: Pull complete [2021-11-09T16:19:27.866Z] d747dcd14b5f: Pull complete [2021-11-09T16:19:29.265Z] 2de7ff778b66: Pull complete [2021-11-09T16:19:29.265Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-09T16:19:29.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-09T16:19:29.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-09T16:19:29.328Z] prd-centos7-docker-4c-2g-28108 does not seem to be running inside a container [2021-11-09T16:19:29.356Z] $ 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-09T16:19:32.452Z] $ docker top ef232e8d473577ed6f3c6fb5e52be558b13d3f9baf5a46f25039fc235f778d7f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-09T16:19:32.530Z] provisioning config files... [2021-11-09T16:19:32.542Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7223550965109808549tmp [2021-11-09T16:19:32.552Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6027555352976512627tmp [2021-11-09T16:19:32.562Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3164508300029349700tmp [Pipeline] { [Pipeline] echo [2021-11-09T16:19:32.575Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:19:32.861Z] ---> sigul-configuration.sh [2021-11-09T16:19:32.861Z] gpg: directory `/root/.gnupg' created [2021-11-09T16:19:32.861Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-09T16:19:32.861Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-09T16:19:32.861Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-09T16:19:32.861Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-09T16:19:32.861Z] gpg: CAST5 encrypted data [2021-11-09T16:19:32.861Z] gpg: encrypted with 1 passphrase [2021-11-09T16:19:32.861Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-09T16:19:33.148Z] + mkdir /home/jenkins [2021-11-09T16:19:33.148Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-09T16:19:33.438Z] + 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-09T16:19:33.448Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:19:33.737Z] ---> sigul-install.sh [2021-11-09T16:19:33.737Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-09T16:19:34.031Z] + git tag --list [2021-11-09T16:19:34.031Z] 0.7.1 [2021-11-09T16:19:34.031Z] delhi-tag [2021-11-09T16:19:34.031Z] v1.0.0 [2021-11-09T16:19:34.031Z] v1.1.0 [2021-11-09T16:19:34.031Z] v1.1.1 [2021-11-09T16:19:34.031Z] v1.1.2 [2021-11-09T16:19:34.031Z] v1.2.0 [2021-11-09T16:19:34.031Z] v1.2.1 [2021-11-09T16:19:34.031Z] v1.2.2 [2021-11-09T16:19:34.031Z] v1.2.3 [2021-11-09T16:19:34.031Z] v1.3.0 [2021-11-09T16:19:34.031Z] v1.4.0 [2021-11-09T16:19:34.031Z] v2.0.0 [2021-11-09T16:19:34.031Z] v2.0.1-dev.1 [2021-11-09T16:19:34.031Z] v2.0.1-dev.10 [2021-11-09T16:19:34.031Z] v2.0.1-dev.11 [2021-11-09T16:19:34.031Z] v2.0.1-dev.12 [2021-11-09T16:19:34.031Z] v2.0.1-dev.13 [2021-11-09T16:19:34.031Z] v2.0.1-dev.14 [2021-11-09T16:19:34.031Z] v2.0.1-dev.15 [2021-11-09T16:19:34.031Z] v2.0.1-dev.16 [2021-11-09T16:19:34.031Z] v2.0.1-dev.17 [2021-11-09T16:19:34.031Z] v2.0.1-dev.18 [2021-11-09T16:19:34.031Z] v2.0.1-dev.19 [2021-11-09T16:19:34.031Z] v2.0.1-dev.2 [2021-11-09T16:19:34.031Z] v2.0.1-dev.20 [2021-11-09T16:19:34.031Z] v2.0.1-dev.21 [2021-11-09T16:19:34.031Z] v2.0.1-dev.22 [2021-11-09T16:19:34.031Z] v2.0.1-dev.23 [2021-11-09T16:19:34.031Z] v2.0.1-dev.24 [2021-11-09T16:19:34.031Z] v2.0.1-dev.25 [2021-11-09T16:19:34.031Z] v2.0.1-dev.26 [2021-11-09T16:19:34.031Z] v2.0.1-dev.27 [2021-11-09T16:19:34.031Z] v2.0.1-dev.28 [2021-11-09T16:19:34.031Z] v2.0.1-dev.29 [2021-11-09T16:19:34.031Z] v2.0.1-dev.3 [2021-11-09T16:19:34.031Z] v2.0.1-dev.30 [2021-11-09T16:19:34.031Z] v2.0.1-dev.4 [2021-11-09T16:19:34.031Z] v2.0.1-dev.5 [2021-11-09T16:19:34.031Z] v2.0.1-dev.6 [2021-11-09T16:19:34.031Z] v2.0.1-dev.7 [2021-11-09T16:19:34.031Z] v2.0.1-dev.8 [2021-11-09T16:19:34.031Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-09T16:19:34.327Z] + lftools sign git-tag v2.0.1-dev.30 [2021-11-09T16:19:34.900Z] Signing Git tag with Sigul... [2021-11-09T16:19:34.900Z] Signing v2.0.1-dev.30 [Pipeline] echo [2021-11-09T16:19:35.852Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:19:36.153Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-09T16:19:36.160Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-09T16:19:36.175Z] $ docker stop --time=1 ef232e8d473577ed6f3c6fb5e52be558b13d3f9baf5a46f25039fc235f778d7f [2021-11-09T16:19:37.388Z] $ docker rm -f ef232e8d473577ed6f3c6fb5e52be558b13d3f9baf5a46f25039fc235f778d7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:19:37.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T16:19:37.987Z] . [Pipeline] withDockerContainer [2021-11-09T16:19:38.051Z] prd-centos7-docker-4c-2g-28108 does not seem to be running inside a container [2021-11-09T16:19:38.082Z] $ 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-09T16:19:38.441Z] $ docker top 111222b7b709f8eb9f99f9518f2f3d1ebfc9d440b2f062832463d2116306986e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T16:19:38.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T16:19:38.531Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T16:19:38.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T16:19:38.659Z] $ docker exec 111222b7b709f8eb9f99f9518f2f3d1ebfc9d440b2f062832463d2116306986e ssh-agent [2021-11-09T16:19:38.783Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGGheHn/agent.14 [2021-11-09T16:19:38.783Z] SSH_AGENT_PID=19 [2021-11-09T16:19:38.788Z] Running ssh-add (command line suppressed) [2021-11-09T16:19:38.911Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1540890762435331879.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1540890762435331879.key) [2021-11-09T16:19:38.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T16:19:39.222Z] + git semver bump pre [2021-11-09T16:19:39.222Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T16:19:39.222Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-09T16:19:39.222Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-09T16:19:39.222Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T16:19:39.222Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T16:19:39.222Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T16:19:39.222Z] # $SEMVER_BRANCH = main [2021-11-09T16:19:39.222Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-09T16:19:39.222Z] 2.0.1-dev.31 [Pipeline] } [2021-11-09T16:19:39.230Z] $ docker exec --env ******** --env ******** 111222b7b709f8eb9f99f9518f2f3d1ebfc9d440b2f062832463d2116306986e ssh-agent -k [2021-11-09T16:19:39.331Z] unset SSH_AUTH_SOCK; [2021-11-09T16:19:39.331Z] unset SSH_AGENT_PID; [2021-11-09T16:19:39.331Z] echo Agent pid 19 killed; [2021-11-09T16:19:39.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T16:19:39.655Z] + git semver [Pipeline] } [2021-11-09T16:19:39.667Z] $ docker stop --time=1 111222b7b709f8eb9f99f9518f2f3d1ebfc9d440b2f062832463d2116306986e [2021-11-09T16:19:40.857Z] $ docker rm -f 111222b7b709f8eb9f99f9518f2f3d1ebfc9d440b2f062832463d2116306986e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:19:41.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T16:19:41.395Z] . [Pipeline] withDockerContainer [2021-11-09T16:19:41.479Z] prd-centos7-docker-4c-2g-28108 does not seem to be running inside a container [2021-11-09T16:19:41.508Z] $ 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-09T16:19:41.822Z] $ docker top 6275277775fe1344b712e486b5a02d11bc628db6a35b8a3229eab17d8de4c2f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T16:19:41.932Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T16:19:41.932Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T16:19:42.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T16:19:42.035Z] $ docker exec 6275277775fe1344b712e486b5a02d11bc628db6a35b8a3229eab17d8de4c2f5 ssh-agent [2021-11-09T16:19:42.141Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhffMgm/agent.14 [2021-11-09T16:19:42.141Z] SSH_AGENT_PID=20 [2021-11-09T16:19:42.146Z] Running ssh-add (command line suppressed) [2021-11-09T16:19:42.229Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2707239420755931802.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2707239420755931802.key) [2021-11-09T16:19:42.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T16:19:42.532Z] + git semver push [2021-11-09T16:19:42.532Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T16:19:42.532Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-09T16:19:42.532Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-09T16:19:42.532Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T16:19:42.532Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T16:19:42.532Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T16:19:42.532Z] # $SEMVER_BRANCH = main [2021-11-09T16:19:42.532Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-09T16:19:44.447Z] $ docker exec --env ******** --env ******** 6275277775fe1344b712e486b5a02d11bc628db6a35b8a3229eab17d8de4c2f5 ssh-agent -k [2021-11-09T16:19:44.526Z] unset SSH_AUTH_SOCK; [2021-11-09T16:19:44.526Z] unset SSH_AGENT_PID; [2021-11-09T16:19:44.526Z] echo Agent pid 20 killed; [2021-11-09T16:19:44.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T16:19:44.845Z] + git semver [Pipeline] } [2021-11-09T16:19:44.856Z] $ docker stop --time=1 6275277775fe1344b712e486b5a02d11bc628db6a35b8a3229eab17d8de4c2f5 [2021-11-09T16:19:46.162Z] $ docker rm -f 6275277775fe1344b712e486b5a02d11bc628db6a35b8a3229eab17d8de4c2f5 [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-09T16:19:47.953Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:19:48.246Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:19:48.799Z] ---> package-listing.sh [2021-11-09T16:19:48.799Z] ++ facter osfamily [2021-11-09T16:19:48.799Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T16:19:49.060Z] + OS_FAMILY=redhat [2021-11-09T16:19:49.060Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-11-09T16:19:49.060Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T16:19:49.060Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T16:19:49.060Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T16:19:49.060Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T16:19:49.060Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-09T16:19:49.060Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T16:19:49.060Z] + case "${OS_FAMILY}" in [2021-11-09T16:19:49.060Z] + rpm -qa [2021-11-09T16:19:49.060Z] + sort [2021-11-09T16:19:49.628Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T16:19:49.628Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T16:19:49.628Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T16:19:49.889Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-09T16:19:49.889Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-11-09T16:19:49.889Z] + 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-09T16:19:49.897Z] 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-09T16:19:50.173Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:19:50.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T16:19:50.727Z] [2021-11-09T16:19:50.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T16:19:51.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T16:19:51.023Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T16:19:51.023Z] b4d181a07f80: Pulling fs layer [2021-11-09T16:19:51.023Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T16:19:51.023Z] ed53099fbce6: Pulling fs layer [2021-11-09T16:19:51.023Z] dc539afda2c1: Pulling fs layer [2021-11-09T16:19:51.023Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T16:19:51.023Z] 9065ff56babe: Pulling fs layer [2021-11-09T16:19:51.023Z] d287ab97295c: Pulling fs layer [2021-11-09T16:19:51.023Z] 77bc0d833cb6: Waiting [2021-11-09T16:19:51.023Z] 9065ff56babe: Waiting [2021-11-09T16:19:51.023Z] d287ab97295c: Waiting [2021-11-09T16:19:51.023Z] dc539afda2c1: Waiting [2021-11-09T16:19:51.023Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T16:19:51.023Z] a1111a8f2ec3: Download complete [2021-11-09T16:19:51.023Z] dc539afda2c1: Verifying Checksum [2021-11-09T16:19:51.023Z] dc539afda2c1: Download complete [2021-11-09T16:19:51.023Z] ed53099fbce6: Verifying Checksum [2021-11-09T16:19:51.023Z] ed53099fbce6: Download complete [2021-11-09T16:19:51.286Z] 9065ff56babe: Verifying Checksum [2021-11-09T16:19:51.286Z] 9065ff56babe: Download complete [2021-11-09T16:19:51.286Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T16:19:51.286Z] 77bc0d833cb6: Download complete [2021-11-09T16:19:51.286Z] b4d181a07f80: Verifying Checksum [2021-11-09T16:19:51.286Z] b4d181a07f80: Download complete [2021-11-09T16:19:51.860Z] d287ab97295c: Verifying Checksum [2021-11-09T16:19:51.860Z] d287ab97295c: Download complete [2021-11-09T16:19:52.836Z] b4d181a07f80: Pull complete [2021-11-09T16:19:52.836Z] a1111a8f2ec3: Pull complete [2021-11-09T16:19:53.406Z] ed53099fbce6: Pull complete [2021-11-09T16:19:53.406Z] dc539afda2c1: Pull complete [2021-11-09T16:19:53.666Z] 77bc0d833cb6: Pull complete [2021-11-09T16:19:53.666Z] 9065ff56babe: Pull complete [2021-11-09T16:19:58.981Z] d287ab97295c: Pull complete [2021-11-09T16:19:58.981Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T16:19:58.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T16:19:58.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T16:19:59.055Z] prd-centos7-docker-4c-2g-28108 does not seem to be running inside a container [2021-11-09T16:19:59.091Z] $ 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-09T16:20:01.307Z] $ docker top ab4318a106fd9ce9a47e9a457e572e7c9993425072ca5ad8703d038b2ad6a1be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T16:20:01.675Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T16:20:01.971Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T16:20:02.262Z] + ls /var/log/sa-host [2021-11-09T16:20:02.262Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T16:20:02.262Z] file_magic: OK [2021-11-09T16:20:02.262Z] HZ: Using current value: 100 [2021-11-09T16:20:02.262Z] file_header: OK [2021-11-09T16:20:02.262Z] 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-09T16:20:02.262Z] Statistics: [2021-11-09T16:20:02.262Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T16:20:02.262Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T16:20:02.262Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T16:20:02.262Z] file_magic: OK [2021-11-09T16:20:02.262Z] HZ: Using current value: 100 [2021-11-09T16:20:02.262Z] file_header: OK [2021-11-09T16:20:02.262Z] 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-09T16:20:02.262Z] Statistics: [2021-11-09T16:20:02.262Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T16:20:02.262Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T16:20:02.543Z] provisioning config files... [2021-11-09T16:20:02.554Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2921893412763088920tmp [Pipeline] { [Pipeline] echo [2021-11-09T16:20:02.568Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:20:02.856Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T16:20:02.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:20:03.197Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T16:20:03.205Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:20:03.490Z] ---> sudo-logs.sh [2021-11-09T16:20:03.490Z] Archiving 'sudo' log.. [2021-11-09T16:20:03.490Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28108.novalocal: Name or service not known [2021-11-09T16:20:03.490Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28108.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T16:20:03.508Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:20:03.790Z] ---> job-cost.sh [2021-11-09T16:20:03.790Z] lf-activate-venv: SKIPPING [2021-11-09T16:20:03.790Z] DEBUG: total: 0.10999999940395355 [2021-11-09T16:20:03.790Z] INFO: Retrieving Stack Cost... [2021-11-09T16:20:05.700Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T16:20:05.959Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T16:20:05.968Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T16:20:06.255Z] ---> logs-deploy.sh [2021-11-09T16:20:06.255Z] lf-activate-venv: SKIPPING [2021-11-09T16:20:06.255Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/29 [2021-11-09T16:20:06.255Z] INFO: archiving workspace using pattern(s): [2021-11-09T16:20:07.197Z] Archives upload complete. [2021-11-09T16:20:07.197Z] INFO: archiving logs to Nexus