Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from babf801c191347c8a4268ee924520d19449a73fd 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-ssh2633887021621053376.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2347161032792003167.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8307082111529768950.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh764621697012979128.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1267132493053323624.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1517 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh2739065941746832780.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision babf801c191347c8a4268ee924520d19449a73fd (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f babf801c191347c8a4268ee924520d19449a73fd # timeout=10 Commit message: "Merge pull request #1017 from edgexfoundry/dependabot/go_modules/github.com/pelletier/go-toml-1.9.4" > git rev-list --no-walk bf5c9c06661c62e7a6125d216487b56d9fd36bed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-07T06:20:27.732Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-07T06:20:27.834Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-07T06:20:27.868Z] ========================================================= [2021-09-07T06:20:27.868Z] EdgeX Global Pipelines Version Info [2021-09-07T06:20:27.868Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:20:29.314Z] ------------------- [2021-09-07T06:20:29.314Z] stable info: [2021-09-07T06:20:29.314Z] ------------------- [2021-09-07T06:20:29.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-07T06:20:29.314Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-07T06:20:29.314Z] Message: update stable to v1.0.205 [2021-09-07T06:20:29.917Z] ------------------- [2021-09-07T06:20:29.917Z] experimental info: [2021-09-07T06:20:29.917Z] ------------------- [2021-09-07T06:20:29.917Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-07T06:20:29.917Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-07T06:20:29.917Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-07T06:20:30.091Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-09-07T06:20:30.120Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-09-07T06:20:30.149Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-07T06:20:30.176Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-07T06:20:30.207Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-07T06:20:30.234Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-07T06:20:30.271Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-07T06:20:30.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-07T06:20:30.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-09-07T06:20:30.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-07T06:20:30.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-07T06:20:30.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-07T06:20:30.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-09-07T06:20:30.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-07T06:20:30.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-07T06:20:30.508Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-07T06:20:30.532Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-07T06:20:30.556Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-07T06:20:30.580Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-07T06:20:30.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-07T06:20:30.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-07T06:20:30.654Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-09-07T06:20:30.680Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-09-07T06:20:30.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-07T06:20:30.729Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-07T06:20:30.754Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-09-07T06:20:30.780Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-07T06:20:30.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-09-07T06:20:30.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-09-07T06:20:30.853Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-09-07T06:20:30.878Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = babf801c191347c8a4268ee924520d19449a73fd [Pipeline] echo [2021-09-07T06:20:30.903Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = babf801 [Pipeline] echo [2021-09-07T06:20:30.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-07T06:20:31.002Z] provisioning config files... [2021-09-07T06:20:31.023Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7374098244535413150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:20:31.398Z] ---> docker-login.sh [2021-09-07T06:20:31.398Z] nexus3.edgexfoundry.org:10001 [2021-09-07T06:20:31.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:20:31.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:20:31.678Z] Configure a credential helper to remove this warning. See [2021-09-07T06:20:31.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:20:31.678Z] [2021-09-07T06:20:31.678Z] Login Succeeded [2021-09-07T06:20:31.678Z] nexus3.edgexfoundry.org:10002 [2021-09-07T06:20:31.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:20:31.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:20:31.953Z] Configure a credential helper to remove this warning. See [2021-09-07T06:20:31.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:20:31.953Z] [2021-09-07T06:20:31.953Z] Login Succeeded [2021-09-07T06:20:31.953Z] nexus3.edgexfoundry.org:10003 [2021-09-07T06:20:31.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:20:31.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:20:31.953Z] Configure a credential helper to remove this warning. See [2021-09-07T06:20:31.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:20:31.953Z] [2021-09-07T06:20:31.953Z] Login Succeeded [2021-09-07T06:20:31.953Z] nexus3.edgexfoundry.org:10004 [2021-09-07T06:20:32.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:20:32.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:20:32.225Z] Configure a credential helper to remove this warning. See [2021-09-07T06:20:32.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:20:32.225Z] [2021-09-07T06:20:32.225Z] Login Succeeded [2021-09-07T06:20:32.225Z] docker.io [2021-09-07T06:20:32.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:20:32.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:20:32.817Z] Configure a credential helper to remove this warning. See [2021-09-07T06:20:32.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:20:32.817Z] [2021-09-07T06:20:32.817Z] Login Succeeded [2021-09-07T06:20:32.817Z] ---> docker-login.sh ends [Pipeline] } [2021-09-07T06:20:32.834Z] 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-09-07T06:20:33.377Z] + git log --format=format:%s -1 babf801c191347c8a4268ee924520d19449a73fd [Pipeline] echo [2021-09-07T06:20:33.444Z] GIT_COMMIT: babf801c191347c8a4268ee924520d19449a73fd, Commit Message: Merge pull request #1017 from edgexfoundry/dependabot/go_modules/github.com/pelletier/go-toml-1.9.4 [Pipeline] echo [2021-09-07T06:20:33.459Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:20:34.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-07T06:20:34.064Z] [2021-09-07T06:20:34.064Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:20:34.430Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-07T06:20:34.430Z] latest: Pulling from edgex-devops/git-semver [2021-09-07T06:20:34.430Z] 31603596830f: Pulling fs layer [2021-09-07T06:20:34.430Z] 04fac38145f0: Pulling fs layer [2021-09-07T06:20:34.430Z] 701f6daf10bf: Pulling fs layer [2021-09-07T06:20:34.430Z] 24f72da36158: Pulling fs layer [2021-09-07T06:20:34.430Z] 24f72da36158: Waiting [2021-09-07T06:20:34.707Z] 04fac38145f0: Verifying Checksum [2021-09-07T06:20:34.707Z] 04fac38145f0: Download complete [2021-09-07T06:20:34.985Z] 31603596830f: Verifying Checksum [2021-09-07T06:20:34.985Z] 31603596830f: Download complete [2021-09-07T06:20:35.263Z] 24f72da36158: Verifying Checksum [2021-09-07T06:20:35.263Z] 24f72da36158: Download complete [2021-09-07T06:20:35.263Z] 31603596830f: Pull complete [2021-09-07T06:20:35.263Z] 04fac38145f0: Pull complete [2021-09-07T06:20:36.261Z] 701f6daf10bf: Verifying Checksum [2021-09-07T06:20:36.261Z] 701f6daf10bf: Download complete [2021-09-07T06:20:36.546Z] 701f6daf10bf: Pull complete [2021-09-07T06:20:36.820Z] 24f72da36158: Pull complete [2021-09-07T06:20:36.820Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-07T06:20:36.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-07T06:20:36.820Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-07T06:20:36.955Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-09-07T06:20:37.053Z] $ 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-09-07T06:20:37.802Z] $ docker top dd625b410080b0582daf0d3e409161f8b08e2ef84ca6cb4aa0b34169869c7e63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-07T06:20:37.952Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-07T06:20:37.952Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-07T06:20:38.095Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-07T06:20:38.102Z] $ docker exec dd625b410080b0582daf0d3e409161f8b08e2ef84ca6cb4aa0b34169869c7e63 ssh-agent [2021-09-07T06:20:38.237Z] SSH_AUTH_SOCK=/tmp/ssh-KJgtQ6mOARus/agent.13 [2021-09-07T06:20:38.237Z] SSH_AGENT_PID=19 [2021-09-07T06:20:38.260Z] Running ssh-add (command line suppressed) [2021-09-07T06:20:38.380Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5981515933269553479.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5981515933269553479.key) [2021-09-07T06:20:38.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-07T06:20:38.785Z] + git tag --points-at HEAD [Pipeline] } [2021-09-07T06:20:38.824Z] $ docker exec --env ******** --env ******** dd625b410080b0582daf0d3e409161f8b08e2ef84ca6cb4aa0b34169869c7e63 ssh-agent -k [2021-09-07T06:20:38.934Z] unset SSH_AUTH_SOCK; [2021-09-07T06:20:38.934Z] unset SSH_AGENT_PID; [2021-09-07T06:20:38.934Z] echo Agent pid 19 killed; [2021-09-07T06:20:38.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-07T06:20:39.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-07T06:20:39.021Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-07T06:20:39.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-07T06:20:39.170Z] $ docker exec dd625b410080b0582daf0d3e409161f8b08e2ef84ca6cb4aa0b34169869c7e63 ssh-agent [2021-09-07T06:20:39.303Z] SSH_AUTH_SOCK=/tmp/ssh-O8roavhSWzGn/agent.52 [2021-09-07T06:20:39.303Z] SSH_AGENT_PID=58 [2021-09-07T06:20:39.323Z] Running ssh-add (command line suppressed) [2021-09-07T06:20:39.436Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7577856266063017523.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7577856266063017523.key) [2021-09-07T06:20:39.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-07T06:20:39.827Z] + git semver init [2021-09-07T06:20:39.827Z] # -> Open(): unable to determine branch for HEAD [2021-09-07T06:20:39.827Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-09-07T06:20:39.827Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-09-07T06:20:39.827Z] # $SEMVER_REMOTE_NAME = origin [2021-09-07T06:20:39.827Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-07T06:20:39.827Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-07T06:20:39.827Z] # $SEMVER_BRANCH = main [2021-09-07T06:20:39.827Z] # $SEMVER_TEMP = /tmp/semver-517969240 [2021-09-07T06:20:39.827Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-09-07T06:20:40.807Z] # '/tmp/semver-517969240' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-09-07T06:20:40.807Z] # -> Force: false [2021-09-07T06:20:40.807Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-09-07T06:20:40.826Z] $ docker exec --env ******** --env ******** dd625b410080b0582daf0d3e409161f8b08e2ef84ca6cb4aa0b34169869c7e63 ssh-agent -k [2021-09-07T06:20:40.941Z] unset SSH_AUTH_SOCK; [2021-09-07T06:20:40.941Z] unset SSH_AGENT_PID; [2021-09-07T06:20:40.941Z] echo Agent pid 58 killed; [2021-09-07T06:20:40.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-07T06:20:41.333Z] + git semver [Pipeline] } [2021-09-07T06:20:41.365Z] $ docker stop --time=1 dd625b410080b0582daf0d3e409161f8b08e2ef84ca6cb4aa0b34169869c7e63 [2021-09-07T06:20:42.600Z] $ docker rm -f dd625b410080b0582daf0d3e409161f8b08e2ef84ca6cb4aa0b34169869c7e63 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-07T06:20:43.033Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-07T06:20:43.462Z] Stashed 1 file(s) [Pipeline] echo [2021-09-07T06:20:43.466Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.12 [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-09-07T06:20:58.720Z] Still waiting to schedule task [2021-09-07T06:20:58.720Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-07T06:20:58.723Z] Still waiting to schedule task [2021-09-07T06:20:58.723Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1515’ is offline [2021-09-07T06:23:11.996Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1518 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-09-07T06:23:12.017Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-09-07T06:23:12.237Z] Selected Git installation does not exist. Using Default [2021-09-07T06:23:12.237Z] The recommended git tool is: NONE [2021-09-07T06:23:17.489Z] using credential edgex-jenkins-ssh [2021-09-07T06:23:17.508Z] Cloning the remote Git repository [2021-09-07T06:23:17.570Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-09-07T06:23:17.686Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2021-09-07T06:23:17.830Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-09-07T06:23:17.831Z] > git --version # timeout=10 [2021-09-07T06:23:17.860Z] > git --version # 'git version 2.17.1' [2021-09-07T06:23:17.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-07T06:23:17.983Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-07T06:23:19.353Z] Avoid second fetch [2021-09-07T06:23:19.354Z] Checking out Revision babf801c191347c8a4268ee924520d19449a73fd (main) [2021-09-07T06:23:19.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-09-07T06:23:19.337Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-07T06:23:19.385Z] > git config core.sparsecheckout # timeout=10 [2021-09-07T06:23:19.398Z] > git checkout -f babf801c191347c8a4268ee924520d19449a73fd # timeout=10 [2021-09-07T06:23:23.677Z] Commit message: "Merge pull request #1017 from edgexfoundry/dependabot/go_modules/github.com/pelletier/go-toml-1.9.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-07T06:23:24.245Z] provisioning config files... [2021-09-07T06:23:24.275Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config9175857359567931551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:23:24.851Z] ---> docker-login.sh [2021-09-07T06:23:24.851Z] nexus3.edgexfoundry.org:10001 [2021-09-07T06:23:25.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:26.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:26.438Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:26.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:26.438Z] [2021-09-07T06:23:26.438Z] Login Succeeded [2021-09-07T06:23:26.438Z] nexus3.edgexfoundry.org:10002 [2021-09-07T06:23:26.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:26.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:26.992Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:26.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:26.992Z] [2021-09-07T06:23:26.992Z] Login Succeeded [2021-09-07T06:23:26.992Z] nexus3.edgexfoundry.org:10003 [2021-09-07T06:23:27.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:27.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:27.595Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:27.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:27.595Z] [2021-09-07T06:23:27.595Z] Login Succeeded [2021-09-07T06:23:27.595Z] nexus3.edgexfoundry.org:10004 [2021-09-07T06:23:27.857Z] Running on prd-centos7-docker-4c-2g-1519 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [2021-09-07T06:23:27.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] ws [2021-09-07T06:23:27.878Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2021-09-07T06:23:28.006Z] Selected Git installation does not exist. Using Default [2021-09-07T06:23:28.006Z] The recommended git tool is: NONE [2021-09-07T06:23:28.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:28.151Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:28.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:28.151Z] [2021-09-07T06:23:28.151Z] Login Succeeded [2021-09-07T06:23:28.151Z] docker.io [2021-09-07T06:23:28.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:29.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:29.035Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:29.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:29.035Z] [2021-09-07T06:23:29.035Z] Login Succeeded [2021-09-07T06:23:29.035Z] ---> docker-login.sh ends [Pipeline] } [2021-09-07T06:23:29.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-07T06:23:29.482Z] ========================================================= [2021-09-07T06:23:29.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-07T06:23:29.482Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:23:29.865Z] + 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-09-07T06:23:30.475Z] Sending build context to Docker daemon 2.6MB [2021-09-07T06:23:30.475Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.12 [2021-09-07T06:23:30.475Z] Step 2/9 : FROM ${BASE} AS builder [2021-09-07T06:23:30.475Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-07T06:23:30.475Z] 595b0fe564bb: Pulling fs layer [2021-09-07T06:23:30.475Z] 24495759ef45: Pulling fs layer [2021-09-07T06:23:30.475Z] d148012ef14d: Pulling fs layer [2021-09-07T06:23:30.475Z] e90a11edd702: Pulling fs layer [2021-09-07T06:23:30.475Z] d77568369979: Pulling fs layer [2021-09-07T06:23:30.475Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-07T06:23:30.475Z] 170f2ba95c9a: Pulling fs layer [2021-09-07T06:23:30.475Z] 97ac5df62f85: Pulling fs layer [2021-09-07T06:23:30.475Z] fc1c9f9a7f3b: Waiting [2021-09-07T06:23:30.475Z] e90a11edd702: Waiting [2021-09-07T06:23:30.475Z] 97ac5df62f85: Waiting [2021-09-07T06:23:30.475Z] 170f2ba95c9a: Waiting [2021-09-07T06:23:30.475Z] d77568369979: Waiting [2021-09-07T06:23:30.751Z] d148012ef14d: Verifying Checksum [2021-09-07T06:23:30.751Z] d148012ef14d: Download complete [2021-09-07T06:23:30.751Z] 24495759ef45: Verifying Checksum [2021-09-07T06:23:30.751Z] 24495759ef45: Download complete [2021-09-07T06:23:30.751Z] d77568369979: Verifying Checksum [2021-09-07T06:23:30.751Z] d77568369979: Download complete [2021-09-07T06:23:30.751Z] fc1c9f9a7f3b: Verifying Checksum [2021-09-07T06:23:30.751Z] fc1c9f9a7f3b: Download complete [2021-09-07T06:23:30.751Z] 595b0fe564bb: Verifying Checksum [2021-09-07T06:23:30.751Z] 595b0fe564bb: Download complete [2021-09-07T06:23:30.751Z] 170f2ba95c9a: Download complete [2021-09-07T06:23:32.277Z] 595b0fe564bb: Pull complete [2021-09-07T06:23:32.277Z] 24495759ef45: Pull complete [2021-09-07T06:23:32.277Z] d148012ef14d: Pull complete [2021-09-07T06:23:32.891Z] using credential edgex-jenkins-ssh [2021-09-07T06:23:32.909Z] Cloning the remote Git repository [2021-09-07T06:23:32.934Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-09-07T06:23:33.010Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2021-09-07T06:23:33.044Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-09-07T06:23:33.044Z] > git --version # timeout=10 [2021-09-07T06:23:33.052Z] > git --version # 'git version 2.24.4' [2021-09-07T06:23:33.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-07T06:23:33.083Z] [INFO] Currently running in a labeled security context [2021-09-07T06:23:33.083Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-07T06:23:33.084Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/9@tmp/jenkins-gitclient-ssh2991908625440217201.key [2021-09-07T06:23:33.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-07T06:23:33.920Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-09-07T06:23:33.944Z] Avoid second fetch [2021-09-07T06:23:33.945Z] Checking out Revision babf801c191347c8a4268ee924520d19449a73fd (main) [2021-09-07T06:23:35.104Z] 97ac5df62f85: Verifying Checksum [2021-09-07T06:23:35.104Z] 97ac5df62f85: Download complete [2021-09-07T06:23:35.104Z] e90a11edd702: Verifying Checksum [2021-09-07T06:23:35.104Z] e90a11edd702: Download complete [2021-09-07T06:23:33.928Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-07T06:23:33.958Z] > git config core.sparsecheckout # timeout=10 [2021-09-07T06:23:33.965Z] > git checkout -f babf801c191347c8a4268ee924520d19449a73fd # timeout=10 [2021-09-07T06:23:37.834Z] Commit message: "Merge pull request #1017 from edgexfoundry/dependabot/go_modules/github.com/pelletier/go-toml-1.9.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-07T06:23:38.293Z] provisioning config files... [2021-09-07T06:23:38.311Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config5555769264907818012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:23:38.763Z] ---> docker-login.sh [2021-09-07T06:23:38.763Z] nexus3.edgexfoundry.org:10001 [2021-09-07T06:23:38.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:39.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:39.035Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:39.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:39.035Z] [2021-09-07T06:23:39.035Z] Login Succeeded [2021-09-07T06:23:39.035Z] nexus3.edgexfoundry.org:10002 [2021-09-07T06:23:39.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:39.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:39.035Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:39.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:39.035Z] [2021-09-07T06:23:39.035Z] Login Succeeded [2021-09-07T06:23:39.035Z] nexus3.edgexfoundry.org:10003 [2021-09-07T06:23:39.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:39.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:39.307Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:39.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:39.307Z] [2021-09-07T06:23:39.307Z] Login Succeeded [2021-09-07T06:23:39.307Z] nexus3.edgexfoundry.org:10004 [2021-09-07T06:23:39.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:39.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:39.307Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:39.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:39.307Z] [2021-09-07T06:23:39.307Z] Login Succeeded [2021-09-07T06:23:39.307Z] docker.io [2021-09-07T06:23:39.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-07T06:23:39.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-07T06:23:39.852Z] Configure a credential helper to remove this warning. See [2021-09-07T06:23:39.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-07T06:23:39.852Z] [2021-09-07T06:23:39.852Z] Login Succeeded [2021-09-07T06:23:39.852Z] ---> docker-login.sh ends [Pipeline] } [2021-09-07T06:23:39.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-07T06:23:40.203Z] ========================================================= [2021-09-07T06:23:40.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-07T06:23:40.203Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:23:40.575Z] + 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-09-07T06:23:40.575Z] Sending build context to Docker daemon 2.601MB [2021-09-07T06:23:40.575Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.12 [2021-09-07T06:23:40.575Z] Step 2/9 : FROM ${BASE} AS builder [2021-09-07T06:23:40.851Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-07T06:23:40.851Z] 540db60ca938: Pulling fs layer [2021-09-07T06:23:40.851Z] adcc1eea9eea: Pulling fs layer [2021-09-07T06:23:40.851Z] 4c4ab2625f07: Pulling fs layer [2021-09-07T06:23:40.851Z] db62176df00c: Pulling fs layer [2021-09-07T06:23:40.851Z] 3b30891b0d05: Pulling fs layer [2021-09-07T06:23:40.851Z] 06b49ca38bd5: Pulling fs layer [2021-09-07T06:23:40.851Z] c788192a36de: Pulling fs layer [2021-09-07T06:23:40.851Z] a77e37c0d609: Pulling fs layer [2021-09-07T06:23:40.851Z] c3185cebc471: Pulling fs layer [2021-09-07T06:23:40.851Z] db62176df00c: Waiting [2021-09-07T06:23:40.851Z] 3b30891b0d05: Waiting [2021-09-07T06:23:40.851Z] 06b49ca38bd5: Waiting [2021-09-07T06:23:40.851Z] c788192a36de: Waiting [2021-09-07T06:23:40.851Z] a77e37c0d609: Waiting [2021-09-07T06:23:40.851Z] c3185cebc471: Waiting [2021-09-07T06:23:40.851Z] 4c4ab2625f07: Verifying Checksum [2021-09-07T06:23:40.851Z] 4c4ab2625f07: Download complete [2021-09-07T06:23:40.851Z] adcc1eea9eea: Verifying Checksum [2021-09-07T06:23:40.851Z] adcc1eea9eea: Download complete [2021-09-07T06:23:40.851Z] 3b30891b0d05: Verifying Checksum [2021-09-07T06:23:40.851Z] 3b30891b0d05: Download complete [2021-09-07T06:23:40.851Z] 06b49ca38bd5: Verifying Checksum [2021-09-07T06:23:40.851Z] 06b49ca38bd5: Download complete [2021-09-07T06:23:40.851Z] c788192a36de: Verifying Checksum [2021-09-07T06:23:40.851Z] c788192a36de: Download complete [2021-09-07T06:23:40.851Z] 540db60ca938: Verifying Checksum [2021-09-07T06:23:40.851Z] 540db60ca938: Download complete [2021-09-07T06:23:41.124Z] 540db60ca938: Pull complete [2021-09-07T06:23:41.124Z] adcc1eea9eea: Pull complete [2021-09-07T06:23:41.399Z] 4c4ab2625f07: Pull complete [2021-09-07T06:23:41.399Z] a77e37c0d609: Verifying Checksum [2021-09-07T06:23:41.399Z] a77e37c0d609: Download complete [2021-09-07T06:23:47.522Z] e90a11edd702: Pull complete [2021-09-07T06:23:47.522Z] d77568369979: Pull complete [2021-09-07T06:23:47.522Z] fc1c9f9a7f3b: Pull complete [2021-09-07T06:23:47.522Z] 170f2ba95c9a: Pull complete [2021-09-07T06:23:49.687Z] c3185cebc471: Verifying Checksum [2021-09-07T06:23:49.687Z] c3185cebc471: Download complete [2021-09-07T06:23:49.687Z] db62176df00c: Verifying Checksum [2021-09-07T06:23:49.687Z] db62176df00c: Download complete [2021-09-07T06:23:52.319Z] db62176df00c: Pull complete [2021-09-07T06:23:52.599Z] 3b30891b0d05: Pull complete [2021-09-07T06:23:52.599Z] 06b49ca38bd5: Pull complete [2021-09-07T06:23:52.599Z] c788192a36de: Pull complete [2021-09-07T06:23:52.877Z] a77e37c0d609: Pull complete [2021-09-07T06:23:53.106Z] 97ac5df62f85: Pull complete [2021-09-07T06:23:53.107Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-07T06:23:53.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-07T06:23:53.107Z] ---> 04bc70af865f [2021-09-07T06:23:53.107Z] Step 3/9 : WORKDIR /device-sdk-go [2021-09-07T06:23:54.871Z] c3185cebc471: Pull complete [2021-09-07T06:23:54.871Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-07T06:23:54.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-07T06:23:54.871Z] ---> 031687cdd783 [2021-09-07T06:23:54.871Z] Step 3/9 : WORKDIR /device-sdk-go [2021-09-07T06:23:56.510Z] ---> Running in 32d7fb4e442e [2021-09-07T06:23:56.510Z] Removing intermediate container 32d7fb4e442e [2021-09-07T06:23:56.510Z] ---> 695c98f6ef25 [2021-09-07T06:23:56.510Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-09-07T06:23:56.510Z] ---> Running in 3efbb4cbbd74 [2021-09-07T06:23:56.837Z] ---> Running in 2cc3b36bf2a2 [2021-09-07T06:23:56.837Z] Removing intermediate container 2cc3b36bf2a2 [2021-09-07T06:23:56.837Z] ---> aa6a70d7983c [2021-09-07T06:23:56.837Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-09-07T06:23:56.837Z] ---> Running in 5c5c423dcb0a [2021-09-07T06:23:57.106Z] Removing intermediate container 3efbb4cbbd74 [2021-09-07T06:23:57.106Z] ---> f09955cb4c41 [2021-09-07T06:23:57.106Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-07T06:23:57.106Z] ---> Running in d0cc4094fe5d [2021-09-07T06:23:57.116Z] Removing intermediate container 5c5c423dcb0a [2021-09-07T06:23:57.116Z] ---> 98496f4a8f92 [2021-09-07T06:23:57.116Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-07T06:23:57.116Z] ---> Running in 55f5fc03e07c [2021-09-07T06:23:57.719Z] Removing intermediate container 55f5fc03e07c [2021-09-07T06:23:57.719Z] ---> 39fb5733d496 [2021-09-07T06:23:57.719Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-09-07T06:23:57.719Z] ---> Running in ac707416350b [2021-09-07T06:23:57.992Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-07T06:23:58.587Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-07T06:23:59.186Z] OK: 219 MiB in 52 packages [2021-09-07T06:23:59.462Z] Removing intermediate container ac707416350b [2021-09-07T06:23:59.462Z] ---> b468dd083572 [2021-09-07T06:23:59.462Z] Step 7/9 : COPY . . [2021-09-07T06:23:59.732Z] Removing intermediate container d0cc4094fe5d [2021-09-07T06:23:59.732Z] ---> 97cda85753a8 [2021-09-07T06:23:59.732Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-09-07T06:23:59.732Z] ---> Running in c25ccd858300 [2021-09-07T06:23:59.736Z] ---> b88988dbc310 [2021-09-07T06:23:59.736Z] Step 8/9 : RUN go mod download [2021-09-07T06:23:59.736Z] ---> Running in 4b656ca431b7 [2021-09-07T06:24:00.709Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-07T06:24:01.686Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-07T06:24:02.664Z] OK: 218 MiB in 52 packages [2021-09-07T06:24:03.645Z] Removing intermediate container c25ccd858300 [2021-09-07T06:24:03.645Z] ---> 4f1fccf2b28a [2021-09-07T06:24:03.645Z] Step 7/9 : COPY . . [2021-09-07T06:24:05.083Z] ---> a8d06fac21ca [2021-09-07T06:24:05.083Z] Step 8/9 : RUN go mod download [2021-09-07T06:24:05.083Z] ---> Running in 17f95e812541 [2021-09-07T06:24:09.898Z] Removing intermediate container 4b656ca431b7 [2021-09-07T06:24:09.898Z] ---> 2ee4f7b6c9d1 [2021-09-07T06:24:09.898Z] Step 9/9 : RUN make build [2021-09-07T06:24:09.898Z] ---> Running in 33812ec61be2 [2021-09-07T06:24:10.172Z] go mod tidy [2021-09-07T06:24:10.456Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-09-07T06:24:20.661Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-09-07T06:24:21.256Z] Removing intermediate container 33812ec61be2 [2021-09-07T06:24:21.256Z] ---> 54f5511e1fdf [2021-09-07T06:24:21.256Z] [Warning] One or more build-args [MAKE] were not consumed [2021-09-07T06:24:21.256Z] Successfully built 54f5511e1fdf [2021-09-07T06:24:21.256Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:24:21.636Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-07T06:24:21.636Z] . [Pipeline] withDockerContainer [2021-09-07T06:24:21.766Z] prd-centos7-docker-4c-2g-1519 does not seem to be running inside a container [2021-09-07T06:24:21.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-07T06:24:22.248Z] $ docker top e4915b021b1189da0157dcbecb7476bd63917da4ce339a8941f5ff4ce0ee3c57 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-07T06:24:22.910Z] + go version [2021-09-07T06:24:22.910Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-07T06:24:22.934Z] $ docker stop --time=1 e4915b021b1189da0157dcbecb7476bd63917da4ce339a8941f5ff4ce0ee3c57 [2021-09-07T06:24:24.127Z] $ docker rm -f e4915b021b1189da0157dcbecb7476bd63917da4ce339a8941f5ff4ce0ee3c57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:24:24.779Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-07T06:24:24.779Z] . [Pipeline] withDockerContainer [2021-09-07T06:24:24.891Z] prd-centos7-docker-4c-2g-1519 does not seem to be running inside a container [2021-09-07T06:24:24.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-07T06:24:25.328Z] $ docker top a7d2d4d3250d8a0d545395b3981e22257b2ed7f07ded0d11c5c69568c3e673e6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-07T06:24:25.767Z] + go mod tidy [Pipeline] sh [2021-09-07T06:24:26.375Z] + make test [2021-09-07T06:24:26.375Z] go mod tidy [2021-09-07T06:24:26.375Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-09-07T06:24:31.849Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-09-07T06:24:31.881Z] Removing intermediate container 17f95e812541 [2021-09-07T06:24:31.881Z] ---> 82b2ddc96c00 [2021-09-07T06:24:31.881Z] Step 9/9 : RUN make build [2021-09-07T06:24:31.881Z] ---> Running in 9e2fe8f4c113 [2021-09-07T06:24:31.881Z] go mod tidy [2021-09-07T06:24:32.485Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-09-07T06:24:54.064Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-09-07T06:24:54.064Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-09-07T06:24:54.064Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-09-07T06:24:56.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 24.2% of statements [2021-09-07T06:24:56.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-09-07T06:24:56.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 28.1% of statements [2021-09-07T06:24:56.329Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2021-09-07T06:24:56.329Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.050s coverage: 9.0% of statements [2021-09-07T06:24:56.329Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-09-07T06:24:56.329Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-09-07T06:24:56.329Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-09-07T06:24:57.308Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-09-07T06:24:57.308Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-09-07T06:24:58.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements [2021-09-07T06:24:58.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-09-07T06:24:58.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-09-07T06:24:58.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 58.0% of statements [2021-09-07T06:24:59.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.800s coverage: 89.2% of statements [2021-09-07T06:24:59.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-09-07T06:24:59.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.9% of statements [2021-09-07T06:24:59.747Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-09-07T06:24:59.747Z] GO111MODULE=on go vet ./... [2021-09-07T06:25:04.861Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-09-07T06:25:06.841Z] Removing intermediate container 9e2fe8f4c113 [2021-09-07T06:25:06.841Z] ---> 22072c383923 [2021-09-07T06:25:06.841Z] [Warning] One or more build-args [MAKE] were not consumed [2021-09-07T06:25:06.841Z] Successfully built 22072c383923 [2021-09-07T06:25:06.841Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:25:07.197Z] + docker inspect -f . ci-base-image-arm64 [2021-09-07T06:25:07.197Z] . [Pipeline] withDockerContainer [2021-09-07T06:25:07.479Z] prd-ubuntu18.04-docker-arm64-4c-16g-1518 does not seem to be running inside a container [2021-09-07T06:25:07.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-09-07T06:25:09.327Z] $ docker top 47bcfe76e27ffe8c2cb4d93bc836994a620b1c1938f9f3bdef39f495c4d6e65d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-07T06:25:09.923Z] gofmt -l . [2021-09-07T06:25:09.923Z] [ "`gofmt -l .`" = "" ] [2021-09-07T06:25:09.923Z] ./bin/test-attribution-txt.sh [2021-09-07T06:25:09.923Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-09-07T06:25:09.941Z] $ docker stop --time=1 a7d2d4d3250d8a0d545395b3981e22257b2ed7f07ded0d11c5c69568c3e673e6 [2021-09-07T06:25:10.310Z] + go version [2021-09-07T06:25:10.310Z] go version go1.16.6 linux/arm64 [2021-09-07T06:25:11.420Z] $ docker rm -f a7d2d4d3250d8a0d545395b3981e22257b2ed7f07ded0d11c5c69568c3e673e6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-09-07T06:25:11.647Z] $ docker stop --time=1 47bcfe76e27ffe8c2cb4d93bc836994a620b1c1938f9f3bdef39f495c4d6e65d [2021-09-07T06:25:11.904Z] + sudo chown -R jenkins:jenkins . [2021-09-07T06:25:13.578Z] $ docker rm -f 47bcfe76e27ffe8c2cb4d93bc836994a620b1c1938f9f3bdef39f495c4d6e65d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:25:14.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-09-07T06:25:14.415Z] + docker inspect -f . ci-base-image-arm64 [2021-09-07T06:25:14.416Z] . [Pipeline] withDockerContainer [2021-09-07T06:25:18.180Z] prd-ubuntu18.04-docker-arm64-4c-16g-1518 does not seem to be running inside a container [2021-09-07T06:25:18.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-09-07T06:25:19.902Z] $ docker top 4225c69dec8b8c79e81c60f51f74969d04615e4c7ca930f42554f76bd19bb129 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] fileExists [Pipeline] sh [2021-09-07T06:25:20.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-07T06:25:21.066Z] + go mod tidy [2021-09-07T06:25:21.076Z] + ls -al . [2021-09-07T06:25:21.076Z] total 236 [2021-09-07T06:25:21.076Z] drwxrwxr-x. 10 jenkins jenkins 4096 Sep 7 06:25 . [2021-09-07T06:25:21.076Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 7 06:23 .. [2021-09-07T06:25:21.076Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 7 06:23 bin [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 24816 Sep 7 06:23 CHANGELOG.md [2021-09-07T06:25:21.076Z] -rw-r--r--. 1 jenkins jenkins 125634 Sep 7 06:24 coverage.out [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 7 06:23 .dockerignore [2021-09-07T06:25:21.076Z] drwxrwxr-x. 5 jenkins jenkins 62 Sep 7 06:23 example [2021-09-07T06:25:21.076Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 7 06:23 .git [2021-09-07T06:25:21.076Z] drwxrwxr-x. 3 jenkins jenkins 125 Sep 7 06:23 .github [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 7 06:23 .gitignore [2021-09-07T06:25:21.076Z] -rw-r--r--. 1 jenkins jenkins 576 Sep 7 06:25 go.mod [2021-09-07T06:25:21.076Z] -rw-r--r--. 1 jenkins jenkins 20493 Sep 7 06:24 go.sum [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 7 06:23 GOVERNANCE.md [2021-09-07T06:25:21.076Z] drwxrwxr-x. 15 jenkins jenkins 224 Sep 7 06:23 internal [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 880 Sep 7 06:23 Jenkinsfile [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 7 06:23 LICENSE [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 1026 Sep 7 06:23 Makefile [2021-09-07T06:25:21.076Z] drwxrwxr-x. 3 jenkins jenkins 16 Sep 7 06:23 openapi [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 619 Sep 7 06:23 OWNERS.md [2021-09-07T06:25:21.076Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 7 06:23 pkg [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 7646 Sep 7 06:23 README.md [2021-09-07T06:25:21.076Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 7 06:23 snap [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 12 Sep 7 06:20 VERSION [2021-09-07T06:25:21.076Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 7 06:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:25:21.415Z] + 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=babf801c191347c8a4268ee924520d19449a73fd --label arch=amd64 --label version=2.0.1-dev.12 . [2021-09-07T06:25:21.415Z] Sending build context to Docker daemon 2.727MB [2021-09-07T06:25:21.415Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-09-07T06:25:21.415Z] Step 2/23 : FROM ${BASE} AS builder [2021-09-07T06:25:21.415Z] ---> 54f5511e1fdf [2021-09-07T06:25:21.415Z] Step 3/23 : WORKDIR /device-sdk-go [2021-09-07T06:25:21.415Z] ---> Running in b0186a2e2449 [2021-09-07T06:25:21.685Z] Removing intermediate container b0186a2e2449 [2021-09-07T06:25:21.685Z] ---> 63c333350d2f [2021-09-07T06:25:21.685Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-09-07T06:25:21.685Z] ---> Running in 38b055bd245b [2021-09-07T06:25:21.685Z] Removing intermediate container 38b055bd245b [2021-09-07T06:25:21.685Z] ---> e90d119f34a6 [2021-09-07T06:25:21.685Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-07T06:25:21.685Z] ---> Running in 5f556c4e7fa8 [Pipeline] sh [2021-09-07T06:25:22.289Z] Removing intermediate container 5f556c4e7fa8 [2021-09-07T06:25:22.289Z] ---> c4f9e590311e [2021-09-07T06:25:22.289Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-09-07T06:25:22.289Z] ---> Running in 7796e505aa61 [2021-09-07T06:25:22.333Z] + make test [2021-09-07T06:25:22.333Z] go mod tidy [2021-09-07T06:25:22.561Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-07T06:25:22.934Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-09-07T06:25:23.154Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-07T06:25:24.134Z] OK: 219 MiB in 52 packages [2021-09-07T06:25:24.409Z] Removing intermediate container 7796e505aa61 [2021-09-07T06:25:24.409Z] ---> 1ce91468e607 [2021-09-07T06:25:24.409Z] Step 7/23 : COPY . . [2021-09-07T06:25:24.683Z] ---> 69e0da590577 [2021-09-07T06:25:24.683Z] Step 8/23 : RUN go mod download [2021-09-07T06:25:24.683Z] ---> Running in 211f5174b4ce [2021-09-07T06:25:25.275Z] Removing intermediate container 211f5174b4ce [2021-09-07T06:25:25.276Z] ---> f50569b7a08b [2021-09-07T06:25:25.276Z] Step 9/23 : RUN make build [2021-09-07T06:25:25.276Z] ---> Running in 342a93a6c3d7 [2021-09-07T06:25:25.557Z] go mod tidy [2021-09-07T06:25:25.836Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-09-07T06:25:26.108Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-09-07T06:25:26.700Z] Removing intermediate container 342a93a6c3d7 [2021-09-07T06:25:26.700Z] ---> 28b8582de216 [2021-09-07T06:25:26.700Z] Step 10/23 : FROM alpine:3.12 [2021-09-07T06:25:27.286Z] 3.12: Pulling from library/alpine [2021-09-07T06:25:27.286Z] e519532ddf75: Pulling fs layer [2021-09-07T06:25:27.556Z] e519532ddf75: Verifying Checksum [2021-09-07T06:25:27.556Z] e519532ddf75: Download complete [2021-09-07T06:25:27.823Z] e519532ddf75: Pull complete [2021-09-07T06:25:27.824Z] Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a [2021-09-07T06:25:27.824Z] Status: Downloaded newer image for alpine:3.12 [2021-09-07T06:25:27.824Z] ---> 48b8ec4ed9eb [2021-09-07T06:25:27.824Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-09-07T06:25:27.824Z] ---> Running in d04a1fc5e1c8 [2021-09-07T06:25:27.824Z] Removing intermediate container d04a1fc5e1c8 [2021-09-07T06:25:27.824Z] ---> 6a64062081b9 [2021-09-07T06:25:27.824Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-07T06:25:27.824Z] ---> Running in b997c6c05e4e [2021-09-07T06:25:28.419Z] Removing intermediate container b997c6c05e4e [2021-09-07T06:25:28.419Z] ---> 41e785e6dda6 [2021-09-07T06:25:28.419Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-09-07T06:25:28.419Z] ---> Running in c95a88d11c53 [2021-09-07T06:25:28.690Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-07T06:25:29.280Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-07T06:25:29.552Z] (1/5) Installing libgcc (9.3.0-r2) [2021-09-07T06:25:29.823Z] (2/5) Installing libsodium (1.0.18-r0) [2021-09-07T06:25:29.824Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-09-07T06:25:30.795Z] (4/5) Installing libzmq (4.3.3-r0) [2021-09-07T06:25:30.795Z] (5/5) Installing zeromq (4.3.3-r0) [2021-09-07T06:25:30.795Z] Executing busybox-1.31.1-r20.trigger [2021-09-07T06:25:30.795Z] OK: 8 MiB in 19 packages [2021-09-07T06:25:31.069Z] Removing intermediate container c95a88d11c53 [2021-09-07T06:25:31.069Z] ---> 127223720f29 [2021-09-07T06:25:31.069Z] Step 14/23 : WORKDIR / [2021-09-07T06:25:31.069Z] ---> Running in ca82896acb50 [2021-09-07T06:25:31.069Z] Removing intermediate container ca82896acb50 [2021-09-07T06:25:31.069Z] ---> e97a2fb9b27e [2021-09-07T06:25:31.069Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-09-07T06:25:31.342Z] ---> da654dfd5ec6 [2021-09-07T06:25:31.342Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-09-07T06:25:31.614Z] ---> a573eea8654b [2021-09-07T06:25:31.614Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-09-07T06:25:31.881Z] ---> 1e31c0887340 [2021-09-07T06:25:31.881Z] Step 18/23 : EXPOSE 59999 [2021-09-07T06:25:31.881Z] ---> Running in 6dfba13b1f41 [2021-09-07T06:25:31.881Z] Removing intermediate container 6dfba13b1f41 [2021-09-07T06:25:31.881Z] ---> 7620e820c7c7 [2021-09-07T06:25:31.881Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-09-07T06:25:31.881Z] ---> Running in 97437a835776 [2021-09-07T06:25:32.151Z] Removing intermediate container 97437a835776 [2021-09-07T06:25:32.151Z] ---> 830b41bada8a [2021-09-07T06:25:32.151Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-09-07T06:25:32.151Z] ---> Running in f35f1a496842 [2021-09-07T06:25:32.151Z] Removing intermediate container f35f1a496842 [2021-09-07T06:25:32.151Z] ---> d4ed6c88fe0e [2021-09-07T06:25:32.151Z] Step 21/23 : LABEL arch=amd64 [2021-09-07T06:25:32.151Z] ---> Running in d9df6b06fca3 [2021-09-07T06:25:32.420Z] Removing intermediate container d9df6b06fca3 [2021-09-07T06:25:32.420Z] ---> c9a66415dec9 [2021-09-07T06:25:32.420Z] Step 22/23 : LABEL git_sha=babf801c191347c8a4268ee924520d19449a73fd [2021-09-07T06:25:32.420Z] ---> Running in cddbe658c929 [2021-09-07T06:25:32.420Z] Removing intermediate container cddbe658c929 [2021-09-07T06:25:32.420Z] ---> 0a8b8301c1e3 [2021-09-07T06:25:32.420Z] Step 23/23 : LABEL version=2.0.1-dev.12 [2021-09-07T06:25:32.420Z] ---> Running in a7b29375198f [2021-09-07T06:25:32.420Z] Removing intermediate container a7b29375198f [2021-09-07T06:25:32.420Z] ---> bc65effc1972 [2021-09-07T06:25:32.420Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-09-07T06:25:32.420Z] Successfully built bc65effc1972 [2021-09-07T06:25:32.689Z] 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-09-07T06:25:33.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-07T06:25:33.440Z] [2021-09-07T06:25:33.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:25:33.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-07T06:25:33.797Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-07T06:25:33.797Z] b4d181a07f80: Pulling fs layer [2021-09-07T06:25:33.797Z] a1111a8f2ec3: Pulling fs layer [2021-09-07T06:25:33.797Z] ed53099fbce6: Pulling fs layer [2021-09-07T06:25:33.797Z] dc539afda2c1: Pulling fs layer [2021-09-07T06:25:33.797Z] 77bc0d833cb6: Pulling fs layer [2021-09-07T06:25:33.797Z] 9065ff56babe: Pulling fs layer [2021-09-07T06:25:33.797Z] d287ab97295c: Pulling fs layer [2021-09-07T06:25:33.797Z] dc539afda2c1: Waiting [2021-09-07T06:25:33.797Z] 77bc0d833cb6: Waiting [2021-09-07T06:25:33.797Z] 9065ff56babe: Waiting [2021-09-07T06:25:33.797Z] d287ab97295c: Waiting [2021-09-07T06:25:34.390Z] a1111a8f2ec3: Verifying Checksum [2021-09-07T06:25:34.390Z] a1111a8f2ec3: Download complete [2021-09-07T06:25:34.390Z] dc539afda2c1: Verifying Checksum [2021-09-07T06:25:34.390Z] dc539afda2c1: Download complete [2021-09-07T06:25:34.659Z] 77bc0d833cb6: Verifying Checksum [2021-09-07T06:25:34.659Z] 77bc0d833cb6: Download complete [2021-09-07T06:25:34.659Z] 9065ff56babe: Verifying Checksum [2021-09-07T06:25:34.659Z] 9065ff56babe: Download complete [2021-09-07T06:25:34.933Z] ed53099fbce6: Verifying Checksum [2021-09-07T06:25:34.934Z] ed53099fbce6: Download complete [2021-09-07T06:25:35.525Z] b4d181a07f80: Verifying Checksum [2021-09-07T06:25:35.525Z] b4d181a07f80: Download complete [2021-09-07T06:25:36.509Z] b4d181a07f80: Pull complete [2021-09-07T06:25:36.779Z] a1111a8f2ec3: Pull complete [2021-09-07T06:25:37.379Z] ed53099fbce6: Pull complete [2021-09-07T06:25:37.379Z] dc539afda2c1: Pull complete [2021-09-07T06:25:37.651Z] 77bc0d833cb6: Pull complete [2021-09-07T06:25:37.651Z] 9065ff56babe: Pull complete [2021-09-07T06:25:40.244Z] d287ab97295c: Download complete [2021-09-07T06:25:44.521Z] d287ab97295c: Pull complete [2021-09-07T06:25:44.521Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-07T06:25:44.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-07T06:25:44.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-07T06:25:44.625Z] prd-centos7-docker-4c-2g-1519 does not seem to be running inside a container [2021-09-07T06:25:44.707Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-07T06:25:47.189Z] $ docker top d88fee1f11cdc64b8bb36a3f6625e45dad6f4c3fc7f18fc3b1baf7421fd14bd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:25:47.702Z] ---> job-cost.sh [2021-09-07T06:25:47.702Z] lf-activate-venv: SKIPPING [2021-09-07T06:25:47.702Z] INFO: No Stack... [2021-09-07T06:25:48.289Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-07T06:25:48.558Z] INFO: Archiving Costs [Pipeline] sh [2021-09-07T06:25:48.920Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2021-09-07T06:25:48.920Z] + cut -d, -f6 [Pipeline] lock [2021-09-07T06:25:48.968Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-9-stack-cost] [2021-09-07T06:25:48.990Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-9-stack-cost] did not exist. Created. [2021-09-07T06:25:48.990Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-07T06:25:49.362Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-07T06:25:49.417Z] Stashed 1 file(s) [Pipeline] } [2021-09-07T06:25:49.428Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-07T06:25:49.454Z] $ docker stop --time=1 d88fee1f11cdc64b8bb36a3f6625e45dad6f4c3fc7f18fc3b1baf7421fd14bd0 [2021-09-07T06:25:49.780Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-09-07T06:25:50.607Z] $ docker rm -f d88fee1f11cdc64b8bb36a3f6625e45dad6f4c3fc7f18fc3b1baf7421fd14bd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-07T06:26:57.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-09-07T06:26:57.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-09-07T06:26:57.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-09-07T06:26:58.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.245s coverage: 24.2% of statements [2021-09-07T06:26:58.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-09-07T06:26:58.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.194s coverage: 28.1% of statements [2021-09-07T06:26:58.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.291s coverage: 78.9% of statements [2021-09-07T06:26:58.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.208s coverage: 9.0% of statements [2021-09-07T06:26:58.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-09-07T06:26:58.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-09-07T06:26:58.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-09-07T06:27:00.284Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.329s coverage: 28.7% of statements [2021-09-07T06:27:00.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-09-07T06:27:02.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.194s coverage: 83.3% of statements [2021-09-07T06:27:02.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-09-07T06:27:02.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-09-07T06:27:02.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.474s coverage: 58.0% of statements [2021-09-07T06:27:04.928Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.095s coverage: 89.2% of statements [2021-09-07T06:27:04.928Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-09-07T06:27:04.928Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.191s coverage: 4.9% of statements [2021-09-07T06:27:04.928Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-09-07T06:27:04.928Z] GO111MODULE=on go vet ./... [2021-09-07T06:27:39.190Z] gofmt -l . [2021-09-07T06:27:39.190Z] [ "`gofmt -l .`" = "" ] [2021-09-07T06:27:39.190Z] ./bin/test-attribution-txt.sh [2021-09-07T06:27:39.190Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-09-07T06:27:39.484Z] $ docker stop --time=1 4225c69dec8b8c79e81c60f51f74969d04615e4c7ca930f42554f76bd19bb129 [2021-09-07T06:27:41.651Z] $ docker rm -f 4225c69dec8b8c79e81c60f51f74969d04615e4c7ca930f42554f76bd19bb129 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-07T06:27:42.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-07T06:27:42.710Z] Warning: overwriting stash ‘coverage-report’ [2021-09-07T06:27:43.407Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-07T06:27:44.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-07T06:27:44.498Z] + ls -al . [2021-09-07T06:27:44.498Z] total 272 [2021-09-07T06:27:44.498Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 06:27 . [2021-09-07T06:27:44.498Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 06:23 .. [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 06:23 .dockerignore [2021-09-07T06:27:44.498Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 06:23 .git [2021-09-07T06:27:44.498Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 06:23 .github [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 7 06:23 .gitignore [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 24816 Sep 7 06:23 CHANGELOG.md [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 06:23 GOVERNANCE.md [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 7 06:23 Jenkinsfile [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 06:23 LICENSE [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 1026 Sep 7 06:23 Makefile [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 7 06:23 OWNERS.md [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 7646 Sep 7 06:23 README.md [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 7 06:20 VERSION [2021-09-07T06:27:44.498Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 06:23 bin [2021-09-07T06:27:44.498Z] -rw-r--r-- 1 jenkins jenkins 125634 Sep 7 06:27 coverage.out [2021-09-07T06:27:44.498Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 06:23 example [2021-09-07T06:27:44.498Z] -rw-r--r-- 1 jenkins jenkins 576 Sep 7 06:27 go.mod [2021-09-07T06:27:44.498Z] -rw-r--r-- 1 jenkins jenkins 20493 Sep 7 06:25 go.sum [2021-09-07T06:27:44.498Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 7 06:23 internal [2021-09-07T06:27:44.498Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 06:23 openapi [2021-09-07T06:27:44.498Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 06:23 pkg [2021-09-07T06:27:44.498Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 06:23 snap [2021-09-07T06:27:44.498Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 06:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:27:44.887Z] + 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=babf801c191347c8a4268ee924520d19449a73fd --label arch=arm64 --label version=2.0.1-dev.12 . [2021-09-07T06:27:45.167Z] Sending build context to Docker daemon 2.726MB [2021-09-07T06:27:45.450Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-09-07T06:27:45.450Z] Step 2/23 : FROM ${BASE} AS builder [2021-09-07T06:27:45.450Z] ---> 22072c383923 [2021-09-07T06:27:45.450Z] Step 3/23 : WORKDIR /device-sdk-go [2021-09-07T06:27:45.733Z] ---> Running in 81350c19d636 [2021-09-07T06:27:46.333Z] Removing intermediate container 81350c19d636 [2021-09-07T06:27:46.333Z] ---> aa9d05f418cd [2021-09-07T06:27:46.333Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-09-07T06:27:46.607Z] ---> Running in 5b370fe8c2a8 [2021-09-07T06:27:46.880Z] Removing intermediate container 5b370fe8c2a8 [2021-09-07T06:27:46.880Z] ---> 37f37ddd9fca [2021-09-07T06:27:46.880Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-07T06:27:47.154Z] ---> Running in b4b002f1383a [2021-09-07T06:27:49.769Z] Removing intermediate container b4b002f1383a [2021-09-07T06:27:49.769Z] ---> 68ebeb298316 [2021-09-07T06:27:49.769Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-09-07T06:27:49.769Z] ---> Running in 214d975ed7d1 [2021-09-07T06:27:50.756Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-07T06:27:51.729Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-07T06:27:52.702Z] OK: 218 MiB in 52 packages [2021-09-07T06:27:53.679Z] Removing intermediate container 214d975ed7d1 [2021-09-07T06:27:53.679Z] ---> f37337fb911d [2021-09-07T06:27:53.679Z] Step 7/23 : COPY . . [2021-09-07T06:27:55.116Z] ---> 374bfe3ca180 [2021-09-07T06:27:55.116Z] Step 8/23 : RUN go mod download [2021-09-07T06:27:55.116Z] ---> Running in c055c9c827d2 [2021-09-07T06:27:57.735Z] Removing intermediate container c055c9c827d2 [2021-09-07T06:27:57.735Z] ---> 9b25f8149620 [2021-09-07T06:27:57.735Z] Step 9/23 : RUN make build [2021-09-07T06:27:57.735Z] ---> Running in 3a30463bdef5 [2021-09-07T06:27:58.711Z] go mod tidy [2021-09-07T06:27:58.994Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-09-07T06:28:00.441Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-09-07T06:28:01.883Z] Removing intermediate container 3a30463bdef5 [2021-09-07T06:28:01.883Z] ---> a89521632704 [2021-09-07T06:28:01.883Z] Step 10/23 : FROM alpine:3.12 [2021-09-07T06:28:02.479Z] 3.12: Pulling from library/alpine [2021-09-07T06:28:02.751Z] ccdebe76d529: Pulling fs layer [2021-09-07T06:28:03.024Z] ccdebe76d529: Verifying Checksum [2021-09-07T06:28:03.025Z] ccdebe76d529: Download complete [2021-09-07T06:28:03.639Z] ccdebe76d529: Pull complete [2021-09-07T06:28:03.639Z] Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a [2021-09-07T06:28:03.639Z] Status: Downloaded newer image for alpine:3.12 [2021-09-07T06:28:03.639Z] ---> afc2cc120ca2 [2021-09-07T06:28:03.639Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-09-07T06:28:03.914Z] ---> Running in 4b5e01a4ce4d [2021-09-07T06:28:04.511Z] Removing intermediate container 4b5e01a4ce4d [2021-09-07T06:28:04.511Z] ---> 2daf6961b167 [2021-09-07T06:28:04.511Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-07T06:28:04.511Z] ---> Running in 8120dba994a8 [2021-09-07T06:28:07.127Z] Removing intermediate container 8120dba994a8 [2021-09-07T06:28:07.127Z] ---> 1c6c96a78df1 [2021-09-07T06:28:07.127Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-09-07T06:28:07.127Z] ---> Running in ce90230785b0 [2021-09-07T06:28:08.102Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-07T06:28:08.696Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-07T06:28:09.675Z] (1/5) Installing libgcc (9.3.0-r2) [2021-09-07T06:28:09.675Z] (2/5) Installing libsodium (1.0.18-r0) [2021-09-07T06:28:09.675Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-09-07T06:28:09.953Z] (4/5) Installing libzmq (4.3.3-r0) [2021-09-07T06:28:09.953Z] (5/5) Installing zeromq (4.3.3-r0) [2021-09-07T06:28:09.953Z] Executing busybox-1.31.1-r20.trigger [2021-09-07T06:28:09.953Z] OK: 8 MiB in 19 packages [2021-09-07T06:28:11.397Z] Removing intermediate container ce90230785b0 [2021-09-07T06:28:11.397Z] ---> e7cd208ed4e0 [2021-09-07T06:28:11.397Z] Step 14/23 : WORKDIR / [2021-09-07T06:28:11.397Z] ---> Running in 442d1c929247 [2021-09-07T06:28:11.992Z] Removing intermediate container 442d1c929247 [2021-09-07T06:28:11.992Z] ---> 3711e904e4b7 [2021-09-07T06:28:11.992Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-09-07T06:28:12.968Z] ---> a49598a134b7 [2021-09-07T06:28:12.968Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-09-07T06:28:14.398Z] ---> fd27a93f748d [2021-09-07T06:28:14.398Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-09-07T06:28:14.994Z] ---> d22e19f2a8d8 [2021-09-07T06:28:14.994Z] Step 18/23 : EXPOSE 59999 [2021-09-07T06:28:15.267Z] ---> Running in 99ea924be10d [2021-09-07T06:28:15.539Z] Removing intermediate container 99ea924be10d [2021-09-07T06:28:15.539Z] ---> d708875c0feb [2021-09-07T06:28:15.539Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-09-07T06:28:15.812Z] ---> Running in 866f3f7c6fae [2021-09-07T06:28:16.407Z] Removing intermediate container 866f3f7c6fae [2021-09-07T06:28:16.407Z] ---> 791cdaa9010e [2021-09-07T06:28:16.407Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-09-07T06:28:16.407Z] ---> Running in 2455783f21a2 [2021-09-07T06:28:17.001Z] Removing intermediate container 2455783f21a2 [2021-09-07T06:28:17.001Z] ---> e83b26101515 [2021-09-07T06:28:17.001Z] Step 21/23 : LABEL arch=arm64 [2021-09-07T06:28:17.001Z] ---> Running in 297bc233e071 [2021-09-07T06:28:17.594Z] Removing intermediate container 297bc233e071 [2021-09-07T06:28:17.594Z] ---> 3a6b93cad2b2 [2021-09-07T06:28:17.594Z] Step 22/23 : LABEL git_sha=babf801c191347c8a4268ee924520d19449a73fd [2021-09-07T06:28:17.865Z] ---> Running in 4d84d2b0bc45 [2021-09-07T06:28:18.461Z] Removing intermediate container 4d84d2b0bc45 [2021-09-07T06:28:18.461Z] ---> ddaf7a9a8029 [2021-09-07T06:28:18.461Z] Step 23/23 : LABEL version=2.0.1-dev.12 [2021-09-07T06:28:18.461Z] ---> Running in da75230847ed [2021-09-07T06:28:19.053Z] Removing intermediate container da75230847ed [2021-09-07T06:28:19.053Z] ---> 40dd94bd91fd [2021-09-07T06:28:19.053Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-09-07T06:28:19.053Z] Successfully built 40dd94bd91fd [2021-09-07T06:28:19.053Z] 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-09-07T06:28:19.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-07T06:28:19.904Z] [2021-09-07T06:28:19.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:28:20.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-07T06:28:20.539Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-07T06:28:20.540Z] 448f6bf000e3: Pulling fs layer [2021-09-07T06:28:20.540Z] f757da607395: Pulling fs layer [2021-09-07T06:28:20.540Z] 05883995daec: Pulling fs layer [2021-09-07T06:28:20.540Z] 8603b9c90790: Pulling fs layer [2021-09-07T06:28:20.540Z] 1560dd03e051: Pulling fs layer [2021-09-07T06:28:20.540Z] 27f5ce0e4adf: Pulling fs layer [2021-09-07T06:28:20.540Z] c2d8d7efcc4b: Pulling fs layer [2021-09-07T06:28:20.540Z] 8603b9c90790: Waiting [2021-09-07T06:28:20.540Z] 1560dd03e051: Waiting [2021-09-07T06:28:20.540Z] 27f5ce0e4adf: Waiting [2021-09-07T06:28:20.540Z] c2d8d7efcc4b: Waiting [2021-09-07T06:28:20.830Z] f757da607395: Verifying Checksum [2021-09-07T06:28:20.830Z] f757da607395: Download complete [2021-09-07T06:28:20.830Z] 8603b9c90790: Download complete [2021-09-07T06:28:21.101Z] 05883995daec: Verifying Checksum [2021-09-07T06:28:21.101Z] 05883995daec: Download complete [2021-09-07T06:28:21.375Z] 27f5ce0e4adf: Verifying Checksum [2021-09-07T06:28:21.375Z] 27f5ce0e4adf: Download complete [2021-09-07T06:28:21.375Z] 1560dd03e051: Verifying Checksum [2021-09-07T06:28:21.970Z] 448f6bf000e3: Download complete [2021-09-07T06:28:25.350Z] 448f6bf000e3: Pull complete [2021-09-07T06:28:25.621Z] c2d8d7efcc4b: Verifying Checksum [2021-09-07T06:28:25.621Z] c2d8d7efcc4b: Download complete [2021-09-07T06:28:26.212Z] f757da607395: Pull complete [2021-09-07T06:28:27.640Z] 05883995daec: Pull complete [2021-09-07T06:28:27.913Z] 8603b9c90790: Pull complete [2021-09-07T06:28:28.894Z] 1560dd03e051: Pull complete [2021-09-07T06:28:29.167Z] 27f5ce0e4adf: Pull complete [2021-09-07T06:28:44.245Z] c2d8d7efcc4b: Pull complete [2021-09-07T06:28:44.245Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-07T06:28:44.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-07T06:28:44.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-07T06:28:44.470Z] prd-ubuntu18.04-docker-arm64-4c-16g-1518 does not seem to be running inside a container [2021-09-07T06:28:44.551Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-09-07T06:28:48.300Z] $ docker top ba0aca6a1dbd826ca2730418028912fd9aa0cbc2f81fc9958e6396b49d8841b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:28:49.286Z] ---> job-cost.sh [2021-09-07T06:28:49.286Z] lf-activate-venv: SKIPPING [2021-09-07T06:28:49.286Z] INFO: No Stack... [2021-09-07T06:28:50.293Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-07T06:28:50.569Z] INFO: Archiving Costs [Pipeline] sh [2021-09-07T06:28:51.281Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2021-09-07T06:28:51.281Z] + cut -d, -f6 [Pipeline] lock [2021-09-07T06:28:51.392Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-9-stack-cost] [2021-09-07T06:28:51.418Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-9-stack-cost] did not exist. Created. [2021-09-07T06:28:51.418Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-07T06:28:52.124Z] /w/workspace/device-sdk-go/9@tmp/durable-bb9a5dca/script.sh: 1: /w/workspace/device-sdk-go/9@tmp/durable-bb9a5dca/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-07T06:28:52.787Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-07T06:28:52.810Z] Warning: overwriting stash ‘stack-cost’ [2021-09-07T06:28:52.873Z] Stashed 1 file(s) [Pipeline] } [2021-09-07T06:28:52.883Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-07T06:28:52.916Z] $ docker stop --time=1 ba0aca6a1dbd826ca2730418028912fd9aa0cbc2f81fc9958e6396b49d8841b8 [2021-09-07T06:28:54.611Z] $ docker rm -f ba0aca6a1dbd826ca2730418028912fd9aa0cbc2f81fc9958e6396b49d8841b8 [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-09-07T06:28:55.702Z] provisioning config files... [2021-09-07T06:28:55.723Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config132690859533533114tmp [Pipeline] { [Pipeline] sh [2021-09-07T06:28:56.082Z] + set +x [2021-09-07T06:28:56.082Z] + curl -s https://codecov.io/bash [2021-09-07T06:28:56.082Z] + bash -s -- [2021-09-07T06:28:56.355Z] [2021-09-07T06:28:56.355Z] _____ _ [2021-09-07T06:28:56.355Z] / ____| | | [2021-09-07T06:28:56.355Z] | | ___ __| | ___ ___ _____ __ [2021-09-07T06:28:56.355Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-07T06:28:56.355Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-07T06:28:56.355Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-07T06:28:56.355Z] Bash-1.0.6 [2021-09-07T06:28:56.355Z] [2021-09-07T06:28:56.355Z] [2021-09-07T06:28:56.355Z] ==> git version 2.24.4 found [2021-09-07T06:28:56.356Z] ==> 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-09-07T06:28:56.356Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-07T06:28:56.356Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-07T06:28:56.356Z] ==> Jenkins CI detected. [2021-09-07T06:28:56.356Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-09-07T06:28:56.356Z] project root: . [2021-09-07T06:28:56.356Z] --> token set from env [2021-09-07T06:28:56.356Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-07T06:28:56.356Z] ==> Running gcov in . (disable via -X gcov) [2021-09-07T06:28:56.356Z] ==> Python coveragepy not found [2021-09-07T06:28:56.356Z] ==> Searching for coverage reports in: [2021-09-07T06:28:56.356Z] + . [2021-09-07T06:28:56.356Z] -> Found 1 reports [2021-09-07T06:28:56.356Z] ==> Detecting git/mercurial file structure [2021-09-07T06:28:56.356Z] ==> Reading reports [2021-09-07T06:28:56.356Z] + ./coverage.out bytes=125634 [2021-09-07T06:28:56.356Z] ==> Appending adjustments [2021-09-07T06:28:56.356Z] https://docs.codecov.io/docs/fixing-reports [2021-09-07T06:28:56.632Z] + Found adjustments [2021-09-07T06:28:56.632Z] ==> Gzipping contents [2021-09-07T06:28:56.632Z] 16K /tmp/codecov.AgMvnS.gz [2021-09-07T06:28:56.632Z] ==> Uploading reports [2021-09-07T06:28:56.632Z] url: https://codecov.io [2021-09-07T06:28:56.632Z] query: branch=main&commit=babf801c191347c8a4268ee924520d19449a73fd&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-09-07T06:28:56.632Z] -> Pinging Codecov [2021-09-07T06:28:56.632Z] 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=babf801c191347c8a4268ee924520d19449a73fd&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-09-07T06:28:56.906Z] -> Uploading to [2021-09-07T06:28:56.906Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-07/7E55EF52A471D76F132DFD9A03CDDE97/babf801c191347c8a4268ee924520d19449a73fd/e00d075e-81ce-49e3-900e-a433f2241bb9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210907T062856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9058adfde0a3f2a43f77c6649729543b8edc29173674b711eba083cac6ac029f [2021-09-07T06:28:56.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-07T06:28:56.906Z] Dload Upload Total Spent Left Speed [2021-09-07T06:28:57.499Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16016 0 0 100 16016 0 41205 --:--:-- --:--:-- --:--:-- 41278 [2021-09-07T06:28:57.499Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/babf801c191347c8a4268ee924520d19449a73fd [Pipeline] } [2021-09-07T06:28:57.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-09-07T06:28:58.401Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-09-07T06:28:58.424Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:28:58.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-07T06:28:58.760Z] [2021-09-07T06:28:58.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:28:59.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-07T06:28:59.125Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-09-07T06:28:59.125Z] 188c0c94c7c5: Pulling fs layer [2021-09-07T06:28:59.126Z] 0ef7d3d256c8: Pulling fs layer [2021-09-07T06:28:59.126Z] de9db76c5a1d: Pulling fs layer [2021-09-07T06:28:59.126Z] 0eba1c9be4d2: Pulling fs layer [2021-09-07T06:28:59.126Z] 0d57e429df01: Pulling fs layer [2021-09-07T06:28:59.126Z] 4e4be7b47b0d: Pulling fs layer [2021-09-07T06:28:59.126Z] e1f770b5df2f: Pulling fs layer [2021-09-07T06:28:59.126Z] 85a0685a4137: Pulling fs layer [2021-09-07T06:28:59.126Z] 0eba1c9be4d2: Waiting [2021-09-07T06:28:59.126Z] 0d57e429df01: Waiting [2021-09-07T06:28:59.126Z] 4e4be7b47b0d: Waiting [2021-09-07T06:28:59.126Z] e1f770b5df2f: Waiting [2021-09-07T06:28:59.126Z] 85a0685a4137: Waiting [2021-09-07T06:28:59.126Z] de9db76c5a1d: Download complete [2021-09-07T06:28:59.397Z] 0ef7d3d256c8: Verifying Checksum [2021-09-07T06:28:59.397Z] 0ef7d3d256c8: Download complete [2021-09-07T06:28:59.397Z] 0d57e429df01: Verifying Checksum [2021-09-07T06:28:59.397Z] 0d57e429df01: Download complete [2021-09-07T06:28:59.397Z] 4e4be7b47b0d: Verifying Checksum [2021-09-07T06:28:59.397Z] 4e4be7b47b0d: Download complete [2021-09-07T06:28:59.397Z] 188c0c94c7c5: Verifying Checksum [2021-09-07T06:28:59.397Z] 188c0c94c7c5: Download complete [2021-09-07T06:28:59.675Z] 188c0c94c7c5: Pull complete [2021-09-07T06:28:59.675Z] 0ef7d3d256c8: Pull complete [2021-09-07T06:28:59.946Z] de9db76c5a1d: Pull complete [2021-09-07T06:29:01.401Z] e1f770b5df2f: Verifying Checksum [2021-09-07T06:29:01.401Z] e1f770b5df2f: Download complete [2021-09-07T06:29:09.751Z] 0eba1c9be4d2: Verifying Checksum [2021-09-07T06:29:09.751Z] 0eba1c9be4d2: Download complete [2021-09-07T06:29:11.736Z] 85a0685a4137: Verifying Checksum [2021-09-07T06:29:11.736Z] 85a0685a4137: Download complete [2021-09-07T06:29:12.732Z] 0eba1c9be4d2: Pull complete [2021-09-07T06:29:12.732Z] 0d57e429df01: Pull complete [2021-09-07T06:29:12.732Z] 4e4be7b47b0d: Pull complete [2021-09-07T06:29:13.325Z] e1f770b5df2f: Pull complete [2021-09-07T06:29:16.716Z] 85a0685a4137: Pull complete [2021-09-07T06:29:16.716Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-09-07T06:29:16.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-07T06:29:16.716Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-09-07T06:29:16.840Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-09-07T06:29:16.938Z] $ 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-09-07T06:29:19.607Z] $ docker top 02add00fbf01e5c733a3a8b51882ac970a3dd0b4f38c22e59e13da7ee40b8bfb -eo pid,comm [Pipeline] { [Pipeline] echo [2021-09-07T06:29:19.722Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-09-07T06:29:20.040Z] + set -o pipefail [2021-09-07T06:29:20.040Z] + snyk monitor '--org=edgex-jenkins' [2021-09-07T06:29:38.324Z] [2021-09-07T06:29:38.324Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-09-07T06:29:38.324Z] [2021-09-07T06:29:38.324Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/8267f10a-82d9-460a-a63f-61e7f1d0991c [2021-09-07T06:29:38.324Z] [2021-09-07T06:29:38.324Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-09-07T06:29:38.324Z] [2021-09-07T06:29:38.324Z] [Pipeline] } [2021-09-07T06:29:38.345Z] $ docker stop --time=1 02add00fbf01e5c733a3a8b51882ac970a3dd0b4f38c22e59e13da7ee40b8bfb [2021-09-07T06:29:40.406Z] $ docker rm -f 02add00fbf01e5c733a3a8b51882ac970a3dd0b4f38c22e59e13da7ee40b8bfb [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-09-07T06:29:41.290Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-07T06:29:41.316Z] provisioning config files... [2021-09-07T06:29:41.334Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7822951982714441172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:29:41.711Z] --> edgex-publish-swagger.sh [2021-09-07T06:29:41.711Z] === Publish openapi/v2 API === [2021-09-07T06:29:41.711Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-09-07T06:29:41.711Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-09-07T06:29:41.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-07T06:29:41.711Z] Dload Upload Total Spent Left Speed [2021-09-07T06:29:42.696Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 56096 --:--:-- --:--:-- --:--:-- 56083 100 51485 0 0 100 51485 0 56089 --:--:-- --:--:-- --:--:-- 56083 [2021-09-07T06:29:42.696Z] [2021-09-07T06:29:42.696Z] [Pipeline] } [2021-09-07T06:29:42.716Z] 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-09-07T06:29:43.468Z] + git log --format=format:%s -1 babf801c191347c8a4268ee924520d19449a73fd [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:29:43.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-07T06:29:43.834Z] . [Pipeline] withDockerContainer [2021-09-07T06:29:43.948Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-09-07T06:29:44.032Z] $ 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-09-07T06:29:44.431Z] $ docker top 02613bb13efda4a9805535d32371fd0f93428a95f386440f700b0e5ea7285690 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-07T06:29:44.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-07T06:29:44.568Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-07T06:29:44.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-07T06:29:44.701Z] $ docker exec 02613bb13efda4a9805535d32371fd0f93428a95f386440f700b0e5ea7285690 ssh-agent [2021-09-07T06:29:44.835Z] SSH_AUTH_SOCK=/tmp/ssh-fC3Qas86LKLP/agent.13 [2021-09-07T06:29:44.835Z] SSH_AGENT_PID=20 [2021-09-07T06:29:44.851Z] Running ssh-add (command line suppressed) [2021-09-07T06:29:44.957Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_985735727476427739.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_985735727476427739.key) [2021-09-07T06:29:44.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-07T06:29:45.341Z] + git semver tag [2021-09-07T06:29:45.341Z] # -> Open(): unable to determine branch for HEAD [2021-09-07T06:29:45.341Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-09-07T06:29:45.341Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-09-07T06:29:45.341Z] # $SEMVER_REMOTE_NAME = origin [2021-09-07T06:29:45.341Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-07T06:29:45.341Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-07T06:29:45.341Z] # $SEMVER_BRANCH = main [2021-09-07T06:29:45.341Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-09-07T06:29:45.341Z] # babf801c191347c8a4268ee924520d19449a73fd HEAD [2021-09-07T06:29:45.341Z] # -> Force: false [2021-09-07T06:29:45.341Z] # ac9270fe18b5766f9a16d796c0273f0d1867e136 refs/tags/v2.0.1-dev.12 [Pipeline] } [2021-09-07T06:29:45.365Z] $ docker exec --env ******** --env ******** 02613bb13efda4a9805535d32371fd0f93428a95f386440f700b0e5ea7285690 ssh-agent -k [2021-09-07T06:29:45.462Z] unset SSH_AUTH_SOCK; [2021-09-07T06:29:45.462Z] unset SSH_AGENT_PID; [2021-09-07T06:29:45.462Z] echo Agent pid 20 killed; [2021-09-07T06:29:45.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-07T06:29:45.872Z] + git semver [Pipeline] } [2021-09-07T06:29:45.896Z] $ docker stop --time=1 02613bb13efda4a9805535d32371fd0f93428a95f386440f700b0e5ea7285690 [2021-09-07T06:29:47.130Z] $ docker rm -f 02613bb13efda4a9805535d32371fd0f93428a95f386440f700b0e5ea7285690 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:29:47.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-07T06:29:47.637Z] [2021-09-07T06:29:47.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:29:48.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-07T06:29:48.000Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-09-07T06:29:48.000Z] ab5ef0e58194: Pulling fs layer [2021-09-07T06:29:48.000Z] 9712f1f96733: Pulling fs layer [2021-09-07T06:29:48.000Z] 63f879dbbcfc: Pulling fs layer [2021-09-07T06:29:48.000Z] 0d9ebad4ef96: Pulling fs layer [2021-09-07T06:29:48.000Z] e9a5061849ea: Pulling fs layer [2021-09-07T06:29:48.000Z] d747dcd14b5f: Pulling fs layer [2021-09-07T06:29:48.000Z] 2de7ff778b66: Pulling fs layer [2021-09-07T06:29:48.000Z] 0d9ebad4ef96: Waiting [2021-09-07T06:29:48.000Z] e9a5061849ea: Waiting [2021-09-07T06:29:48.000Z] d747dcd14b5f: Waiting [2021-09-07T06:29:48.000Z] 2de7ff778b66: Waiting [2021-09-07T06:29:48.000Z] 9712f1f96733: Verifying Checksum [2021-09-07T06:29:48.000Z] 9712f1f96733: Download complete [2021-09-07T06:29:52.522Z] 63f879dbbcfc: Verifying Checksum [2021-09-07T06:29:52.522Z] 63f879dbbcfc: Download complete [2021-09-07T06:29:52.522Z] e9a5061849ea: Verifying Checksum [2021-09-07T06:29:52.522Z] e9a5061849ea: Download complete [2021-09-07T06:29:52.794Z] d747dcd14b5f: Verifying Checksum [2021-09-07T06:29:52.794Z] d747dcd14b5f: Download complete [2021-09-07T06:29:53.771Z] 2de7ff778b66: Verifying Checksum [2021-09-07T06:29:53.771Z] 2de7ff778b66: Download complete [2021-09-07T06:29:54.741Z] 0d9ebad4ef96: Verifying Checksum [2021-09-07T06:29:54.741Z] 0d9ebad4ef96: Download complete [2021-09-07T06:29:55.335Z] ab5ef0e58194: Verifying Checksum [2021-09-07T06:29:55.335Z] ab5ef0e58194: Download complete [2021-09-07T06:29:58.751Z] ab5ef0e58194: Pull complete [2021-09-07T06:29:58.751Z] 9712f1f96733: Pull complete [2021-09-07T06:29:59.340Z] 63f879dbbcfc: Pull complete [2021-09-07T06:30:03.650Z] 0d9ebad4ef96: Pull complete [2021-09-07T06:30:03.651Z] e9a5061849ea: Pull complete [2021-09-07T06:30:03.651Z] d747dcd14b5f: Pull complete [2021-09-07T06:30:04.632Z] 2de7ff778b66: Pull complete [2021-09-07T06:30:04.632Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-09-07T06:30:04.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-07T06:30:04.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-09-07T06:30:04.752Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-09-07T06:30:04.848Z] $ 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-09-07T06:30:08.824Z] $ docker top b8c78eb35fe19e8c738a8a057d9e999c9cddc2a9aae88c241edd2ad8c0efbb90 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-09-07T06:30:08.953Z] provisioning config files... [2021-09-07T06:30:08.974Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5238298452376569694tmp [2021-09-07T06:30:09.018Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3298922848804608986tmp [2021-09-07T06:30:09.053Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4271404029117804379tmp [Pipeline] { [Pipeline] echo [2021-09-07T06:30:09.090Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:09.650Z] ---> sigul-configuration.sh [2021-09-07T06:30:09.650Z] gpg: directory `/root/.gnupg' created [2021-09-07T06:30:09.650Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-09-07T06:30:09.650Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-09-07T06:30:09.650Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-09-07T06:30:09.650Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-09-07T06:30:09.650Z] gpg: CAST5 encrypted data [2021-09-07T06:30:09.650Z] gpg: encrypted with 1 passphrase [2021-09-07T06:30:09.650Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-09-07T06:30:09.999Z] + mkdir /home/jenkins [2021-09-07T06:30:09.999Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-09-07T06:30:10.622Z] + 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-09-07T06:30:10.643Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:10.993Z] ---> sigul-install.sh [2021-09-07T06:30:10.993Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-09-07T06:30:11.335Z] + git tag --list [2021-09-07T06:30:11.335Z] 0.7.1 [2021-09-07T06:30:11.335Z] delhi-tag [2021-09-07T06:30:11.335Z] v1.0.0 [2021-09-07T06:30:11.335Z] v1.1.0 [2021-09-07T06:30:11.335Z] v1.1.1 [2021-09-07T06:30:11.335Z] v1.1.2 [2021-09-07T06:30:11.335Z] v1.2.0 [2021-09-07T06:30:11.335Z] v1.2.1 [2021-09-07T06:30:11.335Z] v1.2.2 [2021-09-07T06:30:11.335Z] v1.2.3 [2021-09-07T06:30:11.335Z] v1.3.0 [2021-09-07T06:30:11.335Z] v1.4.0 [2021-09-07T06:30:11.335Z] v2.0.0 [2021-09-07T06:30:11.335Z] v2.0.1-dev.1 [2021-09-07T06:30:11.335Z] v2.0.1-dev.10 [2021-09-07T06:30:11.335Z] v2.0.1-dev.11 [2021-09-07T06:30:11.335Z] v2.0.1-dev.12 [2021-09-07T06:30:11.335Z] v2.0.1-dev.2 [2021-09-07T06:30:11.335Z] v2.0.1-dev.3 [2021-09-07T06:30:11.335Z] v2.0.1-dev.4 [2021-09-07T06:30:11.335Z] v2.0.1-dev.5 [2021-09-07T06:30:11.335Z] v2.0.1-dev.6 [2021-09-07T06:30:11.335Z] v2.0.1-dev.7 [2021-09-07T06:30:11.335Z] v2.0.1-dev.8 [2021-09-07T06:30:11.335Z] v2.0.1-dev.9 [Pipeline] sh [2021-09-07T06:30:11.668Z] + lftools sign git-tag v2.0.1-dev.12 [2021-09-07T06:30:12.272Z] Signing Git tag with Sigul... [2021-09-07T06:30:12.272Z] Signing v2.0.1-dev.12 [Pipeline] echo [2021-09-07T06:30:13.267Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:13.621Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-09-07T06:30:13.640Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-09-07T06:30:13.680Z] $ docker stop --time=1 b8c78eb35fe19e8c738a8a057d9e999c9cddc2a9aae88c241edd2ad8c0efbb90 [2021-09-07T06:30:14.905Z] $ docker rm -f b8c78eb35fe19e8c738a8a057d9e999c9cddc2a9aae88c241edd2ad8c0efbb90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:30:15.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-07T06:30:15.781Z] . [Pipeline] withDockerContainer [2021-09-07T06:30:15.901Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-09-07T06:30:15.990Z] $ 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-09-07T06:30:16.408Z] $ docker top 3dc8a7ca66d4c790e8bef0d66dfcb987452f580a6b3af306a6d7b83efbc8460b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-07T06:30:16.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-07T06:30:16.553Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-07T06:30:16.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-07T06:30:16.677Z] $ docker exec 3dc8a7ca66d4c790e8bef0d66dfcb987452f580a6b3af306a6d7b83efbc8460b ssh-agent [2021-09-07T06:30:16.809Z] SSH_AUTH_SOCK=/tmp/ssh-ElVGF6jGHOpV/agent.14 [2021-09-07T06:30:16.809Z] SSH_AGENT_PID=20 [2021-09-07T06:30:16.825Z] Running ssh-add (command line suppressed) [2021-09-07T06:30:16.931Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4268778505275893502.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4268778505275893502.key) [2021-09-07T06:30:16.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-07T06:30:17.319Z] + git semver bump pre [2021-09-07T06:30:17.319Z] # -> Open(): unable to determine branch for HEAD [2021-09-07T06:30:17.319Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-09-07T06:30:17.319Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-09-07T06:30:17.319Z] # $SEMVER_REMOTE_NAME = origin [2021-09-07T06:30:17.319Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-07T06:30:17.319Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-07T06:30:17.319Z] # $SEMVER_BRANCH = main [2021-09-07T06:30:17.319Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-09-07T06:30:17.319Z] 2.0.1-dev.13 [Pipeline] } [2021-09-07T06:30:17.340Z] $ docker exec --env ******** --env ******** 3dc8a7ca66d4c790e8bef0d66dfcb987452f580a6b3af306a6d7b83efbc8460b ssh-agent -k [2021-09-07T06:30:17.445Z] unset SSH_AUTH_SOCK; [2021-09-07T06:30:17.445Z] unset SSH_AGENT_PID; [2021-09-07T06:30:17.445Z] echo Agent pid 20 killed; [2021-09-07T06:30:17.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-07T06:30:17.840Z] + git semver [Pipeline] } [2021-09-07T06:30:17.868Z] $ docker stop --time=1 3dc8a7ca66d4c790e8bef0d66dfcb987452f580a6b3af306a6d7b83efbc8460b [2021-09-07T06:30:19.060Z] $ docker rm -f 3dc8a7ca66d4c790e8bef0d66dfcb987452f580a6b3af306a6d7b83efbc8460b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:30:19.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-07T06:30:19.498Z] . [Pipeline] withDockerContainer [2021-09-07T06:30:19.619Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-09-07T06:30:19.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-09-07T06:30:20.156Z] $ docker top ff167f1f8690bb355896673be142d89aae53619d12749132220ae8cf873c5037 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-07T06:30:20.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-07T06:30:20.316Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-07T06:30:20.448Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-07T06:30:20.455Z] $ docker exec ff167f1f8690bb355896673be142d89aae53619d12749132220ae8cf873c5037 ssh-agent [2021-09-07T06:30:20.584Z] SSH_AUTH_SOCK=/tmp/ssh-t5hH37OheXKh/agent.13 [2021-09-07T06:30:20.584Z] SSH_AGENT_PID=19 [2021-09-07T06:30:20.599Z] Running ssh-add (command line suppressed) [2021-09-07T06:30:20.697Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8754255621075685061.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8754255621075685061.key) [2021-09-07T06:30:20.724Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-07T06:30:21.050Z] + git semver push [2021-09-07T06:30:21.050Z] # -> Open(): unable to determine branch for HEAD [2021-09-07T06:30:21.050Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-09-07T06:30:21.050Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-09-07T06:30:21.050Z] # $SEMVER_REMOTE_NAME = origin [2021-09-07T06:30:21.050Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-07T06:30:21.050Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-07T06:30:21.050Z] # $SEMVER_BRANCH = main [2021-09-07T06:30:21.050Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-09-07T06:30:23.035Z] $ docker exec --env ******** --env ******** ff167f1f8690bb355896673be142d89aae53619d12749132220ae8cf873c5037 ssh-agent -k [2021-09-07T06:30:23.128Z] unset SSH_AUTH_SOCK; [2021-09-07T06:30:23.128Z] unset SSH_AGENT_PID; [2021-09-07T06:30:23.128Z] echo Agent pid 19 killed; [2021-09-07T06:30:23.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-07T06:30:23.524Z] + git semver [Pipeline] } [2021-09-07T06:30:23.553Z] $ docker stop --time=1 ff167f1f8690bb355896673be142d89aae53619d12749132220ae8cf873c5037 [2021-09-07T06:30:24.758Z] $ docker rm -f ff167f1f8690bb355896673be142d89aae53619d12749132220ae8cf873c5037 [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-09-07T06:30:25.771Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:26.122Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:26.740Z] ---> package-listing.sh [2021-09-07T06:30:26.740Z] ++ facter osfamily [2021-09-07T06:30:26.740Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-07T06:30:27.014Z] + OS_FAMILY=redhat [2021-09-07T06:30:27.014Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-09-07T06:30:27.014Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-07T06:30:27.014Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-07T06:30:27.014Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-07T06:30:27.014Z] + PACKAGES=/tmp/packages_start.txt [2021-09-07T06:30:27.014Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-09-07T06:30:27.014Z] + PACKAGES=/tmp/packages_end.txt [2021-09-07T06:30:27.014Z] + case "${OS_FAMILY}" in [2021-09-07T06:30:27.014Z] + rpm -qa [2021-09-07T06:30:27.014Z] + sort [2021-09-07T06:30:27.992Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-07T06:30:27.992Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-07T06:30:27.992Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-07T06:30:27.992Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-09-07T06:30:27.992Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-09-07T06:30:27.992Z] + 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-09-07T06:30:28.013Z] 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-09-07T06:30:28.330Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:30:28.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-07T06:30:28.937Z] [2021-09-07T06:30:28.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-07T06:30:29.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-07T06:30:29.335Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-07T06:30:29.335Z] b4d181a07f80: Pulling fs layer [2021-09-07T06:30:29.335Z] a1111a8f2ec3: Pulling fs layer [2021-09-07T06:30:29.335Z] ed53099fbce6: Pulling fs layer [2021-09-07T06:30:29.335Z] dc539afda2c1: Pulling fs layer [2021-09-07T06:30:29.335Z] 77bc0d833cb6: Pulling fs layer [2021-09-07T06:30:29.335Z] 9065ff56babe: Pulling fs layer [2021-09-07T06:30:29.335Z] d287ab97295c: Pulling fs layer [2021-09-07T06:30:29.335Z] dc539afda2c1: Waiting [2021-09-07T06:30:29.335Z] 77bc0d833cb6: Waiting [2021-09-07T06:30:29.335Z] 9065ff56babe: Waiting [2021-09-07T06:30:29.335Z] d287ab97295c: Waiting [2021-09-07T06:30:29.609Z] a1111a8f2ec3: Verifying Checksum [2021-09-07T06:30:29.609Z] a1111a8f2ec3: Download complete [2021-09-07T06:30:29.609Z] dc539afda2c1: Verifying Checksum [2021-09-07T06:30:29.609Z] dc539afda2c1: Download complete [2021-09-07T06:30:29.889Z] 77bc0d833cb6: Verifying Checksum [2021-09-07T06:30:29.889Z] 77bc0d833cb6: Download complete [2021-09-07T06:30:29.889Z] 9065ff56babe: Verifying Checksum [2021-09-07T06:30:29.889Z] 9065ff56babe: Download complete [2021-09-07T06:30:30.530Z] ed53099fbce6: Verifying Checksum [2021-09-07T06:30:30.530Z] ed53099fbce6: Download complete [2021-09-07T06:30:31.659Z] b4d181a07f80: Verifying Checksum [2021-09-07T06:30:31.659Z] b4d181a07f80: Download complete [2021-09-07T06:30:33.113Z] b4d181a07f80: Pull complete [2021-09-07T06:30:33.113Z] a1111a8f2ec3: Pull complete [2021-09-07T06:30:33.719Z] ed53099fbce6: Pull complete [2021-09-07T06:30:33.719Z] dc539afda2c1: Pull complete [2021-09-07T06:30:33.997Z] 77bc0d833cb6: Pull complete [2021-09-07T06:30:33.997Z] 9065ff56babe: Pull complete [2021-09-07T06:30:38.735Z] d287ab97295c: Verifying Checksum [2021-09-07T06:30:38.735Z] d287ab97295c: Download complete [2021-09-07T06:30:44.159Z] d287ab97295c: Pull complete [2021-09-07T06:30:44.159Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-07T06:30:44.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-07T06:30:44.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-07T06:30:44.273Z] prd-centos7-docker-4c-2g-1517 does not seem to be running inside a container [2021-09-07T06:30:44.359Z] $ 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-09-07T06:30:47.412Z] $ docker top 0872b8e84d3d67a18e8bcc947b45b195d1c1e52f335c3e6e8ba72b0c338276eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-07T06:30:47.848Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-07T06:30:48.185Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-07T06:30:48.520Z] + ls /var/log/sa-host [2021-09-07T06:30:48.520Z] + sadf -c /var/log/sa-host/sa05 [2021-09-07T06:30:48.520Z] file_magic: OK [2021-09-07T06:30:48.520Z] HZ: Using current value: 100 [2021-09-07T06:30:48.520Z] file_header: OK [2021-09-07T06:30:48.520Z] 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-09-07T06:30:48.520Z] Statistics: [2021-09-07T06:30:48.520Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-07T06:30:48.520Z] File successfully converted to sysstat format version 12.0.3 [2021-09-07T06:30:48.520Z] + sadf -c /var/log/sa-host/sa07 [2021-09-07T06:30:48.520Z] file_magic: OK [2021-09-07T06:30:48.520Z] HZ: Using current value: 100 [2021-09-07T06:30:48.520Z] file_header: OK [2021-09-07T06:30:48.520Z] 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-09-07T06:30:48.520Z] Statistics: [2021-09-07T06:30:48.521Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-07T06:30:48.521Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-07T06:30:48.718Z] provisioning config files... [2021-09-07T06:30:48.736Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config551858621214427120tmp [Pipeline] { [Pipeline] echo [2021-09-07T06:30:48.765Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:49.099Z] ---> create-netrc.sh [Pipeline] } [2021-09-07T06:30:49.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:49.554Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-07T06:30:49.571Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:49.896Z] ---> sudo-logs.sh [2021-09-07T06:30:49.896Z] Archiving 'sudo' log.. [2021-09-07T06:30:49.896Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1517.vexxhost.local: Name or service not known [2021-09-07T06:30:49.896Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1517.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-07T06:30:49.941Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:50.280Z] ---> job-cost.sh [2021-09-07T06:30:50.280Z] lf-activate-venv: SKIPPING [2021-09-07T06:30:50.280Z] DEBUG: total: 0.10999999940395355 [2021-09-07T06:30:50.280Z] INFO: Retrieving Stack Cost... [2021-09-07T06:30:51.257Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-07T06:30:51.531Z] INFO: Archiving Costs [Pipeline] echo [2021-09-07T06:30:51.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-07T06:30:51.889Z] ---> logs-deploy.sh [2021-09-07T06:30:51.889Z] lf-activate-venv: SKIPPING [2021-09-07T06:30:51.889Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/9 [2021-09-07T06:30:51.889Z] INFO: archiving workspace using pattern(s): [2021-09-07T06:30:53.077Z] Archives upload complete. [2021-09-07T06:30:53.077Z] INFO: archiving logs to Nexus