Started by upstream project "edgexfoundry/cd-management/release-lts" build number 17 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 78adb6ac09960ae1bdb6b96e349cc31e527ba639 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-ssh1960554676536486700.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh6683065838503378021.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 a03e002eace0db65b27acd1444eb3c4392a49323 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/jakarta/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/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh83133527063032540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > 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-ssh173978220701372766.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/jakarta/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/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9205353232767120507.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 USE_ALPINE: true 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 ‘prd-centos7-docker-4c-2g-360’ Running on prd-centos7-docker-4c-2g-367 in /w/workspace/gexfoundry_device-sdk-go_jakarta [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/gexfoundry_device-sdk-go_jakarta # 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/gexfoundry_device-sdk-go_jakarta@tmp/jenkins-gitclient-ssh8418316648288897672.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 78adb6ac09960ae1bdb6b96e349cc31e527ba639 (jakarta) > 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 78adb6ac09960ae1bdb6b96e349cc31e527ba639 # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @4b2e95d" > git rev-list --no-walk 78adb6ac09960ae1bdb6b96e349cc31e527ba639 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-12T17:33:28.883Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-12T17:33:28.928Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-12T17:33:28.944Z] ========================================================= [2021-11-12T17:33:28.944Z] EdgeX Global Pipelines Version Info [2021-11-12T17:33:28.944Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:33:30.098Z] ------------------- [2021-11-12T17:33:30.098Z] stable info: [2021-11-12T17:33:30.098Z] ------------------- [2021-11-12T17:33:30.098Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-12T17:33:30.098Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-12T17:33:30.098Z] Message: update stable to v1.0.213 [2021-11-12T17:33:30.668Z] ------------------- [2021-11-12T17:33:30.668Z] experimental info: [2021-11-12T17:33:30.668Z] ------------------- [2021-11-12T17:33:30.668Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-12T17:33:30.668Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-12T17:33:30.668Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-12T17:33:30.749Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-12T17:33:30.765Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-12T17:33:30.779Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-12T17:33:30.789Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-12T17:33:30.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-12T17:33:30.809Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-12T17:33:30.821Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-12T17:33:30.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-12T17:33:30.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-12T17:33:30.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-12T17:33:30.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-12T17:33:30.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-12T17:33:30.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-12T17:33:30.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-12T17:33:30.910Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-12T17:33:30.922Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-12T17:33:30.934Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-12T17:33:30.946Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-12T17:33:30.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-12T17:33:30.966Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-12T17:33:30.977Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-12T17:33:30.987Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-12T17:33:30.998Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-12T17:33:31.009Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-12T17:33:31.021Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-12T17:33:31.032Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-12T17:33:31.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2021-11-12T17:33:31.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2021-11-12T17:33:31.062Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2021-11-12T17:33:31.073Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78adb6ac09960ae1bdb6b96e349cc31e527ba639 [Pipeline] echo [2021-11-12T17:33:31.084Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78adb6a [Pipeline] echo [2021-11-12T17:33:31.095Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T17:33:31.127Z] provisioning config files... [2021-11-12T17:33:31.143Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config4580587030642523120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:33:31.483Z] ---> docker-login.sh [2021-11-12T17:33:31.484Z] nexus3.edgexfoundry.org:10001 [2021-11-12T17:33:31.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:33:31.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:33:31.745Z] Configure a credential helper to remove this warning. See [2021-11-12T17:33:31.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:33:31.745Z] [2021-11-12T17:33:31.745Z] Login Succeeded [2021-11-12T17:33:31.745Z] nexus3.edgexfoundry.org:10002 [2021-11-12T17:33:31.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:33:31.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:33:31.745Z] Configure a credential helper to remove this warning. See [2021-11-12T17:33:31.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:33:31.745Z] [2021-11-12T17:33:31.745Z] Login Succeeded [2021-11-12T17:33:31.745Z] nexus3.edgexfoundry.org:10003 [2021-11-12T17:33:31.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:33:32.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:33:32.007Z] Configure a credential helper to remove this warning. See [2021-11-12T17:33:32.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:33:32.007Z] [2021-11-12T17:33:32.007Z] Login Succeeded [2021-11-12T17:33:32.007Z] nexus3.edgexfoundry.org:10004 [2021-11-12T17:33:32.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:33:32.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:33:32.007Z] Configure a credential helper to remove this warning. See [2021-11-12T17:33:32.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:33:32.007Z] [2021-11-12T17:33:32.007Z] Login Succeeded [2021-11-12T17:33:32.007Z] docker.io [2021-11-12T17:33:32.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:33:32.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:33:32.528Z] Configure a credential helper to remove this warning. See [2021-11-12T17:33:32.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:33:32.528Z] [2021-11-12T17:33:32.528Z] Login Succeeded [2021-11-12T17:33:32.528Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T17:33:32.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-12T17:33:32.995Z] + git rev-list -1 --merges 78adb6ac09960ae1bdb6b96e349cc31e527ba639~1..78adb6ac09960ae1bdb6b96e349cc31e527ba639 [Pipeline] echo [2021-11-12T17:33:33.040Z] -----------> git rev-list -1 --merges 78adb6ac09960ae1bdb6b96e349cc31e527ba639~1..78adb6ac09960ae1bdb6b96e349cc31e527ba639 78adb6ac09960ae1bdb6b96e349cc31e527ba639 [false] [Pipeline] sh [2021-11-12T17:33:33.340Z] + git log --format=format:%s -1 78adb6ac09960ae1bdb6b96e349cc31e527ba639 [Pipeline] echo [2021-11-12T17:33:33.356Z] ========================================================= [2021-11-12T17:33:33.356Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2021-11-12T17:33:33.356Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-12T17:33:33.694Z] + git log --format=format:%s -1 78adb6ac09960ae1bdb6b96e349cc31e527ba639 [Pipeline] echo [2021-11-12T17:33:33.707Z] [semverPrep] GIT_COMMIT: 78adb6ac09960ae1bdb6b96e349cc31e527ba639, Commit Message: ci(lts-release): LTS release v2.1.0 @4b2e95d [Pipeline] echo [2021-11-12T17:33:33.716Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:33:34.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-12T17:33:34.140Z] [2021-11-12T17:33:34.140Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:33:34.458Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-12T17:33:34.458Z] latest: Pulling from edgex-devops/git-semver [2021-11-12T17:33:34.458Z] a0d0a0d46f8b: Pulling fs layer [2021-11-12T17:33:34.458Z] 3e5f54012d9b: Pulling fs layer [2021-11-12T17:33:34.458Z] 4c7163046ea9: Pulling fs layer [2021-11-12T17:33:34.458Z] 0c2d73faf560: Pulling fs layer [2021-11-12T17:33:34.458Z] 0c2d73faf560: Waiting [2021-11-12T17:33:34.458Z] 3e5f54012d9b: Verifying Checksum [2021-11-12T17:33:34.458Z] 3e5f54012d9b: Download complete [2021-11-12T17:33:34.458Z] a0d0a0d46f8b: Verifying Checksum [2021-11-12T17:33:34.458Z] a0d0a0d46f8b: Download complete [2021-11-12T17:33:34.458Z] 0c2d73faf560: Verifying Checksum [2021-11-12T17:33:34.458Z] 0c2d73faf560: Download complete [2021-11-12T17:33:34.458Z] 4c7163046ea9: Verifying Checksum [2021-11-12T17:33:34.458Z] 4c7163046ea9: Download complete [2021-11-12T17:33:34.722Z] a0d0a0d46f8b: Pull complete [2021-11-12T17:33:34.722Z] 3e5f54012d9b: Pull complete [2021-11-12T17:33:34.998Z] 4c7163046ea9: Pull complete [2021-11-12T17:33:35.271Z] 0c2d73faf560: Pull complete [2021-11-12T17:33:35.271Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-12T17:33:35.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-12T17:33:35.271Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-12T17:33:35.356Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-11-12T17:33:35.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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-11-12T17:33:36.052Z] $ docker top a24a93e8447a206e9006636feff4525b659c6ef283891b822c115b16e790d8b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-12T17:33:36.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-12T17:33:36.139Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-12T17:33:36.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-12T17:33:36.245Z] $ docker exec a24a93e8447a206e9006636feff4525b659c6ef283891b822c115b16e790d8b4 ssh-agent [2021-11-12T17:33:36.344Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhfGoCD/agent.14 [2021-11-12T17:33:36.344Z] SSH_AGENT_PID=21 [2021-11-12T17:33:36.351Z] Running ssh-add (command line suppressed) [2021-11-12T17:33:36.445Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_401765504191002897.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_401765504191002897.key) [2021-11-12T17:33:36.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-12T17:33:36.755Z] + git tag --points-at 78adb6ac09960ae1bdb6b96e349cc31e527ba639 [Pipeline] } [2021-11-12T17:33:36.772Z] $ docker exec --env ******** --env ******** a24a93e8447a206e9006636feff4525b659c6ef283891b822c115b16e790d8b4 ssh-agent -k [2021-11-12T17:33:36.863Z] unset SSH_AUTH_SOCK; [2021-11-12T17:33:36.863Z] unset SSH_AGENT_PID; [2021-11-12T17:33:36.863Z] echo Agent pid 21 killed; [2021-11-12T17:33:36.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-11-12T17:33:36.890Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.0' [Pipeline] sshagent [2021-11-12T17:33:36.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-12T17:33:36.904Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-12T17:33:37.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-12T17:33:37.010Z] $ docker exec a24a93e8447a206e9006636feff4525b659c6ef283891b822c115b16e790d8b4 ssh-agent [2021-11-12T17:33:37.118Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOElHoD/agent.56 [2021-11-12T17:33:37.118Z] SSH_AGENT_PID=63 [2021-11-12T17:33:37.123Z] Running ssh-add (command line suppressed) [2021-11-12T17:33:37.240Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_5185036965158344200.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_5185036965158344200.key) [2021-11-12T17:33:37.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-12T17:33:37.541Z] + git semver init [2021-11-12T17:33:37.541Z] # -> Open(): unable to determine branch for HEAD [2021-11-12T17:33:37.541Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.git [2021-11-12T17:33:37.541Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_jakarta [2021-11-12T17:33:37.541Z] # $SEMVER_REMOTE_NAME = origin [2021-11-12T17:33:37.541Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-12T17:33:37.541Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-12T17:33:37.541Z] # $SEMVER_BRANCH = jakarta [2021-11-12T17:33:37.541Z] # $SEMVER_TEMP = /tmp/semver-075056178 [2021-11-12T17:33:37.541Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-12T17:33:38.933Z] # '/tmp/semver-075056178' -> '/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver' [2021-11-12T17:33:38.933Z] # -> Force: false [2021-11-12T17:33:38.933Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver [Pipeline] } [2021-11-12T17:33:38.947Z] $ docker exec --env ******** --env ******** a24a93e8447a206e9006636feff4525b659c6ef283891b822c115b16e790d8b4 ssh-agent -k [2021-11-12T17:33:39.039Z] unset SSH_AUTH_SOCK; [2021-11-12T17:33:39.039Z] unset SSH_AGENT_PID; [2021-11-12T17:33:39.039Z] echo Agent pid 63 killed; [2021-11-12T17:33:39.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-12T17:33:39.357Z] + git semver [Pipeline] } [2021-11-12T17:33:39.376Z] $ docker stop --time=1 a24a93e8447a206e9006636feff4525b659c6ef283891b822c115b16e790d8b4 [2021-11-12T17:33:40.611Z] $ docker rm -f a24a93e8447a206e9006636feff4525b659c6ef283891b822c115b16e790d8b4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-12T17:33:40.960Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-12T17:33:41.202Z] Stashed 1 file(s) [Pipeline] echo [2021-11-12T17:33:41.205Z] [edgeXSemver]: initialized semver on version 2.1.0 [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-11-12T17:33:56.391Z] Still waiting to schedule task [2021-11-12T17:33:56.391Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-12T17:33:56.392Z] Still waiting to schedule task [2021-11-12T17:33:56.393Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-366’ is offline [2021-11-12T17:35:40.889Z] Running on prd-centos7-docker-4c-2g-373 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws [2021-11-12T17:35:40.900Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-12T17:35:40.986Z] Selected Git installation does not exist. Using Default [2021-11-12T17:35:40.986Z] The recommended git tool is: NONE [2021-11-12T17:35:42.901Z] using credential edgex-jenkins-ssh [2021-11-12T17:35:42.912Z] Cloning the remote Git repository [2021-11-12T17:35:42.776Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-12T17:35:42.853Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-12T17:35:42.921Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-12T17:35:42.921Z] > git --version # timeout=10 [2021-11-12T17:35:42.931Z] > git --version # 'git version 2.24.4' [2021-11-12T17:35:42.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-12T17:35:42.959Z] [INFO] Currently running in a labeled security context [2021-11-12T17:35:42.959Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-12T17:35:42.959Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4436575903055030506.key [2021-11-12T17:35:42.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T17:35:44.225Z] Avoid second fetch [2021-11-12T17:35:44.225Z] Checking out Revision 78adb6ac09960ae1bdb6b96e349cc31e527ba639 (jakarta) [2021-11-12T17:35:44.053Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-12T17:35:44.060Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T17:35:44.083Z] > git config core.sparsecheckout # timeout=10 [2021-11-12T17:35:44.094Z] > git checkout -f 78adb6ac09960ae1bdb6b96e349cc31e527ba639 # timeout=10 [2021-11-12T17:35:47.795Z] Commit message: "ci(lts-release): LTS release v2.1.0 @4b2e95d" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-12T17:35:48.510Z] + git checkout 78adb6ac09960ae1bdb6b96e349cc31e527ba639 [2021-11-12T17:35:48.510Z] HEAD is now at 78adb6a ci(lts-release): LTS release v2.1.0 @4b2e95d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T17:35:48.559Z] provisioning config files... [2021-11-12T17:35:48.571Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5681879845277042786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:35:48.889Z] ---> docker-login.sh [2021-11-12T17:35:48.889Z] nexus3.edgexfoundry.org:10001 [2021-11-12T17:35:48.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:35:48.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:35:48.889Z] Configure a credential helper to remove this warning. See [2021-11-12T17:35:48.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:35:48.889Z] [2021-11-12T17:35:48.889Z] Login Succeeded [2021-11-12T17:35:48.889Z] nexus3.edgexfoundry.org:10002 [2021-11-12T17:35:49.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:35:49.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:35:49.158Z] Configure a credential helper to remove this warning. See [2021-11-12T17:35:49.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:35:49.158Z] [2021-11-12T17:35:49.158Z] Login Succeeded [2021-11-12T17:35:49.158Z] nexus3.edgexfoundry.org:10003 [2021-11-12T17:35:49.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:35:49.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:35:49.158Z] Configure a credential helper to remove this warning. See [2021-11-12T17:35:49.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:35:49.158Z] [2021-11-12T17:35:49.158Z] Login Succeeded [2021-11-12T17:35:49.158Z] nexus3.edgexfoundry.org:10004 [2021-11-12T17:35:49.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:35:49.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:35:49.426Z] Configure a credential helper to remove this warning. See [2021-11-12T17:35:49.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:35:49.426Z] [2021-11-12T17:35:49.426Z] Login Succeeded [2021-11-12T17:35:49.426Z] docker.io [2021-11-12T17:35:49.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:35:49.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:35:49.687Z] Configure a credential helper to remove this warning. See [2021-11-12T17:35:49.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:35:49.687Z] [2021-11-12T17:35:49.687Z] Login Succeeded [2021-11-12T17:35:49.687Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T17:35:49.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-12T17:35:49.835Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-12T17:35:49.843Z] ========================================================= [2021-11-12T17:35:49.843Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] [2021-11-12T17:35:49.843Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:35:50.157Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg 'MAKE=echo noop' --target=builder . [2021-11-12T17:35:50.420Z] Sending build context to Docker daemon 16MB [2021-11-12T17:35:50.420Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-12T17:35:50.420Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-12T17:35:50.420Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2021-11-12T17:35:50.420Z] a0d0a0d46f8b: Pulling fs layer [2021-11-12T17:35:50.420Z] 31adcdaf11c8: Pulling fs layer [2021-11-12T17:35:50.420Z] b8b176561691: Pulling fs layer [2021-11-12T17:35:50.420Z] 4527c011a84f: Pulling fs layer [2021-11-12T17:35:50.420Z] 5d74067f8e1e: Pulling fs layer [2021-11-12T17:35:50.420Z] 36f58ee4fdd2: Pulling fs layer [2021-11-12T17:35:50.420Z] 32f094029db3: Pulling fs layer [2021-11-12T17:35:50.420Z] 773a5188bba9: Pulling fs layer [2021-11-12T17:35:50.420Z] 0a89ddfe6704: Pulling fs layer [2021-11-12T17:35:50.420Z] 4527c011a84f: Waiting [2021-11-12T17:35:50.420Z] 5d74067f8e1e: Waiting [2021-11-12T17:35:50.420Z] 36f58ee4fdd2: Waiting [2021-11-12T17:35:50.420Z] 32f094029db3: Waiting [2021-11-12T17:35:50.420Z] 773a5188bba9: Waiting [2021-11-12T17:35:50.420Z] 0a89ddfe6704: Waiting [2021-11-12T17:35:50.420Z] b8b176561691: Verifying Checksum [2021-11-12T17:35:50.420Z] b8b176561691: Download complete [2021-11-12T17:35:50.420Z] 31adcdaf11c8: Verifying Checksum [2021-11-12T17:35:50.420Z] 31adcdaf11c8: Download complete [2021-11-12T17:35:50.420Z] 5d74067f8e1e: Verifying Checksum [2021-11-12T17:35:50.420Z] 5d74067f8e1e: Download complete [2021-11-12T17:35:50.696Z] 36f58ee4fdd2: Verifying Checksum [2021-11-12T17:35:50.696Z] 36f58ee4fdd2: Download complete [2021-11-12T17:35:50.696Z] a0d0a0d46f8b: Verifying Checksum [2021-11-12T17:35:50.696Z] a0d0a0d46f8b: Download complete [2021-11-12T17:35:50.696Z] 32f094029db3: Verifying Checksum [2021-11-12T17:35:50.696Z] 32f094029db3: Download complete [2021-11-12T17:35:50.696Z] 773a5188bba9: Verifying Checksum [2021-11-12T17:35:50.696Z] 773a5188bba9: Download complete [2021-11-12T17:35:50.961Z] 4527c011a84f: Verifying Checksum [2021-11-12T17:35:50.961Z] 4527c011a84f: Download complete [2021-11-12T17:35:51.226Z] a0d0a0d46f8b: Pull complete [2021-11-12T17:35:51.226Z] 0a89ddfe6704: Verifying Checksum [2021-11-12T17:35:51.226Z] 0a89ddfe6704: Download complete [2021-11-12T17:35:51.226Z] 31adcdaf11c8: Pull complete [2021-11-12T17:35:51.226Z] b8b176561691: Pull complete [2021-11-12T17:35:55.474Z] 4527c011a84f: Pull complete [2021-11-12T17:35:55.474Z] 5d74067f8e1e: Pull complete [2021-11-12T17:35:55.474Z] 36f58ee4fdd2: Pull complete [2021-11-12T17:35:55.474Z] 32f094029db3: Pull complete [2021-11-12T17:35:55.474Z] 773a5188bba9: Pull complete [2021-11-12T17:35:57.422Z] 0a89ddfe6704: Pull complete [2021-11-12T17:35:57.422Z] Digest: sha256:1b40dceaf34dee7ca55b3c49faf64f21c87f0328d9001acbe5b0b15629491fba [2021-11-12T17:35:57.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts [2021-11-12T17:35:57.422Z] ---> dd279347b56d [2021-11-12T17:35:57.422Z] Step 3/10 : ARG MAKE=make build [2021-11-12T17:35:59.968Z] ---> Running in c7c9d73a04f5 [2021-11-12T17:35:59.968Z] Removing intermediate container c7c9d73a04f5 [2021-11-12T17:35:59.968Z] ---> 8122ffb18000 [2021-11-12T17:35:59.968Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-12T17:35:59.968Z] ---> Running in 2c477f8da2e2 [2021-11-12T17:35:59.968Z] Removing intermediate container 2c477f8da2e2 [2021-11-12T17:35:59.968Z] ---> b3bccf2fb4f1 [2021-11-12T17:35:59.968Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-12T17:35:59.968Z] ---> Running in 2e47a7a68983 [2021-11-12T17:35:59.968Z] Removing intermediate container 2e47a7a68983 [2021-11-12T17:35:59.968Z] ---> 56108ba77896 [2021-11-12T17:35:59.968Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-12T17:35:59.968Z] ---> Running in 7a939af6910e [2021-11-12T17:36:00.231Z] Removing intermediate container 7a939af6910e [2021-11-12T17:36:00.231Z] ---> 3d841901ce6d [2021-11-12T17:36:00.231Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-12T17:36:00.493Z] ---> Running in 4354292601e1 [2021-11-12T17:36:00.493Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T17:36:03.060Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-12T17:36:03.324Z] OK: 220 MiB in 52 packages [2021-11-12T17:36:03.583Z] Removing intermediate container 4354292601e1 [2021-11-12T17:36:03.583Z] ---> b5ad3badb704 [2021-11-12T17:36:03.583Z] Step 8/10 : COPY . . [2021-11-12T17:36:04.543Z] ---> 35c47391ec66 [2021-11-12T17:36:04.543Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-12T17:36:04.543Z] ---> Running in 731ad859a355 [2021-11-12T17:36:05.119Z] skipping... [2021-11-12T17:36:05.119Z] Removing intermediate container 731ad859a355 [2021-11-12T17:36:05.119Z] ---> 4f3ce11c009c [2021-11-12T17:36:05.119Z] Step 10/10 : RUN ${MAKE} [2021-11-12T17:36:05.119Z] ---> Running in 559ccc129a49 [2021-11-12T17:36:05.381Z] noop [2021-11-12T17:36:05.643Z] Removing intermediate container 559ccc129a49 [2021-11-12T17:36:05.643Z] ---> f14eb4393d1c [2021-11-12T17:36:05.643Z] Successfully built f14eb4393d1c [2021-11-12T17:36:05.643Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:36:05.964Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-12T17:36:05.964Z] . [Pipeline] withDockerContainer [2021-11-12T17:36:06.025Z] prd-centos7-docker-4c-2g-373 does not seem to be running inside a container [2021-11-12T17:36:06.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-11-12T17:36:06.422Z] $ docker top 28528fa73ead07d128589cb42960b231caaa280f57e25ee6022705067532343f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-12T17:36:06.779Z] + go version [2021-11-12T17:36:06.779Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-12T17:36:06.787Z] $ docker stop --time=1 28528fa73ead07d128589cb42960b231caaa280f57e25ee6022705067532343f [2021-11-12T17:36:07.991Z] $ docker rm -f 28528fa73ead07d128589cb42960b231caaa280f57e25ee6022705067532343f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:36:08.450Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-12T17:36:08.450Z] . [Pipeline] withDockerContainer [2021-11-12T17:36:08.515Z] prd-centos7-docker-4c-2g-373 does not seem to be running inside a container [2021-11-12T17:36:08.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-11-12T17:36:08.896Z] $ docker top aa07eea43d792170269e4c9e94c3cbb44605ce39fabb5027e9c331b8ef320a1b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-12T17:36:09.254Z] + make test [2021-11-12T17:36:09.254Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-12T17:36:14.587Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-12T17:36:41.085Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-372 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws [2021-11-12T17:36:41.097Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-12T17:36:41.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-12T17:36:41.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-12T17:36:41.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-12T17:36:41.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 23.3% of statements [2021-11-12T17:36:41.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-12T17:36:41.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements [2021-11-12T17:36:41.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.044s coverage: 78.9% of statements [2021-11-12T17:36:41.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements [2021-11-12T17:36:41.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-12T17:36:41.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-12T17:36:41.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-12T17:36:41.256Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements [2021-11-12T17:36:41.256Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-12T17:36:41.325Z] Selected Git installation does not exist. Using Default [2021-11-12T17:36:41.325Z] The recommended git tool is: NONE [2021-11-12T17:36:42.212Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-11-12T17:36:42.212Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-12T17:36:42.212Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-12T17:36:42.212Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-11-12T17:36:43.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.848s coverage: 89.2% of statements [2021-11-12T17:36:43.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-12T17:36:43.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements [2021-11-12T17:36:43.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-12T17:36:43.440Z] GO111MODULE=on go vet ./... [2021-11-12T17:36:46.862Z] using credential edgex-jenkins-ssh [2021-11-12T17:36:46.887Z] Cloning the remote Git repository [2021-11-12T17:36:46.941Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-12T17:36:47.049Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-12T17:36:47.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-12T17:36:47.118Z] > git --version # timeout=10 [2021-11-12T17:36:47.134Z] > git --version # 'git version 2.17.1' [2021-11-12T17:36:47.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-12T17:36:47.261Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T17:36:48.887Z] Avoid second fetch [2021-11-12T17:36:48.888Z] Checking out Revision 78adb6ac09960ae1bdb6b96e349cc31e527ba639 (jakarta) [2021-11-12T17:36:48.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-12T17:36:48.850Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T17:36:48.906Z] > git config core.sparsecheckout # timeout=10 [2021-11-12T17:36:48.922Z] > git checkout -f 78adb6ac09960ae1bdb6b96e349cc31e527ba639 # timeout=10 [2021-11-12T17:36:53.530Z] Commit message: "ci(lts-release): LTS release v2.1.0 @4b2e95d" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-12T17:36:54.348Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-12T17:36:54.348Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-12T17:36:54.348Z] Dload Upload Total Spent Left Speed [2021-11-12T17:36:54.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2021-11-12T17:36:54.777Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-12T17:36:55.130Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-12T17:36:55.130Z] + sudo tee /etc/docker/daemon.new [2021-11-12T17:36:55.130Z] { [2021-11-12T17:36:55.130Z] "registry-mirrors": [ [2021-11-12T17:36:55.130Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-12T17:36:55.130Z] ], [2021-11-12T17:36:55.130Z] "bip": "10.250.0.254/24", [2021-11-12T17:36:55.130Z] "hosts": [ [2021-11-12T17:36:55.130Z] "tcp://0.0.0.0:5555", [2021-11-12T17:36:55.130Z] "unix:///var/run/docker.sock" [2021-11-12T17:36:55.130Z] ], [2021-11-12T17:36:55.130Z] "mtu": 1458, [2021-11-12T17:36:55.130Z] "selinux-enabled": true, [2021-11-12T17:36:55.130Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-12T17:36:55.130Z] } [Pipeline] sh [2021-11-12T17:36:55.481Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-12T17:36:55.832Z] + sudo service docker restart [2021-11-12T17:37:01.624Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-12T17:37:01.624Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-12T17:37:01.624Z] ./bin/test-attribution-txt.sh [2021-11-12T17:37:02.192Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2021-11-12T17:37:02.192Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2021-11-12T17:37:02.192Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-12T17:37:02.192Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-12T17:37:02.192Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-11-12T17:37:02.192Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2021-11-12T17:37:02.192Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2021-11-12T17:37:02.192Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-12T17:37:02.192Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-12T17:37:02.192Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-12T17:37:02.458Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-12T17:37:02.458Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-12T17:37:02.458Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2021-11-12T17:37:02.458Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2021-11-12T17:37:02.458Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-11-12T17:37:02.458Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-12T17:37:02.459Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-12T17:37:02.459Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-12T17:37:02.459Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-12T17:37:02.459Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-12T17:37:02.459Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-12T17:37:02.459Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-12T17:37:02.459Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-12T17:37:02.459Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-12T17:37:02.719Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-12T17:37:02.719Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-12T17:37:02.719Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-12T17:37:02.719Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-12T17:37:02.719Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-12T17:37:02.719Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-12T17:37:02.719Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-12T17:37:02.719Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-12T17:37:02.719Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-12T17:37:02.988Z] go: downloading golang.org/x/text v0.3.6 [2021-11-12T17:37:03.933Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-12T17:37:03.933Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-12T17:37:03.933Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-12T17:37:03.933Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-12T17:37:03.933Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-12T17:37:03.933Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-12T17:37:03.933Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-12T17:37:03.933Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-12T17:37:03.933Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-12T17:37:03.933Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-12T17:37:03.933Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-12T17:37:04.196Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-12T17:37:04.196Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-12T17:37:04.196Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-12T17:37:04.196Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-12T17:37:04.196Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-12T17:37:04.196Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] } [2021-11-12T17:37:05.591Z] $ docker stop --time=1 aa07eea43d792170269e4c9e94c3cbb44605ce39fabb5027e9c331b8ef320a1b [2021-11-12T17:37:07.735Z] $ docker rm -f aa07eea43d792170269e4c9e94c3cbb44605ce39fabb5027e9c331b8ef320a1b [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-12T17:37:08.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-12T17:37:08.593Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-12T17:37:09.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-12T17:37:09.496Z] + ls -al . [2021-11-12T17:37:09.496Z] total 264 [2021-11-12T17:37:09.496Z] drwxrwxr-x. 11 jenkins jenkins 4096 Nov 12 17:37 . [2021-11-12T17:37:09.496Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 12 17:35 .. [2021-11-12T17:37:09.496Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 12 17:35 bin [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 26321 Nov 12 17:35 CHANGELOG.md [2021-11-12T17:37:09.496Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 12 17:36 coverage.out [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 12 17:35 .dockerignore [2021-11-12T17:37:09.496Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 12 17:35 example [2021-11-12T17:37:09.496Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 12 17:35 .git [2021-11-12T17:37:09.496Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 12 17:35 .github [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 124 Nov 12 17:35 .gitignore [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 1585 Nov 12 17:37 go.mod [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 48946 Nov 12 17:35 go.sum [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 12 17:35 GOVERNANCE.md [2021-11-12T17:37:09.496Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 12 17:35 internal [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 12 17:35 Jenkinsfile [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 12 17:35 LICENSE [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 12 17:35 Makefile [2021-11-12T17:37:09.496Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 12 17:35 openapi [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 12 17:35 OWNERS.md [2021-11-12T17:37:09.496Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 12 17:35 pkg [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 12 17:35 README.md [2021-11-12T17:37:09.496Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 12 17:35 snap [2021-11-12T17:37:09.496Z] drwxrwxr-x. 6 jenkins jenkins 98 Nov 12 17:35 vendor [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 12 17:33 VERSION [2021-11-12T17:37:09.496Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 12 17:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:37:09.807Z] + 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=78adb6ac09960ae1bdb6b96e349cc31e527ba639 --label arch=amd64 --label version=2.1.0 . [2021-11-12T17:37:10.071Z] Sending build context to Docker daemon 16.13MB [2021-11-12T17:37:10.071Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-12T17:37:10.071Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-12T17:37:10.071Z] ---> f14eb4393d1c [2021-11-12T17:37:10.071Z] Step 3/24 : ARG MAKE=make build [2021-11-12T17:37:10.330Z] ---> Running in a64f91bdd09f [2021-11-12T17:37:10.330Z] Removing intermediate container a64f91bdd09f [2021-11-12T17:37:10.330Z] ---> 3abcd8c02735 [2021-11-12T17:37:10.330Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-12T17:37:10.330Z] ---> Running in 1a5c9eb2d1a2 [2021-11-12T17:37:10.330Z] Removing intermediate container 1a5c9eb2d1a2 [2021-11-12T17:37:10.330Z] ---> 8e9f4fece5cc [2021-11-12T17:37:10.330Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-12T17:37:10.330Z] ---> Running in 80d9f8596645 [2021-11-12T17:37:10.588Z] Removing intermediate container 80d9f8596645 [2021-11-12T17:37:10.588Z] ---> 3286a87e20ed [2021-11-12T17:37:10.588Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-12T17:37:10.588Z] ---> Running in d893333f0c55 [2021-11-12T17:37:11.157Z] Removing intermediate container d893333f0c55 [2021-11-12T17:37:11.157Z] ---> d55b13cbf9f6 [2021-11-12T17:37:11.157Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-12T17:37:11.157Z] ---> Running in b57ecf288772 [2021-11-12T17:37:11.157Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T17:37:12.095Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-12T17:37:12.354Z] OK: 220 MiB in 52 packages [2021-11-12T17:37:12.612Z] Removing intermediate container b57ecf288772 [2021-11-12T17:37:12.612Z] ---> 89df665cd1eb [2021-11-12T17:37:12.612Z] Step 8/24 : COPY . . [2021-11-12T17:37:13.565Z] ---> 8b95ef700df7 [2021-11-12T17:37:13.565Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-12T17:37:13.826Z] ---> Running in e613800c6205 [2021-11-12T17:37:14.087Z] skipping... [2021-11-12T17:37:14.087Z] Removing intermediate container e613800c6205 [2021-11-12T17:37:14.087Z] ---> 9fcbb09aa4fc [2021-11-12T17:37:14.087Z] Step 10/24 : RUN ${MAKE} [Pipeline] sh [2021-11-12T17:37:14.346Z] ---> Running in 42d693065d78 [2021-11-12T17:37:14.505Z] + git checkout 78adb6ac09960ae1bdb6b96e349cc31e527ba639 [2021-11-12T17:37:14.606Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-12T17:37:14.606Z] go: inconsistent vendoring in /device-sdk-go: [2021-11-12T17:37:14.607Z] github.com/armon/go-metrics@v0.0.0-20180917152333-f0300d1749da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/cenkalti/backoff@v2.2.1+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/davecgh/go-spew@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/eclipse/paho.mqtt.golang@v1.3.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/edgexfoundry/go-mod-configuration/v2@v2.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/edgexfoundry/go-mod-secrets/v2@v2.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/fxamacker/cbor/v2@v2.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/go-kit/kit@v0.11.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/go-logfmt/logfmt@v0.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/go-playground/validator/v10@v10.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/go-redis/redis/v7@v7.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/hashicorp/consul/api@v1.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/hashicorp/go-immutable-radix@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/hashicorp/go-multierror@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/mitchellh/consulstructure@v0.0.0-20190329231841-56fdc4d2da54: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/mitchellh/copystructure@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/mitchellh/mapstructure@v1.1.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/pebbe/zmq4@v1.2.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/pmezard/go-difflib@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] github.com/stretchr/objx@v0.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] golang.org/x/net@v0.0.0-20210405180319-a5a99cb37ef4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] golang.org/x/sys@v0.0.0-20210806184541-e5e7981a1069: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] golang.org/x/text@v0.3.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:37:14.607Z] [2021-11-12T17:37:14.607Z] To ignore the vendor directory, use -mod=readonly or -mod=mod. [2021-11-12T17:37:14.607Z] To sync the vendor directory, run: [2021-11-12T17:37:14.607Z] go mod vendor [2021-11-12T17:37:14.607Z] make: *** [Makefile:24: example/cmd/device-simple/device-simple] Error 1 [2021-11-12T17:37:14.607Z] The command '/bin/sh -c ${MAKE}' returned a non-zero code: 2 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [2021-11-12T17:37:14.778Z] HEAD is now at 78adb6a ci(lts-release): LTS release v2.1.0 @4b2e95d [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] configFileProvider [2021-11-12T17:37:14.821Z] provisioning config files... Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [2021-11-12T17:37:14.922Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6253564991342401664tmp [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:37:15.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T17:37:15.216Z] [2021-11-12T17:37:15.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:37:15.349Z] ---> docker-login.sh [2021-11-12T17:37:15.349Z] nexus3.edgexfoundry.org:10001 [2021-11-12T17:37:15.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T17:37:15.520Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-12T17:37:15.520Z] b4d181a07f80: Pulling fs layer [2021-11-12T17:37:15.520Z] a1111a8f2ec3: Pulling fs layer [2021-11-12T17:37:15.520Z] ed53099fbce6: Pulling fs layer [2021-11-12T17:37:15.520Z] dc539afda2c1: Pulling fs layer [2021-11-12T17:37:15.520Z] 77bc0d833cb6: Pulling fs layer [2021-11-12T17:37:15.520Z] 9065ff56babe: Pulling fs layer [2021-11-12T17:37:15.520Z] d287ab97295c: Pulling fs layer [2021-11-12T17:37:15.520Z] 77bc0d833cb6: Waiting [2021-11-12T17:37:15.520Z] 9065ff56babe: Waiting [2021-11-12T17:37:15.520Z] d287ab97295c: Waiting [2021-11-12T17:37:15.520Z] dc539afda2c1: Waiting [2021-11-12T17:37:15.520Z] a1111a8f2ec3: Verifying Checksum [2021-11-12T17:37:15.520Z] a1111a8f2ec3: Download complete [2021-11-12T17:37:15.520Z] dc539afda2c1: Verifying Checksum [2021-11-12T17:37:15.520Z] dc539afda2c1: Download complete [2021-11-12T17:37:15.520Z] ed53099fbce6: Verifying Checksum [2021-11-12T17:37:15.520Z] ed53099fbce6: Download complete [2021-11-12T17:37:15.520Z] 9065ff56babe: Verifying Checksum [2021-11-12T17:37:15.520Z] 9065ff56babe: Download complete [2021-11-12T17:37:15.791Z] 77bc0d833cb6: Verifying Checksum [2021-11-12T17:37:15.791Z] 77bc0d833cb6: Download complete [2021-11-12T17:37:15.791Z] b4d181a07f80: Verifying Checksum [2021-11-12T17:37:15.791Z] b4d181a07f80: Download complete [2021-11-12T17:37:15.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:37:16.368Z] d287ab97295c: Verifying Checksum [2021-11-12T17:37:16.368Z] d287ab97295c: Download complete [2021-11-12T17:37:16.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:37:16.564Z] Configure a credential helper to remove this warning. See [2021-11-12T17:37:16.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:37:16.564Z] [2021-11-12T17:37:16.564Z] Login Succeeded [2021-11-12T17:37:16.564Z] nexus3.edgexfoundry.org:10002 [2021-11-12T17:37:16.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:37:17.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:37:17.119Z] Configure a credential helper to remove this warning. See [2021-11-12T17:37:17.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:37:17.119Z] [2021-11-12T17:37:17.119Z] Login Succeeded [2021-11-12T17:37:17.119Z] nexus3.edgexfoundry.org:10003 [2021-11-12T17:37:17.323Z] b4d181a07f80: Pull complete [2021-11-12T17:37:17.323Z] a1111a8f2ec3: Pull complete [2021-11-12T17:37:17.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:37:17.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:37:17.669Z] Configure a credential helper to remove this warning. See [2021-11-12T17:37:17.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:37:17.669Z] [2021-11-12T17:37:17.669Z] Login Succeeded [2021-11-12T17:37:17.669Z] nexus3.edgexfoundry.org:10004 [2021-11-12T17:37:17.916Z] ed53099fbce6: Pull complete [2021-11-12T17:37:17.916Z] dc539afda2c1: Pull complete [2021-11-12T17:37:17.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:37:18.185Z] 77bc0d833cb6: Pull complete [2021-11-12T17:37:18.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:37:18.217Z] Configure a credential helper to remove this warning. See [2021-11-12T17:37:18.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:37:18.217Z] [2021-11-12T17:37:18.217Z] Login Succeeded [2021-11-12T17:37:18.217Z] docker.io [2021-11-12T17:37:18.445Z] 9065ff56babe: Pull complete [2021-11-12T17:37:18.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T17:37:19.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T17:37:19.097Z] Configure a credential helper to remove this warning. See [2021-11-12T17:37:19.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T17:37:19.097Z] [2021-11-12T17:37:19.097Z] Login Succeeded [2021-11-12T17:37:19.097Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T17:37:19.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-12T17:37:19.428Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-12T17:37:19.442Z] ========================================================= [2021-11-12T17:37:19.442Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] [2021-11-12T17:37:19.442Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:37:19.822Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2021-11-12T17:37:21.271Z] Sending build context to Docker daemon 16MB [2021-11-12T17:37:21.271Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-12T17:37:21.271Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-12T17:37:21.271Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-12T17:37:21.271Z] 552d1f2373af: Pulling fs layer [2021-11-12T17:37:21.271Z] ea3f2d53f512: Pulling fs layer [2021-11-12T17:37:21.271Z] 9e70ebbbe112: Pulling fs layer [2021-11-12T17:37:21.271Z] 7a9cfe048b4a: Pulling fs layer [2021-11-12T17:37:21.271Z] 72dc09318566: Pulling fs layer [2021-11-12T17:37:21.271Z] 6b38a4ac6b94: Pulling fs layer [2021-11-12T17:37:21.271Z] 1cf82868ecbe: Pulling fs layer [2021-11-12T17:37:21.271Z] cf934696a108: Pulling fs layer [2021-11-12T17:37:21.271Z] 7a9cfe048b4a: Waiting [2021-11-12T17:37:21.271Z] 72dc09318566: Waiting [2021-11-12T17:37:21.271Z] 6b38a4ac6b94: Waiting [2021-11-12T17:37:21.271Z] 1cf82868ecbe: Waiting [2021-11-12T17:37:21.271Z] cf934696a108: Waiting [2021-11-12T17:37:21.271Z] 9e70ebbbe112: Download complete [2021-11-12T17:37:21.271Z] ea3f2d53f512: Verifying Checksum [2021-11-12T17:37:21.271Z] ea3f2d53f512: Download complete [2021-11-12T17:37:21.271Z] 72dc09318566: Verifying Checksum [2021-11-12T17:37:21.271Z] 72dc09318566: Download complete [2021-11-12T17:37:21.271Z] 6b38a4ac6b94: Verifying Checksum [2021-11-12T17:37:21.271Z] 6b38a4ac6b94: Download complete [2021-11-12T17:37:21.271Z] 552d1f2373af: Verifying Checksum [2021-11-12T17:37:21.271Z] 552d1f2373af: Download complete [2021-11-12T17:37:21.271Z] 1cf82868ecbe: Verifying Checksum [2021-11-12T17:37:21.271Z] 1cf82868ecbe: Download complete [2021-11-12T17:37:22.261Z] 552d1f2373af: Pull complete [2021-11-12T17:37:22.862Z] ea3f2d53f512: Pull complete [2021-11-12T17:37:23.465Z] 9e70ebbbe112: Pull complete [2021-11-12T17:37:23.465Z] cf934696a108: Verifying Checksum [2021-11-12T17:37:23.465Z] cf934696a108: Download complete [2021-11-12T17:37:23.740Z] 7a9cfe048b4a: Verifying Checksum [2021-11-12T17:37:23.740Z] 7a9cfe048b4a: Download complete [2021-11-12T17:37:23.790Z] d287ab97295c: Pull complete [2021-11-12T17:37:23.790Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-12T17:37:23.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T17:37:23.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-12T17:37:23.852Z] prd-centos7-docker-4c-2g-373 does not seem to be running inside a container [2021-11-12T17:37:23.887Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-11-12T17:37:26.796Z] $ docker top be87ebcc34fe82a6fab4f23b5834e7d656263e28f5019576099c46118c23449a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:37:27.188Z] ---> job-cost.sh [2021-11-12T17:37:27.188Z] lf-activate-venv: SKIPPING [2021-11-12T17:37:27.188Z] INFO: No Stack... [2021-11-12T17:37:27.758Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-12T17:37:28.018Z] INFO: Archiving Costs [Pipeline] sh [2021-11-12T17:37:28.316Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-11-12T17:37:28.316Z] + cut -d, -f6 [Pipeline] lock [2021-11-12T17:37:28.344Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-2-stack-cost] [2021-11-12T17:37:28.349Z] Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-2-stack-cost] did not exist. Created. [2021-11-12T17:37:28.349Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-12T17:37:28.650Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-12T17:37:28.700Z] Stashed 1 file(s) [Pipeline] } [2021-11-12T17:37:28.713Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-12T17:37:28.730Z] $ docker stop --time=1 be87ebcc34fe82a6fab4f23b5834e7d656263e28f5019576099c46118c23449a [2021-11-12T17:37:29.910Z] $ docker rm -f be87ebcc34fe82a6fab4f23b5834e7d656263e28f5019576099c46118c23449a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-12T17:37:30.277Z] Failed in branch amd64 [2021-11-12T17:37:36.147Z] 7a9cfe048b4a: Pull complete [2021-11-12T17:37:36.147Z] 72dc09318566: Pull complete [2021-11-12T17:37:36.147Z] 6b38a4ac6b94: Pull complete [2021-11-12T17:37:36.147Z] 1cf82868ecbe: Pull complete [2021-11-12T17:37:41.791Z] cf934696a108: Pull complete [2021-11-12T17:37:41.791Z] Digest: sha256:c7a1c6e7193eac42aea82418dc538ba94561e4292c792d132f5c974f427cd528 [2021-11-12T17:37:41.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts [2021-11-12T17:37:41.791Z] ---> 8a4ae6370de5 [2021-11-12T17:37:41.791Z] Step 3/10 : ARG MAKE=make build [2021-11-12T17:37:43.769Z] ---> Running in e60c5a6ce5e5 [2021-11-12T17:37:43.769Z] Removing intermediate container e60c5a6ce5e5 [2021-11-12T17:37:43.769Z] ---> f012075a040c [2021-11-12T17:37:43.769Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-12T17:37:44.041Z] ---> Running in 0924959311a7 [2021-11-12T17:37:44.314Z] Removing intermediate container 0924959311a7 [2021-11-12T17:37:44.314Z] ---> 9fb442a79b15 [2021-11-12T17:37:44.314Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-12T17:37:44.586Z] ---> Running in 5e74ddf703ef [2021-11-12T17:37:44.859Z] Removing intermediate container 5e74ddf703ef [2021-11-12T17:37:44.859Z] ---> a9758ca8f1c4 [2021-11-12T17:37:44.859Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-12T17:37:45.135Z] ---> Running in f10c527b7846 [2021-11-12T17:37:47.109Z] Removing intermediate container f10c527b7846 [2021-11-12T17:37:47.109Z] ---> 899ef1ccfaf2 [2021-11-12T17:37:47.109Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-12T17:37:47.386Z] ---> Running in ab4005caed88 [2021-11-12T17:37:48.372Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T17:37:49.357Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-12T17:37:49.956Z] OK: 219 MiB in 52 packages [2021-11-12T17:37:50.941Z] Removing intermediate container ab4005caed88 [2021-11-12T17:37:50.941Z] ---> 5021c641b3f0 [2021-11-12T17:37:50.941Z] Step 8/10 : COPY . . [2021-11-12T17:37:55.253Z] ---> 44d6fcfaa758 [2021-11-12T17:37:55.253Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-12T17:37:55.254Z] ---> Running in f8d0e0751f38 [2021-11-12T17:37:56.226Z] skipping... [2021-11-12T17:37:56.823Z] Removing intermediate container f8d0e0751f38 [2021-11-12T17:37:56.823Z] ---> b3fea26c375e [2021-11-12T17:37:56.823Z] Step 10/10 : RUN ${MAKE} [2021-11-12T17:37:57.099Z] ---> Running in 8930ce655b41 [2021-11-12T17:37:58.090Z] noop [2021-11-12T17:37:59.071Z] Removing intermediate container 8930ce655b41 [2021-11-12T17:37:59.071Z] ---> 303ce5672134 [2021-11-12T17:37:59.071Z] Successfully built 303ce5672134 [2021-11-12T17:37:59.071Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:37:59.413Z] + docker inspect -f . ci-base-image-arm64 [2021-11-12T17:37:59.414Z] . [Pipeline] withDockerContainer [2021-11-12T17:37:59.700Z] prd-ubuntu18.04-docker-arm64-4c-16g-372 does not seem to be running inside a container [2021-11-12T17:37:59.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-12T17:38:01.282Z] $ docker top f6845548d44ec56e8785c665731298654a746897c412a323ce292e24091e16d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-12T17:38:02.271Z] + go version [2021-11-12T17:38:02.271Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-12T17:38:02.291Z] $ docker stop --time=1 f6845548d44ec56e8785c665731298654a746897c412a323ce292e24091e16d5 [2021-11-12T17:38:04.105Z] $ docker rm -f f6845548d44ec56e8785c665731298654a746897c412a323ce292e24091e16d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:38:04.834Z] + docker inspect -f . ci-base-image-arm64 [2021-11-12T17:38:04.834Z] . [Pipeline] withDockerContainer [2021-11-12T17:38:05.072Z] prd-ubuntu18.04-docker-arm64-4c-16g-372 does not seem to be running inside a container [2021-11-12T17:38:05.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-12T17:38:06.689Z] $ docker top cbfcf3ec56425026acf0715551e572b3ad3671153cd2901d401c1669ddf325d3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-12T17:38:07.668Z] + make test [2021-11-12T17:38:07.669Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-12T17:38:34.481Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-12T17:39:42.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-12T17:39:42.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-12T17:39:42.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-12T17:39:50.869Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.321s coverage: 23.3% of statements [2021-11-12T17:39:50.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-12T17:39:50.869Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 27.6% of statements [2021-11-12T17:39:50.869Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.268s coverage: 78.9% of statements [2021-11-12T17:39:50.869Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.226s coverage: 9.0% of statements [2021-11-12T17:39:50.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-12T17:39:50.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-12T17:39:50.869Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-12T17:39:51.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.309s coverage: 28.7% of statements [2021-11-12T17:39:51.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-12T17:39:51.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.203s coverage: 83.3% of statements [2021-11-12T17:39:51.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-12T17:39:51.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-12T17:39:52.128Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.348s coverage: 57.8% of statements [2021-11-12T17:39:57.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.129s coverage: 89.2% of statements [2021-11-12T17:39:57.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-12T17:39:57.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.205s coverage: 4.8% of statements [2021-11-12T17:39:57.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-12T17:39:57.563Z] GO111MODULE=on go vet ./... [2021-11-12T17:41:05.613Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-12T17:41:05.613Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-12T17:41:05.613Z] ./bin/test-attribution-txt.sh [2021-11-12T17:41:05.613Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-11-12T17:41:05.613Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-12T17:41:05.613Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-12T17:41:05.613Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-12T17:41:05.613Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-12T17:41:05.613Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-12T17:41:05.613Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-12T17:41:05.613Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-12T17:41:05.613Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-12T17:41:05.613Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-12T17:41:05.613Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-12T17:41:05.613Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-12T17:41:05.613Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-12T17:41:05.613Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-12T17:41:05.613Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-12T17:41:05.613Z] go: downloading golang.org/x/text v0.3.6 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-12T17:41:05.613Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-12T17:41:05.613Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-12T17:41:05.613Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-12T17:41:05.613Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-12T17:41:05.613Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-12T17:41:05.613Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-12T17:41:05.613Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-12T17:41:05.613Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] } [2021-11-12T17:41:06.226Z] $ docker stop --time=1 cbfcf3ec56425026acf0715551e572b3ad3671153cd2901d401c1669ddf325d3 [2021-11-12T17:41:08.679Z] $ docker rm -f cbfcf3ec56425026acf0715551e572b3ad3671153cd2901d401c1669ddf325d3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-12T17:41:11.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-12T17:41:11.290Z] Warning: overwriting stash ‘coverage-report’ [2021-11-12T17:41:12.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-12T17:41:12.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-12T17:41:12.938Z] + ls -al . [2021-11-12T17:41:12.938Z] total 304 [2021-11-12T17:41:12.938Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 12 17:41 . [2021-11-12T17:41:12.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 17:36 .. [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 12 17:36 .dockerignore [2021-11-12T17:41:12.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 17:37 .git [2021-11-12T17:41:12.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 17:36 .github [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 124 Nov 12 17:36 .gitignore [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 26321 Nov 12 17:36 CHANGELOG.md [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 12 17:36 GOVERNANCE.md [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 12 17:36 Jenkinsfile [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 12 17:36 LICENSE [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 12 17:36 Makefile [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 12 17:36 OWNERS.md [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 12 17:36 README.md [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 12 17:33 VERSION [2021-11-12T17:41:12.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 17:36 bin [2021-11-12T17:41:12.938Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 12 17:39 coverage.out [2021-11-12T17:41:12.938Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 12 17:36 example [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 1585 Nov 12 17:41 go.mod [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 48946 Nov 12 17:36 go.sum [2021-11-12T17:41:12.938Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 12 17:36 internal [2021-11-12T17:41:12.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 17:36 openapi [2021-11-12T17:41:12.938Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 12 17:36 pkg [2021-11-12T17:41:12.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 17:36 snap [2021-11-12T17:41:12.938Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 12 17:36 vendor [2021-11-12T17:41:12.938Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 12 17:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:41:13.349Z] + 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=78adb6ac09960ae1bdb6b96e349cc31e527ba639 --label arch=arm64 --label version=2.1.0 . [2021-11-12T17:41:14.838Z] Sending build context to Docker daemon 16.13MB [2021-11-12T17:41:14.838Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-12T17:41:14.838Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-12T17:41:14.838Z] ---> 303ce5672134 [2021-11-12T17:41:14.838Z] Step 3/24 : ARG MAKE=make build [2021-11-12T17:41:15.111Z] ---> Running in c662e3b967b1 [2021-11-12T17:41:15.396Z] Removing intermediate container c662e3b967b1 [2021-11-12T17:41:15.396Z] ---> 4266b7488ebb [2021-11-12T17:41:15.396Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-12T17:41:15.396Z] ---> Running in ec4b78d79b6c [2021-11-12T17:41:15.993Z] Removing intermediate container ec4b78d79b6c [2021-11-12T17:41:15.993Z] ---> fc432f6c3063 [2021-11-12T17:41:15.993Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-12T17:41:15.993Z] ---> Running in 70b362364c5f [2021-11-12T17:41:16.596Z] Removing intermediate container 70b362364c5f [2021-11-12T17:41:16.597Z] ---> 18a76f1d7290 [2021-11-12T17:41:16.597Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-12T17:41:16.597Z] ---> Running in 9d8c9564f518 [2021-11-12T17:41:18.565Z] Removing intermediate container 9d8c9564f518 [2021-11-12T17:41:18.565Z] ---> d36b675d236e [2021-11-12T17:41:18.565Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-12T17:41:18.565Z] ---> Running in 161f0e3359df [2021-11-12T17:41:19.541Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T17:41:20.521Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-12T17:41:21.509Z] OK: 219 MiB in 52 packages [2021-11-12T17:41:22.109Z] Removing intermediate container 161f0e3359df [2021-11-12T17:41:22.110Z] ---> 6fcdcea5141c [2021-11-12T17:41:22.110Z] Step 8/24 : COPY . . [2021-11-12T17:41:26.397Z] ---> 46f7ac6dcc83 [2021-11-12T17:41:26.397Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-12T17:41:26.397Z] ---> Running in 6d630fb37ca9 [2021-11-12T17:41:27.370Z] skipping... [2021-11-12T17:41:27.965Z] Removing intermediate container 6d630fb37ca9 [2021-11-12T17:41:27.965Z] ---> 2bce6e4c4988 [2021-11-12T17:41:27.965Z] Step 10/24 : RUN ${MAKE} [2021-11-12T17:41:27.965Z] ---> Running in 36080cab8eae [2021-11-12T17:41:29.399Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-12T17:41:29.399Z] go: inconsistent vendoring in /device-sdk-go: [2021-11-12T17:41:29.399Z] github.com/armon/go-metrics@v0.0.0-20180917152333-f0300d1749da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/cenkalti/backoff@v2.2.1+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/davecgh/go-spew@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/eclipse/paho.mqtt.golang@v1.3.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/edgexfoundry/go-mod-configuration/v2@v2.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/edgexfoundry/go-mod-secrets/v2@v2.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/fxamacker/cbor/v2@v2.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/go-kit/kit@v0.11.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/go-logfmt/logfmt@v0.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/go-playground/validator/v10@v10.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/go-redis/redis/v7@v7.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/hashicorp/consul/api@v1.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/hashicorp/go-immutable-radix@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/hashicorp/go-multierror@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/mitchellh/consulstructure@v0.0.0-20190329231841-56fdc4d2da54: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/mitchellh/copystructure@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/mitchellh/mapstructure@v1.1.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/pebbe/zmq4@v1.2.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/pmezard/go-difflib@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] github.com/stretchr/objx@v0.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] golang.org/x/net@v0.0.0-20210405180319-a5a99cb37ef4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] golang.org/x/sys@v0.0.0-20210806184541-e5e7981a1069: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] golang.org/x/text@v0.3.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt [2021-11-12T17:41:29.399Z] [2021-11-12T17:41:29.399Z] To ignore the vendor directory, use -mod=readonly or -mod=mod. [2021-11-12T17:41:29.399Z] To sync the vendor directory, run: [2021-11-12T17:41:29.399Z] go mod vendor [2021-11-12T17:41:29.399Z] make: *** [Makefile:24: example/cmd/device-simple/device-simple] Error 1 [2021-11-12T17:41:29.668Z] The command '/bin/sh -c ${MAKE}' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:41:30.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-12T17:41:30.234Z] [2021-11-12T17:41:30.234Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:41:30.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-12T17:41:30.846Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-12T17:41:30.846Z] 448f6bf000e3: Pulling fs layer [2021-11-12T17:41:30.846Z] f757da607395: Pulling fs layer [2021-11-12T17:41:30.846Z] 05883995daec: Pulling fs layer [2021-11-12T17:41:30.846Z] 8603b9c90790: Pulling fs layer [2021-11-12T17:41:30.846Z] 1560dd03e051: Pulling fs layer [2021-11-12T17:41:30.846Z] 27f5ce0e4adf: Pulling fs layer [2021-11-12T17:41:30.846Z] c2d8d7efcc4b: Pulling fs layer [2021-11-12T17:41:30.846Z] 8603b9c90790: Waiting [2021-11-12T17:41:30.846Z] 1560dd03e051: Waiting [2021-11-12T17:41:30.846Z] 27f5ce0e4adf: Waiting [2021-11-12T17:41:30.846Z] c2d8d7efcc4b: Waiting [2021-11-12T17:41:30.846Z] f757da607395: Download complete [2021-11-12T17:41:30.846Z] 8603b9c90790: Verifying Checksum [2021-11-12T17:41:30.846Z] 8603b9c90790: Download complete [2021-11-12T17:41:30.846Z] 1560dd03e051: Verifying Checksum [2021-11-12T17:41:30.846Z] 1560dd03e051: Download complete [2021-11-12T17:41:31.121Z] 05883995daec: Verifying Checksum [2021-11-12T17:41:31.121Z] 05883995daec: Download complete [2021-11-12T17:41:31.121Z] 27f5ce0e4adf: Download complete [2021-11-12T17:41:31.395Z] 448f6bf000e3: Verifying Checksum [2021-11-12T17:41:31.395Z] 448f6bf000e3: Download complete [2021-11-12T17:41:34.014Z] c2d8d7efcc4b: Verifying Checksum [2021-11-12T17:41:34.014Z] c2d8d7efcc4b: Download complete [2021-11-12T17:41:34.987Z] 448f6bf000e3: Pull complete [2021-11-12T17:41:35.580Z] f757da607395: Pull complete [2021-11-12T17:41:37.009Z] 05883995daec: Pull complete [2021-11-12T17:41:37.281Z] 8603b9c90790: Pull complete [2021-11-12T17:41:38.259Z] 1560dd03e051: Pull complete [2021-11-12T17:41:38.533Z] 27f5ce0e4adf: Pull complete [2021-11-12T17:41:53.595Z] c2d8d7efcc4b: Pull complete [2021-11-12T17:41:53.595Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-12T17:41:53.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-12T17:41:53.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-12T17:41:53.830Z] prd-ubuntu18.04-docker-arm64-4c-16g-372 does not seem to be running inside a container [2021-11-12T17:41:53.899Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-12T17:41:56.556Z] $ docker top 5cc1a74000af18bcc067c23ebd99f3c95e1fed546fb7d3b01f5850f9c5f728a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:41:57.520Z] ---> job-cost.sh [2021-11-12T17:41:57.520Z] lf-activate-venv: SKIPPING [2021-11-12T17:41:57.520Z] INFO: No Stack... [2021-11-12T17:41:57.792Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-12T17:41:58.384Z] INFO: Archiving Costs [Pipeline] sh [2021-11-12T17:41:59.039Z] + cut -d, -f6 [2021-11-12T17:41:59.039Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-11-12T17:41:59.097Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-2-stack-cost] [2021-11-12T17:41:59.103Z] Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-2-stack-cost] did not exist. Created. [2021-11-12T17:41:59.103Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-12T17:41:59.775Z] /w/workspace/device-sdk-go/2@tmp/durable-10cdb5f5/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-10cdb5f5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-12T17:42:00.433Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-12T17:42:00.457Z] Warning: overwriting stash ‘stack-cost’ [2021-11-12T17:42:00.660Z] Stashed 1 file(s) [Pipeline] } [2021-11-12T17:42:00.670Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-12T17:42:00.676Z] $ docker stop --time=1 5cc1a74000af18bcc067c23ebd99f3c95e1fed546fb7d3b01f5850f9c5f728a8 [2021-11-12T17:42:02.245Z] $ docker rm -f 5cc1a74000af18bcc067c23ebd99f3c95e1fed546fb7d3b01f5850f9c5f728a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-12T17:42:02.655Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-12T17:42:03.876Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_jakarta/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:42:04.174Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:42:04.744Z] ---> package-listing.sh [2021-11-12T17:42:04.744Z] ++ facter osfamily [2021-11-12T17:42:04.744Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-12T17:42:05.020Z] + OS_FAMILY=redhat [2021-11-12T17:42:05.020Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_jakarta [2021-11-12T17:42:05.020Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-12T17:42:05.020Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-12T17:42:05.020Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-12T17:42:05.020Z] + PACKAGES=/tmp/packages_start.txt [2021-11-12T17:42:05.020Z] + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' [2021-11-12T17:42:05.020Z] + PACKAGES=/tmp/packages_end.txt [2021-11-12T17:42:05.020Z] + case "${OS_FAMILY}" in [2021-11-12T17:42:05.020Z] + rpm -qa [2021-11-12T17:42:05.020Z] + sort [2021-11-12T17:42:05.593Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-12T17:42:05.593Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-12T17:42:05.593Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-12T17:42:05.593Z] + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' [2021-11-12T17:42:05.593Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [2021-11-12T17:42:05.593Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [Pipeline] echo [2021-11-12T17:42:05.605Z] 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/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-12T17:42:05.905Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:42:06.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T17:42:06.209Z] [2021-11-12T17:42:06.209Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T17:42:06.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T17:42:06.519Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-12T17:42:06.519Z] b4d181a07f80: Pulling fs layer [2021-11-12T17:42:06.519Z] a1111a8f2ec3: Pulling fs layer [2021-11-12T17:42:06.519Z] ed53099fbce6: Pulling fs layer [2021-11-12T17:42:06.519Z] dc539afda2c1: Pulling fs layer [2021-11-12T17:42:06.519Z] 77bc0d833cb6: Pulling fs layer [2021-11-12T17:42:06.519Z] 9065ff56babe: Pulling fs layer [2021-11-12T17:42:06.519Z] d287ab97295c: Pulling fs layer [2021-11-12T17:42:06.519Z] dc539afda2c1: Waiting [2021-11-12T17:42:06.519Z] 77bc0d833cb6: Waiting [2021-11-12T17:42:06.519Z] 9065ff56babe: Waiting [2021-11-12T17:42:06.519Z] d287ab97295c: Waiting [2021-11-12T17:42:06.519Z] a1111a8f2ec3: Verifying Checksum [2021-11-12T17:42:06.519Z] a1111a8f2ec3: Download complete [2021-11-12T17:42:06.519Z] dc539afda2c1: Verifying Checksum [2021-11-12T17:42:06.519Z] dc539afda2c1: Download complete [2021-11-12T17:42:06.519Z] ed53099fbce6: Verifying Checksum [2021-11-12T17:42:06.519Z] ed53099fbce6: Download complete [2021-11-12T17:42:06.783Z] 9065ff56babe: Verifying Checksum [2021-11-12T17:42:06.783Z] 9065ff56babe: Download complete [2021-11-12T17:42:06.783Z] 77bc0d833cb6: Verifying Checksum [2021-11-12T17:42:06.783Z] 77bc0d833cb6: Download complete [2021-11-12T17:42:06.783Z] b4d181a07f80: Verifying Checksum [2021-11-12T17:42:06.783Z] b4d181a07f80: Download complete [2021-11-12T17:42:07.351Z] d287ab97295c: Verifying Checksum [2021-11-12T17:42:07.351Z] d287ab97295c: Download complete [2021-11-12T17:42:08.334Z] b4d181a07f80: Pull complete [2021-11-12T17:42:08.601Z] a1111a8f2ec3: Pull complete [2021-11-12T17:42:09.177Z] ed53099fbce6: Pull complete [2021-11-12T17:42:09.177Z] dc539afda2c1: Pull complete [2021-11-12T17:42:09.438Z] 77bc0d833cb6: Pull complete [2021-11-12T17:42:09.438Z] 9065ff56babe: Pull complete [2021-11-12T17:42:14.772Z] d287ab97295c: Pull complete [2021-11-12T17:42:14.772Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-12T17:42:14.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T17:42:14.772Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-12T17:42:14.842Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2021-11-12T17:42:14.880Z] $ 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/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-12T17:42:17.017Z] $ docker top f86a5aab9bbf731ff2f3a06c2b227df6ce8af20b2cedab1379e132477c2b07ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-12T17:42:17.390Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-12T17:42:17.680Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-12T17:42:17.970Z] + ls /var/log/sa-host [2021-11-12T17:42:17.970Z] + sadf -c /var/log/sa-host/sa12 [2021-11-12T17:42:17.970Z] file_magic: OK [2021-11-12T17:42:17.970Z] HZ: Using current value: 100 [2021-11-12T17:42:17.970Z] file_header: OK [2021-11-12T17:42:17.970Z] 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-11-12T17:42:17.970Z] Statistics: [2021-11-12T17:42:17.970Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-12T17:42:17.970Z] File successfully converted to sysstat format version 12.0.3 [2021-11-12T17:42:17.970Z] + sadf -c /var/log/sa-host/sa30 [2021-11-12T17:42:17.970Z] file_magic: OK [2021-11-12T17:42:17.970Z] HZ: Using current value: 100 [2021-11-12T17:42:17.970Z] file_header: OK [2021-11-12T17:42:17.970Z] 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-11-12T17:42:17.970Z] Statistics: [2021-11-12T17:42:17.970Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-12T17:42:17.970Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T17:42:18.047Z] provisioning config files... [2021-11-12T17:42:18.055Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1366240398218782469tmp [Pipeline] { [Pipeline] echo [2021-11-12T17:42:18.067Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:42:18.353Z] ---> create-netrc.sh [Pipeline] } [2021-11-12T17:42:18.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:42:18.699Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-12T17:42:18.710Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:42:19.017Z] ---> sudo-logs.sh [2021-11-12T17:42:19.017Z] Archiving 'sudo' log.. [2021-11-12T17:42:19.017Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-367.novalocal: Name or service not known [2021-11-12T17:42:19.017Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-367.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-12T17:42:19.061Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:42:19.355Z] ---> job-cost.sh [2021-11-12T17:42:19.355Z] lf-activate-venv: SKIPPING [2021-11-12T17:42:19.355Z] DEBUG: total: 0.10999999940395355 [2021-11-12T17:42:19.355Z] INFO: Retrieving Stack Cost... [2021-11-12T17:42:22.660Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-12T17:42:22.660Z] INFO: Archiving Costs [Pipeline] echo [2021-11-12T17:42:22.674Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T17:42:22.983Z] ---> logs-deploy.sh [2021-11-12T17:42:22.984Z] lf-activate-venv: SKIPPING [2021-11-12T17:42:22.984Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/jakarta/2 [2021-11-12T17:42:22.984Z] INFO: archiving workspace using pattern(s): [2021-11-12T17:42:23.553Z] Archives upload complete. [2021-11-12T17:42:23.815Z] INFO: archiving logs to Nexus