Pull request #1051 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb+6aaea41e142bdf99866ea5b9b70145e1b0b11551 (d11ab83b606ff8bf7651b9fea503f8a68d2c0c9b) 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-ssh1286966567682988131.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh8691077264964891895.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-1051/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-1051/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6827817176530395100.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-1051/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9145140085821219182.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh4348511064488479738.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-1051/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-1051/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4936196716435744440.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13727 in /w/workspace/gexfoundry_device-sdk-go_PR-1051 [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-1051 # 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-1051@tmp/jenkins-gitclient-ssh4932798230906434883.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-1051@tmp/jenkins-gitclient-ssh7522436114282155985.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1051/head:refs/remotes/origin/PR-1051 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6aaea41e142bdf99866ea5b9b70145e1b0b11551 into PR head commit 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb Merge succeeded, producing c2102fbeee554c8b6ff10d975464dd52f8902c21 Checking out Revision c2102fbeee554c8b6ff10d975464dd52f8902c21 (PR-1051) > git config core.sparsecheckout # timeout=10 > git checkout -f 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb # 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-1051@tmp/jenkins-gitclient-ssh3889273945887540985.key > git merge 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2102fbeee554c8b6ff10d975464dd52f8902c21 # timeout=10 Commit message: "Merge commit '6aaea41e142bdf99866ea5b9b70145e1b0b11551' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-01T18:09:19.341Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-01T18:09:19.469Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-01T18:09:19.549Z] ========================================================= [2021-11-01T18:09:19.549Z] EdgeX Global Pipelines Version Info [2021-11-01T18:09:19.549Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:09:20.751Z] ------------------- [2021-11-01T18:09:20.751Z] stable info: [2021-11-01T18:09:20.751Z] ------------------- [2021-11-01T18:09:20.751Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-01T18:09:20.751Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T18:09:20.751Z] Message: update stable to v1.0.211 [2021-11-01T18:09:21.350Z] ------------------- [2021-11-01T18:09:21.350Z] experimental info: [2021-11-01T18:09:21.350Z] ------------------- [2021-11-01T18:09:21.350Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-01T18:09:21.350Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T18:09:21.350Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-01T18:09:21.512Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-01T18:09:21.550Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-01T18:09:21.588Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-01T18:09:21.627Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-01T18:09:21.665Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-01T18:09:21.707Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-01T18:09:21.743Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-01T18:09:21.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-01T18:09:21.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-01T18:09:21.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-01T18:09:21.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-01T18:09:21.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-01T18:09:21.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-01T18:09:22.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-01T18:09:22.037Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T18:09:22.067Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T18:09:22.101Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T18:09:22.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T18:09:22.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-01T18:09:22.215Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-01T18:09:22.253Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-01T18:09:22.289Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-01T18:09:22.331Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-01T18:09:22.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-01T18:09:22.405Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-01T18:09:22.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-01T18:09:22.494Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1051 [Pipeline] echo [2021-11-01T18:09:22.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1051 [Pipeline] echo [2021-11-01T18:09:22.577Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1051 [Pipeline] echo [2021-11-01T18:09:22.614Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] echo [2021-11-01T18:09:22.648Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2102fb [Pipeline] echo [2021-11-01T18:09:22.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T18:09:22.783Z] provisioning config files... [2021-11-01T18:09:22.798Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/config5639776291966434305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:09:23.155Z] ---> docker-login.sh [2021-11-01T18:09:23.155Z] nexus3.edgexfoundry.org:10001 [2021-11-01T18:09:23.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:09:23.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:09:23.418Z] Configure a credential helper to remove this warning. See [2021-11-01T18:09:23.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:09:23.418Z] [2021-11-01T18:09:23.418Z] Login Succeeded [2021-11-01T18:09:23.418Z] nexus3.edgexfoundry.org:10002 [2021-11-01T18:09:23.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:09:23.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:09:23.418Z] Configure a credential helper to remove this warning. See [2021-11-01T18:09:23.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:09:23.418Z] [2021-11-01T18:09:23.418Z] Login Succeeded [2021-11-01T18:09:23.418Z] nexus3.edgexfoundry.org:10003 [2021-11-01T18:09:23.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:09:23.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:09:23.680Z] Configure a credential helper to remove this warning. See [2021-11-01T18:09:23.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:09:23.680Z] [2021-11-01T18:09:23.680Z] Login Succeeded [2021-11-01T18:09:23.680Z] nexus3.edgexfoundry.org:10004 [2021-11-01T18:09:23.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:09:23.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:09:23.680Z] Configure a credential helper to remove this warning. See [2021-11-01T18:09:23.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:09:23.680Z] [2021-11-01T18:09:23.680Z] Login Succeeded [2021-11-01T18:09:23.680Z] docker.io [2021-11-01T18:09:23.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:09:24.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:09:24.208Z] Configure a credential helper to remove this warning. See [2021-11-01T18:09:24.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:09:24.208Z] [2021-11-01T18:09:24.208Z] Login Succeeded [2021-11-01T18:09:24.208Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T18:09:24.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-01T18:09:24.787Z] + git rev-list -1 --merges c2102fbeee554c8b6ff10d975464dd52f8902c21~1..c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] echo [2021-11-01T18:09:24.845Z] -----------> git rev-list -1 --merges c2102fbeee554c8b6ff10d975464dd52f8902c21~1..c2102fbeee554c8b6ff10d975464dd52f8902c21 c2102fbeee554c8b6ff10d975464dd52f8902c21 [2021-11-01T18:09:24.845Z] c2102fbeee554c8b6ff10d975464dd52f8902c21 [false] [Pipeline] sh [2021-11-01T18:09:25.161Z] + git log --format=format:%s -1 c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] echo [2021-11-01T18:09:25.193Z] ========================================================= [2021-11-01T18:09:25.193Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-01T18:09:25.193Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T18:09:25.594Z] + git log --format=format:%s -1 c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] echo [2021-11-01T18:09:25.631Z] [semverPrep] GIT_COMMIT: c2102fbeee554c8b6ff10d975464dd52f8902c21, Commit Message: Merge commit '6aaea41e142bdf99866ea5b9b70145e1b0b11551' into HEAD [Pipeline] echo [2021-11-01T18:09:25.658Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:09:26.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T18:09:26.145Z] [2021-11-01T18:09:26.145Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:09:26.481Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T18:09:26.481Z] latest: Pulling from edgex-devops/git-semver [2021-11-01T18:09:26.481Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T18:09:26.481Z] 3e5f54012d9b: Pulling fs layer [2021-11-01T18:09:26.481Z] 4c7163046ea9: Pulling fs layer [2021-11-01T18:09:26.481Z] 0c2d73faf560: Pulling fs layer [2021-11-01T18:09:26.481Z] 0c2d73faf560: Waiting [2021-11-01T18:09:26.481Z] 3e5f54012d9b: Verifying Checksum [2021-11-01T18:09:26.481Z] 3e5f54012d9b: Download complete [2021-11-01T18:09:26.481Z] a0d0a0d46f8b: Download complete [2021-11-01T18:09:26.481Z] 4c7163046ea9: Verifying Checksum [2021-11-01T18:09:26.481Z] 4c7163046ea9: Download complete [2021-11-01T18:09:26.742Z] 0c2d73faf560: Verifying Checksum [2021-11-01T18:09:26.742Z] 0c2d73faf560: Download complete [2021-11-01T18:09:26.742Z] a0d0a0d46f8b: Pull complete [2021-11-01T18:09:26.742Z] 3e5f54012d9b: Pull complete [2021-11-01T18:09:27.317Z] 4c7163046ea9: Pull complete [2021-11-01T18:09:27.317Z] 0c2d73faf560: Pull complete [2021-11-01T18:09:27.317Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-01T18:09:27.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T18:09:27.317Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-01T18:09:27.406Z] prd-centos7-docker-4c-2g-13727 does not seem to be running inside a container [2021-11-01T18:09:27.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1051 -v /w/workspace/gexfoundry_device-sdk-go_PR-1051:/w/workspace/gexfoundry_device-sdk-go_PR-1051:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1051@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-11-01T18:09:28.196Z] $ docker top 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T18:09:28.374Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T18:09:28.374Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T18:09:28.503Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T18:09:28.508Z] $ docker exec 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 ssh-agent [2021-11-01T18:09:28.622Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXggKEkO/agent.14 [2021-11-01T18:09:28.622Z] SSH_AGENT_PID=20 [2021-11-01T18:09:28.631Z] Running ssh-add (command line suppressed) [2021-11-01T18:09:28.732Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/private_key_5147332959954181436.key (/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/private_key_5147332959954181436.key) [2021-11-01T18:09:28.745Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T18:09:29.075Z] + git tag --points-at HEAD [Pipeline] } [2021-11-01T18:09:29.094Z] $ docker exec --env ******** --env ******** 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 ssh-agent -k [2021-11-01T18:09:29.199Z] unset SSH_AUTH_SOCK; [2021-11-01T18:09:29.199Z] unset SSH_AGENT_PID; [2021-11-01T18:09:29.200Z] echo Agent pid 20 killed; [2021-11-01T18:09:29.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-01T18:09:29.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T18:09:29.280Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T18:09:29.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T18:09:29.416Z] $ docker exec 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 ssh-agent [2021-11-01T18:09:29.521Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKFLdio/agent.56 [2021-11-01T18:09:29.521Z] SSH_AGENT_PID=63 [2021-11-01T18:09:29.527Z] Running ssh-add (command line suppressed) [2021-11-01T18:09:29.629Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/private_key_3773029355800121778.key (/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/private_key_3773029355800121778.key) [2021-11-01T18:09:29.640Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T18:09:29.958Z] + git semver init [2021-11-01T18:09:29.958Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T18:09:29.958Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1051/.git [2021-11-01T18:09:29.958Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1051 [2021-11-01T18:09:29.958Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T18:09:29.958Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T18:09:29.958Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T18:09:29.958Z] # $SEMVER_BRANCH = PR-1051 [2021-11-01T18:09:29.958Z] # $SEMVER_TEMP = /tmp/semver-165627763 [2021-11-01T18:09:29.958Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-01T18:09:30.901Z] # '/tmp/semver-165627763' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1051/.semver' [2021-11-01T18:09:30.901Z] # -> Force: false [2021-11-01T18:09:30.901Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1051/.semver [Pipeline] } [2021-11-01T18:09:30.919Z] $ docker exec --env ******** --env ******** 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 ssh-agent -k [2021-11-01T18:09:31.036Z] unset SSH_AUTH_SOCK; [2021-11-01T18:09:31.036Z] unset SSH_AGENT_PID; [2021-11-01T18:09:31.036Z] echo Agent pid 63 killed; [2021-11-01T18:09:31.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T18:09:31.433Z] + git semver [Pipeline] } [2021-11-01T18:09:31.458Z] $ docker stop --time=1 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 [2021-11-01T18:09:32.710Z] $ docker rm -f 58865256b86e081ac56df3803ff9dded08bc02c37b05e0b88eb5c21d239172a0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T18:09:33.106Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-01T18:09:33.395Z] Stashed 1 file(s) [Pipeline] echo [2021-11-01T18:09:33.411Z] [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-11-01T18:09:48.834Z] Still waiting to schedule task [2021-11-01T18:09:48.834Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-01T18:09:48.857Z] Still waiting to schedule task [2021-11-01T18:09:48.858Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-01T18:12:01.590Z] Running on prd-centos7-docker-4c-2g-13728 in /w/workspace/gexfoundry_device-sdk-go_PR-1051 [Pipeline] { [Pipeline] ws [2021-11-01T18:12:01.629Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-01T18:12:01.779Z] Selected Git installation does not exist. Using Default [2021-11-01T18:12:01.779Z] The recommended git tool is: NONE [2021-11-01T18:12:03.754Z] using credential edgex-jenkins-ssh [2021-11-01T18:12:03.794Z] Cloning the remote Git repository [2021-11-01T18:12:02.951Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T18:12:03.019Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-01T18:12:03.070Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T18:12:03.070Z] > git --version # timeout=10 [2021-11-01T18:12:03.084Z] > git --version # 'git version 2.24.4' [2021-11-01T18:12:03.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T18:12:03.110Z] [INFO] Currently running in a labeled security context [2021-11-01T18:12:03.111Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T18:12:03.111Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2470470461045276400.key [2021-11-01T18:12:03.130Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T18:12:03.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-01T18:12:03.964Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T18:12:03.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-01T18:12:03.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T18:12:03.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T18:12:03.987Z] [INFO] Currently running in a labeled security context [2021-11-01T18:12:03.987Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T18:12:03.987Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7322860376687744613.key [2021-11-01T18:12:03.992Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1051/head:refs/remotes/origin/PR-1051 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-01T18:12:05.583Z] Merging remotes/origin/main commit 6aaea41e142bdf99866ea5b9b70145e1b0b11551 into PR head commit 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb [2021-11-01T18:12:05.674Z] Merge succeeded, producing cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 [2021-11-01T18:12:05.675Z] Checking out Revision cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 (PR-1051) [2021-11-01T18:12:04.725Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T18:12:04.734Z] > git checkout -f 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb # timeout=10 [2021-11-01T18:12:04.762Z] > git remote # timeout=10 [2021-11-01T18:12:04.766Z] > git config --get remote.origin.url # timeout=10 [2021-11-01T18:12:04.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T18:12:04.775Z] [INFO] Currently running in a labeled security context [2021-11-01T18:12:04.775Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T18:12:04.775Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4725512197705820256.key [2021-11-01T18:12:04.780Z] > git merge 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 [2021-11-01T18:12:04.799Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-01T18:12:04.812Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T18:12:04.818Z] > git checkout -f cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 # timeout=10 [2021-11-01T18:12:09.206Z] Commit message: "Merge commit '6aaea41e142bdf99866ea5b9b70145e1b0b11551' into HEAD" [2021-11-01T18:12:09.206Z] First time build. Skipping changelog. [2021-11-01T18:12:08.367Z] > git --version # timeout=10 [2021-11-01T18:12:08.372Z] > git --version # 'git version 2.24.4' [2021-11-01T18:12:08.381Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T18:12:09.843Z] provisioning config files... [2021-11-01T18:12:09.860Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3934955386824818515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:12:10.296Z] ---> docker-login.sh [2021-11-01T18:12:10.296Z] nexus3.edgexfoundry.org:10001 [2021-11-01T18:12:10.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:12:10.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:12:10.296Z] Configure a credential helper to remove this warning. See [2021-11-01T18:12:10.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:12:10.296Z] [2021-11-01T18:12:10.296Z] Login Succeeded [2021-11-01T18:12:10.296Z] nexus3.edgexfoundry.org:10002 [2021-11-01T18:12:10.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:12:10.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:12:10.559Z] Configure a credential helper to remove this warning. See [2021-11-01T18:12:10.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:12:10.559Z] [2021-11-01T18:12:10.559Z] Login Succeeded [2021-11-01T18:12:10.559Z] nexus3.edgexfoundry.org:10003 [2021-11-01T18:12:10.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:12:10.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:12:10.559Z] Configure a credential helper to remove this warning. See [2021-11-01T18:12:10.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:12:10.559Z] [2021-11-01T18:12:10.559Z] Login Succeeded [2021-11-01T18:12:10.559Z] nexus3.edgexfoundry.org:10004 [2021-11-01T18:12:10.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:12:10.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:12:10.822Z] Configure a credential helper to remove this warning. See [2021-11-01T18:12:10.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:12:10.822Z] [2021-11-01T18:12:10.822Z] Login Succeeded [2021-11-01T18:12:10.822Z] docker.io [2021-11-01T18:12:10.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:12:11.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:12:11.083Z] Configure a credential helper to remove this warning. See [2021-11-01T18:12:11.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:12:11.083Z] [2021-11-01T18:12:11.083Z] Login Succeeded [2021-11-01T18:12:11.083Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T18:12:11.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T18:12:11.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T18:12:11.374Z] ========================================================= [2021-11-01T18:12:11.374Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-01T18:12:11.374Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:12:11.775Z] + 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-11-01T18:12:11.775Z] Sending build context to Docker daemon 2.742MB [2021-11-01T18:12:11.775Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T18:12:11.775Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-01T18:12:11.775Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-01T18:12:11.775Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T18:12:11.775Z] 31adcdaf11c8: Pulling fs layer [2021-11-01T18:12:11.775Z] b8b176561691: Pulling fs layer [2021-11-01T18:12:11.775Z] 4527c011a84f: Pulling fs layer [2021-11-01T18:12:11.775Z] 5d74067f8e1e: Pulling fs layer [2021-11-01T18:12:11.775Z] e0aca202a116: Pulling fs layer [2021-11-01T18:12:11.775Z] 3a43be97a3b4: Pulling fs layer [2021-11-01T18:12:11.775Z] 34cad66bf833: Pulling fs layer [2021-11-01T18:12:11.775Z] b4e3c513aaa6: Pulling fs layer [2021-11-01T18:12:11.775Z] 4527c011a84f: Waiting [2021-11-01T18:12:11.775Z] 5d74067f8e1e: Waiting [2021-11-01T18:12:11.775Z] e0aca202a116: Waiting [2021-11-01T18:12:11.775Z] 3a43be97a3b4: Waiting [2021-11-01T18:12:11.775Z] 34cad66bf833: Waiting [2021-11-01T18:12:11.775Z] b4e3c513aaa6: Waiting [2021-11-01T18:12:11.775Z] b8b176561691: Verifying Checksum [2021-11-01T18:12:11.775Z] b8b176561691: Download complete [2021-11-01T18:12:11.775Z] 31adcdaf11c8: Download complete [2021-11-01T18:12:11.775Z] 5d74067f8e1e: Verifying Checksum [2021-11-01T18:12:11.775Z] 5d74067f8e1e: Download complete [2021-11-01T18:12:11.775Z] e0aca202a116: Verifying Checksum [2021-11-01T18:12:11.775Z] e0aca202a116: Download complete [2021-11-01T18:12:11.775Z] 3a43be97a3b4: Verifying Checksum [2021-11-01T18:12:11.775Z] 3a43be97a3b4: Download complete [2021-11-01T18:12:12.050Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T18:12:12.050Z] a0d0a0d46f8b: Download complete [2021-11-01T18:12:12.050Z] 34cad66bf833: Verifying Checksum [2021-11-01T18:12:12.050Z] 34cad66bf833: Download complete [2021-11-01T18:12:12.319Z] a0d0a0d46f8b: Pull complete [2021-11-01T18:12:12.591Z] 4527c011a84f: Verifying Checksum [2021-11-01T18:12:12.591Z] 4527c011a84f: Download complete [2021-11-01T18:12:12.591Z] b4e3c513aaa6: Verifying Checksum [2021-11-01T18:12:12.591Z] b4e3c513aaa6: Download complete [2021-11-01T18:12:12.591Z] 31adcdaf11c8: Pull complete [2021-11-01T18:12:12.591Z] b8b176561691: Pull complete [2021-11-01T18:12:16.848Z] 4527c011a84f: Pull complete [2021-11-01T18:12:16.848Z] 5d74067f8e1e: Pull complete [2021-11-01T18:12:16.848Z] e0aca202a116: Pull complete [2021-11-01T18:12:17.109Z] 3a43be97a3b4: Pull complete [2021-11-01T18:12:17.109Z] 34cad66bf833: Pull complete [2021-11-01T18:12:19.664Z] b4e3c513aaa6: Pull complete [2021-11-01T18:12:19.664Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-01T18:12:19.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T18:12:19.664Z] ---> 9f6097aaca64 [2021-11-01T18:12:19.664Z] Step 3/10 : ARG MAKE=make build [2021-11-01T18:12:21.586Z] ---> Running in 374f5f3e21f6 [2021-11-01T18:12:21.586Z] Removing intermediate container 374f5f3e21f6 [2021-11-01T18:12:21.586Z] ---> 05b64ef5259c [2021-11-01T18:12:21.586Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-01T18:12:21.586Z] ---> Running in d851db3057c5 [2021-11-01T18:12:21.586Z] Removing intermediate container d851db3057c5 [2021-11-01T18:12:21.586Z] ---> f642fd4013bc [2021-11-01T18:12:21.586Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T18:12:21.586Z] ---> Running in f0735d865b3a [2021-11-01T18:12:21.586Z] Removing intermediate container f0735d865b3a [2021-11-01T18:12:21.586Z] ---> bb32e58e7166 [2021-11-01T18:12:21.586Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T18:12:21.586Z] ---> Running in 245f46313780 [2021-11-01T18:12:22.166Z] Removing intermediate container 245f46313780 [2021-11-01T18:12:22.166Z] ---> 6278842f7314 [2021-11-01T18:12:22.166Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T18:12:22.166Z] ---> Running in 8ef865e5f525 [2021-11-01T18:12:22.430Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T18:12:23.376Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T18:12:23.638Z] OK: 220 MiB in 52 packages [2021-11-01T18:12:23.899Z] Removing intermediate container 8ef865e5f525 [2021-11-01T18:12:23.899Z] ---> dd31a58d3a37 [2021-11-01T18:12:23.899Z] Step 8/10 : COPY . . [2021-11-01T18:12:24.173Z] ---> 9d25f440665f [2021-11-01T18:12:24.173Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T18:12:24.173Z] ---> Running in 2a1a29714e94 [2021-11-01T18:12:56.359Z] Removing intermediate container 2a1a29714e94 [2021-11-01T18:12:56.359Z] ---> 881462108f7e [2021-11-01T18:12:56.359Z] Step 10/10 : RUN ${MAKE} [2021-11-01T18:12:56.359Z] ---> Running in fafa01f27ade [2021-11-01T18:12:56.359Z] noop [2021-11-01T18:12:56.359Z] Removing intermediate container fafa01f27ade [2021-11-01T18:12:56.359Z] ---> 442b16195a50 [2021-11-01T18:12:56.359Z] Successfully built 442b16195a50 [2021-11-01T18:12:56.359Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:12:56.688Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T18:12:56.688Z] . [Pipeline] withDockerContainer [2021-11-01T18:12:56.765Z] prd-centos7-docker-4c-2g-13728 does not seem to be running inside a container [2021-11-01T18:12:56.806Z] $ 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-x86_64 cat [2021-11-01T18:12:57.148Z] $ docker top ca72b3283ac6b39f6aaf4b405bd5cfea9c08c6ba19e957dfb2af61745f80ae99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T18:12:57.536Z] + go version [2021-11-01T18:12:57.536Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-01T18:12:57.569Z] $ docker stop --time=1 ca72b3283ac6b39f6aaf4b405bd5cfea9c08c6ba19e957dfb2af61745f80ae99 [2021-11-01T18:12:58.734Z] $ docker rm -f ca72b3283ac6b39f6aaf4b405bd5cfea9c08c6ba19e957dfb2af61745f80ae99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:12:59.405Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T18:12:59.405Z] . [Pipeline] withDockerContainer [2021-11-01T18:12:59.485Z] prd-centos7-docker-4c-2g-13728 does not seem to be running inside a container [2021-11-01T18:12:59.532Z] $ 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-x86_64 cat [2021-11-01T18:12:59.887Z] $ docker top fde3312faa727bd872dcf3e2064242b1b0012d028010059b7bf2a88643bfbeac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T18:13:00.315Z] + make test [2021-11-01T18:13:00.315Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-01T18:13:05.657Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-01T18:13:16.741Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13729 in /w/workspace/gexfoundry_device-sdk-go_PR-1051 [Pipeline] { [Pipeline] ws [2021-11-01T18:13:16.781Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-01T18:13:17.143Z] Selected Git installation does not exist. Using Default [2021-11-01T18:13:17.143Z] The recommended git tool is: NONE [2021-11-01T18:13:23.370Z] using credential edgex-jenkins-ssh [2021-11-01T18:13:23.389Z] Cloning the remote Git repository [2021-11-01T18:13:23.453Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T18:13:23.549Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-01T18:13:23.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T18:13:23.633Z] > git --version # timeout=10 [2021-11-01T18:13:23.656Z] > git --version # 'git version 2.17.1' [2021-11-01T18:13:23.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T18:13:23.751Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T18:13:25.822Z] Merging remotes/origin/main commit 6aaea41e142bdf99866ea5b9b70145e1b0b11551 into PR head commit 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb [2021-11-01T18:13:26.086Z] Merge succeeded, producing e2a54f31f22f26975e469fb3aea0b9f705eb00a4 [2021-11-01T18:13:26.086Z] Checking out Revision e2a54f31f22f26975e469fb3aea0b9f705eb00a4 (PR-1051) [2021-11-01T18:13:25.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-01T18:13:25.049Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T18:13:25.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-01T18:13:25.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T18:13:25.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T18:13:25.121Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1051/head:refs/remotes/origin/PR-1051 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-01T18:13:25.842Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T18:13:25.867Z] > git checkout -f 62dfe26c11e9fbf6ee525d6dab334d0be266b2bb # timeout=10 [2021-11-01T18:13:25.967Z] > git remote # timeout=10 [2021-11-01T18:13:25.984Z] > git config --get remote.origin.url # timeout=10 [2021-11-01T18:13:26.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T18:13:26.018Z] > git merge 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 [2021-11-01T18:13:26.071Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-01T18:13:26.093Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T18:13:26.112Z] > git checkout -f e2a54f31f22f26975e469fb3aea0b9f705eb00a4 # timeout=10 [2021-11-01T18:13:27.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-01T18:13:27.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-01T18:13:27.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-01T18:13:29.728Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 23.8% of statements [2021-11-01T18:13:29.728Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-01T18:13:29.728Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-11-01T18:13:30.001Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements [2021-11-01T18:13:30.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.035s coverage: 9.0% of statements [2021-11-01T18:13:30.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-01T18:13:30.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-01T18:13:30.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-01T18:13:30.351Z] Commit message: "Merge commit '6aaea41e142bdf99866ea5b9b70145e1b0b11551' into HEAD" [2021-11-01T18:13:30.351Z] First time build. Skipping changelog. [2021-11-01T18:13:30.409Z] > git --version # timeout=10 [2021-11-01T18:13:30.419Z] > git --version # 'git version 2.17.1' [2021-11-01T18:13:30.442Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T18:13:31.248Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements [2021-11-01T18:13:31.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-01T18:13:31.420Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-01T18:13:31.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T18:13:31.420Z] Dload Upload Total Spent Left Speed [2021-11-01T18:13:31.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 11824 65 7746 0 0 45564 0 --:--:-- --:--:-- --:--:-- 45298 100 11824 100 11824 0 0 68744 0 --:--:-- --:--:-- --:--:-- 68744 [Pipeline] sh [2021-11-01T18:13:31.825Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-01T18:13:32.180Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-01T18:13:32.180Z] + sudo tee /etc/docker/daemon.new [2021-11-01T18:13:32.180Z] { [2021-11-01T18:13:32.180Z] "registry-mirrors": [ [2021-11-01T18:13:32.180Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-01T18:13:32.180Z] ], [2021-11-01T18:13:32.180Z] "bip": "10.250.0.254/24", [2021-11-01T18:13:32.180Z] "hosts": [ [2021-11-01T18:13:32.180Z] "tcp://0.0.0.0:5555", [2021-11-01T18:13:32.180Z] "unix:///var/run/docker.sock" [2021-11-01T18:13:32.180Z] ], [2021-11-01T18:13:32.180Z] "mtu": 1458, [2021-11-01T18:13:32.180Z] "selinux-enabled": true, [2021-11-01T18:13:32.180Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-01T18:13:32.180Z] } [2021-11-01T18:13:32.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 83.3% of statements [2021-11-01T18:13:32.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-01T18:13:32.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-01T18:13:32.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements [Pipeline] sh [2021-11-01T18:13:32.548Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-01T18:13:32.909Z] + sudo service docker restart [2021-11-01T18:13:33.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.800s coverage: 88.8% of statements [2021-11-01T18:13:33.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-01T18:13:33.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.9% of statements [2021-11-01T18:13:33.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-01T18:13:33.405Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T18:13:51.295Z] provisioning config files... [2021-11-01T18:13:51.321Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2725084116139643536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:13:51.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T18:13:51.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T18:13:51.632Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T18:13:51.665Z] $ docker stop --time=1 fde3312faa727bd872dcf3e2064242b1b0012d028010059b7bf2a88643bfbeac [2021-11-01T18:13:51.819Z] ---> docker-login.sh [2021-11-01T18:13:51.819Z] nexus3.edgexfoundry.org:10001 [2021-11-01T18:13:52.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:13:53.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:13:53.078Z] Configure a credential helper to remove this warning. See [2021-11-01T18:13:53.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:13:53.078Z] [2021-11-01T18:13:53.078Z] Login Succeeded [2021-11-01T18:13:53.078Z] nexus3.edgexfoundry.org:10002 [2021-11-01T18:13:53.123Z] $ docker rm -f fde3312faa727bd872dcf3e2064242b1b0012d028010059b7bf2a88643bfbeac [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T18:13:53.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T18:13:53.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:13:53.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:13:53.679Z] Configure a credential helper to remove this warning. See [2021-11-01T18:13:53.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:13:53.679Z] [2021-11-01T18:13:53.679Z] Login Succeeded [2021-11-01T18:13:53.679Z] nexus3.edgexfoundry.org:10003 [2021-11-01T18:13:53.848Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-11-01T18:13:53.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-11-01T18:13:54.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:13:54.228Z] Configure a credential helper to remove this warning. See [2021-11-01T18:13:54.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:13:54.228Z] [2021-11-01T18:13:54.228Z] Login Succeeded [2021-11-01T18:13:54.228Z] nexus3.edgexfoundry.org:10004 [2021-11-01T18:13:54.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:13:54.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:13:54.829Z] Configure a credential helper to remove this warning. See [2021-11-01T18:13:54.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:13:54.829Z] [2021-11-01T18:13:54.829Z] Login Succeeded [2021-11-01T18:13:54.829Z] docker.io [Pipeline] sh [2021-11-01T18:13:55.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T18:13:55.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T18:13:55.581Z] + ls -al . [2021-11-01T18:13:55.582Z] total 260 [2021-11-01T18:13:55.582Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 1 18:13 . [2021-11-01T18:13:55.582Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 1 18:12 .. [2021-11-01T18:13:55.582Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 1 18:12 bin [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 1 18:12 CHANGELOG.md [2021-11-01T18:13:55.582Z] -rw-r--r--. 1 jenkins jenkins 126785 Nov 1 18:13 coverage.out [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 1 18:12 .dockerignore [2021-11-01T18:13:55.582Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 1 18:12 example [2021-11-01T18:13:55.582Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 1 18:12 .git [2021-11-01T18:13:55.582Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 1 18:12 .github [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 1 18:12 .gitignore [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 1 18:12 go.mod [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 1 18:12 go.sum [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 18:12 GOVERNANCE.md [2021-11-01T18:13:55.582Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 1 18:12 internal [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 1 18:12 Jenkinsfile [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 1 18:12 LICENSE [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 1 18:12 Makefile [2021-11-01T18:13:55.582Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 1 18:12 openapi [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 1 18:12 OWNERS.md [2021-11-01T18:13:55.582Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 1 18:12 pkg [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 1 18:12 README.md [2021-11-01T18:13:55.582Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 1 18:12 snap [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 1 18:09 VERSION [2021-11-01T18:13:55.582Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 1 18:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:13:55.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T18:13:55.695Z] Configure a credential helper to remove this warning. See [2021-11-01T18:13:55.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T18:13:55.695Z] [2021-11-01T18:13:55.695Z] Login Succeeded [2021-11-01T18:13:55.695Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T18:13:55.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-11-01T18:13:55.907Z] + 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=cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 --label arch=amd64 --label version=0.0.0 . [2021-11-01T18:13:55.907Z] Sending build context to Docker daemon 2.869MB [2021-11-01T18:13:55.907Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T18:13:55.907Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-01T18:13:55.907Z] ---> 442b16195a50 [2021-11-01T18:13:55.907Z] Step 3/24 : ARG MAKE=make build [2021-11-01T18:13:55.907Z] ---> Running in 7be1d4c92cf9 [2021-11-01T18:13:55.907Z] Removing intermediate container 7be1d4c92cf9 [2021-11-01T18:13:55.907Z] ---> b8e998ccafb6 [2021-11-01T18:13:55.907Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-01T18:13:56.166Z] ---> Running in 5ff1b432e00e [2021-11-01T18:13:56.166Z] Removing intermediate container 5ff1b432e00e [2021-11-01T18:13:56.166Z] ---> 6f931c25cf8e [2021-11-01T18:13:56.166Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T18:13:56.166Z] ---> Running in 1e3f226a6e1c [2021-11-01T18:13:56.166Z] Removing intermediate container 1e3f226a6e1c [2021-11-01T18:13:56.166Z] ---> 620dc00f2c3e [2021-11-01T18:13:56.166Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T18:13:56.166Z] ---> Running in 2594ff90f399 [Pipeline] echo [2021-11-01T18:13:56.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T18:13:56.263Z] ========================================================= [2021-11-01T18:13:56.263Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-01T18:13:56.263Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:13:56.715Z] + 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-11-01T18:13:56.735Z] Removing intermediate container 2594ff90f399 [2021-11-01T18:13:56.735Z] ---> b2e684c85059 [2021-11-01T18:13:56.735Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T18:13:56.735Z] ---> Running in ce8147f94967 [2021-11-01T18:13:56.996Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T18:13:57.313Z] Sending build context to Docker daemon 2.74MB [2021-11-01T18:13:57.314Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T18:13:57.314Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-01T18:13:57.314Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-01T18:13:57.314Z] 552d1f2373af: Pulling fs layer [2021-11-01T18:13:57.314Z] ea3f2d53f512: Pulling fs layer [2021-11-01T18:13:57.314Z] 9e70ebbbe112: Pulling fs layer [2021-11-01T18:13:57.314Z] 7a9cfe048b4a: Pulling fs layer [2021-11-01T18:13:57.314Z] 72dc09318566: Pulling fs layer [2021-11-01T18:13:57.314Z] f4f7b4309257: Pulling fs layer [2021-11-01T18:13:57.314Z] 0ac9a79272e3: Pulling fs layer [2021-11-01T18:13:57.314Z] b78e95d17946: Pulling fs layer [2021-11-01T18:13:57.314Z] 7a9cfe048b4a: Waiting [2021-11-01T18:13:57.314Z] 0ac9a79272e3: Waiting [2021-11-01T18:13:57.314Z] 72dc09318566: Waiting [2021-11-01T18:13:57.314Z] f4f7b4309257: Waiting [2021-11-01T18:13:57.314Z] b78e95d17946: Waiting [2021-11-01T18:13:57.314Z] 9e70ebbbe112: Verifying Checksum [2021-11-01T18:13:57.314Z] 9e70ebbbe112: Download complete [2021-11-01T18:13:57.314Z] ea3f2d53f512: Download complete [2021-11-01T18:13:57.314Z] 72dc09318566: Verifying Checksum [2021-11-01T18:13:57.314Z] 72dc09318566: Download complete [2021-11-01T18:13:57.597Z] f4f7b4309257: Verifying Checksum [2021-11-01T18:13:57.597Z] f4f7b4309257: Download complete [2021-11-01T18:13:57.597Z] 552d1f2373af: Verifying Checksum [2021-11-01T18:13:57.597Z] 552d1f2373af: Download complete [2021-11-01T18:13:57.597Z] 0ac9a79272e3: Verifying Checksum [2021-11-01T18:13:57.597Z] 0ac9a79272e3: Download complete [2021-11-01T18:13:57.945Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T18:13:58.193Z] 552d1f2373af: Pull complete [2021-11-01T18:13:58.213Z] OK: 220 MiB in 52 packages [2021-11-01T18:13:58.479Z] Removing intermediate container ce8147f94967 [2021-11-01T18:13:58.479Z] ---> 422aaaaea74a [2021-11-01T18:13:58.479Z] Step 8/24 : COPY . . [2021-11-01T18:13:58.744Z] ---> 051a32e14d1e [2021-11-01T18:13:58.744Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T18:13:58.744Z] ---> Running in 61178b2c6a3f [2021-11-01T18:13:58.793Z] ea3f2d53f512: Pull complete [2021-11-01T18:13:59.328Z] Removing intermediate container 61178b2c6a3f [2021-11-01T18:13:59.328Z] ---> 79e7c55c27e1 [2021-11-01T18:13:59.328Z] Step 10/24 : RUN ${MAKE} [2021-11-01T18:13:59.328Z] ---> Running in 1cf72ede9c52 [2021-11-01T18:13:59.393Z] 9e70ebbbe112: Pull complete [2021-11-01T18:13:59.393Z] b78e95d17946: Verifying Checksum [2021-11-01T18:13:59.393Z] b78e95d17946: Download complete [2021-11-01T18:13:59.591Z] 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-11-01T18:13:59.993Z] 7a9cfe048b4a: Verifying Checksum [2021-11-01T18:13:59.993Z] 7a9cfe048b4a: Download complete [2021-11-01T18:14:09.671Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-01T18:14:10.160Z] 7a9cfe048b4a: Pull complete [2021-11-01T18:14:10.436Z] 72dc09318566: Pull complete [2021-11-01T18:14:10.615Z] Removing intermediate container 1cf72ede9c52 [2021-11-01T18:14:10.616Z] ---> 27b1cf37a9bc [2021-11-01T18:14:10.616Z] Step 11/24 : FROM alpine:3.14 [2021-11-01T18:14:10.712Z] f4f7b4309257: Pull complete [2021-11-01T18:14:10.990Z] 0ac9a79272e3: Pull complete [2021-11-01T18:14:11.185Z] 3.14: Pulling from library/alpine [2021-11-01T18:14:11.444Z] a0d0a0d46f8b: Already exists [2021-11-01T18:14:11.708Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T18:14:11.708Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T18:14:11.708Z] ---> 14119a10abf4 [2021-11-01T18:14:11.708Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T18:14:11.708Z] ---> Running in a3ec30266f66 [2021-11-01T18:14:11.708Z] Removing intermediate container a3ec30266f66 [2021-11-01T18:14:11.708Z] ---> 901076dbc857 [2021-11-01T18:14:11.708Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T18:14:11.708Z] ---> Running in 9cec6c167272 [2021-11-01T18:14:12.280Z] Removing intermediate container 9cec6c167272 [2021-11-01T18:14:12.280Z] ---> 677118edcb3a [2021-11-01T18:14:12.280Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-01T18:14:12.280Z] ---> Running in bcd62bce1788 [2021-11-01T18:14:12.280Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T18:14:13.220Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T18:14:13.483Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T18:14:13.744Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-01T18:14:13.745Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T18:14:14.006Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-01T18:14:14.006Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-01T18:14:14.006Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T18:14:14.006Z] OK: 8 MiB in 19 packages [2021-11-01T18:14:14.273Z] Removing intermediate container bcd62bce1788 [2021-11-01T18:14:14.273Z] ---> 6ef90653ed97 [2021-11-01T18:14:14.273Z] Step 15/24 : WORKDIR / [2021-11-01T18:14:14.534Z] ---> Running in 43d16025754d [2021-11-01T18:14:14.534Z] Removing intermediate container 43d16025754d [2021-11-01T18:14:14.534Z] ---> ef3d05bd4f53 [2021-11-01T18:14:14.534Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-01T18:14:14.534Z] ---> 49cfb69fcfda [2021-11-01T18:14:14.534Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-01T18:14:15.104Z] ---> 4d41eb9fca55 [2021-11-01T18:14:15.104Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-01T18:14:15.104Z] ---> 289b5bc6b5ad [2021-11-01T18:14:15.104Z] Step 19/24 : EXPOSE 59999 [2021-11-01T18:14:15.104Z] ---> Running in 5aea061b4544 [2021-11-01T18:14:15.365Z] Removing intermediate container 5aea061b4544 [2021-11-01T18:14:15.365Z] ---> 47f2e82c7960 [2021-11-01T18:14:15.365Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-01T18:14:15.365Z] ---> Running in d242be144cb3 [2021-11-01T18:14:15.365Z] Removing intermediate container d242be144cb3 [2021-11-01T18:14:15.365Z] ---> cc6a80da2a27 [2021-11-01T18:14:15.365Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T18:14:15.365Z] ---> Running in 4c3b4cffcdf4 [2021-11-01T18:14:15.365Z] Removing intermediate container 4c3b4cffcdf4 [2021-11-01T18:14:15.365Z] ---> fae58eea2244 [2021-11-01T18:14:15.365Z] Step 22/24 : LABEL arch=amd64 [2021-11-01T18:14:15.365Z] ---> Running in d6b0aaa21afb [2021-11-01T18:14:15.628Z] Removing intermediate container d6b0aaa21afb [2021-11-01T18:14:15.628Z] ---> 287dd1e0f063 [2021-11-01T18:14:15.628Z] Step 23/24 : LABEL git_sha=cc9fc6607599a7f088c3cfa4759a4a6afe7ca745 [2021-11-01T18:14:15.628Z] ---> Running in 7490aab749a8 [2021-11-01T18:14:15.628Z] Removing intermediate container 7490aab749a8 [2021-11-01T18:14:15.628Z] ---> 6aea97e0edb5 [2021-11-01T18:14:15.628Z] Step 24/24 : LABEL version=0.0.0 [2021-11-01T18:14:15.628Z] ---> Running in 6359a8ca2757 [2021-11-01T18:14:15.628Z] Removing intermediate container 6359a8ca2757 [2021-11-01T18:14:15.628Z] ---> 9b3c7ecf3ac9 [2021-11-01T18:14:15.628Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T18:14:15.628Z] Successfully built 9b3c7ecf3ac9 [2021-11-01T18:14:15.889Z] 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-11-01T18:14:16.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T18:14:16.833Z] [2021-11-01T18:14:16.833Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:14:17.179Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T18:14:17.179Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T18:14:17.179Z] b4d181a07f80: Pulling fs layer [2021-11-01T18:14:17.179Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T18:14:17.179Z] ed53099fbce6: Pulling fs layer [2021-11-01T18:14:17.179Z] dc539afda2c1: Pulling fs layer [2021-11-01T18:14:17.179Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T18:14:17.179Z] 9065ff56babe: Pulling fs layer [2021-11-01T18:14:17.179Z] d287ab97295c: Pulling fs layer [2021-11-01T18:14:17.179Z] dc539afda2c1: Waiting [2021-11-01T18:14:17.179Z] 77bc0d833cb6: Waiting [2021-11-01T18:14:17.179Z] 9065ff56babe: Waiting [2021-11-01T18:14:17.179Z] d287ab97295c: Waiting [2021-11-01T18:14:17.179Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T18:14:17.179Z] a1111a8f2ec3: Download complete [2021-11-01T18:14:17.179Z] dc539afda2c1: Verifying Checksum [2021-11-01T18:14:17.179Z] dc539afda2c1: Download complete [2021-11-01T18:14:17.179Z] ed53099fbce6: Verifying Checksum [2021-11-01T18:14:17.179Z] ed53099fbce6: Download complete [2021-11-01T18:14:17.446Z] 9065ff56babe: Verifying Checksum [2021-11-01T18:14:17.447Z] 9065ff56babe: Download complete [2021-11-01T18:14:17.447Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T18:14:17.447Z] 77bc0d833cb6: Download complete [2021-11-01T18:14:17.447Z] b4d181a07f80: Verifying Checksum [2021-11-01T18:14:17.447Z] b4d181a07f80: Download complete [2021-11-01T18:14:17.724Z] b78e95d17946: Pull complete [2021-11-01T18:14:17.724Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-01T18:14:17.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T18:14:17.724Z] ---> 8b459fc5aaf0 [2021-11-01T18:14:17.724Z] Step 3/10 : ARG MAKE=make build [2021-11-01T18:14:18.024Z] d287ab97295c: Verifying Checksum [2021-11-01T18:14:18.024Z] d287ab97295c: Download complete [2021-11-01T18:14:18.984Z] b4d181a07f80: Pull complete [2021-11-01T18:14:18.984Z] a1111a8f2ec3: Pull complete [2021-11-01T18:14:19.161Z] ---> Running in fc8ae1d95509 [2021-11-01T18:14:19.161Z] Removing intermediate container fc8ae1d95509 [2021-11-01T18:14:19.161Z] ---> f0e3f04687ea [2021-11-01T18:14:19.161Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-01T18:14:19.434Z] ---> Running in 808978dcfdeb [2021-11-01T18:14:19.562Z] ed53099fbce6: Pull complete [2021-11-01T18:14:19.709Z] Removing intermediate container 808978dcfdeb [2021-11-01T18:14:19.709Z] ---> 0c46cb318ed0 [2021-11-01T18:14:19.709Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T18:14:19.825Z] dc539afda2c1: Pull complete [2021-11-01T18:14:19.985Z] ---> Running in da251d4934e2 [2021-11-01T18:14:20.086Z] 77bc0d833cb6: Pull complete [2021-11-01T18:14:20.086Z] 9065ff56babe: Pull complete [2021-11-01T18:14:20.260Z] Removing intermediate container da251d4934e2 [2021-11-01T18:14:20.260Z] ---> 0048bce9ff34 [2021-11-01T18:14:20.260Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T18:14:20.536Z] ---> Running in ccaac16d15e5 [2021-11-01T18:14:22.514Z] Removing intermediate container ccaac16d15e5 [2021-11-01T18:14:22.514Z] ---> b3aeff391683 [2021-11-01T18:14:22.514Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T18:14:22.786Z] ---> Running in 73b20b2632f8 [2021-11-01T18:14:23.764Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T18:14:24.739Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T18:14:25.401Z] d287ab97295c: Pull complete [2021-11-01T18:14:25.401Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T18:14:25.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T18:14:25.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T18:14:25.487Z] prd-centos7-docker-4c-2g-13728 does not seem to be running inside a container [2021-11-01T18:14:25.532Z] $ 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:latest cat [2021-11-01T18:14:25.718Z] OK: 219 MiB in 52 packages [2021-11-01T18:14:26.701Z] Removing intermediate container 73b20b2632f8 [2021-11-01T18:14:26.701Z] ---> d378c089cf6f [2021-11-01T18:14:26.701Z] Step 8/10 : COPY . . [2021-11-01T18:14:27.682Z] ---> e844766416f5 [2021-11-01T18:14:27.682Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T18:14:27.958Z] ---> Running in 23abbaaa1240 [2021-11-01T18:14:28.088Z] $ docker top 0fc001e12058fbcf7d26752252830c0c39f7c0564ab0c56fcd14fb9b9b5fbc1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:14:28.567Z] ---> job-cost.sh [2021-11-01T18:14:28.567Z] lf-activate-venv: SKIPPING [2021-11-01T18:14:28.567Z] INFO: No Stack... [2021-11-01T18:14:28.828Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T18:14:29.401Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T18:14:29.714Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-01T18:14:29.714Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T18:14:29.758Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [2021-11-01T18:14:29.763Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] did not exist. Created. [2021-11-01T18:14:29.764Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T18:14:30.140Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-01T18:14:30.198Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T18:14:30.211Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T18:14:30.275Z] $ docker stop --time=1 0fc001e12058fbcf7d26752252830c0c39f7c0564ab0c56fcd14fb9b9b5fbc1e [2021-11-01T18:14:31.402Z] $ docker rm -f 0fc001e12058fbcf7d26752252830c0c39f7c0564ab0c56fcd14fb9b9b5fbc1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-01T18:15:49.749Z] Removing intermediate container 23abbaaa1240 [2021-11-01T18:15:49.749Z] ---> c0fb455b559f [2021-11-01T18:15:49.749Z] Step 10/10 : RUN ${MAKE} [2021-11-01T18:15:49.749Z] ---> Running in 2947272b9865 [2021-11-01T18:15:49.749Z] noop [2021-11-01T18:15:49.749Z] Removing intermediate container 2947272b9865 [2021-11-01T18:15:49.749Z] ---> b27cf2176027 [2021-11-01T18:15:49.749Z] Successfully built b27cf2176027 [2021-11-01T18:15:49.749Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:15:50.121Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T18:15:50.121Z] . [Pipeline] withDockerContainer [2021-11-01T18:15:50.388Z] prd-ubuntu18.04-docker-arm64-4c-16g-13729 does not seem to be running inside a container [2021-11-01T18:15:50.470Z] $ 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-11-01T18:15:52.057Z] $ docker top 567f7629c41071bf4e4deedfb1342c0c26e5f4ba3ffcbe07b374a3f2d24a2149 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T18:15:53.067Z] + go version [2021-11-01T18:15:53.067Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-01T18:15:53.107Z] $ docker stop --time=1 567f7629c41071bf4e4deedfb1342c0c26e5f4ba3ffcbe07b374a3f2d24a2149 [2021-11-01T18:15:54.902Z] $ docker rm -f 567f7629c41071bf4e4deedfb1342c0c26e5f4ba3ffcbe07b374a3f2d24a2149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:15:55.806Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T18:15:55.806Z] . [Pipeline] withDockerContainer [2021-11-01T18:15:56.051Z] prd-ubuntu18.04-docker-arm64-4c-16g-13729 does not seem to be running inside a container [2021-11-01T18:15:56.128Z] $ 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-11-01T18:15:57.699Z] $ docker top 4ddc0da0c5ac65742fe7be142bad22bc01f5f09afe82b279dde6cfdcbf4a8eeb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T18:15:58.730Z] + make test [2021-11-01T18:15:58.730Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-01T18:16:25.543Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-01T18:17:33.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-01T18:17:33.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-01T18:17:33.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-01T18:17:37.900Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.290s coverage: 23.8% of statements [2021-11-01T18:17:37.900Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-01T18:17:37.900Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.387s coverage: 28.1% of statements [2021-11-01T18:17:37.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.267s coverage: 78.9% of statements [2021-11-01T18:17:37.901Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.217s coverage: 9.0% of statements [2021-11-01T18:17:37.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-01T18:17:37.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-01T18:17:37.901Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-01T18:17:38.886Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.360s coverage: 28.7% of statements [2021-11-01T18:17:38.886Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-01T18:17:42.305Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.212s coverage: 83.3% of statements [2021-11-01T18:17:42.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-01T18:17:42.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-01T18:17:42.305Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.490s coverage: 57.8% of statements [2021-11-01T18:17:43.743Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.211s coverage: 88.8% of statements [2021-11-01T18:17:43.743Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-01T18:17:43.743Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 4.9% of statements [2021-11-01T18:17:43.743Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-01T18:17:44.339Z] GO111MODULE=on go vet ./... [2021-11-01T18:18:52.388Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T18:18:52.388Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T18:18:52.388Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T18:18:52.437Z] $ docker stop --time=1 4ddc0da0c5ac65742fe7be142bad22bc01f5f09afe82b279dde6cfdcbf4a8eeb [2021-11-01T18:18:54.334Z] $ docker rm -f 4ddc0da0c5ac65742fe7be142bad22bc01f5f09afe82b279dde6cfdcbf4a8eeb [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T18:18:55.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T18:18:55.542Z] Warning: overwriting stash ‘coverage-report’ [2021-11-01T18:18:56.398Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T18:18:57.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T18:18:57.442Z] + ls -al . [2021-11-01T18:18:57.442Z] total 296 [2021-11-01T18:18:57.442Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 18:18 . [2021-11-01T18:18:57.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:13 .. [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 18:13 .dockerignore [2021-11-01T18:18:57.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 18:13 .git [2021-11-01T18:18:57.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:13 .github [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 18:13 .gitignore [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 1 18:13 CHANGELOG.md [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 18:13 GOVERNANCE.md [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 18:13 Jenkinsfile [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 18:13 LICENSE [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 1 18:13 Makefile [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 18:13 OWNERS.md [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 1 18:13 README.md [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 18:09 VERSION [2021-11-01T18:18:57.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 18:13 bin [2021-11-01T18:18:57.442Z] -rw-r--r-- 1 jenkins jenkins 126785 Nov 1 18:17 coverage.out [2021-11-01T18:18:57.442Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 18:13 example [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 1 18:13 go.mod [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 1 18:13 go.sum [2021-11-01T18:18:57.442Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 1 18:13 internal [2021-11-01T18:18:57.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:13 openapi [2021-11-01T18:18:57.442Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 18:13 pkg [2021-11-01T18:18:57.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:13 snap [2021-11-01T18:18:57.442Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 18:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:18:57.889Z] + 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=e2a54f31f22f26975e469fb3aea0b9f705eb00a4 --label arch=arm64 --label version=0.0.0 . [2021-11-01T18:18:58.516Z] Sending build context to Docker daemon 2.867MB [2021-11-01T18:18:58.516Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T18:18:58.516Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-01T18:18:58.516Z] ---> b27cf2176027 [2021-11-01T18:18:58.516Z] Step 3/24 : ARG MAKE=make build [2021-11-01T18:18:58.833Z] ---> Running in 37df18e73d3e [2021-11-01T18:18:59.120Z] Removing intermediate container 37df18e73d3e [2021-11-01T18:18:59.120Z] ---> 4214210e4bea [2021-11-01T18:18:59.120Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-01T18:18:59.396Z] ---> Running in 5ddad0bb3c43 [2021-11-01T18:18:59.993Z] Removing intermediate container 5ddad0bb3c43 [2021-11-01T18:18:59.993Z] ---> 7581167d4b05 [2021-11-01T18:18:59.993Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T18:18:59.993Z] ---> Running in 72e0e03658bd [2021-11-01T18:19:00.271Z] Removing intermediate container 72e0e03658bd [2021-11-01T18:19:00.271Z] ---> 56d0298a5fdb [2021-11-01T18:19:00.271Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T18:19:00.548Z] ---> Running in 339f0eece386 [2021-11-01T18:19:02.527Z] Removing intermediate container 339f0eece386 [2021-11-01T18:19:02.527Z] ---> 447379ce092f [2021-11-01T18:19:02.527Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T18:19:02.802Z] ---> Running in 9d27c1903dc0 [2021-11-01T18:19:04.236Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T18:19:05.214Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T18:19:06.203Z] OK: 219 MiB in 52 packages [2021-11-01T18:19:07.181Z] Removing intermediate container 9d27c1903dc0 [2021-11-01T18:19:07.181Z] ---> 07256db29565 [2021-11-01T18:19:07.181Z] Step 8/24 : COPY . . [2021-11-01T18:19:08.160Z] ---> a281f7cba6f8 [2021-11-01T18:19:08.160Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T18:19:08.436Z] ---> Running in 4419fbfe6917 [2021-11-01T18:19:11.058Z] Removing intermediate container 4419fbfe6917 [2021-11-01T18:19:11.058Z] ---> 4cfaab114eae [2021-11-01T18:19:11.058Z] Step 10/24 : RUN ${MAKE} [2021-11-01T18:19:11.058Z] ---> Running in 9383431739a8 [2021-11-01T18:19:12.493Z] 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-11-01T18:19:51.511Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-01T18:19:51.511Z] Removing intermediate container 9383431739a8 [2021-11-01T18:19:51.511Z] ---> 3ef38506d67c [2021-11-01T18:19:51.511Z] Step 11/24 : FROM alpine:3.14 [2021-11-01T18:19:51.511Z] 3.14: Pulling from library/alpine [2021-11-01T18:19:51.511Z] 552d1f2373af: Already exists [2021-11-01T18:19:51.511Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T18:19:51.511Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T18:19:51.511Z] ---> bb3de5531c18 [2021-11-01T18:19:51.511Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T18:19:51.511Z] ---> Running in 5ed4be32c191 [2021-11-01T18:19:51.790Z] Removing intermediate container 5ed4be32c191 [2021-11-01T18:19:51.790Z] ---> db9950b1f074 [2021-11-01T18:19:51.790Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T18:19:51.790Z] ---> Running in e4a5ea46dffb [2021-11-01T18:19:54.426Z] Removing intermediate container e4a5ea46dffb [2021-11-01T18:19:54.426Z] ---> bbf207537b08 [2021-11-01T18:19:54.426Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-01T18:19:54.426Z] ---> Running in 241cddbf6312 [2021-11-01T18:19:55.409Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T18:19:56.389Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T18:19:57.370Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T18:19:57.370Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-01T18:19:57.644Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T18:19:57.644Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-01T18:19:57.921Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-01T18:19:57.921Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T18:19:57.921Z] OK: 8 MiB in 19 packages [2021-11-01T18:19:59.353Z] Removing intermediate container 241cddbf6312 [2021-11-01T18:19:59.353Z] ---> 2037bbdb312c [2021-11-01T18:19:59.353Z] Step 15/24 : WORKDIR / [2021-11-01T18:19:59.353Z] ---> Running in 223144d1098d [2021-11-01T18:19:59.625Z] Removing intermediate container 223144d1098d [2021-11-01T18:19:59.625Z] ---> 5a1eb5d4c9bb [2021-11-01T18:19:59.625Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-01T18:20:00.602Z] ---> 3f8c0178dd3a [2021-11-01T18:20:00.602Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-01T18:20:01.579Z] ---> d42e792aa72f [2021-11-01T18:20:01.579Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-01T18:20:02.567Z] ---> a1fb30c8e787 [2021-11-01T18:20:02.567Z] Step 19/24 : EXPOSE 59999 [2021-11-01T18:20:02.567Z] ---> Running in dfdd59c1409e [2021-11-01T18:20:03.161Z] Removing intermediate container dfdd59c1409e [2021-11-01T18:20:03.161Z] ---> fc02b17cdf93 [2021-11-01T18:20:03.161Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-01T18:20:03.161Z] ---> Running in 8c73972ba15d [2021-11-01T18:20:03.755Z] Removing intermediate container 8c73972ba15d [2021-11-01T18:20:03.755Z] ---> fc183af4c724 [2021-11-01T18:20:03.755Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T18:20:03.755Z] ---> Running in e38ba50e68e5 [2021-11-01T18:20:04.350Z] Removing intermediate container e38ba50e68e5 [2021-11-01T18:20:04.350Z] ---> 19d03a854a3e [2021-11-01T18:20:04.350Z] Step 22/24 : LABEL arch=arm64 [2021-11-01T18:20:04.350Z] ---> Running in 3b6052750c7d [2021-11-01T18:20:04.944Z] Removing intermediate container 3b6052750c7d [2021-11-01T18:20:04.944Z] ---> 1a4b5e992dc8 [2021-11-01T18:20:04.944Z] Step 23/24 : LABEL git_sha=e2a54f31f22f26975e469fb3aea0b9f705eb00a4 [2021-11-01T18:20:04.944Z] ---> Running in ee62ea24bb50 [2021-11-01T18:20:05.538Z] Removing intermediate container ee62ea24bb50 [2021-11-01T18:20:05.538Z] ---> c0da9a89d66c [2021-11-01T18:20:05.538Z] Step 24/24 : LABEL version=0.0.0 [2021-11-01T18:20:05.538Z] ---> Running in d02e5ed24a65 [2021-11-01T18:20:05.813Z] Removing intermediate container d02e5ed24a65 [2021-11-01T18:20:05.813Z] ---> eea96d96ae42 [2021-11-01T18:20:05.813Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T18:20:06.086Z] Successfully built eea96d96ae42 [2021-11-01T18:20:06.087Z] 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-11-01T18:20:06.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T18:20:07.130Z] [2021-11-01T18:20:07.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:20:07.509Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T18:20:07.785Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-01T18:20:07.785Z] 448f6bf000e3: Pulling fs layer [2021-11-01T18:20:07.785Z] f757da607395: Pulling fs layer [2021-11-01T18:20:07.785Z] 05883995daec: Pulling fs layer [2021-11-01T18:20:07.785Z] 8603b9c90790: Pulling fs layer [2021-11-01T18:20:07.785Z] 1560dd03e051: Pulling fs layer [2021-11-01T18:20:07.785Z] 27f5ce0e4adf: Pulling fs layer [2021-11-01T18:20:07.785Z] c2d8d7efcc4b: Pulling fs layer [2021-11-01T18:20:07.785Z] 1560dd03e051: Waiting [2021-11-01T18:20:07.785Z] 27f5ce0e4adf: Waiting [2021-11-01T18:20:07.785Z] c2d8d7efcc4b: Waiting [2021-11-01T18:20:07.785Z] 8603b9c90790: Waiting [2021-11-01T18:20:07.785Z] f757da607395: Verifying Checksum [2021-11-01T18:20:07.785Z] f757da607395: Download complete [2021-11-01T18:20:07.785Z] 8603b9c90790: Download complete [2021-11-01T18:20:08.060Z] 1560dd03e051: Verifying Checksum [2021-11-01T18:20:08.060Z] 1560dd03e051: Download complete [2021-11-01T18:20:08.060Z] 27f5ce0e4adf: Verifying Checksum [2021-11-01T18:20:08.060Z] 27f5ce0e4adf: Download complete [2021-11-01T18:20:08.060Z] 05883995daec: Verifying Checksum [2021-11-01T18:20:08.060Z] 05883995daec: Download complete [2021-11-01T18:20:08.338Z] 448f6bf000e3: Verifying Checksum [2021-11-01T18:20:08.338Z] 448f6bf000e3: Download complete [2021-11-01T18:20:10.966Z] c2d8d7efcc4b: Verifying Checksum [2021-11-01T18:20:10.966Z] c2d8d7efcc4b: Download complete [2021-11-01T18:20:11.959Z] 448f6bf000e3: Pull complete [2021-11-01T18:20:12.557Z] f757da607395: Pull complete [2021-11-01T18:20:13.990Z] 05883995daec: Pull complete [2021-11-01T18:20:14.264Z] 8603b9c90790: Pull complete [2021-11-01T18:20:15.245Z] 1560dd03e051: Pull complete [2021-11-01T18:20:15.843Z] 27f5ce0e4adf: Pull complete [2021-11-01T18:20:31.056Z] c2d8d7efcc4b: Pull complete [2021-11-01T18:20:31.056Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-01T18:20:31.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T18:20:31.056Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-01T18:20:31.320Z] prd-ubuntu18.04-docker-arm64-4c-16g-13729 does not seem to be running inside a container [2021-11-01T18:20:31.422Z] $ 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-11-01T18:20:34.478Z] $ docker top 9cc4ab0acd166d4eebe531297d19c689e3fb2f37e6c4d7d9e82215872ce07d22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:20:35.516Z] ---> job-cost.sh [2021-11-01T18:20:35.516Z] lf-activate-venv: SKIPPING [2021-11-01T18:20:35.516Z] INFO: No Stack... [2021-11-01T18:20:35.786Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-01T18:20:36.377Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T18:20:37.044Z] + cut -d, -f6 [2021-11-01T18:20:37.044Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-11-01T18:20:37.120Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [2021-11-01T18:20:37.125Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] did not exist. Created. [2021-11-01T18:20:37.125Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T18:20:37.849Z] /w/workspace/device-sdk-go/1@tmp/durable-8cddf83d/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-8cddf83d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-01T18:20:38.530Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-01T18:20:38.566Z] Warning: overwriting stash ‘stack-cost’ [2021-11-01T18:20:38.628Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T18:20:38.644Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1051-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T18:20:38.692Z] $ docker stop --time=1 9cc4ab0acd166d4eebe531297d19c689e3fb2f37e6c4d7d9e82215872ce07d22 [2021-11-01T18:20:40.305Z] $ docker rm -f 9cc4ab0acd166d4eebe531297d19c689e3fb2f37e6c4d7d9e82215872ce07d22 [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-11-01T18:20:41.455Z] provisioning config files... [2021-11-01T18:20:41.466Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/config1603279976190482456tmp [Pipeline] { [Pipeline] sh [2021-11-01T18:20:41.805Z] + set +x [2021-11-01T18:20:41.805Z] + curl -s https://codecov.io/bash [2021-11-01T18:20:41.805Z] + bash -s -- [2021-11-01T18:20:41.805Z] [2021-11-01T18:20:41.805Z] _____ _ [2021-11-01T18:20:41.805Z] / ____| | | [2021-11-01T18:20:41.805Z] | | ___ __| | ___ ___ _____ __ [2021-11-01T18:20:41.805Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-01T18:20:41.805Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-01T18:20:41.805Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-01T18:20:41.805Z] Bash-1.0.6 [2021-11-01T18:20:41.805Z] [2021-11-01T18:20:41.805Z] [2021-11-01T18:20:41.805Z] ==> git version 2.24.4 found [2021-11-01T18:20:41.805Z] ==> 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-11-01T18:20:41.805Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-01T18:20:41.805Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-01T18:20:41.805Z] ==> Jenkins CI detected. [2021-11-01T18:20:41.805Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1051 [2021-11-01T18:20:41.805Z] project root: . [2021-11-01T18:20:41.805Z] --> token set from env [2021-11-01T18:20:42.074Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-01T18:20:42.074Z] ==> Running gcov in . (disable via -X gcov) [2021-11-01T18:20:42.074Z] ==> Python coveragepy not found [2021-11-01T18:20:42.074Z] ==> Searching for coverage reports in: [2021-11-01T18:20:42.074Z] + . [2021-11-01T18:20:42.074Z] -> Found 1 reports [2021-11-01T18:20:42.074Z] ==> Detecting git/mercurial file structure [2021-11-01T18:20:42.074Z] ==> Reading reports [2021-11-01T18:20:42.074Z] + ./coverage.out bytes=126785 [2021-11-01T18:20:42.074Z] ==> Appending adjustments [2021-11-01T18:20:42.074Z] https://docs.codecov.io/docs/fixing-reports [2021-11-01T18:20:42.340Z] + Found adjustments [2021-11-01T18:20:42.340Z] ==> Gzipping contents [2021-11-01T18:20:42.340Z] 16K /tmp/codecov.ymc1AE.gz [2021-11-01T18:20:42.340Z] ==> Uploading reports [2021-11-01T18:20:42.340Z] url: https://codecov.io [2021-11-01T18:20:42.340Z] query: branch=PR-1051&commit=c2102fbeee554c8b6ff10d975464dd52f8902c21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1051%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1051&job=&cmd_args= [2021-11-01T18:20:42.340Z] -> Pinging Codecov [2021-11-01T18:20:42.340Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1051&commit=c2102fbeee554c8b6ff10d975464dd52f8902c21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1051%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1051&job=&cmd_args= [2021-11-01T18:20:42.601Z] -> Uploading to [2021-11-01T18:20:42.601Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-01/7E55EF52A471D76F132DFD9A03CDDE97/c2102fbeee554c8b6ff10d975464dd52f8902c21/d8e04a19-0fac-40bb-b444-dd7283b67f15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T182042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6aca5ce4c69c48eaabcc54073a03aadf4c412221adac01503932aae852fd6126 [2021-11-01T18:20:42.860Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T18:20:42.860Z] Dload Upload Total Spent Left Speed [2021-11-01T18:20:43.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16163 0 0 100 16163 0 53327 --:--:-- --:--:-- --:--:-- 53519 [2021-11-01T18:20:43.128Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c2102fbeee554c8b6ff10d975464dd52f8902c21 [Pipeline] } [2021-11-01T18:20:43.164Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-01T18:20:45.181Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1051/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:20:45.503Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:20:46.089Z] ---> package-listing.sh [2021-11-01T18:20:46.089Z] ++ facter osfamily [2021-11-01T18:20:46.089Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-01T18:20:46.350Z] + OS_FAMILY=redhat [2021-11-01T18:20:46.350Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1051 [2021-11-01T18:20:46.350Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-01T18:20:46.350Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-01T18:20:46.350Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-01T18:20:46.350Z] + PACKAGES=/tmp/packages_start.txt [2021-11-01T18:20:46.350Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1051 ']' [2021-11-01T18:20:46.350Z] + PACKAGES=/tmp/packages_end.txt [2021-11-01T18:20:46.350Z] + case "${OS_FAMILY}" in [2021-11-01T18:20:46.350Z] + rpm -qa [2021-11-01T18:20:46.350Z] + sort [2021-11-01T18:20:46.920Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-01T18:20:46.920Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-01T18:20:46.920Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-01T18:20:46.920Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1051 ']' [2021-11-01T18:20:46.920Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1051/archives/ [2021-11-01T18:20:46.920Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1051/archives/ [Pipeline] echo [2021-11-01T18:20:46.947Z] 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-1051/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-01T18:20:47.254Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:20:47.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T18:20:47.580Z] [2021-11-01T18:20:47.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T18:20:47.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T18:20:47.917Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T18:20:47.917Z] b4d181a07f80: Pulling fs layer [2021-11-01T18:20:47.917Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T18:20:47.917Z] ed53099fbce6: Pulling fs layer [2021-11-01T18:20:47.917Z] dc539afda2c1: Pulling fs layer [2021-11-01T18:20:47.917Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T18:20:47.917Z] 9065ff56babe: Pulling fs layer [2021-11-01T18:20:47.917Z] d287ab97295c: Pulling fs layer [2021-11-01T18:20:47.917Z] dc539afda2c1: Waiting [2021-11-01T18:20:47.917Z] 77bc0d833cb6: Waiting [2021-11-01T18:20:47.917Z] 9065ff56babe: Waiting [2021-11-01T18:20:47.917Z] d287ab97295c: Waiting [2021-11-01T18:20:47.917Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T18:20:47.917Z] a1111a8f2ec3: Download complete [2021-11-01T18:20:47.917Z] dc539afda2c1: Verifying Checksum [2021-11-01T18:20:47.917Z] dc539afda2c1: Download complete [2021-11-01T18:20:48.181Z] ed53099fbce6: Verifying Checksum [2021-11-01T18:20:48.181Z] ed53099fbce6: Download complete [2021-11-01T18:20:48.181Z] 9065ff56babe: Verifying Checksum [2021-11-01T18:20:48.181Z] 9065ff56babe: Download complete [2021-11-01T18:20:48.181Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T18:20:48.181Z] 77bc0d833cb6: Download complete [2021-11-01T18:20:48.181Z] b4d181a07f80: Verifying Checksum [2021-11-01T18:20:48.181Z] b4d181a07f80: Download complete [2021-11-01T18:20:48.757Z] d287ab97295c: Verifying Checksum [2021-11-01T18:20:48.758Z] d287ab97295c: Download complete [2021-11-01T18:20:49.711Z] b4d181a07f80: Pull complete [2021-11-01T18:20:49.973Z] a1111a8f2ec3: Pull complete [2021-11-01T18:20:50.558Z] ed53099fbce6: Pull complete [2021-11-01T18:20:50.558Z] dc539afda2c1: Pull complete [2021-11-01T18:20:51.141Z] 77bc0d833cb6: Pull complete [2021-11-01T18:20:51.141Z] 9065ff56babe: Pull complete [2021-11-01T18:20:56.504Z] d287ab97295c: Pull complete [2021-11-01T18:20:56.504Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T18:20:56.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T18:20:56.504Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T18:20:56.583Z] prd-centos7-docker-4c-2g-13727 does not seem to be running inside a container [2021-11-01T18:20:56.619Z] $ 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-1051/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-1051 -v /w/workspace/gexfoundry_device-sdk-go_PR-1051:/w/workspace/gexfoundry_device-sdk-go_PR-1051:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1051@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-11-01T18:21:00.522Z] $ docker top e7963f65df411afee13379f4739c668366d637dc4e5fd9fe3b9d9559b65253b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T18:21:00.920Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-01T18:21:01.227Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-01T18:21:01.548Z] + ls /var/log/sa-host [2021-11-01T18:21:01.548Z] + sadf -c /var/log/sa-host/sa01 [2021-11-01T18:21:01.548Z] file_magic: OK [2021-11-01T18:21:01.548Z] HZ: Using current value: 100 [2021-11-01T18:21:01.548Z] file_header: OK [2021-11-01T18:21:01.548Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-01T18:21:01.548Z] Statistics: [2021-11-01T18:21:01.548Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T18:21:01.548Z] File successfully converted to sysstat format version 12.0.3 [2021-11-01T18:21:01.548Z] + sadf -c /var/log/sa-host/sa30 [2021-11-01T18:21:01.548Z] file_magic: OK [2021-11-01T18:21:01.548Z] HZ: Using current value: 100 [2021-11-01T18:21:01.548Z] file_header: OK [2021-11-01T18:21:01.548Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-01T18:21:01.548Z] Statistics: [2021-11-01T18:21:01.548Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T18:21:01.548Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T18:21:01.672Z] provisioning config files... [2021-11-01T18:21:01.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1051@tmp/config1543956893876417946tmp [Pipeline] { [Pipeline] echo [2021-11-01T18:21:01.724Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:21:02.043Z] ---> create-netrc.sh [Pipeline] } [2021-11-01T18:21:02.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:21:02.456Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-01T18:21:02.480Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:21:02.799Z] ---> sudo-logs.sh [2021-11-01T18:21:02.799Z] Archiving 'sudo' log.. [2021-11-01T18:21:02.799Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13727.novalocal: Name or service not known [2021-11-01T18:21:02.799Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13727.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-01T18:21:02.862Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:21:03.184Z] ---> job-cost.sh [2021-11-01T18:21:03.184Z] lf-activate-venv: SKIPPING [2021-11-01T18:21:03.184Z] DEBUG: total: 0.10999999940395355 [2021-11-01T18:21:03.184Z] INFO: Retrieving Stack Cost... [2021-11-01T18:21:03.443Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T18:21:04.017Z] INFO: Archiving Costs [Pipeline] echo [2021-11-01T18:21:04.045Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T18:21:04.377Z] ---> logs-deploy.sh [2021-11-01T18:21:04.377Z] lf-activate-venv: SKIPPING [2021-11-01T18:21:04.377Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1051/1 [2021-11-01T18:21:04.377Z] INFO: archiving workspace using pattern(s): [2021-11-01T18:21:04.948Z] Archives upload complete. [2021-11-01T18:21:05.210Z] INFO: archiving logs to Nexus