Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1b99335a09a4d3b24ee39e90536b9933fcc6f394 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-ssh8634580855548552694.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh8449971017604295651.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh8474473408115153855.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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-ssh1787493891262462978.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4538855283308219546.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1452 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 1b99335a09a4d3b24ee39e90536b9933fcc6f394 (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-ssh4861434008949795551.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 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 Commit message: "Merge pull request #1023 from weichou1229/issue-1021" > git rev-list --no-walk 968d3db8c2290dc5857cf0eb9311eccc6509e672 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-05T01:53:29.539Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-05T01:53:29.620Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-05T01:53:29.648Z] ========================================================= [2021-10-05T01:53:29.648Z] EdgeX Global Pipelines Version Info [2021-10-05T01:53:29.648Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-05T01:53:30.915Z] ------------------- [2021-10-05T01:53:30.915Z] stable info: [2021-10-05T01:53:30.915Z] ------------------- [2021-10-05T01:53:30.915Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T01:53:30.915Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T01:53:30.915Z] Message: update stable to v1.0.206 [2021-10-05T01:53:31.498Z] ------------------- [2021-10-05T01:53:31.498Z] experimental info: [2021-10-05T01:53:31.498Z] ------------------- [2021-10-05T01:53:31.498Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T01:53:31.498Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T01:53:31.498Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-05T01:53:31.632Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-05T01:53:31.656Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-05T01:53:31.679Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-05T01:53:31.702Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-05T01:53:31.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-05T01:53:31.748Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-05T01:53:31.771Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-05T01:53:31.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-05T01:53:31.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-05T01:53:31.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-05T01:53:31.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-05T01:53:31.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-05T01:53:31.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-05T01:53:31.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-05T01:53:31.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-05T01:53:31.982Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-05T01:53:32.005Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T01:53:32.049Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T01:53:32.073Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T01:53:32.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-05T01:53:32.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-05T01:53:32.151Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-05T01:53:32.176Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-05T01:53:32.201Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-05T01:53:32.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-05T01:53:32.250Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-05T01:53:32.275Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-05T01:53:32.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-05T01:53:32.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-05T01:53:32.347Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-05T01:53:32.371Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b99335a09a4d3b24ee39e90536b9933fcc6f394 [Pipeline] echo [2021-10-05T01:53:32.395Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b99335 [Pipeline] echo [2021-10-05T01:53:32.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T01:53:32.498Z] provisioning config files... [2021-10-05T01:53:32.522Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config155551632514558988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T01:53:32.873Z] ---> docker-login.sh [2021-10-05T01:53:32.873Z] nexus3.edgexfoundry.org:10001 [2021-10-05T01:53:32.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:53:33.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:53:33.141Z] Configure a credential helper to remove this warning. See [2021-10-05T01:53:33.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:53:33.141Z] [2021-10-05T01:53:33.141Z] Login Succeeded [2021-10-05T01:53:33.141Z] nexus3.edgexfoundry.org:10002 [2021-10-05T01:53:33.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:53:33.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:53:33.405Z] Configure a credential helper to remove this warning. See [2021-10-05T01:53:33.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:53:33.405Z] [2021-10-05T01:53:33.405Z] Login Succeeded [2021-10-05T01:53:33.405Z] nexus3.edgexfoundry.org:10003 [2021-10-05T01:53:33.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:53:33.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:53:33.405Z] Configure a credential helper to remove this warning. See [2021-10-05T01:53:33.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:53:33.405Z] [2021-10-05T01:53:33.405Z] Login Succeeded [2021-10-05T01:53:33.405Z] nexus3.edgexfoundry.org:10004 [2021-10-05T01:53:33.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:53:33.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:53:33.678Z] Configure a credential helper to remove this warning. See [2021-10-05T01:53:33.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:53:33.678Z] [2021-10-05T01:53:33.678Z] Login Succeeded [2021-10-05T01:53:33.678Z] docker.io [2021-10-05T01:53:33.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:53:33.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:53:33.949Z] Configure a credential helper to remove this warning. See [2021-10-05T01:53:33.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:53:33.949Z] [2021-10-05T01:53:33.949Z] Login Succeeded [2021-10-05T01:53:33.949Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T01:53:33.963Z] 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-10-05T01:53:34.595Z] + git log --format=format:%s -1 1b99335a09a4d3b24ee39e90536b9933fcc6f394 [Pipeline] echo [2021-10-05T01:53:34.652Z] GIT_COMMIT: 1b99335a09a4d3b24ee39e90536b9933fcc6f394, Commit Message: Merge pull request #1023 from weichou1229/issue-1021 [Pipeline] echo [2021-10-05T01:53:34.667Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:53:35.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T01:53:35.660Z] [2021-10-05T01:53:35.660Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:53:36.005Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T01:53:36.005Z] latest: Pulling from edgex-devops/git-semver [2021-10-05T01:53:36.005Z] 31603596830f: Pulling fs layer [2021-10-05T01:53:36.005Z] 04fac38145f0: Pulling fs layer [2021-10-05T01:53:36.005Z] 701f6daf10bf: Pulling fs layer [2021-10-05T01:53:36.005Z] 24f72da36158: Pulling fs layer [2021-10-05T01:53:36.005Z] 24f72da36158: Waiting [2021-10-05T01:53:36.283Z] 04fac38145f0: Verifying Checksum [2021-10-05T01:53:36.283Z] 04fac38145f0: Download complete [2021-10-05T01:53:36.283Z] 31603596830f: Verifying Checksum [2021-10-05T01:53:36.283Z] 31603596830f: Download complete [2021-10-05T01:53:36.555Z] 31603596830f: Pull complete [2021-10-05T01:53:36.555Z] 24f72da36158: Verifying Checksum [2021-10-05T01:53:36.555Z] 24f72da36158: Download complete [2021-10-05T01:53:36.555Z] 04fac38145f0: Pull complete [2021-10-05T01:53:36.555Z] 701f6daf10bf: Verifying Checksum [2021-10-05T01:53:36.555Z] 701f6daf10bf: Download complete [2021-10-05T01:53:37.165Z] 701f6daf10bf: Pull complete [2021-10-05T01:53:37.438Z] 24f72da36158: Pull complete [2021-10-05T01:53:37.438Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-05T01:53:37.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T01:53:37.438Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-05T01:53:37.740Z] prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container [2021-10-05T01:53:37.815Z] $ 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-10-05T01:53:38.735Z] $ docker top 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T01:53:38.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T01:53:38.857Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T01:53:38.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T01:53:38.969Z] $ docker exec 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 ssh-agent [2021-10-05T01:53:39.081Z] SSH_AUTH_SOCK=/tmp/ssh-L5qF0dniNNCs/agent.14 [2021-10-05T01:53:39.081Z] SSH_AGENT_PID=20 [2021-10-05T01:53:39.101Z] Running ssh-add (command line suppressed) [2021-10-05T01:53:39.191Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2218386308528019368.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2218386308528019368.key) [2021-10-05T01:53:39.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T01:53:39.576Z] + git tag --points-at HEAD [Pipeline] } [2021-10-05T01:53:39.604Z] $ docker exec --env ******** --env ******** 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 ssh-agent -k [2021-10-05T01:53:39.692Z] unset SSH_AUTH_SOCK; [2021-10-05T01:53:39.692Z] unset SSH_AGENT_PID; [2021-10-05T01:53:39.692Z] echo Agent pid 20 killed; [2021-10-05T01:53:39.709Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-05T01:53:39.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T01:53:39.747Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T01:53:39.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T01:53:39.870Z] $ docker exec 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 ssh-agent [2021-10-05T01:53:39.992Z] SSH_AUTH_SOCK=/tmp/ssh-7p3TOTQfzCT0/agent.54 [2021-10-05T01:53:39.992Z] SSH_AGENT_PID=61 [2021-10-05T01:53:40.002Z] Running ssh-add (command line suppressed) [2021-10-05T01:53:40.095Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3834379231702174169.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3834379231702174169.key) [2021-10-05T01:53:40.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T01:53:40.458Z] + git semver init [2021-10-05T01:53:40.458Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T01:53:40.458Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-05T01:53:40.458Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-05T01:53:40.458Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T01:53:40.458Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T01:53:40.458Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T01:53:40.458Z] # $SEMVER_BRANCH = main [2021-10-05T01:53:40.458Z] # $SEMVER_TEMP = /tmp/semver-025377998 [2021-10-05T01:53:40.458Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-05T01:53:41.047Z] # '/tmp/semver-025377998' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-05T01:53:41.047Z] # -> Force: false [2021-10-05T01:53:41.047Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-05T01:53:41.069Z] $ docker exec --env ******** --env ******** 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 ssh-agent -k [2021-10-05T01:53:41.148Z] unset SSH_AUTH_SOCK; [2021-10-05T01:53:41.149Z] unset SSH_AGENT_PID; [2021-10-05T01:53:41.149Z] echo Agent pid 61 killed; [2021-10-05T01:53:41.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T01:53:41.516Z] + git semver [Pipeline] } [2021-10-05T01:53:41.538Z] $ docker stop --time=1 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 [2021-10-05T01:53:42.757Z] $ docker rm -f 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T01:53:43.345Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-05T01:53:43.893Z] Stashed 1 file(s) [Pipeline] echo [2021-10-05T01:53:43.896Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.14 [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-10-05T01:53:59.133Z] Still waiting to schedule task [2021-10-05T01:53:59.134Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-05T01:53:59.136Z] Still waiting to schedule task [2021-10-05T01:53:59.137Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-05T01:56:16.540Z] Running on prd-centos7-docker-4c-2g-1455 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-05T01:56:16.560Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2021-10-05T01:56:16.698Z] Selected Git installation does not exist. Using Default [2021-10-05T01:56:16.698Z] The recommended git tool is: NONE [2021-10-05T01:56:21.552Z] using credential edgex-jenkins-ssh [2021-10-05T01:56:21.568Z] Cloning the remote Git repository [2021-10-05T01:56:21.587Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T01:56:21.652Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2021-10-05T01:56:21.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T01:56:21.692Z] > git --version # timeout=10 [2021-10-05T01:56:21.700Z] > git --version # 'git version 2.24.4' [2021-10-05T01:56:21.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T01:56:21.726Z] [INFO] Currently running in a labeled security context [2021-10-05T01:56:21.726Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T01:56:21.726Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/11@tmp/jenkins-gitclient-ssh439071618740149493.key [2021-10-05T01:56:21.762Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T01:56:22.518Z] Avoid second fetch [2021-10-05T01:56:22.519Z] Checking out Revision 1b99335a09a4d3b24ee39e90536b9933fcc6f394 (main) [2021-10-05T01:56:22.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-05T01:56:22.503Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T01:56:22.527Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T01:56:22.537Z] > git checkout -f 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 [2021-10-05T01:56:26.533Z] Commit message: "Merge pull request #1023 from weichou1229/issue-1021" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T01:56:26.914Z] provisioning config files... [2021-10-05T01:56:26.938Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config4832374540989714567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T01:56:27.388Z] ---> docker-login.sh [2021-10-05T01:56:27.388Z] nexus3.edgexfoundry.org:10001 [2021-10-05T01:56:27.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:56:27.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:56:27.388Z] Configure a credential helper to remove this warning. See [2021-10-05T01:56:27.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:56:27.388Z] [2021-10-05T01:56:27.388Z] Login Succeeded [2021-10-05T01:56:27.388Z] nexus3.edgexfoundry.org:10002 [2021-10-05T01:56:27.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:56:27.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:56:27.659Z] Configure a credential helper to remove this warning. See [2021-10-05T01:56:27.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:56:27.659Z] [2021-10-05T01:56:27.659Z] Login Succeeded [2021-10-05T01:56:27.659Z] nexus3.edgexfoundry.org:10003 [2021-10-05T01:56:27.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:56:27.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:56:27.659Z] Configure a credential helper to remove this warning. See [2021-10-05T01:56:27.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:56:27.659Z] [2021-10-05T01:56:27.659Z] Login Succeeded [2021-10-05T01:56:27.659Z] nexus3.edgexfoundry.org:10004 [2021-10-05T01:56:27.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:56:27.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:56:27.929Z] Configure a credential helper to remove this warning. See [2021-10-05T01:56:27.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:56:27.929Z] [2021-10-05T01:56:27.929Z] Login Succeeded [2021-10-05T01:56:27.929Z] docker.io [2021-10-05T01:56:27.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:56:28.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:56:28.197Z] Configure a credential helper to remove this warning. See [2021-10-05T01:56:28.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:56:28.197Z] [2021-10-05T01:56:28.197Z] Login Succeeded [2021-10-05T01:56:28.197Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T01:56:28.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T01:56:28.455Z] ========================================================= [2021-10-05T01:56:28.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-05T01:56:28.455Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:56:28.804Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-05T01:56:28.804Z] Sending build context to Docker daemon 2.622MB [2021-10-05T01:56:28.804Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T01:56:28.804Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-05T01:56:28.804Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-05T01:56:28.804Z] 540db60ca938: Pulling fs layer [2021-10-05T01:56:28.804Z] adcc1eea9eea: Pulling fs layer [2021-10-05T01:56:28.804Z] 4c4ab2625f07: Pulling fs layer [2021-10-05T01:56:28.804Z] db62176df00c: Pulling fs layer [2021-10-05T01:56:28.804Z] 3b30891b0d05: Pulling fs layer [2021-10-05T01:56:28.804Z] 06b49ca38bd5: Pulling fs layer [2021-10-05T01:56:28.804Z] c788192a36de: Pulling fs layer [2021-10-05T01:56:28.804Z] a77e37c0d609: Pulling fs layer [2021-10-05T01:56:28.804Z] c3185cebc471: Pulling fs layer [2021-10-05T01:56:28.804Z] db62176df00c: Waiting [2021-10-05T01:56:28.804Z] 3b30891b0d05: Waiting [2021-10-05T01:56:28.804Z] 06b49ca38bd5: Waiting [2021-10-05T01:56:28.804Z] c788192a36de: Waiting [2021-10-05T01:56:28.804Z] a77e37c0d609: Waiting [2021-10-05T01:56:28.804Z] c3185cebc471: Waiting [2021-10-05T01:56:28.804Z] 4c4ab2625f07: Verifying Checksum [2021-10-05T01:56:28.804Z] 4c4ab2625f07: Download complete [2021-10-05T01:56:29.083Z] adcc1eea9eea: Verifying Checksum [2021-10-05T01:56:29.083Z] adcc1eea9eea: Download complete [2021-10-05T01:56:29.083Z] 3b30891b0d05: Verifying Checksum [2021-10-05T01:56:29.083Z] 3b30891b0d05: Download complete [2021-10-05T01:56:29.083Z] 06b49ca38bd5: Verifying Checksum [2021-10-05T01:56:29.083Z] 06b49ca38bd5: Download complete [2021-10-05T01:56:29.083Z] 540db60ca938: Verifying Checksum [2021-10-05T01:56:29.083Z] 540db60ca938: Download complete [2021-10-05T01:56:29.083Z] c788192a36de: Verifying Checksum [2021-10-05T01:56:29.083Z] c788192a36de: Download complete [2021-10-05T01:56:29.083Z] 540db60ca938: Pull complete [2021-10-05T01:56:29.362Z] a77e37c0d609: Verifying Checksum [2021-10-05T01:56:29.362Z] a77e37c0d609: Download complete [2021-10-05T01:56:29.362Z] adcc1eea9eea: Pull complete [2021-10-05T01:56:29.362Z] 4c4ab2625f07: Pull complete [2021-10-05T01:56:30.329Z] c3185cebc471: Verifying Checksum [2021-10-05T01:56:30.329Z] c3185cebc471: Download complete [2021-10-05T01:56:30.919Z] db62176df00c: Verifying Checksum [2021-10-05T01:56:30.919Z] db62176df00c: Download complete [2021-10-05T01:56:34.286Z] db62176df00c: Pull complete [2021-10-05T01:56:34.286Z] 3b30891b0d05: Pull complete [2021-10-05T01:56:34.557Z] 06b49ca38bd5: Pull complete [2021-10-05T01:56:34.557Z] c788192a36de: Pull complete [2021-10-05T01:56:34.557Z] a77e37c0d609: Pull complete [2021-10-05T01:56:37.163Z] c3185cebc471: Pull complete [2021-10-05T01:56:37.163Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-10-05T01:56:37.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-05T01:56:37.163Z] ---> 031687cdd783 [2021-10-05T01:56:37.163Z] Step 3/9 : WORKDIR /device-sdk-go [2021-10-05T01:56:38.590Z] ---> Running in 833eaeee00ca [2021-10-05T01:56:38.590Z] Removing intermediate container 833eaeee00ca [2021-10-05T01:56:38.590Z] ---> 68f6fb22b299 [2021-10-05T01:56:38.590Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T01:56:38.868Z] ---> Running in b3c1008b63d7 [2021-10-05T01:56:38.868Z] Removing intermediate container b3c1008b63d7 [2021-10-05T01:56:38.868Z] ---> f277706d7991 [2021-10-05T01:56:38.868Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T01:56:38.868Z] ---> Running in 7a0d49ece901 [2021-10-05T01:56:39.451Z] Removing intermediate container 7a0d49ece901 [2021-10-05T01:56:39.451Z] ---> b62ca7819fd0 [2021-10-05T01:56:39.451Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-05T01:56:39.451Z] ---> Running in a761e08e139d [2021-10-05T01:56:39.451Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T01:56:40.423Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T01:56:40.691Z] OK: 219 MiB in 52 packages [2021-10-05T01:56:40.966Z] Removing intermediate container a761e08e139d [2021-10-05T01:56:40.966Z] ---> 5f6a6240a4a5 [2021-10-05T01:56:40.966Z] Step 7/9 : COPY . . [2021-10-05T01:56:41.237Z] ---> c619d6c06e92 [2021-10-05T01:56:41.237Z] Step 8/9 : RUN go mod download [2021-10-05T01:56:41.237Z] ---> Running in bee30914202e [2021-10-05T01:56:49.511Z] Removing intermediate container bee30914202e [2021-10-05T01:56:49.511Z] ---> 3b8ad7a8481c [2021-10-05T01:56:49.511Z] Step 9/9 : RUN make build [2021-10-05T01:56:49.511Z] ---> Running in dc2af61b0b48 [2021-10-05T01:56:49.789Z] go mod tidy [2021-10-05T01:56:50.069Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-05T01:57:00.258Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-05T01:57:01.226Z] Removing intermediate container dc2af61b0b48 [2021-10-05T01:57:01.226Z] ---> 357fb69f99ff [2021-10-05T01:57:01.226Z] [Warning] One or more build-args [MAKE] were not consumed [2021-10-05T01:57:01.227Z] Successfully built 357fb69f99ff [2021-10-05T01:57:01.227Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:57:01.569Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T01:57:01.569Z] . [Pipeline] withDockerContainer [2021-10-05T01:57:01.670Z] prd-centos7-docker-4c-2g-1455 does not seem to be running inside a container [2021-10-05T01:57:01.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-10-05T01:57:02.103Z] $ docker top 4fbe542611711ae8d36afab5c38046085f66b53b3b3b2cc0184b213d80f15510 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T01:57:02.512Z] + go version [2021-10-05T01:57:02.512Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-10-05T01:57:02.528Z] $ docker stop --time=1 4fbe542611711ae8d36afab5c38046085f66b53b3b3b2cc0184b213d80f15510 [2021-10-05T01:57:03.713Z] $ docker rm -f 4fbe542611711ae8d36afab5c38046085f66b53b3b3b2cc0184b213d80f15510 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:57:04.368Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T01:57:04.368Z] . [Pipeline] withDockerContainer [2021-10-05T01:57:04.450Z] prd-centos7-docker-4c-2g-1455 does not seem to be running inside a container [2021-10-05T01:57:04.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-10-05T01:57:04.891Z] $ docker top 707c059be7e607919af07e82478a0fe4bfe17f9a88efbf4ba3c59ba12b9e97ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T01:57:05.320Z] + go mod tidy [Pipeline] sh [2021-10-05T01:57:05.922Z] + make test [2021-10-05T01:57:05.922Z] go mod tidy [2021-10-05T01:57:05.922Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-05T01:57:11.354Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-05T01:57:28.805Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1454 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-05T01:57:28.826Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2021-10-05T01:57:29.078Z] Selected Git installation does not exist. Using Default [2021-10-05T01:57:29.078Z] The recommended git tool is: NONE [2021-10-05T01:57:33.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-05T01:57:33.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-05T01:57:33.499Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-05T01:57:35.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.7% of statements [2021-10-05T01:57:35.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-05T01:57:35.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 28.1% of statements [2021-10-05T01:57:36.513Z] using credential edgex-jenkins-ssh [2021-10-05T01:57:36.535Z] Cloning the remote Git repository [2021-10-05T01:57:36.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.043s coverage: 78.9% of statements [2021-10-05T01:57:36.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements [2021-10-05T01:57:36.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-05T01:57:36.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-05T01:57:36.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-05T01:57:37.136Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements [2021-10-05T01:57:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-05T01:57:36.599Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T01:57:36.720Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2021-10-05T01:57:36.806Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-05T01:57:36.807Z] > git --version # timeout=10 [2021-10-05T01:57:36.824Z] > git --version # 'git version 2.17.1' [2021-10-05T01:57:36.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T01:57:36.924Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T01:57:38.432Z] Avoid second fetch [2021-10-05T01:57:38.433Z] Checking out Revision 1b99335a09a4d3b24ee39e90536b9933fcc6f394 (main) [2021-10-05T01:57:38.567Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 83.3% of statements [2021-10-05T01:57:38.567Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-05T01:57:38.567Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-05T01:57:38.567Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-10-05T01:57:39.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.800s coverage: 89.2% of statements [2021-10-05T01:57:39.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-05T01:57:39.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.9% of statements [2021-10-05T01:57:39.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-05T01:57:39.168Z] GO111MODULE=on go vet ./... [2021-10-05T01:57:38.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-05T01:57:38.413Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T01:57:38.464Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T01:57:38.482Z] > git checkout -f 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 [2021-10-05T01:57:43.356Z] Commit message: "Merge pull request #1023 from weichou1229/issue-1021" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T01:57:43.751Z] provisioning config files... [2021-10-05T01:57:43.786Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config8153898266574001543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T01:57:44.465Z] ---> docker-login.sh [2021-10-05T01:57:44.465Z] nexus3.edgexfoundry.org:10001 [2021-10-05T01:57:45.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:57:46.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:57:46.245Z] Configure a credential helper to remove this warning. See [2021-10-05T01:57:46.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:57:46.245Z] [2021-10-05T01:57:46.245Z] Login Succeeded [2021-10-05T01:57:46.245Z] nexus3.edgexfoundry.org:10002 [2021-10-05T01:57:46.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:57:46.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:57:46.873Z] Configure a credential helper to remove this warning. See [2021-10-05T01:57:46.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:57:46.873Z] [2021-10-05T01:57:46.873Z] Login Succeeded [2021-10-05T01:57:46.873Z] nexus3.edgexfoundry.org:10003 [2021-10-05T01:57:47.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:57:47.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:57:47.496Z] Configure a credential helper to remove this warning. See [2021-10-05T01:57:47.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:57:47.496Z] [2021-10-05T01:57:47.496Z] Login Succeeded [2021-10-05T01:57:47.496Z] nexus3.edgexfoundry.org:10004 [2021-10-05T01:57:47.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:57:48.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:57:48.126Z] Configure a credential helper to remove this warning. See [2021-10-05T01:57:48.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:57:48.126Z] [2021-10-05T01:57:48.126Z] Login Succeeded [2021-10-05T01:57:48.126Z] docker.io [2021-10-05T01:57:48.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T01:57:48.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T01:57:48.716Z] Configure a credential helper to remove this warning. See [2021-10-05T01:57:48.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T01:57:48.716Z] [2021-10-05T01:57:48.716Z] Login Succeeded [2021-10-05T01:57:49.000Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T01:57:49.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-10-05T01:57:49.271Z] gofmt -l . [2021-10-05T01:57:49.271Z] [ "`gofmt -l .`" = "" ] [2021-10-05T01:57:49.271Z] ./bin/test-attribution-txt.sh [2021-10-05T01:57:49.271Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-10-05T01:57:49.296Z] $ docker stop --time=1 707c059be7e607919af07e82478a0fe4bfe17f9a88efbf4ba3c59ba12b9e97ca [2021-10-05T01:57:50.708Z] $ docker rm -f 707c059be7e607919af07e82478a0fe4bfe17f9a88efbf4ba3c59ba12b9e97ca [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] echo [2021-10-05T01:57:50.923Z] ========================================================= [2021-10-05T01:57:50.923Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-05T01:57:50.923Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:57:51.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T01:57:51.328Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-05T01:57:51.617Z] Sending build context to Docker daemon 2.611MB [2021-10-05T01:57:51.617Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T01:57:51.617Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-05T01:57:51.640Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-10-05T01:57:53.118Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-05T01:57:53.118Z] 595b0fe564bb: Pulling fs layer [2021-10-05T01:57:53.118Z] 24495759ef45: Pulling fs layer [2021-10-05T01:57:53.118Z] d148012ef14d: Pulling fs layer [2021-10-05T01:57:53.118Z] e90a11edd702: Pulling fs layer [2021-10-05T01:57:53.118Z] d77568369979: Pulling fs layer [2021-10-05T01:57:53.118Z] fc1c9f9a7f3b: Pulling fs layer [2021-10-05T01:57:53.118Z] 170f2ba95c9a: Pulling fs layer [2021-10-05T01:57:53.118Z] 97ac5df62f85: Pulling fs layer [2021-10-05T01:57:53.118Z] fc1c9f9a7f3b: Waiting [2021-10-05T01:57:53.118Z] 170f2ba95c9a: Waiting [2021-10-05T01:57:53.118Z] 97ac5df62f85: Waiting [2021-10-05T01:57:53.118Z] d77568369979: Waiting [2021-10-05T01:57:53.118Z] e90a11edd702: Waiting [2021-10-05T01:57:53.118Z] d148012ef14d: Verifying Checksum [2021-10-05T01:57:53.118Z] d148012ef14d: Download complete [2021-10-05T01:57:53.118Z] 24495759ef45: Verifying Checksum [2021-10-05T01:57:53.118Z] 24495759ef45: Download complete [2021-10-05T01:57:53.118Z] d77568369979: Verifying Checksum [2021-10-05T01:57:53.118Z] d77568369979: Download complete [2021-10-05T01:57:53.118Z] fc1c9f9a7f3b: Verifying Checksum [2021-10-05T01:57:53.118Z] fc1c9f9a7f3b: Download complete [2021-10-05T01:57:53.118Z] 170f2ba95c9a: Verifying Checksum [2021-10-05T01:57:53.118Z] 170f2ba95c9a: Download complete [2021-10-05T01:57:53.404Z] 595b0fe564bb: Verifying Checksum [2021-10-05T01:57:53.404Z] 595b0fe564bb: Download complete [Pipeline] sh [2021-10-05T01:57:54.031Z] 595b0fe564bb: Pull complete [2021-10-05T01:57:54.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T01:57:54.455Z] + ls -al . [2021-10-05T01:57:54.455Z] total 236 [2021-10-05T01:57:54.455Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 5 01:57 . [2021-10-05T01:57:54.455Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 5 01:56 .. [2021-10-05T01:57:54.455Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 01:56 bin [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 5 01:56 CHANGELOG.md [2021-10-05T01:57:54.455Z] -rw-r--r--. 1 jenkins jenkins 125635 Oct 5 01:57 coverage.out [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 01:56 .dockerignore [2021-10-05T01:57:54.455Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 5 01:56 example [2021-10-05T01:57:54.455Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 5 01:56 .git [2021-10-05T01:57:54.455Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 5 01:56 .github [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 01:56 .gitignore [2021-10-05T01:57:54.455Z] -rw-r--r--. 1 jenkins jenkins 576 Oct 5 01:57 go.mod [2021-10-05T01:57:54.455Z] -rw-r--r--. 1 jenkins jenkins 20493 Oct 5 01:57 go.sum [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 01:56 GOVERNANCE.md [2021-10-05T01:57:54.455Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 5 01:56 internal [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 5 01:56 Jenkinsfile [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 01:56 LICENSE [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 1026 Oct 5 01:56 Makefile [2021-10-05T01:57:54.455Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 5 01:56 openapi [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 5 01:56 OWNERS.md [2021-10-05T01:57:54.455Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 01:56 pkg [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 5 01:56 README.md [2021-10-05T01:57:54.455Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 01:56 snap [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 5 01:53 VERSION [2021-10-05T01:57:54.455Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 01:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:57:54.667Z] 24495759ef45: Pull complete [2021-10-05T01:57:54.794Z] + 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=1b99335a09a4d3b24ee39e90536b9933fcc6f394 --label arch=amd64 --label version=2.0.1-dev.14 . [2021-10-05T01:57:54.794Z] Sending build context to Docker daemon 2.748MB [2021-10-05T01:57:54.794Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T01:57:54.794Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-05T01:57:54.794Z] ---> 357fb69f99ff [2021-10-05T01:57:54.794Z] Step 3/23 : WORKDIR /device-sdk-go [2021-10-05T01:57:54.794Z] ---> Running in f2d87c8398f6 [2021-10-05T01:57:54.794Z] Removing intermediate container f2d87c8398f6 [2021-10-05T01:57:54.794Z] ---> e16c45a8366b [2021-10-05T01:57:54.794Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T01:57:54.954Z] d148012ef14d: Pull complete [2021-10-05T01:57:55.060Z] ---> Running in a4a8d77deb9f [2021-10-05T01:57:55.060Z] Removing intermediate container a4a8d77deb9f [2021-10-05T01:57:55.060Z] ---> e70a70f28733 [2021-10-05T01:57:55.060Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T01:57:55.060Z] ---> Running in e0d39b6c4c09 [2021-10-05T01:57:55.324Z] Removing intermediate container e0d39b6c4c09 [2021-10-05T01:57:55.324Z] ---> ef45671f61d6 [2021-10-05T01:57:55.324Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-05T01:57:55.597Z] ---> Running in d326a617de49 [2021-10-05T01:57:55.597Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T01:57:56.569Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T01:57:56.843Z] OK: 219 MiB in 52 packages [2021-10-05T01:57:56.995Z] 97ac5df62f85: Verifying Checksum [2021-10-05T01:57:56.995Z] 97ac5df62f85: Download complete [2021-10-05T01:57:57.110Z] Removing intermediate container d326a617de49 [2021-10-05T01:57:57.110Z] ---> 0461a23a9b52 [2021-10-05T01:57:57.110Z] Step 7/23 : COPY . . [2021-10-05T01:57:57.378Z] ---> 9029ddbc62b4 [2021-10-05T01:57:57.378Z] Step 8/23 : RUN go mod download [2021-10-05T01:57:57.378Z] ---> Running in a346a67992d8 [2021-10-05T01:57:57.865Z] Removing intermediate container a346a67992d8 [2021-10-05T01:57:57.865Z] ---> 9b315ea3660e [2021-10-05T01:57:57.865Z] Step 9/23 : RUN make build [2021-10-05T01:57:57.865Z] ---> Running in 5df6097ec239 [2021-10-05T01:57:58.017Z] e90a11edd702: Verifying Checksum [2021-10-05T01:57:58.017Z] e90a11edd702: Download complete [2021-10-05T01:57:58.137Z] go mod tidy [2021-10-05T01:57:58.407Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-05T01:57:58.678Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-05T01:57:58.945Z] Removing intermediate container 5df6097ec239 [2021-10-05T01:57:58.945Z] ---> d66fb79715c5 [2021-10-05T01:57:58.945Z] Step 10/23 : FROM alpine:3.14 [2021-10-05T01:57:59.542Z] 3.14: Pulling from library/alpine [2021-10-05T01:57:59.809Z] a0d0a0d46f8b: Pulling fs layer [2021-10-05T01:58:00.079Z] a0d0a0d46f8b: Verifying Checksum [2021-10-05T01:58:00.079Z] a0d0a0d46f8b: Download complete [2021-10-05T01:58:00.079Z] a0d0a0d46f8b: Pull complete [2021-10-05T01:58:00.079Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-05T01:58:00.079Z] Status: Downloaded newer image for alpine:3.14 [2021-10-05T01:58:00.079Z] ---> 14119a10abf4 [2021-10-05T01:58:00.079Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T01:58:00.079Z] ---> Running in 1046df06604e [2021-10-05T01:58:00.350Z] Removing intermediate container 1046df06604e [2021-10-05T01:58:00.350Z] ---> 3802161dd645 [2021-10-05T01:58:00.350Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T01:58:00.350Z] ---> Running in 20d144171c70 [2021-10-05T01:58:00.622Z] Removing intermediate container 20d144171c70 [2021-10-05T01:58:00.622Z] ---> fd7d2c2589d1 [2021-10-05T01:58:00.622Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-10-05T01:58:00.622Z] ---> Running in 2895df772be2 [2021-10-05T01:58:00.888Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-05T01:58:01.857Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-05T01:58:02.126Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-05T01:58:02.392Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-05T01:58:02.392Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-05T01:58:02.392Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-05T01:58:02.658Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-05T01:58:02.658Z] Executing busybox-1.33.1-r3.trigger [2021-10-05T01:58:02.658Z] OK: 8 MiB in 19 packages [2021-10-05T01:58:02.925Z] Removing intermediate container 2895df772be2 [2021-10-05T01:58:02.925Z] ---> 3e6ff5b58e2b [2021-10-05T01:58:02.925Z] Step 14/23 : WORKDIR / [2021-10-05T01:58:02.925Z] ---> Running in ba816ee13e56 [2021-10-05T01:58:02.925Z] Removing intermediate container ba816ee13e56 [2021-10-05T01:58:02.925Z] ---> 1ca6e0150ae5 [2021-10-05T01:58:02.925Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-05T01:58:03.192Z] ---> fee6d44aeb76 [2021-10-05T01:58:03.192Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-05T01:58:03.461Z] ---> 26e6f898fd2d [2021-10-05T01:58:03.461Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-05T01:58:03.461Z] ---> b0bea9524446 [2021-10-05T01:58:03.461Z] Step 18/23 : EXPOSE 59999 [2021-10-05T01:58:03.461Z] ---> Running in 2283a98e7f76 [2021-10-05T01:58:03.731Z] Removing intermediate container 2283a98e7f76 [2021-10-05T01:58:03.731Z] ---> 4dc56603ef56 [2021-10-05T01:58:03.731Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-10-05T01:58:03.731Z] ---> Running in 1b638330cfbb [2021-10-05T01:58:03.731Z] Removing intermediate container 1b638330cfbb [2021-10-05T01:58:03.731Z] ---> 8f90a8abe16c [2021-10-05T01:58:03.731Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-05T01:58:03.731Z] ---> Running in 523dadc0c70c [2021-10-05T01:58:03.731Z] Removing intermediate container 523dadc0c70c [2021-10-05T01:58:03.731Z] ---> e23fb224fff5 [2021-10-05T01:58:03.731Z] Step 21/23 : LABEL arch=amd64 [2021-10-05T01:58:04.000Z] ---> Running in e75166c2ddfd [2021-10-05T01:58:04.000Z] Removing intermediate container e75166c2ddfd [2021-10-05T01:58:04.000Z] ---> 44a211dd2670 [2021-10-05T01:58:04.000Z] Step 22/23 : LABEL git_sha=1b99335a09a4d3b24ee39e90536b9933fcc6f394 [2021-10-05T01:58:04.000Z] ---> Running in 30112027ed6a [2021-10-05T01:58:04.000Z] Removing intermediate container 30112027ed6a [2021-10-05T01:58:04.000Z] ---> 414b728bd8d9 [2021-10-05T01:58:04.000Z] Step 23/23 : LABEL version=2.0.1-dev.14 [2021-10-05T01:58:04.000Z] ---> Running in d2e9d0a73993 [2021-10-05T01:58:04.267Z] Removing intermediate container d2e9d0a73993 [2021-10-05T01:58:04.267Z] ---> 4c8eaf47bb77 [2021-10-05T01:58:04.267Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-05T01:58:04.267Z] Successfully built 4c8eaf47bb77 [2021-10-05T01:58:04.267Z] 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-10-05T01:58:05.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T01:58:05.065Z] [2021-10-05T01:58:05.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:58:05.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T01:58:05.398Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T01:58:05.398Z] b4d181a07f80: Pulling fs layer [2021-10-05T01:58:05.398Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T01:58:05.398Z] ed53099fbce6: Pulling fs layer [2021-10-05T01:58:05.398Z] dc539afda2c1: Pulling fs layer [2021-10-05T01:58:05.398Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T01:58:05.398Z] 9065ff56babe: Pulling fs layer [2021-10-05T01:58:05.398Z] d287ab97295c: Pulling fs layer [2021-10-05T01:58:05.398Z] 9065ff56babe: Waiting [2021-10-05T01:58:05.398Z] d287ab97295c: Waiting [2021-10-05T01:58:05.398Z] dc539afda2c1: Waiting [2021-10-05T01:58:05.398Z] 77bc0d833cb6: Waiting [2021-10-05T01:58:05.671Z] ed53099fbce6: Verifying Checksum [2021-10-05T01:58:05.671Z] ed53099fbce6: Download complete [2021-10-05T01:58:05.671Z] dc539afda2c1: Verifying Checksum [2021-10-05T01:58:05.671Z] dc539afda2c1: Download complete [2021-10-05T01:58:05.671Z] b4d181a07f80: Verifying Checksum [2021-10-05T01:58:05.671Z] b4d181a07f80: Download complete [2021-10-05T01:58:05.671Z] 9065ff56babe: Verifying Checksum [2021-10-05T01:58:05.671Z] 9065ff56babe: Download complete [2021-10-05T01:58:05.671Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T01:58:05.671Z] a1111a8f2ec3: Download complete [2021-10-05T01:58:05.940Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T01:58:05.940Z] 77bc0d833cb6: Download complete [2021-10-05T01:58:06.544Z] d287ab97295c: Verifying Checksum [2021-10-05T01:58:06.544Z] d287ab97295c: Download complete [2021-10-05T01:58:07.134Z] b4d181a07f80: Pull complete [2021-10-05T01:58:07.407Z] a1111a8f2ec3: Pull complete [2021-10-05T01:58:08.004Z] ed53099fbce6: Pull complete [2021-10-05T01:58:08.004Z] dc539afda2c1: Pull complete [2021-10-05T01:58:08.274Z] 77bc0d833cb6: Pull complete [2021-10-05T01:58:08.546Z] 9065ff56babe: Pull complete [2021-10-05T01:58:08.599Z] e90a11edd702: Pull complete [2021-10-05T01:58:08.599Z] d77568369979: Pull complete [2021-10-05T01:58:08.891Z] fc1c9f9a7f3b: Pull complete [2021-10-05T01:58:09.192Z] 170f2ba95c9a: Pull complete [2021-10-05T01:58:13.049Z] d287ab97295c: Pull complete [2021-10-05T01:58:13.050Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T01:58:13.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T01:58:13.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T01:58:13.152Z] prd-centos7-docker-4c-2g-1455 does not seem to be running inside a container [2021-10-05T01:58:13.220Z] $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-10-05T01:58:14.728Z] 97ac5df62f85: Pull complete [2021-10-05T01:58:15.017Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-10-05T01:58:15.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-05T01:58:15.017Z] ---> 04bc70af865f [2021-10-05T01:58:15.017Z] Step 3/9 : WORKDIR /device-sdk-go [2021-10-05T01:58:15.560Z] $ docker top ad796150d2d9a1fae5b99c0d73423a5f25737e3c836372073460db6276476412 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T01:58:16.165Z] ---> job-cost.sh [2021-10-05T01:58:16.165Z] lf-activate-venv: SKIPPING [2021-10-05T01:58:16.165Z] INFO: No Stack... [2021-10-05T01:58:16.436Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T01:58:16.706Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T01:58:17.040Z] + cut -d, -f6 [2021-10-05T01:58:17.040Z] + cat /w/workspace/device-sdk-go/11/archives/cost.csv [Pipeline] lock [2021-10-05T01:58:17.078Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [2021-10-05T01:58:17.095Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] did not exist. Created. [2021-10-05T01:58:17.095Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T01:58:17.434Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-05T01:58:17.475Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T01:58:17.485Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T01:58:17.518Z] $ docker stop --time=1 ad796150d2d9a1fae5b99c0d73423a5f25737e3c836372073460db6276476412 [2021-10-05T01:58:18.669Z] $ docker rm -f ad796150d2d9a1fae5b99c0d73423a5f25737e3c836372073460db6276476412 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-05T01:58:21.855Z] ---> Running in c608068139aa [2021-10-05T01:58:21.855Z] Removing intermediate container c608068139aa [2021-10-05T01:58:21.855Z] ---> d691e9f2f348 [2021-10-05T01:58:21.855Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T01:58:22.141Z] ---> Running in 1c51545dd03c [2021-10-05T01:58:22.766Z] Removing intermediate container 1c51545dd03c [2021-10-05T01:58:22.766Z] ---> 3090fe012794 [2021-10-05T01:58:22.766Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T01:58:22.766Z] ---> Running in 410b32d0a2c4 [2021-10-05T01:58:26.278Z] Removing intermediate container 410b32d0a2c4 [2021-10-05T01:58:26.278Z] ---> 4bc56bd34c0c [2021-10-05T01:58:26.278Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-05T01:58:26.278Z] ---> Running in 82b29d4e23f9 [2021-10-05T01:58:26.894Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T01:58:27.935Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T01:58:29.414Z] OK: 218 MiB in 52 packages [2021-10-05T01:58:30.446Z] Removing intermediate container 82b29d4e23f9 [2021-10-05T01:58:30.446Z] ---> f6804f50925e [2021-10-05T01:58:30.446Z] Step 7/9 : COPY . . [2021-10-05T01:58:31.928Z] ---> 87c52050f1f1 [2021-10-05T01:58:31.928Z] Step 8/9 : RUN go mod download [2021-10-05T01:58:31.928Z] ---> Running in bc35bc70558d [2021-10-05T01:58:58.929Z] Removing intermediate container bc35bc70558d [2021-10-05T01:58:58.929Z] ---> 63a2689f2a5a [2021-10-05T01:58:58.929Z] Step 9/9 : RUN make build [2021-10-05T01:58:58.929Z] ---> Running in 512e6e7ed789 [2021-10-05T01:58:59.558Z] go mod tidy [2021-10-05T01:59:00.184Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-05T01:59:39.517Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-05T01:59:39.517Z] Removing intermediate container 512e6e7ed789 [2021-10-05T01:59:39.517Z] ---> 6eda6602dec9 [2021-10-05T01:59:39.517Z] [Warning] One or more build-args [MAKE] were not consumed [2021-10-05T01:59:39.517Z] Successfully built 6eda6602dec9 [2021-10-05T01:59:39.517Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:59:39.950Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T01:59:39.950Z] . [Pipeline] withDockerContainer [2021-10-05T01:59:40.283Z] prd-ubuntu18.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container [2021-10-05T01:59:40.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T01:59:42.205Z] $ docker top 491775caf23e9ca061b7d46867db1e52e94b2902431221e964c6013bb3bc7e80 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T01:59:43.362Z] + go version [2021-10-05T01:59:43.362Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-10-05T01:59:43.405Z] $ docker stop --time=1 491775caf23e9ca061b7d46867db1e52e94b2902431221e964c6013bb3bc7e80 [2021-10-05T01:59:45.336Z] $ docker rm -f 491775caf23e9ca061b7d46867db1e52e94b2902431221e964c6013bb3bc7e80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T01:59:46.243Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T01:59:46.243Z] . [Pipeline] withDockerContainer [2021-10-05T01:59:46.555Z] prd-ubuntu18.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container [2021-10-05T01:59:46.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T01:59:48.496Z] $ docker top 12a67c1155ea9feb348b67c4cee78ebccb3bcd23e35afb9e40e808c6dbebf59b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T01:59:49.571Z] + go mod tidy [Pipeline] sh [2021-10-05T01:59:50.927Z] + make test [2021-10-05T01:59:50.927Z] go mod tidy [2021-10-05T01:59:51.553Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-05T02:00:18.604Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-05T02:01:27.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-05T02:01:27.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-05T02:01:27.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-05T02:01:32.541Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.395s coverage: 23.7% of statements [2021-10-05T02:01:32.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-05T02:01:32.541Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.227s coverage: 28.1% of statements [2021-10-05T02:01:32.541Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.217s coverage: 78.9% of statements [2021-10-05T02:01:32.541Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.182s coverage: 9.0% of statements [2021-10-05T02:01:32.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-05T02:01:32.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-05T02:01:32.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-05T02:01:33.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.331s coverage: 28.7% of statements [2021-10-05T02:01:33.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-05T02:01:35.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.243s coverage: 83.3% of statements [2021-10-05T02:01:35.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-05T02:01:35.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-05T02:01:35.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.387s coverage: 58.0% of statements [2021-10-05T02:01:37.382Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.063s coverage: 89.2% of statements [2021-10-05T02:01:37.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-05T02:01:37.668Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.169s coverage: 4.9% of statements [2021-10-05T02:01:37.668Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-05T02:01:37.956Z] GO111MODULE=on go vet ./... [2021-10-05T02:02:17.308Z] gofmt -l . [2021-10-05T02:02:17.308Z] [ "`gofmt -l .`" = "" ] [2021-10-05T02:02:17.308Z] ./bin/test-attribution-txt.sh [2021-10-05T02:02:17.308Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-10-05T02:02:17.346Z] $ docker stop --time=1 12a67c1155ea9feb348b67c4cee78ebccb3bcd23e35afb9e40e808c6dbebf59b [2021-10-05T02:02:19.364Z] $ docker rm -f 12a67c1155ea9feb348b67c4cee78ebccb3bcd23e35afb9e40e808c6dbebf59b [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T02:02:20.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T02:02:20.451Z] Warning: overwriting stash ‘coverage-report’ [2021-10-05T02:02:21.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-05T02:02:22.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T02:02:22.444Z] + ls -al . [2021-10-05T02:02:22.444Z] total 272 [2021-10-05T02:02:22.444Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 02:02 . [2021-10-05T02:02:22.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:57 .. [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 01:57 .dockerignore [2021-10-05T02:02:22.444Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 01:57 .git [2021-10-05T02:02:22.444Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 01:57 .github [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 01:57 .gitignore [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 5 01:57 CHANGELOG.md [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 01:57 GOVERNANCE.md [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 5 01:57 Jenkinsfile [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 01:57 LICENSE [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 1026 Oct 5 01:57 Makefile [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 01:57 OWNERS.md [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 5 01:57 README.md [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 5 01:53 VERSION [2021-10-05T02:02:22.444Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 01:57 bin [2021-10-05T02:02:22.444Z] -rw-r--r-- 1 jenkins jenkins 125634 Oct 5 02:01 coverage.out [2021-10-05T02:02:22.444Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 01:57 example [2021-10-05T02:02:22.444Z] -rw-r--r-- 1 jenkins jenkins 576 Oct 5 02:02 go.mod [2021-10-05T02:02:22.444Z] -rw-r--r-- 1 jenkins jenkins 20493 Oct 5 01:59 go.sum [2021-10-05T02:02:22.444Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 01:57 internal [2021-10-05T02:02:22.444Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 01:57 openapi [2021-10-05T02:02:22.444Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 01:57 pkg [2021-10-05T02:02:22.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:57 snap [2021-10-05T02:02:22.444Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 01:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:02:22.878Z] + 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=1b99335a09a4d3b24ee39e90536b9933fcc6f394 --label arch=arm64 --label version=2.0.1-dev.14 . [2021-10-05T02:02:23.168Z] Sending build context to Docker daemon 2.737MB [2021-10-05T02:02:23.477Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T02:02:23.477Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-05T02:02:23.477Z] ---> 6eda6602dec9 [2021-10-05T02:02:23.477Z] Step 3/23 : WORKDIR /device-sdk-go [2021-10-05T02:02:23.782Z] ---> Running in 4333768522be [2021-10-05T02:02:24.407Z] Removing intermediate container 4333768522be [2021-10-05T02:02:24.407Z] ---> 7b90445db34f [2021-10-05T02:02:24.407Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T02:02:24.407Z] ---> Running in 3c2b6f52dd0d [2021-10-05T02:02:25.045Z] Removing intermediate container 3c2b6f52dd0d [2021-10-05T02:02:25.045Z] ---> 9bf4b22001d9 [2021-10-05T02:02:25.045Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T02:02:25.045Z] ---> Running in d75adf31e9bd [2021-10-05T02:02:27.090Z] Removing intermediate container d75adf31e9bd [2021-10-05T02:02:27.090Z] ---> 1c7bd0a5fec2 [2021-10-05T02:02:27.090Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-05T02:02:27.379Z] ---> Running in 9046a6bf6841 [2021-10-05T02:02:28.884Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T02:02:32.345Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T02:02:33.823Z] OK: 218 MiB in 52 packages [2021-10-05T02:02:34.844Z] Removing intermediate container 9046a6bf6841 [2021-10-05T02:02:34.844Z] ---> 568cccb3e476 [2021-10-05T02:02:34.844Z] Step 7/23 : COPY . . [2021-10-05T02:02:36.334Z] ---> 3d3a5169df5b [2021-10-05T02:02:36.334Z] Step 8/23 : RUN go mod download [2021-10-05T02:02:36.334Z] ---> Running in 7ae351966391 [2021-10-05T02:02:39.039Z] Removing intermediate container 7ae351966391 [2021-10-05T02:02:39.039Z] ---> f844ed9f8a47 [2021-10-05T02:02:39.039Z] Step 9/23 : RUN make build [2021-10-05T02:02:39.039Z] ---> Running in 65200ce1ee52 [2021-10-05T02:02:40.067Z] go mod tidy [2021-10-05T02:02:40.701Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-05T02:02:42.222Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-05T02:02:43.715Z] Removing intermediate container 65200ce1ee52 [2021-10-05T02:02:43.715Z] ---> bee7b6847d73 [2021-10-05T02:02:43.715Z] Step 10/23 : FROM alpine:3.14 [2021-10-05T02:02:44.727Z] 3.14: Pulling from library/alpine [2021-10-05T02:02:44.727Z] 552d1f2373af: Pulling fs layer [2021-10-05T02:02:45.018Z] 552d1f2373af: Verifying Checksum [2021-10-05T02:02:45.018Z] 552d1f2373af: Download complete [2021-10-05T02:02:45.681Z] 552d1f2373af: Pull complete [2021-10-05T02:02:45.681Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-05T02:02:45.681Z] Status: Downloaded newer image for alpine:3.14 [2021-10-05T02:02:45.681Z] ---> bb3de5531c18 [2021-10-05T02:02:45.681Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-05T02:02:45.973Z] ---> Running in d23df9266cc4 [2021-10-05T02:02:46.602Z] Removing intermediate container d23df9266cc4 [2021-10-05T02:02:46.602Z] ---> d61642d2f532 [2021-10-05T02:02:46.602Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T02:02:46.602Z] ---> Running in 7709fd282705 [2021-10-05T02:02:48.886Z] Removing intermediate container 7709fd282705 [2021-10-05T02:02:48.886Z] ---> 61a3318fba1b [2021-10-05T02:02:48.886Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-10-05T02:02:48.886Z] ---> Running in 369b287ea6a7 [2021-10-05T02:02:50.372Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-05T02:02:51.000Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-05T02:02:52.025Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-05T02:02:52.025Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-05T02:02:52.025Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-05T02:02:52.025Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-05T02:02:52.319Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-05T02:02:52.319Z] Executing busybox-1.33.1-r3.trigger [2021-10-05T02:02:52.319Z] OK: 8 MiB in 19 packages [2021-10-05T02:02:53.368Z] Removing intermediate container 369b287ea6a7 [2021-10-05T02:02:53.368Z] ---> 8c5b2124642f [2021-10-05T02:02:53.368Z] Step 14/23 : WORKDIR / [2021-10-05T02:02:53.654Z] ---> Running in a6aa26bf0e35 [2021-10-05T02:02:54.279Z] Removing intermediate container a6aa26bf0e35 [2021-10-05T02:02:54.279Z] ---> 8e66a1c3f4d0 [2021-10-05T02:02:54.279Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-05T02:02:54.913Z] ---> fda09e41f534 [2021-10-05T02:02:54.913Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-05T02:02:56.402Z] ---> 6d10bc35ef94 [2021-10-05T02:02:56.402Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-05T02:02:57.416Z] ---> 857824e438cf [2021-10-05T02:02:57.416Z] Step 18/23 : EXPOSE 59999 [2021-10-05T02:02:57.416Z] ---> Running in 377aae9526b2 [2021-10-05T02:02:57.704Z] Removing intermediate container 377aae9526b2 [2021-10-05T02:02:57.704Z] ---> 4274f0cfbaa3 [2021-10-05T02:02:57.704Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-10-05T02:02:57.993Z] ---> Running in 050ac6eaea79 [2021-10-05T02:02:58.284Z] Removing intermediate container 050ac6eaea79 [2021-10-05T02:02:58.284Z] ---> b1cf5f8d5d63 [2021-10-05T02:02:58.284Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-05T02:02:58.574Z] ---> Running in aec97f483c4c [2021-10-05T02:02:59.202Z] Removing intermediate container aec97f483c4c [2021-10-05T02:02:59.202Z] ---> beee139354f5 [2021-10-05T02:02:59.202Z] Step 21/23 : LABEL arch=arm64 [2021-10-05T02:02:59.202Z] ---> Running in ac024935c7ed [2021-10-05T02:02:59.824Z] Removing intermediate container ac024935c7ed [2021-10-05T02:02:59.824Z] ---> f48aa14dd815 [2021-10-05T02:02:59.824Z] Step 22/23 : LABEL git_sha=1b99335a09a4d3b24ee39e90536b9933fcc6f394 [2021-10-05T02:02:59.824Z] ---> Running in 208f2ce3ac0d [2021-10-05T02:03:00.452Z] Removing intermediate container 208f2ce3ac0d [2021-10-05T02:03:00.452Z] ---> 291e0cd37eb1 [2021-10-05T02:03:00.452Z] Step 23/23 : LABEL version=2.0.1-dev.14 [2021-10-05T02:03:00.452Z] ---> Running in c0d6a1d8adcf [2021-10-05T02:03:01.077Z] Removing intermediate container c0d6a1d8adcf [2021-10-05T02:03:01.077Z] ---> bdd5d2405a00 [2021-10-05T02:03:01.077Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-10-05T02:03:01.077Z] Successfully built bdd5d2405a00 [2021-10-05T02:03:01.077Z] 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-10-05T02:03:01.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T02:03:01.942Z] [2021-10-05T02:03:01.942Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:03:02.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T02:03:02.654Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-05T02:03:02.654Z] 448f6bf000e3: Pulling fs layer [2021-10-05T02:03:02.654Z] f757da607395: Pulling fs layer [2021-10-05T02:03:02.654Z] 05883995daec: Pulling fs layer [2021-10-05T02:03:02.654Z] 8603b9c90790: Pulling fs layer [2021-10-05T02:03:02.654Z] 1560dd03e051: Pulling fs layer [2021-10-05T02:03:02.654Z] 27f5ce0e4adf: Pulling fs layer [2021-10-05T02:03:02.654Z] c2d8d7efcc4b: Pulling fs layer [2021-10-05T02:03:02.654Z] 8603b9c90790: Waiting [2021-10-05T02:03:02.654Z] 1560dd03e051: Waiting [2021-10-05T02:03:02.654Z] 27f5ce0e4adf: Waiting [2021-10-05T02:03:02.654Z] c2d8d7efcc4b: Waiting [2021-10-05T02:03:02.950Z] f757da607395: Verifying Checksum [2021-10-05T02:03:02.950Z] f757da607395: Download complete [2021-10-05T02:03:03.237Z] 05883995daec: Verifying Checksum [2021-10-05T02:03:03.237Z] 05883995daec: Download complete [2021-10-05T02:03:03.237Z] 448f6bf000e3: Verifying Checksum [2021-10-05T02:03:03.237Z] 448f6bf000e3: Download complete [2021-10-05T02:03:06.718Z] 8603b9c90790: Verifying Checksum [2021-10-05T02:03:06.718Z] 8603b9c90790: Download complete [2021-10-05T02:03:06.718Z] 27f5ce0e4adf: Verifying Checksum [2021-10-05T02:03:06.718Z] 1560dd03e051: Verifying Checksum [2021-10-05T02:03:06.718Z] 1560dd03e051: Download complete [2021-10-05T02:03:10.286Z] 448f6bf000e3: Pull complete [2021-10-05T02:03:10.286Z] c2d8d7efcc4b: Verifying Checksum [2021-10-05T02:03:10.286Z] c2d8d7efcc4b: Download complete [2021-10-05T02:03:10.570Z] f757da607395: Pull complete [2021-10-05T02:03:12.065Z] 05883995daec: Pull complete [2021-10-05T02:03:12.352Z] 8603b9c90790: Pull complete [2021-10-05T02:03:13.376Z] 1560dd03e051: Pull complete [2021-10-05T02:03:13.660Z] 27f5ce0e4adf: Pull complete [2021-10-05T02:03:28.944Z] c2d8d7efcc4b: Pull complete [2021-10-05T02:03:28.944Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-05T02:03:28.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T02:03:28.945Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-05T02:03:29.242Z] prd-ubuntu18.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container [2021-10-05T02:03:29.410Z] $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-05T02:03:33.926Z] $ docker top 21020de426d4d65be7aa5a1fa3027a9a3f00206da7a12833132f984ddb897ead -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:03:35.056Z] ---> job-cost.sh [2021-10-05T02:03:35.056Z] lf-activate-venv: SKIPPING [2021-10-05T02:03:35.056Z] INFO: No Stack... [2021-10-05T02:03:35.686Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-05T02:03:36.315Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T02:03:37.047Z] + cat /w/workspace/device-sdk-go/11/archives/cost.csv [2021-10-05T02:03:37.047Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T02:03:37.137Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [2021-10-05T02:03:37.144Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] did not exist. Created. [2021-10-05T02:03:37.145Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T02:03:37.923Z] /w/workspace/device-sdk-go/11@tmp/durable-2eeb990b/script.sh: 1: /w/workspace/device-sdk-go/11@tmp/durable-2eeb990b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-05T02:03:38.675Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-05T02:03:38.721Z] Warning: overwriting stash ‘stack-cost’ [2021-10-05T02:03:38.786Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T02:03:38.800Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T02:03:38.842Z] $ docker stop --time=1 21020de426d4d65be7aa5a1fa3027a9a3f00206da7a12833132f984ddb897ead [2021-10-05T02:03:40.505Z] $ docker rm -f 21020de426d4d65be7aa5a1fa3027a9a3f00206da7a12833132f984ddb897ead [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-10-05T02:03:42.612Z] provisioning config files... [2021-10-05T02:03:42.833Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7731300221261761897tmp [Pipeline] { [Pipeline] sh [2021-10-05T02:03:43.191Z] + set +x [2021-10-05T02:03:43.191Z] + bash -s -- [2021-10-05T02:03:43.191Z] + curl -s https://codecov.io/bash [2021-10-05T02:03:43.191Z] [2021-10-05T02:03:43.191Z] _____ _ [2021-10-05T02:03:43.191Z] / ____| | | [2021-10-05T02:03:43.191Z] | | ___ __| | ___ ___ _____ __ [2021-10-05T02:03:43.191Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-05T02:03:43.191Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-05T02:03:43.191Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-05T02:03:43.191Z] Bash-1.0.6 [2021-10-05T02:03:43.191Z] [2021-10-05T02:03:43.191Z] [2021-10-05T02:03:43.191Z] ==> git version 2.24.4 found [2021-10-05T02:03:43.191Z] ==> 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-10-05T02:03:43.191Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-05T02:03:43.191Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-05T02:03:43.191Z] ==> Jenkins CI detected. [2021-10-05T02:03:43.191Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-05T02:03:43.191Z] project root: . [2021-10-05T02:03:43.191Z] --> token set from env [2021-10-05T02:03:43.191Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-05T02:03:43.191Z] ==> Running gcov in . (disable via -X gcov) [2021-10-05T02:03:43.191Z] ==> Python coveragepy not found [2021-10-05T02:03:43.191Z] ==> Searching for coverage reports in: [2021-10-05T02:03:43.191Z] + . [2021-10-05T02:03:43.464Z] -> Found 1 reports [2021-10-05T02:03:43.464Z] ==> Detecting git/mercurial file structure [2021-10-05T02:03:43.464Z] ==> Reading reports [2021-10-05T02:03:43.464Z] + ./coverage.out bytes=125634 [2021-10-05T02:03:43.464Z] ==> Appending adjustments [2021-10-05T02:03:43.464Z] https://docs.codecov.io/docs/fixing-reports [2021-10-05T02:03:43.733Z] + Found adjustments [2021-10-05T02:03:43.733Z] ==> Gzipping contents [2021-10-05T02:03:43.733Z] 16K /tmp/codecov.F4edBs.gz [2021-10-05T02:03:43.733Z] ==> Uploading reports [2021-10-05T02:03:43.733Z] url: https://codecov.io [2021-10-05T02:03:43.733Z] query: branch=main&commit=1b99335a09a4d3b24ee39e90536b9933fcc6f394&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-05T02:03:43.733Z] -> Pinging Codecov [2021-10-05T02:03:43.733Z] 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=1b99335a09a4d3b24ee39e90536b9933fcc6f394&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-05T02:03:44.017Z] -> Uploading to [2021-10-05T02:03:44.017Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-05/7E55EF52A471D76F132DFD9A03CDDE97/1b99335a09a4d3b24ee39e90536b9933fcc6f394/0a198cf4-8faa-4cf9-bb4d-ce07472ef564.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T020343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ea2e3dc3f344e29bddad9640e02bfc9e44867db0448d6622e2093075e0d318e [2021-10-05T02:03:44.017Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-05T02:03:44.017Z] Dload Upload Total Spent Left Speed [2021-10-05T02:03:44.285Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16000 0 0 100 16000 0 46815 --:--:-- --:--:-- --:--:-- 46920 [2021-10-05T02:03:44.285Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1b99335a09a4d3b24ee39e90536b9933fcc6f394 [Pipeline] } [2021-10-05T02:03:44.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-05T02:03:45.022Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-05T02:03:45.041Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:03:45.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T02:03:45.613Z] [2021-10-05T02:03:45.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:03:45.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T02:03:45.955Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-05T02:03:45.955Z] 188c0c94c7c5: Pulling fs layer [2021-10-05T02:03:45.955Z] 0ef7d3d256c8: Pulling fs layer [2021-10-05T02:03:45.955Z] de9db76c5a1d: Pulling fs layer [2021-10-05T02:03:45.955Z] 0eba1c9be4d2: Pulling fs layer [2021-10-05T02:03:45.956Z] 0d57e429df01: Pulling fs layer [2021-10-05T02:03:45.956Z] 4e4be7b47b0d: Pulling fs layer [2021-10-05T02:03:45.956Z] e1f770b5df2f: Pulling fs layer [2021-10-05T02:03:45.956Z] 85a0685a4137: Pulling fs layer [2021-10-05T02:03:45.956Z] 0d57e429df01: Waiting [2021-10-05T02:03:45.956Z] 4e4be7b47b0d: Waiting [2021-10-05T02:03:45.956Z] e1f770b5df2f: Waiting [2021-10-05T02:03:45.956Z] 85a0685a4137: Waiting [2021-10-05T02:03:45.956Z] de9db76c5a1d: Verifying Checksum [2021-10-05T02:03:45.956Z] de9db76c5a1d: Download complete [2021-10-05T02:03:45.956Z] 0ef7d3d256c8: Verifying Checksum [2021-10-05T02:03:45.956Z] 0ef7d3d256c8: Download complete [2021-10-05T02:03:45.956Z] 0d57e429df01: Verifying Checksum [2021-10-05T02:03:45.956Z] 0d57e429df01: Download complete [2021-10-05T02:03:46.224Z] 4e4be7b47b0d: Verifying Checksum [2021-10-05T02:03:46.224Z] 4e4be7b47b0d: Download complete [2021-10-05T02:03:46.224Z] 188c0c94c7c5: Verifying Checksum [2021-10-05T02:03:46.224Z] 188c0c94c7c5: Download complete [2021-10-05T02:03:46.224Z] 188c0c94c7c5: Pull complete [2021-10-05T02:03:46.492Z] 0ef7d3d256c8: Pull complete [2021-10-05T02:03:46.492Z] de9db76c5a1d: Pull complete [2021-10-05T02:03:46.762Z] e1f770b5df2f: Verifying Checksum [2021-10-05T02:03:46.762Z] e1f770b5df2f: Download complete [2021-10-05T02:03:47.823Z] 0eba1c9be4d2: Verifying Checksum [2021-10-05T02:03:47.823Z] 0eba1c9be4d2: Download complete [2021-10-05T02:03:48.430Z] 85a0685a4137: Verifying Checksum [2021-10-05T02:03:48.430Z] 85a0685a4137: Download complete [2021-10-05T02:03:51.824Z] 0eba1c9be4d2: Pull complete [2021-10-05T02:03:51.824Z] 0d57e429df01: Pull complete [2021-10-05T02:03:51.824Z] 4e4be7b47b0d: Pull complete [2021-10-05T02:03:52.414Z] e1f770b5df2f: Pull complete [2021-10-05T02:03:56.015Z] 85a0685a4137: Pull complete [2021-10-05T02:03:56.015Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-05T02:03:56.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T02:03:56.015Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-05T02:03:56.312Z] prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container [2021-10-05T02:03:56.394Z] $ 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-10-05T02:03:58.418Z] $ docker top fab572e525a3b255f0e6736ce2b8133b5e03e51243c23fbc5cac4dc9ed18c821 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-05T02:03:58.533Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-05T02:03:58.858Z] + set -o pipefail [2021-10-05T02:03:58.858Z] + snyk monitor '--org=edgex-jenkins' [2021-10-05T02:04:07.518Z] [2021-10-05T02:04:07.518Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-05T02:04:07.518Z] [2021-10-05T02:04:07.518Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/87807c40-81d9-4100-b294-6f53548d25a3 [2021-10-05T02:04:07.518Z] [2021-10-05T02:04:07.518Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-05T02:04:07.518Z] [2021-10-05T02:04:07.518Z] [2021-10-05T02:04:07.518Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-05T02:04:07.518Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-05T02:04:07.533Z] $ docker stop --time=1 fab572e525a3b255f0e6736ce2b8133b5e03e51243c23fbc5cac4dc9ed18c821 [2021-10-05T02:04:09.327Z] $ docker rm -f fab572e525a3b255f0e6736ce2b8133b5e03e51243c23fbc5cac4dc9ed18c821 [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-10-05T02:04:09.955Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T02:04:09.976Z] provisioning config files... [2021-10-05T02:04:09.992Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3507433912510329355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:04:10.328Z] --> edgex-publish-swagger.sh [2021-10-05T02:04:10.328Z] === Publish openapi/v2 API === [2021-10-05T02:04:10.328Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-05T02:04:10.328Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-05T02:04:10.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-05T02:04:10.328Z] Dload Upload Total Spent Left Speed [2021-10-05T02:04:10.921Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 65872 --:--:-- --:--:-- --:--:-- 65837 100 51485 0 0 100 51485 0 65862 --:--:-- --:--:-- --:--:-- 65837 [2021-10-05T02:04:10.921Z] [2021-10-05T02:04:10.921Z] [Pipeline] } [2021-10-05T02:04:10.939Z] 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-10-05T02:04:11.544Z] + git log --format=format:%s -1 1b99335a09a4d3b24ee39e90536b9933fcc6f394 [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:11.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T02:04:11.870Z] . [Pipeline] withDockerContainer [2021-10-05T02:04:11.961Z] prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container [2021-10-05T02:04:12.094Z] $ 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-10-05T02:04:12.688Z] $ docker top 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T02:04:12.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T02:04:12.809Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T02:04:12.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T02:04:12.930Z] $ docker exec 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b ssh-agent [2021-10-05T02:04:13.029Z] SSH_AUTH_SOCK=/tmp/ssh-ZWEAu7I6wLqC/agent.15 [2021-10-05T02:04:13.029Z] SSH_AGENT_PID=21 [2021-10-05T02:04:13.040Z] Running ssh-add (command line suppressed) [2021-10-05T02:04:13.126Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7346974861552055380.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7346974861552055380.key) [2021-10-05T02:04:13.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T02:04:13.461Z] + git semver tag [2021-10-05T02:04:13.461Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T02:04:13.461Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-05T02:04:13.461Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-05T02:04:13.461Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T02:04:13.461Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T02:04:13.461Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T02:04:13.461Z] # $SEMVER_BRANCH = main [2021-10-05T02:04:13.461Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-05T02:04:13.461Z] # 1b99335a09a4d3b24ee39e90536b9933fcc6f394 HEAD [2021-10-05T02:04:13.461Z] # -> Force: false [2021-10-05T02:04:13.461Z] # e706108ee14be4261d557510865f5f730c268f3a refs/tags/v2.0.1-dev.14 [Pipeline] } [2021-10-05T02:04:13.476Z] $ docker exec --env ******** --env ******** 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b ssh-agent -k [2021-10-05T02:04:13.568Z] unset SSH_AUTH_SOCK; [2021-10-05T02:04:13.568Z] unset SSH_AGENT_PID; [2021-10-05T02:04:13.568Z] echo Agent pid 21 killed; [2021-10-05T02:04:13.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T02:04:14.152Z] + git semver [Pipeline] } [2021-10-05T02:04:14.172Z] $ docker stop --time=1 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b [2021-10-05T02:04:15.358Z] $ docker rm -f 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:15.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-05T02:04:15.826Z] [2021-10-05T02:04:15.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:16.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-05T02:04:16.170Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-05T02:04:16.170Z] ab5ef0e58194: Pulling fs layer [2021-10-05T02:04:16.170Z] 9712f1f96733: Pulling fs layer [2021-10-05T02:04:16.170Z] 63f879dbbcfc: Pulling fs layer [2021-10-05T02:04:16.170Z] 0d9ebad4ef96: Pulling fs layer [2021-10-05T02:04:16.170Z] e9a5061849ea: Pulling fs layer [2021-10-05T02:04:16.170Z] d747dcd14b5f: Pulling fs layer [2021-10-05T02:04:16.170Z] 2de7ff778b66: Pulling fs layer [2021-10-05T02:04:16.170Z] e9a5061849ea: Waiting [2021-10-05T02:04:16.170Z] d747dcd14b5f: Waiting [2021-10-05T02:04:16.170Z] 2de7ff778b66: Waiting [2021-10-05T02:04:16.170Z] 0d9ebad4ef96: Waiting [2021-10-05T02:04:16.170Z] 9712f1f96733: Verifying Checksum [2021-10-05T02:04:16.170Z] 9712f1f96733: Download complete [2021-10-05T02:04:17.143Z] 63f879dbbcfc: Verifying Checksum [2021-10-05T02:04:17.143Z] 63f879dbbcfc: Download complete [2021-10-05T02:04:17.743Z] e9a5061849ea: Verifying Checksum [2021-10-05T02:04:17.743Z] e9a5061849ea: Download complete [2021-10-05T02:04:17.743Z] d747dcd14b5f: Verifying Checksum [2021-10-05T02:04:17.743Z] d747dcd14b5f: Download complete [2021-10-05T02:04:17.743Z] ab5ef0e58194: Verifying Checksum [2021-10-05T02:04:17.743Z] ab5ef0e58194: Download complete [2021-10-05T02:04:17.743Z] 0d9ebad4ef96: Verifying Checksum [2021-10-05T02:04:17.743Z] 0d9ebad4ef96: Download complete [2021-10-05T02:04:18.014Z] 2de7ff778b66: Verifying Checksum [2021-10-05T02:04:18.014Z] 2de7ff778b66: Download complete [2021-10-05T02:04:20.625Z] ab5ef0e58194: Pull complete [2021-10-05T02:04:20.625Z] 9712f1f96733: Pull complete [2021-10-05T02:04:21.626Z] 63f879dbbcfc: Pull complete [2021-10-05T02:04:25.013Z] 0d9ebad4ef96: Pull complete [2021-10-05T02:04:25.601Z] e9a5061849ea: Pull complete [2021-10-05T02:04:25.601Z] d747dcd14b5f: Pull complete [2021-10-05T02:04:27.051Z] 2de7ff778b66: Pull complete [2021-10-05T02:04:27.051Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-05T02:04:27.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-05T02:04:27.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-05T02:04:27.142Z] prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container [2021-10-05T02:04:27.210Z] $ 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-10-05T02:04:30.191Z] $ docker top a062b1ba8cb486bb484c82932d51a2f7be869c8b7e7f609f6600360b853ea886 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-05T02:04:30.284Z] provisioning config files... [2021-10-05T02:04:30.297Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8304979885110021695tmp [2021-10-05T02:04:30.330Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3326095369021173340tmp [2021-10-05T02:04:30.349Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2720251192189208702tmp [Pipeline] { [Pipeline] echo [2021-10-05T02:04:30.376Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:04:30.906Z] ---> sigul-configuration.sh [2021-10-05T02:04:30.906Z] gpg: directory `/root/.gnupg' created [2021-10-05T02:04:30.906Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-05T02:04:30.906Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-05T02:04:30.906Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-05T02:04:30.906Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-05T02:04:30.906Z] gpg: CAST5 encrypted data [2021-10-05T02:04:30.906Z] gpg: encrypted with 1 passphrase [2021-10-05T02:04:30.906Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-05T02:04:31.227Z] + mkdir /home/jenkins [2021-10-05T02:04:31.227Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-05T02:04:31.549Z] + 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-10-05T02:04:31.563Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:04:31.881Z] ---> sigul-install.sh [2021-10-05T02:04:31.881Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-05T02:04:32.217Z] + git tag --list [2021-10-05T02:04:32.217Z] 0.7.1 [2021-10-05T02:04:32.217Z] delhi-tag [2021-10-05T02:04:32.217Z] v1.0.0 [2021-10-05T02:04:32.217Z] v1.1.0 [2021-10-05T02:04:32.217Z] v1.1.1 [2021-10-05T02:04:32.217Z] v1.1.2 [2021-10-05T02:04:32.217Z] v1.2.0 [2021-10-05T02:04:32.217Z] v1.2.1 [2021-10-05T02:04:32.217Z] v1.2.2 [2021-10-05T02:04:32.217Z] v1.2.3 [2021-10-05T02:04:32.217Z] v1.3.0 [2021-10-05T02:04:32.217Z] v1.4.0 [2021-10-05T02:04:32.217Z] v2.0.0 [2021-10-05T02:04:32.217Z] v2.0.1-dev.1 [2021-10-05T02:04:32.217Z] v2.0.1-dev.10 [2021-10-05T02:04:32.217Z] v2.0.1-dev.11 [2021-10-05T02:04:32.217Z] v2.0.1-dev.12 [2021-10-05T02:04:32.217Z] v2.0.1-dev.13 [2021-10-05T02:04:32.217Z] v2.0.1-dev.14 [2021-10-05T02:04:32.217Z] v2.0.1-dev.2 [2021-10-05T02:04:32.217Z] v2.0.1-dev.3 [2021-10-05T02:04:32.217Z] v2.0.1-dev.4 [2021-10-05T02:04:32.217Z] v2.0.1-dev.5 [2021-10-05T02:04:32.217Z] v2.0.1-dev.6 [2021-10-05T02:04:32.217Z] v2.0.1-dev.7 [2021-10-05T02:04:32.217Z] v2.0.1-dev.8 [2021-10-05T02:04:32.217Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-05T02:04:32.554Z] + lftools sign git-tag v2.0.1-dev.14 [2021-10-05T02:04:33.146Z] Signing Git tag with Sigul... [2021-10-05T02:04:33.146Z] Signing v2.0.1-dev.14 [Pipeline] echo [2021-10-05T02:04:34.136Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:04:34.452Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-05T02:04:34.465Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-05T02:04:34.499Z] $ docker stop --time=1 a062b1ba8cb486bb484c82932d51a2f7be869c8b7e7f609f6600360b853ea886 [2021-10-05T02:04:35.693Z] $ docker rm -f a062b1ba8cb486bb484c82932d51a2f7be869c8b7e7f609f6600360b853ea886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:36.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T02:04:36.566Z] . [Pipeline] withDockerContainer [2021-10-05T02:04:36.653Z] prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container [2021-10-05T02:04:36.718Z] $ 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-10-05T02:04:37.068Z] $ docker top 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T02:04:37.187Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T02:04:37.187Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T02:04:37.309Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T02:04:37.310Z] $ docker exec 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 ssh-agent [2021-10-05T02:04:37.429Z] SSH_AUTH_SOCK=/tmp/ssh-kQ9pbUtvUFqo/agent.13 [2021-10-05T02:04:37.429Z] SSH_AGENT_PID=19 [2021-10-05T02:04:37.641Z] Running ssh-add (command line suppressed) [2021-10-05T02:04:37.742Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2392295898017639242.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2392295898017639242.key) [2021-10-05T02:04:37.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T02:04:38.092Z] + git semver bump pre [2021-10-05T02:04:38.092Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T02:04:38.092Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-05T02:04:38.092Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-05T02:04:38.092Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T02:04:38.092Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T02:04:38.092Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T02:04:38.092Z] # $SEMVER_BRANCH = main [2021-10-05T02:04:38.092Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-05T02:04:38.092Z] 2.0.1-dev.15 [Pipeline] } [2021-10-05T02:04:38.110Z] $ docker exec --env ******** --env ******** 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 ssh-agent -k [2021-10-05T02:04:38.213Z] unset SSH_AUTH_SOCK; [2021-10-05T02:04:38.213Z] unset SSH_AGENT_PID; [2021-10-05T02:04:38.213Z] echo Agent pid 19 killed; [2021-10-05T02:04:38.226Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T02:04:38.582Z] + git semver [Pipeline] } [2021-10-05T02:04:38.616Z] $ docker stop --time=1 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 [2021-10-05T02:04:39.815Z] $ docker rm -f 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:40.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T02:04:40.213Z] . [Pipeline] withDockerContainer [2021-10-05T02:04:40.490Z] prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container [2021-10-05T02:04:40.837Z] $ 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-10-05T02:04:41.218Z] $ docker top 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T02:04:41.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T02:04:41.569Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T02:04:41.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T02:04:41.681Z] $ docker exec 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f ssh-agent [2021-10-05T02:04:41.808Z] SSH_AUTH_SOCK=/tmp/ssh-OAleC1ex5r8f/agent.14 [2021-10-05T02:04:41.808Z] SSH_AGENT_PID=20 [2021-10-05T02:04:41.821Z] Running ssh-add (command line suppressed) [2021-10-05T02:04:41.920Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7977985172733691043.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7977985172733691043.key) [2021-10-05T02:04:41.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T02:04:42.286Z] + git semver push [2021-10-05T02:04:42.286Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T02:04:42.286Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-05T02:04:42.286Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-05T02:04:42.286Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T02:04:42.286Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T02:04:42.286Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T02:04:42.286Z] # $SEMVER_BRANCH = main [2021-10-05T02:04:42.286Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-05T02:04:44.359Z] $ docker exec --env ******** --env ******** 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f ssh-agent -k [2021-10-05T02:04:44.456Z] unset SSH_AUTH_SOCK; [2021-10-05T02:04:44.456Z] unset SSH_AGENT_PID; [2021-10-05T02:04:44.456Z] echo Agent pid 20 killed; [2021-10-05T02:04:44.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T02:04:44.851Z] + git semver [Pipeline] } [2021-10-05T02:04:44.877Z] $ docker stop --time=1 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f [2021-10-05T02:04:46.070Z] $ docker rm -f 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f [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-10-05T02:04:47.164Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:04:47.494Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:04:48.312Z] ---> package-listing.sh [2021-10-05T02:04:48.312Z] ++ facter osfamily [2021-10-05T02:04:48.312Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-05T02:04:48.312Z] + OS_FAMILY=redhat [2021-10-05T02:04:48.312Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-05T02:04:48.312Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-05T02:04:48.312Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-05T02:04:48.312Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-05T02:04:48.312Z] + PACKAGES=/tmp/packages_start.txt [2021-10-05T02:04:48.312Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-05T02:04:48.312Z] + PACKAGES=/tmp/packages_end.txt [2021-10-05T02:04:48.312Z] + case "${OS_FAMILY}" in [2021-10-05T02:04:48.312Z] + rpm -qa [2021-10-05T02:04:48.586Z] + sort [2021-10-05T02:04:49.183Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-05T02:04:49.183Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-05T02:04:49.183Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-05T02:04:49.183Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-05T02:04:49.183Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-05T02:04:49.183Z] + 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-10-05T02:04:49.201Z] 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-10-05T02:04:49.520Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:50.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:04:50.113Z] [2021-10-05T02:04:50.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:50.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:04:50.451Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T02:04:50.451Z] b4d181a07f80: Pulling fs layer [2021-10-05T02:04:50.451Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T02:04:50.451Z] ed53099fbce6: Pulling fs layer [2021-10-05T02:04:50.451Z] dc539afda2c1: Pulling fs layer [2021-10-05T02:04:50.451Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T02:04:50.451Z] 9065ff56babe: Pulling fs layer [2021-10-05T02:04:50.451Z] d287ab97295c: Pulling fs layer [2021-10-05T02:04:50.451Z] dc539afda2c1: Waiting [2021-10-05T02:04:50.451Z] 77bc0d833cb6: Waiting [2021-10-05T02:04:50.451Z] 9065ff56babe: Waiting [2021-10-05T02:04:50.451Z] d287ab97295c: Waiting [2021-10-05T02:04:50.720Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T02:04:50.720Z] a1111a8f2ec3: Download complete [2021-10-05T02:04:50.720Z] dc539afda2c1: Verifying Checksum [2021-10-05T02:04:50.720Z] dc539afda2c1: Download complete [2021-10-05T02:04:50.720Z] ed53099fbce6: Verifying Checksum [2021-10-05T02:04:50.720Z] ed53099fbce6: Download complete [2021-10-05T02:04:50.720Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T02:04:50.720Z] 77bc0d833cb6: Download complete [2021-10-05T02:04:50.720Z] b4d181a07f80: Verifying Checksum [2021-10-05T02:04:50.720Z] b4d181a07f80: Download complete [2021-10-05T02:04:50.720Z] 9065ff56babe: Verifying Checksum [2021-10-05T02:04:50.720Z] 9065ff56babe: Download complete [2021-10-05T02:04:51.692Z] d287ab97295c: Verifying Checksum [2021-10-05T02:04:51.692Z] d287ab97295c: Download complete [2021-10-05T02:04:52.290Z] b4d181a07f80: Pull complete [2021-10-05T02:04:52.770Z] a1111a8f2ec3: Pull complete [2021-10-05T02:04:53.050Z] ed53099fbce6: Pull complete [2021-10-05T02:04:53.050Z] dc539afda2c1: Pull complete [2021-10-05T02:04:53.319Z] 77bc0d833cb6: Pull complete [2021-10-05T02:04:53.319Z] 9065ff56babe: Pull complete [2021-10-05T02:04:58.740Z] d287ab97295c: Pull complete [2021-10-05T02:04:58.740Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T02:04:58.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:04:58.740Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T02:04:58.854Z] prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container [2021-10-05T02:04:58.997Z] $ 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-10-05T02:05:01.064Z] $ docker top 84be5a33c9020a562242e2660e489b2fd0f41c650814de26a05ad3f8d9c37e8f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T02:05:01.472Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-05T02:05:01.805Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-05T02:05:02.133Z] + ls /var/log/sa-host [2021-10-05T02:05:02.133Z] + sadf -c /var/log/sa-host/sa05 [2021-10-05T02:05:02.133Z] file_magic: OK [2021-10-05T02:05:02.133Z] HZ: Using current value: 100 [2021-10-05T02:05:02.133Z] file_header: OK [2021-10-05T02:05:02.133Z] 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-10-05T02:05:02.133Z] Statistics: [2021-10-05T02:05:02.133Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T02:05:02.133Z] File successfully converted to sysstat format version 12.0.3 [2021-10-05T02:05:02.133Z] + sadf -c /var/log/sa-host/sa30 [2021-10-05T02:05:02.133Z] file_magic: OK [2021-10-05T02:05:02.133Z] HZ: Using current value: 100 [2021-10-05T02:05:02.133Z] file_header: OK [2021-10-05T02:05:02.133Z] 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-10-05T02:05:02.133Z] Statistics: [2021-10-05T02:05:02.133Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T02:05:02.133Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T02:05:02.800Z] provisioning config files... [2021-10-05T02:05:02.819Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config390476372921303181tmp [Pipeline] { [Pipeline] echo [2021-10-05T02:05:02.843Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:05:03.368Z] ---> create-netrc.sh [Pipeline] } [2021-10-05T02:05:03.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:05:03.792Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-05T02:05:03.807Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:05:04.148Z] ---> sudo-logs.sh [2021-10-05T02:05:04.148Z] Archiving 'sudo' log.. [2021-10-05T02:05:04.148Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1452.novalocal: Name or service not known [2021-10-05T02:05:04.148Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1452.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-05T02:05:04.603Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:05:04.913Z] ---> job-cost.sh [2021-10-05T02:05:04.913Z] lf-activate-venv: SKIPPING [2021-10-05T02:05:04.913Z] DEBUG: total: 0.10999999940395355 [2021-10-05T02:05:04.913Z] INFO: Retrieving Stack Cost... [2021-10-05T02:05:05.181Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T02:05:05.764Z] INFO: Archiving Costs [Pipeline] echo [2021-10-05T02:05:05.791Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:05:06.114Z] ---> logs-deploy.sh [2021-10-05T02:05:06.114Z] lf-activate-venv: SKIPPING [2021-10-05T02:05:06.114Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/11 [2021-10-05T02:05:06.114Z] INFO: archiving workspace using pattern(s): [2021-10-05T02:05:06.710Z] Archives upload complete. [2021-10-05T02:05:06.989Z] INFO: archiving logs to Nexus