Pull request #1038 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 2ab93c499751478c937c96849c5331481b2fe78f rather than 801bc0389b2ce9fb198121aa68d2fe30ba54ca05 Obtained Jenkinsfile from 2ab93c499751478c937c96849c5331481b2fe78f Running in Durability level: MAX_SURVIVABILITY 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-ssh8160008647484553875.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5583881550385637185.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1038/workspace@libs/edgex-global-pipelines # timeout=10 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/PR-1038/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7555271927876400345.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-1038/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6903371606182876537.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3715556261648821820.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1038/workspace@libs/lf-pipelines # timeout=10 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/PR-1038/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7168822113433116024.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2433 in /w/workspace/gexfoundry_device-sdk-go_PR-1038 [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_PR-1038 # 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_PR-1038@tmp/jenkins-gitclient-ssh8274096086711739745.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 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_PR-1038@tmp/jenkins-gitclient-ssh4065093564988860401.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1038/head:refs/remotes/origin/PR-1038 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ab93c499751478c937c96849c5331481b2fe78f into PR head commit 801bc0389b2ce9fb198121aa68d2fe30ba54ca05 Merge succeeded, producing f36ac54757568ccee03958244ffba92fc89a0741 Checking out Revision f36ac54757568ccee03958244ffba92fc89a0741 (PR-1038) > git config core.sparsecheckout # timeout=10 > git checkout -f 801bc0389b2ce9fb198121aa68d2fe30ba54ca05 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/jenkins-gitclient-ssh3997021200964107939.key > git merge 2ab93c499751478c937c96849c5331481b2fe78f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f36ac54757568ccee03958244ffba92fc89a0741 # timeout=10 Commit message: "Merge commit '2ab93c499751478c937c96849c5331481b2fe78f' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-19T08:38:27.347Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-19T08:38:27.500Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-19T08:38:27.573Z] ========================================================= [2021-10-19T08:38:27.573Z] EdgeX Global Pipelines Version Info [2021-10-19T08:38:27.573Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:38:28.759Z] ------------------- [2021-10-19T08:38:28.759Z] stable info: [2021-10-19T08:38:28.759Z] ------------------- [2021-10-19T08:38:28.759Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-19T08:38:28.759Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-19T08:38:28.759Z] Message: update stable to v1.0.210 [2021-10-19T08:38:29.336Z] ------------------- [2021-10-19T08:38:29.336Z] experimental info: [2021-10-19T08:38:29.336Z] ------------------- [2021-10-19T08:38:29.336Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-19T08:38:29.336Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-19T08:38:29.336Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-19T08:38:29.501Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-19T08:38:29.542Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-19T08:38:29.580Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-19T08:38:29.622Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-19T08:38:29.664Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-19T08:38:29.702Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-19T08:38:29.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-19T08:38:29.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-19T08:38:29.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-19T08:38:29.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-19T08:38:29.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-19T08:38:29.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-19T08:38:30.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-19T08:38:30.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-19T08:38:31.035Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-19T08:38:31.071Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-19T08:38:31.104Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-19T08:38:31.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-19T08:38:31.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-19T08:38:31.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-19T08:38:31.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-19T08:38:31.283Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-19T08:38:31.319Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-19T08:38:31.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-19T08:38:31.393Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-19T08:38:31.429Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-19T08:38:31.465Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1038 [Pipeline] echo [2021-10-19T08:38:31.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1038 [Pipeline] echo [2021-10-19T08:38:31.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1038 [Pipeline] echo [2021-10-19T08:38:31.566Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f36ac54757568ccee03958244ffba92fc89a0741 [Pipeline] echo [2021-10-19T08:38:31.603Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f36ac54 [Pipeline] echo [2021-10-19T08:38:31.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-19T08:38:31.726Z] provisioning config files... [2021-10-19T08:38:31.743Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/config1796843364922710185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:38:32.090Z] ---> docker-login.sh [2021-10-19T08:38:32.090Z] nexus3.edgexfoundry.org:10001 [2021-10-19T08:38:32.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:38:32.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:38:32.355Z] Configure a credential helper to remove this warning. See [2021-10-19T08:38:32.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:38:32.355Z] [2021-10-19T08:38:32.355Z] Login Succeeded [2021-10-19T08:38:32.355Z] nexus3.edgexfoundry.org:10002 [2021-10-19T08:38:32.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:38:32.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:38:32.355Z] Configure a credential helper to remove this warning. See [2021-10-19T08:38:32.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:38:32.355Z] [2021-10-19T08:38:32.355Z] Login Succeeded [2021-10-19T08:38:32.355Z] nexus3.edgexfoundry.org:10003 [2021-10-19T08:38:32.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:38:32.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:38:32.616Z] Configure a credential helper to remove this warning. See [2021-10-19T08:38:32.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:38:32.616Z] [2021-10-19T08:38:32.616Z] Login Succeeded [2021-10-19T08:38:32.616Z] nexus3.edgexfoundry.org:10004 [2021-10-19T08:38:32.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:38:32.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:38:32.616Z] Configure a credential helper to remove this warning. See [2021-10-19T08:38:32.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:38:32.616Z] [2021-10-19T08:38:32.616Z] Login Succeeded [2021-10-19T08:38:32.616Z] docker.io [2021-10-19T08:38:32.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:38:33.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:38:33.193Z] Configure a credential helper to remove this warning. See [2021-10-19T08:38:33.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:38:33.193Z] [2021-10-19T08:38:33.193Z] Login Succeeded [2021-10-19T08:38:33.193Z] ---> docker-login.sh ends [Pipeline] } [2021-10-19T08:38:33.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-19T08:38:33.890Z] + git log --format=format:%s -1 f36ac54757568ccee03958244ffba92fc89a0741 [Pipeline] echo [2021-10-19T08:38:33.947Z] GIT_COMMIT: f36ac54757568ccee03958244ffba92fc89a0741, Commit Message: Merge commit '2ab93c499751478c937c96849c5331481b2fe78f' into HEAD [Pipeline] echo [2021-10-19T08:38:33.977Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:38:36.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-19T08:38:36.628Z] [2021-10-19T08:38:36.628Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:38:36.986Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-19T08:38:36.986Z] latest: Pulling from edgex-devops/git-semver [2021-10-19T08:38:36.986Z] a0d0a0d46f8b: Pulling fs layer [2021-10-19T08:38:36.986Z] 3e5f54012d9b: Pulling fs layer [2021-10-19T08:38:36.986Z] 4c7163046ea9: Pulling fs layer [2021-10-19T08:38:36.986Z] 0c2d73faf560: Pulling fs layer [2021-10-19T08:38:36.986Z] 0c2d73faf560: Waiting [2021-10-19T08:38:36.986Z] 3e5f54012d9b: Download complete [2021-10-19T08:38:36.986Z] a0d0a0d46f8b: Verifying Checksum [2021-10-19T08:38:36.986Z] a0d0a0d46f8b: Download complete [2021-10-19T08:38:36.986Z] 0c2d73faf560: Verifying Checksum [2021-10-19T08:38:36.986Z] 0c2d73faf560: Download complete [2021-10-19T08:38:37.251Z] 4c7163046ea9: Verifying Checksum [2021-10-19T08:38:37.251Z] 4c7163046ea9: Download complete [2021-10-19T08:38:37.251Z] a0d0a0d46f8b: Pull complete [2021-10-19T08:38:37.251Z] 3e5f54012d9b: Pull complete [2021-10-19T08:38:37.512Z] 4c7163046ea9: Pull complete [2021-10-19T08:38:37.774Z] 0c2d73faf560: Pull complete [2021-10-19T08:38:37.774Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-19T08:38:37.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-19T08:38:37.774Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-19T08:38:37.867Z] prd-centos7-docker-4c-2g-2433 does not seem to be running inside a container [2021-10-19T08:38:37.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1038 -v /w/workspace/gexfoundry_device-sdk-go_PR-1038:/w/workspace/gexfoundry_device-sdk-go_PR-1038:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-19T08:38:38.589Z] $ docker top 142212a2ba5ede896bb1f52ebe687248acd51b957f3a6093ff81bc0e2e4b32cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-19T08:38:38.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-19T08:38:38.769Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-19T08:38:38.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-19T08:38:38.883Z] $ docker exec 142212a2ba5ede896bb1f52ebe687248acd51b957f3a6093ff81bc0e2e4b32cc ssh-agent [2021-10-19T08:38:38.985Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOgFmlG/agent.14 [2021-10-19T08:38:38.985Z] SSH_AGENT_PID=20 [2021-10-19T08:38:38.993Z] Running ssh-add (command line suppressed) [2021-10-19T08:38:39.091Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/private_key_713289932547090867.key (/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/private_key_713289932547090867.key) [2021-10-19T08:38:39.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-19T08:38:39.437Z] + git tag --points-at HEAD [Pipeline] } [2021-10-19T08:38:39.458Z] $ docker exec --env ******** --env ******** 142212a2ba5ede896bb1f52ebe687248acd51b957f3a6093ff81bc0e2e4b32cc ssh-agent -k [2021-10-19T08:38:39.538Z] unset SSH_AUTH_SOCK; [2021-10-19T08:38:39.538Z] unset SSH_AGENT_PID; [2021-10-19T08:38:39.538Z] echo Agent pid 20 killed; [2021-10-19T08:38:39.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-19T08:38:39.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-19T08:38:39.618Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-19T08:38:39.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-19T08:38:39.716Z] $ docker exec 142212a2ba5ede896bb1f52ebe687248acd51b957f3a6093ff81bc0e2e4b32cc ssh-agent [2021-10-19T08:38:39.803Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpAKdGL/agent.52 [2021-10-19T08:38:39.803Z] SSH_AGENT_PID=59 [2021-10-19T08:38:39.808Z] Running ssh-add (command line suppressed) [2021-10-19T08:38:39.898Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/private_key_8739281540427834828.key (/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/private_key_8739281540427834828.key) [2021-10-19T08:38:39.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-19T08:38:40.237Z] + git semver init [2021-10-19T08:38:40.237Z] # -> Open(): unable to determine branch for HEAD [2021-10-19T08:38:40.237Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1038/.git [2021-10-19T08:38:40.237Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1038 [2021-10-19T08:38:40.237Z] # $SEMVER_REMOTE_NAME = origin [2021-10-19T08:38:40.237Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-19T08:38:40.237Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-19T08:38:40.237Z] # $SEMVER_BRANCH = PR-1038 [2021-10-19T08:38:40.237Z] # $SEMVER_TEMP = /tmp/semver-107204119 [2021-10-19T08:38:40.237Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-19T08:38:40.816Z] # '/tmp/semver-107204119' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1038/.semver' [2021-10-19T08:38:40.816Z] # -> Force: false [2021-10-19T08:38:40.816Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1038/.semver [Pipeline] } [2021-10-19T08:38:40.838Z] $ docker exec --env ******** --env ******** 142212a2ba5ede896bb1f52ebe687248acd51b957f3a6093ff81bc0e2e4b32cc ssh-agent -k [2021-10-19T08:38:40.922Z] unset SSH_AUTH_SOCK; [2021-10-19T08:38:40.922Z] unset SSH_AGENT_PID; [2021-10-19T08:38:40.922Z] echo Agent pid 59 killed; [2021-10-19T08:38:40.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-19T08:38:41.324Z] + git semver [Pipeline] } [2021-10-19T08:38:41.347Z] $ docker stop --time=1 142212a2ba5ede896bb1f52ebe687248acd51b957f3a6093ff81bc0e2e4b32cc [2021-10-19T08:38:42.569Z] $ docker rm -f 142212a2ba5ede896bb1f52ebe687248acd51b957f3a6093ff81bc0e2e4b32cc [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-19T08:38:42.960Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-19T08:38:43.234Z] Stashed 1 file(s) [Pipeline] echo [2021-10-19T08:38:43.253Z] [edgeXSemver]: initialized semver on version 0.0.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-10-19T08:38:59.602Z] Still waiting to schedule task [2021-10-19T08:38:59.603Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2433’ [2021-10-19T08:38:59.625Z] Still waiting to schedule task [2021-10-19T08:38:59.625Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-19T08:41:11.787Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2434 in /w/workspace/gexfoundry_device-sdk-go_PR-1038 [Pipeline] { [Pipeline] ws [2021-10-19T08:41:11.830Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-19T08:41:12.114Z] Selected Git installation does not exist. Using Default [2021-10-19T08:41:12.114Z] The recommended git tool is: NONE [2021-10-19T08:41:19.199Z] using credential edgex-jenkins-ssh [2021-10-19T08:41:19.215Z] Cloning the remote Git repository [2021-10-19T08:41:19.279Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T08:41:19.393Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-19T08:41:19.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T08:41:19.501Z] > git --version # timeout=10 [2021-10-19T08:41:19.517Z] > git --version # 'git version 2.17.1' [2021-10-19T08:41:19.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T08:41:19.621Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-19T08:41:20.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-19T08:41:20.957Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-19T08:41:21.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-19T08:41:22.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T08:41:22.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T08:41:22.015Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1038/head:refs/remotes/origin/PR-1038 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-19T08:41:22.763Z] Merging remotes/origin/main commit 2ab93c499751478c937c96849c5331481b2fe78f into PR head commit 801bc0389b2ce9fb198121aa68d2fe30ba54ca05 [2021-10-19T08:41:23.055Z] Merge succeeded, producing 7ee22e8e8f60ff7894219654fae0b6ed59d58da5 [2021-10-19T08:41:23.056Z] Checking out Revision 7ee22e8e8f60ff7894219654fae0b6ed59d58da5 (PR-1038) [2021-10-19T08:41:22.783Z] > git config core.sparsecheckout # timeout=10 [2021-10-19T08:41:22.807Z] > git checkout -f 801bc0389b2ce9fb198121aa68d2fe30ba54ca05 # timeout=10 [2021-10-19T08:41:22.918Z] > git remote # timeout=10 [2021-10-19T08:41:22.938Z] > git config --get remote.origin.url # timeout=10 [2021-10-19T08:41:22.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T08:41:22.970Z] > git merge 2ab93c499751478c937c96849c5331481b2fe78f # timeout=10 [2021-10-19T08:41:23.038Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-19T08:41:23.062Z] > git config core.sparsecheckout # timeout=10 [2021-10-19T08:41:23.074Z] > git checkout -f 7ee22e8e8f60ff7894219654fae0b6ed59d58da5 # timeout=10 [2021-10-19T08:41:26.320Z] Running on prd-centos7-docker-4c-2g-2435 in /w/workspace/gexfoundry_device-sdk-go_PR-1038 [Pipeline] { [Pipeline] ws [2021-10-19T08:41:26.363Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-19T08:41:26.478Z] Selected Git installation does not exist. Using Default [2021-10-19T08:41:26.478Z] The recommended git tool is: NONE [2021-10-19T08:41:28.210Z] Commit message: "Merge commit '2ab93c499751478c937c96849c5331481b2fe78f' into HEAD" [2021-10-19T08:41:28.210Z] First time build. Skipping changelog. [2021-10-19T08:41:28.268Z] > git --version # timeout=10 [2021-10-19T08:41:28.277Z] > git --version # 'git version 2.17.1' [2021-10-19T08:41:28.289Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-19T08:41:30.488Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-19T08:41:30.488Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-19T08:41:30.488Z] Dload Upload Total Spent Left Speed [2021-10-19T08:41:30.488Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83858 0 --:--:-- --:--:-- --:--:-- 84457 [Pipeline] sh [2021-10-19T08:41:30.615Z] using credential edgex-jenkins-ssh [2021-10-19T08:41:30.624Z] Cloning the remote Git repository [2021-10-19T08:41:29.711Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T08:41:29.767Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-19T08:41:29.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T08:41:29.800Z] > git --version # timeout=10 [2021-10-19T08:41:29.813Z] > git --version # 'git version 2.24.4' [2021-10-19T08:41:29.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T08:41:29.836Z] [INFO] Currently running in a labeled security context [2021-10-19T08:41:29.836Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-19T08:41:29.837Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh770857080087456323.key [2021-10-19T08:41:29.852Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-19T08:41:30.924Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-19T08:41:31.298Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-19T08:41:31.298Z] + sudo tee /etc/docker/daemon.new [2021-10-19T08:41:31.298Z] { [2021-10-19T08:41:31.298Z] "registry-mirrors": [ [2021-10-19T08:41:31.298Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-19T08:41:31.298Z] ], [2021-10-19T08:41:31.298Z] "bip": "10.250.0.254/24", [2021-10-19T08:41:31.298Z] "hosts": [ [2021-10-19T08:41:31.298Z] "tcp://0.0.0.0:5555", [2021-10-19T08:41:31.298Z] "unix:///var/run/docker.sock" [2021-10-19T08:41:31.298Z] ], [2021-10-19T08:41:31.298Z] "mtu": 1458, [2021-10-19T08:41:31.298Z] "selinux-enabled": true, [2021-10-19T08:41:31.298Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-19T08:41:31.298Z] } [Pipeline] sh [2021-10-19T08:41:31.668Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-19T08:41:30.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-19T08:41:30.941Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-19T08:41:30.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-19T08:41:30.963Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T08:41:30.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T08:41:30.965Z] [INFO] Currently running in a labeled security context [2021-10-19T08:41:30.966Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-19T08:41:30.966Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2754634636652791491.key [2021-10-19T08:41:30.972Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1038/head:refs/remotes/origin/PR-1038 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-19T08:41:32.048Z] + sudo service docker restart [2021-10-19T08:41:32.445Z] Merging remotes/origin/main commit 2ab93c499751478c937c96849c5331481b2fe78f into PR head commit 801bc0389b2ce9fb198121aa68d2fe30ba54ca05 [2021-10-19T08:41:32.569Z] Merge succeeded, producing 1bdc95181e1969d86fadd578ddd6bffed4dfc114 [2021-10-19T08:41:32.569Z] Checking out Revision 1bdc95181e1969d86fadd578ddd6bffed4dfc114 (PR-1038) [2021-10-19T08:41:31.628Z] > git config core.sparsecheckout # timeout=10 [2021-10-19T08:41:31.638Z] > git checkout -f 801bc0389b2ce9fb198121aa68d2fe30ba54ca05 # timeout=10 [2021-10-19T08:41:31.676Z] > git remote # timeout=10 [2021-10-19T08:41:31.683Z] > git config --get remote.origin.url # timeout=10 [2021-10-19T08:41:31.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T08:41:31.699Z] [INFO] Currently running in a labeled security context [2021-10-19T08:41:31.699Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-19T08:41:31.699Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8452163334399192191.key [2021-10-19T08:41:31.708Z] > git merge 2ab93c499751478c937c96849c5331481b2fe78f # timeout=10 [2021-10-19T08:41:31.731Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-19T08:41:31.749Z] > git config core.sparsecheckout # timeout=10 [2021-10-19T08:41:31.761Z] > git checkout -f 1bdc95181e1969d86fadd578ddd6bffed4dfc114 # timeout=10 [2021-10-19T08:41:35.934Z] Commit message: "Merge commit '2ab93c499751478c937c96849c5331481b2fe78f' into HEAD" [2021-10-19T08:41:35.935Z] First time build. Skipping changelog. [2021-10-19T08:41:35.418Z] > git --version # timeout=10 [2021-10-19T08:41:35.424Z] > git --version # 'git version 2.24.4' [2021-10-19T08:41:35.433Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-19T08:41:36.544Z] provisioning config files... [2021-10-19T08:41:36.558Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config303749673772530870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:41:36.974Z] ---> docker-login.sh [2021-10-19T08:41:36.974Z] nexus3.edgexfoundry.org:10001 [2021-10-19T08:41:36.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:37.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:37.246Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:37.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:37.246Z] [2021-10-19T08:41:37.246Z] Login Succeeded [2021-10-19T08:41:37.246Z] nexus3.edgexfoundry.org:10002 [2021-10-19T08:41:37.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:37.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:37.246Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:37.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:37.246Z] [2021-10-19T08:41:37.246Z] Login Succeeded [2021-10-19T08:41:37.246Z] nexus3.edgexfoundry.org:10003 [2021-10-19T08:41:37.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:37.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:37.509Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:37.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:37.509Z] [2021-10-19T08:41:37.509Z] Login Succeeded [2021-10-19T08:41:37.509Z] nexus3.edgexfoundry.org:10004 [2021-10-19T08:41:37.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:37.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:37.509Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:37.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:37.509Z] [2021-10-19T08:41:37.509Z] Login Succeeded [2021-10-19T08:41:37.509Z] docker.io [2021-10-19T08:41:37.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:38.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:38.080Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:38.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:38.080Z] [2021-10-19T08:41:38.080Z] Login Succeeded [2021-10-19T08:41:38.080Z] ---> docker-login.sh ends [Pipeline] } [2021-10-19T08:41:38.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-19T08:41:38.339Z] ========================================================= [2021-10-19T08:41:38.339Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-19T08:41:38.339Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:41:39.715Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-19T08:41:39.715Z] Sending build context to Docker daemon 2.742MB [2021-10-19T08:41:39.715Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-19T08:41:39.715Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-19T08:41:39.715Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-19T08:41:39.715Z] a0d0a0d46f8b: Pulling fs layer [2021-10-19T08:41:39.715Z] 31adcdaf11c8: Pulling fs layer [2021-10-19T08:41:39.715Z] b8b176561691: Pulling fs layer [2021-10-19T08:41:39.715Z] 4527c011a84f: Pulling fs layer [2021-10-19T08:41:39.715Z] 5d74067f8e1e: Pulling fs layer [2021-10-19T08:41:39.715Z] e0aca202a116: Pulling fs layer [2021-10-19T08:41:39.715Z] 3a43be97a3b4: Pulling fs layer [2021-10-19T08:41:39.715Z] 34cad66bf833: Pulling fs layer [2021-10-19T08:41:39.715Z] b4e3c513aaa6: Pulling fs layer [2021-10-19T08:41:39.715Z] 4527c011a84f: Waiting [2021-10-19T08:41:39.715Z] 5d74067f8e1e: Waiting [2021-10-19T08:41:39.715Z] e0aca202a116: Waiting [2021-10-19T08:41:39.715Z] 3a43be97a3b4: Waiting [2021-10-19T08:41:39.715Z] 34cad66bf833: Waiting [2021-10-19T08:41:39.715Z] b4e3c513aaa6: Waiting [2021-10-19T08:41:39.715Z] b8b176561691: Verifying Checksum [2021-10-19T08:41:39.715Z] b8b176561691: Download complete [2021-10-19T08:41:39.715Z] 31adcdaf11c8: Verifying Checksum [2021-10-19T08:41:39.715Z] 31adcdaf11c8: Download complete [2021-10-19T08:41:39.715Z] 5d74067f8e1e: Verifying Checksum [2021-10-19T08:41:39.715Z] 5d74067f8e1e: Download complete [2021-10-19T08:41:39.715Z] e0aca202a116: Verifying Checksum [2021-10-19T08:41:39.715Z] e0aca202a116: Download complete [2021-10-19T08:41:39.981Z] a0d0a0d46f8b: Verifying Checksum [2021-10-19T08:41:39.981Z] a0d0a0d46f8b: Download complete [2021-10-19T08:41:39.981Z] 3a43be97a3b4: Verifying Checksum [2021-10-19T08:41:39.981Z] 3a43be97a3b4: Download complete [2021-10-19T08:41:39.981Z] 34cad66bf833: Verifying Checksum [2021-10-19T08:41:39.981Z] 34cad66bf833: Download complete [2021-10-19T08:41:40.271Z] a0d0a0d46f8b: Pull complete [2021-10-19T08:41:40.547Z] b4e3c513aaa6: Verifying Checksum [2021-10-19T08:41:40.547Z] b4e3c513aaa6: Download complete [2021-10-19T08:41:40.547Z] 4527c011a84f: Verifying Checksum [2021-10-19T08:41:40.547Z] 4527c011a84f: Download complete [2021-10-19T08:41:40.547Z] 31adcdaf11c8: Pull complete [2021-10-19T08:41:40.810Z] b8b176561691: Pull complete [2021-10-19T08:41:45.056Z] 4527c011a84f: Pull complete [2021-10-19T08:41:45.056Z] 5d74067f8e1e: Pull complete [2021-10-19T08:41:45.056Z] e0aca202a116: Pull complete [2021-10-19T08:41:45.056Z] 3a43be97a3b4: Pull complete [2021-10-19T08:41:45.056Z] 34cad66bf833: Pull complete [2021-10-19T08:41:47.627Z] b4e3c513aaa6: Pull complete [2021-10-19T08:41:47.627Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-19T08:41:47.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-19T08:41:47.627Z] ---> 9f6097aaca64 [2021-10-19T08:41:47.627Z] Step 3/10 : ARG MAKE=make build [2021-10-19T08:41:49.024Z] ---> Running in 4135351e9ddb [2021-10-19T08:41:49.024Z] Removing intermediate container 4135351e9ddb [2021-10-19T08:41:49.024Z] ---> dc78d1406ae5 [2021-10-19T08:41:49.024Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-19T08:41:49.024Z] ---> Running in 82ef820da7b3 [2021-10-19T08:41:49.285Z] Removing intermediate container 82ef820da7b3 [2021-10-19T08:41:49.285Z] ---> 6adb9eaec477 [2021-10-19T08:41:49.285Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T08:41:49.285Z] ---> Running in 05b4a9f48d4b [2021-10-19T08:41:49.285Z] Removing intermediate container 05b4a9f48d4b [2021-10-19T08:41:49.285Z] ---> 9f3dd327f5a7 [2021-10-19T08:41:49.285Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T08:41:49.285Z] ---> Running in c2699907fc6a [2021-10-19T08:41:49.866Z] Removing intermediate container c2699907fc6a [2021-10-19T08:41:49.866Z] ---> 8e32139d9e38 [2021-10-19T08:41:49.866Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-19T08:41:49.866Z] ---> Running in 908a48fd374c [2021-10-19T08:41:50.127Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-19T08:41:51.052Z] provisioning config files... [2021-10-19T08:41:51.071Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-19T08:41:51.081Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config640544662780135064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:41:51.501Z] ---> docker-login.sh [2021-10-19T08:41:51.501Z] nexus3.edgexfoundry.org:10001 [2021-10-19T08:41:51.642Z] OK: 220 MiB in 52 packages [2021-10-19T08:41:51.909Z] Removing intermediate container 908a48fd374c [2021-10-19T08:41:51.909Z] ---> a1d708e9b009 [2021-10-19T08:41:51.909Z] Step 8/10 : COPY . . [2021-10-19T08:41:52.170Z] ---> a99bf367e6c1 [2021-10-19T08:41:52.170Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-19T08:41:52.170Z] ---> Running in 98e00a0e1c63 [2021-10-19T08:41:52.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:53.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:53.250Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:53.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:53.250Z] [2021-10-19T08:41:53.250Z] Login Succeeded [2021-10-19T08:41:53.250Z] nexus3.edgexfoundry.org:10002 [2021-10-19T08:41:53.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:53.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:53.811Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:53.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:53.811Z] [2021-10-19T08:41:53.811Z] Login Succeeded [2021-10-19T08:41:53.811Z] nexus3.edgexfoundry.org:10003 [2021-10-19T08:41:54.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:54.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:54.371Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:54.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:54.371Z] [2021-10-19T08:41:54.371Z] Login Succeeded [2021-10-19T08:41:54.371Z] nexus3.edgexfoundry.org:10004 [2021-10-19T08:41:54.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:54.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:54.931Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:54.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:54.931Z] [2021-10-19T08:41:54.931Z] Login Succeeded [2021-10-19T08:41:54.931Z] docker.io [2021-10-19T08:41:55.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T08:41:55.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T08:41:55.819Z] Configure a credential helper to remove this warning. See [2021-10-19T08:41:55.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T08:41:55.819Z] [2021-10-19T08:41:55.819Z] Login Succeeded [2021-10-19T08:41:55.819Z] ---> docker-login.sh ends [Pipeline] } [2021-10-19T08:41:55.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-19T08:41:56.515Z] ========================================================= [2021-10-19T08:41:56.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-19T08:41:56.515Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:41:56.984Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-19T08:41:58.276Z] Sending build context to Docker daemon 2.741MB [2021-10-19T08:41:58.276Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-19T08:41:58.276Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-19T08:41:58.276Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-19T08:41:58.276Z] 552d1f2373af: Pulling fs layer [2021-10-19T08:41:58.276Z] ea3f2d53f512: Pulling fs layer [2021-10-19T08:41:58.276Z] 9e70ebbbe112: Pulling fs layer [2021-10-19T08:41:58.276Z] 7a9cfe048b4a: Pulling fs layer [2021-10-19T08:41:58.276Z] 72dc09318566: Pulling fs layer [2021-10-19T08:41:58.276Z] f4f7b4309257: Pulling fs layer [2021-10-19T08:41:58.276Z] 0ac9a79272e3: Pulling fs layer [2021-10-19T08:41:58.276Z] b78e95d17946: Pulling fs layer [2021-10-19T08:41:58.276Z] f4f7b4309257: Waiting [2021-10-19T08:41:58.276Z] 7a9cfe048b4a: Waiting [2021-10-19T08:41:58.276Z] 72dc09318566: Waiting [2021-10-19T08:41:58.276Z] 0ac9a79272e3: Waiting [2021-10-19T08:41:58.276Z] b78e95d17946: Waiting [2021-10-19T08:41:58.276Z] 9e70ebbbe112: Verifying Checksum [2021-10-19T08:41:58.276Z] 9e70ebbbe112: Download complete [2021-10-19T08:41:58.276Z] ea3f2d53f512: Verifying Checksum [2021-10-19T08:41:58.276Z] ea3f2d53f512: Download complete [2021-10-19T08:41:58.276Z] 72dc09318566: Verifying Checksum [2021-10-19T08:41:58.276Z] 72dc09318566: Download complete [2021-10-19T08:41:58.276Z] f4f7b4309257: Verifying Checksum [2021-10-19T08:41:58.276Z] f4f7b4309257: Download complete [2021-10-19T08:41:58.276Z] 0ac9a79272e3: Download complete [2021-10-19T08:41:58.276Z] 552d1f2373af: Verifying Checksum [2021-10-19T08:41:58.276Z] 552d1f2373af: Download complete [2021-10-19T08:41:58.892Z] 552d1f2373af: Pull complete [2021-10-19T08:41:59.500Z] ea3f2d53f512: Pull complete [2021-10-19T08:41:59.786Z] 9e70ebbbe112: Pull complete [2021-10-19T08:42:00.069Z] b78e95d17946: Verifying Checksum [2021-10-19T08:42:00.069Z] b78e95d17946: Download complete [2021-10-19T08:42:00.349Z] 7a9cfe048b4a: Verifying Checksum [2021-10-19T08:42:00.349Z] 7a9cfe048b4a: Download complete [2021-10-19T08:42:12.809Z] 7a9cfe048b4a: Pull complete [2021-10-19T08:42:12.809Z] 72dc09318566: Pull complete [2021-10-19T08:42:12.809Z] f4f7b4309257: Pull complete [2021-10-19T08:42:12.809Z] 0ac9a79272e3: Pull complete [2021-10-19T08:42:19.607Z] b78e95d17946: Pull complete [2021-10-19T08:42:19.607Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-19T08:42:19.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-19T08:42:19.607Z] ---> 8b459fc5aaf0 [2021-10-19T08:42:19.607Z] Step 3/10 : ARG MAKE=make build [2021-10-19T08:42:20.593Z] ---> Running in b3f0a8232a99 [2021-10-19T08:42:20.870Z] Removing intermediate container b3f0a8232a99 [2021-10-19T08:42:20.870Z] ---> 8473beb770de [2021-10-19T08:42:20.870Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-19T08:42:20.870Z] ---> Running in 379c92b129b2 [2021-10-19T08:42:21.471Z] Removing intermediate container 379c92b129b2 [2021-10-19T08:42:21.471Z] ---> c875aae62d1f [2021-10-19T08:42:21.471Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T08:42:21.745Z] ---> Running in 7eea66a5d5eb [2021-10-19T08:42:22.020Z] Removing intermediate container 7eea66a5d5eb [2021-10-19T08:42:22.020Z] ---> 7b010922be57 [2021-10-19T08:42:22.020Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T08:42:22.294Z] ---> Running in bcbda78d9e87 [2021-10-19T08:42:24.948Z] Removing intermediate container bcbda78d9e87 [2021-10-19T08:42:24.948Z] ---> 7c21dfda1f36 [2021-10-19T08:42:24.948Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-19T08:42:24.948Z] ---> Running in b7ff0914a162 [2021-10-19T08:42:25.939Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-19T08:42:26.930Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-19T08:42:27.920Z] OK: 219 MiB in 52 packages [2021-10-19T08:42:28.919Z] Removing intermediate container b7ff0914a162 [2021-10-19T08:42:28.919Z] ---> a708d84efba9 [2021-10-19T08:42:28.919Z] Step 8/10 : COPY . . [2021-10-19T08:42:30.372Z] ---> af0eb43fbe2b [2021-10-19T08:42:30.372Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-19T08:42:30.372Z] ---> Running in dddeb34ffc67 [2021-10-19T08:42:31.805Z] Removing intermediate container 98e00a0e1c63 [2021-10-19T08:42:31.805Z] ---> 8ffd554a4d98 [2021-10-19T08:42:31.805Z] Step 10/10 : RUN ${MAKE} [2021-10-19T08:42:31.805Z] ---> Running in f908f060ca2a [2021-10-19T08:42:31.805Z] noop [2021-10-19T08:42:31.805Z] Removing intermediate container f908f060ca2a [2021-10-19T08:42:31.805Z] ---> bbe266a11934 [2021-10-19T08:42:31.805Z] Successfully built bbe266a11934 [2021-10-19T08:42:31.805Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:42:32.132Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-19T08:42:32.132Z] . [Pipeline] withDockerContainer [2021-10-19T08:42:32.231Z] prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container [2021-10-19T08:42:32.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-19T08:42:32.686Z] $ docker top 300db51065ba567c268ea05a6392ab1b323f4b11522b17ca5717e548940bc38e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-19T08:42:33.128Z] + go version [2021-10-19T08:42:33.128Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-19T08:42:33.160Z] $ docker stop --time=1 300db51065ba567c268ea05a6392ab1b323f4b11522b17ca5717e548940bc38e [2021-10-19T08:42:34.364Z] $ docker rm -f 300db51065ba567c268ea05a6392ab1b323f4b11522b17ca5717e548940bc38e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:42:35.096Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-19T08:42:35.096Z] . [Pipeline] withDockerContainer [2021-10-19T08:42:36.154Z] prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container [2021-10-19T08:42:36.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-19T08:42:36.575Z] $ docker top 5e709136f1f40274002269759a187293fe93733a55a3a9eda0324c6f9c517bed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-19T08:42:37.049Z] + make test [2021-10-19T08:42:37.049Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-19T08:42:42.383Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-19T08:43:09.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-19T08:43:09.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-19T08:43:09.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-19T08:43:09.110Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 23.8% of statements [2021-10-19T08:43:09.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-19T08:43:09.110Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 28.1% of statements [2021-10-19T08:43:09.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements [2021-10-19T08:43:09.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2021-10-19T08:43:09.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-19T08:43:09.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-19T08:43:09.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-19T08:43:10.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.071s coverage: 28.7% of statements [2021-10-19T08:43:10.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-19T08:43:11.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.063s coverage: 83.3% of statements [2021-10-19T08:43:11.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-19T08:43:11.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-19T08:43:11.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.8% of statements [2021-10-19T08:43:13.092Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.855s coverage: 88.8% of statements [2021-10-19T08:43:13.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-19T08:43:13.092Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.9% of statements [2021-10-19T08:43:13.092Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-19T08:43:13.092Z] GO111MODULE=on go vet ./... [2021-10-19T08:43:35.198Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-19T08:43:35.198Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-19T08:43:35.198Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-19T08:43:35.223Z] $ docker stop --time=1 5e709136f1f40274002269759a187293fe93733a55a3a9eda0324c6f9c517bed [2021-10-19T08:43:36.695Z] $ docker rm -f 5e709136f1f40274002269759a187293fe93733a55a3a9eda0324c6f9c517bed [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-19T08:43:37.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-19T08:43:37.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-19T08:43:42.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-19T08:43:43.152Z] + ls -al . [2021-10-19T08:43:43.153Z] total 264 [2021-10-19T08:43:43.153Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 08:43 . [2021-10-19T08:43:43.153Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 08:41 .. [2021-10-19T08:43:43.153Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 19 08:41 bin [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 19 08:41 CHANGELOG.md [2021-10-19T08:43:43.153Z] -rw-r--r--. 1 jenkins jenkins 126785 Oct 19 08:43 coverage.out [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 08:41 .dockerignore [2021-10-19T08:43:43.153Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 19 08:41 example [2021-10-19T08:43:43.153Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 08:41 .git [2021-10-19T08:43:43.153Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 19 08:41 .github [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 19 08:41 .gitignore [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 19 08:41 go.mod [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 49868 Oct 19 08:41 go.sum [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 19 08:41 GOVERNANCE.md [2021-10-19T08:43:43.153Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 19 08:41 internal [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 19 08:41 Jenkinsfile [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 08:41 LICENSE [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 19 08:41 Makefile [2021-10-19T08:43:43.153Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 19 08:41 openapi [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 19 08:41 OWNERS.md [2021-10-19T08:43:43.153Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 08:41 pkg [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 19 08:41 README.md [2021-10-19T08:43:43.153Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 08:41 snap [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 08:38 VERSION [2021-10-19T08:43:43.153Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 08:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:43:43.495Z] + 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=1bdc95181e1969d86fadd578ddd6bffed4dfc114 --label arch=amd64 --label version=0.0.0 . [2021-10-19T08:43:43.496Z] Sending build context to Docker daemon 2.87MB [2021-10-19T08:43:43.496Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-19T08:43:43.496Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-19T08:43:43.496Z] ---> bbe266a11934 [2021-10-19T08:43:43.496Z] Step 3/24 : ARG MAKE=make build [2021-10-19T08:43:43.496Z] ---> Running in 1a822f46e6be [2021-10-19T08:43:43.496Z] Removing intermediate container 1a822f46e6be [2021-10-19T08:43:43.496Z] ---> e038038a4278 [2021-10-19T08:43:43.496Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-19T08:43:43.766Z] ---> Running in 256431dc0c5b [2021-10-19T08:43:43.766Z] Removing intermediate container 256431dc0c5b [2021-10-19T08:43:43.766Z] ---> 10f616f8703a [2021-10-19T08:43:43.766Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T08:43:43.766Z] ---> Running in d81fc4b3eecc [2021-10-19T08:43:43.766Z] Removing intermediate container d81fc4b3eecc [2021-10-19T08:43:43.766Z] ---> e3430c36c445 [2021-10-19T08:43:43.766Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T08:43:43.766Z] ---> Running in 3fc1a4cf51b9 [2021-10-19T08:43:44.340Z] Removing intermediate container 3fc1a4cf51b9 [2021-10-19T08:43:44.340Z] ---> 2fd416c00631 [2021-10-19T08:43:44.340Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-19T08:43:44.340Z] ---> Running in 5cde6b00667b [2021-10-19T08:43:44.603Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-19T08:43:45.549Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-19T08:43:45.814Z] OK: 220 MiB in 52 packages [2021-10-19T08:43:46.079Z] Removing intermediate container 5cde6b00667b [2021-10-19T08:43:46.079Z] ---> 92dec5b54863 [2021-10-19T08:43:46.079Z] Step 8/24 : COPY . . [2021-10-19T08:43:46.348Z] ---> 5bcaede3e4ef [2021-10-19T08:43:46.348Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-19T08:43:46.348Z] ---> Running in 6070e2ab569b [2021-10-19T08:43:46.924Z] Removing intermediate container 6070e2ab569b [2021-10-19T08:43:46.924Z] ---> ceecf8711eb2 [2021-10-19T08:43:46.924Z] Step 10/24 : RUN ${MAKE} [2021-10-19T08:43:46.924Z] ---> Running in 3356b2f00db6 [2021-10-19T08:43:47.191Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-19T08:43:52.611Z] Removing intermediate container dddeb34ffc67 [2021-10-19T08:43:52.611Z] ---> 79963f8a7fdb [2021-10-19T08:43:52.611Z] Step 10/10 : RUN ${MAKE} [2021-10-19T08:43:52.611Z] ---> Running in 926ca8cb09c6 [2021-10-19T08:43:52.611Z] noop [2021-10-19T08:43:52.611Z] Removing intermediate container 926ca8cb09c6 [2021-10-19T08:43:52.611Z] ---> 991c3816e83d [2021-10-19T08:43:52.611Z] Successfully built 991c3816e83d [2021-10-19T08:43:52.611Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:43:52.988Z] + docker inspect -f . ci-base-image-arm64 [2021-10-19T08:43:52.988Z] . [Pipeline] withDockerContainer [2021-10-19T08:43:53.291Z] prd-ubuntu18.04-docker-arm64-4c-16g-2434 does not seem to be running inside a container [2021-10-19T08:43:53.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-19T08:43:55.040Z] $ docker top 1af1470b8f1a3403631f062b6d0d396592d2453eea83bb043c1ddb86948efe6f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-19T08:43:56.080Z] + go version [2021-10-19T08:43:56.080Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-19T08:43:56.113Z] $ docker stop --time=1 1af1470b8f1a3403631f062b6d0d396592d2453eea83bb043c1ddb86948efe6f [2021-10-19T08:43:57.945Z] $ docker rm -f 1af1470b8f1a3403631f062b6d0d396592d2453eea83bb043c1ddb86948efe6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:43:58.953Z] + docker inspect -f . ci-base-image-arm64 [2021-10-19T08:43:58.953Z] . [Pipeline] withDockerContainer [2021-10-19T08:43:59.239Z] prd-ubuntu18.04-docker-arm64-4c-16g-2434 does not seem to be running inside a container [2021-10-19T08:43:59.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-19T08:43:59.512Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-19T08:43:59.512Z] Removing intermediate container 3356b2f00db6 [2021-10-19T08:43:59.512Z] ---> cd3c2b4d0e46 [2021-10-19T08:43:59.512Z] Step 11/24 : FROM alpine:3.14 [2021-10-19T08:44:00.095Z] 3.14: Pulling from library/alpine [2021-10-19T08:44:00.359Z] a0d0a0d46f8b: Already exists [2021-10-19T08:44:00.622Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-19T08:44:00.622Z] Status: Downloaded newer image for alpine:3.14 [2021-10-19T08:44:00.622Z] ---> 14119a10abf4 [2021-10-19T08:44:00.622Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T08:44:00.622Z] ---> Running in 9d8240a31877 [2021-10-19T08:44:00.622Z] Removing intermediate container 9d8240a31877 [2021-10-19T08:44:00.622Z] ---> 33c62f649afc [2021-10-19T08:44:00.622Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T08:44:00.622Z] ---> Running in aa8b6720af41 [2021-10-19T08:44:00.980Z] $ docker top 1719d039e746df55caf7248b30da0073c8cac650d4677cea5267f4ebec73e557 -eo pid,comm [2021-10-19T08:44:01.203Z] Removing intermediate container aa8b6720af41 [2021-10-19T08:44:01.203Z] ---> ea7d74379e23 [2021-10-19T08:44:01.203Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-19T08:44:01.203Z] ---> Running in d238a4e12b33 [Pipeline] { [Pipeline] fileExists [2021-10-19T08:44:02.395Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-19T08:44:02.395Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2021-10-19T08:44:02.656Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-19T08:44:02.656Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-19T08:44:02.656Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-19T08:44:02.921Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-19T08:44:02.921Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-19T08:44:03.073Z] + make test [2021-10-19T08:44:03.073Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-19T08:44:03.182Z] Executing busybox-1.33.1-r3.trigger [2021-10-19T08:44:03.182Z] OK: 8 MiB in 19 packages [2021-10-19T08:44:03.442Z] Removing intermediate container d238a4e12b33 [2021-10-19T08:44:03.442Z] ---> 762c905d3bdd [2021-10-19T08:44:03.442Z] Step 15/24 : WORKDIR / [2021-10-19T08:44:03.442Z] ---> Running in 64a15f649222 [2021-10-19T08:44:03.442Z] Removing intermediate container 64a15f649222 [2021-10-19T08:44:03.442Z] ---> 3a7bd3a24b98 [2021-10-19T08:44:03.442Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-19T08:44:03.703Z] ---> 83dccf120567 [2021-10-19T08:44:03.703Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-19T08:44:03.968Z] ---> 05aae672c612 [2021-10-19T08:44:03.968Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-19T08:44:03.968Z] ---> 2191510e40b6 [2021-10-19T08:44:03.968Z] Step 19/24 : EXPOSE 59999 [2021-10-19T08:44:03.968Z] ---> Running in ce5562759ff2 [2021-10-19T08:44:04.232Z] Removing intermediate container ce5562759ff2 [2021-10-19T08:44:04.232Z] ---> d0db89fb93ca [2021-10-19T08:44:04.232Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-19T08:44:04.232Z] ---> Running in bb2f80251b90 [2021-10-19T08:44:04.232Z] Removing intermediate container bb2f80251b90 [2021-10-19T08:44:04.232Z] ---> 5a38ae13a56a [2021-10-19T08:44:04.232Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-19T08:44:04.232Z] ---> Running in 9aa963a9b3d5 [2021-10-19T08:44:04.495Z] Removing intermediate container 9aa963a9b3d5 [2021-10-19T08:44:04.495Z] ---> e82e30bba23c [2021-10-19T08:44:04.495Z] Step 22/24 : LABEL arch=amd64 [2021-10-19T08:44:04.495Z] ---> Running in 0b60f64fd276 [2021-10-19T08:44:04.495Z] Removing intermediate container 0b60f64fd276 [2021-10-19T08:44:04.495Z] ---> 30ad93b0398e [2021-10-19T08:44:04.495Z] Step 23/24 : LABEL git_sha=1bdc95181e1969d86fadd578ddd6bffed4dfc114 [2021-10-19T08:44:04.495Z] ---> Running in 01ef964c1c94 [2021-10-19T08:44:04.495Z] Removing intermediate container 01ef964c1c94 [2021-10-19T08:44:04.495Z] ---> 8418f644e8d8 [2021-10-19T08:44:04.495Z] Step 24/24 : LABEL version=0.0.0 [2021-10-19T08:44:04.495Z] ---> Running in 7f14d58bbac8 [2021-10-19T08:44:04.759Z] Removing intermediate container 7f14d58bbac8 [2021-10-19T08:44:04.759Z] ---> 70a51ec2c8ee [2021-10-19T08:44:04.759Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-19T08:44:04.759Z] Successfully built 70a51ec2c8ee [2021-10-19T08:44:04.759Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:44:05.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T08:44:05.647Z] [2021-10-19T08:44:05.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:44:05.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T08:44:05.987Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-19T08:44:05.987Z] b4d181a07f80: Pulling fs layer [2021-10-19T08:44:05.987Z] a1111a8f2ec3: Pulling fs layer [2021-10-19T08:44:05.987Z] ed53099fbce6: Pulling fs layer [2021-10-19T08:44:05.987Z] dc539afda2c1: Pulling fs layer [2021-10-19T08:44:05.987Z] 77bc0d833cb6: Pulling fs layer [2021-10-19T08:44:05.987Z] 9065ff56babe: Pulling fs layer [2021-10-19T08:44:05.987Z] d287ab97295c: Pulling fs layer [2021-10-19T08:44:05.987Z] 77bc0d833cb6: Waiting [2021-10-19T08:44:05.987Z] 9065ff56babe: Waiting [2021-10-19T08:44:05.987Z] d287ab97295c: Waiting [2021-10-19T08:44:05.987Z] dc539afda2c1: Waiting [2021-10-19T08:44:05.987Z] a1111a8f2ec3: Verifying Checksum [2021-10-19T08:44:05.987Z] a1111a8f2ec3: Download complete [2021-10-19T08:44:05.987Z] dc539afda2c1: Verifying Checksum [2021-10-19T08:44:05.987Z] dc539afda2c1: Download complete [2021-10-19T08:44:06.251Z] 77bc0d833cb6: Verifying Checksum [2021-10-19T08:44:06.251Z] 77bc0d833cb6: Download complete [2021-10-19T08:44:06.251Z] ed53099fbce6: Verifying Checksum [2021-10-19T08:44:06.251Z] ed53099fbce6: Download complete [2021-10-19T08:44:06.251Z] 9065ff56babe: Verifying Checksum [2021-10-19T08:44:06.251Z] 9065ff56babe: Download complete [2021-10-19T08:44:06.251Z] b4d181a07f80: Download complete [2021-10-19T08:44:06.832Z] d287ab97295c: Verifying Checksum [2021-10-19T08:44:06.832Z] d287ab97295c: Download complete [2021-10-19T08:44:07.784Z] b4d181a07f80: Pull complete [2021-10-19T08:44:07.784Z] a1111a8f2ec3: Pull complete [2021-10-19T08:44:08.358Z] ed53099fbce6: Pull complete [2021-10-19T08:44:08.358Z] dc539afda2c1: Pull complete [2021-10-19T08:44:08.620Z] 77bc0d833cb6: Pull complete [2021-10-19T08:44:08.886Z] 9065ff56babe: Pull complete [2021-10-19T08:44:14.238Z] d287ab97295c: Pull complete [2021-10-19T08:44:14.238Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-19T08:44:14.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T08:44:14.238Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-19T08:44:14.340Z] prd-centos7-docker-4c-2g-2435 does not seem to be running inside a container [2021-10-19T08:44:14.381Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-19T08:44:16.820Z] $ docker top 01410b8da703a975b5faa582688baed11af4b9f9b6601b52e3aa90ed9db14461 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:44:18.337Z] ---> job-cost.sh [2021-10-19T08:44:18.337Z] lf-activate-venv: SKIPPING [2021-10-19T08:44:18.337Z] INFO: No Stack... [2021-10-19T08:44:18.908Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-19T08:44:19.168Z] INFO: Archiving Costs [Pipeline] sh [2021-10-19T08:44:19.500Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-19T08:44:19.500Z] + cut -d, -f6 [Pipeline] lock [2021-10-19T08:44:19.557Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1038-1-stack-cost] [2021-10-19T08:44:19.562Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1038-1-stack-cost] did not exist. Created. [2021-10-19T08:44:19.562Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1038-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-19T08:44:19.951Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-19T08:44:20.002Z] Stashed 1 file(s) [Pipeline] } [2021-10-19T08:44:20.025Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1038-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-19T08:44:20.087Z] $ docker stop --time=1 01410b8da703a975b5faa582688baed11af4b9f9b6601b52e3aa90ed9db14461 [2021-10-19T08:44:21.245Z] $ docker rm -f 01410b8da703a975b5faa582688baed11af4b9f9b6601b52e3aa90ed9db14461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-19T08:44:29.968Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-19T08:45:38.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-19T08:45:38.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-19T08:45:38.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-19T08:45:38.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.301s coverage: 23.8% of statements [2021-10-19T08:45:38.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-19T08:45:38.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.194s coverage: 28.1% of statements [2021-10-19T08:45:38.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.255s coverage: 78.9% of statements [2021-10-19T08:45:38.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.198s coverage: 9.0% of statements [2021-10-19T08:45:38.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-19T08:45:38.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-19T08:45:38.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-19T08:45:40.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.329s coverage: 28.7% of statements [2021-10-19T08:45:40.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-19T08:45:42.819Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.220s coverage: 83.3% of statements [2021-10-19T08:45:42.819Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-19T08:45:42.819Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-19T08:45:42.819Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.431s coverage: 57.8% of statements [2021-10-19T08:45:44.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.049s coverage: 88.8% of statements [2021-10-19T08:45:44.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-19T08:45:45.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.182s coverage: 4.9% of statements [2021-10-19T08:45:45.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-19T08:45:45.555Z] GO111MODULE=on go vet ./... [2021-10-19T08:46:42.230Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-19T08:46:42.230Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-19T08:46:42.230Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-19T08:46:42.276Z] $ docker stop --time=1 1719d039e746df55caf7248b30da0073c8cac650d4677cea5267f4ebec73e557 [2021-10-19T08:46:44.373Z] $ docker rm -f 1719d039e746df55caf7248b30da0073c8cac650d4677cea5267f4ebec73e557 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-19T08:46:46.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-19T08:46:46.453Z] Warning: overwriting stash ‘coverage-report’ [2021-10-19T08:46:47.307Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-19T08:46:47.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-19T08:46:48.273Z] + ls -al . [2021-10-19T08:46:48.273Z] total 300 [2021-10-19T08:46:48.273Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 08:46 . [2021-10-19T08:46:48.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:41 .. [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 08:41 .dockerignore [2021-10-19T08:46:48.273Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 08:41 .git [2021-10-19T08:46:48.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 08:41 .github [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 19 08:41 .gitignore [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 19 08:41 CHANGELOG.md [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 08:41 GOVERNANCE.md [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 19 08:41 Jenkinsfile [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 08:41 LICENSE [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 19 08:41 Makefile [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 19 08:41 OWNERS.md [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 19 08:41 README.md [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 08:38 VERSION [2021-10-19T08:46:48.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 08:41 bin [2021-10-19T08:46:48.273Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 19 08:45 coverage.out [2021-10-19T08:46:48.273Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 08:41 example [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 19 08:41 go.mod [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 49868 Oct 19 08:41 go.sum [2021-10-19T08:46:48.273Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 08:41 internal [2021-10-19T08:46:48.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 08:41 openapi [2021-10-19T08:46:48.273Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 08:41 pkg [2021-10-19T08:46:48.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:41 snap [2021-10-19T08:46:48.273Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 08:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:46:48.663Z] + 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=7ee22e8e8f60ff7894219654fae0b6ed59d58da5 --label arch=arm64 --label version=0.0.0 . [2021-10-19T08:46:49.272Z] Sending build context to Docker daemon 2.869MB [2021-10-19T08:46:49.272Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-19T08:46:49.272Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-19T08:46:49.272Z] ---> 991c3816e83d [2021-10-19T08:46:49.272Z] Step 3/24 : ARG MAKE=make build [2021-10-19T08:46:49.272Z] ---> Running in f6e0b4be4ac2 [2021-10-19T08:46:49.874Z] Removing intermediate container f6e0b4be4ac2 [2021-10-19T08:46:49.874Z] ---> b8d00d27d1ee [2021-10-19T08:46:49.874Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-19T08:46:49.874Z] ---> Running in e1dac208e2d4 [2021-10-19T08:46:50.478Z] Removing intermediate container e1dac208e2d4 [2021-10-19T08:46:50.478Z] ---> f9e6f930fcd8 [2021-10-19T08:46:50.478Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T08:46:50.478Z] ---> Running in 939f39d8da2e [2021-10-19T08:46:50.753Z] Removing intermediate container 939f39d8da2e [2021-10-19T08:46:50.753Z] ---> 9aa1df402039 [2021-10-19T08:46:50.753Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T08:46:51.030Z] ---> Running in c88d7597f177 [2021-10-19T08:46:53.036Z] Removing intermediate container c88d7597f177 [2021-10-19T08:46:53.036Z] ---> 2dc3690979f4 [2021-10-19T08:46:53.036Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-19T08:46:53.036Z] ---> Running in 65ecaccc977c [2021-10-19T08:46:54.479Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-19T08:46:55.461Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-19T08:46:56.058Z] OK: 219 MiB in 52 packages [2021-10-19T08:46:57.042Z] Removing intermediate container 65ecaccc977c [2021-10-19T08:46:57.042Z] ---> f3326525eb0c [2021-10-19T08:46:57.042Z] Step 8/24 : COPY . . [2021-10-19T08:46:58.487Z] ---> 0036e3a6be10 [2021-10-19T08:46:58.487Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-19T08:46:58.487Z] ---> Running in 91b7d247527f [2021-10-19T08:47:01.127Z] Removing intermediate container 91b7d247527f [2021-10-19T08:47:01.127Z] ---> 72c9a807b98f [2021-10-19T08:47:01.127Z] Step 10/24 : RUN ${MAKE} [2021-10-19T08:47:01.127Z] ---> Running in ed82b52107c0 [2021-10-19T08:47:02.120Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-19T08:47:34.589Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-19T08:47:37.246Z] Removing intermediate container ed82b52107c0 [2021-10-19T08:47:37.246Z] ---> ac02dbb84fa5 [2021-10-19T08:47:37.246Z] Step 11/24 : FROM alpine:3.14 [2021-10-19T08:47:38.239Z] 3.14: Pulling from library/alpine [2021-10-19T08:47:38.239Z] 552d1f2373af: Already exists [2021-10-19T08:47:38.516Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-19T08:47:38.516Z] Status: Downloaded newer image for alpine:3.14 [2021-10-19T08:47:38.516Z] ---> bb3de5531c18 [2021-10-19T08:47:38.516Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T08:47:38.794Z] ---> Running in e1e4e82a049f [2021-10-19T08:47:39.072Z] Removing intermediate container e1e4e82a049f [2021-10-19T08:47:39.072Z] ---> fca07825b9b2 [2021-10-19T08:47:39.072Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T08:47:39.348Z] ---> Running in 083d8432e4ea [2021-10-19T08:47:41.348Z] Removing intermediate container 083d8432e4ea [2021-10-19T08:47:41.348Z] ---> 0a4e277d003c [2021-10-19T08:47:41.348Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-19T08:47:41.348Z] ---> Running in 541f858889fa [2021-10-19T08:47:42.798Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-19T08:47:43.800Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-19T08:47:44.794Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-19T08:47:44.794Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-19T08:47:44.794Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-19T08:47:45.072Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-19T08:47:45.072Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-19T08:47:45.072Z] Executing busybox-1.33.1-r3.trigger [2021-10-19T08:47:45.072Z] OK: 8 MiB in 19 packages [2021-10-19T08:47:46.521Z] Removing intermediate container 541f858889fa [2021-10-19T08:47:46.521Z] ---> 37124cba9125 [2021-10-19T08:47:46.521Z] Step 15/24 : WORKDIR / [2021-10-19T08:47:46.521Z] ---> Running in b6518dccc18e [2021-10-19T08:47:47.127Z] Removing intermediate container b6518dccc18e [2021-10-19T08:47:47.127Z] ---> 0f294a6c1d17 [2021-10-19T08:47:47.127Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-19T08:47:47.729Z] ---> b022bb63947e [2021-10-19T08:47:47.729Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-19T08:47:49.195Z] ---> 65993c207a46 [2021-10-19T08:47:49.195Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-19T08:47:49.801Z] ---> 972dc91cb419 [2021-10-19T08:47:49.801Z] Step 19/24 : EXPOSE 59999 [2021-10-19T08:47:50.079Z] ---> Running in ad9234e70859 [2021-10-19T08:47:50.357Z] Removing intermediate container ad9234e70859 [2021-10-19T08:47:50.357Z] ---> be8ddeb4fa03 [2021-10-19T08:47:50.357Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-19T08:47:50.638Z] ---> Running in fdfdc4fd940a [2021-10-19T08:47:50.917Z] Removing intermediate container fdfdc4fd940a [2021-10-19T08:47:50.917Z] ---> d3e1250acf70 [2021-10-19T08:47:50.917Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-19T08:47:51.197Z] ---> Running in d40dfe678cbf [2021-10-19T08:47:51.799Z] Removing intermediate container d40dfe678cbf [2021-10-19T08:47:51.799Z] ---> 470d592e5f37 [2021-10-19T08:47:51.799Z] Step 22/24 : LABEL arch=arm64 [2021-10-19T08:47:51.799Z] ---> Running in 0a4b1b966a98 [2021-10-19T08:47:52.072Z] Removing intermediate container 0a4b1b966a98 [2021-10-19T08:47:52.072Z] ---> a15d5a2ac8e6 [2021-10-19T08:47:52.072Z] Step 23/24 : LABEL git_sha=7ee22e8e8f60ff7894219654fae0b6ed59d58da5 [2021-10-19T08:47:52.350Z] ---> Running in 42bc9d0ea73a [2021-10-19T08:47:52.627Z] Removing intermediate container 42bc9d0ea73a [2021-10-19T08:47:52.627Z] ---> 8d4bc3dc608f [2021-10-19T08:47:52.627Z] Step 24/24 : LABEL version=0.0.0 [2021-10-19T08:47:52.901Z] ---> Running in e90ebc1f15bd [2021-10-19T08:47:53.178Z] Removing intermediate container e90ebc1f15bd [2021-10-19T08:47:53.178Z] ---> 5ef515e798d0 [2021-10-19T08:47:53.178Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-19T08:47:53.453Z] Successfully built 5ef515e798d0 [2021-10-19T08:47:53.453Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:47:54.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-19T08:47:54.571Z] [2021-10-19T08:47:54.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:47:54.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-19T08:47:55.236Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-19T08:47:55.237Z] 448f6bf000e3: Pulling fs layer [2021-10-19T08:47:55.237Z] f757da607395: Pulling fs layer [2021-10-19T08:47:55.237Z] 05883995daec: Pulling fs layer [2021-10-19T08:47:55.237Z] 8603b9c90790: Pulling fs layer [2021-10-19T08:47:55.237Z] 1560dd03e051: Pulling fs layer [2021-10-19T08:47:55.237Z] 27f5ce0e4adf: Pulling fs layer [2021-10-19T08:47:55.237Z] c2d8d7efcc4b: Pulling fs layer [2021-10-19T08:47:55.237Z] 1560dd03e051: Waiting [2021-10-19T08:47:55.237Z] 27f5ce0e4adf: Waiting [2021-10-19T08:47:55.237Z] c2d8d7efcc4b: Waiting [2021-10-19T08:47:55.237Z] 8603b9c90790: Waiting [2021-10-19T08:47:55.237Z] f757da607395: Verifying Checksum [2021-10-19T08:47:55.237Z] f757da607395: Download complete [2021-10-19T08:47:55.237Z] 8603b9c90790: Verifying Checksum [2021-10-19T08:47:55.237Z] 8603b9c90790: Download complete [2021-10-19T08:47:55.515Z] 1560dd03e051: Verifying Checksum [2021-10-19T08:47:55.515Z] 1560dd03e051: Download complete [2021-10-19T08:47:55.515Z] 05883995daec: Verifying Checksum [2021-10-19T08:47:55.515Z] 05883995daec: Download complete [2021-10-19T08:47:55.515Z] 27f5ce0e4adf: Verifying Checksum [2021-10-19T08:47:55.515Z] 27f5ce0e4adf: Download complete [2021-10-19T08:47:55.795Z] 448f6bf000e3: Verifying Checksum [2021-10-19T08:47:55.795Z] 448f6bf000e3: Download complete [2021-10-19T08:47:58.486Z] c2d8d7efcc4b: Verifying Checksum [2021-10-19T08:47:58.486Z] c2d8d7efcc4b: Download complete [2021-10-19T08:48:00.299Z] 448f6bf000e3: Pull complete [2021-10-19T08:48:00.575Z] f757da607395: Pull complete [2021-10-19T08:48:02.031Z] 05883995daec: Pull complete [2021-10-19T08:48:02.311Z] 8603b9c90790: Pull complete [2021-10-19T08:48:03.302Z] 1560dd03e051: Pull complete [2021-10-19T08:48:03.577Z] 27f5ce0e4adf: Pull complete [2021-10-19T08:48:18.713Z] c2d8d7efcc4b: Pull complete [2021-10-19T08:48:18.713Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-19T08:48:18.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-19T08:48:18.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-19T08:48:18.998Z] prd-ubuntu18.04-docker-arm64-4c-16g-2434 does not seem to be running inside a container [2021-10-19T08:48:19.092Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-19T08:48:22.778Z] $ docker top 8a0522b63f8df8ee8869046177854567df3301e4d9a3940db83bc11cbfcc8afb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:48:23.829Z] ---> job-cost.sh [2021-10-19T08:48:23.829Z] lf-activate-venv: SKIPPING [2021-10-19T08:48:23.829Z] INFO: No Stack... [2021-10-19T08:48:32.126Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-19T08:48:32.126Z] INFO: Archiving Costs [Pipeline] sh [2021-10-19T08:48:32.812Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-19T08:48:32.813Z] + cut -d, -f6 [Pipeline] lock [2021-10-19T08:48:32.900Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1038-1-stack-cost] [2021-10-19T08:48:32.905Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1038-1-stack-cost] did not exist. Created. [2021-10-19T08:48:32.905Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1038-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-19T08:48:33.649Z] /w/workspace/device-sdk-go/1@tmp/durable-69ae989d/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-69ae989d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-19T08:48:34.351Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-19T08:48:34.392Z] Warning: overwriting stash ‘stack-cost’ [2021-10-19T08:48:34.452Z] Stashed 1 file(s) [Pipeline] } [2021-10-19T08:48:34.468Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1038-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-19T08:48:34.528Z] $ docker stop --time=1 8a0522b63f8df8ee8869046177854567df3301e4d9a3940db83bc11cbfcc8afb [2021-10-19T08:48:36.203Z] $ docker rm -f 8a0522b63f8df8ee8869046177854567df3301e4d9a3940db83bc11cbfcc8afb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-19T08:48:38.315Z] provisioning config files... [2021-10-19T08:48:38.327Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/config1294124092839305293tmp [Pipeline] { [Pipeline] sh [2021-10-19T08:48:38.652Z] + set +x [2021-10-19T08:48:38.652Z] + curl -s https://codecov.io/bash [2021-10-19T08:48:38.652Z] + bash -s -- [2021-10-19T08:48:38.652Z] [2021-10-19T08:48:38.652Z] _____ _ [2021-10-19T08:48:38.652Z] / ____| | | [2021-10-19T08:48:38.652Z] | | ___ __| | ___ ___ _____ __ [2021-10-19T08:48:38.652Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-19T08:48:38.652Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-19T08:48:38.652Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-19T08:48:38.652Z] Bash-1.0.6 [2021-10-19T08:48:38.652Z] [2021-10-19T08:48:38.652Z] [2021-10-19T08:48:38.652Z] ==> git version 2.24.4 found [2021-10-19T08:48:38.652Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-19T08:48:38.652Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-19T08:48:38.652Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-19T08:48:38.652Z] ==> Jenkins CI detected. [2021-10-19T08:48:38.652Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1038 [2021-10-19T08:48:38.652Z] project root: . [2021-10-19T08:48:38.652Z] --> token set from env [2021-10-19T08:48:38.922Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-19T08:48:38.922Z] ==> Running gcov in . (disable via -X gcov) [2021-10-19T08:48:38.922Z] ==> Python coveragepy not found [2021-10-19T08:48:38.922Z] ==> Searching for coverage reports in: [2021-10-19T08:48:38.922Z] + . [2021-10-19T08:48:38.922Z] -> Found 1 reports [2021-10-19T08:48:38.922Z] ==> Detecting git/mercurial file structure [2021-10-19T08:48:38.922Z] ==> Reading reports [2021-10-19T08:48:38.922Z] + ./coverage.out bytes=126785 [2021-10-19T08:48:38.922Z] ==> Appending adjustments [2021-10-19T08:48:38.922Z] https://docs.codecov.io/docs/fixing-reports [2021-10-19T08:48:39.187Z] + Found adjustments [2021-10-19T08:48:39.187Z] ==> Gzipping contents [2021-10-19T08:48:39.187Z] 16K /tmp/codecov.TWU2Ng.gz [2021-10-19T08:48:39.187Z] ==> Uploading reports [2021-10-19T08:48:39.187Z] url: https://codecov.io [2021-10-19T08:48:39.187Z] query: branch=PR-1038&commit=f36ac54757568ccee03958244ffba92fc89a0741&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1038%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1038&job=&cmd_args= [2021-10-19T08:48:39.187Z] -> Pinging Codecov [2021-10-19T08:48:39.187Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1038&commit=f36ac54757568ccee03958244ffba92fc89a0741&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1038%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1038&job=&cmd_args= [2021-10-19T08:48:39.454Z] -> Uploading to [2021-10-19T08:48:39.454Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-19/7E55EF52A471D76F132DFD9A03CDDE97/f36ac54757568ccee03958244ffba92fc89a0741/2d403122-08a0-4f78-9080-ee93ac4c0d27.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211019T084839Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2fa10680897f91ab80664f75ac421a165c68fc85572594c326c217b615c106ac [2021-10-19T08:48:39.454Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-19T08:48:39.454Z] Dload Upload Total Spent Left Speed [2021-10-19T08:48:39.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16175 0 0 100 16175 0 47601 --:--:-- --:--:-- --:--:-- 47573 [2021-10-19T08:48:39.715Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f36ac54757568ccee03958244ffba92fc89a0741 [Pipeline] } [2021-10-19T08:48:39.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-19T08:48:43.336Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1038/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:48:43.671Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:48:44.272Z] ---> package-listing.sh [2021-10-19T08:48:44.272Z] ++ facter osfamily [2021-10-19T08:48:44.272Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-19T08:48:44.538Z] + OS_FAMILY=redhat [2021-10-19T08:48:44.538Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1038 [2021-10-19T08:48:44.538Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-19T08:48:44.538Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-19T08:48:44.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-19T08:48:44.538Z] + PACKAGES=/tmp/packages_start.txt [2021-10-19T08:48:44.538Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1038 ']' [2021-10-19T08:48:44.538Z] + PACKAGES=/tmp/packages_end.txt [2021-10-19T08:48:44.538Z] + case "${OS_FAMILY}" in [2021-10-19T08:48:44.538Z] + sort [2021-10-19T08:48:44.538Z] + rpm -qa [2021-10-19T08:48:45.113Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-19T08:48:45.113Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-19T08:48:45.113Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-19T08:48:45.374Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1038 ']' [2021-10-19T08:48:45.374Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1038/archives/ [2021-10-19T08:48:45.374Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1038/archives/ [Pipeline] echo [2021-10-19T08:48:45.401Z] 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_PR-1038/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-19T08:48:45.709Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:48:46.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T08:48:46.304Z] [2021-10-19T08:48:46.304Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T08:48:46.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T08:48:46.656Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-19T08:48:46.656Z] b4d181a07f80: Pulling fs layer [2021-10-19T08:48:46.656Z] a1111a8f2ec3: Pulling fs layer [2021-10-19T08:48:46.656Z] ed53099fbce6: Pulling fs layer [2021-10-19T08:48:46.656Z] dc539afda2c1: Pulling fs layer [2021-10-19T08:48:46.656Z] 77bc0d833cb6: Pulling fs layer [2021-10-19T08:48:46.656Z] 9065ff56babe: Pulling fs layer [2021-10-19T08:48:46.656Z] d287ab97295c: Pulling fs layer [2021-10-19T08:48:46.656Z] dc539afda2c1: Waiting [2021-10-19T08:48:46.656Z] 77bc0d833cb6: Waiting [2021-10-19T08:48:46.656Z] 9065ff56babe: Waiting [2021-10-19T08:48:46.656Z] d287ab97295c: Waiting [2021-10-19T08:48:46.656Z] a1111a8f2ec3: Verifying Checksum [2021-10-19T08:48:46.656Z] a1111a8f2ec3: Download complete [2021-10-19T08:48:46.656Z] dc539afda2c1: Verifying Checksum [2021-10-19T08:48:46.656Z] dc539afda2c1: Download complete [2021-10-19T08:48:46.923Z] ed53099fbce6: Verifying Checksum [2021-10-19T08:48:46.923Z] ed53099fbce6: Download complete [2021-10-19T08:48:46.923Z] 9065ff56babe: Verifying Checksum [2021-10-19T08:48:46.923Z] 9065ff56babe: Download complete [2021-10-19T08:48:46.923Z] 77bc0d833cb6: Verifying Checksum [2021-10-19T08:48:46.923Z] 77bc0d833cb6: Download complete [2021-10-19T08:48:46.923Z] b4d181a07f80: Verifying Checksum [2021-10-19T08:48:46.923Z] b4d181a07f80: Download complete [2021-10-19T08:48:47.510Z] d287ab97295c: Verifying Checksum [2021-10-19T08:48:47.510Z] d287ab97295c: Download complete [2021-10-19T08:48:48.458Z] b4d181a07f80: Pull complete [2021-10-19T08:48:48.458Z] a1111a8f2ec3: Pull complete [2021-10-19T08:48:49.031Z] ed53099fbce6: Pull complete [2021-10-19T08:48:49.031Z] dc539afda2c1: Pull complete [2021-10-19T08:48:49.602Z] 77bc0d833cb6: Pull complete [2021-10-19T08:48:49.602Z] 9065ff56babe: Pull complete [2021-10-19T08:48:54.979Z] d287ab97295c: Pull complete [2021-10-19T08:48:54.979Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-19T08:48:54.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T08:48:54.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-19T08:48:55.061Z] prd-centos7-docker-4c-2g-2433 does not seem to be running inside a container [2021-10-19T08:48:55.099Z] $ 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_PR-1038/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_PR-1038 -v /w/workspace/gexfoundry_device-sdk-go_PR-1038:/w/workspace/gexfoundry_device-sdk-go_PR-1038:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-19T08:48:57.797Z] $ docker top 4e0a943347f6dab6dd2233eaa93f6af271f38a5edeee30bb85e9240af17993a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-19T08:48:58.201Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-19T08:48:58.518Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-19T08:48:58.824Z] + ls /var/log/sa-host [2021-10-19T08:48:58.824Z] + sadf -c /var/log/sa-host/sa19 [2021-10-19T08:48:58.824Z] file_magic: OK [2021-10-19T08:48:58.824Z] HZ: Using current value: 100 [2021-10-19T08:48:58.824Z] file_header: OK [2021-10-19T08:48:58.824Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-19T08:48:58.824Z] Statistics: [2021-10-19T08:48:58.825Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-19T08:48:58.825Z] File successfully converted to sysstat format version 12.0.3 [2021-10-19T08:48:58.825Z] + sadf -c /var/log/sa-host/sa30 [2021-10-19T08:48:58.825Z] file_magic: OK [2021-10-19T08:48:58.825Z] HZ: Using current value: 100 [2021-10-19T08:48:58.825Z] file_header: OK [2021-10-19T08:48:58.825Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-19T08:48:58.825Z] Statistics: [2021-10-19T08:48:58.825Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-19T08:48:58.825Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-19T08:49:00.124Z] provisioning config files... [2021-10-19T08:49:00.133Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/config4460217750808807778tmp [Pipeline] { [Pipeline] echo [2021-10-19T08:49:00.176Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:49:00.489Z] ---> create-netrc.sh [Pipeline] } [2021-10-19T08:49:00.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:49:00.912Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-19T08:49:00.936Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:49:01.257Z] ---> sudo-logs.sh [2021-10-19T08:49:01.257Z] Archiving 'sudo' log.. [2021-10-19T08:49:01.257Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2433.novalocal: Name or service not known [2021-10-19T08:49:01.257Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2433.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-19T08:49:01.318Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:49:02.676Z] ---> job-cost.sh [2021-10-19T08:49:02.676Z] lf-activate-venv: SKIPPING [2021-10-19T08:49:02.676Z] DEBUG: total: 0.10999999940395355 [2021-10-19T08:49:02.676Z] INFO: Retrieving Stack Cost... [2021-10-19T08:49:02.683Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-19T08:49:02.683Z] INFO: Archiving Costs [Pipeline] echo [2021-10-19T08:49:02.704Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T08:49:03.033Z] ---> logs-deploy.sh [2021-10-19T08:49:03.033Z] lf-activate-venv: SKIPPING [2021-10-19T08:49:03.033Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1038/1 [2021-10-19T08:49:03.033Z] INFO: archiving workspace using pattern(s): [2021-10-19T08:49:03.602Z] Archives upload complete. [2021-10-19T08:49:03.869Z] INFO: archiving logs to Nexus