Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 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-ssh3758655407521742852.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh7101756788511847319.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh892506509272454995.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh4595075467449570308.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4101416243246511361.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-17 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-ssh521635901774992393.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 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 (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 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 # timeout=10 Commit message: "Merge pull request #1045 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.2-dev.7" > git rev-list --no-walk 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T17:50:04.494Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T17:50:04.527Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T17:50:04.538Z] ========================================================= [2021-10-28T17:50:04.538Z] EdgeX Global Pipelines Version Info [2021-10-28T17:50:04.538Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:50:05.743Z] ------------------- [2021-10-28T17:50:05.743Z] stable info: [2021-10-28T17:50:05.743Z] ------------------- [2021-10-28T17:50:05.743Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T17:50:05.743Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T17:50:05.743Z] Message: update stable to v1.0.210 [2021-10-28T17:50:06.314Z] ------------------- [2021-10-28T17:50:06.314Z] experimental info: [2021-10-28T17:50:06.314Z] ------------------- [2021-10-28T17:50:06.314Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T17:50:06.314Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T17:50:06.314Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T17:50:06.396Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-28T17:50:06.407Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-28T17:50:06.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T17:50:06.432Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T17:50:06.443Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T17:50:06.453Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T17:50:06.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T17:50:06.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-28T17:50:06.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T17:50:06.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T17:50:06.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T17:50:06.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-28T17:50:06.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T17:50:06.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T17:50:06.536Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T17:50:06.545Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T17:50:06.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T17:50:06.564Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T17:50:06.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T17:50:06.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T17:50:06.599Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-28T17:50:06.613Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-28T17:50:06.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T17:50:06.635Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T17:50:06.646Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T17:50:06.659Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T17:50:06.671Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-28T17:50:06.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-28T17:50:06.690Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-28T17:50:06.699Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 [Pipeline] echo [2021-10-28T17:50:06.711Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1500c1d [Pipeline] echo [2021-10-28T17:50:06.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:50:06.762Z] provisioning config files... [2021-10-28T17:50:06.777Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8394118002322884520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:50:07.094Z] ---> docker-login.sh [2021-10-28T17:50:07.094Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:50:07.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:50:07.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:50:07.094Z] Configure a credential helper to remove this warning. See [2021-10-28T17:50:07.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:50:07.094Z] [2021-10-28T17:50:07.094Z] Login Succeeded [2021-10-28T17:50:07.094Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:50:07.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:50:07.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:50:07.356Z] Configure a credential helper to remove this warning. See [2021-10-28T17:50:07.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:50:07.356Z] [2021-10-28T17:50:07.356Z] Login Succeeded [2021-10-28T17:50:07.356Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:50:07.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:50:07.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:50:07.356Z] Configure a credential helper to remove this warning. See [2021-10-28T17:50:07.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:50:07.356Z] [2021-10-28T17:50:07.356Z] Login Succeeded [2021-10-28T17:50:07.356Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:50:07.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:50:07.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:50:07.625Z] Configure a credential helper to remove this warning. See [2021-10-28T17:50:07.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:50:07.625Z] [2021-10-28T17:50:07.625Z] Login Succeeded [2021-10-28T17:50:07.625Z] docker.io [2021-10-28T17:50:07.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:50:07.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:50:07.885Z] Configure a credential helper to remove this warning. See [2021-10-28T17:50:07.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:50:07.885Z] [2021-10-28T17:50:07.885Z] Login Succeeded [2021-10-28T17:50:07.885Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:50:07.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T17:50:08.311Z] + git log --format=format:%s -1 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 [Pipeline] echo [2021-10-28T17:50:08.349Z] GIT_COMMIT: 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6, Commit Message: Merge pull request #1045 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.2-dev.7 [Pipeline] echo [2021-10-28T17:50:08.355Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:50:08.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:50:08.788Z] [2021-10-28T17:50:08.788Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:50:09.089Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:50:09.090Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T17:50:09.090Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T17:50:09.090Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T17:50:09.090Z] 4c7163046ea9: Pulling fs layer [2021-10-28T17:50:09.090Z] 0c2d73faf560: Pulling fs layer [2021-10-28T17:50:09.090Z] 0c2d73faf560: Waiting [2021-10-28T17:50:09.090Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T17:50:09.090Z] 3e5f54012d9b: Download complete [2021-10-28T17:50:09.090Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T17:50:09.090Z] a0d0a0d46f8b: Download complete [2021-10-28T17:50:09.090Z] 0c2d73faf560: Verifying Checksum [2021-10-28T17:50:09.090Z] 0c2d73faf560: Download complete [2021-10-28T17:50:09.090Z] 4c7163046ea9: Verifying Checksum [2021-10-28T17:50:09.090Z] 4c7163046ea9: Download complete [2021-10-28T17:50:09.349Z] a0d0a0d46f8b: Pull complete [2021-10-28T17:50:09.349Z] 3e5f54012d9b: Pull complete [2021-10-28T17:50:09.616Z] 4c7163046ea9: Pull complete [2021-10-28T17:50:09.879Z] 0c2d73faf560: Pull complete [2021-10-28T17:50:09.879Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T17:50:09.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:50:09.879Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T17:50:09.946Z] prd-centos7-docker-4c-2g-17 does not seem to be running inside a container [2021-10-28T17:50:09.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T17:50:10.545Z] $ docker top 512f73f068c5e7693bf7e5ccac6a9e3b48a369d76a63baa3dccc4ed4aed3fa8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T17:50:10.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T17:50:10.674Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T17:50:10.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T17:50:10.774Z] $ docker exec 512f73f068c5e7693bf7e5ccac6a9e3b48a369d76a63baa3dccc4ed4aed3fa8f ssh-agent [2021-10-28T17:50:10.889Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXflBGdC/agent.15 [2021-10-28T17:50:10.889Z] SSH_AGENT_PID=21 [2021-10-28T17:50:10.898Z] Running ssh-add (command line suppressed) [2021-10-28T17:50:10.990Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7791139253254230687.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7791139253254230687.key) [2021-10-28T17:50:11.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T17:50:11.297Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T17:50:11.311Z] $ docker exec --env ******** --env ******** 512f73f068c5e7693bf7e5ccac6a9e3b48a369d76a63baa3dccc4ed4aed3fa8f ssh-agent -k [2021-10-28T17:50:11.395Z] unset SSH_AUTH_SOCK; [2021-10-28T17:50:11.395Z] unset SSH_AGENT_PID; [2021-10-28T17:50:11.395Z] echo Agent pid 21 killed; [2021-10-28T17:50:11.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T17:50:11.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T17:50:11.428Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T17:50:11.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T17:50:11.529Z] $ docker exec 512f73f068c5e7693bf7e5ccac6a9e3b48a369d76a63baa3dccc4ed4aed3fa8f ssh-agent [2021-10-28T17:50:11.633Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnPMlMD/agent.56 [2021-10-28T17:50:11.633Z] SSH_AGENT_PID=62 [2021-10-28T17:50:11.639Z] Running ssh-add (command line suppressed) [2021-10-28T17:50:11.737Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_529628147393770813.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_529628147393770813.key) [2021-10-28T17:50:11.756Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T17:50:12.060Z] + git semver init [2021-10-28T17:50:12.060Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T17:50:12.060Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T17:50:12.060Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T17:50:12.060Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T17:50:12.060Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T17:50:12.060Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T17:50:12.060Z] # $SEMVER_BRANCH = main [2021-10-28T17:50:12.060Z] # $SEMVER_TEMP = /tmp/semver-726293337 [2021-10-28T17:50:12.060Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-28T17:50:13.007Z] # '/tmp/semver-726293337' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-28T17:50:13.007Z] # -> Force: false [2021-10-28T17:50:13.007Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-28T17:50:13.016Z] $ docker exec --env ******** --env ******** 512f73f068c5e7693bf7e5ccac6a9e3b48a369d76a63baa3dccc4ed4aed3fa8f ssh-agent -k [2021-10-28T17:50:13.109Z] unset SSH_AUTH_SOCK; [2021-10-28T17:50:13.109Z] unset SSH_AGENT_PID; [2021-10-28T17:50:13.109Z] echo Agent pid 62 killed; [2021-10-28T17:50:13.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T17:50:13.441Z] + git semver [Pipeline] } [2021-10-28T17:50:13.453Z] $ docker stop --time=1 512f73f068c5e7693bf7e5ccac6a9e3b48a369d76a63baa3dccc4ed4aed3fa8f [2021-10-28T17:50:14.671Z] $ docker rm -f 512f73f068c5e7693bf7e5ccac6a9e3b48a369d76a63baa3dccc4ed4aed3fa8f [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T17:50:15.012Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T17:50:15.237Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T17:50:15.240Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.24 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-28T17:50:30.380Z] Still waiting to schedule task [2021-10-28T17:50:30.381Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T17:50:30.382Z] Still waiting to schedule task [2021-10-28T17:50:30.382Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-28T17:51:47.199Z] Running on prd-centos7-docker-4c-2g-20 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-28T17:51:47.210Z] Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout [2021-10-28T17:51:47.298Z] Selected Git installation does not exist. Using Default [2021-10-28T17:51:47.298Z] The recommended git tool is: NONE [2021-10-28T17:51:49.454Z] using credential edgex-jenkins-ssh [2021-10-28T17:51:49.465Z] Cloning the remote Git repository [2021-10-28T17:51:48.866Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:51:48.920Z] > git init /w/workspace/device-sdk-go/23 # timeout=10 [2021-10-28T17:51:48.956Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:51:48.956Z] > git --version # timeout=10 [2021-10-28T17:51:50.605Z] Avoid second fetch [2021-10-28T17:51:50.606Z] Checking out Revision 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 (main) [2021-10-28T17:51:48.968Z] > git --version # 'git version 2.24.4' [2021-10-28T17:51:48.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:51:48.994Z] [INFO] Currently running in a labeled security context [2021-10-28T17:51:48.994Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T17:51:48.995Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/23@tmp/jenkins-gitclient-ssh3251008085907634816.key [2021-10-28T17:51:49.024Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:51:49.970Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T17:51:49.979Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:51:49.997Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:51:50.007Z] > git checkout -f 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 # timeout=10 [2021-10-28T17:51:54.202Z] Commit message: "Merge pull request #1045 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.2-dev.7" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:51:54.551Z] provisioning config files... [2021-10-28T17:51:54.571Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/23@tmp/config7880793087305894437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:51:54.959Z] ---> docker-login.sh [2021-10-28T17:51:54.959Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:51:54.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:51:54.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:51:54.959Z] Configure a credential helper to remove this warning. See [2021-10-28T17:51:54.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:51:54.959Z] [2021-10-28T17:51:54.959Z] Login Succeeded [2021-10-28T17:51:54.959Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:51:55.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:51:55.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:51:55.221Z] Configure a credential helper to remove this warning. See [2021-10-28T17:51:55.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:51:55.221Z] [2021-10-28T17:51:55.221Z] Login Succeeded [2021-10-28T17:51:55.221Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:51:55.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:51:55.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:51:55.221Z] Configure a credential helper to remove this warning. See [2021-10-28T17:51:55.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:51:55.221Z] [2021-10-28T17:51:55.221Z] Login Succeeded [2021-10-28T17:51:55.221Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:51:55.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:51:55.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:51:55.481Z] Configure a credential helper to remove this warning. See [2021-10-28T17:51:55.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:51:55.481Z] [2021-10-28T17:51:55.481Z] Login Succeeded [2021-10-28T17:51:55.481Z] docker.io [2021-10-28T17:51:55.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:51:55.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:51:55.744Z] Configure a credential helper to remove this warning. See [2021-10-28T17:51:55.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:51:55.744Z] [2021-10-28T17:51:55.744Z] Login Succeeded [2021-10-28T17:51:55.744Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:51:55.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T17:51:55.899Z] ========================================================= [2021-10-28T17:51:55.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T17:51:55.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:51:56.208Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-28T17:51:56.208Z] Sending build context to Docker daemon 2.712MB [2021-10-28T17:51:56.208Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T17:51:56.208Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T17:51:56.208Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T17:51:56.208Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T17:51:56.208Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T17:51:56.208Z] b8b176561691: Pulling fs layer [2021-10-28T17:51:56.208Z] 4527c011a84f: Pulling fs layer [2021-10-28T17:51:56.208Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T17:51:56.208Z] e0aca202a116: Pulling fs layer [2021-10-28T17:51:56.208Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T17:51:56.208Z] 34cad66bf833: Pulling fs layer [2021-10-28T17:51:56.208Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T17:51:56.208Z] e0aca202a116: Waiting [2021-10-28T17:51:56.208Z] 3a43be97a3b4: Waiting [2021-10-28T17:51:56.208Z] 34cad66bf833: Waiting [2021-10-28T17:51:56.208Z] b4e3c513aaa6: Waiting [2021-10-28T17:51:56.208Z] 4527c011a84f: Waiting [2021-10-28T17:51:56.208Z] 5d74067f8e1e: Waiting [2021-10-28T17:51:56.208Z] b8b176561691: Verifying Checksum [2021-10-28T17:51:56.208Z] b8b176561691: Download complete [2021-10-28T17:51:56.208Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T17:51:56.208Z] 31adcdaf11c8: Download complete [2021-10-28T17:51:56.208Z] 5d74067f8e1e: Download complete [2021-10-28T17:51:56.469Z] e0aca202a116: Verifying Checksum [2021-10-28T17:51:56.469Z] e0aca202a116: Download complete [2021-10-28T17:51:56.469Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T17:51:56.469Z] 3a43be97a3b4: Download complete [2021-10-28T17:51:56.469Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T17:51:56.469Z] a0d0a0d46f8b: Download complete [2021-10-28T17:51:56.469Z] 34cad66bf833: Verifying Checksum [2021-10-28T17:51:56.469Z] 34cad66bf833: Download complete [2021-10-28T17:51:56.736Z] a0d0a0d46f8b: Pull complete [2021-10-28T17:51:56.737Z] 31adcdaf11c8: Pull complete [2021-10-28T17:51:57.002Z] b8b176561691: Pull complete [2021-10-28T17:51:57.002Z] 4527c011a84f: Verifying Checksum [2021-10-28T17:51:57.002Z] 4527c011a84f: Download complete [2021-10-28T17:51:57.266Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T17:51:57.266Z] b4e3c513aaa6: Download complete [2021-10-28T17:52:01.517Z] 4527c011a84f: Pull complete [2021-10-28T17:52:01.517Z] 5d74067f8e1e: Pull complete [2021-10-28T17:52:01.517Z] e0aca202a116: Pull complete [2021-10-28T17:52:01.517Z] 3a43be97a3b4: Pull complete [2021-10-28T17:52:01.517Z] 34cad66bf833: Pull complete [2021-10-28T17:52:03.479Z] b4e3c513aaa6: Pull complete [2021-10-28T17:52:03.479Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T17:52:03.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T17:52:03.479Z] ---> 9f6097aaca64 [2021-10-28T17:52:03.479Z] Step 3/10 : ARG MAKE=make build [2021-10-28T17:52:05.400Z] ---> Running in d4bed0b97e9a [2021-10-28T17:52:05.400Z] Removing intermediate container d4bed0b97e9a [2021-10-28T17:52:05.400Z] ---> 1d94015e6035 [2021-10-28T17:52:05.400Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T17:52:05.400Z] ---> Running in de40cfeba705 [2021-10-28T17:52:05.662Z] Removing intermediate container de40cfeba705 [2021-10-28T17:52:05.662Z] ---> 1c65e763b66f [2021-10-28T17:52:05.662Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T17:52:05.662Z] ---> Running in d17c324bb930 [2021-10-28T17:52:05.662Z] Removing intermediate container d17c324bb930 [2021-10-28T17:52:05.662Z] ---> 6d173119810c [2021-10-28T17:52:05.662Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:52:05.662Z] ---> Running in e1263b80f7d3 [2021-10-28T17:52:06.237Z] Removing intermediate container e1263b80f7d3 [2021-10-28T17:52:06.237Z] ---> 842ea1cd9129 [2021-10-28T17:52:06.237Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T17:52:06.237Z] ---> Running in e0bc5a355863 [2021-10-28T17:52:06.503Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T17:52:07.447Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T17:52:07.708Z] OK: 220 MiB in 52 packages [2021-10-28T17:52:07.969Z] Removing intermediate container e0bc5a355863 [2021-10-28T17:52:07.969Z] ---> ddeca1a266db [2021-10-28T17:52:07.969Z] Step 8/10 : COPY . . [2021-10-28T17:52:08.232Z] ---> b7a6e1da3750 [2021-10-28T17:52:08.232Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T17:52:08.232Z] ---> Running in dc70ecee7036 [2021-10-28T17:52:40.388Z] Removing intermediate container dc70ecee7036 [2021-10-28T17:52:40.388Z] ---> 1f1f185d53bb [2021-10-28T17:52:40.388Z] Step 10/10 : RUN ${MAKE} [2021-10-28T17:52:40.388Z] ---> Running in b8afb406af8b [2021-10-28T17:52:40.388Z] noop [2021-10-28T17:52:40.388Z] Removing intermediate container b8afb406af8b [2021-10-28T17:52:40.388Z] ---> e7645dec3a2c [2021-10-28T17:52:40.388Z] Successfully built e7645dec3a2c [2021-10-28T17:52:40.388Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:52:40.685Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T17:52:40.685Z] . [Pipeline] withDockerContainer [2021-10-28T17:52:40.758Z] prd-centos7-docker-4c-2g-20 does not seem to be running inside a container [2021-10-28T17:52:40.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T17:52:41.181Z] $ docker top cc9fec5e2d764b2c5034adb5fcec3731f9b71f7c9880334e4dd4b906118c67f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T17:52:41.545Z] + go version [2021-10-28T17:52:41.546Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T17:52:41.555Z] $ docker stop --time=1 cc9fec5e2d764b2c5034adb5fcec3731f9b71f7c9880334e4dd4b906118c67f5 [2021-10-28T17:52:42.741Z] $ docker rm -f cc9fec5e2d764b2c5034adb5fcec3731f9b71f7c9880334e4dd4b906118c67f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:52:43.175Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T17:52:43.175Z] . [Pipeline] withDockerContainer [2021-10-28T17:52:43.242Z] prd-centos7-docker-4c-2g-20 does not seem to be running inside a container [2021-10-28T17:52:43.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T17:52:43.581Z] $ docker top c99296233f39c82d9b0c584d5899b97ad2da96121fde2c90e83804e524d08f35 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T17:52:43.956Z] + make test [2021-10-28T17:52:43.956Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T17:52:49.293Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T17:53:11.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T17:53:11.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T17:53:11.366Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T17:53:13.951Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 23.8% of statements [2021-10-28T17:53:13.951Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T17:53:13.951Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements [2021-10-28T17:53:13.951Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements [2021-10-28T17:53:14.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-10-28T17:53:14.213Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T17:53:14.213Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T17:53:14.213Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T17:53:15.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-10-28T17:53:15.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T17:53:16.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 83.3% of statements [2021-10-28T17:53:16.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T17:53:16.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T17:53:16.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements [2021-10-28T17:53:17.529Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.874s coverage: 88.8% of statements [2021-10-28T17:53:17.529Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T17:53:17.529Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.042s coverage: 4.9% of statements [2021-10-28T17:53:17.529Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T17:53:17.529Z] GO111MODULE=on go vet ./... [2021-10-28T17:53:35.705Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T17:53:35.705Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T17:53:35.705Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T17:53:35.717Z] $ docker stop --time=1 c99296233f39c82d9b0c584d5899b97ad2da96121fde2c90e83804e524d08f35 [2021-10-28T17:53:37.260Z] $ docker rm -f c99296233f39c82d9b0c584d5899b97ad2da96121fde2c90e83804e524d08f35 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T17:53:37.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T17:53:37.918Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-28T17:53:38.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T17:53:38.863Z] + ls -al . [2021-10-28T17:53:38.863Z] total 264 [2021-10-28T17:53:38.863Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 28 17:53 . [2021-10-28T17:53:38.863Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 28 17:51 .. [2021-10-28T17:53:38.863Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 28 17:51 bin [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 28 17:51 CHANGELOG.md [2021-10-28T17:53:38.863Z] -rw-r--r--. 1 jenkins jenkins 126785 Oct 28 17:53 coverage.out [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 17:51 .dockerignore [2021-10-28T17:53:38.863Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 28 17:51 example [2021-10-28T17:53:38.863Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 28 17:51 .git [2021-10-28T17:53:38.863Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 28 17:51 .github [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 28 17:51 .gitignore [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 28 17:51 go.mod [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 49868 Oct 28 17:51 go.sum [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 17:51 GOVERNANCE.md [2021-10-28T17:53:38.863Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 28 17:51 internal [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 28 17:51 Jenkinsfile [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 28 17:51 LICENSE [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 28 17:51 Makefile [2021-10-28T17:53:38.863Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 28 17:51 openapi [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 28 17:51 OWNERS.md [2021-10-28T17:53:38.863Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 28 17:51 pkg [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 28 17:51 README.md [2021-10-28T17:53:38.863Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 17:51 snap [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 28 17:50 VERSION [2021-10-28T17:53:38.863Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 28 17:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:53:39.163Z] + 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=1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 --label arch=amd64 --label version=2.0.1-dev.24 . [2021-10-28T17:53:39.163Z] Sending build context to Docker daemon 2.84MB [2021-10-28T17:53:39.163Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T17:53:39.163Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T17:53:39.163Z] ---> e7645dec3a2c [2021-10-28T17:53:39.163Z] Step 3/24 : ARG MAKE=make build [2021-10-28T17:53:39.163Z] ---> Running in 685f8a9fc9f2 [2021-10-28T17:53:39.426Z] Removing intermediate container 685f8a9fc9f2 [2021-10-28T17:53:39.426Z] ---> f8b35d11022e [2021-10-28T17:53:39.426Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T17:53:39.426Z] ---> Running in d492a7368b87 [2021-10-28T17:53:39.426Z] Removing intermediate container d492a7368b87 [2021-10-28T17:53:39.426Z] ---> 880d7d8ee505 [2021-10-28T17:53:39.426Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T17:53:39.426Z] ---> Running in 25d6bd043c5a [2021-10-28T17:53:39.426Z] Removing intermediate container 25d6bd043c5a [2021-10-28T17:53:39.426Z] ---> c5320d02b8f1 [2021-10-28T17:53:39.426Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:53:39.426Z] ---> Running in 0314a5a3db51 [2021-10-28T17:53:40.000Z] Removing intermediate container 0314a5a3db51 [2021-10-28T17:53:40.000Z] ---> 6750d42b7008 [2021-10-28T17:53:40.000Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T17:53:40.000Z] ---> Running in 00937046f3a3 [2021-10-28T17:53:40.261Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T17:53:41.205Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T17:53:41.467Z] OK: 220 MiB in 52 packages [2021-10-28T17:53:41.729Z] Removing intermediate container 00937046f3a3 [2021-10-28T17:53:41.729Z] ---> 36d671d17f14 [2021-10-28T17:53:41.729Z] Step 8/24 : COPY . . [2021-10-28T17:53:41.992Z] ---> 0c6ec77bcabd [2021-10-28T17:53:41.992Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T17:53:41.992Z] ---> Running in d218f33bf91c [2021-10-28T17:53:42.564Z] Removing intermediate container d218f33bf91c [2021-10-28T17:53:42.564Z] ---> 5e27e4075c36 [2021-10-28T17:53:42.564Z] Step 10/24 : RUN ${MAKE} [2021-10-28T17:53:42.564Z] ---> Running in 15537194fb8b [2021-10-28T17:53:42.834Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.24" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-28T17:53:52.906Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T17:53:54.300Z] Removing intermediate container 15537194fb8b [2021-10-28T17:53:54.300Z] ---> 4485b77ddf38 [2021-10-28T17:53:54.300Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T17:53:54.873Z] 3.14: Pulling from library/alpine [2021-10-28T17:53:54.873Z] a0d0a0d46f8b: Already exists [2021-10-28T17:53:55.133Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T17:53:55.133Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T17:53:55.133Z] ---> 14119a10abf4 [2021-10-28T17:53:55.133Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T17:53:55.133Z] ---> Running in c6580f6a6401 [2021-10-28T17:53:55.133Z] Removing intermediate container c6580f6a6401 [2021-10-28T17:53:55.133Z] ---> 677fb2fc4074 [2021-10-28T17:53:55.133Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:53:55.133Z] ---> Running in 97a5edf471bf [2021-10-28T17:53:55.700Z] Removing intermediate container 97a5edf471bf [2021-10-28T17:53:55.700Z] ---> 7349847f64f1 [2021-10-28T17:53:55.700Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T17:53:55.700Z] ---> Running in 07833b6c7443 [2021-10-28T17:53:55.961Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T17:53:56.902Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T17:53:57.162Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T17:53:57.162Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T17:53:57.162Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T17:53:57.424Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T17:53:57.424Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T17:53:57.424Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T17:53:57.424Z] OK: 8 MiB in 19 packages [2021-10-28T17:53:57.685Z] Removing intermediate container 07833b6c7443 [2021-10-28T17:53:57.685Z] ---> caf27434b8b3 [2021-10-28T17:53:57.685Z] Step 15/24 : WORKDIR / [2021-10-28T17:53:57.945Z] ---> Running in 137ef0c1cab3 [2021-10-28T17:53:57.945Z] Removing intermediate container 137ef0c1cab3 [2021-10-28T17:53:57.945Z] ---> bb6c5009c9a7 [2021-10-28T17:53:57.945Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T17:53:57.945Z] ---> 681edfd207c5 [2021-10-28T17:53:57.945Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T17:53:58.517Z] ---> 64730b7458b7 [2021-10-28T17:53:58.517Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T17:53:58.517Z] ---> aa254eac7345 [2021-10-28T17:53:58.517Z] Step 19/24 : EXPOSE 59999 [2021-10-28T17:53:58.517Z] ---> Running in 9963e34ac925 [2021-10-28T17:53:58.517Z] Removing intermediate container 9963e34ac925 [2021-10-28T17:53:58.517Z] ---> 57e3c31131dd [2021-10-28T17:53:58.517Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T17:53:58.517Z] ---> Running in 27540ed5789d [2021-10-28T17:53:58.776Z] Removing intermediate container 27540ed5789d [2021-10-28T17:53:58.776Z] ---> e0b3b0c58b72 [2021-10-28T17:53:58.776Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T17:53:58.776Z] ---> Running in 5c515f8978df [2021-10-28T17:53:58.776Z] Removing intermediate container 5c515f8978df [2021-10-28T17:53:58.776Z] ---> 694bb6eebecf [2021-10-28T17:53:58.776Z] Step 22/24 : LABEL arch=amd64 [2021-10-28T17:53:58.776Z] ---> Running in 54dfcbfc9f7b [2021-10-28T17:53:59.036Z] Removing intermediate container 54dfcbfc9f7b [2021-10-28T17:53:59.036Z] ---> 5e1154d27283 [2021-10-28T17:53:59.036Z] Step 23/24 : LABEL git_sha=1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 [2021-10-28T17:53:59.036Z] ---> Running in 44316a522ad2 [2021-10-28T17:53:59.036Z] Removing intermediate container 44316a522ad2 [2021-10-28T17:53:59.036Z] ---> 297e59a37d62 [2021-10-28T17:53:59.036Z] Step 24/24 : LABEL version=2.0.1-dev.24 [2021-10-28T17:53:59.036Z] ---> Running in 5ed90ea2e751 [2021-10-28T17:53:59.298Z] Removing intermediate container 5ed90ea2e751 [2021-10-28T17:53:59.298Z] ---> 1773ef1274e8 [2021-10-28T17:53:59.298Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T17:53:59.298Z] Successfully built 1773ef1274e8 [2021-10-28T17:53:59.298Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:53:59.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:53:59.895Z] [2021-10-28T17:53:59.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:54:00.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:54:00.197Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T17:54:00.197Z] b4d181a07f80: Pulling fs layer [2021-10-28T17:54:00.197Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T17:54:00.197Z] ed53099fbce6: Pulling fs layer [2021-10-28T17:54:00.197Z] dc539afda2c1: Pulling fs layer [2021-10-28T17:54:00.197Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T17:54:00.197Z] 9065ff56babe: Pulling fs layer [2021-10-28T17:54:00.197Z] d287ab97295c: Pulling fs layer [2021-10-28T17:54:00.197Z] 9065ff56babe: Waiting [2021-10-28T17:54:00.197Z] dc539afda2c1: Waiting [2021-10-28T17:54:00.197Z] 77bc0d833cb6: Waiting [2021-10-28T17:54:00.197Z] d287ab97295c: Waiting [2021-10-28T17:54:00.197Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T17:54:00.197Z] a1111a8f2ec3: Download complete [2021-10-28T17:54:00.197Z] dc539afda2c1: Verifying Checksum [2021-10-28T17:54:00.197Z] dc539afda2c1: Download complete [2021-10-28T17:54:00.197Z] ed53099fbce6: Download complete [2021-10-28T17:54:00.462Z] 9065ff56babe: Verifying Checksum [2021-10-28T17:54:00.462Z] 9065ff56babe: Download complete [2021-10-28T17:54:00.462Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T17:54:00.462Z] 77bc0d833cb6: Download complete [2021-10-28T17:54:00.462Z] b4d181a07f80: Verifying Checksum [2021-10-28T17:54:00.462Z] b4d181a07f80: Download complete [2021-10-28T17:54:01.044Z] d287ab97295c: Verifying Checksum [2021-10-28T17:54:01.044Z] d287ab97295c: Download complete [2021-10-28T17:54:02.003Z] b4d181a07f80: Pull complete [2021-10-28T17:54:02.003Z] a1111a8f2ec3: Pull complete [2021-10-28T17:54:02.580Z] ed53099fbce6: Pull complete [2021-10-28T17:54:02.580Z] dc539afda2c1: Pull complete [2021-10-28T17:54:02.840Z] 77bc0d833cb6: Pull complete [2021-10-28T17:54:03.105Z] 9065ff56babe: Pull complete [2021-10-28T17:54:08.418Z] d287ab97295c: Pull complete [2021-10-28T17:54:08.418Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T17:54:08.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:54:08.418Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T17:54:08.500Z] prd-centos7-docker-4c-2g-20 does not seem to be running inside a container [2021-10-28T17:54:08.537Z] $ 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/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T17:54:11.421Z] $ docker top 7e63656a3d9eb1c99ae5e299dfe5f2fe949a27ecd63a15e0d4c7af90ebb97ce7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:54:11.817Z] ---> job-cost.sh [2021-10-28T17:54:11.817Z] lf-activate-venv: SKIPPING [2021-10-28T17:54:11.817Z] INFO: No Stack... [2021-10-28T17:54:15.129Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T17:54:15.129Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T17:54:15.422Z] + cut -d, -f6 [2021-10-28T17:54:15.422Z] + cat /w/workspace/device-sdk-go/23/archives/cost.csv [Pipeline] lock [2021-10-28T17:54:15.450Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-23-stack-cost] [2021-10-28T17:54:15.458Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-23-stack-cost] did not exist. Created. [2021-10-28T17:54:15.458Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T17:54:15.768Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T17:54:15.808Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T17:54:15.814Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T17:54:15.832Z] $ docker stop --time=1 7e63656a3d9eb1c99ae5e299dfe5f2fe949a27ecd63a15e0d4c7af90ebb97ce7 [2021-10-28T17:54:16.978Z] $ docker rm -f 7e63656a3d9eb1c99ae5e299dfe5f2fe949a27ecd63a15e0d4c7af90ebb97ce7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T17:54:18.298Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-28T17:54:18.308Z] Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout [2021-10-28T17:54:18.537Z] Selected Git installation does not exist. Using Default [2021-10-28T17:54:18.537Z] The recommended git tool is: NONE [2021-10-28T17:54:24.458Z] using credential edgex-jenkins-ssh [2021-10-28T17:54:24.483Z] Cloning the remote Git repository [2021-10-28T17:54:24.553Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:54:24.669Z] > git init /w/workspace/device-sdk-go/23 # timeout=10 [2021-10-28T17:54:24.821Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:54:24.822Z] > git --version # timeout=10 [2021-10-28T17:54:24.861Z] > git --version # 'git version 2.17.1' [2021-10-28T17:54:24.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:54:24.968Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:54:26.273Z] Avoid second fetch [2021-10-28T17:54:26.273Z] Checking out Revision 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 (main) [2021-10-28T17:54:26.232Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T17:54:26.251Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:54:26.298Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:54:26.317Z] > git checkout -f 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 # timeout=10 [2021-10-28T17:54:30.722Z] Commit message: "Merge pull request #1045 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.2-dev.7" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T17:54:31.667Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T17:54:31.667Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T17:54:31.667Z] Dload Upload Total Spent Left Speed [2021-10-28T17:54:31.667Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2021-10-28T17:54:32.086Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T17:54:32.436Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T17:54:32.436Z] + sudo tee /etc/docker/daemon.new [2021-10-28T17:54:32.436Z] { [2021-10-28T17:54:32.436Z] "registry-mirrors": [ [2021-10-28T17:54:32.436Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T17:54:32.436Z] ], [2021-10-28T17:54:32.436Z] "bip": "10.250.0.254/24", [2021-10-28T17:54:32.436Z] "hosts": [ [2021-10-28T17:54:32.436Z] "tcp://0.0.0.0:5555", [2021-10-28T17:54:32.436Z] "unix:///var/run/docker.sock" [2021-10-28T17:54:32.436Z] ], [2021-10-28T17:54:32.436Z] "mtu": 1458, [2021-10-28T17:54:32.436Z] "selinux-enabled": true, [2021-10-28T17:54:32.436Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T17:54:32.436Z] } [Pipeline] sh [2021-10-28T17:54:32.790Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T17:54:33.148Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:54:51.512Z] provisioning config files... [2021-10-28T17:54:51.540Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/23@tmp/config5891146865556367264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:54:51.918Z] ---> docker-login.sh [2021-10-28T17:54:51.918Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:54:52.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:54:53.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:54:53.118Z] Configure a credential helper to remove this warning. See [2021-10-28T17:54:53.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:54:53.118Z] [2021-10-28T17:54:53.118Z] Login Succeeded [2021-10-28T17:54:53.118Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:54:53.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:54:53.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:54:53.672Z] Configure a credential helper to remove this warning. See [2021-10-28T17:54:53.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:54:53.672Z] [2021-10-28T17:54:53.672Z] Login Succeeded [2021-10-28T17:54:53.672Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:54:54.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:54:54.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:54:54.281Z] Configure a credential helper to remove this warning. See [2021-10-28T17:54:54.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:54:54.281Z] [2021-10-28T17:54:54.281Z] Login Succeeded [2021-10-28T17:54:54.281Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:54:54.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:54:54.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:54:54.880Z] Configure a credential helper to remove this warning. See [2021-10-28T17:54:54.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:54:54.880Z] [2021-10-28T17:54:54.880Z] Login Succeeded [2021-10-28T17:54:54.880Z] docker.io [2021-10-28T17:54:55.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:54:55.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:54:55.843Z] Configure a credential helper to remove this warning. See [2021-10-28T17:54:55.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:54:55.843Z] [2021-10-28T17:54:55.843Z] Login Succeeded [2021-10-28T17:54:55.843Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:54:55.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T17:54:56.160Z] ========================================================= [2021-10-28T17:54:56.160Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T17:54:56.160Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:54:56.637Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-28T17:54:57.253Z] Sending build context to Docker daemon 2.711MB [2021-10-28T17:54:57.253Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T17:54:57.253Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T17:54:57.540Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T17:54:57.540Z] 552d1f2373af: Pulling fs layer [2021-10-28T17:54:57.540Z] ea3f2d53f512: Pulling fs layer [2021-10-28T17:54:57.540Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T17:54:57.540Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T17:54:57.540Z] 72dc09318566: Pulling fs layer [2021-10-28T17:54:57.540Z] f4f7b4309257: Pulling fs layer [2021-10-28T17:54:57.540Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T17:54:57.540Z] b78e95d17946: Pulling fs layer [2021-10-28T17:54:57.540Z] 7a9cfe048b4a: Waiting [2021-10-28T17:54:57.540Z] 72dc09318566: Waiting [2021-10-28T17:54:57.540Z] f4f7b4309257: Waiting [2021-10-28T17:54:57.540Z] 0ac9a79272e3: Waiting [2021-10-28T17:54:57.540Z] b78e95d17946: Waiting [2021-10-28T17:54:57.540Z] 9e70ebbbe112: Verifying Checksum [2021-10-28T17:54:57.540Z] 9e70ebbbe112: Download complete [2021-10-28T17:54:57.540Z] 72dc09318566: Verifying Checksum [2021-10-28T17:54:57.540Z] 72dc09318566: Download complete [2021-10-28T17:54:57.540Z] f4f7b4309257: Download complete [2021-10-28T17:54:57.540Z] 552d1f2373af: Verifying Checksum [2021-10-28T17:54:57.540Z] 552d1f2373af: Download complete [2021-10-28T17:54:57.540Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T17:54:57.540Z] 0ac9a79272e3: Download complete [2021-10-28T17:54:58.527Z] 552d1f2373af: Pull complete [2021-10-28T17:54:59.127Z] ea3f2d53f512: Pull complete [2021-10-28T17:54:59.729Z] 9e70ebbbe112: Pull complete [2021-10-28T17:54:59.729Z] b78e95d17946: Verifying Checksum [2021-10-28T17:54:59.729Z] b78e95d17946: Download complete [2021-10-28T17:55:00.324Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T17:55:00.324Z] 7a9cfe048b4a: Download complete [2021-10-28T17:55:10.514Z] 7a9cfe048b4a: Pull complete [2021-10-28T17:55:10.514Z] 72dc09318566: Pull complete [2021-10-28T17:55:10.514Z] f4f7b4309257: Pull complete [2021-10-28T17:55:10.788Z] 0ac9a79272e3: Pull complete [2021-10-28T17:55:16.449Z] b78e95d17946: Pull complete [2021-10-28T17:55:16.449Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T17:55:16.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T17:55:16.449Z] ---> 8b459fc5aaf0 [2021-10-28T17:55:16.449Z] Step 3/10 : ARG MAKE=make build [2021-10-28T17:55:18.424Z] ---> Running in 137686c7abfa [2021-10-28T17:55:18.699Z] Removing intermediate container 137686c7abfa [2021-10-28T17:55:18.699Z] ---> f42f89a128c1 [2021-10-28T17:55:18.699Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T17:55:18.972Z] ---> Running in dcca0c845894 [2021-10-28T17:55:19.251Z] Removing intermediate container dcca0c845894 [2021-10-28T17:55:19.251Z] ---> e3f4e7981535 [2021-10-28T17:55:19.251Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T17:55:19.525Z] ---> Running in 464bddfe8ba4 [2021-10-28T17:55:19.798Z] Removing intermediate container 464bddfe8ba4 [2021-10-28T17:55:19.798Z] ---> 14644c67edf9 [2021-10-28T17:55:19.798Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:55:20.073Z] ---> Running in 40efb3aa1723 [2021-10-28T17:55:22.699Z] Removing intermediate container 40efb3aa1723 [2021-10-28T17:55:22.699Z] ---> 665baeaafbd4 [2021-10-28T17:55:22.699Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T17:55:22.699Z] ---> Running in 5a8eb75b9173 [2021-10-28T17:55:23.697Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T17:55:24.689Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T17:55:25.287Z] OK: 219 MiB in 52 packages [2021-10-28T17:55:26.270Z] Removing intermediate container 5a8eb75b9173 [2021-10-28T17:55:26.270Z] ---> 45cf35cf5ccd [2021-10-28T17:55:26.270Z] Step 8/10 : COPY . . [2021-10-28T17:55:27.713Z] ---> f07275fb1d94 [2021-10-28T17:55:27.713Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T17:55:27.989Z] ---> Running in 93c46e014966 [2021-10-28T17:56:49.810Z] Removing intermediate container 93c46e014966 [2021-10-28T17:56:49.810Z] ---> 357de7eff8d8 [2021-10-28T17:56:49.810Z] Step 10/10 : RUN ${MAKE} [2021-10-28T17:56:49.810Z] ---> Running in cdaac6f6e6a3 [2021-10-28T17:56:49.810Z] noop [2021-10-28T17:56:49.810Z] Removing intermediate container cdaac6f6e6a3 [2021-10-28T17:56:49.810Z] ---> a9e6d3f5031e [2021-10-28T17:56:49.810Z] Successfully built a9e6d3f5031e [2021-10-28T17:56:49.810Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:56:50.164Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T17:56:50.164Z] . [Pipeline] withDockerContainer [2021-10-28T17:56:50.473Z] prd-ubuntu18.04-docker-arm64-4c-16g-22 does not seem to be running inside a container [2021-10-28T17:56:50.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T17:56:52.278Z] $ docker top 885800528d369ad4d0a41715e43a811ca52fc4112fef51d8fb945803ff56b85f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T17:56:53.308Z] + go version [2021-10-28T17:56:53.308Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T17:56:53.332Z] $ docker stop --time=1 885800528d369ad4d0a41715e43a811ca52fc4112fef51d8fb945803ff56b85f [2021-10-28T17:56:55.146Z] $ docker rm -f 885800528d369ad4d0a41715e43a811ca52fc4112fef51d8fb945803ff56b85f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:56:55.915Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T17:56:55.915Z] . [Pipeline] withDockerContainer [2021-10-28T17:56:56.217Z] prd-ubuntu18.04-docker-arm64-4c-16g-22 does not seem to be running inside a container [2021-10-28T17:56:56.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T17:56:58.017Z] $ docker top 7bd7324d3e9736b0edcdb821aa51df15c7088d84b37f90881e602c55c4119340 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T17:56:59.082Z] + make test [2021-10-28T17:56:59.082Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T17:57:31.475Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T17:58:53.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T17:58:53.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T17:58:53.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T17:59:01.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.364s coverage: 23.8% of statements [2021-10-28T17:59:01.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T17:59:01.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.239s coverage: 28.1% of statements [2021-10-28T17:59:01.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.250s coverage: 78.9% of statements [2021-10-28T17:59:01.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.267s coverage: 9.0% of statements [2021-10-28T17:59:01.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T17:59:01.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T17:59:01.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T17:59:03.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.348s coverage: 28.7% of statements [2021-10-28T17:59:03.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T17:59:03.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.297s coverage: 83.3% of statements [2021-10-28T17:59:03.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T17:59:03.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T17:59:03.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.479s coverage: 57.8% of statements [2021-10-28T17:59:10.547Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.545s coverage: 88.8% of statements [2021-10-28T17:59:10.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T17:59:10.547Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.231s coverage: 4.9% of statements [2021-10-28T17:59:10.547Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T17:59:10.547Z] GO111MODULE=on go vet ./... [2021-10-28T18:00:18.672Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T18:00:18.672Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T18:00:18.672Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T18:00:20.146Z] $ docker stop --time=1 7bd7324d3e9736b0edcdb821aa51df15c7088d84b37f90881e602c55c4119340 [2021-10-28T18:00:22.193Z] $ docker rm -f 7bd7324d3e9736b0edcdb821aa51df15c7088d84b37f90881e602c55c4119340 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T18:00:23.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T18:00:23.540Z] Warning: overwriting stash ‘coverage-report’ [2021-10-28T18:00:24.414Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T18:00:24.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T18:00:25.246Z] + ls -al . [2021-10-28T18:00:25.246Z] total 300 [2021-10-28T18:00:25.246Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 18:00 . [2021-10-28T18:00:25.246Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 17:54 .. [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 17:54 .dockerignore [2021-10-28T18:00:25.246Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 17:54 .git [2021-10-28T18:00:25.246Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 17:54 .github [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 28 17:54 .gitignore [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 28 17:54 CHANGELOG.md [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 17:54 GOVERNANCE.md [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 28 17:54 Jenkinsfile [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 28 17:54 LICENSE [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 28 17:54 Makefile [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 28 17:54 OWNERS.md [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 28 17:54 README.md [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 28 17:50 VERSION [2021-10-28T18:00:25.246Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 17:54 bin [2021-10-28T18:00:25.246Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 28 17:59 coverage.out [2021-10-28T18:00:25.246Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 17:54 example [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 28 17:54 go.mod [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 49868 Oct 28 17:54 go.sum [2021-10-28T18:00:25.246Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 28 17:54 internal [2021-10-28T18:00:25.246Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 17:54 openapi [2021-10-28T18:00:25.246Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 17:54 pkg [2021-10-28T18:00:25.246Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 17:54 snap [2021-10-28T18:00:25.246Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 28 17:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:00:25.604Z] + 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=1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 --label arch=arm64 --label version=2.0.1-dev.24 . [2021-10-28T18:00:26.213Z] Sending build context to Docker daemon 2.839MB [2021-10-28T18:00:26.213Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T18:00:26.213Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T18:00:26.213Z] ---> a9e6d3f5031e [2021-10-28T18:00:26.213Z] Step 3/24 : ARG MAKE=make build [2021-10-28T18:00:26.490Z] ---> Running in 7b96225a4943 [2021-10-28T18:00:27.096Z] Removing intermediate container 7b96225a4943 [2021-10-28T18:00:27.096Z] ---> a67b077b88ba [2021-10-28T18:00:27.096Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T18:00:27.096Z] ---> Running in 12cb89ddcd15 [2021-10-28T18:00:27.704Z] Removing intermediate container 12cb89ddcd15 [2021-10-28T18:00:27.704Z] ---> bcb8eff3320c [2021-10-28T18:00:27.704Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T18:00:27.704Z] ---> Running in b4d639b92d01 [2021-10-28T18:00:28.306Z] Removing intermediate container b4d639b92d01 [2021-10-28T18:00:28.306Z] ---> 2e59707ebed7 [2021-10-28T18:00:28.306Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T18:00:28.306Z] ---> Running in 6a6900836941 [2021-10-28T18:00:30.291Z] Removing intermediate container 6a6900836941 [2021-10-28T18:00:30.291Z] ---> c6d097c209bb [2021-10-28T18:00:30.291Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T18:00:30.565Z] ---> Running in 4e62fa8cf380 [2021-10-28T18:00:32.009Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T18:00:32.995Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T18:00:33.980Z] OK: 219 MiB in 52 packages [2021-10-28T18:00:34.970Z] Removing intermediate container 4e62fa8cf380 [2021-10-28T18:00:34.970Z] ---> ec9424470803 [2021-10-28T18:00:34.970Z] Step 8/24 : COPY . . [2021-10-28T18:00:36.410Z] ---> 575fadec3d1f [2021-10-28T18:00:36.410Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T18:00:36.410Z] ---> Running in 3848b357d1df [2021-10-28T18:00:39.053Z] Removing intermediate container 3848b357d1df [2021-10-28T18:00:39.053Z] ---> a69f9d500cfc [2021-10-28T18:00:39.053Z] Step 10/24 : RUN ${MAKE} [2021-10-28T18:00:39.053Z] ---> Running in ddb8b4868b35 [2021-10-28T18:00:40.045Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.24" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-28T18:01:19.136Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T18:01:21.111Z] Removing intermediate container ddb8b4868b35 [2021-10-28T18:01:21.111Z] ---> 429445039156 [2021-10-28T18:01:21.111Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T18:01:21.705Z] 3.14: Pulling from library/alpine [2021-10-28T18:01:21.975Z] 552d1f2373af: Already exists [2021-10-28T18:01:22.247Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T18:01:22.247Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T18:01:22.247Z] ---> bb3de5531c18 [2021-10-28T18:01:22.247Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T18:01:22.247Z] ---> Running in e0152c756151 [2021-10-28T18:01:22.518Z] Removing intermediate container e0152c756151 [2021-10-28T18:01:22.518Z] ---> bf654db89daf [2021-10-28T18:01:22.518Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T18:01:22.795Z] ---> Running in 3346b858dd2e [2021-10-28T18:01:24.772Z] Removing intermediate container 3346b858dd2e [2021-10-28T18:01:24.772Z] ---> 9be9a9b7e539 [2021-10-28T18:01:24.772Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T18:01:24.772Z] ---> Running in 34b0e993d378 [2021-10-28T18:01:25.750Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T18:01:26.735Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T18:01:27.718Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T18:01:27.718Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T18:01:27.991Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T18:01:27.991Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T18:01:28.267Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T18:01:28.267Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T18:01:28.267Z] OK: 8 MiB in 19 packages [2021-10-28T18:01:29.245Z] Removing intermediate container 34b0e993d378 [2021-10-28T18:01:29.245Z] ---> 36bbc4860975 [2021-10-28T18:01:29.245Z] Step 15/24 : WORKDIR / [2021-10-28T18:01:29.245Z] ---> Running in a9ac2704bbe4 [2021-10-28T18:01:29.838Z] Removing intermediate container a9ac2704bbe4 [2021-10-28T18:01:29.838Z] ---> 3fba9bb58ea1 [2021-10-28T18:01:29.838Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T18:01:30.816Z] ---> 74cd2d6dd0c7 [2021-10-28T18:01:30.816Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T18:01:31.793Z] ---> c4d180e38dde [2021-10-28T18:01:31.793Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T18:01:32.391Z] ---> 89b359f4d5d8 [2021-10-28T18:01:32.391Z] Step 19/24 : EXPOSE 59999 [2021-10-28T18:01:32.665Z] ---> Running in 369fd57607c9 [2021-10-28T18:01:32.942Z] Removing intermediate container 369fd57607c9 [2021-10-28T18:01:32.942Z] ---> d22cf1d16699 [2021-10-28T18:01:32.942Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T18:01:32.942Z] ---> Running in 1769807d5fdd [2021-10-28T18:01:33.543Z] Removing intermediate container 1769807d5fdd [2021-10-28T18:01:33.543Z] ---> 81bb58117f51 [2021-10-28T18:01:33.543Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T18:01:33.543Z] ---> Running in 72a5cec1f1ee [2021-10-28T18:01:34.138Z] Removing intermediate container 72a5cec1f1ee [2021-10-28T18:01:34.138Z] ---> 79a5171c4bb0 [2021-10-28T18:01:34.138Z] Step 22/24 : LABEL arch=arm64 [2021-10-28T18:01:34.138Z] ---> Running in 505f1baac6db [2021-10-28T18:01:34.413Z] Removing intermediate container 505f1baac6db [2021-10-28T18:01:34.413Z] ---> 2a488bc76562 [2021-10-28T18:01:34.413Z] Step 23/24 : LABEL git_sha=1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 [2021-10-28T18:01:34.686Z] ---> Running in a6dc8382f11e [2021-10-28T18:01:34.960Z] Removing intermediate container a6dc8382f11e [2021-10-28T18:01:34.960Z] ---> 50e64973ee8c [2021-10-28T18:01:34.960Z] Step 24/24 : LABEL version=2.0.1-dev.24 [2021-10-28T18:01:34.960Z] ---> Running in b576a249d0ff [2021-10-28T18:01:35.553Z] Removing intermediate container b576a249d0ff [2021-10-28T18:01:35.553Z] ---> d02e9fbec9ca [2021-10-28T18:01:35.553Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T18:01:35.553Z] Successfully built d02e9fbec9ca [2021-10-28T18:01:35.553Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:01:36.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T18:01:36.139Z] [2021-10-28T18:01:36.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:01:36.484Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T18:01:36.763Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T18:01:36.763Z] 448f6bf000e3: Pulling fs layer [2021-10-28T18:01:36.763Z] f757da607395: Pulling fs layer [2021-10-28T18:01:36.763Z] 05883995daec: Pulling fs layer [2021-10-28T18:01:36.763Z] 8603b9c90790: Pulling fs layer [2021-10-28T18:01:36.763Z] 1560dd03e051: Pulling fs layer [2021-10-28T18:01:36.763Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T18:01:36.763Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T18:01:36.763Z] 27f5ce0e4adf: Waiting [2021-10-28T18:01:36.763Z] c2d8d7efcc4b: Waiting [2021-10-28T18:01:36.763Z] 8603b9c90790: Waiting [2021-10-28T18:01:36.763Z] 1560dd03e051: Waiting [2021-10-28T18:01:36.763Z] f757da607395: Verifying Checksum [2021-10-28T18:01:36.763Z] f757da607395: Download complete [2021-10-28T18:01:36.763Z] 8603b9c90790: Download complete [2021-10-28T18:01:37.039Z] 1560dd03e051: Verifying Checksum [2021-10-28T18:01:37.039Z] 1560dd03e051: Download complete [2021-10-28T18:01:37.039Z] 27f5ce0e4adf: Verifying Checksum [2021-10-28T18:01:37.039Z] 27f5ce0e4adf: Download complete [2021-10-28T18:01:37.039Z] 05883995daec: Verifying Checksum [2021-10-28T18:01:37.315Z] 448f6bf000e3: Verifying Checksum [2021-10-28T18:01:37.315Z] 448f6bf000e3: Download complete [2021-10-28T18:01:39.941Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T18:01:39.941Z] c2d8d7efcc4b: Download complete [2021-10-28T18:01:40.919Z] 448f6bf000e3: Pull complete [2021-10-28T18:01:41.513Z] f757da607395: Pull complete [2021-10-28T18:01:42.951Z] 05883995daec: Pull complete [2021-10-28T18:01:43.233Z] 8603b9c90790: Pull complete [2021-10-28T18:01:44.219Z] 1560dd03e051: Pull complete [2021-10-28T18:01:44.491Z] 27f5ce0e4adf: Pull complete [2021-10-28T18:01:59.591Z] c2d8d7efcc4b: Pull complete [2021-10-28T18:01:59.591Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T18:01:59.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T18:01:59.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T18:01:59.857Z] prd-ubuntu18.04-docker-arm64-4c-16g-22 does not seem to be running inside a container [2021-10-28T18:01:59.945Z] $ 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/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T18:02:03.445Z] $ docker top 46247ef2dc40240c72208102bec910be1f76acc6c0b0ae6e4cdaf4083f7e3241 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:02:04.479Z] ---> job-cost.sh [2021-10-28T18:02:04.479Z] lf-activate-venv: SKIPPING [2021-10-28T18:02:04.479Z] INFO: No Stack... [2021-10-28T18:02:04.752Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T18:02:05.371Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T18:02:06.035Z] + cut -d, -f6 [2021-10-28T18:02:06.035Z] + cat /w/workspace/device-sdk-go/23/archives/cost.csv [Pipeline] lock [2021-10-28T18:02:06.109Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-23-stack-cost] [2021-10-28T18:02:06.117Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-23-stack-cost] did not exist. Created. [2021-10-28T18:02:06.117Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T18:02:06.806Z] /w/workspace/device-sdk-go/23@tmp/durable-4140cbb6/script.sh: 1: /w/workspace/device-sdk-go/23@tmp/durable-4140cbb6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T18:02:07.489Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T18:02:07.521Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T18:02:07.598Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T18:02:07.607Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T18:02:07.617Z] $ docker stop --time=1 46247ef2dc40240c72208102bec910be1f76acc6c0b0ae6e4cdaf4083f7e3241 [2021-10-28T18:02:09.260Z] $ docker rm -f 46247ef2dc40240c72208102bec910be1f76acc6c0b0ae6e4cdaf4083f7e3241 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-28T18:02:09.921Z] provisioning config files... [2021-10-28T18:02:09.929Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8997421837645827582tmp [Pipeline] { [Pipeline] sh [2021-10-28T18:02:10.252Z] + set +x [2021-10-28T18:02:10.252Z] + curl -s https://codecov.io/bash [2021-10-28T18:02:10.252Z] + bash -s -- [2021-10-28T18:02:10.252Z] [2021-10-28T18:02:10.252Z] _____ _ [2021-10-28T18:02:10.252Z] / ____| | | [2021-10-28T18:02:10.252Z] | | ___ __| | ___ ___ _____ __ [2021-10-28T18:02:10.252Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-28T18:02:10.252Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-28T18:02:10.252Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-28T18:02:10.252Z] Bash-1.0.6 [2021-10-28T18:02:10.252Z] [2021-10-28T18:02:10.252Z] [2021-10-28T18:02:10.252Z] ==> git version 2.24.4 found [2021-10-28T18:02:10.252Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-28T18:02:10.252Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-28T18:02:10.252Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-28T18:02:10.252Z] ==> Jenkins CI detected. [2021-10-28T18:02:10.252Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T18:02:10.252Z] project root: . [2021-10-28T18:02:10.252Z] --> token set from env [2021-10-28T18:02:10.252Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-28T18:02:10.252Z] ==> Running gcov in . (disable via -X gcov) [2021-10-28T18:02:10.252Z] ==> Python coveragepy not found [2021-10-28T18:02:10.252Z] ==> Searching for coverage reports in: [2021-10-28T18:02:10.252Z] + . [2021-10-28T18:02:10.252Z] -> Found 1 reports [2021-10-28T18:02:10.252Z] ==> Detecting git/mercurial file structure [2021-10-28T18:02:10.252Z] ==> Reading reports [2021-10-28T18:02:10.252Z] + ./coverage.out bytes=126785 [2021-10-28T18:02:10.252Z] ==> Appending adjustments [2021-10-28T18:02:10.252Z] https://docs.codecov.io/docs/fixing-reports [2021-10-28T18:02:10.514Z] + Found adjustments [2021-10-28T18:02:10.514Z] ==> Gzipping contents [2021-10-28T18:02:10.514Z] 16K /tmp/codecov.SzrsqR.gz [2021-10-28T18:02:10.514Z] ==> Uploading reports [2021-10-28T18:02:10.514Z] url: https://codecov.io [2021-10-28T18:02:10.514Z] query: branch=main&commit=1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-28T18:02:10.514Z] -> Pinging Codecov [2021-10-28T18:02:10.514Z] 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=1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-28T18:02:11.082Z] -> Uploading to [2021-10-28T18:02:11.082Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-28/7E55EF52A471D76F132DFD9A03CDDE97/1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6/0cd2a62b-c8af-48ce-8f08-bfe6fcf043bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211028T180210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c313914bff85d77adceffcd0a9a4c0e0a42f63c8dd53b16d8141d94f2df91f4d [2021-10-28T18:02:11.082Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T18:02:11.082Z] Dload Upload Total Spent Left Speed [2021-10-28T18:02:11.340Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16166 0 0 100 16166 0 53680 --:--:-- --:--:-- --:--:-- 53707 [2021-10-28T18:02:11.340Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 [Pipeline] } [2021-10-28T18:02:11.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-28T18:02:11.515Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-28T18:02:11.524Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:02:11.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T18:02:11.814Z] [2021-10-28T18:02:11.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:02:12.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T18:02:12.119Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-28T18:02:12.119Z] 188c0c94c7c5: Pulling fs layer [2021-10-28T18:02:12.119Z] 0ef7d3d256c8: Pulling fs layer [2021-10-28T18:02:12.119Z] de9db76c5a1d: Pulling fs layer [2021-10-28T18:02:12.119Z] 0eba1c9be4d2: Pulling fs layer [2021-10-28T18:02:12.119Z] 0d57e429df01: Pulling fs layer [2021-10-28T18:02:12.119Z] 4e4be7b47b0d: Pulling fs layer [2021-10-28T18:02:12.119Z] e1f770b5df2f: Pulling fs layer [2021-10-28T18:02:12.119Z] 85a0685a4137: Pulling fs layer [2021-10-28T18:02:12.119Z] 0eba1c9be4d2: Waiting [2021-10-28T18:02:12.119Z] 0d57e429df01: Waiting [2021-10-28T18:02:12.119Z] 4e4be7b47b0d: Waiting [2021-10-28T18:02:12.119Z] e1f770b5df2f: Waiting [2021-10-28T18:02:12.119Z] 85a0685a4137: Waiting [2021-10-28T18:02:12.119Z] de9db76c5a1d: Verifying Checksum [2021-10-28T18:02:12.119Z] de9db76c5a1d: Download complete [2021-10-28T18:02:12.119Z] 0ef7d3d256c8: Verifying Checksum [2021-10-28T18:02:12.119Z] 0ef7d3d256c8: Download complete [2021-10-28T18:02:12.119Z] 0d57e429df01: Verifying Checksum [2021-10-28T18:02:12.119Z] 0d57e429df01: Download complete [2021-10-28T18:02:12.119Z] 4e4be7b47b0d: Verifying Checksum [2021-10-28T18:02:12.119Z] 4e4be7b47b0d: Download complete [2021-10-28T18:02:12.119Z] 188c0c94c7c5: Verifying Checksum [2021-10-28T18:02:12.119Z] 188c0c94c7c5: Download complete [2021-10-28T18:02:12.386Z] e1f770b5df2f: Verifying Checksum [2021-10-28T18:02:12.386Z] e1f770b5df2f: Download complete [2021-10-28T18:02:12.652Z] 0eba1c9be4d2: Verifying Checksum [2021-10-28T18:02:12.652Z] 0eba1c9be4d2: Download complete [2021-10-28T18:02:12.652Z] 188c0c94c7c5: Pull complete [2021-10-28T18:02:12.917Z] 0ef7d3d256c8: Pull complete [2021-10-28T18:02:12.917Z] 85a0685a4137: Verifying Checksum [2021-10-28T18:02:12.917Z] 85a0685a4137: Download complete [2021-10-28T18:02:12.917Z] de9db76c5a1d: Pull complete [2021-10-28T18:02:16.243Z] 0eba1c9be4d2: Pull complete [2021-10-28T18:02:16.509Z] 0d57e429df01: Pull complete [2021-10-28T18:02:16.509Z] 4e4be7b47b0d: Pull complete [2021-10-28T18:02:17.463Z] e1f770b5df2f: Pull complete [2021-10-28T18:02:20.782Z] 85a0685a4137: Pull complete [2021-10-28T18:02:20.782Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-28T18:02:20.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T18:02:20.782Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-28T18:02:20.853Z] prd-centos7-docker-4c-2g-17 does not seem to be running inside a container [2021-10-28T18:02:20.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-28T18:02:23.100Z] $ docker top 296ab449b00026cbb413f096462ae8e325545ec0de6c2e03ccdcea6db54e1692 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-28T18:02:23.172Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-28T18:02:23.464Z] + set -o pipefail [2021-10-28T18:02:23.464Z] + snyk monitor '--org=edgex-jenkins' [2021-10-28T18:02:28.766Z] [2021-10-28T18:02:28.766Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-28T18:02:28.766Z] [2021-10-28T18:02:28.766Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/788ef823-fe08-44eb-b445-f0a5645c091a [2021-10-28T18:02:28.766Z] [2021-10-28T18:02:28.766Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-28T18:02:28.766Z] [2021-10-28T18:02:28.766Z] [Pipeline] } [2021-10-28T18:02:28.779Z] $ docker stop --time=1 296ab449b00026cbb413f096462ae8e325545ec0de6c2e03ccdcea6db54e1692 [2021-10-28T18:02:30.583Z] $ docker rm -f 296ab449b00026cbb413f096462ae8e325545ec0de6c2e03ccdcea6db54e1692 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-10-28T18:02:31.210Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T18:02:31.229Z] provisioning config files... [2021-10-28T18:02:31.239Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8163733953302865760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:02:31.560Z] --> edgex-publish-swagger.sh [2021-10-28T18:02:31.560Z] === Publish openapi/v2 API === [2021-10-28T18:02:31.560Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-28T18:02:31.560Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-28T18:02:31.560Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T18:02:31.560Z] Dload Upload Total Spent Left Speed [2021-10-28T18:02:33.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 51659 0 0 100 51659 0 22741 0:00:02 0:00:02 --:--:-- 22737 100 51659 0 0 100 51659 0 22740 0:00:02 0:00:02 --:--:-- 22737 [2021-10-28T18:02:33.886Z] [2021-10-28T18:02:33.886Z] [Pipeline] } [2021-10-28T18:02:33.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T18:02:34.398Z] + git log --format=format:%s -1 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:02:34.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T18:02:34.702Z] . [Pipeline] withDockerContainer [2021-10-28T18:02:34.779Z] prd-centos7-docker-4c-2g-17 does not seem to be running inside a container [2021-10-28T18:02:34.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T18:02:35.157Z] $ docker top 4604f4ce6516da918937c668f38611b5eda10eafab57a3fe7f3d868faa18260e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T18:02:35.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T18:02:35.255Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T18:02:35.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T18:02:35.362Z] $ docker exec 4604f4ce6516da918937c668f38611b5eda10eafab57a3fe7f3d868faa18260e ssh-agent [2021-10-28T18:02:35.464Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFFiaHK/agent.14 [2021-10-28T18:02:35.464Z] SSH_AGENT_PID=20 [2021-10-28T18:02:35.470Z] Running ssh-add (command line suppressed) [2021-10-28T18:02:35.564Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1344295496699888955.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1344295496699888955.key) [2021-10-28T18:02:35.579Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T18:02:35.868Z] + git semver tag [2021-10-28T18:02:35.868Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T18:02:35.868Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T18:02:35.868Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T18:02:35.868Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T18:02:35.868Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T18:02:35.868Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T18:02:35.868Z] # $SEMVER_BRANCH = main [2021-10-28T18:02:35.868Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-28T18:02:35.868Z] # 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 HEAD [2021-10-28T18:02:35.868Z] # -> Force: false [2021-10-28T18:02:35.868Z] # 407bf1546fabab47fd2e19a925251bbd74801c71 refs/tags/v2.0.1-dev.24 [Pipeline] } [2021-10-28T18:02:35.882Z] $ docker exec --env ******** --env ******** 4604f4ce6516da918937c668f38611b5eda10eafab57a3fe7f3d868faa18260e ssh-agent -k [2021-10-28T18:02:36.012Z] unset SSH_AUTH_SOCK; [2021-10-28T18:02:36.012Z] unset SSH_AGENT_PID; [2021-10-28T18:02:36.012Z] echo Agent pid 20 killed; [2021-10-28T18:02:36.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T18:02:36.334Z] + git semver [Pipeline] } [2021-10-28T18:02:36.351Z] $ docker stop --time=1 4604f4ce6516da918937c668f38611b5eda10eafab57a3fe7f3d868faa18260e [2021-10-28T18:02:37.538Z] $ docker rm -f 4604f4ce6516da918937c668f38611b5eda10eafab57a3fe7f3d868faa18260e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:02:37.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T18:02:37.908Z] [2021-10-28T18:02:37.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:02:38.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T18:02:38.224Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-28T18:02:38.224Z] ab5ef0e58194: Pulling fs layer [2021-10-28T18:02:38.224Z] 9712f1f96733: Pulling fs layer [2021-10-28T18:02:38.224Z] 63f879dbbcfc: Pulling fs layer [2021-10-28T18:02:38.224Z] 0d9ebad4ef96: Pulling fs layer [2021-10-28T18:02:38.224Z] e9a5061849ea: Pulling fs layer [2021-10-28T18:02:38.224Z] d747dcd14b5f: Pulling fs layer [2021-10-28T18:02:38.224Z] 2de7ff778b66: Pulling fs layer [2021-10-28T18:02:38.224Z] 0d9ebad4ef96: Waiting [2021-10-28T18:02:38.224Z] e9a5061849ea: Waiting [2021-10-28T18:02:38.224Z] d747dcd14b5f: Waiting [2021-10-28T18:02:38.224Z] 2de7ff778b66: Waiting [2021-10-28T18:02:38.224Z] 9712f1f96733: Verifying Checksum [2021-10-28T18:02:38.224Z] 9712f1f96733: Download complete [2021-10-28T18:02:38.490Z] 63f879dbbcfc: Verifying Checksum [2021-10-28T18:02:38.490Z] 63f879dbbcfc: Download complete [2021-10-28T18:02:38.490Z] 0d9ebad4ef96: Verifying Checksum [2021-10-28T18:02:38.490Z] 0d9ebad4ef96: Download complete [2021-10-28T18:02:38.490Z] d747dcd14b5f: Verifying Checksum [2021-10-28T18:02:38.490Z] d747dcd14b5f: Download complete [2021-10-28T18:02:38.754Z] e9a5061849ea: Verifying Checksum [2021-10-28T18:02:38.754Z] e9a5061849ea: Download complete [2021-10-28T18:02:38.754Z] ab5ef0e58194: Verifying Checksum [2021-10-28T18:02:38.754Z] ab5ef0e58194: Download complete [2021-10-28T18:02:38.754Z] 2de7ff778b66: Verifying Checksum [2021-10-28T18:02:38.754Z] 2de7ff778b66: Download complete [2021-10-28T18:02:41.330Z] ab5ef0e58194: Pull complete [2021-10-28T18:02:41.598Z] 9712f1f96733: Pull complete [2021-10-28T18:02:42.557Z] 63f879dbbcfc: Pull complete [2021-10-28T18:02:46.821Z] 0d9ebad4ef96: Pull complete [2021-10-28T18:02:47.084Z] e9a5061849ea: Pull complete [2021-10-28T18:02:47.353Z] d747dcd14b5f: Pull complete [2021-10-28T18:02:48.740Z] 2de7ff778b66: Pull complete [2021-10-28T18:02:48.740Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-28T18:02:48.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T18:02:48.740Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-28T18:02:48.809Z] prd-centos7-docker-4c-2g-17 does not seem to be running inside a container [2021-10-28T18:02:48.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-28T18:02:51.979Z] $ docker top 25d1d959c6c85ce1158a234dda99ac22317b6e509f594f7ee80ded16a549db52 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-28T18:02:52.058Z] provisioning config files... [2021-10-28T18:02:52.069Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8080157649130170980tmp [2021-10-28T18:02:52.086Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6231199159571415950tmp [2021-10-28T18:02:52.097Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3068315790150842880tmp [Pipeline] { [Pipeline] echo [2021-10-28T18:02:52.113Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:02:52.399Z] ---> sigul-configuration.sh [2021-10-28T18:02:52.399Z] gpg: directory `/root/.gnupg' created [2021-10-28T18:02:52.399Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-28T18:02:52.399Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-28T18:02:52.399Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-28T18:02:52.399Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-28T18:02:52.399Z] gpg: CAST5 encrypted data [2021-10-28T18:02:52.399Z] gpg: encrypted with 1 passphrase [2021-10-28T18:02:52.399Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-28T18:02:52.717Z] + mkdir /home/jenkins [2021-10-28T18:02:52.717Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-28T18:02:53.008Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-10-28T18:02:53.016Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:02:53.305Z] ---> sigul-install.sh [2021-10-28T18:02:53.305Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-28T18:02:53.597Z] + git tag --list [2021-10-28T18:02:53.597Z] 0.7.1 [2021-10-28T18:02:53.597Z] delhi-tag [2021-10-28T18:02:53.597Z] v1.0.0 [2021-10-28T18:02:53.597Z] v1.1.0 [2021-10-28T18:02:53.597Z] v1.1.1 [2021-10-28T18:02:53.597Z] v1.1.2 [2021-10-28T18:02:53.597Z] v1.2.0 [2021-10-28T18:02:53.597Z] v1.2.1 [2021-10-28T18:02:53.597Z] v1.2.2 [2021-10-28T18:02:53.597Z] v1.2.3 [2021-10-28T18:02:53.597Z] v1.3.0 [2021-10-28T18:02:53.597Z] v1.4.0 [2021-10-28T18:02:53.597Z] v2.0.0 [2021-10-28T18:02:53.597Z] v2.0.1-dev.1 [2021-10-28T18:02:53.597Z] v2.0.1-dev.10 [2021-10-28T18:02:53.597Z] v2.0.1-dev.11 [2021-10-28T18:02:53.597Z] v2.0.1-dev.12 [2021-10-28T18:02:53.597Z] v2.0.1-dev.13 [2021-10-28T18:02:53.597Z] v2.0.1-dev.14 [2021-10-28T18:02:53.597Z] v2.0.1-dev.15 [2021-10-28T18:02:53.597Z] v2.0.1-dev.16 [2021-10-28T18:02:53.597Z] v2.0.1-dev.17 [2021-10-28T18:02:53.597Z] v2.0.1-dev.18 [2021-10-28T18:02:53.597Z] v2.0.1-dev.19 [2021-10-28T18:02:53.597Z] v2.0.1-dev.2 [2021-10-28T18:02:53.597Z] v2.0.1-dev.20 [2021-10-28T18:02:53.597Z] v2.0.1-dev.21 [2021-10-28T18:02:53.597Z] v2.0.1-dev.22 [2021-10-28T18:02:53.597Z] v2.0.1-dev.23 [2021-10-28T18:02:53.597Z] v2.0.1-dev.24 [2021-10-28T18:02:53.597Z] v2.0.1-dev.3 [2021-10-28T18:02:53.597Z] v2.0.1-dev.4 [2021-10-28T18:02:53.597Z] v2.0.1-dev.5 [2021-10-28T18:02:53.597Z] v2.0.1-dev.6 [2021-10-28T18:02:53.597Z] v2.0.1-dev.7 [2021-10-28T18:02:53.597Z] v2.0.1-dev.8 [2021-10-28T18:02:53.597Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-28T18:02:53.891Z] + lftools sign git-tag v2.0.1-dev.24 [2021-10-28T18:02:54.463Z] Signing Git tag with Sigul... [2021-10-28T18:02:54.463Z] Signing v2.0.1-dev.24 [Pipeline] echo [2021-10-28T18:02:55.416Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:02:55.706Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-28T18:02:55.714Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-28T18:02:55.734Z] $ docker stop --time=1 25d1d959c6c85ce1158a234dda99ac22317b6e509f594f7ee80ded16a549db52 [2021-10-28T18:02:56.957Z] $ docker rm -f 25d1d959c6c85ce1158a234dda99ac22317b6e509f594f7ee80ded16a549db52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:02:57.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T18:02:57.568Z] . [Pipeline] withDockerContainer [2021-10-28T18:02:57.631Z] prd-centos7-docker-4c-2g-17 does not seem to be running inside a container [2021-10-28T18:02:57.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T18:02:58.032Z] $ docker top d0a6850dca43fca155ee685d60b5d5541706017c641f158e330aeac06bc41428 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T18:02:58.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T18:02:58.117Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T18:02:58.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T18:02:58.221Z] $ docker exec d0a6850dca43fca155ee685d60b5d5541706017c641f158e330aeac06bc41428 ssh-agent [2021-10-28T18:02:58.315Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlLjBbF/agent.13 [2021-10-28T18:02:58.315Z] SSH_AGENT_PID=19 [2021-10-28T18:02:58.320Z] Running ssh-add (command line suppressed) [2021-10-28T18:02:58.411Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3595049142815050351.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3595049142815050351.key) [2021-10-28T18:02:58.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T18:02:58.723Z] + git semver bump pre [2021-10-28T18:02:58.723Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T18:02:58.723Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T18:02:58.723Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T18:02:58.723Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T18:02:58.723Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T18:02:58.723Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T18:02:58.723Z] # $SEMVER_BRANCH = main [2021-10-28T18:02:58.723Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-28T18:02:58.723Z] 2.0.1-dev.25 [Pipeline] } [2021-10-28T18:02:58.731Z] $ docker exec --env ******** --env ******** d0a6850dca43fca155ee685d60b5d5541706017c641f158e330aeac06bc41428 ssh-agent -k [2021-10-28T18:02:58.834Z] unset SSH_AUTH_SOCK; [2021-10-28T18:02:58.834Z] unset SSH_AGENT_PID; [2021-10-28T18:02:58.834Z] echo Agent pid 19 killed; [2021-10-28T18:02:58.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T18:02:59.157Z] + git semver [Pipeline] } [2021-10-28T18:02:59.169Z] $ docker stop --time=1 d0a6850dca43fca155ee685d60b5d5541706017c641f158e330aeac06bc41428 [2021-10-28T18:03:00.366Z] $ docker rm -f d0a6850dca43fca155ee685d60b5d5541706017c641f158e330aeac06bc41428 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:03:00.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T18:03:00.721Z] . [Pipeline] withDockerContainer [2021-10-28T18:03:00.788Z] prd-centos7-docker-4c-2g-17 does not seem to be running inside a container [2021-10-28T18:03:00.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T18:03:01.242Z] $ docker top 4219536c577fa885c75db6f6dc02c8bb794275b94b4a8d1f8c7f96dfefdf2c3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T18:03:01.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T18:03:01.346Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T18:03:01.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T18:03:01.453Z] $ docker exec 4219536c577fa885c75db6f6dc02c8bb794275b94b4a8d1f8c7f96dfefdf2c3c ssh-agent [2021-10-28T18:03:01.547Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoACnbn/agent.14 [2021-10-28T18:03:01.547Z] SSH_AGENT_PID=20 [2021-10-28T18:03:01.552Z] Running ssh-add (command line suppressed) [2021-10-28T18:03:01.648Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7159769413761958730.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7159769413761958730.key) [2021-10-28T18:03:01.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T18:03:01.964Z] + git semver push [2021-10-28T18:03:01.964Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T18:03:01.964Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T18:03:01.964Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T18:03:01.964Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T18:03:01.964Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T18:03:01.964Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T18:03:01.964Z] # $SEMVER_BRANCH = main [2021-10-28T18:03:01.964Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-28T18:03:04.517Z] $ docker exec --env ******** --env ******** 4219536c577fa885c75db6f6dc02c8bb794275b94b4a8d1f8c7f96dfefdf2c3c ssh-agent -k [2021-10-28T18:03:04.608Z] unset SSH_AUTH_SOCK; [2021-10-28T18:03:04.608Z] unset SSH_AGENT_PID; [2021-10-28T18:03:04.608Z] echo Agent pid 20 killed; [2021-10-28T18:03:04.619Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T18:03:04.927Z] + git semver [Pipeline] } [2021-10-28T18:03:04.938Z] $ docker stop --time=1 4219536c577fa885c75db6f6dc02c8bb794275b94b4a8d1f8c7f96dfefdf2c3c [2021-10-28T18:03:06.119Z] $ docker rm -f 4219536c577fa885c75db6f6dc02c8bb794275b94b4a8d1f8c7f96dfefdf2c3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-28T18:03:06.816Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:03:07.115Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:03:07.673Z] ---> package-listing.sh [2021-10-28T18:03:07.673Z] ++ facter osfamily [2021-10-28T18:03:07.673Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T18:03:07.936Z] + OS_FAMILY=redhat [2021-10-28T18:03:07.936Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T18:03:07.936Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T18:03:07.936Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T18:03:07.936Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T18:03:07.936Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T18:03:07.936Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-28T18:03:07.936Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T18:03:07.936Z] + case "${OS_FAMILY}" in [2021-10-28T18:03:07.936Z] + rpm -qa [2021-10-28T18:03:07.936Z] + sort [2021-10-28T18:03:08.509Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T18:03:08.509Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T18:03:08.509Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T18:03:08.509Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-28T18:03:08.509Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-28T18:03:08.509Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-10-28T18:03:08.521Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-28T18:03:08.804Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:03:09.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:03:09.357Z] [2021-10-28T18:03:09.357Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:03:09.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:03:09.656Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T18:03:09.656Z] b4d181a07f80: Pulling fs layer [2021-10-28T18:03:09.656Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T18:03:09.656Z] ed53099fbce6: Pulling fs layer [2021-10-28T18:03:09.656Z] dc539afda2c1: Pulling fs layer [2021-10-28T18:03:09.656Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T18:03:09.656Z] 9065ff56babe: Pulling fs layer [2021-10-28T18:03:09.656Z] d287ab97295c: Pulling fs layer [2021-10-28T18:03:09.656Z] 77bc0d833cb6: Waiting [2021-10-28T18:03:09.656Z] 9065ff56babe: Waiting [2021-10-28T18:03:09.656Z] d287ab97295c: Waiting [2021-10-28T18:03:09.656Z] dc539afda2c1: Waiting [2021-10-28T18:03:09.656Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T18:03:09.656Z] a1111a8f2ec3: Download complete [2021-10-28T18:03:09.656Z] dc539afda2c1: Verifying Checksum [2021-10-28T18:03:09.656Z] dc539afda2c1: Download complete [2021-10-28T18:03:09.656Z] ed53099fbce6: Verifying Checksum [2021-10-28T18:03:09.656Z] ed53099fbce6: Download complete [2021-10-28T18:03:09.656Z] 9065ff56babe: Verifying Checksum [2021-10-28T18:03:09.656Z] 9065ff56babe: Download complete [2021-10-28T18:03:09.922Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T18:03:09.922Z] 77bc0d833cb6: Download complete [2021-10-28T18:03:09.922Z] b4d181a07f80: Verifying Checksum [2021-10-28T18:03:09.922Z] b4d181a07f80: Download complete [2021-10-28T18:03:10.494Z] d287ab97295c: Verifying Checksum [2021-10-28T18:03:10.494Z] d287ab97295c: Download complete [2021-10-28T18:03:11.457Z] b4d181a07f80: Pull complete [2021-10-28T18:03:11.734Z] a1111a8f2ec3: Pull complete [2021-10-28T18:03:12.302Z] ed53099fbce6: Pull complete [2021-10-28T18:03:12.302Z] dc539afda2c1: Pull complete [2021-10-28T18:03:12.563Z] 77bc0d833cb6: Pull complete [2021-10-28T18:03:12.833Z] 9065ff56babe: Pull complete [2021-10-28T18:03:18.163Z] d287ab97295c: Pull complete [2021-10-28T18:03:18.163Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T18:03:18.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:03:18.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T18:03:18.234Z] prd-centos7-docker-4c-2g-17 does not seem to be running inside a container [2021-10-28T18:03:18.271Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T18:03:20.451Z] $ docker top 5be99aed67149d621fb44d62efb2ae4c24aa4efbd10f580788174cabef12480e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T18:03:20.797Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T18:03:21.083Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T18:03:21.376Z] + ls /var/log/sa-host [2021-10-28T18:03:21.377Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T18:03:21.377Z] file_magic: OK [2021-10-28T18:03:21.377Z] HZ: Using current value: 100 [2021-10-28T18:03:21.377Z] file_header: OK [2021-10-28T18:03:21.377Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-28T18:03:21.377Z] Statistics: [2021-10-28T18:03:21.377Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T18:03:21.377Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T18:03:21.377Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T18:03:21.377Z] file_magic: OK [2021-10-28T18:03:21.377Z] HZ: Using current value: 100 [2021-10-28T18:03:21.377Z] file_header: OK [2021-10-28T18:03:21.377Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-28T18:03:21.377Z] Statistics: [2021-10-28T18:03:21.377Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T18:03:21.377Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T18:03:21.453Z] provisioning config files... [2021-10-28T18:03:21.460Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2795030176304636545tmp [Pipeline] { [Pipeline] echo [2021-10-28T18:03:21.471Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:03:21.759Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T18:03:21.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:03:22.096Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T18:03:22.103Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:03:22.389Z] ---> sudo-logs.sh [2021-10-28T18:03:22.389Z] Archiving 'sudo' log.. [2021-10-28T18:03:22.389Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-17.novalocal: Name or service not known [2021-10-28T18:03:22.389Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-17.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T18:03:22.408Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:03:22.701Z] ---> job-cost.sh [2021-10-28T18:03:22.702Z] lf-activate-venv: SKIPPING [2021-10-28T18:03:22.702Z] DEBUG: total: 0.10999999940395355 [2021-10-28T18:03:22.702Z] INFO: Retrieving Stack Cost... [2021-10-28T18:03:22.961Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T18:03:23.534Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T18:03:23.546Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:03:23.846Z] ---> logs-deploy.sh [2021-10-28T18:03:23.846Z] lf-activate-venv: SKIPPING [2021-10-28T18:03:23.846Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/23 [2021-10-28T18:03:23.846Z] INFO: archiving workspace using pattern(s): [2021-10-28T18:03:24.419Z] Archives upload complete. [2021-10-28T18:03:24.679Z] INFO: archiving logs to Nexus