Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1be87f15213c05ab1957194b5dea87ff4eff74a4 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-ssh4793728797961346024.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-ssh2654705566913366199.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-ssh64363398022982503.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-ssh4644178208929477058.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-ssh2486479887658549266.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 Running on prd-centos7-docker-4c-2g-729 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-ssh71507064812686655.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 1be87f15213c05ab1957194b5dea87ff4eff74a4 (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 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 Commit message: "Merge pull request #1038 from weichou1229/issue-1037" > git rev-list --no-walk 2ab93c499751478c937c96849c5331481b2fe78f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-20T23:40:07.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-20T23:40:07.509Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-20T23:40:07.521Z] ========================================================= [2021-10-20T23:40:07.521Z] EdgeX Global Pipelines Version Info [2021-10-20T23:40:07.521Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:40:08.653Z] ------------------- [2021-10-20T23:40:08.653Z] stable info: [2021-10-20T23:40:08.653Z] ------------------- [2021-10-20T23:40:08.653Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-20T23:40:08.653Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T23:40:08.653Z] Message: update stable to v1.0.210 [2021-10-20T23:40:09.227Z] ------------------- [2021-10-20T23:40:09.227Z] experimental info: [2021-10-20T23:40:09.227Z] ------------------- [2021-10-20T23:40:09.227Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-20T23:40:09.227Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T23:40:09.227Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-20T23:40:09.302Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-20T23:40:09.314Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-20T23:40:09.325Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-20T23:40:09.335Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-20T23:40:09.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-20T23:40:09.355Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-20T23:40:09.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-20T23:40:09.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-20T23:40:09.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-20T23:40:09.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-20T23:40:09.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-20T23:40:09.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-20T23:40:09.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-20T23:40:09.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-20T23:40:09.451Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-20T23:40:09.460Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-20T23:40:09.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-20T23:40:09.480Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-20T23:40:09.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-20T23:40:09.502Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-20T23:40:09.512Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-20T23:40:09.521Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-20T23:40:09.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-20T23:40:09.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-20T23:40:09.549Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-20T23:40:09.559Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-20T23:40:09.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-20T23:40:09.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-20T23:40:09.587Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-20T23:40:09.596Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1be87f15213c05ab1957194b5dea87ff4eff74a4 [Pipeline] echo [2021-10-20T23:40:09.606Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1be87f1 [Pipeline] echo [2021-10-20T23:40:09.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T23:40:09.663Z] provisioning config files... [2021-10-20T23:40:09.677Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8866162050323179816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:40:09.996Z] ---> docker-login.sh [2021-10-20T23:40:09.997Z] nexus3.edgexfoundry.org:10001 [2021-10-20T23:40:09.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:40:10.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:40:10.257Z] Configure a credential helper to remove this warning. See [2021-10-20T23:40:10.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:40:10.257Z] [2021-10-20T23:40:10.257Z] Login Succeeded [2021-10-20T23:40:10.257Z] nexus3.edgexfoundry.org:10002 [2021-10-20T23:40:10.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:40:10.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:40:10.257Z] Configure a credential helper to remove this warning. See [2021-10-20T23:40:10.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:40:10.257Z] [2021-10-20T23:40:10.257Z] Login Succeeded [2021-10-20T23:40:10.257Z] nexus3.edgexfoundry.org:10003 [2021-10-20T23:40:10.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:40:10.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:40:10.518Z] Configure a credential helper to remove this warning. See [2021-10-20T23:40:10.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:40:10.518Z] [2021-10-20T23:40:10.518Z] Login Succeeded [2021-10-20T23:40:10.518Z] nexus3.edgexfoundry.org:10004 [2021-10-20T23:40:10.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:40:10.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:40:10.518Z] Configure a credential helper to remove this warning. See [2021-10-20T23:40:10.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:40:10.518Z] [2021-10-20T23:40:10.518Z] Login Succeeded [2021-10-20T23:40:10.518Z] docker.io [2021-10-20T23:40:10.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:40:11.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:40:11.094Z] Configure a credential helper to remove this warning. See [2021-10-20T23:40:11.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:40:11.094Z] [2021-10-20T23:40:11.094Z] Login Succeeded [2021-10-20T23:40:11.094Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T23:40:11.103Z] 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-20T23:40:11.573Z] + git log --format=format:%s -1 1be87f15213c05ab1957194b5dea87ff4eff74a4 [Pipeline] echo [2021-10-20T23:40:11.612Z] GIT_COMMIT: 1be87f15213c05ab1957194b5dea87ff4eff74a4, Commit Message: Merge pull request #1038 from weichou1229/issue-1037 [Pipeline] echo [2021-10-20T23:40:11.619Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:40:12.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:40:12.302Z] [2021-10-20T23:40:12.302Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:40:12.608Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:40:12.608Z] latest: Pulling from edgex-devops/git-semver [2021-10-20T23:40:12.608Z] a0d0a0d46f8b: Pulling fs layer [2021-10-20T23:40:12.608Z] 3e5f54012d9b: Pulling fs layer [2021-10-20T23:40:12.608Z] 4c7163046ea9: Pulling fs layer [2021-10-20T23:40:12.608Z] 0c2d73faf560: Pulling fs layer [2021-10-20T23:40:12.608Z] 3e5f54012d9b: Verifying Checksum [2021-10-20T23:40:12.608Z] 3e5f54012d9b: Download complete [2021-10-20T23:40:12.608Z] a0d0a0d46f8b: Verifying Checksum [2021-10-20T23:40:12.608Z] a0d0a0d46f8b: Download complete [2021-10-20T23:40:12.608Z] 0c2d73faf560: Verifying Checksum [2021-10-20T23:40:12.608Z] 0c2d73faf560: Download complete [2021-10-20T23:40:12.608Z] 4c7163046ea9: Verifying Checksum [2021-10-20T23:40:12.608Z] 4c7163046ea9: Download complete [2021-10-20T23:40:12.881Z] a0d0a0d46f8b: Pull complete [2021-10-20T23:40:12.881Z] 3e5f54012d9b: Pull complete [2021-10-20T23:40:13.144Z] 4c7163046ea9: Pull complete [2021-10-20T23:40:13.404Z] 0c2d73faf560: Pull complete [2021-10-20T23:40:13.404Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-20T23:40:13.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:40:13.404Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-20T23:40:13.469Z] prd-centos7-docker-4c-2g-729 does not seem to be running inside a container [2021-10-20T23:40:13.497Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-20T23:40:14.055Z] $ docker top d7276b2b36475cccf931af59c48c6ca5ef0ca857b65f12724693f32aa578e8fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-20T23:40:14.147Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T23:40:14.147Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T23:40:14.244Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T23:40:14.247Z] $ docker exec d7276b2b36475cccf931af59c48c6ca5ef0ca857b65f12724693f32aa578e8fd ssh-agent [2021-10-20T23:40:14.335Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdAGcNI/agent.13 [2021-10-20T23:40:14.335Z] SSH_AGENT_PID=20 [2021-10-20T23:40:14.343Z] Running ssh-add (command line suppressed) [2021-10-20T23:40:14.433Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8687398218690276156.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8687398218690276156.key) [2021-10-20T23:40:14.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T23:40:14.734Z] + git tag --points-at HEAD [Pipeline] } [2021-10-20T23:40:14.747Z] $ docker exec --env ******** --env ******** d7276b2b36475cccf931af59c48c6ca5ef0ca857b65f12724693f32aa578e8fd ssh-agent -k [2021-10-20T23:40:14.843Z] unset SSH_AUTH_SOCK; [2021-10-20T23:40:14.843Z] unset SSH_AGENT_PID; [2021-10-20T23:40:14.844Z] echo Agent pid 20 killed; [2021-10-20T23:40:14.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-20T23:40:14.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T23:40:14.876Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T23:40:14.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T23:40:14.975Z] $ docker exec d7276b2b36475cccf931af59c48c6ca5ef0ca857b65f12724693f32aa578e8fd ssh-agent [2021-10-20T23:40:15.077Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXepeNBL/agent.53 [2021-10-20T23:40:15.077Z] SSH_AGENT_PID=60 [2021-10-20T23:40:15.082Z] Running ssh-add (command line suppressed) [2021-10-20T23:40:15.173Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4580059754045359504.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4580059754045359504.key) [2021-10-20T23:40:15.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T23:40:15.480Z] + git semver init [2021-10-20T23:40:15.480Z] # -> Open(): unable to determine branch for HEAD [2021-10-20T23:40:15.480Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-20T23:40:15.480Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-20T23:40:15.480Z] # $SEMVER_REMOTE_NAME = origin [2021-10-20T23:40:15.480Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-20T23:40:15.480Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-20T23:40:15.480Z] # $SEMVER_BRANCH = main [2021-10-20T23:40:15.480Z] # $SEMVER_TEMP = /tmp/semver-970339173 [2021-10-20T23:40:15.480Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-20T23:40:16.420Z] # '/tmp/semver-970339173' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-20T23:40:16.420Z] # -> Force: false [2021-10-20T23:40:16.420Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-20T23:40:16.429Z] $ docker exec --env ******** --env ******** d7276b2b36475cccf931af59c48c6ca5ef0ca857b65f12724693f32aa578e8fd ssh-agent -k [2021-10-20T23:40:16.518Z] unset SSH_AUTH_SOCK; [2021-10-20T23:40:16.518Z] unset SSH_AGENT_PID; [2021-10-20T23:40:16.518Z] echo Agent pid 60 killed; [2021-10-20T23:40:16.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-20T23:40:16.850Z] + git semver [Pipeline] } [2021-10-20T23:40:16.868Z] $ docker stop --time=1 d7276b2b36475cccf931af59c48c6ca5ef0ca857b65f12724693f32aa578e8fd [2021-10-20T23:40:18.067Z] $ docker rm -f d7276b2b36475cccf931af59c48c6ca5ef0ca857b65f12724693f32aa578e8fd [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-20T23:40:18.418Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-20T23:40:18.634Z] Stashed 1 file(s) [Pipeline] echo [2021-10-20T23:40:18.636Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.23 [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-20T23:40:33.777Z] Still waiting to schedule task [2021-10-20T23:40:33.777Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-729’ [2021-10-20T23:40:33.778Z] Still waiting to schedule task [2021-10-20T23:40:33.779Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-20T23:43:02.235Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-730 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-20T23:43:02.244Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2021-10-20T23:43:02.449Z] Selected Git installation does not exist. Using Default [2021-10-20T23:43:02.449Z] The recommended git tool is: NONE [2021-10-20T23:43:05.428Z] Running on prd-centos7-docker-4c-2g-731 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-20T23:43:05.441Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2021-10-20T23:43:05.520Z] Selected Git installation does not exist. Using Default [2021-10-20T23:43:05.520Z] The recommended git tool is: NONE [2021-10-20T23:43:07.531Z] using credential edgex-jenkins-ssh [2021-10-20T23:43:07.544Z] Cloning the remote Git repository [2021-10-20T23:43:07.565Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T23:43:07.617Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2021-10-20T23:43:07.645Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T23:43:07.645Z] > git --version # timeout=10 [2021-10-20T23:43:07.655Z] > git --version # 'git version 2.24.4' [2021-10-20T23:43:07.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T23:43:07.675Z] [INFO] Currently running in a labeled security context [2021-10-20T23:43:07.675Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-20T23:43:07.675Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/22@tmp/jenkins-gitclient-ssh8339873855509869826.key [2021-10-20T23:43:07.702Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T23:43:08.398Z] using credential edgex-jenkins-ssh [2021-10-20T23:43:08.415Z] Cloning the remote Git repository [2021-10-20T23:43:08.564Z] Avoid second fetch [2021-10-20T23:43:08.564Z] Checking out Revision 1be87f15213c05ab1957194b5dea87ff4eff74a4 (main) [2021-10-20T23:43:08.472Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T23:43:08.576Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2021-10-20T23:43:08.549Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-20T23:43:08.555Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T23:43:08.573Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T23:43:08.577Z] > git checkout -f 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [2021-10-20T23:43:08.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T23:43:08.676Z] > git --version # timeout=10 [2021-10-20T23:43:08.693Z] > git --version # 'git version 2.17.1' [2021-10-20T23:43:08.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T23:43:08.775Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T23:43:10.290Z] Avoid second fetch [2021-10-20T23:43:10.291Z] Checking out Revision 1be87f15213c05ab1957194b5dea87ff4eff74a4 (main) [2021-10-20T23:43:10.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-20T23:43:10.274Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T23:43:10.311Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T23:43:10.322Z] > git checkout -f 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [2021-10-20T23:43:12.117Z] Commit message: "Merge pull request #1038 from weichou1229/issue-1037" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T23:43:12.649Z] provisioning config files... [2021-10-20T23:43:12.664Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/22@tmp/config3256217771910618878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:43:13.036Z] ---> docker-login.sh [2021-10-20T23:43:13.036Z] nexus3.edgexfoundry.org:10001 [2021-10-20T23:43:13.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:13.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:13.297Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:13.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:13.297Z] [2021-10-20T23:43:13.297Z] Login Succeeded [2021-10-20T23:43:13.297Z] nexus3.edgexfoundry.org:10002 [2021-10-20T23:43:13.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:13.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:13.297Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:13.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:13.297Z] [2021-10-20T23:43:13.297Z] Login Succeeded [2021-10-20T23:43:13.297Z] nexus3.edgexfoundry.org:10003 [2021-10-20T23:43:13.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:13.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:13.297Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:13.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:13.297Z] [2021-10-20T23:43:13.297Z] Login Succeeded [2021-10-20T23:43:13.558Z] nexus3.edgexfoundry.org:10004 [2021-10-20T23:43:13.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:13.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:13.558Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:13.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:13.558Z] [2021-10-20T23:43:13.558Z] Login Succeeded [2021-10-20T23:43:13.558Z] docker.io [2021-10-20T23:43:13.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:14.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:14.132Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:14.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:14.132Z] [2021-10-20T23:43:14.132Z] Login Succeeded [2021-10-20T23:43:14.132Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T23:43:14.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-20T23:43:14.291Z] ========================================================= [2021-10-20T23:43:14.292Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-20T23:43:14.292Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:43:14.605Z] + 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-20T23:43:14.605Z] Sending build context to Docker daemon 2.701MB [2021-10-20T23:43:14.605Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-20T23:43:14.605Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-20T23:43:14.605Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-20T23:43:14.605Z] a0d0a0d46f8b: Pulling fs layer [2021-10-20T23:43:14.605Z] 31adcdaf11c8: Pulling fs layer [2021-10-20T23:43:14.605Z] b8b176561691: Pulling fs layer [2021-10-20T23:43:14.605Z] 4527c011a84f: Pulling fs layer [2021-10-20T23:43:14.605Z] 5d74067f8e1e: Pulling fs layer [2021-10-20T23:43:14.605Z] e0aca202a116: Pulling fs layer [2021-10-20T23:43:14.605Z] 3a43be97a3b4: Pulling fs layer [2021-10-20T23:43:14.605Z] 34cad66bf833: Pulling fs layer [2021-10-20T23:43:14.605Z] b4e3c513aaa6: Pulling fs layer [2021-10-20T23:43:14.605Z] 4527c011a84f: Waiting [2021-10-20T23:43:14.605Z] 5d74067f8e1e: Waiting [2021-10-20T23:43:14.605Z] e0aca202a116: Waiting [2021-10-20T23:43:14.605Z] 3a43be97a3b4: Waiting [2021-10-20T23:43:14.605Z] 34cad66bf833: Waiting [2021-10-20T23:43:14.605Z] b4e3c513aaa6: Waiting [2021-10-20T23:43:14.605Z] b8b176561691: Verifying Checksum [2021-10-20T23:43:14.605Z] b8b176561691: Download complete [2021-10-20T23:43:14.605Z] 31adcdaf11c8: Verifying Checksum [2021-10-20T23:43:14.605Z] 31adcdaf11c8: Download complete [2021-10-20T23:43:14.728Z] Commit message: "Merge pull request #1038 from weichou1229/issue-1037" [2021-10-20T23:43:14.872Z] 5d74067f8e1e: Verifying Checksum [2021-10-20T23:43:14.872Z] 5d74067f8e1e: Download complete [2021-10-20T23:43:14.872Z] e0aca202a116: Verifying Checksum [2021-10-20T23:43:14.872Z] e0aca202a116: Download complete [2021-10-20T23:43:14.872Z] a0d0a0d46f8b: Verifying Checksum [2021-10-20T23:43:14.872Z] a0d0a0d46f8b: Download complete [2021-10-20T23:43:14.872Z] 3a43be97a3b4: Verifying Checksum [2021-10-20T23:43:14.872Z] 3a43be97a3b4: Download complete [2021-10-20T23:43:14.872Z] 34cad66bf833: Verifying Checksum [2021-10-20T23:43:14.872Z] 34cad66bf833: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-20T23:43:15.141Z] a0d0a0d46f8b: Pull complete [2021-10-20T23:43:15.405Z] 4527c011a84f: Verifying Checksum [2021-10-20T23:43:15.405Z] 4527c011a84f: Download complete [2021-10-20T23:43:15.405Z] 31adcdaf11c8: Pull complete [2021-10-20T23:43:15.405Z] b4e3c513aaa6: Verifying Checksum [2021-10-20T23:43:15.405Z] b4e3c513aaa6: Download complete [2021-10-20T23:43:15.405Z] b8b176561691: Pull complete [2021-10-20T23:43:15.633Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-20T23:43:15.633Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-20T23:43:15.633Z] Dload Upload Total Spent Left Speed [2021-10-20T23:43:15.633Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 69146 0 --:--:-- --:--:-- --:--:-- 69146 [Pipeline] sh [2021-10-20T23:43:16.088Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-20T23:43:16.462Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-20T23:43:16.462Z] + sudo tee /etc/docker/daemon.new [2021-10-20T23:43:16.462Z] { [2021-10-20T23:43:16.462Z] "registry-mirrors": [ [2021-10-20T23:43:16.462Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-20T23:43:16.462Z] ], [2021-10-20T23:43:16.462Z] "bip": "10.250.0.254/24", [2021-10-20T23:43:16.462Z] "hosts": [ [2021-10-20T23:43:16.462Z] "tcp://0.0.0.0:5555", [2021-10-20T23:43:16.462Z] "unix:///var/run/docker.sock" [2021-10-20T23:43:16.462Z] ], [2021-10-20T23:43:16.462Z] "mtu": 1458, [2021-10-20T23:43:16.462Z] "selinux-enabled": true, [2021-10-20T23:43:16.462Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-20T23:43:16.462Z] } [Pipeline] sh [2021-10-20T23:43:16.818Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-20T23:43:17.277Z] + sudo service docker restart [2021-10-20T23:43:19.650Z] 4527c011a84f: Pull complete [2021-10-20T23:43:19.650Z] 5d74067f8e1e: Pull complete [2021-10-20T23:43:19.650Z] e0aca202a116: Pull complete [2021-10-20T23:43:19.650Z] 3a43be97a3b4: Pull complete [2021-10-20T23:43:19.650Z] 34cad66bf833: Pull complete [2021-10-20T23:43:22.201Z] b4e3c513aaa6: Pull complete [2021-10-20T23:43:22.201Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-20T23:43:22.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-20T23:43:22.201Z] ---> 9f6097aaca64 [2021-10-20T23:43:22.201Z] Step 3/10 : ARG MAKE=make build [2021-10-20T23:43:24.121Z] ---> Running in c6b3ea6c5472 [2021-10-20T23:43:24.121Z] Removing intermediate container c6b3ea6c5472 [2021-10-20T23:43:24.121Z] ---> 5dcb24dc8a54 [2021-10-20T23:43:24.121Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-20T23:43:24.121Z] ---> Running in c049d429d335 [2021-10-20T23:43:24.121Z] Removing intermediate container c049d429d335 [2021-10-20T23:43:24.121Z] ---> 00d3963948d7 [2021-10-20T23:43:24.121Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T23:43:24.121Z] ---> Running in 69a12ce96c75 [2021-10-20T23:43:24.121Z] Removing intermediate container 69a12ce96c75 [2021-10-20T23:43:24.121Z] ---> 45b6097da745 [2021-10-20T23:43:24.121Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T23:43:24.121Z] ---> Running in d2724a3571f8 [2021-10-20T23:43:24.708Z] Removing intermediate container d2724a3571f8 [2021-10-20T23:43:24.708Z] ---> d11e1b2d1b6b [2021-10-20T23:43:24.708Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-20T23:43:24.708Z] ---> Running in 8bcabbb062c6 [2021-10-20T23:43:24.975Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:43:25.918Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T23:43:26.182Z] OK: 220 MiB in 52 packages [2021-10-20T23:43:26.454Z] Removing intermediate container 8bcabbb062c6 [2021-10-20T23:43:26.454Z] ---> 8a01c43d3028 [2021-10-20T23:43:26.454Z] Step 8/10 : COPY . . [2021-10-20T23:43:26.720Z] ---> c90667ff1ef2 [2021-10-20T23:43:26.720Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-20T23:43:26.720Z] ---> Running in 7e83902ea05a [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T23:43:35.723Z] provisioning config files... [2021-10-20T23:43:35.753Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/22@tmp/config3486805092691846533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:43:36.124Z] ---> docker-login.sh [2021-10-20T23:43:36.124Z] nexus3.edgexfoundry.org:10001 [2021-10-20T23:43:38.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:38.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:38.414Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:38.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:38.414Z] [2021-10-20T23:43:38.414Z] Login Succeeded [2021-10-20T23:43:38.414Z] nexus3.edgexfoundry.org:10002 [2021-10-20T23:43:38.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:38.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:38.977Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:38.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:38.977Z] [2021-10-20T23:43:38.977Z] Login Succeeded [2021-10-20T23:43:38.977Z] nexus3.edgexfoundry.org:10003 [2021-10-20T23:43:39.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:39.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:39.531Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:39.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:39.531Z] [2021-10-20T23:43:39.531Z] Login Succeeded [2021-10-20T23:43:39.531Z] nexus3.edgexfoundry.org:10004 [2021-10-20T23:43:39.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:40.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:40.091Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:40.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:40.091Z] [2021-10-20T23:43:40.091Z] Login Succeeded [2021-10-20T23:43:40.091Z] docker.io [2021-10-20T23:43:40.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:43:40.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:43:40.979Z] Configure a credential helper to remove this warning. See [2021-10-20T23:43:40.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:43:40.979Z] [2021-10-20T23:43:40.979Z] Login Succeeded [2021-10-20T23:43:40.979Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T23:43:41.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-20T23:43:41.514Z] ========================================================= [2021-10-20T23:43:41.514Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-20T23:43:41.514Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:43:41.929Z] + 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-20T23:43:42.218Z] Sending build context to Docker daemon 2.7MB [2021-10-20T23:43:42.502Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-20T23:43:42.502Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-20T23:43:42.502Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-20T23:43:42.502Z] 552d1f2373af: Pulling fs layer [2021-10-20T23:43:42.502Z] ea3f2d53f512: Pulling fs layer [2021-10-20T23:43:42.502Z] 9e70ebbbe112: Pulling fs layer [2021-10-20T23:43:42.502Z] 7a9cfe048b4a: Pulling fs layer [2021-10-20T23:43:42.502Z] 72dc09318566: Pulling fs layer [2021-10-20T23:43:42.502Z] f4f7b4309257: Pulling fs layer [2021-10-20T23:43:42.502Z] 0ac9a79272e3: Pulling fs layer [2021-10-20T23:43:42.502Z] b78e95d17946: Pulling fs layer [2021-10-20T23:43:42.502Z] f4f7b4309257: Waiting [2021-10-20T23:43:42.502Z] 0ac9a79272e3: Waiting [2021-10-20T23:43:42.502Z] 72dc09318566: Waiting [2021-10-20T23:43:42.502Z] b78e95d17946: Waiting [2021-10-20T23:43:42.785Z] 9e70ebbbe112: Download complete [2021-10-20T23:43:42.785Z] ea3f2d53f512: Download complete [2021-10-20T23:43:42.785Z] 72dc09318566: Verifying Checksum [2021-10-20T23:43:42.785Z] 72dc09318566: Download complete [2021-10-20T23:43:42.785Z] 552d1f2373af: Verifying Checksum [2021-10-20T23:43:42.785Z] 552d1f2373af: Download complete [2021-10-20T23:43:42.785Z] f4f7b4309257: Download complete [2021-10-20T23:43:42.785Z] 0ac9a79272e3: Verifying Checksum [2021-10-20T23:43:42.785Z] 0ac9a79272e3: Download complete [2021-10-20T23:43:43.411Z] 552d1f2373af: Pull complete [2021-10-20T23:43:44.432Z] ea3f2d53f512: Pull complete [2021-10-20T23:43:44.714Z] 9e70ebbbe112: Pull complete [2021-10-20T23:43:44.714Z] b78e95d17946: Download complete [2021-10-20T23:43:45.315Z] 7a9cfe048b4a: Verifying Checksum [2021-10-20T23:43:45.315Z] 7a9cfe048b4a: Download complete [2021-10-20T23:43:55.539Z] 7a9cfe048b4a: Pull complete [2021-10-20T23:43:55.539Z] 72dc09318566: Pull complete [2021-10-20T23:43:55.815Z] f4f7b4309257: Pull complete [2021-10-20T23:43:56.419Z] 0ac9a79272e3: Pull complete [2021-10-20T23:43:58.865Z] Removing intermediate container 7e83902ea05a [2021-10-20T23:43:58.865Z] ---> 47a2e37eb8bd [2021-10-20T23:43:58.865Z] Step 10/10 : RUN ${MAKE} [2021-10-20T23:43:58.865Z] ---> Running in 9acc6e2be811 [2021-10-20T23:43:58.865Z] noop [2021-10-20T23:43:58.865Z] Removing intermediate container 9acc6e2be811 [2021-10-20T23:43:58.865Z] ---> 569b6ac3a8e0 [2021-10-20T23:43:58.865Z] Successfully built 569b6ac3a8e0 [2021-10-20T23:43:58.865Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:43:59.172Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-20T23:43:59.172Z] . [Pipeline] withDockerContainer [2021-10-20T23:43:59.245Z] prd-centos7-docker-4c-2g-731 does not seem to be running inside a container [2021-10-20T23:43:59.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-20T23:43:59.689Z] $ docker top dd61e57e7259d701321556435e12fc867c49d03d22bf5b28610f97461ecf2f23 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T23:44:00.068Z] + go version [2021-10-20T23:44:00.068Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-20T23:44:00.077Z] $ docker stop --time=1 dd61e57e7259d701321556435e12fc867c49d03d22bf5b28610f97461ecf2f23 [2021-10-20T23:44:01.252Z] $ docker rm -f dd61e57e7259d701321556435e12fc867c49d03d22bf5b28610f97461ecf2f23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:44:01.828Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-20T23:44:01.828Z] . [Pipeline] withDockerContainer [2021-10-20T23:44:01.897Z] prd-centos7-docker-4c-2g-731 does not seem to be running inside a container [2021-10-20T23:44:01.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-20T23:44:02.300Z] $ docker top b8a5b7a86812d92d24b12527de205d8b4b37a44cabe0a1ba4ddea59383d95666 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-20T23:44:02.666Z] + make test [2021-10-20T23:44:02.666Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-20T23:44:03.207Z] b78e95d17946: Pull complete [2021-10-20T23:44:03.208Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-20T23:44:03.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-20T23:44:03.208Z] ---> 8b459fc5aaf0 [2021-10-20T23:44:03.208Z] Step 3/10 : ARG MAKE=make build [2021-10-20T23:44:08.031Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-20T23:44:08.641Z] ---> Running in 6adf0eced355 [2021-10-20T23:44:08.641Z] Removing intermediate container 6adf0eced355 [2021-10-20T23:44:08.641Z] ---> 6f6c0789e6a5 [2021-10-20T23:44:08.641Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-20T23:44:08.641Z] ---> Running in 17b8f6224d91 [2021-10-20T23:44:09.647Z] Removing intermediate container 17b8f6224d91 [2021-10-20T23:44:09.647Z] ---> 56662600f3fe [2021-10-20T23:44:09.647Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T23:44:09.647Z] ---> Running in 86b0e70ddc23 [2021-10-20T23:44:10.257Z] Removing intermediate container 86b0e70ddc23 [2021-10-20T23:44:10.258Z] ---> 24ad512019ce [2021-10-20T23:44:10.258Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T23:44:10.258Z] ---> Running in f0bee5ce48f8 [2021-10-20T23:44:13.693Z] Removing intermediate container f0bee5ce48f8 [2021-10-20T23:44:13.693Z] ---> 9f32ac2050fd [2021-10-20T23:44:13.693Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-20T23:44:13.693Z] ---> Running in e89869432c30 [2021-10-20T23:44:14.296Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-20T23:44:15.288Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-20T23:44:16.281Z] OK: 219 MiB in 52 packages [2021-10-20T23:44:17.282Z] Removing intermediate container e89869432c30 [2021-10-20T23:44:17.282Z] ---> 66d17030da51 [2021-10-20T23:44:17.282Z] Step 8/10 : COPY . . [2021-10-20T23:44:18.747Z] ---> e6782990ca39 [2021-10-20T23:44:18.747Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-20T23:44:18.747Z] ---> Running in f0752b63fe08 [2021-10-20T23:44:30.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-20T23:44:30.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-20T23:44:30.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-20T23:44:32.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 23.8% of statements [2021-10-20T23:44:32.062Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-20T23:44:32.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 28.1% of statements [2021-10-20T23:44:32.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2021-10-20T23:44:32.333Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2021-10-20T23:44:32.333Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-20T23:44:32.333Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-20T23:44:32.333Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-20T23:44:32.938Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-10-20T23:44:32.938Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-20T23:44:34.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-10-20T23:44:34.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-20T23:44:34.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-20T23:44:34.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements [2021-10-20T23:44:35.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.832s coverage: 88.8% of statements [2021-10-20T23:44:35.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-20T23:44:35.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-10-20T23:44:35.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-20T23:44:35.568Z] GO111MODULE=on go vet ./... [2021-10-20T23:44:53.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-20T23:44:53.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-20T23:44:53.741Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-20T23:44:53.750Z] $ docker stop --time=1 b8a5b7a86812d92d24b12527de205d8b4b37a44cabe0a1ba4ddea59383d95666 [2021-10-20T23:44:55.267Z] $ docker rm -f b8a5b7a86812d92d24b12527de205d8b4b37a44cabe0a1ba4ddea59383d95666 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-20T23:44:55.693Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-20T23:44:55.878Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-20T23:44:57.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-20T23:44:57.419Z] + ls -al . [2021-10-20T23:44:57.419Z] total 264 [2021-10-20T23:44:57.419Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 20 23:44 . [2021-10-20T23:44:57.419Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 20 23:43 .. [2021-10-20T23:44:57.419Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 20 23:43 bin [2021-10-20T23:44:57.419Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 20 23:43 CHANGELOG.md [2021-10-20T23:44:57.419Z] -rw-r--r--. 1 jenkins jenkins 126786 Oct 20 23:44 coverage.out [2021-10-20T23:44:57.419Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 20 23:43 .dockerignore [2021-10-20T23:44:57.419Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 20 23:43 example [2021-10-20T23:44:57.419Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 20 23:43 .git [2021-10-20T23:44:57.419Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 20 23:43 .github [2021-10-20T23:44:57.419Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 20 23:43 .gitignore [2021-10-20T23:44:57.419Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 20 23:43 go.mod [2021-10-20T23:44:57.419Z] -rw-rw-r--. 1 jenkins jenkins 49868 Oct 20 23:43 go.sum [2021-10-20T23:44:57.420Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 20 23:43 GOVERNANCE.md [2021-10-20T23:44:57.420Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 20 23:43 internal [2021-10-20T23:44:57.420Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 20 23:43 Jenkinsfile [2021-10-20T23:44:57.420Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 20 23:43 LICENSE [2021-10-20T23:44:57.420Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 20 23:43 Makefile [2021-10-20T23:44:57.420Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 20 23:43 openapi [2021-10-20T23:44:57.420Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 20 23:43 OWNERS.md [2021-10-20T23:44:57.420Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 20 23:43 pkg [2021-10-20T23:44:57.420Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 20 23:43 README.md [2021-10-20T23:44:57.420Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 20 23:43 snap [2021-10-20T23:44:57.420Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 20 23:40 VERSION [2021-10-20T23:44:57.420Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 20 23:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:44:57.714Z] + 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=1be87f15213c05ab1957194b5dea87ff4eff74a4 --label arch=amd64 --label version=2.0.1-dev.23 . [2021-10-20T23:44:57.714Z] Sending build context to Docker daemon 2.828MB [2021-10-20T23:44:57.714Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-20T23:44:57.714Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-20T23:44:57.714Z] ---> 569b6ac3a8e0 [2021-10-20T23:44:57.714Z] Step 3/24 : ARG MAKE=make build [2021-10-20T23:44:57.714Z] ---> Running in 8402537976f8 [2021-10-20T23:44:57.979Z] Removing intermediate container 8402537976f8 [2021-10-20T23:44:57.979Z] ---> 9e31ea630117 [2021-10-20T23:44:57.979Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-20T23:44:57.979Z] ---> Running in 541f71981faf [2021-10-20T23:44:57.979Z] Removing intermediate container 541f71981faf [2021-10-20T23:44:57.979Z] ---> 6b077831a698 [2021-10-20T23:44:57.979Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T23:44:57.979Z] ---> Running in f9ae8a831deb [2021-10-20T23:44:57.979Z] Removing intermediate container f9ae8a831deb [2021-10-20T23:44:57.979Z] ---> 02de26d0e38b [2021-10-20T23:44:57.979Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T23:44:57.979Z] ---> Running in add489cc2281 [2021-10-20T23:44:58.558Z] Removing intermediate container add489cc2281 [2021-10-20T23:44:58.558Z] ---> eeafaeb9323e [2021-10-20T23:44:58.558Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-20T23:44:58.558Z] ---> Running in af6f3f735704 [2021-10-20T23:44:58.817Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:44:59.758Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T23:45:00.019Z] OK: 220 MiB in 52 packages [2021-10-20T23:45:00.287Z] Removing intermediate container af6f3f735704 [2021-10-20T23:45:00.287Z] ---> e02b5fab1ce1 [2021-10-20T23:45:00.287Z] Step 8/24 : COPY . . [2021-10-20T23:45:00.548Z] ---> 46af826dbe54 [2021-10-20T23:45:00.548Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-20T23:45:00.548Z] ---> Running in e25dfd1dfb0e [2021-10-20T23:45:01.123Z] Removing intermediate container e25dfd1dfb0e [2021-10-20T23:45:01.123Z] ---> 22c11951fca7 [2021-10-20T23:45:01.123Z] Step 10/24 : RUN ${MAKE} [2021-10-20T23:45:01.123Z] ---> Running in 5a59bd7f673f [2021-10-20T23:45:01.388Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.23" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-20T23:45:11.498Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-20T23:45:12.456Z] Removing intermediate container 5a59bd7f673f [2021-10-20T23:45:12.456Z] ---> 0cde595f00ee [2021-10-20T23:45:12.456Z] Step 11/24 : FROM alpine:3.14 [2021-10-20T23:45:13.028Z] 3.14: Pulling from library/alpine [2021-10-20T23:45:13.028Z] a0d0a0d46f8b: Already exists [2021-10-20T23:45:13.290Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-20T23:45:13.290Z] Status: Downloaded newer image for alpine:3.14 [2021-10-20T23:45:13.290Z] ---> 14119a10abf4 [2021-10-20T23:45:13.290Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T23:45:13.290Z] ---> Running in 0bb44285dd88 [2021-10-20T23:45:13.555Z] Removing intermediate container 0bb44285dd88 [2021-10-20T23:45:13.555Z] ---> fd4c946374b5 [2021-10-20T23:45:13.555Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T23:45:13.555Z] ---> Running in 5c59047a08d1 [2021-10-20T23:45:14.127Z] Removing intermediate container 5c59047a08d1 [2021-10-20T23:45:14.127Z] ---> 96405a4914b1 [2021-10-20T23:45:14.127Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-20T23:45:14.127Z] ---> Running in 4cfdb0472c8f [2021-10-20T23:45:14.390Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:45:15.331Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T23:45:15.591Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-20T23:45:15.850Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-20T23:45:15.850Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-20T23:45:15.850Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-20T23:45:16.113Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-20T23:45:16.113Z] Executing busybox-1.33.1-r3.trigger [2021-10-20T23:45:16.113Z] OK: 8 MiB in 19 packages [2021-10-20T23:45:16.383Z] Removing intermediate container 4cfdb0472c8f [2021-10-20T23:45:16.383Z] ---> bd89d21e6f58 [2021-10-20T23:45:16.383Z] Step 15/24 : WORKDIR / [2021-10-20T23:45:16.383Z] ---> Running in db2183106fae [2021-10-20T23:45:16.648Z] Removing intermediate container db2183106fae [2021-10-20T23:45:16.648Z] ---> 6e0bbc8be97c [2021-10-20T23:45:16.648Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-20T23:45:16.648Z] ---> 67ebefbdba4b [2021-10-20T23:45:16.648Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-20T23:45:17.227Z] ---> cb9deff3d75b [2021-10-20T23:45:17.227Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-20T23:45:17.227Z] ---> a21cfa3f5686 [2021-10-20T23:45:17.227Z] Step 19/24 : EXPOSE 59999 [2021-10-20T23:45:17.227Z] ---> Running in f53e80f30710 [2021-10-20T23:45:17.227Z] Removing intermediate container f53e80f30710 [2021-10-20T23:45:17.227Z] ---> 29175c0ca6aa [2021-10-20T23:45:17.227Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-20T23:45:17.227Z] ---> Running in 4bd1f3634ab7 [2021-10-20T23:45:17.490Z] Removing intermediate container 4bd1f3634ab7 [2021-10-20T23:45:17.490Z] ---> ba3e058c3caa [2021-10-20T23:45:17.490Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-20T23:45:17.490Z] ---> Running in b0f7f39ce9fe [2021-10-20T23:45:17.490Z] Removing intermediate container b0f7f39ce9fe [2021-10-20T23:45:17.490Z] ---> 12852f97ca80 [2021-10-20T23:45:17.490Z] Step 22/24 : LABEL arch=amd64 [2021-10-20T23:45:17.490Z] ---> Running in ab0fbb46c86d [2021-10-20T23:45:17.752Z] Removing intermediate container ab0fbb46c86d [2021-10-20T23:45:17.752Z] ---> a3ae628a5c03 [2021-10-20T23:45:17.752Z] Step 23/24 : LABEL git_sha=1be87f15213c05ab1957194b5dea87ff4eff74a4 [2021-10-20T23:45:17.752Z] ---> Running in 26de8da9a601 [2021-10-20T23:45:17.752Z] Removing intermediate container 26de8da9a601 [2021-10-20T23:45:17.752Z] ---> d00b430424a0 [2021-10-20T23:45:17.752Z] Step 24/24 : LABEL version=2.0.1-dev.23 [2021-10-20T23:45:17.752Z] ---> Running in 95d929f832a6 [2021-10-20T23:45:17.752Z] Removing intermediate container 95d929f832a6 [2021-10-20T23:45:17.752Z] ---> 8357efda6d5d [2021-10-20T23:45:17.752Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-20T23:45:17.752Z] Successfully built 8357efda6d5d [2021-10-20T23:45:17.752Z] 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-20T23:45:18.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:45:18.426Z] [2021-10-20T23:45:18.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:45:18.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:45:18.728Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-20T23:45:18.728Z] b4d181a07f80: Pulling fs layer [2021-10-20T23:45:18.728Z] a1111a8f2ec3: Pulling fs layer [2021-10-20T23:45:18.728Z] ed53099fbce6: Pulling fs layer [2021-10-20T23:45:18.728Z] dc539afda2c1: Pulling fs layer [2021-10-20T23:45:18.728Z] 77bc0d833cb6: Pulling fs layer [2021-10-20T23:45:18.728Z] 9065ff56babe: Pulling fs layer [2021-10-20T23:45:18.728Z] d287ab97295c: Pulling fs layer [2021-10-20T23:45:18.728Z] dc539afda2c1: Waiting [2021-10-20T23:45:18.728Z] 77bc0d833cb6: Waiting [2021-10-20T23:45:18.728Z] 9065ff56babe: Waiting [2021-10-20T23:45:18.728Z] d287ab97295c: Waiting [2021-10-20T23:45:18.728Z] a1111a8f2ec3: Verifying Checksum [2021-10-20T23:45:18.728Z] a1111a8f2ec3: Download complete [2021-10-20T23:45:18.728Z] dc539afda2c1: Verifying Checksum [2021-10-20T23:45:18.728Z] dc539afda2c1: Download complete [2021-10-20T23:45:18.728Z] ed53099fbce6: Verifying Checksum [2021-10-20T23:45:18.728Z] ed53099fbce6: Download complete [2021-10-20T23:45:18.997Z] 9065ff56babe: Verifying Checksum [2021-10-20T23:45:18.997Z] 9065ff56babe: Download complete [2021-10-20T23:45:18.997Z] b4d181a07f80: Verifying Checksum [2021-10-20T23:45:18.997Z] b4d181a07f80: Download complete [2021-10-20T23:45:18.997Z] 77bc0d833cb6: Verifying Checksum [2021-10-20T23:45:18.997Z] 77bc0d833cb6: Download complete [2021-10-20T23:45:19.577Z] d287ab97295c: Verifying Checksum [2021-10-20T23:45:19.577Z] d287ab97295c: Download complete [2021-10-20T23:45:20.536Z] b4d181a07f80: Pull complete [2021-10-20T23:45:20.536Z] a1111a8f2ec3: Pull complete [2021-10-20T23:45:21.110Z] ed53099fbce6: Pull complete [2021-10-20T23:45:21.110Z] dc539afda2c1: Pull complete [2021-10-20T23:45:21.681Z] 77bc0d833cb6: Pull complete [2021-10-20T23:45:21.681Z] 9065ff56babe: Pull complete [2021-10-20T23:45:27.032Z] d287ab97295c: Pull complete [2021-10-20T23:45:27.032Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-20T23:45:27.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:45:27.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-20T23:45:27.095Z] prd-centos7-docker-4c-2g-731 does not seem to be running inside a container [2021-10-20T23:45:27.128Z] $ 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/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-20T23:45:29.750Z] $ docker top f9e3317e5c3b50b7ae719e254ee3ce478caa8bbca4472c07eeffcff67f4dc21a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:45:30.188Z] ---> job-cost.sh [2021-10-20T23:45:30.188Z] lf-activate-venv: SKIPPING [2021-10-20T23:45:30.188Z] INFO: No Stack... [2021-10-20T23:45:30.449Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-20T23:45:30.710Z] INFO: Archiving Costs [Pipeline] sh [2021-10-20T23:45:31.007Z] + cat /w/workspace/device-sdk-go/22/archives/cost.csv [2021-10-20T23:45:31.007Z] + cut -d, -f6 [Pipeline] lock [2021-10-20T23:45:31.035Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-22-stack-cost] [2021-10-20T23:45:31.044Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-22-stack-cost] did not exist. Created. [2021-10-20T23:45:31.044Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-20T23:45:31.349Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-20T23:45:31.389Z] Stashed 1 file(s) [Pipeline] } [2021-10-20T23:45:31.395Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-20T23:45:31.412Z] $ docker stop --time=1 f9e3317e5c3b50b7ae719e254ee3ce478caa8bbca4472c07eeffcff67f4dc21a [2021-10-20T23:45:32.545Z] $ docker rm -f f9e3317e5c3b50b7ae719e254ee3ce478caa8bbca4472c07eeffcff67f4dc21a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-20T23:45:40.680Z] Removing intermediate container f0752b63fe08 [2021-10-20T23:45:40.680Z] ---> 9b07622ae44e [2021-10-20T23:45:40.680Z] Step 10/10 : RUN ${MAKE} [2021-10-20T23:45:40.680Z] ---> Running in 507bb1c33a69 [2021-10-20T23:45:40.680Z] noop [2021-10-20T23:45:40.680Z] Removing intermediate container 507bb1c33a69 [2021-10-20T23:45:40.680Z] ---> 1a5b73676150 [2021-10-20T23:45:40.680Z] Successfully built 1a5b73676150 [2021-10-20T23:45:40.680Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:45:41.060Z] + docker inspect -f . ci-base-image-arm64 [2021-10-20T23:45:41.060Z] . [Pipeline] withDockerContainer [2021-10-20T23:45:41.325Z] prd-ubuntu18.04-docker-arm64-4c-16g-730 does not seem to be running inside a container [2021-10-20T23:45:41.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-20T23:45:42.991Z] $ docker top 1171f3facc740ad6994fe63e3a453f055c657af03553253a6c2a3ae3f399ea0e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T23:45:43.915Z] + go version [2021-10-20T23:45:43.915Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-20T23:45:43.950Z] $ docker stop --time=1 1171f3facc740ad6994fe63e3a453f055c657af03553253a6c2a3ae3f399ea0e [2021-10-20T23:45:45.734Z] $ docker rm -f 1171f3facc740ad6994fe63e3a453f055c657af03553253a6c2a3ae3f399ea0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:45:46.367Z] + docker inspect -f . ci-base-image-arm64 [2021-10-20T23:45:46.367Z] . [Pipeline] withDockerContainer [2021-10-20T23:45:46.601Z] prd-ubuntu18.04-docker-arm64-4c-16g-730 does not seem to be running inside a container [2021-10-20T23:45:46.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-20T23:45:48.183Z] $ docker top 22732bc1acb65d5f0dcadecc4ef9b671b1b6987ca35df65e903be6ffcbafcf5d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-20T23:45:49.190Z] + make test [2021-10-20T23:45:49.190Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-20T23:46:16.106Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-20T23:47:24.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-20T23:47:24.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-20T23:47:24.342Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-20T23:47:26.392Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.289s coverage: 23.8% of statements [2021-10-20T23:47:26.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-20T23:47:26.392Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.203s coverage: 28.1% of statements [2021-10-20T23:47:26.392Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.257s coverage: 78.9% of statements [2021-10-20T23:47:26.392Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.196s coverage: 9.0% of statements [2021-10-20T23:47:26.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-20T23:47:26.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-20T23:47:26.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-20T23:47:27.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.296s coverage: 28.7% of statements [2021-10-20T23:47:27.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-20T23:47:27.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.315s coverage: 83.3% of statements [2021-10-20T23:47:27.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-20T23:47:27.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-20T23:47:28.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.344s coverage: 57.8% of statements [2021-10-20T23:47:33.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.046s coverage: 88.8% of statements [2021-10-20T23:47:33.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-20T23:47:33.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.191s coverage: 4.9% of statements [2021-10-20T23:47:33.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-20T23:47:33.527Z] GO111MODULE=on go vet ./... [2021-10-20T23:48:30.253Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-20T23:48:30.253Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-20T23:48:30.253Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-20T23:48:31.311Z] $ docker stop --time=1 22732bc1acb65d5f0dcadecc4ef9b671b1b6987ca35df65e903be6ffcbafcf5d [2021-10-20T23:48:33.462Z] $ docker rm -f 22732bc1acb65d5f0dcadecc4ef9b671b1b6987ca35df65e903be6ffcbafcf5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-20T23:48:34.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-20T23:48:34.677Z] Warning: overwriting stash ‘coverage-report’ [2021-10-20T23:48:35.779Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-20T23:48:36.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-20T23:48:36.709Z] + ls -al . [2021-10-20T23:48:36.710Z] total 300 [2021-10-20T23:48:36.710Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 23:48 . [2021-10-20T23:48:36.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 23:43 .. [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 23:43 .dockerignore [2021-10-20T23:48:36.710Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 23:43 .git [2021-10-20T23:48:36.710Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 23:43 .github [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 20 23:43 .gitignore [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 20 23:43 CHANGELOG.md [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 23:43 GOVERNANCE.md [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 20 23:43 Jenkinsfile [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 23:43 LICENSE [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 20 23:43 Makefile [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 20 23:43 OWNERS.md [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 20 23:43 README.md [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 20 23:40 VERSION [2021-10-20T23:48:36.710Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 23:43 bin [2021-10-20T23:48:36.710Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 20 23:47 coverage.out [2021-10-20T23:48:36.710Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 23:43 example [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 20 23:43 go.mod [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 49868 Oct 20 23:43 go.sum [2021-10-20T23:48:36.710Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 20 23:43 internal [2021-10-20T23:48:36.710Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 23:43 openapi [2021-10-20T23:48:36.710Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 23:43 pkg [2021-10-20T23:48:36.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 23:43 snap [2021-10-20T23:48:36.710Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 23:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:48:37.074Z] + 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=1be87f15213c05ab1957194b5dea87ff4eff74a4 --label arch=arm64 --label version=2.0.1-dev.23 . [2021-10-20T23:48:37.680Z] Sending build context to Docker daemon 2.827MB [2021-10-20T23:48:37.680Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-20T23:48:37.680Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-20T23:48:37.680Z] ---> 1a5b73676150 [2021-10-20T23:48:37.680Z] Step 3/24 : ARG MAKE=make build [2021-10-20T23:48:37.959Z] ---> Running in 6e7eae102c66 [2021-10-20T23:48:38.237Z] Removing intermediate container 6e7eae102c66 [2021-10-20T23:48:38.237Z] ---> d42d890322f7 [2021-10-20T23:48:38.237Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-20T23:48:38.516Z] ---> Running in 68974da50eb9 [2021-10-20T23:48:39.124Z] Removing intermediate container 68974da50eb9 [2021-10-20T23:48:39.124Z] ---> 06214fa15923 [2021-10-20T23:48:39.124Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T23:48:39.124Z] ---> Running in f03411f60d95 [2021-10-20T23:48:39.730Z] Removing intermediate container f03411f60d95 [2021-10-20T23:48:39.730Z] ---> 6213128c661e [2021-10-20T23:48:39.730Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T23:48:39.730Z] ---> Running in a972b9bc9756 [2021-10-20T23:48:41.734Z] Removing intermediate container a972b9bc9756 [2021-10-20T23:48:41.734Z] ---> 1567ff2e78bf [2021-10-20T23:48:41.734Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-20T23:48:42.012Z] ---> Running in 88b46c9ce28d [2021-10-20T23:48:43.488Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-20T23:48:44.484Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-20T23:48:45.094Z] OK: 219 MiB in 52 packages [2021-10-20T23:48:46.117Z] Removing intermediate container 88b46c9ce28d [2021-10-20T23:48:46.117Z] ---> 53f4806c3ad2 [2021-10-20T23:48:46.117Z] Step 8/24 : COPY . . [2021-10-20T23:48:47.612Z] ---> 92abb086bbef [2021-10-20T23:48:47.612Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-20T23:48:47.612Z] ---> Running in 87aab6cbc287 [2021-10-20T23:48:50.471Z] Removing intermediate container 87aab6cbc287 [2021-10-20T23:48:50.471Z] ---> 5a74d6c56ab5 [2021-10-20T23:48:50.471Z] Step 10/24 : RUN ${MAKE} [2021-10-20T23:48:50.471Z] ---> Running in ce072a19c98e [2021-10-20T23:48:51.470Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.23" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-20T23:49:23.946Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-20T23:49:26.585Z] Removing intermediate container ce072a19c98e [2021-10-20T23:49:26.585Z] ---> ef3f5d92716e [2021-10-20T23:49:26.585Z] Step 11/24 : FROM alpine:3.14 [2021-10-20T23:49:27.574Z] 3.14: Pulling from library/alpine [2021-10-20T23:49:27.574Z] 552d1f2373af: Already exists [2021-10-20T23:49:27.852Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-20T23:49:27.852Z] Status: Downloaded newer image for alpine:3.14 [2021-10-20T23:49:27.852Z] ---> bb3de5531c18 [2021-10-20T23:49:27.852Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T23:49:28.129Z] ---> Running in 563a4a6bcfa0 [2021-10-20T23:49:28.406Z] Removing intermediate container 563a4a6bcfa0 [2021-10-20T23:49:28.406Z] ---> dc4152d4d8f4 [2021-10-20T23:49:28.406Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T23:49:28.684Z] ---> Running in 663c43e7371e [2021-10-20T23:49:30.688Z] Removing intermediate container 663c43e7371e [2021-10-20T23:49:30.688Z] ---> 1e30537b344e [2021-10-20T23:49:30.688Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-20T23:49:30.688Z] ---> Running in 274ba123b530 [2021-10-20T23:49:32.148Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-20T23:49:32.754Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-20T23:49:33.744Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-20T23:49:33.744Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-20T23:49:33.744Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-20T23:49:34.022Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-20T23:49:34.022Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-20T23:49:34.299Z] Executing busybox-1.33.1-r3.trigger [2021-10-20T23:49:34.299Z] OK: 8 MiB in 19 packages [2021-10-20T23:49:35.759Z] Removing intermediate container 274ba123b530 [2021-10-20T23:49:35.759Z] ---> 2e2a06ee2e06 [2021-10-20T23:49:35.759Z] Step 15/24 : WORKDIR / [2021-10-20T23:49:35.759Z] ---> Running in 694d43804126 [2021-10-20T23:49:36.039Z] Removing intermediate container 694d43804126 [2021-10-20T23:49:36.039Z] ---> 7e7b4ca82913 [2021-10-20T23:49:36.039Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-20T23:49:37.033Z] ---> e549a9c9cd06 [2021-10-20T23:49:37.033Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-20T23:49:38.491Z] ---> a7750ac0763c [2021-10-20T23:49:38.491Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-20T23:49:39.096Z] ---> c0fd9c83efd8 [2021-10-20T23:49:39.096Z] Step 19/24 : EXPOSE 59999 [2021-10-20T23:49:39.377Z] ---> Running in c4a6be336d60 [2021-10-20T23:49:39.657Z] Removing intermediate container c4a6be336d60 [2021-10-20T23:49:39.657Z] ---> 8c6d7543fc71 [2021-10-20T23:49:39.657Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-20T23:49:39.936Z] ---> Running in 686099bcc5c9 [2021-10-20T23:49:40.539Z] Removing intermediate container 686099bcc5c9 [2021-10-20T23:49:40.539Z] ---> 8cc2eb8caf9c [2021-10-20T23:49:40.539Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-20T23:49:40.539Z] ---> Running in 18ad81cf4eb0 [2021-10-20T23:49:41.143Z] Removing intermediate container 18ad81cf4eb0 [2021-10-20T23:49:41.143Z] ---> ec207f464175 [2021-10-20T23:49:41.143Z] Step 22/24 : LABEL arch=arm64 [2021-10-20T23:49:41.143Z] ---> Running in b17756cef13f [2021-10-20T23:49:41.747Z] Removing intermediate container b17756cef13f [2021-10-20T23:49:41.747Z] ---> 0fb80521b032 [2021-10-20T23:49:41.747Z] Step 23/24 : LABEL git_sha=1be87f15213c05ab1957194b5dea87ff4eff74a4 [2021-10-20T23:49:41.747Z] ---> Running in 2ca271bbd040 [2021-10-20T23:49:42.353Z] Removing intermediate container 2ca271bbd040 [2021-10-20T23:49:42.353Z] ---> 31974cdb3266 [2021-10-20T23:49:42.353Z] Step 24/24 : LABEL version=2.0.1-dev.23 [2021-10-20T23:49:42.353Z] ---> Running in 9e54aa99f0b5 [2021-10-20T23:49:42.961Z] Removing intermediate container 9e54aa99f0b5 [2021-10-20T23:49:42.961Z] ---> 645af496b06f [2021-10-20T23:49:42.961Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-20T23:49:42.961Z] Successfully built 645af496b06f [2021-10-20T23:49:42.961Z] 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-20T23:49:43.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T23:49:43.610Z] [2021-10-20T23:49:43.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:49:44.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T23:49:44.540Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-20T23:49:44.540Z] 448f6bf000e3: Pulling fs layer [2021-10-20T23:49:44.540Z] f757da607395: Pulling fs layer [2021-10-20T23:49:44.540Z] 05883995daec: Pulling fs layer [2021-10-20T23:49:44.540Z] 8603b9c90790: Pulling fs layer [2021-10-20T23:49:44.540Z] 1560dd03e051: Pulling fs layer [2021-10-20T23:49:44.540Z] 27f5ce0e4adf: Pulling fs layer [2021-10-20T23:49:44.540Z] c2d8d7efcc4b: Pulling fs layer [2021-10-20T23:49:44.540Z] 1560dd03e051: Waiting [2021-10-20T23:49:44.540Z] 27f5ce0e4adf: Waiting [2021-10-20T23:49:44.540Z] c2d8d7efcc4b: Waiting [2021-10-20T23:49:44.540Z] 8603b9c90790: Waiting [2021-10-20T23:49:44.822Z] f757da607395: Verifying Checksum [2021-10-20T23:49:44.822Z] f757da607395: Download complete [2021-10-20T23:49:44.822Z] 8603b9c90790: Verifying Checksum [2021-10-20T23:49:44.822Z] 8603b9c90790: Download complete [2021-10-20T23:49:44.822Z] 05883995daec: Verifying Checksum [2021-10-20T23:49:44.822Z] 05883995daec: Download complete [2021-10-20T23:49:44.822Z] 27f5ce0e4adf: Verifying Checksum [2021-10-20T23:49:44.822Z] 27f5ce0e4adf: Download complete [2021-10-20T23:49:44.822Z] 1560dd03e051: Verifying Checksum [2021-10-20T23:49:44.822Z] 1560dd03e051: Download complete [2021-10-20T23:49:45.434Z] 448f6bf000e3: Verifying Checksum [2021-10-20T23:49:45.434Z] 448f6bf000e3: Download complete [2021-10-20T23:49:48.132Z] c2d8d7efcc4b: Verifying Checksum [2021-10-20T23:49:48.132Z] c2d8d7efcc4b: Download complete [2021-10-20T23:49:49.143Z] 448f6bf000e3: Pull complete [2021-10-20T23:49:49.774Z] f757da607395: Pull complete [2021-10-20T23:49:51.827Z] 05883995daec: Pull complete [2021-10-20T23:49:51.827Z] 8603b9c90790: Pull complete [2021-10-20T23:49:52.824Z] 1560dd03e051: Pull complete [2021-10-20T23:49:53.102Z] 27f5ce0e4adf: Pull complete [2021-10-20T23:50:08.260Z] c2d8d7efcc4b: Pull complete [2021-10-20T23:50:08.260Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-20T23:50:08.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T23:50:08.260Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-20T23:50:08.545Z] prd-ubuntu18.04-docker-arm64-4c-16g-730 does not seem to be running inside a container [2021-10-20T23:50:08.689Z] $ 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/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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-20T23:50:12.838Z] $ docker top e47ea6267b672553f2310bea98e48417840918a4274e5c85e85831be7adc4886 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:50:13.794Z] ---> job-cost.sh [2021-10-20T23:50:13.794Z] lf-activate-venv: SKIPPING [2021-10-20T23:50:13.794Z] INFO: No Stack... [2021-10-20T23:50:14.073Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-20T23:50:14.675Z] INFO: Archiving Costs [Pipeline] sh [2021-10-20T23:50:15.349Z] + cut -d, -f6 [2021-10-20T23:50:15.349Z] + cat /w/workspace/device-sdk-go/22/archives/cost.csv [Pipeline] lock [2021-10-20T23:50:15.441Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-22-stack-cost] [2021-10-20T23:50:15.447Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-22-stack-cost] did not exist. Created. [2021-10-20T23:50:15.447Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-20T23:50:16.140Z] /w/workspace/device-sdk-go/22@tmp/durable-723d241c/script.sh: 1: /w/workspace/device-sdk-go/22@tmp/durable-723d241c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-20T23:50:16.831Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-20T23:50:16.853Z] Warning: overwriting stash ‘stack-cost’ [2021-10-20T23:50:16.926Z] Stashed 1 file(s) [Pipeline] } [2021-10-20T23:50:16.935Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-20T23:50:16.962Z] $ docker stop --time=1 e47ea6267b672553f2310bea98e48417840918a4274e5c85e85831be7adc4886 [2021-10-20T23:50:18.586Z] $ docker rm -f e47ea6267b672553f2310bea98e48417840918a4274e5c85e85831be7adc4886 [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-20T23:50:19.362Z] provisioning config files... [2021-10-20T23:50:19.373Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4884762632575122846tmp [Pipeline] { [Pipeline] sh [2021-10-20T23:50:19.673Z] + set +x [2021-10-20T23:50:19.673Z] + curl -s https://codecov.io/bash [2021-10-20T23:50:19.673Z] + bash -s -- [2021-10-20T23:50:19.673Z] [2021-10-20T23:50:19.673Z] _____ _ [2021-10-20T23:50:19.673Z] / ____| | | [2021-10-20T23:50:19.673Z] | | ___ __| | ___ ___ _____ __ [2021-10-20T23:50:19.673Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-20T23:50:19.673Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-20T23:50:19.673Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-20T23:50:19.673Z] Bash-1.0.6 [2021-10-20T23:50:19.673Z] [2021-10-20T23:50:19.673Z] [2021-10-20T23:50:19.673Z] ==> git version 2.24.4 found [2021-10-20T23:50:19.673Z] ==> 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-20T23:50:19.674Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-20T23:50:19.674Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-20T23:50:19.674Z] ==> Jenkins CI detected. [2021-10-20T23:50:19.674Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-20T23:50:19.674Z] project root: . [2021-10-20T23:50:19.674Z] --> token set from env [2021-10-20T23:50:19.674Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-20T23:50:19.934Z] ==> Running gcov in . (disable via -X gcov) [2021-10-20T23:50:19.934Z] ==> Python coveragepy not found [2021-10-20T23:50:19.934Z] ==> Searching for coverage reports in: [2021-10-20T23:50:19.934Z] + . [2021-10-20T23:50:19.934Z] -> Found 1 reports [2021-10-20T23:50:19.934Z] ==> Detecting git/mercurial file structure [2021-10-20T23:50:19.934Z] ==> Reading reports [2021-10-20T23:50:19.934Z] + ./coverage.out bytes=126785 [2021-10-20T23:50:19.934Z] ==> Appending adjustments [2021-10-20T23:50:19.934Z] https://docs.codecov.io/docs/fixing-reports [2021-10-20T23:50:20.197Z] + Found adjustments [2021-10-20T23:50:20.197Z] ==> Gzipping contents [2021-10-20T23:50:20.197Z] 16K /tmp/codecov.peHcDG.gz [2021-10-20T23:50:20.197Z] ==> Uploading reports [2021-10-20T23:50:20.197Z] url: https://codecov.io [2021-10-20T23:50:20.197Z] query: branch=main&commit=1be87f15213c05ab1957194b5dea87ff4eff74a4&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-20T23:50:20.197Z] -> Pinging Codecov [2021-10-20T23:50:20.197Z] 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=1be87f15213c05ab1957194b5dea87ff4eff74a4&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-20T23:50:20.459Z] -> Uploading to [2021-10-20T23:50:20.459Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-20/7E55EF52A471D76F132DFD9A03CDDE97/1be87f15213c05ab1957194b5dea87ff4eff74a4/c6275708-a5ca-4180-bb37-bc76c544ae73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211020T235020Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6211a4d788d7017c7112e6dcf62abd684441a62dbdfdeaf14bfe2e4530f727ed [2021-10-20T23:50:20.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-20T23:50:20.459Z] Dload Upload Total Spent Left Speed [2021-10-20T23:50:20.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16182 0 0 100 16182 0 54539 --:--:-- --:--:-- --:--:-- 54484 [2021-10-20T23:50:20.718Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1be87f15213c05ab1957194b5dea87ff4eff74a4 [Pipeline] } [2021-10-20T23:50:20.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-20T23:50:21.197Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-20T23:50:21.209Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:50:21.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-20T23:50:21.500Z] [2021-10-20T23:50:21.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:50:21.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-20T23:50:21.803Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-20T23:50:21.803Z] 188c0c94c7c5: Pulling fs layer [2021-10-20T23:50:21.803Z] 0ef7d3d256c8: Pulling fs layer [2021-10-20T23:50:21.803Z] de9db76c5a1d: Pulling fs layer [2021-10-20T23:50:21.803Z] 0eba1c9be4d2: Pulling fs layer [2021-10-20T23:50:21.803Z] 0d57e429df01: Pulling fs layer [2021-10-20T23:50:21.803Z] 4e4be7b47b0d: Pulling fs layer [2021-10-20T23:50:21.803Z] e1f770b5df2f: Pulling fs layer [2021-10-20T23:50:21.803Z] 85a0685a4137: Pulling fs layer [2021-10-20T23:50:21.803Z] 0eba1c9be4d2: Waiting [2021-10-20T23:50:21.803Z] 0d57e429df01: Waiting [2021-10-20T23:50:21.803Z] 4e4be7b47b0d: Waiting [2021-10-20T23:50:21.803Z] e1f770b5df2f: Waiting [2021-10-20T23:50:21.803Z] 85a0685a4137: Waiting [2021-10-20T23:50:21.803Z] de9db76c5a1d: Download complete [2021-10-20T23:50:21.803Z] 0ef7d3d256c8: Download complete [2021-10-20T23:50:21.803Z] 0d57e429df01: Verifying Checksum [2021-10-20T23:50:21.803Z] 0d57e429df01: Download complete [2021-10-20T23:50:21.803Z] 4e4be7b47b0d: Verifying Checksum [2021-10-20T23:50:21.803Z] 4e4be7b47b0d: Download complete [2021-10-20T23:50:21.803Z] 188c0c94c7c5: Verifying Checksum [2021-10-20T23:50:21.803Z] 188c0c94c7c5: Download complete [2021-10-20T23:50:22.080Z] 188c0c94c7c5: Pull complete [2021-10-20T23:50:22.080Z] e1f770b5df2f: Verifying Checksum [2021-10-20T23:50:22.080Z] e1f770b5df2f: Download complete [2021-10-20T23:50:22.369Z] 0ef7d3d256c8: Pull complete [2021-10-20T23:50:22.369Z] de9db76c5a1d: Pull complete [2021-10-20T23:50:22.634Z] 0eba1c9be4d2: Verifying Checksum [2021-10-20T23:50:22.634Z] 0eba1c9be4d2: Download complete [2021-10-20T23:50:22.895Z] 85a0685a4137: Verifying Checksum [2021-10-20T23:50:22.895Z] 85a0685a4137: Download complete [2021-10-20T23:50:26.218Z] 0eba1c9be4d2: Pull complete [2021-10-20T23:50:26.218Z] 0d57e429df01: Pull complete [2021-10-20T23:50:26.218Z] 4e4be7b47b0d: Pull complete [2021-10-20T23:50:26.802Z] e1f770b5df2f: Pull complete [2021-10-20T23:50:31.024Z] 85a0685a4137: Pull complete [2021-10-20T23:50:31.024Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-20T23:50:31.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-20T23:50:31.024Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-20T23:50:31.083Z] prd-centos7-docker-4c-2g-729 does not seem to be running inside a container [2021-10-20T23:50:31.123Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-20T23:50:32.672Z] $ docker top d5ccd87b228cb9f4bf4d812ef696c02de5bf30f5b49005b43e7f9fc220e62ed1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-20T23:50:32.744Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-20T23:50:33.036Z] + set -o pipefail [2021-10-20T23:50:33.036Z] + snyk monitor '--org=edgex-jenkins' [2021-10-20T23:50:39.648Z] [2021-10-20T23:50:39.648Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-20T23:50:39.648Z] [2021-10-20T23:50:39.648Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/b8eb0e68-7524-412c-ac59-5a494417e799 [2021-10-20T23:50:39.648Z] [2021-10-20T23:50:39.648Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-20T23:50:39.648Z] [2021-10-20T23:50:39.648Z] [Pipeline] } [2021-10-20T23:50:39.658Z] $ docker stop --time=1 d5ccd87b228cb9f4bf4d812ef696c02de5bf30f5b49005b43e7f9fc220e62ed1 [2021-10-20T23:50:41.457Z] $ docker rm -f d5ccd87b228cb9f4bf4d812ef696c02de5bf30f5b49005b43e7f9fc220e62ed1 [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-20T23:50:41.995Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T23:50:42.002Z] provisioning config files... [2021-10-20T23:50:42.010Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config970341382474572611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:50:42.307Z] --> edgex-publish-swagger.sh [2021-10-20T23:50:42.308Z] === Publish openapi/v2 API === [2021-10-20T23:50:42.308Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-20T23:50:42.308Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-20T23:50:42.308Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-20T23:50:42.308Z] Dload Upload Total Spent Left Speed [2021-10-20T23:50:43.246Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 64269 --:--:-- --:--:-- --:--:-- 64252 100 51659 0 0 100 51659 0 64258 --:--:-- --:--:-- --:--:-- 64252 [2021-10-20T23:50:43.246Z] [2021-10-20T23:50:43.246Z] [Pipeline] } [2021-10-20T23:50:43.253Z] 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-20T23:50:43.666Z] + git log --format=format:%s -1 1be87f15213c05ab1957194b5dea87ff4eff74a4 [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:50:43.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:50:43.962Z] . [Pipeline] withDockerContainer [2021-10-20T23:50:44.020Z] prd-centos7-docker-4c-2g-729 does not seem to be running inside a container [2021-10-20T23:50:44.050Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-20T23:50:44.396Z] $ docker top a43c4d9871f54cc46d15312184149eeaef54bdb454b521f703f6ac7c1174ca69 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-20T23:50:44.481Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T23:50:44.481Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T23:50:44.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T23:50:44.586Z] $ docker exec a43c4d9871f54cc46d15312184149eeaef54bdb454b521f703f6ac7c1174ca69 ssh-agent [2021-10-20T23:50:44.691Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOnnfKa/agent.13 [2021-10-20T23:50:44.691Z] SSH_AGENT_PID=20 [2021-10-20T23:50:44.700Z] Running ssh-add (command line suppressed) [2021-10-20T23:50:44.795Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4045311692573478322.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4045311692573478322.key) [2021-10-20T23:50:44.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T23:50:45.101Z] + git semver tag [2021-10-20T23:50:45.101Z] # -> Open(): unable to determine branch for HEAD [2021-10-20T23:50:45.101Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-20T23:50:45.101Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-20T23:50:45.101Z] # $SEMVER_REMOTE_NAME = origin [2021-10-20T23:50:45.101Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-20T23:50:45.101Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-20T23:50:45.101Z] # $SEMVER_BRANCH = main [2021-10-20T23:50:45.101Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-20T23:50:45.101Z] # 1be87f15213c05ab1957194b5dea87ff4eff74a4 HEAD [2021-10-20T23:50:45.101Z] # -> Force: false [2021-10-20T23:50:45.101Z] # 5411fe8af751b6539164ba087f493e6ef9dcae69 refs/tags/v2.0.1-dev.23 [Pipeline] } [2021-10-20T23:50:45.116Z] $ docker exec --env ******** --env ******** a43c4d9871f54cc46d15312184149eeaef54bdb454b521f703f6ac7c1174ca69 ssh-agent -k [2021-10-20T23:50:45.206Z] unset SSH_AUTH_SOCK; [2021-10-20T23:50:45.207Z] unset SSH_AGENT_PID; [2021-10-20T23:50:45.207Z] echo Agent pid 20 killed; [2021-10-20T23:50:45.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-20T23:50:45.527Z] + git semver [Pipeline] } [2021-10-20T23:50:45.539Z] $ docker stop --time=1 a43c4d9871f54cc46d15312184149eeaef54bdb454b521f703f6ac7c1174ca69 [2021-10-20T23:50:46.727Z] $ docker rm -f a43c4d9871f54cc46d15312184149eeaef54bdb454b521f703f6ac7c1174ca69 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:50:47.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-20T23:50:47.100Z] [2021-10-20T23:50:47.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:50:47.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-20T23:50:47.407Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-20T23:50:47.407Z] ab5ef0e58194: Pulling fs layer [2021-10-20T23:50:47.407Z] 9712f1f96733: Pulling fs layer [2021-10-20T23:50:47.407Z] 63f879dbbcfc: Pulling fs layer [2021-10-20T23:50:47.407Z] 0d9ebad4ef96: Pulling fs layer [2021-10-20T23:50:47.407Z] e9a5061849ea: Pulling fs layer [2021-10-20T23:50:47.407Z] d747dcd14b5f: Pulling fs layer [2021-10-20T23:50:47.407Z] 2de7ff778b66: Pulling fs layer [2021-10-20T23:50:47.407Z] 0d9ebad4ef96: Waiting [2021-10-20T23:50:47.407Z] e9a5061849ea: Waiting [2021-10-20T23:50:47.407Z] d747dcd14b5f: Waiting [2021-10-20T23:50:47.407Z] 2de7ff778b66: Waiting [2021-10-20T23:50:47.407Z] 9712f1f96733: Verifying Checksum [2021-10-20T23:50:47.407Z] 9712f1f96733: Download complete [2021-10-20T23:50:48.002Z] 63f879dbbcfc: Verifying Checksum [2021-10-20T23:50:48.002Z] 63f879dbbcfc: Download complete [2021-10-20T23:50:48.002Z] ab5ef0e58194: Verifying Checksum [2021-10-20T23:50:48.002Z] ab5ef0e58194: Download complete [2021-10-20T23:50:48.002Z] d747dcd14b5f: Verifying Checksum [2021-10-20T23:50:48.002Z] d747dcd14b5f: Download complete [2021-10-20T23:50:48.002Z] 0d9ebad4ef96: Verifying Checksum [2021-10-20T23:50:48.002Z] 0d9ebad4ef96: Download complete [2021-10-20T23:50:48.002Z] e9a5061849ea: Verifying Checksum [2021-10-20T23:50:48.002Z] e9a5061849ea: Download complete [2021-10-20T23:50:48.272Z] 2de7ff778b66: Verifying Checksum [2021-10-20T23:50:48.272Z] 2de7ff778b66: Download complete [2021-10-20T23:50:51.606Z] ab5ef0e58194: Pull complete [2021-10-20T23:50:51.606Z] 9712f1f96733: Pull complete [2021-10-20T23:50:51.870Z] 63f879dbbcfc: Pull complete [2021-10-20T23:50:56.115Z] 0d9ebad4ef96: Pull complete [2021-10-20T23:50:56.386Z] e9a5061849ea: Pull complete [2021-10-20T23:50:56.386Z] d747dcd14b5f: Pull complete [2021-10-20T23:50:57.775Z] 2de7ff778b66: Pull complete [2021-10-20T23:50:57.775Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-20T23:50:57.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-20T23:50:57.775Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-20T23:50:57.845Z] prd-centos7-docker-4c-2g-729 does not seem to be running inside a container [2021-10-20T23:50:57.888Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-20T23:51:00.902Z] $ docker top 224be2b81d593175e4244e72601ebb9c61564e71afa59176838f8a1a2215a51e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-20T23:51:00.978Z] provisioning config files... [2021-10-20T23:51:00.990Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6653832053819055736tmp [2021-10-20T23:51:01.001Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3787957305904380180tmp [2021-10-20T23:51:01.012Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7924693201519773989tmp [Pipeline] { [Pipeline] echo [2021-10-20T23:51:01.029Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:01.326Z] ---> sigul-configuration.sh [2021-10-20T23:51:01.326Z] gpg: directory `/root/.gnupg' created [2021-10-20T23:51:01.326Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-20T23:51:01.326Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-20T23:51:01.326Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-20T23:51:01.326Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-20T23:51:01.326Z] gpg: CAST5 encrypted data [2021-10-20T23:51:01.326Z] gpg: encrypted with 1 passphrase [2021-10-20T23:51:01.326Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-20T23:51:01.613Z] + mkdir /home/jenkins [2021-10-20T23:51:01.613Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-20T23:51:01.904Z] + 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-20T23:51:01.912Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:02.205Z] ---> sigul-install.sh [2021-10-20T23:51:02.206Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-20T23:51:02.493Z] + git tag --list [2021-10-20T23:51:02.493Z] 0.7.1 [2021-10-20T23:51:02.493Z] delhi-tag [2021-10-20T23:51:02.493Z] v1.0.0 [2021-10-20T23:51:02.493Z] v1.1.0 [2021-10-20T23:51:02.493Z] v1.1.1 [2021-10-20T23:51:02.493Z] v1.1.2 [2021-10-20T23:51:02.493Z] v1.2.0 [2021-10-20T23:51:02.493Z] v1.2.1 [2021-10-20T23:51:02.493Z] v1.2.2 [2021-10-20T23:51:02.493Z] v1.2.3 [2021-10-20T23:51:02.493Z] v1.3.0 [2021-10-20T23:51:02.493Z] v1.4.0 [2021-10-20T23:51:02.493Z] v2.0.0 [2021-10-20T23:51:02.493Z] v2.0.1-dev.1 [2021-10-20T23:51:02.493Z] v2.0.1-dev.10 [2021-10-20T23:51:02.493Z] v2.0.1-dev.11 [2021-10-20T23:51:02.493Z] v2.0.1-dev.12 [2021-10-20T23:51:02.493Z] v2.0.1-dev.13 [2021-10-20T23:51:02.493Z] v2.0.1-dev.14 [2021-10-20T23:51:02.493Z] v2.0.1-dev.15 [2021-10-20T23:51:02.493Z] v2.0.1-dev.16 [2021-10-20T23:51:02.493Z] v2.0.1-dev.17 [2021-10-20T23:51:02.493Z] v2.0.1-dev.18 [2021-10-20T23:51:02.493Z] v2.0.1-dev.19 [2021-10-20T23:51:02.493Z] v2.0.1-dev.2 [2021-10-20T23:51:02.493Z] v2.0.1-dev.20 [2021-10-20T23:51:02.493Z] v2.0.1-dev.21 [2021-10-20T23:51:02.493Z] v2.0.1-dev.22 [2021-10-20T23:51:02.493Z] v2.0.1-dev.23 [2021-10-20T23:51:02.493Z] v2.0.1-dev.3 [2021-10-20T23:51:02.493Z] v2.0.1-dev.4 [2021-10-20T23:51:02.493Z] v2.0.1-dev.5 [2021-10-20T23:51:02.493Z] v2.0.1-dev.6 [2021-10-20T23:51:02.493Z] v2.0.1-dev.7 [2021-10-20T23:51:02.493Z] v2.0.1-dev.8 [2021-10-20T23:51:02.493Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-20T23:51:02.792Z] + lftools sign git-tag v2.0.1-dev.23 [2021-10-20T23:51:03.364Z] Signing Git tag with Sigul... [2021-10-20T23:51:03.364Z] Signing v2.0.1-dev.23 [Pipeline] echo [2021-10-20T23:51:04.312Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:04.601Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-20T23:51:04.608Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-20T23:51:04.627Z] $ docker stop --time=1 224be2b81d593175e4244e72601ebb9c61564e71afa59176838f8a1a2215a51e [2021-10-20T23:51:05.810Z] $ docker rm -f 224be2b81d593175e4244e72601ebb9c61564e71afa59176838f8a1a2215a51e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:51:06.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:51:06.362Z] . [Pipeline] withDockerContainer [2021-10-20T23:51:06.418Z] prd-centos7-docker-4c-2g-729 does not seem to be running inside a container [2021-10-20T23:51:06.455Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-20T23:51:06.784Z] $ docker top 3d65a812194ae08b8cc352dbfb0cc2ef59d6320fdc90ddfedb8d02cf3c8f8ff4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-20T23:51:06.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T23:51:06.878Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T23:51:06.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T23:51:06.987Z] $ docker exec 3d65a812194ae08b8cc352dbfb0cc2ef59d6320fdc90ddfedb8d02cf3c8f8ff4 ssh-agent [2021-10-20T23:51:07.081Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXadaldn/agent.13 [2021-10-20T23:51:07.081Z] SSH_AGENT_PID=19 [2021-10-20T23:51:07.086Z] Running ssh-add (command line suppressed) [2021-10-20T23:51:07.205Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6282160625756739567.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6282160625756739567.key) [2021-10-20T23:51:07.219Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T23:51:07.511Z] + git semver bump pre [2021-10-20T23:51:07.511Z] # -> Open(): unable to determine branch for HEAD [2021-10-20T23:51:07.511Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-20T23:51:07.511Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-20T23:51:07.511Z] # $SEMVER_REMOTE_NAME = origin [2021-10-20T23:51:07.511Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-20T23:51:07.511Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-20T23:51:07.511Z] # $SEMVER_BRANCH = main [2021-10-20T23:51:07.511Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-20T23:51:07.511Z] 2.0.1-dev.24 [Pipeline] } [2021-10-20T23:51:07.522Z] $ docker exec --env ******** --env ******** 3d65a812194ae08b8cc352dbfb0cc2ef59d6320fdc90ddfedb8d02cf3c8f8ff4 ssh-agent -k [2021-10-20T23:51:07.613Z] unset SSH_AUTH_SOCK; [2021-10-20T23:51:07.614Z] unset SSH_AGENT_PID; [2021-10-20T23:51:07.614Z] echo Agent pid 19 killed; [2021-10-20T23:51:07.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-20T23:51:07.922Z] + git semver [Pipeline] } [2021-10-20T23:51:07.933Z] $ docker stop --time=1 3d65a812194ae08b8cc352dbfb0cc2ef59d6320fdc90ddfedb8d02cf3c8f8ff4 [2021-10-20T23:51:09.117Z] $ docker rm -f 3d65a812194ae08b8cc352dbfb0cc2ef59d6320fdc90ddfedb8d02cf3c8f8ff4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:51:09.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:51:09.460Z] . [Pipeline] withDockerContainer [2021-10-20T23:51:09.516Z] prd-centos7-docker-4c-2g-729 does not seem to be running inside a container [2021-10-20T23:51:09.563Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-20T23:51:09.922Z] $ docker top 4dbbbdf5074b5abdc836bc19e7f76ef229edb3754c47b48d13cedce6241de082 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-20T23:51:10.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T23:51:10.000Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T23:51:10.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T23:51:10.123Z] $ docker exec 4dbbbdf5074b5abdc836bc19e7f76ef229edb3754c47b48d13cedce6241de082 ssh-agent [2021-10-20T23:51:10.276Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLIojFb/agent.12 [2021-10-20T23:51:10.276Z] SSH_AGENT_PID=19 [2021-10-20T23:51:10.306Z] Running ssh-add (command line suppressed) [2021-10-20T23:51:10.423Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4169372450095517936.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4169372450095517936.key) [2021-10-20T23:51:10.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T23:51:10.809Z] + git semver push [2021-10-20T23:51:10.809Z] # -> Open(): unable to determine branch for HEAD [2021-10-20T23:51:10.809Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-20T23:51:10.809Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-20T23:51:10.809Z] # $SEMVER_REMOTE_NAME = origin [2021-10-20T23:51:10.810Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-20T23:51:10.810Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-20T23:51:10.810Z] # $SEMVER_BRANCH = main [2021-10-20T23:51:10.810Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-20T23:51:12.739Z] $ docker exec --env ******** --env ******** 4dbbbdf5074b5abdc836bc19e7f76ef229edb3754c47b48d13cedce6241de082 ssh-agent -k [2021-10-20T23:51:12.824Z] unset SSH_AUTH_SOCK; [2021-10-20T23:51:12.824Z] unset SSH_AGENT_PID; [2021-10-20T23:51:12.824Z] echo Agent pid 19 killed; [2021-10-20T23:51:12.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-20T23:51:13.144Z] + git semver [Pipeline] } [2021-10-20T23:51:13.156Z] $ docker stop --time=1 4dbbbdf5074b5abdc836bc19e7f76ef229edb3754c47b48d13cedce6241de082 [2021-10-20T23:51:14.339Z] $ docker rm -f 4dbbbdf5074b5abdc836bc19e7f76ef229edb3754c47b48d13cedce6241de082 [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-20T23:51:15.228Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:15.525Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:16.076Z] ---> package-listing.sh [2021-10-20T23:51:16.076Z] ++ facter osfamily [2021-10-20T23:51:16.076Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-20T23:51:16.338Z] + OS_FAMILY=redhat [2021-10-20T23:51:16.338Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-20T23:51:16.338Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-20T23:51:16.338Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-20T23:51:16.338Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-20T23:51:16.338Z] + PACKAGES=/tmp/packages_start.txt [2021-10-20T23:51:16.338Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-20T23:51:16.338Z] + PACKAGES=/tmp/packages_end.txt [2021-10-20T23:51:16.338Z] + case "${OS_FAMILY}" in [2021-10-20T23:51:16.338Z] + rpm -qa [2021-10-20T23:51:16.338Z] + sort [2021-10-20T23:51:16.910Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-20T23:51:16.910Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-20T23:51:16.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-20T23:51:16.910Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-20T23:51:16.910Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-20T23:51:16.910Z] + 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-20T23:51:16.922Z] 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-20T23:51:17.205Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:51:17.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:51:17.755Z] [2021-10-20T23:51:17.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:51:18.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:51:18.062Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-20T23:51:18.062Z] b4d181a07f80: Pulling fs layer [2021-10-20T23:51:18.062Z] a1111a8f2ec3: Pulling fs layer [2021-10-20T23:51:18.062Z] ed53099fbce6: Pulling fs layer [2021-10-20T23:51:18.062Z] dc539afda2c1: Pulling fs layer [2021-10-20T23:51:18.062Z] 77bc0d833cb6: Pulling fs layer [2021-10-20T23:51:18.062Z] 9065ff56babe: Pulling fs layer [2021-10-20T23:51:18.062Z] d287ab97295c: Pulling fs layer [2021-10-20T23:51:18.062Z] 9065ff56babe: Waiting [2021-10-20T23:51:18.062Z] d287ab97295c: Waiting [2021-10-20T23:51:18.062Z] dc539afda2c1: Waiting [2021-10-20T23:51:18.062Z] 77bc0d833cb6: Waiting [2021-10-20T23:51:18.062Z] a1111a8f2ec3: Verifying Checksum [2021-10-20T23:51:18.062Z] a1111a8f2ec3: Download complete [2021-10-20T23:51:18.062Z] dc539afda2c1: Verifying Checksum [2021-10-20T23:51:18.062Z] dc539afda2c1: Download complete [2021-10-20T23:51:18.327Z] 77bc0d833cb6: Verifying Checksum [2021-10-20T23:51:18.327Z] 77bc0d833cb6: Download complete [2021-10-20T23:51:18.327Z] ed53099fbce6: Verifying Checksum [2021-10-20T23:51:18.327Z] ed53099fbce6: Download complete [2021-10-20T23:51:18.327Z] 9065ff56babe: Verifying Checksum [2021-10-20T23:51:18.327Z] 9065ff56babe: Download complete [2021-10-20T23:51:18.327Z] b4d181a07f80: Verifying Checksum [2021-10-20T23:51:18.327Z] b4d181a07f80: Download complete [2021-10-20T23:51:18.897Z] d287ab97295c: Verifying Checksum [2021-10-20T23:51:18.897Z] d287ab97295c: Download complete [2021-10-20T23:51:19.840Z] b4d181a07f80: Pull complete [2021-10-20T23:51:19.840Z] a1111a8f2ec3: Pull complete [2021-10-20T23:51:20.437Z] ed53099fbce6: Pull complete [2021-10-20T23:51:20.437Z] dc539afda2c1: Pull complete [2021-10-20T23:51:20.700Z] 77bc0d833cb6: Pull complete [2021-10-20T23:51:20.700Z] 9065ff56babe: Pull complete [2021-10-20T23:51:26.025Z] d287ab97295c: Pull complete [2021-10-20T23:51:26.025Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-20T23:51:26.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:51:26.025Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-20T23:51:26.086Z] prd-centos7-docker-4c-2g-729 does not seem to be running inside a container [2021-10-20T23:51:26.123Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-20T23:51:28.285Z] $ docker top dc6f9c239a454f732f2979262987c1d29d5988712e14e4ca292e9fcd35bd316a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T23:51:28.638Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-20T23:51:28.928Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-20T23:51:29.217Z] + ls /var/log/sa-host [2021-10-20T23:51:29.217Z] + sadf -c /var/log/sa-host/sa20 [2021-10-20T23:51:29.217Z] file_magic: OK [2021-10-20T23:51:29.217Z] HZ: Using current value: 100 [2021-10-20T23:51:29.217Z] file_header: OK [2021-10-20T23:51:29.217Z] 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-20T23:51:29.217Z] Statistics: [2021-10-20T23:51:29.217Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-20T23:51:29.217Z] File successfully converted to sysstat format version 12.0.3 [2021-10-20T23:51:29.217Z] + sadf -c /var/log/sa-host/sa30 [2021-10-20T23:51:29.217Z] file_magic: OK [2021-10-20T23:51:29.217Z] HZ: Using current value: 100 [2021-10-20T23:51:29.217Z] file_header: OK [2021-10-20T23:51:29.217Z] 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-20T23:51:29.217Z] Statistics: [2021-10-20T23:51:29.217Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-20T23:51:29.217Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T23:51:29.492Z] provisioning config files... [2021-10-20T23:51:29.502Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8218253999841468094tmp [Pipeline] { [Pipeline] echo [2021-10-20T23:51:29.512Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:29.800Z] ---> create-netrc.sh [Pipeline] } [2021-10-20T23:51:29.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:30.142Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-20T23:51:30.150Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:30.436Z] ---> sudo-logs.sh [2021-10-20T23:51:30.436Z] Archiving 'sudo' log.. [2021-10-20T23:51:30.436Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-729.novalocal: Name or service not known [2021-10-20T23:51:30.436Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-729.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-20T23:51:30.458Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:30.748Z] ---> job-cost.sh [2021-10-20T23:51:30.748Z] lf-activate-venv: SKIPPING [2021-10-20T23:51:30.748Z] DEBUG: total: 0.10999999940395355 [2021-10-20T23:51:30.748Z] INFO: Retrieving Stack Cost... [2021-10-20T23:51:31.323Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-20T23:51:31.582Z] INFO: Archiving Costs [Pipeline] echo [2021-10-20T23:51:31.592Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:51:31.888Z] ---> logs-deploy.sh [2021-10-20T23:51:31.888Z] lf-activate-venv: SKIPPING [2021-10-20T23:51:31.888Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/22 [2021-10-20T23:51:31.888Z] INFO: archiving workspace using pattern(s): [2021-10-20T23:51:32.462Z] Archives upload complete. [2021-10-20T23:51:32.722Z] INFO: archiving logs to Nexus