Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d 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-ssh5338839185119505440.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh4545819442558570230.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh8001216421717917625.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh4068125073466043218.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-ssh7116307931744352677.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-424’ Running on prd-centos7-docker-4c-2g-426 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 Avoid second fetch Checking out Revision 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d (main) > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh779118818160394721.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 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d # timeout=10 Commit message: "Merge pull request #1009 from jpwhitemn/update-toml-add-gov-docs" > git rev-list --no-walk 4c8039af1df2b85f6ebf5f903b31f826607b92c3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-11T20:23:34.629Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-11T20:23:36.275Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-11T20:23:36.303Z] ========================================================= [2021-08-11T20:23:36.303Z] EdgeX Global Pipelines Version Info [2021-08-11T20:23:36.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:23:37.571Z] ------------------- [2021-08-11T20:23:37.571Z] stable info: [2021-08-11T20:23:37.571Z] ------------------- [2021-08-11T20:23:37.571Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-11T20:23:37.571Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T20:23:37.571Z] Message: update stable to v1.0.205 [2021-08-11T20:23:38.157Z] ------------------- [2021-08-11T20:23:38.157Z] experimental info: [2021-08-11T20:23:38.157Z] ------------------- [2021-08-11T20:23:38.157Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-11T20:23:38.157Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T20:23:38.157Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-11T20:23:38.299Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-08-11T20:23:38.326Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-08-11T20:23:38.350Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-11T20:23:38.374Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-11T20:23:38.397Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-11T20:23:38.421Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-11T20:23:38.446Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-11T20:23:38.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-11T20:23:38.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-08-11T20:23:38.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-11T20:23:38.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-11T20:23:38.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-11T20:23:38.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-08-11T20:23:38.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-11T20:23:38.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-11T20:23:38.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-11T20:23:38.702Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T20:23:38.728Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T20:23:38.754Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T20:23:38.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-11T20:23:38.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-11T20:23:38.832Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-11T20:23:38.856Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-11T20:23:38.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-11T20:23:38.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-11T20:23:38.932Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-11T20:23:38.957Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-11T20:23:38.983Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-11T20:23:39.007Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-11T20:23:39.032Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-11T20:23:39.056Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d [Pipeline] echo [2021-08-11T20:23:39.081Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39ad166 [Pipeline] echo [2021-08-11T20:23:39.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:23:39.182Z] provisioning config files... [2021-08-11T20:23:39.203Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2863607048074184950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:23:39.545Z] ---> docker-login.sh [2021-08-11T20:23:39.545Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:23:39.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:23:39.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:23:39.815Z] Configure a credential helper to remove this warning. See [2021-08-11T20:23:39.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:23:39.815Z] [2021-08-11T20:23:39.815Z] Login Succeeded [2021-08-11T20:23:39.815Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:23:39.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:23:39.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:23:39.815Z] Configure a credential helper to remove this warning. See [2021-08-11T20:23:39.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:23:39.815Z] [2021-08-11T20:23:39.815Z] Login Succeeded [2021-08-11T20:23:39.815Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:23:40.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:23:40.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:23:40.088Z] Configure a credential helper to remove this warning. See [2021-08-11T20:23:40.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:23:40.088Z] [2021-08-11T20:23:40.088Z] Login Succeeded [2021-08-11T20:23:40.088Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:23:40.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:23:40.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:23:40.359Z] Configure a credential helper to remove this warning. See [2021-08-11T20:23:40.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:23:40.359Z] [2021-08-11T20:23:40.359Z] Login Succeeded [2021-08-11T20:23:40.359Z] docker.io [2021-08-11T20:23:40.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:23:40.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:23:40.626Z] Configure a credential helper to remove this warning. See [2021-08-11T20:23:40.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:23:40.626Z] [2021-08-11T20:23:40.626Z] Login Succeeded [2021-08-11T20:23:40.626Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:23:40.639Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-11T20:23:41.093Z] + git log --format=format:%s -1 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d [Pipeline] echo [2021-08-11T20:23:41.149Z] GIT_COMMIT: 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d, Commit Message: Merge pull request #1009 from jpwhitemn/update-toml-add-gov-docs [Pipeline] echo [2021-08-11T20:23:41.163Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:23:41.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:23:41.822Z] [2021-08-11T20:23:41.822Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:23:42.157Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:23:42.157Z] latest: Pulling from edgex-devops/git-semver [2021-08-11T20:23:42.157Z] 31603596830f: Pulling fs layer [2021-08-11T20:23:42.157Z] d4622e32a9a9: Pulling fs layer [2021-08-11T20:23:42.157Z] 1030fce36090: Pulling fs layer [2021-08-11T20:23:42.157Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-11T20:23:42.157Z] 6c6cb7e1b49b: Waiting [2021-08-11T20:23:42.157Z] d4622e32a9a9: Verifying Checksum [2021-08-11T20:23:42.157Z] d4622e32a9a9: Download complete [2021-08-11T20:23:42.427Z] 31603596830f: Verifying Checksum [2021-08-11T20:23:42.427Z] 31603596830f: Download complete [2021-08-11T20:23:42.703Z] 31603596830f: Pull complete [2021-08-11T20:23:42.703Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-11T20:23:42.703Z] 6c6cb7e1b49b: Download complete [2021-08-11T20:23:42.703Z] d4622e32a9a9: Pull complete [2021-08-11T20:23:42.703Z] 1030fce36090: Verifying Checksum [2021-08-11T20:23:42.703Z] 1030fce36090: Download complete [2021-08-11T20:23:43.674Z] 1030fce36090: Pull complete [2021-08-11T20:23:43.674Z] 6c6cb7e1b49b: Pull complete [2021-08-11T20:23:43.674Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-11T20:23:43.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:23:43.674Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-11T20:23:43.772Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-08-11T20:23:43.832Z] $ 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-08-11T20:23:44.669Z] $ docker top f2f0bf8bdfbc1176cd4b4c5f330763b31acc75f32a08846b4674c5f4c7847e54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:23:44.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:23:44.830Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:23:44.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:23:44.962Z] $ docker exec f2f0bf8bdfbc1176cd4b4c5f330763b31acc75f32a08846b4674c5f4c7847e54 ssh-agent [2021-08-11T20:23:45.087Z] SSH_AUTH_SOCK=/tmp/ssh-PZlTUjga6NRq/agent.14 [2021-08-11T20:23:45.088Z] SSH_AGENT_PID=20 [2021-08-11T20:23:45.100Z] Running ssh-add (command line suppressed) [2021-08-11T20:23:45.198Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3805762284913536950.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3805762284913536950.key) [2021-08-11T20:23:45.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:23:45.537Z] + git tag --points-at HEAD [Pipeline] } [2021-08-11T20:23:45.562Z] $ docker exec --env ******** --env ******** f2f0bf8bdfbc1176cd4b4c5f330763b31acc75f32a08846b4674c5f4c7847e54 ssh-agent -k [2021-08-11T20:23:45.683Z] unset SSH_AUTH_SOCK; [2021-08-11T20:23:45.683Z] unset SSH_AGENT_PID; [2021-08-11T20:23:45.683Z] echo Agent pid 20 killed; [2021-08-11T20:23:45.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-11T20:23:45.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:23:45.744Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:23:45.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:23:45.876Z] $ docker exec f2f0bf8bdfbc1176cd4b4c5f330763b31acc75f32a08846b4674c5f4c7847e54 ssh-agent [2021-08-11T20:23:46.029Z] SSH_AUTH_SOCK=/tmp/ssh-4ksPRL2G8E4N/agent.54 [2021-08-11T20:23:46.029Z] SSH_AGENT_PID=60 [2021-08-11T20:23:46.038Z] Running ssh-add (command line suppressed) [2021-08-11T20:23:46.155Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3831670708087491100.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3831670708087491100.key) [2021-08-11T20:23:46.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:23:46.502Z] + git semver init [2021-08-11T20:23:46.502Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:23:46.502Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-11T20:23:46.502Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-11T20:23:46.502Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:23:46.502Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:23:46.502Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:23:46.502Z] # $SEMVER_BRANCH = main [2021-08-11T20:23:46.502Z] # $SEMVER_TEMP = /tmp/semver-947093483 [2021-08-11T20:23:46.502Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-08-11T20:23:47.467Z] # '/tmp/semver-947093483' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-08-11T20:23:47.467Z] # -> Force: false [2021-08-11T20:23:47.468Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-08-11T20:23:47.483Z] $ docker exec --env ******** --env ******** f2f0bf8bdfbc1176cd4b4c5f330763b31acc75f32a08846b4674c5f4c7847e54 ssh-agent -k [2021-08-11T20:23:47.582Z] unset SSH_AUTH_SOCK; [2021-08-11T20:23:47.582Z] unset SSH_AGENT_PID; [2021-08-11T20:23:47.582Z] echo Agent pid 60 killed; [2021-08-11T20:23:47.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:23:47.949Z] + git semver [Pipeline] } [2021-08-11T20:23:47.969Z] $ docker stop --time=1 f2f0bf8bdfbc1176cd4b4c5f330763b31acc75f32a08846b4674c5f4c7847e54 [2021-08-11T20:23:49.186Z] $ docker rm -f f2f0bf8bdfbc1176cd4b4c5f330763b31acc75f32a08846b4674c5f4c7847e54 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:23:49.566Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-11T20:23:49.946Z] Stashed 1 file(s) [Pipeline] echo [2021-08-11T20:23:49.949Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.8 [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-08-11T20:24:05.116Z] Still waiting to schedule task [2021-08-11T20:24:05.117Z] ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T20:24:05.117Z] ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T20:24:05.117Z] ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T20:24:05.117Z] ‘prd-centos7-docker-4c-2g-427’ is offline [2021-08-11T20:24:05.117Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T20:24:05.117Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-425’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T20:24:05.119Z] Still waiting to schedule task [2021-08-11T20:24:05.119Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-11T20:25:12.957Z] Running on prd-centos7-docker-4c-2g-429 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-11T20:25:12.975Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-08-11T20:25:13.099Z] Selected Git installation does not exist. Using Default [2021-08-11T20:25:13.099Z] The recommended git tool is: NONE [2021-08-11T20:25:16.078Z] using credential edgex-jenkins-ssh [2021-08-11T20:25:16.097Z] Cloning the remote Git repository [2021-08-11T20:25:16.116Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T20:25:16.184Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-08-11T20:25:16.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T20:25:16.222Z] > git --version # timeout=10 [2021-08-11T20:25:16.230Z] > git --version # 'git version 2.24.4' [2021-08-11T20:25:16.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T20:25:16.257Z] [INFO] Currently running in a labeled security context [2021-08-11T20:25:16.257Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T20:25:16.257Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh8040322635047273477.key [2021-08-11T20:25:16.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:25:17.116Z] Avoid second fetch [2021-08-11T20:25:17.116Z] Checking out Revision 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d (main) [2021-08-11T20:25:17.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-11T20:25:17.104Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:25:17.123Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T20:25:17.131Z] > git checkout -f 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d # timeout=10 [2021-08-11T20:25:20.846Z] Commit message: "Merge pull request #1009 from jpwhitemn/update-toml-add-gov-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:25:21.230Z] provisioning config files... [2021-08-11T20:25:21.251Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config8032471681460355669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:25:21.737Z] ---> docker-login.sh [2021-08-11T20:25:21.737Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:25:21.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:25:21.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:25:21.737Z] Configure a credential helper to remove this warning. See [2021-08-11T20:25:21.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:25:21.737Z] [2021-08-11T20:25:21.737Z] Login Succeeded [2021-08-11T20:25:21.737Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:25:22.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:25:22.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:25:22.008Z] Configure a credential helper to remove this warning. See [2021-08-11T20:25:22.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:25:22.008Z] [2021-08-11T20:25:22.008Z] Login Succeeded [2021-08-11T20:25:22.008Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:25:22.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:25:22.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:25:22.278Z] Configure a credential helper to remove this warning. See [2021-08-11T20:25:22.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:25:22.278Z] [2021-08-11T20:25:22.278Z] Login Succeeded [2021-08-11T20:25:22.278Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:25:22.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:25:22.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:25:22.278Z] Configure a credential helper to remove this warning. See [2021-08-11T20:25:22.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:25:22.278Z] [2021-08-11T20:25:22.278Z] Login Succeeded [2021-08-11T20:25:22.278Z] docker.io [2021-08-11T20:25:22.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:25:22.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:25:22.814Z] Configure a credential helper to remove this warning. See [2021-08-11T20:25:22.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:25:22.814Z] [2021-08-11T20:25:22.814Z] Login Succeeded [2021-08-11T20:25:22.814Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:25:22.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T20:25:23.086Z] ========================================================= [2021-08-11T20:25:23.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-11T20:25:23.086Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:25:23.433Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-08-11T20:25:23.433Z] Sending build context to Docker daemon 2.601MB [2021-08-11T20:25:23.433Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:25:23.433Z] Step 2/8 : FROM ${BASE} [2021-08-11T20:25:23.701Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-11T20:25:23.701Z] 540db60ca938: Pulling fs layer [2021-08-11T20:25:23.701Z] adcc1eea9eea: Pulling fs layer [2021-08-11T20:25:23.701Z] 4c4ab2625f07: Pulling fs layer [2021-08-11T20:25:23.701Z] db62176df00c: Pulling fs layer [2021-08-11T20:25:23.701Z] 3b30891b0d05: Pulling fs layer [2021-08-11T20:25:23.701Z] 06b49ca38bd5: Pulling fs layer [2021-08-11T20:25:23.701Z] c788192a36de: Pulling fs layer [2021-08-11T20:25:23.701Z] a77e37c0d609: Pulling fs layer [2021-08-11T20:25:23.701Z] c3185cebc471: Pulling fs layer [2021-08-11T20:25:23.701Z] db62176df00c: Waiting [2021-08-11T20:25:23.701Z] 06b49ca38bd5: Waiting [2021-08-11T20:25:23.701Z] c788192a36de: Waiting [2021-08-11T20:25:23.701Z] a77e37c0d609: Waiting [2021-08-11T20:25:23.701Z] c3185cebc471: Waiting [2021-08-11T20:25:23.701Z] 3b30891b0d05: Waiting [2021-08-11T20:25:23.701Z] 4c4ab2625f07: Verifying Checksum [2021-08-11T20:25:23.701Z] 4c4ab2625f07: Download complete [2021-08-11T20:25:23.701Z] adcc1eea9eea: Verifying Checksum [2021-08-11T20:25:23.701Z] adcc1eea9eea: Download complete [2021-08-11T20:25:23.701Z] 3b30891b0d05: Verifying Checksum [2021-08-11T20:25:23.701Z] 3b30891b0d05: Download complete [2021-08-11T20:25:23.701Z] 06b49ca38bd5: Verifying Checksum [2021-08-11T20:25:23.701Z] 06b49ca38bd5: Download complete [2021-08-11T20:25:23.701Z] c788192a36de: Verifying Checksum [2021-08-11T20:25:23.701Z] c788192a36de: Download complete [2021-08-11T20:25:23.701Z] 540db60ca938: Verifying Checksum [2021-08-11T20:25:23.701Z] 540db60ca938: Download complete [2021-08-11T20:25:23.970Z] 540db60ca938: Pull complete [2021-08-11T20:25:23.970Z] adcc1eea9eea: Pull complete [2021-08-11T20:25:24.235Z] 4c4ab2625f07: Pull complete [2021-08-11T20:25:24.501Z] a77e37c0d609: Verifying Checksum [2021-08-11T20:25:24.502Z] a77e37c0d609: Download complete [2021-08-11T20:25:27.853Z] c3185cebc471: Verifying Checksum [2021-08-11T20:25:27.853Z] c3185cebc471: Download complete [2021-08-11T20:25:28.120Z] db62176df00c: Verifying Checksum [2021-08-11T20:25:28.120Z] db62176df00c: Download complete [2021-08-11T20:25:31.494Z] db62176df00c: Pull complete [2021-08-11T20:25:31.494Z] 3b30891b0d05: Pull complete [2021-08-11T20:25:31.494Z] 06b49ca38bd5: Pull complete [2021-08-11T20:25:31.494Z] c788192a36de: Pull complete [2021-08-11T20:25:31.766Z] a77e37c0d609: Pull complete [2021-08-11T20:25:34.392Z] c3185cebc471: Pull complete [2021-08-11T20:25:34.392Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-11T20:25:34.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-11T20:25:34.392Z] ---> 031687cdd783 [2021-08-11T20:25:34.392Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T20:25:35.807Z] ---> Running in 38fa13d63df8 [2021-08-11T20:25:35.807Z] Removing intermediate container 38fa13d63df8 [2021-08-11T20:25:35.807Z] ---> 9e40e7a42f24 [2021-08-11T20:25:35.807Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:25:35.807Z] ---> Running in 02fc1e3e8006 [2021-08-11T20:25:36.393Z] Removing intermediate container 02fc1e3e8006 [2021-08-11T20:25:36.393Z] ---> 7d601b96abfd [2021-08-11T20:25:36.393Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-08-11T20:25:36.393Z] ---> Running in fc03cdb04c99 [2021-08-11T20:25:36.658Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:25:37.615Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:25:37.882Z] OK: 219 MiB in 52 packages [2021-08-11T20:25:38.148Z] Removing intermediate container fc03cdb04c99 [2021-08-11T20:25:38.148Z] ---> da17c3ce2e06 [2021-08-11T20:25:38.148Z] Step 6/8 : WORKDIR /device-sdk-go [2021-08-11T20:25:38.148Z] ---> Running in 8a21f555d89f [2021-08-11T20:25:38.148Z] Removing intermediate container 8a21f555d89f [2021-08-11T20:25:38.148Z] ---> ec13b6f2875a [2021-08-11T20:25:38.148Z] Step 7/8 : COPY . . [2021-08-11T20:25:38.737Z] ---> 7033974127b1 [2021-08-11T20:25:38.737Z] Step 8/8 : RUN go mod download [2021-08-11T20:25:38.737Z] ---> Running in 925b0fd3ca29 [2021-08-11T20:25:51.076Z] Removing intermediate container 925b0fd3ca29 [2021-08-11T20:25:51.076Z] ---> 4dda589604b1 [2021-08-11T20:25:51.076Z] Successfully built 4dda589604b1 [2021-08-11T20:25:51.076Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:25:51.396Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T20:25:51.396Z] . [Pipeline] withDockerContainer [2021-08-11T20:25:51.492Z] prd-centos7-docker-4c-2g-429 does not seem to be running inside a container [2021-08-11T20:25:51.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-08-11T20:25:51.948Z] $ docker top f7938856749ba3b5086df6fb646cc33d5fd2c73dcd148d11def43934f47e1641 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:25:52.352Z] + go version [2021-08-11T20:25:52.352Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-11T20:25:52.366Z] $ docker stop --time=1 f7938856749ba3b5086df6fb646cc33d5fd2c73dcd148d11def43934f47e1641 [2021-08-11T20:25:53.571Z] $ docker rm -f f7938856749ba3b5086df6fb646cc33d5fd2c73dcd148d11def43934f47e1641 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:25:54.060Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T20:25:54.060Z] . [Pipeline] withDockerContainer [2021-08-11T20:25:54.158Z] prd-centos7-docker-4c-2g-429 does not seem to be running inside a container [2021-08-11T20:25:54.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-08-11T20:25:54.591Z] $ docker top 145f5ef69e10463b2477ba9901ab350e1d7640bcaad08cdaae4e55f79f7ae479 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T20:25:55.006Z] + go mod tidy [Pipeline] sh [2021-08-11T20:25:55.595Z] + make test [2021-08-11T20:25:55.596Z] go mod tidy [2021-08-11T20:25:55.596Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-11T20:26:00.968Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-11T20:26:23.359Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-11T20:26:23.359Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-11T20:26:23.359Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-11T20:26:26.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.058s coverage: 24.2% of statements [2021-08-11T20:26:26.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-11T20:26:26.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements [2021-08-11T20:26:27.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-08-11T20:26:27.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements [2021-08-11T20:26:27.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-11T20:26:27.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-11T20:26:27.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-11T20:26:27.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-08-11T20:26:27.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-11T20:26:29.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.063s coverage: 83.3% of statements [2021-08-11T20:26:29.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-11T20:26:29.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-11T20:26:29.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 58.0% of statements [2021-08-11T20:26:30.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.810s coverage: 89.2% of statements [2021-08-11T20:26:30.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-11T20:26:30.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 4.9% of statements [2021-08-11T20:26:30.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-11T20:26:30.537Z] GO111MODULE=on go vet ./... [2021-08-11T20:26:48.829Z] gofmt -l . [2021-08-11T20:26:48.829Z] [ "`gofmt -l .`" = "" ] [2021-08-11T20:26:49.098Z] ./bin/test-attribution-txt.sh [2021-08-11T20:26:49.685Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-11T20:26:49.702Z] $ docker stop --time=1 145f5ef69e10463b2477ba9901ab350e1d7640bcaad08cdaae4e55f79f7ae479 [2021-08-11T20:26:51.282Z] $ docker rm -f 145f5ef69e10463b2477ba9901ab350e1d7640bcaad08cdaae4e55f79f7ae479 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:26:51.625Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-431 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-11T20:26:51.645Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-08-11T20:26:51.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T20:26:51.920Z] Selected Git installation does not exist. Using Default [2021-08-11T20:26:51.920Z] The recommended git tool is: NONE [2021-08-11T20:26:52.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-11T20:26:53.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T20:26:53.472Z] + ls -al . [2021-08-11T20:26:53.472Z] total 236 [2021-08-11T20:26:53.472Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 11 20:26 . [2021-08-11T20:26:53.472Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 20:25 .. [2021-08-11T20:26:53.472Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 11 20:25 bin [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 24816 Aug 11 20:25 CHANGELOG.md [2021-08-11T20:26:53.472Z] -rw-r--r--. 1 jenkins jenkins 125634 Aug 11 20:26 coverage.out [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 987 Aug 11 20:25 Dockerfile.build [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 11 20:25 .dockerignore [2021-08-11T20:26:53.472Z] drwxrwxr-x. 5 jenkins jenkins 62 Aug 11 20:25 example [2021-08-11T20:26:53.472Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 11 20:25 .git [2021-08-11T20:26:53.472Z] drwxrwxr-x. 3 jenkins jenkins 125 Aug 11 20:25 .github [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 11 20:25 .gitignore [2021-08-11T20:26:53.472Z] -rw-r--r--. 1 jenkins jenkins 548 Aug 11 20:26 go.mod [2021-08-11T20:26:53.472Z] -rw-r--r--. 1 jenkins jenkins 20301 Aug 11 20:25 go.sum [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 11 20:25 GOVERNANCE.md [2021-08-11T20:26:53.472Z] drwxrwxr-x. 15 jenkins jenkins 224 Aug 11 20:25 internal [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 11 20:25 Jenkinsfile [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 11 20:25 LICENSE [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 1026 Aug 11 20:25 Makefile [2021-08-11T20:26:53.472Z] drwxrwxr-x. 3 jenkins jenkins 16 Aug 11 20:25 openapi [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 619 Aug 11 20:25 OWNERS.md [2021-08-11T20:26:53.472Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 11 20:25 pkg [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 7646 Aug 11 20:25 README.md [2021-08-11T20:26:53.472Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 11 20:25 snap [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 11 Aug 11 20:23 VERSION [2021-08-11T20:26:53.472Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 11 20:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:26:53.935Z] + 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=39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d --label arch=amd64 --label version=2.0.1-dev.8 . [2021-08-11T20:26:53.935Z] Sending build context to Docker daemon 2.727MB [2021-08-11T20:26:53.935Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:26:53.935Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-11T20:26:53.935Z] ---> 4dda589604b1 [2021-08-11T20:26:53.935Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-11T20:26:53.935Z] ---> Running in 9f2e0384c98b [2021-08-11T20:26:54.202Z] Removing intermediate container 9f2e0384c98b [2021-08-11T20:26:54.202Z] ---> 60231c9ea62a [2021-08-11T20:26:54.202Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T20:26:54.202Z] ---> Running in 821e133ac0aa [2021-08-11T20:26:54.202Z] Removing intermediate container 821e133ac0aa [2021-08-11T20:26:54.202Z] ---> eeb55cc60d0e [2021-08-11T20:26:54.202Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:26:54.202Z] ---> Running in d168e4390c62 [2021-08-11T20:26:54.785Z] Removing intermediate container d168e4390c62 [2021-08-11T20:26:54.785Z] ---> 8983a67fabeb [2021-08-11T20:26:54.785Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-11T20:26:54.785Z] ---> Running in cb661364621a [2021-08-11T20:26:55.054Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:26:56.016Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:26:56.285Z] OK: 219 MiB in 52 packages [2021-08-11T20:26:56.562Z] Removing intermediate container cb661364621a [2021-08-11T20:26:56.562Z] ---> 70922ea4a39c [2021-08-11T20:26:56.562Z] Step 7/23 : COPY . . [2021-08-11T20:26:56.832Z] ---> ebc4c794f409 [2021-08-11T20:26:56.832Z] Step 8/23 : RUN go mod download [2021-08-11T20:26:56.832Z] ---> Running in f3316c65c339 [2021-08-11T20:26:57.435Z] Removing intermediate container f3316c65c339 [2021-08-11T20:26:57.436Z] ---> 2d6c88b892fb [2021-08-11T20:26:57.436Z] Step 9/23 : RUN make build [2021-08-11T20:26:57.436Z] ---> Running in 367d7bcfcde1 [2021-08-11T20:26:58.021Z] go mod tidy [2021-08-11T20:26:58.021Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.8" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-11T20:26:58.425Z] using credential edgex-jenkins-ssh [2021-08-11T20:26:58.460Z] Cloning the remote Git repository [2021-08-11T20:26:58.510Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T20:26:58.625Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-08-11T20:26:58.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-11T20:26:58.704Z] > git --version # timeout=10 [2021-08-11T20:26:58.721Z] > git --version # 'git version 2.17.1' [2021-08-11T20:26:58.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T20:26:58.821Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:27:00.154Z] Avoid second fetch [2021-08-11T20:27:00.154Z] Checking out Revision 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d (main) [2021-08-11T20:27:00.111Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-11T20:27:00.131Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:27:00.170Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T20:27:00.186Z] > git checkout -f 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d # timeout=10 [2021-08-11T20:27:04.455Z] Commit message: "Merge pull request #1009 from jpwhitemn/update-toml-add-gov-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:27:04.963Z] provisioning config files... [2021-08-11T20:27:04.992Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3960650936766288806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:27:05.570Z] ---> docker-login.sh [2021-08-11T20:27:05.570Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:27:06.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:27:06.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:27:06.773Z] Configure a credential helper to remove this warning. See [2021-08-11T20:27:06.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:27:06.773Z] [2021-08-11T20:27:06.773Z] Login Succeeded [2021-08-11T20:27:06.773Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:27:07.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:27:07.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:27:07.377Z] Configure a credential helper to remove this warning. See [2021-08-11T20:27:07.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:27:07.377Z] [2021-08-11T20:27:07.377Z] Login Succeeded [2021-08-11T20:27:07.377Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:27:07.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:27:07.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:27:07.981Z] Configure a credential helper to remove this warning. See [2021-08-11T20:27:07.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:27:07.981Z] [2021-08-11T20:27:07.981Z] Login Succeeded [2021-08-11T20:27:07.981Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:27:08.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:27:08.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:27:08.534Z] Configure a credential helper to remove this warning. See [2021-08-11T20:27:08.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:27:08.534Z] [2021-08-11T20:27:08.534Z] Login Succeeded [2021-08-11T20:27:08.534Z] docker.io [2021-08-11T20:27:08.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:27:09.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:27:09.082Z] Configure a credential helper to remove this warning. See [2021-08-11T20:27:09.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:27:09.082Z] [2021-08-11T20:27:09.082Z] Login Succeeded [2021-08-11T20:27:09.361Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:27:09.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T20:27:09.900Z] ========================================================= [2021-08-11T20:27:09.900Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-11T20:27:09.900Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:27:10.269Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-08-11T20:27:10.393Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-11T20:27:10.393Z] Removing intermediate container 367d7bcfcde1 [2021-08-11T20:27:10.393Z] ---> 8ebcc536afd0 [2021-08-11T20:27:10.393Z] Step 10/23 : FROM alpine:3.12 [2021-08-11T20:27:10.660Z] 3.12: Pulling from library/alpine [2021-08-11T20:27:10.880Z] Sending build context to Docker daemon 2.6MB [2021-08-11T20:27:10.880Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:27:10.880Z] Step 2/8 : FROM ${BASE} [2021-08-11T20:27:10.925Z] 339de151aab4: Pulling fs layer [2021-08-11T20:27:11.158Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-11T20:27:11.158Z] 595b0fe564bb: Pulling fs layer [2021-08-11T20:27:11.158Z] 24495759ef45: Pulling fs layer [2021-08-11T20:27:11.158Z] d148012ef14d: Pulling fs layer [2021-08-11T20:27:11.158Z] e90a11edd702: Pulling fs layer [2021-08-11T20:27:11.158Z] d77568369979: Pulling fs layer [2021-08-11T20:27:11.158Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-11T20:27:11.158Z] 170f2ba95c9a: Pulling fs layer [2021-08-11T20:27:11.158Z] 97ac5df62f85: Pulling fs layer [2021-08-11T20:27:11.158Z] e90a11edd702: Waiting [2021-08-11T20:27:11.158Z] d77568369979: Waiting [2021-08-11T20:27:11.158Z] fc1c9f9a7f3b: Waiting [2021-08-11T20:27:11.158Z] 170f2ba95c9a: Waiting [2021-08-11T20:27:11.158Z] 97ac5df62f85: Waiting [2021-08-11T20:27:11.158Z] d148012ef14d: Verifying Checksum [2021-08-11T20:27:11.158Z] d148012ef14d: Download complete [2021-08-11T20:27:11.158Z] 24495759ef45: Verifying Checksum [2021-08-11T20:27:11.158Z] 24495759ef45: Download complete [2021-08-11T20:27:11.158Z] d77568369979: Verifying Checksum [2021-08-11T20:27:11.158Z] d77568369979: Download complete [2021-08-11T20:27:11.158Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-11T20:27:11.158Z] fc1c9f9a7f3b: Download complete [2021-08-11T20:27:11.158Z] 595b0fe564bb: Verifying Checksum [2021-08-11T20:27:11.158Z] 595b0fe564bb: Download complete [2021-08-11T20:27:11.158Z] 170f2ba95c9a: Verifying Checksum [2021-08-11T20:27:11.158Z] 170f2ba95c9a: Download complete [2021-08-11T20:27:11.193Z] 339de151aab4: Verifying Checksum [2021-08-11T20:27:11.193Z] 339de151aab4: Download complete [2021-08-11T20:27:11.193Z] 339de151aab4: Pull complete [2021-08-11T20:27:11.193Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-11T20:27:11.193Z] Status: Downloaded newer image for alpine:3.12 [2021-08-11T20:27:11.193Z] ---> 13621d1b12d4 [2021-08-11T20:27:11.193Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T20:27:11.463Z] ---> Running in 76aa07a6e596 [2021-08-11T20:27:11.463Z] Removing intermediate container 76aa07a6e596 [2021-08-11T20:27:11.463Z] ---> b2c137b45145 [2021-08-11T20:27:11.463Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:27:11.463Z] ---> Running in b6999b6c2f1e [2021-08-11T20:27:12.051Z] Removing intermediate container b6999b6c2f1e [2021-08-11T20:27:12.051Z] ---> ecaa88725f4d [2021-08-11T20:27:12.051Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-11T20:27:12.051Z] ---> Running in 41ed43b2ddf9 [2021-08-11T20:27:12.148Z] 595b0fe564bb: Pull complete [2021-08-11T20:27:12.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:27:12.758Z] 24495759ef45: Pull complete [2021-08-11T20:27:13.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:27:13.359Z] d148012ef14d: Pull complete [2021-08-11T20:27:15.220Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-11T20:27:15.220Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-11T20:27:15.360Z] 97ac5df62f85: Verifying Checksum [2021-08-11T20:27:15.360Z] 97ac5df62f85: Download complete [2021-08-11T20:27:15.803Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-11T20:27:15.972Z] e90a11edd702: Verifying Checksum [2021-08-11T20:27:15.973Z] e90a11edd702: Download complete [2021-08-11T20:27:16.384Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-11T20:27:16.967Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-11T20:27:16.967Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T20:27:16.967Z] OK: 8 MiB in 19 packages [2021-08-11T20:27:17.234Z] Removing intermediate container 41ed43b2ddf9 [2021-08-11T20:27:17.234Z] ---> 7a5048fc8a64 [2021-08-11T20:27:17.234Z] Step 14/23 : WORKDIR / [2021-08-11T20:27:17.234Z] ---> Running in e0a4c8681683 [2021-08-11T20:27:17.503Z] Removing intermediate container e0a4c8681683 [2021-08-11T20:27:17.503Z] ---> 6d4255b74418 [2021-08-11T20:27:17.503Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-11T20:27:17.503Z] ---> dc0b786b2675 [2021-08-11T20:27:17.503Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-11T20:27:18.089Z] ---> 617f9e6d4f36 [2021-08-11T20:27:18.089Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-11T20:27:18.089Z] ---> 0db5095d1ff2 [2021-08-11T20:27:18.089Z] Step 18/23 : EXPOSE 59999 [2021-08-11T20:27:18.089Z] ---> Running in 3fa8872c7582 [2021-08-11T20:27:18.368Z] Removing intermediate container 3fa8872c7582 [2021-08-11T20:27:18.369Z] ---> 150d2d215781 [2021-08-11T20:27:18.369Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-11T20:27:18.369Z] ---> Running in ad590c629332 [2021-08-11T20:27:18.369Z] Removing intermediate container ad590c629332 [2021-08-11T20:27:18.369Z] ---> f237fd590636 [2021-08-11T20:27:18.369Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-11T20:27:18.369Z] ---> Running in bbb07a8ea134 [2021-08-11T20:27:18.369Z] Removing intermediate container bbb07a8ea134 [2021-08-11T20:27:18.369Z] ---> 2a18152aac0d [2021-08-11T20:27:18.369Z] Step 21/23 : LABEL arch=amd64 [2021-08-11T20:27:18.369Z] ---> Running in d25bc202eb5e [2021-08-11T20:27:18.636Z] Removing intermediate container d25bc202eb5e [2021-08-11T20:27:18.636Z] ---> b96ada064770 [2021-08-11T20:27:18.636Z] Step 22/23 : LABEL git_sha=39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d [2021-08-11T20:27:18.636Z] ---> Running in aecc5701943c [2021-08-11T20:27:18.636Z] Removing intermediate container aecc5701943c [2021-08-11T20:27:18.636Z] ---> a0cc97e828a6 [2021-08-11T20:27:18.636Z] Step 23/23 : LABEL version=2.0.1-dev.8 [2021-08-11T20:27:18.636Z] ---> Running in ac15da8a1da4 [2021-08-11T20:27:18.903Z] Removing intermediate container ac15da8a1da4 [2021-08-11T20:27:18.903Z] ---> 69bb5b726a4a [2021-08-11T20:27:18.903Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-11T20:27:18.903Z] Successfully built 69bb5b726a4a [2021-08-11T20:27:18.903Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:27:19.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:27:19.388Z] [2021-08-11T20:27:19.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:27:19.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:27:19.719Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T20:27:19.719Z] b4d181a07f80: Pulling fs layer [2021-08-11T20:27:19.719Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T20:27:19.719Z] ed53099fbce6: Pulling fs layer [2021-08-11T20:27:19.719Z] dc539afda2c1: Pulling fs layer [2021-08-11T20:27:19.719Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T20:27:19.719Z] 9065ff56babe: Pulling fs layer [2021-08-11T20:27:19.719Z] d287ab97295c: Pulling fs layer [2021-08-11T20:27:19.719Z] dc539afda2c1: Waiting [2021-08-11T20:27:19.719Z] 77bc0d833cb6: Waiting [2021-08-11T20:27:19.719Z] 9065ff56babe: Waiting [2021-08-11T20:27:19.719Z] d287ab97295c: Waiting [2021-08-11T20:27:19.985Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T20:27:19.985Z] a1111a8f2ec3: Download complete [2021-08-11T20:27:19.985Z] dc539afda2c1: Verifying Checksum [2021-08-11T20:27:19.985Z] dc539afda2c1: Download complete [2021-08-11T20:27:20.251Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T20:27:20.251Z] 77bc0d833cb6: Download complete [2021-08-11T20:27:20.251Z] 9065ff56babe: Verifying Checksum [2021-08-11T20:27:20.251Z] 9065ff56babe: Download complete [2021-08-11T20:27:20.840Z] ed53099fbce6: Verifying Checksum [2021-08-11T20:27:20.840Z] ed53099fbce6: Download complete [2021-08-11T20:27:21.449Z] b4d181a07f80: Verifying Checksum [2021-08-11T20:27:21.450Z] b4d181a07f80: Download complete [2021-08-11T20:27:22.879Z] b4d181a07f80: Pull complete [2021-08-11T20:27:22.879Z] a1111a8f2ec3: Pull complete [2021-08-11T20:27:23.463Z] ed53099fbce6: Pull complete [2021-08-11T20:27:23.464Z] dc539afda2c1: Pull complete [2021-08-11T20:27:23.732Z] 77bc0d833cb6: Pull complete [2021-08-11T20:27:23.998Z] 9065ff56babe: Pull complete [2021-08-11T20:27:26.137Z] e90a11edd702: Pull complete [2021-08-11T20:27:26.137Z] d77568369979: Pull complete [2021-08-11T20:27:26.576Z] d287ab97295c: Verifying Checksum [2021-08-11T20:27:26.576Z] d287ab97295c: Download complete [2021-08-11T20:27:26.735Z] fc1c9f9a7f3b: Pull complete [2021-08-11T20:27:27.010Z] 170f2ba95c9a: Pull complete [2021-08-11T20:27:30.851Z] d287ab97295c: Pull complete [2021-08-11T20:27:30.851Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T20:27:30.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:27:30.851Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T20:27:30.946Z] prd-centos7-docker-4c-2g-429 does not seem to be running inside a container [2021-08-11T20:27:31.007Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-08-11T20:27:33.255Z] $ docker top 9bceff77e9784749b1053839c2a5453265cad8ae902c0a5a07bb13039822292d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:27:33.758Z] 97ac5df62f85: Pull complete [2021-08-11T20:27:33.758Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-11T20:27:33.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-11T20:27:33.758Z] ---> 04bc70af865f [2021-08-11T20:27:33.758Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T20:27:33.807Z] ---> job-cost.sh [2021-08-11T20:27:33.807Z] lf-activate-venv: SKIPPING [2021-08-11T20:27:33.807Z] INFO: No Stack... [2021-08-11T20:27:34.777Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T20:27:35.042Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T20:27:35.369Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-08-11T20:27:35.369Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T20:27:35.419Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-5-stack-cost] [2021-08-11T20:27:35.431Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-5-stack-cost] did not exist. Created. [2021-08-11T20:27:35.432Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T20:27:35.785Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-11T20:27:35.843Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T20:27:35.853Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T20:27:35.880Z] $ docker stop --time=1 9bceff77e9784749b1053839c2a5453265cad8ae902c0a5a07bb13039822292d [2021-08-11T20:27:37.043Z] $ docker rm -f 9bceff77e9784749b1053839c2a5453265cad8ae902c0a5a07bb13039822292d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-08-11T20:27:37.178Z] ---> Running in 0e6f4929e61d [2021-08-11T20:27:37.178Z] Removing intermediate container 0e6f4929e61d [2021-08-11T20:27:37.178Z] ---> d5857e7f3338 [2021-08-11T20:27:37.178Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-11T20:27:37.466Z] ---> Running in 1760c10ed563 [2021-08-11T20:27:40.893Z] Removing intermediate container 1760c10ed563 [2021-08-11T20:27:40.894Z] ---> f0e38b570c0a [2021-08-11T20:27:40.894Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-08-11T20:27:40.894Z] ---> Running in edc1e0371d08 [2021-08-11T20:27:41.886Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:27:42.870Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:27:43.872Z] OK: 218 MiB in 52 packages [2021-08-11T20:27:45.335Z] Removing intermediate container edc1e0371d08 [2021-08-11T20:27:45.335Z] ---> 9ae43bfc9da6 [2021-08-11T20:27:45.335Z] Step 6/8 : WORKDIR /device-sdk-go [2021-08-11T20:27:45.610Z] ---> Running in f3a8ac0a045e [2021-08-11T20:27:46.213Z] Removing intermediate container f3a8ac0a045e [2021-08-11T20:27:46.214Z] ---> 34bd8c604312 [2021-08-11T20:27:46.214Z] Step 7/8 : COPY . . [2021-08-11T20:27:47.687Z] ---> 00db4531b050 [2021-08-11T20:27:47.687Z] Step 8/8 : RUN go mod download [2021-08-11T20:27:47.963Z] ---> Running in d2fd41807cbb [2021-08-11T20:28:20.345Z] Removing intermediate container d2fd41807cbb [2021-08-11T20:28:20.345Z] ---> e7652118f914 [2021-08-11T20:28:20.345Z] Successfully built e7652118f914 [2021-08-11T20:28:20.345Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:28:20.704Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T20:28:20.704Z] . [Pipeline] withDockerContainer [2021-08-11T20:28:20.991Z] prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container [2021-08-11T20:28:21.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** ci-base-image-arm64 cat [2021-08-11T20:28:22.954Z] $ docker top 5dd5e03cd475f9f0a296cb4d1218a62940901fd39542e320ab5d2e9d6c615c90 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:28:23.985Z] + go version [2021-08-11T20:28:23.985Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-11T20:28:24.014Z] $ docker stop --time=1 5dd5e03cd475f9f0a296cb4d1218a62940901fd39542e320ab5d2e9d6c615c90 [2021-08-11T20:28:25.982Z] $ docker rm -f 5dd5e03cd475f9f0a296cb4d1218a62940901fd39542e320ab5d2e9d6c615c90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:28:26.711Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T20:28:26.712Z] . [Pipeline] withDockerContainer [2021-08-11T20:28:27.002Z] prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container [2021-08-11T20:28:27.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** ci-base-image-arm64 cat [2021-08-11T20:28:28.916Z] $ docker top 5e190de40efe91a6791672e6712745dade9a57006b856f49746fbd4eac9fa110 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T20:28:29.941Z] + go mod tidy [Pipeline] sh [2021-08-11T20:28:31.219Z] + make test [2021-08-11T20:28:31.219Z] go mod tidy [2021-08-11T20:28:31.828Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-11T20:29:04.255Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-11T20:30:12.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-11T20:30:12.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-11T20:30:12.409Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-11T20:30:24.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.409s coverage: 24.2% of statements [2021-08-11T20:30:24.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-11T20:30:24.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.202s coverage: 28.1% of statements [2021-08-11T20:30:24.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.251s coverage: 78.9% of statements [2021-08-11T20:30:24.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.196s coverage: 9.0% of statements [2021-08-11T20:30:24.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-11T20:30:24.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-11T20:30:24.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-11T20:30:24.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.342s coverage: 28.7% of statements [2021-08-11T20:30:24.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-11T20:30:27.513Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.223s coverage: 83.3% of statements [2021-08-11T20:30:27.513Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-11T20:30:27.513Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-11T20:30:27.513Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.448s coverage: 58.0% of statements [2021-08-11T20:30:29.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.256s coverage: 89.2% of statements [2021-08-11T20:30:29.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-11T20:30:29.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 4.9% of statements [2021-08-11T20:30:29.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-11T20:30:29.773Z] GO111MODULE=on go vet ./... [2021-08-11T20:31:37.851Z] gofmt -l . [2021-08-11T20:31:37.851Z] [ "`gofmt -l .`" = "" ] [2021-08-11T20:31:37.851Z] ./bin/test-attribution-txt.sh [2021-08-11T20:31:37.851Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-11T20:31:37.888Z] $ docker stop --time=1 5e190de40efe91a6791672e6712745dade9a57006b856f49746fbd4eac9fa110 [2021-08-11T20:31:40.462Z] $ docker rm -f 5e190de40efe91a6791672e6712745dade9a57006b856f49746fbd4eac9fa110 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:31:41.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T20:31:41.909Z] Warning: overwriting stash ‘coverage-report’ [2021-08-11T20:31:42.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-11T20:31:43.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T20:31:43.697Z] + ls -al . [2021-08-11T20:31:43.697Z] total 272 [2021-08-11T20:31:43.697Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 20:31 . [2021-08-11T20:31:43.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:26 .. [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 11 20:27 .dockerignore [2021-08-11T20:31:43.697Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 20:27 .git [2021-08-11T20:31:43.697Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:27 .github [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 11 20:27 .gitignore [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 24816 Aug 11 20:27 CHANGELOG.md [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 987 Aug 11 20:27 Dockerfile.build [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 20:27 GOVERNANCE.md [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 11 20:27 Jenkinsfile [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 11 20:27 LICENSE [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 1026 Aug 11 20:27 Makefile [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 11 20:27 OWNERS.md [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 7646 Aug 11 20:27 README.md [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 11 20:23 VERSION [2021-08-11T20:31:43.697Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:27 bin [2021-08-11T20:31:43.697Z] -rw-r--r-- 1 jenkins jenkins 125634 Aug 11 20:30 coverage.out [2021-08-11T20:31:43.697Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 11 20:27 example [2021-08-11T20:31:43.697Z] -rw-r--r-- 1 jenkins jenkins 548 Aug 11 20:31 go.mod [2021-08-11T20:31:43.697Z] -rw-r--r-- 1 jenkins jenkins 20301 Aug 11 20:28 go.sum [2021-08-11T20:31:43.697Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 11 20:27 internal [2021-08-11T20:31:43.697Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:27 openapi [2021-08-11T20:31:43.697Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 11 20:27 pkg [2021-08-11T20:31:43.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:27 snap [2021-08-11T20:31:43.697Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 11 20:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:31:44.117Z] + 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=39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d --label arch=arm64 --label version=2.0.1-dev.8 . [2021-08-11T20:31:44.754Z] Sending build context to Docker daemon 2.726MB [2021-08-11T20:31:44.754Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:31:44.754Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-11T20:31:44.754Z] ---> e7652118f914 [2021-08-11T20:31:44.754Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-11T20:31:45.365Z] ---> Running in a3fd1013771b [2021-08-11T20:31:45.971Z] Removing intermediate container a3fd1013771b [2021-08-11T20:31:45.971Z] ---> d04a7b3cf78a [2021-08-11T20:31:45.971Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T20:31:45.971Z] ---> Running in 6fef6cb66094 [2021-08-11T20:31:46.579Z] Removing intermediate container 6fef6cb66094 [2021-08-11T20:31:46.579Z] ---> ba8c4bf43258 [2021-08-11T20:31:46.579Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:31:46.857Z] ---> Running in 7f88b89f9e55 [2021-08-11T20:31:49.498Z] Removing intermediate container 7f88b89f9e55 [2021-08-11T20:31:49.498Z] ---> b40c0298c57d [2021-08-11T20:31:49.498Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-11T20:31:49.498Z] ---> Running in 1cf3dbe0bf39 [2021-08-11T20:31:50.954Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:31:51.932Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:31:52.934Z] OK: 218 MiB in 52 packages [2021-08-11T20:31:54.386Z] Removing intermediate container 1cf3dbe0bf39 [2021-08-11T20:31:54.386Z] ---> 4dec264dfc47 [2021-08-11T20:31:54.386Z] Step 7/23 : COPY . . [2021-08-11T20:31:55.845Z] ---> f7506fee15ba [2021-08-11T20:31:55.845Z] Step 8/23 : RUN go mod download [2021-08-11T20:31:55.845Z] ---> Running in c48efc904217 [2021-08-11T20:31:58.492Z] Removing intermediate container c48efc904217 [2021-08-11T20:31:58.492Z] ---> 2e74d3215797 [2021-08-11T20:31:58.492Z] Step 9/23 : RUN make build [2021-08-11T20:31:58.492Z] ---> Running in 299a46492a4e [2021-08-11T20:31:59.932Z] go mod tidy [2021-08-11T20:32:00.545Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.8" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-11T20:32:39.632Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-11T20:32:41.608Z] Removing intermediate container 299a46492a4e [2021-08-11T20:32:41.608Z] ---> 681966834639 [2021-08-11T20:32:41.608Z] Step 10/23 : FROM alpine:3.12 [2021-08-11T20:32:41.885Z] 3.12: Pulling from library/alpine [2021-08-11T20:32:42.161Z] d2f70382dc9a: Pulling fs layer [2021-08-11T20:32:42.436Z] d2f70382dc9a: Verifying Checksum [2021-08-11T20:32:42.436Z] d2f70382dc9a: Download complete [2021-08-11T20:32:43.036Z] d2f70382dc9a: Pull complete [2021-08-11T20:32:43.311Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-11T20:32:43.311Z] Status: Downloaded newer image for alpine:3.12 [2021-08-11T20:32:43.311Z] ---> c4fd0aeabfcf [2021-08-11T20:32:43.311Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-11T20:32:43.589Z] ---> Running in 19d5a2033310 [2021-08-11T20:32:44.186Z] Removing intermediate container 19d5a2033310 [2021-08-11T20:32:44.186Z] ---> 4ca0986add00 [2021-08-11T20:32:44.186Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:32:44.460Z] ---> Running in b2ee0a7f1816 [2021-08-11T20:32:47.094Z] Removing intermediate container b2ee0a7f1816 [2021-08-11T20:32:47.094Z] ---> f79d032d710c [2021-08-11T20:32:47.094Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-11T20:32:47.094Z] ---> Running in 0d27510f21a9 [2021-08-11T20:32:48.533Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:32:49.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:32:50.118Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-11T20:32:50.118Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-11T20:32:50.118Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-11T20:32:50.720Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-11T20:32:51.315Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-11T20:32:51.315Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T20:32:51.315Z] OK: 8 MiB in 19 packages [2021-08-11T20:32:52.745Z] Removing intermediate container 0d27510f21a9 [2021-08-11T20:32:52.745Z] ---> 34aab1862a1d [2021-08-11T20:32:52.745Z] Step 14/23 : WORKDIR / [2021-08-11T20:32:53.020Z] ---> Running in 5df8e2b1351c [2021-08-11T20:32:53.614Z] Removing intermediate container 5df8e2b1351c [2021-08-11T20:32:53.614Z] ---> 5830a19640bf [2021-08-11T20:32:53.614Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-11T20:32:54.209Z] ---> 655059b18c5a [2021-08-11T20:32:54.209Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-11T20:32:55.652Z] ---> 37d151405a27 [2021-08-11T20:32:55.652Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-11T20:32:56.630Z] ---> f0d1e85027a6 [2021-08-11T20:32:56.630Z] Step 18/23 : EXPOSE 59999 [2021-08-11T20:32:56.900Z] ---> Running in c0bea1e3aeb5 [2021-08-11T20:32:57.173Z] Removing intermediate container c0bea1e3aeb5 [2021-08-11T20:32:57.173Z] ---> cd5bf9db5300 [2021-08-11T20:32:57.173Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-11T20:32:57.445Z] ---> Running in 65c5567965ea [2021-08-11T20:32:58.044Z] Removing intermediate container 65c5567965ea [2021-08-11T20:32:58.044Z] ---> 349b2b2ae682 [2021-08-11T20:32:58.044Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-11T20:32:58.044Z] ---> Running in 22f5ea47818f [2021-08-11T20:32:58.643Z] Removing intermediate container 22f5ea47818f [2021-08-11T20:32:58.643Z] ---> 3b8a459e17f3 [2021-08-11T20:32:58.643Z] Step 21/23 : LABEL arch=arm64 [2021-08-11T20:32:58.917Z] ---> Running in b00619c5a939 [2021-08-11T20:32:59.191Z] Removing intermediate container b00619c5a939 [2021-08-11T20:32:59.191Z] ---> f4f6193cb074 [2021-08-11T20:32:59.191Z] Step 22/23 : LABEL git_sha=39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d [2021-08-11T20:32:59.468Z] ---> Running in 36f93d7cf9d1 [2021-08-11T20:33:00.066Z] Removing intermediate container 36f93d7cf9d1 [2021-08-11T20:33:00.067Z] ---> 144ed65a9362 [2021-08-11T20:33:00.067Z] Step 23/23 : LABEL version=2.0.1-dev.8 [2021-08-11T20:33:00.344Z] ---> Running in 00bf582e1b5c [2021-08-11T20:33:00.942Z] Removing intermediate container 00bf582e1b5c [2021-08-11T20:33:00.942Z] ---> 968b51742c3f [2021-08-11T20:33:00.942Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-11T20:33:00.942Z] Successfully built 968b51742c3f [2021-08-11T20:33:00.942Z] 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-08-11T20:33:01.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:33:01.713Z] [2021-08-11T20:33:01.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:02.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:33:02.374Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-11T20:33:02.374Z] 448f6bf000e3: Pulling fs layer [2021-08-11T20:33:02.374Z] f757da607395: Pulling fs layer [2021-08-11T20:33:02.374Z] 05883995daec: Pulling fs layer [2021-08-11T20:33:02.374Z] 8603b9c90790: Pulling fs layer [2021-08-11T20:33:02.374Z] 1560dd03e051: Pulling fs layer [2021-08-11T20:33:02.374Z] 27f5ce0e4adf: Pulling fs layer [2021-08-11T20:33:02.374Z] c2d8d7efcc4b: Pulling fs layer [2021-08-11T20:33:02.374Z] 1560dd03e051: Waiting [2021-08-11T20:33:02.374Z] 27f5ce0e4adf: Waiting [2021-08-11T20:33:02.374Z] c2d8d7efcc4b: Waiting [2021-08-11T20:33:02.374Z] 8603b9c90790: Waiting [2021-08-11T20:33:02.652Z] f757da607395: Verifying Checksum [2021-08-11T20:33:02.652Z] f757da607395: Download complete [2021-08-11T20:33:02.652Z] 8603b9c90790: Download complete [2021-08-11T20:33:02.926Z] 1560dd03e051: Verifying Checksum [2021-08-11T20:33:02.926Z] 1560dd03e051: Download complete [2021-08-11T20:33:02.926Z] 27f5ce0e4adf: Download complete [2021-08-11T20:33:03.200Z] 05883995daec: Verifying Checksum [2021-08-11T20:33:03.200Z] 05883995daec: Download complete [2021-08-11T20:33:04.179Z] 448f6bf000e3: Verifying Checksum [2021-08-11T20:33:04.179Z] 448f6bf000e3: Download complete [2021-08-11T20:33:07.590Z] c2d8d7efcc4b: Verifying Checksum [2021-08-11T20:33:07.590Z] c2d8d7efcc4b: Download complete [2021-08-11T20:33:07.590Z] 448f6bf000e3: Pull complete [2021-08-11T20:33:08.578Z] f757da607395: Pull complete [2021-08-11T20:33:10.021Z] 05883995daec: Pull complete [2021-08-11T20:33:10.613Z] 8603b9c90790: Pull complete [2021-08-11T20:33:11.599Z] 1560dd03e051: Pull complete [2021-08-11T20:33:12.196Z] 27f5ce0e4adf: Pull complete [2021-08-11T20:33:27.401Z] c2d8d7efcc4b: Pull complete [2021-08-11T20:33:27.401Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-11T20:33:27.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:33:27.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-11T20:33:27.722Z] prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container [2021-08-11T20:33:27.845Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-11T20:33:33.909Z] $ docker top 2cffe07a4b352cd2f435c6a070cd939e4b2ee809bd930a6de354fd7da5914551 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:33:34.923Z] ---> job-cost.sh [2021-08-11T20:33:34.923Z] lf-activate-venv: SKIPPING [2021-08-11T20:33:34.923Z] INFO: No Stack... [2021-08-11T20:33:35.932Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-11T20:33:36.530Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T20:33:37.196Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-08-11T20:33:37.196Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T20:33:37.262Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-5-stack-cost] [2021-08-11T20:33:37.279Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-5-stack-cost] did not exist. Created. [2021-08-11T20:33:37.279Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T20:33:37.969Z] /w/workspace/device-sdk-go/5@tmp/durable-a6917a96/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-a6917a96/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-11T20:33:38.638Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-11T20:33:38.671Z] Warning: overwriting stash ‘stack-cost’ [2021-08-11T20:33:38.742Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T20:33:38.766Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T20:33:38.813Z] $ docker stop --time=1 2cffe07a4b352cd2f435c6a070cd939e4b2ee809bd930a6de354fd7da5914551 [2021-08-11T20:33:40.687Z] $ docker rm -f 2cffe07a4b352cd2f435c6a070cd939e4b2ee809bd930a6de354fd7da5914551 [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-08-11T20:33:41.529Z] provisioning config files... [2021-08-11T20:33:41.542Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3474948205179485069tmp [Pipeline] { [Pipeline] sh [2021-08-11T20:33:41.909Z] + set +x [2021-08-11T20:33:41.909Z] + bash -s -- [2021-08-11T20:33:41.909Z] + curl -s https://codecov.io/bash [2021-08-11T20:33:41.909Z] [2021-08-11T20:33:41.909Z] _____ _ [2021-08-11T20:33:41.909Z] / ____| | | [2021-08-11T20:33:41.909Z] | | ___ __| | ___ ___ _____ __ [2021-08-11T20:33:41.909Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-11T20:33:41.909Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-11T20:33:41.909Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-11T20:33:41.909Z] Bash-1.0.6 [2021-08-11T20:33:41.909Z] [2021-08-11T20:33:41.910Z] [2021-08-11T20:33:41.910Z] ==> git version 2.24.4 found [2021-08-11T20:33:41.910Z] ==> 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-08-11T20:33:41.910Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-11T20:33:41.910Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-11T20:33:41.910Z] ==> Jenkins CI detected. [2021-08-11T20:33:42.361Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-11T20:33:42.361Z] project root: . [2021-08-11T20:33:42.361Z] --> token set from env [2021-08-11T20:33:42.361Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-11T20:33:42.361Z] ==> Running gcov in . (disable via -X gcov) [2021-08-11T20:33:42.361Z] ==> Python coveragepy not found [2021-08-11T20:33:42.361Z] ==> Searching for coverage reports in: [2021-08-11T20:33:42.361Z] + . [2021-08-11T20:33:42.361Z] -> Found 1 reports [2021-08-11T20:33:42.361Z] ==> Detecting git/mercurial file structure [2021-08-11T20:33:42.361Z] ==> Reading reports [2021-08-11T20:33:42.361Z] + ./coverage.out bytes=125634 [2021-08-11T20:33:42.361Z] ==> Appending adjustments [2021-08-11T20:33:42.361Z] https://docs.codecov.io/docs/fixing-reports [2021-08-11T20:33:42.361Z] + Found adjustments [2021-08-11T20:33:42.361Z] ==> Gzipping contents [2021-08-11T20:33:42.361Z] 16K /tmp/codecov.GHxJpH.gz [2021-08-11T20:33:42.361Z] ==> Uploading reports [2021-08-11T20:33:42.361Z] url: https://codecov.io [2021-08-11T20:33:42.361Z] query: branch=main&commit=39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-11T20:33:42.361Z] -> Pinging Codecov [2021-08-11T20:33:42.361Z] 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=39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-11T20:33:42.946Z] -> Uploading to [2021-08-11T20:33:42.946Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-11/7E55EF52A471D76F132DFD9A03CDDE97/39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d/4dade122-4008-4c3b-a081-0fb7584d1262.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T203342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58f6384efe8629e6001f460cd298dc37f2102b697b18d458eb83c284e4439a84 [2021-08-11T20:33:42.946Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-11T20:33:42.946Z] Dload Upload Total Spent Left Speed [2021-08-11T20:33:43.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16055 0 0 100 16055 0 31533 --:--:-- --:--:-- --:--:-- 31542 [2021-08-11T20:33:43.214Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d [Pipeline] } [2021-08-11T20:33:43.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-11T20:33:43.927Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-11T20:33:43.963Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:44.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:33:44.303Z] [2021-08-11T20:33:44.303Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:44.652Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:33:44.919Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-11T20:33:44.920Z] 188c0c94c7c5: Pulling fs layer [2021-08-11T20:33:44.920Z] 0ef7d3d256c8: Pulling fs layer [2021-08-11T20:33:44.920Z] de9db76c5a1d: Pulling fs layer [2021-08-11T20:33:44.920Z] 0eba1c9be4d2: Pulling fs layer [2021-08-11T20:33:44.920Z] 0d57e429df01: Pulling fs layer [2021-08-11T20:33:44.920Z] 4e4be7b47b0d: Pulling fs layer [2021-08-11T20:33:44.920Z] e1f770b5df2f: Pulling fs layer [2021-08-11T20:33:44.920Z] 85a0685a4137: Pulling fs layer [2021-08-11T20:33:44.920Z] 0d57e429df01: Waiting [2021-08-11T20:33:44.920Z] 0eba1c9be4d2: Waiting [2021-08-11T20:33:44.920Z] 4e4be7b47b0d: Waiting [2021-08-11T20:33:44.920Z] 85a0685a4137: Waiting [2021-08-11T20:33:44.920Z] e1f770b5df2f: Waiting [2021-08-11T20:33:44.920Z] de9db76c5a1d: Verifying Checksum [2021-08-11T20:33:44.920Z] de9db76c5a1d: Download complete [2021-08-11T20:33:44.920Z] 0ef7d3d256c8: Verifying Checksum [2021-08-11T20:33:44.920Z] 0ef7d3d256c8: Download complete [2021-08-11T20:33:44.920Z] 0d57e429df01: Verifying Checksum [2021-08-11T20:33:44.920Z] 0d57e429df01: Download complete [2021-08-11T20:33:45.185Z] 4e4be7b47b0d: Verifying Checksum [2021-08-11T20:33:45.185Z] 4e4be7b47b0d: Download complete [2021-08-11T20:33:45.451Z] 188c0c94c7c5: Verifying Checksum [2021-08-11T20:33:45.451Z] 188c0c94c7c5: Download complete [2021-08-11T20:33:45.717Z] 188c0c94c7c5: Pull complete [2021-08-11T20:33:45.717Z] 0ef7d3d256c8: Pull complete [2021-08-11T20:33:45.717Z] de9db76c5a1d: Pull complete [2021-08-11T20:33:48.290Z] e1f770b5df2f: Verifying Checksum [2021-08-11T20:33:48.290Z] e1f770b5df2f: Download complete [2021-08-11T20:33:56.535Z] 0eba1c9be4d2: Verifying Checksum [2021-08-11T20:33:56.535Z] 0eba1c9be4d2: Download complete [2021-08-11T20:33:57.501Z] 85a0685a4137: Verifying Checksum [2021-08-11T20:33:57.501Z] 85a0685a4137: Download complete [2021-08-11T20:33:59.462Z] 0eba1c9be4d2: Pull complete [2021-08-11T20:33:59.462Z] 0d57e429df01: Pull complete [2021-08-11T20:33:59.736Z] 4e4be7b47b0d: Pull complete [2021-08-11T20:34:00.019Z] e1f770b5df2f: Pull complete [2021-08-11T20:34:03.660Z] 85a0685a4137: Pull complete [2021-08-11T20:34:03.660Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-11T20:34:03.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:34:03.660Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-11T20:34:03.771Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-08-11T20:34:03.868Z] $ 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-08-11T20:34:08.075Z] $ docker top d3cc4b29a3b8ed77b73bfa1643b684ff5be03b73c928f0cbfcb6b5c81272766d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-11T20:34:08.178Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-11T20:34:08.479Z] + set -o pipefail [2021-08-11T20:34:08.479Z] + snyk monitor '--org=edgex-jenkins' [2021-08-11T20:34:13.832Z] [2021-08-11T20:34:13.833Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-08-11T20:34:13.833Z] [2021-08-11T20:34:13.833Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/60207973-395b-416d-8947-136cda608423 [2021-08-11T20:34:13.833Z] [2021-08-11T20:34:13.833Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-11T20:34:13.833Z] [2021-08-11T20:34:14.100Z] [2021-08-11T20:34:14.100Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-08-11T20:34:14.100Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-08-11T20:34:14.114Z] $ docker stop --time=1 d3cc4b29a3b8ed77b73bfa1643b684ff5be03b73c928f0cbfcb6b5c81272766d [2021-08-11T20:34:16.063Z] $ docker rm -f d3cc4b29a3b8ed77b73bfa1643b684ff5be03b73c928f0cbfcb6b5c81272766d [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-08-11T20:34:16.539Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:34:16.559Z] provisioning config files... [2021-08-11T20:34:16.571Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config166940990359105727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:34:16.906Z] --> edgex-publish-swagger.sh [2021-08-11T20:34:16.906Z] === Publish openapi/v2 API === [2021-08-11T20:34:16.906Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-08-11T20:34:16.906Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-08-11T20:34:16.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-11T20:34:16.906Z] Dload Upload Total Spent Left Speed [2021-08-11T20:34:23.276Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 42697 0:00:01 0:00:01 --:--:-- 42726 100 51485 0 0 100 51485 0 23327 0:00:02 0:00:02 --:--:-- 23338 100 51485 0 0 100 51485 0 16047 0:00:03 0:00:03 --:--:-- 16053 100 51485 0 0 100 51485 0 12230 0:00:04 0:00:04 --:--:-- 12235 100 51485 0 0 100 51485 0 9880 0:00:05 0:00:05 --:--:-- 9881 100 51485 0 0 100 51485 0 8288 0:00:06 0:00:06 --:--:-- 0 100 51485 0 0 100 51485 0 8094 0:00:06 0:00:06 --:--:-- 0 [2021-08-11T20:34:23.276Z] [2021-08-11T20:34:23.276Z] [Pipeline] } [2021-08-11T20:34:23.289Z] 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-08-11T20:34:23.784Z] + git log --format=format:%s -1 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:34:24.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:34:24.119Z] . [Pipeline] withDockerContainer [2021-08-11T20:34:24.219Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-08-11T20:34:24.283Z] $ 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-08-11T20:34:24.666Z] $ docker top 98fd9843a8cf0b1b843135e99928b2f9d48050f95d46041dc16ded1bf2e53a8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:34:24.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:34:24.814Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:34:24.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:34:24.922Z] $ docker exec 98fd9843a8cf0b1b843135e99928b2f9d48050f95d46041dc16ded1bf2e53a8f ssh-agent [2021-08-11T20:34:25.044Z] SSH_AUTH_SOCK=/tmp/ssh-znkS3pSfGMqM/agent.15 [2021-08-11T20:34:25.044Z] SSH_AGENT_PID=21 [2021-08-11T20:34:25.052Z] Running ssh-add (command line suppressed) [2021-08-11T20:34:25.144Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1858356928225809744.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1858356928225809744.key) [2021-08-11T20:34:25.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:34:25.510Z] + git semver tag [2021-08-11T20:34:25.510Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:34:25.510Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-11T20:34:25.510Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-11T20:34:25.510Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:34:25.510Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:34:25.510Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:34:25.510Z] # $SEMVER_BRANCH = main [2021-08-11T20:34:25.510Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-08-11T20:34:25.510Z] # 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d HEAD [2021-08-11T20:34:25.510Z] # -> Force: false [2021-08-11T20:34:25.510Z] # 145fd04838d53dab750b4af2feca18fb75b23690 refs/tags/v2.0.1-dev.8 [Pipeline] } [2021-08-11T20:34:25.527Z] $ docker exec --env ******** --env ******** 98fd9843a8cf0b1b843135e99928b2f9d48050f95d46041dc16ded1bf2e53a8f ssh-agent -k [2021-08-11T20:34:25.619Z] unset SSH_AUTH_SOCK; [2021-08-11T20:34:25.619Z] unset SSH_AGENT_PID; [2021-08-11T20:34:25.619Z] echo Agent pid 21 killed; [2021-08-11T20:34:25.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:34:25.994Z] + git semver [Pipeline] } [2021-08-11T20:34:26.014Z] $ docker stop --time=1 98fd9843a8cf0b1b843135e99928b2f9d48050f95d46041dc16ded1bf2e53a8f [2021-08-11T20:34:27.206Z] $ docker rm -f 98fd9843a8cf0b1b843135e99928b2f9d48050f95d46041dc16ded1bf2e53a8f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:34:27.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:34:27.672Z] [2021-08-11T20:34:27.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:34:28.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:34:28.004Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-11T20:34:28.004Z] ab5ef0e58194: Pulling fs layer [2021-08-11T20:34:28.004Z] 9712f1f96733: Pulling fs layer [2021-08-11T20:34:28.004Z] 63f879dbbcfc: Pulling fs layer [2021-08-11T20:34:28.004Z] 0d9ebad4ef96: Pulling fs layer [2021-08-11T20:34:28.004Z] e9a5061849ea: Pulling fs layer [2021-08-11T20:34:28.004Z] d747dcd14b5f: Pulling fs layer [2021-08-11T20:34:28.004Z] 2de7ff778b66: Pulling fs layer [2021-08-11T20:34:28.004Z] 0d9ebad4ef96: Waiting [2021-08-11T20:34:28.004Z] e9a5061849ea: Waiting [2021-08-11T20:34:28.004Z] d747dcd14b5f: Waiting [2021-08-11T20:34:28.004Z] 2de7ff778b66: Waiting [2021-08-11T20:34:28.004Z] 9712f1f96733: Verifying Checksum [2021-08-11T20:34:28.004Z] 9712f1f96733: Download complete [2021-08-11T20:34:31.340Z] 63f879dbbcfc: Verifying Checksum [2021-08-11T20:34:31.340Z] 63f879dbbcfc: Download complete [2021-08-11T20:34:31.340Z] e9a5061849ea: Verifying Checksum [2021-08-11T20:34:31.340Z] e9a5061849ea: Download complete [2021-08-11T20:34:31.340Z] d747dcd14b5f: Verifying Checksum [2021-08-11T20:34:31.340Z] d747dcd14b5f: Download complete [2021-08-11T20:34:32.296Z] 2de7ff778b66: Verifying Checksum [2021-08-11T20:34:32.296Z] 2de7ff778b66: Download complete [2021-08-11T20:34:32.879Z] 0d9ebad4ef96: Verifying Checksum [2021-08-11T20:34:32.879Z] 0d9ebad4ef96: Download complete [2021-08-11T20:34:32.879Z] ab5ef0e58194: Verifying Checksum [2021-08-11T20:34:32.879Z] ab5ef0e58194: Download complete [2021-08-11T20:34:35.518Z] ab5ef0e58194: Pull complete [2021-08-11T20:34:35.518Z] 9712f1f96733: Pull complete [2021-08-11T20:34:36.100Z] 63f879dbbcfc: Pull complete [2021-08-11T20:34:39.478Z] 0d9ebad4ef96: Pull complete [2021-08-11T20:34:39.478Z] e9a5061849ea: Pull complete [2021-08-11T20:34:39.754Z] d747dcd14b5f: Pull complete [2021-08-11T20:34:40.722Z] 2de7ff778b66: Pull complete [2021-08-11T20:34:40.722Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-11T20:34:40.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:34:40.722Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-11T20:34:40.815Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-08-11T20:34:40.875Z] $ 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-08-11T20:34:44.097Z] $ docker top 80c6d2a3a9b054eede93462eac52f76f2a020434c5e2af3cdbdccc9226179c4d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:34:44.206Z] provisioning config files... [2021-08-11T20:34:44.219Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config200956175508582706tmp [2021-08-11T20:34:44.244Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3031660919925772216tmp [2021-08-11T20:34:44.270Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4626543107493200512tmp [Pipeline] { [Pipeline] echo [2021-08-11T20:34:44.298Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:34:44.606Z] ---> sigul-configuration.sh [2021-08-11T20:34:44.606Z] gpg: directory `/root/.gnupg' created [2021-08-11T20:34:44.606Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-11T20:34:44.606Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-11T20:34:44.606Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-11T20:34:44.606Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-11T20:34:44.606Z] gpg: CAST5 encrypted data [2021-08-11T20:34:44.606Z] gpg: encrypted with 1 passphrase [2021-08-11T20:34:44.606Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-11T20:34:44.921Z] + mkdir /home/jenkins [2021-08-11T20:34:44.921Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-11T20:34:45.244Z] + 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-08-11T20:34:45.260Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:34:45.577Z] ---> sigul-install.sh [2021-08-11T20:34:45.577Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-11T20:34:45.902Z] + git tag --list [2021-08-11T20:34:45.902Z] 0.7.1 [2021-08-11T20:34:45.902Z] delhi-tag [2021-08-11T20:34:45.902Z] v1.0.0 [2021-08-11T20:34:45.902Z] v1.1.0 [2021-08-11T20:34:45.902Z] v1.1.1 [2021-08-11T20:34:45.902Z] v1.1.2 [2021-08-11T20:34:45.902Z] v1.2.0 [2021-08-11T20:34:45.902Z] v1.2.1 [2021-08-11T20:34:45.902Z] v1.2.2 [2021-08-11T20:34:45.902Z] v1.2.3 [2021-08-11T20:34:45.902Z] v1.3.0 [2021-08-11T20:34:45.902Z] v1.4.0 [2021-08-11T20:34:45.902Z] v2.0.0 [2021-08-11T20:34:45.902Z] v2.0.1-dev.1 [2021-08-11T20:34:45.902Z] v2.0.1-dev.2 [2021-08-11T20:34:45.902Z] v2.0.1-dev.3 [2021-08-11T20:34:45.902Z] v2.0.1-dev.4 [2021-08-11T20:34:45.902Z] v2.0.1-dev.5 [2021-08-11T20:34:45.902Z] v2.0.1-dev.6 [2021-08-11T20:34:45.902Z] v2.0.1-dev.7 [2021-08-11T20:34:45.902Z] v2.0.1-dev.8 [Pipeline] sh [2021-08-11T20:34:46.217Z] + lftools sign git-tag v2.0.1-dev.8 [2021-08-11T20:34:46.798Z] Signing Git tag with Sigul... [2021-08-11T20:34:46.798Z] Signing v2.0.1-dev.8 [Pipeline] echo [2021-08-11T20:34:47.772Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:34:48.082Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-11T20:34:48.093Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-11T20:34:48.123Z] $ docker stop --time=1 80c6d2a3a9b054eede93462eac52f76f2a020434c5e2af3cdbdccc9226179c4d [2021-08-11T20:34:49.324Z] $ docker rm -f 80c6d2a3a9b054eede93462eac52f76f2a020434c5e2af3cdbdccc9226179c4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:34:50.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:34:50.064Z] . [Pipeline] withDockerContainer [2021-08-11T20:34:50.369Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-08-11T20:34:50.457Z] $ 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-08-11T20:34:50.818Z] $ docker top cb54e4da99e3f004a5b170b6a17fd047cb3723785fc69070d06f9d18d49f3e85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:34:50.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:34:50.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:34:51.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:34:51.057Z] $ docker exec cb54e4da99e3f004a5b170b6a17fd047cb3723785fc69070d06f9d18d49f3e85 ssh-agent [2021-08-11T20:34:51.159Z] SSH_AUTH_SOCK=/tmp/ssh-h6FRp6YOAJk1/agent.13 [2021-08-11T20:34:51.159Z] SSH_AGENT_PID=19 [2021-08-11T20:34:51.166Z] Running ssh-add (command line suppressed) [2021-08-11T20:34:51.246Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5942038035697623617.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5942038035697623617.key) [2021-08-11T20:34:51.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:34:51.600Z] + git semver bump pre [2021-08-11T20:34:51.600Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:34:51.600Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-11T20:34:51.600Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-11T20:34:51.600Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:34:51.600Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:34:51.600Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:34:51.600Z] # $SEMVER_BRANCH = main [2021-08-11T20:34:51.600Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-08-11T20:34:51.600Z] 2.0.1-dev.9 [Pipeline] } [2021-08-11T20:34:51.615Z] $ docker exec --env ******** --env ******** cb54e4da99e3f004a5b170b6a17fd047cb3723785fc69070d06f9d18d49f3e85 ssh-agent -k [2021-08-11T20:34:51.703Z] unset SSH_AUTH_SOCK; [2021-08-11T20:34:51.703Z] unset SSH_AGENT_PID; [2021-08-11T20:34:51.703Z] echo Agent pid 19 killed; [2021-08-11T20:34:51.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:34:52.077Z] + git semver [Pipeline] } [2021-08-11T20:34:52.094Z] $ docker stop --time=1 cb54e4da99e3f004a5b170b6a17fd047cb3723785fc69070d06f9d18d49f3e85 [2021-08-11T20:34:53.282Z] $ docker rm -f cb54e4da99e3f004a5b170b6a17fd047cb3723785fc69070d06f9d18d49f3e85 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:34:53.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:34:53.682Z] . [Pipeline] withDockerContainer [2021-08-11T20:34:53.767Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-08-11T20:34:53.832Z] $ 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-08-11T20:34:55.258Z] $ docker top 62bd791fff07ba373681bdc5522b416f874d818a6e7c8024d2698d5e6d9fbf6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:34:55.404Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:34:55.405Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:34:55.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:34:55.516Z] $ docker exec 62bd791fff07ba373681bdc5522b416f874d818a6e7c8024d2698d5e6d9fbf6f ssh-agent [2021-08-11T20:34:55.629Z] SSH_AUTH_SOCK=/tmp/ssh-ZckR8BG6zTb5/agent.13 [2021-08-11T20:34:55.629Z] SSH_AGENT_PID=19 [2021-08-11T20:34:55.637Z] Running ssh-add (command line suppressed) [2021-08-11T20:34:55.730Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8562075046251679271.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8562075046251679271.key) [2021-08-11T20:34:55.755Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:34:56.069Z] + git semver push [2021-08-11T20:34:56.069Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:34:56.069Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-11T20:34:56.069Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-11T20:34:56.069Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:34:56.069Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:34:56.069Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:34:56.069Z] # $SEMVER_BRANCH = main [2021-08-11T20:34:56.069Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-08-11T20:34:58.025Z] $ docker exec --env ******** --env ******** 62bd791fff07ba373681bdc5522b416f874d818a6e7c8024d2698d5e6d9fbf6f ssh-agent -k [2021-08-11T20:34:58.116Z] unset SSH_AUTH_SOCK; [2021-08-11T20:34:58.116Z] unset SSH_AGENT_PID; [2021-08-11T20:34:58.116Z] echo Agent pid 19 killed; [2021-08-11T20:34:58.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:34:58.502Z] + git semver [Pipeline] } [2021-08-11T20:34:58.522Z] $ docker stop --time=1 62bd791fff07ba373681bdc5522b416f874d818a6e7c8024d2698d5e6d9fbf6f [2021-08-11T20:34:59.712Z] $ docker rm -f 62bd791fff07ba373681bdc5522b416f874d818a6e7c8024d2698d5e6d9fbf6f [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-11T20:35:00.439Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:35:00.977Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:35:01.580Z] ---> package-listing.sh [2021-08-11T20:35:01.580Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-11T20:35:01.580Z] ++ facter osfamily [2021-08-11T20:35:01.852Z] + OS_FAMILY=redhat [2021-08-11T20:35:01.852Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-08-11T20:35:01.852Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-11T20:35:01.852Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-11T20:35:01.852Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-11T20:35:01.852Z] + PACKAGES=/tmp/packages_start.txt [2021-08-11T20:35:01.852Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-08-11T20:35:01.852Z] + PACKAGES=/tmp/packages_end.txt [2021-08-11T20:35:01.852Z] + case "${OS_FAMILY}" in [2021-08-11T20:35:01.852Z] + rpm -qa [2021-08-11T20:35:01.852Z] + sort [2021-08-11T20:35:02.810Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-11T20:35:02.810Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-11T20:35:02.810Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-11T20:35:02.810Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-08-11T20:35:02.810Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-08-11T20:35:02.810Z] + 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-08-11T20:35:02.826Z] 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-08-11T20:35:03.124Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:35:03.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:35:03.717Z] [2021-08-11T20:35:03.717Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:35:04.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:35:04.053Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T20:35:04.053Z] b4d181a07f80: Pulling fs layer [2021-08-11T20:35:04.053Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T20:35:04.053Z] ed53099fbce6: Pulling fs layer [2021-08-11T20:35:04.053Z] dc539afda2c1: Pulling fs layer [2021-08-11T20:35:04.053Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T20:35:04.053Z] 9065ff56babe: Pulling fs layer [2021-08-11T20:35:04.053Z] d287ab97295c: Pulling fs layer [2021-08-11T20:35:04.053Z] dc539afda2c1: Waiting [2021-08-11T20:35:04.053Z] 77bc0d833cb6: Waiting [2021-08-11T20:35:04.053Z] 9065ff56babe: Waiting [2021-08-11T20:35:04.053Z] d287ab97295c: Waiting [2021-08-11T20:35:04.654Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T20:35:04.654Z] a1111a8f2ec3: Download complete [2021-08-11T20:35:04.654Z] dc539afda2c1: Verifying Checksum [2021-08-11T20:35:04.654Z] dc539afda2c1: Download complete [2021-08-11T20:35:04.921Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T20:35:04.921Z] 77bc0d833cb6: Download complete [2021-08-11T20:35:04.921Z] 9065ff56babe: Download complete [2021-08-11T20:35:05.503Z] ed53099fbce6: Verifying Checksum [2021-08-11T20:35:05.503Z] ed53099fbce6: Download complete [2021-08-11T20:35:07.451Z] b4d181a07f80: Verifying Checksum [2021-08-11T20:35:07.451Z] b4d181a07f80: Download complete [2021-08-11T20:35:08.871Z] b4d181a07f80: Pull complete [2021-08-11T20:35:08.871Z] a1111a8f2ec3: Pull complete [2021-08-11T20:35:09.141Z] ed53099fbce6: Pull complete [2021-08-11T20:35:09.405Z] dc539afda2c1: Pull complete [2021-08-11T20:35:09.671Z] 77bc0d833cb6: Pull complete [2021-08-11T20:35:09.671Z] 9065ff56babe: Pull complete [2021-08-11T20:35:16.315Z] d287ab97295c: Verifying Checksum [2021-08-11T20:35:16.315Z] d287ab97295c: Download complete [2021-08-11T20:35:19.698Z] d287ab97295c: Pull complete [2021-08-11T20:35:19.698Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T20:35:19.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:35:19.698Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T20:35:19.802Z] prd-centos7-docker-4c-2g-426 does not seem to be running inside a container [2021-08-11T20:35:19.859Z] $ 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-08-11T20:35:22.231Z] $ docker top aa5989b2d579de4c4d80e95416750e10300e3d78aedd91425eb1ab35db129012 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:35:22.643Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-11T20:35:22.952Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-11T20:35:23.366Z] + ls /var/log/sa-host [2021-08-11T20:35:23.366Z] + sadf -c /var/log/sa-host/sa05 [2021-08-11T20:35:23.366Z] file_magic: OK [2021-08-11T20:35:23.366Z] HZ: Using current value: 100 [2021-08-11T20:35:23.366Z] file_header: OK [2021-08-11T20:35:23.366Z] 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-08-11T20:35:23.366Z] Statistics: [2021-08-11T20:35:23.366Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T20:35:23.366Z] File successfully converted to sysstat format version 12.0.3 [2021-08-11T20:35:23.366Z] + sadf -c /var/log/sa-host/sa11 [2021-08-11T20:35:23.366Z] file_magic: OK [2021-08-11T20:35:23.366Z] HZ: Using current value: 100 [2021-08-11T20:35:23.366Z] file_header: OK [2021-08-11T20:35:23.366Z] 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-08-11T20:35:23.366Z] Statistics: [2021-08-11T20:35:23.366Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T20:35:23.366Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:35:23.588Z] provisioning config files... [2021-08-11T20:35:23.605Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6656090891257039870tmp [Pipeline] { [Pipeline] echo [2021-08-11T20:35:23.643Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:35:23.960Z] ---> create-netrc.sh [Pipeline] } [2021-08-11T20:35:23.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:35:24.354Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-11T20:35:24.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:35:24.680Z] ---> sudo-logs.sh [2021-08-11T20:35:24.680Z] Archiving 'sudo' log.. [2021-08-11T20:35:24.680Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-426.vexxhost.local: Name or service not known [2021-08-11T20:35:24.680Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-426.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-11T20:35:24.720Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:35:25.034Z] ---> job-cost.sh [2021-08-11T20:35:25.034Z] lf-activate-venv: SKIPPING [2021-08-11T20:35:25.034Z] DEBUG: total: 0.18000000715255737 [2021-08-11T20:35:25.034Z] INFO: Retrieving Stack Cost... [2021-08-11T20:35:25.993Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T20:35:26.258Z] INFO: Archiving Costs [Pipeline] echo [2021-08-11T20:35:26.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:35:26.589Z] ---> logs-deploy.sh [2021-08-11T20:35:26.589Z] lf-activate-venv: SKIPPING [2021-08-11T20:35:26.589Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/5 [2021-08-11T20:35:26.589Z] INFO: archiving workspace using pattern(s): [2021-08-11T20:35:27.176Z] Archives upload complete. [2021-08-11T20:35:27.443Z] INFO: archiving logs to Nexus