Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc 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-ssh5890499240915151307.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-ssh5213595826640750382.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-ssh471474398640206643.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-ssh5846726001057750142.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-ssh9082107567453793909.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27962 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 Avoid second fetch Checking out Revision 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc (main) 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-ssh663719688510506087.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 Commit message: "Merge pull request #1058 from lenny-intel/corrilation-id" > git rev-list --no-walk 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-08T19:16:46.276Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-08T19:16:46.328Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-08T19:16:46.340Z] ========================================================= [2021-11-08T19:16:46.340Z] EdgeX Global Pipelines Version Info [2021-11-08T19:16:46.340Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:16:47.504Z] ------------------- [2021-11-08T19:16:47.504Z] stable info: [2021-11-08T19:16:47.504Z] ------------------- [2021-11-08T19:16:47.504Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-08T19:16:47.504Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-08T19:16:47.504Z] Message: update stable to v1.0.211 [2021-11-08T19:16:48.079Z] ------------------- [2021-11-08T19:16:48.079Z] experimental info: [2021-11-08T19:16:48.079Z] ------------------- [2021-11-08T19:16:48.079Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-08T19:16:48.079Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-08T19:16:48.079Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-08T19:16:48.156Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-08T19:16:48.163Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-08T19:16:48.171Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-08T19:16:48.178Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-08T19:16:49.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-08T19:16:49.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-08T19:16:49.137Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-08T19:16:49.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-08T19:16:49.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-08T19:16:49.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-08T19:16:49.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-08T19:16:49.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-08T19:16:49.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-08T19:16:49.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-08T19:16:49.219Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-08T19:16:49.233Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T19:16:49.242Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T19:16:49.249Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T19:16:49.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-08T19:16:49.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-08T19:16:49.278Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-08T19:16:49.292Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-08T19:16:49.303Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-08T19:16:49.312Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-08T19:16:49.321Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-08T19:16:49.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-08T19:16:49.336Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-08T19:16:49.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-08T19:16:49.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-08T19:16:49.365Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [Pipeline] echo [2021-11-08T19:16:49.374Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e75dc9 [Pipeline] echo [2021-11-08T19:16:49.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T19:16:49.426Z] provisioning config files... [2021-11-08T19:16:49.439Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8538451528033265398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:16:49.750Z] ---> docker-login.sh [2021-11-08T19:16:49.750Z] nexus3.edgexfoundry.org:10001 [2021-11-08T19:16:50.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:16:50.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:16:50.010Z] Configure a credential helper to remove this warning. See [2021-11-08T19:16:50.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:16:50.010Z] [2021-11-08T19:16:50.010Z] Login Succeeded [2021-11-08T19:16:50.010Z] nexus3.edgexfoundry.org:10002 [2021-11-08T19:16:50.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:16:50.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:16:50.271Z] Configure a credential helper to remove this warning. See [2021-11-08T19:16:50.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:16:50.271Z] [2021-11-08T19:16:50.271Z] Login Succeeded [2021-11-08T19:16:50.271Z] nexus3.edgexfoundry.org:10003 [2021-11-08T19:16:50.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:16:50.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:16:50.271Z] Configure a credential helper to remove this warning. See [2021-11-08T19:16:50.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:16:50.271Z] [2021-11-08T19:16:50.271Z] Login Succeeded [2021-11-08T19:16:50.271Z] nexus3.edgexfoundry.org:10004 [2021-11-08T19:16:50.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:16:50.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:16:50.532Z] Configure a credential helper to remove this warning. See [2021-11-08T19:16:50.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:16:50.532Z] [2021-11-08T19:16:50.532Z] Login Succeeded [2021-11-08T19:16:50.532Z] docker.io [2021-11-08T19:16:50.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:16:50.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:16:50.794Z] Configure a credential helper to remove this warning. See [2021-11-08T19:16:50.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:16:50.794Z] [2021-11-08T19:16:50.794Z] Login Succeeded [2021-11-08T19:16:50.794Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T19:16:50.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-08T19:16:51.240Z] + git rev-list -1 --merges 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc~1..7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [Pipeline] echo [2021-11-08T19:16:51.279Z] -----------> git rev-list -1 --merges 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc~1..7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [2021-11-08T19:16:51.279Z] 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [false] [Pipeline] sh [2021-11-08T19:16:51.584Z] + git log --format=format:%s -1 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [Pipeline] echo [2021-11-08T19:16:51.600Z] ========================================================= [2021-11-08T19:16:51.600Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-08T19:16:51.600Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T19:16:51.929Z] + git log --format=format:%s -1 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [Pipeline] echo [2021-11-08T19:16:51.945Z] [semverPrep] GIT_COMMIT: 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc, Commit Message: Merge pull request #1058 from lenny-intel/corrilation-id [Pipeline] echo [2021-11-08T19:16:51.955Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:16:52.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T19:16:52.528Z] [2021-11-08T19:16:52.528Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:16:52.842Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T19:16:52.842Z] latest: Pulling from edgex-devops/git-semver [2021-11-08T19:16:52.842Z] a0d0a0d46f8b: Pulling fs layer [2021-11-08T19:16:52.842Z] 3e5f54012d9b: Pulling fs layer [2021-11-08T19:16:52.842Z] 4c7163046ea9: Pulling fs layer [2021-11-08T19:16:52.842Z] 0c2d73faf560: Pulling fs layer [2021-11-08T19:16:52.842Z] 0c2d73faf560: Waiting [2021-11-08T19:16:52.842Z] 3e5f54012d9b: Download complete [2021-11-08T19:16:52.842Z] a0d0a0d46f8b: Verifying Checksum [2021-11-08T19:16:52.842Z] a0d0a0d46f8b: Download complete [2021-11-08T19:16:52.842Z] 0c2d73faf560: Verifying Checksum [2021-11-08T19:16:52.842Z] 0c2d73faf560: Download complete [2021-11-08T19:16:52.842Z] 4c7163046ea9: Verifying Checksum [2021-11-08T19:16:52.842Z] 4c7163046ea9: Download complete [2021-11-08T19:16:53.117Z] a0d0a0d46f8b: Pull complete [2021-11-08T19:16:53.117Z] 3e5f54012d9b: Pull complete [2021-11-08T19:16:53.731Z] 4c7163046ea9: Pull complete [2021-11-08T19:16:53.731Z] 0c2d73faf560: Pull complete [2021-11-08T19:16:53.731Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-08T19:16:53.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T19:16:53.731Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-08T19:16:53.818Z] prd-centos7-docker-4c-2g-27962 does not seem to be running inside a container [2021-11-08T19:16:53.868Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-08T19:16:54.621Z] $ docker top 0e3cfae8eab3cf7cfe0ebcc7a41ebb035f4a9d7e5cc5a2e96eddebe95c1622d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T19:16:54.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T19:16:54.730Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T19:16:54.861Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T19:16:54.868Z] $ docker exec 0e3cfae8eab3cf7cfe0ebcc7a41ebb035f4a9d7e5cc5a2e96eddebe95c1622d0 ssh-agent [2021-11-08T19:16:54.996Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKnNeaG/agent.15 [2021-11-08T19:16:54.996Z] SSH_AGENT_PID=22 [2021-11-08T19:16:55.007Z] Running ssh-add (command line suppressed) [2021-11-08T19:16:55.122Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9189383417562093356.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9189383417562093356.key) [2021-11-08T19:16:55.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T19:16:55.444Z] + git tag --points-at HEAD [Pipeline] } [2021-11-08T19:16:55.462Z] $ docker exec --env ******** --env ******** 0e3cfae8eab3cf7cfe0ebcc7a41ebb035f4a9d7e5cc5a2e96eddebe95c1622d0 ssh-agent -k [2021-11-08T19:16:55.569Z] unset SSH_AUTH_SOCK; [2021-11-08T19:16:55.569Z] unset SSH_AGENT_PID; [2021-11-08T19:16:55.569Z] echo Agent pid 22 killed; [2021-11-08T19:16:55.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-08T19:16:55.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T19:16:55.602Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T19:16:55.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T19:16:55.736Z] $ docker exec 0e3cfae8eab3cf7cfe0ebcc7a41ebb035f4a9d7e5cc5a2e96eddebe95c1622d0 ssh-agent [2021-11-08T19:16:55.856Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiHNMfE/agent.58 [2021-11-08T19:16:55.856Z] SSH_AGENT_PID=65 [2021-11-08T19:16:55.862Z] Running ssh-add (command line suppressed) [2021-11-08T19:16:55.995Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7588542501783496599.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7588542501783496599.key) [2021-11-08T19:16:56.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T19:16:56.309Z] + git semver init [2021-11-08T19:16:56.309Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T19:16:56.309Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-08T19:16:56.309Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-08T19:16:56.309Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T19:16:56.309Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T19:16:56.309Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T19:16:56.309Z] # $SEMVER_BRANCH = main [2021-11-08T19:16:56.309Z] # $SEMVER_TEMP = /tmp/semver-694446258 [2021-11-08T19:16:56.309Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-08T19:16:57.260Z] # '/tmp/semver-694446258' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-11-08T19:16:57.260Z] # -> Force: false [2021-11-08T19:16:57.260Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-08T19:16:57.274Z] $ docker exec --env ******** --env ******** 0e3cfae8eab3cf7cfe0ebcc7a41ebb035f4a9d7e5cc5a2e96eddebe95c1622d0 ssh-agent -k [2021-11-08T19:16:57.384Z] unset SSH_AUTH_SOCK; [2021-11-08T19:16:57.386Z] unset SSH_AGENT_PID; [2021-11-08T19:16:57.386Z] echo Agent pid 65 killed; [2021-11-08T19:16:57.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T19:16:57.707Z] + git semver [Pipeline] } [2021-11-08T19:16:57.729Z] $ docker stop --time=1 0e3cfae8eab3cf7cfe0ebcc7a41ebb035f4a9d7e5cc5a2e96eddebe95c1622d0 [2021-11-08T19:16:58.998Z] $ docker rm -f 0e3cfae8eab3cf7cfe0ebcc7a41ebb035f4a9d7e5cc5a2e96eddebe95c1622d0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T19:16:59.355Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-08T19:16:59.618Z] Stashed 1 file(s) [Pipeline] echo [2021-11-08T19:16:59.621Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.29 [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-08T19:17:14.781Z] Still waiting to schedule task [2021-11-08T19:17:14.782Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27962’ [2021-11-08T19:17:14.783Z] Still waiting to schedule task [2021-11-08T19:17:14.783Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-08T19:18:49.827Z] Running on prd-centos7-docker-4c-2g-27965 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-08T19:18:49.837Z] Running in /w/workspace/device-sdk-go/28 [Pipeline] { [Pipeline] checkout [2021-11-08T19:18:49.937Z] Selected Git installation does not exist. Using Default [2021-11-08T19:18:49.937Z] The recommended git tool is: NONE [2021-11-08T19:18:51.855Z] using credential edgex-jenkins-ssh [2021-11-08T19:18:51.867Z] Cloning the remote Git repository [2021-11-08T19:18:51.891Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T19:18:51.939Z] > git init /w/workspace/device-sdk-go/28 # timeout=10 [2021-11-08T19:18:51.966Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T19:18:51.966Z] > git --version # timeout=10 [2021-11-08T19:18:51.977Z] > git --version # 'git version 2.24.4' [2021-11-08T19:18:51.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T19:18:52.008Z] [INFO] Currently running in a labeled security context [2021-11-08T19:18:52.008Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-08T19:18:52.008Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/28@tmp/jenkins-gitclient-ssh676412270960807375.key [2021-11-08T19:18:52.055Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T19:18:52.934Z] Avoid second fetch [2021-11-08T19:18:52.935Z] Checking out Revision 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc (main) [2021-11-08T19:18:52.921Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T19:18:52.928Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T19:18:52.948Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T19:18:52.956Z] > git checkout -f 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-08T19:18:55.025Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27963 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-08T19:18:55.037Z] Running in /w/workspace/device-sdk-go/28 [Pipeline] { [Pipeline] checkout [2021-11-08T19:18:55.236Z] Selected Git installation does not exist. Using Default [2021-11-08T19:18:55.236Z] The recommended git tool is: NONE [2021-11-08T19:18:56.450Z] Commit message: "Merge pull request #1058 from lenny-intel/corrilation-id" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T19:18:56.801Z] provisioning config files... [2021-11-08T19:18:56.814Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/28@tmp/config8341789834642142866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:18:57.285Z] ---> docker-login.sh [2021-11-08T19:18:57.285Z] nexus3.edgexfoundry.org:10001 [2021-11-08T19:18:57.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:18:57.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:18:57.285Z] Configure a credential helper to remove this warning. See [2021-11-08T19:18:57.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:18:57.285Z] [2021-11-08T19:18:57.285Z] Login Succeeded [2021-11-08T19:18:57.285Z] nexus3.edgexfoundry.org:10002 [2021-11-08T19:18:57.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:18:57.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:18:57.553Z] Configure a credential helper to remove this warning. See [2021-11-08T19:18:57.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:18:57.554Z] [2021-11-08T19:18:57.554Z] Login Succeeded [2021-11-08T19:18:57.554Z] nexus3.edgexfoundry.org:10003 [2021-11-08T19:18:57.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:18:57.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:18:57.554Z] Configure a credential helper to remove this warning. See [2021-11-08T19:18:57.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:18:57.554Z] [2021-11-08T19:18:57.554Z] Login Succeeded [2021-11-08T19:18:57.554Z] nexus3.edgexfoundry.org:10004 [2021-11-08T19:18:57.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:18:57.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:18:57.814Z] Configure a credential helper to remove this warning. See [2021-11-08T19:18:57.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:18:57.814Z] [2021-11-08T19:18:57.814Z] Login Succeeded [2021-11-08T19:18:57.814Z] docker.io [2021-11-08T19:18:57.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:18:58.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:18:58.076Z] Configure a credential helper to remove this warning. See [2021-11-08T19:18:58.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:18:58.076Z] [2021-11-08T19:18:58.076Z] Login Succeeded [2021-11-08T19:18:58.076Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T19:18:58.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-08T19:18:58.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T19:18:58.236Z] ========================================================= [2021-11-08T19:18:58.236Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-08T19:18:58.236Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:18:58.541Z] + 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-08T19:18:58.541Z] Sending build context to Docker daemon 2.732MB [2021-11-08T19:18:58.541Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T19:18:58.541Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-08T19:18:58.541Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-08T19:18:58.541Z] a0d0a0d46f8b: Pulling fs layer [2021-11-08T19:18:58.541Z] 31adcdaf11c8: Pulling fs layer [2021-11-08T19:18:58.541Z] b8b176561691: Pulling fs layer [2021-11-08T19:18:58.541Z] 4527c011a84f: Pulling fs layer [2021-11-08T19:18:58.541Z] 5d74067f8e1e: Pulling fs layer [2021-11-08T19:18:58.541Z] e0aca202a116: Pulling fs layer [2021-11-08T19:18:58.541Z] 3a43be97a3b4: Pulling fs layer [2021-11-08T19:18:58.541Z] 34cad66bf833: Pulling fs layer [2021-11-08T19:18:58.541Z] b4e3c513aaa6: Pulling fs layer [2021-11-08T19:18:58.541Z] 4527c011a84f: Waiting [2021-11-08T19:18:58.541Z] 3a43be97a3b4: Waiting [2021-11-08T19:18:58.541Z] 34cad66bf833: Waiting [2021-11-08T19:18:58.541Z] b4e3c513aaa6: Waiting [2021-11-08T19:18:58.541Z] 5d74067f8e1e: Waiting [2021-11-08T19:18:58.541Z] e0aca202a116: Waiting [2021-11-08T19:18:58.541Z] b8b176561691: Verifying Checksum [2021-11-08T19:18:58.541Z] b8b176561691: Download complete [2021-11-08T19:18:58.541Z] 31adcdaf11c8: Verifying Checksum [2021-11-08T19:18:58.541Z] 31adcdaf11c8: Download complete [2021-11-08T19:18:58.541Z] 5d74067f8e1e: Verifying Checksum [2021-11-08T19:18:58.541Z] 5d74067f8e1e: Download complete [2021-11-08T19:18:58.541Z] e0aca202a116: Verifying Checksum [2021-11-08T19:18:58.541Z] e0aca202a116: Download complete [2021-11-08T19:18:58.809Z] a0d0a0d46f8b: Verifying Checksum [2021-11-08T19:18:58.809Z] a0d0a0d46f8b: Download complete [2021-11-08T19:18:58.809Z] 3a43be97a3b4: Verifying Checksum [2021-11-08T19:18:58.809Z] 3a43be97a3b4: Download complete [2021-11-08T19:18:58.809Z] 34cad66bf833: Verifying Checksum [2021-11-08T19:18:58.809Z] 34cad66bf833: Download complete [2021-11-08T19:18:59.071Z] a0d0a0d46f8b: Pull complete [2021-11-08T19:18:59.333Z] 4527c011a84f: Verifying Checksum [2021-11-08T19:18:59.333Z] 4527c011a84f: Download complete [2021-11-08T19:18:59.333Z] 31adcdaf11c8: Pull complete [2021-11-08T19:18:59.333Z] b4e3c513aaa6: Verifying Checksum [2021-11-08T19:18:59.333Z] b4e3c513aaa6: Download complete [2021-11-08T19:18:59.333Z] b8b176561691: Pull complete [2021-11-08T19:19:00.462Z] using credential edgex-jenkins-ssh [2021-11-08T19:19:00.480Z] Cloning the remote Git repository [2021-11-08T19:19:00.598Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T19:19:00.718Z] > git init /w/workspace/device-sdk-go/28 # timeout=10 [2021-11-08T19:19:00.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T19:19:00.871Z] > git --version # timeout=10 [2021-11-08T19:19:00.894Z] > git --version # 'git version 2.17.1' [2021-11-08T19:19:00.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T19:19:00.977Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T19:19:02.370Z] Avoid second fetch [2021-11-08T19:19:02.371Z] Checking out Revision 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc (main) [2021-11-08T19:19:02.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T19:19:02.356Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T19:19:02.403Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T19:19:02.430Z] > git checkout -f 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-08T19:19:03.582Z] 4527c011a84f: Pull complete [2021-11-08T19:19:03.582Z] 5d74067f8e1e: Pull complete [2021-11-08T19:19:03.582Z] e0aca202a116: Pull complete [2021-11-08T19:19:03.582Z] 3a43be97a3b4: Pull complete [2021-11-08T19:19:03.582Z] 34cad66bf833: Pull complete [2021-11-08T19:19:06.137Z] b4e3c513aaa6: Pull complete [2021-11-08T19:19:06.138Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-08T19:19:06.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-08T19:19:06.138Z] ---> 9f6097aaca64 [2021-11-08T19:19:06.138Z] Step 3/10 : ARG MAKE=make build [2021-11-08T19:19:06.672Z] Commit message: "Merge pull request #1058 from lenny-intel/corrilation-id" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T19:19:07.505Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-08T19:19:07.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T19:19:07.505Z] Dload Upload Total Spent Left Speed [2021-11-08T19:19:07.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 69964 0 --:--:-- --:--:-- --:--:-- 70380 [Pipeline] sh [2021-11-08T19:19:07.912Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-08T19:19:08.253Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2021-11-08T19:19:08.253Z] tee /etc/docker/daemon.new [2021-11-08T19:19:08.253Z] { [2021-11-08T19:19:08.253Z] "registry-mirrors": [ [2021-11-08T19:19:08.253Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-08T19:19:08.253Z] ], [2021-11-08T19:19:08.253Z] "bip": "10.250.0.254/24", [2021-11-08T19:19:08.253Z] "hosts": [ [2021-11-08T19:19:08.253Z] "tcp://0.0.0.0:5555", [2021-11-08T19:19:08.253Z] "unix:///var/run/docker.sock" [2021-11-08T19:19:08.253Z] ], [2021-11-08T19:19:08.253Z] "mtu": 1458, [2021-11-08T19:19:08.253Z] "selinux-enabled": true, [2021-11-08T19:19:08.253Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-08T19:19:08.253Z] } [Pipeline] sh [2021-11-08T19:19:08.595Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-08T19:19:08.936Z] + sudo service docker restart [2021-11-08T19:19:11.443Z] ---> Running in 968aca3d8dbe [2021-11-08T19:19:11.443Z] Removing intermediate container 968aca3d8dbe [2021-11-08T19:19:11.443Z] ---> cd85b128f76e [2021-11-08T19:19:11.443Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-08T19:19:11.443Z] ---> Running in 91926d49f514 [2021-11-08T19:19:11.443Z] Removing intermediate container 91926d49f514 [2021-11-08T19:19:11.443Z] ---> 232c178cdb8a [2021-11-08T19:19:11.443Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T19:19:11.443Z] ---> Running in 8b4ed688f729 [2021-11-08T19:19:11.443Z] Removing intermediate container 8b4ed688f729 [2021-11-08T19:19:11.443Z] ---> 8f4ab4946a02 [2021-11-08T19:19:11.443Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T19:19:11.443Z] ---> Running in 3d83e58e3c69 [2021-11-08T19:19:11.705Z] Removing intermediate container 3d83e58e3c69 [2021-11-08T19:19:11.705Z] ---> 5b1d4063ee08 [2021-11-08T19:19:11.705Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T19:19:11.705Z] ---> Running in 1170dd156862 [2021-11-08T19:19:11.966Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T19:19:17.266Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) [2021-11-08T19:19:17.266Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T19:19:22.571Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) [2021-11-08T19:19:22.571Z] OK: 220 MiB in 52 packages [2021-11-08T19:19:22.571Z] Removing intermediate container 1170dd156862 [2021-11-08T19:19:22.571Z] ---> abd6377d4ae1 [2021-11-08T19:19:22.571Z] Step 8/10 : COPY . . [2021-11-08T19:19:22.571Z] ---> f5452f572ea7 [2021-11-08T19:19:22.571Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T19:19:22.571Z] ---> Running in 25afb637c7ef [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T19:19:27.255Z] provisioning config files... [2021-11-08T19:19:27.279Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/28@tmp/config8171506563178853055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:19:27.635Z] ---> docker-login.sh [2021-11-08T19:19:27.635Z] nexus3.edgexfoundry.org:10001 [2021-11-08T19:19:28.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:19:28.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:19:28.506Z] Configure a credential helper to remove this warning. See [2021-11-08T19:19:28.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:19:28.506Z] [2021-11-08T19:19:28.506Z] Login Succeeded [2021-11-08T19:19:28.506Z] nexus3.edgexfoundry.org:10002 [2021-11-08T19:19:29.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:19:29.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:19:29.100Z] Configure a credential helper to remove this warning. See [2021-11-08T19:19:29.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:19:29.100Z] [2021-11-08T19:19:29.100Z] Login Succeeded [2021-11-08T19:19:29.100Z] nexus3.edgexfoundry.org:10003 [2021-11-08T19:19:29.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:19:29.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:19:29.651Z] Configure a credential helper to remove this warning. See [2021-11-08T19:19:29.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:19:29.651Z] [2021-11-08T19:19:29.651Z] Login Succeeded [2021-11-08T19:19:29.651Z] nexus3.edgexfoundry.org:10004 [2021-11-08T19:19:29.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:19:29.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:19:29.925Z] Configure a credential helper to remove this warning. See [2021-11-08T19:19:29.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:19:29.925Z] [2021-11-08T19:19:29.925Z] Login Succeeded [2021-11-08T19:19:29.925Z] docker.io [2021-11-08T19:19:30.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T19:19:30.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T19:19:30.796Z] Configure a credential helper to remove this warning. See [2021-11-08T19:19:30.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T19:19:30.796Z] [2021-11-08T19:19:30.796Z] Login Succeeded [2021-11-08T19:19:30.796Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T19:19:30.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-08T19:19:31.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T19:19:31.506Z] ========================================================= [2021-11-08T19:19:31.506Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-08T19:19:31.506Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:19:31.870Z] + 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-08T19:19:32.143Z] Sending build context to Docker daemon 2.731MB [2021-11-08T19:19:32.416Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T19:19:32.416Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-08T19:19:32.416Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-08T19:19:32.416Z] 552d1f2373af: Pulling fs layer [2021-11-08T19:19:32.416Z] ea3f2d53f512: Pulling fs layer [2021-11-08T19:19:32.416Z] 9e70ebbbe112: Pulling fs layer [2021-11-08T19:19:32.416Z] 7a9cfe048b4a: Pulling fs layer [2021-11-08T19:19:32.416Z] 72dc09318566: Pulling fs layer [2021-11-08T19:19:32.416Z] f4f7b4309257: Pulling fs layer [2021-11-08T19:19:32.416Z] 0ac9a79272e3: Pulling fs layer [2021-11-08T19:19:32.416Z] b78e95d17946: Pulling fs layer [2021-11-08T19:19:32.416Z] 7a9cfe048b4a: Waiting [2021-11-08T19:19:32.416Z] 72dc09318566: Waiting [2021-11-08T19:19:32.416Z] f4f7b4309257: Waiting [2021-11-08T19:19:32.416Z] b78e95d17946: Waiting [2021-11-08T19:19:32.416Z] 0ac9a79272e3: Waiting [2021-11-08T19:19:32.416Z] 9e70ebbbe112: Verifying Checksum [2021-11-08T19:19:32.416Z] 9e70ebbbe112: Download complete [2021-11-08T19:19:32.416Z] ea3f2d53f512: Verifying Checksum [2021-11-08T19:19:32.416Z] ea3f2d53f512: Download complete [2021-11-08T19:19:32.416Z] 72dc09318566: Verifying Checksum [2021-11-08T19:19:32.416Z] 72dc09318566: Download complete [2021-11-08T19:19:32.692Z] f4f7b4309257: Verifying Checksum [2021-11-08T19:19:32.692Z] f4f7b4309257: Download complete [2021-11-08T19:19:32.692Z] 552d1f2373af: Verifying Checksum [2021-11-08T19:19:32.692Z] 552d1f2373af: Download complete [2021-11-08T19:19:32.692Z] 0ac9a79272e3: Verifying Checksum [2021-11-08T19:19:32.692Z] 0ac9a79272e3: Download complete [2021-11-08T19:19:33.288Z] 552d1f2373af: Pull complete [2021-11-08T19:19:33.889Z] ea3f2d53f512: Pull complete [2021-11-08T19:19:34.167Z] 9e70ebbbe112: Pull complete [2021-11-08T19:19:34.438Z] b78e95d17946: Verifying Checksum [2021-11-08T19:19:34.438Z] b78e95d17946: Download complete [2021-11-08T19:19:35.031Z] 7a9cfe048b4a: Verifying Checksum [2021-11-08T19:19:35.031Z] 7a9cfe048b4a: Download complete [2021-11-08T19:19:45.186Z] 7a9cfe048b4a: Pull complete [2021-11-08T19:19:45.186Z] 72dc09318566: Pull complete [2021-11-08T19:19:45.460Z] f4f7b4309257: Pull complete [2021-11-08T19:19:45.734Z] 0ac9a79272e3: Pull complete [2021-11-08T19:19:51.168Z] b78e95d17946: Pull complete [2021-11-08T19:19:51.443Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-08T19:19:51.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-08T19:19:51.443Z] ---> 8b459fc5aaf0 [2021-11-08T19:19:51.443Z] Step 3/10 : ARG MAKE=make build [2021-11-08T19:19:53.425Z] ---> Running in 613b5c6fd21f [2021-11-08T19:19:53.425Z] Removing intermediate container 613b5c6fd21f [2021-11-08T19:19:53.425Z] ---> 8d5c4a804eb6 [2021-11-08T19:19:53.425Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-08T19:19:53.698Z] ---> Running in 1d6665e5b419 [2021-11-08T19:19:53.973Z] Removing intermediate container 1d6665e5b419 [2021-11-08T19:19:53.973Z] ---> cefa663ceb67 [2021-11-08T19:19:53.973Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T19:19:54.246Z] ---> Running in 066058322bd3 [2021-11-08T19:19:54.518Z] Removing intermediate container 066058322bd3 [2021-11-08T19:19:54.518Z] ---> 5367625a10e2 [2021-11-08T19:19:54.518Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T19:19:54.791Z] ---> Running in 75825e2f8a79 [2021-11-08T19:19:56.786Z] Removing intermediate container 75825e2f8a79 [2021-11-08T19:19:56.786Z] ---> e3483281db3c [2021-11-08T19:19:56.786Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T19:19:56.786Z] ---> Running in 8450c965b7fc [2021-11-08T19:19:58.219Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T19:19:58.812Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T19:19:59.784Z] OK: 219 MiB in 52 packages [2021-11-08T19:20:00.764Z] Removing intermediate container 8450c965b7fc [2021-11-08T19:20:00.764Z] ---> 1c89e42a2ff2 [2021-11-08T19:20:00.764Z] Step 8/10 : COPY . . [2021-11-08T19:20:01.396Z] Removing intermediate container 25afb637c7ef [2021-11-08T19:20:01.396Z] ---> 71c724424a83 [2021-11-08T19:20:01.396Z] Step 10/10 : RUN ${MAKE} [2021-11-08T19:20:01.396Z] ---> Running in 80e4d15dae5b [2021-11-08T19:20:01.396Z] noop [2021-11-08T19:20:01.396Z] Removing intermediate container 80e4d15dae5b [2021-11-08T19:20:01.396Z] ---> 7cf072c1288d [2021-11-08T19:20:01.396Z] Successfully built 7cf072c1288d [2021-11-08T19:20:01.396Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:20:01.700Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-08T19:20:01.700Z] . [Pipeline] withDockerContainer [2021-11-08T19:20:01.769Z] prd-centos7-docker-4c-2g-27965 does not seem to be running inside a container [2021-11-08T19:20:01.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@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-08T19:20:02.168Z] $ docker top b477f94da7b5bb534b5e30eb52da00bebb0f4425bd6aca0186f939f891e8ecc8 -eo pid,comm [2021-11-08T19:20:02.197Z] ---> 141ad0651f9a [2021-11-08T19:20:02.197Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T19:20:02.197Z] ---> Running in 3fc8e24d439c [Pipeline] { [Pipeline] sh [2021-11-08T19:20:02.544Z] + go version [2021-11-08T19:20:02.544Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-08T19:20:02.560Z] $ docker stop --time=1 b477f94da7b5bb534b5e30eb52da00bebb0f4425bd6aca0186f939f891e8ecc8 [2021-11-08T19:20:03.739Z] $ docker rm -f b477f94da7b5bb534b5e30eb52da00bebb0f4425bd6aca0186f939f891e8ecc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:20:04.195Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-08T19:20:04.195Z] . [Pipeline] withDockerContainer [2021-11-08T19:20:04.259Z] prd-centos7-docker-4c-2g-27965 does not seem to be running inside a container [2021-11-08T19:20:04.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@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-08T19:20:04.622Z] $ docker top 5c833dfec3915142ad0079c12e8c4636f2f1de78e48066e6c9f72edc25085128 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-08T19:20:05.013Z] + make test [2021-11-08T19:20:05.013Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-08T19:20:10.379Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-08T19:20:37.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-08T19:20:37.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-08T19:20:37.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-08T19:20:37.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.5% of statements [2021-11-08T19:20:37.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-08T19:20:37.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 27.6% of statements [2021-11-08T19:20:37.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements [2021-11-08T19:20:37.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2021-11-08T19:20:37.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-08T19:20:37.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-08T19:20:37.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-08T19:20:37.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements [2021-11-08T19:20:37.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-08T19:20:38.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 83.3% of statements [2021-11-08T19:20:38.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-08T19:20:38.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-08T19:20:38.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.8% of statements [2021-11-08T19:20:39.696Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.826s coverage: 89.2% of statements [2021-11-08T19:20:39.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-08T19:20:39.696Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-11-08T19:20:39.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-08T19:20:39.960Z] GO111MODULE=on go vet ./... [2021-11-08T19:20:58.183Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-08T19:20:58.183Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-08T19:20:58.183Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-08T19:20:58.197Z] $ docker stop --time=1 5c833dfec3915142ad0079c12e8c4636f2f1de78e48066e6c9f72edc25085128 [2021-11-08T19:20:59.884Z] $ docker rm -f 5c833dfec3915142ad0079c12e8c4636f2f1de78e48066e6c9f72edc25085128 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T19:21:00.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-08T19:21:00.509Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-08T19:21:01.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-08T19:21:02.076Z] + ls -al . [2021-11-08T19:21:02.076Z] total 264 [2021-11-08T19:21:02.076Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 8 19:20 . [2021-11-08T19:21:02.076Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 8 19:18 .. [2021-11-08T19:21:02.076Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 8 19:18 bin [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 8 19:18 CHANGELOG.md [2021-11-08T19:21:02.076Z] -rw-r--r--. 1 jenkins jenkins 127568 Nov 8 19:20 coverage.out [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 8 19:18 .dockerignore [2021-11-08T19:21:02.076Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 8 19:18 example [2021-11-08T19:21:02.076Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 8 19:18 .git [2021-11-08T19:21:02.076Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 8 19:18 .github [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 8 19:18 .gitignore [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 8 19:18 go.mod [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 8 19:18 go.sum [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 8 19:18 GOVERNANCE.md [2021-11-08T19:21:02.076Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 8 19:18 internal [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 8 19:18 Jenkinsfile [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 8 19:18 LICENSE [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 8 19:18 Makefile [2021-11-08T19:21:02.076Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 8 19:18 openapi [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 8 19:18 OWNERS.md [2021-11-08T19:21:02.076Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 8 19:18 pkg [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 8 19:18 README.md [2021-11-08T19:21:02.076Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 8 19:18 snap [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 8 19:16 VERSION [2021-11-08T19:21:02.076Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 8 19:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:21:02.375Z] + 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=7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc --label arch=amd64 --label version=2.0.1-dev.29 . [2021-11-08T19:21:02.375Z] Sending build context to Docker daemon 2.861MB [2021-11-08T19:21:02.375Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T19:21:02.375Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-08T19:21:02.375Z] ---> 7cf072c1288d [2021-11-08T19:21:02.375Z] Step 3/24 : ARG MAKE=make build [2021-11-08T19:21:02.375Z] ---> Running in cdb1e0a8f464 [2021-11-08T19:21:02.375Z] Removing intermediate container cdb1e0a8f464 [2021-11-08T19:21:02.375Z] ---> f453108eb1b6 [2021-11-08T19:21:02.375Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-08T19:21:02.641Z] ---> Running in 08005b5e51ac [2021-11-08T19:21:02.641Z] Removing intermediate container 08005b5e51ac [2021-11-08T19:21:02.641Z] ---> 542d7d27b15d [2021-11-08T19:21:02.641Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T19:21:02.641Z] ---> Running in 4444b82d0326 [2021-11-08T19:21:02.641Z] Removing intermediate container 4444b82d0326 [2021-11-08T19:21:02.641Z] ---> 97bdd5edfe51 [2021-11-08T19:21:02.641Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T19:21:02.901Z] ---> Running in 6e539b99c6a9 [2021-11-08T19:21:03.163Z] Removing intermediate container 6e539b99c6a9 [2021-11-08T19:21:03.163Z] ---> 9fba34a1d045 [2021-11-08T19:21:03.163Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T19:21:03.163Z] ---> Running in 9f49dc6a7d4b [2021-11-08T19:21:03.423Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T19:21:04.363Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T19:21:04.622Z] OK: 220 MiB in 52 packages [2021-11-08T19:21:04.884Z] Removing intermediate container 9f49dc6a7d4b [2021-11-08T19:21:04.884Z] ---> 620662c688ca [2021-11-08T19:21:04.884Z] Step 8/24 : COPY . . [2021-11-08T19:21:05.152Z] ---> 94f33ea49a8f [2021-11-08T19:21:05.152Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T19:21:05.152Z] ---> Running in 9b7772d23000 [2021-11-08T19:21:05.726Z] Removing intermediate container 9b7772d23000 [2021-11-08T19:21:05.726Z] ---> 619df299068c [2021-11-08T19:21:05.726Z] Step 10/24 : RUN ${MAKE} [2021-11-08T19:21:05.726Z] ---> Running in 4bd304d2ff4d [2021-11-08T19:21:05.988Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.29" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-08T19:21:18.268Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-08T19:21:18.268Z] Removing intermediate container 4bd304d2ff4d [2021-11-08T19:21:18.268Z] ---> 42ed945a5efa [2021-11-08T19:21:18.268Z] Step 11/24 : FROM alpine:3.14 [2021-11-08T19:21:21.568Z] 3.14: Pulling from library/alpine [2021-11-08T19:21:21.568Z] a0d0a0d46f8b: Already exists [2021-11-08T19:21:21.568Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-08T19:21:21.568Z] Status: Downloaded newer image for alpine:3.14 [2021-11-08T19:21:21.568Z] ---> 14119a10abf4 [2021-11-08T19:21:21.568Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T19:21:21.827Z] ---> Running in e348be1944b5 [2021-11-08T19:21:21.827Z] Removing intermediate container e348be1944b5 [2021-11-08T19:21:21.827Z] ---> 3101d3021226 [2021-11-08T19:21:21.827Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T19:21:21.827Z] ---> Running in d94c29dc38cc [2021-11-08T19:21:22.086Z] Removing intermediate container d94c29dc38cc [2021-11-08T19:21:22.086Z] ---> 1f3308b5cf18 [2021-11-08T19:21:22.086Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-08T19:21:22.346Z] ---> Running in f2a1cb56b377 [2021-11-08T19:21:22.346Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T19:21:23.286Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T19:21:23.546Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-08T19:21:23.806Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-08T19:21:23.806Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-08T19:21:23.806Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-08T19:21:24.065Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-08T19:21:24.065Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T19:21:24.065Z] OK: 8 MiB in 19 packages [2021-11-08T19:21:24.142Z] Removing intermediate container 3fc8e24d439c [2021-11-08T19:21:24.142Z] ---> 46b3671a6f16 [2021-11-08T19:21:24.142Z] Step 10/10 : RUN ${MAKE} [2021-11-08T19:21:24.142Z] ---> Running in 337464408bdb [2021-11-08T19:21:24.142Z] noop [2021-11-08T19:21:24.142Z] Removing intermediate container 337464408bdb [2021-11-08T19:21:24.142Z] ---> 6f911a073ef5 [2021-11-08T19:21:24.142Z] Successfully built 6f911a073ef5 [2021-11-08T19:21:24.142Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:21:24.326Z] Removing intermediate container f2a1cb56b377 [2021-11-08T19:21:24.326Z] ---> 73310d541953 [2021-11-08T19:21:24.326Z] Step 15/24 : WORKDIR / [2021-11-08T19:21:24.326Z] ---> Running in 3edc472d605c [2021-11-08T19:21:24.326Z] Removing intermediate container 3edc472d605c [2021-11-08T19:21:24.326Z] ---> 496fe71aa15f [2021-11-08T19:21:24.326Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-08T19:21:24.490Z] + docker inspect -f . ci-base-image-arm64 [2021-11-08T19:21:24.490Z] . [Pipeline] withDockerContainer [2021-11-08T19:21:24.586Z] ---> e86763f64aa3 [2021-11-08T19:21:24.586Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-08T19:21:24.767Z] prd-ubuntu18.04-docker-arm64-4c-16g-27963 does not seem to be running inside a container [2021-11-08T19:21:24.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@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-08T19:21:25.158Z] ---> 7cb34132cade [2021-11-08T19:21:25.158Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-08T19:21:25.158Z] ---> 2d44e1130aa2 [2021-11-08T19:21:25.158Z] Step 19/24 : EXPOSE 59999 [2021-11-08T19:21:25.158Z] ---> Running in 9d480c73c77d [2021-11-08T19:21:25.418Z] Removing intermediate container 9d480c73c77d [2021-11-08T19:21:25.418Z] ---> 0c0951d0bc99 [2021-11-08T19:21:25.418Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-08T19:21:25.418Z] ---> Running in fec2219b4fbe [2021-11-08T19:21:25.418Z] Removing intermediate container fec2219b4fbe [2021-11-08T19:21:25.418Z] ---> 75d20c4c1f65 [2021-11-08T19:21:25.418Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-08T19:21:25.418Z] ---> Running in fed11288ae7b [2021-11-08T19:21:25.676Z] Removing intermediate container fed11288ae7b [2021-11-08T19:21:25.676Z] ---> 82ae050f5ea6 [2021-11-08T19:21:25.676Z] Step 22/24 : LABEL arch=amd64 [2021-11-08T19:21:25.676Z] ---> Running in ef8a3e5f93db [2021-11-08T19:21:25.676Z] Removing intermediate container ef8a3e5f93db [2021-11-08T19:21:25.676Z] ---> 3ee5ed054438 [2021-11-08T19:21:25.676Z] Step 23/24 : LABEL git_sha=7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [2021-11-08T19:21:25.676Z] ---> Running in 6b55472cf0ac [2021-11-08T19:21:25.676Z] Removing intermediate container 6b55472cf0ac [2021-11-08T19:21:25.676Z] ---> 63e71ddfaa84 [2021-11-08T19:21:25.676Z] Step 24/24 : LABEL version=2.0.1-dev.29 [2021-11-08T19:21:25.676Z] ---> Running in 6a114aca8b86 [2021-11-08T19:21:25.936Z] Removing intermediate container 6a114aca8b86 [2021-11-08T19:21:25.936Z] ---> e05e9f777d27 [2021-11-08T19:21:25.936Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-08T19:21:25.936Z] Successfully built e05e9f777d27 [2021-11-08T19:21:25.936Z] Successfully tagged device-sdk-simple:latest [2021-11-08T19:21:26.462Z] $ docker top e79db464e92b28f1499520d17147f2c1451ae85959eae0bf9605c92f25b503b6 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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-08T19:21:27.433Z] + go version [2021-11-08T19:21:27.433Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-08T19:21:27.467Z] $ docker stop --time=1 e79db464e92b28f1499520d17147f2c1451ae85959eae0bf9605c92f25b503b6 [2021-11-08T19:21:27.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T19:21:27.521Z] [2021-11-08T19:21:27.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T19:21:29.230Z] $ docker rm -f e79db464e92b28f1499520d17147f2c1451ae85959eae0bf9605c92f25b503b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:21:29.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T19:21:29.838Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-08T19:21:29.838Z] b4d181a07f80: Pulling fs layer [2021-11-08T19:21:29.838Z] a1111a8f2ec3: Pulling fs layer [2021-11-08T19:21:29.838Z] ed53099fbce6: Pulling fs layer [2021-11-08T19:21:29.838Z] dc539afda2c1: Pulling fs layer [2021-11-08T19:21:29.838Z] 77bc0d833cb6: Pulling fs layer [2021-11-08T19:21:29.838Z] 9065ff56babe: Pulling fs layer [2021-11-08T19:21:29.838Z] d287ab97295c: Pulling fs layer [2021-11-08T19:21:29.838Z] 77bc0d833cb6: Waiting [2021-11-08T19:21:29.838Z] 9065ff56babe: Waiting [2021-11-08T19:21:29.838Z] d287ab97295c: Waiting [2021-11-08T19:21:29.838Z] dc539afda2c1: Waiting [2021-11-08T19:21:29.838Z] a1111a8f2ec3: Verifying Checksum [2021-11-08T19:21:29.838Z] a1111a8f2ec3: Download complete [2021-11-08T19:21:29.838Z] dc539afda2c1: Verifying Checksum [2021-11-08T19:21:29.838Z] dc539afda2c1: Download complete [2021-11-08T19:21:29.934Z] + docker inspect -f . ci-base-image-arm64 [2021-11-08T19:21:29.934Z] . [Pipeline] withDockerContainer [2021-11-08T19:21:30.097Z] 77bc0d833cb6: Verifying Checksum [2021-11-08T19:21:30.097Z] 77bc0d833cb6: Download complete [2021-11-08T19:21:30.097Z] 9065ff56babe: Verifying Checksum [2021-11-08T19:21:30.097Z] 9065ff56babe: Download complete [2021-11-08T19:21:30.097Z] ed53099fbce6: Verifying Checksum [2021-11-08T19:21:30.097Z] ed53099fbce6: Download complete [2021-11-08T19:21:30.097Z] b4d181a07f80: Verifying Checksum [2021-11-08T19:21:30.097Z] b4d181a07f80: Download complete [2021-11-08T19:21:30.204Z] prd-ubuntu18.04-docker-arm64-4c-16g-27963 does not seem to be running inside a container [2021-11-08T19:21:30.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@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-08T19:21:30.673Z] d287ab97295c: Verifying Checksum [2021-11-08T19:21:30.673Z] d287ab97295c: Download complete [2021-11-08T19:21:31.634Z] b4d181a07f80: Pull complete [2021-11-08T19:21:31.634Z] a1111a8f2ec3: Pull complete [2021-11-08T19:21:31.866Z] $ docker top 0a7adb63a8222b76cf40522e9b5adaba6c177e79dfa76b9646ec94ef5b9dfadb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-08T19:21:32.219Z] ed53099fbce6: Pull complete [2021-11-08T19:21:32.219Z] dc539afda2c1: Pull complete [2021-11-08T19:21:32.478Z] 77bc0d833cb6: Pull complete [2021-11-08T19:21:32.478Z] 9065ff56babe: Pull complete [2021-11-08T19:21:32.834Z] + make test [2021-11-08T19:21:32.834Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-08T19:21:37.811Z] d287ab97295c: Pull complete [2021-11-08T19:21:37.811Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-08T19:21:37.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T19:21:37.811Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-08T19:21:37.870Z] prd-centos7-docker-4c-2g-27965 does not seem to be running inside a container [2021-11-08T19:21:37.910Z] $ 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/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@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-08T19:21:40.939Z] $ docker top db55c56d5191a4f46bc6154a44e27bf20e72b5543b436a6ce50dba5c4139bf32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:21:41.390Z] ---> job-cost.sh [2021-11-08T19:21:41.390Z] lf-activate-venv: SKIPPING [2021-11-08T19:21:41.390Z] INFO: No Stack... [2021-11-08T19:21:41.650Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-08T19:21:41.910Z] INFO: Archiving Costs [Pipeline] sh [2021-11-08T19:21:42.230Z] + cat /w/workspace/device-sdk-go/28/archives/cost.csv [2021-11-08T19:21:42.230Z] + cut -d, -f6 [Pipeline] lock [2021-11-08T19:21:42.257Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-28-stack-cost] [2021-11-08T19:21:42.263Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-28-stack-cost] did not exist. Created. [2021-11-08T19:21:42.263Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-08T19:21:42.570Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-08T19:21:42.614Z] Stashed 1 file(s) [Pipeline] } [2021-11-08T19:21:42.619Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-08T19:21:42.639Z] $ docker stop --time=1 db55c56d5191a4f46bc6154a44e27bf20e72b5543b436a6ce50dba5c4139bf32 [2021-11-08T19:21:43.766Z] $ docker rm -f db55c56d5191a4f46bc6154a44e27bf20e72b5543b436a6ce50dba5c4139bf32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-08T19:21:59.631Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-08T19:23:07.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-08T19:23:07.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-08T19:23:07.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-08T19:23:20.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.348s coverage: 23.5% of statements [2021-11-08T19:23:20.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-08T19:23:20.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.215s coverage: 27.6% of statements [2021-11-08T19:23:20.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.239s coverage: 78.9% of statements [2021-11-08T19:23:20.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.214s coverage: 9.0% of statements [2021-11-08T19:23:20.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-08T19:23:20.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-08T19:23:20.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-08T19:23:21.607Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.326s coverage: 28.7% of statements [2021-11-08T19:23:21.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-08T19:23:22.215Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.422s coverage: 83.3% of statements [2021-11-08T19:23:22.215Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-08T19:23:22.215Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-08T19:23:22.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.396s coverage: 57.8% of statements [2021-11-08T19:23:28.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.099s coverage: 89.2% of statements [2021-11-08T19:23:28.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-08T19:23:28.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.214s coverage: 4.9% of statements [2021-11-08T19:23:28.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-08T19:23:28.250Z] GO111MODULE=on go vet ./... [2021-11-08T19:24:36.338Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-08T19:24:36.338Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-08T19:24:36.338Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-08T19:24:36.373Z] $ docker stop --time=1 0a7adb63a8222b76cf40522e9b5adaba6c177e79dfa76b9646ec94ef5b9dfadb [2021-11-08T19:24:38.239Z] $ docker rm -f 0a7adb63a8222b76cf40522e9b5adaba6c177e79dfa76b9646ec94ef5b9dfadb [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T19:24:39.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-08T19:24:39.476Z] Warning: overwriting stash ‘coverage-report’ [2021-11-08T19:24:40.188Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T19:24:40.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-08T19:24:41.031Z] + ls -al . [2021-11-08T19:24:41.031Z] total 300 [2021-11-08T19:24:41.031Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:24 . [2021-11-08T19:24:41.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:19 .. [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 19:19 .dockerignore [2021-11-08T19:24:41.031Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:19 .git [2021-11-08T19:24:41.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:19 .github [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 8 19:19 .gitignore [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 8 19:19 CHANGELOG.md [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:19 GOVERNANCE.md [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 8 19:19 Jenkinsfile [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 19:19 LICENSE [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 8 19:19 Makefile [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 19:19 OWNERS.md [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 8 19:19 README.md [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 19:16 VERSION [2021-11-08T19:24:41.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:19 bin [2021-11-08T19:24:41.031Z] -rw-r--r-- 1 jenkins jenkins 127568 Nov 8 19:23 coverage.out [2021-11-08T19:24:41.031Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 19:19 example [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 8 19:19 go.mod [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 8 19:19 go.sum [2021-11-08T19:24:41.031Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 8 19:19 internal [2021-11-08T19:24:41.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:19 openapi [2021-11-08T19:24:41.031Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 19:19 pkg [2021-11-08T19:24:41.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:19 snap [2021-11-08T19:24:41.031Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 19:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:24:41.381Z] + 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=7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc --label arch=arm64 --label version=2.0.1-dev.29 . [2021-11-08T19:24:41.980Z] Sending build context to Docker daemon 2.86MB [2021-11-08T19:24:41.980Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T19:24:41.980Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-08T19:24:41.980Z] ---> 6f911a073ef5 [2021-11-08T19:24:41.980Z] Step 3/24 : ARG MAKE=make build [2021-11-08T19:24:41.980Z] ---> Running in 2b95c6534724 [2021-11-08T19:24:42.583Z] Removing intermediate container 2b95c6534724 [2021-11-08T19:24:42.583Z] ---> e7defcb0d5d2 [2021-11-08T19:24:42.583Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-08T19:24:42.583Z] ---> Running in 97f55b3e87c0 [2021-11-08T19:24:42.870Z] Removing intermediate container 97f55b3e87c0 [2021-11-08T19:24:42.870Z] ---> 2b9f7195fc0f [2021-11-08T19:24:42.870Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T19:24:43.149Z] ---> Running in 7ddfa0a67bcb [2021-11-08T19:24:43.424Z] Removing intermediate container 7ddfa0a67bcb [2021-11-08T19:24:43.424Z] ---> d5e29a128903 [2021-11-08T19:24:43.424Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T19:24:43.698Z] ---> Running in 39753ba45621 [2021-11-08T19:24:45.678Z] Removing intermediate container 39753ba45621 [2021-11-08T19:24:45.678Z] ---> 271c04dfe7fe [2021-11-08T19:24:45.678Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T19:24:45.678Z] ---> Running in 605ce3c6efc4 [2021-11-08T19:24:47.122Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T19:24:47.720Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T19:24:48.701Z] OK: 219 MiB in 52 packages [2021-11-08T19:24:49.320Z] Removing intermediate container 605ce3c6efc4 [2021-11-08T19:24:49.320Z] ---> f9137174b5d4 [2021-11-08T19:24:49.320Z] Step 8/24 : COPY . . [2021-11-08T19:24:50.757Z] ---> 44212d939094 [2021-11-08T19:24:50.757Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T19:24:50.757Z] ---> Running in 2994f1beae06 [2021-11-08T19:24:53.401Z] Removing intermediate container 2994f1beae06 [2021-11-08T19:24:53.401Z] ---> cf6b1017238b [2021-11-08T19:24:53.401Z] Step 10/24 : RUN ${MAKE} [2021-11-08T19:24:53.401Z] ---> Running in 7d72eff30813 [2021-11-08T19:24:54.383Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.29" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-08T19:25:33.412Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-08T19:25:33.412Z] Removing intermediate container 7d72eff30813 [2021-11-08T19:25:33.412Z] ---> ba22f4d1a096 [2021-11-08T19:25:33.412Z] Step 11/24 : FROM alpine:3.14 [2021-11-08T19:25:36.785Z] 3.14: Pulling from library/alpine [2021-11-08T19:25:36.785Z] 552d1f2373af: Already exists [2021-11-08T19:25:36.785Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-08T19:25:36.785Z] Status: Downloaded newer image for alpine:3.14 [2021-11-08T19:25:36.785Z] ---> bb3de5531c18 [2021-11-08T19:25:36.785Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T19:25:36.785Z] ---> Running in 0ba1be8985de [2021-11-08T19:25:37.058Z] Removing intermediate container 0ba1be8985de [2021-11-08T19:25:37.058Z] ---> e4916c0fd636 [2021-11-08T19:25:37.058Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T19:25:37.328Z] ---> Running in a5e69f9cc42a [2021-11-08T19:25:39.315Z] Removing intermediate container a5e69f9cc42a [2021-11-08T19:25:39.315Z] ---> dfff392b7848 [2021-11-08T19:25:39.315Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-08T19:25:39.315Z] ---> Running in b6a00230d961 [2021-11-08T19:25:40.302Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T19:25:41.282Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T19:25:42.266Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-08T19:25:42.266Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-08T19:25:42.539Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-08T19:25:42.539Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-08T19:25:42.812Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-08T19:25:42.812Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T19:25:42.812Z] OK: 8 MiB in 19 packages [2021-11-08T19:25:43.798Z] Removing intermediate container b6a00230d961 [2021-11-08T19:25:43.798Z] ---> 9c3af1418b70 [2021-11-08T19:25:43.798Z] Step 15/24 : WORKDIR / [2021-11-08T19:25:43.798Z] ---> Running in d2454848f154 [2021-11-08T19:25:44.395Z] Removing intermediate container d2454848f154 [2021-11-08T19:25:44.396Z] ---> 33b7abb17f35 [2021-11-08T19:25:44.396Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-08T19:25:44.993Z] ---> 44975939f080 [2021-11-08T19:25:44.993Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-08T19:25:45.967Z] ---> c7eafb147916 [2021-11-08T19:25:45.967Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-08T19:25:46.950Z] ---> 44a1d1ca7ffd [2021-11-08T19:25:46.950Z] Step 19/24 : EXPOSE 59999 [2021-11-08T19:25:46.950Z] ---> Running in e15cea021885 [2021-11-08T19:25:47.223Z] Removing intermediate container e15cea021885 [2021-11-08T19:25:47.223Z] ---> 4d76c8bd52e6 [2021-11-08T19:25:47.223Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-08T19:25:47.223Z] ---> Running in 2e0921a58a9a [2021-11-08T19:25:47.819Z] Removing intermediate container 2e0921a58a9a [2021-11-08T19:25:47.819Z] ---> b5e5e3e0d4ff [2021-11-08T19:25:47.819Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-08T19:25:47.819Z] ---> Running in 901aa0d01f6d [2021-11-08T19:25:48.092Z] Removing intermediate container 901aa0d01f6d [2021-11-08T19:25:48.092Z] ---> 088442bc0a1d [2021-11-08T19:25:48.092Z] Step 22/24 : LABEL arch=arm64 [2021-11-08T19:25:48.364Z] ---> Running in dd6252e8a0a2 [2021-11-08T19:25:48.640Z] Removing intermediate container dd6252e8a0a2 [2021-11-08T19:25:48.640Z] ---> d2e1a944105e [2021-11-08T19:25:48.640Z] Step 23/24 : LABEL git_sha=7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [2021-11-08T19:25:48.640Z] ---> Running in 47107aa7d76f [2021-11-08T19:25:49.235Z] Removing intermediate container 47107aa7d76f [2021-11-08T19:25:49.235Z] ---> 572ae3a011d5 [2021-11-08T19:25:49.235Z] Step 24/24 : LABEL version=2.0.1-dev.29 [2021-11-08T19:25:49.235Z] ---> Running in 63506f2867f9 [2021-11-08T19:25:49.507Z] Removing intermediate container 63506f2867f9 [2021-11-08T19:25:49.507Z] ---> 80002da545b3 [2021-11-08T19:25:49.507Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-08T19:25:49.777Z] Successfully built 80002da545b3 [2021-11-08T19:25:49.777Z] 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-08T19:25:50.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T19:25:50.339Z] [2021-11-08T19:25:50.339Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:25:50.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T19:25:50.962Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-08T19:25:50.962Z] 448f6bf000e3: Pulling fs layer [2021-11-08T19:25:50.962Z] f757da607395: Pulling fs layer [2021-11-08T19:25:50.962Z] 05883995daec: Pulling fs layer [2021-11-08T19:25:50.962Z] 8603b9c90790: Pulling fs layer [2021-11-08T19:25:50.962Z] 1560dd03e051: Pulling fs layer [2021-11-08T19:25:50.962Z] 27f5ce0e4adf: Pulling fs layer [2021-11-08T19:25:50.962Z] c2d8d7efcc4b: Pulling fs layer [2021-11-08T19:25:50.962Z] 1560dd03e051: Waiting [2021-11-08T19:25:50.962Z] 27f5ce0e4adf: Waiting [2021-11-08T19:25:50.962Z] c2d8d7efcc4b: Waiting [2021-11-08T19:25:50.962Z] 8603b9c90790: Waiting [2021-11-08T19:25:50.962Z] f757da607395: Verifying Checksum [2021-11-08T19:25:50.962Z] f757da607395: Download complete [2021-11-08T19:25:50.962Z] 8603b9c90790: Download complete [2021-11-08T19:25:51.236Z] 1560dd03e051: Download complete [2021-11-08T19:25:51.236Z] 05883995daec: Verifying Checksum [2021-11-08T19:25:51.236Z] 05883995daec: Download complete [2021-11-08T19:25:51.236Z] 27f5ce0e4adf: Verifying Checksum [2021-11-08T19:25:51.236Z] 27f5ce0e4adf: Download complete [2021-11-08T19:25:51.510Z] 448f6bf000e3: Verifying Checksum [2021-11-08T19:25:51.510Z] 448f6bf000e3: Download complete [2021-11-08T19:25:54.134Z] c2d8d7efcc4b: Verifying Checksum [2021-11-08T19:25:54.134Z] c2d8d7efcc4b: Download complete [2021-11-08T19:25:55.113Z] 448f6bf000e3: Pull complete [2021-11-08T19:25:55.710Z] f757da607395: Pull complete [2021-11-08T19:25:57.160Z] 05883995daec: Pull complete [2021-11-08T19:25:57.438Z] 8603b9c90790: Pull complete [2021-11-08T19:25:58.420Z] 1560dd03e051: Pull complete [2021-11-08T19:25:58.694Z] 27f5ce0e4adf: Pull complete [2021-11-08T19:26:13.804Z] c2d8d7efcc4b: Pull complete [2021-11-08T19:26:13.805Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-08T19:26:13.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T19:26:13.805Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-08T19:26:14.043Z] prd-ubuntu18.04-docker-arm64-4c-16g-27963 does not seem to be running inside a container [2021-11-08T19:26:14.154Z] $ 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/28 -v /w/workspace/device-sdk-go/28:/w/workspace/device-sdk-go/28:rw,z -v /w/workspace/device-sdk-go/28@tmp:/w/workspace/device-sdk-go/28@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-08T19:26:17.278Z] $ docker top 591dfe7943281b93051fbc8aaa46b3304826426e9cb10bd351f9365c1c7a452a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:26:18.216Z] ---> job-cost.sh [2021-11-08T19:26:18.216Z] lf-activate-venv: SKIPPING [2021-11-08T19:26:18.216Z] INFO: No Stack... [2021-11-08T19:26:19.659Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-08T19:26:19.659Z] INFO: Archiving Costs [Pipeline] sh [2021-11-08T19:26:20.328Z] + cat /w/workspace/device-sdk-go/28/archives/cost.csv [2021-11-08T19:26:20.328Z] + cut -d, -f6 [Pipeline] lock [2021-11-08T19:26:20.393Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-28-stack-cost] [2021-11-08T19:26:20.398Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-28-stack-cost] did not exist. Created. [2021-11-08T19:26:20.398Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-08T19:26:21.077Z] /w/workspace/device-sdk-go/28@tmp/durable-55debff6/script.sh: 1: /w/workspace/device-sdk-go/28@tmp/durable-55debff6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-08T19:26:21.744Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-08T19:26:21.773Z] Warning: overwriting stash ‘stack-cost’ [2021-11-08T19:26:21.838Z] Stashed 1 file(s) [Pipeline] } [2021-11-08T19:26:21.845Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-08T19:26:21.881Z] $ docker stop --time=1 591dfe7943281b93051fbc8aaa46b3304826426e9cb10bd351f9365c1c7a452a [2021-11-08T19:26:23.470Z] $ docker rm -f 591dfe7943281b93051fbc8aaa46b3304826426e9cb10bd351f9365c1c7a452a [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-08T19:26:24.208Z] provisioning config files... [2021-11-08T19:26:24.218Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3886688973875196499tmp [Pipeline] { [Pipeline] sh [2021-11-08T19:26:24.525Z] + set +x [2021-11-08T19:26:24.525Z] + bash -s -- [2021-11-08T19:26:24.525Z] + curl -s https://codecov.io/bash [2021-11-08T19:26:24.525Z] [2021-11-08T19:26:24.525Z] _____ _ [2021-11-08T19:26:24.525Z] / ____| | | [2021-11-08T19:26:24.525Z] | | ___ __| | ___ ___ _____ __ [2021-11-08T19:26:24.525Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-08T19:26:24.525Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-08T19:26:24.525Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-08T19:26:24.525Z] Bash-1.0.6 [2021-11-08T19:26:24.525Z] [2021-11-08T19:26:24.525Z] [2021-11-08T19:26:24.525Z] ==> git version 2.24.4 found [2021-11-08T19:26:24.525Z] ==> 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-08T19:26:24.525Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-08T19:26:24.525Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-08T19:26:24.525Z] ==> Jenkins CI detected. [2021-11-08T19:26:24.525Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-08T19:26:24.525Z] project root: . [2021-11-08T19:26:24.525Z] --> token set from env [2021-11-08T19:26:24.525Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-08T19:26:24.525Z] ==> Running gcov in . (disable via -X gcov) [2021-11-08T19:26:24.525Z] ==> Python coveragepy not found [2021-11-08T19:26:24.525Z] ==> Searching for coverage reports in: [2021-11-08T19:26:24.525Z] + . [2021-11-08T19:26:24.786Z] -> Found 1 reports [2021-11-08T19:26:24.786Z] ==> Detecting git/mercurial file structure [2021-11-08T19:26:24.786Z] ==> Reading reports [2021-11-08T19:26:24.786Z] + ./coverage.out bytes=127568 [2021-11-08T19:26:24.786Z] ==> Appending adjustments [2021-11-08T19:26:24.786Z] https://docs.codecov.io/docs/fixing-reports [2021-11-08T19:26:25.048Z] + Found adjustments [2021-11-08T19:26:25.048Z] ==> Gzipping contents [2021-11-08T19:26:25.048Z] 16K /tmp/codecov.IRGLu5.gz [2021-11-08T19:26:25.048Z] ==> Uploading reports [2021-11-08T19:26:25.048Z] url: https://codecov.io [2021-11-08T19:26:25.048Z] query: branch=main&commit=7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-08T19:26:25.048Z] -> Pinging Codecov [2021-11-08T19:26:25.048Z] 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=7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-08T19:26:25.318Z] -> Uploading to [2021-11-08T19:26:25.318Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-08/7E55EF52A471D76F132DFD9A03CDDE97/7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc/ad562c0d-6f3a-4ca7-9df7-930e46408b18.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211108T192625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62206a3455a944e605e6c681e3d94183704b9cd1159985e3037666d1f408885f [2021-11-08T19:26:25.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T19:26:25.318Z] Dload Upload Total Spent Left Speed [2021-11-08T19:26:25.852Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16262 0 0 100 16262 0 47027 --:--:-- --:--:-- --:--:-- 47000 [2021-11-08T19:26:25.852Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [Pipeline] } [2021-11-08T19:26:25.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-08T19:26:26.223Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-08T19:26:26.233Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:26:26.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-08T19:26:26.540Z] [2021-11-08T19:26:26.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:26:26.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-08T19:26:26.842Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-08T19:26:26.842Z] 188c0c94c7c5: Pulling fs layer [2021-11-08T19:26:26.842Z] 0ef7d3d256c8: Pulling fs layer [2021-11-08T19:26:26.842Z] de9db76c5a1d: Pulling fs layer [2021-11-08T19:26:26.842Z] 0eba1c9be4d2: Pulling fs layer [2021-11-08T19:26:26.842Z] 0d57e429df01: Pulling fs layer [2021-11-08T19:26:26.842Z] 4e4be7b47b0d: Pulling fs layer [2021-11-08T19:26:26.842Z] e1f770b5df2f: Pulling fs layer [2021-11-08T19:26:26.842Z] 85a0685a4137: Pulling fs layer [2021-11-08T19:26:26.842Z] 0eba1c9be4d2: Waiting [2021-11-08T19:26:26.842Z] 0d57e429df01: Waiting [2021-11-08T19:26:26.842Z] 4e4be7b47b0d: Waiting [2021-11-08T19:26:26.842Z] e1f770b5df2f: Waiting [2021-11-08T19:26:26.842Z] 85a0685a4137: Waiting [2021-11-08T19:26:26.842Z] de9db76c5a1d: Verifying Checksum [2021-11-08T19:26:26.842Z] de9db76c5a1d: Download complete [2021-11-08T19:26:26.842Z] 0ef7d3d256c8: Verifying Checksum [2021-11-08T19:26:26.842Z] 0ef7d3d256c8: Download complete [2021-11-08T19:26:26.842Z] 0d57e429df01: Verifying Checksum [2021-11-08T19:26:26.842Z] 0d57e429df01: Download complete [2021-11-08T19:26:26.842Z] 4e4be7b47b0d: Verifying Checksum [2021-11-08T19:26:26.842Z] 4e4be7b47b0d: Download complete [2021-11-08T19:26:26.842Z] 188c0c94c7c5: Verifying Checksum [2021-11-08T19:26:26.842Z] 188c0c94c7c5: Download complete [2021-11-08T19:26:27.107Z] e1f770b5df2f: Verifying Checksum [2021-11-08T19:26:27.107Z] e1f770b5df2f: Download complete [2021-11-08T19:26:27.370Z] 188c0c94c7c5: Pull complete [2021-11-08T19:26:27.634Z] 0eba1c9be4d2: Verifying Checksum [2021-11-08T19:26:27.634Z] 0eba1c9be4d2: Download complete [2021-11-08T19:26:27.634Z] 0ef7d3d256c8: Pull complete [2021-11-08T19:26:27.634Z] de9db76c5a1d: Pull complete [2021-11-08T19:26:27.898Z] 85a0685a4137: Verifying Checksum [2021-11-08T19:26:27.898Z] 85a0685a4137: Download complete [2021-11-08T19:26:31.231Z] 0eba1c9be4d2: Pull complete [2021-11-08T19:26:31.231Z] 0d57e429df01: Pull complete [2021-11-08T19:26:31.491Z] 4e4be7b47b0d: Pull complete [2021-11-08T19:26:32.059Z] e1f770b5df2f: Pull complete [2021-11-08T19:26:36.294Z] 85a0685a4137: Pull complete [2021-11-08T19:26:36.294Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-08T19:26:36.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-08T19:26:36.294Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-08T19:26:36.362Z] prd-centos7-docker-4c-2g-27962 does not seem to be running inside a container [2021-11-08T19:26:36.419Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-08T19:26:38.387Z] $ docker top 5ac74da86d2730864b527df54d9c0c6a9e87f648dbdf4f87c81731345213565e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-08T19:26:38.464Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-08T19:26:38.752Z] + set -o pipefail [2021-11-08T19:26:38.752Z] + snyk monitor '--org=edgex-jenkins' [2021-11-08T19:26:45.361Z] [2021-11-08T19:26:45.361Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-11-08T19:26:45.361Z] [2021-11-08T19:26:45.361Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/3906bdb7-b5b3-4212-ac6d-c6486b084894 [2021-11-08T19:26:45.361Z] [2021-11-08T19:26:45.361Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-08T19:26:45.361Z] [2021-11-08T19:26:45.362Z] [2021-11-08T19:26:45.362Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-08T19:26:45.362Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-08T19:26:45.375Z] $ docker stop --time=1 5ac74da86d2730864b527df54d9c0c6a9e87f648dbdf4f87c81731345213565e [2021-11-08T19:26:47.297Z] $ docker rm -f 5ac74da86d2730864b527df54d9c0c6a9e87f648dbdf4f87c81731345213565e [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-08T19:26:47.779Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T19:26:47.787Z] provisioning config files... [2021-11-08T19:26:47.795Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5776191089724805090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:26:48.095Z] --> edgex-publish-swagger.sh [2021-11-08T19:26:48.095Z] === Publish openapi/v2 API === [2021-11-08T19:26:48.095Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-08T19:26:48.095Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-11-08T19:26:48.095Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T19:26:48.095Z] Dload Upload Total Spent Left Speed [2021-11-08T19:26:48.665Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51839 100 180 100 51659 305 87676 --:--:-- --:--:-- --:--:-- 87706 100 51839 100 180 100 51659 305 87650 --:--:-- --:--:-- --:--:-- 87706 [2021-11-08T19:26:48.665Z] {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} [2021-11-08T19:26:48.665Z] [Pipeline] } [2021-11-08T19:26:48.672Z] 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-08T19:26:49.092Z] + git log --format=format:%s -1 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:26:49.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T19:26:49.390Z] . [Pipeline] withDockerContainer [2021-11-08T19:26:49.454Z] prd-centos7-docker-4c-2g-27962 does not seem to be running inside a container [2021-11-08T19:26:49.491Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-08T19:26:49.830Z] $ docker top ae85553f8161f337c30843195f1a7b9eb1f66e6791d9e55d0cebd7f3cab22876 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T19:26:49.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T19:26:49.912Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T19:26:50.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T19:26:50.029Z] $ docker exec ae85553f8161f337c30843195f1a7b9eb1f66e6791d9e55d0cebd7f3cab22876 ssh-agent [2021-11-08T19:26:50.156Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJajPNM/agent.14 [2021-11-08T19:26:50.156Z] SSH_AGENT_PID=21 [2021-11-08T19:26:50.161Z] Running ssh-add (command line suppressed) [2021-11-08T19:26:50.278Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2654244051808271604.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2654244051808271604.key) [2021-11-08T19:26:50.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T19:26:50.577Z] + git semver tag [2021-11-08T19:26:50.577Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T19:26:50.577Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-08T19:26:50.577Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-08T19:26:50.577Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T19:26:50.577Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T19:26:50.577Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T19:26:50.577Z] # $SEMVER_BRANCH = main [2021-11-08T19:26:50.577Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-08T19:26:50.577Z] # 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc HEAD [2021-11-08T19:26:50.577Z] # -> Force: false [2021-11-08T19:26:50.577Z] # 5b5e9af1521d8947adac471a260ac73957e43233 refs/tags/v2.0.1-dev.29 [Pipeline] } [2021-11-08T19:26:50.587Z] $ docker exec --env ******** --env ******** ae85553f8161f337c30843195f1a7b9eb1f66e6791d9e55d0cebd7f3cab22876 ssh-agent -k [2021-11-08T19:26:50.678Z] unset SSH_AUTH_SOCK; [2021-11-08T19:26:50.678Z] unset SSH_AGENT_PID; [2021-11-08T19:26:50.679Z] echo Agent pid 21 killed; [2021-11-08T19:26:50.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T19:26:50.995Z] + git semver [Pipeline] } [2021-11-08T19:26:51.009Z] $ docker stop --time=1 ae85553f8161f337c30843195f1a7b9eb1f66e6791d9e55d0cebd7f3cab22876 [2021-11-08T19:26:52.179Z] $ docker rm -f ae85553f8161f337c30843195f1a7b9eb1f66e6791d9e55d0cebd7f3cab22876 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:26:52.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-08T19:26:52.553Z] [2021-11-08T19:26:52.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:26:52.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-08T19:26:52.858Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-08T19:26:52.858Z] ab5ef0e58194: Pulling fs layer [2021-11-08T19:26:52.858Z] 9712f1f96733: Pulling fs layer [2021-11-08T19:26:52.858Z] 63f879dbbcfc: Pulling fs layer [2021-11-08T19:26:52.858Z] 0d9ebad4ef96: Pulling fs layer [2021-11-08T19:26:52.858Z] e9a5061849ea: Pulling fs layer [2021-11-08T19:26:52.858Z] d747dcd14b5f: Pulling fs layer [2021-11-08T19:26:52.858Z] 2de7ff778b66: Pulling fs layer [2021-11-08T19:26:52.859Z] e9a5061849ea: Waiting [2021-11-08T19:26:52.859Z] d747dcd14b5f: Waiting [2021-11-08T19:26:52.859Z] 2de7ff778b66: Waiting [2021-11-08T19:26:52.859Z] 0d9ebad4ef96: Waiting [2021-11-08T19:26:52.859Z] 9712f1f96733: Verifying Checksum [2021-11-08T19:26:52.859Z] 9712f1f96733: Download complete [2021-11-08T19:26:53.123Z] 63f879dbbcfc: Verifying Checksum [2021-11-08T19:26:53.123Z] 63f879dbbcfc: Download complete [2021-11-08T19:26:53.386Z] ab5ef0e58194: Verifying Checksum [2021-11-08T19:26:53.386Z] ab5ef0e58194: Download complete [2021-11-08T19:26:53.386Z] d747dcd14b5f: Verifying Checksum [2021-11-08T19:26:53.386Z] d747dcd14b5f: Download complete [2021-11-08T19:26:53.386Z] 0d9ebad4ef96: Verifying Checksum [2021-11-08T19:26:53.386Z] 0d9ebad4ef96: Download complete [2021-11-08T19:26:53.386Z] e9a5061849ea: Verifying Checksum [2021-11-08T19:26:53.386Z] e9a5061849ea: Download complete [2021-11-08T19:26:53.386Z] 2de7ff778b66: Verifying Checksum [2021-11-08T19:26:53.386Z] 2de7ff778b66: Download complete [2021-11-08T19:26:55.973Z] ab5ef0e58194: Pull complete [2021-11-08T19:26:55.973Z] 9712f1f96733: Pull complete [2021-11-08T19:26:56.922Z] 63f879dbbcfc: Pull complete [2021-11-08T19:27:01.149Z] 0d9ebad4ef96: Pull complete [2021-11-08T19:27:01.149Z] e9a5061849ea: Pull complete [2021-11-08T19:27:01.149Z] d747dcd14b5f: Pull complete [2021-11-08T19:27:02.111Z] 2de7ff778b66: Pull complete [2021-11-08T19:27:02.111Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-08T19:27:02.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-08T19:27:02.111Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-08T19:27:02.189Z] prd-centos7-docker-4c-2g-27962 does not seem to be running inside a container [2021-11-08T19:27:02.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-08T19:27:05.233Z] $ docker top c1be8df9fbb848f81f19b4a2b27386bead5e1658106b622ecadd05e6d05d64eb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-08T19:27:05.305Z] provisioning config files... [2021-11-08T19:27:05.314Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4101613684791482468tmp [2021-11-08T19:27:05.325Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6575098006355236387tmp [2021-11-08T19:27:05.335Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7981831964108029878tmp [Pipeline] { [Pipeline] echo [2021-11-08T19:27:05.351Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:05.638Z] ---> sigul-configuration.sh [2021-11-08T19:27:05.638Z] gpg: directory `/root/.gnupg' created [2021-11-08T19:27:05.638Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-08T19:27:05.638Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-08T19:27:05.638Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-08T19:27:05.638Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-08T19:27:05.638Z] gpg: CAST5 encrypted data [2021-11-08T19:27:05.638Z] gpg: encrypted with 1 passphrase [2021-11-08T19:27:05.638Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-08T19:27:05.930Z] + mkdir /home/jenkins [2021-11-08T19:27:05.931Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-08T19:27:06.231Z] + 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-08T19:27:06.245Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:06.542Z] ---> sigul-install.sh [2021-11-08T19:27:06.542Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-08T19:27:06.837Z] + git tag --list [2021-11-08T19:27:06.837Z] 0.7.1 [2021-11-08T19:27:06.837Z] delhi-tag [2021-11-08T19:27:06.837Z] v1.0.0 [2021-11-08T19:27:06.837Z] v1.1.0 [2021-11-08T19:27:06.837Z] v1.1.1 [2021-11-08T19:27:06.837Z] v1.1.2 [2021-11-08T19:27:06.837Z] v1.2.0 [2021-11-08T19:27:06.837Z] v1.2.1 [2021-11-08T19:27:06.837Z] v1.2.2 [2021-11-08T19:27:06.837Z] v1.2.3 [2021-11-08T19:27:06.837Z] v1.3.0 [2021-11-08T19:27:06.837Z] v1.4.0 [2021-11-08T19:27:06.837Z] v2.0.0 [2021-11-08T19:27:06.837Z] v2.0.1-dev.1 [2021-11-08T19:27:06.837Z] v2.0.1-dev.10 [2021-11-08T19:27:06.837Z] v2.0.1-dev.11 [2021-11-08T19:27:06.838Z] v2.0.1-dev.12 [2021-11-08T19:27:06.838Z] v2.0.1-dev.13 [2021-11-08T19:27:06.838Z] v2.0.1-dev.14 [2021-11-08T19:27:06.838Z] v2.0.1-dev.15 [2021-11-08T19:27:06.838Z] v2.0.1-dev.16 [2021-11-08T19:27:06.838Z] v2.0.1-dev.17 [2021-11-08T19:27:06.838Z] v2.0.1-dev.18 [2021-11-08T19:27:06.838Z] v2.0.1-dev.19 [2021-11-08T19:27:06.838Z] v2.0.1-dev.2 [2021-11-08T19:27:06.838Z] v2.0.1-dev.20 [2021-11-08T19:27:06.838Z] v2.0.1-dev.21 [2021-11-08T19:27:06.838Z] v2.0.1-dev.22 [2021-11-08T19:27:06.838Z] v2.0.1-dev.23 [2021-11-08T19:27:06.838Z] v2.0.1-dev.24 [2021-11-08T19:27:06.838Z] v2.0.1-dev.25 [2021-11-08T19:27:06.838Z] v2.0.1-dev.26 [2021-11-08T19:27:06.838Z] v2.0.1-dev.27 [2021-11-08T19:27:06.838Z] v2.0.1-dev.28 [2021-11-08T19:27:06.838Z] v2.0.1-dev.29 [2021-11-08T19:27:06.838Z] v2.0.1-dev.3 [2021-11-08T19:27:06.838Z] v2.0.1-dev.4 [2021-11-08T19:27:06.838Z] v2.0.1-dev.5 [2021-11-08T19:27:06.838Z] v2.0.1-dev.6 [2021-11-08T19:27:06.838Z] v2.0.1-dev.7 [2021-11-08T19:27:06.838Z] v2.0.1-dev.8 [2021-11-08T19:27:06.838Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-08T19:27:07.138Z] + lftools sign git-tag v2.0.1-dev.29 [2021-11-08T19:27:07.714Z] Signing Git tag with Sigul... [2021-11-08T19:27:07.714Z] Signing v2.0.1-dev.29 [Pipeline] echo [2021-11-08T19:27:08.662Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:08.956Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-08T19:27:08.964Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-08T19:27:08.983Z] $ docker stop --time=1 c1be8df9fbb848f81f19b4a2b27386bead5e1658106b622ecadd05e6d05d64eb [2021-11-08T19:27:10.205Z] $ docker rm -f c1be8df9fbb848f81f19b4a2b27386bead5e1658106b622ecadd05e6d05d64eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:27:10.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T19:27:10.817Z] . [Pipeline] withDockerContainer [2021-11-08T19:27:10.893Z] prd-centos7-docker-4c-2g-27962 does not seem to be running inside a container [2021-11-08T19:27:10.927Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-08T19:27:11.329Z] $ docker top 988c32dce25f7335d0406204348b38075da541172134bfd49d399d4acbbd5090 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T19:27:11.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T19:27:11.410Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T19:27:11.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T19:27:11.520Z] $ docker exec 988c32dce25f7335d0406204348b38075da541172134bfd49d399d4acbbd5090 ssh-agent [2021-11-08T19:27:11.618Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCcnNHC/agent.13 [2021-11-08T19:27:11.618Z] SSH_AGENT_PID=19 [2021-11-08T19:27:11.623Z] Running ssh-add (command line suppressed) [2021-11-08T19:27:11.717Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3801574901935445618.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3801574901935445618.key) [2021-11-08T19:27:11.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T19:27:12.019Z] + git semver bump pre [2021-11-08T19:27:12.019Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T19:27:12.019Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-08T19:27:12.019Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-08T19:27:12.019Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T19:27:12.019Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T19:27:12.019Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T19:27:12.019Z] # $SEMVER_BRANCH = main [2021-11-08T19:27:12.019Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-08T19:27:12.019Z] 2.0.1-dev.30 [Pipeline] } [2021-11-08T19:27:12.030Z] $ docker exec --env ******** --env ******** 988c32dce25f7335d0406204348b38075da541172134bfd49d399d4acbbd5090 ssh-agent -k [2021-11-08T19:27:12.217Z] unset SSH_AUTH_SOCK; [2021-11-08T19:27:12.217Z] unset SSH_AGENT_PID; [2021-11-08T19:27:12.217Z] echo Agent pid 19 killed; [2021-11-08T19:27:12.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T19:27:12.768Z] + git semver [Pipeline] } [2021-11-08T19:27:12.781Z] $ docker stop --time=1 988c32dce25f7335d0406204348b38075da541172134bfd49d399d4acbbd5090 [2021-11-08T19:27:14.008Z] $ docker rm -f 988c32dce25f7335d0406204348b38075da541172134bfd49d399d4acbbd5090 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:27:14.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T19:27:14.380Z] . [Pipeline] withDockerContainer [2021-11-08T19:27:14.457Z] prd-centos7-docker-4c-2g-27962 does not seem to be running inside a container [2021-11-08T19:27:14.495Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-08T19:27:14.872Z] $ docker top 93647ea35df2053c5ca92349e681154f6357a5a7581db869fd6df10bd7d49e9d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T19:27:14.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T19:27:14.961Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T19:27:15.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T19:27:15.063Z] $ docker exec 93647ea35df2053c5ca92349e681154f6357a5a7581db869fd6df10bd7d49e9d ssh-agent [2021-11-08T19:27:15.157Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXecmgBA/agent.13 [2021-11-08T19:27:15.157Z] SSH_AGENT_PID=19 [2021-11-08T19:27:15.163Z] Running ssh-add (command line suppressed) [2021-11-08T19:27:15.260Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8928778221483198802.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8928778221483198802.key) [2021-11-08T19:27:15.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T19:27:15.562Z] + git semver push [2021-11-08T19:27:15.562Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T19:27:15.562Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-08T19:27:15.562Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-08T19:27:15.562Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T19:27:15.562Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T19:27:15.562Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T19:27:15.562Z] # $SEMVER_BRANCH = main [2021-11-08T19:27:15.563Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-08T19:27:17.491Z] $ docker exec --env ******** --env ******** 93647ea35df2053c5ca92349e681154f6357a5a7581db869fd6df10bd7d49e9d ssh-agent -k [2021-11-08T19:27:17.581Z] unset SSH_AUTH_SOCK; [2021-11-08T19:27:17.581Z] unset SSH_AGENT_PID; [2021-11-08T19:27:17.581Z] echo Agent pid 19 killed; [2021-11-08T19:27:17.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T19:27:17.898Z] + git semver [Pipeline] } [2021-11-08T19:27:17.912Z] $ docker stop --time=1 93647ea35df2053c5ca92349e681154f6357a5a7581db869fd6df10bd7d49e9d [2021-11-08T19:27:19.100Z] $ docker rm -f 93647ea35df2053c5ca92349e681154f6357a5a7581db869fd6df10bd7d49e9d [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-08T19:27:19.953Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:20.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:20.808Z] ---> package-listing.sh [2021-11-08T19:27:20.808Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-08T19:27:20.808Z] ++ facter osfamily [2021-11-08T19:27:21.074Z] + OS_FAMILY=redhat [2021-11-08T19:27:21.074Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-11-08T19:27:21.074Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-08T19:27:21.074Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-08T19:27:21.074Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-08T19:27:21.074Z] + PACKAGES=/tmp/packages_start.txt [2021-11-08T19:27:21.074Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-08T19:27:21.074Z] + PACKAGES=/tmp/packages_end.txt [2021-11-08T19:27:21.074Z] + case "${OS_FAMILY}" in [2021-11-08T19:27:21.074Z] + sort [2021-11-08T19:27:21.074Z] + rpm -qa [2021-11-08T19:27:21.644Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-08T19:27:21.644Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-08T19:27:21.644Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-08T19:27:21.644Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-08T19:27:21.644Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-11-08T19:27:21.644Z] + 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-08T19:27:21.654Z] 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-08T19:27:21.935Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:27:22.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T19:27:22.486Z] [2021-11-08T19:27:22.486Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T19:27:22.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T19:27:22.786Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-08T19:27:22.786Z] b4d181a07f80: Pulling fs layer [2021-11-08T19:27:22.786Z] a1111a8f2ec3: Pulling fs layer [2021-11-08T19:27:22.786Z] ed53099fbce6: Pulling fs layer [2021-11-08T19:27:22.786Z] dc539afda2c1: Pulling fs layer [2021-11-08T19:27:22.786Z] 77bc0d833cb6: Pulling fs layer [2021-11-08T19:27:22.786Z] 9065ff56babe: Pulling fs layer [2021-11-08T19:27:22.786Z] d287ab97295c: Pulling fs layer [2021-11-08T19:27:22.786Z] dc539afda2c1: Waiting [2021-11-08T19:27:22.786Z] 77bc0d833cb6: Waiting [2021-11-08T19:27:22.786Z] 9065ff56babe: Waiting [2021-11-08T19:27:22.786Z] d287ab97295c: Waiting [2021-11-08T19:27:22.786Z] a1111a8f2ec3: Verifying Checksum [2021-11-08T19:27:22.786Z] a1111a8f2ec3: Download complete [2021-11-08T19:27:22.786Z] dc539afda2c1: Verifying Checksum [2021-11-08T19:27:22.786Z] dc539afda2c1: Download complete [2021-11-08T19:27:23.055Z] 77bc0d833cb6: Verifying Checksum [2021-11-08T19:27:23.055Z] 77bc0d833cb6: Download complete [2021-11-08T19:27:23.055Z] ed53099fbce6: Verifying Checksum [2021-11-08T19:27:23.055Z] ed53099fbce6: Download complete [2021-11-08T19:27:23.055Z] 9065ff56babe: Verifying Checksum [2021-11-08T19:27:23.055Z] 9065ff56babe: Download complete [2021-11-08T19:27:23.055Z] b4d181a07f80: Verifying Checksum [2021-11-08T19:27:23.055Z] b4d181a07f80: Download complete [2021-11-08T19:27:23.631Z] d287ab97295c: Verifying Checksum [2021-11-08T19:27:23.631Z] d287ab97295c: Download complete [2021-11-08T19:27:24.574Z] b4d181a07f80: Pull complete [2021-11-08T19:27:24.574Z] a1111a8f2ec3: Pull complete [2021-11-08T19:27:25.145Z] ed53099fbce6: Pull complete [2021-11-08T19:27:25.411Z] dc539afda2c1: Pull complete [2021-11-08T19:27:25.674Z] 77bc0d833cb6: Pull complete [2021-11-08T19:27:25.674Z] 9065ff56babe: Pull complete [2021-11-08T19:27:30.989Z] d287ab97295c: Pull complete [2021-11-08T19:27:30.989Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-08T19:27:30.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T19:27:30.989Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-08T19:27:31.076Z] prd-centos7-docker-4c-2g-27962 does not seem to be running inside a container [2021-11-08T19:27:31.107Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-08T19:27:33.368Z] $ docker top a1c2c1c487cc1d9187a1db4a9704c9805e49973e6b2dce13c7152d7dcea9468d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T19:27:33.739Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-08T19:27:34.030Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-08T19:27:34.316Z] + ls /var/log/sa-host [2021-11-08T19:27:34.316Z] + sadf -c /var/log/sa-host/sa08 [2021-11-08T19:27:34.316Z] file_magic: OK [2021-11-08T19:27:34.316Z] HZ: Using current value: 100 [2021-11-08T19:27:34.316Z] file_header: OK [2021-11-08T19:27:34.316Z] 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-08T19:27:34.316Z] Statistics: [2021-11-08T19:27:34.316Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-08T19:27:34.316Z] File successfully converted to sysstat format version 12.0.3 [2021-11-08T19:27:34.316Z] + sadf -c /var/log/sa-host/sa30 [2021-11-08T19:27:34.316Z] file_magic: OK [2021-11-08T19:27:34.316Z] HZ: Using current value: 100 [2021-11-08T19:27:34.316Z] file_header: OK [2021-11-08T19:27:34.316Z] 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-08T19:27:34.316Z] Statistics: [2021-11-08T19:27:34.316Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-08T19:27:34.316Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T19:27:34.563Z] provisioning config files... [2021-11-08T19:27:34.570Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8351859111642506581tmp [Pipeline] { [Pipeline] echo [2021-11-08T19:27:34.584Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:34.870Z] ---> create-netrc.sh [Pipeline] } [2021-11-08T19:27:34.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:35.218Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-08T19:27:35.226Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:35.510Z] ---> sudo-logs.sh [2021-11-08T19:27:35.510Z] Archiving 'sudo' log.. [2021-11-08T19:27:35.510Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27962.novalocal: Name or service not known [2021-11-08T19:27:35.510Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27962.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-08T19:27:35.534Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:35.817Z] ---> job-cost.sh [2021-11-08T19:27:35.818Z] lf-activate-venv: SKIPPING [2021-11-08T19:27:35.818Z] DEBUG: total: 0.10999999940395355 [2021-11-08T19:27:35.818Z] INFO: Retrieving Stack Cost... [2021-11-08T19:27:36.078Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-08T19:27:36.655Z] INFO: Archiving Costs [Pipeline] echo [2021-11-08T19:27:36.667Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T19:27:36.960Z] ---> logs-deploy.sh [2021-11-08T19:27:36.960Z] lf-activate-venv: SKIPPING [2021-11-08T19:27:36.960Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/28 [2021-11-08T19:27:36.960Z] INFO: archiving workspace using pattern(s): [2021-11-08T19:27:37.904Z] Archives upload complete. [2021-11-08T19:27:37.904Z] INFO: archiving logs to Nexus