Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 03dd633c157cc78c3153413baf97d57252ad0ef0 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-ssh8523713229447001318.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-ssh6983517081604263643.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-ssh3271154155055093898.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-ssh6974109020606081419.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-ssh4825796872491894889.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-39 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-ssh5949192307244176088.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 03dd633c157cc78c3153413baf97d57252ad0ef0 (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 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 Commit message: "Merge pull request #1047 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.1-dev.9" > git rev-list --no-walk 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T18:20:48.514Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T18:20:48.557Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T18:20:48.572Z] ========================================================= [2021-10-28T18:20:48.572Z] EdgeX Global Pipelines Version Info [2021-10-28T18:20:48.572Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:20:49.720Z] ------------------- [2021-10-28T18:20:49.720Z] stable info: [2021-10-28T18:20:49.720Z] ------------------- [2021-10-28T18:20:49.720Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T18:20:49.720Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T18:20:49.720Z] Message: update stable to v1.0.210 [2021-10-28T18:20:50.292Z] ------------------- [2021-10-28T18:20:50.292Z] experimental info: [2021-10-28T18:20:50.292Z] ------------------- [2021-10-28T18:20:50.292Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T18:20:50.292Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T18:20:50.292Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T18:20:50.369Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-28T18:20:50.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-28T18:20:50.383Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T18:20:50.390Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T18:20:50.397Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T18:20:50.412Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T18:20:50.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T18:20:50.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-28T18:20:50.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T18:20:50.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T18:20:50.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T18:20:50.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-28T18:20:50.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T18:20:50.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T18:20:50.496Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T18:20:50.506Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T18:20:50.517Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T18:20:50.528Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T18:20:50.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T18:20:50.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T18:20:50.559Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-28T18:20:50.568Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-28T18:20:50.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T18:20:50.588Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T18:20:50.597Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T18:20:50.606Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T18:20:50.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-28T18:20:50.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-28T18:20:50.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-28T18:20:50.646Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03dd633c157cc78c3153413baf97d57252ad0ef0 [Pipeline] echo [2021-10-28T18:20:50.656Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03dd633 [Pipeline] echo [2021-10-28T18:20:50.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T18:20:50.696Z] provisioning config files... [2021-10-28T18:20:50.716Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3665562304436908866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:20:51.029Z] ---> docker-login.sh [2021-10-28T18:20:51.029Z] nexus3.edgexfoundry.org:10001 [2021-10-28T18:20:51.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:20:51.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:20:51.029Z] Configure a credential helper to remove this warning. See [2021-10-28T18:20:51.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:20:51.029Z] [2021-10-28T18:20:51.029Z] Login Succeeded [2021-10-28T18:20:51.029Z] nexus3.edgexfoundry.org:10002 [2021-10-28T18:20:51.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:20:51.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:20:51.292Z] Configure a credential helper to remove this warning. See [2021-10-28T18:20:51.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:20:51.292Z] [2021-10-28T18:20:51.292Z] Login Succeeded [2021-10-28T18:20:51.292Z] nexus3.edgexfoundry.org:10003 [2021-10-28T18:20:51.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:20:51.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:20:51.292Z] Configure a credential helper to remove this warning. See [2021-10-28T18:20:51.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:20:51.292Z] [2021-10-28T18:20:51.292Z] Login Succeeded [2021-10-28T18:20:51.292Z] nexus3.edgexfoundry.org:10004 [2021-10-28T18:20:51.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:20:51.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:20:51.554Z] Configure a credential helper to remove this warning. See [2021-10-28T18:20:51.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:20:51.554Z] [2021-10-28T18:20:51.554Z] Login Succeeded [2021-10-28T18:20:51.554Z] docker.io [2021-10-28T18:20:51.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:20:51.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:20:51.818Z] Configure a credential helper to remove this warning. See [2021-10-28T18:20:51.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:20:51.818Z] [2021-10-28T18:20:51.818Z] Login Succeeded [2021-10-28T18:20:51.818Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T18:20:51.827Z] 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-28T18:20:52.258Z] + git log --format=format:%s -1 03dd633c157cc78c3153413baf97d57252ad0ef0 [Pipeline] echo [2021-10-28T18:20:52.294Z] GIT_COMMIT: 03dd633c157cc78c3153413baf97d57252ad0ef0, Commit Message: Merge pull request #1047 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.1-dev.9 [Pipeline] echo [2021-10-28T18:20:52.301Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:20:52.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T18:20:52.720Z] [2021-10-28T18:20:52.720Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:20:53.025Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T18:20:53.025Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T18:20:53.025Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T18:20:53.025Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T18:20:53.025Z] 4c7163046ea9: Pulling fs layer [2021-10-28T18:20:53.025Z] 0c2d73faf560: Pulling fs layer [2021-10-28T18:20:53.025Z] 0c2d73faf560: Waiting [2021-10-28T18:20:53.025Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T18:20:53.025Z] 3e5f54012d9b: Download complete [2021-10-28T18:20:53.025Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T18:20:53.025Z] a0d0a0d46f8b: Download complete [2021-10-28T18:20:53.025Z] 0c2d73faf560: Verifying Checksum [2021-10-28T18:20:53.025Z] 0c2d73faf560: Download complete [2021-10-28T18:20:53.025Z] 4c7163046ea9: Verifying Checksum [2021-10-28T18:20:53.025Z] 4c7163046ea9: Download complete [2021-10-28T18:20:53.287Z] a0d0a0d46f8b: Pull complete [2021-10-28T18:20:53.287Z] 3e5f54012d9b: Pull complete [2021-10-28T18:20:53.550Z] 4c7163046ea9: Pull complete [2021-10-28T18:20:53.811Z] 0c2d73faf560: Pull complete [2021-10-28T18:20:53.811Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T18:20:53.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T18:20:53.811Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T18:20:53.880Z] prd-centos7-docker-4c-2g-39 does not seem to be running inside a container [2021-10-28T18:20:53.917Z] $ 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-28T18:20:54.425Z] $ docker top f09f696a973fc9721b73603723574986bc3aa48129dd480ed11b3d4c0e90a490 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T18:20:54.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T18:20:54.519Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T18:20:54.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T18:20:54.631Z] $ docker exec f09f696a973fc9721b73603723574986bc3aa48129dd480ed11b3d4c0e90a490 ssh-agent [2021-10-28T18:20:54.733Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGJfoIg/agent.13 [2021-10-28T18:20:54.733Z] SSH_AGENT_PID=20 [2021-10-28T18:20:54.743Z] Running ssh-add (command line suppressed) [2021-10-28T18:20:54.844Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7992003523730635698.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7992003523730635698.key) [2021-10-28T18:20:54.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T18:20:55.161Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T18:20:55.174Z] $ docker exec --env ******** --env ******** f09f696a973fc9721b73603723574986bc3aa48129dd480ed11b3d4c0e90a490 ssh-agent -k [2021-10-28T18:20:55.266Z] unset SSH_AUTH_SOCK; [2021-10-28T18:20:55.266Z] unset SSH_AGENT_PID; [2021-10-28T18:20:55.266Z] echo Agent pid 20 killed; [2021-10-28T18:20:55.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T18:20:55.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T18:20:55.308Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T18:20:55.410Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T18:20:55.410Z] $ docker exec f09f696a973fc9721b73603723574986bc3aa48129dd480ed11b3d4c0e90a490 ssh-agent [2021-10-28T18:20:55.514Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPBApgi/agent.55 [2021-10-28T18:20:55.514Z] SSH_AGENT_PID=61 [2021-10-28T18:20:55.519Z] Running ssh-add (command line suppressed) [2021-10-28T18:20:55.606Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5671465889302323290.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5671465889302323290.key) [2021-10-28T18:20:55.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T18:20:55.921Z] + git semver init [2021-10-28T18:20:55.921Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T18:20:55.921Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T18:20:55.921Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T18:20:55.921Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T18:20:55.921Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T18:20:55.921Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T18:20:55.921Z] # $SEMVER_BRANCH = main [2021-10-28T18:20:55.921Z] # $SEMVER_TEMP = /tmp/semver-442416305 [2021-10-28T18:20:55.921Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-28T18:20:56.863Z] # '/tmp/semver-442416305' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-28T18:20:56.863Z] # -> Force: false [2021-10-28T18:20:56.863Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-28T18:20:56.872Z] $ docker exec --env ******** --env ******** f09f696a973fc9721b73603723574986bc3aa48129dd480ed11b3d4c0e90a490 ssh-agent -k [2021-10-28T18:20:56.968Z] unset SSH_AUTH_SOCK; [2021-10-28T18:20:56.968Z] unset SSH_AGENT_PID; [2021-10-28T18:20:56.968Z] echo Agent pid 61 killed; [2021-10-28T18:20:56.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T18:20:57.308Z] + git semver [Pipeline] } [2021-10-28T18:20:57.325Z] $ docker stop --time=1 f09f696a973fc9721b73603723574986bc3aa48129dd480ed11b3d4c0e90a490 [2021-10-28T18:20:58.529Z] $ docker rm -f f09f696a973fc9721b73603723574986bc3aa48129dd480ed11b3d4c0e90a490 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T18:20:58.904Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T18:20:59.144Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T18:20:59.146Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.25 [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-28T18:21:14.312Z] Still waiting to schedule task [2021-10-28T18:21:14.312Z] ‘prd-centos7-docker-4c-2g-35’ is offline [2021-10-28T18:21:14.313Z] ‘prd-centos7-docker-4c-2g-36’ is offline [2021-10-28T18:21:14.313Z] ‘prd-centos7-docker-4c-2g-41’ is offline [2021-10-28T18:21:14.313Z] ‘prd-centos7-docker-4c-2g-42’ is offline [2021-10-28T18:21:14.313Z] ‘prd-ubuntu18.04-docker-8c-8g-37’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-28T18:21:14.313Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-33’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-28T18:21:14.314Z] Still waiting to schedule task [2021-10-28T18:21:14.314Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-33’ is offline [2021-10-28T18:21:56.450Z] Running on prd-centos7-docker-4c-2g-46 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-28T18:21:56.461Z] Running in /w/workspace/device-sdk-go/24 [Pipeline] { [Pipeline] checkout [2021-10-28T18:21:56.543Z] Selected Git installation does not exist. Using Default [2021-10-28T18:21:56.543Z] The recommended git tool is: NONE [2021-10-28T18:21:58.656Z] using credential edgex-jenkins-ssh [2021-10-28T18:21:58.668Z] Cloning the remote Git repository [2021-10-28T18:21:58.169Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T18:21:58.225Z] > git init /w/workspace/device-sdk-go/24 # timeout=10 [2021-10-28T18:21:58.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T18:21:58.261Z] > git --version # timeout=10 [2021-10-28T18:21:58.271Z] > git --version # 'git version 2.24.4' [2021-10-28T18:21:58.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T18:21:58.290Z] [INFO] Currently running in a labeled security context [2021-10-28T18:21:58.290Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T18:21:58.290Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/24@tmp/jenkins-gitclient-ssh3582573699724586034.key [2021-10-28T18:21:58.316Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T18:21:59.808Z] Avoid second fetch [2021-10-28T18:21:59.808Z] Checking out Revision 03dd633c157cc78c3153413baf97d57252ad0ef0 (main) [2021-10-28T18:21:59.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T18:21:59.276Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T18:21:59.292Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T18:21:59.301Z] > git checkout -f 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 [2021-10-28T18:22:03.433Z] Commit message: "Merge pull request #1047 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.1-dev.9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T18:22:03.802Z] provisioning config files... [2021-10-28T18:22:03.815Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/24@tmp/config9030899169468259899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:22:04.191Z] ---> docker-login.sh [2021-10-28T18:22:04.191Z] nexus3.edgexfoundry.org:10001 [2021-10-28T18:22:04.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:22:04.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:22:04.453Z] Configure a credential helper to remove this warning. See [2021-10-28T18:22:04.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:22:04.453Z] [2021-10-28T18:22:04.453Z] Login Succeeded [2021-10-28T18:22:04.453Z] nexus3.edgexfoundry.org:10002 [2021-10-28T18:22:04.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:22:04.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:22:04.453Z] Configure a credential helper to remove this warning. See [2021-10-28T18:22:04.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:22:04.453Z] [2021-10-28T18:22:04.453Z] Login Succeeded [2021-10-28T18:22:04.453Z] nexus3.edgexfoundry.org:10003 [2021-10-28T18:22:04.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:22:04.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:22:04.720Z] Configure a credential helper to remove this warning. See [2021-10-28T18:22:04.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:22:04.720Z] [2021-10-28T18:22:04.720Z] Login Succeeded [2021-10-28T18:22:04.720Z] nexus3.edgexfoundry.org:10004 [2021-10-28T18:22:04.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:22:04.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:22:04.720Z] Configure a credential helper to remove this warning. See [2021-10-28T18:22:04.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:22:04.720Z] [2021-10-28T18:22:04.720Z] Login Succeeded [2021-10-28T18:22:04.720Z] docker.io [2021-10-28T18:22:04.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T18:22:05.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T18:22:05.294Z] Configure a credential helper to remove this warning. See [2021-10-28T18:22:05.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T18:22:05.294Z] [2021-10-28T18:22:05.294Z] Login Succeeded [2021-10-28T18:22:05.294Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T18:22:05.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T18:22:05.448Z] ========================================================= [2021-10-28T18:22:05.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T18:22:05.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:22:05.758Z] + 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-28T18:22:05.758Z] Sending build context to Docker daemon 2.723MB [2021-10-28T18:22:05.758Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T18:22:05.758Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T18:22:05.758Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T18:22:05.758Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T18:22:05.758Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T18:22:05.758Z] b8b176561691: Pulling fs layer [2021-10-28T18:22:05.758Z] 4527c011a84f: Pulling fs layer [2021-10-28T18:22:05.758Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T18:22:05.758Z] e0aca202a116: Pulling fs layer [2021-10-28T18:22:05.758Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T18:22:05.758Z] 34cad66bf833: Pulling fs layer [2021-10-28T18:22:05.758Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T18:22:05.758Z] e0aca202a116: Waiting [2021-10-28T18:22:05.758Z] 3a43be97a3b4: Waiting [2021-10-28T18:22:05.758Z] 34cad66bf833: Waiting [2021-10-28T18:22:05.758Z] b4e3c513aaa6: Waiting [2021-10-28T18:22:05.758Z] 4527c011a84f: Waiting [2021-10-28T18:22:05.758Z] 5d74067f8e1e: Waiting [2021-10-28T18:22:06.026Z] b8b176561691: Verifying Checksum [2021-10-28T18:22:06.026Z] b8b176561691: Download complete [2021-10-28T18:22:06.026Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T18:22:06.026Z] 31adcdaf11c8: Download complete [2021-10-28T18:22:06.026Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T18:22:06.026Z] 5d74067f8e1e: Download complete [2021-10-28T18:22:06.026Z] e0aca202a116: Verifying Checksum [2021-10-28T18:22:06.026Z] e0aca202a116: Download complete [2021-10-28T18:22:06.026Z] 3a43be97a3b4: Download complete [2021-10-28T18:22:06.026Z] a0d0a0d46f8b: Download complete [2021-10-28T18:22:06.026Z] 34cad66bf833: Verifying Checksum [2021-10-28T18:22:06.027Z] 34cad66bf833: Download complete [2021-10-28T18:22:06.299Z] a0d0a0d46f8b: Pull complete [2021-10-28T18:22:06.582Z] 31adcdaf11c8: Pull complete [2021-10-28T18:22:06.857Z] 4527c011a84f: Verifying Checksum [2021-10-28T18:22:06.857Z] 4527c011a84f: Download complete [2021-10-28T18:22:06.857Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T18:22:06.857Z] b4e3c513aaa6: Download complete [2021-10-28T18:22:06.857Z] b8b176561691: Pull complete [2021-10-28T18:22:11.096Z] 4527c011a84f: Pull complete [2021-10-28T18:22:11.096Z] 5d74067f8e1e: Pull complete [2021-10-28T18:22:11.096Z] e0aca202a116: Pull complete [2021-10-28T18:22:11.096Z] 3a43be97a3b4: Pull complete [2021-10-28T18:22:11.096Z] 34cad66bf833: Pull complete [2021-10-28T18:22:13.684Z] b4e3c513aaa6: Pull complete [2021-10-28T18:22:13.684Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T18:22:13.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T18:22:13.684Z] ---> 9f6097aaca64 [2021-10-28T18:22:13.684Z] Step 3/10 : ARG MAKE=make build [2021-10-28T18:22:15.612Z] ---> Running in 163613bee03f [2021-10-28T18:22:15.612Z] Removing intermediate container 163613bee03f [2021-10-28T18:22:15.612Z] ---> 3598495c3bbe [2021-10-28T18:22:15.612Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T18:22:15.612Z] ---> Running in 48b25cbb72e3 [2021-10-28T18:22:15.612Z] Removing intermediate container 48b25cbb72e3 [2021-10-28T18:22:15.612Z] ---> 1d4751d7e375 [2021-10-28T18:22:15.612Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T18:22:15.613Z] ---> Running in 10c030d7b02d [2021-10-28T18:22:15.613Z] Removing intermediate container 10c030d7b02d [2021-10-28T18:22:15.613Z] ---> 9cf517869c9d [2021-10-28T18:22:15.613Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T18:22:15.613Z] ---> Running in 7cd494d56df3 [2021-10-28T18:22:16.187Z] Removing intermediate container 7cd494d56df3 [2021-10-28T18:22:16.187Z] ---> f65a971d0877 [2021-10-28T18:22:16.187Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T18:22:16.187Z] ---> Running in 9ad29ac3420e [2021-10-28T18:22:16.448Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T18:22:17.396Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T18:22:17.656Z] OK: 220 MiB in 52 packages [2021-10-28T18:22:17.919Z] Removing intermediate container 9ad29ac3420e [2021-10-28T18:22:17.919Z] ---> a3ffb830ca7a [2021-10-28T18:22:17.919Z] Step 8/10 : COPY . . [2021-10-28T18:22:18.184Z] ---> cff139321a6a [2021-10-28T18:22:18.184Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T18:22:18.184Z] ---> Running in 73529f797eb8 [2021-10-28T18:22:50.318Z] Removing intermediate container 73529f797eb8 [2021-10-28T18:22:50.318Z] ---> dfeb855becef [2021-10-28T18:22:50.318Z] Step 10/10 : RUN ${MAKE} [2021-10-28T18:22:50.318Z] ---> Running in 4f6c9c00895c [2021-10-28T18:22:50.318Z] noop [2021-10-28T18:22:50.318Z] Removing intermediate container 4f6c9c00895c [2021-10-28T18:22:50.318Z] ---> caee6c379856 [2021-10-28T18:22:50.318Z] Successfully built caee6c379856 [2021-10-28T18:22:50.318Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:22:50.614Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T18:22:50.614Z] . [Pipeline] withDockerContainer [2021-10-28T18:22:50.697Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-10-28T18:22:50.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@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-28T18:22:51.095Z] $ docker top 33a2bedb51990862b2750f7c8d94775073e5bd05d28cbb6a173d98c4ffc85b07 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T18:22:51.466Z] + go version [2021-10-28T18:22:51.466Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T18:22:51.477Z] $ docker stop --time=1 33a2bedb51990862b2750f7c8d94775073e5bd05d28cbb6a173d98c4ffc85b07 [2021-10-28T18:22:52.647Z] $ docker rm -f 33a2bedb51990862b2750f7c8d94775073e5bd05d28cbb6a173d98c4ffc85b07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:22:53.112Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T18:22:53.112Z] . [Pipeline] withDockerContainer [2021-10-28T18:22:53.190Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-10-28T18:22:53.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@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-28T18:22:53.567Z] $ docker top b425e03e60a5cb5dfadde4e4812d401321ec00bf23f73598cc6c09f53be97fc1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T18:22:53.932Z] + make test [2021-10-28T18:22:53.932Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T18:22:59.286Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T18:23:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T18:23:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T18:23:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T18:23:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.058s coverage: 23.8% of statements [2021-10-28T18:23:25.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T18:23:25.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 28.1% of statements [2021-10-28T18:23:26.575Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-10-28T18:23:26.575Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.067s coverage: 9.0% of statements [2021-10-28T18:23:26.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T18:23:26.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T18:23:26.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T18:23:27.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements [2021-10-28T18:23:27.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T18:23:28.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.079s coverage: 83.3% of statements [2021-10-28T18:23:28.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T18:23:28.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T18:23:28.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.063s coverage: 57.8% of statements [2021-10-28T18:23:29.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.809s coverage: 88.8% of statements [2021-10-28T18:23:29.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T18:23:29.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.9% of statements [2021-10-28T18:23:29.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T18:23:29.868Z] GO111MODULE=on go vet ./... [2021-10-28T18:23:48.045Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T18:23:48.045Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T18:23:48.045Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T18:23:48.056Z] $ docker stop --time=1 b425e03e60a5cb5dfadde4e4812d401321ec00bf23f73598cc6c09f53be97fc1 [2021-10-28T18:23:49.507Z] $ docker rm -f b425e03e60a5cb5dfadde4e4812d401321ec00bf23f73598cc6c09f53be97fc1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T18:23:49.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T18:23:50.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-28T18:23:50.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T18:23:51.067Z] + ls -al . [2021-10-28T18:23:51.067Z] total 264 [2021-10-28T18:23:51.067Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 28 18:23 . [2021-10-28T18:23:51.067Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 28 18:21 .. [2021-10-28T18:23:51.067Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 28 18:21 bin [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 28 18:21 CHANGELOG.md [2021-10-28T18:23:51.067Z] -rw-r--r--. 1 jenkins jenkins 126785 Oct 28 18:23 coverage.out [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 18:21 .dockerignore [2021-10-28T18:23:51.067Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 28 18:21 example [2021-10-28T18:23:51.067Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 28 18:22 .git [2021-10-28T18:23:51.067Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 28 18:21 .github [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 28 18:21 .gitignore [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 28 18:21 go.mod [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 49979 Oct 28 18:21 go.sum [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 18:21 GOVERNANCE.md [2021-10-28T18:23:51.067Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 28 18:21 internal [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 28 18:21 Jenkinsfile [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 28 18:21 LICENSE [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 28 18:21 Makefile [2021-10-28T18:23:51.067Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 28 18:21 openapi [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 28 18:21 OWNERS.md [2021-10-28T18:23:51.067Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 28 18:21 pkg [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 28 18:21 README.md [2021-10-28T18:23:51.067Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 18:21 snap [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 28 18:20 VERSION [2021-10-28T18:23:51.067Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 28 18:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:23:51.368Z] + 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=03dd633c157cc78c3153413baf97d57252ad0ef0 --label arch=amd64 --label version=2.0.1-dev.25 . [2021-10-28T18:23:51.368Z] Sending build context to Docker daemon 2.85MB [2021-10-28T18:23:51.368Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T18:23:51.368Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T18:23:51.368Z] ---> caee6c379856 [2021-10-28T18:23:51.368Z] Step 3/24 : ARG MAKE=make build [2021-10-28T18:23:51.368Z] ---> Running in 18a093c5f69f [2021-10-28T18:23:51.637Z] Removing intermediate container 18a093c5f69f [2021-10-28T18:23:51.637Z] ---> e5b90765b13c [2021-10-28T18:23:51.637Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T18:23:51.637Z] ---> Running in c6dd9908b1b8 [2021-10-28T18:23:51.637Z] Removing intermediate container c6dd9908b1b8 [2021-10-28T18:23:51.637Z] ---> c3aaf9ac8e82 [2021-10-28T18:23:51.637Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T18:23:51.637Z] ---> Running in a591c0301b8e [2021-10-28T18:23:51.637Z] Removing intermediate container a591c0301b8e [2021-10-28T18:23:51.637Z] ---> 24673ac30b59 [2021-10-28T18:23:51.637Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T18:23:51.637Z] ---> Running in 6f7a7a52e18b [2021-10-28T18:23:52.212Z] Removing intermediate container 6f7a7a52e18b [2021-10-28T18:23:52.212Z] ---> 20c73bd93e98 [2021-10-28T18:23:52.212Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T18:23:52.212Z] ---> Running in 76cbe9b4d9d1 [2021-10-28T18:23:52.477Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T18:23:53.416Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T18:23:53.986Z] OK: 220 MiB in 52 packages [2021-10-28T18:23:53.986Z] Removing intermediate container 76cbe9b4d9d1 [2021-10-28T18:23:53.986Z] ---> 204ba2cb55ff [2021-10-28T18:23:53.986Z] Step 8/24 : COPY . . [2021-10-28T18:23:54.252Z] ---> 81ed2ead68d6 [2021-10-28T18:23:54.252Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T18:23:54.512Z] ---> Running in 30512224aeaf [2021-10-28T18:23:55.080Z] Removing intermediate container 30512224aeaf [2021-10-28T18:23:55.080Z] ---> c9e72af9f6b3 [2021-10-28T18:23:55.080Z] Step 10/24 : RUN ${MAKE} [2021-10-28T18:23:55.080Z] ---> Running in 1b4cd3a4c5d9 [2021-10-28T18:23:55.354Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.25" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-28T18:24:07.693Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T18:24:07.693Z] Removing intermediate container 1b4cd3a4c5d9 [2021-10-28T18:24:07.693Z] ---> 3eb6e26674b9 [2021-10-28T18:24:07.693Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T18:24:07.693Z] 3.14: Pulling from library/alpine [2021-10-28T18:24:07.952Z] a0d0a0d46f8b: Already exists [2021-10-28T18:24:07.952Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T18:24:07.952Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T18:24:07.952Z] ---> 14119a10abf4 [2021-10-28T18:24:07.952Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T18:24:08.214Z] ---> Running in 20b98f14f183 [2021-10-28T18:24:08.214Z] Removing intermediate container 20b98f14f183 [2021-10-28T18:24:08.214Z] ---> 4c3a2d0263ab [2021-10-28T18:24:08.214Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T18:24:08.214Z] ---> Running in 5fdd028f2ff5 [2021-10-28T18:24:08.784Z] Removing intermediate container 5fdd028f2ff5 [2021-10-28T18:24:08.784Z] ---> 02744cd8342d [2021-10-28T18:24:08.784Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T18:24:08.784Z] ---> Running in 2f3cf7e88ea7 [2021-10-28T18:24:09.042Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T18:24:09.983Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T18:24:10.243Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T18:24:10.243Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T18:24:10.243Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T18:24:10.504Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T18:24:10.504Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T18:24:10.504Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T18:24:10.504Z] OK: 8 MiB in 19 packages [2021-10-28T18:24:10.764Z] Removing intermediate container 2f3cf7e88ea7 [2021-10-28T18:24:10.764Z] ---> 47c4ce29726a [2021-10-28T18:24:10.764Z] Step 15/24 : WORKDIR / [2021-10-28T18:24:11.030Z] ---> Running in 8b81367b9207 [2021-10-28T18:24:11.030Z] Removing intermediate container 8b81367b9207 [2021-10-28T18:24:11.030Z] ---> 339e6d4811bf [2021-10-28T18:24:11.030Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T18:24:11.030Z] ---> f1f391013020 [2021-10-28T18:24:11.030Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T18:24:11.607Z] ---> 18ccf8053e99 [2021-10-28T18:24:11.607Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T18:24:11.607Z] ---> b8bd0b0b7ed0 [2021-10-28T18:24:11.607Z] Step 19/24 : EXPOSE 59999 [2021-10-28T18:24:11.607Z] ---> Running in 9911001d2d38 [2021-10-28T18:24:11.607Z] Removing intermediate container 9911001d2d38 [2021-10-28T18:24:11.607Z] ---> 2e845de36843 [2021-10-28T18:24:11.607Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T18:24:11.607Z] ---> Running in f646553d3b53 [2021-10-28T18:24:11.868Z] Removing intermediate container f646553d3b53 [2021-10-28T18:24:11.868Z] ---> 22d68be8c9ab [2021-10-28T18:24:11.868Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T18:24:11.868Z] ---> Running in 6b505eff3a81 [2021-10-28T18:24:11.868Z] Removing intermediate container 6b505eff3a81 [2021-10-28T18:24:11.868Z] ---> e4db6674ef0b [2021-10-28T18:24:11.868Z] Step 22/24 : LABEL arch=amd64 [2021-10-28T18:24:11.868Z] ---> Running in de29c6504420 [2021-10-28T18:24:11.868Z] Removing intermediate container de29c6504420 [2021-10-28T18:24:11.868Z] ---> b1b57845c2b3 [2021-10-28T18:24:11.868Z] Step 23/24 : LABEL git_sha=03dd633c157cc78c3153413baf97d57252ad0ef0 [2021-10-28T18:24:12.129Z] ---> Running in 4e31a6bc5190 [2021-10-28T18:24:12.129Z] Removing intermediate container 4e31a6bc5190 [2021-10-28T18:24:12.129Z] ---> f25fd5e755d2 [2021-10-28T18:24:12.129Z] Step 24/24 : LABEL version=2.0.1-dev.25 [2021-10-28T18:24:12.129Z] ---> Running in db460c27ab6e [2021-10-28T18:24:12.129Z] Removing intermediate container db460c27ab6e [2021-10-28T18:24:12.129Z] ---> dadda1972113 [2021-10-28T18:24:12.129Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T18:24:12.129Z] Successfully built dadda1972113 [2021-10-28T18:24:12.129Z] 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-28T18:24:12.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:24:12.697Z] [2021-10-28T18:24:12.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:24:12.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:24:12.999Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T18:24:12.999Z] b4d181a07f80: Pulling fs layer [2021-10-28T18:24:12.999Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T18:24:12.999Z] ed53099fbce6: Pulling fs layer [2021-10-28T18:24:12.999Z] dc539afda2c1: Pulling fs layer [2021-10-28T18:24:12.999Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T18:24:12.999Z] 9065ff56babe: Pulling fs layer [2021-10-28T18:24:12.999Z] d287ab97295c: Pulling fs layer [2021-10-28T18:24:12.999Z] 77bc0d833cb6: Waiting [2021-10-28T18:24:12.999Z] 9065ff56babe: Waiting [2021-10-28T18:24:12.999Z] d287ab97295c: Waiting [2021-10-28T18:24:12.999Z] dc539afda2c1: Waiting [2021-10-28T18:24:12.999Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T18:24:12.999Z] a1111a8f2ec3: Download complete [2021-10-28T18:24:12.999Z] dc539afda2c1: Verifying Checksum [2021-10-28T18:24:12.999Z] dc539afda2c1: Download complete [2021-10-28T18:24:12.999Z] ed53099fbce6: Verifying Checksum [2021-10-28T18:24:12.999Z] ed53099fbce6: Download complete [2021-10-28T18:24:13.269Z] 9065ff56babe: Verifying Checksum [2021-10-28T18:24:13.269Z] 9065ff56babe: Download complete [2021-10-28T18:24:13.269Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T18:24:13.269Z] 77bc0d833cb6: Download complete [2021-10-28T18:24:13.269Z] b4d181a07f80: Verifying Checksum [2021-10-28T18:24:13.269Z] b4d181a07f80: Download complete [2021-10-28T18:24:13.857Z] d287ab97295c: Verifying Checksum [2021-10-28T18:24:13.857Z] d287ab97295c: Download complete [2021-10-28T18:24:14.815Z] b4d181a07f80: Pull complete [2021-10-28T18:24:15.077Z] a1111a8f2ec3: Pull complete [2021-10-28T18:24:15.661Z] ed53099fbce6: Pull complete [2021-10-28T18:24:15.661Z] dc539afda2c1: Pull complete [2021-10-28T18:24:15.923Z] 77bc0d833cb6: Pull complete [2021-10-28T18:24:15.923Z] 9065ff56babe: Pull complete [2021-10-28T18:24:21.240Z] d287ab97295c: Pull complete [2021-10-28T18:24:21.240Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T18:24:21.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:24:21.240Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T18:24:21.308Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-10-28T18:24:21.341Z] $ 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/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@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-28T18:24:23.825Z] $ docker top eec6e4b36c33c86180dd3cfcf82848a7c89b6b37fe56ad4b8651f3a3edb44e42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:24:24.228Z] ---> job-cost.sh [2021-10-28T18:24:24.228Z] lf-activate-venv: SKIPPING [2021-10-28T18:24:24.228Z] INFO: No Stack... [2021-10-28T18:24:24.490Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T18:24:24.750Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T18:24:25.038Z] + cat /w/workspace/device-sdk-go/24/archives/cost.csv [2021-10-28T18:24:25.038Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T18:24:25.060Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-24-stack-cost] [2021-10-28T18:24:25.070Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-24-stack-cost] did not exist. Created. [2021-10-28T18:24:25.070Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T18:24:25.372Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T18:24:25.403Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T18:24:25.417Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T18:24:25.432Z] $ docker stop --time=1 eec6e4b36c33c86180dd3cfcf82848a7c89b6b37fe56ad4b8651f3a3edb44e42 [2021-10-28T18:24:26.576Z] $ docker rm -f eec6e4b36c33c86180dd3cfcf82848a7c89b6b37fe56ad4b8651f3a3edb44e42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T20:53:00.470Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-12255 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-28T20:53:00.484Z] Running in /w/workspace/device-sdk-go/24 [Pipeline] { [Pipeline] checkout [2021-10-28T20:53:00.708Z] Selected Git installation does not exist. Using Default [2021-10-28T20:53:00.708Z] The recommended git tool is: NONE [2021-10-28T20:53:06.038Z] using credential edgex-jenkins-ssh [2021-10-28T20:53:06.057Z] Cloning the remote Git repository [2021-10-28T20:53:06.134Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T20:53:06.262Z] > git init /w/workspace/device-sdk-go/24 # timeout=10 [2021-10-28T20:53:06.364Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T20:53:06.365Z] > git --version # timeout=10 [2021-10-28T20:53:06.440Z] > git --version # 'git version 2.17.1' [2021-10-28T20:53:06.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T20:53:06.615Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T20:53:08.033Z] Avoid second fetch [2021-10-28T20:53:08.033Z] Checking out Revision 03dd633c157cc78c3153413baf97d57252ad0ef0 (main) [2021-10-28T20:53:07.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T20:53:08.004Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T20:53:08.063Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T20:53:08.083Z] > git checkout -f 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 [2021-10-28T20:53:12.638Z] Commit message: "Merge pull request #1047 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.1-dev.9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T20:53:13.596Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T20:53:13.596Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T20:53:13.596Z] Dload Upload Total Spent Left Speed [2021-10-28T20:53:13.596Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 68346 0 --:--:-- --:--:-- --:--:-- 68346 [Pipeline] sh [2021-10-28T20:53:14.047Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T20:53:14.396Z] + sudo tee /etc/docker/daemon.new [2021-10-28T20:53:14.396Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T20:53:14.396Z] { [2021-10-28T20:53:14.396Z] "registry-mirrors": [ [2021-10-28T20:53:14.396Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T20:53:14.396Z] ], [2021-10-28T20:53:14.396Z] "bip": "10.250.0.254/24", [2021-10-28T20:53:14.396Z] "hosts": [ [2021-10-28T20:53:14.396Z] "tcp://0.0.0.0:5555", [2021-10-28T20:53:14.396Z] "unix:///var/run/docker.sock" [2021-10-28T20:53:14.396Z] ], [2021-10-28T20:53:14.396Z] "mtu": 1458, [2021-10-28T20:53:14.396Z] "selinux-enabled": true, [2021-10-28T20:53:14.396Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T20:53:14.396Z] } [Pipeline] sh [2021-10-28T20:53:14.749Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T20:53:15.104Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T20:53:33.496Z] provisioning config files... [2021-10-28T20:53:33.529Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/24@tmp/config4759885176873251521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T20:53:33.913Z] ---> docker-login.sh [2021-10-28T20:53:33.913Z] nexus3.edgexfoundry.org:10001 [2021-10-28T20:53:34.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T20:53:35.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T20:53:35.193Z] Configure a credential helper to remove this warning. See [2021-10-28T20:53:35.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T20:53:35.193Z] [2021-10-28T20:53:35.193Z] Login Succeeded [2021-10-28T20:53:35.193Z] nexus3.edgexfoundry.org:10002 [2021-10-28T20:53:35.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T20:53:35.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T20:53:35.750Z] Configure a credential helper to remove this warning. See [2021-10-28T20:53:35.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T20:53:35.750Z] [2021-10-28T20:53:35.750Z] Login Succeeded [2021-10-28T20:53:35.750Z] nexus3.edgexfoundry.org:10003 [2021-10-28T20:53:36.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T20:53:36.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T20:53:36.355Z] Configure a credential helper to remove this warning. See [2021-10-28T20:53:36.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T20:53:36.355Z] [2021-10-28T20:53:36.355Z] Login Succeeded [2021-10-28T20:53:36.355Z] nexus3.edgexfoundry.org:10004 [2021-10-28T20:53:36.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T20:53:36.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T20:53:36.960Z] Configure a credential helper to remove this warning. See [2021-10-28T20:53:36.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T20:53:36.960Z] [2021-10-28T20:53:36.960Z] Login Succeeded [2021-10-28T20:53:36.960Z] docker.io [2021-10-28T20:53:37.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T20:53:37.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T20:53:37.839Z] Configure a credential helper to remove this warning. See [2021-10-28T20:53:37.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T20:53:37.839Z] [2021-10-28T20:53:37.839Z] Login Succeeded [2021-10-28T20:53:37.839Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T20:53:37.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T20:53:38.238Z] ========================================================= [2021-10-28T20:53:38.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T20:53:38.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:53:38.695Z] + 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-28T20:53:39.305Z] Sending build context to Docker daemon 2.722MB [2021-10-28T20:53:39.582Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T20:53:39.582Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T20:53:39.582Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T20:53:39.582Z] 552d1f2373af: Pulling fs layer [2021-10-28T20:53:39.582Z] ea3f2d53f512: Pulling fs layer [2021-10-28T20:53:39.582Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T20:53:39.582Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T20:53:39.582Z] 72dc09318566: Pulling fs layer [2021-10-28T20:53:39.582Z] f4f7b4309257: Pulling fs layer [2021-10-28T20:53:39.582Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T20:53:39.582Z] b78e95d17946: Pulling fs layer [2021-10-28T20:53:39.582Z] 7a9cfe048b4a: Waiting [2021-10-28T20:53:39.582Z] 72dc09318566: Waiting [2021-10-28T20:53:39.582Z] f4f7b4309257: Waiting [2021-10-28T20:53:39.582Z] 0ac9a79272e3: Waiting [2021-10-28T20:53:39.582Z] b78e95d17946: Waiting [2021-10-28T20:53:39.862Z] 9e70ebbbe112: Verifying Checksum [2021-10-28T20:53:39.862Z] 9e70ebbbe112: Download complete [2021-10-28T20:53:39.862Z] ea3f2d53f512: Download complete [2021-10-28T20:53:39.862Z] 72dc09318566: Verifying Checksum [2021-10-28T20:53:39.862Z] 72dc09318566: Download complete [2021-10-28T20:53:39.863Z] f4f7b4309257: Download complete [2021-10-28T20:53:39.863Z] 552d1f2373af: Verifying Checksum [2021-10-28T20:53:39.863Z] 552d1f2373af: Download complete [2021-10-28T20:53:39.863Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T20:53:39.863Z] 0ac9a79272e3: Download complete [2021-10-28T20:53:40.871Z] 552d1f2373af: Pull complete [2021-10-28T20:53:41.481Z] ea3f2d53f512: Pull complete [2021-10-28T20:53:42.088Z] b78e95d17946: Verifying Checksum [2021-10-28T20:53:42.088Z] b78e95d17946: Download complete [2021-10-28T20:53:42.088Z] 9e70ebbbe112: Pull complete [2021-10-28T20:53:42.709Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T20:53:42.710Z] 7a9cfe048b4a: Download complete [2021-10-28T20:53:55.174Z] 7a9cfe048b4a: Pull complete [2021-10-28T20:53:55.174Z] 72dc09318566: Pull complete [2021-10-28T20:53:55.174Z] f4f7b4309257: Pull complete [2021-10-28T20:53:55.174Z] 0ac9a79272e3: Pull complete [2021-10-28T20:54:01.985Z] b78e95d17946: Pull complete [2021-10-28T20:54:01.985Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T20:54:01.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T20:54:01.985Z] ---> 8b459fc5aaf0 [2021-10-28T20:54:01.985Z] Step 3/10 : ARG MAKE=make build [2021-10-28T20:54:03.992Z] ---> Running in f04d284ec64b [2021-10-28T20:54:04.277Z] Removing intermediate container f04d284ec64b [2021-10-28T20:54:04.277Z] ---> 2d0c4e60277a [2021-10-28T20:54:04.277Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T20:54:04.277Z] ---> Running in 2c1bddcbb12a [2021-10-28T20:54:04.883Z] Removing intermediate container 2c1bddcbb12a [2021-10-28T20:54:04.883Z] ---> 5fa9d3bb5a22 [2021-10-28T20:54:04.883Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T20:54:04.883Z] ---> Running in 40cecaa7e01a [2021-10-28T20:54:05.489Z] Removing intermediate container 40cecaa7e01a [2021-10-28T20:54:05.489Z] ---> 15be0e04cc29 [2021-10-28T20:54:05.489Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T20:54:05.489Z] ---> Running in 12d0b8697570 [2021-10-28T20:54:08.138Z] Removing intermediate container 12d0b8697570 [2021-10-28T20:54:08.138Z] ---> 5019f478f48b [2021-10-28T20:54:08.138Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T20:54:08.138Z] ---> Running in a521ffb4591f [2021-10-28T20:54:09.583Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T20:54:10.568Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T20:54:11.548Z] OK: 219 MiB in 52 packages [2021-10-28T20:54:12.536Z] Removing intermediate container a521ffb4591f [2021-10-28T20:54:12.536Z] ---> 1053e74977aa [2021-10-28T20:54:12.536Z] Step 8/10 : COPY . . [2021-10-28T20:54:13.530Z] ---> 351e72fc2885 [2021-10-28T20:54:13.530Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T20:54:13.807Z] ---> Running in fb80d9470785 [2021-10-28T20:55:35.629Z] Removing intermediate container fb80d9470785 [2021-10-28T20:55:35.629Z] ---> 937e72c0b0ea [2021-10-28T20:55:35.629Z] Step 10/10 : RUN ${MAKE} [2021-10-28T20:55:35.629Z] ---> Running in 2e0a0e3bd08e [2021-10-28T20:55:35.629Z] noop [2021-10-28T20:55:35.629Z] Removing intermediate container 2e0a0e3bd08e [2021-10-28T20:55:35.629Z] ---> 86bb1e589eb6 [2021-10-28T20:55:35.629Z] Successfully built 86bb1e589eb6 [2021-10-28T20:55:35.629Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:55:35.981Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T20:55:35.981Z] . [Pipeline] withDockerContainer [2021-10-28T20:55:36.281Z] prd-ubuntu18.04-docker-arm64-4c-16g-12255 does not seem to be running inside a container [2021-10-28T20:55:36.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@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 ******** ci-base-image-arm64 cat [2021-10-28T20:55:38.098Z] $ docker top 4834a43c5ebe52272b403ba36017bf267584497816c805b4ab707e33d1465aa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T20:55:39.159Z] + go version [2021-10-28T20:55:39.159Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T20:55:39.185Z] $ docker stop --time=1 4834a43c5ebe52272b403ba36017bf267584497816c805b4ab707e33d1465aa7 [2021-10-28T20:55:40.932Z] $ docker rm -f 4834a43c5ebe52272b403ba36017bf267584497816c805b4ab707e33d1465aa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:55:41.696Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T20:55:41.696Z] . [Pipeline] withDockerContainer [2021-10-28T20:55:41.968Z] prd-ubuntu18.04-docker-arm64-4c-16g-12255 does not seem to be running inside a container [2021-10-28T20:55:42.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@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 ******** ci-base-image-arm64 cat [2021-10-28T20:55:43.689Z] $ docker top 22d363cb7d38ae43bc65f690464b3d8ce6841cc17690a841364fc1a80306304e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T20:55:44.647Z] + make test [2021-10-28T20:55:44.647Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T20:56:17.025Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T20:57:38.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T20:57:38.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T20:57:38.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T20:57:38.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.344s coverage: 23.8% of statements [2021-10-28T20:57:38.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T20:57:38.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.290s coverage: 28.1% of statements [2021-10-28T20:57:38.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.268s coverage: 78.9% of statements [2021-10-28T20:57:38.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.219s coverage: 9.0% of statements [2021-10-28T20:57:38.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T20:57:38.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T20:57:38.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T20:57:41.538Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.393s coverage: 28.7% of statements [2021-10-28T20:57:41.538Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T20:57:44.184Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.272s coverage: 83.3% of statements [2021-10-28T20:57:44.184Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T20:57:44.184Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T20:57:44.184Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.478s coverage: 57.8% of statements [2021-10-28T20:57:45.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.603s coverage: 88.8% of statements [2021-10-28T20:57:45.640Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T20:57:46.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.245s coverage: 4.9% of statements [2021-10-28T20:57:46.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T20:57:47.216Z] GO111MODULE=on go vet ./... [2021-10-28T20:59:09.103Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T20:59:09.103Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T20:59:09.103Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T20:59:09.137Z] $ docker stop --time=1 22d363cb7d38ae43bc65f690464b3d8ce6841cc17690a841364fc1a80306304e [2021-10-28T20:59:11.190Z] $ docker rm -f 22d363cb7d38ae43bc65f690464b3d8ce6841cc17690a841364fc1a80306304e [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T20:59:12.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T20:59:12.756Z] Warning: overwriting stash ‘coverage-report’ [2021-10-28T20:59:13.805Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T20:59:14.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T20:59:14.623Z] + ls -al . [2021-10-28T20:59:14.623Z] total 300 [2021-10-28T20:59:14.623Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 20:59 . [2021-10-28T20:59:14.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 20:53 .. [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 20:53 .dockerignore [2021-10-28T20:59:14.623Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 20:53 .git [2021-10-28T20:59:14.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 20:53 .github [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 28 20:53 .gitignore [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 28 20:53 CHANGELOG.md [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 20:53 GOVERNANCE.md [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 28 20:53 Jenkinsfile [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 28 20:53 LICENSE [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 28 20:53 Makefile [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 28 20:53 OWNERS.md [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 28 20:53 README.md [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 28 18:20 VERSION [2021-10-28T20:59:14.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 20:53 bin [2021-10-28T20:59:14.623Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 28 20:57 coverage.out [2021-10-28T20:59:14.623Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 20:53 example [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 28 20:53 go.mod [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 49979 Oct 28 20:53 go.sum [2021-10-28T20:59:14.623Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 28 20:53 internal [2021-10-28T20:59:14.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 20:53 openapi [2021-10-28T20:59:14.623Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 20:53 pkg [2021-10-28T20:59:14.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 20:53 snap [2021-10-28T20:59:14.623Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 28 20:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T20:59:14.992Z] + 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=03dd633c157cc78c3153413baf97d57252ad0ef0 --label arch=arm64 --label version=2.0.1-dev.25 . [2021-10-28T20:59:15.642Z] Sending build context to Docker daemon 2.85MB [2021-10-28T20:59:15.642Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T20:59:15.642Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T20:59:15.642Z] ---> 86bb1e589eb6 [2021-10-28T20:59:15.642Z] Step 3/24 : ARG MAKE=make build [2021-10-28T20:59:15.946Z] ---> Running in 6f7aaef1245d [2021-10-28T20:59:16.567Z] Removing intermediate container 6f7aaef1245d [2021-10-28T20:59:16.567Z] ---> f53e6709965a [2021-10-28T20:59:16.567Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T20:59:16.567Z] ---> Running in 09a8267c8798 [2021-10-28T20:59:17.200Z] Removing intermediate container 09a8267c8798 [2021-10-28T20:59:17.201Z] ---> 4f767c4e91ef [2021-10-28T20:59:17.201Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T20:59:17.201Z] ---> Running in 465b39d5a5b1 [2021-10-28T20:59:17.852Z] Removing intermediate container 465b39d5a5b1 [2021-10-28T20:59:17.852Z] ---> 7c70c68bd581 [2021-10-28T20:59:17.852Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T20:59:17.852Z] ---> Running in 7a0a12aed422 [2021-10-28T20:59:20.527Z] Removing intermediate container 7a0a12aed422 [2021-10-28T20:59:20.527Z] ---> efe5eef4ba64 [2021-10-28T20:59:20.527Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T20:59:20.527Z] ---> Running in 3bf6197cd836 [2021-10-28T20:59:21.978Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T20:59:22.968Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T20:59:24.424Z] OK: 219 MiB in 52 packages [2021-10-28T20:59:25.423Z] Removing intermediate container 3bf6197cd836 [2021-10-28T20:59:25.423Z] ---> df72de649268 [2021-10-28T20:59:25.423Z] Step 8/24 : COPY . . [2021-10-28T20:59:26.879Z] ---> eafb81f82603 [2021-10-28T20:59:26.879Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T20:59:27.158Z] ---> Running in 814a7bf477fd [2021-10-28T20:59:30.578Z] Removing intermediate container 814a7bf477fd [2021-10-28T20:59:30.578Z] ---> bb303c4a733c [2021-10-28T20:59:30.578Z] Step 10/24 : RUN ${MAKE} [2021-10-28T20:59:30.578Z] ---> Running in 7aab47777930 [2021-10-28T20:59:31.593Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.25" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-28T21:00:18.739Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T21:00:19.013Z] Removing intermediate container 7aab47777930 [2021-10-28T21:00:19.013Z] ---> 505fb0025fc7 [2021-10-28T21:00:19.013Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T21:00:19.612Z] 3.14: Pulling from library/alpine [2021-10-28T21:00:19.888Z] 552d1f2373af: Already exists [2021-10-28T21:00:20.167Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T21:00:20.167Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T21:00:20.167Z] ---> bb3de5531c18 [2021-10-28T21:00:20.167Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T21:00:20.167Z] ---> Running in 6de8b91ca918 [2021-10-28T21:00:20.770Z] Removing intermediate container 6de8b91ca918 [2021-10-28T21:00:20.770Z] ---> 440cab7ac8a4 [2021-10-28T21:00:20.770Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T21:00:20.770Z] ---> Running in e6d5e425ec3d [2021-10-28T21:00:23.429Z] Removing intermediate container e6d5e425ec3d [2021-10-28T21:00:23.429Z] ---> dd7339666e2c [2021-10-28T21:00:23.429Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T21:00:23.429Z] ---> Running in 1baf95ebd203 [2021-10-28T21:00:24.871Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T21:00:25.852Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T21:00:26.836Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T21:00:26.836Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T21:00:26.836Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T21:00:27.109Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T21:00:27.109Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T21:00:27.383Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T21:00:27.383Z] OK: 8 MiB in 19 packages [2021-10-28T21:00:28.366Z] Removing intermediate container 1baf95ebd203 [2021-10-28T21:00:28.366Z] ---> 117fa44f0a7e [2021-10-28T21:00:28.366Z] Step 15/24 : WORKDIR / [2021-10-28T21:00:28.647Z] ---> Running in 2c800307f425 [2021-10-28T21:00:28.922Z] Removing intermediate container 2c800307f425 [2021-10-28T21:00:28.922Z] ---> 89bfd61c1303 [2021-10-28T21:00:28.922Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T21:00:29.900Z] ---> d3ad58d107f2 [2021-10-28T21:00:29.900Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T21:00:30.874Z] ---> 4cc00c99d880 [2021-10-28T21:00:30.874Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T21:00:31.857Z] ---> 9a5c44eccd89 [2021-10-28T21:00:31.857Z] Step 19/24 : EXPOSE 59999 [2021-10-28T21:00:31.857Z] ---> Running in c1c3329f17f9 [2021-10-28T21:00:32.134Z] Removing intermediate container c1c3329f17f9 [2021-10-28T21:00:32.134Z] ---> 6e92592b2f86 [2021-10-28T21:00:32.134Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T21:00:32.410Z] ---> Running in b4234fe2833d [2021-10-28T21:00:32.687Z] Removing intermediate container b4234fe2833d [2021-10-28T21:00:32.687Z] ---> 930e502f658d [2021-10-28T21:00:32.687Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T21:00:32.962Z] ---> Running in f9c26c82b965 [2021-10-28T21:00:33.235Z] Removing intermediate container f9c26c82b965 [2021-10-28T21:00:33.235Z] ---> 23eaed1e4f23 [2021-10-28T21:00:33.235Z] Step 22/24 : LABEL arch=arm64 [2021-10-28T21:00:33.512Z] ---> Running in a3897226fe9e [2021-10-28T21:00:33.793Z] Removing intermediate container a3897226fe9e [2021-10-28T21:00:33.793Z] ---> 0ec9f8b8e857 [2021-10-28T21:00:33.793Z] Step 23/24 : LABEL git_sha=03dd633c157cc78c3153413baf97d57252ad0ef0 [2021-10-28T21:00:34.069Z] ---> Running in b909dc9cb62c [2021-10-28T21:00:34.344Z] Removing intermediate container b909dc9cb62c [2021-10-28T21:00:34.344Z] ---> c78eef310845 [2021-10-28T21:00:34.344Z] Step 24/24 : LABEL version=2.0.1-dev.25 [2021-10-28T21:00:34.617Z] ---> Running in 58a218e645be [2021-10-28T21:00:34.892Z] Removing intermediate container 58a218e645be [2021-10-28T21:00:34.892Z] ---> 1652a6f8ee9c [2021-10-28T21:00:34.892Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T21:00:34.892Z] Successfully built 1652a6f8ee9c [2021-10-28T21:00:35.166Z] 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-28T21:00:35.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T21:00:36.000Z] [2021-10-28T21:00:36.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:00:36.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T21:00:36.628Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T21:00:36.628Z] 448f6bf000e3: Pulling fs layer [2021-10-28T21:00:36.628Z] f757da607395: Pulling fs layer [2021-10-28T21:00:36.628Z] 05883995daec: Pulling fs layer [2021-10-28T21:00:36.628Z] 8603b9c90790: Pulling fs layer [2021-10-28T21:00:36.628Z] 1560dd03e051: Pulling fs layer [2021-10-28T21:00:36.628Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T21:00:36.628Z] 8603b9c90790: Waiting [2021-10-28T21:00:36.628Z] 1560dd03e051: Waiting [2021-10-28T21:00:36.628Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T21:00:36.628Z] 27f5ce0e4adf: Waiting [2021-10-28T21:00:36.628Z] c2d8d7efcc4b: Waiting [2021-10-28T21:00:36.628Z] f757da607395: Verifying Checksum [2021-10-28T21:00:36.628Z] f757da607395: Download complete [2021-10-28T21:00:36.628Z] 8603b9c90790: Verifying Checksum [2021-10-28T21:00:36.628Z] 8603b9c90790: Download complete [2021-10-28T21:00:36.902Z] 1560dd03e051: Verifying Checksum [2021-10-28T21:00:36.902Z] 1560dd03e051: Download complete [2021-10-28T21:00:36.902Z] 27f5ce0e4adf: Verifying Checksum [2021-10-28T21:00:36.902Z] 27f5ce0e4adf: Download complete [2021-10-28T21:00:36.902Z] 05883995daec: Verifying Checksum [2021-10-28T21:00:36.902Z] 05883995daec: Download complete [2021-10-28T21:00:37.182Z] 448f6bf000e3: Download complete [2021-10-28T21:00:39.810Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T21:00:39.810Z] c2d8d7efcc4b: Download complete [2021-10-28T21:00:40.787Z] 448f6bf000e3: Pull complete [2021-10-28T21:00:41.774Z] f757da607395: Pull complete [2021-10-28T21:00:43.220Z] 05883995daec: Pull complete [2021-10-28T21:00:43.491Z] 8603b9c90790: Pull complete [2021-10-28T21:00:44.471Z] 1560dd03e051: Pull complete [2021-10-28T21:00:44.749Z] 27f5ce0e4adf: Pull complete [2021-10-28T21:00:59.837Z] c2d8d7efcc4b: Pull complete [2021-10-28T21:00:59.837Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T21:00:59.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T21:00:59.837Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T21:01:00.111Z] prd-ubuntu18.04-docker-arm64-4c-16g-12255 does not seem to be running inside a container [2021-10-28T21:01:00.189Z] $ 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/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T21:01:03.857Z] $ docker top 920f98af3d224cfe8d40832451cab850dbe4873570cf76b9d73e49a618eab3be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:01:04.923Z] ---> job-cost.sh [2021-10-28T21:01:04.923Z] lf-activate-venv: SKIPPING [2021-10-28T21:01:04.923Z] INFO: No Stack... [2021-10-28T21:01:06.385Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T21:01:06.678Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T21:01:07.411Z] + + cutcat -d, /w/workspace/device-sdk-go/24/archives/cost.csv -f6 [2021-10-28T21:01:07.411Z] [Pipeline] lock [2021-10-28T21:01:07.491Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-24-stack-cost] [2021-10-28T21:01:07.497Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-24-stack-cost] did not exist. Created. [2021-10-28T21:01:07.497Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T21:01:08.196Z] /w/workspace/device-sdk-go/24@tmp/durable-e0f3b495/script.sh: 1: /w/workspace/device-sdk-go/24@tmp/durable-e0f3b495/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T21:01:08.876Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T21:01:08.909Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T21:01:08.995Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T21:01:09.004Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T21:01:09.010Z] $ docker stop --time=1 920f98af3d224cfe8d40832451cab850dbe4873570cf76b9d73e49a618eab3be [2021-10-28T21:01:10.652Z] $ docker rm -f 920f98af3d224cfe8d40832451cab850dbe4873570cf76b9d73e49a618eab3be [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-28T21:01:11.434Z] provisioning config files... [2021-10-28T21:01:11.443Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5081714442157198227tmp [Pipeline] { [Pipeline] sh [2021-10-28T21:01:11.751Z] + set +x [2021-10-28T21:01:11.751Z] + curl -s https://codecov.io/bash [2021-10-28T21:01:11.751Z] + bash -s -- [2021-10-28T21:01:11.751Z] [2021-10-28T21:01:11.751Z] _____ _ [2021-10-28T21:01:11.751Z] / ____| | | [2021-10-28T21:01:11.751Z] | | ___ __| | ___ ___ _____ __ [2021-10-28T21:01:11.751Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-28T21:01:11.751Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-28T21:01:11.751Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-28T21:01:11.751Z] Bash-1.0.6 [2021-10-28T21:01:11.751Z] [2021-10-28T21:01:11.751Z] [2021-10-28T21:01:11.751Z] ==> git version 2.24.4 found [2021-10-28T21:01:11.751Z] ==> 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-28T21:01:11.751Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-28T21:01:11.751Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-28T21:01:11.751Z] ==> Jenkins CI detected. [2021-10-28T21:01:11.751Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T21:01:11.751Z] project root: . [2021-10-28T21:01:11.751Z] --> token set from env [2021-10-28T21:01:11.751Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-28T21:01:11.751Z] ==> Running gcov in . (disable via -X gcov) [2021-10-28T21:01:12.014Z] ==> Python coveragepy not found [2021-10-28T21:01:12.014Z] ==> Searching for coverage reports in: [2021-10-28T21:01:12.014Z] + . [2021-10-28T21:01:12.014Z] -> Found 1 reports [2021-10-28T21:01:12.014Z] ==> Detecting git/mercurial file structure [2021-10-28T21:01:12.014Z] ==> Reading reports [2021-10-28T21:01:12.014Z] + ./coverage.out bytes=126785 [2021-10-28T21:01:12.014Z] ==> Appending adjustments [2021-10-28T21:01:12.014Z] https://docs.codecov.io/docs/fixing-reports [2021-10-28T21:01:12.014Z] + Found adjustments [2021-10-28T21:01:12.277Z] ==> Gzipping contents [2021-10-28T21:01:12.277Z] 16K /tmp/codecov.QDI1pD.gz [2021-10-28T21:01:12.277Z] ==> Uploading reports [2021-10-28T21:01:12.277Z] url: https://codecov.io [2021-10-28T21:01:12.277Z] query: branch=main&commit=03dd633c157cc78c3153413baf97d57252ad0ef0&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-28T21:01:12.277Z] -> Pinging Codecov [2021-10-28T21:01:12.277Z] 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=03dd633c157cc78c3153413baf97d57252ad0ef0&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-28T21:01:12.538Z] -> Uploading to [2021-10-28T21:01:12.538Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-28/7E55EF52A471D76F132DFD9A03CDDE97/03dd633c157cc78c3153413baf97d57252ad0ef0/ebd62cc1-74a1-4fc7-936d-ac02c2724ee2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211028T210112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb6953d3050c07204b0a2b8ec7e7e423eb109b9b4e7a54ef568d9205fcc9db08 [2021-10-28T21:01:12.538Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T21:01:12.538Z] Dload Upload Total Spent Left Speed [2021-10-28T21:01:12.799Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16183 0 0 100 16183 0 59407 --:--:-- --:--:-- --:--:-- 59496 [2021-10-28T21:01:12.799Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/03dd633c157cc78c3153413baf97d57252ad0ef0 [Pipeline] } [2021-10-28T21:01:12.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-28T21:01:13.171Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-28T21:01:13.182Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:01:13.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T21:01:13.477Z] [2021-10-28T21:01:13.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:01:13.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T21:01:13.814Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-28T21:01:13.814Z] 188c0c94c7c5: Pulling fs layer [2021-10-28T21:01:13.814Z] 0ef7d3d256c8: Pulling fs layer [2021-10-28T21:01:13.814Z] de9db76c5a1d: Pulling fs layer [2021-10-28T21:01:13.814Z] 0eba1c9be4d2: Pulling fs layer [2021-10-28T21:01:13.814Z] 0d57e429df01: Pulling fs layer [2021-10-28T21:01:13.814Z] 4e4be7b47b0d: Pulling fs layer [2021-10-28T21:01:13.814Z] e1f770b5df2f: Pulling fs layer [2021-10-28T21:01:13.814Z] 85a0685a4137: Pulling fs layer [2021-10-28T21:01:13.814Z] 0eba1c9be4d2: Waiting [2021-10-28T21:01:13.814Z] 0d57e429df01: Waiting [2021-10-28T21:01:13.814Z] 4e4be7b47b0d: Waiting [2021-10-28T21:01:13.814Z] e1f770b5df2f: Waiting [2021-10-28T21:01:13.814Z] 85a0685a4137: Waiting [2021-10-28T21:01:13.814Z] de9db76c5a1d: Verifying Checksum [2021-10-28T21:01:13.814Z] de9db76c5a1d: Download complete [2021-10-28T21:01:13.814Z] 0ef7d3d256c8: Verifying Checksum [2021-10-28T21:01:13.814Z] 0ef7d3d256c8: Download complete [2021-10-28T21:01:13.814Z] 0d57e429df01: Verifying Checksum [2021-10-28T21:01:13.814Z] 0d57e429df01: Download complete [2021-10-28T21:01:13.814Z] 4e4be7b47b0d: Verifying Checksum [2021-10-28T21:01:13.814Z] 4e4be7b47b0d: Download complete [2021-10-28T21:01:13.814Z] 188c0c94c7c5: Verifying Checksum [2021-10-28T21:01:13.814Z] 188c0c94c7c5: Download complete [2021-10-28T21:01:14.082Z] 188c0c94c7c5: Pull complete [2021-10-28T21:01:14.082Z] e1f770b5df2f: Verifying Checksum [2021-10-28T21:01:14.082Z] e1f770b5df2f: Download complete [2021-10-28T21:01:14.362Z] 0ef7d3d256c8: Pull complete [2021-10-28T21:01:14.362Z] de9db76c5a1d: Pull complete [2021-10-28T21:01:14.635Z] 0eba1c9be4d2: Download complete [2021-10-28T21:01:14.896Z] 85a0685a4137: Verifying Checksum [2021-10-28T21:01:14.896Z] 85a0685a4137: Download complete [2021-10-28T21:01:18.253Z] 0eba1c9be4d2: Pull complete [2021-10-28T21:01:18.253Z] 0d57e429df01: Pull complete [2021-10-28T21:01:18.253Z] 4e4be7b47b0d: Pull complete [2021-10-28T21:01:19.201Z] e1f770b5df2f: Pull complete [2021-10-28T21:01:22.560Z] 85a0685a4137: Pull complete [2021-10-28T21:01:22.560Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-28T21:01:22.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T21:01:22.560Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-28T21:01:22.641Z] prd-centos7-docker-4c-2g-39 does not seem to be running inside a container [2021-10-28T21:01:22.681Z] $ 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-28T21:01:25.273Z] $ docker top bc01e153eb23cdaab092d7ac6939802d9a895d5a4c15d338b939ac14f44f255c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-28T21:01:25.348Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-28T21:01:25.634Z] + set -o pipefail [2021-10-28T21:01:25.634Z] + snyk monitor '--org=edgex-jenkins' [2021-10-28T21:01:30.942Z] [2021-10-28T21:01:30.942Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-28T21:01:30.942Z] [2021-10-28T21:01:30.942Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/f58754ba-a7cb-4138-a27f-69d0bf0f7613 [2021-10-28T21:01:30.942Z] [2021-10-28T21:01:30.942Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-28T21:01:30.942Z] [2021-10-28T21:01:30.942Z] [Pipeline] } [2021-10-28T21:01:30.953Z] $ docker stop --time=1 bc01e153eb23cdaab092d7ac6939802d9a895d5a4c15d338b939ac14f44f255c [2021-10-28T21:01:32.885Z] $ docker rm -f bc01e153eb23cdaab092d7ac6939802d9a895d5a4c15d338b939ac14f44f255c [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-28T21:01:33.477Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T21:01:33.487Z] provisioning config files... [2021-10-28T21:01:33.495Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8066389177586818939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:01:33.814Z] --> edgex-publish-swagger.sh [2021-10-28T21:01:33.814Z] === Publish openapi/v2 API === [2021-10-28T21:01:33.814Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-28T21:01:33.814Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-28T21:01:33.814Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T21:01:33.814Z] Dload Upload Total Spent Left Speed [2021-10-28T21:01:34.386Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 64837 --:--:-- --:--:-- --:--:-- 64898 [2021-10-28T21:01:34.386Z] [2021-10-28T21:01:34.386Z] [Pipeline] } [2021-10-28T21:01:34.393Z] 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-28T21:01:34.835Z] + git log --format=format:%s -1 03dd633c157cc78c3153413baf97d57252ad0ef0 [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:01:35.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T21:01:35.131Z] . [Pipeline] withDockerContainer [2021-10-28T21:01:35.199Z] prd-centos7-docker-4c-2g-39 does not seem to be running inside a container [2021-10-28T21:01:35.231Z] $ 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-28T21:01:35.613Z] $ docker top 4e53d17a8f58f74b00e9cdd6222e41095eb3314b8492069f120ddab611c62419 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T21:01:35.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T21:01:35.698Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T21:01:35.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T21:01:35.805Z] $ docker exec 4e53d17a8f58f74b00e9cdd6222e41095eb3314b8492069f120ddab611c62419 ssh-agent [2021-10-28T21:01:35.905Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCicMkl/agent.13 [2021-10-28T21:01:35.905Z] SSH_AGENT_PID=19 [2021-10-28T21:01:35.910Z] Running ssh-add (command line suppressed) [2021-10-28T21:01:36.011Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1930115133717444824.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1930115133717444824.key) [2021-10-28T21:01:36.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T21:01:36.316Z] + git semver tag [2021-10-28T21:01:36.316Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T21:01:36.316Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T21:01:36.316Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T21:01:36.316Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T21:01:36.316Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T21:01:36.316Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T21:01:36.316Z] # $SEMVER_BRANCH = main [2021-10-28T21:01:36.316Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-28T21:01:36.316Z] # 03dd633c157cc78c3153413baf97d57252ad0ef0 HEAD [2021-10-28T21:01:36.316Z] # -> Force: false [2021-10-28T21:01:36.316Z] # 0433de303ef4d20fc1b653ea0451fa10136a3f3b refs/tags/v2.0.1-dev.25 [Pipeline] } [2021-10-28T21:01:36.325Z] $ docker exec --env ******** --env ******** 4e53d17a8f58f74b00e9cdd6222e41095eb3314b8492069f120ddab611c62419 ssh-agent -k [2021-10-28T21:01:36.416Z] unset SSH_AUTH_SOCK; [2021-10-28T21:01:36.416Z] unset SSH_AGENT_PID; [2021-10-28T21:01:36.416Z] echo Agent pid 19 killed; [2021-10-28T21:01:36.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T21:01:36.735Z] + git semver [Pipeline] } [2021-10-28T21:01:36.750Z] $ docker stop --time=1 4e53d17a8f58f74b00e9cdd6222e41095eb3314b8492069f120ddab611c62419 [2021-10-28T21:01:37.937Z] $ docker rm -f 4e53d17a8f58f74b00e9cdd6222e41095eb3314b8492069f120ddab611c62419 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:01:38.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T21:01:38.323Z] [2021-10-28T21:01:38.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:01:38.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T21:01:38.623Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-28T21:01:38.623Z] ab5ef0e58194: Pulling fs layer [2021-10-28T21:01:38.623Z] 9712f1f96733: Pulling fs layer [2021-10-28T21:01:38.623Z] 63f879dbbcfc: Pulling fs layer [2021-10-28T21:01:38.623Z] 0d9ebad4ef96: Pulling fs layer [2021-10-28T21:01:38.623Z] e9a5061849ea: Pulling fs layer [2021-10-28T21:01:38.623Z] d747dcd14b5f: Pulling fs layer [2021-10-28T21:01:38.623Z] 2de7ff778b66: Pulling fs layer [2021-10-28T21:01:38.623Z] 0d9ebad4ef96: Waiting [2021-10-28T21:01:38.623Z] e9a5061849ea: Waiting [2021-10-28T21:01:38.623Z] d747dcd14b5f: Waiting [2021-10-28T21:01:38.623Z] 2de7ff778b66: Waiting [2021-10-28T21:01:38.623Z] 9712f1f96733: Verifying Checksum [2021-10-28T21:01:38.623Z] 9712f1f96733: Download complete [2021-10-28T21:01:38.898Z] 63f879dbbcfc: Verifying Checksum [2021-10-28T21:01:38.898Z] 63f879dbbcfc: Download complete [2021-10-28T21:01:39.168Z] ab5ef0e58194: Verifying Checksum [2021-10-28T21:01:39.168Z] ab5ef0e58194: Download complete [2021-10-28T21:01:39.168Z] d747dcd14b5f: Verifying Checksum [2021-10-28T21:01:39.168Z] d747dcd14b5f: Download complete [2021-10-28T21:01:39.168Z] 0d9ebad4ef96: Verifying Checksum [2021-10-28T21:01:39.168Z] 0d9ebad4ef96: Download complete [2021-10-28T21:01:39.168Z] e9a5061849ea: Verifying Checksum [2021-10-28T21:01:39.168Z] e9a5061849ea: Download complete [2021-10-28T21:01:39.440Z] 2de7ff778b66: Verifying Checksum [2021-10-28T21:01:39.440Z] 2de7ff778b66: Download complete [2021-10-28T21:01:42.765Z] ab5ef0e58194: Pull complete [2021-10-28T21:01:42.765Z] 9712f1f96733: Pull complete [2021-10-28T21:01:43.039Z] 63f879dbbcfc: Pull complete [2021-10-28T21:01:47.282Z] 0d9ebad4ef96: Pull complete [2021-10-28T21:01:47.282Z] e9a5061849ea: Pull complete [2021-10-28T21:01:47.282Z] d747dcd14b5f: Pull complete [2021-10-28T21:01:48.685Z] 2de7ff778b66: Pull complete [2021-10-28T21:01:48.685Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-28T21:01:48.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T21:01:48.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-28T21:01:48.760Z] prd-centos7-docker-4c-2g-39 does not seem to be running inside a container [2021-10-28T21:01:48.856Z] $ 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-28T21:01:51.938Z] $ docker top fa95d3b83d17925548601201bc0e860ba1852c7a9c66e8632428c90a24d6aa4c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-28T21:01:52.055Z] provisioning config files... [2021-10-28T21:01:52.112Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7532873423062565319tmp [2021-10-28T21:01:52.162Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7403077340772239357tmp [2021-10-28T21:01:52.174Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4981668501659548073tmp [Pipeline] { [Pipeline] echo [2021-10-28T21:01:52.188Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:01:52.500Z] ---> sigul-configuration.sh [2021-10-28T21:01:52.500Z] gpg: directory `/root/.gnupg' created [2021-10-28T21:01:52.500Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-28T21:01:52.500Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-28T21:01:52.500Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-28T21:01:52.500Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-28T21:01:52.500Z] gpg: CAST5 encrypted data [2021-10-28T21:01:52.500Z] gpg: encrypted with 1 passphrase [2021-10-28T21:01:52.500Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-28T21:01:52.790Z] + mkdir /home/jenkins [2021-10-28T21:01:52.790Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-28T21:01:53.092Z] + 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-28T21:01:53.100Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:01:53.389Z] ---> sigul-install.sh [2021-10-28T21:01:53.389Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-28T21:01:53.677Z] + git tag --list [2021-10-28T21:01:53.677Z] 0.7.1 [2021-10-28T21:01:53.677Z] delhi-tag [2021-10-28T21:01:53.677Z] v1.0.0 [2021-10-28T21:01:53.677Z] v1.1.0 [2021-10-28T21:01:53.677Z] v1.1.1 [2021-10-28T21:01:53.677Z] v1.1.2 [2021-10-28T21:01:53.677Z] v1.2.0 [2021-10-28T21:01:53.677Z] v1.2.1 [2021-10-28T21:01:53.677Z] v1.2.2 [2021-10-28T21:01:53.677Z] v1.2.3 [2021-10-28T21:01:53.677Z] v1.3.0 [2021-10-28T21:01:53.677Z] v1.4.0 [2021-10-28T21:01:53.677Z] v2.0.0 [2021-10-28T21:01:53.677Z] v2.0.1-dev.1 [2021-10-28T21:01:53.677Z] v2.0.1-dev.10 [2021-10-28T21:01:53.677Z] v2.0.1-dev.11 [2021-10-28T21:01:53.677Z] v2.0.1-dev.12 [2021-10-28T21:01:53.677Z] v2.0.1-dev.13 [2021-10-28T21:01:53.677Z] v2.0.1-dev.14 [2021-10-28T21:01:53.677Z] v2.0.1-dev.15 [2021-10-28T21:01:53.677Z] v2.0.1-dev.16 [2021-10-28T21:01:53.677Z] v2.0.1-dev.17 [2021-10-28T21:01:53.677Z] v2.0.1-dev.18 [2021-10-28T21:01:53.677Z] v2.0.1-dev.19 [2021-10-28T21:01:53.677Z] v2.0.1-dev.2 [2021-10-28T21:01:53.677Z] v2.0.1-dev.20 [2021-10-28T21:01:53.677Z] v2.0.1-dev.21 [2021-10-28T21:01:53.677Z] v2.0.1-dev.22 [2021-10-28T21:01:53.677Z] v2.0.1-dev.23 [2021-10-28T21:01:53.677Z] v2.0.1-dev.24 [2021-10-28T21:01:53.677Z] v2.0.1-dev.25 [2021-10-28T21:01:53.677Z] v2.0.1-dev.3 [2021-10-28T21:01:53.677Z] v2.0.1-dev.4 [2021-10-28T21:01:53.677Z] v2.0.1-dev.5 [2021-10-28T21:01:53.677Z] v2.0.1-dev.6 [2021-10-28T21:01:53.677Z] v2.0.1-dev.7 [2021-10-28T21:01:53.677Z] v2.0.1-dev.8 [2021-10-28T21:01:53.677Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-28T21:01:53.981Z] + lftools sign git-tag v2.0.1-dev.25 [2021-10-28T21:01:54.555Z] Signing Git tag with Sigul... [2021-10-28T21:01:54.555Z] Signing v2.0.1-dev.25 [Pipeline] echo [2021-10-28T21:01:55.501Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:01:55.785Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-28T21:01:55.792Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-28T21:01:55.811Z] $ docker stop --time=1 fa95d3b83d17925548601201bc0e860ba1852c7a9c66e8632428c90a24d6aa4c [2021-10-28T21:01:57.008Z] $ docker rm -f fa95d3b83d17925548601201bc0e860ba1852c7a9c66e8632428c90a24d6aa4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:01:57.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T21:01:57.618Z] . [Pipeline] withDockerContainer [2021-10-28T21:01:57.677Z] prd-centos7-docker-4c-2g-39 does not seem to be running inside a container [2021-10-28T21:01:57.713Z] $ 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-28T21:01:58.043Z] $ docker top 8a40d903f136ca837471cbb4bf7b778c76dd69378b7d13f5d2094d09007f08de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T21:01:58.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T21:01:58.127Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T21:01:58.227Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T21:01:58.229Z] $ docker exec 8a40d903f136ca837471cbb4bf7b778c76dd69378b7d13f5d2094d09007f08de ssh-agent [2021-10-28T21:01:58.327Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXekJEgL/agent.14 [2021-10-28T21:01:58.327Z] SSH_AGENT_PID=20 [2021-10-28T21:01:58.333Z] Running ssh-add (command line suppressed) [2021-10-28T21:01:58.436Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3592895860601894301.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3592895860601894301.key) [2021-10-28T21:01:58.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T21:01:58.741Z] + git semver bump pre [2021-10-28T21:01:58.741Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T21:01:58.741Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T21:01:58.741Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T21:01:58.741Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T21:01:58.741Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T21:01:58.741Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T21:01:58.741Z] # $SEMVER_BRANCH = main [2021-10-28T21:01:58.741Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-28T21:01:58.741Z] 2.0.1-dev.26 [Pipeline] } [2021-10-28T21:01:58.752Z] $ docker exec --env ******** --env ******** 8a40d903f136ca837471cbb4bf7b778c76dd69378b7d13f5d2094d09007f08de ssh-agent -k [2021-10-28T21:01:58.848Z] unset SSH_AUTH_SOCK; [2021-10-28T21:01:58.848Z] unset SSH_AGENT_PID; [2021-10-28T21:01:58.848Z] echo Agent pid 20 killed; [2021-10-28T21:01:58.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T21:01:59.163Z] + git semver [Pipeline] } [2021-10-28T21:01:59.176Z] $ docker stop --time=1 8a40d903f136ca837471cbb4bf7b778c76dd69378b7d13f5d2094d09007f08de [2021-10-28T21:02:00.359Z] $ docker rm -f 8a40d903f136ca837471cbb4bf7b778c76dd69378b7d13f5d2094d09007f08de [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:02:00.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T21:02:00.709Z] . [Pipeline] withDockerContainer [2021-10-28T21:02:00.770Z] prd-centos7-docker-4c-2g-39 does not seem to be running inside a container [2021-10-28T21:02:00.805Z] $ 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-28T21:02:01.160Z] $ docker top 85811474e49017b9d7ee74d035280038d6fa60df95d2e606fe72576a89e4c837 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T21:02:01.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T21:02:01.248Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T21:02:01.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T21:02:01.361Z] $ docker exec 85811474e49017b9d7ee74d035280038d6fa60df95d2e606fe72576a89e4c837 ssh-agent [2021-10-28T21:02:01.465Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgGoGpi/agent.13 [2021-10-28T21:02:01.465Z] SSH_AGENT_PID=19 [2021-10-28T21:02:01.471Z] Running ssh-add (command line suppressed) [2021-10-28T21:02:01.571Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5451982880392686241.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5451982880392686241.key) [2021-10-28T21:02:01.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T21:02:01.878Z] + git semver push [2021-10-28T21:02:01.879Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T21:02:01.879Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T21:02:01.879Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T21:02:01.879Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T21:02:01.879Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T21:02:01.879Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T21:02:01.879Z] # $SEMVER_BRANCH = main [2021-10-28T21:02:01.879Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-28T21:02:04.428Z] $ docker exec --env ******** --env ******** 85811474e49017b9d7ee74d035280038d6fa60df95d2e606fe72576a89e4c837 ssh-agent -k [2021-10-28T21:02:04.526Z] unset SSH_AUTH_SOCK; [2021-10-28T21:02:04.527Z] unset SSH_AGENT_PID; [2021-10-28T21:02:04.527Z] echo Agent pid 19 killed; [2021-10-28T21:02:04.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T21:02:04.851Z] + git semver [Pipeline] } [2021-10-28T21:02:04.864Z] $ docker stop --time=1 85811474e49017b9d7ee74d035280038d6fa60df95d2e606fe72576a89e4c837 [2021-10-28T21:02:06.050Z] $ docker rm -f 85811474e49017b9d7ee74d035280038d6fa60df95d2e606fe72576a89e4c837 [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-28T21:02:06.834Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:02:07.137Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:02:07.697Z] ---> package-listing.sh [2021-10-28T21:02:07.697Z] ++ facter osfamily [2021-10-28T21:02:07.697Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T21:02:07.962Z] + OS_FAMILY=redhat [2021-10-28T21:02:07.962Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T21:02:07.962Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T21:02:07.962Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T21:02:07.962Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T21:02:07.962Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T21:02:07.962Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-28T21:02:07.962Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T21:02:07.962Z] + case "${OS_FAMILY}" in [2021-10-28T21:02:07.962Z] + rpm -qa [2021-10-28T21:02:07.962Z] + sort [2021-10-28T21:02:08.535Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T21:02:08.535Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T21:02:08.535Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T21:02:08.535Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-28T21:02:08.535Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-28T21:02:08.535Z] + 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-28T21:02:08.546Z] 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-28T21:02:08.829Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:02:09.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T21:02:09.384Z] [2021-10-28T21:02:09.384Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T21:02:09.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T21:02:09.709Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T21:02:09.709Z] b4d181a07f80: Pulling fs layer [2021-10-28T21:02:09.709Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T21:02:09.709Z] ed53099fbce6: Pulling fs layer [2021-10-28T21:02:09.709Z] dc539afda2c1: Pulling fs layer [2021-10-28T21:02:09.709Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T21:02:09.709Z] 9065ff56babe: Pulling fs layer [2021-10-28T21:02:09.709Z] d287ab97295c: Pulling fs layer [2021-10-28T21:02:09.709Z] dc539afda2c1: Waiting [2021-10-28T21:02:09.709Z] 77bc0d833cb6: Waiting [2021-10-28T21:02:09.709Z] 9065ff56babe: Waiting [2021-10-28T21:02:09.709Z] d287ab97295c: Waiting [2021-10-28T21:02:09.709Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T21:02:09.709Z] a1111a8f2ec3: Download complete [2021-10-28T21:02:09.709Z] dc539afda2c1: Verifying Checksum [2021-10-28T21:02:09.709Z] dc539afda2c1: Download complete [2021-10-28T21:02:09.709Z] ed53099fbce6: Verifying Checksum [2021-10-28T21:02:09.709Z] ed53099fbce6: Download complete [2021-10-28T21:02:09.972Z] 9065ff56babe: Verifying Checksum [2021-10-28T21:02:09.972Z] 9065ff56babe: Download complete [2021-10-28T21:02:09.972Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T21:02:09.972Z] 77bc0d833cb6: Download complete [2021-10-28T21:02:09.972Z] b4d181a07f80: Verifying Checksum [2021-10-28T21:02:09.972Z] b4d181a07f80: Download complete [2021-10-28T21:02:10.554Z] d287ab97295c: Verifying Checksum [2021-10-28T21:02:10.554Z] d287ab97295c: Download complete [2021-10-28T21:02:11.494Z] b4d181a07f80: Pull complete [2021-10-28T21:02:11.761Z] a1111a8f2ec3: Pull complete [2021-10-28T21:02:12.025Z] ed53099fbce6: Pull complete [2021-10-28T21:02:12.287Z] dc539afda2c1: Pull complete [2021-10-28T21:02:12.553Z] 77bc0d833cb6: Pull complete [2021-10-28T21:02:12.553Z] 9065ff56babe: Pull complete [2021-10-28T21:02:17.913Z] d287ab97295c: Pull complete [2021-10-28T21:02:17.913Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T21:02:17.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T21:02:17.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T21:02:17.975Z] prd-centos7-docker-4c-2g-39 does not seem to be running inside a container [2021-10-28T21:02:18.008Z] $ 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-28T21:02:20.393Z] $ docker top c318e57961f2d2947d694d3bc1382dde26019e9d99cb97c30489e52cd05de750 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T21:02:20.743Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T21:02:21.030Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T21:02:21.314Z] + ls /var/log/sa-host [2021-10-28T21:02:21.314Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T21:02:21.314Z] file_magic: OK [2021-10-28T21:02:21.314Z] HZ: Using current value: 100 [2021-10-28T21:02:21.314Z] file_header: OK [2021-10-28T21:02:21.314Z] 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-28T21:02:21.314Z] Statistics: [2021-10-28T21:02:21.314Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T21:02:21.314Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T21:02:21.314Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T21:02:21.314Z] file_magic: OK [2021-10-28T21:02:21.314Z] HZ: Using current value: 100 [2021-10-28T21:02:21.314Z] file_header: OK [2021-10-28T21:02:21.314Z] 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-28T21:02:21.314Z] Statistics: [2021-10-28T21:02:21.314Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T21:02:21.314Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T21:02:21.388Z] provisioning config files... [2021-10-28T21:02:21.398Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2821420735148589930tmp [Pipeline] { [Pipeline] echo [2021-10-28T21:02:21.412Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:02:21.698Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T21:02:21.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:02:22.031Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T21:02:22.039Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:02:22.324Z] ---> sudo-logs.sh [2021-10-28T21:02:22.324Z] Archiving 'sudo' log.. [2021-10-28T21:02:22.324Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-39.novalocal: Name or service not known [2021-10-28T21:02:22.324Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-39.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T21:02:22.347Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:02:22.640Z] ---> job-cost.sh [2021-10-28T21:02:22.640Z] lf-activate-venv: SKIPPING [2021-10-28T21:02:22.640Z] DEBUG: total: 0.10999999940395355 [2021-10-28T21:02:22.640Z] INFO: Retrieving Stack Cost... [2021-10-28T21:02:22.909Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T21:02:23.168Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T21:02:23.177Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T21:02:23.464Z] ---> logs-deploy.sh [2021-10-28T21:02:23.464Z] lf-activate-venv: SKIPPING [2021-10-28T21:02:23.464Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/24 [2021-10-28T21:02:23.464Z] INFO: archiving workspace using pattern(s): [2021-10-28T21:02:24.037Z] Archives upload complete. [2021-10-28T21:02:24.300Z] INFO: archiving logs to Nexus